*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: #082b59;
  background: #f5f8fc;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #087cf0;
}

.container {
  width: min(100% - 4rem, 75rem);
  margin-inline: auto;
}

/* Site header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #dce6f1;
}

.site-header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5rem;
}

/* Main navigation */
.site-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 2rem;
}

.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  color: #082b59;
  font-weight: 600;
  text-decoration: none;
}

.site-nav__link:hover {
  color: #087cf0;
}

.site-nav__link--active {
  color: #087cf0;
}

.site-nav__link--active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: #087cf0;
  content: "";
}

/* Site footer */
.site-footer {
  margin-top: auto;
  padding-block: 2rem;
  color: #ffffff;
  background: #082b59;
}

.site-footer__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
}

.site-footer__brand p {
  margin-bottom: 0;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.site-footer__nav a {
  color: inherit;
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.site-footer__bottom p {
  margin: 0;
}

/* Shared page header */
.page-header__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

/* Mobile */
@media (max-width: 40rem) {
  .container {
    width: min(100% - 2rem, 75rem);
  }
  .site-header__content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    min-height: auto;
    padding-top: 1rem;
  }
  .site-header__content > .brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
  .site-header__account {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .site-nav {
    grid-column: 1/-1;
    grid-row: 2;
    display: flex;
    align-self: auto;
    gap: 2rem;
    margin-top: 1rem;
  }
  .site-nav__link {
    height: auto;
    padding-bottom: 0.5rem;
    font-size: 1rem;
  }
  .account-menu__name {
    display: none;
  }
  .page-header__title-row {
    flex-direction: column;
  }
  .site-footer__main {
    flex-direction: column;
    gap: 2rem;
  }
  .site-footer__nav {
    gap: 1rem;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #082b59;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
}

.brand__name > span {
  color: #087cf0;
}

.brand--footer {
  color: #ffffff;
}

.hero {
  padding-block: 4rem;
  background: linear-gradient(to bottom, #f5f8fc 0%, #f5f8fc 70%, #ffffff 100%);
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__eyebrow {
  margin: 0 0 1rem;
  color: #087cf0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
}

.hero__description {
  max-width: 36rem;
  margin-top: 2rem;
  color: #58749a;
  font-size: 1.125rem;
  line-height: 1.6;
}

.hero__visual img {
  width: 100%;
  height: auto;
}

.features {
  padding-block: 4rem;
  background: #ffffff;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.feature__icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
}

.feature__icon img {
  width: 100%;
  height: 100%;
}

.feature__title {
  margin: 0;
  font-size: 1.25rem;
}

.feature__description {
  max-width: 20rem;
  margin: 0.5rem 0 0;
  color: #58749a;
  line-height: 1.6;
}

@media (max-width: 60rem) {
  .hero {
    padding-block: 2rem;
  }
  .hero__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero__visual {
    width: min(100%, 36rem);
    margin-inline: auto;
  }
}
@media (max-width: 48rem) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 0.5rem;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  color: #ffffff;
  background: #087cf0;
}

.button--primary:hover {
  background: #0668ca;
}

.button--primary:focus-visible {
  outline: 3px solid #087cf0;
  outline-offset: 3px;
}

.button--danger {
  color: #ffffff;
  background: #c62828;
}

.button--danger:hover {
  background: #a91f1f;
}

.button--danger:focus-visible {
  outline: 3px solid #c62828;
  outline-offset: 3px;
}

.error-page {
  padding-block: 4rem;
}

.error-page__content {
  text-align: center;
}

.error-page__visual {
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.error-page__visual img {
  width: 100%;
  height: auto;
}

.error-page__title {
  margin: 0;
  font-size: 2rem;
}

.error-page__description {
  margin: 0.5rem 0 2rem;
  color: #58749a;
}

.courses {
  padding-block: 4rem;
}

.courses__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.courses__title {
  margin: 0;
  font-size: 2rem;
}

.courses__description {
  margin: 0.5rem 0 0;
  color: #58749a;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.course-card {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 1rem;
}

.course-card__code {
  margin: 0;
  font-size: 1.25rem;
}

.course-card__name {
  margin: 0.5rem 0 0;
  color: #58749a;
}

.courses-empty {
  padding: 4rem 2rem;
  text-align: center;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 1rem;
}

.courses-empty__title {
  margin: 0;
}

.courses-empty__description {
  max-width: 32rem;
  margin: 1rem auto 2rem;
  color: #58749a;
  line-height: 1.6;
}

/* Course form */
.course-form-page {
  padding-block: 4rem;
}

.course-form-page__header {
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.course-form-page__title {
  margin: 0;
  font-size: 2rem;
}

.course-form-page__description {
  margin: 0.5rem 0 0;
  color: #58749a;
}

.course-form {
  display: grid;
  gap: 2rem;
  max-width: 42rem;
  margin-inline: auto;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 1rem;
}

.course-form__field {
  display: grid;
  gap: 0.5rem;
}

.course-form__field label {
  font-weight: 700;
}

.course-form__field input,
.course-form__field textarea {
  width: 100%;
  padding: 0.75rem;
  color: #082b59;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
  font: inherit;
}

.course-form__field textarea {
  resize: vertical;
}

.course-form__field input:focus,
.course-form__field textarea:focus {
  border-color: #087cf0;
  outline: 2px solid #087cf0;
  outline-offset: 1px;
}

.course-form__optional {
  color: #58749a;
  font-weight: 400;
}

.course-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.course-form__cancel {
  color: #082b59;
}

.course-form__error {
  margin: 0;
  color: #8a1c1c;
  font-size: 0.875rem;
}

/* Course detail */
.course-detail {
  padding-block: 4rem;
}

.course-detail__header {
  margin-bottom: 2rem;
}

.course-detail__back {
  display: inline-block;
  margin-bottom: 2rem;
}

.course-detail__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.course-detail__code {
  margin: 0;
  font-size: 2.75rem;
  line-height: 1;
}

.course-detail__name {
  margin: 0.5rem 0 0;
  color: #58749a;
  font-size: 1.5rem;
}

.course-detail__description {
  margin-bottom: 4rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.course-detail__description h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.course-detail__description p {
  max-width: 60rem;
  margin: 0;
  line-height: 1.6;
}

/* Sections on course detail */
.course-sections__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1rem;
}

.course-sections__header h2 {
  margin: 0;
  font-size: 1.75rem;
}

.section-list {
  overflow: hidden;
  width: 100%;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.section-list__item {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) minmax(12rem, 1fr) minmax(10rem, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 1rem 2rem;
}

.section-list__item + .section-list__item {
  border-top: 1px solid #dce6f1;
}

.section-list__identity h3 {
  margin: 0;
  color: #087cf0;
  font-size: 1.125rem;
}

.section-list__identity p,
.section-list__schedule p,
.section-list__location p {
  margin: 0;
}

.section-list__identity p {
  margin-top: 0.25rem;
  color: #58749a;
}

.section-list__schedule,
.section-list__location {
  display: grid;
  gap: 0.25rem;
}

.section-list__schedule p + p {
  color: #58749a;
}

.section-list__muted {
  color: #58749a;
}

.section-list__actions {
  justify-self: end;
}

.course-sections__empty {
  padding: 4rem 2rem;
  text-align: center;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.course-sections__empty h3 {
  margin: 0;
}

.course-sections__empty p {
  margin: 0.5rem auto 2rem;
  color: #58749a;
}

/* Archived sections */
.course-sections__archived {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #dce6f1;
}

.course-sections__archived-toggle {
  cursor: pointer;
  color: #58749a;
  font-weight: 700;
}

.course-sections__archived-toggle:hover {
  color: #082b59;
}

.course-sections__archived .section-list {
  margin-top: 1rem;
}

.section-list--archived {
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 48rem) {
  .courses {
    padding-block: 2rem;
  }
  .courses__header {
    flex-direction: column;
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
  .course-form-page,
  .course-detail {
    padding-block: 2rem;
  }
  .course-form__actions {
    flex-direction: column-reverse;
  }
  .course-form__actions .button {
    width: 100%;
  }
  .course-detail__title-row {
    flex-direction: column;
  }
  .course-detail__code {
    font-size: 2.25rem;
  }
  .course-detail__name {
    font-size: 1.25rem;
  }
  .course-detail__description {
    margin-bottom: 2rem;
    padding: 1rem;
  }
  .course-sections__header {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-list__item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 1rem;
  }
  .section-list__actions {
    justify-self: stretch;
  }
  .section-list__actions .button {
    width: 100%;
  }
}
/* Section form */
.section-form-page {
  padding-block: 4rem;
}

.section-form-page__header {
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.section-form-page__back {
  display: inline-block;
  margin-bottom: 1rem;
}

.section-form-page__title {
  margin: 0;
  font-size: 2rem;
}

.section-form-page__description {
  margin: 0.5rem 0 0;
  color: #58749a;
}

.section-form {
  display: grid;
  gap: 2rem;
  width: 100%;
  max-width: 42rem;
  min-width: 0;
  margin-inline: auto;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 1rem;
}

.section-form__group {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.section-form__group + .section-form__group {
  padding-top: 2rem;
  border-top: 1px solid #dce6f1;
}

.section-form__group-title {
  margin: 0;
  font-size: 1.125rem;
}

.section-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
  min-width: 0;
}

.section-form__row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-form__field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.section-form__field label,
.section-form__days legend {
  font-weight: 700;
}

.section-form__field input,
.section-form__field select {
  width: 100%;
  min-width: 0;
  padding: 0.75rem;
  color: #082b59;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
  font: inherit;
}

.section-form__field input:focus,
.section-form__field select:focus {
  border-color: #087cf0;
  outline: 2px solid #087cf0;
  outline-offset: 1px;
}

.section-form__days {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.section-form__days legend {
  margin-bottom: 0.5rem;
}

.section-form__day-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  min-width: 0;
}

.section-form__day {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  cursor: pointer;
}

.section-form__input-suffix {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.section-form__input-suffix input {
  min-width: 0;
}

.section-form__optional {
  color: #58749a;
  font-weight: 400;
}

.section-form__error {
  margin: 0;
  color: #8a1c1c;
  font-size: 0.875rem;
}

.section-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #dce6f1;
}

.section-form__cancel {
  color: #082b59;
}

/* Section detail */
.section-detail {
  padding-block: 4rem;
}

.section-detail__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: #58749a;
}

.section-detail__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.section-detail__title {
  margin: 0;
  font-size: 2.75rem;
  line-height: 1;
}

.section-detail__course-name {
  margin: 0.5rem 0 0;
  color: #58749a;
  font-size: 1.5rem;
}

.section-detail__term {
  margin: 0.5rem 0 0;
  color: #58749a;
  font-size: 1.25rem;
}

.section-detail__actions {
  display: flex;
  gap: 1rem;
}

/* Section detail cards */
.section-detail__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-detail__card {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.section-detail__card h2 {
  margin: 0 0 2rem;
  font-size: 1.25rem;
}

.section-detail__properties {
  margin: 0;
}

.section-detail__property {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 2fr);
  gap: 1rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid #dce6f1;
}

.section-detail__property:first-child {
  padding-top: 0;
}

.section-detail__property:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.section-detail__property dt {
  color: #58749a;
}

.section-detail__property dd {
  margin: 0;
}

.section-detail__status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.section-detail__status--active {
  color: #17652c;
  background: #d9f5df;
}

.section-detail__status--archived {
  color: #58749a;
  background: #e5e7eb;
}

.section-detail__card-empty {
  color: #58749a;
}

.section-detail__card-empty p {
  margin: 0;
}

.section-detail__lifecycle {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #dce6f1;
}

.section-detail__danger-zone {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #dce6f1;
}

.section-detail__danger-zone h3 {
  margin-top: 0;
}

.section-detail__danger-zone p {
  color: #58749a;
}

/* Sessions */
.section-sessions {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.section-sessions__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-sessions__header h2 {
  margin: 0;
  font-size: 1.75rem;
}

.section-sessions__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Session filters */
.section-sessions__tabs {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #dce6f1;
}

.section-sessions__tab {
  padding: 0.5rem 0;
  color: #58749a;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.section-sessions__tab:hover {
  color: #082b59;
}

.section-sessions__tab:focus-visible {
  outline: 2px solid #087cf0;
  outline-offset: 2px;
}

.section-sessions__tab--active {
  color: #087cf0;
  border-bottom-color: #087cf0;
}

/* Session table */
.section-sessions__table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.section-sessions__table {
  width: 100%;
  border-collapse: collapse;
}

.section-sessions__table th,
.section-sessions__table td {
  padding: 1rem;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
  border-bottom: 1px solid #dce6f1;
}

.section-sessions__table th {
  color: #58749a;
  font-size: 0.875rem;
  font-weight: 700;
}

.section-sessions__table tbody tr:last-child td {
  border-bottom: 0;
}

.section-sessions__title {
  margin-top: 0.25rem;
  color: #58749a;
  font-size: 0.8rem;
}

/* Session status */
.section-sessions__status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.section-sessions__status--scheduled {
  color: #17652c;
  background: #d9f5df;
}

.section-sessions__status--cancelled {
  color: #58749a;
  background: #e5e7eb;
}

/* Empty states */
.section-sessions__empty,
.section-sessions__filter-empty {
  padding: 4rem 2rem;
  text-align: center;
}

.section-sessions__empty {
  border-top: 1px solid #dce6f1;
}

.section-sessions__empty h3 {
  margin: 0;
}

.section-sessions__empty p,
.section-sessions__filter-empty p {
  margin: 0.5rem 0 0;
  color: #58749a;
}

.section-sessions__filter-empty p {
  margin-top: 0;
}

.section-sessions__nyi {
  color: #58749a;
  font-size: 0.875rem;
}

/* Present section */
.section-present {
  padding-block: 4rem;
}

.section-present__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: #58749a;
}

.section-present__header {
  margin-bottom: 4rem;
}

.section-present__title {
  margin: 0;
  font-size: 2.75rem;
  line-height: 1;
}

.section-present__description {
  margin: 0.5rem 0 0;
  color: #58749a;
  font-size: 1.25rem;
}

.section-present__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.section-present__card {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.section-present__card h2 {
  margin: 0 0 2rem;
  font-size: 1.5rem;
}

.section-present__date {
  margin: 0 0 1rem;
  color: #58749a;
}

.section-present__options {
  display: grid;
  gap: 0.5rem;
}

.section-present__option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
  cursor: pointer;
}

.section-present__option:hover {
  border-color: #087cf0;
}

.section-present__option:has(input:checked) {
  border-color: #087cf0;
  outline: 1px solid #087cf0;
}

.section-present__option input {
  margin-top: 0.2rem;
}

.section-present__option-content {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.section-present__option-content span {
  color: #58749a;
}

.section-present__empty {
  padding: 2rem;
  text-align: center;
  border: 1px dashed #dce6f1;
  border-radius: 0.5rem;
}

.section-present__empty h3 {
  margin: 0;
}

.section-present__empty p {
  margin: 0.5rem 0 2rem;
  color: #58749a;
}

.section-present__actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #dce6f1;
}

/* Presentation preview */
.section-present__notice {
  margin-bottom: 2rem;
  padding: 1rem 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.section-present__notice h2 {
  margin: 0;
  font-size: 1.125rem;
}

.section-present__notice p {
  margin: 0.5rem 0 0;
  color: #58749a;
}

.section-present__preview-deck {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.section-present__preview-deck .reveal {
  width: 100%;
  height: 100%;
}

.section-present__preview-deck .presentation-slide--overflow {
  outline: 6px solid #d69b45;
  outline-offset: -6px;
}

.section-present__preview-position {
  margin: 0.5rem 0 0;
  color: #58749a;
  font-size: 0.875rem;
  text-align: right;
}

.section-present__preview-overflow {
  margin: 1rem 0 0;
  padding: 1rem;
  color: #7a3e00;
  background: #fff4df;
  border: 1px solid #d69b45;
  border-radius: 0.5rem;
}

.section-present__preview-overflow[hidden] {
  display: none;
}

/* Responsive */
@media (max-width: 48rem) {
  .section-form-page,
  .section-detail,
  .section-present {
    padding-block: 2rem;
  }
  .section-present__title {
    font-size: 2.25rem;
  }
  .section-present__description {
    font-size: 1rem;
  }
  .section-present__content {
    grid-template-columns: 1fr;
  }
  .section-present__card {
    padding: 1rem;
  }
  .section-present__actions {
    flex-direction: column-reverse;
  }
  .section-present__actions .button {
    width: 100%;
  }
  .section-form {
    padding: 1rem;
  }
  .section-form__row,
  .section-form__row--three {
    grid-template-columns: 1fr;
  }
  .section-form__actions {
    flex-direction: column-reverse;
  }
  .section-form__actions .button {
    width: 100%;
  }
  .section-detail__header {
    flex-direction: column;
    margin-bottom: 2rem;
  }
  .section-detail__title {
    font-size: 2.25rem;
  }
  .section-detail__course-name {
    font-size: 1.25rem;
  }
  .section-detail__term {
    font-size: 1rem;
  }
  .section-detail__actions {
    width: 100%;
    flex-direction: column;
  }
  .section-detail__actions .button {
    width: 100%;
  }
  .section-detail__cards {
    grid-template-columns: 1fr;
  }
  .section-detail__property {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .section-sessions {
    padding: 1rem;
  }
  .section-sessions__header {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-sessions__actions {
    width: 100%;
    flex-direction: column;
  }
  .section-sessions__actions .button {
    width: 100%;
  }
  .section-sessions__tabs {
    gap: 1rem;
  }
  .section-sessions__empty {
    padding: 4rem 1rem;
  }
  /* Session table becomes a card-style list on small screens. */
  .section-sessions__table-wrapper {
    overflow: visible;
  }
  .section-sessions__table,
  .section-sessions__table tbody {
    display: block;
  }
  .section-sessions__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .section-sessions__table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #dce6f1;
  }
  .section-sessions__table tbody tr:first-child {
    padding-top: 0;
  }
  .section-sessions__table tbody tr:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .section-sessions__table td {
    display: grid;
    align-content: start;
    gap: 0.25rem;
    padding: 0;
    white-space: normal;
    border: 0;
  }
  .section-sessions__table td::before {
    content: attr(data-label);
    color: #58749a;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
  }
  .section-sessions__table td:first-child {
    font-weight: 700;
  }
}
.account-menu {
  position: relative;
}

.account-menu__trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #082b59;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}

.account-menu__trigger::-webkit-details-marker {
  display: none;
}

.account-menu__chevron {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.account-menu[open] .account-menu__chevron {
  transform: rotate(225deg);
}

.account-menu__dropdown {
  position: absolute;
  z-index: 10;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 12rem;
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.account-menu__item {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  color: #082b59;
  background: transparent;
  border: 0;
  border-radius: 0.25rem;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.account-menu__logout {
  margin: 0.5rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px solid #dce6f1;
}

.account-menu__item:hover {
  background: #f5f8fc;
}

.account-menu__item:focus-visible {
  outline: 3px solid #087cf0;
  outline-offset: -3px;
}

@media (max-width: 22rem) {
  .account-menu__name {
    display: none;
  }
  .account-menu__trigger {
    padding-inline: 0.5rem;
  }
}
.profile {
  padding-block: 4rem;
}

.profile__header {
  margin-bottom: 2rem;
}
.profile__header h1 {
  margin-bottom: 0.5rem;
}
.profile__header p {
  margin: 0;
  color: #58749a;
}

.profile-card {
  max-width: 40rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 1rem;
}

.profile-card__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #dce6f1;
}
.profile-card__identity h2 {
  margin: 0;
}
.profile-card__identity p {
  margin: 0.25rem 0 0;
  color: #58749a;
}

.profile-card__details {
  margin: 0;
}

.profile-card__field {
  padding-block: 1rem;
}
.profile-card__field + .profile-card__field {
  border-top: 1px solid #dce6f1;
}
.profile-card__field dt {
  margin-bottom: 0.25rem;
  color: #58749a;
  font-size: 0.875rem;
  font-weight: 600;
}
.profile-card__field dd {
  margin: 0;
}

.avatar {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  background: #f5f8fc;
  border: 1px solid #dce6f1;
  border-radius: 50%;
  overflow: hidden;
}

.avatar::before {
  content: "";
  position: absolute;
  width: 0.55em;
  height: 0.55em;
  top: 0.35em;
  left: 50%;
  background: #58749a;
  border-radius: 50%;
  transform: translateX(-50%);
}

.avatar::after {
  content: "";
  position: absolute;
  width: 1.15em;
  height: 0.75em;
  bottom: -0.05em;
  left: 50%;
  background: #58749a;
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
}

.avatar--large {
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
}

.login {
  display: flex;
  justify-content: center;
  padding-block: 4rem;
}

.login-card {
  width: 100%;
  max-width: 28rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 1rem;
}

.login-card__header {
  margin-bottom: 2rem;
}
.login-card__header h1 {
  margin-bottom: 0.5rem;
}
.login-card__header p {
  margin: 0;
  color: #58749a;
}

.login-form {
  display: grid;
  gap: 1rem;
}

.login-form__field {
  display: grid;
  gap: 0.5rem;
}
.login-form__field label {
  font-weight: 600;
}
.login-form__field input {
  width: 100%;
  padding: 0.75rem;
  color: #082b59;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
  font: inherit;
}
.login-form__field input:focus {
  border-color: #087cf0;
  outline: 3px solid rgba(8, 124, 240, 0.15);
}

.flash-messages {
  padding-top: 1rem;
}

.flash-message {
  padding: 0.75rem 1rem;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
  background: #ffffff;
}
.flash-message + .flash-message {
  margin-top: 0.5rem;
}

.flash-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.flash-message__dismiss {
  flex: 0 0 auto;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}
.flash-message__dismiss:hover {
  opacity: 1;
}
.flash-message__dismiss:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.flash-message--error {
  color: #8a1c1c;
  background: #fff1f1;
  border-color: #efb8b8;
}

.flash-message--warning {
  color: #73510d;
  background: #fff8e5;
  border-color: #ead28b;
}

.flash-message--success {
  color: #17633a;
  background: #eef9f2;
  border-color: #acd8bc;
}

.flash-message--info {
  color: #082b59;
  background: #eef6ff;
  border-color: #b9d8f7;
}

.legal {
  padding-block: 4rem;
}

.legal__header {
  margin-bottom: 4rem;
}
.legal__header h1 {
  margin-bottom: 0.5rem;
}
.legal__header p {
  margin: 0;
  color: #58749a;
}

.legal__content {
  max-width: 50rem;
}
.legal__content h2 {
  margin-top: 4rem;
  margin-bottom: 0.5rem;
}
.legal__content p {
  margin-block: 0 1rem;
}

.modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 43, 89, 0.45);
}

.modal[hidden] {
  display: none;
}

.modal__dialog {
  width: min(100%, 32rem);
  padding: 2rem;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 1rem 3rem rgba(8, 43, 89, 0.25);
}

.modal__title {
  margin-top: 0;
}

.modal__message {
  color: #58749a;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 2rem;
}

/* Shared session page structure */
.session-form,
.session-generate,
.session-detail {
  padding-block: 4rem;
}

.session-form__breadcrumb,
.session-generate__breadcrumb,
.session-detail__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: #58749a;
}

.session-form__header,
.session-generate__header {
  max-width: 48rem;
  margin-bottom: 4rem;
}

.session-form__header h1,
.session-generate__header h1 {
  margin: 0;
  font-size: 2.75rem;
  line-height: 1;
}

.session-form__header p,
.session-generate__header p {
  margin: 0.5rem 0 0;
  color: #58749a;
  font-size: 1.125rem;
  line-height: 1.5;
}

/* Add Session */
.session-form form {
  display: grid;
  gap: 2rem;
}

.session-form__card,
.session-generate__card {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.session-form__card-header,
.session-generate__card-header {
  margin-bottom: 2rem;
}

.session-form__card-header h2,
.session-generate__card-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.session-form__card-header p,
.session-generate__card-header p {
  margin: 0.5rem 0 0;
  color: #58749a;
}

.session-form__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.session-form__card > .form-field + .form-field {
  margin-top: 2rem;
}

/* Generic fields used by Session forms */
.session-form .form-field {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  min-width: 0;
}

.session-form .form-field label {
  font-weight: 700;
}

.session-form .form-field label span {
  color: #58749a;
  font-weight: 400;
}

.session-form .form-field input,
.session-form .form-field select,
.session-form .form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.75rem;
  color: #082b59;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
  font: inherit;
}

.session-form .form-field textarea {
  resize: vertical;
}

.session-form .form-field input:focus,
.session-form .form-field select:focus,
.session-form .form-field textarea:focus {
  border-color: #087cf0;
  outline: 2px solid #087cf0;
  outline-offset: 1px;
}

.session-form .form-field__help {
  margin: 0;
  color: #58749a;
  font-size: 0.875rem;
}

.session-form .form-field__error {
  margin: 0;
  color: #8a1c1c;
  font-size: 0.875rem;
}

/* Schedule defaults */
.session-form__defaults {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.session-form__default {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  background: #f5f8fc;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.session-form__default-label {
  color: #58749a;
  font-size: 0.875rem;
  font-weight: 700;
}

.session-form__inherit-note {
  margin: 0;
  padding: 1rem;
  color: #58749a;
  background: #f5f8fc;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

/* Add Session actions */
.session-form__actions,
.session-generate__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

/* Generate Sessions */
.session-generate__card {
  max-width: 60rem;
}

.session-generate__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.session-generate__summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 2rem;
  text-align: center;
  background: #f5f8fc;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.session-generate__summary-value {
  color: #087cf0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.session-generate__summary-label {
  color: #58749a;
  font-size: 0.875rem;
  font-weight: 700;
}

.session-generate__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f5f8fc;
  border-radius: 0.5rem;
}

.session-generate__preview {
  padding-top: 2rem;
  border-top: 1px solid #dce6f1;
}

.session-generate__preview h3,
.session-generate__empty h3 {
  margin: 0;
  font-size: 1.125rem;
}

.session-generate__preview > p,
.session-generate__empty p {
  margin: 0.5rem 0 0;
  color: #58749a;
}

/* Generation date preview */
.session-generate__dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
  overflow: hidden;
}

.session-generate__dates li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #dce6f1;
}

.session-generate__dates li:nth-child(odd) {
  border-right: 1px solid #dce6f1;
}

.session-generate__dates li:nth-last-child(-n+2) {
  border-bottom: 0;
}

.session-generate__dates li:last-child:nth-child(odd) {
  border-bottom: 0;
}

.session-generate__dates li span:last-child {
  color: #58749a;
}

/* Existing session notice */
.session-generate__notice {
  margin-top: 2rem;
  padding: 1rem;
  background: #f5f8fc;
  border-left: 4px solid #087cf0;
  border-radius: 0.5rem;
}

.session-generate__notice p {
  margin: 0.25rem 0 0;
  color: #58749a;
}

.session-generate__empty {
  padding: 4rem;
  text-align: center;
  background: #f5f8fc;
  border-radius: 0.5rem;
}

.session-generate__actions {
  max-width: 60rem;
  margin-top: 2rem;
}

/* Session Detail */
.session-detail__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.session-detail__eyebrow {
  margin-bottom: 0.5rem;
  color: #58749a;
  font-size: 1rem;
  font-weight: 700;
}

.session-detail__header h1 {
  margin: 0;
  font-size: 2.75rem;
  line-height: 1;
}

.session-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.session-detail__type,
.session-detail__status {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.session-detail__type {
  color: #082b59;
  background: #f5f8fc;
  border: 1px solid #dce6f1;
}

.session-detail__status--scheduled {
  color: #17652c;
  background: #d9f5df;
}

.session-detail__status--cancelled {
  color: #58749a;
  background: #e5e7eb;
}

.session-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.session-detail__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.session-detail__card {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.session-detail__card-header {
  margin-bottom: 2rem;
}

.session-detail__card-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.session-detail__card-header p {
  margin: 0.5rem 0 0;
  color: #58749a;
  line-height: 1.5;
}

.session-detail__properties {
  margin: 0;
}

.session-detail__property {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) minmax(0, 2fr);
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid #dce6f1;
}

.session-detail__property:first-child {
  padding-top: 0;
}

.session-detail__property:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.session-detail__property dt {
  color: #58749a;
  font-weight: 700;
}

.session-detail__property dd {
  display: grid;
  gap: 0.25rem;
  margin: 0;
}

.session-detail__source {
  color: #58749a;
  font-size: 0.8rem;
}

.session-detail__notes {
  margin-bottom: 2rem;
}

.session-detail__notes p {
  margin: 0;
  line-height: 1.6;
}

.session-detail__empty {
  color: #58749a;
}

.session-detail__danger-zone {
  margin-bottom: 2rem;
}

.session-detail__danger-zone p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #58749a;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 48rem) {
  .session-form,
  .session-generate,
  .session-detail {
    padding-block: 2rem;
  }
  .session-form__header,
  .session-generate__header {
    margin-bottom: 2rem;
  }
  .session-form__header h1,
  .session-generate__header h1 {
    font-size: 2.25rem;
  }
  .session-form__card,
  .session-generate__card {
    padding: 1rem;
  }
  .session-form__grid,
  .session-form__defaults,
  .session-generate__summary,
  .session-generate__dates {
    grid-template-columns: 1fr;
  }
  .session-generate__dates li:nth-child(odd) {
    border-right: 0;
  }
  .session-generate__dates li:nth-last-child(-n+2) {
    border-bottom: 1px solid #dce6f1;
  }
  .session-generate__dates li:last-child {
    border-bottom: 0;
  }
  .session-form__actions,
  .session-generate__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .session-form__actions .button,
  .session-generate__actions .button {
    width: 100%;
  }
  .session-generate__actions form {
    width: 100%;
  }
  /* Session Detail */
  .session-detail__header {
    flex-direction: column;
    margin-bottom: 2rem;
  }
  .session-detail__header h1 {
    font-size: 2.25rem;
  }
  .session-detail__actions {
    width: 100%;
  }
  .session-detail__actions .button {
    width: 100%;
  }
  .session-detail__cards {
    grid-template-columns: 1fr;
  }
  .session-detail__card {
    padding: 1rem;
  }
  .session-detail__property {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
/* Deck list */
.decks {
  padding-block: 4rem;
}

.decks__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.decks__title {
  margin: 0;
  font-size: 2rem;
}

.decks__description {
  margin: 0.5rem 0 0;
  color: #58749a;
}

.deck-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.deck-card {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 1rem;
}

.deck-card__title {
  margin: 0;
  font-size: 1.25rem;
}

.deck-card__description {
  margin: 0.5rem 0 0;
  color: #58749a;
}

.decks-empty {
  padding: 4rem 2rem;
  text-align: center;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 1rem;
}

.decks-empty__title {
  margin: 0;
}

.decks-empty__description {
  max-width: 32rem;
  margin: 1rem auto 2rem;
  color: #58749a;
  line-height: 1.6;
}

/* Archived decks */
.decks-archived {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #dce6f1;
}

.decks-archived__toggle {
  cursor: pointer;
  color: #58749a;
  font-weight: 700;
}

.decks-archived__toggle:hover {
  color: #082b59;
}

.deck-grid--archived {
  margin-top: 1rem;
}

.deck-card--archived {
  opacity: 0.75;
}

/* Deck detail */
.deck-detail {
  padding-block: 4rem;
}

.deck-detail__back {
  display: inline-block;
  margin-bottom: 2rem;
}

.deck-detail__header {
  margin-bottom: 4rem;
}

.deck-detail__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.deck-detail__title {
  margin: 0;
  font-size: 2.75rem;
  line-height: 1;
}

.deck-detail__description {
  max-width: 60rem;
  margin: 0.5rem 0 0;
  color: #58749a;
  line-height: 1.6;
}

.deck-detail__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.deck-detail__actions form {
  margin: 0;
}

.deck-detail__status {
  margin: 0;
  color: #58749a;
  font-weight: 700;
}

/* Deck pages */
.deck-page-editor__mode {
  display: flex;
  margin-bottom: 0.5rem;
}

.deck-page-editor__mode .button {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

.deck-pages__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1rem;
}

.deck-pages__header h2 {
  margin: 0;
  font-size: 1.75rem;
}

.deck-pages__description {
  margin: 0.5rem 0 0;
  color: #58749a;
}

.deck-pages__unpublished {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1rem;
  padding: 1rem 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.deck-pages__unpublished strong {
  display: block;
}

.deck-pages__unpublished p {
  margin: 0.25rem 0 0;
  color: #58749a;
}

.deck-pages__unpublished form {
  flex: 0 0 auto;
  margin: 0;
}

.deck-pages__empty {
  padding: 4rem 2rem;
  text-align: center;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.deck-pages__empty h3 {
  margin: 0;
}

.deck-pages__empty p {
  margin: 0.5rem auto 0;
  color: #58749a;
}

/* Deck page list */
.deck-page-list {
  display: grid;
  gap: 0.5rem;
}

.deck-page-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 1rem 2rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.deck-page-card--hidden {
  opacity: 0.65;
}

.deck-page-card__content {
  min-width: 0;
}

.deck-page-card__drag-handle {
  flex: 0 0 auto;
  padding: 0.25rem;
  cursor: grab;
  color: #58749a;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 0.5rem;
}

.deck-page-card__drag-handle:hover,
.deck-page-card__drag-handle:focus-visible {
  color: #082b59;
}

.deck-page-card__drag-handle:active {
  cursor: grabbing;
}

.deck-page-card--dragging {
  opacity: 0.5;
}

.deck-page-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.deck-page-card__actions form {
  margin: 0;
}

.deck-page-card__title {
  margin: 0;
  font-size: 1.125rem;
}

.deck-page-card__status {
  margin: 0.25rem 0 0;
  color: #58749a;
}

/* Deck page editor */
.deck-page-editor {
  padding-block: 4rem;
}

.deck-page-editor__back {
  display: inline-block;
  margin-bottom: 2rem;
}

.deck-page-editor__header {
  margin-bottom: 2rem;
}

.deck-page-editor__title {
  margin: 0;
  font-size: 2.25rem;
}

.deck-page-editor__status {
  margin: 0.5rem 0 0;
  color: #58749a;
}

.deck-page-editor__field {
  display: grid;
  gap: 0.5rem;
}

.deck-page-editor__label {
  font-weight: 700;
}

.deck-page-editor__textarea {
  width: 100%;
  min-height: 24rem;
  padding: 1rem;
  resize: vertical;
  font: inherit;
  line-height: 1.6;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.deck-page-editor__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Deck page assets */
.deck-page-assets {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #dce6f1;
}

.deck-page-assets__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.deck-page-assets__header h2 {
  margin: 0;
}

.deck-page-assets__header p,
.deck-page-assets__empty {
  margin: 0.5rem 0 0;
  color: #58749a;
}

.deck-page-assets__upload {
  display: grid;
  gap: 0.5rem;
  min-width: min(100%, 22rem);
}

.deck-page-assets__upload label {
  font-weight: 700;
}

.deck-page-assets__list {
  display: grid;
  gap: 0.5rem;
  margin-top: 2rem;
}

.deck-page-asset {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
}

.deck-page-asset__preview {
  width: 8rem;
  height: 4.5rem;
  object-fit: contain;
  background: #fff;
  border-radius: 0.5rem;
}

.deck-page-asset__details {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.deck-page-asset__details code {
  overflow-x: auto;
  padding: 0.25rem;
  background: #f5f8fc;
  border-radius: 0.5rem;
}

/* Deck page danger zone */
.deck-page-danger-zone {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #dce6f1;
}

.deck-page-danger-zone h2 {
  margin: 0 0 0.5rem;
}

.deck-page-danger-zone p {
  margin: 0 0 1rem;
  color: #58749a;
}

/* Deck danger zone */
.deck-danger-zone {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #dce6f1;
}

.deck-danger-zone h2 {
  margin: 0 0 0.5rem;
}

.deck-danger-zone p {
  margin: 0 0 1rem;
  color: #58749a;
}

/* Responsive */
@media (max-width: 48rem) {
  .decks,
  .deck-detail,
  .deck-page-editor {
    padding-block: 2rem;
  }
  .decks__header,
  .deck-detail__title-row,
  .deck-pages__header,
  .deck-pages__unpublished {
    flex-direction: column;
  }
  .deck-pages__unpublished {
    align-items: stretch;
  }
  .deck-pages__unpublished .button {
    width: 100%;
  }
  .deck-grid {
    grid-template-columns: 1fr;
  }
  .deck-detail__title {
    font-size: 2.25rem;
  }
  .deck-detail__actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .deck-page-editor__actions {
    flex-wrap: wrap;
  }
  .deck-page-assets__header {
    flex-direction: column;
  }
  .deck-page-assets__upload {
    width: 100%;
  }
  .deck-page-asset {
    grid-template-columns: 1fr;
  }
  .deck-page-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
  .deck-page-card__actions {
    grid-column: 2;
    justify-self: start;
  }
}
.presentation-body {
  margin: 0;
  background: #111;
}

.presentation-shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100vh;
  padding: 1rem;
  background: #111;
}

.presentation-shell .reveal {
  width: calc(100% - 1rem);
  height: calc(100% - 1rem);
  min-height: 0;
  margin: auto;
}

.presentation-shell--deckinteract .reveal {
  background: #111;
  color: #082b59;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2rem;
}

.presentation-shell--deckinteract .reveal .slides {
  text-align: left;
}

.presentation-shell--deckinteract .reveal .slides > section {
  box-sizing: border-box;
  height: 720px;
  padding: 3.5rem 4.5rem;
  background: #ffffff;
}

.presentation-shell--deckinteract .reveal h1,
.presentation-shell--deckinteract .reveal h2,
.presentation-shell--deckinteract .reveal h3 {
  margin: 0 0 0.75em;
  color: #082b59;
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
}

.presentation-shell--deckinteract .reveal h1 {
  font-size: 2.25em;
}

.presentation-shell--deckinteract .reveal h2 {
  font-size: 1.65em;
}

.presentation-shell--deckinteract .reveal h3 {
  font-size: 1.25em;
}

.presentation-shell--deckinteract .reveal p,
.presentation-shell--deckinteract .reveal ul,
.presentation-shell--deckinteract .reveal ol,
.presentation-shell--deckinteract .reveal table,
.presentation-shell--deckinteract .reveal blockquote,
.presentation-shell--deckinteract .reveal pre {
  margin-block: 0.65em;
}

.presentation-shell--deckinteract .reveal ul,
.presentation-shell--deckinteract .reveal ol {
  display: block;
  margin-left: 1.25em;
}

.presentation-shell--deckinteract .reveal li {
  margin-block: 0.25em;
}

.presentation-shell--deckinteract .reveal a {
  color: #087cf0;
}

.presentation-shell--deckinteract .reveal code {
  padding: 0.08em 0.25em;
  border-radius: 0.25rem;
  background: #eef4fb;
  color: #18344f;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.presentation-shell--deckinteract .reveal pre {
  width: 100%;
  padding: 0.75em 1em;
  border: 1px solid #dce6f1;
  border-radius: 0.5rem;
  background: #f7f9fc;
  box-shadow: none;
}

.presentation-shell--deckinteract .reveal pre code {
  display: block;
  overflow-x: auto;
  padding: 0;
  background: transparent;
  white-space: pre;
}

.presentation-shell--deckinteract .reveal img {
  display: block;
  max-width: 100%;
  max-height: 26rem;
  margin: 0.75em auto;
  object-fit: contain;
}

.presentation-shell--deckinteract .reveal table {
  max-width: 100%;
  font-size: 0.8em;
}

.presentation-shell--deckinteract .reveal th,
.presentation-shell--deckinteract .reveal td {
  vertical-align: top;
}

.presentation-shell--deckinteract .reveal p,
.presentation-shell--deckinteract .reveal li,
.presentation-shell--deckinteract .reveal th,
.presentation-shell--deckinteract .reveal td {
  overflow-wrap: anywhere;
}

.presentation-shell--deckinteract .reveal blockquote {
  width: auto;
  padding: 0.5em 0.75em;
  border-left: 0.2em solid #10b8a6;
  background: #f0fbf9;
  box-shadow: none;
}

.presentation-shell--deckinteract .reveal table {
  margin-inline: 0;
  border-collapse: collapse;
}

.presentation-shell--deckinteract .reveal th,
.presentation-shell--deckinteract .reveal td {
  padding: 0.35em 0.6em;
  border-bottom: 1px solid #dce6f1;
}

.presentation-shell--deckinteract .reveal th {
  color: #082b59;
}

.presentation-shell--deckinteract .reveal .controls {
  color: #087cf0;
}

.presentation-shell--deckinteract .reveal .progress {
  color: #087cf0;
}

.presentation-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 90rem;
  width: 100%;
  margin: 1rem auto 0;
  color: #fff;
}

.presentation-controls__context {
  display: grid;
  gap: 0.25rem;
}

.presentation-controls__context span {
  opacity: 0.75;
}

@media (max-width: 48rem) {
  .presentation-shell {
    padding: 0.5rem;
  }
  .presentation-controls {
    align-items: stretch;
    flex-direction: column;
  }
  .presentation-controls .button {
    width: 100%;
  }
}

/*# sourceMappingURL=app.css.map */
