/* Foundation editorial presentation (FP1–FP1.4, owner-approved 23 Oct 2026).
   Layers in their reviewed cascade order; body classes fp1…fp14 scope each layer. */
/* ---- FP1 ---- */
/* FP1 Foundation Journey — local review only. IBM Plex Sans and the N1.3 shell are inherited. */
.fp1 { --fp-ink:#142747; --fp-muted:#526481; --fp-blue:#0757c7; --fp-rule:#d7e0ec; --fp-paper:#f4f7fb; --fp-wash:#edf3fb; --fp-ease:cubic-bezier(.16,1,.3,1); }
.fp1 ::selection { background:#c8dfff; color:#10264d; }
.fp1 .foundation-inner { color:var(--fp-ink); max-width:1328px; padding-bottom:64px; }
.fp1 .foundation-inner button,.fp1 .foundation-inner input { font-family:inherit; }
.fp1 .foundation-inner :focus-visible,.fp1 .fd-drawer :focus-visible { outline:2px solid var(--fp-blue); outline-offset:4px; }
.fp1 .foundation-inner h1,.fp1 .foundation-inner h2,.fp1 .foundation-inner h3 { color:var(--fp-ink); text-wrap:balance; letter-spacing:-.025em; }
.fp1 .foundation-inner h2 { font-size:27px; line-height:1.22; font-weight:600; margin:0; }
.fp1 .foundation-inner h3 { font-size:22px; line-height:1.25; font-weight:600; }
.fp1 .foundation-inner p { text-wrap:pretty; }
.fp1 .foundation-inner a { text-underline-offset:4px; }
.fp1 .pf-pagecontext { margin:0 0 12px; }
.fp1 .fd-back { font-size:13px; min-height:28px; font-weight:500; }
.fp1 .fd-page-head { align-items:center; margin:0 0 24px; }
.fp1 .fd-page-head h1 { font-size:42px; line-height:1.1; font-weight:600; letter-spacing:-.035em; margin:0 0 10px; }
.fp1 .fd-page-head .pf-pagehead-sub { color:var(--fp-muted); font-size:18px; line-height:1.5; font-weight:400; }
.fp1-edition { display:block; text-align:right; font-size:14px; font-weight:600; line-height:1.6; }
.fp1-edition span { display:block; color:var(--fp-muted); font-weight:400; font-size:12px; }
.fp1 .fd-tabs { gap:26px; margin:0 0 28px; border-bottom:1px solid var(--fp-rule); border-top:1px solid var(--fp-rule); min-height:54px; overflow:visible; display:flex; }
.fp1 .fd-tabs button { padding:14px 0; min-height:52px; border:0; border-bottom:2px solid transparent; border-radius:0; background:transparent; color:var(--fp-muted); font-size:14px; font-weight:500; flex:none; white-space:normal; }
.fp1 .fd-tabs button[aria-selected=true] { color:var(--fp-ink); border-bottom-color:var(--fp-blue); font-weight:600; }
.fp1 .fd-tabs button:hover { color:var(--fp-blue); }
.fp1 .fd-tabs .fd-tab-icon { display:none; }
.fp1 .fd-panel { scroll-margin-top:100px; }
.fp1-briefing,.fp1-allocation-lead { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr); background:var(--fp-wash); padding:28px 30px; gap:36px; border-radius:5px; }
.fp1-status { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:500; color:var(--fp-muted); margin:0 0 12px; }
.fp1-status>span { width:7px; height:7px; background:#667b96; border-radius:50%; }
.fp1 .fp1-briefing h2 { font-size:27px; line-height:1.2; max-width:28ch; margin:0 0 12px; }
.fp1-briefing-copy>p:not(.fp1-status) { font-size:14px; line-height:1.6; color:var(--fp-muted); margin:0 0 20px; }
.fp1-actions { display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.fp1-primary { display:inline-flex; align-items:center; justify-content:space-between; gap:14px; min-height:44px; border:1px solid var(--fp-blue); border-radius:4px; padding:11px 16px; color:white; background:var(--fp-blue); font-size:14px; font-weight:500; cursor:pointer; text-decoration:none; transition:background-color 160ms; }
.fp1-primary:hover { background:#0647a2; }
.fp1 .fp1-text-link { display:inline-flex; align-items:center; justify-content:space-between; text-align:left; gap:12px; min-height:44px; padding:7px 0; border:0; background:none; color:var(--fp-blue); font-size:14px; font-weight:500; cursor:pointer; }
.fp1-text-link:hover { text-decoration:underline; text-underline-offset:4px; }
.fp1-text-link .fd-icon,.fp1-primary .fd-icon { transition:transform 180ms var(--fp-ease); flex:none; width:18px; height:18px; }
.fp1-text-link:hover .fd-icon,.fp1-primary:hover .fd-icon { transform:translateX(3px); }
.fp1-date { border-left:1px solid #c3d1e4; padding:8px 0 8px 30px; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; font-variant-numeric:tabular-nums; }
.fp1-date>span { font-size:13px; line-height:1.5; color:var(--fp-muted); }
.fp1-date strong { display:block; font-size:29px; letter-spacing:-.03em; font-weight:600; line-height:1.2; margin:12px 0 5px; }
.fp1-date strong span { display:block; font-size:23px; }
.fp1-date>p { font-size:14px; margin:0 0 8px; color:var(--fp-ink); }
.fp1 .fp1-date .fd-inline-link { margin-top:12px; font-size:12px; }
.fp1 .fp1-context { font-size:12px; line-height:1.6; color:var(--fp-muted); margin:12px 0 0; }
.fp1-section-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin:36px 0 10px; }
.fp1-section-heading p { color:var(--fp-muted); margin:7px 0 0; font-size:15px; line-height:1.6; }
.fp1-process-note { font-size:12px; line-height:1.5; color:var(--fp-muted); margin:0 0 18px; max-width:90ch; }
.fp1 .fp1-journey { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.17fr); gap:32px; align-items:start; }
.fp1 .fd-stage-rail-wrap { min-width:0; }
.fp1 .fd-route-map { display:block; padding:0; margin:0; border:0; border-radius:0; background:transparent; box-shadow:none; list-style:none; overflow:visible; }
.fp1 .fd-route-map::before,.fp1 .fp1-stage::before,.fp1 .fp1-stage::after { display:none; }
.fp1 .fp1-stage { position:relative; margin:0; border-bottom:1px solid var(--fp-rule); background:none; border-radius:0; padding:0; min-width:0; }
.fp1 .fp1-stage:first-child { border-top:1px solid var(--fp-rule); }
.fp1 .fp1-stage .fd-stage-trigger { display:grid; grid-template-columns:26px minmax(0,1fr) 88px 16px; gap:12px; align-items:center; padding:14px 10px; min-height:70px; text-align:left; width:100%; border:0; border-radius:0; color:var(--fp-ink); background:none; box-shadow:none; }
.fp1 .fp1-stage .fd-stage-trigger:hover { background:var(--fp-paper); }
.fp1 .fp1-stage .fd-stage-trigger[aria-expanded=true] { background:var(--fp-wash); }
.fp1-stage-number { font-size:12px; color:var(--fp-muted); font-variant-numeric:tabular-nums; }
.fp1-stage-title { display:flex; flex-direction:column; gap:4px; min-width:0; }
.fp1-stage-title strong { font-weight:500; font-size:14px; line-height:1.35; }
.fp1-stage-title small { font-size:11px; color:var(--fp-muted); line-height:1.5; }
.fp1-stage-date { font-size:12px; line-height:1.4; text-align:right; font-variant-numeric:tabular-nums; color:var(--fp-muted); }
.fp1 .fp1-stage .fd-icon { width:16px; height:16px; color:var(--fp-muted); }
.fp1 .fd-stage-trigger[aria-expanded=true] .fp1-stage-title strong,.fp1 .fd-stage-trigger[aria-expanded=true] .fd-icon { color:var(--fp-blue); }
.fp1 .fp1-stage-reading { position:sticky; top:98px; margin:0; padding:27px 28px; border:0; border-radius:5px; box-shadow:none; background:var(--fp-paper); animation:fp1-read-in 160ms var(--fp-ease); }
.fp1-stage-meta { font-size:12px; color:var(--fp-muted); display:flex; gap:12px; font-variant-numeric:tabular-nums; margin-bottom:16px; }
.fp1 .fp1-stage-reading h3 { font-size:26px; line-height:1.22; margin:0 0 12px; }
.fp1 .fp1-stage-reading h4 { margin:22px 0 7px; font-size:14px; font-weight:600; }
.fp1 .fp1-stage-reading p,.fp1 .fp1-stage-reading li { font-size:14px; line-height:1.65; color:var(--fp-muted); }
.fp1 .fp1-stage-reading p { margin:0 0 12px; }
.fp1 .fp1-stage-reading ul { margin:0; padding-left:19px; }
.fp1 .fp1-stage-reading li+li { margin-top:6px; }
.fp1 .fp1-stage-reading .fp1-reading-date { display:flex; align-items:center; gap:10px; color:var(--fp-ink); padding:12px 0; border-block:1px solid var(--fp-rule); font-size:13px; }
.fp1-reading-date .fd-icon { width:16px; height:16px; flex:none; }
.fp1 .fp1-stage-reading .fp1-stage-note { margin-top:18px; font-size:12px; }
.fp1-detail-secondary { margin:20px 0 16px; }
.fp1 .fp1-detail-secondary details { border-block:1px solid var(--fp-rule); }
.fp1 details summary { cursor:pointer; font-size:14px; line-height:1.5; min-height:44px; padding:12px 0; color:var(--fp-ink); }
.fp1 details[open]>summary { margin-bottom:8px; }
.fp1 .fd-stage-links { gap:10px 18px; }
.fp1 .fd-inline-link,.fp1 .fd-source-button { color:var(--fp-blue); background:none; padding:8px 0; min-height:38px; font-size:13px; border:0; border-radius:3px; font-weight:500; }
.fp1 .fd-source-button { color:var(--fp-muted); }
.fp1-understanding { display:grid; grid-template-columns:1fr 1fr; gap:52px; padding:36px 0; margin-top:44px; border-block:1px solid var(--fp-rule); }
.fp1-understanding p,.fp1-explore-teaser p,.fp1-next-chapter p { color:var(--fp-muted); font-size:15px; line-height:1.65; max-width:58ch; }
.fp1-years { display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.fp1-years strong { font-size:36px; font-weight:400; letter-spacing:-.03em; color:var(--fp-muted); }
.fp1-years p { font-size:14px; margin:10px 0 0; }
.fp1-explore-teaser { display:grid; grid-template-columns:1fr 1fr; gap:52px; padding:36px 0; }
.fp1-nation-entries { display:grid; grid-template-columns:1fr 1fr; gap:0 22px; align-content:start; }
.fp1-nation-entries button { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 0; min-height:64px; border:0; border-bottom:1px solid var(--fp-rule); background:none; color:var(--fp-ink); font-size:17px; text-align:left; cursor:pointer; }
.fp1-nation-entries button:hover { color:var(--fp-blue); }
.fp1-next-chapter { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:26px 28px; background:var(--fp-paper); border-radius:5px; }
.fp1 .fp1-next-chapter h2 { font-size:23px; }
.fp1-next-chapter p { margin:7px 0 0; font-size:14px; }
.fp1-sources { display:flex; align-items:center; justify-content:space-between; gap:20px; border-top:1px solid var(--fp-rule); padding-top:22px; margin-top:40px; }
.fp1-sources p { font-size:12px; line-height:1.65; color:var(--fp-muted); margin:0; }
.fp1-sources>div { display:flex; gap:18px; }
.fp1-chapter-head { margin:0 0 28px; }
.fp1 .fp1-chapter-head h2 { font-size:32px; margin:0 0 10px; }
.fp1-chapter-head p { font-size:16px; line-height:1.6; color:var(--fp-muted); max-width:67ch; margin:0; }
.fp1-closed { background:var(--fp-paper); padding:22px 26px; border-radius:5px; }
.fp1-closed strong { font-weight:600; font-size:17px; }
.fp1-closed p { max-width:80ch; font-size:14px; line-height:1.65; margin:8px 0; color:var(--fp-muted); }
.fp1-reading-layout { display:grid; grid-template-columns:200px minmax(0,1fr); gap:56px; margin-top:36px; }
.fp1-contents { position:sticky; top:100px; align-self:start; display:flex; flex-direction:column; gap:2px; }
.fp1-contents>span { font-size:12px; color:var(--fp-muted); margin-bottom:10px; }
.fp1-contents a { display:block; padding:12px 0; border-bottom:1px solid var(--fp-rule); color:var(--fp-ink); font-size:14px; text-decoration:none; min-height:44px; }
.fp1-contents a:hover { color:var(--fp-blue); }
.fp1-prose { max-width:75ch; min-width:0; }
.fp1-prose>section { padding:0 0 30px; margin-bottom:30px; border-bottom:1px solid var(--fp-rule); scroll-margin-top:110px; }
.fp1 .fp1-prose h3 { font-size:24px; margin:0 0 15px; }
.fp1-prose p { font-size:16px; color:var(--fp-muted); line-height:1.75; margin:0 0 16px; }
.fp1-prose h4 { font-size:16px; font-weight:600; margin:0 0 8px; }
.fp1-two-col { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:24px 0; }
.fp1-two-col p { font-size:14px; }
.fp1-resource-rows { display:flex; flex-direction:column; align-items:stretch; margin:12px 0 24px; }
.fp1 .fp1-resource-rows a,.fp1 .fp1-resource-rows button { justify-content:space-between; font-size:15px; padding:16px 0; border-bottom:1px solid var(--fp-rule); display:flex; min-height:52px; }
.fp1 .fp1-prose .fd-milestone-list { padding:0; }
.fp1 .fp1-prose .fd-milestone { padding:0; margin:0; border:0; border-radius:0; box-shadow:none; border-bottom:1px solid var(--fp-rule); }
.fp1 .fp1-prose .fd-milestone::before,.fp1 .fp1-prose .fd-milestone::after,.fp1 .fp1-prose .fd-milestone-node { display:none; }
.fp1 .fp1-prose .fd-milestone-trigger { padding:16px 0; grid-template-columns:170px 1fr 18px; gap:18px; min-width:0; }
.fp1 .fp1-prose .fd-milestone-body { margin:0; padding:12px 16px; background:var(--fp-paper); }
.fp1 .fp1-prose .fd-label { background:none; border:0; padding:0; color:var(--fp-muted); }
.fp1-allocation-lead h3 { margin:0 0 12px; }
.fp1-allocation-lead>div>p { color:var(--fp-muted); font-size:15px; line-height:1.65; margin:0 0 18px; }
.fp1-passes { display:grid; grid-template-columns:1fr 1fr; gap:28px; padding:24px; background:var(--fp-paper); margin:24px 0; border-radius:5px; }
.fp1-passes span { display:block; font-size:13px; color:var(--fp-blue); margin-bottom:12px; }
.fp1-passes p { font-size:14px; margin:0; }
.fp1-date-rows { margin:24px 0 18px; }
.fp1-date-rows>div { padding:16px 0; border-top:1px solid var(--fp-rule); display:flex; flex-direction:column; gap:5px; }
.fp1-date-rows span { font-size:13px; color:var(--fp-blue); }
.fp1-date-rows strong { font-size:16px; font-weight:500; }
.fp1-date-rows small { font-size:13px; color:var(--fp-muted); }
.fp1-school-head { display:flex; gap:32px; align-items:flex-end; justify-content:space-between; }
.fp1-school-head>div { max-width:600px; }
.fp1-school-head>button { flex-shrink:0; }
.fp1-school-browser { display:grid; grid-template-columns:245px minmax(0,1fr); gap:48px; margin-top:36px; }
.fp1-school-aside { padding:24px; background:var(--fp-paper); border-radius:5px; align-self:start; position:sticky; top:100px; }
.fp1 .fp1-school-aside h3 { margin:0 0 12px; font-size:20px; }
.fp1-school-aside p { font-size:14px; color:var(--fp-muted); line-height:1.65; margin:0 0 14px; }
.fp1-school-aside hr { border:0; border-top:1px solid var(--fp-rule); margin:24px 0; }
.fp1 .fd-manager-button { background:white; border:1px solid var(--fp-rule); border-radius:4px; font-size:13px; padding:12px 10px; gap:8px; min-height:44px; color:var(--fp-ink); box-shadow:none; }
.fp1 .fd-manager-button b { background:var(--fp-wash); color:var(--fp-ink); }
.fp1 .fd-school-tools { margin:0 0 12px; display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.fp1 .fd-school-tools .fd-search { flex:1 1 230px; }
.fp1 .fd-school-tools .fd-manager-button { flex:none; }
.fp1 .fd-search { width:100%; min-width:0; border-radius:4px; border:1px solid #aabbd0; padding:0 14px; min-height:48px; }
.fp1 .fd-search input { font-size:15px; caret-color:var(--fp-blue); min-height:46px; width:100%; color:var(--fp-ink); }
.fp1 .fd-search input::placeholder { color:var(--fp-muted); opacity:1; }
.fp1 .fd-nation-filters { flex-wrap:wrap; gap:6px; margin:0 0 8px; }
.fp1 .fd-nation-filters button { border-radius:4px; border:0; background:transparent; color:var(--fp-muted); font-weight:500; font-size:13px; min-height:42px; padding:8px 10px; }
.fp1 .fd-nation-filters button[aria-pressed=true] { color:var(--fp-blue); background:var(--fp-wash); }
.fp1-directory-meta { display:flex; align-items:center; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--fp-ink); font-size:12px; color:var(--fp-muted); }
.fp1-directory-meta button { background:none; border:0; text-decoration:underline; text-underline-offset:4px; color:var(--fp-muted); min-height:40px; padding:8px; font:inherit; cursor:pointer; }
.fp1-directory-meta button[aria-pressed=true] { color:var(--fp-blue); background:var(--fp-wash); }
.fp1-school-row { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:23px 0; border-bottom:1px solid var(--fp-rule); }
.fp1-school-main { min-width:0; flex:1; }
.fp1-school-main>span { color:var(--fp-muted); font-size:12px; }
.fp1 .fp1-school-name { display:flex; gap:14px; align-items:center; justify-content:space-between; border:0; background:none; color:var(--fp-ink); font-size:22px; font-weight:500; line-height:1.25; padding:8px 0; min-height:44px; text-align:left; width:100%; cursor:pointer; letter-spacing:-.02em; }
.fp1-school-name:hover { color:var(--fp-blue); }
.fp1-school-name .fd-icon { flex:none; width:18px; height:18px; color:var(--fp-muted); }
.fp1-school-main p { font-size:13px; line-height:1.6; color:var(--fp-muted); margin:3px 0 0; }
.fp1-school-controls { display:flex; gap:6px; }
.fp1 .fp1-school-controls button { width:44px; height:44px; padding:11px; border:1px solid var(--fp-rule); background:white; border-radius:4px; color:var(--fp-muted); }
.fp1 .fp1-school-controls button[aria-pressed=true] { border-color:var(--fp-blue); color:var(--fp-blue); background:var(--fp-wash); }
.fp1 .fp1-small { font-size:12px; line-height:1.6; color:var(--fp-muted); margin:14px 0 0; }
.fp1-loading,.fp1-error { padding:36px 0; max-width:65ch; }
.fp1-error p,.fp1-loading p { color:var(--fp-muted); line-height:1.65; }
.fp1-error .fd-inline-link { display:block; margin-top:12px; }
.fp1-loading>div { height:70px; background:var(--fp-paper); margin:12px 0; }
.fp1 .fd-empty { font-size:15px; padding:32px 16px; border:0; background:var(--fp-paper); border-radius:4px; color:var(--fp-muted); }
/* Original programme and Preparing for F1 content retain their own visual rules. */
.fp1 [data-foundation-panel=programmes] .fp-rail-head { font-size:12px; }
@keyframes fp1-read-in { from {opacity:.65;transform:translateY(3px)} to {opacity:1;transform:none} }
@media(min-width:769px) and (max-width:1190px) {
  .fp1 .fd-tabs { gap:18px; }
  .fp1 .fd-tabs button { font-size:12px; }
  .fp1-briefing { grid-template-columns:1.5fr 1fr; padding:24px; gap:24px; }
  .fp1 .fp1-briefing h2 { font-size:24px; }
  .fp1-desktop-break { display:none; }
  .fp1-actions { gap:7px 18px; }
  .fp1 .fp1-journey { gap:22px; }
  .fp1 .fp1-stage .fd-stage-trigger { grid-template-columns:22px minmax(0,1fr) 16px; gap:8px; }
  .fp1-stage-date { display:none; }
  .fp1 .fp1-stage-reading { padding:22px; }
  .fp1-reading-layout { grid-template-columns:155px minmax(0,1fr); gap:28px; }
  .fp1-school-browser { grid-template-columns:190px minmax(0,1fr); gap:28px; }
  .fp1-school-aside { padding:20px; }
  .fp1-school-head { flex-direction:column; align-items:flex-start; gap:10px; }
}
@media(max-width:900px) and (min-width:769px) {
  .fp1 .fd-tabs { gap:11px; }
  .fp1 .fd-tabs button { font-size:11px; }
  .fp1 .fd-page-head h1 { font-size:34px; }
  .fp1-edition { display:none; }
  .fp1-school-browser { grid-template-columns:1fr; }
  .fp1-school-aside { position:static; display:grid; grid-template-columns:1fr 1fr; gap:8px 24px; }
  .fp1-school-aside hr { display:none; }
}
@media(max-width:768px) {
  .fp1 .foundation-inner { padding-bottom:40px; }
  .fp1 .fd-page-head { display:none; }
  .fp1 .pp-mobhead { margin-bottom:8px; }
  .fp1 .pf-pagecontext { margin:0 0 14px; }
  .fp1 .fd-back { min-height:36px; }
  .fp1 .fd-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 12px; padding:2px 0; margin-bottom:20px; }
  .fp1 .fd-tabs button { min-height:48px; font-size:12px; line-height:1.35; padding:10px 2px; }
  .fp1 .fd-panel { scroll-margin-top:84px; }
  .fp1-briefing,.fp1-allocation-lead { display:block; padding:22px; }
  .fp1 .fp1-briefing h2 { font-size:24px; }
  .fp1-briefing-copy>p:not(.fp1-status) { font-size:14px; }
  .fp1-desktop-break { display:none; }
  .fp1-actions { gap:8px; flex-direction:column; align-items:stretch; }
  .fp1-primary { width:100%; }
  .fp1-actions .fp1-text-link { justify-content:flex-start; }
  .fp1-date { border-left:0; border-top:1px solid #c3d1e4; padding:20px 0 0; margin-top:18px; }
  .fp1-date strong { font-size:27px; margin:8px 0 4px; }
  .fp1-date strong span { display:inline; font-size:inherit; }
  .fp1-date>span { font-size:12px; }
  .fp1-date .fd-inline-link { margin-top:6px; }
  .fp1 .fp1-context { font-size:11px; line-height:1.6; }
  .fp1-section-heading { align-items:flex-start; flex-direction:column; gap:2px; margin-top:28px; }
  .fp1 .foundation-inner h2 { font-size:24px; }
  .fp1-section-heading p { font-size:14px; }
  .fp1-section-heading>.fp1-text-link { font-size:13px; }
  .fp1-process-note { font-size:12px; margin-bottom:16px; }
  .fp1 .fp1-journey { gap:24px; }
  .fp1 .fp1-stage .fd-stage-trigger { grid-template-columns:24px minmax(0,1fr) 16px; gap:10px; padding:14px 8px; min-height:72px; }
  .fp1-stage-date { display:none; }
  .fp1-stage-title strong { font-size:15px; }
  .fp1-stage-title small { font-size:12px; }
  .fp1 .fp1-stage-reading { position:static; padding:22px 20px; border-radius:0; }
  .fp1 .fp1-stage-reading h3 { font-size:24px; }
  .fp1 .fp1-stage-reading p,.fp1 .fp1-stage-reading li { font-size:14px; }
  .fp1-understanding,.fp1-explore-teaser { grid-template-columns:1fr; gap:24px; padding:28px 0; margin-top:28px; }
  .fp1-explore-teaser { margin-top:0; }
  .fp1-years { gap:24px; }
  .fp1-years strong { font-size:30px; }
  .fp1-next-chapter { flex-direction:column; align-items:flex-start; padding:22px; gap:6px; }
  .fp1-sources { flex-direction:column; align-items:flex-start; margin-top:28px; gap:10px; }
  .fp1-sources>div { flex-wrap:wrap; gap:6px 20px; }
  .fp1 .fp1-chapter-head h2 { font-size:27px; }
  .fp1-chapter-head p { font-size:15px; }
  .fp1-reading-layout { grid-template-columns:1fr; gap:26px; margin-top:28px; }
  .fp1-contents { position:static; display:grid; grid-template-columns:1fr 1fr; column-gap:20px; }
  .fp1-contents>span { grid-column:1/-1; margin-bottom:2px; }
  .fp1-contents a { font-size:13px; }
  .fp1 .fp1-prose h3 { font-size:23px; }
  .fp1-prose p { font-size:15px; }
  .fp1-prose section { scroll-margin-top:80px; }
  .fp1-two-col,.fp1-passes { grid-template-columns:1fr; gap:20px; }
  .fp1-passes { padding:22px; }
  .fp1 .fp1-prose .fd-milestone-trigger { grid-template-columns:1fr 18px; gap:8px; }
  .fp1 .fp1-prose .fd-milestone-date { grid-column:1; }
  .fp1 .fp1-prose .fd-milestone-copy { grid-column:1; }
  .fp1 .fp1-prose .fd-milestone-arrow { grid-column:2; grid-row:1/3; }
  .fp1-school-head { align-items:flex-start; flex-direction:column; gap:10px; }
  .fp1-school-browser { display:flex; flex-direction:column-reverse; gap:28px; margin-top:20px; }
  .fp1-school-aside { position:static; width:100%; }
  .fp1 .fd-nation-filters { gap:3px; }
  .fp1 .fd-nation-filters button { font-size:12px; min-height:44px; padding:8px 9px; }
  .fp1-school-row { gap:12px; padding:20px 0; }
  .fp1 .fp1-school-name { font-size:21px; }
  .fp1-school-controls { flex-direction:column; gap:4px; }
  .fp1-school-main p { font-size:12px; }
}
@media(max-width:700px) { .fp1 .fp1-journey { display:block; } }
@media(max-width:350px) {
  .fp1 .fd-tabs { column-gap:4px; }
  .fp1 .fd-tabs button { font-size:11px; }
  .fp1-briefing,.fp1-allocation-lead { padding:18px; }
  .fp1 .fp1-briefing h2 { font-size:22px; }
  .fp1-date strong { font-size:24px; }
  .fp1 .fp1-school-name { font-size:19px; }
}
@media(prefers-reduced-motion:reduce) {
  .fp1 *, .fp1 *::before,.fp1 *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
/* Focused refinement after the first rendered review. Override the frame's
   intentionally important typography only inside this isolated candidate. */
body.foundation-page.fp1 .fd-page-head h1 { font-size:40px!important; line-height:1.12!important; margin:0 0 10px!important; letter-spacing:-.03em!important; }
body.foundation-page.fp1 .fd-page-head .pf-pagehead-sub { font-size:18px!important; font-weight:400!important; margin:0!important; }
.fp1 .fp1-prose .fd-milestone-trigger { background:transparent; border:0; border-radius:0; box-shadow:none; }
.fp1 .fp1-prose .fd-milestone-trigger:hover { background:var(--fp-paper); }
.fp1 .fd-milestone[data-next=true] .fd-milestone-trigger { background:var(--fp-wash); }
.fp1 .fp1-prose .fd-milestone-list::before { display:none; }
.fp1 .fd-inline-link { min-height:44px; }
@media(max-width:768px) {
 .fp1 .fp1-briefing { display:flex; flex-direction:column; gap:0; padding:20px; }
 .fp1-briefing-copy { display:contents; }
 .fp1 .fp1-briefing h2 { order:1; margin:0 0 10px; font-size:23px; }
 .fp1-briefing .fp1-status { order:0; margin-bottom:10px; font-size:12px; }
 .fp1-briefing-copy>p:not(.fp1-status) { order:2; margin:0 0 12px; font-size:13px; line-height:1.55; }
 .fp1-briefing .fp1-date { order:3; padding:12px 0; margin:0; }
 .fp1-briefing .fp1-date strong { font-size:24px; margin:4px 0; }
 .fp1-briefing .fp1-date>p { margin:0 0 3px; font-size:13px; }
 .fp1-briefing .fp1-date>span:nth-last-of-type(1) { display:none; }
 .fp1-briefing .fp1-date .fd-inline-link { display:none; }
 .fp1-briefing .fp1-actions { order:4; gap:2px; }
 .fp1-briefing .fp1-actions .fp1-text-link { min-height:40px; font-size:13px; }
 .fp1-section-heading { margin-top:24px; }
 .fp1 .fd-tabs { margin-bottom:16px; }
 .fp1 .fd-tabs button { min-height:44px; padding:9px 1px; }
}
@media(max-width:350px){ .fp1 .fp1-briefing h2 {font-size:21px} .fp1 .fp1-briefing {padding:17px} .fp1 .fp1-briefing .fp1-date strong {font-size:22px} }

/* ---- FP11 ---- */
/* FP1.1 extends the existing FP1 tokens; no production styles are changed. */
:root { --fp11-anchor-offset:170px; }
.fp11 .foundation-inner [id] { scroll-margin-top:var(--fp11-anchor-offset)!important; }
.fp11 .fp1-contents,.fp11 .fp1-stage-reading,.fp11 .fp1-school-aside { top:var(--fp11-anchor-offset); }
.fp11 .fd-tabs { z-index:30; }
.fp11 .fd-tabs button { transition:color 140ms; }
.fp11 .fp11-briefing { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:48px; background:var(--fp-paper); border-radius:5px; padding:32px 36px; }
.fp11 .fp11-briefing h2 { font-size:36px; line-height:1.08; letter-spacing:-.03em; max-width:24ch; margin:0 0 16px; }
.fp11-briefing h2 em { color:var(--fp-blue); font:inherit; }
.fp11 .fp11-briefing-copy>p:not(.fp1-status) { font-size:14px; line-height:1.6; color:var(--fp-muted); max-width:59ch; margin:0 0 20px; }
.fp11 .fp1-status { font-size:12px; margin:0 0 16px; }
.fp11 .fp11-calendar { background:white; padding:20px 24px; border-top:2px solid var(--fp-blue); align-self:stretch; display:flex; flex-direction:column; justify-content:center; }
.fp11-calendar>p { color:var(--fp-muted); font-size:12px; line-height:1.5; margin:0; }
.fp11-calendar-date { display:flex; align-items:center; gap:20px; margin:12px 0 0; font-variant-numeric:tabular-nums; }
.fp11-calendar-date>strong { font-size:76px; line-height:1; font-weight:400; letter-spacing:-.04em; color:var(--fp-blue); }
.fp11-calendar-date>span { color:var(--fp-ink); font-size:20px; line-height:1.4; }
.fp11-calendar-date b { font-size:16px; font-weight:400; color:var(--fp-muted); }
.fp11 .fp11-calendar-time { margin:8px 0 16px; color:var(--fp-ink); font-size:13px; }
.fp11-calendar-foot { border-top:1px solid var(--fp-rule); padding-top:14px; display:flex; flex-direction:column; align-items:flex-start; gap:4px; }
.fp11-calendar-foot>strong { font-size:13px; font-weight:500; }
.fp11 .fp11-calendar-foot .fd-inline-link { font-size:12px; min-height:40px; }
.fp11-route-index { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid var(--fp-rule); margin:24px 0 0; }
.fp11-route-link { position:relative; text-align:left; border:0; background:none; font-family:inherit; font-size:15px; font-weight:500; line-height:1.4; color:var(--fp-ink); cursor:pointer; padding:20px 28px 20px 0; }
.fp11-route-link+.fp11-route-link { padding-left:24px; border-left:1px solid var(--fp-rule); }
.fp11-route-link span { display:block; font-size:12px; font-weight:400; color:var(--fp-muted); margin-top:5px; }
.fp11-route-link>.fd-icon { position:absolute; top:23px; right:16px; width:16px; height:16px; color:var(--fp-blue); }
.fp11-route-link:hover { background:var(--fp-paper); color:var(--fp-blue); }
.fp11 .fp1-section-heading { margin-top:40px; }
.fp11 .fp1-section-heading h2 { font-size:30px; }
.fp11 .fp1-process-note { max-width:90ch; margin-bottom:22px; }
.fp11 .fp1-journey { grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:40px; }
.fp11 .fp1-stage { border:0; position:relative; }
.fp11-phase { padding:24px 0 12px; }
.fp11 .fp11-phase h3 { font-size:16px; margin:0 0 4px; }
.fp11-phase p { margin:0; font-size:12px; line-height:1.5; color:var(--fp-muted); }
.fp11 .fp1-stage:first-child .fp11-phase { padding-top:0; }
.fp11 .fp1-stage .fd-stage-trigger { position:relative; border-radius:4px; min-height:76px; grid-template-columns:30px minmax(0,1fr) 80px 16px; gap:12px; padding:12px 10px; }
.fp11 .fp1-stage:not(:last-child) .fd-stage-trigger::after { content:''; position:absolute; left:24px; width:1px; top:calc(50% + 15px); bottom:-23px; background:var(--fp-rule); z-index:0; }
.fp11 .fp1-stage:nth-child(4) .fd-stage-trigger::after,.fp11 .fp1-stage:nth-child(8) .fd-stage-trigger::after { display:none; }
.fp11 .fp1-stage-number { width:30px; height:30px; display:grid; place-items:center; background:white; color:var(--fp-muted); border:1px solid var(--fp-rule); border-radius:50%; z-index:1; font-size:11px; }
.fp11 .fd-stage-trigger[aria-expanded=true] .fp1-stage-number { border-color:var(--fp-blue); color:white; background:var(--fp-blue); }
.fp11 .fp1-stage-title strong { font-size:14px; }
.fp11 .fp1-stage-title small { font-weight:400; }
.fp11 .fp1-stage-reading { background:var(--fp-paper); padding:0; overflow:hidden; border-radius:5px; }
.fp11-stage-heading { display:block!important; background:var(--fp-wash); padding:26px 28px 0; }
.fp11 .fp1-stage-meta { align-items:center; margin-bottom:20px; }
.fp11 .fp1-stage-meta>span:first-child { color:var(--fp-blue); font-weight:600; }
.fp11 .fp1-stage-meta .fd-icon { margin-left:auto; width:22px; height:22px; color:var(--fp-blue); }
.fp11 .fp1-stage-reading h3 { font-size:29px; }
.fp11 .fp1-stage-reading .fp1-reading-date { margin:18px 0 0; border-bottom:0; padding:16px 0; }
.fp11-stage-body { padding:2px 28px 24px; }
.fp11 .fp1-stage-reading h4 { font-size:15px; }
.fp11 .fp1-stage-reading li { padding-left:3px; }
.fp11 .fp1-stage-reading li::marker { color:var(--fp-blue); }
.fp11 .fp1-understanding { background:var(--fp-ink); color:white; border:0; padding:36px; gap:40px; margin-top:52px; border-radius:5px; }
.fp11 .fp1-understanding h2 { color:white; font-size:30px; line-height:1.2; }
.fp11 .fp1-understanding p { color:var(--fp-wash); }
.fp11 .fp1-understanding a { color:white; text-decoration:underline; }
.fp11 .fp1-years { gap:28px; }
.fp11 .fp1-years>div { border-top:1px solid var(--fp-muted); padding-top:20px; }
.fp11 .fp1-years strong { color:white; font-size:52px; font-weight:300; }
.fp11 .fp1-explore-teaser { padding:44px 0; align-items:center; }
.fp11 .fp1-explore-teaser h2 { font-size:32px; }
.fp11 .fp1-nation-entries { gap:0 28px; }
.fp11 .fp1-nation-entries button { min-height:76px; font-size:20px; }
.fp11 .fp1-nation-entries button:hover { background:var(--fp-paper); }
.fp11 .fp1-next-chapter { background:var(--fp-wash); border-radius:5px; }
.fp11-next-icon { width:52px; height:52px; display:grid; place-items:center; color:var(--fp-blue); flex:none; }
.fp11-next-icon .fd-icon { width:36px; height:36px; }
.fp11 .fp1-next-chapter>div:nth-child(2) { flex:1; }
.fp11 .fp1-chapter-head h2 { font-size:34px; }
.fp11 .fp1-contents { border-top:1px solid var(--fp-rule); padding-top:16px; }
.fp11 .fp1-contents a[aria-current=location] { color:var(--fp-blue); font-weight:600; background:var(--fp-wash); padding-inline:10px; }
.fp11 .fp1-prose>section { padding-bottom:36px; margin-bottom:36px; }
.fp11 .fp1-prose>section>h3 { font-size:27px; line-height:1.25; max-width:38ch; }
.fp11 .fp1-two-col { padding:24px 0; border-block:1px solid var(--fp-rule); }
.fp11 .fp1-closed { display:block; border-top:2px solid var(--fp-rule); background:var(--fp-paper); }
.fp11 .fp1-allocation-lead { background:var(--fp-wash); }
.fp11 .fp1-passes { padding:0; gap:0; overflow:hidden; }
.fp11 .fp1-passes>div { padding:24px; }
.fp11 .fp1-passes>div+div { border-left:1px solid var(--fp-rule); }
.fp11 .fp1-passes span { font-size:20px; }
.fp11 .fp1-school-head { align-items:center; gap:40px; }
.fp11-school-actions { display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.fp11-action-short { display:none; }
.fp11 .fp1-school-head h2 { font-size:36px; line-height:1.15; }
.fp11 .fp1-school-head>div { max-width:580px; }
.fp11-directory-intro { font-size:19px; color:var(--fp-muted); border-left:1px solid var(--fp-rule); padding-left:24px; }
.fp11 .fp1-school-browser { grid-template-columns:250px minmax(0,1fr); gap:36px; }
.fp11 .fp1-school-aside { display:block; background:none; padding:0; }
.fp11 .fd-map-card { padding:0; background:var(--fp-paper); border:0; border-radius:5px; box-shadow:none; overflow:hidden; }
.fp11 .fd-map-copy { padding:24px 22px 0; }
.fp11 .fd-map-copy>.fd-label { display:none; }
.fp11 .fd-map-copy h3 { font-size:24px; margin:0 0 10px; }
.fp11 .fd-map-copy p { font-size:13px; }
body.fp11 .fd-map-canvas { position:relative; width:100%; height:auto; inset:auto; margin:0; padding:12px 20px 0; }
body.fp11 .fd-map-plot { width:100%; max-width:145px; height:auto; max-height:none; }
.fp11 .fd-map-landmass { fill:var(--fp-rule); }
.fp11 .fd-map-coverage path { fill:var(--fp-blue)!important; opacity:.3; }
.fp11 .fd-map-coast path { fill:none; stroke:white; }
.fp11 .fd-map-note { padding:0 20px; color:var(--fp-muted); font-size:12px; }
.fp11 .fd-map-selected { border:0; border-top:1px solid var(--fp-rule); border-radius:0; margin:0; padding:16px 20px; background:var(--fp-wash); width:100%; }
.fp11 .fd-map-selected small { display:none; }
.fp11 .fd-map-selected strong { font-size:13px; }
.fp11 .fd-map-open-btn { border:1px solid var(--fp-rule); background:white; color:var(--fp-blue); box-shadow:none; min-height:44px; font-size:12px; }
.fp11-school-guidance { padding:24px 0; }
.fp11 .fp11-school-guidance h3 { font-size:17px; }
.fp11 .fp11-school-guidance p { font-size:13px; }
.fp11-map-definitions { position:absolute; width:0; height:0; overflow:hidden; }
.fp11 #fd-school-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:28px; }
.fp11 .fp1-school-row { align-items:flex-start; justify-content:flex-start; gap:18px; padding:24px 0; transition:background-color 140ms; }
.fp11 .fp1-school-row:hover { background:var(--fp-paper); }
.fp11-school-visual { flex:0 0 58px; width:58px; padding-top:6px; }
.fp11-school-visual svg { display:block; width:100%; height:85px; fill:var(--fp-rule); }
.fp11-school-visual .fp11-region { fill:var(--fp-blue); stroke:var(--fp-blue); stroke-width:1.2; }
.fp11 .fp1-school-name { font-size:20px; line-height:1.25; font-weight:500; padding:0; min-height:44px; gap:8px; }
.fp11 .fp1-school-name .fd-icon { width:14px; height:14px; }
.fp11 .fp1-school-main>span { color:var(--fp-blue); display:block; font-size:11px; margin:8px 0; }
.fp11 .fp1-school-main p { font-size:12px; line-height:1.6; min-height:38px; margin:0; }
.fp11 .fp1-school-controls { margin-top:14px; display:flex; flex-direction:row; gap:12px; }
.fp11 .fp1-school-controls button { display:inline-flex; width:auto; height:auto; min-height:44px; align-items:center; gap:6px; padding:5px 0; border:0; background:transparent; font-size:12px; color:var(--fp-muted); }
.fp11 .fp1-school-controls button .fd-icon { width:15px; height:15px; }
.fp11 .fp1-school-controls button[aria-pressed=true] { color:var(--fp-blue); background:transparent; text-decoration:underline; text-underline-offset:4px; }
.fp11-map-caption { font-size:11px; line-height:1.5; color:var(--fp-muted); margin:12px 0 0; }
.fp11 .fd-empty { grid-column:1/-1; }
@media(max-width:1190px) and (min-width:769px) {
 .fp11 .fp11-briefing { grid-template-columns:minmax(0,1fr) 220px; padding:28px; gap:24px; }
 .fp11 .fp11-briefing h2 { font-size:30px; }
 .fp11-calendar { padding:16px!important; }
 .fp11-calendar-date { gap:12px; }
 .fp11-calendar-date>strong { font-size:64px; }
 .fp11 .fp1-journey { gap:24px; }
 .fp11 .fp1-stage .fd-stage-trigger { grid-template-columns:30px minmax(0,1fr) 16px; }
 .fp11 .fp1-stage-reading h3 { font-size:25px; }
 .fp11-stage-heading { padding:22px 20px 0; }
 .fp11-stage-body { padding:2px 20px 20px; }
 .fp11 .fp1-school-head { align-items:flex-start; gap:16px; }
 .fp11 .fp1-school-browser { grid-template-columns:190px minmax(0,1fr); gap:24px; }
 .fp11 #fd-school-grid { grid-template-columns:1fr; }
 .fp11 .fp1-school-name { font-size:22px; }
 .fp11 .fp1-understanding { grid-template-columns:1fr; }
 .fp11 .fp1-explore-teaser { gap:28px; }
}
@media(max-width:768px) {
 .fp11 .fp11-briefing { display:grid; grid-template-columns:1fr; padding:20px; gap:16px; }
 .fp11 .fp11-briefing h2 { font-size:27px; margin-bottom:12px; }
 .fp11 .fp11-briefing-copy>p:not(.fp1-status) { font-size:13px; margin-bottom:16px; }
 .fp11 .fp11-briefing .fp1-status { margin-bottom:12px; }
 .fp11 .fp11-calendar { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:6px 12px; padding:16px; }
 .fp11-calendar>p:first-child { grid-column:1/-1; }
 .fp11-calendar-date { grid-row:2/4; margin:4px 0; gap:10px; }
 .fp11-calendar-date>strong { font-size:48px; }
 .fp11-calendar-date>span { font-size:14px; }
 .fp11-calendar-date b { font-size:13px; }
 .fp11 .fp11-calendar-time { margin:0; font-size:11px; }
 .fp11-calendar-foot { padding:0; border:0; gap:0; }
 .fp11-calendar-foot>strong { font-size:11px; font-weight:400; }
 .fp11 .fp11-calendar-foot a { display:none; }
 .fp11 .fp1-context { font-size:11px; }
 .fp11-route-index { grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:16px; }
 .fp11-route-link,.fp11-route-link+.fp11-route-link { padding:14px 10px; font-size:12px; min-height:64px; }
 .fp11-route-link+.fp11-route-link { border-left:1px solid var(--fp-rule); }
 .fp11-route-link span,.fp11-route-link>.fd-icon { display:none; }
 .fp11-action-full { display:none; }
 .fp11-action-short { display:inline; }
 .fp11 .fp11-briefing .fp1-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
 .fp11 .fp11-briefing .fp1-primary { font-size:12px; padding:10px; gap:6px; }
 .fp11 .fp11-briefing .fp1-text-link { font-size:12px; gap:6px; }
 .fp11 .fp11-briefing .fp1-actions .fd-icon { width:14px; height:14px; }
 .fp11 .fp1-section-heading { margin-top:30px; }
 .fp11 .fp1-section-heading h2 { font-size:26px; }
 .fp11 .fp1-journey { grid-template-columns:1fr; }
 .fp11 .fp1-stage .fd-stage-trigger { grid-template-columns:30px minmax(0,1fr) 16px; padding:12px 6px; min-height:76px; }
 .fp11 .fp1-stage:not(:last-child) .fd-stage-trigger::after { left:20px; }
 .fp11 .fp1-stage-reading { position:static; margin:8px 0 20px; }
 .fp11-stage-heading { padding:20px 20px 0; }
 .fp11-stage-body { padding:1px 20px 20px; }
 .fp11 .fp1-stage-reading h3 { font-size:25px; }
 .fp11 .fp1-understanding { grid-template-columns:1fr; padding:26px 22px; gap:24px; margin-top:36px; }
 .fp11 .fp1-understanding h2 { font-size:26px; }
 .fp11 .fp1-years { gap:24px; }
 .fp11 .fp1-years strong { font-size:44px; }
 .fp11 .fp1-years p { font-size:13px; }
 .fp11 .fp1-explore-teaser { grid-template-columns:1fr; padding:32px 0; gap:24px; }
 .fp11 .fp1-explore-teaser h2 { font-size:28px; }
 .fp11 .fp1-nation-entries { grid-template-columns:1fr 1fr; gap:0 20px; }
 .fp11 .fp1-nation-entries button { font-size:17px; min-height:64px; }
 .fp11-next-icon { display:none; }
 .fp11 .fp1-next-chapter { padding:22px; }
 .fp11 .fp1-chapter-head h2,.fp11 .fp1-school-head h2 { font-size:29px; }
 .fp11 .fp1-prose>section>h3 { font-size:25px; }
 .fp11 .fp1-passes { grid-template-columns:1fr; }
 .fp11 .fp1-passes>div+div { border-left:0; border-top:1px solid var(--fp-rule); }
 .fp11 .fp1-school-browser { display:grid; grid-template-columns:1fr; gap:28px; margin-top:16px; }
 .fp11 .fp1-school-aside { order:2; position:static; }
 .fp11 .fp1-school-head { gap:8px; align-items:flex-start; margin-bottom:0; }
 .fp11 .fp1-school-head p { font-size:14px; line-height:1.5; }
 .fp11-school-actions { width:100%; justify-content:space-between; gap:8px; }
 .fp11 .fp11-school-actions .fp1-text-link { font-size:13px; gap:8px; }
 .fp11 .fp11-school-actions .fd-manager-button { font-size:12px; padding:10px 8px; gap:6px; }
 .fp11 .fd-school-tools { margin-bottom:8px; }
 .fp11 .fp1-directory-meta { padding:4px 0; }
 .fp11-map-caption { margin-top:8px; }
 .fp11-directory-intro { display:none; }
 .fp11 #fd-school-grid { grid-template-columns:1fr; }
 .fp11 .fp1-school-row { gap:20px; padding:24px 0; }
 .fp11-school-visual { width:64px; flex-basis:64px; }
 .fp11-school-visual svg { height:92px; }
 .fp11 .fp1-school-name { font-size:23px; }
 .fp11 .fp1-school-main p { min-height:0; }
 .fp11 .fp1-school-controls { margin-top:8px; }
 body.fp11 .fd-map-plot { max-width:156px; }
}
@media(max-width:350px) {
 .fp11 .fp11-briefing { padding:18px; gap:20px; }
 .fp11 .fp11-briefing h2 { font-size:25px; }
 .fp11-calendar-date>strong { font-size:42px; }
 .fp11 .fp11-calendar { padding:12px; }
 .fp11 .fp1-school-row { gap:16px; }
 .fp11-school-visual { width:50px; flex-basis:50px; }
 .fp11 .fp1-school-name { font-size:21px; }
}
@media(prefers-reduced-motion:reduce) {
 .fp11 *, .fp11 *::before, .fp11 *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}

/* Critique: timeline status and source labels must stay readable at phone sizes. */
.fp11 .fp1-prose .fd-milestone-date small,
.fp11 .fp1-prose .fd-milestone-copy>.fd-label,
.fp11 .fp1-prose .fd-milestone-copy>small { font-size:12px; line-height:1.5; letter-spacing:0; }
.fp11 .fp1-prose .fd-milestone-copy b { font-size:14px; line-height:1.45; }
.fp11 .fp1-prose .fd-milestone-body p { font-size:14px; line-height:1.65; }
.fp11 .fp1-closed p { max-width:70ch; }
/* Finish review: readable historical comparison with an explicit scroll path. */
.fp11 .fd-compare-panel { padding:16px; border:0; border-radius:5px; background:var(--fp-paper); }
.fp11 .fd-compare-head h3 { font-size:17px; }
.fp11 .fd-compare-head button { min-height:44px; font-size:12px; color:var(--fp-blue); }
.fp11 .fd-compare-panel .fd-history-warning { font-size:12px; line-height:1.6; }
.fp11 .fd-history-warning .fd-icon { flex:none; width:18px; height:18px; }
.fp11 .fd-compare-panel .fp11-compare-hint { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:12px; line-height:1.5; font-weight:500; color:var(--fp-blue); margin:16px 0 8px; }
.fp11-compare-hint .fd-icon { width:16px; height:16px; flex:none; }
.fp11 .fd-compare-scroll { border-radius:0; padding-bottom:8px; scrollbar-color:var(--fp-muted) var(--fp-rule); scrollbar-width:thin; }
.fp11 .fd-compare-scroll::-webkit-scrollbar { height:8px; }
.fp11 .fd-compare-scroll::-webkit-scrollbar-track { background:var(--fp-rule); }
.fp11 .fd-compare-scroll::-webkit-scrollbar-thumb { background:var(--fp-muted); border-radius:4px; }
.fp11 .fd-compare-table { min-width:560px; }
.fp11 .fd-compare-table th,.fp11 .fd-compare-table td { font-size:12px; line-height:1.6; padding:12px 10px; color:var(--fp-ink); border-color:var(--fp-rule); }
.fp11 .fd-compare-table th:first-child { width:32%; }

/* ---- FP12 ---- */
/* FP1.2 inherits FP1.1's product palette, typography and measured anchors. */
body.foundation-page.fp12 .fp12-intro {margin:32px 0;max-width:72ch}
body.foundation-page.fp12 .fp12-intro h2 {margin:0 0 12px;font-size:34px;line-height:1.15;letter-spacing:-.025em;text-wrap:balance}
body.foundation-page.fp12 .fp12-intro p {font-size:16px;line-height:1.65;max-width:66ch;color:var(--fp-muted);margin:0}
body.foundation-page.fp12 .fp-layout {display:grid;grid-template-columns:228px minmax(0,1fr);gap:40px;align-items:start}
body.foundation-page.fp12 .fp-routes {position:sticky;top:var(--fp11-anchor-offset);align-self:start;max-height:calc(100dvh - var(--fp11-anchor-offset) - 20px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--fp-rule) transparent}
body.foundation-page.fp12 .fp-rail-group {padding:14px 0;border-top:1px solid var(--fp-rule)}
body.foundation-page.fp12 .fp-rail-head {padding:0 12px;margin:0 0 8px;font-size:12px;line-height:1.5;letter-spacing:0;text-transform:none;font-weight:500;color:var(--fp-muted)}
body.foundation-page.fp12 .fp-route-item {border:0!important;border-radius:4px;padding:12px;min-height:48px;box-shadow:none!important;transition:background-color 150ms ease-out,color 150ms ease-out}
body.foundation-page.fp12 .fp-route-item b {font-size:14px;line-height:1.4;font-weight:600}
body.foundation-page.fp12 .fp-route-item span {font-size:12px;line-height:1.5;margin-top:5px}
body.foundation-page.fp12 .fp-route-item.is-active {background:var(--fp-wash);color:var(--fp-blue)}
body.foundation-page.fp12 .fp-route-item.is-active b {color:var(--fp-blue)}
body.foundation-page.fp12 .fp-route-item:hover {background:var(--fp-paper)}
body.foundation-page.fp12 .fp-stage {min-width:0;max-width:none}
body.foundation-page.fp12 .fp-stage-head {padding:24px 28px;background:var(--fp-paper);display:block;border:0;margin:0 0 24px}
body.foundation-page.fp12 .fp-stage-title h3 {font-size:28px;letter-spacing:-.025em;line-height:1.2;margin:0 0 10px;text-wrap:balance;max-width:31ch}
body.foundation-page.fp12 .fp-stage-tagline {font-size:15px;line-height:1.5;margin:0 0 20px;color:var(--fp-muted)}
body.foundation-page.fp12 .fp-applies {display:block;font-size:14px;line-height:1.6;margin:0 0 10px}
body.foundation-page.fp12 .fp-applies>span {display:block;font-weight:500;margin-bottom:2px;color:var(--fp-muted);font-size:12px}
body.foundation-page.fp12 .fp-status {font-size:12px;line-height:1.6;margin:12px 0;color:var(--fp-muted);align-items:baseline}
body.foundation-page.fp12 .fp-stage-tools {margin-top:16px}
body.foundation-page.fp12 .fp-stage .fp-lede {font-size:16px;line-height:1.75;max-width:72ch;margin:20px 0}
body.foundation-page.fp12 .fp-stage p,body.foundation-page.fp12 .fp-stage li {overflow-wrap:break-word}
body.foundation-page.fp12 .fp-facts {margin:24px 0}
body.foundation-page.fp12 .fp-facts>div {grid-template-columns:minmax(130px,.38fr) minmax(0,1fr);gap:22px;padding:16px 0}
body.foundation-page.fp12 .fp-facts dt {font-size:13px;line-height:1.6;font-weight:500}
body.foundation-page.fp12 .fp-facts dd {font-size:15px;line-height:1.7}
body.foundation-page.fp12 .fp12-route-actions {display:flex;flex-wrap:wrap;gap:8px 22px;margin:24px 0}
body.foundation-page.fp12 .fp12-route-actions button {font-size:14px;min-height:44px}
body.foundation-page.fp12 .fp-strengthen {margin:28px 0;background:transparent;border:0;border-block:1px solid var(--fp-rule);border-radius:0;gap:28px;padding:24px 0;box-shadow:none}
body.foundation-page.fp12 .fp-ledger-col {background:none;padding:0;border:0}
body.foundation-page.fp12 .fp-strengthen h4 {font-size:16px;margin:0 0 12px}
body.foundation-page.fp12 .fp-strengthen li {font-size:14px;line-height:1.7}
body.foundation-page.fp12 .fp12-route-index {display:flex;flex-wrap:wrap;gap:0 24px;border-bottom:1px solid var(--fp-rule);margin:0 0 30px;padding-bottom:8px}
body.foundation-page.fp12 .fp12-route-index a {display:inline-flex;align-items:center;min-height:44px;color:var(--fp-blue);font-size:13px;font-weight:500;text-underline-offset:4px}
body.foundation-page.fp12 .fp12-route-section {margin:0 0 40px;padding-bottom:32px;border-bottom:1px solid var(--fp-rule)}
body.foundation-page.fp12 .fp12-route-section>h4,body.foundation-page.fp12 .fp12-imperial>h4 {font-size:24px;line-height:1.25;letter-spacing:-.02em;margin:0 0 14px}
body.foundation-page.fp12 .fp12-route-section>p,body.foundation-page.fp12 .fp12-imperial>p {font-size:15px;line-height:1.7;max-width:72ch;color:var(--fp-muted)}
body.foundation-page.fp12 .fp12-pathways {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px;align-items:start}
body.foundation-page.fp12 .fp12-pathway {padding:24px;background:var(--fp-paper);min-width:0}
body.foundation-page.fp12 .fp12-pathway:nth-child(2) {background:var(--fp-wash)}
body.foundation-page.fp12 .fp12-pathway h5 {font-size:24px;line-height:1.2;font-weight:500;margin:0 0 16px;letter-spacing:-.02em;color:var(--fp-ink)}
body.foundation-page.fp12 .fp12-pathway h5 span {display:block;font-size:13px;letter-spacing:0;font-weight:500;margin-top:8px;color:var(--fp-blue)}
body.foundation-page.fp12 .fp12-pathway p {font-size:14px;line-height:1.65;margin:0 0 16px;color:var(--fp-muted)}
body.foundation-page.fp12 .fp12-pathway p.fp12-pathway-title {font-size:17px;line-height:1.4;color:var(--fp-ink);font-weight:500}
body.foundation-page.fp12 .fp12-pathway dl {margin:20px 0}
body.foundation-page.fp12 .fp12-pathway dl>div {border-top:1px solid var(--fp-rule);padding:16px 0}
body.foundation-page.fp12 .fp12-pathway dt {font-size:12px;line-height:1.5;font-weight:600;margin-bottom:6px;color:var(--fp-ink)}
body.foundation-page.fp12 .fp12-pathway dd {font-size:14px;line-height:1.65;margin:0;color:var(--fp-muted)}
body.foundation-page.fp12 .fp12-nations>article {display:grid;grid-template-columns:125px minmax(0,1fr);gap:24px;padding:24px 0;border-top:1px solid var(--fp-rule)}
body.foundation-page.fp12 .fp12-nations h5 {font-size:18px;line-height:1.4;margin:0}
body.foundation-page.fp12 .fp12-nations p,body.foundation-page.fp12 .fp12-nations li {font-size:14px;line-height:1.7;margin:0 0 12px}
body.foundation-page.fp12 .fp12-nations .fp-status {margin:0 0 12px;font-size:12px}
body.foundation-page.fp12 .fp12-nations ul {padding-left:20px}
body.foundation-page.fp12 .fp12-disclosure {border-block:1px solid var(--fp-rule);margin:20px 0;background:transparent}
body.foundation-page.fp12 .fp12-disclosure+.fp12-disclosure {border-top:0;margin-top:-20px}
body.foundation-page.fp12 .fp12-disclosure>summary {list-style:none;display:flex;align-items:center;gap:20px;justify-content:space-between;padding:20px 0;cursor:pointer;min-height:60px;color:var(--fp-ink)}
body.foundation-page.fp12 .fp12-disclosure>summary::-webkit-details-marker {display:none}
body.foundation-page.fp12 .fp12-disclosure>summary strong {font-size:17px;font-weight:500;line-height:1.4;display:block}
body.foundation-page.fp12 .fp12-disclosure>summary small {font-size:13px;line-height:1.6;display:block;color:var(--fp-muted);margin-top:5px}
body.foundation-page.fp12 .fp12-disclosure>summary>.fd-icon {flex:none;width:18px;height:18px;color:var(--fp-blue);transform:rotate(90deg);transition:transform 150ms ease-out}
body.foundation-page.fp12 .fp12-disclosure[open]>summary>.fd-icon {transform:rotate(-90deg)}
body.foundation-page.fp12 .fp12-disclosure>summary:hover strong {color:var(--fp-blue)}
body.foundation-page.fp12 .fp12-disclosure-body {padding:4px 0 24px;min-width:0}
body.foundation-page.fp12 .fp12-unpublished {padding:24px;background:var(--fp-paper);margin-top:32px}
body.foundation-page.fp12 .fp12-unpublished>h5 {font-size:18px;margin:0 0 10px}
body.foundation-page.fp12 .fp12-unpublished>p {font-size:14px;color:var(--fp-muted)}
body.foundation-page.fp12 .fp12-qualification {background:var(--fp-paper);padding:16px 20px;color:var(--fp-ink);border:1px solid var(--fp-rule);border-radius:4px;font-size:14px;line-height:1.7}
body.foundation-page.fp12 .fp12-transition {background:var(--fp-paper);padding:26px 28px;margin:0 0 36px}
body.foundation-page.fp12 .fp12-transition ol {list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
body.foundation-page.fp12 .fp12-transition li {border-top:1px solid var(--fp-rule);padding-top:14px}
body.foundation-page.fp12 .fp12-transition a {display:grid;grid-template-columns:minmax(0,1fr) 20px;gap:6px 12px;text-decoration:none;min-height:60px;color:var(--fp-ink)}
body.foundation-page.fp12 .fp12-transition strong {font-size:17px;line-height:1.4;font-weight:500}
body.foundation-page.fp12 .fp12-transition span {font-size:13px;line-height:1.6;color:var(--fp-muted);grid-column:1}
body.foundation-page.fp12 .fp12-transition .fd-icon {grid-column:2;grid-row:1;width:18px;height:18px;color:var(--fp-blue)}
body.foundation-page.fp12 .fp12-transition a:hover strong {color:var(--fp-blue);text-decoration:underline;text-underline-offset:4px}
body.foundation-page.fp12 .fp12-preparing-layout {grid-template-columns:200px minmax(0,1fr);gap:56px}
body.foundation-page.fp12 .fp12-preparing-layout .fp1-prose {max-width:80ch}
body.foundation-page.fp12 .fp12-preparing-layout .fp1-prose>section>h3 {font-size:27px;max-width:35ch}
body.foundation-page.fp12 .fp12-step-columns {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:28px 0}
body.foundation-page.fp12 .fp12-step-columns>section {border-top:1px solid var(--fp-rule);padding-top:20px}
body.foundation-page.fp12 .fp12-step-columns h4 {font-size:17px;line-height:1.4;margin-bottom:14px}
body.foundation-page.fp12 .fp12-step-columns p {font-size:15px;line-height:1.75}
body.foundation-page.fp12 .fp12-step-columns .fp12-deadline {color:var(--fp-ink);font-weight:500}
body.foundation-page.fp12 .fp12-start {display:flex;gap:24px;align-items:center;justify-content:space-between;background:var(--fp-wash);padding:28px!important;border:0!important}
body.foundation-page.fp12 .fp12-start strong {font-size:27px;letter-spacing:-.02em;font-weight:500;line-height:1.3;display:block;margin-bottom:12px}
body.foundation-page.fp12 .fp12-start p {font-size:14px;line-height:1.6;margin:8px 0}
body.foundation-page.fp12 .fp12-start .fd-stage-links {flex:none;max-width:160px}
body.foundation-page.fp12 .fp12-checklist {padding:28px;background:var(--fp-paper);margin:0 0 40px;border-top:1px solid var(--fp-rule)}
body.foundation-page.fp12 .fp12-checklist header {display:flex;gap:28px;justify-content:space-between;align-items:start;margin-bottom:24px}
body.foundation-page.fp12 .fp12-checklist header h3 {font-size:25px;margin-bottom:10px}
body.foundation-page.fp12 .fp12-checklist header p {font-size:14px;line-height:1.7;margin:0;max-width:52ch}
body.foundation-page.fp12 .fp12-checklist .fp12-check-count {flex:none;text-align:right;font-variant-numeric:tabular-nums}
body.foundation-page.fp12 .fp12-check-count strong {font-size:24px;font-weight:500;color:var(--fp-ink);display:block}
body.foundation-page.fp12 .fp12-check-count span {font-size:12px}
body.foundation-page.fp12 .fd-prep-checks {gap:0}
body.foundation-page.fp12 .fp12-checklist .fd-check {padding:16px 0;min-height:56px;border-top:1px solid var(--fp-rule);font-size:15px;line-height:1.7;display:grid;grid-template-columns:22px minmax(0,1fr);gap:14px;align-items:start;cursor:pointer}
body.foundation-page.fp12 .fp12-checklist input {appearance:auto;accent-color:var(--fp-blue);width:20px;height:20px;margin:3px 0 0;cursor:pointer}
body.foundation-page.fp12 .fp12-checklist .fd-check:has(input:checked) {background:var(--fp-wash)}
body.foundation-page.fp12 .fp12-checklist .fd-check {transition:background-color 160ms ease-out}
body.foundation-page.fp12 .fp12-check-tools {display:flex;flex-wrap:wrap;gap:4px 20px;border-top:1px solid var(--fp-rule);padding-top:12px;margin:8px 0 12px}
body.foundation-page.fp12 .fp12-check-tools button {background:none;border:0;font:500 13px/1.5 inherit;font-family:inherit;font-size:13px;line-height:1.5;font-weight:500;min-height:44px;padding:6px 0;color:var(--fp-blue);cursor:pointer;display:inline-flex;align-items:center;gap:8px}
body.foundation-page.fp12 .fp12-check-tools button:disabled {color:var(--fp-muted);opacity:.65;cursor:default}
body.foundation-page.fp12 .fp12-check-tools button:not(:disabled):hover {text-decoration:underline;text-underline-offset:4px}
body.foundation-page.fp12 .fp12-checklist .fd-local-note {font-size:12px;line-height:1.6;margin:12px 0 0}
body.foundation-page.fp12 .fp12-resources article {padding:22px 0;border-top:1px solid var(--fp-rule)}
body.foundation-page.fp12 .fp12-resources h4 {font-size:17px;margin:0 0 10px}
body.foundation-page.fp12 .fp12-resources h4 a {font-size:17px}
body.foundation-page.fp12 .fp12-resources p {font-size:14px;margin-bottom:10px}
body.foundation-page.fp12 .fp-stage .fd-source-button,body.foundation-page.fp12 #fd-panel-preparing .fd-source-button {min-height:44px;white-space:normal;text-align:left}
body.foundation-page.fp12 .fp-later-grid {display:block}
body.foundation-page.fp12 .fp-later {padding:24px 0;border:0;border-bottom:1px solid var(--fp-rule);background:none;box-shadow:none;border-radius:0}
body.foundation-page.fp12 .fp-later .fp-eyebrow {text-transform:none;letter-spacing:0;font-size:13px}
body.foundation-page.fp12 .fp12-disclosure-body .fp-hero {background:var(--fp-paper);box-shadow:none;border:0;border-radius:0}
body.foundation-page.fp12 .fp12-disclosure-body .fp-eyebrow {letter-spacing:0;text-transform:none;font-size:13px}
body.foundation-page.fp12 :is(.fp12-disclosure,.fp12-pathway,.fp12-checklist) :focus-visible {outline:2px solid var(--fp-blue);outline-offset:4px}
@media(max-width:1100px){
 body.foundation-page.fp12 .fp-layout {grid-template-columns:190px minmax(0,1fr);gap:28px}
 body.foundation-page.fp12 .fp12-pathways {grid-template-columns:1fr}
 body.foundation-page.fp12 .fp12-preparing-layout {grid-template-columns:160px minmax(0,1fr);gap:28px}
 body.foundation-page.fp12 .fp12-step-columns {grid-template-columns:1fr;gap:20px}
 body.foundation-page.fp12 .fp12-transition {padding:24px}
 body.foundation-page.fp12 .fp12-transition ol {gap:20px}
 body.foundation-page.fp12 .fp12-start {display:block}
}
@media(max-width:768px){
 body.foundation-page.fp12 .fp12-intro {margin:28px 0 24px}
 body.foundation-page.fp12 .fp12-intro h2 {font-size:28px}
 body.foundation-page.fp12 .fp12-intro p {font-size:15px}
 body.foundation-page.fp12 .fp-layout {display:block}
 body.foundation-page.fp12 .fp-routes {position:static;max-height:none;margin-bottom:24px;overflow:visible}
 body.foundation-page.fp12 .fp-routes-toggle {background:var(--fp-wash);border:1px solid var(--fp-rule);padding:14px;min-height:56px}
 body.foundation-page.fp12 .fp-routes-toggle .fp-eyebrow {text-transform:none;letter-spacing:0;font-size:12px}
 body.foundation-page.fp12 .fp-routes-toggle b {font-size:14px}
 body.foundation-page.fp12 .fp-stage-head {padding:22px 20px;margin-bottom:24px}
 body.foundation-page.fp12 .fp-stage-title h3 {font-size:25px}
 body.foundation-page.fp12 .fp-stage-tagline {font-size:14px}
 body.foundation-page.fp12 .fp-facts>div {display:block}
 body.foundation-page.fp12 .fp-facts dt {margin-bottom:6px}
 body.foundation-page.fp12 .fp-facts dd {font-size:15px}
 body.foundation-page.fp12 .fp-strengthen {display:block}
 body.foundation-page.fp12 .fp-strengthen>div+div {margin-top:24px}
 body.foundation-page.fp12 .fp12-route-index {gap:0 20px}
 body.foundation-page.fp12 .fp12-pathway {padding:22px 20px}
 body.foundation-page.fp12 .fp12-nations>article {grid-template-columns:1fr;gap:12px}
 body.foundation-page.fp12 .fp12-transition {padding:22px 20px;margin-bottom:24px}
 body.foundation-page.fp12 .fp12-transition ol {grid-template-columns:1fr;gap:18px}
 body.foundation-page.fp12 .fp12-transition li:first-child {border:0;padding-top:0}
 body.foundation-page.fp12 .fp12-transition a {min-height:48px}
 body.foundation-page.fp12 .fp12-preparing-layout {grid-template-columns:1fr;gap:28px}
 body.foundation-page.fp12 .fp12-preparing-layout .fp1-prose>section>h3 {font-size:24px}
 body.foundation-page.fp12 .fp12-checklist {padding:24px 20px}
 body.foundation-page.fp12 .fp12-checklist header {display:block}
 body.foundation-page.fp12 .fp12-checklist .fp12-check-count {text-align:left;display:flex;gap:10px;align-items:baseline;margin-top:16px}
 body.foundation-page.fp12 .fp12-start {padding:24px 20px!important}
 body.foundation-page.fp12 .fp12-start strong {font-size:25px}
 body.foundation-page.fp12 .fp12-qualification {padding:16px}
}
@media(prefers-reduced-motion:reduce){body.foundation-page.fp12 .fp-route-item,body.foundation-page.fp12 .fp12-checklist .fd-check,body.foundation-page.fp12 .fp12-disclosure>summary>.fd-icon{transition:none}}

/* Polish: readable route labels, compact comparison and legacy detail alignment. */
body.foundation-page.fp12 .fp-rail-group+.fp-rail-group {margin-top:0;padding-top:14px}
body.foundation-page.fp12 .fp-ledger-col h4 {text-transform:none;letter-spacing:0;color:var(--fp-ink);font-size:16px;font-weight:500}
body.foundation-page.fp12 .fp12-pathway details {border-top:1px solid var(--fp-rule);margin:16px 0}
body.foundation-page.fp12 .fp12-pathway summary {cursor:pointer;min-height:44px;padding:12px 0;font-size:13px;line-height:1.6;font-weight:500;color:var(--fp-blue)}
body.foundation-page.fp12 .fp12-pathway details dl {margin:0}
body.foundation-page.fp12 .fp12-disclosure-body .fp-hero {padding:20px}
body.foundation-page.fp12 .fp12-disclosure-body .fp-imperial-head {margin-bottom:20px}
body.foundation-page.fp12 .fp12-disclosure-body :is(.fp-rule,.fp-notes,.fp-theme-lede,.fp-do-note,.fp-xp-col li,.fp-years p) {font-size:14px;line-height:1.7}
body.foundation-page.fp12 .fp12-disclosure-body .fp-ref {min-width:44px;min-height:44px}
body.foundation-page.fp12 .fp12-disclosure-body .fp-theme-item {min-height:44px}
body.foundation-page.fp12 .fp12-checklist .fd-check {font-weight:400}
body.foundation-page.fp12 .fp12-transition li:last-child {border-color:var(--fp-blue)}
body.foundation-page.fp12 .fp12-transition li:last-child strong {color:var(--fp-blue)}
body.foundation-page.fp12 .fp12-preparing-layout .fp1-contents>p {font-size:13px;font-weight:500;color:var(--fp-muted);margin:0 0 12px}
@media(max-width:768px){body.foundation-page.fp12 .fp12-preparing-layout .fp1-contents {display:flex;flex-wrap:wrap;gap:0 18px}body.foundation-page.fp12 .fp12-preparing-layout .fp1-contents>p {width:100%}body.foundation-page.fp12 .fp12-preparing-layout .fp1-contents a {min-height:44px;border:0;padding:10px 0;font-size:13px}}
/* Independent critique corrections: mobile orientation and actual reading measure. */
body.foundation-page.fp12 .fp-stage .fp-lede {max-width:62ch}
body.foundation-page.fp12 .fp12-route-section>p {max-width:64ch}
body.foundation-page.fp12 .fp12-nations :is(p,li) {max-width:68ch}
body.foundation-page.fp12 .fp-facts dd {text-wrap:pretty}
body.foundation-page.fp12 .fp12-pathway-detail {border:0;margin:0}
body.foundation-page.fp12 .fp12-pathway-detail>summary {display:none}
body.foundation-page.fp12 .fp12-prep-shortcuts {display:none}
@media(max-width:1100px){
 body.foundation-page.fp12 .fp12-pathway h5 {font-size:20px;margin:0 0 12px}
 body.foundation-page.fp12 .fp12-pathway h5 span {display:inline-block;margin:0 0 0 12px}
 body.foundation-page.fp12 .fp12-pathway .fp12-pathway-title {margin:0;font-size:17px}
 body.foundation-page.fp12 .fp12-pathway-detail>summary {display:list-item;margin-top:12px}
 body.foundation-page.fp12 .fp12-pathway-detail>div {padding-top:8px}
}
@media(max-width:768px){
 body.foundation-page.fp12 .fp12-preparing-layout .fp1-contents {display:none}
 body.foundation-page.fp12 .fp12-preparing-layout {margin-top:28px}
 body.foundation-page.fp12 .fp12-prep-shortcuts {display:flex;flex-wrap:wrap;gap:0 20px;border-top:1px solid var(--fp-rule);margin-top:16px;padding-top:8px}
 body.foundation-page.fp12 .fp12-prep-shortcuts a {display:inline-flex;align-items:center;min-height:44px;color:var(--fp-blue);font-size:13px;font-weight:500;line-height:1.5;text-decoration:none}
 body.foundation-page.fp12 .fp12-prep-shortcuts a:hover {text-decoration:underline;text-underline-offset:4px}
}

/* ---- FP13 ---- */
/* Candidate-only polish. FP1.2 owns routing, content and the outer shell. */
body.fp13 {--fp13-selection:#dce9fa}
body.fp13 .foundation-inner ::selection,body.fp13 .fd-drawer ::selection {background:var(--fp13-selection);color:var(--fp-ink)}
body.fp13 .fp1-chapter-head h2,body.fp13 .fp12-intro h2 {text-wrap:balance;max-width:25ch}
body.fp13 .fp1-chapter-head {margin-bottom:32px}
body.fp13 .fp11-briefing {border-radius:0;padding:36px 40px;background:var(--fp-paper)}
body.fp13 .fp11-calendar {border-radius:0;box-shadow:none}
body.fp13 .fp11-route-index {border-bottom:1px solid var(--fp-rule);padding-bottom:20px}
body.fp13 .fp11-journey-section {margin-top:44px}
body.fp13 .fp11-stage-heading {background:var(--fp-wash);padding-bottom:24px}
body.fp13 .fp1-understanding {border-radius:0;margin-block:48px;padding:40px}
body.fp13 .fp1-next-chapter {border-radius:0;border-top:1px solid var(--fp-rule);background:var(--fp-paper)}
body.fp13 .fp1-contents {border-top:1px solid var(--fp-rule);padding-top:16px}
body.fp13 .fp1-closed {background:var(--fp-paper);border:0;border-radius:0;padding:24px 28px;margin-bottom:40px}
body.fp13 .fp1-closed strong {font-size:20px;font-weight:500;letter-spacing:-.015em}
body.fp13 .fp1-two-col {gap:24px;margin-block:24px}
body.fp13 .fp1-two-col>div {padding:20px 24px;background:var(--fp-paper);border-top:1px solid var(--fp-rule)}
body.fp13 .fp1-two-col>div:nth-child(2) {background:var(--fp-wash)}
body.fp13 .fp1-two-col p {font-size:15px;line-height:1.7;margin-bottom:0}
body.fp13 .fp1-prose>section {padding-bottom:40px;margin-bottom:40px}
body.fp13 .fp1-prose>section>h3 {margin-bottom:16px}
body.fp13 .fp1-allocation-lead {background:var(--fp-paper);border-radius:0;padding:32px;gap:32px}
body.fp13 .fp1-allocation-lead .fp1-date {background:white;border-top:2px solid var(--fp-blue);padding:20px 24px}
body.fp13 .fp1-passes>div {border-radius:0;padding:24px;background:var(--fp-paper)}
body.fp13 .fp1-passes>div:nth-child(2) {background:var(--fp-wash)}
body.fp13 .fp1-resource-rows {margin-block:20px}
body.fp13 .fp1-resource-rows>a,body.fp13 .fp1-resource-rows>button {min-height:48px;align-items:center}
body.fp13 .fp12-route-section {padding-top:32px}
body.fp13 .fp12-route-section>h4 {max-width:35ch}
body.fp13 .fp12-transition {border-radius:0}

/* The school guide: one atlas and a legible, ruled directory. */
body.fp13 .fp1-school-head {align-items:flex-end;gap:32px;margin-bottom:28px}
body.fp13 .fp1-school-head h2 {font-size:38px;line-height:1.12;margin-bottom:14px;max-width:23ch}
body.fp13 .fp1-school-head p {max-width:52ch}
body.fp13 .fp13-school-actions {display:flex;align-items:center;gap:16px;flex-shrink:0}
body.fp13 .fp13-mobile-map-action {display:none}
body.fp13 .fd-manager-button {min-height:48px;padding:12px 16px;flex-shrink:0;font-size:14px;border-radius:4px;border-color:var(--fp-rule);box-shadow:none}
body.fp13 .fd-manager-button b {font-size:12px;min-width:24px}
body.fp13 .fd-manager-button>span {display:inline-flex;align-items:center;gap:6px}
body.fp13 .fp1-school-browser {grid-template-columns:260px minmax(0,1fr);gap:36px;margin-top:28px}
body.fp13 .fp1-school-aside {top:var(--fp11-anchor-offset);align-self:start}
body.fp13 .fp13-atlas {padding:26px 24px 20px;background:var(--fp-paper)}
body.fp13 .fp13-atlas h3 {font-size:25px;line-height:1.2;margin:0 0 10px}
body.fp13 .fp13-atlas p {font-size:14px;line-height:1.65}
body.fp13 .fp13-atlas-map {height:240px;width:100%;display:flex;justify-content:center;margin-block:20px;padding:0;border:0;background:transparent;cursor:pointer;border-radius:4px}
body.fp13 .fp13-atlas-map:hover {background:var(--fp-wash)}
body.fp13 .fp13-map {display:block;width:100%;height:100%;fill:var(--fp-rule);max-width:100%}
body.fp13 .fp13-coverage {fill:var(--fp-blue);stroke:var(--fp-blue);stroke-width:.65}
body.fp13 .fp13-coverage-all {opacity:.55}
body.fp13 .fp13-atlas-selection {min-height:84px;border-top:1px solid var(--fp-rule);padding-top:16px}
body.fp13 .fp13-atlas-selection span {display:block;font-size:12px;color:var(--fp-muted);margin-bottom:4px}
body.fp13 .fp13-atlas-selection strong {font-size:19px;line-height:1.3;font-weight:500;display:block;letter-spacing:-.015em}
body.fp13 .fp13-map-note {font-size:12px;line-height:1.6;color:var(--fp-muted);margin:12px 0}
body.fp13 .fp13-atlas .fp13-map-note {font-size:12px;margin:12px 0 8px}
body.fp13 .fp13-atlas .fp1-text-link {font-size:13px;min-height:44px;gap:8px;text-align:left}
body.fp13 .fp11-school-guidance {padding:24px 4px}
body.fp13 .fp11-school-guidance h3 {font-size:18px}
body.fp13 .fp11-school-guidance p {font-size:14px}
body.fp13 .fd-school-tools .fd-search {border-color:var(--fp-muted);box-shadow:none}
body.fp13 .fd-nation-filters {gap:4px 10px;margin:16px 0 8px}
body.fp13 .fd-nation-filters button {border-radius:0;border:0;border-bottom:2px solid transparent;background:transparent;min-height:44px;padding:10px 4px;font-size:13px}
body.fp13 .fd-nation-filters button[aria-pressed=true] {background:transparent;border-bottom-color:var(--fp-blue);color:var(--fp-blue)}
body.fp13 .fp1-directory-meta {padding:12px 0 16px;border-bottom:1px solid var(--fp-rule);margin-bottom:0;font-size:13px}
body.fp13 #fd-saved-only {min-height:44px;font-size:13px;text-underline-offset:4px}
body.fp13 #fd-school-grid {column-gap:28px}
body.fp13 .fp13-school-row {display:grid;grid-template-columns:minmax(0,1fr) 64px;column-gap:14px;padding:24px 0 20px;min-height:222px;align-items:start;position:relative}
body.fp13 .fp13-school-row:hover,body.fp13 .fp13-school-row:focus-within {background:var(--fp-paper)}
body.fp13 .fp13-school-row.is-compared {background:var(--fp-wash)}
body.fp13 .fp13-school-context {display:flex;flex-wrap:wrap;gap:4px 12px;color:var(--fp-muted);font-size:12px;line-height:1.5;margin-bottom:10px}
body.fp13 .fp13-school-context span:first-child {color:var(--fp-blue)}
body.fp13 .fp1-school-name {font-size:24px;line-height:1.2;letter-spacing:-.025em;min-height:44px;margin:0 0 10px;font-weight:500}
body.fp13 .fp1-school-main p {font-size:13px;line-height:1.65;min-height:44px;margin:0;max-width:42ch}
body.fp13 .fp13-school-map {height:100px;margin-top:26px}
body.fp13 .fp1-school-controls {gap:16px;margin-top:14px;flex-wrap:wrap}
body.fp13 .fp1-school-controls button {display:inline-flex;align-items:center;gap:7px;border:0;border-radius:0;background:transparent;color:var(--fp-muted);padding:6px 0;font:500 13px/1.5 var(--font-application-ui);min-height:44px;width:auto;height:auto;cursor:pointer}
body.fp13 .fp1-school-controls button[aria-pressed=true] {color:var(--fp-blue);text-decoration:underline;text-underline-offset:5px;background:transparent}
body.fp13 .fp1-school-controls button:hover {color:var(--fp-blue)}
body.fp13 .fp13-shortlist-strip {display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--fp-wash);padding:16px 20px;margin-top:16px}
body.fp13 .fp13-shortlist-strip strong {font-size:14px;font-weight:500;display:block}
body.fp13 .fp13-shortlist-strip span {font-size:12px;color:var(--fp-muted);display:block;margin-top:6px;line-height:1.6}
body.fp13 .fp13-shortlist-strip button {font-size:13px;flex-shrink:0;min-height:44px}

/* School detail and shortlist retain the existing modal/inert lifecycle. */
body.fp13 .fd-drawer[data-drawer-type=school] {width:min(660px,calc(100% - 40px))}
body.fp13 .fd-drawer[data-drawer-type=school-manager] {width:min(1120px,calc(100% - 48px))}
body.fp13 .fd-drawer:is([data-drawer-type=school],[data-drawer-type=school-manager]) .fd-drawer-head {padding:28px 32px 24px;gap:24px}
body.fp13 .fd-drawer:is([data-drawer-type=school],[data-drawer-type=school-manager]) .fd-drawer-head h2 {font-size:30px;line-height:1.15;letter-spacing:-.025em;text-wrap:balance}
body.fp13 .fd-drawer-kicker:empty {display:none}
body.fp13 .fd-drawer:is([data-drawer-type=school],[data-drawer-type=school-manager]) .fd-drawer-kicker {display:none}
body.fp13 .fd-drawer:is([data-drawer-type=school],[data-drawer-type=school-manager]) .fd-drawer-body {padding:24px 32px 40px;scrollbar-color:var(--fp-muted) var(--fp-paper);scrollbar-width:thin}
body.fp13 .fd-drawer-close {border-radius:4px}
body.fp13 .fp13-school-summary {display:grid;grid-template-columns:130px 1fr;gap:32px;align-items:center;background:var(--fp-paper);padding:24px}
body.fp13 .fp13-school-summary>.fp13-map,body.fp13 .fp13-school-summary>div {height:170px}
body.fp13 .fp13-school-summary dl {margin:0;display:grid;gap:20px}
body.fp13 .fp13-school-summary dt {font-size:12px;line-height:1.5;color:var(--fp-muted);margin-bottom:5px}
body.fp13 .fp13-school-summary dd {margin:0;font-size:19px;font-weight:500;line-height:1.35;color:var(--fp-ink)}
body.fp13 .fp13-official-links {display:flex;flex-wrap:wrap;gap:8px 20px;margin:16px 0}
body.fp13 .fp13-official-links a {display:inline-flex;align-items:center;gap:6px;font-size:14px;line-height:1.5;min-height:44px;color:var(--fp-blue);text-underline-offset:4px}
body.fp13 .fd-drawer[data-drawer-type=school] .fd-drawer-body>.fp13-official-links {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
body.fp13 .fd-drawer[data-drawer-type=school] .fd-drawer-body>.fp13-official-links a {justify-content:center;padding:12px;background:var(--fp-paper);font-size:14px}
body.fp13 .fd-drawer[data-drawer-type=school] .fd-drawer-body>.fp13-official-links a:first-child {background:var(--fp-blue);color:white}
body.fp13 .fp13-drawer-actions {border-bottom:1px solid var(--fp-rule);padding-bottom:8px;gap:24px}
body.fp13 .fp13-local-note {font-size:13px;line-height:1.65;color:var(--fp-muted);margin:12px 0 24px;max-width:78ch}
body.fp13 .fp13-shortlist-nav {display:flex;gap:24px;border-bottom:1px solid var(--fp-rule);padding-bottom:4px}
body.fp13 .fp13-shortlist-nav button {display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0;border:0;background:transparent;color:var(--fp-blue);font:500 14px/1.5 var(--font-application-ui);cursor:pointer;text-decoration:underline;text-underline-offset:5px}
body.fp13 .fp13-shortlist-nav span {color:var(--fp-muted);font-weight:400}
body.fp13 .fp13-detail-section {padding-block:24px 12px;border-top:1px solid var(--fp-rule);margin-top:24px}
body.fp13 .fp13-detail-section h3,body.fp13 .fp13-saved-section h3 {font-size:23px;font-weight:500;letter-spacing:-.02em;line-height:1.25;margin:0 0 16px}
body.fp13 .fp13-detail-section p {font-size:15px;line-height:1.75;color:var(--fp-muted);margin:0 0 16px}
body.fp13 .fp13-caution {background:#fff9ed;color:#754a13;font-size:13px;line-height:1.65;padding:16px 20px;margin:16px 0;border:0;border-radius:0;font-weight:400}
body.fp13 .fp13-detail-section p.fp13-caution {color:#754a13;font-size:13px;line-height:1.65}
body.fp13 .fp13-history-facts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}
body.fp13 .fp13-history-facts>div {display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:8px}
body.fp13 .fp13-history-facts dt {font-size:13px;line-height:1.45;color:var(--fp-muted)}
body.fp13 .fp13-history-facts dd {font-size:30px;line-height:1.1;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.025em;margin:0}
body.fp13 .fp13-provenance {border-top:1px solid var(--fp-rule);margin:24px 0 0;padding-top:8px}
body.fp13 .fp13-provenance>summary {min-height:52px;align-content:center;cursor:pointer;color:var(--fp-blue);font-size:15px;line-height:1.6;font-weight:500}
body.fp13 .fp13-provenance>div {padding-top:16px}
body.fp13 .fp13-provenance .fd-source-card {border-radius:0;box-shadow:none}

/* Side-by-side on wide screens; named dimensions on phones. */
body.fp13 .fp13-compare-heading {display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:28px 0}
body.fp13 .fp13-compare-heading h3 {font-size:27px;font-weight:500;letter-spacing:-.025em;margin:0 0 8px}
body.fp13 .fp13-compare-heading p {font-size:15px;line-height:1.6;margin:0;color:var(--fp-muted)}
body.fp13 .fp13-compare-heading button {font-size:13px;min-height:44px}
body.fp13 .fp13-compare-table {width:100%;table-layout:fixed;border-collapse:collapse}
body.fp13 .fp13-compare-table th,body.fp13 .fp13-compare-table td {font-size:14px;line-height:1.65;vertical-align:top;text-align:left;padding:18px 20px;border-bottom:1px solid var(--fp-rule);overflow-wrap:anywhere;color:var(--fp-ink);font-variant-numeric:tabular-nums}
body.fp13 .fp13-compare-table th:first-child {width:170px}
body.fp13 .fp13-compare-table tbody th {font-weight:500;color:var(--fp-muted);padding-left:0}
body.fp13 .fp13-compare-table thead {position:sticky;top:-24px;z-index:1;background:white}
body.fp13 .fp13-compare-table thead th {font-weight:500;background:var(--fp-paper);border-bottom:2px solid var(--fp-rule)}
body.fp13 .fp13-compare-table thead th:first-child {background:white;vertical-align:bottom;padding-left:0;color:var(--fp-muted);font-size:13px}
body.fp13 .fp13-compare-table thead .fp13-map {height:68px;width:50px;margin:0 0 12px}
body.fp13 .fp13-compare-table thead button,body.fp13 .fp13-compared-names button,body.fp13 .fp13-saved-name {display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;background:none;font:500 20px/1.25 var(--font-application-ui);color:var(--fp-ink);padding:0;text-align:left;min-height:44px;cursor:pointer;width:100%;letter-spacing:-.02em}
body.fp13 .fp13-compare-table thead button svg,body.fp13 .fp13-saved-name svg,body.fp13 .fp13-compared-names button svg {width:16px;flex:none;color:var(--fp-blue)}
body.fp13 button.fp13-remove,body.fp13 .fp13-compare-table thead button.fp13-remove {font-size:12px;font-weight:400;color:var(--fp-blue);letter-spacing:0;text-decoration:underline;text-underline-offset:4px;margin-top:4px;width:auto;min-width:44px}
body.fp13 .fp13-compare-table td p {margin:0 0 12px;font-size:14px;line-height:1.65}
body.fp13 .fp13-compare-table details>summary {cursor:pointer;min-height:44px;align-content:center;color:var(--fp-blue);font-size:13px}
body.fp13 .fp13-compare-table .fp13-official-links {margin:0;gap:4px;flex-direction:column}
body.fp13 .fp13-compare-section td {padding:32px 0 16px}
body.fp13 .fp13-compare-section h4,body.fp13 .fp13-mobile-history h4 {font-size:23px;font-weight:500;letter-spacing:-.02em;margin:0 0 12px}
body.fp13 .fp13-compare-section .fp13-caution {margin:0;font-size:14px;color:#754a13}
body.fp13 .fp13-compare-table .fp13-provenance {margin:0;border:0;padding:0}
body.fp13 .fp13-compare-mobile {display:none}
body.fp13 .fp13-saved-section {border-top:1px solid var(--fp-rule);margin:40px 0 24px;padding-top:28px}
body.fp13 .fp13-saved-section h3 span {font-weight:400;color:var(--fp-muted);margin-left:8px}
body.fp13 .fp13-saved-section>p,body.fp13 .fp13-compare-empty p {font-size:15px;line-height:1.7;color:var(--fp-muted);max-width:65ch}
body.fp13 .fp13-saved-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
body.fp13 .fp13-saved-list article {padding:20px 0;border-bottom:1px solid var(--fp-rule)}
body.fp13 .fp13-saved-list article>span {font-size:13px;color:var(--fp-muted)}
body.fp13 .fp13-compare-empty {background:var(--fp-paper);padding:28px}
body.fp13 .fp13-compare-empty h3 {font-size:25px;line-height:1.3;font-weight:500;margin:0 0 12px}
body.fp13 .fp13-compare-empty button {min-height:44px}

@media(max-width:1190px) and (min-width:769px) {
 body.fp13 .fp1-school-head {align-items:flex-start;gap:20px}
 body.fp13 .fp1-school-browser {grid-template-columns:220px minmax(0,1fr);gap:28px}
 body.fp13 #fd-school-grid {grid-template-columns:1fr}
 body.fp13 .fp13-school-row {grid-template-columns:minmax(0,1fr) 70px;min-height:190px}
 body.fp13 .fp13-atlas {padding:22px 20px 16px}
 body.fp13 .fp13-atlas-map {height:205px}
 body.fp13 .fp13-compare-table th,body.fp13 .fp13-compare-table td {padding:16px 12px}
 body.fp13 .fp13-compare-table th:first-child {width:140px}
 body.fp13 .fp13-compare-table thead button {font-size:18px}
}
@media(max-width:768px) {
 body.fp13 .fp1-chapter-head {margin-bottom:24px}
 body.fp13 .fp11-briefing {padding:24px 20px}
 body.fp13 .fp1-understanding {padding:28px 24px;margin-block:32px}
 body.fp13 .fp1-closed {padding:22px 20px;margin-bottom:28px}
 body.fp13 .fp1-two-col>div {padding:20px}
 body.fp13 .fp1-allocation-lead {padding:24px 20px;gap:24px}
 body.fp13 .fp1-passes>div {padding:20px}
 body.fp13 .fp1-prose>section {padding-bottom:32px;margin-bottom:32px}
 body.fp13 .fp1-school-head {gap:16px;margin-bottom:16px;align-items:flex-start}
 body.fp13 .fp13-school-actions {justify-content:space-between;width:100%;gap:8px}
 body.fp13 .fp13-mobile-map-action {display:inline-flex;font-size:13px;min-height:44px;gap:8px}
 body.fp13 .fp1-school-head h2 {font-size:29px;line-height:1.15}
 body.fp13 .fd-manager-button {min-height:44px;padding:9px 12px;font-size:13px}
 body.fp13 .fp1-school-browser {grid-template-columns:minmax(0,1fr);margin-top:20px;gap:28px}
 body.fp13 .fp1-school-aside {position:static;display:block}
 body.fp13 .fp13-atlas {display:grid;grid-template-columns:1fr 100px;gap:12px 20px;padding:24px}
 body.fp13 .fp13-atlas-heading {grid-column:1}
 body.fp13 .fp13-atlas-map {grid-column:2;grid-row:1/3;height:150px;margin:0}
 body.fp13 .fp13-atlas-selection {grid-column:1;min-height:0;padding-top:12px}
 body.fp13 .fp13-atlas .fp13-map-note,body.fp13 .fp13-atlas>button.fp1-text-link {grid-column:1/-1;margin:0}
 body.fp13 .fp13-school-row {grid-template-columns:minmax(0,1fr) 64px;min-height:196px;padding:24px 0 20px;gap:12px}
 body.fp13 .fp1-school-name {font-size:24px}
 body.fp13 .fp1-school-main p {font-size:14px;min-height:0}
 body.fp13 .fp13-school-context {font-size:12px;margin-bottom:8px}
 body.fp13 .fp1-school-controls {margin-top:12px;gap:16px}
 body.fp13 .fp1-school-controls button {font-size:13px}
 body.fp13 .fp13-shortlist-strip {display:block;padding:16px}
 body.fp13 .fp13-shortlist-strip button {margin-top:8px}
 body.fp13 .fd-drawer:is([data-drawer-type=school],[data-drawer-type=school-manager]) {width:100%;max-height:94dvh;border-radius:12px 12px 0 0}
 body.fp13 .fd-drawer:is([data-drawer-type=school],[data-drawer-type=school-manager]) .fd-drawer-head {padding:16px 20px;gap:16px}
 body.fp13 .fd-drawer:is([data-drawer-type=school],[data-drawer-type=school-manager]) .fd-drawer-head h2 {font-size:25px}
 body.fp13 .fd-drawer:is([data-drawer-type=school],[data-drawer-type=school-manager]) .fd-drawer-body {padding:20px 20px calc(28px + env(safe-area-inset-bottom,0px))}
 body.fp13 .fp13-school-summary {grid-template-columns:82px minmax(0,1fr);gap:20px;padding:20px 16px}
 body.fp13 .fp13-school-summary>div {height:138px}
 body.fp13 .fp13-school-summary dd {font-size:17px}
 body.fp13 .fd-drawer[data-drawer-type=school] .fd-drawer-body>.fp13-official-links {grid-template-columns:1fr}
 body.fp13 .fp13-drawer-actions {gap:12px 20px}
 body.fp13 .fp13-detail-section h3 {font-size:22px}
 body.fp13 .fp13-history-facts {gap:12px}
 body.fp13 .fp13-history-facts dd {font-size:27px}
 body.fp13 .fp13-history-facts dt {font-size:12px}
 body.fp13 .fp13-caution {padding:16px}
 body.fp13 .fd-drawer[data-drawer-type=school-manager] .fp13-local-note {margin:12px 0 16px}
 body.fp13 .fp13-compare-heading {display:block;margin:16px 0 12px}
 body.fp13 .fp13-compare-heading h3 {font-size:25px}
 body.fp13 .fp13-compare-heading button {margin-top:0}
 body.fp13 .fp13-compare-heading .fp13-map-note {display:none}
 body.fp13 .fp13-compare-table {display:none}
 body.fp13 .fp13-compare-mobile {display:block}
 body.fp13 .fp13-compared-names {background:var(--fp-paper);padding:8px 16px}
 body.fp13 .fp13-compared-names>div {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:4px 0;border-bottom:1px solid var(--fp-rule)}
 body.fp13 .fp13-compared-names>div:last-child {border:0}
 body.fp13 .fp13-compared-names button {font-size:18px}
 body.fp13 .fp13-compared-names .fp13-remove {font-size:13px;min-height:44px;min-width:44px;margin:0}
 body.fp13 .fp13-compare-mobile>section {padding:24px 0 8px;border-bottom:1px solid var(--fp-rule)}
 body.fp13 .fp13-compare-mobile h4 {font-size:20px;line-height:1.35;font-weight:500;margin:0 0 16px}
 body.fp13 .fp13-compare-mobile dl {margin:0}
 body.fp13 .fp13-compare-mobile dl>div {display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:20px;margin:16px 0}
 body.fp13 .fp13-compare-mobile dt {font-size:13px;line-height:1.6;color:var(--fp-muted)}
 body.fp13 .fp13-compare-mobile dd {font-size:14px;line-height:1.6;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
 body.fp13 .fp13-compare-mobile dd p {margin:0 0 12px}
 body.fp13 .fp13-compare-mobile summary {color:var(--fp-blue);font-size:13px;cursor:pointer;min-height:44px;align-content:center}
 body.fp13 .fp13-compare-mobile .fp13-official-links {margin:0;gap:8px}
 body.fp13 .fp13-compare-mobile .fp13-official-links a {font-size:13px;min-height:44px}
 body.fp13 .fp13-compare-mobile .fp13-provenance {border:0;margin:0;padding:0}
 body.fp13 .fp13-mobile-history {margin-top:28px}
 body.fp13 .fp13-saved-list {grid-template-columns:1fr}
 body.fp13 .fp13-compare-empty {padding:24px 20px}
}
@media(max-width:350px) {
 body.fp13 .fp1-school-name {font-size:22px}
 body.fp13 .fp13-school-row {grid-template-columns:minmax(0,1fr) 46px;gap:10px}
 body.fp13 .fp13-school-map {height:80px}
 body.fp13 .fp13-atlas {padding:20px;gap:16px;grid-template-columns:1fr 70px}
 body.fp13 .fp13-atlas h3 {font-size:23px}
 body.fp13 .fp13-school-summary {grid-template-columns:66px 1fr;gap:16px;padding:16px 12px}
 body.fp13 .fp13-school-summary dd {font-size:16px}
 body.fp13 .fp13-compare-mobile dl>div {grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:14px}
}
@media(prefers-reduced-motion:reduce) {
 body.fp13 .foundation-inner *,body.fp13 .fd-drawer * {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* ---- FP14 ---- */
/* FP1.4 Claude Edition — art direction over FP1.3. Tokens and structure are FP1.3's. */
body.fp14{--fp14-ink-soft:#33476a;--fp14-context:#bccde4;--fp14-focus-ring:0 0 0 3px rgba(7,87,199,.22)}

/* Comparison marks: positional labels for the current comparison, not ranks. */
body.fp14 .fp14-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px;border-radius:50%;font:700 11px/1 var(--font-application-ui);letter-spacing:0;background:var(--fp-ink);color:#fff;box-sizing:border-box}
body.fp14 .fp14-mark-1{background:var(--fp-blue)}
body.fp14 .fp14-mark-2{background:#fff;color:var(--fp-ink);border:1.5px solid var(--fp-ink)}

/* Atlas: the sticky map leads; the directory answers it. */
body.fp14 .fp1-school-browser{grid-template-columns:300px minmax(0,1fr);gap:48px}
body.fp14 .fp14-atlas{padding:28px 26px 20px}
body.fp14 .fp13-atlas-map{height:300px;margin-block:16px 12px;transition:background-color .2s var(--fp-ease)}
body.fp14 .fp13-coverage-all{fill:#5f8fd6;stroke:#5f8fd6}
body.fp14 .fp14-context{fill:var(--fp14-context);stroke:var(--fp14-context);stroke-width:.65}
body.fp14 .fp13-atlas-selection{min-height:118px}
body.fp14 .fp13-atlas-selection strong{font-size:22px;letter-spacing:-.02em;text-wrap:balance}
body.fp14 .fp13-atlas-selection em{display:block;font-style:normal;font-size:13px;line-height:1.55;color:var(--fp-muted);margin-top:6px}

/* Nation filters become a quiet segmented set with published counts. */
body.fp14 .fd-nation-filters{gap:8px;margin:18px 0 6px}
body.fp14 .fd-nation-filters button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 14px;border:1px solid var(--fp-rule);border-radius:999px;background:#fff;color:var(--fp14-ink-soft);font:500 13px/1.2 var(--font-application-ui);transition:background-color .18s,border-color .18s,color .18s}
body.fp14 .fd-nation-filters button:hover{border-color:var(--fp-blue);color:var(--fp-blue)}
body.fp14 .fd-nation-filters button[aria-pressed=true]{background:var(--fp-ink);border-color:var(--fp-ink);color:#fff}
body.fp14 .fp14-count{font-size:12px;font-weight:400;color:var(--fp-muted);font-variant-numeric:tabular-nums}
body.fp14 .fd-nation-filters button[aria-pressed=true] .fp14-count{color:#c9d6ea}

/* Gazetteer entries: one column, ruled, with the atlas doing the geography. */
body.fp14 #fd-school-grid{grid-template-columns:minmax(0,1fr)}
body.fp14 .fp14-entry{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main controls";column-gap:24px;align-items:center;min-height:0;padding:22px 20px 22px 24px;margin:0 0 0 -24px;border-bottom:1px solid var(--fp-rule);transition:background-color .2s var(--fp-ease)}
body.fp14 .fp14-entry .fp1-school-main{grid-area:main;min-width:0}
body.fp14 .fp14-entry>.fp1-school-controls{grid-area:controls;margin:0;flex-wrap:nowrap}
body.fp14 .fp14-entry .fp13-school-map{display:none}
body.fp14 .fp14-entry:focus-within{background:var(--fp-paper)}
@media (hover:hover){body.fp14 .fp14-entry:hover{background:var(--fp-paper)}}
body.fp14 .fp14-entry.is-compared{background:var(--fp-wash)}
body.fp14 .fp14-entry .fp1-school-name{display:inline-flex;align-items:center;justify-content:flex-start;gap:10px;font-size:25px;line-height:1.2;letter-spacing:-.02em;text-align:left;text-wrap:balance}
body.fp14 .fp14-entry .fp1-school-name svg{flex:none;width:18px;color:var(--fp-blue);transition:transform .2s var(--fp-ease)}
body.fp14 .fp14-entry .fp1-school-name:hover svg,body.fp14 .fp14-entry .fp1-school-name:focus-visible svg{transform:translateX(3px)}
body.fp14 .fp14-entry .fp1-school-main p{margin:8px 0 0;font-size:14px;line-height:1.6;color:var(--fp-muted);min-height:0}
body.fp14 .fp14-entry .fp13-school-context{margin-bottom:6px}

/* Save / Compare: visible two-state toggles everywhere they appear. */
body.fp14 .fp1-school-controls{gap:8px}
body.fp14 .fp1-school-controls button.fp14-toggle{gap:7px;min-height:40px;padding:0 14px;border:1px solid var(--fp-rule);border-radius:999px;background:#fff;color:var(--fp14-ink-soft);font:500 13px/1 var(--font-application-ui);text-decoration:none;transition:background-color .18s,border-color .18s,color .18s,transform .12s}
body.fp14 .fp1-school-controls button.fp14-toggle:hover{border-color:var(--fp-blue);color:var(--fp-blue)}
body.fp14 .fp1-school-controls button.fp14-toggle[data-save-school][aria-pressed=true]{background:var(--fp-wash);border-color:var(--fp-blue);color:var(--fp-blue);text-decoration:none}
body.fp14 .fp1-school-controls button.fp14-toggle[data-save-school][aria-pressed=true] svg{fill:currentColor}
body.fp14 .fp1-school-controls button.fp14-toggle[data-compare-school][aria-pressed=true]{background:var(--fp-ink);border-color:var(--fp-ink);color:#fff;text-decoration:none}
body.fp14 .fp1-school-controls button.fp14-toggle svg{width:15px;height:15px}

/* Shortlist strip carries the same marks as the comparison. */
body.fp14 .fp14-strip{margin-top:18px;padding:14px 20px}
body.fp14 .fp14-strip ol{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none;margin:8px 0 0;padding:0;font-size:14px;color:var(--fp-ink)}
body.fp14 .fp14-strip li{display:inline-flex;align-items:center;gap:8px}
body.fp14 .fp13-shortlist-strip .fp14-mark{display:inline-flex;margin:0;font-size:11px;color:#fff;line-height:1}
body.fp14 .fp13-shortlist-strip .fp14-mark-2{color:var(--fp-ink)}

/* School drawer: a reference-guide opening. */
body.fp14 .fd-drawer[data-drawer-type=school] .fd-drawer-kicker{display:block;margin:0 0 6px;font:600 12px/1.4 var(--font-application-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--fp-blue)}
body.fp14 .fd-drawer[data-drawer-type=school] .fd-drawer-head{border-bottom-color:transparent;padding-bottom:12px}
body.fp14 .fd-drawer[data-drawer-type=school] .fd-drawer-head h2{font-size:32px}
body.fp14 .fp14-identity{grid-template-columns:190px minmax(0,1fr);gap:32px;padding:24px 28px;align-items:center}
body.fp14 .fp14-identity>.fp14-identity-map{height:220px}
body.fp14 .fp14-identity .fp13-map{fill:#c8d4e6}
body.fp14 .fp14-identity dl{gap:0}
body.fp14 .fp14-identity dl>div{padding:14px 0;border-top:1px solid var(--fp-rule)}
body.fp14 .fp14-identity dl>div:last-child{border-bottom:1px solid var(--fp-rule)}
body.fp14 .fp14-identity dd{font-size:20px}
body.fp14 .fp14-label{margin:28px 0 0;font:600 12px/1.4 var(--font-application-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--fp-muted)}
body.fp14 .fd-drawer[data-drawer-type=school] .fd-drawer-body>.fp13-official-links{margin-top:10px}
body.fp14 .fd-drawer[data-drawer-type=school] .fd-drawer-body>.fp13-official-links a{min-height:48px;font-weight:500;transition:background-color .18s,color .18s}
body.fp14 .fd-drawer[data-drawer-type=school] .fd-drawer-body>.fp13-official-links a:not(:first-child):hover{background:var(--fp-wash)}
body.fp14 .fd-drawer[data-drawer-type=school] .fd-drawer-body>.fp13-official-links a:first-child:hover{background:var(--fp-ink)}
body.fp14 .fp13-drawer-actions{align-items:center;gap:8px;padding:12px 0;margin-top:8px;border-top:1px solid var(--fp-rule)}
body.fp14 .fp13-drawer-actions .fp14-shortlist-link{margin-left:auto}
body.fp14 .fp13-local-note{margin-top:10px}
body.fp14 .fp13-detail-section{margin-top:32px;padding-top:28px}
body.fp14 .fp13-detail-section h3{font-size:22px;letter-spacing:-.015em;margin:0 0 16px}
body.fp14 .fp14-places{columns:3 150px;column-gap:28px;list-style:none;margin:0 0 20px;padding:0}
body.fp14 .fp14-places li{break-inside:avoid;padding:6px 0;font-size:14px;line-height:1.45;color:var(--fp14-ink-soft);border-bottom:1px solid var(--fp-paper)}
body.fp14 .fp14-history>.fp13-caution{font-size:14px;font-weight:500}
body.fp14 .fp14-ledger{display:block;margin:20px 0 16px;border-top:1px solid var(--fp-rule)}
body.fp14 .fp14-ledger>div{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0;border-bottom:1px solid var(--fp-rule)}
body.fp14 .fp14-ledger dt{font-size:14px;color:var(--fp-muted)}
body.fp14 .fp14-ledger dd{font-size:21px;letter-spacing:-.01em;color:var(--fp-ink)}
body.fp14 .fp14-history>p:not(.fp13-caution){font-size:14px}
body.fp14 .fp13-provenance{margin-top:32px}

/* Comparison: identities, agreement and room for more. */
body.fp14 .fp14-agreement{display:flex;flex-wrap:wrap;gap:12px 40px;margin:-8px 0 20px;padding:16px 20px;background:var(--fp-paper)}
body.fp14 .fp14-agreement dt{font:600 11px/1.4 var(--font-application-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--fp-muted);margin-bottom:4px}
body.fp14 .fp14-agreement dd{margin:0;font-size:14px;line-height:1.5;color:var(--fp-ink)}
body.fp14 .fp14-room{margin:0 0 24px;font-size:14px;line-height:1.6;color:var(--fp-muted)}
body.fp14 .fp14-room button{display:inline-flex;font-size:14px;min-height:44px;vertical-align:middle}
/* Owner decision 23 Oct: the comparison head sits in the flow; it is never pinned while scrolling. */
body.fp14 .fp14-compare-table thead{position:static}
body.fp14 .fp14-compare-table thead th{background:#fff;border-top:3px solid var(--fp-ink)}
body.fp14 .fp14-compare-table thead th:nth-child(3){border-top-color:var(--fp-blue)}
body.fp14 .fp14-compare-table thead th:nth-child(4){border-top-color:#7d93b2}
body.fp14 .fp14-compare-table thead th:first-child{border-top-color:transparent}
body.fp14 .fp14-compare-table thead th:not(:first-child){padding-top:20px}
body.fp14 .fp14-column-head{display:flex;align-items:flex-end;gap:12px;margin-bottom:12px}
body.fp14 .fp14-compare-table thead .fp14-column-head .fp13-map{height:76px;width:56px;margin:0}
body.fp14 .fp14-column-nation{font-size:12px;font-weight:400;color:var(--fp-muted)}
body.fp14 .fp14-compare-table thead button.fp13-remove,body.fp14 .fp14-compare-mobile button.fp13-remove{min-height:44px;text-decoration-color:var(--fp-rule)}
body.fp14 .fp14-compare-table tbody tr:not(.fp13-compare-section):hover td{background:var(--fp-paper)}
body.fp14 .fp14-tag{display:table;margin-top:6px;padding:2px 8px;border-radius:999px;font:600 11px/1.5 var(--font-application-ui);letter-spacing:.04em;background:#e3edfb;color:var(--fp-blue)}
body.fp14 .fp14-compare-table thead button:not(.fp13-remove){justify-content:flex-start}
body.fp14 .fp14-compare-table thead button:not(.fp13-remove) svg{margin-left:auto}
body.fp14 .fp14-compare-table thead button .fp14-mark{margin-right:10px}
body.fp14 .fp14-compare-mobile dl>div{align-items:start}
body.fp14 .fp14-compare-mobile dt .fp14-mark{margin-top:1px}
/* Desktop states agreement once above the table; phones tag each dimension instead. */
body.fp14 .fp14-compare-table .fp14-tag.is-same{display:none}
body.fp14 .fp14-compare-mobile .fp14-tag.is-same{background:var(--fp-paper);color:var(--fp-muted)}
body.fp14 .fp14-compare-mobile .fp13-compared-names button{justify-content:flex-start}
body.fp14 .fp14-compare-mobile .fp13-compared-names button svg{margin-left:auto}
body.fp14 .fp14-compare-mobile .fp13-compared-names .fp14-mark{margin-right:10px}
body.fp14 .fp14-compare-mobile h4{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
body.fp14 .fp14-compare-mobile h4 .fp14-tag{margin:0}
body.fp14 .fp14-compare-mobile dt{display:flex;align-items:center;gap:8px}
body.fp14 .fp14-compare-mobile dt .fp14-mark{width:18px;height:18px;font-size:10px}
body.fp14 .fp14-slots{display:flex;gap:10px;margin-bottom:20px}
body.fp14 .fp14-slots span{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:1.5px dashed #9fb3cf;color:var(--fp-muted);font:600 13px/1 var(--font-application-ui)}

/* Keyboard focus reads as one system across directory, drawer and comparison. */
body.fp14 :is(.foundation-inner,.fd-drawer) :is(button,a,summary,input):focus-visible{outline:2px solid var(--fp-blue);outline-offset:2px;box-shadow:var(--fp14-focus-ring)}
body.fp14 .fp14-entry .fp1-school-name:focus-visible{outline-offset:4px;border-radius:2px}

@media (prefers-reduced-motion:no-preference){
  body.fp14 .fp1-school-controls button.fp14-toggle:active,body.fp14 .fd-nation-filters button:active{transform:scale(.97)}
  body.fp14 .fp14-focus{animation:fp14-region .28s var(--fp-ease) both}
  body.fp14 .fp13-atlas-selection>*{animation:fp14-fade .22s var(--fp-ease) both}
  body.fp14 .fd-drawer.fp14-enter .fd-drawer-body>*{animation:fp14-rise .44s var(--fp-ease) both}
  body.fp14 .fd-drawer.fp14-enter .fd-drawer-body>:nth-child(2){animation-delay:30ms}
  body.fp14 .fd-drawer.fp14-enter .fd-drawer-body>:nth-child(3){animation-delay:60ms}
  body.fp14 .fd-drawer.fp14-enter .fd-drawer-body>:nth-child(4){animation-delay:90ms}
  body.fp14 .fd-drawer.fp14-enter .fd-drawer-body>:nth-child(n+5){animation-delay:120ms}
}
@keyframes fp14-region{from{opacity:.25}to{opacity:1}}
@keyframes fp14-fade{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
@keyframes fp14-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* The sticky atlas must fit a laptop viewport beneath the chapter tabs. */
@media(min-width:769px) and (max-height:940px){body.fp14 .fp13-atlas-map{height:210px}body.fp14 .fp13-atlas-selection{min-height:104px}}
@media(max-width:1190px) and (min-width:769px){
  body.fp14 .fp1-school-browser{grid-template-columns:240px minmax(0,1fr);gap:32px}
  body.fp14 .fp13-atlas-map{height:230px}
  body.fp14 .fp14-entry{grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "controls";row-gap:12px}
  body.fp14 .fp14-entry .fp1-school-name{font-size:23px}
}
@media(max-width:768px){
  body.fp14 .fp1-school-browser{grid-template-columns:minmax(0,1fr);gap:24px}
  body.fp14 .fp14-atlas{padding:22px 20px}
  body.fp14 .fp13-atlas-map{height:150px;margin:0}
  body.fp14 .fp13-atlas-selection{min-height:0}
  body.fp14 .fp13-atlas-selection strong{font-size:19px}
  body.fp14 .fp13-atlas-selection em{display:none}
  body.fp14 .fd-nation-filters{gap:6px}
  body.fp14 .fd-nation-filters button{min-height:44px;padding:8px 12px}
  body.fp14 .fp14-entry{grid-template-columns:minmax(0,1fr) 56px;grid-template-areas:"main map" "controls controls";row-gap:14px;column-gap:12px;padding:20px 16px;margin:0 -16px;align-items:start}
  body.fp14 .fp14-entry .fp13-school-map{display:block;grid-area:map;height:76px;margin:0}
  body.fp14 .fp14-entry .fp1-school-name{font-size:22px}
  body.fp14 .fp14-entry>.fp1-school-controls{flex-wrap:wrap}
  body.fp14 .fp1-school-controls button.fp14-toggle{min-height:44px}
  body.fp14 .fd-drawer[data-drawer-type=school] .fd-drawer-head h2{font-size:25px}
  body.fp14 .fp14-identity{grid-template-columns:84px minmax(0,1fr);gap:20px;padding:18px 16px}
  body.fp14 .fp14-identity>.fp14-identity-map{height:120px}
  body.fp14 .fp14-identity dd{font-size:17px}
  body.fp14 .fp14-identity dl>div{padding:10px 0}
  body.fp14 .fp14-places{columns:2 120px;column-gap:20px}
  body.fp14 .fp14-ledger dd{font-size:19px}
  body.fp14 .fp14-agreement{display:none}
}
@media(max-width:360px){
  body.fp14 .fp14-identity{grid-template-columns:minmax(0,1fr)}
  body.fp14 .fp14-identity>.fp14-identity-map{display:none}
  body.fp14 .fp13-drawer-actions .fp14-shortlist-link{margin-left:0}
  body.fp14 .fp14-places{columns:1}
}
