@charset "UTF-8";
:root {
  color-scheme: light;
  --paper: #f7f4ee;
  --surface: #fff;
  --ink: #243346;
  --muted: #62666b;
  --primary: #243b55;
  --primary-dark: #192d43;
  --accent: #963c46;
  --accent-dark: #7d303c;
  --line: #e5dfd5;
  --soft: #f3f1eb;
  --hover: #ece9e1;
  --selected: #e7ece8;
  --control-line: #87938c;
  --radius-control: 4px;
  --radius-panel: 8px;
  --serif: Georgia, "Times New Roman", serif;
  --headline: var(--serif);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button:disabled { cursor: default; }
svg { display: block; }
button { border: 0; }
button, a, input { touch-action: manipulation; }
:is(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
input[type="radio"]:focus-visible { outline-width: 2px; outline-offset: 3px; }
::selection { background: var(--selected); color: var(--ink); }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--primary); color: white; padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; display: flex; flex-direction: column; width: 264px; background: #fff; border-right: 1px solid var(--line); padding: 32px 20px 22px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px; font-family: var(--headline); font-size: 18px; font-weight: 400; line-height: 1.2; letter-spacing: -.45px; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 48px; border-radius: 4px; background: var(--primary); color: #fff; flex-shrink: 0; }
.brand-mark svg { width: 32px; height: 32px; }
.brand-second { display: block; }
.brand-dot { color: #a66c4e; }
.sidebar-label { font-size: 10px; letter-spacing: 1.6px; font-weight: 600; color: var(--muted); margin: 37px 14px 16px; }
.primary-nav { margin-top: 30px; }
.nav-overview { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 11px 14px; border-radius: var(--radius-control); font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-overview .icon { width: 18px; height: 18px; }
.nav-overview[aria-current] { background: var(--selected); color: var(--primary); }
.nav-overview:hover, .nav-module-link:hover, .nav-blocks a:hover { background: var(--hover); color: var(--primary); }
.nav-divider { height: 1px; background: var(--line); margin: 20px 14px; }
.utility-nav { border-top: 1px solid var(--line); margin: 18px 0 0; padding-top: 18px; }
.modules-label { margin-top: 25px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.modules-label span { letter-spacing: .5px; }
.nav-module-link { display: flex; align-items: flex-start; gap: 12px; min-height: 52px; padding: 12px 12px; border-radius: var(--radius-control); font-size: 13px; line-height: 1.7; color: var(--muted); }
.nav-number { color: var(--muted); font-size: 11px; line-height: 24px; font-variant-numeric: tabular-nums; }
.nav-module-link > span:nth-child(2) { flex: 1; }
.nav-module-link > .icon { width: 13px; height: 13px; margin-top: 5px; color: var(--muted); }
.nav-module-link.is-active, .nav-module-link[aria-current] { color: var(--primary); background: var(--soft); font-weight: 600; }
.nav-blocks { margin: 3px 0 10px 25px; padding-left: 12px; border-left: 1px solid var(--line); }
.nav-blocks a { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.5; padding: 12px 8px; min-height: 44px; border-radius: 4px; color: var(--muted); }
.nav-blocks a[aria-current] { color: var(--primary); font-weight: 650; background: var(--soft); }
.nav-block-dot { border: 1px solid var(--control-line); width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.nav-blocks a[aria-current] .nav-block-dot { background: var(--primary); border-color: var(--primary); }
.bookmark-count { margin-left: auto; min-width: 22px; text-align: center; border: 1px solid var(--line); border-radius: 5px; font-size: 11px; }
.sidebar-bottom { margin-top: auto; padding: 50px 12px 0; }
.local-note { display: flex; align-items: flex-start; gap: 10px; color: #646b64; font-size: 12px; line-height: 1.5; }
.local-note .icon { width: 18px; height: 18px; margin-top: 2px; }
.local-note span { display: block; font-size: 10px; color: #727769; margin-top: 4px; }
.sidebar-edition { display: block; border-top: 1px solid var(--line); margin-top: 23px; padding-top: 19px; font-size: 8px; letter-spacing: 1.5px; color: var(--muted); }
.app-shell { margin-left: 264px; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 84px; padding: 0 42px; border-bottom: 1px solid var(--line); gap: 24px; background: rgba(255,255,255,.78); }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 12px; min-width: 0; }
.breadcrumbs > :last-child { color: var(--ink); }
.topbar-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.search-trigger { display: flex; align-items: center; gap: 10px; background: transparent; color: var(--muted); padding: 10px 0; font-size: 12px; min-height: 44px; }
.search-trigger .icon { width: 17px; height: 17px; }
kbd { font-family: var(--sans); font-size: 10px; border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; min-width: 20px; height: 21px; display: inline-grid; place-items: center; background: #fff; color: var(--muted); }
.search-trigger kbd { margin-left: 12px; }
.toolbar-divider { width: 1px; height: 20px; background: var(--line); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-control); background: transparent; color: var(--muted); flex-shrink: 0; }
.icon-button:hover { background: var(--hover); color: var(--primary); }
.text-size { font-family: Georgia, serif; font-size: 23px; gap: 1px; }
.text-size span { font-size: 16px; }
.text-size[aria-pressed="true"] { background: var(--selected); color: var(--primary); }
.menu-button, .close-menu { display: none; }
main { max-width: 1320px; margin: 0 auto; padding: 34px 42px 46px; min-height: calc(100vh - 172px); outline: none; }
.hero { position: relative; min-height: 414px; border-top: 3px double #a6aba5; border-bottom: 1px solid var(--line); padding: 34px 0 36px; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1.15fr); gap: 24px; }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 1.8px; color: #505a55; display: flex; align-items: center; gap: 8px; }
.eyebrow > span { width: 5px; height: 5px; background: #6c795e; border-radius: 50%; }
.hero h1 { font-family: var(--headline); font-size: clamp(48px, 5.2vw, 75px); font-weight: 400; line-height: 1.06; letter-spacing: -3px; margin: 23px 0 20px; }
.hero h1 em { color: var(--accent); font-weight: 400; }
.hero h1 > span { color: var(--primary); }
.hero-description { color: #656960; font-size: 13px; line-height: 1.85; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; border-radius: var(--radius-control); min-height: 46px; padding: 11px 20px; font-size: 12px; font-weight: 550; line-height: 1.8; }
.button-primary { color: white; background: var(--accent); box-shadow: 0 3px 8px #24334612; }
.button-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button .icon { width: 18px; height: 18px; }
.hero .button { margin-top: 22px; }
.hero-meta { display: flex; align-items: center; gap: 18px; margin-top: 24px; color: #6b6d63; font-size: 10px; }
.hero-meta > span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.hero-meta .icon { width: 13px; height: 13px; }
.hero-meta-note { border-left: 1px solid #cecec4; padding-left: 16px; }
.hero-art { position: relative; display: grid; place-items: center; align-self: center; min-height: 0; width: 100%; }
.hero-copy { min-width: 0; align-self: center; }
.british-scene { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; object-position: right center; max-width: 560px; margin: 0 auto; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(transparent, #000 4%, #000 96%, transparent); mask-composite: intersect; }
.reader-strip { display: flex; align-items: center; gap: 15px; padding: 20px 24px; margin-top: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.reader-strip-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--primary); background: var(--soft); border-radius: 50%; flex-shrink: 0; }
.reader-strip-icon .icon { width: 19px; height: 19px; }
.reader-strip-text { flex: 1; min-width: 0; }
.reader-strip-text strong { font-size: 12px; font-weight: 600; display: block; }
.reader-strip-text > span { font-size: 11px; color: var(--muted); display: block; margin-top: 2px; }
.text-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 12px; color: var(--primary); font-size: 12px; font-weight: 550; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 16px; height: 16px; }
.route-section { margin-top: 40px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; gap: 18px; padding-top: 16px; border-top: 3px double #a6aba5; }
.section-eyebrow { font-size: 9px; letter-spacing: 1.6px; margin-bottom: 5px; color: #656955; }
.section-header h2 { font-family: var(--headline); font-size: 32px; font-weight: 400; letter-spacing: -.9px; line-height: 1.2; }
.section-count { font-family: var(--serif); font-size: 28px; font-style: italic; line-height: 1; color: var(--muted); }
.section-count > span { font-family: var(--sans); font-size: 10px; font-style: normal; margin-left: 4px; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.module-card { display: flex; flex-direction: column; min-width: 0; padding: 22px 22px 15px; min-height: 245px; border-radius: var(--radius-control); background: #fff; border: 1px solid var(--line); transition: border-color .18s, background-color .18s; }
.module-card:hover { border-color: #a7afa8; background: #fffefa; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.module-icon { display: grid; place-items: center; width: 38px; height: 38px; background: var(--soft); border-radius: 4px; color: var(--primary); flex-shrink: 0; }
.module-icon .icon { width: 20px; height: 20px; }
.module-card-2 .module-icon { background: #edf1e9; color: #657354; }
.module-card-3 .module-icon { background: #f9eee6; color: #9a6b46; }
.module-card-4 .module-icon { background: #f5e9e9; color: #963c46; }
.module-card-5 .module-icon { background: #ebf2f0; color: #56766d; }
.card-number { font-family: var(--headline); font-size: 24px; color: #74786f; font-style: italic; }
.module-card h3 { font-family: var(--headline); font-size: 23px; line-height: 1.25; font-weight: 400; letter-spacing: -.6px; margin-bottom: 10px; overflow-wrap: anywhere; text-wrap: pretty; }
.module-card p { color: var(--muted); font-size: 12px; line-height: 1.7; margin-bottom: 16px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid #ebe6dc; margin-top: auto; color: #666d69; font-size: 10px; }
.card-arrow { color: var(--muted); }
.card-arrow .icon { width: 16px; height: 16px; }
.route-note { padding: 18px 22px 9px; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.route-note-mark { font-family: var(--serif); font-size: 64px; line-height: .7; color: #a5a990; height: 28px; }
.route-note h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.25; margin: 12px 0; letter-spacing: -.3px; }
.route-note p { color: var(--muted); font-size: 11px; line-height: 1.8; max-width: 230px; }
.route-note .text-link { margin-top: auto; font-size: 10px; }
.content-notice { display: flex; align-items: center; gap: 15px; margin-top: 30px; padding: 21px 24px; border: 1px solid #e2e5da; border-radius: 8px; background: #f0f2eb; }
.notice-icon { color: #69765a; }
.notice-icon .icon { width: 19px; height: 19px; }
.content-notice strong { font-size: 11px; font-weight: 600; color: #525c46; }
.content-notice p { font-size: 10px; color: #636b59; margin-top: 2px; }
.content-count { margin-left: auto; padding-left: 22px; border-left: 1px solid #d9ddcf; color: #525b47; white-space: nowrap; font-size: 16px; line-height: 1.5; font-weight: 500; }
.content-count span { display: block; font-size: 8px; font-weight: 400; }
.site-footer { max-width: 1320px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 auto; padding: 22px 42px 28px; border-top: 3px double var(--line); color: #626775; font-size: 10px; }
.site-footer > a:first-child { font-family: var(--serif); font-size: 13px; color: var(--muted); }
.site-footer > a:first-child > span { color: var(--primary); }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 4px; }
.footer-links, #footer-reference-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 18px; }
.page-heading { padding: 4px 0 26px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.back-link { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; margin-bottom: 22px; gap: 6px; }
.back-link:hover { color: var(--primary); }
.page-heading > .eyebrow, .reader-heading .eyebrow { color: var(--muted); margin-bottom: 16px; }
.page-heading h1, .reader-heading h1 { font-family: var(--headline); font-size: clamp(30px, 3.5vw, 44px); font-weight: 400; line-height: 1.2; letter-spacing: -1px; overflow-wrap: anywhere; }
.page-lead { font-size: 16px; color: var(--muted); margin-top: 14px; }
.module-heading-line { display: flex; align-items: center; gap: 18px; }
.module-heading-line .module-icon { width: 52px; height: 52px; }
.module-heading-line .icon { width: 26px; height: 26px; }
.block-list { border: 1px solid var(--line); background: #fff; border-radius: var(--radius-panel); overflow: hidden; }
.block-row { display: flex; align-items: center; gap: 23px; padding: 26px 28px; }
.block-row + .block-row { border-top: 1px solid var(--line); }
.block-row:hover { background: #f6f7fb; }
.block-order { align-self: flex-start; margin-top: 4px; font-family: var(--serif); font-size: 25px; color: #7d849d; font-style: italic; }
.block-row > div { flex: 1; min-width: 0; }
.block-row h2 { font-family: var(--headline); font-size: 23px; line-height: 1.3; font-weight: 400; letter-spacing: -.4px; overflow-wrap: anywhere; }
.block-original { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.block-row > .icon { width: 20px; color: var(--muted); }
.status-label { color: #6d6545; font-size: 11px; margin-top: 13px; display: flex; align-items: center; gap: 6px; }
.status-label .icon { width: 13px; height: 13px; }
.module-bottom-note, .privacy-note { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--muted); margin: 24px 0; }
.module-bottom-note .icon, .privacy-note .icon { width: 18px; height: 18px; margin-top: 2px; }
.module-pagination { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); margin-top: 38px; padding-top: 12px; }
.reader-page { max-width: 880px; margin: 0 auto; }
.reader-heading { display: flex; align-items: flex-start; gap: 20px; justify-content: space-between; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 3px double var(--line); }
.reader-heading > div:first-child { min-width: 0; }
.reader-heading h1 { font-size: clamp(29px, 3.4vw, 42px); }
.reader-original { color: var(--muted); font-size: 13px; margin-top: 12px; }
.reader-actions { display: flex; gap: 4px; flex-shrink: 0; }
.reader-actions .icon-button { border: 1px solid var(--line); background: #fff; }
.reader-actions .is-saved { color: var(--primary); background: var(--selected); border-color: var(--control-line); }
.reader-actions .is-saved svg { fill: var(--selected); }
.pending-panel { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 54px 28px 36px; }
.pending-illustration { display: flex; justify-content: center; align-items: center; gap: 10px; width: 86px; height: 86px; background: var(--soft); color: #58648e; border-radius: 50%; margin: 0 auto 24px; }
.pending-illustration .icon { width: 35px; height: 35px; stroke-width: 1.2; }
.pending-illustration > span { font-size: 20px; align-self: flex-end; margin-bottom: 20px; margin-left: -12px; background: var(--soft); }
.pending-tag { display: inline-block; color: #6d6545; font-size: 9px; letter-spacing: 1.3px; background: #f5f2e8; padding: 5px 10px; border-radius: 4px; }
.pending-panel h2 { font-family: var(--serif); font-size: 27px; line-height: 1.3; font-weight: 400; margin: 18px 0 12px; }
.pending-panel p { max-width: 49ch; font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0 auto; }
.pending-panel .text-link { margin-top: 20px; }
.reader-pagination { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.reader-pagination > a { width: 48%; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: var(--radius-control); }
.reader-pagination > a:hover { background: var(--hover); }
.reader-pagination span { color: var(--muted); font-size: 11px; }
.reader-pagination strong { font-size: 13px; color: var(--primary); font-weight: 500; }
.reader-pagination .next-block { text-align: right; margin-left: auto; }
.visit-note { display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; margin: 32px 0 10px; }
.visit-note .icon { width: 13px; height: 13px; }
.bookmarks-empty .button { margin-top: 24px; }
.saved-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-panel); }
.saved-row { display: flex; align-items: center; gap: 10px; padding: 12px 18px; }
.saved-row + .saved-row { border-top: 1px solid var(--line); }
.saved-row > a { display: flex; flex: 1; gap: 18px; align-items: center; padding: 10px; min-width: 0; }
.saved-row > a:hover { color: var(--primary); }
.saved-row > a > div { flex: 1; min-width: 0; }
.saved-row h2 { font-size: 16px; font-weight: 500; }
.saved-row a span { font-size: 12px; color: var(--muted); }
.saved-row .icon { width: 18px; color: var(--muted); }
.not-found { margin: 40px auto; max-width: 650px; }
.not-found .eyebrow { justify-content: center; }
.not-found h1 { font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1.2; margin: 18px 0; }
.not-found .button { margin-top: 24px; }
.author-content { background: #fff; padding: 35px 40px; border: 1px solid var(--line); border-radius: 8px; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.author-content > * { max-width: 600px; margin-left: auto; margin-right: auto; }
.author-content p, .author-content ul, .author-content ol { margin-top: 1em; margin-bottom: 1em; }
.author-content ul, .author-content ol { padding-left: 1.5em; }
.author-content li + li { margin-top: 14px; }
.author-content li::marker { color: var(--primary); font-weight: 500; }
.author-content strong { font-weight: 600; }
.author-content p a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.author-content > h2:first-child { margin-top: 0; }
.author-content h2 { font-size: 28px; line-height: 1.35; font-weight: 400; font-family: var(--serif); margin-top: 1.4em; margin-bottom: .5em; }
.author-content h3 { font-size: 21px; line-height: 1.4; margin-top: 1.2em; }
.author-content.has-portrait::after { content: ""; display: block; clear: both; }
.author-content .author-portrait { float: right; width: 320px; margin: 0 0 28px 32px; }
.author-portrait img { display: block; width: 100%; height: auto; border-radius: 8px; }
.author-content.has-portrait > h2:first-of-type { margin-top: 0; }
.author-content.has-portrait > :not(.author-portrait) { margin-left: 0; margin-right: 0; }
.author-content.interactive-content > * { max-width: none; }
.author-content:empty { display: none; }
.plan-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.plan-tabs button { flex-shrink: 0; min-height: 44px; padding: 9px 15px; border-radius: var(--radius-control); background: transparent; color: var(--muted); font-size: 14px; }
.plan-tabs button[aria-selected="true"] { color: white; background: var(--primary); }
.plan-tabs button:hover { box-shadow: inset 0 0 0 1px var(--control-line); }
.plan-panel { outline: none; }
.plan-panel > h2 { margin-top: 0; }
.plan-panel p { font-size: 16px; line-height: 1.8; }
.plan-group { margin-top: 28px; }
.plan-group h3 { font-size: 20px; font-weight: 550; margin-bottom: 12px; }
.lesson-card { border: 1px solid var(--line); border-radius: 8px; margin-top: 14px; }
.lesson-card summary { display: flex; align-items: center; gap: 14px; padding: 17px; min-height: 64px; cursor: pointer; }
.lesson-card summary::after { content: "+"; font-size: 22px; color: var(--primary); }
.lesson-card[open] summary::after { content: "−"; }
.lesson-card summary:hover { background: var(--soft); }
.lesson-card summary strong { flex: 1; font-size: 16px; line-height: 1.5; min-width: 0; }
.lesson-number { font-size: 12px; color: var(--primary); white-space: nowrap; }
.lesson-hours { font-size: 12px; color: var(--muted); white-space: nowrap; }
.lesson-details { border-top: 1px solid var(--line); padding: 20px; background: #fafaf7; }
.lesson-details section + section { margin-top: 24px; }
.lesson-details h4 { font-size: 15px; font-weight: 650; color: var(--primary); margin: 0 0 8px; }
.lesson-details p { margin-top: 8px; margin-bottom: 8px; }
.resource-links { list-style: none; padding: 0 !important; }
.resource-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.quiz-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.quiz-heading h2 { margin: 0; font-size: 27px; }
.quiz-score { flex-shrink: 0; padding: 8px 14px; border-radius: var(--radius-control); color: var(--primary); background: var(--soft); font-size: 18px; font-weight: 600; white-space: nowrap; }
.quiz-instructions { color: var(--muted); margin-bottom: 6px !important; }
.quiz-status { font-size: 13px; color: var(--muted); margin-top: 6px !important; margin-bottom: 28px !important; }
.quiz-question { padding: 0; margin: 0 0 32px; border: 0; min-width: 0; }
.quiz-question legend { padding: 0; margin-bottom: 14px; font-size: 17px; font-weight: 600; line-height: 1.6; width: 100%; }
.quiz-question legend > span { color: var(--primary); margin-right: 6px; }
.quiz-options { display: grid; gap: 9px; }
.quiz-option { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid var(--control-line); border-radius: var(--radius-control); cursor: pointer; font-size: 16px; line-height: 1.6; }
.quiz-option:hover { border-color: var(--primary); background: var(--soft); }
.quiz-option input { accent-color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; margin: 0; }
.option-letter { font-size: 12px; font-weight: 600; color: var(--muted); }
.option-copy { flex: 1; min-width: 0; }
.option-verdict { display: block; margin-top: 4px; font-size: 12px; font-weight: 650; }
.is-correct .option-verdict { color: #226348; }
.is-incorrect .option-verdict { color: #a32939; }
.quiz-option.is-correct { border-color: #7da88e; background: #edf7f0; }
.quiz-option.is-incorrect { border-color: #c1848a; background: #fdf0f1; }
.quiz-feedback { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.7; padding: 13px 2px 0; }
.quiz-feedback.is-correct strong { color: #226348; }
.quiz-feedback.is-incorrect strong { color: #a32939; }
.quiz-feedback > span { color: var(--muted); }
.button-secondary { background: white; border: 1px solid var(--control-line); color: var(--primary); }
.button-secondary:not(:disabled):hover { background: var(--soft); border-color: var(--primary); }
.button-secondary:disabled { opacity: .55; }
.written-answers { margin: 0; }
.match-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.match-instructions { margin: 0 !important; font-size: 16px; }
.match-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 14px; }
.match-score { background: var(--soft); color: var(--primary); padding: 8px 12px; border-radius: var(--radius-control); white-space: nowrap; }
.match-score output { font-weight: 650; margin-left: 5px; }
.match-rules { font-size: 13px; color: var(--muted); margin: 9px 0 0 !important; }
.match-feedback { min-height: 48px; margin: 18px 0 !important; padding: 10px 14px; border-radius: var(--radius-control); background: var(--soft); color: var(--muted); font-size: 14px; line-height: 1.7; }
.match-feedback.is-correct { color: #226348; background: #edf7f0; }
.match-feedback.is-incorrect { color: #a32939; background: #fdf0f1; }
.match-board { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 10px 14px; }
.match-column-label { font-size: 12px; font-weight: 650; color: var(--muted); padding-bottom: 3px; }
.match-card { position: relative; width: 100%; min-width: 0; min-height: 64px; padding: 16px; border: 1px solid var(--control-line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 15px; line-height: 1.65; text-align: left; overflow-wrap: anywhere; }
.match-term { font-weight: 650; color: var(--primary); }
.match-card:not(:disabled):hover { border-color: var(--primary); background: var(--hover); }
.match-card[aria-pressed="true"] { background: var(--selected); border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.match-card.is-wrong { border-color: #a32939; background: #fdf0f1; }
.match-card.is-matched { background: #edf7f0; border-color: #7da88e; color: #226348; padding-right: 35px; }
.match-tick { position: absolute; right: 12px; top: 12px; font-size: 16px; }
.match-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.match-result { padding: 20px; margin-top: 24px; border: 1px solid #7da88e; border-radius: 8px; background: #edf7f0; color: #226348; }
.match-result h2 { font-size: 25px; margin: 0 !important; }
.match-result p { margin: 8px 0 0 !important; font-size: 15px; }
.large-text .match-card { font-size: 18px; }
@media (max-width: 600px) {
  .match-board { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px; }
  .match-card { padding: 12px 10px; font-size: 14px; line-height: 1.6; }
  .match-card.is-matched { padding-right: 24px; }
  .match-tick { right: 6px; top: 6px; font-size: 14px; }
  .match-result { padding: 16px; }
}
.written-section { margin-top: 32px; }
.hangman-topline { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.hangman-source { color: var(--muted); font-size: 14px; margin: 0 !important; }
.hangman-score { padding: 8px 12px; border-radius: var(--radius-control); background: var(--soft); color: var(--primary); font-size: 14px; white-space: nowrap; }
.hangman-score output { font-weight: 650; margin-left: 5px; }
.hangman-rules { color: var(--muted); font-size: 13px; margin: 10px 0 24px !important; }
.hangman-layout { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(0, 1.8fr); gap: 24px; align-items: stretch; }
.hangman-stage { display: flex; flex-direction: column; min-height: 390px; margin: 0; padding: 16px 12px 12px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: linear-gradient(160deg, var(--soft), #ede8dd); color: var(--primary); text-align: center; }
.hangman-illustration { position: relative; flex: 1; min-height: 320px; }
.hangman-drawing { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hangman-stage figcaption { flex: none; font-size: 13px; color: var(--muted); padding: 12px 0 4px; }
.hangman-play { min-width: 0; }
.hangman-length { color: var(--muted); font-size: 14px; margin: 0 0 12px !important; }
.hangman-word { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 18px; }
.hangman-slot { display: grid; place-items: center; min-width: 20px; width: 29px; height: 42px; border-bottom: 2px solid var(--control-line); color: var(--primary); font-size: 22px; font-weight: 650; }
.hangman-slot.is-revealed { border-color: var(--primary); }
.hangman-slot.is-missed { color: #a32939; border-color: #a32939; }
.hangman-instructions { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 16px !important; }
.hangman-keyboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); gap: 6px; }
.hangman-key { min-width: 44px; min-height: 46px; border: 1px solid var(--control-line); border-radius: var(--radius-control); color: var(--primary); background: white; font-size: 16px; font-weight: 550; }
.hangman-key:not(:disabled):hover { background: var(--soft); border-color: var(--primary); }
.hangman-key.is-correct { color: #226348; background: #edf7f0; border-color: #7da88e; }
.hangman-key.is-incorrect { color: #a32939; background: #fdf0f1; border-color: #c1848a; }
.hangman-key:disabled:not(.is-correct):not(.is-incorrect) { color: var(--muted); background: #f1efe9; }
.hangman-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.hangman-hint { margin-top: 18px; padding: 15px 18px; border-left: 3px solid var(--control-line); background: var(--soft); }
.hangman-hint h2 { margin: 0 0 6px !important; font: 600 15px/1.4 var(--sans); }
.hangman-hint p { margin: 0 !important; font-size: 16px; line-height: 1.7; }
.hangman-feedback { min-height: 48px; padding: 12px 16px; margin: 22px 0 0 !important; border-radius: var(--radius-control); background: var(--soft); color: var(--muted); font-size: 14px; }
.hangman-feedback.is-correct { background: #edf7f0; color: #226348; }
.hangman-feedback.is-incorrect { background: #fdf0f1; color: #a32939; }
.hangman-result { margin-top: 20px; border: 1px solid var(--control-line); padding: 20px; border-radius: 8px; background: var(--soft); }
.hangman-result h2 { font: 500 26px/1.4 var(--serif); margin: 0 0 8px !important; }
.hangman-result p { margin: 8px 0 0 !important; font-size: 16px; line-height: 1.7; }
.hangman-answer { color: var(--primary); font-weight: 650; }
.large-text .hangman-instructions, .large-text .hangman-key { font-size: 18px; }
@media (max-width: 700px) {
  .hangman-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hangman-stage { min-height: 0; padding: 8px 12px 12px; }
  .hangman-illustration { flex: none; height: 220px; min-height: 0; }
  .hangman-stage figcaption { padding-top: 4px; }
  .hangman-word { gap: 4px; }
  .hangman-slot { width: 22px; font-size: 18px; height: 35px; }
}
.written-section:first-child { margin-top: 0; }
.study-footer { margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: white; }
.study-end { height: 1px; }
.nav-topic-copy { display: block; min-width: 0; flex: 1; }
.topic-progress { display: block; margin-top: 10px; color: #626863; font-weight: 400; }
.topic-progress-label { display: flex; align-items: center; justify-content: flex-end; gap: 5px; font-size: 11px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.topic-progress progress { display: block; width: 100%; height: 2px; margin-top: 5px; appearance: none; border: 0; border-radius: 4px; overflow: hidden; background: #e9e7e0; accent-color: #728178; }
.topic-progress progress::-webkit-progress-bar { background: #e9e7e0; border-radius: 4px; }
.topic-progress progress::-webkit-progress-value { background: #728178; border-radius: 4px; }
.topic-progress progress::-moz-progress-bar { background: #728178; border-radius: 4px; }
.topic-progress.is-complete { color: #426b56; }
.topic-progress.is-complete progress { accent-color: #728178; }
.topic-progress.is-complete progress::-webkit-progress-value { background: #728178; }
.topic-progress.is-complete progress::-moz-progress-bar { background: #728178; }
.topic-completion { font-size: 10px; font-weight: 600; }
.module-card > .topic-progress { margin-top: 13px; }
.module-card > .topic-progress .topic-progress-label { font-size: 12px; }
.module-card > .topic-progress progress { height: 2px; }
.module-card.is-studied { border-color: #dce3d9; }
.nav-module-link .topic-progress, .nav-blocks .topic-progress, .utility-nav .topic-progress { margin-top: 6px; }
.nav-module-link .topic-progress-label, .nav-blocks .topic-progress-label, .utility-nav .topic-progress-label { font-size: 10px; line-height: 1.2; }
.nav-blocks .topic-progress progress { height: 2px; }
.nav-module-link.is-active, .nav-module-link[aria-current], .nav-blocks a[aria-current] { background: var(--selected); }
.study-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; background: transparent; border-color: var(--line); }
.study-footer [data-study-depth] { font-size: 13px; color: var(--muted); }
.study-state { color: var(--muted); font-size: 15px; }
.study-footer.is-studied .study-state { color: #226348; }
.study-overview-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--primary); }
.study-overview-title strong { font-weight: 550; }
.study-overview progress { display: block; width: 100%; height: 4px; margin-top: 12px; appearance: none; border: 0; border-radius: 8px; overflow: hidden; background: #e9e7e0; accent-color: var(--primary); }
.study-overview progress::-webkit-progress-bar { background: #e9e7e0; border-radius: 8px; }
.study-overview progress::-webkit-progress-value { background: #728178; border-radius: 8px; }
.study-overview progress::-moz-progress-bar { background: #728178; border-radius: 8px; }
.study-overview p { font-size: 12px; color: var(--muted); margin: 8px 0 0; line-height: 1.6; }
.results-button { margin: 8px 0 24px; }
.results-dialog { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: #fff; color: var(--ink); overflow-y: auto; box-shadow: 0 24px 80px #24334626; }
.results-dialog::backdrop { background: #24334680; }
.results-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.results-heading-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.results-report-button { min-height: 44px; padding: 8px 10px; border: 1px solid var(--control-line); border-radius: var(--radius-control); background: transparent; color: var(--primary); font-size: 12px; }
.results-report-button:hover { background: var(--soft); }
.results-heading h2 { margin: 0; color: var(--primary); font: 500 30px/1.3 var(--serif); }
.results-heading .icon-button { flex: none; }
.results-total { padding: 18px 20px; background: var(--soft); border-radius: var(--radius-panel); color: var(--primary); text-align: center; }
.results-total > span { display: block; font-size: 14px; }
.results-total output { display: block; margin: 6px 0; font: 400 50px/1.15 var(--serif); }
.results-total strong { font-size: 13px; font-weight: 550; }
.results-method, .results-manual, .results-storage { color: var(--muted); font-size: 13px; line-height: 1.8; }
.results-method { margin: 18px 0 12px; }
.result-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.result-row a { color: var(--primary); font-weight: 550; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.result-row span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.result-row > div:last-child { text-align: right; color: var(--primary); }
.result-row strong { font-size: 17px; font-weight: 600; }
.results-manual { margin: 16px 0 20px; }
.results-storage { margin: 16px 0 0; font-size: 12px; }
.report-dialog { width: min(900px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--soft); color: var(--ink); overflow-y: auto; box-shadow: 0 24px 80px #24334626; }
.report-dialog::backdrop { background: #24334680; }
.report-controls { padding: 22px 28px; background: #fff; border-bottom: 1px solid var(--line); }
.report-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.report-preview-heading h2 { margin: 0; font: 400 28px/1.3 var(--serif); color: var(--primary); }
.report-preview-heading button { font-size: 26px; }
.report-fields { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-top: 18px; }
.report-fields label { font-size: 13px; font-weight: 550; }
.report-fields input { display: block; width: 100%; min-height: 44px; margin-top: 6px; padding: 8px 12px; border: 1px solid var(--control-line); border-radius: var(--radius-control); background: white; color: var(--ink); font-size: 16px; }
.report-export { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-top: 16px; }
.report-export p { max-width: 360px; margin: 0; color: var(--muted); font-size: 12px; }
.report-export button { flex-shrink: 0; }
.report-preview { padding: 24px; }
.report-sheet { max-width: 794px; margin: 0 auto; padding: 34px 40px; background: var(--paper); color: var(--primary); font: 12px/1.5 var(--sans); box-shadow: 0 2px 12px #243b5510; }
.report-masthead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 3px double var(--primary); }
.report-masthead p { margin: 0; font: 400 20px/1.2 var(--serif); }
.report-masthead > span { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.report-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 18px 0 14px; }
.report-title h2 { margin: 0; font: 400 32px/1.2 var(--serif); }
.report-title p { margin: 0; white-space: nowrap; font-size: 11px; }
.report-identity { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.report-identity p { margin: 0; overflow-wrap: anywhere; }
.report-identity span, .report-summary > div > span { display: block; color: var(--muted); font-size: 10px; }
.report-identity strong { font-weight: 550; }
.report-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 16px 0; }
.report-summary strong { display: block; margin: 2px 0; font: 400 32px/1.2 var(--serif); }
.report-summary p { margin: 0; color: var(--muted); font-size: 10px; }
.report-section { margin-top: 18px; }
.report-section h3 { margin: 0 0 8px; font: 400 18px/1.3 var(--serif); }
.report-sheet table { width: 100%; border-collapse: collapse; font: inherit; }
.report-sheet th, .report-sheet td { padding: 5px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.report-sheet tr > :first-child { padding-left: 0; }
.report-sheet tr > :last-child { padding-right: 0; }
.report-sheet thead th { font-size: 10px; color: var(--muted); font-weight: 500; border-top: 1px solid var(--line); }
.report-sheet tbody th { font-weight: 400; padding-right: 12px; }
.report-topics th:first-child { width: 64%; }
.report-topics td:nth-child(2) { width: 12%; }
.report-sheet td { font-variant-numeric: tabular-nums; }
.report-activities th:first-child { width: 30%; }
.report-activities td:last-child { width: 30%; }
.report-table-note { margin: 7px 0 0; font-size: 9px; color: var(--muted); }
.report-notes { margin-top: 16px; padding-top: 9px; border-top: 3px double var(--primary); font-size: 9px; color: var(--muted); }
.report-notes p { margin: 4px 0; }
.report-notes strong { color: var(--primary); }
@media (max-width: 700px) {
  .report-controls { padding: 18px; }
  .report-fields { grid-template-columns: 1fr; gap: 12px; }
  .report-export { align-items: stretch; flex-direction: column; gap: 12px; }
  .report-preview { padding: 10px; }
  .report-sheet { padding: 22px 14px; font-size: 10px; }
  .report-masthead { align-items: flex-start; flex-direction: column; gap: 4px; }
  .report-title { align-items: flex-start; flex-direction: column; gap: 5px; }
  .report-title h2 { font-size: 28px; }
  .report-topics th:first-child { width: 56%; }
  .report-sheet td:not(:last-child) { padding-right: 6px; }
  .report-summary { gap: 14px; }
}
.large-text .study-state, .large-text .results-method, .large-text .results-manual, .large-text .result-row a { font-size: 17px; }
@media (max-width: 600px) {
  .study-footer { padding: 18px; }
  .study-footer { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .results-dialog { padding: 20px; max-height: calc(100dvh - 32px); }
  .results-heading h2 { font-size: 27px; }
  .results-total { padding: 16px; }
  .results-total output { font-size: 48px; }
}
.listening-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.listening-tabs button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--control-line); border-radius: var(--radius-control); background: white; color: var(--primary); font: 550 14px/1.5 var(--sans); }
.listening-tabs [aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: white; }
.listening-hero { position: relative; aspect-ratio: 16/8; overflow: hidden; border-radius: var(--radius-panel); background: var(--soft); }
.listening-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.listening-image-costa-rica img { object-position: center 18%; }
.listening-image-durham img { height: 265%; }
.listening-hero::after { content: ''; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent, rgba(17, 24, 45, .88)); }
.listening-hero-title { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: white; }
.listening-hero-title span { font: 550 12px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.listening-hero-title h2 { color: white; font: 500 32px/1.25 var(--serif); margin: 8px 0 0 !important; }
.listening-player { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.listening-player audio { min-width: 0; width: 100%; height: 54px; }
.listening-speed { position: relative; display: flex; flex: none; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.listening-speed::after { content: ''; position: absolute; right: 12px; top: calc(50% - 5px); width: 6px; height: 6px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); pointer-events: none; }
.listening-speed select { appearance: none; -webkit-appearance: none; min-width: 88px; min-height: 44px; padding: 8px 34px 8px 12px; border: 1px solid var(--control-line); border-radius: var(--radius-control); background: white; color: var(--primary); }
.listening-instructions { margin: 4px 0 16px !important; font-size: 16px; line-height: 1.7; }
.listening-guide, .listening-transcript { border: 1px solid var(--line); border-radius: 8px; padding: 0 16px; margin-bottom: 26px; font-size: 15px; line-height: 1.8; }
.listening-guide summary, .listening-transcript summary { cursor: pointer; color: var(--primary); min-height: 44px; padding: 10px 0; }
.listening-guide p, .listening-transcript p { margin: 0 0 16px !important; }
.listening-question { min-width: 0; margin: 0 0 24px; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--line); }
.listening-question legend { float: left; width: 100%; margin-bottom: 14px; font-size: 16px; font-weight: 550; line-height: 1.7; }
.listening-question legend span { color: var(--primary); margin-right: 5px; }
.listening-options { display: flex; clear: both; gap: 10px; flex-wrap: wrap; }
.listening-options label { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--control-line); border-radius: var(--radius-control); cursor: pointer; font-size: 14px; color: var(--primary); }
.listening-options input { accent-color: var(--primary); width: 16px; height: 16px; margin: 0; }
.listening-options label:has(:checked) { background: var(--soft); border-color: var(--primary); }
.listening-options label.is-correct { color: #226348; background: #edf7f0; border-color: #7da88e; }
.listening-options label.is-incorrect { color: #a32939; background: #fdf0f1; border-color: #c1848a; }
.listening-explanation { padding: 12px 14px; border-radius: var(--radius-control); margin: 14px 0 0 !important; font-size: 14px; line-height: 1.8; }
.listening-explanation.is-correct { color: #226348; background: #edf7f0; }
.listening-explanation.is-incorrect { color: #a32939; background: #fdf0f1; }
.listening-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.listening-actions output { color: var(--primary); font-size: 20px; font-weight: 650; margin-left: auto; }
.listening-status { font-size: 14px; color: var(--primary); margin: 14px 0 24px !important; }
.listening-credit { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 20px 0 0 !important; }
.large-text .listening-question legend, .large-text .listening-instructions { font-size: 19px; }
@media (max-width: 600px) {
  .listening-hero { aspect-ratio: 4/3; }
  .listening-hero-title { left: 16px; right: 16px; bottom: 16px; }
  .listening-hero-title h2 { font-size: 26px; }
  .listening-player { flex-wrap: wrap; gap: 10px; }
  .listening-player audio { flex-basis: 100%; }
  .listening-options { gap: 6px; }
  .listening-options label { padding: 10px; gap: 6px; font-size: 13px; }
  .listening-tabs button { padding: 10px 13px; }
}
.written-section > h2 { color: var(--primary); font: 400 25px/1.35 var(--serif); margin: 0 0 14px; }
.written-excerpt { margin-top: 28px; }
.written-excerpt h3 { font-size: 17px; margin-bottom: 12px; }
.written-answers blockquote { margin: 20px 0; padding: 6px 20px; border-left: 3px solid var(--control-line); background: var(--soft); }
.word-bank { display: flex; flex-wrap: wrap; gap: 8px; min-height: 68px; padding: 14px; border-radius: var(--radius-control); background: var(--soft); }
.word-token { min-height: 44px; padding: 9px 14px; border: 1px solid var(--control-line); border-radius: var(--radius-control); background: white; color: var(--primary); font-size: 15px; cursor: grab; }
.word-token:active { cursor: grabbing; }
.word-token:hover { background: var(--hover); border-color: var(--primary); }
.written-field { margin: 22px 0; }
.written-field label { display: block; margin-bottom: 9px; font-size: 16px; line-height: 1.65; font-weight: 550; }
.written-field input, .written-field textarea { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--control-line); border-radius: var(--radius-control); background: white; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.6; }
.written-field textarea { resize: vertical; }
.written-input-wrap { position: relative; }
.written-input-wrap [data-vocab-gap] { padding-right: 48px; }
.vocab-return { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; border-radius: 5px; background: transparent; color: var(--primary); font-size: 24px; }
.vocab-return:hover { background: var(--soft); }
.max-delivery { margin-top: 32px; }
.max-delivery .button { flex-wrap: wrap; white-space: normal; text-align: center; }
.delivery-status { color: var(--muted); font-size: 14px; }
.delivery-status:empty { display: none; }
.author-content .exercise-image { max-width: 100%; margin: 28px auto; }
.exercise-image a { display: block; border: 1px solid var(--line); }
.exercise-image-viewport { position: relative; display: block; width: 100%; overflow: hidden; }
.exercise-image img { display: block; position: absolute; max-width: none; }
.glossary-search { display: block; margin-bottom: 25px; }
.glossary-search input { width: 100%; padding: 13px 15px; border: 1px solid var(--control-line); border-radius: var(--radius-control); font-size: 16px; background: #fff; color: var(--ink); }
.glossary-group + .glossary-group { margin-top: 38px; }
.glossary-group h2 { font-size: 25px; }
.glossary-entry { margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.glossary-entry dt { font-weight: 650; font-size: 16px; color: var(--ink); }
.glossary-entry dd { margin: 6px 0 0; font-size: 16px; line-height: 1.8; color: var(--muted); }
.glossary-empty { padding: 30px 0; text-align: center; color: var(--muted); }

/* Compact personal vocabulary controls and utility dialogs. */
.glossary-entry { position: relative; }
.glossary-entry dl { margin: 0; }
.glossary-entry dt { display: flex; align-items: center; min-height: 36px; padding-right: 108px; }
.word-save { position: absolute; right: 0; top: -4px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 96px; min-height: 44px; padding: 6px 8px; border-radius: var(--radius-control); background: transparent; color: var(--muted); font-size: 12px; white-space: nowrap; }
.word-save [data-word-save-icon] { width: 16px; font-size: 18px; line-height: 1; }
.word-save[aria-pressed="true"] { color: #226348; }
.word-save[aria-pressed="true"] [data-word-save-icon] { order: 2; }
.word-save:hover { background: var(--soft); color: var(--primary); }
.word-add-button { min-height: 44px; padding: 8px 12px; gap: 8px; }
.word-add-button .icon { width: 18px; height: 18px; }
.reader-actions .word-add-button { border-color: var(--line); }
.word-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius-panel); background: white; color: var(--ink); box-shadow: 0 24px 80px #24334626; }
.word-dialog::backdrop { background: #24334680; }
.word-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.word-dialog-heading h2 { margin: 8px 0 0; font: 400 28px/1.25 var(--serif); }
.word-dialog-heading .icon-button { font-size: 26px; }
.word-form > label { display: block; margin: 0 0 18px; font-size: 14px; font-weight: 550; }
.word-form input, .word-form textarea { display: block; width: 100%; min-height: 46px; padding: 11px 12px; margin-top: 8px; border: 1px solid var(--control-line); border-radius: var(--radius-control); background: white; color: var(--ink); font-size: 16px; font-weight: 400; line-height: 1.6; }
.word-form textarea { resize: vertical; }
.vocabulary-storage-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.word-dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.vocabulary-nav { width: 100%; background: transparent; text-align: left; }
.vocabulary-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: -8px 0 12px; padding: 4px 0; color: var(--primary); background: transparent; font-size: 13px; }
.vocabulary-dialog { width: min(680px, calc(100% - 32px)); background: var(--paper, #f7f4ee); }
.vocabulary-total { font: 400 14px var(--sans); color: var(--muted); }
.vocabulary-toolbar { display: flex; gap: 12px; align-items: flex-start; }
.vocabulary-toolbar .glossary-search { flex: 1; min-width: 0; margin: 0; }
.vocabulary-toolbar .button { flex-shrink: 0; min-height: 46px; }
.vocabulary-list { margin: 20px 0; }
.vocabulary-item { padding: 18px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.vocabulary-item-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.vocabulary-item h3 { margin: 0; font: 400 21px/1.4 var(--serif); }
.vocabulary-item-heading > div { display: flex; flex-shrink: 0; }
.vocabulary-item-action { min-height: 44px; padding: 6px 8px; color: var(--primary); background: transparent; font-size: 12px; border-radius: var(--radius-control); }
.vocabulary-item-action:hover { background: var(--soft); }
.vocabulary-item p { margin: 8px 0; font-size: 15px; line-height: 1.7; white-space: pre-wrap; }
.vocabulary-source { font-size: 12px; color: var(--muted); }
.vocabulary-empty { padding: 30px 0; text-align: center; }
.vocabulary-empty h3 { font: 400 24px var(--serif); }
.vocabulary-empty p { font-size: 14px; color: var(--muted); }
.vocabulary-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.vocabulary-bottom + p { margin-top: 12px; }
.word-error { color: #943d40; font-size: 14px; }
.word-error:empty { display: none; }
.match-modes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.match-modes button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-control); color: var(--muted); background: transparent; }
.match-modes button[aria-pressed="true"] { color: var(--primary); background: var(--soft); border-color: var(--control-line); }
.match-personal-note { color: var(--muted); font-size: 12px; margin: -8px 0 20px; }
@media (max-width: 700px) {
  .reader-heading { grid-template-columns: minmax(0, 1fr) auto; }
  .word-add-button { width: 44px; padding: 0; }
  .word-add-button > span { display: none; }
  .word-dialog { padding: 20px; }
  .vocabulary-toolbar, .vocabulary-bottom { flex-wrap: wrap; }
  .vocabulary-toolbar .glossary-search { flex-basis: 100%; }
  .vocabulary-item-heading { align-items: flex-start; }
  .vocabulary-bottom .button { width: 100%; }
}

.presentation-viewer { border: 1px solid var(--line); border-radius: var(--radius-panel); background: white; overflow: hidden; margin-bottom: 28px; }
.presentation-viewer:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.slide-stage { position: relative; }
.fullscreen-toggle { position: absolute; right: 12px; top: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px #24334618; }
.fullscreen-toggle:hover { background: var(--soft); }
.presentation-is-fullscreen { overflow: hidden; }
.presentation-viewer:fullscreen, .presentation-viewer.is-fullscreen { width: 100vw; height: 100dvh; margin: 0; border: 0; border-radius: 0; display: flex; flex-direction: column; background: #fff; }
.presentation-viewer.is-fullscreen { position: fixed; inset: 0; z-index: 90; }
.presentation-viewer:fullscreen .slide-stage, .presentation-viewer.is-fullscreen .slide-stage { flex: 1; min-height: 0; background: var(--ink); }
.presentation-viewer:fullscreen .slide-frame, .presentation-viewer.is-fullscreen .slide-frame { height: 100%; aspect-ratio: auto; }
.presentation-viewer:fullscreen .slide-controls, .presentation-viewer.is-fullscreen .slide-controls { flex-shrink: 0; }
.presentation-viewer:fullscreen .slide-transcript, .presentation-viewer.is-fullscreen .slide-transcript { flex-shrink: 0; max-height: 25vh; overflow-y: auto; }
.slide-frame { display: block; aspect-ratio: 16 / 9; background: #feead9; cursor: zoom-in; }
.slide-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.slide-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 12px 20px 4px; font-size: 13px; }
.slide-button { width: 44px; height: 44px; border-radius: var(--radius-control); color: var(--primary); background: var(--soft); font-size: 22px; }
.slide-button:last-child { justify-self: end; }
.slide-button:disabled { color: #747a88; background: #f1efe9; }
.slide-transcript { border-top: 1px solid var(--line); font-size: 14px; padding: 0 20px; }
.slide-transcript summary { min-height: 44px; display: list-item; padding: 11px 0; color: var(--primary); cursor: pointer; }
.slide-transcript [data-slide-transcript] { padding: 0 0 16px; }
.slide-transcript p + p { margin-top: 12px; }
.search-dialog { width: min(600px, calc(100% - 32px)); padding: 24px; border-radius: var(--radius-panel); border: 1px solid var(--line); background: var(--paper); color: var(--ink); margin-top: min(15vh, 120px); max-height: 78vh; box-shadow: 0 30px 100px #24334626; }
.search-dialog::backdrop { background: #24334666; backdrop-filter: blur(3px); }
.search-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.search-heading h2 { font-family: var(--serif); font-size: 25px; font-weight: 400; }
.search-heading .icon-button { font-size: 27px; }
.search-field { display: flex; align-items: center; border: 1px solid var(--control-line); background: #fff; border-radius: var(--radius-control); padding: 0 12px; gap: 10px; }
.search-field .icon { width: 19px; height: 19px; color: var(--muted); }
.search-field input { border: 0; padding: 14px 0; width: 100%; min-width: 0; background: transparent; color: var(--ink); font-size: 16px; }
.search-field input:focus { outline: none; }
.search-field:focus-within { outline: 3px solid var(--primary); outline-offset: 2px; }
.search-help { font-size: 11px; color: var(--muted); padding: 12px 0 16px; }
.search-results { max-height: 45vh; overflow-y: auto; padding: 6px; margin: -6px; }
.search-result { display: flex; align-items: center; gap: 12px; padding: 13px 10px; border-radius: var(--radius-control); }
.search-result:hover { background: var(--hover); }
.search-result-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: var(--radius-control); background: var(--soft); color: var(--muted); flex-shrink: 0; }
.search-result-icon .icon { width: 18px; height: 18px; }
.search-result > span:nth-child(2) { flex: 1; min-width: 0; }
.search-result strong { display: block; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.search-result > span > span { display: block; color: var(--muted); font-size: 11px; }
.search-result > .icon { width: 16px; height: 16px; color: var(--muted); }
.search-empty { text-align: center; padding: 28px 12px; }
.search-empty .icon { margin: 0 auto 15px; color: var(--muted); }
.search-empty h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.search-empty p { color: var(--muted); font-size: 13px; }
.toast { position: fixed; left: calc(50% + 132px); bottom: 30px; transform: translateX(-50%); max-width: min(460px, calc(100% - 32px)); padding: 13px 21px; border-radius: 8px; background: var(--primary); color: #fff; box-shadow: 0 8px 32px #24334626; font-size: 13px; z-index: 80; }
.noscript-message { position: fixed; bottom: 20px; left: 20px; right: 20px; padding: 20px; background: #fff4dd; border: 1px solid #ad7f32; color: #654b1e; z-index: 100; }
.large-text { font-size: 20px; }
.large-text .pending-panel p, .large-text .author-content, .large-text .page-lead { font-size: 20px; }
.large-text .plan-panel p, .large-text .quiz-option, .large-text .glossary-entry dd { font-size: 20px; }
.large-text .nav-overview, .large-text .nav-module-link, .large-text .module-card p, .large-text .reader-strip-text strong, .large-text .reader-strip-text > span, .large-text .block-original, .large-text .reader-original, .large-text .privacy-note, .large-text .module-bottom-note, .large-text .reader-pagination strong, .large-text .text-link, .large-text .button { font-size: 16px; }
.large-text .nav-blocks a, .large-text .status-label, .large-text .reader-pagination span, .large-text .content-notice p { font-size: 14px; }
.large-text .module-card { min-height: 270px; }
@media (min-width: 1600px) {
  .hero { min-height: 460px; padding: 42px 0; }
  .hero h1 { font-size: 82px; }
  .hero-art { transform: none; }
  .module-card { min-height: 250px; }
}
@media (max-width: 1200px) {
  .sidebar { width: 240px; padding-inline: 16px; }
  .brand { font-size: 15px; gap: 10px; }
  .app-shell { margin-left: 240px; }
  main { padding: 28px; }
  .topbar, .site-footer { padding-inline: 28px; }
  .hero { padding: 30px 0; grid-template-columns: 1.15fr 1fr; gap: 20px; }
  .hero h1 { font-size: 58px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1.3px; }
  .hero-art { transform: none; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-card { padding: 19px 17px 13px; }
  .module-card h3 { font-size: 21px; }
  .hero-meta { gap: 12px; font-size: 9px; }
  .hero-meta-note { padding-left: 12px; }
  .toast { left: calc(50% + 120px); }
}
@media (max-width: 1100px) {
  .author-content .author-portrait { float: none; width: min(100%, 360px); margin: 0 auto 28px; }
}
@media (max-width: 960px) {
  .sidebar { width: 280px; transform: translateX(-100%); visibility: hidden; transition: transform .2s ease; }
  .sidebar.is-open { transform: translateX(0); visibility: visible; }
  .brand { margin-top: 35px; font-size: 17px; }
  .close-menu { display: inline-flex; position: absolute; right: 12px; top: 9px; font-size: 28px; }
  .menu-button { display: inline-flex; }
  .app-shell { margin-left: 0; }
  .topbar { min-height: 72px; padding: 0 24px 0 16px; gap: 12px; }
  .breadcrumbs { margin-right: auto; }
  .breadcrumbs > span:first-child, .breadcrumbs > span:nth-child(2) { display: none; }
  .hero { grid-template-columns: 1.25fr 1fr; }
  .hero h1 { font-size: 64px; }
  .hero-art { transform: none; }
  .mobile-scrim { position: fixed; inset: 0; background: #24334666; z-index: 35; }
  .menu-is-open { overflow: hidden; }
  .toast { left: 50%; }
}
@media (max-width: 700px) {
  main { padding: 22px 20px 30px; }
  .topbar { padding-right: 16px; }
  .topbar-actions { gap: 5px; }
  .search-trigger { width: 44px; height: 44px; justify-content: center; }
  .search-trigger .icon { width: 19px; height: 19px; }
  .search-trigger > span:not(:first-child), .search-trigger kbd, .toolbar-divider { display: none; }
  .hero { min-height: 0; padding: 28px 0; grid-template-columns: 1fr; gap: 12px; }
  .hero h1 { font-size: clamp(46px, 9vw, 65px); line-height: 1.03; letter-spacing: -2.5px; margin-top: 20px; }
  .hero-art { display: grid; min-height: 0; transform: none; max-width: 320px; margin: 12px auto 0; }
  .hero h1 em { display: block; }
  .hero-copy { position: relative; z-index: 1; }
  .hero .eyebrow { letter-spacing: 1.3px; font-size: 10px; }
  .hero-description { font-size: 12px; margin-top: 18px; }
  .hero-meta { margin-top: 24px; gap: 16px; flex-wrap: wrap; }
  .hero-meta-note { border: 0; padding: 0; }
  .reader-strip { padding: 15px 17px; gap: 10px; }
  .reader-strip-text strong { font-size: 12px; }
  .reader-strip-text > span { font-size: 10px; }
  .reader-strip-icon { width: 32px; height: 32px; }
  .reader-strip .text-link { gap: 7px; font-size: 11px; }
  .route-section { margin-top: 30px; }
  .section-header h2 { font-size: 25px; }
  .section-count { font-size: 24px; }
  .section-count > span { display: none; }
  .module-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .module-card { grid-column: auto; }
  .module-card { min-height: 225px; padding: 18px 16px 14px; }
  .module-card h3 { font-size: 21px; }
  .card-top { margin-bottom: 15px; }
  .route-note { padding: 20px 15px 8px; }
  .route-note h3 { font-size: 21px; }
  .route-note p { font-size: 11px; }
  .content-notice { padding: 18px; gap: 12px; align-items: flex-start; }
  .content-count { font-size: 14px; padding-left: 12px; }
  .content-count span { font-size: 8px; white-space: normal; max-width: 65px; }
  .content-notice .notice-icon { padding-top: 2px; }
  .site-footer { padding: 20px; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; font-size: 9px; }
  .site-footer > span { order: 3; width: 100%; }
  .module-heading-line { gap: 12px; align-items: flex-start; }
  .module-heading-line .module-icon { width: 40px; height: 40px; }
  .page-heading h1 { font-size: 32px; }
  .page-lead { font-size: 14px; }
  .block-row { gap: 15px; padding: 22px 18px; }
  .block-row h2 { font-size: 20px; }
  .reader-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; margin-bottom: 22px; padding-bottom: 18px; }
  .reader-actions { margin-top: 0; }
  .reader-heading h1 { font-size: 32px; }
  .pending-panel { padding: 35px 20px 28px; }
  .pending-panel h2 { font-size: 25px; }
  .pending-panel p { font-size: 16px; }
  .reader-pagination { gap: 8px; }
  .reader-pagination > a { padding: 8px 4px; }
  .reader-pagination strong { font-size: 12px; }
  .reader-pagination span { font-size: 10px; }
  .privacy-note { font-size: 12px; }
  .visit-note { text-align: center; font-size: 10px; align-items: flex-start; }
  .visit-note .icon { margin-top: 2px; }
  .saved-row { padding: 8px; gap: 0; }
  .saved-row > a { gap: 10px; }
  .saved-row > a > .icon:last-child { display: none; }
  .saved-row h2 { font-size: 14px; }
  .search-dialog { padding: 18px; max-height: 84vh; margin-top: 7vh; }
  .search-heading h2 { font-size: 24px; }
  .search-results { max-height: 54vh; }
  .search-field kbd { display: none; }
  .author-content { padding: 24px; }
  .author-content.interactive-content { padding: 20px 16px; }
  .plan-tabs { margin-bottom: 22px; }
  .plan-tabs button { padding-inline: 12px; }
  .lesson-card summary { flex-wrap: wrap; gap: 7px 12px; padding: 14px; }
  .lesson-card summary strong { flex-basis: 100%; order: 3; }
  .lesson-hours { margin-left: auto; }
  .lesson-details { padding: 16px; }
  .quiz-heading { flex-wrap: wrap; }
  .quiz-heading h2 { font-size: 25px; }
  .quiz-option { padding: 12px; gap: 8px; }
  .quiz-question legend { font-size: 16px; }
  .author-content .author-portrait { float: none; width: min(100%, 320px); margin: 0 auto 28px; }
}
@media (max-width: 600px) {
  .module-grid { grid-template-columns: minmax(0, 1fr); }
  .module-card { min-height: 195px; padding: 20px; }
}
@media (max-width: 400px) {
  main { padding: 18px 16px 28px; }
  .hero { padding: 24px 0; }
  .hero h1 { font-size: 49px; }
  .hero-art { max-width: 270px; }
  .hero-description { font-size: 11px; }
  .hero-meta { gap: 13px; font-size: 9px; }
  .hero-meta-note { display: none !important; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .section-header h2 { font-size: 22px; }
  .module-grid { grid-template-columns: 1fr; }
  .module-card { grid-column: auto; }
  .module-card { min-height: 195px; padding: 20px; }
  .module-card h3 { font-size: 20px; }
  .module-card p { font-size: 12px; }
  .card-top { margin-bottom: 16px; }
  .route-note { padding: 28px 22px 10px; }
  .route-note p { max-width: none; font-size: 12px; }
  .route-note .text-link { margin-top: 8px; font-size: 12px; }
  .reader-strip { padding: 14px; }
  .reader-strip-text { flex-basis: auto; }
  .reader-strip .text-link { margin-left: 0; }
  .content-notice { flex-wrap: wrap; }
  .content-notice > div { flex: 1; }
  .content-count { flex-basis: 100%; border-left: 0; border-top: 1px solid #d9ddcf; padding: 10px 0 0 30px; display: flex; align-items: center; gap: 8px; }
  .content-count span { max-width: none; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .report-dialog, .results-report-button { display: none !important; }
  .word-save, .vocabulary-link, .word-dialog { display: none !important; }
  .glossary-entry dt { padding-right: 0; min-height: 0; }
  .quiz-feedback, .quiz-actions, .quiz-score, .quiz-status, .plan-tabs, .glossary-search, .max-delivery { display: none !important; }
  .presentation-viewer { display: none !important; }
  :root { background: #fff; color: #000; }
  .sidebar, .topbar, .site-footer, .reader-actions, .reader-pagination, .module-pagination, .back-link, .toast, .skip-link, .hero-art, .reader-strip, .route-note, .button, .text-link, .visit-note, .mobile-scrim, .search-dialog { display: none !important; }
  .app-shell { margin: 0; }
  main { max-width: none; min-height: 0; padding: 0; }
  .hero { display: block; background: #fff; border: 0; padding: 10px 0; min-height: 0; }
  .hero h1 { font-size: 48pt; }
  .module-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .module-card, .block-row, .pending-panel { break-inside: avoid; }
  .pending-panel, .author-content { border: 0; }
  .pending-panel p, .author-content { color: #000; font-size: 12pt; }
  .pending-illustration { display: none; }
  .pending-tag { background: none; color: #000; }
  .content-notice { background: none; }
  @page { size: A4; margin: 18mm; }
  body.printing-report { margin: 0 !important; overflow: visible !important; background: #f7f4ee !important; }
  body.printing-report > :not(#report-dialog) { display: none !important; }
  body.printing-report #report-dialog { display: block !important; position: static !important; inset: auto !important; width: 100% !important; max-width: none !important; height: auto !important; max-height: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; overflow: visible !important; background: #f7f4ee !important; box-shadow: none !important; }
  body.printing-report #report-dialog::backdrop { display: none; }
  body.printing-report .report-controls { display: none !important; }
  body.printing-report .report-preview { padding: 0; }
  body.printing-report .report-sheet { max-width: none; width: 100%; padding: 0; margin: 0; font: 9pt/1.35 var(--sans); box-shadow: none; background: #f7f4ee; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  body.printing-report .report-title { flex-direction: row; align-items: baseline; }
  body.printing-report .report-masthead { flex-direction: row; align-items: baseline; }
  body.printing-report .report-masthead p { font-size: 17pt; }
  body.printing-report .report-title h2 { font-size: 28pt; }
  body.printing-report .report-notes, body.printing-report .report-table-note, body.printing-report .report-sheet thead th, body.printing-report .report-summary p, body.printing-report .report-identity span { font-size: 8pt; }
  body.printing-report .report-sheet th, body.printing-report .report-sheet td { padding-top: 4px; padding-bottom: 4px; }
  body.printing-report .report-sheet tr, body.printing-report .report-summary, body.printing-report .report-identity, body.printing-report .report-notes { break-inside: avoid; }
}
