:root {
  --ink:#263545;
  --navy:#203e65;
  --blue:#2170b2;
  --magenta:#d92b75;
  --orange:#f38b2e;
  --teal:#119aa6;
  --yellow:#efbe39;
  --grey:#747b83;
  --paper:#fff;
  --bg:#f5f7f8;
  --line:#e4e9ed;
  --muted:#637181;
  --shadow:0 16px 45px rgba(31,56,82,.07)
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:6rem
}
body {
  margin:0;
  background:var(--bg);
  font-family:Inter,Arial,Helvetica,sans-serif;
  color:var(--ink);
  line-height:1.58
}
a {
  color:var(--navy)
}
a:focus-visible,summary:focus-visible {
  outline:3px solid var(--magenta);
  outline-offset:3px
}
header {
  background:white;
  border-bottom:1px solid var(--line)
}
.rainbow {
  height:6px;
  background:linear-gradient(90deg,#d72f78 0 18%,#f08528 18% 37%,#e6b72a 37% 52%,#199aa3 52% 72%,#2d83c8 72% 86%,#263a64 86%)
}
.wrap {
  width:min(1140px,calc(100% - 40px));
  margin:auto
}
.mast {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:22px 0
}
.logo {
  width:min(290px,55vw);
  height:auto;
  display:block
}
.mast-right {
  text-align:right
}
.eyebrow {
  letter-spacing:.13em;
  font-size:.68rem;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:800
}
.docid {
  font-size:.85rem;
  color:var(--muted)
}
nav {
  position:sticky;
  top:0;
  z-index:8;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line)
}
.navinner {
  display:flex;
  gap:4px;
  overflow-x:auto;
  scrollbar-width:thin;
  padding:8px 0
}
.navinner a {
  text-decoration:none;
  white-space:nowrap;
  padding:9px 13px;
  border-radius:9px;
  font-size:.84rem;
  font-weight:700;
  color:var(--navy)
}
.navinner a:hover {
  background:#e9f3fa
}
main {
  padding-bottom:60px
}
.hero {
  padding:46px 0 34px;
  display:grid;
  grid-template-columns:1.65fr 1fr;
  gap:30px;
  align-items:end
}
.badge {
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:100px;
  padding:5px 11px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.03em
}
.badge.primary {
  background:#e9f2fb;
  color:#235d91
}
.badge.warn {
  background:#fff0d3;
  color:#8e5c11
}
.badge.green {
  background:#e4f5ef;
  color:#17634f
}
h1 {
  font-size:clamp(2rem,4.6vw,3.7rem);
  line-height:1.08;
  letter-spacing:-.055em;
  margin:17px 0;
  color:var(--navy);
  max-width:820px
}
h2 {
  font-size:clamp(1.42rem,2.5vw,2rem);
  line-height:1.2;
  letter-spacing:-.035em;
  color:var(--navy);
  margin:0 0 13px
}
h3 {
  font-size:1.16rem;
  color:var(--navy);
  margin:0 0 12px
}
h4 {
  font-size:1rem;
  color:var(--navy);
  margin:0
}
p {
  margin:0 0 12px
}
.lead {
  font-size:1.09rem;
  color:#566473;
  max-width:740px
}
.hero-aside {
  background:var(--navy);
  color:white;
  border-radius:22px;
  padding:25px;
  box-shadow:var(--shadow)
}
.hero-aside h3 {
  color:white
}
.hero-aside .rule {
  border-top:1px solid #60728a;
  margin:14px 0
}
.hero-aside p {
  color:#d9e4ef;
  font-size:.88rem
}
.section {
  padding-top:30px
}
.section-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:17px
}
.section-head p {
  color:var(--muted);
  margin:0
}
.card {
  background:white;
  border:1px solid var(--line);
  border-radius:20px;
  padding:25px;
  box-shadow:var(--shadow)
}
.card.soft {
  background:#f8fbfd;
  box-shadow:none
}
.callout {
  padding:16px 18px;
  border-left:4px solid var(--orange);
  border-radius:8px;
  background:#fff7e8;
  font-size:.88rem
}
.callout.teal {
  background:#eaf8f8;
  border-left-color:var(--teal)
}
.callout.pink {
  background:#fdf0f5;
  border-left-color:var(--magenta)
}
.callout p:last-child {
  margin-bottom:0
}
.chips {
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
.chip {
  font-size:.76rem;
  font-weight:800;
  border-radius:7px;
  padding:6px 10px;
  background:#f2f5f7;
  color:#4e5e6e
}
.pill {
  display:inline-block;
  border-radius:100px;
  font-weight:800;
  font-size:.7rem;
  padding:4px 9px;
  vertical-align:middle;
  white-space:nowrap
}
.pill.caution {
  color:#825314;
  background:#fff0d3
}
.pill.ok {
  color:#136a4d;
  background:#def5eb
}
.pill.pending {
  background:#eef2f6;
  color:#50637a
}
.architecture {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px;
  margin-top:20px
}
.archbox {
  border:1px solid #d9e4ee;
  border-radius:14px;
  padding:18px;
  background:#fff
}
.archbox strong {
  display:block;
  color:var(--navy);
  margin:0 0 3px
}
.archbox .sub {
  color:var(--muted);
  font-size:.81rem
}
.archbox.national {
  grid-column:1/-1;
  background:var(--navy);
  color:white;
  border-color:var(--navy);
  text-align:center
}
.archbox.national strong {
  color:white
}
.archbox.national .sub {
  color:#d9e4ef
}
.archbox.regional {
  border-top:4px solid var(--teal)
}
.archbox.gapyear {
  border-top:4px solid var(--magenta)
}
.archbox.sites {
  grid-column:2;
  border-top:4px solid var(--orange)
}
.connector {
  grid-column:1/-1;
  text-align:center;
  color:#7990a6;
  font-size:.76rem;
  line-height:1
}
.flow-note {
  font-size:.83rem;
  color:var(--muted);
  margin-top:12px
}
.quad {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px
}
.metric {
  background:white;
  border:1px solid var(--line);
  border-radius:13px;
  padding:14px
}
.metric b {
  display:block;
  color:var(--navy)
}
.metric span {
  font-size:.78rem;
  color:var(--muted)
}
.account-section {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  align-items:start
}
.objective {
  font-weight:700;
  color:var(--navy)
}
.copy ul {
  margin:8px 0 0;
  padding-left:19px
}
.copy li {
  margin-bottom:4px
}
.label {
  font-size:.73rem;
  color:var(--muted);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:5px
}
.platform-list {
  display:grid;
  gap:9px
}
.platform {
  display:grid;
  grid-template-columns:96px 1fr;
  gap:14px;
  padding:12px 0;
  border-bottom:1px solid var(--line)
}
.platform:last-child {
  border-bottom:none
}
.platform strong {
  font-size:.87rem;
  color:var(--navy)
}
.platform p {
  font-size:.83rem;
  color:#566677;
  margin:0
}
.record-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px
}
.record {
  border:1px solid var(--line);
  border-radius:13px;
  padding:16px;
  background:#fff
}
.record-head {
  display:flex;
  gap:12px;
  align-items:center;
  min-height:45px
}
.colour-chip {
  width:37px;
  height:37px;
  background:var(--swatch);
  border-radius:9px;
  border:1px solid #d6dee5;
  flex:0 0 auto
}
.colour-chip.none {
  display:grid;
  place-items:center;
  background:#f5f7f8;
  color:#7c8792;
  font-weight:800
}
.site-dot {
  width:37px;
  height:37px;
  border-radius:9px;
  background:#f2f6fa;
  display:grid;
  place-items:center;
  color:#70849b;
  flex:0 0 auto
}
.micro {
  font-size:.77rem;
  color:var(--muted);
  margin:0
}
.muted {
  color:var(--muted)
}
.sep {
  padding:0 5px
}
.link-row {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:13px 0 7px
}
.account-link {
  display:inline-flex;
  gap:8px;
  align-items:center;
  justify-content:space-between;
  max-width:100%;
  text-decoration:none;
  font-size:.76rem;
  font-weight:750;
  background:#f0f6fb;
  border:1px solid #dae8f3;
  color:#1d537f;
  border-radius:7px;
  padding:6px 9px;
  overflow-wrap:anywhere
}
.account-link:hover {
  background:#e0f0fc
}
.state {
  font-size:.75rem;
  color:#667584;
  margin:9px 0 0
}
.note {
  margin-top:10px;
  padding:9px 10px;
  border-radius:8px;
  background:#fff8ed;
  border-left:2px solid var(--orange)
}
.stack {
  display:grid;
  gap:12px
}
.tablewrap {
  overflow:auto;
  border:1px solid var(--line);
  border-radius:12px
}
table {
  width:100%;
  border-collapse:collapse;
  font-size:.86rem
}
th {
  color:var(--navy);
  background:#edf3f8;
  text-align:left;
  font-size:.76rem;
  letter-spacing:.03em
}
td,th {
  padding:12px 14px;
  vertical-align:top;
  border-bottom:1px solid var(--line)
}
tr:last-child td {
  border-bottom:0
}
.expand {
  border:1px solid var(--line);
  border-radius:12px;
  background:white;
  overflow:hidden
}
.expand summary {
  cursor:pointer;
  font-weight:800;
  color:var(--navy);
  padding:15px 18px;
  list-style:none
}
.expand summary:after {
  content:'+';
  float:right;
  color:var(--magenta);
  font-size:1.1rem
}
.expand[open] summary:after {
  content:'−'
}
.expand .inside {
  padding:0 18px 18px;
  color:#536476;
  font-size:.88rem
}
.step {
  display:grid;
  grid-template-columns:36px 1fr;
  gap:14px;
  border-top:1px solid var(--line);
  padding:18px 0
}
.step:first-of-type {
  border-top:0
}
.stepnum {
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#dfeef8;
  color:var(--navy);
  font-weight:900
}
.step h3 {
  margin:0 0 5px;
  font-size:1rem
}
.step p {
  margin:0 0 6px;
  font-size:.89rem;
  color:#566677
}
.step .meta {
  font-size:.75rem;
  font-weight:800;
  color:#567089
}
.roadmap {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px
}
.phase {
  border:1px solid #e3e9ee;
  border-radius:12px;
  padding:18px;
  background:white
}
.phase .month {
  font-size:.73rem;
  font-weight:900;
  letter-spacing:.09em;
  color:#2a699d;
  text-transform:uppercase
}
.phase h3 {
  margin:6px 0 8px
}
.phase p {
  font-size:.85rem;
  color:#526273;
  margin:0
}
.foot {
  background:#223e61;
  color:#d9e6f1;
  padding:27px 0
}
.foot .wrap {
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap
}
.foot a {
  color:white
}
.toplink {
  display:inline-block;
  font-size:.8rem;
  font-weight:800;
  text-decoration:none;
  margin-top:15px
}
.small {
  font-size:.8rem;
  color:var(--muted)
}
@media(max-width:800px) {
  .hero,.account-section {
    grid-template-columns:1fr
  }
  .quad {
    grid-template-columns:repeat(2,1fr)
  }
  .hero {
    padding-top:30px
  }
  .hero-aside {
    max-width:none
  }
  .mast-right {
    display:none
  }
  .record-list {
    grid-template-columns:1fr
  }
  .roadmap {
    grid-template-columns:1fr
  }
}
@media(max-width:480px) {
  .wrap {
    width:min(100% - 26px,1140px)
  }
  .card {
    padding:18px
  }
  .architecture {
    grid-template-columns:1fr
  }
  .archbox.national,.archbox.sites,.connector {
    grid-column:1
  }
  .platform {
    grid-template-columns:1fr;
    gap:4px
  }
  .quad {
    grid-template-columns:1fr
  }
  .section {
    padding-top:24px
  }
  .navinner a {
    padding:8px 10px
  }
  h1 {
    font-size:2.15rem
  }
}
@media print {
  html {
    scroll-behavior:auto
  }
  body {
    background:white;
    color:#222;
    font-size:10.5pt
  }
  nav,.toplink {
    display:none
  }
  .hero {
    padding:20px 0
  }
  .card,.record,.phase,.metric {
    box-shadow:none;
    break-inside:avoid
  }
  .section {
    break-before:auto
  }
  .wrap {
    width:100%
  }
  details:not([open]) .inside {
    display:block!important
  }
  details:not([open]) summary:after {
    display:none
  }
  .foot {
    color:#233b55;
    background:white
  }
  .foot a {
    color:#233b55
  }
  a {
    color:#204d7e;
    text-decoration:none
  }
  .account-link {
    color:#204d7e
  }
}
/* Active section in the sticky page menu */
.navinner a {
  position:relative;
  text-underline-offset:7px;
  text-decoration-thickness:2px;
  transition:color .15s ease
}
.navinner a.is-active,.navinner a[aria-current="location"] {
  color:var(--magenta);
  text-decoration:underline;
  text-decoration-color:var(--magenta);
  text-underline-offset:7px;
  text-decoration-thickness:2px
}
.navinner a.is-active:hover {
  background:#fdf0f5
}
/* Shared live register access */
.register-aside {
  margin-top:18px;
  padding-top:17px;
  border-top:1px solid #60728a
}
.register-aside .eyebrow {
  color:#b7d1e6;
  margin-bottom:6px
}
.register-aside p {
  margin-bottom:10px
}
.register-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border-radius:9px;
  padding:10px 14px;
  background:var(--magenta);
  color:white!important;
  font-weight:800;
  font-size:.83rem;
  text-decoration:none;
  line-height:1.3;
  box-shadow:0 3px 10px rgba(0,0,0,.08)
}
.register-button:hover {
  background:#b71f60
}
.register-inline {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  background:#eaf8f8;
  border:1px solid #cceaea;
  border-radius:13px;
  padding:12px 16px;
  margin-bottom:16px;
  font-size:.86rem;
  color:#215e68
}
.register-inline .register-button {
  white-space:nowrap
}
.site-groups {
  display:grid;
  gap:19px
}
.site-group-title {
  font-size:1.06rem;
  margin:0 0 11px;
  padding:0 0 8px;
  border-bottom:2px solid #dce7f0;
  color:var(--navy)
}
@media(max-width:480px) {
  .register-inline {
    align-items:flex-start
  }
  .register-inline .register-button {
    width:100%
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
}
@media (min-width: 601px) {
  html {
    scroll-padding-top: 5rem;
  }
}
/* Mobile refinements: show all eight sections, keep touch targets comfortably sized,
   and preserve the document layout without horizontal page overflow. */
@media (max-width: 600px) {
  html {
    scroll-padding-top: 8.1rem;
  }
  .mast {
    padding: 14px 0;
  }
  .logo {
    width: min(235px, 76vw);
  }
  .navinner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 3px;
    overflow: visible;
    padding: 6px 0;
  }
  .navinner a {
    min-width: 0;
    min-height: 45px;
    padding: 5px 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: .76rem;
    line-height: 1.22;
    text-underline-offset: 4px;
  }
  .navinner a.is-active, .navinner a[aria-current="location"] {
    background: #fdf0f5;
    text-underline-offset: 4px;
  }
  .hero {
    padding-top: 24px;
    gap: 18px;
  }
  .hero-aside {
    padding: 19px;
  }
  .section-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .account-link, .register-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    overflow-wrap: anywhere;
  }
  .record, .card {
    min-width: 0;
  }
  .record-head > :last-child {
    min-width: 0;
  }
  .link-row {
    gap: 8px;
  }
  .expand summary {
    min-height: 48px;
  }
  .tablewrap {
    max-width: 100%;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .tablewrap table {
    min-width: 440px;
  }
  .step {
    grid-template-columns: 30px minmax(0,1fr);
    gap: 10px;
  }
  .stepnum {
    width: 30px;
    height: 30px;
  }
  .foot .wrap {
    display: block;
  }
  .foot .wrap > span {
    display: block;
    margin-bottom: 12px;
  }
}
@media (max-width: 350px) {
  .navinner a {
    font-size: .71rem;
  }
  .wrap {
    width: calc(100% - 24px);
  }
  h1 {
    font-size: 1.94rem;
  }
  .card {
    padding: 15px;
  }
  .record {
    padding: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .navinner a {
    transition: none;
  }
}
@media print {
  .navinner {
    display: none;
  }
}
.mobile-table-cue {
  display:none
}
@media(max-width:600px) {
  .mobile-table-cue {
    display:block;
    font-size:.75rem;
    color:var(--muted);
    margin:0 0 7px;
    font-weight:700
  }
}
@media print {
  .mobile-table-cue {
    display:none
  }
}
/* October transition sections share the established UCSA palette and cards. */
.transition-title {
  color: var(--navy);
  font-weight: 800;
  font-size: 1.12rem;
}
.progress-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.progress-card {
  border-top: 4px solid var(--teal);
}
.progress-card.finalise {
  border-top-color: var(--orange);
}
.progress-card.implementation {
  border-top-color: var(--magenta);
}
.work-list {
  margin: 0 0 16px;
  padding-left: 20px;
  font-size: .89rem;
}
.work-list li {
  margin-bottom: 9px;
}
.register-button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.register-inline .register-button {
  white-space: normal;
}
.navinner {
  flex-wrap: wrap;
}
html {
  scroll-padding-top: var(--nav-offset, 9rem);
}
@media (max-width: 900px) {
  .progress-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: var(--nav-offset, 11rem);
  }
}

/* Living project dashboard: current work has a distinct, compact treatment. */
.weekly-focus {
  padding: 24px;
  background: #eaf8f8;
  border: 1px solid #cceaea;
  border-top: 5px solid var(--teal);
  border-radius: 20px;
}
.weekly-grid, .dashboard-grid, .programme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.weekly-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.weekly-grid h3 { margin: 10px 0 6px; font-size: .95rem; }
.weekly-grid p, .dashboard-grid p { font-size: .84rem; margin-bottom: 0; }
.review-date { margin: 16px 0 0; font-size: .8rem; color: var(--navy); }
.progress-detail { margin-top: 16px; }
.programme-grid h3 { margin: 8px 0; font-size: 1rem; }
#cleanup .register-inline { margin-top: 14px; }
.badge { white-space: normal; }
@media (max-width: 1100px) {
  .weekly-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .weekly-grid, .dashboard-grid, .programme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .weekly-focus { padding: 16px; }
  .weekly-grid, .dashboard-grid, .programme-grid { grid-template-columns: 1fr; gap: 8px; }
  .weekly-grid .record { padding: 12px; }
  .weekly-grid h3 { margin-top: 6px; }
}

/* Proposed Oct–Dec strategy and device-local project checklists. */
[hidden] { display: none !important; }
.task-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 4px;
  cursor: pointer;
  font-size: .88rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.task-row input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--teal);
  cursor: pointer;
}
.task-row span { min-width: 0; }
.task-row.is-complete span {
  color: #637181;
  text-decoration: line-through;
  text-decoration-color: #8797a7;
}
.task-list { display: grid; gap: 3px; }
.task-list .task-row + .task-row { border-top: 1px solid var(--line); }
button, input { font: inherit; }
button:focus-visible, input:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 4px;
}
.strategy-season { border-top: 3px solid var(--teal); margin-top: 30px; }
.checklist-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  margin: 20px 0 14px;
}
.checklist-controls p { margin: 5px 0 0; }
.checklist-controls > .small { grid-column: 1 / -1; }
.checklist-options { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
#strategy-progress { width: 100%; height: 9px; display: block; margin-top: 9px; accent-color: var(--teal); }
#strategy-progress::-webkit-progress-bar { background: var(--line); border-radius: 8px; }
#strategy-progress::-webkit-progress-value { background: var(--teal); border-radius: 8px; }
#strategy-progress::-moz-progress-bar { background: var(--teal); border-radius: 8px; }
.strategy-toggle, .quiet-button {
  border: 1px solid #c7d9e6;
  border-radius: 9px;
  padding: 11px 16px;
  min-height: 44px;
  cursor: pointer;
  color: var(--navy);
  background: #fff;
  font-weight: 700;
}
.strategy-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: var(--navy);
  color: white;
  text-align: left;
  font-size: 1rem;
}
.strategy-toggle:hover { background: #2b527e; }
.quiet-button:hover { background: #edf5fa; }
#strategy-content:not([hidden]) { animation: strategy-reveal .18s ease-out; }
@keyframes strategy-reveal { from { opacity: .4; } to { opacity: 1; } }
.strategy-block { padding: 24px 0; border-bottom: 1px solid var(--line); }
.strategy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0; }
.strategy-grid h4 { margin-bottom: 8px; }
.strategy-grid p, .strategy-grid dd { font-size: .88rem; }
.strategy-grid dl { margin: 0; }
.strategy-grid dt { font-weight: 800; color: var(--navy); font-size: .8rem; margin-top: 10px; }
.strategy-grid dd { margin: 3px 0 0; }
.strategy-block blockquote { margin: 12px 0; }
.library-tree { border-left: 3px solid var(--teal); padding: 12px 18px; background: white; margin: 12px 0; }
.content-flow { list-style: none; margin: 16px auto; padding: 0; max-width: 720px; display: grid; gap: 28px; text-align: center; }
.content-flow li { position: relative; padding: 13px 18px; background: white; border: 1px solid #cfe0eb; border-radius: 12px; font-weight: 700; color: var(--navy); }
.content-flow li:not(:last-child)::after { content: '↓'; position: absolute; left: 50%; bottom: -28px; transform: translateX(-50%); color: var(--teal); }
.month-controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.month-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.month-card { border: 1px solid var(--line); border-top: 4px solid var(--teal); background: white; border-radius: 12px; min-width: 0; }
.month-card:nth-child(2) { border-top-color: var(--orange); }
.month-card:nth-child(3) { border-top-color: var(--magenta); }
.month-card summary { cursor: pointer; padding: 16px; color: var(--navy); font-weight: 800; min-height: 48px; }
.month-progress { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); margin-top: 8px; }
.month-body { padding: 0 12px 12px; }
#strategy-close { margin: 18px 0; }
@media (max-width: 900px) {
  .month-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .checklist-controls, .strategy-grid { grid-template-columns: 1fr; }
  .checklist-controls { gap: 12px; }
  .strategy-grid { gap: 10px; }
  .checklist-options { align-items: stretch; }
  .task-row { padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #strategy-content:not([hidden]) { animation: none; }
}
@media print {
  #strategy-content[hidden] { display: block !important; }
  .checklist-options, .strategy-toggle, .month-controls, #strategy-close { display: none; }
  .month-card { break-inside: avoid; }
}

#strategy-progress {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}
.progress-card li:has(.task-row) { list-style: none; }
.progress-card .work-list:has(.task-row) { padding-left: 0; }

/* 13 October: current actions first; completed work stays compact. */
.hero { padding: 26px 0; align-items: center; }
.hero h1 { font-size: clamp(1.8rem, 3.7vw, 2.9rem); }
.week-task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.week-task-grid > .task-row { padding: 12px; background: white; border: 1px solid #d8e7eb; border-radius: 10px; }
.current-checklist-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px 20px; align-items: center; border-top: 1px solid #cce0e5; padding-top: 14px; margin-top: 16px; }
.current-checklist-controls p { margin: 4px 0; }
.current-checklist-controls > .small { grid-column: 1 / -1; }
[data-current-progress] { display: block; width: 100%; height: 8px; margin-top: 8px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 8px; background: var(--line); overflow: hidden; accent-color: var(--teal); }
[data-current-progress]::-webkit-progress-bar { background: var(--line); }
[data-current-progress]::-webkit-progress-value { background: var(--teal); }
[data-current-progress]::-moz-progress-bar { background: var(--teal); }
.completed-list { margin: 10px 0; padding: 0; list-style: none; font-size: .85rem; }
.completed-list li { padding: 6px 0; }
.completed-list li > span { color: #17634f; margin-right: 5px; font-weight: 800; }
.summary-count { font-size: .75rem; font-weight: 500; color: var(--muted); }
.operations-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.operations-grid .inside > p { margin-top: 10px; }
.month-completed { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
#pending .badge { margin-bottom: 8px; }
#recently-completed .section-head, #previous-week .section-head { margin-bottom: 9px; }
@media (max-width: 800px) {
  .operations-grid { grid-template-columns: 1fr; }
  .current-checklist-controls { grid-template-columns: 1fr 1fr; }
  .current-checklist-controls > div { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .week-task-grid { grid-template-columns: 1fr; }
  .hero { gap: 12px; padding: 20px 0; }
  .hero-aside { padding: 15px; }
  .hero .lead { font-size: .95rem; }
  .hero .transition-title { font-size: .98rem; }
  .current-checklist-controls { grid-template-columns: 1fr; }
}

/* Practical October calendar: secondary to the live weekly dashboard. */
.calendar-progress { margin: 18px 0; padding: 16px; background: #f3f7fa; border-radius: 12px; }
[data-calendar-progress] { display: block; width: 100%; height: 8px; border: 0; border-radius: 8px; overflow: hidden; appearance: none; -webkit-appearance: none; background: var(--line); accent-color: var(--teal); }
[data-calendar-progress]::-webkit-progress-bar { background: var(--line); }
[data-calendar-progress]::-webkit-progress-value { background: var(--teal); }
[data-calendar-progress]::-moz-progress-bar { background: var(--teal); }
.calendar-week { margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; background: white; }
#october-test { border-left: 4px solid var(--teal); }
.calendar-week > summary { cursor: pointer; padding: 16px; min-height: 48px; font-weight: 800; color: var(--navy); }
.calendar-week-label { display: block; font-size: .72rem; color: var(--muted); margin-top: 6px; letter-spacing: .05em; }
.calendar-week-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 14px 14px; align-items: start; }
.calendar-request { grid-column: 1 / -1; background: #f3f7fa; }
.calendar-post { min-width: 0; }
.calendar-post h4 { margin: 8px 0; }
#october-plan h5 { font-size: .86rem; margin: 14px 0 5px; color: var(--navy); }
.calendar-post p, .calendar-request p, .calendar-guidance p { margin: 10px 0; }
.calendar-output { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 8px; }
.calendar-production > summary { padding: 12px 0; cursor: pointer; font-weight: 700; min-height: 44px; }
.calendar-guidance { margin-top: 18px; }
#october-plan summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (max-width: 700px) {
  .calendar-week-body { grid-template-columns: 1fr; padding: 0 10px 10px; }
  #october-plan > details > .inside { padding: 12px; }
}

/* Keep accordion keyboard focus inside the header, clear of body copy. */
.expand > summary:focus-visible { outline-offset: -4px; border-radius: 8px; }
