/* Coordinator layout. Colours, sizes and spacing come from tokens.css.
   Edit that file to change the look. This file only applies it. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-idot-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0130;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000, U+0020-007E, U+00A0-00AC, U+00AE-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+2002, U+2009, U+200B, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-idot-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0130;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000, U+0020-007E, U+00A0-00AC, U+00AE-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+2002, U+2009, U+200B, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-idot-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0130;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000, U+0020-007E, U+00A0-00AC, U+00AE-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+2002, U+2009, U+200B, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--type-body);
  line-height: var(--leading-body);
  overflow-wrap: break-word;
  font-variant-numeric: tabular-nums;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: var(--page-pad);
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
}
.skip:focus { transform: none; }

.mast { background: var(--paper); color: var(--ink); }
.mast-inner, .wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}
.mast-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding-top: 20px;
  padding-bottom: 16px;
}
.wordmark, .wordmark:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  border-bottom: 0;
  padding-bottom: 0;
}
.wordmark::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--fjord);
  flex: none;
}
.wordmark:hover { color: var(--meta); text-decoration: none; }
.mast-school {
  margin: 0;
  color: var(--meta);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}
.mast :focus-visible { outline-color: var(--ink); }

.wrap { padding-top: var(--space-3); padding-bottom: var(--space-5); }
.display {
  margin: 8px 0 var(--space-3);
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: var(--type-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.display a, .display a:visited { color: var(--ink); text-decoration: none; }
.display a:hover { text-decoration: underline; }
h2 {
  margin: 0 0 var(--space-2);
  font-family: var(--font);
  font-size: var(--type-section);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}
p { margin: 0 0 var(--space-2); max-width: 70ch; }
a, a:visited {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: var(--ink); }

.nav {
  display: flex;
  flex: 1 1 320px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.nav a, .nav a:visited {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  text-decoration: none;
  text-transform: none;
}
.nav a:hover {
  background: var(--action);
  border-color: var(--action);
  color: var(--white);
  text-decoration: none;
}
.nav a.current, .nav a.current:hover {
  background: var(--action-tint);
  border-color: var(--action);
  color: var(--action);
}
.nav a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.meta, .label, button, input, select, textarea { font-family: inherit; }
.meta {
  font-size: var(--type-meta);
  color: var(--meta);
  line-height: 1.4;
}
p.meta { margin: 0 0 var(--space-1); }
.label {
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--meta);
  line-height: 1.35;
}
.flag { color: var(--red-ink); font-weight: 600; }
.priorities .work-title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 6px;
}
.overdue-line, .past-due, .priorities .flag { color: var(--red-ink); font-weight: 600; }
.due-line { color: var(--ink); font-weight: 600; }
.state-stuck { color: var(--stuck-ink); font-weight: 600; }
.state-moving { color: var(--moving); font-weight: 600; }
.head-desk .status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin: 0 0 2px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--meta);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  vertical-align: 1px;
}
.head-desk .priority-row .status-chip { margin-left: 8px; }
.head-desk .status-chip.is-moving {
  color: var(--moving);
  background: #E7F2EC;
  border-color: #C5DDD0;
}
.head-desk .status-chip.is-quiet {
  color: var(--stuck-ink);
  background: #F8EDE4;
  border-color: #E4CDBD;
}
.head-desk .status-chip.is-idle {
  color: var(--meta);
  background: var(--paper);
  border-color: var(--border);
}
.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin: 0 0 2px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--meta);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  vertical-align: 1px;
}
.status-chip.is-moving,
.status-chip.is-done {
  color: var(--moving);
  background: #E7F2EC;
  border-color: #C5DDD0;
}
.status-chip.is-quiet {
  color: var(--stuck-ink);
  background: #F8EDE4;
  border-color: #E4CDBD;
}
.status-chip.is-idle {
  color: var(--meta);
  background: var(--paper);
  border-color: var(--border);
}
.support-tag { margin: 4px 0; font-size: 13px; color: var(--ink); }
details summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  margin-top: 16px;
  padding: 24px;
}
.section h3 {
  font-family: var(--font);
  font-size: var(--type-section);
  font-weight: 600;
  margin: 24px 0 8px;
}
.home-side .section:first-child { margin-top: 0; }
.pair {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.pair > .label { grid-column: 1 / span 3; }
.pair > :not(.label) { grid-column: 4 / span 9; min-width: 0; }
.date + .date { margin-top: 12px; }

.counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(27, 36, 48, 0.04);
  margin: 0 0 20px;
}
.count { padding: 20px 16px 16px 20px; }
.count + .count { border-left: 1px solid var(--border); }
.num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--type-display);
  font-weight: 550;
  line-height: 0.95;
  letter-spacing: var(--track-display);
  font-variant-numeric: tabular-nums;
}
.num-alert { color: var(--red-ink); }
.count-label {
  display: block;
  margin-top: 8px;
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.count-label.alert { color: var(--red-ink); }

button, .choices a {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  margin: 12px 12px 0 0;
  padding: 0 16px;
  border: 1px solid var(--action);
  border-radius: 8px;
  background: var(--action);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
button.primary { background: var(--action); border-color: var(--action); color: var(--white); }
button.primary:hover {
  background: var(--action-hover);
  border-color: var(--action-hover);
  color: var(--white);
}
button.secondary:hover, .choices a:hover, a.secondary:hover {
  background: var(--action-tint);
  color: var(--action);
  border-color: var(--action);
}
button.secondary, a.secondary, .choices button, .choices a {
  background: var(--white);
  color: var(--action);
  border-color: var(--action);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
}
a.secondary {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  margin: 12px 0;
  padding: 0 16px;
  border: 1px solid var(--action);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
button.link, .acts .act {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #9A8F7C;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.acts [data-undo] { margin-bottom: 12px; }
button.secondary { margin-top: 12px; }
.choices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.choices form { display: inline-flex; margin: 0; }
.choices button, .choices a { margin: 0; }
.line-form { margin: 8px 0 0; }

input[type="text"], input[type="date"], input[type="file"], select, textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: var(--tap);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  color-scheme: light;
  font-size: var(--type-body);
}
input::placeholder, textarea::placeholder { color: var(--meta); opacity: 1; }
textarea {
  min-height: 8.5rem;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: var(--leading-body);
}
input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 0;
  accent-color: var(--ink);
}

.ruler {
  position: relative;
  height: 88px;
  margin: var(--space-2) 0 var(--space-3);
  border-bottom: var(--rule-strong) solid var(--ink);
}
.ruler-line {
  position: absolute;
  top: 22px;
  bottom: 0;
  border-left: var(--rule-strong) solid var(--ink);
}
.ruler-line span {
  position: absolute;
  top: -20px;
  left: 0;
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.pin {
  position: absolute;
  bottom: 0;
  width: 14px;
  height: 36px;
  background: var(--ink);
}
.pin-clash { height: 60px; background: var(--red); }
.pin-ib { height: 64px; width: 10px; background: var(--ink); }

.chart { margin: 0 0 var(--space-3); }
.chart-hint { display: none; margin: 0 0 8px; }
.chart-inner { position: relative; --lane-col: 208px; padding-top: 20px; }
.chart-underlay {
  position: absolute;
  left: var(--lane-col);
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}
.month-col { position: absolute; top: 0; bottom: 0; }
.month-col.is-shade { background: var(--month-shade); }
.clash-band {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--clash-band);
}
.clash-flag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 4px;
  background: var(--paper);
  color: var(--red-ink);
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  line-height: 16px;
  white-space: nowrap;
}
.today-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1.5px solid var(--stuck);
  z-index: 1;
}
.today-line span {
  position: absolute;
  top: 50px;
  left: 3px;
  padding: 0 4px;
  background: var(--paper);
  color: var(--stuck-ink);
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  line-height: 16px;
  white-space: nowrap;
}
.chart-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  margin: 0 0 6px;
}
.lane-label, .lane-group {
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink);
}
.lane-label a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}
.lane-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--ink);
  vertical-align: 1px;
}
.lane-name {
  font-size: var(--type-meta);
  line-height: 1.3;
}
.lane-name a { display: inline-flex; align-items: center; min-height: 44px; }
.lane-group { margin: 16px 0 6px; }
.chart-months, .chart-track {
  position: relative;
  min-width: 0;
}
.chart-months { height: 22px; }
.chart-months i {
  position: absolute;
  top: 0;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.chart-months i.month-mid { transform: translateX(-50%); }
.chart-months i.month-end { transform: translateX(-100%); }
.chart-track {
  height: 28px;
  border-bottom: var(--rule) solid var(--border);
}
.lane-mark {
  position: absolute;
  top: 7px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: var(--ink);
}
.chart-row[data-tone="ib"] .lane-dot,
.chart-row[data-tone="ib"] .lane-mark { background: var(--lane-ib); border-radius: 2px; }
.chart-row[data-tone="internal"] .lane-dot { background: var(--lane-internal); }
.chart-row[data-tone="internal"] .lane-mark { background: var(--lane-internal); border-radius: 50%; }
.chart-row[data-tone="dp1"] .lane-dot { background: var(--lane-dp1); }
.chart-row[data-tone="dp1"] .lane-mark {
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  top: 9px;
  background: var(--lane-dp1);
  transform: rotate(45deg);
}
.chart-row[data-tone="dp2"] .lane-dot { background: var(--lane-dp2); }
.chart-row[data-tone="dp2"] .lane-mark {
  background: repeating-linear-gradient(135deg, var(--lane-dp2) 0 2px, var(--paper) 2px 4px);
  border-radius: 2px;
}
.chart-row[data-tone="myp"] .lane-dot { background: var(--lane-myp); }
.chart-row[data-tone="myp"] .lane-mark {
  background: var(--lane-myp);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.lane-staff,
.chart-row[data-tone] .lane-staff {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 2px;
  clip-path: none;
  transform: none;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  top: 7px;
}
.chart-row[data-tone="ib"] .lane-staff { border-color: var(--lane-ib); }
.chart-row[data-tone="internal"] .lane-staff { border-color: var(--lane-internal); }
.chart-row[data-tone="dp1"] .lane-staff { border-color: var(--lane-dp1); }
.chart-row[data-tone="dp2"] .lane-staff { border-color: var(--lane-dp2); }
.chart-row[data-tone="myp"] .lane-staff { border-color: var(--lane-myp); }
.chart-scroll { overflow-x: auto; }
.lane-clash {
  position: absolute;
  z-index: 2;
  top: 1px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: var(--red);
}
.lane-bar {
  position: absolute;
  top: 8px;
  height: 12px;
  min-width: 8px;
  border-radius: 4px;
  background: var(--bar-track);
}
.lane-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}
.lane-bar-fill {
  display: block;
  height: 100%;
  max-width: 100%;
  border-radius: 4px;
}
.lane-bar-moving .lane-bar-fill { background: var(--moving); }
.lane-bar-stalled .lane-bar-fill { background: var(--stuck-ink); }
.lane-bar-quiet {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--bar-quiet-line);
}
.lane-bar-done .lane-bar-fill { background: rgba(47, 74, 109, 0.5); }
.lane-bar:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.plan-stack { display: none; margin: 0; padding: 0; list-style: none; }
.plan-stack li { padding: 8px 0; border-bottom: var(--rule) solid var(--ink); }
.legend { font-size: var(--type-meta); color: var(--ink); }
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  margin-top: 12px;
}
.chart-legend .legend-item {
  white-space: nowrap;
}
.key {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  vertical-align: -2px;
}
.key-ib { background: var(--lane-ib); border-radius: 2px; }
.key-internal { background: var(--lane-internal); border-radius: 50%; }
.key-dp1 { width: 9px; height: 9px; background: var(--lane-dp1); transform: rotate(45deg); }
.key-dp2 {
  background: repeating-linear-gradient(135deg, var(--lane-dp2) 0 2px, var(--paper) 2px 4px);
  border-radius: 2px;
}
.key-myp {
  background: var(--lane-myp);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.key-staff { background: var(--paper); border: 2px solid var(--ink); box-sizing: border-box; }
.key-clash { width: 10px; height: 10px; background: var(--red); }
.key-moving { height: 8px; border-radius: 4px; background: var(--moving); }
.key-stalled { height: 8px; border-radius: 4px; background: var(--stuck-ink); }
.key-quiet {
  height: 8px;
  border-radius: 4px;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--bar-quiet-line);
}
.key-done { height: 8px; border-radius: 4px; background: rgba(47, 74, 109, 0.5); }
.demo-readonly {
  margin: 0 0 8px;
  padding: 4px 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}
.demo-reset {
  display: inline;
}
.demo-reset button {
  margin: 0 0 0 8px;
  font-size: 13px;
  padding: 2px 10px;
}
.save-panel {
  margin: 0 0 20px;
  padding: 16px 18px 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--fjord);
  background: var(--paper);
  color: var(--ink);
}
.save-note-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-weight: 600;
}
.save-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fjord);
  color: var(--white);
  font-size: 13px;
  line-height: 1;
}
.save-note {
  margin: 0;
}
.save-note-list {
  margin: 8px 0 0;
  padding-left: 1.2em;
}
.save-note-list li { margin: 2px 0; }
.save-panel a, .save-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.coming-next {
  margin: 0 0 12px;
  color: var(--meta);
  font-size: 13px;
}
.acts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 8px 0 0;
  font-size: var(--type-meta);
}
.acts [hidden] {
  display: none !important;
}
.acts .act:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.work.is-done .work-title {
  text-decoration: line-through;
  opacity: 0.45;
}
.act-note {
  margin: 6px 0 0;
  font-size: var(--type-meta);
}
form[data-when] {
  margin-top: 8px;
}
form[data-when] input[type="date"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: auto;
  max-width: 100%;
  min-height: 36px;
  margin: 4px 12px 0 0;
  padding: 4px 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: var(--type-meta);
}
.door {
  display: block;
  margin: 0 0 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(27, 36, 48, 0.04);
  color: var(--ink);
  text-decoration: none;
}
.door:hover { border-color: var(--action); text-decoration: none; }
.door strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.door span { display: block; max-width: 36em; }

.spread {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
}
.spread-main { grid-column: 1 / span 8; min-width: 0; }
.spread-side { grid-column: 9 / span 4; min-width: 0; }
.deadline {
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--border);
}
.deadline .num { font-size: 48px; }

.swatches {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}
.swatch {
  grid-column: span 4;
  min-height: 72px;
  padding: 12px;
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.swatch-paper { background: var(--paper); color: var(--ink); border: var(--rule) solid var(--ink); }
.swatch-ink { background: var(--ink); color: var(--white); }
.swatch-red { background: var(--red); color: var(--white); }
.swatch-red-ink { background: var(--red-ink); color: var(--white); }
.swatch-meta { background: var(--meta); color: var(--white); }
.rule-sample { border-top: var(--rule-strong) solid var(--ink); margin: 12px 0; }
.hair-sample { border-top: var(--rule) solid var(--ink); margin: 12px 0; }

.switch-row { margin: 0 0 12px; }
.switch-row span { margin-right: 8px; font-weight: 600; }
.switch-row a {
  font-size: 15px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.switch-row a + a { margin-left: 14px; }
.head-desk .desk-chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  margin: 0 0 20px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--border);
}
.head-desk .demo-readonly {
  flex: 1 1 280px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--meta);
  font-size: 13px;
  line-height: 1.4;
  max-width: 52ch;
}
.head-desk .switch-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.head-desk .switch-row span {
  margin: 0 2px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--meta);
}
.head-desk .switch-row a,
.head-desk .switch-row a + a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.head-desk .switch-row a:hover {
  border-color: var(--fjord);
  color: var(--fjord);
  text-decoration: none;
}
.addmenu { position: relative; }
.addmenu > summary {
  list-style: none;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--tap);
  padding: 0 14px;
  border: 1px solid var(--action);
  border-radius: var(--radius);
  background: var(--action);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}
.addmenu > summary::-webkit-details-marker { display: none; }
.addmenu > summary:hover { background: var(--action-hover); }
.addmenu-body {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  width: min(280px, calc(100vw - 24px));
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(27, 36, 48, 0.12);
}
.addmenu-body a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
}
.addmenu-body a:hover { background: var(--action-tint); text-decoration: none; }
.add-title { display: block; font-weight: 650; font-size: 14px; }
.add-desc { display: block; margin-top: 1px; font-weight: 400; font-size: 13px; color: var(--meta); }
.add-form label { display: block; margin-top: 12px; font-weight: 600; }
.account { position: relative; }
.account summary {
  list-style: none;
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.account summary::-webkit-details-marker { display: none; }
.account a, .account-who {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  white-space: nowrap;
}
.head-desk .nav a.current, .head-desk .nav a.current:hover {
  background: var(--white);
  border-color: var(--ink);
  color: var(--ink);
}
.head-desk .wordmark { border-bottom: 0; }
.head-desk .tabs a.current {
  background: var(--white);
  color: var(--ink);
  border-color: var(--ink);
}
.priority-strip, .needs, .health-cards {
  list-style: none;
  margin: 0;
  padding: 0;
}
.priority-row {
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--bar-quiet-line);
}
.priority-row .work-title {
  display: inline;
}
.priority-row a.work-title {
  display: inline;
  min-height: 0;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.priority-row .meta, .plan-line .meta { display: block; margin-top: 4px; }
.strip-track {
  display: block;
  height: 12px;
  margin-top: 8px;
  border-radius: 4px;
  background: var(--bar-track);
  overflow: hidden;
}
.strip-fill { display: block; height: 100%; }
.priority-row.is-moving .strip-fill, .strip-fill.is-moving { background: var(--moving); }
.priority-row.is-quiet .strip-fill, .strip-fill.is-quiet { background: var(--stuck-ink); }
.priority-row.is-idle .strip-track, .strip-track:has(.is-idle) {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--bar-quiet-line);
}
.priority-row.is-moving { border-left-color: var(--moving); }
.priority-row.is-quiet { border-left-color: var(--stuck-ink); }
.priority-row.is-idle { border-left-color: var(--bar-quiet-line); }
.needs li {
  margin: 0;
  padding: 10px 0 4px;
  border-top: 1px solid var(--border);
}
.needs li:first-child { border-top: 0; padding-top: 0; }
.needs p { margin: 0 0 4px; }
.needs .work-title { margin: 0 0 4px; }
.needs a.act { margin-top: 2px; margin-bottom: 8px; }
.need-kicker {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--meta);
}
.section h3.week-question {
  margin: 0 0 10px;
  max-width: 40rem;
  font-family: var(--font-display);
  font-size: var(--type-display);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.open-question {
  margin: 0 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--fjord);
}
.coaching-face {
  border-left: 3px solid var(--fjord);
}
.coaching-kicker {
  display: block;
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fjord);
}
.coaching-face p { margin: 0 0 18px; max-width: 65ch; }
.coaching-face p:last-child { margin-bottom: 0; }
.head-desk .open-question p,
.head-desk .open-question li { max-width: 65ch; }
.research-fold > summary {
  display: flex;
  min-height: 44px;
  margin: 0;
  font-family: var(--font);
  font-size: var(--type-section);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.research-fold[open] > summary { margin-bottom: 12px; }
.sample-tag {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--meta);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  vertical-align: 1px;
}
.health-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.health-card {
  display: block;
  min-height: 44px;
  padding: 14px 14px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 6px solid var(--lane-ib);
  border-radius: 8px;
  color: inherit;
}
.health-card.is-myp { border-top-color: var(--lane-myp); }
.health-card.is-dp { border-top-color: var(--lane-ib); }
.health-card a { font-weight: 600; }
.health-code {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lane-ib);
}
.health-card.is-myp .health-code { color: var(--lane-myp); }
.health-card.is-dp .health-code { color: var(--lane-ib); }
.health-headline {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 550;
  line-height: 1.25;
  color: var(--ink);
}
.health-support {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
}
.health-status { margin: 0 0 6px; font-size: 13px; font-weight: 600; }
.health-cards h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 550;
}
.health-cards p { margin: 0 0 4px; }
.programme-block.is-myp { border-top: 6px solid var(--lane-myp); }
.programme-block.is-dp { border-top: 6px solid var(--lane-ib); }
.programme-signal {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.3;
}
.plan-line { margin-top: 16px; }
.plan-line h3 { margin-top: 0; }
.head-desk a.act.filled,
a.act.filled,
button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  text-decoration: none;
}
.head-desk a.act.filled:hover,
a.act.filled:hover,
button.primary:hover {
  background: #2A3442;
  border-color: #2A3442;
  color: var(--white);
  text-decoration: none;
}
.head-desk a.act.filled + .meta { display: block; margin-top: 8px; }
.yearband-block { margin: 8px 0 28px; max-width: 100%; overflow-x: auto; }
.yearband-months, .yearband {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.yearband-months { height: 16px; margin-bottom: 18px; }
.yearband-months li {
  flex: 1 1 0;
  min-width: 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--ink);
  overflow: visible;
  white-space: nowrap;
}
.yearband-caption { margin: 8px 0 0; font-size: 14px; color: var(--ink); }
.tabs { display: flex; gap: 8px; margin: 0 0 16px; }
.tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
}
.tabs a.current {
  background: var(--action-tint);
  color: var(--action);
  border-color: var(--action);
}
.yearband-week {
  position: relative;
  flex: 1 1 0;
  min-width: 3px;
  height: 28px;
  border-radius: 2px;
  background: #E7E1D6;
}
.yearband-week.level-1 { background: #A9B8CA; }
.yearband-week.level-2 { background: #6F86A3; }
.yearband-week.level-3 { background: var(--action); }
.yearband-week.is-today {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--stuck);
}
.yearband-today {
  position: absolute;
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
  z-index: 1;
  padding: 0 4px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 650;
  line-height: 16px;
  color: var(--stuck-ink);
  white-space: nowrap;
}
.yearband-week.is-clash { box-shadow: inset 0 -5px 0 var(--red); }
.yearband-week.is-today.is-clash {
  box-shadow: inset 0 0 0 2px var(--stuck), inset 0 -5px 0 var(--red);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  column-gap: 28px;
  align-items: start;
}
.head-desk .home-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  column-gap: 36px;
}
.home-intro { grid-column: 1; grid-row: 1; min-width: 0; max-width: 100%; }
.home-main { grid-column: 1; grid-row: 2; min-width: 0; max-width: 100%; }
.home-side { grid-column: 2; grid-row: 2; min-width: 0; max-width: 100%; }
.letter-greeting {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 12px;
}
.priorities { margin: 0; padding: 0; list-style: none; }
.priorities li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 0 0 16px;
}
.priorities li.at-risk,
.priorities li.overdue {
  border-left: 3px solid var(--red-ink);
  padding-left: 21px;
}
.next-step, a.act {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid var(--action);
  border-radius: 8px;
  background: var(--white);
  color: var(--action);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.priorities > li:first-child > a.act {
  background: var(--action);
  border-color: var(--action);
  color: var(--white);
}
a.act:hover, .next-step:hover,
.priorities > li:first-child > a.act:hover {
  background: var(--action-hover);
  border-color: var(--action-hover);
  color: var(--white);
  text-decoration: none;
}
.term-card .next-step + .meta { margin-top: 8px; }
.home-side p a, .home-main > p a, .home-intro > p a, .meta a {
  text-decoration: underline;
  text-decoration-color: #B8AE9A;
  text-underline-offset: 3px;
}
.home-side p a:hover, .home-main > p a:hover, .home-intro > p a:hover, .meta a:hover {
  color: var(--action-hover);
}
.prep {
  margin-top: 8px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
}
.prep.is-overdue, .prep.is-overdue a { color: var(--red-ink); font-weight: 600; }
.choose-page .choose-grid { align-items: stretch; }
.choose-page .door {
  height: 100%;
  margin: 0;
  padding: 0 0 24px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.choose-page .door:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27, 36, 48, 0.12);
  text-decoration: none;
}
.choose-page .door-top { display: block; padding: 20px 24px 16px; }
.choose-page .door-coordinator { border-top: 6px solid var(--lane-internal); }
.choose-page .door-coordinator .door-top { background: var(--lane-internal-tint); }
.choose-page .door-coordinator .door-mark { background: var(--lane-internal); border-radius: 50%; }
.choose-page .door-coordinator .door-go { background: var(--lane-internal); }
.choose-page .door-head { border-top: 6px solid var(--lane-dp1); }
.choose-page .door-head .door-top { background: var(--lane-head-tint); }
.choose-page .door-head .door-mark { background: var(--action); border-radius: 3px; }
.choose-page .door-head .door-go { background: var(--action); }
.choose-page .door-mark {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
}
.choose-page .door > span { margin: 16px 24px 0; }
.choose-page .door > .door-top { margin: 0; }
.choose-page .door > .door-go {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin: 20px 24px 0;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}
.choose-page .display { margin-top: 0; }
.choose-page .choose-lead { max-width: 62ch; margin: 0 0 12px; }
.quiet-footer { margin: 48px 0 8px; font-size: 13px; color: var(--meta); }
.quiet-footer a { color: inherit; }
.open-question { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--fjord); }
.open-question h3 { margin: 0 0 8px; }
.try-box { margin: 16px 0; padding: 14px 16px; max-width: 40rem; border: 1px solid var(--line); border-radius: var(--radius); }
.try-box h2 { margin-top: 0; }
.tie { margin-top: 20px; }

.nav-toggle { display: none; }
.report-brand { border-bottom: 3px solid #1F6B66; margin-bottom: 24px; padding-bottom: 12px; }
.report-kicker { margin: 0; color: #1F6B66; font-weight: 600; letter-spacing: 0.02em; }
.board-report h1 { font-family: var(--font-display); font-weight: 400; }
.board-report h3 { font-size: 16px; margin: 12px 0 4px; }
@media print {
  .mast, .desk-chrome, .quiet-footer, .noprint, .skip, .nav-toggle { display: none !important; }
  .board-report, .board-report p, .board-report h1, .board-report h2, .board-report h3 { color: #1a1a1a; }
  .board-report a { color: inherit; text-decoration: none; }
  .board-report h2,
  .board-report h3 {
    break-after: avoid;
    break-inside: avoid;
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  .board-report .report-item,
  .board-report section,
  .board-report table {
    break-inside: auto;
    page-break-inside: auto;
  }
  .board-report h2 + .report-item,
  .board-report h2 + p,
  .board-report h3 + p {
    break-before: avoid;
    page-break-before: avoid;
  }
  .board-report section:has(table.who-decides) {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .table-scroll { overflow: visible; }
  .who-decides { width: 100%; border-collapse: collapse; table-layout: fixed; }
  .who-decides th, .who-decides td { overflow-wrap: anywhere; }
}
.view-section { display: none; }
@media (max-width: 640px) {
  .mast-inner, .wrap { padding-left: var(--page-pad-phone); padding-right: var(--page-pad-phone); }
  .mast-inner { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: auto;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font: 600 14px/1 var(--font);
  }
  .mast-inner .nav { display: none; flex: 1 0 100%; flex-direction: column; align-items: stretch; }
  .mast-inner:has(.nav-toggle[aria-expanded="true"]) .nav { display: flex; }
  .wordmark { order: 1; }
  .addmenu { order: 2; margin-left: auto; align-self: center; }
  .istek-desk .lang-toggle { order: 2; margin-left: 4px; }
  .account { order: 3; margin-left: auto; align-self: center; }
  .addmenu + .account { margin-left: 8px; }
  .istek-desk .account-chip { order: 3; margin-left: auto; }
  .mast-school { order: 4; flex: 1 0 100%; font-size: 15px; }
  .nav {
    order: 5;
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
  }
  .nav a, .nav a:visited { width: auto; white-space: nowrap; padding: 8px 12px; }
  .demo-readonly { font-size: 13px; padding: 8px 12px; }
  .display, .num { font-size: var(--type-display-phone); }
  .display { text-wrap: balance; }
  .spread { display: flex; flex-direction: column; }
  .pair {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
  }
  .pair > .label,
  .pair > :not(.label) { grid-column: 1; }
  .swatch { grid-column: span 2; }
  textarea { min-height: 13rem; }
  .ruler-line span { display: none; }
  .ruler-keep span { display: block; }
  .chart-row { grid-template-columns: minmax(0, 1fr); }
  .chart-inner .chart-row { grid-template-columns: 120px minmax(0, 1fr); }
  .chart-inner { min-width: 720px; --lane-col: 128px; }
  .month-alt { display: none; }
  .yearband-months li.month-hide { visibility: hidden; }
  .chart-hint { display: block; }
  .plan-lane { display: none; }
  .plan-stack { display: block; }
  .door strong { font-size: 22px; }
  .wrap { max-width: 100%; overflow-x: clip; }
  .table-scroll { min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .who-decides { min-width: 40rem; width: max-content; }
  .table-scroll-hint { display: block; }
  .viewmenu { display: none; }
  .view-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0 0 8px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--border);
  }
  .view-section-label {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--meta);
  }
  .home-grid { display: flex; flex-direction: column; min-width: 0; max-width: 100%; }
  .home-grid > * { min-width: 0; max-width: 100%; }
  .health-cards { grid-template-columns: 1fr; }
  .home-side { order: 2; }
  .account { align-self: flex-start; }
  .istek-desk .road-row { grid-template-columns: 1fr; }
}

/* İSTEK sample space. Same tokens as the coordinator view. */
.istek-desk .road {
  border-top: 6px solid var(--lane-internal);
  margin-top: 0;
}
.istek-desk .road-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.istek-desk .road-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.istek-desk .road-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.istek-desk .road-who .work-title { margin: 0; }
.istek-desk .road-track,
.istek-desk .stage-scroll,
.istek-desk .stage-track,
.istek-desk .stage {
  min-width: 0;
}
.istek-desk .stage-scroll { overflow: visible; }
.istek-desk .stage-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 640px) {
  .istek-desk .road-row { grid-template-columns: minmax(0, 1fr); }
  .istek-desk .stage-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.istek-desk .stage-bar {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--bar-track);
}
.istek-desk .stage.is-now .stage-bar { height: 14px; }
.istek-desk .stage[data-tone="ib"].is-done .stage-bar,
.istek-desk .stage[data-tone="ib"].is-now .stage-bar { background: var(--lane-ib); }
.istek-desk .stage[data-tone="internal"].is-done .stage-bar,
.istek-desk .stage[data-tone="internal"].is-now .stage-bar { background: var(--lane-internal); }
.istek-desk .stage[data-tone="dp1"].is-done .stage-bar,
.istek-desk .stage[data-tone="dp1"].is-now .stage-bar { background: var(--lane-dp1); }
.istek-desk .stage[data-tone="myp"].is-done .stage-bar,
.istek-desk .stage[data-tone="myp"].is-now .stage-bar { background: var(--lane-myp); }
.istek-desk .stage[data-tone="dp2"].is-done .stage-bar,
.istek-desk .stage[data-tone="dp2"].is-now .stage-bar { background: var(--lane-dp2); }
.istek-desk .stage[data-tone="stuck"].is-done .stage-bar,
.istek-desk .stage[data-tone="stuck"].is-now .stage-bar { background: var(--stuck-ink); }
.istek-desk .stage-name {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--meta);
}
.istek-desk .stage.is-now .stage-name { color: var(--ink); font-weight: 700; }
.istek-desk .coverage { margin: 10px 0 4px; font-weight: 600; }
.istek-desk .key-stage { border-radius: 2px; }
.istek-desk .key-ib { background: var(--lane-ib); }
.istek-desk .key-internal { background: var(--lane-internal); border-radius: 50%; }
.istek-desk .key-dp1 { background: var(--lane-dp1); }
.istek-desk .key-myp { background: var(--lane-myp); }
.istek-desk .key-dp2 { background: var(--lane-dp2); }
.istek-desk .key-stuck { background: var(--stuck-ink); }
.istek-desk .key-break {
  background: var(--paper);
  border: 2px solid var(--lane-internal);
  border-radius: 2px;
}
.istek-desk .chart-inner { padding-top: 32px; }
.istek-desk .chart-underlay { top: 60px; }
.istek-desk .today-line span { top: -56px; left: 4px; }
.istek-desk .chart-legend {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.istek-desk .chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.istek-desk .chart-legend .key { flex: 0 0 auto; margin-right: 0; }
.istek-desk .needs-label {
  margin-right: 6px;
  color: var(--stuck-ink);
  font-size: 13px;
  font-weight: 600;
}
.istek-desk .key-today {
  width: 2px;
  height: 12px;
  background: var(--stuck);
  border: 0;
}
.istek-desk .key-myp {
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  border-radius: 0;
}
.istek-desk .example-list { padding-left: 1.1rem; }
.istek-desk .example-list li { margin: 0 0 10px; }
.istek-desk .example-list a { color: var(--action); }
.istek-desk .finding { margin: 0 0 16px; }
.istek-desk .success-looks {
  margin: 8px 0 16px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.istek-desk .success-looks h3 { margin: 0 0 8px; }
.istek-desk .success-looks p { margin: 0 0 8px; }
.istek-desk .success-label { font-weight: 600; }
.istek-desk .policy-fit { margin-bottom: 4px; }
.istek-desk .later-list { margin: 0; padding-left: 1.1rem; }
.istek-desk label { display: block; margin-top: 12px; font-weight: 600; }
.istek-desk .form-errors { color: var(--stuck-ink); }
.istek-desk .library-preview { margin-top: 0; }
.istek-desk .library-rows {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.istek-desk .library-rows li {
  margin: 0;
  padding: 12px 0 4px;
  border-top: 1px solid var(--line);
}
.istek-desk .library-rows .work-title { margin: 0 0 4px; }
.istek-desk .guide-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 4px 0 0;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--action-tint);
  color: var(--action);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.istek-desk .guide-chip:hover {
  background: var(--action);
  color: var(--white);
  text-decoration: none;
}
.istek-desk .lang-toggle { margin-left: 8px; }
.istek-desk .lang-toggle a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  font-weight: 700;
  color: var(--action);
}
.istek-desk .lang-toggle a[aria-current="true"] { text-decoration: underline; }
.wrap.roadmap { padding-top: 8px; }
.roadmap .display { margin: 0 0 4px; }
.roadmap .road-lead { margin: 0 0 2px; }
.roadmap .road-office { font-weight: 600; }
.roadmap .road-where { margin: 0; }
.istek-desk .mark {
  display: inline-block;
  margin-left: 4px;
  padding: 0 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--meta);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.7;
  vertical-align: 1px;
}
.istek-desk .mark-real { color: var(--moving); border-color: #b7d4c6; }
.istek-desk .mark-rule { color: var(--action); border-color: #c5d0de; }
.istek-desk .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.roadmap .road-hero { margin-top: 4px; padding: 8px 16px 6px; }
.roadmap .road-label { margin-bottom: 4px; }
.roadmap .demo-readonly { margin-bottom: 8px; padding-top: 6px; padding-bottom: 6px; }
.roadmap .switch-row { margin-bottom: 4px; }
.roadmap .road-hero .road-list { margin-top: 4px; }
.roadmap .road-hero .chart-legend { margin-top: 4px; }
.roadmap .status-line { margin: 0; font-weight: 600; }
.roadmap .stage-head,
.roadmap .road-hero .road-row {
  display: grid;
  grid-template-columns: minmax(132px, 188px) minmax(0, 1fr) minmax(168px, 240px);
  gap: 4px 12px;
  align-items: center;
}
.roadmap .road-hero .road-row { padding: 7px 0 4px; }
.roadmap .stage-names,
.roadmap .stage-dots {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  justify-items: center;
  align-items: center;
}
.roadmap .stage-names {
  list-style: none;
  margin: 0;
  padding: 0;
}
.roadmap .stage-names li {
  min-width: 0;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.15;
  color: var(--meta);
  text-align: center;
  overflow-wrap: anywhere;
}
.roadmap .stage-legend-phone { display: none; margin: 2px 0 0; font-size: 12px; color: var(--meta); }
.roadmap .attn { margin: 0; font-size: 13px; line-height: 1.35; }
.roadmap .attn-label { margin-right: 4px; color: var(--meta); font-weight: 600; }
.roadmap .attn.is-on-track { color: var(--moving); font-weight: 600; }
.roadmap .rule-note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
}
.istek-desk .stage-dots,
.istek-desk .stage-list { list-style: none; margin: 0; padding: 0; }
.istek-desk .stage-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.roadmap .stage-dots {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  justify-items: center;
}
.istek-desk .stage-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
}
.istek-desk .dot {
  position: relative;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border: 2px solid var(--bar-quiet-line);
  border-radius: 50%;
  background: var(--bar-track);
}
.istek-desk .dot.is-done[data-tone="ib"] { background: var(--lane-ib); border-color: var(--lane-ib); }
.istek-desk .dot.is-done[data-tone="internal"] { background: var(--lane-internal); border-color: var(--lane-internal); }
.istek-desk .dot.is-done[data-tone="dp1"] { background: var(--lane-dp1); border-color: var(--lane-dp1); }
.istek-desk .dot.is-done[data-tone="myp"] { background: var(--lane-myp); border-color: var(--lane-myp); }
.istek-desk .dot.is-now[data-tone="dp2"] {
  background: var(--white);
  border-color: var(--lane-dp2);
  box-shadow: 0 0 0 2px var(--lane-dp2);
}
.istek-desk .dot.is-ahead { background: transparent; }
.roadmap .calendar-line { margin: 0 0 8px; }
.roadmap .questions h2 { margin: 4px 0 8px; font-size: 18px; }
.question-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.question-card {
  margin: 0;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.35;
}
.question-card p { margin: 0; }
.question-quote { margin-bottom: 4px; font-weight: 600; }
.road-hero { margin-top: 12px; }
.road-hero .road-row { padding: 8px 0; }
.istek-desk .stage-track-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.istek-desk .stage[data-tone="authorised"].is-done .stage-bar,
.istek-desk .stage[data-tone="authorised"].is-now .stage-bar { background: var(--moving); }
.istek-desk .key-authorised { background: var(--moving); }
.developing { font-weight: 600; }
.table-scroll { overflow-x: auto; max-width: 100%; min-width: 0; }
.table-scroll-hint { display: none; margin: 0 0 6px; font-size: 13px; color: var(--meta); }
.register { width: 100%; border-collapse: collapse; }
.register th, .register td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  text-align: left;
}
.register td.gap {
  background: #F8E6D4;
  color: var(--stuck-ink);
  font-weight: 700;
}
.visit-form label { display: block; margin-top: 8px; }
.check-line { font-weight: 400; }
.milestone-list { list-style: none; margin: 0; padding: 0; }
.milestone-list li { margin: 0 0 10px; }
.source-row { margin: 8px 0 0; }
.chip {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--action-tint);
  color: var(--action);
  font-size: 12px;
  font-weight: 600;
}
.roadmap .fold.section { padding: 0; margin-top: 8px; }
.roadmap .fold summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.35;
}
.roadmap .promise { margin: 0 0 6px; font-size: 15px; }
.how-to {
  margin: 8px 0 0;
  padding: 4px 12px 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.4;
}
.how-to ol { margin: 4px 0 0; padding-left: 1.2em; }
.how-to li { margin: 0 0 2px; }
.how-to-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.how-to .work-title { margin: 0; }
.how-hide {
  background: none;
  border: 0;
  margin: 0;
  min-height: 0;
  padding: 0;
  color: var(--meta);
  font: inherit;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: underline;
  cursor: pointer;
}
.roadmap .road-who a { color: inherit; text-underline-offset: 2px; }
.roadmap .matrix {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}
.roadmap .matrix th,
.roadmap .matrix td {
  padding: 7px 4px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
  font-weight: 400;
}
.roadmap .matrix th:first-child {
  width: 32%;
  text-align: left;
  font-weight: 600;
}
.roadmap .matrix .meta,
.roadmap .matrix-name { display: block; font-weight: 400; }
.roadmap .matrix tfoot th,
.roadmap .matrix tfoot td { font-weight: 600; }
.roadmap .matrix td.is-single { background: #F8E6D4; font-weight: 700; }
.chip-status {
  display: inline-block;
  max-width: 100%;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}
.chip-status.is-done { background: #E5F2EB; color: var(--moving); }
.chip-status.is-open,
.chip-status.is-draft { background: #F8E6D4; color: var(--stuck-ink); }
.chip-status.is-late { background: #F8E0E0; color: var(--red-ink); }
.chip-status.is-none { background: var(--bar-track); color: var(--meta); }
.chip-status.is-review { background: var(--action-tint); color: var(--action); }
.chip-hit {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.matrix-phone { display: none; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.check-list .chip-hit {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  text-align: left;
}
.check-list li.is-single { background: #F8E6D4; padding-left: 6px; padding-right: 6px; }
.timeline { margin: 8px 0 16px; }
.timeline-track { position: relative; padding-top: 22px; }
.timeline-today {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.timeline-today.is-start { transform: none; }
.timeline-bar { position: relative; height: 2px; background: var(--border); }
.tick {
  position: absolute;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--action);
  transform: translateX(-50%);
}
.tick.is-visit { width: 10px; height: 10px; top: -5px; background: var(--moving); }
.timeline-months {
  display: flex;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.2;
  color: var(--meta);
}
.timeline-months li { flex: 1 1 0; min-width: 0; text-align: center; }
.timeline-months span { display: block; }
.doc-panel {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.doc-facts { margin: 8px 0; }
.doc-facts div { margin: 0 0 6px; }
.doc-facts dt { font-size: 12px; color: var(--meta); }
.doc-facts dd { margin: 0; font-size: 13px; }
.integrity { margin-top: 8px; }
.integrity summary { font-size: 13px; }
.integrity ul { margin: 6px 0 0; padding-left: 1.2em; font-size: 13px; }
.source-list .work-title,
.pilot-lines .work-title { display: inline; margin-right: 6px; }
.pilot-next { margin: 10px 0 0; font-weight: 600; }
.roadmap .fold-body { padding: 0 16px 16px; }
.roadmap .plain-list { list-style: none; margin: 0; padding: 0; }
.roadmap .plain-list li { margin: 0 0 8px; }
.roadmap .plain-list li.is-attention {
  padding: 4px 8px;
  background: #F8E6D4;
  border-radius: 6px;
}
.roadmap .plain-list .work-title { display: block; }
.managebac {
  border-style: dashed;
  background: #F7F5F1;
  color: var(--meta);
}
.managebac .work-title { color: var(--ink); }
.mb-list { list-style: none; margin: 0; padding: 0; }
.mb-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 4px 0;
}
.gap-line { margin: 0; color: var(--stuck-ink); font-weight: 600; }
.mb-actions { display: flex; gap: 6px; margin: 0; }
.mb-actions button,
.mb-list .mb-actions button.secondary { margin: 0; }
.export-row { display: flex; gap: 12px; align-items: center; margin: 16px 0; }
.pilot-card { border-top: 6px solid var(--lane-internal); }
.road-footer { margin-top: 8px; }
@media (max-width: 640px) {
  .question-grid { grid-template-columns: 1fr; }
  .istek-desk .stage-track-7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap .stage-head { display: none; }
  .roadmap .stage-legend-phone { display: block; }
  .roadmap .road-hero .road-row { grid-template-columns: minmax(0, 1fr); }
  .matrix-desktop { display: none; }
  .matrix-phone { display: block; }
  .campus-card { margin: 0 0 14px; padding-top: 8px; border-top: 1px solid var(--border); }
  .campus-card h3 { margin: 0 0 4px; font-size: 15px; }
  .campus-card ul { list-style: none; margin: 0; padding: 0; }
  .campus-card li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
  }
  .campus-card .chip-hit {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    text-align: left;
  }
  .campus-card li.is-single { background: #F8E6D4; }
  .timeline { overflow-x: auto; }
  .timeline-track { min-width: 720px; }
}
.roadmap .journey-names,
.roadmap .journey-dots {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.journey-step { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.ready-flag { font-size: 12px; line-height: 1.2; color: var(--meta); text-align: center; }
.ready-flag.is-lit { color: var(--moving); font-weight: 700; }
.progress { height: 6px; margin-top: 6px; background: var(--bar-track); border-radius: 99px; }
.progress span { display: block; height: 100%; background: var(--action); border-radius: 99px; }
.fresh { margin: 2px 0 0; font-size: 12px; color: var(--meta); }
.fresh.is-stale { color: var(--stuck-ink); font-weight: 600; }
.c2-strip, .share-list, .need-strip ul, .who-grid { list-style: none; margin: 8px 0 0; padding: 0; }
.c2-strip li, .share-list li { margin: 0 0 4px; font-size: 13px; }
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.who-grid p { margin: 0; font-size: 13px; }
.who-grid .work-title { font-weight: 700; }
.need-strip ul { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit-grid ul { margin: 4px 0 0; padding-left: 1.1em; }
.how-flow { margin: 0; padding-left: 1.2em; }
.how-compare { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.how-compare td, .how-compare th { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.year-legend { margin: 8px 0 0; color: var(--meta); font-size: 13px; }
.topic-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.topic-filter a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 999px; color: var(--ink);
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.topic-filter a.on { background: #1F6B66; border-color: #1F6B66; color: #fff; }
.topic-tag {
  display: inline-flex; align-items: center; margin-left: 6px; padding: 0 6px;
  border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.5;
  white-space: nowrap; vertical-align: 1px;
}
.topic-assessment { color: #1F6B66; background: #E6F2F1; }
.topic-curriculum { color: #3D4F7C; background: #E8EDF6; }
.topic-send { color: #6B4E16; background: #F6EFD9; }
.topic-safeguarding { color: #8A3B2C; background: #F8EDE4; }
.topic-wellbeing { color: #1F6B4A; background: #E7F2EC; }
.topic-operations { color: #5C564C; background: #F4F0E8; }
.who-decides { width: 100%; border-collapse: collapse; font-size: 14px; }
.who-decides th, .who-decides td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.who-decides th { font-size: 12px; color: var(--meta); font-weight: 600; }
.how-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.how-actions a.secondary,
.how-actions button.secondary { margin: 0; }
.mb-path { margin: 8px 0; padding-left: 1.2em; }
.week-box { background: var(--action-tint); border-radius: var(--radius); }
.week-item { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.week-item input, .doc-panel input { width: min(100%, 360px); }
.status-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.status-choices button.secondary,
.week-item button.secondary,
.doc-panel button.secondary { margin: 0; }
.need-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.roadmap .fold summary { font-size: 15px; }
.roadmap .road-hero .road-row { padding: 3px 0; }
.fresh.is-stale {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #F8E6D4;
  color: var(--stuck-ink);
  font-weight: 600;
}
.chip-hit:focus-visible,
button:focus-visible,
a:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.chip-ib { font-size: 12px; }
.credit { display: block; font-size: 12px; color: var(--meta); font-weight: 400; }
.roadmap .dot.is-done,
.roadmap .dot.is-ready {
  background: var(--moving);
  border-color: var(--moving);
}
.roadmap .dot.is-now {
  background: var(--action);
  border-color: var(--action);
  animation: road-pulse 2.4s ease-in-out infinite;
}
.roadmap .dot.is-ahead {
  background: var(--white);
  border-color: var(--line);
}
.dot.is-now { animation: road-pulse 2.4s ease-in-out infinite; }
.dot.is-ready { background: var(--moving); border-color: var(--moving); }
@keyframes road-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 93, 140, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(47, 93, 140, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .dot.is-now { animation: none; }
}
@media (max-width: 640px) {
  .who-grid, .benefit-grid { grid-template-columns: 1fr; }
}
.account-chip {
  margin: 0 0 0 auto;
  padding: 2px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}
.tick-done {
  color: var(--moving);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.roadmap .tick .tick-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--ink);
}
.roadmap .tick.is-below .tick-label { top: 14px; }
.roadmap .tick.is-above .tick-label { bottom: 16px; }
.roadmap .timeline-track { padding-top: 36px; padding-bottom: 8px; }
.roadmap .c2-grid th,
.roadmap .c2-grid td { width: 20%; }
.roadmap .c2-grid th:first-child { width: 20%; text-align: center; }
.consult-list { list-style: none; margin: 8px 0 0; padding: 0; }
.consult-list li { margin: 0 0 4px; font-size: 13px; }
.change-card h3 { margin: 12px 0 8px; font-size: 16px; }
.change-card .inner-fold {
  margin-top: 8px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.change-card .inner-fold summary { padding: 4px 0; }
.visit-form select { width: auto; min-width: 8rem; }
.how-to-head { margin: 0; }
.how-to ol { margin-top: 4px; }
.mark-quiet {
  color: #8A8478;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.coord-note {
  display: block;
  margin-top: 4px;
  color: var(--meta);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
.change-card .inner-fold summary { list-style: none; }
.change-card .inner-fold summary::-webkit-details-marker { display: none; }
.change-card .caret { display: inline-block; margin-right: 4px; }
.change-card .inner-fold[open] .caret { transform: rotate(90deg); }
.roadmap .timeline { padding-right: 64px; box-sizing: border-box; }
.faq-list details { margin: 0; border-bottom: 1px solid var(--border); }
.faq-list summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .caret { display: inline-block; width: 15px; flex: 0 0 15px; text-align: center; }
.faq-list details[open] > summary .caret { transform: rotate(90deg); }
.faq-list p {
  margin: 0 0 12px;
  padding-left: 23px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--meta);
}
.back-link { margin: 0 0 2px; font-size: 13px; }
.back-link a { color: var(--action); }
.gain-line { margin: 0 0 8px; }
.week-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.week-name { flex: 1 1 auto; font-size: 13px; font-weight: 600; }
.week-row .meta { flex: 0 0 auto; margin: 0; white-space: nowrap; }
.week-row input[type="url"] {
  flex: 0 0 9rem;
  width: 9rem;
  min-height: 32px;
  margin: 0;
  padding: 2px 8px;
  font-size: 13px;
}
.seg {
  display: inline-flex;
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.seg button {
  margin: 0;
  min-height: 32px;
  padding: 4px 8px;
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.seg button:last-child { border-right: 0; }
.seg button.is-current { background: var(--action); color: var(--white); }
.week-reset { margin: 8px 0 0; }
.text-btn {
  margin: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--meta);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.doc-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.doc-panel-head .work-title { margin: 0; }
.panel-close {
  margin: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--meta);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.doc-panel .doc-facts {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 4px 12px;
  margin: 8px 0;
}
.doc-panel .doc-facts dt,
.doc-panel .doc-facts dd { margin: 0; font-size: 13px; }
.doc-panel .doc-facts dt { color: var(--meta); }
.doc-panel input[type="url"],
.doc-panel textarea {
  width: min(100%, 20rem);
  min-height: 32px;
  margin: 4px 0 0;
  padding: 4px 8px;
  font-size: 13px;
}
.doc-panel textarea { height: 3rem; min-height: 3rem; }
.late-note { margin: 6px 0 0; color: var(--red-ink); font-size: 13px; font-weight: 700; }
.panel-status-label { margin: 8px 0 4px; font-size: 13px; font-weight: 600; }
.gate-note { margin-top: 8px; }
.cell-face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  max-width: 100%;
  min-width: 0;
  vertical-align: middle;
}
.roadmap .matrix .cell-face .chip-hit {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  line-height: 1;
}
.cell-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.status-row .seg { margin: 0; }
.status-row .secondary {
  margin: 0;
  min-height: 32px;
  padding: 4px 10px;
  font-size: 13px;
}
.evidence-open { font-size: 14px; color: var(--action); }
.alias-note { font-size: 13px; }
.train-all {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 12px;
  font-size: 14px;
}
.train-all .tick-done { flex: 0 0 auto; }
.support-bridge { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.support-q {
  width: 100%;
  max-width: 40rem;
  margin: 4px 0 0;
  min-height: 40px;
}
.support-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}
.support-chip {
  margin: 0;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.support-chip.is-on {
  border-color: var(--action);
  color: var(--action);
  background: var(--action-tint);
}
.support-card { margin-top: 8px; max-width: 40rem; }
.support-card h3 { margin: 0 0 6px; font-size: 16px; }
.support-card ol,
.support-sources { margin: 4px 0 8px; padding-left: 1.2em; font-size: 14px; }
.support-card li { margin: 0 0 4px; }
.support-card p { font-size: 14px; }
.support-card .work-title { margin: 10px 0 2px; font-size: 13px; }
.roadmap .support-try {
  margin: 12px 0 4px;
  padding: 10px 12px 4px;
  background: var(--action-tint);
  border-bottom: 0;
  border-left: 3px solid var(--action);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.roadmap .support-try h3 { margin: 0 0 6px; font-size: 16px; }
.roadmap .support-try p { margin: 0 0 6px; font-size: 14px; }
.roadmap .matrix .train-hit,
.train-hit {
  min-height: 0;
  margin: 0;
  padding: 0 2px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.train-names { margin: 4px 0 8px; padding-left: 1.2em; font-size: 14px; }
.train-names li { margin: 0; }
.note-mark,
.note-tag {
  display: inline-block;
  padding: 0 5px;
  border-radius: 999px;
  background: #F8E6D4;
  color: var(--stuck-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.note-quote {
  display: block;
  margin: 0 0 8px;
  color: var(--meta);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
.week-name { min-width: 0; }
.check-list .chip-hit,
.campus-card .chip-hit {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}
.doc-panel .quiet-btn {
  margin: 0 8px 8px 0;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.doc-panel .thread-note { margin: 8px 0 4px; font-size: 14px; }
.doc-panel #doc-panel-thread-who,
.doc-panel #doc-panel-updated,
.doc-panel #doc-panel-send .meta,
.doc-panel #doc-panel-fixed-line { font-size: 13px; }
.how-actions a.secondary { max-width: 100%; }
@media (max-width: 640px) {
  .week-row { flex-wrap: wrap; }
  .seg { flex-wrap: wrap; }
}
@media print {
  .istek-desk .mast,
  .istek-desk .switch-row,
  .istek-desk .demo-readonly,
  .istek-desk .lang-toggle,
  .no-print { display: none !important; }
  .istek-desk .wrap { padding: 0; }
  .istek-desk .section { break-inside: avoid; }
}

.choose-page .choose-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choose-page .door-myp { border-top: 6px solid var(--lane-myp); }
.choose-page .door-myp .door-top { background: color-mix(in srgb, var(--lane-myp) 12%, white); }
.choose-page .door-myp .door-mark { background: var(--lane-myp); border-radius: 3px; }
.choose-page .door-myp .door-go { background: var(--lane-myp); }
.choose-page .door-sub { display: block; margin-top: 6px; color: var(--meta); font-size: 14px; }
.myp-journey, .myp-rows { list-style: none; margin: 0; padding: 0; }
.myp-journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.myp-stage, .myp-rows li {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.myp-stage.is-done { border-top: 4px solid var(--lane-myp); }
.myp-stage.is-now { border-top: 4px solid var(--action); background: var(--paper); }
.myp-rows { display: grid; gap: 10px; }
.myp-status { font-weight: 600; }
.myp-status.is-gap, .myp-status.is-draft { color: var(--red-ink); }
.myp-status.is-linked { color: var(--lane-myp); }
.myp-status.is-sample { color: var(--meta); }
.myp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.myp-tabs a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
}
.myp-tabs a[aria-current="page"] { background: var(--paper); border-color: var(--action); font-weight: 600; }
.consultant { border-left: 4px solid var(--action); }
.consultant-read h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 550;
}
.read-provenance { max-width: 62ch; }
.read-block {
  margin: 0 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.read-provenance + .read-block { border-top: 0; padding-top: 0; }
.read-evidence {
  margin-top: 8px;
  padding-left: 12px;
  border-left: 2px solid var(--border);
}
.read-finding {
  margin: 0 0 10px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--action);
  border-radius: 8px;
}
.read-finding-in_tension { border-left-color: var(--lane-dp2); }
.read-finding p:last-child { margin-bottom: 0; }
.read-stance { margin-bottom: 4px; }
.read-cant { font-size: 15px; }
.read-next {
  padding: 14px 16px;
  background: var(--lane-head-tint);
  border: 0;
  border-radius: var(--radius);
}
.read-next p:last-child { margin-bottom: 0; }
.home-side .consultant-cue { margin-bottom: 16px; }
.consultant-cue {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 12px 14px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--fjord);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(27, 36, 48, 0.04);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.consultant-cue:hover { background: var(--lane-head-tint); }
.consultant-cue-mark {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--fjord);
}
.consultant-cue-copy { flex: 1 1 auto; min-width: 0; }
.consultant-cue-kicker {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fjord);
}
.consultant-cue-teaser {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink);
}
.consultant-cue-open {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--fjord);
}
dialog.consultant-layer {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
}
dialog.consultant-layer[open] {
  display: flex;
  justify-content: flex-end;
}
html:has(dialog.consultant-layer[open]) {
  overflow: hidden;
}
dialog.consultant-layer::backdrop { background: rgba(27, 36, 48, 0.16); }
.consultant-panel {
  display: flex;
  flex-direction: column;
  width: min(34rem, 100%);
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border-left: 0;
  box-shadow: -8px 0 28px rgba(27, 36, 48, 0.06);
  transform: translateX(20px);
  transition: transform 200ms ease;
}
dialog.consultant-layer.is-shown .consultant-panel { transform: translateX(0); }
.consultant-panel .consultant-read {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 28px 40px 64px;
  border: 0;
  background: transparent;
}
.consultant-drawer-bar {
  position: relative;
  flex: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 22px 40px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.consultant-drawer-kicker {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--fjord);
}
.consultant-panel h2.consultant-drawer-kicker { margin: 0; font-size: 13px; color: var(--fjord); }
.note-trust { max-width: 42ch; margin-bottom: 22px; }
.note-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--meta);
}
.note-lead {
  margin: 0 0 32px;
  max-width: 22em;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.note-implication {
  margin: 0 0 16px;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
}
.note-subject {
  margin: 0 0 36px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
}
.note-speaks {
  margin: 0 0 36px;
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--fjord);
}
.note-speaks-line {
  margin: 0;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
}
.note-jump { margin: 0 0 28px; }
.note-subject a {
  text-decoration: underline;
  text-decoration-color: #B8AE9A;
  text-underline-offset: 3px;
}
.note-stances { margin: 18px 0 0; }
.note-pair {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  column-gap: 16px;
  align-items: baseline;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.note-pair-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.note-pair-label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 2px;
  vertical-align: 1px;
}
.note-pair-speaks_to .note-pair-label::before { background: var(--action); }
.note-pair-in_tension .note-pair-label::before { background: var(--lane-dp2); }
.note-pair-line {
  margin: 0;
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.4;
}
.note-next {
  margin: 0 0 40px;
  padding: 0;
  background: transparent;
}
.note-action {
  margin: 0;
  max-width: 46ch;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
}
.read-fold { margin: 0; }
.read-fold-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  border-top: 1px solid var(--border);
  background: transparent;
  color: var(--meta);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.read-fold-toggle {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--fjord);
}
.read-fold-body[hidden] { display: none !important; }
.read-fold-body {
  max-width: 52ch;
  padding: 0 0 12px;
  color: var(--meta);
  font-size: 14px;
  line-height: 1.45;
}
.read-fold-body p { margin: 0 0 10px; }
.read-fold-body p:last-child { margin-bottom: 0; }
.consultant-close {
  flex: none;
  margin: 0;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--meta);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.consultant-close:hover { background: var(--lane-head-tint); }
.sample-chip {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--meta);
  font-size: 13px;
  line-height: 1.4;
}
.mb-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 12px 0; }
.mb-columns h3 { margin: 0 0 8px; font-size: 1rem; }
.mb-columns ul { margin: 0; padding-left: 1.1rem; }
.managebac-demo { border-left: 4px solid var(--line); }
@media (max-width: 640px) {
  .consultant-cue {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 20;
    width: auto;
    margin: 0;
    box-shadow: 0 8px 24px rgba(27, 36, 48, 0.14);
  }
  body:has(.consultant-cue) { padding-bottom: 96px; }
  dialog.consultant-layer[open] { align-items: flex-end; }
  .consultant-panel::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: var(--line);
    flex: none;
  }
  .consultant-panel {
    width: 100%;
    height: auto;
    max-height: 92dvh;
    border-left: 0;
    border-top: 1px solid var(--border);
    border-radius: 16px 16px 0 0;
    transform: translateY(24px);
  }
  dialog.consultant-layer.is-shown .consultant-panel { transform: translateY(0); }
  .consultant-panel .consultant-read { padding: 20px 20px 40px; }
  .consultant-drawer-bar {
    margin: 0;
    padding: 12px 20px;
    background: var(--white);
  }
  .note-lead { font-size: 28px; margin-bottom: 24px; }
  .note-subject, .note-speaks { margin-bottom: 28px; }
  .note-pair { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .note-action { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .consultant-panel,
  dialog.consultant-layer.is-shown .consultant-panel {
    transition: none;
    transform: none;
  }
}
@media (max-width: 800px) {
  .choose-page .choose-grid { grid-template-columns: 1fr; }
  .myp-journey { grid-template-columns: 1fr; }
  .mb-columns { grid-template-columns: 1fr; }
}

/* School priorities: Vision / Strategy / Focus. A five-second read.
   Cards follow the health-card pattern: white on paper, a coloured top rule. */
.compass {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 16px;
  margin: 0 0 18px;
}
.compass-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 18px 18px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--ink);
  border-radius: var(--radius);
}
.compass-card.is-strategy { border-top-color: var(--action); }
.compass-card.is-focus { border-top-color: var(--stuck); }
.compass-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--meta);
}
.compass-line {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: pretty;
}
.compass-line.is-empty {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--meta);
}
.compass-list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 10px;
}
.compass-list li { line-height: 1.35; }
.compass-list a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.compass-list a:hover { text-decoration: underline; }
.compass-list .status-chip { margin-left: 6px; }
.compass-card .consultant-cue {
  margin-top: auto;
  width: 100%;
  max-width: 100%;
}
.compass-status { margin: 0 0 18px; max-width: 70ch; color: var(--ink); }
.priority-card { padding-top: 16px; padding-bottom: 16px; }
.priority-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.priority-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}
.priority-card-title {
  margin: 0;
  flex: 1 1 16rem;
  min-width: 0;
  font-size: 18px;
  line-height: 1.35;
}
.priority-aim { margin: 8px 0 0 40px; }
.priority-more { margin: 8px 0 0 40px; }
.priority-more > summary {
  color: var(--action);
  font-weight: 600;
}
.fold-section > summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  list-style: none;
  text-decoration: none;
  cursor: pointer;
}
.fold-section > summary::-webkit-details-marker { display: none; }
.fold-section > summary::marker { content: ""; }
.fold-section > summary h2 {
  display: inline;
  margin: 0;
  flex: 1 1 auto;
}
.fold-section > summary::after {
  content: "Show";
  flex: none;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--action);
}
.fold-section[open] > summary { margin-bottom: 12px; }
.fold-section[open] > summary::after { content: "Hide"; }
.fold-count {
  display: inline-block;
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--meta);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  vertical-align: 2px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .compass { grid-template-columns: 1fr; }
  .priority-aim, .priority-more { margin-left: 0; }
}
/* On a phone the This week cue is a fixed bar. On this page it belongs
   inside the Focus card, so the three cards can stack without a bar
   covering the strategy list. */
@media (max-width: 640px) {
  .compass-card .consultant-cue {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    width: 100%;
    margin: 0;
    box-shadow: none;
  }
  body:has(.compass) { padding-bottom: 0; }
}

.sample-mark {
  margin: 2px 0 0;
  color: var(--meta);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.viewmenu { position: relative; flex: none; }
.viewmenu > summary {
  list-style: none;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.viewmenu > summary::-webkit-details-marker { display: none; }
.viewmenu > summary:hover { background: var(--paper); }
.view-caret { font-size: 11px; line-height: 1; }
.viewmenu-body {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 220px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(27, 36, 48, 0.12);
}
.viewmenu-body a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
}
.viewmenu-body a:hover { background: var(--paper); }
.viewmenu-body a[aria-current="page"] {
  background: var(--action-tint);
  color: var(--action);
  font-weight: 600;
}
.view-section a[aria-current="page"] {
  background: var(--action-tint);
  border-color: var(--action);
  color: var(--action);
}
.sample-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 12px;
}
.quiet-footer .sample-footer-row .demo-readonly,
.head-desk .quiet-footer .sample-footer-row .demo-readonly {
  display: flex;
  align-items: center;
  flex: none;
  min-height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--meta);
  font-size: 13px;
  line-height: 32px;
  max-width: none;
}
.quiet-footer .sample-footer-row .demo-reset {
  display: flex;
  align-items: center;
  margin: 0;
}
.quiet-footer .sample-footer-row .demo-reset button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 0 12px;
  line-height: 1.2;
}

@media (min-width: 641px) {
  .mast-inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .mast-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 18rem;
  }
  .mast-school {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* Nav takes the next row so Add, Viewing as and the avatar stay together. */
  .nav {
    flex: 1 0 100%;
    order: 8;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
  }
  .mast-inner .addmenu { margin-left: auto; }
  .nav a, .nav a:visited {
    min-height: 32px;
    padding: 4px 10px;
    font-size: 13px;
    white-space: nowrap;
  }
  .addmenu > summary {
    min-height: 32px;
    padding: 0 10px;
    font-size: 13px;
  }
  .account summary { min-height: 32px; min-width: 32px; width: 32px; padding: 0; }
  .viewmenu > summary { font-size: 13px; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .mast-inner, .wrap { padding-left: 16px; padding-right: 16px; }
}
@media (min-width: 641px) and (max-width: 720px) {
  .nav { gap: 4px; }
  .nav a, .nav a:visited { padding: 4px 8px; }
}
@media (max-width: 640px) {
  .mast-brand { display: contents; }
  .sample-mark { order: 4; flex: 1 0 100%; margin: 0; }
}
@media print {
  .table-scroll-hint { display: none !important; }
  .who-decides { min-width: 0 !important; width: 100% !important; }
}

/* Head home, ported from pilot-production's Harbour paper
   (core/templates/home.html, the exception-coach sheet). Scoped so
   other coordinator pages keep their own layout. */
.head-desk .paper-exception-coach {
  --demo-ink: var(--ink);
  --demo-ink-soft: var(--meta);
  --demo-cream: var(--paper);
  --demo-white: var(--white);
  --demo-border: var(--border);
  --demo-stuck: var(--stuck-ink);
  --demo-moving: var(--moving);
  --demo-radius: 12px;
  font-family: var(--font);
}
.head-desk .paper-exception-coach p,
.head-desk .paper-exception-coach li { max-width: none; }
.head-desk .paper-exception-coach a,
.head-desk .paper-exception-coach a:visited {
  color: var(--ink);
  text-decoration: none;
}
.head-desk .paper-exception-coach a:hover { text-decoration: underline; }
.head-desk .paper-header {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.head-desk .paper-header-main { flex: 1; min-width: 0; }
.head-desk .paper-eyebrow {
  font-size: 13px;
  color: var(--meta);
  margin: 0 0 12px;
}
.head-desk .paper-phase { margin: 0 0 10px; font-size: 14px; color: var(--meta); }
.head-desk .paper-phase-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--moving);
  background: #E8F0EB;
  border: 1px solid #C9D9CF;
  border-radius: 999px;
  padding: 3px 10px;
  margin-right: 10px;
  vertical-align: middle;
}
.head-desk .paper-greeting {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 8px;
}
.head-desk .paper-headline {
  font-size: 17px;
  line-height: 1.45;
  max-width: 42ch;
  color: var(--meta);
  margin: 0;
}
.head-desk .paper-headline a,
.head-desk .paper-headline a:visited { color: var(--meta); }
.head-desk .paper-present { font-size: 13px; color: var(--meta); margin: 8px 0 0; }
.head-desk .paper-section { margin-top: 40px; }
.head-desk .paper-section-title,
.head-desk .paper-exception-coach h2.paper-section-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 550;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.head-desk .paper-hero {
  position: relative;
  margin-top: 28px;
  background: #FBF0E8;
  border: 1px solid var(--border);
  border-left: 4px solid var(--stuck-ink);
  border-radius: 14px;
  padding: 36px 36px 32px;
  box-shadow: 0 1px 2px rgba(27, 36, 48, .05), 0 18px 40px rgba(196, 92, 38, .08);
}
.head-desk .paper-hero-kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stuck-ink);
  margin: 0 0 14px;
}
.head-desk .paper-hero-question,
.head-desk .paper-exception-coach h2.paper-hero-question {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 550;
  font-style: italic;
  line-height: 1.18;
  color: var(--stuck-ink);
  margin: 0 0 20px;
  max-width: 28ch;
  letter-spacing: -0.01em;
}
.head-desk .paper-hero-student { margin: 0 0 28px; max-width: 52ch; font-size: 16px; line-height: 1.55; }
.head-desk .paper-hero-student .k,
.head-desk .so-student-consequence .k {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--meta);
  margin-bottom: 4px;
}
.head-desk .paper-hero-facts {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.head-desk .paper-hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 8.5rem;
  flex: 1 1 8.5rem;
  max-width: 16rem;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}
.head-desk .paper-hero-facts .fk {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--meta);
}
.head-desk .paper-hero-facts .fv {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.head-desk .paper-hero-fact--open {
  border-color: rgba(196, 92, 38, .35);
  background: #FBF0E8;
}
.head-desk .paper-hero-fact--open .fk,
.head-desk .paper-hero-fact--open .fv { color: var(--stuck-ink); }
.head-desk .paper-hero-split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.head-desk .paper-hero-split li {
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  font-size: 15px;
  line-height: 1.45;
}
.head-desk .paper-hero-speaker { font-weight: 600; }
.head-desk .paper-hero-lead {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  max-width: 46ch;
  color: var(--stuck-ink);
}
.head-desk .paper-needs {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 24px;
  box-shadow: 0 1px 2px rgba(27, 36, 48, .04);
}
.head-desk .paper-needs-list { list-style: none; padding: 0; margin: 0; }
.head-desk .paper-needs-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 4px 18px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.head-desk .paper-needs-list li:first-child { border-top: 0; }
.head-desk .paper-need-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--meta);
  padding-top: 4px;
}
.head-desk .paper-need-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 550;
  color: var(--ink);
}
.head-desk .paper-need-why {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.5;
  color: var(--meta);
}
.head-desk .paper-research {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 30px;
  box-shadow: 0 1px 2px rgba(27, 36, 48, .04);
}
.head-desk .paper-research-doctrine {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 64ch;
}
.head-desk .paper-research-shelf {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--moving);
  border-radius: 12px;
  padding: 24px 26px;
  box-shadow: 0 1px 2px rgba(27, 36, 48, .04), 0 12px 32px rgba(27, 36, 48, .06);
}
.head-desk .paper-research-step { margin: 18px 0 6px; }
.head-desk .paper-research-step:first-child { margin-top: 0; }
.head-desk .paper-research-step .rs {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--meta);
}
.head-desk .paper-research-finding {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 8px;
  max-width: 62ch;
}
.head-desk .paper-research-meta { font-size: 13px; line-height: 1.5; color: var(--meta); margin: 0; }
.head-desk .paper-research-tag {
  display: inline-block;
  padding: 2px 9px;
  margin-right: 8px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
}
.head-desk .paper-research-question {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}
.head-desk .paper-research-cant {
  margin: 0;
  padding: 12px 14px;
  background: #F7F3EB;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.5;
  color: var(--meta);
}
.head-desk .paper-focus-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.head-desk .paper-focus-section > .paper-section-title { grid-column: 1 / -1; }
.head-desk .paper-focus {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(27, 36, 48, .04);
  margin: 0;
}
.head-desk .paper-focus-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.head-desk .paper-focus-title,
.head-desk .paper-exception-coach h3.paper-focus-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 550;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.head-desk .paper-status { margin: 0; }
.head-desk .paper-status .foc-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(154, 143, 124, .12);
  color: var(--ink);
  white-space: nowrap;
}
.head-desk .paper-status .foc-state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.head-desk .paper-status .foc-state[data-status="moving"] {
  background: rgba(46, 107, 79, .1);
  color: var(--moving);
}
.head-desk .paper-status .foc-state[data-status="moving"]::before { background: var(--moving); }
.head-desk .paper-status .foc-state[data-status="stuck"] {
  background: rgba(196, 92, 38, .12);
  color: var(--stuck-ink);
}
.head-desk .paper-status .foc-state[data-status="stuck"]::before { background: var(--stuck-ink); }
.head-desk .paper-focus-student { margin: 12px 0 0; font-size: 15px; line-height: 1.5; }
.head-desk .paper-meta { font-size: 13px; color: var(--meta); margin: 12px 0 0; }
.head-desk .paper-dated-list { list-style: none; padding: 0; margin: 0; }
.head-desk .paper-dated-list li {
  display: flex;
  gap: 18px;
  margin-bottom: 14px;
  align-items: baseline;
  font-size: 16px;
  line-height: 1.55;
}
.head-desk .paper-dated-list li:last-child { margin-bottom: 0; }
.head-desk .paper-date {
  min-width: 92px;
  font-variant-numeric: tabular-nums;
  color: #6B5E4E;
  font-size: 13px;
  flex-shrink: 0;
}
.head-desk .paper-away {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--meta);
}
.head-desk .paper-away a,
.head-desk .paper-away a:visited {
  color: var(--meta);
  border-bottom: 1px solid transparent;
}
.head-desk .paper-away a:hover { color: var(--ink); border-bottom-color: var(--border); text-decoration: none; }
.head-desk .paper-empty { font-size: 16px; color: var(--meta); margin: 0; font-style: italic; }
@media (max-width: 900px) {
  .head-desk .paper-hero { padding: 28px 22px 24px; }
  .head-desk .paper-hero-split,
  .head-desk .paper-focus-section { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .head-desk .paper-needs-list li { grid-template-columns: 1fr; gap: 2px; }
  .head-desk .paper-need-why { grid-column: 1; }
  .head-desk .paper-dated-list li { flex-direction: column; gap: 2px; }
  .head-desk .paper-date { min-width: 0; }
}
.is-late { color: #C8102E; font-weight: 600; }

/* Phone: tap targets at least 44px (brief Change 10, 390px check). */
@media (max-width: 600px) {
  .mast .wordmark, .mast .nav-toggle, .mast summary, .mast .nav a, .desk-btn { min-height: 44px !important; height: auto !important; }
  .mast summary, .account summary { min-width: 44px !important; width: auto !important; }
  .mast .wordmark { display: inline-flex; align-items: center; }
}
@media (max-width: 600px) {
  #content select, #content button, #content summary, .chip-row a, .desk-tabs a, .filter-chips a { min-height: 44px; }
}
