:root {
  color-scheme: light;
  --ink: #203639;
  --muted: #64736e;
  --paper: #fffefa;
  --canvas: #f7f6f1;
  --line: #e2e5dc;
  --green: #264f43;
  --yellow: #f3c76e;
  --sidebar: 276px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-size: 15px; line-height: 1.65; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, summary, input[type="checkbox"] { cursor: pointer; }
button { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #a15a12; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 20; background: var(--yellow); padding: 10px 20px; }
.skip-link:focus { top: 10px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); background: #172d32; color: #e5eeea; display: flex; flex-direction: column; padding: 30px 19px 18px; z-index: 5; overflow-y: auto; scrollbar-color: #50635f transparent; scrollbar-width: thin; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin: 0 10px 28px; font-size: 26px; font-weight: 650; letter-spacing: -.8px; line-height: 1.25; }
.brand-mark { width: 43px; height: 45px; background: var(--yellow); color: #172d32; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font: italic 33px Georgia, serif; flex-shrink: 0; }
.brand-mark sup { font: 16px Georgia, serif; margin: -20px 0 0 1px; }
.brand-caption { display: block; font-size: 9px; font-weight: 500; letter-spacing: 1.9px; color: #b6c8c0; margin-top: 6px; }
.sidebar-progress { margin: 0 10px 21px; }
.progress-label { display: flex; justify-content: space-between; font-size: 11px; color: #becfc8; }
.progress-label strong { color: #f4d18c; font-weight: 500; }
progress { display: block; width: 100%; height: 5px; border: 0; border-radius: 10px; overflow: hidden; background: var(--line); accent-color: var(--green); }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--green); border-radius: 10px; }
progress::-moz-progress-bar { background: var(--green); border-radius: 10px; }
.sidebar progress { margin-top: 9px; background: #34494a; }
.sidebar progress::-webkit-progress-bar { background: #34494a; }
.sidebar progress::-webkit-progress-value { background: var(--yellow); }
.sidebar progress::-moz-progress-bar { background: var(--yellow); }
.nav-page { display: flex; gap: 12px; align-items: center; text-decoration: none; padding: 11px 12px; border-radius: 9px; font-size: 13px; font-weight: 550; }
.nav-page > span { width: 18px; font-size: 20px; line-height: 1; text-align: center; }
.nav-page:hover, .lesson-link:hover { background: #243e41; }
.nav-page[aria-current] { background: #314b49; color: #f3d9a6; }
.nav-group { margin-top: 19px; }
.nav-group > p { text-transform: uppercase; letter-spacing: 1.7px; color: #9eb4ab; font-size: 9px; font-weight: 650; padding: 0 12px; margin: 0 0 7px; }
.lesson-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 11.5px; line-height: 1.45; color: #cfddd6; min-height: 40px; }
.lesson-number { display: inline-grid; place-items: center; width: 23px; height: 23px; border: 1px solid #50615d; border-radius: 7px; font-size: 10px; flex-shrink: 0; }
.lesson-link[aria-current] { background: #f1c97e; color: #223b38; font-weight: 600; }
.lesson-link[aria-current] .lesson-number { border-color: #b89758; }
.lesson-link.finished .lesson-number { background: #48665b; border-color: #48665b; color: white; }
.nav-check { margin-left: auto; color: #b6d5bd; }
.nav-bottom { border-top: 1px solid #365052; margin-top: 22px; padding-top: 15px; }
.sidebar-note { margin: 23px 10px 0; color: #b7cac1; font-size: 11px; line-height: 1.7; display: flex; gap: 10px; }
.little-star { color: #f2c774; font-size: 25px; line-height: 1; }
.page-shell { margin-left: var(--sidebar); min-height: 100vh; display: flex; flex-direction: column; }
.topbar { height: 74px; border-bottom: 1px solid var(--line); padding: 0 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.eyebrow { font-size: 10px; letter-spacing: 1.8px; font-weight: 700; line-height: 1.6; }
.topbar .eyebrow { color: var(--muted); font-size: 9px; letter-spacing: 1.3px; }
.save-indicator { display: inline-flex; gap: 7px; align-items: center; font-size: 10px; color: var(--muted); white-space: nowrap; }
.save-indicator > span { width: 6px; height: 6px; border-radius: 50%; background: #618b66; }
main { flex: 1; padding: 44px 44px 24px; max-width: 1440px; width: 100%; margin: 0 auto; outline: none; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(35px, 3.9vw, 58px); letter-spacing: -1.9px; line-height: 1.11; margin-bottom: 20px; }
h1 em { font-weight: 400; color: #47745b; }
h2 { font-size: 24px; letter-spacing: -.6px; line-height: 1.3; font-weight: 600; }
.lead { color: var(--muted); font-size: 14px; line-height: 1.85; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 23px; padding: 12px 19px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 12px; min-height: 44px; }
.button-primary { background: var(--green); color: #fffefa; }
.button-primary:hover { background: #173c30; }
.button-outline { border-color: #cbd4c8; background: transparent; color: var(--ink); }
.button-outline:hover { background: #eef0e7; }
.welcome-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: center; }
.welcome-copy { padding: 9px 0 16px; }
.welcome-copy .eyebrow { color: #768170; margin-bottom: 18px; }
.welcome-copy .lead { margin-bottom: 24px; }
.next-card { background: #eeeede; border: 1px solid #e2e3cd; border-radius: 16px; padding: 108px 25px 24px; position: relative; overflow: hidden; min-height: 302px; }
.next-card > .eyebrow { color: #626c4e; font-size: 8px; letter-spacing: 1.2px; margin-bottom: 15px; }
.next-number { font-size: 9px; letter-spacing: 1.5px; color: #697352; margin-bottom: 5px; font-weight: 650; }
.next-card h2 { font-family: Georgia, serif; font-weight: 400; font-size: 28px; margin-bottom: 10px; line-height: 1.18; }
.next-card > p:not(.eyebrow, .next-number) { font-size: 11px; color: #626e59; margin-bottom: 15px; }
.next-link { font-size: 11px; font-weight: 700; display: flex; justify-content: space-between; text-decoration: none; border-top: 1px solid #d5dac6; padding-top: 14px; }
.card-orbit { position: absolute; top: 0; right: 0; left: 0; height: 90px; overflow: hidden; background: repeating-linear-gradient(0deg, transparent 0 23px, #dce0ca80 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, #dce0ca80 23px 24px); }
.card-orbit > span { position: absolute; font: italic 21px Georgia, serif; color: #637653; border-radius: 9px; background: #f7f6e8; padding: 7px 12px; transform: rotate(-8deg); left: 27px; top: 19px; border: 1px solid #d6dac2; }
.card-orbit > span:nth-child(2) { left: auto; right: 30px; top: 39px; transform: rotate(7deg); background: #f4d390; border-color: #e7c583; }
.card-orbit > i { position: absolute; right: 27px; top: 5px; font: 22px Georgia, serif; color: #87977a; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 31px 0; }
.stats-grid > div, .stats-grid > a { display: flex; align-items: center; gap: 13px; padding: 20px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; text-decoration: none; }
.stat-symbol { display: grid; place-items: center; width: 40px; height: 43px; border-radius: 11px; font-size: 22px; flex-shrink: 0; }
.sage { background: #e4ecdc; }
.sand { background: #f4e9cf; }
.lavender { background: #e9e5f1; }
.peach { background: #f6e5d9; }
.blue { background: #e1eaf0; }
.stats-grid strong { font-size: 24px; font-weight: 650; line-height: 1.2; display: block; letter-spacing: -.8px; }
.stats-grid strong small { font-size: 13px; color: #738171; font-weight: 400; letter-spacing: 0; }
.stats-grid > a > span:last-child > span, .stats-grid > div > span:last-child > span { font-size: 10px; color: var(--muted); }
.routine { padding: 25px; background: #f0f1e8; border: 1px solid #e1e5d7; border-radius: 12px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 25px; align-items: center; }
.routine .eyebrow { color: #667858; font-size: 8px; margin-bottom: 5px; }
.routine h2 { font: 24px Georgia, serif; margin-bottom: 6px; }
.routine p:last-child { color: var(--muted); font-size: 11px; margin: 0; }
.routine ol { display: flex; list-style: none; padding: 0; margin: 0; }
.routine li { flex: 1; text-align: center; font-size: 10px; color: #58664f; padding: 0 8px; }
.routine li + li { border-left: 1px solid #d5ddc8; }
.routine strong { display: block; font: 30px Georgia, serif; color: #344c35; line-height: 1.3; margin-bottom: 4px; white-space: nowrap; }
.routine strong > span { font: 10px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin-left: 4px; }
.journey { margin: 37px 0 26px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.section-heading .eyebrow { color: #788172; font-size: 8px; margin-bottom: 5px; }
.section-heading h2 { font: 25px Georgia, serif; margin: 0; }
.section-heading > span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.topic-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; }
.topic-card { display: flex; flex-direction: column; text-decoration: none; border: 1px solid #dfe3d8; border-radius: 11px; padding: 16px 13px; min-height: 181px; }
.topic-card:hover { border-color: #607654; transform: translateY(-2px); }
.topic-index { font-size: 10px; letter-spacing: 1px; color: #63715c; margin-bottom: 14px; }
.topic-card h3 { font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: -.25px; margin-bottom: 14px; }
.topic-card > span:last-of-type { margin-top: auto; display: flex; justify-content: space-between; font-size: 9px; font-weight: 600; }
.topic-card > p { font-size: 9px; color: #61705d; margin: 8px 0 0; }
.intro-details, .prose details { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; margin: 20px 0; }
summary { padding: 16px 19px; font-size: 13px; font-weight: 600; line-height: 1.5; }
summary::marker { color: #55735b; }
.intro-details > div { padding: 0 22px 10px; }
.quiet-note { font-size: 11px; color: var(--muted); line-height: 1.8; margin: 17px 0; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--muted); font-size: 10px; margin: 14px 44px 0; padding: 20px 0; border-top: 1px solid var(--line); }
.text-button { padding: 4px 0; border: 0; background: none; color: var(--muted); font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.mobile-header { display: none; }
.notice { background: #fff0cf; color: #69440c; margin: 20px 44px 0; border: 1px solid #d2ae6c; padding: 14px 18px; border-radius: 9px; font-size: 13px; }
.loading { padding: 40px; color: var(--muted); }
.back-link { display: inline-block; font-size: 11px; color: var(--muted); margin-bottom: 23px; text-decoration: none; }
.lesson-heading { max-width: 860px; margin-bottom: 26px; }
.lesson-heading .eyebrow { color: #687a60; margin-bottom: 10px; }
.heading-dot { padding: 0 9px; }
.lesson-heading h1 { font-size: clamp(32px, 3.2vw, 47px); letter-spacing: -1px; margin-bottom: 14px; }
.lesson-heading .lead { margin-bottom: 0; }
.lesson-layout { display: grid; grid-template-columns: minmax(0, 1fr) 205px; gap: 22px; align-items: start; }
.lesson-paper { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 27px; min-width: 0; }
.paper-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.pill { font-size: 8px; letter-spacing: 1px; font-weight: 700; padding: 5px 9px; border-radius: 5px; }
#lesson-step-count { font-size: 10px; color: var(--muted); }
.lesson-paper > progress { margin-bottom: 27px; }
.prose { overflow-wrap: anywhere; font-size: 14px; line-height: 1.9; }
.prose a { color: #235d4a; text-decoration-color: #96b6a0; text-underline-offset: 3px; }
.prose a:hover { color: #12392a; text-decoration-thickness: 2px; }
.prose a[target="_blank"]::after { content: "\2197"; display: inline-block; font-size: 9px; margin-left: 3px; text-decoration: none; }
.prose p { margin-bottom: 19px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 11px; padding-left: 3px; }
.prose h1 { font-size: 32px; }
.prose h2 { margin: 29px 0 14px; font-size: 22px; }
.prose h3 { margin: 25px 0 12px; font-size: 16px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 25px 0; }
.prose code { font: 13px ui-monospace, SFMono-Regular, Consolas, monospace; background: #f0f1e9; padding: 3px 6px; border-radius: 4px; }
.prose .remember { background: #eff3e8; border-left: 3px solid #8eaa76; border-radius: 3px 8px 8px 3px; padding: 15px 18px; font-size: 13px; }
.prose .before-moving { padding: 17px 0 5px; border-top: 1px dashed #d0d8c8; }
.prose ul:has(> .task-item) { list-style: none; padding: 0; margin: 24px 0; }
.prose li.task-item { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid #eef0e8; margin: 0; }
input[type="checkbox"] { accent-color: var(--green); width: 19px; height: 19px; flex-shrink: 0; margin: 4px 0 0; }
.task-item.checked > div { color: #687766; }
.task-item.checked > div > strong { text-decoration: line-through; text-decoration-color: #98aa93; }
.prose details { background: #f5f3e9; border-color: #e2dfcd; margin-top: 24px; }
.prose details > ul, .prose details > p { margin-left: 18px; margin-right: 18px; }
.prose details > ul { padding-left: 18px; padding-right: 2px; font-size: 13px; }
.prose details[open] > summary { border-bottom: 1px solid #e2dfcd; margin-bottom: 15px; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: 12px; line-height: 1.6; margin-bottom: 22px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; min-width: 100px; text-align: left; vertical-align: top; }
.prose th { background: #eff2e7; }
.prose tr:nth-child(even) { background: #fafaf4; }
.confidence-card { background: #f0f3e9; padding: 18px; margin-top: 25px; border-radius: 8px; }
.confidence-card label { display: flex; gap: 11px; align-items: start; font-size: 13px; font-weight: 600; cursor: pointer; }
.confidence-card p { color: var(--muted); font-size: 11px; margin: 9px 0 0 30px; }
.finish-status { font-size: 11px; color: #4e6d50; margin: 17px 0; }
.lesson-pagination { display: flex; justify-content: space-between; gap: 13px; padding-top: 19px; border-top: 1px solid var(--line); }
.help-card { border: 1px solid #dce3d3; background: #eaf0df; border-radius: 12px; padding: 22px; margin-bottom: 16px; }
.small-icon { font-size: 26px; color: #576f45; }
.help-card h2 { font: 24px Georgia, serif; margin: 10px 0 13px; }
.help-card p, .help-card ol { font-size: 11px; color: #5b6b52; }
.help-card p:last-child { margin-bottom: 0; }
.help-card.soft { background: #f1ede2; border-color: #e3ded0; }
.help-card ol { padding-left: 17px; }
.help-card li { margin-bottom: 8px; }
.help-link { font-size: 11px; color: #4a6651; }
.resource-filters { display: flex; gap: 15px; align-items: end; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.resource-filters label { font-size: 11px; font-weight: 650; display: flex; flex-direction: column; gap: 6px; min-width: 130px; }
.resource-filters .search-label { flex: 1; }
.resource-filters input, .resource-filters select { border: 1px solid #cbd3c5; border-radius: 7px; padding: 11px; background: #fffefa; color: var(--ink); font-size: 13px; width: 100%; min-height: 44px; }
.result-count { color: var(--muted); font-size: 12px; margin: 25px 0 12px; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.resource-card { padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; display: flex; flex-direction: column; text-decoration: none; min-height: 173px; overflow-wrap: anywhere; }
.resource-card:hover { border-color: #73916d; background: #f2f5eb; }
.resource-kind { font-size: 9px; color: #4b6a50; letter-spacing: 1.3px; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.resource-card h2 { font-size: 15px; line-height: 1.5; letter-spacing: -.25px; font-weight: 600; margin-bottom: 20px; }
.resource-card > span:last-child { display: flex; justify-content: space-between; gap: 7px; font-size: 10px; color: var(--muted); margin-top: auto; }
.empty-state { padding: 35px; background: #eef0e6; border-radius: 10px; grid-column: 1 / -1; }
.parent-banner { background: #eeeedd; border: 1px solid #dedfc7; border-radius: 11px; padding: 22px; margin-bottom: 24px; }
.parent-banner p { font-size: 13px; color: #5f6b55; margin: 6px 0 0; }
.parent-paper { margin-bottom: 25px; }
.parent-paper > .section-heading { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.audit-content > h1 { font: 27px Georgia, serif; letter-spacing: -.5px; }
@media (min-width: 1500px) {
  main { padding-top: 55px; }
  .welcome-grid { gap: 70px; }
  .welcome-copy h1 { font-size: 66px; }
  .next-card { min-height: 320px; }
}
@media (max-width: 1180px) {
  :root { --sidebar: 245px; }
  main { padding: 32px 28px 20px; }
  .topbar { padding: 0 28px; }
  .topbar > .eyebrow { max-width: 190px; }
  .site-footer { margin-left: 28px; margin-right: 28px; }
  .welcome-grid { gap: 22px; grid-template-columns: 1.25fr 1fr; }
  .welcome-copy h1 { font-size: 46px; }
  .welcome-copy .lead br { display: none; }
  .stats-grid > div, .stats-grid > a { padding: 16px 12px; gap: 9px; }
  .stat-symbol { width: 32px; height: 36px; font-size: 18px; }
  .stats-grid > a > span:last-child > span, .stats-grid > div > span:last-child > span { font-size: 9px; }
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
  .routine { grid-template-columns: 1fr; gap: 20px; }
  .routine ol { max-width: 430px; }
  .lesson-layout { grid-template-columns: minmax(0, 1fr); }
  .help-column { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
  .help-card { margin-bottom: 0; }
  .help-link { grid-column: 1 / -1; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .mobile-header { display: flex; padding: 12px 20px; gap: 12px; align-items: center; justify-content: space-between; background: #172d32; color: #f3f4e8; position: sticky; top: 0; z-index: 10; }
  .mobile-brand { font-size: 17px; font-weight: 600; text-decoration: none; }
  .mobile-header .button { color: #f3e1b5; border-color: #667969; min-height: 38px; padding: 7px 13px; }
  .sidebar { display: none; width: 100%; top: 63px; padding: 20px; }
  .nav-open .sidebar { display: flex; }
  .sidebar .brand { display: none; }
  .sidebar-progress { max-width: 450px; margin-bottom: 10px; }
  .sidebar-note { margin-top: 15px; }
  .lesson-link { font-size: 13px; }
  .nav-group { margin-top: 15px; }
  .page-shell { margin-left: 0; }
  .topbar { height: auto; padding: 15px 22px; justify-content: end; }
  .topbar > .eyebrow { display: none; }
  .save-indicator { font-size: 10px; }
  main { padding: 25px 20px 18px; }
  .welcome-grid { grid-template-columns: 1fr; gap: 20px; }
  .welcome-copy { padding-bottom: 0; }
  .welcome-copy h1 { font-size: 48px; }
  .welcome-copy .lead { font-size: 14px; }
  .next-card { min-height: 0; padding-top: 95px; }
  .next-card h2 { font-size: 27px; }
  .stats-grid { gap: 7px; margin: 23px 0; }
  .stats-grid > div, .stats-grid > a { flex-direction: column; align-items: start; padding: 14px 10px; gap: 9px; }
  .stats-grid strong { font-size: 24px; }
  .stats-grid > a > span:last-child > span, .stats-grid > div > span:last-child > span { display: block; line-height: 1.5; }
  .routine { padding: 22px 18px; }
  .section-heading { display: block; }
  .section-heading > span { display: block; margin-top: 10px; white-space: normal; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-card { min-height: 168px; }
  .site-footer { margin: 5px 20px 0; font-size: 9px; align-items: start; }
  .notice { margin: 15px 20px 0; }
  .lesson-heading h1 { font-size: 36px; }
  .lesson-paper { padding: 20px 17px; }
  .prose { font-size: 14px; }
  .prose li.task-item { gap: 11px; }
  .help-column { grid-template-columns: 1fr; }
  .help-card { padding: 20px; }
  .help-card h2 br { display: none; }
  .lesson-pagination .button { gap: 12px; padding: 11px 13px; }
  .resource-filters { display: grid; grid-template-columns: 1fr 1fr; padding: 16px; gap: 12px; }
  .resource-filters .search-label { grid-column: 1 / -1; }
  .resource-filters label { min-width: 0; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 135px; }
  .resource-card h2 { margin-bottom: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  .sidebar, .mobile-header, .topbar, .site-footer, .help-column, .back-link, .lesson-pagination, .resource-filters, .notice { display: none; }
  .page-shell { margin: 0; }
  main { padding: 0; max-width: none; }
  .lesson-layout { display: block; }
  .lesson-paper { border: 0; padding: 0; }
  .prose details { break-inside: avoid; }
  .prose a { color: black; }
}
