:root {
  color-scheme: dark;
  --bg: #0b1220;
  --panel: #131b2e;
  --text: #e6ecf7;
  --muted: #8aa0c8;
  --accent: #ffd166;
  --accent-2: #5ec8f2;
  --danger: #ff6b6b;
  --focus: #ffd166;
}

* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}

a {
  color: var(--accent-2);
}

.primary-nav {
  align-items: center;
  border-bottom: 1px solid #263550;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px max(24px, calc((100vw - 1120px) / 2));
}

.brand-link {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.nav-links a {
  text-decoration: none;
}
.nav-links a[aria-current="page"] {
  color: var(--accent);
}
.nav-links a:hover,
.nav-links a:focus-visible {
  text-decoration: underline;
}

.site-shell {
  margin: 0 auto;
  max-width: 1168px;
  padding: 48px 24px 80px;
}
.narrow-shell {
  max-width: 760px;
}
.site-shell h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.05;
  margin: 8px 0 18px;
}
.site-shell h2 {
  line-height: 1.2;
}
.site-shell p {
  line-height: 1.55;
}
.eyebrow {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-copy {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 720px;
}
.home-hero {
  margin-bottom: 36px;
}
.experience-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.experience-card,
.pathway-card,
.module-card,
.info-panel,
.quick-question {
  background: var(--panel);
  border: 1px solid #2a3a5c;
  border-radius: 16px;
}
.experience-card {
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 255px;
  padding: 22px;
  text-decoration: none;
}
.experience-card:hover,
.pathway-card:hover {
  border-color: var(--accent-2);
}
.experience-card h2 {
  font-size: 1.3rem;
  margin: 12px 0 0;
}
.experience-card p,
.pathway-card p,
.module-card p {
  color: var(--muted);
}
.experience-card .eyebrow,
.pathway-card .eyebrow,
.module-card .eyebrow {
  color: var(--accent);
}
.card-action {
  color: var(--accent-2);
  font-weight: 700;
  margin-top: auto;
}
.quick-question {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  padding: 28px;
}
.quick-question h2 {
  margin-top: 0;
}
.learning-form {
  display: grid;
  gap: 12px;
}
.learning-form label {
  font-weight: 700;
}
.learning-form button {
  justify-self: start;
}
.form-error {
  color: var(--danger);
}
.settings-link {
  margin-top: 32px;
}
.availability-note {
  background: #18253c;
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
}
.pathway-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.pathway-card {
  color: var(--text);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 24px;
  text-decoration: none;
}
.pathway-card h2 {
  margin: 8px 0;
}
.pathway-meta {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 150px;
}
.pathway-toolbar {
  align-items: center;
  display: flex;
  gap: 20px;
  margin: 28px 0;
}
.enrolled-label {
  color: var(--accent);
  font-weight: 700;
}
.curriculum-stage {
  margin-top: 48px;
}
.curriculum-stage > p {
  color: var(--muted);
}
.module-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.module-card {
  padding: 22px;
}
.module-card h3 {
  margin: 8px 0;
}
.lesson-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.lesson-list li {
  align-items: center;
  border-top: 1px solid #2a3a5c;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-top: 16px;
}
.module-status {
  font-style: italic;
}
.back-link {
  margin: 0 0 32px;
}
.info-panel {
  margin: 28px 0;
  padding: 20px 28px;
}
.info-panel li {
  margin: 8px 0;
}

button {
  font: inherit;
  color: inherit;
  background: var(--panel);
  border: 1px solid #2a3a5c;
  border-radius: 8px;
  cursor: pointer;
  padding: 10px 16px;
}

button:hover {
  border-color: var(--accent-2);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

button[data-variant="primary"] {
  background: var(--accent);
  color: #1a1200;
  border-color: var(--accent);
  font-weight: 600;
}

button:focus-visible,
a:focus-visible,
textarea:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

textarea,
input,
select {
  font: inherit;
  background: #0e1626;
  color: var(--text);
  border: 1px solid #2a3a5c;
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
}

@media (max-width: 900px) {
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .primary-nav {
    align-items: flex-start;
    flex-direction: column;
  }
  .nav-links {
    gap: 10px 16px;
  }
  .site-shell {
    padding-top: 32px;
  }
  .experience-grid,
  .quick-question,
  .module-grid {
    grid-template-columns: 1fr;
  }
  .pathway-card,
  .pathway-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .pathway-meta {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
/* Account forms share the workspace's dark/light tokens. */
.account-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
}
.account-heading h1,
.account-heading p {
  margin: 0;
}
.account-heading > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}
.account-panel {
  max-width: 760px;
  padding: 28px;
  margin: 24px 0;
  border: 1px solid #dbe4ec;
  border-radius: 20px;
  background: #fff;
}
html[data-theme="dark"] .account-panel {
  background: #142132;
  border-color: #2d3e54;
}
html[data-theme="dark"] .account-panel input {
  color: #e5edf5;
}
.account-panel form {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}
.account-panel label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}
.account-panel input {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border, #506176);
  border-radius: 8px;
  color: inherit;
  background: var(--input-bg, transparent);
  font: inherit;
}
.account-panel button {
  padding: 12px 18px;
  border: 1px solid var(--border, #506176);
  border-radius: 8px;
  cursor: pointer;
  color: inherit;
  background: transparent;
  font: inherit;
}
.account-panel button:hover,
.account-panel button[aria-pressed="true"] {
  border-color: #00badb;
}
.account-panel button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.account-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.account-panel li {
  margin: 16px 0;
  overflow-wrap: anywhere;
}
.account-panel li button {
  margin: 8px;
}
.account-error {
  border-left: 3px solid #e25b86;
  padding: 12px;
}

/* Creative Horizons workspace. Player-specific dark theme stays in globals.css. */
body:has(.app-sidebar) {
  background: #f5f7fa;
}
.skip-link {
  position: fixed;
  left: 270px;
  top: -70px;
  z-index: 100;
  padding: 12px 20px;
  background: white;
  color: #162231;
}
.skip-link:focus {
  top: 8px;
}
.skip-link:not(:focus) {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
}
.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  padding: 26px 18px 18px;
  background: #080e16;
  color: #b0bccb;
  border-right: 1px solid #1b2735;
  overflow-y: auto;
}
.app-brand {
  display: block;
  padding: 0 3px 16px;
}
.app-brand img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}
.product-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 12px 24px;
  border-bottom: 1px solid #1e2835;
  color: #e9f4f8;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.product-identity > svg {
  color: #11b5d0;
}
.product-identity small {
  display: block;
  font-size: 9px;
  color: #718399;
  letter-spacing: 1.8px;
  margin-top: 5px;
  font-weight: 600;
}
.sidebar-label {
  padding: 20px 13px 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #6c7e94;
}
.sidebar-links {
  display: grid;
  gap: 7px;
}
.sidebar-links a {
  display: flex;
  gap: 13px;
  align-items: center;
  color: #9caabd;
  padding: 13px 14px;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  transition:
    background 0.15s,
    color 0.15s;
}
.sidebar-links a:hover {
  background: #131e2a;
  color: white;
}
.sidebar-links a[aria-current="page"] {
  color: #64e3ed;
  background: #102734;
  border-color: #173d4b;
}
.sidebar-links svg {
  flex-shrink: 0;
}
.nav-active-dot {
  margin-left: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
[aria-current="page"] .nav-active-dot {
  background: #1dc6da;
  box-shadow: 0 0 10px #1dc6da80;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.sidebar-message {
  position: relative;
  padding: 17px 14px;
  background: #0e1824;
  border-radius: 8px;
  overflow: hidden;
}
.sidebar-message-line {
  display: block;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #e0007a, #00b6d4);
}
.sidebar-message p {
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 0;
  color: #889aaf;
}
.sidebar-message strong {
  color: #c3d2e1;
  font-weight: 500;
}
.sidebar-message > svg {
  position: absolute;
  right: 18px;
  bottom: 20px;
  color: #24516a;
  transform: rotate(35deg);
}
.sidebar-settings {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 22px 12px;
  text-decoration: none;
  color: #91a1b5;
  font-size: 12px;
}
.sidebar-settings:hover {
  color: #d3e7f4;
}
.workspace-profile {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px 10px 0;
  border-top: 1px solid #1d2836;
  font-size: 12px;
  color: #d1dbe8;
}
.workspace-profile small {
  display: block;
  color: #718299;
  font-size: 10px;
  margin-top: 5px;
}
.profile-icon {
  background: #152b3a;
  color: #68b8d0;
  border: 1px solid #264453;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
}
.workspace-topbar {
  height: 70px;
  margin-left: 238px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e6eaf0;
  background: #fff;
  color: #8590a1;
  font-size: 12px;
}
.workspace-topbar strong {
  color: #344052;
  font-weight: 550;
}
.breadcrumb-slash {
  margin: 0 16px;
  color: #c3cbd4;
}
.preview-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  border: 1px solid #e2e9ef;
  padding: 7px 10px;
  border-radius: 20px;
  color: #6b7c8f;
}
.preview-pill > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #02a8b8;
}
.site-shell {
  --text: #172538;
  --muted: #728096;
  --panel: #fff;
  --accent: #087e96;
  --accent-2: #087e96;
  --focus: #008eac;
  margin: 0 0 0 238px;
  max-width: none;
  min-height: calc(100vh - 70px);
  padding: 38px 40px 24px;
  background: #f5f7fa;
  color: var(--text);
}
.site-shell h1 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -1.3px;
  margin: 7px 0 10px;
}
.site-shell h2,
.site-shell h3 {
  letter-spacing: -0.6px;
}
.site-shell .eyebrow {
  color: #7b889b;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.65px;
  margin: 0 0 10px;
}
.site-shell .hero-copy {
  font-size: 15px;
  line-height: 1.7;
  max-width: 650px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.page-heading p:not(.eyebrow) {
  font-size: 13px;
  margin: 0;
  color: #7b8798;
}
.heading-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 11px;
  color: #547086;
  background: #fff;
  border: 1px solid #e0e7ee;
  padding: 9px 12px;
  border-radius: 6px;
}
.dashboard-hero {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 13px;
  background: radial-gradient(ellipse at 80% 50%, #174455, #0f2639 45%, #112238 80%);
  color: white;
  isolation: isolate;
}
.dashboard-hero::after {
  position: absolute;
  content: "";
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, #e4007c, #355471 45%, #03b5cf);
}
.hero-content {
  position: relative;
  width: 60%;
  padding: 32px 34px 25px;
  z-index: 2;
}
.hero-kicker {
  font-size: 8px;
  letter-spacing: 1.7px;
  font-weight: 650;
  color: #93c2d0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-kicker > span {
  background: #26c8d9;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.hero-content h2 {
  font-size: clamp(25px, 2.6vw, 38px);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -1.1px;
  margin: 19px 0 14px;
}
.hero-content p {
  color: #a7bacd;
  font-size: 13px;
  max-width: 370px;
  line-height: 1.8;
  margin: 0 0 24px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 17px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
}
.cyan-button {
  background: #09b7ce;
  color: #062337;
  border: 1px solid #23c2d8;
}
.cyan-button:hover {
  background: #4cd3e1;
}
.hero-secondary {
  display: flex;
  gap: 10px;
  color: #ccdee8;
  font-size: 11px;
  text-decoration: none;
}
.hero-secondary:hover {
  color: white;
}
.hero-footer {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #7a99b0;
  margin-top: 30px;
}
.hero-footer i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #486580;
}
.aviation-scene {
  position: absolute;
  width: 57%;
  height: 100%;
  right: -1%;
  top: 0;
  color: #8ebacc;
  z-index: 0;
}
.hero-art-label {
  position: absolute;
  right: 30px;
  bottom: 25px;
  text-align: right;
}
.hero-art-label span {
  display: block;
  color: #72acc1;
  font-size: 8px;
  letter-spacing: 1.7px;
  margin-bottom: 5px;
}
.hero-art-label strong {
  font-size: 11px;
  font-weight: 500;
  color: #b6c8d6;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  margin-top: 30px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 0 16px;
  gap: 12px;
}
.section-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 6px;
}
.section-heading h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
}
.section-heading > span {
  font-size: 10px;
  color: #92a0b0;
  padding-bottom: 3px;
}
.learning-workspaces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.workspace-card {
  position: relative;
  padding: 23px;
  min-height: 266px;
  border-radius: 10px;
  border: 1px solid #e0e7ee;
  background: white;
  text-decoration: none;
  color: #1d2d41;
  overflow: hidden;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    border-color 0.18s;
}
.workspace-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px #1932480c;
  border-color: #a9d8e0;
}
.workspace-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: #edf8fa;
  color: #1295ab;
}
.live-card .workspace-icon {
  color: #ae3675;
  background: #fcf0f7;
}
.card-overline {
  display: block;
  font-size: 8px;
  letter-spacing: 1.4px;
  margin-top: 17px;
  color: #8a99aa;
  font-weight: 650;
}
.workspace-card h3 {
  font-size: 23px;
  font-weight: 650;
  margin: 8px 0;
}
.workspace-card > p {
  max-width: 280px;
  font-size: 13px;
  line-height: 1.7;
  color: #7c899b;
  margin: 0;
}
.workspace-card-action {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 650;
  color: #137b91;
  margin-top: 42px;
}
.live-card .workspace-card-action {
  color: #a13b73;
}
.mini-route {
  position: absolute;
  display: flex;
  align-items: center;
  right: 23px;
  top: 25px;
  opacity: 0.65;
}
.mini-route span {
  border: 1px solid #63c6d5;
  height: 7px;
  width: 7px;
  border-radius: 50%;
}
.mini-route span:first-child {
  background: #19b1c9;
}
.mini-route i {
  width: 17px;
  border-top: 1px dashed #a8d3dc;
}
.mini-wave {
  position: absolute;
  right: 25px;
  top: 28px;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 42px;
  opacity: 0.42;
}
.mini-wave i {
  display: block;
  background: linear-gradient(#cf80ab, #e4c4d8);
  width: 3px;
  border-radius: 3px;
  max-height: 40px;
}
.preparation-heading {
  margin-top: 25px;
}
.preparation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.preparation-card {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 19px 17px;
  background: #fff;
  color: #25364b;
  text-decoration: none;
  border: 1px solid #e1e7ef;
  border-radius: 9px;
}
.preparation-card:hover {
  border-color: #99c2d0;
}
.preparation-card > svg {
  margin-left: auto;
  flex-shrink: 0;
  color: #8e9cae;
}
.preparation-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #f0f5fa;
  color: #5c82a2;
}
.rose-icon {
  color: #a66483;
  background: #fbf2f6;
}
.preparation-card h3 {
  font-size: 13px;
  margin: 0;
  font-weight: 650;
}
.preparation-card p {
  font-size: 10px;
  color: #7c889a;
  margin: 4px 0 7px;
}
.coming-label {
  font-size: 7px;
  letter-spacing: 1px;
  color: #98a2b0;
  font-weight: 700;
}
.flight-plan-panel {
  background: #eef2f6;
  border: 1px solid #e1e7ee;
  border-radius: 11px;
  padding: 23px;
  align-self: stretch;
}
.flight-plan-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.flight-plan-title .workspace-icon {
  width: 34px;
  height: 34px;
  background: #e1ebf0;
  color: #4a8596;
}
.panel-label {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #8293a4;
  font-weight: 700;
}
.flight-plan-panel h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  margin: 20px 0 12px;
}
.flight-plan-panel > p {
  font-size: 11px;
  color: #7a899b;
  line-height: 1.8;
}
.flight-plan-stages {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.flight-plan-stages li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 24px;
}
.flight-plan-stages li:last-child {
  padding-bottom: 0;
}
.flight-plan-stages li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 4px;
  border-left: 1px dashed #bfccd6;
}
.flight-plan-stages li > span {
  height: 27px;
  width: 27px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 9px;
  color: #668697;
  background: #fff;
  border: 1px solid #d5e1e8;
  border-radius: 50%;
}
.flight-plan-stages strong {
  display: block;
  font-size: 11px;
  font-weight: 650;
  margin-top: 5px;
}
.flight-plan-stages p {
  font-size: 10px;
  color: #8894a4;
  margin: 4px 0 0;
  line-height: 1.5;
}
.panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  color: #32768b;
  padding-bottom: 22px;
}
.panel-note {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #dce4ec;
  padding-top: 18px;
  font-size: 10px;
  line-height: 1.7;
  color: #8a99aa;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #e3e8ee;
  color: #9aa5b4;
  font-size: 9px;
}
.workspace-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
  font-size: 8px;
}
.workspace-footer i {
  display: inline-block;
  height: 3px;
  width: 3px;
  background: #b7c4cf;
  border-radius: 50%;
}
.narrow-shell {
  max-width: none;
}
.site-shell .availability-note {
  background: #eaf3f7;
  border-left: 3px solid #00a4bb;
  color: #5c7587;
  font-size: 12px;
  border-radius: 3px;
  padding: 13px 17px;
}
.site-shell .info-panel,
.site-shell .module-card {
  background: white;
  border-color: #e1e7ef;
}
.site-shell .pathway-card {
  background: white;
  border-color: #dfe6ee;
}
.site-shell .pathway-card p,
.site-shell .module-card p {
  color: #7c899a;
  font-size: 13px;
}
.site-shell .pathway-card .eyebrow,
.site-shell .module-card .eyebrow {
  color: #6b92a5;
}
.site-shell .pathway-card h2 {
  font-size: 23px;
}
.site-shell .pathway-meta {
  font-size: 11px;
}
.site-shell .curriculum-stage > .eyebrow {
  color: #7a98a9;
}
.site-shell .form-error {
  color: #a12651;
}
.site-shell button {
  background: #fff;
  color: #286077;
  border-color: #cbdce4;
  border-radius: 6px;
  font-size: 12px;
}
.site-shell button[data-variant="primary"] {
  background: #0baac2;
  color: #fff;
  border-color: #0baac2;
  padding: 12px 20px;
}
.site-shell input,
.site-shell textarea,
.site-shell select {
  background: #f8fafc;
  color: #28384d;
  border-color: #dce4ed;
  font-size: 13px;
  border-radius: 7px;
}
.site-shell textarea {
  padding: 16px;
}
.site-shell .learning-form {
  gap: 16px;
}
.site-shell .learning-form label {
  font-size: 12px;
  color: #5d7288;
  font-weight: 550;
}
.studio-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  margin-top: 28px;
}
.studio-panel {
  background: white;
  border: 1px solid #e0e7ee;
  border-radius: 12px;
  padding: 28px;
}
.studio-panel h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 16px 0 8px;
}
.studio-panel > p {
  font-size: 13px;
  color: #7d8ca0;
  margin-bottom: 26px;
}
.studio-aside {
  padding: 24px;
  border-radius: 12px;
  background: #11283a;
  color: white;
}
.studio-aside h2 {
  font-size: 22px;
  font-weight: 550;
  margin-top: 22px;
}
.studio-aside > p {
  color: #9bb2c3;
  font-size: 12px;
  line-height: 1.8;
}
.studio-topic {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #294051;
  padding: 18px 0;
  font-size: 12px;
  color: #adc2d0;
}
.studio-topic svg {
  color: #40c6d8;
}
.section-banner {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  background: #122c40;
  border-radius: 12px;
  padding: 28px;
  color: white;
  margin: 25px 0;
}
.section-banner h2 {
  font-size: 28px;
  max-width: 480px;
  margin: 12px 0;
  font-weight: 550;
}
.section-banner p {
  color: #a1b8c8;
  font-size: 12px;
  max-width: 400px;
}
.section-banner .aviation-scene {
  width: 40%;
  right: 0;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 25px;
}
.catalog-card {
  background: white;
  border: 1px solid #e0e7ed;
  border-radius: 11px;
  text-decoration: none;
  color: #23344a;
  overflow: hidden;
  transition: transform 0.18s;
}
a.catalog-card:hover {
  transform: translateY(-3px);
  border-color: #9bc6d3;
}
.catalog-cover {
  height: 135px;
  background: linear-gradient(130deg, #11263d, #1b4b60);
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  color: #76c8d9;
  overflow: hidden;
}
.catalog-cover::before,
.catalog-cover::after {
  content: "";
  position: absolute;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  border: 1px solid #85bfd325;
}
.catalog-cover::after {
  width: 95px;
  height: 95px;
}
.catalog-cover svg {
  width: 47px;
  height: 47px;
  z-index: 1;
  transform: rotate(30deg);
  stroke-width: 1;
}
.catalog-cover > span {
  position: absolute;
  bottom: 13px;
  left: 20px;
  font-size: 8px;
  color: #9ebbc9;
  letter-spacing: 1.6px;
}
.catalog-cover-1 {
  background: linear-gradient(130deg, #172c46, #384b76);
  color: #a3b8df;
}
.catalog-cover-2 {
  background: linear-gradient(130deg, #13343c, #396868);
  color: #99d0c5;
}
.catalog-cover-3 {
  background: linear-gradient(130deg, #32283c, #714a68);
  color: #dbabcb;
}
.catalog-cover-4 {
  background: linear-gradient(130deg, #20334b, #476177);
  color: #a5bfcf;
}
.catalog-body {
  padding: 21px;
}
.catalog-body h2 {
  font-size: 20px;
  font-weight: 650;
  margin: 8px 0;
}
.catalog-body p {
  font-size: 12px;
  color: #8a96a6;
  min-height: 55px;
}
.catalog-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 17px;
  border-top: 1px solid #edf0f4;
  font-size: 10px;
  color: #6f899c;
}
.catalog-status {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 8px;
  letter-spacing: 1px;
  color: #7894a4;
  font-weight: 650;
}
.catalog-status::before {
  content: "";
  width: 4px;
  height: 4px;
  background: #09aabd;
  border-radius: 50%;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 25px;
}
.review-card {
  padding: 25px;
  border-radius: 11px;
  background: white;
  border: 1px solid #e1e7ee;
}
.review-card h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 17px 0 10px;
}
.review-card p {
  font-size: 13px;
  color: #8492a4;
}
.readiness-panel {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 35px;
  background: #eef3f7;
  border: 1px solid #dfe8f0;
  border-radius: 12px;
  padding: 30px;
  margin-top: 25px;
}
.readiness-ring {
  width: 155px;
  height: 155px;
  border: 10px solid #dbe6ed;
  outline: 1px dashed #c5d8e3;
  outline-offset: 7px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.readiness-ring strong {
  font-size: 20px;
  font-weight: 550;
  color: #4d7085;
}
.readiness-ring span {
  font-size: 9px;
  margin-top: 7px;
  color: #96a9b8;
}
.readiness-panel h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
}
.readiness-panel p {
  font-size: 13px;
  max-width: 550px;
  color: #7b8e9f;
}
@media (min-width: 1750px) {
  .site-shell {
    padding-left: max(50px, calc((100vw - 1600px) / 2));
    padding-right: max(50px, calc((100vw - 1600px) / 2));
  }
}
@media (max-width: 1250px) {
  .site-shell {
    padding: 30px 26px;
  }
  .workspace-topbar {
    padding: 0 26px;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 18px;
  }
  .section-heading > span {
    display: none;
  }
  .workspace-card {
    padding: 20px;
  }
  .preparation-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    width: 65%;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1050px) {
  .app-sidebar {
    width: 204px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .workspace-topbar,
  .site-shell {
    margin-left: 204px;
  }
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .flight-plan-panel {
    display: none;
  }
  .hero-art-label {
    display: none;
  }
  .preparation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .studio-columns {
    grid-template-columns: 1fr;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .app-sidebar {
    position: relative;
    width: 100%;
    padding: 12px 18px;
    overflow: visible;
  }
  .app-brand {
    padding: 0;
    width: 140px;
  }
  .app-brand img {
    height: 87px;
    width: 140px;
    object-fit: contain;
  }
  .product-identity {
    position: absolute;
    right: 22px;
    top: 39px;
    border: 0;
    padding: 0;
    font-size: 16px;
  }
  .product-identity small {
    font-size: 8px;
  }
  .sidebar-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    overflow: visible;
    margin-top: 10px;
    padding: 0 0 3px;
  }
  .sidebar-links a {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 10px 2px;
    min-height: 62px;
    font-size: 9px;
    gap: 5px;
  }
  .sidebar-links svg {
    width: 16px;
    height: 16px;
  }
  .nav-active-dot {
    display: none;
  }
  .workspace-topbar {
    margin-left: 0;
    height: 51px;
    padding: 0 20px;
    font-size: 10px;
  }
  .preview-pill {
    font-size: 8px;
    padding: 5px 8px;
  }
  .breadcrumb-slash {
    margin: 0 10px;
  }
  .site-shell {
    margin-left: 0;
    padding: 26px 20px;
    min-height: calc(100vh - 209px);
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-tag {
    display: none;
  }
  .site-shell h1 {
    font-size: 32px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 12px;
    max-width: 310px;
  }
  .hero-content {
    width: 100%;
    padding: 27px;
  }
  .hero-content h2 {
    font-size: 30px;
  }
  .hero-content p {
    max-width: 300px;
  }
  .dashboard-hero > .aviation-scene {
    width: 75%;
    opacity: 0.16;
    right: -20%;
  }
  .hero-actions {
    gap: 15px;
  }
  .hero-footer {
    font-size: 7px;
  }
  .learning-workspaces,
  .preparation-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .workspace-card {
    min-height: 242px;
  }
  .workspace-card-action {
    margin-top: 30px;
  }
  .dashboard-columns {
    margin-top: 27px;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .workspace-footer {
    flex-direction: column;
    gap: 12px;
  }
  .studio-panel {
    padding: 23px;
  }
  .readiness-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 25px;
  }
  .readiness-ring {
    width: 125px;
    height: 125px;
  }
  .section-banner {
    padding: 24px;
  }
  .section-banner h2 {
    font-size: 24px;
  }
  .section-banner .aviation-scene {
    opacity: 0.15;
    width: 80%;
    right: -20%;
  }
  .skip-link {
    left: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-card,
  .catalog-card {
    transition: none;
  }
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.appearance-control {
  display: inline-flex;
  border: 1px solid #dbe4ec;
  border-radius: 7px;
  padding: 3px;
  background: #f3f6f9;
  gap: 2px;
}
.appearance-control button {
  border: 0;
  padding: 6px 9px;
  background: transparent;
  border-radius: 4px;
  font-size: 10px;
  color: #687b90;
}
.appearance-control button[aria-pressed="true"] {
  background: #fff;
  color: #087d96;
  box-shadow: 0 1px 4px #15253818;
}
.pathway-photo,
.hero-photo {
  object-fit: cover;
}
.pathway-photo {
  object-position: center 40%;
}
.catalog-card:first-child .pathway-photo,
.hero-photo {
  object-position: 65% 25%;
}
.catalog-cover::before {
  display: none;
}
.catalog-cover::after {
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(transparent 35%, #091622bf);
  z-index: 1;
}
.catalog-cover > span {
  z-index: 2;
  color: #e2eff6;
}
.hero-photo {
  z-index: -2;
}
.dashboard-hero::before,
.section-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0a1b2af5 5%, #0b2137e8 39%, #0b213765 68%, #0b21372b);
}
.section-banner {
  isolation: isolate;
}
.section-banner > p,
.section-banner > h2,
.hero-art-label {
  position: relative;
  z-index: 1;
}
.hero-art-label {
  position: absolute;
}
.readiness-panel {
  grid-template-columns: minmax(165px, 190px) minmax(0, 1fr);
  gap: 34px;
}
.readiness-ring {
  flex-shrink: 0;
  margin: 10px auto;
  width: 155px;
  height: 155px;
  padding: 20px;
  text-align: center;
  line-height: 1.2;
  box-sizing: border-box;
}
.readiness-ring strong {
  font-size: 19px;
  line-height: 1.25;
  max-width: 90px;
}
.readiness-ring span {
  font-size: 8px;
  letter-spacing: 1px;
}
.question-composer {
  margin: 26px 0 24px;
  padding: 23px 26px;
  background: #fff;
  border: 1px solid #e0e7ee;
  border-radius: 11px;
}
.question-composer label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 11px;
  color: #607a90;
}
.question-composer textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
}
.learning-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.learning-section {
  background: #fff;
  border: 1px solid #e0e7ee;
  border-radius: 12px;
  padding: 27px;
  min-width: 0;
}
.learning-section h2 {
  font-size: 23px;
  font-weight: 600;
  margin: 15px 0 7px;
}
.learning-section > p {
  font-size: 13px;
  color: #8192a4;
  line-height: 1.7;
  margin-bottom: 20px;
}
.learning-section .learning-mode-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: #7499ac;
  margin: 17px 0 0;
}
.learning-section button {
  margin-top: 12px;
}
.text-answer {
  border-top: 1px solid #e0e7ed;
  margin-top: 24px;
  padding-top: 19px;
}
.text-answer h3 {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.text-answer p {
  font-size: 13px;
  color: #677d92;
  line-height: 1.8;
}
.answer-source {
  display: block;
  color: #087f99;
  font-size: 11px;
  margin-top: 16px;
}
.video-preview {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: #0e2435;
  margin: 20px 0;
}
.video-preview img {
  object-fit: cover;
  opacity: 0.72;
}
.video-preview > span {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 34px;
}
.video-preview > small {
  position: absolute;
  left: 15px;
  bottom: 12px;
  color: white;
  font-size: 10px;
  z-index: 1;
}
.video-profile label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  color: #7b8c9f;
}
.learning-section .form-error {
  font-size: 12px;
}
.learning-note {
  font-size: 11px;
  color: #8192a5;
  margin-top: 24px;
  line-height: 1.8;
}
html[data-theme="dark"] {
  color-scheme: dark;
}
html[data-theme="light"] {
  color-scheme: light;
}
html[data-theme="dark"] body:has(.app-sidebar) {
  background: #0c1420;
}
html[data-theme="dark"] .site-shell {
  --text: #e5edf5;
  --muted: #9cafc3;
  --panel: #142132;
  --accent: #30bfd1;
  --accent-2: #56c4dc;
  --focus: #55c7dc;
  background: #0c1420;
  color: #e5edf5;
}
html[data-theme="dark"] .workspace-topbar {
  background: #101a28;
  border-color: #253243;
  color: #96a7ba;
}
html[data-theme="dark"] .workspace-topbar strong {
  color: #d1dfea;
}
html[data-theme="dark"] .breadcrumb-slash {
  color: #4b6178;
}
html[data-theme="dark"] .preview-pill {
  border-color: #2b3d50;
  color: #a0b5c9;
}
html[data-theme="dark"] .appearance-control {
  background: #0b1521;
  border-color: #283c4f;
}
html[data-theme="dark"] .appearance-control button {
  color: #8fa4ba;
}
html[data-theme="dark"] .appearance-control button[aria-pressed="true"] {
  background: #203648;
  color: #72d9e8;
}
html[data-theme="dark"] .site-shell .eyebrow,
html[data-theme="dark"] .page-heading p:not(.eyebrow) {
  color: #91a5bb;
}
html[data-theme="dark"] .heading-tag {
  background: #162536;
  border-color: #2a3e51;
  color: #afc7d9;
}
html[data-theme="dark"] .workspace-card,
html[data-theme="dark"] .preparation-card,
html[data-theme="dark"] .catalog-card,
html[data-theme="dark"] .review-card,
html[data-theme="dark"] .studio-panel,
html[data-theme="dark"] .question-composer,
html[data-theme="dark"] .learning-section,
html[data-theme="dark"] .site-shell .module-card,
html[data-theme="dark"] .site-shell .info-panel,
html[data-theme="dark"] .site-shell .pathway-card {
  background: #142132;
  color: #e3edf5;
  border-color: #27394c;
}
html[data-theme="dark"] .workspace-card:hover,
html[data-theme="dark"] a.catalog-card:hover {
  border-color: #438494;
  box-shadow: 0 12px 28px #0003;
}
html[data-theme="dark"] .workspace-card > p,
html[data-theme="dark"] .preparation-card p,
html[data-theme="dark"] .catalog-body p,
html[data-theme="dark"] .review-card p,
html[data-theme="dark"] .studio-panel > p,
html[data-theme="dark"] .learning-section > p,
html[data-theme="dark"] .site-shell .module-card p {
  color: #9eb0c3;
}
html[data-theme="dark"] .card-overline,
html[data-theme="dark"] .panel-label,
html[data-theme="dark"] .section-heading > span,
html[data-theme="dark"] .coming-label,
html[data-theme="dark"] .learning-note {
  color: #8ea5ba;
}
html[data-theme="dark"] .workspace-icon {
  background: #12394a;
  color: #6bd6e7;
}
html[data-theme="dark"] .live-card .workspace-icon {
  background: #3b2440;
  color: #e998c6;
}
html[data-theme="dark"] .workspace-card-action,
html[data-theme="dark"] .panel-link,
html[data-theme="dark"] .answer-source {
  color: #69cde1;
}
html[data-theme="dark"] .live-card .workspace-card-action {
  color: #ed9ac8;
}
html[data-theme="dark"] .preparation-icon {
  background: #22334b;
  color: #a1bbd4;
}
html[data-theme="dark"] .rose-icon {
  background: #39263b;
  color: #d8a0bc;
}
html[data-theme="dark"] .flight-plan-panel,
html[data-theme="dark"] .readiness-panel {
  background: #102032;
  border-color: #273a4e;
}
html[data-theme="dark"] .flight-plan-title .workspace-icon {
  background: #183347;
  color: #88c4d7;
}
html[data-theme="dark"] .flight-plan-panel > p,
html[data-theme="dark"] .flight-plan-stages p,
html[data-theme="dark"] .panel-note,
html[data-theme="dark"] .readiness-panel p {
  color: #9db0c3;
}
html[data-theme="dark"] .flight-plan-stages li > span {
  background: #1a3045;
  color: #9bbfd3;
  border-color: #36556c;
}
html[data-theme="dark"] .flight-plan-stages li:not(:last-child)::after {
  border-color: #365069;
}
html[data-theme="dark"] .panel-note,
html[data-theme="dark"] .catalog-meta,
html[data-theme="dark"] .text-answer,
html[data-theme="dark"] .workspace-footer {
  border-color: #2a3b4e;
}
html[data-theme="dark"] .catalog-meta,
html[data-theme="dark"] .catalog-status,
html[data-theme="dark"] .workspace-footer {
  color: #a2b5c8;
}
html[data-theme="dark"] .site-shell .availability-note {
  background: #123043;
  color: #a5c5d6;
}
html[data-theme="dark"] .site-shell button {
  background: #183348;
  color: #c3e4f0;
  border-color: #315870;
}
html[data-theme="dark"] .site-shell button[data-variant="primary"] {
  background: #0dafc4;
  color: #031c29;
  border-color: #19b8ce;
}
html[data-theme="dark"] .site-shell textarea,
html[data-theme="dark"] .site-shell input,
html[data-theme="dark"] .site-shell select {
  background: #0e1b2a;
  border-color: #2b4258;
  color: #dce8f2;
}
html[data-theme="dark"] .question-composer label,
html[data-theme="dark"] .site-shell .learning-form label,
html[data-theme="dark"] .video-profile label {
  color: #a9c1d6;
}
html[data-theme="dark"] .text-answer p {
  color: #b0c5d7;
}
html[data-theme="dark"] .site-shell .form-error {
  color: #ffa0be;
}
html[data-theme="dark"] .readiness-ring {
  border-color: #233e53;
  outline-color: #3d5d74;
}
html[data-theme="dark"] .readiness-ring strong {
  color: #c6dcea;
}
html[data-theme="dark"] .readiness-ring span {
  color: #93b0c7;
}
@media (max-width: 1050px) {
  .learning-split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .topbar-actions {
    gap: 6px;
  }
  .topbar-actions .preview-pill {
    display: none;
  }
  .appearance-control button {
    padding: 5px 7px;
    font-size: 9px;
  }
  .readiness-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .readiness-ring {
    width: 150px;
    height: 150px;
  }
  .dashboard-hero::before,
  .section-banner::before {
    background: linear-gradient(90deg, #0a1b2aed, #0c2231cf);
  }
  .question-composer,
  .learning-section {
    padding: 22px;
  }
}

.progress-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 25px 0;
}
.progress-summary > div {
  background: var(--panel);
  border: 1px solid #dbe5ef;
  border-radius: 10px;
  padding: 23px;
}
.progress-summary span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.progress-summary strong {
  display: block;
  font-size: 30px;
  margin-top: 8px;
}
.progress-section {
  margin-top: 24px;
}
.knowledge-review-browse {
  display: grid;
  gap: 8px;
  max-width: 32rem;
  margin: 14px 0;
}
.knowledge-review-browse select {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}
.knowledge-review-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.progress-list,
.mastery-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.progress-list li,
.mastery-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid #dbe5ef;
}
.progress-list strong,
.mastery-list strong {
  display: block;
  font-size: 13px;
  line-height: 1.5;
}
.progress-list small,
.mastery-list small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.6;
}
.progress-list a,
.progress-list li > span {
  flex-shrink: 0;
  font-size: 11px;
  color: #087f99;
}
.mastery-list li > div {
  flex: 1;
}
.mastery-list progress {
  width: 30%;
  height: 7px;
  accent-color: #0cafc4;
}
.mastery-list li > span {
  min-width: 55px;
  font-size: 12px;
  text-align: right;
}
html[data-theme="dark"] .progress-summary > div,
html[data-theme="dark"] .progress-list li,
html[data-theme="dark"] .mastery-list li {
  border-color: #27394c;
}
html[data-theme="dark"] .progress-list a,
html[data-theme="dark"] .progress-list li > span {
  color: #69cde1;
}
@media (max-width: 760px) {
  .sidebar-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .progress-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .progress-summary > div {
    padding: 17px;
  }
  .progress-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .mastery-list li {
    flex-wrap: wrap;
  }
  .mastery-list li > div {
    flex-basis: 100%;
  }
  .mastery-list progress {
    flex: 1;
  }
}

.content-workspace > header {
  margin-bottom: 28px;
}
.content-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin: 22px 0;
  min-width: 0;
}
.content-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px;
}
.content-panel label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 18px 0 7px;
}
.content-panel input,
.content-panel select,
.content-panel textarea {
  box-sizing: border-box;
  width: 100%;
  display: block;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  color: var(--text);
  background: var(--bg);
  font: inherit;
}
.content-panel textarea {
  resize: vertical;
}
.content-panel button {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 15px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.content-panel button:disabled {
  opacity: 0.55;
  cursor: default;
}
.content-queue {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.content-queue button {
  text-align: left;
  display: grid;
  gap: 8px;
}
.content-queue span {
  font-size: 13px;
}
.content-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.content-panel .content-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.5;
}
.content-check input {
  width: 18px;
  height: 18px;
  flex: none;
  margin: 3px 0;
}
.content-hash,
.content-panel blockquote {
  overflow-wrap: anywhere;
}
.content-panel blockquote {
  margin: 18px 0;
  padding: 16px;
  border-left: 3px solid #50d7eb;
  white-space: pre-wrap;
  line-height: 1.6;
}
.content-claim {
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 8px;
  margin: 12px 0;
}
.content-alert {
  border-left: 3px solid #ef628e;
  padding: 14px;
}
.content-panel details {
  margin-top: 30px;
}
.content-panel summary {
  cursor: pointer;
  font-weight: 700;
}
@media (max-width: 900px) {
  .content-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .content-panel {
    padding: 18px;
  }
  .content-queue {
    grid-template-columns: 1fr;
  }
}
.content-workspace {
  --surface: #fff;
  --border: #d8e2ec;
  --text: #172b43;
  --bg: #f5f8fb;
  color: var(--text);
}
html[data-theme="dark"] .content-workspace {
  --surface: #101e2e;
  --border: #30445d;
  --text: #e5edf5;
  --bg: #0a1624;
}
.content-workspace h1,
.content-workspace h2,
.content-workspace h3 {
  color: var(--text);
}

.studio-workspace {
  --surface: #fff;
  --border: #d8e2ec;
  --bg: #f5f8fb;
  --text: #172b43;
  --muted: #60748a;
  padding-block: 36px 60px;
}
html[data-theme="dark"] .studio-workspace {
  --surface: #101e2e;
  --border: #30445d;
  --bg: #0a1624;
  --text: #e5edf5;
  --muted: #9cb0c7;
}
.studio-workspace input[type="checkbox"],
.studio-workspace input[type="radio"] {
  width: 17px;
  height: 17px;
  padding: 0;
  flex: 0 0 17px;
}
html[data-theme] .studio-workspace button.studio-primary {
  background: #176388;
  color: white;
  border-color: #176388;
}
html[data-theme] .studio-workspace .studio-tabs button {
  background: transparent;
  color: var(--muted);
}
html[data-theme] .studio-workspace .studio-tabs button[aria-pressed="true"] {
  color: var(--text);
}
.studio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}
.studio-header h1 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 8px 0;
  letter-spacing: -1.5px;
}
.studio-header p {
  color: var(--muted);
}
.studio-header-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}
.studio-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.studio-library,
.studio-editor,
.studio-team {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 18px;
  min-width: 0;
}
.studio-library {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.studio-workspace button {
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 14px;
  cursor: pointer;
}
.studio-workspace button:hover:not(:disabled) {
  border-color: #5b9dbe;
  background: color-mix(in srgb, var(--surface), #5b9dbe 8%);
}
.studio-workspace button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.studio-workspace button.studio-primary {
  background: #176388;
  border-color: #176388;
  color: #fff;
}
.studio-workspace button.studio-primary:hover:not(:disabled) {
  background: #124e6c;
}
.studio-workspace h2 {
  font-size: 20px;
  margin: 0;
}
.studio-workspace h3 {
  font-size: 18px;
  margin: 0 0 14px;
}
.studio-workspace label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 18px 0;
}
.studio-workspace input:not([type="checkbox"]):not([type="radio"]),
.studio-workspace select,
.studio-workspace textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg);
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
  font-weight: 400;
  min-width: 0;
}
.studio-workspace textarea {
  resize: vertical;
  line-height: 1.65;
}
.studio-workspace input:focus,
.studio-workspace textarea:focus,
.studio-workspace select:focus {
  outline: 2px solid #5b9dbe;
  outline-offset: 2px;
}
.studio-search {
  margin: 8px 0 !important;
}
.studio-section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.studio-section-line h3 {
  margin: 0;
}
.studio-library-item {
  text-align: left;
  display: grid;
  gap: 6px;
  overflow-wrap: anywhere;
}
.studio-library-item span {
  font-size: 12px;
  color: var(--muted);
}
.studio-library-item.active {
  border-color: #5b9dbe;
  box-shadow: inset 3px 0 #5b9dbe;
}
.studio-library-footer {
  margin-top: 25px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.studio-toolbar {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--border);
}
.studio-toolbar > div:last-child {
  display: flex;
  gap: 10px;
}
.studio-status {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}
.studio-title-fields {
  padding: 4px 24px 18px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 18px;
}
.studio-tabs {
  display: flex;
  gap: 4px;
  padding: 0 24px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
}
.studio-tabs button {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 14px 17px;
  flex-shrink: 0;
  color: var(--muted);
}
.studio-tabs button[aria-pressed="true"] {
  color: var(--text);
  box-shadow: inset 0 -3px #5b9dbe;
  font-weight: 700;
}
.studio-tab-body,
.studio-preview {
  padding: 28px 24px;
  min-height: 420px;
}
.studio-muted,
.studio-empty {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.studio-two-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.studio-workspace .studio-checkline,
.studio-workspace .studio-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
  font-weight: 400;
}
.studio-checkline input,
.studio-radio input {
  flex-shrink: 0;
  margin-top: 5px;
  accent-color: #176388;
}
.studio-workspace video {
  width: 100%;
  max-height: 430px;
  background: #0b1420;
  border-radius: 12px;
  margin-top: 20px;
}
.studio-upload,
.studio-check-card,
.studio-review-card,
.studio-source-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}
.studio-upload {
  border-style: dashed;
  background: color-mix(in srgb, var(--surface), #5b9dbe 4%);
}
.studio-choice-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 0;
}
.studio-choice-list label input:not([type="radio"]) {
  margin: 0;
}
.studio-choice-list span {
  font-size: 12px;
  font-weight: 400;
}
.studio-empty-panel {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg);
  border-radius: 12px;
  margin-top: 24px;
}
.studio-empty-panel h3 {
  margin-top: 20px;
}
.studio-clip {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.studio-clip > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.studio-clip > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 230px;
}
.studio-clip-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  flex-shrink: 0;
}
.studio-clip p {
  color: var(--muted);
  font-size: 13px;
}
.studio-details {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  margin-top: 16px;
}
.studio-details summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.studio-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.studio-finding {
  border-left: 3px solid #c99243;
  padding: 8px 14px;
  margin: 16px 0;
  background: var(--bg);
  font-size: 14px;
}
.studio-finding p {
  margin-bottom: 0;
  line-height: 1.65;
}
.studio-preview-text {
  white-space: pre-wrap;
  line-height: 1.8;
}
.studio-editor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  font-size: 12px;
  color: var(--muted);
}
.studio-team {
  padding: 22px;
  margin-top: 24px;
}
.studio-alert,
.studio-notice {
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow-wrap: anywhere;
}
.studio-alert {
  border-color: #be6d53;
  background: color-mix(in srgb, var(--surface), #be6d53 8%);
}
.studio-notice {
  border-color: #4d997a;
  background: color-mix(in srgb, var(--surface), #4d997a 8%);
}
.studio-workspace blockquote {
  border-left: 3px solid #5b9dbe;
  margin: 20px 0;
  padding: 12px 18px;
  background: var(--bg);
  white-space: pre-wrap;
}
@media (max-width: 900px) {
  .studio-layout {
    grid-template-columns: 1fr;
  }
  .studio-library {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .studio-library .studio-section-line,
  .studio-library .studio-search,
  .studio-library .studio-empty {
    grid-column: 1/-1;
  }
  .studio-library-footer {
    display: none;
  }
}
@media (max-width: 600px) {
  .studio-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .studio-toolbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }
  .studio-title-fields,
  .studio-two-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .studio-title-fields,
  .studio-tab-body,
  .studio-preview {
    padding: 18px;
  }
  .studio-tabs {
    padding: 0 10px;
  }
  .studio-tabs button {
    padding: 14px 12px;
  }
  .studio-editor-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }
  .studio-clip {
    flex-wrap: wrap;
  }
  .studio-clip > div:last-child {
    max-width: none;
    padding-left: 46px;
  }
  .studio-choice-list span {
    display: none;
  }
  .studio-workspace h2 {
    font-size: 18px;
  }
}

.course-workspace {
  --surface: #fff;
  --border: #d8e2ec;
  --bg: #f5f8fb;
  --text: #172b43;
  --muted: #60748a;
}
html[data-theme="dark"] .course-workspace {
  --surface: #101e2e;
  --border: #30445d;
  --bg: #0a1624;
  --text: #e5edf5;
  --muted: #9cb0c7;
}
.course-header {
  max-width: 900px;
  margin: 30px 0;
}
.course-approval {
  font-size: 13px;
  color: var(--muted);
}
.course-panel {
  max-width: 1000px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  margin: 24px 0;
  min-width: 0;
}
.course-panel h2 {
  font-size: 22px;
}
.course-text {
  white-space: pre-wrap;
  line-height: 1.85 !important;
  overflow-wrap: anywhere;
}
.course-panel video {
  width: 100%;
  max-height: 540px;
  background: #0a1420;
  border-radius: 10px;
  margin: 20px 0;
}
.course-panel button {
  border: 1px solid var(--border);
  padding: 11px 15px;
  font: inherit;
  border-radius: 9px;
  cursor: pointer;
}
.course-panel button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.course-clips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.course-clips button[aria-pressed="true"] {
  box-shadow: inset 0 -3px #5b9dbe;
}
html[data-theme] .course-panel button.course-primary {
  background: #176388;
  color: #fff;
  border-color: #176388;
}
.course-panel fieldset {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
}
.course-panel legend {
  font-weight: 600;
  font-size: 16px;
  overflow-wrap: anywhere;
  max-width: 100%;
  padding: 0 8px;
}
.course-panel label {
  display: block;
  margin: 14px 0;
  font-size: 15px;
}
.course-panel .course-scenario-part {
  overflow-wrap: anywhere;
}
.course-panel .course-scenario-part textarea {
  resize: vertical;
}
.course-panel input:not([type="radio"]),
.course-panel .course-scenario-part textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}
.course-panel .course-option {
  display: flex;
  gap: 12px;
  line-height: 1.65;
  align-items: flex-start;
}
.course-option input[type="radio"] {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 5px;
}
.course-feedback,
.course-review,
.course-complete {
  background: var(--bg);
  border-left: 3px solid #5b9dbe;
  padding: 18px;
  margin-top: 22px;
  overflow-wrap: anywhere;
}
.course-feedback h3,
.course-complete h3 {
  font-size: 17px;
}
.course-review progress {
  display: block;
  width: 100%;
  margin: 18px 0;
}
.course-outline-status {
  font-size: 12px;
  color: var(--muted);
}
.course-outline-progress {
  margin: 22px 0;
  padding: 18px;
  background: var(--panel);
  border: 1px solid #30445d;
  border-radius: 12px;
}
@media (max-width: 600px) {
  .course-panel {
    padding: 18px;
  }
  .course-panel fieldset {
    padding: 14px;
  }
  .course-panel h2 {
    font-size: 20px;
  }
  .course-panel .studio-section-line {
    align-items: flex-start;
  }
  .course-panel .studio-section-line h2 {
    margin: 0;
  }
}

.study-workspace {
  max-width: 1250px;
}
.study-workspace label {
  display: block;
  font-size: 0.9rem;
  margin: 12px 0;
}
.study-workspace input:not([type="checkbox"]):not([type="radio"]),
.study-workspace select,
.study-workspace textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border, #2b4258);
  background: var(--surface, #101f2d);
  color: inherit;
  font: inherit;
  margin-top: 6px;
}
.study-workspace button {
  padding: 10px 16px;
  border: 1px solid #2c869e;
  border-radius: 8px;
  background: #146b86;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.study-workspace button:disabled {
  opacity: 0.45;
  cursor: default;
}
.study-workspace button:focus-visible,
.study-workspace input:focus-visible,
.study-workspace textarea:focus-visible,
.study-workspace select:focus-visible {
  outline: 3px solid #61cde8;
  outline-offset: 3px;
}
.study-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.study-summary > div,
.study-panel {
  border: 1px solid var(--border, #2b4258);
  border-radius: 14px;
  background: var(--surface, #101f2d);
  padding: 24px;
}
.study-summary strong {
  display: block;
  font-size: 1.6rem;
}
.study-summary span,
.study-muted {
  font-size: 0.86rem;
  color: var(--muted, #a9bdcd);
}
.study-panel {
  margin: 20px 0;
}
.study-panel h2 {
  font-size: 1.3rem;
  margin: 0 0 12px;
}
.study-panel p {
  line-height: 1.6;
  white-space: pre-wrap;
}
.study-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.study-steps .study-panel {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.study-steps button {
  margin-top: auto;
  align-self: flex-start;
}
.study-tabs,
.study-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
}
.study-tabs button[aria-pressed="false"] {
  background: transparent;
  color: inherit;
}
.study-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.study-workspace fieldset {
  border: 1px solid var(--border, #2b4258);
  border-radius: 10px;
  padding: 16px;
}
.study-workspace input[type="checkbox"],
.study-workspace input[type="radio"] {
  accent-color: #22a7c3;
  margin-right: 10px;
  width: auto;
  flex-shrink: 0;
}
.study-workspace label:has(input[type="checkbox"]),
.study-workspace label:has(input[type="radio"]) {
  display: flex;
  align-items: center;
  gap: 8px;
}
.study-choice {
  padding: 12px;
  border: 1px solid var(--border, #2b4258);
  border-radius: 8px;
}
.study-feedback {
  border-left: 3px solid #36adcb;
  padding: 18px;
  margin: 20px 0;
  background: rgba(54, 173, 203, 0.06);
}
.study-error {
  padding: 16px;
  border: 1px solid #c06767;
  border-radius: 8px;
  background: rgba(170, 65, 65, 0.12);
}
.study-score {
  font-size: 1.3rem;
  font-weight: 700;
}
.study-history {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.study-workspace .page-heading select {
  min-width: 230px;
}
[data-theme="light"] .study-panel,
[data-theme="light"] .study-summary > div,
[data-theme="light"] .study-workspace input:not([type="checkbox"]):not([type="radio"]),
[data-theme="light"] .study-workspace select,
[data-theme="light"] .study-workspace textarea {
  background: #fff;
  border-color: #dce5ed;
  color: #18334a;
}
[data-theme="light"] .study-muted,
[data-theme="light"] .study-summary span {
  color: #60778b;
}
@media (max-width: 800px) {
  .study-summary {
    grid-template-columns: 1fr 1fr;
  }
  .study-steps,
  .study-filter-grid {
    grid-template-columns: 1fr;
  }
  .study-panel {
    padding: 18px;
  }
  .study-workspace .page-heading select {
    min-width: 0;
  }
  .study-workspace .page-heading {
    display: block;
  }
}

@media (max-width: 480px) {
  .study-oral-debrief-table {
    width: 100%;
    overflow-wrap: anywhere;
  }
}

/* Written workspace: a training path, one next action, and a readable study sequence. */
.study-redesign .page-heading {
  margin-bottom: 8px;
}
.study-workspace-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}
.study-workspace-tools > a {
  color: #51c7de;
  font-size: 0.9rem;
  text-decoration: none;
}
.study-view-switch {
  display: flex;
  gap: 4px;
}
.study-redesign .study-view-switch button {
  background: transparent;
  color: inherit;
  border: 0;
  font-size: 0.85rem;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}
.study-redesign .study-view-switch button[aria-pressed="true"] {
  border-bottom-color: #38bdd5;
  color: #38bdd5;
}
.training-navigation {
  margin: 18px 0 30px;
}
.training-navigation > .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}
.study-package-grid {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  border-bottom: 1px solid #345064;
}
.study-redesign .study-package-grid button {
  background: transparent;
  color: inherit;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  white-space: nowrap;
  text-align: left;
  flex: 1 0 auto;
}
.study-redesign .study-package-grid button[aria-pressed="true"] {
  border-bottom-color: #3dc4da;
  color: #57d0e3;
}
.study-package-grid strong {
  font-size: 0.95rem;
}
.study-package-grid span {
  font-size: 0.7rem;
  color: var(--muted, #a9bdcd);
}
.training-navigation > p[role="status"] {
  font-size: 0.9rem;
  margin: 18px 0 0;
  color: var(--muted, #a9bdcd);
}
.written-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #122635;
  overflow: hidden;
  border-radius: 18px;
  min-height: 340px;
  margin-bottom: 26px;
}
.written-hero-copy {
  padding: 38px;
}
.written-hero-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.15;
  margin: 16px 0;
  letter-spacing: -0.035em;
}
.written-hero-copy h2 span {
  display: block;
  font-size: 0.55em;
  margin-top: 12px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: #c0d6df;
}
.written-hero-copy > p {
  line-height: 1.7;
  font-size: 0.9rem;
  max-width: 480px;
}
.written-hero-copy > label {
  max-width: 390px;
}
.written-hero-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
}
.written-hero-action > a,
.study-redesign .written-hero-action > button {
  background: #3cbcd1;
  color: #06242e;
  border: 0;
  border-radius: 6px;
  padding: 13px 21px;
  text-decoration: none;
  font-weight: 650;
}
.written-hero-action > span {
  font-size: 0.78rem;
  color: #aac5d2;
}
.written-hero-image {
  position: relative;
  min-height: 300px;
}
.written-hero-image img {
  object-fit: cover;
}
.written-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #091e35a3, transparent 60%);
}
.written-hero-image > span {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 25px;
  color: #fff;
  font-size: 0.67rem;
  letter-spacing: 0.17em;
  z-index: 1;
}
.study-access-drawer {
  border-bottom: 1px solid #345064;
  padding: 17px 0;
  margin-bottom: 24px;
}
.study-access-drawer summary {
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
}
.study-access-drawer summary span {
  font-weight: 400;
  color: var(--muted, #a9bdcd);
  margin-left: 20px;
  font-size: 0.8rem;
}
.study-access-drawer > p {
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 850px;
}
.study-access-drawer form {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  max-width: 650px;
}
.study-access-drawer form label {
  flex: 1;
  margin-bottom: 0;
}
.study-redesign .study-summary {
  gap: 0;
  margin: 24px 0 32px;
  border-bottom: 1px solid #345064;
  padding-bottom: 24px;
}
.study-redesign .study-summary > div {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 18px;
  border-left: 1px solid #345064;
}
.study-redesign .study-summary > div:first-child {
  border-left: 0;
  padding-left: 0;
}
.study-redesign .study-steps {
  display: block;
}
.study-redesign .study-steps .study-panel {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 165px;
  gap: 5px 22px;
  background: transparent;
  border: 0;
  border-top: 1px solid #345064;
  border-radius: 0;
  padding: 24px 0;
}
.study-step-number {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  background: #214254;
  color: #79d7e6;
}
.study-redesign .study-steps h2 {
  grid-column: 2;
  font-size: 1.1rem;
  margin-bottom: 3px;
}
.study-redesign .study-steps p {
  grid-column: 2;
  margin: 2px 0;
  font-size: 0.85rem;
}
.study-redesign .study-steps button {
  grid-column: 3;
  grid-row: 1 / 4;
  align-self: center;
  margin: 0;
  font-size: 0.85rem;
}
.study-preview-note {
  border-left: 3px solid #42c2da;
  padding: 12px 18px;
  font-size: 0.85rem;
  background: #42c2da0d;
}
[data-theme="light"] .written-hero {
  background: #edf3f6;
}
[data-theme="light"] .written-hero-copy h2 span,
[data-theme="light"] .written-hero-action > span {
  color: #537085;
}
[data-theme="light"] .training-navigation,
[data-theme="light"] .study-package-grid,
[data-theme="light"] .study-access-drawer,
[data-theme="light"] .study-redesign .study-summary,
[data-theme="light"] .study-redesign .study-steps .study-panel {
  border-color: #d4dfe6;
}
[data-theme="light"] .study-redesign .study-package-grid button {
  color: #17354a;
}
[data-theme="light"] .study-redesign .study-package-grid button[aria-pressed="true"],
[data-theme="light"] .study-workspace-tools > a {
  color: #087c92;
}
[data-theme="light"] .study-redesign .study-summary > div {
  color: #17354a;
  border-color: #d4dfe6;
}
[data-theme="light"] .study-step-number {
  background: #dcedf2;
  color: #087b91;
}
@media (max-width: 800px) {
  .written-hero {
    grid-template-columns: 1fr;
  }
  .written-hero-copy {
    padding: 26px;
  }
  .written-hero-image {
    min-height: 210px;
  }
  .study-package-grid {
    gap: 24px;
  }
  .study-access-drawer summary span {
    display: block;
    margin: 8px 0 0 16px;
  }
  .study-access-drawer form {
    display: block;
  }
  .study-access-drawer form button {
    margin-top: 14px;
  }
  .study-redesign .study-summary {
    gap: 20px;
  }
  .study-redesign .study-summary > div {
    padding-left: 0;
    border: 0;
  }
  .study-redesign .study-steps .study-panel {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 6px 12px;
  }
  .study-redesign .study-steps button {
    grid-column: 2;
    grid-row: 4;
    justify-self: start;
    margin-top: 10px;
  }
}

html[data-theme="dark"] .site-shell.study-redesign .study-package-grid button,
html[data-theme="dark"] .site-shell.study-redesign .study-view-switch button {
  background: transparent;
  border-color: transparent;
}
html[data-theme="dark"] .site-shell.study-redesign .study-package-grid button[aria-pressed="true"],
html[data-theme="dark"] .site-shell.study-redesign .study-view-switch button[aria-pressed="true"] {
  border-bottom-color: #3dc4da;
  color: #57d0e3;
}
html[data-theme="dark"] .site-shell.study-redesign .written-hero-action > button {
  background: #38bbd3;
  color: #08202c;
  border-color: #38bbd3;
}

/* Dedicated written assessment workspace. */
.site-shell.study-redesign.exam-focus-layout {
  --exam-bg: #0d1622;
  --exam-card: #142233;
  --exam-subtle: #101d2b;
  --exam-line: #304458;
  --exam-ink: #eaf2f9;
  --exam-muted: #aebed0;
  --exam-accent: #5ed0de;
  --exam-positive: #78dfa5;
  --exam-negative: #ffacaa;
  --exam-correct-bg: #17392d;
  --exam-wrong-bg: #38242b;
  margin: 0 auto;
  min-height: 100vh;
  max-width: 1480px;
  padding: 0 32px 36px;
  color: var(--exam-ink);
  background: var(--exam-bg);
}
html[data-theme="light"] .site-shell.study-redesign.exam-focus-layout {
  --exam-bg: #f3f6fa;
  --exam-card: #fff;
  --exam-subtle: #edf3f8;
  --exam-line: #c8d5e1;
  --exam-ink: #172e45;
  --exam-muted: #4d6278;
  --exam-accent: #087087;
  --exam-positive: #176c3c;
  --exam-negative: #a62d36;
  --exam-correct-bg: #e3f4e9;
  --exam-wrong-bg: #fbe9e9;
}
body:has(.exam-focus-layout) {
  background: var(--bg);
}
.exam-focus-layout .exam-session {
  min-height: 100dvh;
  padding-bottom: 24px;
}
.exam-focus-layout .exam-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--exam-line);
}
.exam-identity,
.exam-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-wrap: wrap;
}
.exam-brand-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--exam-accent);
  border: 1px solid var(--exam-line);
  background: var(--exam-card);
}
.exam-brand {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 800;
  color: var(--exam-accent);
}
.exam-brand span {
  color: var(--exam-muted);
  font-weight: 600;
}
.site-shell.exam-focus-layout .exam-header h1 {
  font-size: 23px;
  letter-spacing: -0.5px;
  margin: 4px 0 0;
  line-height: 1.15;
}
.exam-header-actions .appearance-control button {
  padding: 6px 10px;
  font-size: 11px;
}
.exam-header-actions .appearance-control {
  border-color: var(--exam-line);
  background: var(--exam-subtle);
}
.exam-session-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 20px;
  margin: 24px 0;
}
.exam-session-bar h2 {
  font-size: 19px;
  margin: 0 0 5px;
}
.exam-session-bar p {
  margin: 0;
  font-size: 13px;
  color: var(--exam-muted);
}
.exam-timer {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--exam-line);
  padding: 12px 15px;
  border-radius: 10px;
  background: var(--exam-card);
  font-variant-numeric: tabular-nums;
  color: var(--exam-ink);
}
.exam-timer svg {
  color: var(--exam-accent);
}
.exam-untimed {
  font-size: 13px;
  color: var(--exam-muted);
}
.exam-progress-track {
  height: 6px;
  border-radius: 99px;
  overflow: hidden;
  background: var(--exam-line);
}
.exam-progress-track > span {
  height: 100%;
  display: block;
  border-radius: 99px;
  background: var(--exam-accent);
}
.exam-session-progress {
  grid-column: 1/-1;
}
.exam-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
  align-items: start;
  gap: 24px;
}
.exam-main-column,
.exam-side {
  min-width: 0;
}
.exam-side {
  display: grid;
  gap: 16px;
}
.exam-question-card,
.exam-navigator,
.exam-submit-card,
.exam-topic-results,
.exam-result {
  background: var(--exam-card);
  border: 1px solid var(--exam-line);
  border-radius: 16px;
  padding: 24px;
  min-width: 0;
}
.exam-question-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.exam-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.exam-tags span {
  font-size: 11px;
  font-weight: 650;
  color: var(--exam-accent);
  background: var(--exam-subtle);
  border: 1px solid var(--exam-line);
  border-radius: 6px;
  padding: 5px 8px;
}
.exam-acs {
  font-size: 11px;
  color: var(--exam-muted);
  overflow-wrap: anywhere;
}
.site-shell.exam-focus-layout .exam-prompt {
  margin: 22px 0 24px;
  line-height: 1.48;
  font-size: clamp(17px, 1.65vw, 23px);
  font-weight: 650;
  letter-spacing: -0.25px;
  overflow-wrap: anywhere;
}
.exam-focus-layout .exam-prompt:focus-visible,
.exam-focus-layout .study-score:focus-visible {
  outline: 2px solid var(--exam-accent);
  outline-offset: 6px;
  border-radius: 4px;
}
.site-shell.exam-focus-layout .exam-choices {
  border: 0;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}
.exam-choices legend {
  font-size: 12px;
  font-weight: 650;
  color: var(--exam-muted);
  margin-bottom: 10px;
}
.site-shell.exam-focus-layout .exam-choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  margin: 0 0 10px;
  min-width: 0;
  border: 1px solid var(--exam-line);
  border-radius: 11px;
  background: var(--exam-subtle);
  cursor: pointer;
  line-height: 1.5;
}
.site-shell.exam-focus-layout .exam-choice:has(input:disabled) {
  cursor: default;
}
.site-shell.exam-focus-layout .exam-choice input[type="radio"] {
  position: absolute;
  left: 17px;
  top: 20px;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
}
.exam-choice:has(input:focus-visible) {
  outline: 3px solid var(--exam-accent);
  outline-offset: 2px;
}
.exam-choice-letter {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  border: 1px solid var(--exam-line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--exam-muted);
}
.exam-choice-body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 4px 0;
}
.exam-choice-text {
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.exam-choice-rationale {
  font-size: 13px;
  color: var(--exam-muted);
  overflow-wrap: anywhere;
}
.exam-choice-state {
  font-size: 11px;
  font-weight: 700;
  max-width: 150px;
  line-height: 1.4;
  align-self: center;
}
.site-shell.exam-focus-layout .exam-choice[data-state="selected"] {
  border-color: var(--exam-accent);
  background: var(--exam-card);
}
.exam-choice[data-state="selected"] .exam-choice-letter {
  background: var(--exam-accent);
  color: var(--exam-bg);
  border-color: var(--exam-accent);
}
html[data-theme="light"] .exam-choice[data-state="selected"] .exam-choice-letter {
  color: white;
}
.site-shell.exam-focus-layout .exam-choice[data-state="correct"] {
  border-color: var(--exam-positive);
  background: var(--exam-correct-bg);
}
.exam-choice[data-state="correct"] .exam-choice-letter,
.exam-choice[data-state="correct"] .exam-choice-state {
  color: var(--exam-positive);
  border-color: var(--exam-positive);
}
.site-shell.exam-focus-layout .exam-choice[data-state="incorrect"] {
  border-color: var(--exam-negative);
  background: var(--exam-wrong-bg);
}
.exam-choice[data-state="incorrect"] .exam-choice-letter,
.exam-choice[data-state="incorrect"] .exam-choice-state {
  color: var(--exam-negative);
  border-color: var(--exam-negative);
}
.exam-save-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.site-shell.exam-focus-layout .exam-confidence {
  margin: 0;
  font-size: 13px;
  color: var(--exam-muted);
}
.exam-save-row button {
  flex-shrink: 0;
}
.site-shell.exam-focus-layout button.exam-primary {
  background: #2eafc5;
  color: #072532;
  border: 1px solid #2eafc5;
  font-weight: 750;
  border-radius: 9px;
  padding: 11px 16px;
}
html[data-theme="light"] .site-shell.exam-focus-layout button.exam-primary {
  background: #08798c;
  border-color: #08798c;
  color: #fff;
}
.site-shell.exam-focus-layout button.exam-secondary {
  background: var(--exam-subtle);
  border: 1px solid var(--exam-line);
  color: var(--exam-ink);
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 13px;
}
.exam-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--exam-line);
  flex-wrap: wrap;
}
.exam-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.exam-mark span {
  margin-right: 5px;
}
.exam-save-status {
  font-size: 12px;
  line-height: 1.45;
  color: var(--exam-muted);
  margin-top: 13px;
}
.exam-navigator-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.exam-side h3,
.exam-feedback h4,
.exam-references h4 {
  font-size: 16px;
  letter-spacing: 0;
  margin: 0 0 12px;
}
.exam-nav-toggle {
  display: none;
}
.exam-nav-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 11px;
  color: var(--exam-muted);
  margin: 12px 0;
}
.exam-nav-filter {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.site-shell.exam-focus-layout .exam-nav-filter button {
  font-size: 12px;
  padding: 7px 10px;
  border: 1px solid var(--exam-line);
  color: var(--exam-muted);
  background: var(--exam-subtle);
  border-radius: 7px;
}
.site-shell.exam-focus-layout .exam-nav-filter button[aria-pressed="true"] {
  border-color: var(--exam-accent);
  color: var(--exam-accent);
  font-weight: 700;
}
.exam-number-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.site-shell.exam-focus-layout button.exam-number {
  position: relative;
  min-width: 0;
  min-height: 37px;
  padding: 6px 2px;
  background: var(--exam-subtle);
  color: var(--exam-muted);
  border: 1px solid var(--exam-line);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 650;
}
.site-shell.exam-focus-layout button.exam-number[data-state="answered"] {
  background: #194457;
  color: #bceff6;
  border-color: #327288;
}
.site-shell.exam-focus-layout button.exam-number[data-state="correct"] {
  color: var(--exam-positive);
  background: var(--exam-correct-bg);
  border-color: var(--exam-positive);
}
.site-shell.exam-focus-layout button.exam-number[data-state="incorrect"] {
  color: var(--exam-negative);
  background: var(--exam-wrong-bg);
  border-color: var(--exam-negative);
}
.site-shell.exam-focus-layout button.exam-number[aria-current="step"] {
  outline: 2px solid var(--exam-accent);
  outline-offset: 1px;
}
.exam-number > span {
  position: absolute;
  right: 2px;
  top: 0;
  font-size: 9px;
  color: #e8ad48;
}
.exam-number-pages {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 12px;
  font-size: 11px;
}
.site-shell.exam-focus-layout .exam-number-pages button {
  font-size: 11px;
  padding: 6px;
}
.exam-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  color: var(--exam-muted);
  margin: 15px 0 0;
}
.exam-submit-card p,
.exam-reference-note p,
.exam-topic-results p,
.exam-muted,
.exam-source-note {
  font-size: 12px;
  line-height: 1.55;
  color: var(--exam-muted);
  overflow-wrap: anywhere;
}
.exam-submit-card button {
  width: 100%;
}
.exam-reference-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 10px;
  color: var(--exam-muted);
  font-size: 12px;
}
.exam-reference-note svg {
  flex-shrink: 0;
  color: var(--exam-accent);
}
.exam-reference-note p {
  margin: 4px 0 0;
}
.exam-feedback {
  padding: 20px;
  border: 1px solid var(--exam-line);
  background: var(--exam-subtle);
  border-radius: 12px;
  margin: 20px 0 0;
}
.exam-feedback-heading {
  display: flex;
  gap: 10px;
  align-items: center;
}
.exam-feedback-heading h4 {
  margin: 0 0 3px;
}
.exam-feedback-heading span:not(.exam-feedback-symbol) {
  font-size: 11px;
  color: var(--exam-muted);
}
.exam-feedback-symbol {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid currentColor;
  color: var(--exam-accent);
  font-weight: 800;
  font-size: 20px;
}
.exam-feedback[data-result="correct"] .exam-feedback-symbol {
  color: var(--exam-positive);
}
.exam-feedback[data-result="incorrect"] .exam-feedback-symbol {
  color: var(--exam-negative);
}
.exam-correct-answer {
  font-size: 14px;
  color: var(--exam-positive);
  line-height: 1.55;
}
.exam-explanation {
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.exam-references {
  border-top: 1px solid var(--exam-line, #304458);
  margin-top: 18px;
  padding-top: 16px;
}
.exam-references h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.exam-references ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.exam-references li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--exam-card, var(--panel));
  border: 1px solid var(--exam-line, #304458);
  padding: 12px;
  border-radius: 8px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.exam-references li div {
  min-width: 0;
  flex: 1;
}
.exam-references li strong,
.exam-references li span {
  display: block;
}
.exam-references li span {
  font-size: 11px;
  color: var(--exam-muted, var(--muted));
  margin-top: 4px;
}
.exam-references a,
.exam-feedback a {
  color: var(--exam-accent, var(--accent-2));
  font-weight: 600;
}
.exam-feedback > button,
.exam-feedback > a {
  margin-top: 10px;
}
.exam-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.exam-kicker {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.4px;
  color: var(--exam-muted);
}
.exam-result .study-score {
  font-size: clamp(24px, 3vw, 36px);
  margin: 8px 0 3px;
  letter-spacing: -1px;
}
.exam-result-main p {
  margin: 7px 0 0;
}
.exam-result-metrics {
  display: flex;
  gap: 24px;
}
.exam-result-metrics > div {
  display: grid;
  gap: 4px;
}
.exam-result-metrics strong {
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}
.exam-result-metrics span {
  font-size: 11px;
  color: var(--exam-muted);
}
.exam-topic-row {
  margin-top: 13px;
}
.exam-topic-row > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.exam-topic-row span {
  color: var(--exam-muted);
  flex-shrink: 0;
}
.exam-topic-row .exam-progress-track {
  height: 4px;
}
.exam-focus-layout .study-preparation-content {
  border-top: 1px solid var(--exam-line);
  margin-top: 14px;
  padding-top: 24px;
}
.exam-focus-layout .study-preparation-content[hidden],
.exam-focus-layout .page-heading[hidden] {
  display: none !important;
}
.exam-focus-layout .exam-main-column > details.study-panel {
  background: var(--exam-card);
  border-color: var(--exam-line);
}
@media (max-width: 900px) {
  .site-shell.study-redesign.exam-focus-layout {
    padding: 0 20px 24px;
  }
  .exam-layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 250px);
    gap: 16px;
  }
  .exam-question-card,
  .exam-navigator,
  .exam-submit-card,
  .exam-topic-results {
    padding: 18px;
  }
}
@media (max-width: 680px) {
  .site-shell.study-redesign.exam-focus-layout {
    padding: 0 12px 18px;
  }
  .exam-header {
    padding: 13px 0 !important;
    gap: 10px !important;
  }
  .exam-identity {
    gap: 9px;
  }
  .exam-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .exam-brand {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .exam-brand span {
    display: none;
  }
  .site-shell.exam-focus-layout .exam-header h1 {
    font-size: 18px;
  }
  .exam-header-actions {
    gap: 6px;
  }
  .exam-header-actions .appearance-control {
    display: none;
  }
  .site-shell.exam-focus-layout .exam-header-actions button.exam-secondary {
    font-size: 10px;
    padding: 8px;
    max-width: 126px;
  }
  .exam-session-bar {
    margin: 14px 0;
    gap: 8px;
  }
  .exam-session-bar h2 {
    font-size: 15px;
  }
  .exam-session-bar p {
    font-size: 11px;
  }
  .exam-timer {
    padding: 8px;
    gap: 5px;
    font-size: 11px;
  }
  .exam-timer svg {
    width: 15px;
    height: 15px;
  }
  .exam-layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .exam-main-column,
  .exam-side {
    width: 100%;
  }
  .exam-question-card,
  .exam-navigator,
  .exam-submit-card,
  .exam-topic-results,
  .exam-result {
    padding: 14px;
    border-radius: 12px;
  }
  .exam-question-meta {
    gap: 6px;
  }
  .exam-acs {
    font-size: 10px;
  }
  .site-shell.exam-focus-layout .exam-prompt {
    font-size: 17px;
    line-height: 1.45;
    margin: 14px 0 16px;
  }
  .site-shell.exam-focus-layout .exam-choice {
    padding: 11px 10px;
    gap: 9px;
    margin-bottom: 8px;
    flex-wrap: wrap;
  }
  .exam-choice-letter {
    min-width: 27px;
    height: 27px;
    font-size: 12px;
  }
  .exam-choice-body {
    padding: 1px 0;
  }
  .exam-choice-text {
    font-size: 14px;
  }
  .exam-choice-state {
    font-size: 10px;
    margin-left: 36px;
    max-width: 100%;
    flex-basis: 100%;
  }
  .exam-save-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .exam-save-row .exam-primary {
    width: 100%;
  }
  .exam-confidence {
    font-size: 12px !important;
  }
  .exam-actions {
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
  }
  .exam-pagination {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    width: 100%;
  }
  .exam-pagination button {
    font-size: 12px !important;
    padding: 10px 5px !important;
  }
  .exam-mark {
    width: 100%;
    text-align: left;
  }
  .exam-feedback {
    padding: 13px;
    margin-top: 12px;
  }
  .exam-explanation {
    font-size: 14px;
  }
  .exam-result {
    gap: 14px;
  }
  .exam-result-metrics {
    gap: 18px;
  }
  .exam-result-metrics strong {
    font-size: 20px;
  }
  .exam-result .exam-primary {
    width: 100%;
  }
  .exam-nav-toggle {
    display: inline-block;
    font-size: 11px !important;
    padding: 6px 9px !important;
  }
  .exam-navigator-title h3 {
    margin: 0;
    font-size: 14px;
  }
  .exam-navigator-body[data-open="false"] {
    display: none;
  }
  .exam-number-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .exam-side {
    gap: 10px;
  }
}
@media (max-width: 350px) {
  .exam-brand-icon {
    display: none;
  }
  .exam-number-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .exam-session-bar {
    grid-template-columns: minmax(0, 1fr);
  }
  .exam-timer {
    justify-self: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .exam-focus-layout * {
    scroll-behavior: auto !important;
  }
}

.exam-exhibit,
.exam-tools {
  padding: 16px;
  border: 1px solid var(--exam-line);
  border-radius: 12px;
  background: var(--exam-subtle);
  margin: 0 0 20px;
}
.exam-exhibit-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--exam-accent);
  font-size: 10px;
  letter-spacing: 1.1px;
  font-weight: 750;
  margin-bottom: 12px;
}
.exam-exhibit-table {
  overflow-x: auto;
  max-width: 100%;
  border-radius: 7px;
}
.exam-exhibit table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.exam-exhibit caption {
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  padding: 0 0 12px;
}
.exam-exhibit th,
.exam-exhibit td {
  border: 1px solid var(--exam-line);
  padding: 9px 11px;
  overflow-wrap: anywhere;
}
.exam-exhibit thead {
  background: var(--exam-card);
  color: var(--exam-accent);
}
.exam-exhibit tbody th {
  font-weight: 600;
}
.exam-exhibit p {
  font-size: 12px;
  color: var(--exam-muted);
  margin: 12px 0 0;
  line-height: 1.5;
}
.exam-tools {
  margin: 0;
  background: var(--exam-card);
}
.exam-tools summary {
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.exam-tools summary span {
  display: block;
  color: var(--exam-muted);
  font-size: 11px;
  font-weight: 400;
  margin-top: 5px;
}
.exam-tools form {
  margin-top: 16px;
}
.exam-tools label {
  font-size: 12px;
}
.exam-tools input,
.exam-tools textarea,
.exam-tools select {
  background: var(--exam-subtle) !important;
  border-color: var(--exam-line) !important;
  color: var(--exam-ink) !important;
}
.exam-tool-actions {
  display: flex;
  gap: 8px;
}
.exam-calc-result {
  border: 1px solid var(--exam-line);
  border-radius: 8px;
  padding: 12px;
  font-size: 18px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.exam-layout {
  grid-template-areas: "main nav" "main side";
  grid-template-rows: auto 1fr;
}
.exam-main-column {
  grid-area: main;
}
.exam-navigator {
  grid-area: nav;
}
.exam-side {
  grid-area: side;
}
@media (max-width: 680px) {
  .exam-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "nav" "main" "side";
    grid-template-rows: auto auto auto;
  }
  .exam-exhibit,
  .exam-tools {
    padding: 12px;
  }
  .exam-exhibit th,
  .exam-exhibit td {
    padding: 7px 8px;
    font-size: 12px;
  }
}

/* Owner review presentation: the same exam component and a dedicated local entry. */
.showcase-workspace {
  max-width: 1280px !important;
}
.showcase-header {
  margin-bottom: 30px;
}
.showcase-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  margin: 0 0 24px;
}
.showcase-intro {
  padding: 38px 36px;
  border: 1px solid var(--exam-line);
  border-radius: 20px;
  background: linear-gradient(125deg, var(--exam-card), var(--exam-subtle));
}
.showcase-kicker {
  font-size: 11px;
  letter-spacing: 1.4px;
  font-weight: 750;
  color: var(--exam-accent);
  margin: 0 0 14px;
}
.site-shell.exam-focus-layout .showcase-intro h2 {
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  max-width: 650px;
  margin: 0 0 18px;
}
.showcase-intro h2:focus {
  outline: none;
}
.showcase-intro > p:not(.showcase-kicker) {
  font-size: 16px;
  line-height: 1.65;
  color: var(--exam-muted);
  max-width: 580px;
  margin: 0 0 28px;
}
.showcase-points {
  display: flex;
  gap: 12px 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--exam-muted);
}
.showcase-points span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.showcase-points svg {
  color: var(--exam-accent);
  flex-shrink: 0;
}
.showcase-summary {
  border: 1px solid var(--exam-line);
  background: var(--exam-card);
  border-radius: 20px;
  padding: 28px;
}
.showcase-summary > strong {
  font-size: 26px;
  display: block;
  letter-spacing: -0.8px;
}
.showcase-summary > p {
  font-size: 13px;
  color: var(--exam-muted);
  line-height: 1.6;
  margin: 9px 0 20px;
}
.showcase-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-top: 1px solid var(--exam-line);
  padding: 16px 0;
}
.showcase-step:last-child {
  padding-bottom: 0;
}
.showcase-step > span {
  font-size: 12px;
  color: var(--exam-accent);
  font-weight: 700;
}
.showcase-step strong,
.showcase-step small {
  display: block;
}
.showcase-step strong {
  font-size: 14px;
  margin: 0 0 5px;
}
.showcase-step small {
  font-size: 12px;
  color: var(--exam-muted);
  line-height: 1.5;
}
.showcase-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.showcase-mode-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid var(--exam-line);
  border-radius: 16px;
  background: var(--exam-card);
  padding: 25px;
  min-width: 0;
}
.showcase-mode-icon {
  display: grid;
  place-items: center;
  border: 1px solid var(--exam-line);
  border-radius: 12px;
  width: 45px;
  height: 45px;
  color: var(--exam-accent);
  background: var(--exam-subtle);
}
.showcase-mode-copy {
  flex: 1;
}
.showcase-mode-card h3 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 7px 0 10px;
}
.showcase-mode-card p {
  font-size: 14px;
  color: var(--exam-muted);
  line-height: 1.55;
  margin: 0 0 15px;
}
.showcase-mode-meta {
  display: block;
  font-size: 12px;
  color: var(--exam-accent);
  line-height: 1.6;
}
.showcase-disclaimer {
  font-size: 12px;
  color: var(--exam-muted);
  line-height: 1.6;
  max-width: 900px;
  margin: 25px 0;
}
.showcase-resume {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid var(--exam-accent);
  border-radius: 12px;
  background: var(--exam-card);
  padding: 18px;
  margin: 0 0 20px;
}
.showcase-resume p {
  font-size: 12px;
  color: var(--exam-muted);
  margin: 5px 0 0;
}
.exam-save-row {
  flex-wrap: wrap;
}
.exam-save-row .exam-confidence {
  flex: 1;
  min-width: 180px;
}
.exam-queue-note {
  font-size: 12px;
  color: var(--exam-accent);
  margin: 10px 0 0;
}
.exam-choice-rationale {
  line-height: 1.55;
}
.exam-focus-layout .exam-choice[data-state="selected"] {
  box-shadow: inset 0 0 0 1px var(--exam-accent);
}
.exam-focus-layout .exam-number[aria-current="step"] {
  outline-offset: 2px;
}
.exam-nav-stats {
  font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) {
  .showcase-hero {
    grid-template-columns: 1fr;
  }
  .showcase-intro {
    padding: 28px;
  }
  .showcase-summary {
    padding: 24px;
  }
}
@media (max-width: 680px) {
  .showcase-header {
    margin-bottom: 17px;
  }
  .showcase-intro {
    padding: 23px 20px;
  }
  .site-shell.exam-focus-layout .showcase-intro h2 {
    font-size: 35px;
    letter-spacing: -1px;
  }
  .showcase-intro > p:not(.showcase-kicker) {
    font-size: 14px;
    margin-bottom: 19px;
  }
  .showcase-summary {
    padding: 20px;
  }
  .showcase-hero {
    gap: 14px;
    margin-bottom: 16px;
  }
  .showcase-mode-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .showcase-mode-card {
    padding: 20px;
    gap: 12px;
  }
  .showcase-mode-card button,
  .showcase-resume button {
    width: 100%;
  }
  .exam-save-row .exam-confidence {
    flex: 1 0 100%;
  }
  .exam-save-row button {
    flex: 1 1 auto;
  }
  .exam-session-bar {
    margin: 12px 0;
  }
  .exam-navigator {
    padding: 12px 14px;
  }
  .exam-question-card {
    padding: 14px;
  }
  .site-shell.exam-focus-layout .exam-prompt {
    margin: 12px 0 14px;
    line-height: 1.45;
  }
  .exam-exhibit {
    margin-bottom: 14px;
    padding: 12px;
  }
}

/* Flight-deck revision: compact launch, full-window exam, a paper-like reading
   surface, and a small number of intentional aviation-instrument accents. */
.site-shell.study-redesign.exam-focus-layout {
  --exam-bg: #1c1e1d;
  --exam-card: #272a28;
  --exam-subtle: #202321;
  --exam-line: #454a45;
  --exam-ink: #f4f1e8;
  --exam-muted: #c1c4ba;
  --exam-accent: #ffb268;
  --exam-positive: #9de2ac;
  --exam-negative: #ffaaa2;
  --exam-correct-bg: #23382a;
  --exam-wrong-bg: #402b28;
  --deck-action: #e99148;
  --deck-action-ink: #24170e;
  --deck-selected: #3b3024;
  --deck-header: #202321;
  --deck-header-ink: #f8f4ec;
  --deck-header-muted: #c7c9bf;
  --deck-header-line: #51554e;
  --deck-rail: #202321;
  --deck-paper: #272a28;
  --deck-flag: #f0bd58;
  --deck-rule: #ba682e;
  --text: var(--exam-ink);
  --muted: var(--exam-muted);
  --panel: var(--exam-card);
  --accent: var(--exam-accent);
  --accent-2: var(--exam-accent);
  --focus: var(--exam-accent);
  color: var(--exam-ink);
  background: var(--exam-bg);
}
html[data-theme="light"] .site-shell.study-redesign.exam-focus-layout {
  --exam-bg: #e9e6de;
  --exam-card: #fffdf8;
  --exam-subtle: #f3f0e8;
  --exam-line: #ccc9bf;
  --exam-ink: #242822;
  --exam-muted: #575d51;
  --exam-accent: #984415;
  --exam-positive: #226437;
  --exam-negative: #a33128;
  --exam-correct-bg: #e8f3e9;
  --exam-wrong-bg: #fbece8;
  --deck-action: #ad491b;
  --deck-action-ink: #fffaf1;
  --deck-selected: #faeadd;
  --deck-header: #242823;
  --deck-header-ink: #faf6ea;
  --deck-header-muted: #deded3;
  --deck-header-line: #606458;
  --deck-rail: #efede6;
  --deck-paper: #fffdf8;
  --deck-flag: #985915;
  --deck-rule: #ad491b;
}
html[data-theme] body:has(.exam-focus-layout) {
  background: #1c1e1d;
}
html[data-theme="light"] body:has(.exam-focus-layout) {
  background: #e9e6de;
}
.site-shell.study-redesign.exam-focus-layout.exam-immersive-shell,
html[data-theme] .site-shell.study-redesign.exam-focus-layout.exam-immersive-shell {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100dvh;
}
.exam-immersive-shell .exam-session {
  min-height: 100dvh;
  padding: 0;
}
.exam-immersive-shell .exam-header {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 26px !important;
  background: var(--deck-header);
  color: var(--deck-header-ink);
  border-top: 4px solid #e58b45;
  border-bottom: 1px solid var(--deck-header-line);
}
.exam-immersive-shell .exam-identity {
  flex: 0 1 auto;
  flex-wrap: nowrap;
  gap: 12px;
}
.exam-immersive-shell .exam-brand-icon {
  width: 38px;
  height: 38px;
  background: transparent;
  color: #ffb268;
  border: 1px solid #86745c;
  border-radius: 5px;
}
.exam-immersive-shell .exam-brand {
  font-size: 9px;
  font-weight: 800;
  color: #f5b572;
  letter-spacing: 1.1px;
  white-space: nowrap;
}
.site-shell.exam-focus-layout .exam-header h1 {
  font-size: 19px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.25px;
  color: inherit;
  margin: 3px 0 0;
}
.exam-immersive-shell .exam-header-actions {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.exam-immersive-shell .exam-header-actions .appearance-control {
  background: transparent;
  border: 1px solid var(--deck-header-line);
  border-radius: 4px;
}
html[data-theme] .exam-immersive-shell .exam-header-actions .appearance-control button {
  padding: 5px 8px;
  font-size: 10px;
  color: var(--deck-header-muted);
  background: transparent;
  border: 0;
}
html[data-theme]
  .exam-immersive-shell
  .exam-header-actions
  .appearance-control
  button[aria-pressed="true"] {
  color: #24170e;
  background: #eeb276;
  border-radius: 3px;
}
.exam-immersive-shell .exam-timer {
  color: var(--deck-header-ink);
  background: #151915;
  border: 1px solid #646a5e;
  border-radius: 4px;
  padding: 9px 12px;
  font-size: 13px;
}
.exam-immersive-shell .exam-timer svg {
  color: #ffb268;
}
.exam-immersive-shell .exam-untimed {
  color: var(--deck-header-muted);
  font-size: 12px;
}
html[data-theme] .site-shell.exam-focus-layout button.exam-primary {
  background: var(--deck-action);
  color: var(--deck-action-ink);
  border: 1px solid var(--deck-action);
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 750;
  box-shadow: none;
}
html[data-theme] .site-shell.exam-focus-layout button.exam-secondary {
  background: var(--exam-card);
  color: var(--exam-ink);
  border: 1px solid var(--exam-line);
  border-radius: 5px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}
html[data-theme] .site-shell.exam-focus-layout .exam-header button.exam-exit {
  border-color: var(--deck-header-line);
  background: transparent;
  color: var(--deck-header-ink);
  padding: 9px 12px;
}
html[data-theme] .site-shell.exam-focus-layout .exam-header button.exam-finish {
  background: #eeb276;
  border-color: #eeb276;
  color: #27180e;
  padding: 10px 14px;
}
html[data-theme] .site-shell.exam-focus-layout button:is(.exam-primary, .exam-secondary):disabled {
  opacity: 0.47;
}
html[data-theme]
  .site-shell.exam-focus-layout
  :is(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--exam-accent);
  outline-offset: 3px;
}
html[data-theme] .site-shell.exam-focus-layout .exam-header button:focus-visible {
  outline-color: #ffbb7e;
}
.exam-demo-notice {
  margin: 0 !important;
  padding: 6px 26px;
  font-size: 11px;
  line-height: 1.4 !important;
  color: var(--exam-muted);
  background: var(--deck-rail);
  border-bottom: 1px solid var(--exam-line);
}
.exam-immersive-shell .exam-session-bar {
  margin: 0;
  padding: 13px 26px 0;
  display: block;
  background: var(--deck-paper);
  border-bottom: 1px solid var(--exam-line);
}
.exam-immersive-shell .exam-session-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}
.exam-immersive-shell .exam-session-title h2 {
  font-size: 14px;
  color: var(--exam-ink);
  margin: 0;
  font-weight: 650;
}
.exam-immersive-shell .exam-session-title p {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--exam-muted);
  margin: 0;
}
.exam-immersive-shell .exam-session-progress {
  height: 3px;
  border-radius: 0;
  background: var(--exam-line);
  margin: 0 -26px;
}
.exam-progress-track > span {
  background: var(--deck-action);
}
.exam-immersive-shell .exam-layout {
  display: grid;
  grid-template-columns: minmax(196px, 228px) minmax(0, 1fr);
  grid-template-areas: "rail main";
  grid-template-rows: auto;
  gap: 0;
  align-items: stretch;
  min-height: calc(100dvh - 132px);
}
.exam-immersive-shell .exam-rail {
  grid-area: rail;
  background: var(--deck-rail);
  border-right: 1px solid var(--exam-line);
  padding: 20px 14px;
  min-width: 0;
  align-self: stretch;
}
.exam-immersive-shell .exam-navigator {
  grid-area: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  min-width: 0;
}
.exam-navigator-title h3 {
  font-size: 14px !important;
  margin: 0 !important;
  font-weight: 700;
}
.exam-immersive-shell .exam-nav-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 8px;
  margin: 11px 0 12px;
  font-size: 11px;
  line-height: 1.4;
}
.exam-immersive-shell .exam-nav-filter {
  gap: 4px;
  margin: 10px 0 12px;
}
html[data-theme] .site-shell.exam-focus-layout .exam-nav-filter button {
  background: transparent;
  color: var(--exam-muted);
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 11px;
}
html[data-theme] .site-shell.exam-focus-layout .exam-nav-filter button[aria-pressed="true"] {
  border-color: var(--exam-accent);
  color: var(--exam-accent);
  background: var(--deck-selected);
  font-weight: 700;
}
.exam-immersive-shell .exam-number-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  max-height: min(50dvh, 560px);
  overflow-y: auto;
  padding: 3px 3px 5px;
  scrollbar-width: thin;
  scrollbar-color: var(--exam-line) transparent;
}
html[data-theme] .site-shell.exam-focus-layout button.exam-number {
  display: flex;
  gap: 4px;
  align-items: center;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: var(--exam-ink);
  font-size: 12px;
  font-weight: 550;
  min-height: 35px;
  padding: 7px 10px;
  border-radius: 4px;
  position: relative;
}
.exam-immersive-shell .exam-number > span {
  position: static;
  color: inherit;
  font-size: inherit;
}
.exam-immersive-shell .exam-number .exam-number-indicator {
  margin-left: auto;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  color: var(--exam-muted);
}
html[data-theme]
  .site-shell.exam-focus-layout
  button.exam-number[data-state="answered"]
  .exam-number-indicator,
html[data-theme]
  .site-shell.exam-focus-layout
  button.exam-number[data-state="correct"]
  .exam-number-indicator {
  color: var(--exam-positive);
}
html[data-theme]
  .site-shell.exam-focus-layout
  button.exam-number[data-state="incorrect"]
  .exam-number-indicator {
  color: var(--exam-negative);
}
html[data-theme]
  .site-shell.exam-focus-layout
  button.exam-number[data-marked="true"]
  .exam-number-indicator {
  color: var(--deck-flag);
}
html[data-theme] .site-shell.exam-focus-layout button.exam-number[aria-current="step"] {
  color: var(--exam-accent);
  background: var(--deck-selected);
  border-color: var(--exam-line);
  border-left: 3px solid var(--deck-action);
  outline: none;
  font-weight: 750;
  padding-left: 8px;
}
html[data-theme] .site-shell.exam-focus-layout button.exam-number:focus-visible {
  outline: 2px solid var(--exam-accent);
  outline-offset: 1px;
}
.exam-immersive-shell .exam-number-pages {
  margin: 8px 0;
}
.exam-immersive-shell .exam-legend {
  border-top: 1px solid var(--exam-line);
  padding-top: 11px;
  margin-top: 10px;
  font-size: 10px;
  gap: 8px;
}
.exam-immersive-shell .exam-rail-note {
  font-size: 11px;
  color: var(--exam-muted);
  line-height: 1.5;
  margin: 15px 3px;
}
.exam-immersive-shell .exam-tools,
.exam-immersive-shell .exam-topic-results {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--exam-line);
  border-radius: 0;
  padding: 14px 0 0;
  margin-top: 18px;
}
.exam-immersive-shell .exam-tools summary {
  font-size: 13px;
}
.exam-immersive-shell .exam-tools summary span {
  font-size: 11px;
}
.exam-immersive-shell .exam-main-column {
  grid-area: main;
  background: var(--deck-paper);
  min-width: 0;
  padding: 28px clamp(22px, 4vw, 64px) 40px;
}
.exam-immersive-shell .exam-question-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.exam-immersive-shell .exam-question-meta {
  border-bottom: 1px solid var(--exam-line);
  padding: 0 0 10px;
  gap: 8px;
}
.exam-immersive-shell .exam-tags span {
  color: var(--exam-accent);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}
.exam-immersive-shell .exam-acs {
  font-size: 11px;
  color: var(--exam-muted);
}
.site-shell.exam-focus-layout.exam-immersive-shell .exam-prompt {
  font-size: clamp(19px, 1.9vw, 28px);
  line-height: 1.43;
  letter-spacing: -0.5px;
  font-weight: 650;
  margin: 20px 0 22px;
  max-width: 950px;
}
.exam-task-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.exam-task-grid .exam-choices {
  min-width: 0;
}
.exam-immersive-shell .exam-exhibit {
  background: var(--exam-subtle);
  border: 1px solid var(--exam-line);
  border-radius: 5px;
  padding: 15px;
  margin: 0;
}
.exam-immersive-shell .exam-exhibit-heading {
  color: var(--exam-accent);
  letter-spacing: 1px;
  font-size: 10px;
  margin-bottom: 9px;
}
.exam-immersive-shell .exam-exhibit caption {
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 9px;
}
.exam-immersive-shell .exam-exhibit th,
.exam-immersive-shell .exam-exhibit td {
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.4;
}
.exam-immersive-shell .exam-exhibit thead {
  color: var(--exam-ink);
  background: var(--deck-paper);
}
.exam-immersive-shell .exam-exhibit p {
  font-size: 11px;
  margin-top: 9px;
}
.exam-immersive-shell .exam-choices legend {
  font-size: 12px;
  color: var(--exam-muted);
  font-weight: 650;
  margin-bottom: 10px;
}
html[data-theme] .site-shell.exam-focus-layout.exam-immersive-shell .exam-choice {
  border: 1px solid var(--exam-line);
  background: transparent;
  box-shadow: none;
  border-radius: 5px;
  padding: 12px 14px;
  margin: 0 0 8px;
  gap: 12px;
  align-items: flex-start;
}
.exam-immersive-shell .exam-choice-letter {
  background: var(--exam-subtle);
  border: 1px solid var(--exam-line);
  border-radius: 4px;
  min-width: 28px;
  height: 28px;
  font-size: 12px;
}
.exam-immersive-shell .exam-choice-body {
  padding: 3px 0;
  gap: 5px;
}
.exam-immersive-shell .exam-choice-text {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
}
.exam-immersive-shell .exam-choice-rationale {
  font-size: 13px;
  line-height: 1.55;
}
html[data-theme]
  .site-shell.exam-focus-layout.exam-immersive-shell
  .exam-choice[data-state="selected"] {
  background: var(--deck-selected);
  border-color: var(--exam-accent);
  box-shadow: inset 3px 0 var(--deck-action);
}
html[data-theme]
  .site-shell.exam-focus-layout.exam-immersive-shell
  .exam-choice[data-state="selected"]
  .exam-choice-letter {
  background: var(--deck-action);
  border-color: var(--deck-action);
  color: var(--deck-action-ink);
}
html[data-theme]
  .site-shell.exam-focus-layout.exam-immersive-shell
  .exam-choice[data-state="correct"] {
  background: var(--exam-correct-bg);
  border-color: var(--exam-positive);
  box-shadow: inset 3px 0 var(--exam-positive);
}
html[data-theme]
  .site-shell.exam-focus-layout.exam-immersive-shell
  .exam-choice[data-state="incorrect"] {
  background: var(--exam-wrong-bg);
  border-color: var(--exam-negative);
  box-shadow: inset 3px 0 var(--exam-negative);
}
.exam-immersive-shell .exam-choice[data-state="correct"] .exam-choice-letter,
.exam-immersive-shell .exam-choice[data-state="incorrect"] .exam-choice-letter {
  background: transparent;
}
.exam-immersive-shell .exam-save-row {
  gap: 9px;
  margin: 18px 0 0;
  padding: 14px 0;
  border-top: 1px solid var(--exam-line);
}
.exam-immersive-shell .exam-save-row .exam-confidence {
  font-size: 12px;
  color: var(--exam-muted);
  min-width: 180px;
}
.exam-immersive-shell .exam-actions {
  margin-top: 4px;
  padding-top: 12px;
  gap: 8px;
}
.exam-immersive-shell .exam-pagination {
  gap: 7px;
}
.exam-immersive-shell .exam-mark {
  color: var(--deck-flag) !important;
}
.exam-immersive-shell .exam-save-status {
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.45;
}
.exam-immersive-shell .exam-feedback {
  background: var(--exam-subtle);
  border: 1px solid var(--exam-line);
  border-left: 4px solid var(--deck-rule);
  border-radius: 5px;
  margin: 18px 0;
  padding: 18px;
}
.exam-immersive-shell .exam-feedback[data-result="correct"] {
  border-left-color: var(--exam-positive);
}
.exam-immersive-shell .exam-feedback[data-result="incorrect"] {
  border-left-color: var(--exam-negative);
}
.exam-immersive-shell .exam-references li {
  border-radius: 4px;
}
.exam-immersive-shell .exam-result {
  margin: 0;
  background: var(--deck-paper);
  border: 0;
  border-bottom: 1px solid var(--exam-line);
  border-radius: 0;
  padding: 22px 26px;
  gap: 22px;
}
.exam-immersive-shell .exam-result .study-score {
  font-size: clamp(24px, 3vw, 38px);
}
.exam-immersive-shell .exam-kicker {
  color: var(--exam-accent);
}
.exam-immersive-shell .exam-main-column > .study-panel {
  max-width: 1100px;
  margin: 16px auto 0;
}
.exam-immersive-shell .study-error {
  margin: 12px 26px;
}
.exam-focus-layout .study-preparation-content[hidden] {
  display: none !important;
}
.showcase-workspace {
  max-width: 1050px !important;
  padding: 0 24px 30px !important;
  min-height: 100dvh;
}
.showcase-workspace .showcase-header {
  border-bottom: 1px solid var(--exam-line);
  padding: 18px 0 !important;
  margin-bottom: 24px;
}
.showcase-workspace .exam-brand-icon,
.showcase-mode-icon {
  background: var(--exam-subtle);
  color: var(--exam-accent);
  border: 1px solid var(--exam-line);
  border-radius: 5px;
}
html[data-theme] .showcase-workspace .appearance-control button {
  background: transparent;
  border: 1px solid var(--exam-line);
  border-radius: 4px;
  color: var(--exam-muted);
}
html[data-theme] .showcase-workspace .appearance-control button[aria-pressed="true"] {
  background: var(--deck-selected);
  color: var(--exam-accent);
  border-color: var(--exam-accent);
}
.showcase-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px 170px;
  align-items: center;
  gap: 22px;
  background: var(--exam-card);
  border: 1px solid var(--exam-line);
  border-left: 5px solid var(--deck-action);
  border-radius: 7px;
  padding: 25px 26px;
  margin-bottom: 25px;
}
.showcase-brief-copy .showcase-kicker {
  margin: 0 0 8px;
  font-size: 10px;
}
.site-shell.exam-focus-layout .showcase-brief-copy h2 {
  font-size: clamp(25px, 3.5vw, 39px);
  letter-spacing: -0.9px;
  margin: 0 0 8px;
  font-weight: 700;
}
.showcase-brief-copy > p:last-child {
  color: var(--exam-muted);
  font-size: 13px;
  margin: 0;
}
.showcase-brief-copy h2:focus {
  outline: none;
}
.showcase-brief-id {
  border-left: 1px solid var(--exam-line);
  padding-left: 18px;
  display: grid;
  gap: 5px;
}
.showcase-brief-id > span {
  font-size: 9px;
  color: var(--exam-muted);
  font-weight: 700;
  letter-spacing: 1px;
}
.showcase-brief-id strong {
  font-size: 31px;
  letter-spacing: 1px;
  font-weight: 800;
}
.showcase-brief-id small {
  font-size: 11px;
  color: var(--exam-muted);
}
.showcase-runway {
  height: 56px;
  border: 1px solid var(--exam-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transform: rotate(-13deg);
  padding: 6px 8px;
  overflow: hidden;
  color: var(--exam-muted);
  background: var(--exam-subtle);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.showcase-runway i {
  position: absolute;
  left: 31%;
  right: 31%;
  border-top: 2px dashed var(--exam-muted);
}
.showcase-runway-axis {
  position: absolute;
  inset: 5px;
  border-top: 1px solid var(--exam-line);
  border-bottom: 1px solid var(--exam-line);
  pointer-events: none;
}
.showcase-mode-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--exam-line);
  border-radius: 6px;
  background: var(--exam-card);
  overflow: hidden;
}
.showcase-mode-grid .showcase-section-title {
  font-size: 12px;
  letter-spacing: 0.35px;
  color: var(--exam-muted);
  font-weight: 700;
  margin: 0;
  padding: 15px 20px 12px;
  border-bottom: 1px solid var(--exam-line);
}
.showcase-mode-grid .showcase-mode-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 19px 20px;
  border: 0;
  border-bottom: 1px solid var(--exam-line);
  border-radius: 0;
  background: transparent;
}
.showcase-mode-grid .showcase-mode-card:last-child {
  border-bottom: 0;
}
.showcase-mode-card .showcase-mode-icon {
  width: 40px;
  height: 40px;
}
.showcase-mode-grid .showcase-mode-card h3 {
  font-size: 17px;
  margin: 0 0 4px;
  letter-spacing: -0.15px;
}
.showcase-mode-grid .showcase-mode-card p {
  font-size: 12px;
  margin: 0 0 5px;
  line-height: 1.4;
}
.showcase-mode-grid .showcase-mode-meta {
  color: var(--exam-muted);
  font-size: 11px;
}
.showcase-mode-grid .showcase-mode-card button {
  min-width: 140px;
  white-space: nowrap;
}
.showcase-resume {
  border-color: var(--exam-line);
  border-left: 4px solid var(--deck-action);
  border-radius: 5px;
}
.showcase-disclaimer {
  font-size: 11px;
  max-width: 850px;
  margin: 18px 0;
}
.study-redesign .study-steps .written-exam-launch {
  border-left: 3px solid #d37a37;
  padding-left: 13px;
}
html[data-theme="dark"] .site-shell.study-redesign .written-exam-launch button:enabled {
  background: #eeb276;
  border-color: #eeb276;
  color: #25180f;
}
html[data-theme="light"] .site-shell.study-redesign .written-exam-launch button:enabled {
  background: #ad491b;
  border-color: #ad491b;
  color: #fffaf1;
}
@media (min-width: 1160px) {
  .exam-task-grid.exam-has-exhibit {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    grid-template-areas: "answers exhibit";
    gap: 26px;
  }
  .exam-task-grid .exam-exhibit {
    grid-area: exhibit;
  }
  .exam-task-grid .exam-choices {
    grid-area: answers;
  }
}
@media (min-width: 681px) {
  .exam-immersive-shell .exam-rail {
    position: sticky;
    top: 0;
    align-self: start;
    min-height: calc(100dvh - 132px);
    max-height: 100dvh;
    overflow: auto;
  }
}
@media (max-width: 900px) {
  .exam-immersive-shell .exam-header {
    padding: 12px 17px !important;
    gap: 10px;
  }
  .exam-immersive-shell .exam-header-actions .appearance-control {
    display: none;
  }
  .exam-immersive-shell .exam-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .exam-immersive-shell .exam-main-column {
    padding: 24px 22px 32px;
  }
  .showcase-brief {
    grid-template-columns: minmax(0, 1fr) 135px;
    gap: 16px;
  }
  .showcase-runway {
    display: none;
  }
}
@media (max-width: 680px) {
  .site-shell.study-redesign.exam-focus-layout.exam-immersive-shell {
    padding: 0 !important;
  }
  .exam-immersive-shell .exam-header {
    align-items: flex-start;
    padding: 10px 12px !important;
    flex-direction: column;
    gap: 8px !important;
  }
  .exam-immersive-shell .exam-header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
  }
  .exam-immersive-shell .exam-brand-icon {
    display: grid;
    width: 30px;
    height: 30px;
  }
  .site-shell.exam-focus-layout .exam-header h1 {
    font-size: 16px;
  }
  .exam-immersive-shell .exam-brand {
    font-size: 9px;
  }
  .exam-immersive-shell .exam-timer {
    font-size: 11px;
    padding: 6px 8px;
  }
  html[data-theme] .site-shell.exam-focus-layout .exam-header button.exam-finish,
  html[data-theme] .site-shell.exam-focus-layout .exam-header button.exam-exit {
    font-size: 11px;
    padding: 8px 9px;
    max-width: none;
  }
  .exam-demo-notice {
    font-size: 10px;
    padding: 6px 12px;
  }
  .exam-immersive-shell .exam-session-bar {
    padding: 10px 12px 0;
  }
  .exam-immersive-shell .exam-session-title {
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
  }
  .exam-immersive-shell .exam-session-title h2 {
    font-size: 12px;
  }
  .exam-immersive-shell .exam-session-title p {
    font-size: 11px;
  }
  .exam-immersive-shell .exam-session-progress {
    margin: 0 -12px;
  }
  .exam-immersive-shell .exam-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "rail" "main";
    grid-template-rows: auto 1fr;
    min-height: calc(100dvh - 175px);
  }
  .exam-immersive-shell .exam-rail {
    border: 0;
    border-bottom: 1px solid var(--exam-line);
    padding: 10px 12px;
    max-height: none;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .exam-immersive-shell .exam-navigator {
    padding: 0;
  }
  .exam-immersive-shell .exam-nav-toggle {
    display: inline-flex;
    font-size: 11px !important;
    border: 1px solid var(--exam-line);
    background: var(--exam-card);
    color: var(--exam-ink);
    border-radius: 4px;
    padding: 6px 9px !important;
  }
  .exam-immersive-shell .exam-navigator-title h3 {
    font-size: 12px !important;
  }
  .exam-immersive-shell .exam-nav-stats {
    display: flex;
    gap: 12px;
  }
  .exam-immersive-shell .exam-number-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-height: 180px;
    gap: 4px;
  }
  html[data-theme] .site-shell.exam-focus-layout button.exam-number {
    justify-content: center;
    min-height: 35px;
    padding: 5px 2px;
    font-size: 11px;
    border: 1px solid var(--exam-line);
  }
  html[data-theme] .site-shell.exam-focus-layout button.exam-number[aria-current="step"] {
    padding: 5px 2px;
    border: 2px solid var(--exam-accent);
  }
  .exam-immersive-shell .exam-number-caption {
    display: none;
  }
  .exam-immersive-shell .exam-number .exam-number-indicator {
    margin-left: 0;
    font-size: 11px;
  }
  .exam-immersive-shell .exam-tools {
    margin-top: 10px;
    padding-top: 9px;
  }
  .exam-immersive-shell .exam-tools summary span {
    display: inline;
    margin-left: 6px;
  }
  .exam-immersive-shell .exam-rail-note {
    display: none;
  }
  .exam-immersive-shell .exam-topic-results {
    padding-top: 10px;
    margin-top: 10px;
  }
  .exam-immersive-shell .exam-main-column {
    padding: 16px 13px 26px;
  }
  .site-shell.exam-focus-layout.exam-immersive-shell .exam-prompt {
    font-size: 18px;
    line-height: 1.42;
    margin: 13px 0 15px;
  }
  .exam-immersive-shell .exam-question-meta {
    padding-bottom: 7px;
  }
  .exam-immersive-shell .exam-exhibit {
    padding: 10px;
  }
  .exam-immersive-shell .exam-exhibit th,
  .exam-immersive-shell .exam-exhibit td {
    font-size: 12px;
    padding: 6px 7px;
  }
  .exam-task-grid {
    gap: 12px;
  }
  html[data-theme] .site-shell.exam-focus-layout.exam-immersive-shell .exam-choice {
    padding: 10px 9px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .exam-immersive-shell .exam-choice-text {
    font-size: 14px;
  }
  .exam-immersive-shell .exam-choice-letter {
    min-width: 25px;
    height: 25px;
  }
  .exam-immersive-shell .exam-save-row {
    margin: 12px 0 0;
    padding: 12px 0;
  }
  .exam-immersive-shell .exam-save-row .exam-confidence {
    flex-basis: 100%;
    min-width: 0;
  }
  .exam-immersive-shell .exam-save-row button {
    flex: 1 1 42%;
    width: auto;
  }
  .exam-immersive-shell .exam-actions {
    margin-top: 0;
  }
  .exam-immersive-shell .exam-mark {
    width: auto;
  }
  .exam-immersive-shell .exam-result {
    padding: 15px 13px;
    gap: 12px;
  }
  .exam-immersive-shell .exam-result .exam-primary {
    width: auto;
  }
  .exam-immersive-shell .exam-feedback {
    padding: 12px;
  }
  .exam-immersive-shell .study-error {
    margin: 10px 12px;
  }
  .showcase-workspace {
    padding: 0 12px 22px !important;
  }
  .showcase-brief {
    padding: 18px 16px;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 17px;
  }
  .showcase-brief-id {
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 0;
    border-top: 1px solid var(--exam-line);
    padding: 12px 0 0;
    flex-wrap: wrap;
  }
  .showcase-brief-id strong {
    font-size: 21px;
  }
  .showcase-mode-grid .showcase-mode-card {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 14px 13px;
    gap: 10px;
  }
  .showcase-mode-grid .showcase-mode-card button {
    grid-column: 2;
    justify-self: start;
    min-width: 0;
    width: auto;
  }
  .showcase-mode-grid .showcase-mode-card h3 {
    font-size: 15px;
  }
  .showcase-mode-grid .showcase-section-title {
    padding: 11px 13px;
  }
  .showcase-mode-card .showcase-mode-icon {
    width: 33px;
    height: 33px;
  }
}
@media (max-width: 350px) {
  .exam-immersive-shell .exam-header-actions .exam-timer {
    flex: 1 0 100%;
  }
  .exam-immersive-shell .exam-number-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .exam-immersive-shell .exam-result-metrics {
    gap: 12px;
  }
}

/* Review pass 3: stronger visual hierarchy, focused assessment surface,
   compact controls and an actual written debrief rather than another dashboard. */
.site-shell.study-redesign.exam-focus-layout {
  --deck-header: #20231f;
  --deck-rail: #212521;
  --deck-rule: #f5a14a;
  --deck-action: #f4a24e;
  --deck-action-ink: #24170b;
  --exam-accent: #ffc17f;
  --exam-card: #2c302b;
  --deck-paper: #292d28;
  --exam-subtle: #222621;
  --exam-line: #4b5348;
  --exam-ink: #fcf8ed;
  --exam-muted: #c4c9be;
  --deck-selected: #40372a;
}
html[data-theme="light"] .site-shell.study-redesign.exam-focus-layout {
  --deck-header: #242a25;
  --deck-rail: #e8e7dd;
  --deck-paper: #fffefa;
  --exam-bg: #e4e1d5;
  --exam-card: #fffefa;
  --exam-subtle: #f4f1e8;
  --exam-line: #cbcbbd;
  --exam-ink: #212b23;
  --exam-muted: #555e50;
  --exam-accent: #934017;
  --deck-action: #b34c1d;
  --deck-action-ink: #fffdf7;
  --deck-selected: #fae8d8;
  --deck-rule: #b34c1d;
}
.exam-immersive-shell .exam-question-meta {
  align-items: center;
  min-height: 28px;
  gap: 9px;
}
.exam-immersive-shell .exam-tags {
  align-items: center;
  gap: 9px;
}
.exam-immersive-shell .exam-tags .exam-question-number {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
  color: var(--exam-accent);
  border-right: 1px solid var(--exam-line);
  padding: 0 10px 0 0;
}
.exam-immersive-shell .exam-prompt {
  font-weight: 620 !important;
  letter-spacing: -0.6px !important;
}
.exam-immersive-shell .exam-session-bar {
  background: var(--deck-paper);
}
.exam-immersive-shell .exam-session-progress {
  height: 4px;
}
.exam-immersive-shell .exam-exhibit {
  border-radius: 7px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.exam-immersive-shell .exam-exhibit-heading {
  padding: 0 0 8px;
  border-bottom: 1px solid var(--exam-line);
}
.exam-immersive-shell .exam-exhibit-table {
  max-width: 100%;
  overflow: auto;
}
.exam-immersive-shell .exam-exhibit table {
  table-layout: auto;
  width: 100%;
}
.exam-immersive-shell .exam-exhibit th,
.exam-immersive-shell .exam-exhibit td {
  overflow-wrap: anywhere;
}
.exam-immersive-shell .exam-exhibit tbody tr:nth-child(even) {
  background: var(--deck-paper);
}
html[data-theme]
  .site-shell.exam-focus-layout.exam-immersive-shell
  .exam-choice:not(:has(input:disabled)):hover {
  border-color: var(--exam-accent);
  background: var(--deck-selected);
}
.exam-immersive-shell .exam-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 0 0;
  border-top: 1px solid var(--exam-line);
}
.exam-action-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 280px;
  flex-wrap: wrap;
  min-width: 0;
}
.exam-immersive-shell .exam-actions .exam-confidence {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--exam-muted);
  flex: 1 1 180px;
}
.exam-immersive-shell .exam-confidence input {
  flex-shrink: 0;
  margin: 0;
}
.exam-immersive-shell .exam-actions .exam-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex: 0 1 auto;
}
.exam-immersive-shell .exam-actions .exam-mark {
  width: auto;
  font-size: 12px;
  white-space: nowrap;
}
.exam-immersive-shell .exam-actions .exam-pagination button {
  white-space: nowrap;
}
.exam-immersive-shell .exam-save-status {
  min-height: 17px;
  font-size: 11px;
  margin-top: 9px;
}
.exam-immersive-shell .exam-feedback {
  padding: 20px;
  margin: 20px 0 0;
  border-radius: 6px;
  background: var(--exam-subtle);
}
.exam-immersive-shell .exam-feedback-heading h4 {
  font-size: 18px !important;
  font-weight: 750;
}
.exam-immersive-shell .exam-feedback-heading span:not(.exam-feedback-symbol) {
  font-size: 12px;
}
.exam-immersive-shell .exam-explanation {
  font-size: 15px;
  line-height: 1.7;
}
.exam-immersive-shell .exam-correct-answer {
  font-size: 14px;
  line-height: 1.55;
}
.exam-immersive-shell .exam-choice[data-state="correct"] .exam-choice-letter {
  border: 1px solid var(--exam-positive);
}
.exam-immersive-shell .exam-choice[data-state="incorrect"] .exam-choice-letter {
  border: 1px solid var(--exam-negative);
}
.exam-immersive-shell .exam-choice-state {
  font-size: 10px;
  letter-spacing: 0.2px;
}
.exam-immersive-shell .exam-result {
  border-left: 5px solid var(--deck-action);
}
.exam-immersive-shell .exam-result-metrics > div {
  min-width: 54px;
}
.exam-immersive-shell .exam-result-metrics strong {
  font-size: 26px;
}
.exam-immersive-shell .exam-result-metrics > div:first-child strong {
  color: var(--exam-positive);
}
.exam-immersive-shell .exam-result-metrics > div:nth-child(2) strong {
  color: var(--exam-negative);
}
.exam-immersive-shell .exam-reference-note {
  display: none;
}
.showcase-brief {
  background: var(--exam-card);
}
.showcase-brief-id strong {
  color: var(--exam-accent);
}
.showcase-mode-grid .showcase-mode-card:first-of-type {
  border-left: 3px solid var(--deck-action);
}
@media (max-width: 900px) {
  .exam-immersive-shell .exam-actions .exam-pagination {
    flex: 1 1 auto;
  }
}
@media (max-width: 680px) {
  .exam-immersive-shell .exam-actions {
    margin-top: 14px;
    padding-top: 12px;
    gap: 11px;
  }
  .exam-action-left {
    flex-basis: 100%;
    gap: 9px;
  }
  .exam-immersive-shell .exam-actions .exam-confidence {
    flex: 1 1 130px;
    font-size: 11px !important;
  }
  .exam-immersive-shell .exam-actions .exam-pagination {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 5px;
  }
  .exam-immersive-shell .exam-actions .exam-pagination:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .exam-immersive-shell .exam-actions .exam-pagination button {
    white-space: normal;
    font-size: 11px !important;
    padding: 10px 5px !important;
  }
  .exam-immersive-shell .exam-explanation {
    font-size: 14px;
    line-height: 1.6;
  }
  .exam-immersive-shell .exam-result-metrics strong {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .exam-immersive-shell .exam-choice {
    transition:
      background-color 0.12s,
      border-color 0.12s;
  }
}

.exam-worked-reasoning h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--exam-accent);
  margin: 16px 0 6px;
}
.exam-worked-reasoning .exam-explanation {
  margin: 0;
}

.training-portal {
  --portal-line: #dce5ed;
  --portal-soft: #eaf3f6;
  --portal-accent: #087b8e;
  --portal-caption: #5e7287;
  padding-top: 36px;
}
html[data-theme="dark"] .training-portal {
  --portal-line: #25394b;
  --portal-soft: #122b3c;
  --portal-accent: #64d4df;
  --portal-caption: #a0b3c6;
}
.training-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.training-heading h1 {
  font-size: clamp(29px, 3.3vw, 44px);
  letter-spacing: -1.5px;
  margin: 8px 0 12px;
}
.training-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--portal-caption);
  font-size: 14px;
  line-height: 1.6;
}
.portal-view-switch {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
}
.site-shell.training-portal .portal-view-switch button {
  font: inherit;
  font-size: 12px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--portal-caption);
  border-radius: 0;
  padding: 9px 10px;
  cursor: pointer;
}
.site-shell.training-portal .portal-view-switch button[aria-pressed="true"] {
  color: var(--portal-accent);
  border-bottom-color: var(--portal-accent);
}
.portal-preview,
.portal-message {
  font-size: 13px;
  line-height: 1.6;
  color: var(--portal-caption);
  margin: 16px 0 25px;
}
.portal-preview {
  border-left: 3px solid var(--portal-accent);
  padding: 12px 16px;
  background: var(--portal-soft);
}
.portal-message a {
  color: var(--portal-accent);
  margin-left: 8px;
}
.portal-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--portal-line);
  padding-bottom: 28px;
  gap: 32px;
}
.portal-feature-photo {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 4px;
}
.portal-feature-photo img {
  object-fit: cover;
  object-position: 55% 42%;
}
.portal-feature-copy {
  align-self: center;
  padding: 16px 12px 16px 0;
}
.portal-feature-copy h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(26px, 2.6vw, 35px);
  margin: 9px 0 14px;
  font-weight: 650;
}
.portal-feature-copy h2 svg {
  color: var(--portal-accent);
  flex-shrink: 0;
}
.portal-feature-copy > p:not(.eyebrow) {
  color: var(--portal-caption);
  line-height: 1.7;
  font-size: 14px;
  max-width: 440px;
  margin: 0 0 22px;
}
.portal-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-radius: 5px;
  padding: 14px 20px;
  background: #087f90;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
html[data-theme="dark"] .portal-primary {
  background: #48cad5;
  color: #082333;
}
.portal-primary:hover {
  filter: brightness(1.08);
}
.portal-feature-note {
  display: block;
  margin-top: 15px;
  color: var(--portal-caption);
  font-size: 11px;
  line-height: 1.5;
}
.portal-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--portal-line);
  padding-bottom: 15px;
  margin-bottom: 20px;
}
.portal-section-heading h2 {
  font-size: 22px;
  font-weight: 650;
  margin: 0;
}
.portal-section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--portal-accent);
  text-decoration: none;
}
.portal-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.portal-program {
  min-width: 0;
}
.portal-program-photo {
  display: block;
  position: relative;
  aspect-ratio: 1.9;
  overflow: hidden;
  border-radius: 3px;
  margin-bottom: 15px;
  background: var(--portal-soft);
}
.portal-program-photo img {
  object-fit: cover;
  transition: transform 0.3s ease;
}
.portal-program-photo:hover img {
  transform: scale(1.025);
}
.portal-program-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.portal-program-title svg {
  color: var(--portal-accent);
  flex-shrink: 0;
}
.portal-program-title h3 {
  font-size: 19px;
  font-weight: 650;
  margin: 0;
}
.portal-access {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--portal-caption);
  margin: 8px 0 0 39px;
}
.portal-access.available {
  color: var(--portal-accent);
}
.portal-program > p {
  line-height: 1.6;
  font-size: 12px;
  color: var(--portal-caption);
  min-height: 39px;
  margin: 10px 0 12px;
}
.portal-text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--portal-accent);
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
}
.portal-coming {
  font-size: 12px;
  color: var(--portal-caption);
}
.portal-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  border-top: 1px solid var(--portal-line);
  padding: 20px 0 4px;
  font-size: 12px;
}
.portal-footer small,
.portal-footer > span:last-child {
  color: var(--portal-caption);
  font-size: 10px;
  margin-left: 8px;
}
.portal-tool-list > a {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid var(--portal-line);
  color: inherit;
  text-decoration: none;
}
.portal-tool-list > a > svg {
  color: var(--portal-accent);
}
.portal-tool-list h3 {
  margin: 0 0 7px;
  font-size: 19px;
}
.portal-tool-list p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--portal-caption);
}
.portal-tool-list small {
  display: block;
  color: var(--portal-caption);
  font-size: 11px;
  margin-top: 8px;
}
.portal-standby {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 25px 0;
  color: var(--portal-caption);
}
.portal-standby p {
  margin: 0;
  font-size: 13px;
}
.portal-standby span {
  display: block;
  margin-top: 7px;
  font-size: 12px;
}
.training-portal a:focus-visible,
.training-portal button:focus-visible {
  outline: 3px solid var(--portal-accent);
  outline-offset: 5px;
}
@media (min-width: 1500px) {
  .training-portal {
    padding-left: 60px;
    padding-right: 60px;
  }
  .portal-feature-photo {
    min-height: 310px;
  }
}
@media (max-width: 1100px) {
  .training-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .portal-feature {
    gap: 24px;
  }
  .portal-feature-photo {
    min-height: 250px;
  }
  .portal-feature-copy h2 {
    font-size: 26px;
  }
  .portal-primary {
    gap: 12px;
    padding: 12px 15px;
  }
  .portal-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .training-heading h1 {
    font-size: 29px;
  }
  .portal-feature {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }
  .portal-feature-photo {
    min-height: 210px;
  }
  .portal-feature-copy {
    padding: 12px 0 0;
  }
  .portal-catalog {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .portal-program-photo {
    aspect-ratio: 2.05;
  }
  .portal-program > p {
    min-height: 0;
  }
  .portal-section-heading {
    align-items: flex-start;
    gap: 15px;
  }
  .portal-section-heading > a {
    max-width: 125px;
    line-height: 1.5;
  }
  .portal-footer {
    flex-direction: column;
    gap: 8px;
  }
  .portal-footer > span:last-child {
    margin-left: 0;
  }
  .portal-tool-list > a {
    gap: 12px;
    grid-template-columns: 28px minmax(0, 1fr) 18px;
  }
  .portal-tool-list h3 {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portal-program-photo img {
    transition: none;
  }
}

.written-progress {
  margin: 30px 0;
  border-top: 1px solid var(--portal-line);
  padding-top: 25px;
}
.written-progress .portal-section-heading > span {
  color: var(--portal-caption);
  font-size: 11px;
}
.written-progress article {
  padding: 15px 0 24px;
  border-bottom: 1px solid var(--portal-line);
}
.written-progress-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.written-progress-title h3 {
  font-size: 17px;
  margin: 0;
}
.written-progress-title small {
  font-weight: 400;
  color: var(--portal-caption);
  font-size: 12px;
  margin-left: 8px;
}
.written-progress-title a {
  color: var(--portal-accent);
  font-size: 12px;
  text-decoration: none;
}
.written-progress-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin: 22px 0;
}
.written-progress-stages span,
.written-progress-stages strong {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}
.written-progress-stages span {
  color: var(--portal-caption);
}
.written-progress progress {
  width: 100%;
  height: 6px;
  accent-color: var(--portal-accent);
}
.written-progress-detail {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--portal-caption);
  font-size: 12px;
  margin: 18px 0;
}
.written-progress p {
  color: var(--portal-caption);
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .written-progress-title,
  .written-progress-detail {
    align-items: flex-start;
    flex-direction: column;
  }
  .written-progress-stages {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .written-progress-title small {
    display: block;
    margin: 8px 0 0;
  }
}
