:root {
  color-scheme: light;
  --paper: #f6f7f2;
  --white: #fff;
  --ink: #172820;
  --muted: #5a6d62;
  --line: #dde5de;
  --green: #215841;
  --green-dark: #153b2e;
  --green-soft: #e6f0e7;
  --lime: #e0f2c7;
  --focus: #287652;
  --shadow: 0 2px 3px #17322706, 0 12px 30px #17322705;
  --radius: 18px;
  --sidebar: 230px;
  --gutter: clamp(20px, 3.4vw, 48px);
  --body: "DM Sans", "Segoe UI", sans-serif;
  --heading: "Manrope", "Segoe UI", sans-serif;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; font-size: 15px; line-height: 1.55; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:not(:disabled), select { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
button, input, select, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
h1, h2, h3, h4, .brand, .number, .weight, .ring-value { font-family: var(--heading); }
h1, h2, h3, h4 { line-height: 1.19; letter-spacing: -.033em; }
h1 { font-size: clamp(31px, 3.15vw, 47px); font-weight: 800; }
h2 { font-size: clamp(21px, 2vw, 29px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 800; }
h4 { font-size: 16px; font-weight: 800; }
small { font-size: 12px; }
p a, .prose-link { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.icon { width: 20px; height: 20px; display: block; flex: none; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 15; top: 5px; left: 5px; background: white; padding: 12px 20px; border-radius: 8px; }
.loading { color: var(--muted); padding: 36px 0; }

.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); background: #fcfdf9; border-right: 1px solid var(--line); padding: 25px 17px 18px; display: flex; flex-direction: column; z-index: 5; overflow: auto; }
.brand { display: flex; align-items: center; gap: 11px; letter-spacing: -.055em; font-weight: 800; font-size: 23px; width: fit-content; padding: 0 7px; }
.brand-mark { display: block; flex: none; box-shadow: 0 3px 6px #184e3c24; border-radius: 11px; }
.brand-accent { color: var(--green); }
.nav-group { display: grid; gap: 4px; margin-top: 33px; }
.nav-group + .nav-group { margin-top: 27px; }
.nav-caption { margin: 0 11px 6px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.nav-link { display: flex; align-items: center; gap: 11px; color: #4b6054; font-weight: 650; min-height: 43px; padding: 9px 12px; border-radius: 9px; transition: background .15s, color .15s; }
.nav-link .icon { width: 18px; height: 18px; }
.nav-link:hover { background: #f1f5ef; color: var(--ink); }
.nav-link[aria-current="page"] { color: #17432e; background: #e6f0e5; font-weight: 800; }
.nav-link[aria-current="page"]::after { content: ""; margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: #2e6848; }
.sidebar-bottom { margin-top: auto; padding-top: 35px; }
.release-card { display: flex; gap: 9px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #f4f7f1; }
.release-card:hover { border-color: #96b3a0; }
.release-card strong, .release-card small { display: block; }
.release-card strong { font-size: 12px; white-space: nowrap; }
.release-card small { color: var(--muted); font-size: 10px; white-space: nowrap; margin-top: 2px; }
.release-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: #e6f0e5; color: var(--green); flex: none; }
.release-icon .icon, .release-arrow .icon { width: 15px; height: 15px; }
.release-arrow { margin-left: auto; color: var(--green); }
.independent { font-size: 11px; margin: 12px 0 0 6px; color: var(--muted); }
.portfolio-back { display: flex; gap: 5px; align-items: center; margin: 5px 0 0 6px; min-height: 34px; color: var(--green); font-size: 11px; font-weight: 700; }
.portfolio-back .icon { width: 13px; height: 13px; }
.portfolio-back:hover { text-decoration: underline; }
.workspace { margin-left: var(--sidebar); min-height: 100dvh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 4; background: #f9faf6f5; border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.topbar-inner, .content, .site-footer { width: 100%; max-width: 1450px; margin-inline: auto; padding-inline: var(--gutter); }
.topbar-inner { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 650; font-size: 13px; }
.breadcrumb strong { color: var(--ink); font-weight: 700; }
.breadcrumb span.separator { color: #8da092; margin-inline: 8px; }
.toolbar { display: flex; align-items: center; gap: 12px; }
.search-trigger { min-height: 36px; display: flex; align-items: center; gap: 8px; color: var(--muted); border: 1px solid var(--line); background: white; border-radius: 8px; padding: 6px 8px 6px 11px; font-size: 13px; }
.search-trigger .icon { width: 16px; height: 16px; }
.search-trigger:hover { color: var(--ink); border-color: #99b29e; }
kbd { display: inline-grid; place-items: center; min-width: 19px; height: 21px; padding: 0 4px; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; color: var(--muted); background: #f5f7f3; }
.toolbar-reference { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; background: var(--green-soft); color: var(--green-dark); border-radius: 999px; white-space: nowrap; font-size: 12px; font-weight: 750; }
.toolbar-reference:hover { background: #d9e9da; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #478055; flex: none; }
.icon-button.mobile-menu, .menu-scrim { display: none; }
.content { padding-top: 33px; padding-bottom: 42px; flex: 1; }
.site-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 15px 24px; color: var(--muted); font-size: 11px; }
.site-footer > a { display: inline-flex; gap: 4px; align-items: center; font-weight: 750; flex: none; }
.site-footer .icon { width: 13px; height: 13px; }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.page-heading p, .section-heading p { color: var(--muted); margin-top: 7px; }
.page-heading p { max-width: 68ch; font-size: 15px; }
.page-heading .page-action { flex: none; }
.exam-meta { display: flex; align-items: flex-start; justify-content: end; gap: 16px; white-space: nowrap; padding-bottom: 2px; }
.exam-meta div { display: grid; border-left: 1px solid #d8e2d9; padding-left: 15px; }
.exam-meta strong { font-family: var(--heading); font-size: 22px; line-height: 1.15; font-weight: 800; }
.exam-meta small { color: var(--muted); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.section-heading p { font-size: 14px; }
.section-link { display: inline-flex; gap: 6px; align-items: center; flex: none; color: var(--green); font-size: 13px; font-weight: 800; margin-bottom: 3px; }
.section-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.section-link .icon { width: 17px; height: 17px; }
.dashboard-section { margin-top: 30px; }
.surface { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.icon-tile { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--green); background: var(--green-soft); flex: none; }
.icon-tile.small { width: 37px; height: 37px; border-radius: 10px; }
.icon-tile .icon { width: 22px; height: 22px; }
.icon-tile.small .icon { width: 18px; height: 18px; }
.tone-people { --tone: #e7f2e8; --tone-text: #1f6044; --tone-line: #73a889; }
.tone-process { --tone: #e9eef8; --tone-text: #344c81; --tone-line: #7896cd; }
.tone-business { --tone: #f8eddf; --tone-text: #805320; --tone-line: #c69958; }
.tone-foundations { --tone: #eaf0e6; --tone-text: #345a3d; --tone-line: #83aa87; }
.tone-people .icon-tile, .tone-process .icon-tile, .tone-business .icon-tile, .tone-foundations .icon-tile { background: var(--tone); color: var(--tone-text); }
.eyebrow { color: var(--green); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .125em; }
.tag { display: inline-flex; gap: 6px; align-items: center; width: fit-content; max-width: 100%; min-height: 25px; border-radius: 999px; background: var(--tone, #edf3ec); color: var(--tone-text, var(--green)); font-size: 11px; font-weight: 800; padding: 3px 9px; white-space: nowrap; }
.tag .icon { width: 14px; height: 14px; }
.tag.neutral { background: #f2f4f1; color: #506459; }
.tag.review { background: #f8edda; color: #734b19; }

.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border: 1px solid transparent; border-radius: 9px; font-weight: 750; font-size: 14px; line-height: 1.25; transition: background .15s, border-color .15s, color .15s; text-align: center; }
.button .icon { width: 17px; height: 17px; }
.button.primary { color: white; background: var(--green); }
.button.primary:not(:disabled):hover { background: #123e2d; }
.button.secondary { color: var(--green-dark); background: white; border-color: #ccd9cf; }
.button.secondary:not(:disabled):hover { background: #f1f6ef; border-color: #8ba994; }
.button.subtle { color: var(--green); background: transparent; }
.button.subtle:not(:disabled):hover { background: var(--green-soft); }
.button.lime { background: var(--lime); color: #173322; }
.button.lime:hover { background: #f1ffdf; }
.button.ghost-light { color: #f4faef; background: #ffffff0c; border-color: #ffffff42; }
.button.ghost-light:hover { background: #ffffff24; }
.icon-button { display: inline-grid; place-items: center; width: 38px; height: 38px; background: white; border: 1px solid var(--line); border-radius: 9px; color: var(--green); flex: none; }
.icon-button:hover { background: #edf3ec; border-color: #a5b9a9; }
.icon-button[aria-pressed="true"] { background: var(--green-soft); border-color: #7da589; }
.icon-button .icon { width: 18px; height: 18px; }
.action-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }

.overview-hero { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(245px, 1fr); gap: 16px; }
.hero { position: relative; isolation: isolate; padding: 26px 29px; display: flex; align-items: center; min-height: 268px; border-radius: var(--radius); overflow: hidden; background: #0c3528; color: #fff; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 31%; background: linear-gradient(90deg, #0c3528 1%, #0c352869 24%, transparent 56%), url("./assets/hero.jpg") center 58% / cover no-repeat; }
.hero-content { width: min(68%, 440px); position: relative; z-index: 1; }
.hero .eyebrow { color: #d6edc8; display: flex; gap: 7px; align-items: center; margin-bottom: 12px; }
.hero .eyebrow .icon { width: 15px; height: 15px; }
.hero h2 { font-size: clamp(27px, 3vw, 42px); font-weight: 800; letter-spacing: -.047em; max-width: 17ch; }
.hero p { color: #deeee3; font-size: 14px; max-width: 30ch; margin-top: 10px; }
.hero .action-row { margin-top: 19px; }
.hero .duration { margin-left: 3px; font-size: 12px; color: #d5eadd; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.hero .duration .icon { width: 14px; height: 14px; }
.progress-card { padding: 20px 22px; }
.progress-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.progress-card h2 { font-size: 19px; }
.progress-overview { display: flex; align-items: center; gap: 14px; margin-block: 15px; }
.progress-ring { --progress: 0%; position: relative; display: grid; place-items: center; width: 74px; height: 74px; flex: none; border-radius: 50%; background: conic-gradient(#45835f var(--progress), #e6eee5 0); }
.progress-ring::before { content: ""; position: absolute; inset: 6px; background: white; border-radius: 50%; }
.ring-value { z-index: 1; font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.065em; }
.progress-copy strong, .progress-copy span { display: block; }
.progress-copy strong { font-size: 13px; }
.progress-copy span { font-size: 12px; color: var(--muted); margin-top: 2px; }
.progress-rows { display: grid; gap: 9px; border-top: 1px solid #e8ede7; padding-top: 13px; }
.progress-row { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.progress-row span { color: var(--muted); font-size: 12px; }
.progress-row strong { font: 800 13px var(--heading); white-space: nowrap; }

.domain-grid, .tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.domain-card { display: flex; flex-direction: column; padding: 17px 18px 15px; min-height: 193px; transition: border-color .16s, box-shadow .16s, transform .16s; }
.domain-card:hover, .tool-card:hover, .resource-link:hover { border-color: #92b19d; box-shadow: 0 7px 18px #17382d0d; transform: translateY(-2px); }
.domain-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 13px; gap: 8px; }
.weight { border-radius: 7px; background: var(--tone); color: var(--tone-text); padding: 4px 8px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.domain-card h3 { font-size: clamp(17px, 1.56vw, 22px); }
.domain-card p { margin: 6px 0 12px; font-size: 13px; color: var(--muted); }
.domain-card .meter { margin-top: auto; }
.meter { height: 5px; border-radius: 20px; background: #e8ede7; overflow: hidden; }
.meter > span { display: block; height: 100%; width: var(--width, 0%); background: var(--tone-line, #599574); border-radius: inherit; transition: width .22s ease; }
.domain-footer { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; margin-top: 8px; }
.domain-footer .icon { width: 17px; height: 17px; color: var(--green); }
.tool-card { min-height: 83px; display: flex; gap: 12px; align-items: center; text-align: left; padding: 13px; transition: border-color .16s, box-shadow .16s, transform .16s; }
.tool-card strong, .tool-card small { display: block; }
.tool-card small { color: var(--muted); margin-top: 2px; }
.tool-card > .icon { width: 17px; height: 17px; margin-left: auto; color: var(--green); }
.tool-card .muted-blue { color: #344c81; background: #e9eef8; }
.tool-card .muted-amber { color: #805320; background: #f8eddf; }

.tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.tab { min-height: 37px; display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: white; color: #41594a; padding: 7px 11px; font-weight: 700; font-size: 13px; }
.tab:hover { border-color: #8aab95; }
.tab[aria-current="page"], .tab[aria-pressed="true"] { background: var(--green-soft); color: var(--green-dark); border-color: #a9c5b2; }
.tab-count { font-size: 11px; color: var(--muted); }
.course-module { margin-bottom: 17px; overflow: hidden; }
.module-heading { display: flex; align-items: center; gap: 13px; padding: 17px 20px; border-bottom: 1px solid #e9eee8; }
.module-heading h2 { font-size: 21px; }
.module-heading p { color: var(--muted); font-size: 13px; margin-top: 3px; }
.module-heading > .tag { margin-left: auto; }
.lesson-list { list-style: none; padding: 0; }
.lesson-list li + li { border-top: 1px solid #eef1ed; }
.lesson-row { display: flex; gap: 12px; align-items: center; min-height: 56px; padding: 11px 20px; }
.lesson-row:hover { background: #f3f7f2; }
.lesson-row .lesson-name { flex: 1; font-weight: 750; }
.lesson-row .row-time { white-space: nowrap; font-size: 12px; color: var(--muted); }
.lesson-state { width: 27px; height: 27px; flex: none; display: grid; place-items: center; border: 1px solid #d9e3da; border-radius: 50%; color: #566a5c; background: #f9fbf8; font: 750 11px var(--heading); }
.lesson-state.done { color: var(--green); background: var(--green-soft); border-color: #bad1bf; }
.lesson-state .icon { width: 15px; height: 15px; }
.lesson-row > .icon { width: 15px; height: 15px; color: var(--muted); }
.lesson-row[aria-current="page"] { background: #eaf2e9; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 13px; font-weight: 750; margin-bottom: 16px; }
.back-link .icon { width: 17px; height: 17px; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.lesson-layout, .session-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 255px); gap: 16px; align-items: start; }
.lesson-article { padding: clamp(18px, 3.1vw, 34px); }
.lesson-header { margin-bottom: 27px; }
.lesson-header h1, .session-header h1 { font-size: clamp(27px, 3vw, 40px); margin-top: 10px; }
.lesson-header .inline-meta { margin-top: 9px; }
.lesson-intro { color: #354c40; font-size: 17px; margin: 17px 0 0; line-height: 1.65; }
.inline-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; color: var(--muted); font-size: 12px; }
.inline-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.inline-meta .icon { width: 15px; height: 15px; }
.lesson-section { border-top: 1px solid #e8eee7; padding-top: 18px; margin-top: 18px; }
.lesson-section h2 { font-size: 20px; margin-bottom: 6px; }
.lesson-section p, .callout p { color: #3f5548; line-height: 1.68; }
.callout { background: #eff5ed; border: 1px solid #dce9dc; margin-top: 23px; border-radius: 13px; padding: 15px 17px; }
.callout h2, .callout h3 { color: var(--green-dark); font-size: 16px; margin-bottom: 5px; display: flex; gap: 7px; align-items: center; }
.callout .icon { width: 18px; height: 18px; }
.callout.takeaway { background: #faf6eb; border-color: #eee5cd; }
.lesson-end { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 13px; padding-top: 20px; margin-top: 22px; border-top: 1px solid var(--line); }
.lesson-sidebar { position: sticky; top: 83px; overflow: hidden; max-height: calc(100dvh - 105px); overflow-y: auto; }
.lesson-sidebar header { padding: 15px; border-bottom: 1px solid #e9eee8; }
.lesson-sidebar header h2 { font-size: 16px; }
.lesson-sidebar header p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.lesson-sidebar header .meter { margin-top: 10px; }
.lesson-sidebar .lesson-row { min-height: 42px; padding: 8px 12px; gap: 7px; font-size: 12px; line-height: 1.35; }
.lesson-sidebar .lesson-state { width: 23px; height: 23px; }
.lesson-sidebar .row-time, .lesson-sidebar .lesson-row > .icon { display: none; }

.practice-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
.practice-card, .mock-card, .results-card, .reference-card, .empty-state { padding: 21px; }
.practice-card header, .mock-card header { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.practice-card h2, .mock-card h2 { font-size: 23px; }
.practice-card p, .mock-card p, .empty-state p { color: var(--muted); }
.form-field { display: grid; gap: 6px; margin-top: 16px; }
.form-field label { font-size: 13px; font-weight: 800; }
select, .text-input { min-height: 40px; max-width: 100%; color: var(--ink); padding: 8px 10px; border: 1px solid #cbd8cd; border-radius: 8px; background: #fff; }
select:hover, .text-input:hover { border-color: #8da997; }
.practice-card > .action-row, .mock-card > .action-row { margin-top: 18px; }
.mock-meta, .result-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mock-meta > div, .result-meta > div { flex: 1; min-width: 78px; background: #f4f7f1; border: 1px solid #e7eee5; padding: 10px; border-radius: 10px; }
.mock-meta strong, .result-meta strong { font: 800 21px var(--heading); display: block; }
.mock-meta span, .result-meta span { color: var(--muted); font-size: 11px; display: block; }
.resume-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 15px; margin-bottom: 15px; background: #ecf4e9; border: 1px solid #d3e4d4; border-radius: 12px; }
.resume-banner span { display: block; font-size: 13px; color: var(--muted); }
.history-list { list-style: none; padding: 0; overflow: hidden; }
.history-list li + li { border-top: 1px solid #e8eee7; }
.history-entry { display: flex; gap: 15px; justify-content: space-between; align-items: center; padding: 13px 16px; }
.history-entry:hover { background: #f4f7f2; }
.history-entry .history-detail { flex: 1; }
.history-entry strong, .history-entry small { display: block; }
.history-entry small { color: var(--muted); }
.history-entry > .icon { width: 16px; height: 16px; color: var(--muted); }
.history-entry > b { white-space: nowrap; color: var(--green); }
.question-card { padding: clamp(16px, 2.7vw, 27px); }
.session-header { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 17px; }
.session-header h1 { margin-top: 0; }
.session-header p { color: var(--muted); margin-top: 3px; }
.timer { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; font: 800 17px var(--heading); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--green); background: var(--green-soft); border-radius: 9px; }
.timer.urgent { background: #f8ebdf; color: #854417; }
.timer .icon { width: 17px; height: 17px; }
.question-card h2 { font-size: clamp(19px, 2.15vw, 26px); line-height: 1.35; margin-top: 12px; }
.question-card .answer-caption { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.case-study { background: #f1f5ef; border: 1px solid #dee9dd; border-radius: 11px; padding: 13px; margin-top: 14px; }
.case-study summary { cursor: pointer; font-weight: 800; color: var(--green-dark); }
.case-study p { margin-block: 8px 10px; font-size: 13px; color: #41594a; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.data-table th, .data-table td { border: 1px solid #dae4da; padding: 6px 9px; vertical-align: top; }
.data-table th { background: #e8efe7; color: var(--green-dark); }
.data-table td { background: #fbfcf9; }
.choice-list { border: 0; min-width: 0; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.choice { position: relative; display: flex; gap: 10px; align-items: center; cursor: pointer; min-height: 48px; border: 1px solid #d8e3da; background: #fcfdfa; border-radius: 10px; padding: 9px 11px; }
.choice:hover { border-color: #9cbaa4; }
.choice:has(input:checked) { background: #ebf4ea; border-color: #77a78a; }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice .choice-key { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border: 1px solid #d5e0d6; border-radius: 7px; background: #fff; color: #3f584a; font: 800 11px var(--heading); }
.choice .choice-text { flex: 1; min-width: 0; }
.choice.correct { border-color: #83b491; background: #edf6ed; }
.choice.incorrect { border-color: #d4a39c; background: #fbefed; }
.choice .icon { color: var(--green); width: 17px; height: 17px; }
.choice.incorrect .icon { color: #9b3b31; }
.choice:has(input:disabled) { cursor: default; }
.match-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, .65fr); gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; }
.match-row.correct { border-color: #81b28f; background: #eff6ed; }
.match-row.incorrect { border-color: #d4a39c; background: #fbefed; }
.match-row small { grid-column: 1 / -1; color: var(--green-dark); }
.match-row label { font-weight: 650; }
.answer-feedback { border: 1px solid #cedfd1; border-radius: 12px; background: #eef6ec; padding: 13px 15px; margin-top: 15px; }
.answer-feedback.incorrect { border-color: #ecd9bc; background: #fcf5e9; }
.answer-feedback h3 { font-size: 16px; margin-bottom: 5px; }
.answer-feedback p { color: #3e5548; }
.question-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 19px; padding-top: 15px; }
.navigator { padding: 14px; position: sticky; top: 83px; }
.navigator h2 { font-size: 17px; margin-bottom: 7px; }
.navigator .meter { margin-block: 8px 11px; }
.question-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.question-jump { min-height: 35px; position: relative; background: #fbfcf9; border: 1px solid #dbe4db; border-radius: 7px; font: 800 12px var(--heading); }
.question-jump:hover { border-color: #82aa8c; }
.question-jump.answered { background: #e4f0e5; border-color: #b5cdbd; color: #21573f; }
.question-jump.flagged::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #b07222; right: 4px; top: 4px; }
.question-jump[aria-current="step"] { border: 2px solid #2b6c50; }
.navigator .button { width: 100%; margin-top: 12px; }
.navigator p { font-size: 12px; color: var(--muted); }

.results-card { max-width: 970px; }
.results-card h2 { font-size: 22px; }
.results-card h3 { margin: 20px 0 10px; }
.results-card .action-row { margin-top: 16px; }
.domain-result { display: grid; grid-template-columns: minmax(125px,.8fr) minmax(70px,1fr) 72px; gap: 10px; align-items: center; margin-top: 11px; }
.domain-result strong { font-size: 13px; }
.domain-result > span { text-align: right; font-size: 13px; color: var(--muted); }
.review-list { display: grid; gap: 10px; margin-top: 12px; }
.review-item { overflow: hidden; }
.review-item summary { display: flex; align-items: center; gap: 8px; padding: 13px; cursor: pointer; font-weight: 750; }
.review-item summary > span:nth-child(2) { flex: 1; }
.review-item summary > .icon:last-child { width: 15px; height: 15px; }
.review-item[open] summary > .icon:last-child { transform: rotate(180deg); }
.review-item .review-content { border-top: 1px solid var(--line); padding: 13px 16px 15px; }
.review-item .review-content p + p { margin-top: 5px; }
.right-icon, .wrong-icon { display: grid; place-items: center; border-radius: 50%; width: 25px; height: 25px; flex: none; color: var(--green); background: var(--green-soft); }
.wrong-icon { color: #8b3b31; background: #faedea; }
.right-icon .icon, .wrong-icon .icon { width: 15px; height: 15px; }
.expired { margin-bottom: 14px; color: #6e4819; background: #faf2e1; border: 1px solid #ebd8b7; padding: 10px 12px; border-radius: 9px; }

.flashcard-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(175px, 240px); gap: 15px; align-items: start; }
.flashcard { padding: 20px; }
.flashcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 11px; }
.card-face { width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 13px; min-height: 225px; padding: 18px; border: 1px solid #d8e6d9; border-radius: 14px; background: radial-gradient(ellipse at 75% 90%, #e2efdb, #f1f6ed 65%); text-align: center; }
.card-face:hover { border-color: #96b9a0; }
.card-face .term { font: 800 clamp(25px,4vw,39px)/1.25 var(--heading); letter-spacing: -.045em; }
.card-face .definition { max-width: 57ch; font-size: 17px; }
.card-face .card-hint { color: var(--muted); font-size: 12px; }
.flashcard .action-row { margin-top: 13px; justify-content: space-between; }
.deck-progress { padding: 16px; }
.deck-progress h2 { font-size: 19px; }
.deck-progress .meter { margin-top: 11px; }
.deck-progress p { color: var(--muted); font-size: 13px; margin-top: 7px; }
.deck-progress .button { margin-top: 14px; width: 100%; }
.empty-state h2 { margin-bottom: 7px; }
.empty-state .button { margin-top: 13px; }

.reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.reference-card h2 { font-size: 23px; margin-bottom: 9px; }
.reference-card p, .reference-card li { color: #405649; }
.reference-card p + p { margin-top: 9px; }
.reference-card ul, .reference-card ol { margin-top: 8px; padding-left: 21px; }
.reference-card li + li { margin-top: 6px; }
.reference-card .mock-meta { margin-bottom: 12px; }
.reference-card .button, .reference-card > .section-link { margin-top: 13px; }
.ref-weights { display: grid; gap: 9px; margin-top: 10px; }
.ref-weight { display: grid; grid-template-columns: minmax(80px,1fr) minmax(65px,.67fr) 38px; align-items: center; gap: 9px; font-size: 13px; }
.ref-weight .meter { height: 7px; }
.ref-weight strong { text-align: right; }
.resource-list { display: grid; gap: 9px; }
.resource-link { display: flex; align-items: center; gap: 12px; padding: 15px; transition: border-color .16s, box-shadow .16s, transform .16s; }
.resource-link strong, .resource-link small { display: block; }
.resource-link strong { font-size: 15px; }
.resource-link small { font-size: 13px; color: var(--muted); margin-top: 2px; }
.resource-link > .icon { margin-left: auto; color: var(--green); width: 17px; height: 17px; }
.formula-card { overflow: hidden; margin-bottom: 14px; }
.formula-card header { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid var(--line); }
.formula-card h2 { font-size: 21px; }
.formula-row { display: grid; grid-template-columns: minmax(100px,.8fr) minmax(130px,.95fr) minmax(165px,1.2fr); gap: 13px; padding: 11px 15px; align-items: center; }
.formula-row + .formula-row { border-top: 1px solid #edf1ec; }
.formula-row code { color: var(--green-dark); background: #ecf4ec; padding: 5px 7px; border-radius: 5px; width: fit-content; font-size: 13px; }
.formula-row p { font-size: 13px; color: var(--muted); }

dialog { border: 1px solid var(--line); box-shadow: 0 20px 60px #102e2650; color: var(--ink); border-radius: 16px; }
dialog::backdrop { background: #162e24a6; backdrop-filter: blur(2px); }
.search-dialog { width: min(590px, calc(100% - 30px)); padding: 0; margin: min(12vh, 98px) auto auto; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--green); }
.search-field input { border: none; flex: 1; min-width: 0; color: var(--ink); padding: 8px 0; }
.search-field input:focus { outline: none; }
.search-results { max-height: min(56vh, 430px); overflow: auto; }
.search-results a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-bottom: 1px solid #edf1ec; }
.search-results a:hover { background: #eef4ec; }
.search-results a > span:nth-child(2) { flex: 1; }
.search-results a strong, .search-results a small { display: block; }
.search-results a small { color: var(--muted); }
.search-results p { padding: 16px 14px; color: var(--muted); font-size: 14px; }
.confirm-dialog { max-width: min(450px, calc(100% - 28px)); padding: 21px; }
.confirm-dialog h2 { font-size: 23px; margin-bottom: 8px; }
.confirm-dialog p { color: var(--muted); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 17px; }

@media (min-width: 1600px) {
  :root { --sidebar: 244px; }
}
@media (max-width: 1090px) {
  :root { --sidebar: 201px; --gutter: 25px; }
  .sidebar { padding-inline: 12px; }
  .overview-hero { grid-template-columns: minmax(0, 1.9fr) minmax(223px, 1fr); }
  .hero { padding-inline: 21px; }
  .hero-content { width: 75%; }
  .progress-card { padding-inline: 14px; }
  .lesson-layout, .session-layout { grid-template-columns: minmax(0, 1fr) minmax(173px, 210px); }
  .domain-card { padding-inline: 14px; }
}
@media (max-width: 835px) {
  :root { --sidebar: 224px; --gutter: 19px; }
  .workspace { margin-left: 0; }
  .sidebar { visibility: hidden; transform: translateX(-100%); transition: visibility .18s, transform .18s ease; }
  body.menu-open .sidebar { transform: none; visibility: visible; }
  body.menu-open { overflow: hidden; }
  .icon-button.mobile-menu { display: inline-grid; }
  .menu-scrim { display: block; position: fixed; inset: 0; border: none; padding: 0; background: #16302691; z-index: 4; }
  .topbar-inner { min-height: 59px; }
  .content { padding-top: 24px; }
  .overview-hero { grid-template-columns: minmax(0, 2fr) minmax(216px, 1fr); }
  .hero { min-height: 239px; }
  .hero h2 { font-size: clamp(25px,4.7vw,33px); }
  .progress-overview { gap: 10px; }
  .domain-card h3 { font-size: 18px; }
}
@media (max-width: 620px) {
  :root { --gutter: clamp(13px, 4.4vw, 19px); }
  .breadcrumb #breadcrumb { display: none; }
  .toolbar { gap: 7px; }
  .search-trigger { min-height: 36px; }
  .search-trigger kbd { display: none; }
  .toolbar-reference { padding-inline: 9px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 11px; margin-bottom: 17px; }
  .page-heading p { font-size: 14px; }
  .exam-meta { gap: 10px; padding: 0; }
  .exam-meta div { display: flex; align-items: baseline; gap: 5px; border-left: none; padding: 0; }
  .exam-meta div + div { padding-left: 10px; border-left: 1px solid var(--line); }
  .exam-meta strong { font-size: 16px; }
  .overview-hero, .lesson-layout, .session-layout, .practice-layout, .flashcard-layout, .reference-grid { grid-template-columns: 1fr; }
  .hero { min-height: 221px; padding: 20px; }
  .hero::before { inset-inline-start: 24%; opacity: .83; }
  .hero-content { width: 80%; }
  .hero h2 { font-size: 32px; }
  .hero p { max-width: 25ch; font-size: 13px; }
  .hero .eyebrow { margin-bottom: 9px; }
  .hero .action-row { margin-top: 14px; }
  .progress-card { padding: 15px 17px; }
  .progress-overview { margin-block: 10px; }
  .progress-ring { width: 57px; height: 57px; }
  .progress-ring::before { inset: 5px; }
  .ring-value { font-size: 18px; }
  .progress-rows { gap: 5px; padding-top: 9px; }
  .section-heading { gap: 7px; margin-bottom: 11px; }
  .section-heading p { font-size: 13px; }
  .section-link { font-size: 12px; gap: 3px; }
  .domain-grid, .tool-grid { grid-template-columns: 1fr; gap: 9px; }
  .domain-card { min-height: 0; padding: 12px 14px; }
  .domain-top { margin-bottom: 8px; }
  .domain-card .icon-tile { width: 38px; height: 38px; border-radius: 9px; }
  .domain-card p { margin-block: 4px 9px; }
  .dashboard-section { margin-top: 23px; }
  .tool-card { min-height: 65px; }
  .lesson-sidebar, .navigator { position: static; max-height: none; }
  .question-nav { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .module-heading { padding: 13px; gap: 9px; }
  .module-heading .icon-tile { width: 34px; height: 34px; border-radius: 8px; }
  .module-heading .icon { width: 17px; height: 17px; }
  .module-heading h2 { font-size: 18px; }
  .module-heading p { font-size: 12px; }
  .module-heading > .tag { display: none; }
  .lesson-row { padding-inline: 12px; }
  .lesson-intro { font-size: 15px; }
  .match-row { grid-template-columns: 1fr; }
  .formula-row { grid-template-columns: 1fr; gap: 5px; padding: 10px 12px; }
  .card-face { min-height: 196px; }
  .card-face .definition { font-size: 15px; }
  .session-header { gap: 8px; }
  .timer { font-size: 15px; padding: 7px 8px; }
  .timer .icon { display: none; }
  .site-footer { align-items: flex-start; }
}
@media (max-width: 365px) {
  .hero h2 { font-size: 27px; }
  .hero .duration { display: none; }
  .domain-result { grid-template-columns: minmax(100px, 1fr) 52px 48px; }
  .question-nav { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
