.official-oral-page {
  --oral-navy: #092747;
  --oral-navy-deep: #04172c;
  --oral-blue: #0f5fa8;
  --oral-cyan: #00a6b2;
  --oral-cyan-dark: #087e88;
  --oral-gold: #e8ad35;
  --oral-coral: #dc614e;
  --oral-green: #158568;
  --oral-ink: #102846;
  --oral-muted: #5b6a7d;
  --oral-line: #d9e3ec;
  --oral-soft: #f2f7fa;
  --oral-white: #fff;
  --oral-shadow: 0 20px 60px rgba(9, 39, 71, .13);
  min-width: 0;
  overflow-x: hidden;
  background: #eef4f7;
  color: var(--oral-ink);
}

.official-oral-page *,
.official-oral-page *::before,
.official-oral-page *::after {
  box-sizing: border-box;
}

.official-oral-page button,
.official-oral-page input,
.official-oral-page select,
.official-oral-page textarea {
  font: inherit;
}

.official-oral-page button,
.official-oral-page a {
  -webkit-tap-highlight-color: transparent;
}

.official-oral-page [hidden] {
  display: none !important;
}

.official-institutional-band {
  width: 100%;
  overflow: hidden;
  background: #fff;
  text-align: center;
}

.official-institutional-band img,
.official-institutional-footer img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.official-oral-page .site-header {
  position: relative;
  z-index: 20;
}

.official-oral-page main {
  min-width: 0;
}

.official-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 50vw, 660px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--oral-navy-deep);
}

.official-hero-media,
.official-hero-overlay {
  position: absolute;
  inset: 0;
  margin: 0;
}

.official-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.official-hero-overlay {
  z-index: 1;
  background:
    radial-gradient(circle at 78% 28%, rgba(0, 166, 178, .16), transparent 30%),
    linear-gradient(90deg, rgba(3, 20, 40, .98) 0%, rgba(4, 28, 54, .94) 40%, rgba(4, 28, 54, .58) 67%, rgba(4, 28, 54, .18) 100%),
    linear-gradient(0deg, rgba(3, 20, 40, .76) 0%, transparent 40%);
}

.official-hero-copy {
  position: relative;
  z-index: 3;
  width: min(820px, calc(100% - 3rem));
  margin-left: max(1.5rem, calc((100% - 1240px) / 2));
  padding: 4.2rem 0;
  color: #fff;
}

.official-status-pill,
.official-kicker,
.official-meta,
.official-button,
.audio-command,
.question-play-button {
  font-family: inherit;
}

.official-status-pill {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  max-width: 100%;
  padding: .58rem .82rem;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  color: var(--oral-navy);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .03em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
}

.official-status-pill i {
  color: var(--oral-green);
}

.official-kicker {
  margin: 0 0 .45rem;
  color: var(--oral-cyan-dark);
  font-size: .71rem;
  font-weight: 950;
  letter-spacing: .13em;
  line-height: 1.45;
  text-transform: uppercase;
}

.official-hero .official-kicker {
  margin-top: 1.2rem;
  color: #9fe8ec;
}

.official-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.65rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .96;
  text-shadow: 0 8px 36px rgba(0, 0, 0, .3);
}

.official-hero-copy > p:not(.official-kicker):not(.official-security-note) {
  max-width: 730px;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, .93);
  font-size: clamp(1rem, 1.45vw, 1.17rem);
  line-height: 1.65;
}

.official-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.25rem;
}

.official-meta span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .46rem .64rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 7px;
  background: rgba(5, 34, 65, .48);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  backdrop-filter: blur(7px);
}

.official-meta i {
  color: #a5ebef;
}

.official-hero-actions,
.official-button-row,
.admin-control-actions,
.recorder-actions,
.submission-actions,
.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
}

.official-hero-actions {
  margin-top: 1.35rem;
}

.official-button,
.audio-command,
.question-play-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}

.official-button.primary {
  background: linear-gradient(135deg, var(--oral-cyan-dark), #0a677d);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 126, 136, .25);
}

.official-button.secondary {
  border-color: #c8d8e4;
  background: #fff;
  color: var(--oral-navy);
}

.official-button.glass {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .94);
  color: var(--oral-navy);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

.official-button.success {
  background: var(--oral-green);
  color: #fff;
}

.official-button.danger {
  background: var(--oral-coral);
  color: #fff;
}

.official-button.large {
  min-height: 54px;
  padding: .88rem 1.25rem;
  font-size: .93rem;
}

.official-button:disabled,
.audio-command:disabled,
.question-play-button:disabled {
  cursor: not-allowed;
  filter: grayscale(.3);
  opacity: .52;
  box-shadow: none;
}

.official-button:not(:disabled):hover,
.audio-command:not(:disabled):hover,
.question-play-button:not(:disabled):hover {
  transform: translateY(-2px);
}

.official-button:focus-visible,
.audio-command:focus-visible,
.question-play-button:focus-visible,
.official-speed button:focus-visible,
.official-mic-button:focus-visible,
.floating-action:focus-visible,
.evidence-tabs button:focus-visible,
.staff-audio-player > button:focus-visible {
  outline: 3px solid rgba(232, 173, 53, .6);
  outline-offset: 3px;
}

.official-security-note {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: .9rem 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: .75rem;
  font-weight: 800;
}

.official-security-note i {
  color: #94e6d0;
}

.official-hero-seal {
  position: absolute;
  z-index: 4;
  right: max(1.7rem, calc((100% - 1240px) / 2));
  bottom: 2rem;
  display: grid;
  width: 126px;
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, .44);
  border-radius: 50%;
  background: rgba(5, 30, 56, .76);
  color: #fff;
  text-align: center;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .08), 0 18px 34px rgba(0, 0, 0, .25);
  backdrop-filter: blur(10px);
}

.official-hero-seal::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(255, 255, 255, .5);
  border-radius: inherit;
}

.official-hero-seal span,
.official-hero-seal small {
  position: relative;
  z-index: 1;
  font-size: .59rem;
  font-weight: 950;
  letter-spacing: .17em;
}

.official-hero-seal strong {
  position: relative;
  z-index: 1;
  color: #f7ca6f;
  font-size: 2rem;
  line-height: 1.1;
}

.official-assurance-strip {
  position: relative;
  z-index: 5;
  display: grid;
  width: min(1240px, calc(100% - 3rem));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -1.25rem auto 1.3rem;
  overflow: hidden;
  border: 1px solid var(--oral-line);
  border-radius: 10px;
  background: var(--oral-line);
  box-shadow: var(--oral-shadow);
}

.official-assurance-strip article {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
  padding: .9rem;
  background: #fff;
}

.official-assurance-strip article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #e6f5f4;
  color: var(--oral-cyan-dark);
  font-size: 1.15rem;
}

.official-assurance-strip strong,
.official-assurance-strip small {
  display: block;
}

.official-assurance-strip strong {
  color: var(--oral-ink);
  font-size: .81rem;
  line-height: 1.25;
}

.official-assurance-strip small {
  margin-top: .2rem;
  color: var(--oral-muted);
  font-size: .68rem;
  line-height: 1.35;
}

.official-shell,
.official-exam-shell {
  width: min(1240px, calc(100% - 3rem));
  margin: 1.25rem auto;
}

.official-access-panel,
.official-admin-panel,
.official-preflight,
.submission-panel,
.receipt-panel,
.staff-review {
  border: 1px solid var(--oral-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--oral-shadow);
}

.official-admin-panel {
  margin-bottom: 1rem;
  padding: 1.15rem;
  border-top: 5px solid var(--oral-gold);
}

.admin-panel-heading {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: .9rem;
  align-items: center;
}

.admin-crown,
.access-visual,
.device-check-icon,
.receipt-check {
  display: grid;
  place-items: center;
}

.admin-crown {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: #fff5dc;
  color: #9c6a00;
  font-size: 1.5rem;
}

.admin-panel-heading h2,
.access-copy h2,
.section-heading-row h2,
.unit-journey-heading h2,
.staff-review-header h2,
.receipt-panel h2,
.submission-celebration h2 {
  margin: 0;
  color: var(--oral-navy);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.12;
}

.admin-panel-heading p:not(.official-kicker),
.section-heading-row p:not(.official-kicker),
.staff-review-header p:not(.official-kicker) {
  margin: .35rem 0 0;
  color: var(--oral-muted);
  font-size: .84rem;
  line-height: 1.5;
}

.admin-state {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .52rem .68rem;
  border-radius: 7px;
  font-size: .73rem;
  font-weight: 900;
}

.admin-state.locked {
  background: #fff0ee;
  color: #a74131;
}

.admin-state.active {
  background: #e5f5ed;
  color: #0b7055;
}

.admin-control-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  align-items: end;
  margin-top: 1rem;
  padding: .9rem;
  border-radius: 9px;
  background: var(--oral-soft);
}

.admin-control-grid label,
.staff-header-actions label,
.microphone-picker {
  display: grid;
  min-width: 0;
  gap: .35rem;
  color: var(--oral-ink);
  font-size: .73rem;
  font-weight: 850;
}

.admin-control-grid input,
.admin-control-grid select,
.staff-header-actions select,
.microphone-picker select,
.rubric-form input,
.teacher-feedback-panel textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #bdcedb;
  border-radius: 7px;
  background: #fff;
  color: var(--oral-ink);
}

.admin-control-grid input,
.admin-control-grid select,
.staff-header-actions select,
.microphone-picker select {
  min-height: 44px;
  padding: .58rem .65rem;
}

.admin-preview-launch {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(150px, .28fr) auto;
  gap: .8rem;
  align-items: center;
  padding: .9rem;
  border: 1px solid #bdd8e5;
  border-radius: 9px;
  background: linear-gradient(135deg, #fff 0%, #edf8fb 100%);
}

.admin-preview-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 10px;
  background: #dff4f6;
  color: #087c88;
  font-size: 1.35rem;
}

.admin-preview-copy small {
  color: #087c88;
  font-size: .65rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-preview-copy h3 {
  margin: .15rem 0 0;
  color: var(--oral-navy);
  font-size: 1rem;
}

.admin-preview-copy p {
  margin: .25rem 0 0;
  color: var(--oral-muted);
  font-size: .74rem;
  line-height: 1.45;
}

.admin-preview-toolbar {
  position: sticky;
  top: 74px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(200px, .7fr) minmax(240px, 1fr) auto;
  gap: .8rem;
  align-items: center;
  margin: 0 auto 1rem;
  padding: .75rem .9rem;
  border: 1px solid #efcf7b;
  border-radius: 10px;
  background: rgba(255, 249, 226, .97);
  box-shadow: 0 10px 28px rgba(73, 58, 14, .13);
  backdrop-filter: blur(12px);
}

.admin-preview-toolbar[hidden] {
  display: none;
}

.admin-preview-toolbar > div:first-child {
  display: grid;
  gap: .15rem;
}

.admin-preview-toolbar > div:first-child span {
  color: #886000;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .07em;
}

.admin-preview-toolbar > div:first-child strong {
  color: var(--oral-navy);
  font-size: .82rem;
}

.admin-preview-toolbar > p {
  margin: 0;
  color: #6b5a2e;
  font-size: .75rem;
  line-height: 1.4;
}

.admin-preview-toolbar > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
}

.admin-confirmation,
.access-message {
  display: flex;
  align-items: flex-start;
  gap: .52rem;
  margin-top: .8rem;
  padding: .7rem .8rem;
  border-radius: 7px;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.42;
}

.student-claim-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .65rem;
  align-items: end;
  margin-top: .8rem;
  padding: .8rem;
  border: 1px solid #c7d8e3;
  border-radius: 9px;
  background: #f5fafc;
}

.student-claim-panel[hidden] {
  display: none;
}

.student-claim-panel label {
  display: grid;
  gap: .32rem;
  color: var(--oral-navy);
  font-size: .72rem;
  font-weight: 850;
}

.student-claim-panel input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #aebfcb;
  border-radius: 7px;
  padding: .58rem .68rem;
  background: #fff;
  color: var(--oral-ink);
  font: inherit;
}

@media (max-width: 560px) {
  .student-claim-panel {
    grid-template-columns: 1fr;
  }
}

.admin-confirmation {
  background: #fff8e9;
  color: #73540e;
}

.official-access-panel {
  display: grid;
  grid-template-columns: 150px minmax(0, 1.4fr) minmax(280px, .8fr);
  overflow: hidden;
}

.access-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, .24), transparent 30%),
    linear-gradient(150deg, var(--oral-blue), var(--oral-navy));
  color: #fff;
  font-size: 3.3rem;
}

.access-visual > i {
  position: relative;
  z-index: 2;
}

.access-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
}

.access-orbit.one {
  width: 180px;
  height: 180px;
}

.access-orbit.two {
  width: 110px;
  height: 110px;
}

.access-copy {
  padding: 1.5rem;
}

.access-copy > p:not(.official-kicker):not(.access-message) {
  max-width: 700px;
  margin: .6rem 0 0;
  color: var(--oral-muted);
  font-size: .9rem;
  line-height: 1.6;
}

.access-account {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: .6rem;
  align-items: center;
  margin-top: .9rem;
  padding: .65rem;
  border: 1px solid #c9e7dd;
  border-radius: 8px;
  background: #eff9f5;
}

.access-account > span,
.staff-student-banner > span,
.exam-candidate > span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--oral-cyan-dark), var(--oral-navy));
  color: #fff;
  font-weight: 900;
}

.access-account > span {
  width: 42px;
  height: 42px;
}

.access-account strong,
.access-account small {
  display: block;
}

.access-account strong {
  font-size: .82rem;
}

.access-account small {
  margin-top: .1rem;
  color: var(--oral-muted);
  font-size: .68rem;
}

.access-account > i {
  color: var(--oral-green);
}

.access-copy .official-button-row {
  margin-top: 1rem;
}

.access-message.neutral {
  background: #edf5fa;
  color: #31506c;
}

.access-message.success {
  background: #e8f7f1;
  color: #0a6f53;
}

.access-message.error {
  background: #fff0ee;
  color: #9b392d;
}

.access-inline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  padding: .42rem .65rem;
  background: #9b392d;
  color: #fff;
  font: inherit;
  font-size: .72rem;
  cursor: pointer;
  white-space: nowrap;
}

.access-recovery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-left: auto;
}

.access-recovery-actions .access-inline-action {
  margin-left: 0;
}

.access-inline-action.danger {
  background: #5d1f18;
}

.access-inline-action:focus-visible {
  outline: 3px solid rgba(155, 57, 45, .24);
  outline-offset: 2px;
}

.access-checklist {
  padding: 1.35rem;
  border-left: 1px solid var(--oral-line);
  background: #f7fafc;
}

.access-checklist h3,
.device-check-card h3,
.daniel-introduction h3,
.exam-rule-card h2,
.exam-rubric-preview h3,
.secure-session-card h3,
.evidence-heading h3,
.rubric-analytics-heading h3,
.rubric-form-heading h3 {
  margin: 0;
  color: var(--oral-navy);
  font-size: 1.1rem;
  line-height: 1.3;
}

.access-checklist ol {
  display: grid;
  gap: .75rem;
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
}

.access-checklist li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: .55rem;
  align-items: start;
}

.access-checklist li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  background: var(--oral-navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
}

.access-checklist p,
.access-checklist strong,
.access-checklist small {
  display: block;
  margin: 0;
}

.access-checklist strong {
  color: var(--oral-ink);
  font-size: .8rem;
}

.access-checklist small {
  margin-top: .12rem;
  color: var(--oral-muted);
  font-size: .7rem;
  line-height: 1.4;
}

.official-preflight {
  padding: 1.2rem;
}

.section-heading-row,
.unit-journey-heading,
.evidence-heading,
.rubric-form-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.preflight-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .4rem;
  padding: .5rem .65rem;
  border-radius: 7px;
  background: #e8f7f1;
  color: #0b7459;
  font-size: .72rem;
  font-weight: 900;
}

.preflight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .7fr);
  gap: .9rem;
  margin-top: 1rem;
}

.daniel-introduction {
  display: grid;
  grid-template-columns: minmax(170px, .42fr) minmax(0, 1fr);
  min-height: 310px;
  overflow: hidden;
  border: 1px solid #bedbe2;
  border-radius: 10px;
  background: linear-gradient(140deg, #eff9f9, #fff 70%);
}

.daniel-introduction figure {
  min-width: 0;
  margin: 0;
  background: #dceef1;
}

.daniel-introduction figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.daniel-introduction > div {
  align-self: center;
  padding: 1.2rem;
}

.daniel-introduction > div > p:not(.official-kicker),
.device-check-card > p:not(.official-kicker) {
  margin: .5rem 0 0;
  color: var(--oral-muted);
  font-size: .84rem;
  line-height: 1.55;
}

.audio-command-row,
.daniel-audio-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  margin-top: .9rem;
}

.audio-command,
.question-play-button {
  border-color: var(--oral-cyan-dark);
  background: #fff;
  color: var(--oral-cyan-dark);
}

.official-speed {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .28rem;
  border: 1px solid #cad8e2;
  border-radius: 8px;
  background: #f5f8fa;
}

.official-speed > span {
  padding: 0 .25rem;
  color: var(--oral-muted);
  font-size: .66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.official-speed button {
  min-width: 50px;
  min-height: 37px;
  padding: .35rem .45rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--oral-navy);
  font-size: .73rem;
  font-weight: 900;
  cursor: pointer;
}

.official-speed button.is-active {
  background: var(--oral-navy);
  color: #fff;
  box-shadow: 0 5px 12px rgba(9, 39, 71, .2);
}

.device-check-card {
  padding: 1.15rem;
  border: 1px solid var(--oral-line);
  border-radius: 10px;
  background: #f8fafc;
}

.device-check-icon {
  width: 58px;
  height: 58px;
  margin-bottom: .8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--oral-cyan), var(--oral-blue));
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 10px 22px rgba(15, 95, 168, .2);
}

.device-check-card .microphone-picker {
  margin-top: .8rem;
}

.preflight-level,
.official-level {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  gap: .5rem;
  align-items: center;
  margin: .7rem 0;
  color: var(--oral-muted);
  font-size: .67rem;
  font-weight: 850;
}

.preflight-level > div,
.official-level > div {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #dce5eb;
}

.preflight-level i,
.official-level i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--oral-green), var(--oral-gold));
  transition: width .12s linear;
}

.exam-readiness-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .9rem;
  align-items: center;
  margin-top: .9rem;
  padding: .85rem;
  border: 1px solid #d8e4ea;
  border-radius: 9px;
  background: #f4f8fa;
}

.integrity-confirmation,
.final-submit-confirmation {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: .65rem;
  cursor: pointer;
}

.integrity-confirmation input,
.final-submit-confirmation input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: .1rem 0 0;
  accent-color: var(--oral-cyan-dark);
}

.integrity-confirmation span,
.integrity-confirmation strong,
.integrity-confirmation small,
.final-submit-confirmation span,
.final-submit-confirmation strong,
.final-submit-confirmation small {
  display: block;
}

.integrity-confirmation strong,
.final-submit-confirmation strong {
  color: var(--oral-ink);
  font-size: .82rem;
}

.integrity-confirmation small,
.final-submit-confirmation small {
  margin-top: .15rem;
  color: var(--oral-muted);
  font-size: .7rem;
  line-height: 1.4;
}

.official-exam-shell {
  padding-bottom: 1.2rem;
}

.exam-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: .9rem;
  align-items: center;
  margin-bottom: .75rem;
  padding: .72rem .85rem;
  border: 1px solid var(--oral-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(9, 39, 71, .08);
}

.exam-candidate {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: .55rem;
  align-items: center;
}

.exam-candidate > span {
  width: 42px;
  height: 42px;
  font-size: .72rem;
}

.exam-candidate small,
.exam-candidate strong,
.exam-candidate em,
.exam-session-code small,
.exam-session-code strong {
  display: block;
}

.exam-candidate small,
.exam-session-code small {
  color: var(--oral-muted);
  font-size: .58rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.exam-candidate strong {
  overflow: hidden;
  color: var(--oral-ink);
  font-size: .79rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.exam-candidate em {
  margin-top: .05rem;
  color: var(--oral-muted);
  font-size: .63rem;
  font-style: normal;
}

.exam-save-state {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .58rem;
  border-radius: 7px;
  background: #e8f7f1;
  color: #0a7055;
  font-size: .68rem;
  font-weight: 900;
}

.exam-save-state.saving {
  background: #fff8e8;
  color: #80600d;
}

.exam-save-state.error {
  background: #fff0ee;
  color: #a13b2e;
}

.exam-session-code {
  min-width: 110px;
  text-align: right;
}

.exam-session-code strong {
  color: var(--oral-navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
}

.unit-journey {
  margin-bottom: .75rem;
  padding: .9rem;
  border: 1px solid var(--oral-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(9, 39, 71, .08);
}

.unit-journey-heading h2 {
  font-size: 1.15rem;
}

.unit-journey-heading > span,
.evidence-heading > span {
  flex: 0 0 auto;
  padding: .4rem .52rem;
  border-radius: 6px;
  background: #e8f5f6;
  color: var(--oral-cyan-dark);
  font-size: .68rem;
  font-weight: 900;
}

.unit-journey ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .45rem;
  margin: .72rem 0 0;
  padding: 0;
  list-style: none;
}

.unit-journey ol::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: #dfe8ee;
}

.unit-journey li {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: .42rem;
  align-items: center;
  padding: .44rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
}

.unit-journey li > span {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 2px solid #cbd9e2;
  border-radius: 50%;
  background: #fff;
  color: var(--oral-muted);
  font-size: .7rem;
  font-weight: 950;
}

.unit-journey li strong,
.unit-journey li small {
  display: block;
  min-width: 0;
}

.unit-journey li strong {
  overflow: hidden;
  color: var(--oral-ink);
  font-size: .67rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unit-journey li small {
  margin-top: .1rem;
  color: var(--oral-muted);
  font-size: .56rem;
  line-height: 1.25;
}

.unit-journey li > i {
  display: none;
}

.unit-journey li.is-active {
  border-color: rgba(0, 166, 178, .28);
  background: #f0faf9;
}

.unit-journey li.is-active > span {
  border-color: var(--oral-cyan-dark);
  background: var(--oral-cyan-dark);
  color: #fff;
  box-shadow: 0 7px 16px rgba(8, 126, 136, .2);
}

.unit-journey li.is-complete > span {
  border-color: var(--oral-green);
  background: var(--oral-green);
  color: transparent;
}

.unit-journey li.is-complete > i {
  position: absolute;
  top: 17px;
  left: 18px;
  display: block;
  color: #fff;
  font-size: .88rem;
}

.journey-finale {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: .6rem;
  align-items: center;
  margin-top: .65rem;
  padding: .55rem .65rem;
  border: 1px dashed #b8cbd7;
  border-radius: 8px;
  background: linear-gradient(90deg, #f4f8fa, #eef8f7);
}

.journey-finale > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: #dce8ee;
  color: var(--oral-navy);
}

.journey-finale strong,
.journey-finale small {
  display: block;
}

.journey-finale strong {
  color: var(--oral-ink);
  font-size: .7rem;
}

.journey-finale small {
  margin-top: .08rem;
  color: var(--oral-muted);
  font-size: .6rem;
  line-height: 1.35;
}

.journey-finale > i {
  color: #9bb0bd;
}

.journey-finale.is-active {
  border-style: solid;
  border-color: var(--oral-cyan-dark);
  background: #edf9f8;
}

.journey-finale.is-active > span,
.journey-finale.is-complete > span {
  background: var(--oral-cyan-dark);
  color: #fff;
}

.journey-finale.is-complete > i {
  color: var(--oral-green);
}

.official-exam-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: .75rem;
  align-items: start;
}

.official-interview-card,
.official-exam-sidebar > section {
  border: 1px solid var(--oral-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(9, 39, 71, .09);
}

.official-interview-card {
  min-width: 0;
  overflow: hidden;
}

.interview-progress-header {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(150px, 1fr) auto;
  gap: .85rem;
  align-items: center;
  padding: .72rem .9rem;
  border-bottom: 1px solid var(--oral-line);
  background: #f8fafc;
}

.interview-progress-header span,
.interview-progress-header strong {
  display: block;
}

.interview-progress-header span {
  color: var(--oral-cyan-dark);
  font-size: .65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.interview-progress-header strong {
  margin-top: .08rem;
  color: var(--oral-navy);
  font-size: .77rem;
}

.interview-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #dbe6ec;
}

.interview-progress-track i {
  display: block;
  width: 16.667%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--oral-cyan-dark), var(--oral-blue));
  transition: width .45s ease;
}

.interview-progress-header time {
  min-width: 98px;
  color: var(--oral-navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .78rem;
  font-weight: 900;
  text-align: right;
}

.daniel-stage {
  position: relative;
  display: grid;
  min-height: 330px;
  grid-template-columns: minmax(210px, .52fr) minmax(0, 1fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 25%, rgba(0, 166, 178, .16), transparent 30%),
    linear-gradient(135deg, #082d50 0%, #0c416a 58%, #0a3153 100%);
}

.daniel-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.daniel-portrait {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  align-self: stretch;
}

.daniel-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, #082f51 100%), linear-gradient(0deg, rgba(7, 38, 66, .7), transparent 45%);
}

.daniel-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center 18%;
}

.daniel-question-card {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  padding: 1.35rem 1.35rem 1.35rem .8rem;
  color: #fff;
}

.daniel-identity {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: .55rem;
  align-items: center;
}

.daniel-identity > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, .14);
  color: #acebee;
}

.daniel-identity strong,
.daniel-identity small {
  display: block;
}

.daniel-identity strong {
  font-size: .84rem;
}

.daniel-identity small {
  margin-top: .1rem;
  color: rgba(255, 255, 255, .65);
  font-size: .65rem;
}

.daniel-identity em {
  display: inline-flex;
  align-items: center;
  gap: .34rem;
  padding: .35rem .48rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, .11);
  color: #cdf1e5;
  font-size: .65rem;
  font-style: normal;
  font-weight: 900;
}

.daniel-identity em i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55d4a8;
  box-shadow: 0 0 0 4px rgba(85, 212, 168, .15);
}

.question-instruction {
  margin: 1rem 0 .35rem;
  color: #a9dfe3;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.daniel-question-card h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.2;
  text-wrap: balance;
}

.daniel-audio-controls {
  margin-top: 1.1rem;
}

.daniel-audio-controls .question-play-button {
  border-color: transparent;
  background: #fff;
  color: var(--oral-navy);
}

.daniel-audio-controls .official-speed {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
}

.daniel-audio-controls .official-speed > span,
.daniel-audio-controls .official-speed button {
  color: #fff;
}

.daniel-audio-controls .official-speed button.is-active {
  background: #fff;
  color: var(--oral-navy);
}

.daniel-reaction {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: .55rem;
  align-items: start;
  margin-top: .8rem;
  padding: .65rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.daniel-reaction > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, .12);
  color: #a7e7ea;
}

.daniel-reaction p {
  margin: .15rem 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: .8rem;
  line-height: 1.5;
}

.unit-visual-panel {
  position: relative;
  display: grid;
  min-height: 215px;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1fr);
  overflow: hidden;
  border-top: 1px solid var(--oral-line);
  border-bottom: 1px solid var(--oral-line);
  background: #eef5f7;
}

.unit-visual-panel figure {
  min-width: 0;
  margin: 0;
}

.unit-visual-panel figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 215px;
  object-fit: cover;
}

.unit-visual-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
  padding: 1rem 5rem 1rem 1.15rem;
}

.unit-visual-copy > span {
  padding: .42rem .52rem;
  border-radius: 6px;
  background: var(--oral-navy);
  color: #fff;
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .08em;
}

.unit-visual-copy p,
.unit-visual-copy h2 {
  margin: 0;
}

.unit-visual-copy > div > p:first-child {
  color: var(--oral-cyan-dark);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.unit-visual-copy h2 {
  margin-top: .25rem;
  color: var(--oral-navy);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.17;
}

.unit-visual-copy > div > p:last-child {
  margin-top: .35rem;
  color: var(--oral-muted);
  font-size: .77rem;
  line-height: 1.48;
}

.unit-visual-mark {
  position: absolute;
  right: -10px;
  bottom: -25px;
  color: rgba(9, 39, 71, .06);
  font-size: 8rem;
  font-weight: 950;
  line-height: 1;
}

.official-recorder {
  padding: 1.15rem;
}

.recorder-header,
.recorder-device-row {
  display: flex;
  justify-content: space-between;
  gap: .85rem;
  align-items: center;
}

.recorder-header h2 {
  margin: 0;
  color: var(--oral-navy);
  font-size: 1.25rem;
}

.answer-state {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .4rem .55rem;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 900;
}

.answer-state.ready {
  background: #edf4f8;
  color: #45627b;
}

.answer-state.recording {
  background: #fff0ee;
  color: #a23b2e;
}

.answer-state.saved {
  background: #e8f7f1;
  color: #0b7055;
}

.answer-state i {
  font-size: .5rem;
}

.recorder-device-row {
  margin-top: .85rem;
  padding: .65rem .75rem;
  border: 1px solid var(--oral-line);
  border-radius: 8px;
  background: #f8fafb;
}

.recorder-device-row .microphone-picker {
  grid-template-columns: auto minmax(140px, 240px);
  align-items: center;
}

.official-level {
  min-width: 260px;
  margin: 0;
}

.official-mic-button {
  position: relative;
  display: grid;
  width: 116px;
  min-height: 116px;
  place-content: center;
  gap: .3rem;
  margin: 1.1rem auto .55rem;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #0aa4ae, #087181);
  color: #fff;
  box-shadow: 0 16px 34px rgba(8, 126, 136, .28), inset 0 0 0 5px rgba(255,255,255,.13);
  cursor: pointer;
}

.official-mic-button > i {
  font-size: 1.8rem;
}

.official-mic-button > strong {
  font-size: .66rem;
  letter-spacing: .02em;
}

.mic-rings,
.mic-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(8, 126, 136, .22);
  border-radius: inherit;
  pointer-events: none;
}

.mic-rings i:first-child {
  inset: -11px;
}

.mic-rings i:last-child {
  inset: -23px;
  opacity: .5;
}

.official-recorder.is-recording .mic-rings i {
  animation: official-mic-pulse 1.45s ease-out infinite;
}

.official-recorder.is-recording .mic-rings i:last-child {
  animation-delay: .35s;
}

.record-status,
.record-timer {
  display: block;
  text-align: center;
}

.record-status {
  margin: .4rem 0 0;
  color: var(--oral-ink);
  font-size: .79rem;
  font-weight: 800;
}

.record-timer {
  margin-top: .18rem;
  color: var(--oral-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
  font-weight: 900;
}

.voice-waveform {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: .45rem auto;
}

.voice-waveform i {
  width: 4px;
  height: 12px;
  border-radius: 99px;
  background: #a9c0cf;
}

.official-recorder.is-recording .voice-waveform i {
  background: var(--oral-cyan-dark);
  animation: waveform-dance .85s ease-in-out infinite alternate;
}

.official-recorder.is-recording .voice-waveform i:nth-child(2n) { animation-delay: -.2s; }
.official-recorder.is-recording .voice-waveform i:nth-child(3n) { animation-delay: -.45s; }
.official-recorder.is-recording .voice-waveform i:nth-child(4n) { animation-delay: -.65s; }

.recorder-actions {
  justify-content: center;
}

.answer-captured,
.technical-recovery {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: .7rem;
  align-items: start;
  margin-top: .85rem;
  padding: .75rem;
  border-radius: 8px;
}

.answer-captured {
  background: #e9f7f2;
  color: #0b674f;
}

.technical-recovery {
  background: #fff6e4;
  color: #74530c;
}

.answer-captured > i,
.technical-recovery > i {
  font-size: 1.65rem;
}

.answer-captured strong,
.technical-recovery strong {
  display: block;
  color: inherit;
  font-size: .82rem;
}

.answer-captured p,
.technical-recovery p {
  margin: .2rem 0 .5rem;
  font-size: .73rem;
  line-height: 1.45;
}

.official-live-transcript {
  min-height: 58px;
  margin-top: .85rem;
  padding: .85rem .95rem;
  border-radius: 12px;
  border: 1px solid rgba(12, 44, 74, .1);
  background: #f5f9fc;
  color: #5d7489;
  text-align: left;
  line-height: 1.55;
  overflow-wrap: anywhere;
  box-shadow: inset 4px 0 0 rgba(8, 126, 136, .2);
}

.official-live-transcript.has-text {
  color: var(--oral-ink);
  background: #f2fbf9;
  border-color: rgba(8, 126, 136, .22);
  box-shadow: inset 4px 0 0 var(--oral-cyan-dark), 0 10px 24px rgba(8, 126, 136, .08);
}

.official-button.compact {
  min-height: 34px;
  padding: .38rem .58rem;
  border-radius: 7px;
  font-size: .68rem;
}

.official-exam-sidebar {
  display: grid;
  gap: .75rem;
}

.official-exam-sidebar > section {
  padding: .9rem;
}

.exam-rule-card {
  border-top: 5px solid var(--oral-cyan-dark) !important;
}

.exam-rule-card ul,
.rubric-preview-list {
  display: grid;
  gap: .55rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}

.exam-rule-card li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: .45rem;
  align-items: start;
  color: var(--oral-muted);
  font-size: .73rem;
  line-height: 1.4;
}

.exam-rule-card li .bi-check2-circle {
  color: var(--oral-green);
}

.exam-rule-card li .bi-x-circle {
  color: var(--oral-coral);
}

.rubric-preview-list span {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: .45rem;
  align-items: center;
  padding: .48rem;
  border-radius: 7px;
  background: #f5f8fa;
}

.rubric-preview-list i {
  color: var(--oral-cyan-dark);
}

.rubric-preview-list b {
  color: var(--oral-ink);
  font-size: .68rem;
}

.rubric-preview-list em {
  color: var(--oral-navy);
  font-size: .72rem;
  font-style: normal;
  font-weight: 950;
}

.secure-session-card {
  text-align: center;
}

.secure-session-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 0 auto .6rem;
  border-radius: 50%;
  background: #e8f7f1;
  color: var(--oral-green);
  font-size: 1.25rem;
}

.secure-session-card p {
  margin: .35rem 0;
  color: var(--oral-muted);
  font-size: .7rem;
  line-height: 1.45;
}

.secure-session-card small {
  color: var(--oral-cyan-dark);
  font-size: .64rem;
  font-weight: 850;
}

.submission-panel,
.receipt-panel {
  padding: 1.4rem;
}

.submission-celebration,
.receipt-panel {
  text-align: center;
}

.submission-celebration > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto .65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--oral-cyan), var(--oral-blue));
  color: #fff;
  font-size: 1.35rem;
}

.submission-celebration > p:not(.official-kicker),
.receipt-panel > p:not(.official-kicker) {
  max-width: 720px;
  margin: .55rem auto 0;
  color: var(--oral-muted);
  font-size: .85rem;
  line-height: 1.55;
}

.submission-unit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1.15rem;
}

.submission-unit-grid article {
  display: grid;
  min-width: 0;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: .55rem;
  align-items: center;
  padding: .68rem;
  border: 1px solid var(--oral-line);
  border-radius: 8px;
  background: #f8fafb;
  text-align: left;
}

.submission-unit-grid article > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--oral-navy);
  color: #fff;
  font-size: .66rem;
  font-weight: 950;
}

.submission-unit-grid strong,
.submission-unit-grid small {
  display: block;
}

.submission-unit-grid strong {
  color: var(--oral-ink);
  font-size: .73rem;
}

.submission-unit-grid small {
  margin-top: .1rem;
  color: var(--oral-muted);
  font-size: .62rem;
}

.submission-unit-grid article > i {
  color: var(--oral-gold);
}

.submission-unit-grid article.is-secure {
  border-color: #bfe1d4;
  background: #eef8f4;
}

.submission-unit-grid article.is-secure > i {
  color: var(--oral-green);
}

.submission-review-button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 34px;
  border: 1px solid #a9c8d8;
  border-radius: 7px;
  padding: .38rem .58rem;
  background: #fff;
  color: var(--oral-navy);
  font-size: .68rem;
  font-weight: 850;
  cursor: pointer;
}

.submission-review-button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.final-submit-confirmation {
  width: fit-content;
  margin: 1rem auto 0;
  padding: .75rem;
  border: 1px solid var(--oral-line);
  border-radius: 8px;
  background: #f7fafb;
  text-align: left;
}

.submission-actions {
  flex-direction: column;
  justify-content: center;
  margin-top: .9rem;
}

.submission-actions p {
  margin: 0;
  color: var(--oral-muted);
  font-size: .7rem;
}

.receipt-check {
  width: 76px;
  height: 76px;
  margin: 0 auto .7rem;
  border: 7px solid #dff3eb;
  border-radius: 50%;
  background: var(--oral-green);
  color: #fff;
  font-size: 2.1rem;
  box-shadow: 0 14px 30px rgba(21, 133, 104, .2);
}

.receipt-code {
  display: grid;
  width: min(520px, 100%);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .25rem .7rem;
  align-items: center;
  margin: 1.1rem auto 0;
  padding: .9rem;
  border: 1px dashed #95b5c9;
  border-radius: 9px;
  background: #f3f8fa;
  text-align: left;
}

.receipt-code small {
  grid-column: 1;
  color: var(--oral-muted);
  font-size: .63rem;
  font-weight: 850;
  text-transform: uppercase;
}

.receipt-code strong {
  grid-column: 1;
  color: var(--oral-navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  letter-spacing: .08em;
}

.receipt-code button {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  border: 1px solid #bed0dc;
  border-radius: 8px;
  background: #fff;
  color: var(--oral-navy);
  cursor: pointer;
}

.receipt-details {
  display: grid;
  width: min(780px, 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1rem auto 0;
  overflow: hidden;
  border: 1px solid var(--oral-line);
  border-radius: 9px;
  background: var(--oral-line);
  gap: 1px;
  text-align: left;
}

.receipt-details div {
  min-width: 0;
  padding: .75rem;
  background: #fff;
}

.receipt-details dt {
  color: var(--oral-muted);
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.receipt-details dd {
  overflow: hidden;
  margin: .25rem 0 0;
  color: var(--oral-ink);
  font-size: .74rem;
  font-weight: 850;
  text-overflow: ellipsis;
}

.receipt-details dd span {
  color: #8a630c;
}

.receipt-actions {
  justify-content: center;
  margin-top: 1rem;
}

.staff-review {
  padding: 1.15rem;
  border-top: 5px solid var(--oral-navy);
}

.staff-review-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.staff-header-actions {
  display: flex;
  gap: .55rem;
  align-items: end;
}

.staff-header-actions label {
  min-width: 260px;
}

.staff-student-banner {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: center;
  margin-top: 1rem;
  padding: .75rem;
  border-radius: 9px;
  background: linear-gradient(100deg, var(--oral-navy), #0d456e);
  color: #fff;
}

.staff-student-banner > span {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,.28);
}

.staff-student-banner small,
.staff-student-banner h3,
.staff-student-banner p {
  margin: 0;
}

.staff-student-banner small {
  color: rgba(255,255,255,.62);
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.staff-student-banner h3 {
  margin-top: .08rem;
  color: #fff;
  font-size: .95rem;
}

.staff-student-banner p {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  margin-top: .16rem;
  color: rgba(255,255,255,.7);
  font-size: .62rem;
}

.staff-student-banner p i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
}

.staff-student-banner > em {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .48rem .58rem;
  border-radius: 7px;
  background: rgba(255,255,255,.12);
  color: #f9d483;
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
}

.staff-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr);
  gap: .8rem;
  margin-top: .8rem;
}

.evidence-studio,
.rubric-analytics,
.rubric-form,
.teacher-feedback-panel {
  min-width: 0;
  padding: .9rem;
  border: 1px solid var(--oral-line);
  border-radius: 9px;
  background: #fff;
}

.evidence-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .35rem;
  margin-top: .65rem;
}

.evidence-tabs button {
  display: grid;
  min-width: 0;
  min-height: 60px;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: .35rem;
  align-items: center;
  padding: .42rem;
  border: 1px solid var(--oral-line);
  border-radius: 7px;
  background: #f8fafb;
  color: var(--oral-ink);
  font-size: .59rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.evidence-tabs button span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  background: #e6edf2;
  color: var(--oral-navy);
  font-size: .58rem;
  font-weight: 950;
}

.evidence-tabs button[aria-selected="true"] {
  border-color: var(--oral-cyan-dark);
  background: #eef9f8;
  color: var(--oral-cyan-dark);
}

.evidence-tabs button[aria-selected="true"] span {
  background: var(--oral-cyan-dark);
  color: #fff;
}

.evidence-player {
  margin-top: .65rem;
  overflow: hidden;
  border: 1px solid var(--oral-line);
  border-radius: 9px;
  background: #f8fafb;
}

.evidence-context {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
  padding: .75rem;
  background: linear-gradient(100deg, var(--oral-navy), #0e4a75);
  color: #fff;
}

.evidence-context > span {
  padding: .38rem .46rem;
  border-radius: 5px;
  background: rgba(255,255,255,.14);
  color: #a9e8eb;
  font-size: .59rem;
  font-weight: 950;
}

.evidence-context p,
.evidence-context h3 {
  margin: 0;
}

.evidence-context p {
  color: #a9e8eb;
  font-size: .62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.evidence-context h3 {
  margin-top: .22rem;
  color: #fff;
  font-size: .89rem;
  line-height: 1.38;
}

.staff-audio-player {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: center;
  margin: .75rem;
  padding: .65rem;
  border: 1px solid #c9d9e3;
  border-radius: 8px;
  background: #fff;
}

.staff-audio-player > button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--oral-cyan-dark);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
}

.staff-audio-player span {
  display: block;
  margin-bottom: .35rem;
  color: var(--oral-ink);
  font-size: .69rem;
  font-weight: 850;
}

.staff-audio-track {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #dbe5eb;
}

.staff-audio-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--oral-cyan-dark);
}

.staff-audio-player time {
  color: var(--oral-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .68rem;
  font-weight: 850;
}

.evidence-transcript {
  margin: 0 .75rem .75rem;
  padding: .75rem;
  border-left: 4px solid var(--oral-cyan-dark);
  border-radius: 0 7px 7px 0;
  background: #fff;
}

.evidence-transcript > div {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
}

.evidence-transcript strong {
  color: var(--oral-navy);
  font-size: .73rem;
}

.evidence-transcript span {
  color: var(--oral-muted);
  font-size: .62rem;
  font-weight: 800;
}

.evidence-transcript p {
  margin: .45rem 0 0;
  color: var(--oral-ink);
  font-size: .8rem;
  line-height: 1.55;
}

.evidence-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: 0 .75rem .75rem;
}

.evidence-metadata span {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .34rem .42rem;
  border-radius: 5px;
  background: #e9f0f4;
  color: var(--oral-muted);
  font-size: .6rem;
}

.evidence-metadata i {
  color: var(--oral-cyan-dark);
}

.rubric-analytics {
  background: linear-gradient(160deg, #f8fbfc, #eef5f7);
}

.rubric-analytics-heading {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  align-items: center;
}

.rubric-analytics-heading > strong {
  color: var(--oral-navy);
  font-size: 1rem;
}

.rubric-analytics-heading > strong span {
  color: var(--oral-cyan-dark);
  font-size: 2rem;
}

.rubric-radar {
  width: min(320px, 100%);
  margin: .5rem auto 0;
}

.rubric-radar svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.radar-grid polygon,
.radar-grid line {
  fill: rgba(255,255,255,.42);
  stroke: #c7d7e1;
  stroke-width: 1;
}

.radar-value {
  fill: rgba(0, 166, 178, .24);
  stroke: var(--oral-cyan-dark);
  stroke-width: 3;
  transition: all .35s ease;
}

.radar-labels text {
  fill: var(--oral-muted);
  font-size: 10px;
  font-weight: 850;
}

.analytics-bars {
  display: grid;
  gap: .4rem;
  margin-top: .35rem;
}

.analytics-bars > span {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 22px;
  gap: .45rem;
  align-items: center;
}

.analytics-bars b,
.analytics-bars em {
  color: var(--oral-muted);
  font-size: .62rem;
  font-style: normal;
}

.analytics-bars em {
  color: var(--oral-navy);
  font-weight: 950;
  text-align: right;
}

.analytics-bars i {
  position: relative;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #d5e1e8;
}

.analytics-bars i::after {
  content: "";
  display: block;
  width: calc(var(--score) * 10%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--oral-cyan-dark), var(--oral-blue));
  transition: width .3s ease;
}

.rubric-form {
  margin-top: .8rem;
}

.rubric-form-heading > span {
  max-width: 460px;
  color: var(--oral-muted);
  font-size: .63rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: right;
}

.rubric-form-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .55rem;
  margin-top: .75rem;
}

.rubric-form-grid label {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 58px auto;
  gap: .35rem;
  align-items: end;
  padding: .7rem;
  border: 1px solid var(--oral-line);
  border-radius: 8px;
  background: #f8fafb;
}

.rubric-form-grid label > span {
  grid-column: 1 / -1;
}

.rubric-form-grid i,
.rubric-form-grid strong,
.rubric-form-grid small {
  display: block;
}

.rubric-form-grid i {
  width: 31px;
  height: 31px;
  margin-bottom: .4rem;
  padding: .42rem;
  border-radius: 6px;
  background: #e5f4f4;
  color: var(--oral-cyan-dark);
  text-align: center;
}

.rubric-form-grid strong {
  color: var(--oral-navy);
  font-size: .7rem;
  line-height: 1.3;
}

.rubric-form-grid small {
  min-height: 45px;
  margin-top: .28rem;
  color: var(--oral-muted);
  font-size: .59rem;
  line-height: 1.4;
}

.rubric-form-grid input {
  height: 44px;
  padding: .4rem;
  color: var(--oral-navy);
  font-size: 1.15rem;
  font-weight: 950;
  text-align: center;
}

.rubric-form-grid label > em {
  align-self: center;
  color: var(--oral-muted);
  font-size: .63rem;
  font-style: normal;
  font-weight: 850;
}

.teacher-feedback-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .6fr);
  gap: .8rem;
  margin-top: .8rem;
  background: #f8fafb;
}

.teacher-feedback-panel > label {
  display: grid;
  gap: .55rem;
}

.teacher-feedback-panel > label > span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: .45rem;
}

.teacher-feedback-panel > label i {
  grid-row: 1 / 3;
  color: var(--oral-cyan-dark);
  font-size: 1.2rem;
}

.teacher-feedback-panel > label strong,
.teacher-feedback-panel > label small {
  display: block;
}

.teacher-feedback-panel > label strong {
  color: var(--oral-navy);
  font-size: .8rem;
}

.teacher-feedback-panel > label small {
  color: var(--oral-muted);
  font-size: .64rem;
}

.teacher-feedback-panel textarea {
  min-height: 160px;
  resize: vertical;
  padding: .7rem;
  line-height: 1.5;
}

.publish-grade-card {
  display: grid;
  align-content: center;
  padding: .85rem;
  border-radius: 9px;
  background: var(--oral-navy);
  color: #fff;
  text-align: center;
}

.publish-grade-card small,
.publish-grade-card strong,
.publish-grade-card p {
  display: block;
  margin: 0;
}

.publish-grade-card > div > small {
  color: #a9e4e7;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.publish-grade-card > div > strong {
  margin: .15rem 0;
  color: #fff;
}

.publish-grade-card > div > strong span {
  font-size: 2.6rem;
}

.publish-grade-card > div > strong em {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  font-style: normal;
}

.publish-grade-card > div > p {
  color: rgba(255,255,255,.78);
  font-size: .68rem;
}

.publish-grade-card .official-button {
  width: 100%;
  margin-top: .75rem;
}

.publish-grade-card > p {
  margin-top: .5rem;
  color: rgba(255,255,255,.62);
  font-size: .6rem;
  line-height: 1.4;
}

.floating-mic-dock {
  position: fixed;
  z-index: 90;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  min-width: 330px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: .65rem;
  align-items: center;
  padding: .65rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(5, 27, 51, .95);
  color: #fff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
}

.floating-copy span,
.floating-copy strong {
  display: block;
}

.floating-copy span {
  color: #9adfe3;
  font-size: .57rem;
  font-weight: 900;
  text-transform: uppercase;
}

.floating-copy strong {
  margin-top: .1rem;
  font-size: .72rem;
}

.floating-timer {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .67rem;
  font-weight: 900;
}

.floating-action {
  display: grid;
  min-width: 64px;
  min-height: 54px;
  place-content: center;
  gap: .12rem;
  border: 0;
  border-radius: 9px;
  background: var(--oral-cyan-dark);
  color: #fff;
  cursor: pointer;
}

.floating-action i {
  font-size: 1.05rem;
}

.floating-action span {
  font-size: .58rem;
  font-weight: 900;
}

.floating-action.stop {
  background: var(--oral-coral);
}

.official-toast {
  position: fixed;
  z-index: 110;
  top: max(1rem, env(safe-area-inset-top));
  left: 50%;
  width: min(520px, calc(100% - 2rem));
  padding: .8rem 1rem;
  border-radius: 9px;
  background: var(--oral-navy);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 18px 45px rgba(0,0,0,.26);
  transform: translateX(-50%);
}

.official-busy-overlay {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-content: center;
  gap: .8rem;
  background: rgba(3, 20, 39, .82);
  color: #fff;
  text-align: center;
  backdrop-filter: blur(5px);
}

.official-busy-overlay > span {
  display: flex;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.official-busy-overlay > span i {
  width: 7px;
  height: 18px;
  border-radius: 99px;
  background: #8be0e4;
  animation: busy-wave .8s ease-in-out infinite alternate;
}

.official-busy-overlay > span i:nth-child(2) { animation-delay: -.25s; }
.official-busy-overlay > span i:nth-child(3) { animation-delay: -.5s; }

.official-busy-overlay strong {
  font-size: .82rem;
}

.official-screen-footer {
  margin-top: 1.5rem;
  background: var(--oral-navy-deep);
}

.official-screen-footer p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: .72rem;
  letter-spacing: .04em;
  text-align: center;
}

.official-institutional-footer {
  background: #fff;
}

@keyframes official-mic-pulse {
  0% { transform: scale(.96); opacity: .85; }
  100% { transform: scale(1.32); opacity: 0; }
}

@keyframes waveform-dance {
  0% { height: 10px; }
  100% { height: 38px; }
}

@keyframes busy-wave {
  0% { height: 10px; opacity: .55; }
  100% { height: 30px; opacity: 1; }
}

@media (max-width: 1120px) {
  .official-hero-seal { display: none; }

  .admin-preview-launch {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .admin-preview-launch label,
  .admin-preview-launch > .official-button {
    grid-column: 2;
  }

  .official-assurance-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .official-access-panel {
    grid-template-columns: 115px minmax(0, 1fr) 290px;
  }

  .unit-journey li {
    grid-template-columns: 39px minmax(0, 1fr);
  }

  .unit-journey li > span {
    width: 39px;
    height: 39px;
  }

  .unit-journey ol::before { top: 19px; }
  .unit-journey li.is-complete > i { top: 15px; left: 16px; }

  .official-exam-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .rubric-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rubric-form-grid label:nth-child(4),
  .rubric-form-grid label:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 980px) {
  .official-hero {
    min-height: 560px;
  }

  .official-hero-overlay {
    background: linear-gradient(90deg, rgba(3,20,40,.97) 0%, rgba(4,28,54,.86) 58%, rgba(4,28,54,.35) 100%), linear-gradient(0deg, rgba(3,20,40,.75), transparent 45%);
  }

  .official-hero-copy {
    width: min(720px, calc(100% - 2rem));
    margin-left: 1rem;
  }

  .official-access-panel {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .access-checklist {
    grid-column: 1 / -1;
    border-top: 1px solid var(--oral-line);
    border-left: 0;
  }

  .access-checklist ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .preflight-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr);
  }

  .daniel-introduction {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .unit-journey ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .unit-journey ol::before {
    display: none;
  }

  .official-exam-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .official-exam-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .staff-review-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .rubric-analytics {
    display: grid;
    grid-template-columns: minmax(210px, .55fr) minmax(0, 1fr);
    gap: .8rem;
    align-items: center;
  }

  .rubric-analytics-heading {
    grid-column: 1 / -1;
  }

  .evidence-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Keep the institutional navigation on one compact row in tablet portrait.
   The shared Basic Course stylesheet otherwise expands every link into
   several stacked rows between 761px and 900px. */
@media (max-width: 900px) {
  .official-oral-page .site-header .navbar {
    min-height: 62px;
    flex-flow: row nowrap;
    align-items: center;
    gap: .5rem;
    padding: .35rem .75rem;
  }

  .official-oral-page .site-header .brand {
    flex: 0 0 auto;
    justify-content: flex-start;
    margin-right: auto;
  }

  .official-oral-page .site-header .brand img {
    width: auto !important;
    height: 46px !important;
    max-width: 62px !important;
  }

  .official-oral-page .site-header .nav-links {
    display: none;
  }

  .official-oral-page .site-header .jl-course-switcher-item,
  .official-oral-page .site-header .jaralingua-auth-nav {
    flex: 0 0 auto;
  }
}

@media (max-width: 760px) {
  .official-oral-page .site-header .navbar {
    min-height: 62px;
    flex-flow: row nowrap;
    align-items: center;
    gap: .5rem;
    padding: .35rem .75rem;
  }

  .admin-preview-launch {
    grid-template-columns: 1fr;
  }

  .admin-preview-icon,
  .admin-preview-launch label,
  .admin-preview-launch > .official-button {
    grid-column: 1;
  }

  .admin-preview-toolbar {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
  }

  .admin-preview-toolbar > div:last-child {
    justify-content: flex-start;
  }

  .official-oral-page .site-header .brand {
    flex: 0 0 auto;
    justify-content: flex-start;
    margin-right: auto;
  }

  .official-oral-page .site-header .brand img {
    width: auto !important;
    height: 46px !important;
    max-width: 62px !important;
  }

  .official-oral-page .site-header .nav-links {
    display: none;
  }

  .official-oral-page .site-header .jl-course-switcher-item,
  .official-oral-page .site-header .jaralingua-auth-nav {
    flex: 0 0 auto;
  }

  .official-hero {
    min-height: auto;
    display: block;
    padding-top: 210px;
  }

  .official-hero-media {
    height: 280px;
  }

  .official-hero-media img {
    object-position: center 25%;
  }

  .official-hero-overlay {
    background: linear-gradient(0deg, var(--oral-navy-deep) 0%, rgba(4,23,44,.98) 64%, rgba(4,23,44,.2) 100%);
  }

  .official-hero-copy {
    width: 100%;
    margin: 0;
    padding: 2.1rem 1rem 2rem;
  }

  .official-hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .official-assurance-strip,
  .official-shell,
  .official-exam-shell {
    width: calc(100% - 1rem);
  }

  .official-assurance-strip {
    grid-template-columns: 1fr;
    margin-top: .5rem;
  }

  .admin-panel-heading {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .admin-crown {
    width: 50px;
    height: 50px;
  }

  .admin-state {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .admin-control-grid {
    grid-template-columns: 1fr;
  }

  .official-access-panel {
    grid-template-columns: 1fr;
  }

  .access-visual {
    min-height: 100px;
    font-size: 2.5rem;
  }

  .access-orbit.one {
    width: 150px;
    height: 150px;
  }

  .access-checklist ol {
    grid-template-columns: 1fr;
  }

  .section-heading-row,
  .unit-journey-heading,
  .evidence-heading,
  .rubric-form-heading {
    align-items: flex-start;
  }

  .preflight-grid {
    grid-template-columns: 1fr;
  }

  .daniel-introduction {
    grid-template-columns: 135px minmax(0, 1fr);
    min-height: 260px;
  }

  .audio-command-row {
    align-items: stretch;
  }

  .audio-command-row .audio-command {
    flex: 1 1 165px;
  }

  .audio-command-row .official-speed {
    flex: 1 1 100%;
    justify-content: center;
  }

  .exam-readiness-row {
    grid-template-columns: 1fr;
  }

  .exam-readiness-row .official-button {
    width: 100%;
  }

  .exam-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .exam-session-code {
    grid-column: 1 / -1;
    padding-top: .45rem;
    border-top: 1px solid var(--oral-line);
    text-align: left;
  }

  .unit-journey ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .interview-progress-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .interview-progress-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .interview-progress-header time {
    grid-column: 2;
    grid-row: 1;
  }

  .daniel-stage {
    min-height: 0;
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .daniel-portrait img {
    min-height: 310px;
  }

  .daniel-question-card {
    padding: 1rem .8rem 1rem .2rem;
  }

  .daniel-identity {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .daniel-identity > span {
    width: 34px;
    height: 34px;
  }

  .daniel-identity em {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .question-instruction {
    margin-top: .7rem;
  }

  .daniel-question-card h1 {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .daniel-audio-controls {
    display: grid;
    align-items: stretch;
  }

  .daniel-audio-controls .official-speed {
    justify-content: center;
  }

  .unit-visual-panel {
    min-height: 0;
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .unit-visual-copy {
    grid-template-columns: 1fr;
    align-content: center;
    gap: .45rem;
    padding: .8rem;
  }

  .unit-visual-copy > span {
    justify-self: start;
  }

  .unit-visual-copy h2 {
    font-size: 1.15rem;
  }

  .unit-visual-mark {
    display: none;
  }

  .recorder-device-row {
    display: grid;
  }

  .official-level {
    width: 100%;
    min-width: 0;
  }

  .official-exam-sidebar {
    grid-template-columns: 1fr;
  }

  .submission-unit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .receipt-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-review-header {
    grid-template-columns: 1fr;
  }

  .staff-header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .staff-header-actions label {
    min-width: 0;
  }

  .staff-student-banner {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .staff-student-banner > span {
    width: 46px;
    height: 46px;
  }

  .staff-student-banner > em {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .evidence-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rubric-analytics {
    grid-template-columns: 1fr;
  }

  .rubric-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teacher-feedback-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .official-hero {
    padding-top: 160px;
  }

  .admin-preview-toolbar > div:last-child .official-button {
    width: 100%;
  }

  .official-hero-media {
    height: 210px;
  }

  .official-hero-copy {
    padding-top: 1.5rem;
    padding-bottom: 1.55rem;
  }

  .official-hero h1 {
    overflow-wrap: anywhere;
    font-size: clamp(2.35rem, 11.2vw, 3.05rem);
  }

  .official-hero-copy > p:not(.official-kicker):not(.official-security-note) {
    font-size: .9rem;
    line-height: 1.52;
  }

  .official-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .official-meta span {
    justify-content: center;
    text-align: center;
  }

  .official-status-pill {
    font-size: .72rem;
  }

  .official-hero-actions .official-button,
  .official-button-row .official-button,
  .admin-control-actions .official-button,
  .receipt-actions .official-button {
    width: 100%;
  }

  .official-assurance-strip article {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .official-assurance-strip article > span {
    width: 38px;
    height: 38px;
  }

  .access-copy,
  .access-checklist,
  .official-preflight,
  .official-admin-panel,
  .submission-panel,
  .receipt-panel,
  .staff-review {
    padding: .85rem;
  }

  .section-heading-row,
  .unit-journey-heading,
  .rubric-form-heading {
    display: grid;
  }

  .preflight-badge,
  .unit-journey-heading > span {
    justify-self: start;
  }

  .daniel-introduction {
    grid-template-columns: 1fr;
  }

  .daniel-introduction figure {
    height: 230px;
  }

  .daniel-introduction figure img {
    object-position: center 15%;
  }

  .unit-journey ol {
    display: flex;
    gap: .4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .unit-journey li {
    min-width: 170px;
    flex: 0 0 170px;
    scroll-snap-align: start;
  }

  .daniel-stage {
    display: block;
  }

  .daniel-portrait {
    height: 190px;
  }

  .daniel-portrait::after {
    background: linear-gradient(0deg, #082f51 0%, transparent 60%);
  }

  .daniel-portrait img {
    min-height: 190px;
    object-position: center 16%;
  }

  .daniel-question-card {
    margin-top: -26px;
    padding: .6rem .8rem 1rem;
  }

  .daniel-question-card h1 {
    font-size: 1.35rem;
  }

  .unit-visual-panel {
    display: block;
  }

  .unit-visual-panel figure,
  .unit-visual-panel figure img {
    height: 180px;
    min-height: 180px;
  }

  .unit-visual-copy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .official-recorder {
    padding: .85rem;
  }

  .recorder-header {
    align-items: flex-start;
  }

  .recorder-device-row .microphone-picker {
    grid-template-columns: 1fr;
  }

  .official-mic-button {
    width: 104px;
    min-height: 104px;
  }

  .recorder-actions .official-button {
    flex: 1 1 120px;
  }

  .submission-unit-grid {
    grid-template-columns: 1fr;
  }

  .receipt-details {
    grid-template-columns: 1fr;
  }

  .staff-header-actions {
    grid-template-columns: 1fr;
  }

  .staff-header-actions .official-button {
    width: 100%;
  }

  .staff-student-banner p {
    display: grid;
  }

  .staff-student-banner p i {
    display: none;
  }

  .evidence-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .evidence-tabs button {
    min-width: 150px;
    flex: 0 0 150px;
    scroll-snap-align: start;
  }

  .staff-audio-player {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .staff-audio-player > button {
    width: 44px;
    height: 44px;
  }

  .staff-audio-player time {
    grid-column: 2;
  }

  .rubric-form-grid {
    grid-template-columns: 1fr;
  }

  .rubric-form-grid label {
    grid-template-columns: minmax(0, 1fr) 62px auto;
  }

  .floating-mic-dock {
    right: max(.5rem, env(safe-area-inset-right));
    bottom: max(.5rem, env(safe-area-inset-bottom));
    left: max(.5rem, env(safe-area-inset-left));
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .floating-timer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .official-oral-page *,
  .official-oral-page *::before,
  .official-oral-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .official-oral-page {
    display: none !important;
  }
}

/* Operational safeguards: connection, durable audio, administration and grading. */
.exam-system-strip {
  width: min(1480px, calc(100% - 2rem));
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}

.exam-system-strip > p {
  min-width: 0;
  margin: 0;
  padding: .75rem .9rem;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: .45rem;
  border: 1px solid rgba(14, 77, 119, .14);
  border-radius: 14px;
  color: #16374f;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 7px 22px rgba(14, 47, 75, .07);
}

.exam-system-strip > p i { color: #087d69; font-size: 1.05rem; }
.exam-system-strip > p strong { font-size: .82rem; white-space: nowrap; }
.exam-system-strip > p span { min-width: 0; overflow-wrap: anywhere; color: #577083; font-size: .75rem; }
.exam-system-strip[data-connection="offline"] > p:first-child { border-color: rgba(178, 54, 49, .35); background: #fff4f2; }
.exam-system-strip[data-connection="offline"] > p:first-child i,
.exam-system-strip[data-connection="offline"] > p:first-child strong { color: #a02f2b; }
.exam-system-strip[data-queue="pending"] > p:nth-child(2) { border-color: rgba(196, 126, 15, .4); background: #fff9e9; }
.exam-system-strip[data-queue="volatile"] > p:nth-child(2) { border-color: rgba(178, 54, 49, .45); background: #fff4f2; }
.exam-system-strip[data-queue="volatile"] > p:nth-child(2) i,
.exam-system-strip[data-queue="volatile"] > p:nth-child(2) strong { color: #a02f2b; }

.tab-lease-alert {
  position: sticky;
  z-index: 91;
  top: calc(var(--official-sticky-offset, 5.2rem) + env(safe-area-inset-top));
  width: min(1040px, calc(100% - 2rem));
  margin: .75rem auto;
  padding: .85rem 1rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  border: 2px solid #b65432;
  border-radius: 16px;
  color: #542014;
  background: #fff6f0;
  box-shadow: 0 16px 35px rgba(81, 35, 22, .18);
}

.tab-lease-alert[hidden] { display: none !important; }
.tab-lease-alert > i { font-size: 1.7rem; color: #b65432; }
.tab-lease-alert strong,
.tab-lease-alert span { display: block; }
.tab-lease-alert span { margin-top: .15rem; font-size: .82rem; line-height: 1.45; }

.admin-operations {
  margin-top: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(34, 78, 110, .14);
  border-radius: 18px;
  background: rgba(249, 252, 255, .92);
}

.admin-window-config {
  margin-top: .8rem;
  padding: .85rem;
  display: grid;
  grid-template-columns: minmax(150px, .85fr) repeat(4, minmax(130px, 1fr)) minmax(180px, 1.2fr) auto;
  align-items: end;
  gap: .6rem;
  border: 1px solid rgba(34, 78, 110, .14);
  border-radius: 15px;
  background: rgba(255, 255, 255, .7);
}
.admin-window-config h3 { margin: .1rem 0 0; color: #1d425c; font-size: 1rem; }
.admin-window-config small { color: #667e8e; font-weight: 800; }
.admin-window-config label { min-width: 0; display: grid; gap: .25rem; color: #405f73; font-size: .7rem; font-weight: 800; }
.admin-window-config input,
.admin-window-config select,
.admin-window-config textarea { width: 100%; min-height: 42px; padding: .55rem .62rem; border: 1px solid #c9d9e3; border-radius: 10px; color: #173d58; background: #fff; font: inherit; }
.admin-window-config textarea { min-height: 42px; resize: vertical; }

.admin-operations > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.admin-operations h3 { margin: .15rem 0 0; font-size: clamp(1.05rem, 2vw, 1.35rem); color: #183c57; }
.admin-operations-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.admin-health-grid { margin: 1rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.admin-health-grid > span {
  min-width: 0;
  padding: .72rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .15rem .5rem;
  border: 1px solid #d5e2ea;
  border-radius: 13px;
  background: #fff;
}
.admin-health-grid i { grid-row: 1 / 3; color: #1b7890; font-size: 1.25rem; }
.admin-health-grid strong { color: #1d4159; font-size: .78rem; }
.admin-health-grid small { overflow-wrap: anywhere; color: #61788a; font-size: .7rem; }
.admin-health-grid [data-state="ok"] { border-color: rgba(12, 130, 98, .35); background: #f0fbf7; }
.admin-health-grid [data-state="warning"] { border-color: rgba(187, 120, 8, .4); background: #fff9e9; }
.admin-health-grid [data-state="error"] { border-color: rgba(178, 54, 49, .4); background: #fff3f1; }

.admin-roster-wrap { max-width: 100%; overflow-x: auto; border: 1px solid #d7e3ea; border-radius: 14px; background: #fff; }
.admin-roster-table { width: 100%; min-width: 780px; border-collapse: collapse; color: #24465d; font-size: .78rem; }
.admin-roster-table caption { padding: .7rem .85rem; text-align: left; color: #657c8c; font-size: .72rem; }
.admin-roster-table th,
.admin-roster-table td { padding: .68rem .75rem; border-top: 1px solid #e4edf2; text-align: left; vertical-align: middle; }
.admin-roster-table th { color: #183d57; background: #f3f8fb; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }
.admin-roster-table td:first-child strong,
.admin-roster-table td:first-child small { display: block; }
.admin-roster-table td:first-child small { margin-top: .12rem; color: #718695; }
.admin-roster-status { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .48rem; border-radius: 999px; background: #edf4f8; font-weight: 800; white-space: nowrap; }
.admin-roster-status[data-state="submitted"],
.admin-roster-status[data-state="graded"] { color: #08745e; background: #e9f8f3; }
.admin-roster-status[data-state="complete_pending_submit"],
.admin-roster-status[data-state="sync_pending"] { color: #9a6106; background: #fff4d7; }
.admin-roster-status[data-state="error"] { color: #9e322c; background: #ffeceb; }
.admin-roster-actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.admin-roster-actions button { min-height: 34px; padding: .35rem .55rem; border: 1px solid #b9ccd8; border-radius: 9px; color: #214b65; background: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.admin-roster-actions button:disabled { opacity: .45; cursor: not-allowed; }
.admin-operation-status { margin: .75rem 0 0; color: #587083; font-size: .78rem; }

.response-security-pipeline,
.submission-workflow {
  margin: .8rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  list-style: none;
}
.response-security-pipeline li,
.submission-workflow li { min-width: 0; padding: .6rem; display: flex; align-items: center; gap: .42rem; border: 1px solid #d8e4eb; border-radius: 12px; color: #687d8c; background: #f7fafc; font-size: .73rem; font-weight: 750; }
.response-security-pipeline li.is-active,
.submission-workflow li.is-active { color: #8d5b08; border-color: #e3c16f; background: #fff8e8; }
.response-security-pipeline li.is-complete,
.submission-workflow li.is-complete { color: #08745e; border-color: #92d5c1; background: #eefaf6; }
.response-security-pipeline li.is-error,
.submission-workflow li.is-error { color: #9d312d; border-color: #e4aaa6; background: #fff2f1; }
.response-security-pipeline li i,
.submission-workflow li i { flex: 0 0 auto; }
.submission-workflow { margin: 1.1rem 0 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }

.grade-action-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: .55rem; }
.grade-action-row .official-button { width: 100%; }
.grade-history { margin-top: .7rem; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: .6rem; }
.grade-history summary { cursor: pointer; font-size: .75rem; font-weight: 800; }
.grade-history ol { margin: .55rem 0 0; padding-left: 1.2rem; font-size: .72rem; line-height: 1.5; }

.official-mic-button:disabled,
.floating-action:disabled { filter: grayscale(.55); opacity: .42; cursor: not-allowed; box-shadow: none; transform: none !important; }
.official-mic-button:disabled .mic-rings { display: none; }
.official-oral-page [inert] { user-select: none; }
.official-oral-page [inert] * { pointer-events: none !important; }
.official-busy-overlay:focus { outline: 3px solid rgba(255, 255, 255, .75); outline-offset: -8px; }

@media (max-width: 980px) {
  .exam-system-strip { grid-template-columns: 1fr; }
  .admin-health-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-operations > header { align-items: stretch; flex-direction: column; }
  .admin-operations-actions { justify-content: flex-start; }
  .admin-window-config { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-window-config > div,
  .admin-window-config .admin-eligible-field { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .exam-system-strip { width: min(100% - 1rem, 1480px); }
  .exam-system-strip > p { grid-template-columns: auto minmax(0, 1fr); }
  .exam-system-strip > p span { grid-column: 1 / -1; }
  .tab-lease-alert { width: calc(100% - 1rem); grid-template-columns: auto minmax(0, 1fr); }
  .tab-lease-alert .official-button { grid-column: 1 / -1; width: 100%; }
  .admin-health-grid,
  .response-security-pipeline,
  .submission-workflow,
  .grade-action-row { grid-template-columns: 1fr; }
  .admin-operations-actions .official-button { width: 100%; }
  .admin-window-config { grid-template-columns: 1fr; }
  .admin-window-config > div,
  .admin-window-config .admin-eligible-field { grid-column: auto; }
  .admin-window-config .official-button { width: 100%; }
}
