/* Handbook content within the existing department workspace. */
:root { --navy:#001744; --ink:#263b4b; --muted:#5b6c7a; --line:#dce4e8; --wash:#f3f6f7; --blue:#edf2f7; --teal:#24696b; --amber:#775618; --amber-bg:#fff8e8; }
html { scroll-padding-top:0; }
body[data-page="handbook"] { background:#fff; color:var(--ink); font:16px/1.7 Aptos,"Segoe UI",Arial,sans-serif; }
.handbook-main { padding-top:2.5rem; padding-bottom:3rem; }
.handbook-main a { color:#17587e; }
button,select { font:inherit; }
button,select,summary { -webkit-tap-highlight-color:transparent; }
select:focus-visible,summary:focus-visible,.map-wrap:focus-visible { outline:3px solid #a77b23; outline-offset:4px; }
.requires-js { display:none!important; }
.js .requires-js { display:flex!important; }
.eyebrow { color:var(--teal); font-size:.67rem; font-weight:700; letter-spacing:.12em; margin:0 0 .6rem; }
.handbook-heading { padding-bottom:1.6rem; border-bottom:1px solid var(--line); }
.handbook-heading h1 { font-size:clamp(2.3rem,3.8vw,3.4rem); letter-spacing:-.025em; line-height:1.06; margin:.8rem 0 1.2rem; }
.handbook-heading h1 span { font-size:.72em; letter-spacing:-.01em; }
.handbook-intro { color:#526a78; font-size:1.07rem; max-width:64ch; }
.review-status { display:flex; align-items:center; flex-wrap:wrap; gap:.8rem 1rem; margin:1.3rem 0 .85rem; font-size:.77rem; color:var(--muted); }
.draft-label { color:#775618; background:#faf3e2; padding:.3rem .6rem; border-radius:3px; font-weight:700; }
.review-direction { max-width:78ch; font-size:.9rem; color:var(--muted); }
.review-actions { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1rem; }
.review-actions button { border:1px solid #c8d4dc; padding:.45rem .75rem; min-height:40px; border-radius:4px; background:#fff; color:#294f64; font-size:.8rem; cursor:pointer; }
.review-actions button:hover { background:#f1f6f8; }
.quick-nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:1.4rem 0; border-bottom:1px solid var(--line); padding-bottom:1.3rem; gap:1rem; }
.quick-nav a { text-decoration:none; border-left:3px solid #377f80; padding-left:.85rem; }
.quick-nav a:nth-child(2) { border-color:#9d5a6d; }
.quick-nav a:nth-child(3) { border-color:#a9873c; }
.quick-nav span { display:block; font-size:.6rem; letter-spacing:.08em; color:var(--muted); }
.quick-nav strong { display:block; font-size:.85rem; line-height:1.5; margin-top:.25rem; }
.quick-nav a:hover strong { text-decoration:underline; }
.contents { margin:1.3rem 0; padding:1rem 1.2rem; border:1px solid var(--line); background:#f7f9fa; border-radius:4px; }
.contents > summary { cursor:pointer; font-size:.8rem; font-weight:700; color:var(--navy); }
.contents nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.35rem 1.1rem; padding-top:.8rem; }
.contents a { display:flex; gap:.55rem; padding:.3rem 0; text-decoration:none; font-size:.78rem; line-height:1.5; }
.contents a span { color:#7b8a96; min-width:1.1rem; font-variant-numeric:tabular-nums; }
.contents a:hover,.contents a[aria-current="true"] { text-decoration:underline; color:var(--teal); }
.editorial-note { font-size:.77rem; color:var(--muted); margin:1.2rem 0; max-width:90ch; }
.document-origin { font-size:.82rem; border-bottom:1px solid var(--line); padding:0 0 1.3rem; color:var(--muted); }
.document-origin summary { cursor:pointer; color:#31566c; font-weight:600; }
.document-origin p { max-width:80ch; margin:.75rem 0; }
.chapter { --section-color:#286f72; scroll-margin-top:85px; padding:2.5rem 0 1rem; margin:0; border-bottom:1px solid var(--line); }
#curriculum { --section-color:#305d94; }
#assessment { --section-color:#70518a; }
#resources { --section-color:#91652c; }
#dates { --section-color:#9a4c64; }
#people { --section-color:#397252; }
#review { --section-color:#8c702b; }
.chapter-title { display:flex; align-items:center; gap:1rem; margin:0 0 1.5rem; }
.chapter-number { border-top:3px solid var(--section-color); padding-top:.45rem; color:var(--section-color); font:1.9rem/1.2 Georgia,serif; min-width:2.4rem; }
.chapter-title .eyebrow { font-size:.56rem; color:var(--muted); margin-bottom:.3rem; }
.chapter h2 { font:400 1.9rem/1.2 Georgia,serif; margin:0; }
.chapter h3 { font:650 1.03rem/1.45 Aptos,"Segoe UI",Arial,sans-serif; color:var(--navy); margin:1.6rem 0 .6rem; }
.chapter p { margin:.8rem 0; }
.manuscript { max-width:880px; }
.manuscript > p,.manuscript > ul { max-width:78ch; }
.practice-list { list-style:none; padding:0; }
.practice-list li { padding:.7rem 0 .7rem 1.3rem; border-bottom:1px solid #edf1f3; position:relative; }
.practice-list li::before { content:""; position:absolute; left:0; top:1.35rem; height:5px; width:5px; border-radius:50%; background:var(--section-color); }
.review-note { border-left:3px solid #b28b37; background:var(--amber-bg); color:#75571e; padding:.8rem 1rem; margin:1.2rem 0; font-size:.85rem; }
.review-note summary { cursor:pointer; font-weight:650; }
.review-note p { margin:.6rem 0 0; max-width:78ch; }
.chapter-sources { font-size:.7rem; color:var(--muted); margin:1.8rem 0 0!important; }
.reader-table { overflow-x:auto; margin:1.2rem 0; }
.reader-table table { width:100%; border-collapse:collapse; font-size:.87rem; }
.reader-table th,.reader-table td { padding:.8rem .9rem; text-align:left; vertical-align:top; border-bottom:1px solid var(--line); }
.reader-table thead th { color:#344d61; background:#edf2f6; font-size:.75rem; }
.reader-table tbody th { width:26%; color:var(--navy); font-weight:650; }
.section-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.section-heading h3 { font:400 1.5rem/1.25 Georgia,serif; margin:0; }
.section-heading .eyebrow { display:block; margin-bottom:.4rem; }
.badge { font-size:.67rem; line-height:1.5; padding:.3rem .55rem; border-radius:3px; }
.amber { color:var(--amber); background:var(--amber-bg); }
.assessment-tool { margin-bottom:1.7rem; padding-bottom:1rem; border-bottom:1px solid var(--line); scroll-margin-top:85px; }
.assessment-tool > p { font-size:.86rem; color:var(--muted); max-width:84ch; }
.filters { align-items:flex-end; gap:1rem; flex-wrap:wrap; padding:1rem; background:#f3f5f8; border:1px solid #e1e5eb; border-radius:4px; margin:1.3rem 0; }
.filters label { display:flex; flex-direction:column; gap:.4rem; color:var(--muted); font-size:.73rem; font-weight:650; }
.filters select { max-width:100%; min-height:44px; border:1px solid #b9c6d0; border-radius:3px; background:#fff; color:var(--navy); font-size:.85rem; padding:.5rem 2rem .5rem .6rem; }
.filters p { margin:0 0 .6rem auto!important; font-size:.72rem; color:var(--muted); }
.map-wrap { overflow:auto; max-width:100%; border:1px solid #cbd6df; border-radius:4px; }
.assessment-map { width:100%; min-width:1090px; border-collapse:separate; border-spacing:0; font-size:.78rem; line-height:1.5; }
.assessment-map caption { text-align:left; color:var(--muted); font-size:.72rem; background:#f4f7f9; padding:.8rem; }
.assessment-map th,.assessment-map td { text-align:left; vertical-align:top; padding:.8rem .75rem; border-right:1px solid var(--line); border-bottom:1px solid var(--line); min-width:155px; }
.assessment-map tr > :last-child { border-right:0; }
.assessment-map tbody tr:last-child > * { border-bottom:0; }
.assessment-map thead th { color:#fff; background:#183b5b; font-size:.73rem; font-weight:600; min-width:165px; }
.assessment-map thead th[data-cycle="1"] { background:#915622; }
.assessment-map thead th[data-cycle="2"] { background:#315e90; }
.assessment-map thead th[data-cycle="3"] { background:#74548a; }
.assessment-map thead th[data-cycle="4"] { background:#287277; }
.assessment-map thead th[data-cycle="5"] { background:#40714e; }
.assessment-map tbody th { position:sticky; left:0; z-index:1; min-width:154px; width:154px; background:#edf3f7; color:var(--navy); font-weight:650; box-shadow:2px 0 0 #d4dfe8; }
.assessment-map thead th:first-child { position:sticky; left:0; z-index:2; }
.assessment-map tbody tr:nth-child(even) td.cell-evidence { background:#f8fafb; }
.assessment-map .cell-missing { background:#fff8e9; color:#89651e; font-style:italic; }
.assessment-map .cell-na { background:#f5f6f7; color:#6a7883; font-style:italic; }
.assessment-map.single-cycle { min-width:600px; }
.assessment-map [hidden],.assessment-map tr[hidden] { display:none!important; }
.legend { display:flex; align-items:baseline; gap:.5rem; font-size:.72rem!important; }
.legend-mark { flex:none; width:9px; height:9px; background:#f6e3ad; border:1px solid #ccaf6b; }
.inline-links { display:flex; flex-wrap:wrap; gap:.75rem 1.4rem; font-size:.8rem; margin:1.2rem 0; }
.milestones { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.7rem; margin:1.6rem 0 1rem; }
.milestone { --cycle-color:#915622; border-top:3px solid var(--cycle-color); padding-top:.6rem; }
.milestone:nth-child(2) { --cycle-color:#315e90; }.milestone:nth-child(3) { --cycle-color:#74548a; }.milestone:nth-child(4) { --cycle-color:#287277; }.milestone:nth-child(5) { --cycle-color:#40714e; }
.cycle-name { color:var(--cycle-color); font-size:.66rem; font-weight:700; letter-spacing:.08em; }
.milestone time { display:block; white-space:nowrap; }
.milestone strong { color:var(--cycle-color); font:1.25rem/1.4 Georgia,serif; }
.milestone time small { color:var(--muted); font-size:.66rem; }
.milestone p { font-size:.7rem; line-height:1.5; color:var(--muted); margin-top:.3rem!important; }
.source-note { font-size:.74rem; color:var(--muted); max-width:84ch; }
.exam-windows { background:#f6f4f5; padding:1.1rem 1.3rem; margin:1.5rem 0; border-radius:4px; }
.exam-windows h3 { margin:0 0 .65rem; }
.exam-windows ul { list-style:none; margin:0; padding:0; }
.exam-windows li { display:grid; grid-template-columns:190px 1fr; gap:1rem; padding:.65rem 0; border-bottom:1px solid #e4dfe3; font-size:.83rem; }
.exam-windows li:last-child { border:0; }
.school-dates { list-style:none; margin:1rem 0; padding:0; }
.school-dates li { display:grid; grid-template-columns:140px 1fr; gap:1rem; padding:.9rem 0; border-bottom:1px solid var(--line); font-size:.87rem; }
.school-dates time { color:#8c455c; font-weight:650; font-size:.8rem; }
.school-dates small { display:block; font-size:.69rem; color:var(--muted); margin-top:.2rem; }
.pi-day { display:grid; grid-template-columns:85px minmax(0,1fr); gap:1rem; align-items:center; margin:1.6rem 0; padding:1.4rem; background:#edf6f0; border:1px solid #d2e5d8; border-radius:4px; }
.pi-symbol { font:italic 5rem/1 Georgia,serif; color:#337454; }
.pi-day h3 { font:400 1.55rem/1.25 Georgia,serif; margin:.4rem 0; color:#2c674a; }
.pi-day .eyebrow { font-size:.58rem; color:#337454; }
.pi-day p { font-size:.85rem; }.pi-day .pi-date { font-weight:650; color:#2c674a; }.pi-day a { font-size:.8rem; }
.pi-day .source-note { font-size:.71rem; }
.resource-explainer h3 { margin:0; }
.resource-explainer p { color:var(--muted); font-size:.87rem; max-width:80ch; }
.clarified-resources { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin:1.2rem 0 1.5rem; }
.resource-card { padding:1.2rem; border:1px solid var(--line); border-top:3px solid #4b7199; border-radius:4px; background:#f7f9fb; min-width:0; }
.resource-master { border-top-color:#3e7c63; background:#f5f9f6; }
.resource-card .resource-kind { color:var(--muted); font-size:.58rem; font-weight:650; letter-spacing:.06em; }
.resource-card h3 { font:400 1.35rem/1.25 Georgia,serif; margin:.5rem 0; }
.resource-card p { font-size:.84rem; line-height:1.65; }
.resource-card a { font-size:.82rem; font-weight:650; }
.resource-card small { display:block; color:var(--muted); font-size:.72rem; margin-top:.85rem; }
.workbook-links { display:grid; gap:.7rem; }
.folder-links { padding:1rem 1.2rem; margin:1.5rem 0; border:1px solid #ded8c7; border-left:3px solid #a18c55; background:#faf8f2; }
.folder-links h3 { margin:0 0 .6rem; }.folder-links > div { display:flex; flex-wrap:wrap; gap:.7rem 1.4rem; }.folder-links a { font-size:.87rem; font-weight:650; }.folder-links p { font-size:.73rem; color:var(--muted); margin-bottom:0; }
.decision-list { list-style:none; padding:0; counter-reset:decision; }
.decision-list li { position:relative; counter-increment:decision; padding:1rem 0 1rem 2.6rem; border-bottom:1px solid var(--line); font-size:.88rem; }
.decision-list li::before { content:counter(decision,decimal-leading-zero); position:absolute; left:0; top:1rem; color:#957537; font:1.25rem/1.4 Georgia,serif; }
.decision-list strong { display:block; color:var(--navy); font-size:.97rem; }
.source-register { margin:1.8rem 0; font-size:.84rem; }.source-register > summary { color:#31566c; cursor:pointer; font-weight:650; }
.sources { list-style:none; padding:0; }.sources > li { display:flex; gap:.9rem; border-bottom:1px solid var(--line); padding:1rem 0; }.source-id { flex:none; font-size:.73rem; color:var(--muted); padding-top:.2rem; }.sources p { font-size:.77rem; color:var(--muted); }.sources a { overflow-wrap:anywhere; }
/* Chapter colour and contextual margin notes follow the BEDI review guides. */
body[data-page="handbook"] { background:#f4f6f9; }
.handbook-heading { background:#08264a; color:#fff; padding:2rem 2.2rem; border:0; border-left:5px solid #59b4ad; border-radius:5px; }
.handbook-heading h1 { color:#fff; font-size:clamp(2.2rem,3.5vw,3.1rem); margin:.6rem 0 1rem; }
.handbook-heading .eyebrow { color:#9ed7d3; }
.handbook-intro { color:#d9e4ee; }
.review-direction,.review-status { color:#cad9e7; }
.review-status { margin:1rem 0 .85rem; }
.draft-label { background:#f8eac7; color:#684d16; }
.review-actions { align-items:center; gap:.65rem; }
.review-actions button { background:#173d5e; border-color:#567087; color:#fff; }
.review-actions button:hover { background:#24516f; }
.review-key { display:inline-flex; align-items:center; gap:.45rem; color:#e7d5af; font-size:.7rem; padding:.4rem 0; }
.review-key > span { width:7px; height:7px; background:#edc677; border-radius:2px; }
.quick-nav { padding:1rem; background:#fff; border:1px solid #dce4e8; border-radius:4px; }
.document-origin { margin-bottom:1.8rem; }
.chapter { --section-tint:#e7f3f1; background:#fff; border:1px solid #dce4e8; border-radius:5px; padding:0 1.7rem 1.4rem; margin:0 0 1.8rem; }
#curriculum { --section-tint:#eaf1fb; }
#assessment { --section-tint:#f0eaf6; }
#resources { --section-tint:#faf0df; }
#dates { --section-tint:#f9e9ef; }
#people { --section-tint:#e8f3eb; }
#review { --section-tint:#fbf2db; }
.chapter-title { background:var(--section-tint); margin:0 -1.7rem 1.7rem; padding:1.3rem 1.55rem; border-left:5px solid var(--section-color); border-radius:4px 4px 0 0; gap:1.1rem; }
.chapter-number { padding:0; border:0; font-size:2.65rem; color:var(--section-color); min-width:2.5rem; }
.chapter h2 { color:var(--section-color); font-size:1.8rem; }
.chapter-title .eyebrow { color:var(--section-color); }
.chapter .manuscript h3 { color:var(--section-color); background:var(--section-tint); border-left:3px solid var(--section-color); padding:.65rem .85rem; border-radius:0 3px 3px 0; max-width:78ch; }
.manuscript { max-width:none; }
.chapter-sources { padding-top:1rem; border-top:1px solid var(--line); }
.annotated-row { display:grid; grid-template-columns:minmax(0,1fr) 210px; gap:1.5rem; align-items:start; margin:1rem 0; }
.review-copy,.review-margin { min-width:0; }
.review-copy > p,.review-copy > ul { max-width:78ch; }
.review-copy > :first-child { margin-top:0!important; }
.review-copy > :last-child { margin-bottom:0; }
.review-margin { margin:0; padding-top:.15rem; }
.review-margin .review-note { border:0; background:none; margin:0; padding:0; color:#75582a; font:13px/1.65 Aptos,"Segoe UI",Arial,sans-serif; }
.review-margin .review-note > summary { cursor:pointer; background:#fff0d8; border:1px solid #e5c992; border-left:3px solid #ab7b2c; color:#6a4a17; border-radius:4px; padding:.55rem .65rem; font-size:.74rem; font-weight:700; line-height:1.45; }
.review-margin .review-note > p { padding:.5rem .6rem; margin:.1rem 0 0; color:#725e40; background:#fffbf3; border-radius:0 0 4px 4px; font-size:.8rem; line-height:1.65; }
.review-copy .reader-table table { font-size:.83rem; }
.assessment-tool > .annotated-row { margin-top:0; margin-bottom:1.4rem; }
.assessment-tool > .annotated-row .review-copy > p { font-size:.86rem; color:var(--muted); }
.assessment-tool .section-heading h3 { color:var(--section-color); }
@media (max-width:1200px) and (min-width:1101px) { .annotated-row { grid-template-columns:minmax(0,1fr) 180px; gap:1rem; } }
@media (max-width:760px) { .annotated-row { grid-template-columns:1fr; gap:.8rem; }.review-margin { border-top:1px dashed #d8bd88; padding-top:.65rem; }.review-margin .review-note > p { max-width:78ch; } }
@media (max-width:1250px) { .contents nav { grid-template-columns:repeat(2,minmax(0,1fr)); }.milestones { grid-template-columns:repeat(3,minmax(0,1fr)); row-gap:1rem; } }
@media (max-width:650px) {
 .handbook-main { padding-top:1.7rem; }.handbook-heading h1 { font-size:2.5rem; }.handbook-intro { font-size:.96rem; }.review-status { gap:.6rem; }.review-direction { font-size:.84rem; }
 .quick-nav { grid-template-columns:1fr; gap:.85rem; }.quick-nav span { font-size:.57rem; }.quick-nav strong { font-size:.85rem; }.contents nav { grid-template-columns:1fr; }.contents a { font-size:.82rem; padding:.4rem 0; }
 .chapter { padding-top:2rem; }.chapter h2 { font-size:1.55rem; }.chapter-title { gap:.75rem; }.chapter-title .eyebrow { font-size:.48rem; }.chapter-number { font-size:1.65rem; min-width:2.1rem; }.manuscript { font-size:.94rem; }
 .clarified-resources { grid-template-columns:1fr; }.reader-table table { min-width:390px; }.reader-table th,.reader-table td { font-size:.8rem; padding:.6rem; }
 .filters { gap:.8rem; }.filters label { width:100%; }.filters select { width:100%; font-size:16px; }.filters p { margin:0!important; max-width:100%; overflow-wrap:anywhere; }
 .milestones { grid-template-columns:repeat(2,minmax(0,1fr)); }.milestone time { white-space:normal; }.exam-windows { padding:1rem; }.exam-windows li { grid-template-columns:1fr; gap:.3rem; }.school-dates li { grid-template-columns:100px 1fr; gap:.7rem; }
 .pi-day { grid-template-columns:1fr; gap:.3rem; padding:1.1rem; }.pi-symbol { font-size:3rem; }.pi-day h3 { font-size:1.4rem; }.pi-day .eyebrow { font-size:.52rem; }.source-register { font-size:.8rem; }
 .handbook-heading { padding:1.4rem 1.1rem; }.handbook-heading h1 { font-size:2.2rem; }.review-key { font-size:.64rem; }.chapter { padding:0 1rem 1.2rem; }.chapter-title { margin:0 -1rem 1.3rem; padding:1rem; }.chapter .manuscript h3 { padding:.6rem .7rem; }
}
@media (max-width:500px) { .assessment-map.single-cycle { min-width:0; table-layout:fixed; }.assessment-map.single-cycle th,.assessment-map.single-cycle td { min-width:0; width:auto; overflow-wrap:anywhere; }.assessment-map.single-cycle tbody th,.assessment-map.single-cycle thead th:first-child { min-width:0; width:32%; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@media print {
 body[data-page="handbook"] { font-size:10pt; color:#000; background:#fff; }.handbook-main { width:100%; padding:0; }.review-actions,.quick-nav,.contents,.filters,.workspace-footer { display:none!important; }
 .handbook-heading { background:none; border:0; padding:0; color:#000; }.handbook-heading h1,.handbook-heading .eyebrow,.handbook-intro,.review-direction,.review-status { color:#000; }.annotated-row { display:block; }.review-margin { margin:1rem 0; }.chapter-title { print-color-adjust:exact; }
 .handbook-heading h1 { font-size:26pt; }.chapter { break-before:page; padding:1rem 0; }.chapter h2 { font-size:19pt; }.chapter h3 { break-after:avoid; }.review-note { background:none; }
 .map-wrap { overflow:visible; border:0; }.assessment-map { min-width:0; width:100%; font-size:7pt; line-height:1.3; }.assessment-map th,.assessment-map td { min-width:0!important; padding:4px; width:auto!important; position:static!important; box-shadow:none!important; }.assessment-map [hidden] { display:table-cell!important; }.assessment-map tr[hidden] { display:table-row!important; }.assessment-map thead { display:table-header-group; }.assessment-map thead th { background:#eee!important; color:#000!important; }
 .milestones { grid-template-columns:repeat(5,minmax(0,1fr)); }.reader-table { overflow:visible; }.reader-table table { min-width:0; }.resource-card,.folder-links,.exam-windows,.pi-day { background:none; }.source-register { break-before:page; }
}
