/* A calmer visual rhythm, retaining the project's three chapter colours. */
:root{--paper:#f7f8f4;--ink:#203b33;--muted:#52645c;--line:#d7e1dc;--shadow:0 8px 24px #17352e0d}
body{overflow-wrap:break-word}main:not(.document-edition){max-width:1280px;padding-inline:32px}
.site-header{padding:12px max(24px,calc((100% - 1216px)/2));gap:20px;box-shadow:0 2px 10px #17352e06}
.brand img{width:60px;height:60px}.brand-description{font-size:.875rem;max-width:150px}.site-header nav a{min-height:44px;border-radius:9px;padding:10px 12px}.header-tools{gap:12px}.reading-settings-button{font-size:.875rem}.reading-settings-button .settings-symbol{display:inline!important}.reading-settings-button .reading-settings-label{display:inline}.top-link{font-size:.8125rem}
.intro{grid-template-columns:1.25fr .75fr;padding:48px 0 32px;gap:64px}.intro h1{font-size:3rem;line-height:1.12;letter-spacing:-.045em;max-width:640px;margin-bottom:24px}.intro-copy>p:not(.eyebrow){font-size:1.125rem;line-height:1.7;max-width:570px;margin-bottom:24px}.intro-art{transform:none;background:#edf4ee;border:1px solid #dce7dd;border-radius:24px;margin:0;padding:28px 24px;box-shadow:none}.intro-art .project-logo-art{width:180px;height:180px}.intro-art .art-label{font-size:1rem;line-height:1.5;color:#365346;max-width:260px;padding:12px 0 0}.intro-meta{gap:8px 12px}.intro-meta span{font-size:.875rem;padding:6px 12px;line-height:1.5;background:white}.intro .eyebrow{font-size:.75rem;line-height:1.6}
.guide-route{margin:8px 0 32px;padding:16px 20px;background:white;border:1px solid var(--line);border-left:3px solid #9bb9a6;border-radius:10px;font-size:.875rem;line-height:1.7}
#guide,#assessment,#resources{border-width:1px;border-top-width:3px;border-radius:20px;box-shadow:none;margin-bottom:40px}
#guide{padding:32px;background:#f1f7fa;--chapter-accent:#236586;--chapter-line:#ccdfe8}
#assessment{background:#f5f1f8;--chapter-accent:#70478b;--chapter-line:#dfd1e7;align-items:stretch}
#resources{padding:32px;background:#fcf8ed;--chapter-accent:#865b13;--chapter-line:#e4d6b7;align-items:flex-start;gap:32px}
#guide .section-head .eyebrow,#assessment .assessment-intro>.eyebrow,#resources .eyebrow{font-size:.75rem;letter-spacing:.08em;padding:7px 10px;background:#ffffffb8}
.section-head{align-items:flex-start;gap:32px;margin-bottom:24px}.section-head h2,.assessment-intro h2,.resources-section h2{font-size:2rem;line-height:1.25;letter-spacing:-.035em}.section-description{font-size:1rem;line-height:1.6;max-width:600px}.overall-progress{padding-top:12px;font-size:.8125rem}.reading-alternative{padding:14px 0 18px;margin:0;border-top:1px solid #ccdfe8;font-size:.875rem;line-height:1.6;align-items:center}.reading-alternative a{font-weight:600}
.topic-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.topic-card{border:1px solid #d8e2dd;border-radius:12px;background:white;transition:transform .15s,border-color .15s,box-shadow .15s}.topic-card:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:var(--shadow)}.topic-photo,.topic-card:last-child .topic-photo{height:108px;background:var(--tint);padding:20px}.topic-photo .topic-icon{width:64px;height:64px}.topic-photo .topic-number{background:white;border-color:#ffffff80;font-size:.75rem;top:12px;left:12px}.topic-card-body{background:white;padding:20px 16px 16px}.topic-card h3{font-size:1rem;line-height:1.4;letter-spacing:-.015em;min-height:4.2em;margin-bottom:12px}.topic-card p{font-size:.875rem;line-height:1.6;color:#52645c;margin-bottom:20px}.topic-bottom{font-size:.75rem;line-height:1.5;gap:4px}.card-arrow{background:var(--tint);border:0;flex-shrink:0}.section-continue{margin-top:24px;font-size:.875rem}.storage-note{font-size:.8125rem;margin-top:20px}
.assessment-intro,.quiz-panel{padding:32px}.assessment-intro>p:not(.eyebrow){font-size:1rem;line-height:1.7;max-width:340px}.assessment-intro .pill{font-size:.8125rem;line-height:1.5;background:white;border-color:#d6c9e0}.assessment-next{font-size:.875rem;line-height:1.6}.reflection-mark{display:none}.quiz-panel{align-self:stretch}.quiz-welcome h3{font-size:1.75rem}.quiz-panel h3{font-size:1.375rem;line-height:1.4}.quiz-welcome p{font-size:1rem;line-height:1.7}.quiz-top{font-size:.8125rem;line-height:1.5}.save-status{font-size:.8125rem;line-height:1.5}.result-card .result-status{font-size:.8125rem}
.resources-copy>p:not(.eyebrow){font-size:1rem;line-height:1.7;color:#52645c}.next-symbol{width:64px;height:64px;margin:0 0 16px 20px}#resources .resource-links{margin-top:0;padding:12px 20px;background:white;max-width:none;border-radius:12px}.resource-links>a{min-height:48px;align-items:center;margin:0;padding:12px 0;font-size:.875rem;line-height:1.6}.resource-links{gap:0}.trainer-resources{margin-top:12px;padding-top:20px;border-top:1px solid #e4d6b7}.trainer-resources h3{font-size:1.125rem;line-height:1.4}.trainer-resources p,.trainer-resources a,.course-module-list a{font-size:.875rem;line-height:1.7}.trainer-resources a{min-height:44px;align-items:center;padding:10px 0}.course-module-list summary{min-height:44px;padding:10px 0;font-size:.875rem;line-height:1.6}.decision-checklist{background:white;border-color:#e4d6b7;padding:24px;margin-top:24px}.decision-checklist h3{font-size:1.25rem}.decision-checklist p,.decision-checklist li{font-size:.875rem;line-height:1.7}
.feedback-section{gap:48px;padding:8px 0 48px}.feedback-section h3{font-size:1.25rem;line-height:1.4}.feedback-section p{font-size:.875rem;line-height:1.7}.feedback-options button{min-height:44px;font-size:.875rem;line-height:1.5}.feedback-section textarea{min-height:100px;line-height:1.6}.feedback-section label{font-size:.875rem;line-height:1.6}.text-button{min-height:44px;padding:10px 8px;line-height:1.5}.feedback-actions{gap:12px}.button-row{gap:12px}.primary,.secondary{min-height:44px;line-height:1.5}
.journey-shell{border-color:#cbdacf;border-radius:16px}.journey-top,.journey-heading{background:#f5f8f3}.journey-top{padding:8px 16px}.back-button{padding:8px;min-height:44px;font-size:.875rem}.journey-heading{padding:14px 24px}.notebook,.notebook.layout-1{background:#eef3ed;background-image:none;gap:24px;padding:24px}.main-note,.layout-1 .main-note,.layout-2 .main-note,.layout-3 .main-note{border:1px solid #d8e2da;border-radius:12px;box-shadow:none;padding:24px}.main-note::before{display:none}.main-note h3{font-size:1.5rem;line-height:1.35}.narration-copy{font-size:1rem;line-height:1.8}.interaction-note,.layout-2 .interaction-note{transform:none;border:1px solid #d8e2da;border-radius:12px;box-shadow:none;padding:24px}.tip-note,.layout-3 .tip-note{transform:none;font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:.875rem;line-height:1.7;box-shadow:none;border-left:3px solid #b58c29;border-radius:8px;background:#fff7db;margin:0;padding:16px}.chip,.phrase-button,.audio-button{min-height:44px}.phrase-button{align-items:center;line-height:1.5}.screen-dots button{width:44px;min-width:44px;height:44px;min-height:44px;font-size:.875rem}.audio-speed{font-size:.8125rem}.event-title{font-size:1.25rem}.event-label{font-size:.75rem}.completion h3{font-size:2rem}.video-card h3{font-size:1.125rem}
.settings-title h2{font-size:1.5rem}.settings-title button{min-height:44px;min-width:44px}.check-item{min-height:44px;line-height:1.5}.check-item input{width:20px;height:20px}.project-footer{padding-top:32px;padding-bottom:24px}.project-footer .footer-actions{align-items:center;gap:16px 24px}.project-footer .footer-actions a{display:inline-flex;align-items:center;min-height:44px}.project-footer .footer-actions button{min-height:44px;padding:10px 8px}.project-footer .footer-brand>img{width:210px}.project-footer .funding-brand{max-width:350px}.project-footer .footer-brand p{font-size:.8125rem;line-height:1.7}
.high-contrast #guide,.high-contrast #assessment,.high-contrast #resources{background:white;--chapter-accent:#000;--chapter-line:#000;border-color:black}.high-contrast .intro-art,.high-contrast .guide-route,.high-contrast .topic-photo,.high-contrast .topic-card-body,.high-contrast .main-note,.high-contrast .interaction-note,.high-contrast .journey-top,.high-contrast .journey-heading,.high-contrast .trainer-resources,.high-contrast .decision-checklist{background:white;color:black;border-color:black}.high-contrast .topic-card p,.high-contrast .resources-copy>p:not(.eyebrow){color:#222}
.intro-copy,.intro-copy .eyebrow{min-width:0}.intro-copy .eyebrow>span{flex-shrink:0}.intro h1{overflow-wrap:anywhere}.intro-art{background:white}#resources .decision-checklist p,#resources .trainer-resources p{font-size:.875rem}
.large-text .topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.large-text .topic-bottom{flex-wrap:wrap}.large-text .topic-card h3{min-height:0}
.journey-heading .eyebrow{font-size:.75rem}#quiz .answer-feedback-title{font-size:1.125rem}.settings-title+p,.settings-title~.check-item{font-size:1rem}dialog{background:white}.site-header nav a:not([aria-current]),.brand-description{background:white}
.reveal-list summary{min-height:44px;align-items:center}.reveal-list summary>span{flex:1;min-width:0;overflow-wrap:anywhere}.reveal-list summary::after{flex-shrink:0}
.assessment-next{display:flex;align-items:center;min-height:44px;padding-block:10px}.card-arrow{width:1.75em;height:1.75em}
/* The empty input boundary must contrast with both white and the activity tint. */
.plan-fields input{border-color:#66786d}.high-contrast .plan-fields input{border-color:#444}
.section-head>div{min-width:0;max-width:100%}
.trainer-resources a{overflow-wrap:anywhere}
.course-module-list summary{padding:10px 12px}
.site-header .reading-settings-button .reading-settings-label{display:inline}
.settings-title h2{min-width:0;overflow-wrap:anywhere}.settings-title button{flex-shrink:0}.large-text .settings-title{flex-direction:column}.large-text .settings-title button{align-self:flex-end;order:-1}
@media(max-width:1250px){.site-header .reading-settings-button .reading-settings-label{display:block;position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.site-header{gap:12px}.intro{gap:40px}}
@media(max-width:1000px){.topic-grid{gap:12px}.topic-card-body{padding:16px 12px}.topic-card h3{font-size:1rem}.intro{grid-template-columns:1.2fr .8fr;gap:32px}.intro h1{font-size:2.5rem}.intro-copy>p:not(.eyebrow){font-size:1rem}.resources-section{gap:24px}}
@media(max-width:760px){main:not(.document-edition){padding-inline:20px}.site-header{padding:8px 16px;gap:4px 12px}.brand img{height:48px;width:48px}.site-header nav{gap:8px}.site-header nav a{padding:8px;min-height:44px;font-size:.8125rem;line-height:1.4}.header-tools{gap:8px}.intro{padding:32px 0 24px;gap:24px;grid-template-columns:1fr}.intro h1{font-size:2.5rem;max-width:600px}.intro-copy>p:not(.eyebrow){max-width:600px}.intro-art{display:none}.guide-route{margin-bottom:28px;padding:16px;font-size:.875rem}.section-head h2,.assessment-intro h2,.resources-section h2{font-size:1.75rem}#guide,#resources{padding:24px 20px}#guide,#assessment,#resources{margin-bottom:32px}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.topic-card h3{min-height:0}.topic-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:100px minmax(0,1fr)}.topic-card:last-child .topic-photo{height:100%;border-bottom:0;border-right:1px solid #d8e2dd;min-height:0}.topic-card:last-child .topic-card-body{padding:20px}.assessment-intro,.quiz-panel{padding:24px}.assessment-intro>p:not(.eyebrow){max-width:600px}.resources-section{flex-direction:column}.next-symbol{width:52px;height:52px}.resources-copy,#resources .resource-links{width:100%;max-width:none}.feedback-section{gap:24px;padding-bottom:32px}.notebook,.notebook.layout-1{padding:16px;gap:16px}.main-note,.layout-1 .main-note,.layout-2 .main-note,.layout-3 .main-note,.interaction-note{padding:20px}.main-note h3{font-size:1.25rem}.journey-heading{padding:12px 16px}.journey-nav{gap:8px;padding:12px}.screen-dots{gap:8px}.journey-top .journey-topic{font-size:.75rem}.project-footer .funding-brand{max-width:320px}}
@media(max-width:420px){main:not(.document-edition){padding-inline:16px}.intro h1{font-size:2.25rem}.intro-meta{gap:8px}.intro-meta span{font-size:.8125rem;padding:6px 10px}#guide,#resources{padding:20px 16px}.section-description{font-size:.875rem}.overall-progress{padding-top:0}.overall-progress span{white-space:normal}.topic-photo,.topic-card:last-child .topic-photo{height:100px;padding:16px}.topic-card:last-child .topic-photo{height:100%}.topic-photo .topic-icon{width:56px;height:56px}.topic-card-body{padding:16px 12px}.topic-card h3{font-size:.875rem}.topic-card p{font-size:.8125rem}.topic-bottom{font-size:.75rem}.topic-photo .topic-number{left:8px;top:8px}.assessment-intro,.quiz-panel{padding:24px 20px}.quiz-panel h3{font-size:1.25rem}.decision-checklist{padding:20px}.feedback-section{gap:20px}.project-footer .footer-actions{gap:12px}}
@media(max-width:760px){.large-text .topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.large-text .topic-card:last-child{display:flex;grid-column:auto}.large-text .intro{grid-template-columns:minmax(0,1fr)}}
@media(max-width:520px){.large-text .topic-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.large-text .topic-card:last-child .topic-photo{height:108px;border-right:0;border-bottom:1px solid #d8e2dd}.topic-card-body{min-width:0}.topic-bottom{flex-wrap:wrap}}
/* Feedback is an optional external action, not a second form inside the guide. */
#feedback{display:block;max-width:640px;margin:0 auto 40px;padding:24px;background:white;border:1px solid var(--line);border-radius:12px}
#feedback[hidden]{display:none}
#feedback h3{margin:0 0 8px}
#feedback>p{margin:0 0 20px}
#feedback .primary{max-width:100%;font-size:.875rem;white-space:normal;overflow-wrap:anywhere}
#feedback .feedback-note{margin:12px 0 0;font-size:.8125rem;line-height:1.6;color:var(--muted)}
@media(max-width:760px){#feedback{padding:20px;margin-bottom:32px}}
/* One page scrollbar. Pin navigation only while enough reading space remains. */
@media screen{
  .journey-shell{height:auto;max-height:none;display:block;overflow:visible}
  .journey-top{border-radius:15px 15px 0 0}
  .notebook,.notebook.layout-1{overflow:visible;overscroll-behavior:auto;scrollbar-gutter:auto;min-height:0;max-height:none;border-radius:0 0 15px 15px}
  .journey-nav{position:sticky;top:var(--pinned-header-height);z-index:8;border-bottom:1px solid var(--line);box-shadow:0 4px 10px #17352e0d;background:white}
  .journey-shell>.journey-notice{width:auto;margin:16px}
  /* Root scroll padding already includes the header: add only the topic controls. */
  .notebook [id],.notebook summary,.notebook button,.notebook input,.notebook select{scroll-margin-top:calc(var(--pinned-controls-height) + 8px)}
  .resources-section{scroll-margin-top:0}
  .embedded .journey-nav{position:relative;top:auto;transform:translateY(clamp(0px,calc(var(--host-scroll) + var(--header-height) - var(--journey-nav-top,0px)),var(--journey-nav-limit,0px)))}
  .unpin-navigation .site-header,.unpin-navigation .journey-nav{position:relative;top:auto;transform:none;will-change:auto}
}
@media print{.intro-art{display:none}.document-edition .doc-footer{display:grid!important}}
