/* ==========================================================================
   Admission overview (/admission) and guidelines (/admission/guidelines)
   --------------------------------------------------------------------------
   Every selector starts with .adm- so nothing outside these pages changes.
   Mobile first; breakpoints 30rem / 48rem / 64rem / 80rem.
   ========================================================================== */

/* Status panel (overview) ------------------------------------------------- */
.adm-status {
  padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.adm-status__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1.75rem;
  overflow: hidden;
  padding: clamp(1.75rem, 1rem + 3vw, 3.25rem);
  border-radius: var(--radius-2xl);
}
.adm-status__panel--open {
  --ring: var(--focus-ring-on-dark); /* navy surface: gold focus ring */
  background: radial-gradient(120% 140% at 100% 0%, var(--navy-700) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: rgb(255 255 255 / 0.8);
  box-shadow: var(--shadow-lift);
}
.adm-status__panel--quiet {
  border: 1px solid var(--sand);
  background:
    radial-gradient(40rem 22rem at 100% 100%, rgb(240 180 0 / 0.08), transparent 70%),
    var(--white);
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}
.adm-status__rays {
  position: absolute;
  right: -15rem;
  bottom: -19rem;
  z-index: -1;
  width: 40rem;
  height: 40rem;
  color: var(--gold-500);
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(circle closest-side, black 20%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, black 20%, transparent 100%);
  animation: turn 150s linear infinite;
}
.adm-status__panel--quiet .adm-status__rays {
  opacity: 0.1;
}
.adm-status__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}
.adm-status__panel--open .adm-status__pill {
  background: rgb(255 255 255 / 0.1);
  color: var(--gold-300);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);
}
.adm-status__panel--quiet .adm-status__pill {
  background: var(--gold-100);
  color: var(--gold-700);
  box-shadow: inset 0 0 0 1px rgb(240 180 0 / 0.35);
}
.adm-status__dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: none;
  border-radius: 999px;
  background: var(--gold-400);
  animation: adm-pulse 2.2s var(--ease-out) infinite;
}
@keyframes adm-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(247 201 72 / 0.6);
  }
  70%,
  100% {
    box-shadow: 0 0 0 0.6rem rgb(247 201 72 / 0);
  }
}
.adm-status__title {
  margin-top: 1.1rem;
  max-width: 22ch;
  font-size: clamp(1.85rem, 1.3rem + 2.3vw, 3rem);
  font-weight: 520;
  line-height: 1.07;
  letter-spacing: -0.02em;
}
.adm-status__title em {
  font-style: italic;
  font-weight: 480;
  color: var(--navy-700);
}
.adm-status__panel--open .adm-status__title {
  color: var(--white);
}
.adm-status__panel--open .adm-status__title em {
  color: var(--gold-400);
}
.adm-status__body {
  margin-top: 1rem;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.7;
  text-wrap: pretty;
}
.adm-status__meta {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.1rem;
  max-width: 40rem;
  line-height: 1.55;
}
.adm-status__meta .icon {
  margin-top: 0.12rem;
  color: var(--gold-400);
}
.adm-status__meta strong {
  font-weight: 700;
  color: var(--gold-300);
}
.adm-status__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.adm-status__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sand);
  font-size: 0.92rem;
  line-height: 1.55;
}
.adm-status__foot .icon {
  color: var(--gold-600);
}
/* The address: the pin stays beside the first line while the text wraps */
.adm-status__foot--place {
  flex-wrap: nowrap;
  align-items: flex-start;
}
.adm-status__foot--place .icon {
  flex: none;
  margin-top: 0.2rem;
}
.adm-status__foot a {
  font-weight: 700;
  color: var(--navy-700);
  text-decoration-color: rgb(240 180 0 / 0.7);
}
.adm-status__foot a:hover {
  color: var(--navy-900);
}
.adm-status__panel--open .adm-status__foot {
  border-top-color: rgb(255 255 255 / 0.14);
  color: rgb(255 255 255 / 0.74);
}
.adm-status__panel--open .adm-status__foot a {
  color: var(--gold-300);
}
.adm-status__panel--open .adm-status__foot a:hover {
  color: var(--white);
}

@media (max-width: 29.99rem) {
  .adm-status__actions .btn {
    width: 100%;
  }
}
@media (min-width: 64rem) {
  .adm-status__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 3rem;
  }
  .adm-status__actions {
    flex-direction: column;
    align-items: stretch;
    min-width: 15rem;
  }
  .adm-status__foot {
    grid-column: 1 / -1;
  }
}

/* Classes, fees and dates (overview) ------------------------------------- */
.adm-classes {
  padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.adm-classes__table {
  display: none;
  /* Positioned, so the absolutely placed .sr-only text inside the cells stays
     within this scroll box instead of widening the page. */
  position: relative;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  box-shadow: var(--shadow-soft);
}
.adm-classes__table .table {
  font-size: 0.95rem;
}
.adm-classes__table thead th:first-child,
.adm-classes__table tbody th {
  padding-left: 1.5rem;
}
.adm-classes__table tbody th {
  padding-block: 0.95rem;
  border-top: 1px solid rgb(232 224 207 / 0.85);
  background: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 560;
  letter-spacing: -0.005em;
  text-transform: none;
  white-space: nowrap;
  vertical-align: top;
}
.adm-classes__table tbody tr:hover th {
  background: rgb(251 248 242 / 0.7);
}
.adm-classes__table td {
  padding-block: 0.95rem;
  color: var(--ink-soft);
}
.adm-classes__name {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.adm-classes__star {
  width: 0.85rem;
  height: 0.85rem;
  flex: none;
  color: var(--gold-500);
}
.adm-classes__fee {
  font-weight: 750;
  white-space: nowrap;
  color: var(--ink);
}
.adm-classes__sub {
  display: block;
  margin-top: 0.15rem;
  text-wrap: balance;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.adm-classes__nowrap {
  white-space: nowrap;
}
.adm-classes__none {
  color: var(--ink-soft);
}
.adm-classes__go {
  padding-right: 1.5rem;
  text-align: right;
}
.adm-classes__apply {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 750;
  white-space: nowrap;
  color: var(--navy-700);
  text-decoration: none;
}
.adm-classes__apply .icon {
  transition: transform 0.3s var(--ease-out);
}
.adm-classes__apply:hover {
  color: var(--navy-900);
  text-decoration: underline;
  text-decoration-color: var(--gold-500);
  text-decoration-thickness: 2px;
}
.adm-classes__apply:hover .icon {
  transform: translateX(3px);
}

/* Phones: one card per class */
.adm-classes__cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}
.adm-class-card {
  padding: 1.15rem 1.25rem;
  border: 1px solid rgb(232 224 207 / 0.95);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.adm-class-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.adm-class-card__name {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.25rem;
}
.adm-class-card__fee {
  font-weight: 800;
  white-space: nowrap;
  color: var(--ink);
}
.adm-class-card__facts {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--sand);
  font-size: 0.9rem;
}
.adm-class-card__facts > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.adm-class-card__facts dt {
  flex: none;
  color: var(--ink-soft);
}
.adm-class-card__facts dd {
  text-align: right;
  color: var(--ink);
}
.adm-class-card__facts strong {
  font-weight: 750;
}
.adm-class-card__apply {
  margin-top: 0.9rem;
}

/* Two columns of cards on tablets; the six-column table needs 64rem */
@media (min-width: 48rem) {
  .adm-classes__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 64rem) {
  .adm-classes__table {
    display: block;
  }
  .adm-classes__cards {
    display: none;
  }
}

/* Before you apply: notice + age check (overview) ------------------------- */
.adm-before__grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.adm-before__grid--single {
  max-width: 48rem;
}
@media (min-width: 64rem) {
  .adm-before__grid:not(.adm-before__grid--single) {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem;
  }
}

.adm-notice.card {
  border-color: rgb(240 180 0 / 0.38);
  background: linear-gradient(180deg, var(--gold-100), rgb(253 242 208 / 0.35) 70%);
  box-shadow: none;
}
.adm-notice__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.adm-notice__title {
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  line-height: 1.25;
}
.adm-notice__list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
  counter-reset: adm-notice;
}
.adm-notice__list li {
  display: flex;
  gap: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.6;
  counter-increment: adm-notice;
}
.adm-notice__list li::before {
  content: counter(adm-notice);
  display: grid;
  flex: none;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--gold-700);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgb(240 180 0 / 0.6);
}
.adm-notice__more {
  margin-top: 1.5rem;
}

/* Age check */
.adm-age__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.adm-age__title {
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  line-height: 1.25;
}
.adm-age__lede {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.adm-age__asof {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}
.adm-age__asof .icon {
  color: var(--gold-600);
}
.adm-age__form {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.25rem;
}
.adm-age__form[hidden] {
  display: none;
}
.adm-age__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.adm-age__input {
  flex: 1 1 12rem;
  width: auto;
  min-width: 0;
}
.adm-age__submit {
  flex: 1 0 auto;
  min-height: 3rem;
}
@media (min-width: 30rem) {
  .adm-age__submit {
    flex-grow: 0;
  }
}
.adm-age__result:not(:empty) {
  margin-top: 1rem;
}
.adm-age__alert {
  animation: adm-result-in 0.45s var(--ease-out);
}
@keyframes adm-result-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.adm-age__result-title {
  font-weight: 800;
  font-size: 1.02rem;
}
.adm-age__result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.35rem;
}
.adm-age__result-actions .btn--outline {
  background: var(--white);
}

.adm-age__criteria {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--sand);
}
.adm-age__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
  border-radius: 0.5rem;
  color: var(--navy-700);
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}
.adm-age__summary::-webkit-details-marker {
  display: none;
}
.adm-age__summary:hover {
  color: var(--navy-900);
}
.adm-age__chevron {
  transition: transform 0.3s var(--ease-out);
}
.adm-age__criteria[open] .adm-age__chevron {
  transform: rotate(180deg);
}
.adm-age__table-wrap {
  margin-top: 0.85rem;
}
/* The table scrolls sideways on narrow screens, so it can take keyboard focus. */
.adm-age__table-wrap:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}
.adm-age__table {
  font-size: 0.9rem;
}
.adm-age__table th,
.adm-age__table td {
  padding: 0.7rem 0.9rem;
}
.adm-age__table tbody th {
  border-top: 1px solid rgb(232 224 207 / 0.85);
  background: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.adm-age__table td {
  color: var(--ink-soft);
}
.adm-age__range {
  white-space: nowrap;
}
.adm-age__table tbody tr {
  transition: background-color 0.3s;
}
.adm-age__table tbody tr.is-match th,
.adm-age__table tbody tr.is-match td {
  background: var(--gold-100);
  color: var(--ink);
}
.adm-age__table tbody tr.is-match th {
  box-shadow: inset 3px 0 0 var(--gold-500);
}

/* How to apply (overview, navy band) -------------------------------------- */
.adm-steps {
  overflow: hidden;
  isolation: isolate;
}
.adm-steps__rays {
  position: absolute;
  top: -27rem;
  left: 50%;
  z-index: -1;
  width: 54rem;
  height: 54rem;
  color: var(--gold-500);
  opacity: 0.1;
  translate: -50% 0;
  -webkit-mask-image: radial-gradient(circle closest-side, black 0%, rgb(0 0 0 / 0.5) 50%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, black 0%, rgb(0 0 0 / 0.5) 50%, transparent 100%);
  animation: turn 170s linear infinite;
}
.adm-steps__list {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}
@media (min-width: 48rem) {
  .adm-steps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 64rem) {
  .adm-steps__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
.adm-step {
  position: relative;
  padding: 1.75rem 1.6rem 1.9rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-xl);
  background: rgb(255 255 255 / 0.05);
  transition: background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.adm-step:hover {
  border-color: rgb(240 180 0 / 0.3);
  background: rgb(255 255 255 / 0.08);
}
.adm-step__no {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  color: rgb(240 180 0 / 0.3);
}
.adm-step__title {
  margin-top: 1.4rem;
  font-size: 1.3rem;
  color: var(--white);
}
.adm-step__body {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgb(255 255 255 / 0.74);
}
.adm-steps__more {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Photos and documents (overview) ----------------------------------------- */
.adm-docs__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 64rem) {
  .adm-docs__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 4.5rem;
  }
}
.adm-docs__limits {
  display: grid;
  gap: 0.7rem;
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.adm-docs__limits li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.adm-docs__limits .icon {
  color: var(--gold-600);
}
.adm-docs__more {
  margin-top: 1.5rem;
}
.adm-docs__lists {
  display: grid;
  gap: 1.25rem;
}
.adm-docs__lists > .sample-banner {
  margin-bottom: 0;
}
.adm-docs__group {
  padding: clamp(1.3rem, 1rem + 1.2vw, 1.85rem);
  border: 1px solid rgb(232 224 207 / 0.95);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.adm-docs__heading {
  font-size: 1.2rem;
}
.adm-docs__list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
@media (min-width: 48rem) {
  .adm-docs__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.adm-doc {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  background: var(--paper);
}
.adm-doc__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.75rem;
  background: var(--white);
  color: var(--navy-700);
  box-shadow: inset 0 0 0 1px var(--sand);
}
.adm-doc__icon .icon {
  width: 1.1rem;
  height: 1.1rem;
}
.adm-doc__text {
  min-width: 0;
}
.adm-doc__label {
  display: block;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.adm-doc__tag {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.adm-doc__tag--required {
  color: var(--red-600);
}
.adm-docs__bring {
  margin-top: 1.1rem;
  color: var(--ink-soft);
}

/* FAQ (overview) ------------------------------------------------------------ */
.adm-faq__phone {
  font-weight: 700;
  color: var(--navy-700);
  white-space: nowrap;
  text-decoration-color: rgb(240 180 0 / 0.7);
}
.adm-faq__list {
  display: grid;
  gap: 0.75rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}
.adm-faq__item {
  border: 1px solid rgb(232 224 207 / 0.95);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.55);
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}
.adm-faq__item[open] {
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.adm-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-lg);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}
.adm-faq__q::-webkit-details-marker {
  display: none;
}
.adm-faq__q:hover {
  color: var(--navy-700);
}
.adm-faq__toggle {
  display: grid;
  flex: none;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--navy-700);
  transition: transform 0.35s var(--ease-out), background-color 0.3s;
}
.adm-faq__item[open] .adm-faq__toggle {
  background: var(--gold-100);
  transform: rotate(45deg);
}
.adm-faq__a {
  padding: 0 1.25rem 1.25rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
@media (min-width: 48rem) {
  .adm-faq__q {
    padding: 1.25rem 1.5rem;
  }
  .adm-faq__a {
    padding: 0 1.5rem 1.4rem;
  }
}

/* Guidelines: hero chip and "On this page" -------------------------------- */
.adm-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgb(232 224 207 / 0.95);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.75);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: var(--shadow-soft);
}
.adm-chip .icon {
  color: var(--gold-600);
}
.adm-chip__dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: none;
  border-radius: 999px;
  background: var(--gold-500);
  animation: adm-pulse 2.2s var(--ease-out) infinite;
}

.adm-toc {
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid rgb(232 224 207 / 0.95);
  border-radius: var(--radius-xl);
  background: rgb(255 255 255 / 0.72);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.adm-toc__title {
  padding-inline: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.adm-toc__list {
  display: grid;
  gap: 0.1rem;
  margin-top: 0.6rem;
}
.adm-toc__list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.75rem;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}
.adm-toc__list a:hover {
  background: var(--paper-2);
  color: var(--navy-700);
}
.adm-toc__no {
  flex: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-700);
}
.adm-toc__arrow {
  width: 1rem;
  height: 1rem;
  margin-left: auto;
  color: var(--gold-600);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s, transform 0.3s var(--ease-out);
}
.adm-toc__list a:hover .adm-toc__arrow,
.adm-toc__list a:focus-visible .adm-toc__arrow {
  opacity: 1;
  transform: none;
}
@media (min-width: 30rem) and (max-width: 63.99rem) {
  .adm-toc__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.5rem;
  }
}
@media (min-width: 64rem) {
  .adm-toc {
    width: 17.5rem;
  }
}

/* Guidelines sections ------------------------------------------------------ */
.adm-guide {
  scroll-margin-top: 5rem;
}
.adm-guide__status {
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.adm-guide__status a {
  font-weight: 700;
  color: var(--navy-800);
}
.adm-guide__block {
  margin-top: 1.25rem;
}

/* Instructions */
.adm-instructions {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding: clamp(1.4rem, 1rem + 2vw, 2.5rem);
  border: 1px solid rgb(240 180 0 / 0.4);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--gold-100), rgb(253 242 208 / 0.45));
}
.adm-instructions__list {
  display: grid;
  gap: 1rem;
}
.adm-instructions__list li {
  display: flex;
  gap: 1rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.adm-instructions__icon {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.22rem;
  color: var(--gold-700);
}

/* Procedure timeline */
.adm-timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-top: clamp(2.25rem, 1.75rem + 2vw, 3.5rem);
}
.adm-timeline::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: calc(1.375rem - 0.5px);
  width: 1px;
  background: linear-gradient(180deg, rgb(240 180 0 / 0.6), rgb(240 180 0 / 0.3) 70%, transparent);
}
.adm-timeline__item {
  position: relative;
  display: flex;
  gap: 1rem;
}
.adm-timeline__no {
  position: relative;
  z-index: 1;
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--navy-600), var(--navy-800));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow:
    0 0 0 4px var(--paper-2),
    0 10px 24px -12px rgb(10 50 144 / 0.7);
}
.adm-timeline__card {
  flex: 1;
  min-width: 0;
  padding: 1.15rem 1.25rem 1.25rem;
  border: 1px solid rgb(232 224 207 / 0.95);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.adm-timeline__title {
  font-size: 1.2rem;
  line-height: 1.25;
}
.adm-timeline__body {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  line-height: 1.65;
  text-wrap: pretty;
}
.adm-timeline__body a {
  font-weight: 700;
  color: var(--navy-700);
  text-decoration-color: rgb(240 180 0 / 0.7);
}
@media (min-width: 48rem) {
  .adm-timeline__item {
    gap: 1.4rem;
  }
  .adm-timeline__no {
    width: 3rem;
    height: 3rem;
    font-size: 1.2rem;
  }
  .adm-timeline::before {
    left: calc(1.5rem - 0.5px);
  }
  .adm-timeline__card {
    padding: 1.35rem 1.6rem 1.45rem;
  }
}

/* Upload rules */
.adm-uploads {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}
@media (min-width: 48rem) {
  .adm-uploads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.adm-upload__title {
  margin-top: 1.1rem;
  font-size: 1.3rem;
}
.adm-upload__body {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.adm-asked {
  padding: clamp(1.3rem, 1rem + 1.5vw, 2rem);
  border: 1px solid var(--sand);
  border-radius: var(--radius-xl);
  background: rgb(244 239 228 / 0.65);
}
.adm-asked__title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.adm-asked__list {
  display: grid;
  gap: 0.75rem 2rem;
  margin-top: 1.1rem;
}
@media (min-width: 48rem) {
  .adm-asked__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.adm-asked__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--ink);
  line-height: 1.5;
}
.adm-asked__star {
  width: 0.85rem;
  height: 0.85rem;
  flex: none;
  margin-top: 0.3rem;
  color: var(--gold-500);
}
.adm-asked__tag {
  display: inline-block;
  margin-left: 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-soft);
}
.adm-asked__tag--required {
  color: var(--red-600);
}
.adm-bring__head,
.adm-pay__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.adm-bring__title,
.adm-pay__title {
  font-size: 1.25rem;
}
.adm-bring__list,
.adm-pay__list {
  margin-top: 1.25rem;
  color: var(--ink-soft);
}
.adm-pay__list a {
  font-weight: 700;
  color: var(--navy-700);
  text-decoration-color: rgb(240 180 0 / 0.7);
}

/* Fees: one card per fee group on phones, the table from 48rem */
.adm-fees {
  display: none;
  position: relative; /* keeps the .sr-only caption inside the scroll box */
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  box-shadow: var(--shadow-soft);
}
.adm-fees__cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}
.adm-fees__cards .adm-class-card__name {
  font-size: 1.2rem;
}
@media (min-width: 48rem) {
  .adm-fees {
    display: block;
  }
  .adm-fees__cards {
    display: none;
  }
}
.adm-fees thead th:first-child,
.adm-fees tbody th {
  padding-left: 1.4rem;
}
.adm-fees tbody th {
  border-top: 1px solid rgb(232 224 207 / 0.85);
  background: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 560;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}
.adm-fees__amount {
  font-weight: 750;
  white-space: nowrap;
  color: var(--ink);
}
.adm-fees__none {
  font-weight: 400;
  color: var(--ink-soft);
}
.adm-fees__notes {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-inline: 0.25rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.adm-fees__notes li {
  position: relative;
  padding-left: 1rem;
}
.adm-fees__notes li::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--gold-500);
}
.adm-fees__empty {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.25rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.adm-fees__empty > div {
  flex: 1 1 18rem;
  min-width: 0;
}
.adm-fees__empty-title {
  font-size: 1.25rem;
  line-height: 1.3;
}
.adm-fees__empty-body {
  margin-top: 0.4rem;
  color: var(--ink-soft);
}
.adm-fees__empty-action {
  margin-top: 1rem;
}
.adm-pay {
  margin-top: 1.25rem;
}

/* Declaration */
.adm-declaration {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.adm-declaration__text {
  flex: 1 1 18rem;
  min-width: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}
.adm-declaration__text > * + * {
  margin-top: 0.75rem;
}

/* Motion ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .adm-status__dot,
  .adm-chip__dot,
  .adm-status__rays,
  .adm-steps__rays,
  .adm-age__alert {
    animation: none;
  }
}

/* Print: the guidelines read well on paper ---------------------------------- */
@media print {
  .adm-toc,
  .adm-steps__rays,
  .adm-status__rays {
    display: none;
  }
}
