/* Week desks. White page, navy for nav and the one button, hairlines, Source Sans 3.
   Sunflower is only a small needs-you fill. Red is only overdue. */

body {
  background: #fff;
  color: #0F1B2D;
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1, h2, h3, .display, .desk-greet {
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mast {
  background: #fff;
  color: #0F1B2D;
  border-bottom: 1px solid #E6E8EC;
}
.wordmark, .wordmark:visited { color: #0F1B2D; font-size: 16px; white-space: nowrap; }
.wordmark::before {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #18305C;
  box-sizing: border-box;
}
.mast-school, .sample-mark { color: #5B6472; }
.nav a, .nav a:visited {
  background: transparent;
  color: #18305C;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.nav a:hover, .nav a.current, .nav a.current:hover {
  background: transparent;
  color: #18305C;
  box-shadow: inset 0 -2px 0 #18305C;
}
.addmenu > summary {
  background: #18305C;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 8px 14px;
}
.account > summary {
  background: #fff;
  color: #18305C;
  border: 1px solid #E6E8EC;
  border-radius: 6px;
}

.desk-sheet { max-width: none; }
.desk-hello { padding: 8px 0 20px; border-bottom: 1px solid #E6E8EC; }
.desk-date, .desk-kicker-plain, .desk-quiet, .desk-note, .desk-legend {
  color: #5B6472;
  font-size: 14px;
}
.desk-greet {
  margin: 4px 0 0;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  color: #0F1B2D;
}
.desk-summary {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.45;
  color: #5B6472;
}
.desk-summary a { color: #5B6472; }

.desk-block {
  padding: 22px 0;
  border-bottom: 1px solid #E6E8EC;
}
.desk-block h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #0F1B2D;
}
.desk-block-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 12px;
}
.desk-block-head a, .desk-away a, .moment-actions a { color: #18305C; }

.desk-split {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 0 40px;
}
.desk-legend { display: flex; gap: 16px; margin: 0; }
.legend-deadlines::before, .legend-today::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  background: #18305C;
  vertical-align: middle;
}
.legend-today::before { width: 2px; height: 12px; }

.year-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 92px;
  margin-top: 8px;
}
.year-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  height: 100%;
}
.year-bar {
  display: block;
  width: 100%;
  max-width: 14px;
  background: #E6E8EC;
  border-radius: 2px 2px 0 0;
}
.year-bar.is-on { background: #18305C; }
.year-col.is-today .year-bar { box-shadow: 0 0 0 1px #18305C; }
.year-month {
  margin-top: 6px;
  font-size: 11px;
  color: #5B6472;
  height: 14px;
}
.year-month.quiet-sm { visibility: hidden; }

.sun-badge {
  display: inline-block;
  background: #FFC933;
  color: #18305C;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
}
.desk-kicker { display: flex; gap: 10px; align-items: center; margin: 0 0 8px; }
.desk-question {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  max-width: 28em;
}
.meet-line {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0 0 12px;
  padding: 18px 0 0;
  border-top: 1px dashed #E6E8EC;
}
.meet-line li {
  position: relative;
  flex: 1;
  font-size: 13px;
  color: #5B6472;
  padding-top: 10px;
}
.meet-line li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #18305C;
}
.meet-line li.is-today { color: #18305C; font-weight: 600; }
.desk-lead, .desk-still { margin: 8px 0; }
.desk-why { margin-top: 8px; }
.desk-why summary { color: #18305C; cursor: pointer; }

.need-rows { list-style: none; margin: 12px 0 0; padding: 0; }
.need-rows li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #E6E8EC;
}
.need-title { margin: 0; font-weight: 600; }
.need-title a { color: #18305C; }
.need-support { margin: 2px 0 0; color: #5B6472; font-size: 14px; }
.is-overdue { color: #C8102E; font-weight: 600; }
.desk-btn {
  display: inline-block;
  border: 1px solid #18305C;
  color: #18305C;
  background: #fff;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.desk-btn.is-navy { background: #18305C; color: #fff; }
.desk-btn.is-navy:visited { color: #fff; }

.desk-priority { padding: 14px 0; border-top: 1px solid #E6E8EC; }
.desk-priority h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.desk-priority h3 a { color: #0F1B2D; text-decoration: none; }
.desk-priority h3 a:hover { color: #18305C; }
.progress-track {
  height: 4px;
  background: #E6E8EC;
  border-radius: 6px;
  margin: 8px 0;
}
.progress-fill {
  display: block;
  height: 100%;
  background: #18305C;
  border-radius: 6px;
}
.foc-state { font-size: 13px; color: #5B6472; }

.prog-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid #E6E8EC;
  text-decoration: none;
  color: inherit;
}
.prog-tag {
  font-size: 13px;
  font-weight: 600;
  color: #18305C;
  min-width: 2.5em;
}
.prog-copy { display: flex; flex-direction: column; flex: 1; }
.prog-title { font-weight: 600; }
.prog-meta { color: #5B6472; font-size: 14px; }

.moment-row { display: flex; gap: 16px; align-items: flex-start; margin-top: 12px; }
.date-block {
  margin: 0;
  min-width: 64px;
  border: 1px solid #E6E8EC;
  border-radius: 6px;
  text-align: center;
  padding: 8px 6px;
}
.date-block span { display: block; color: #5B6472; font-size: 12px; }
.date-block strong { display: block; font-size: 28px; line-height: 1; color: #0F1B2D; }
.moment-name { margin: 0 0 4px; font-weight: 600; }
.moment-name a { color: #18305C; }
.moment-actions { display: flex; gap: 16px; align-items: center; margin-top: 16px; }
.desk-away { padding: 18px 0 8px; color: #5B6472; }

.session-line {
  position: relative;
  height: 88px;
  margin: 28px 8px 8px;
}
.session-rail {
  position: absolute;
  left: 0; right: 0; top: 8px;
  height: 2px;
  background: #E6E8EC;
}
.session-today, .session-mark { position: absolute; top: 0; transform: translateX(-50%); }
.session-dot, .session-today::before {
  display: block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #18305C;
  margin: 4px auto 0;
}
.session-today { color: #18305C; font-size: 12px; font-weight: 600; text-align: center; }
.session-lab { display: block; max-width: 120px; font-size: 12px; color: #5B6472; text-align: center; }
.session-months {
  display: flex;
  justify-content: space-between;
  color: #5B6472;
  font-size: 12px;
  margin: 0;
}

.core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.core-box { padding-top: 8px; }
.core-name { margin: 0 0 6px; font-weight: 600; color: #18305C; }

.dots { display: flex; gap: 4px; margin: 6px 0; }
.dots span {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid #18305C;
  background: #fff;
}
.dots span.is-on { background: #18305C; }
.dot-row { padding: 8px 0; }

.ring-wrap { position: relative; width: 88px; height: 88px; margin: 8px 0; }
.ring-fig {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; color: #0F1B2D;
}

.journey-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 16px 0;
  padding: 16px 0 0;
  border-top: 1px solid #E6E8EC;
}
.journey-dot {
  display: block; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid #18305C; margin-bottom: 8px;
}
.journey-line .is-now .journey-dot { background: #18305C; }
.journey-line .is-done .journey-dot { background: #18305C; }

.desk-tabs { display: flex; gap: 8px; padding: 12px 0; }
.desk-tabs a {
  border: 1px solid #E6E8EC;
  border-radius: 999px;
  padding: 4px 12px;
  color: #18305C;
  text-decoration: none;
  font-size: 14px;
}
.desk-tabs a[aria-current="page"] {
  background: #18305C;
  color: #fff;
  border-color: #18305C;
}

.meet-fold { border-top: 1px solid #E6E8EC; padding: 8px 0; }
.meet-fold summary { cursor: pointer; font-weight: 600; }

/* Classroom focuses: hairline grid, folded until Learn more. */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}
.focus-card { border-top: 1px solid #E6E8EC; padding: 14px 0; background: transparent; }
.focus-title { margin: 0; font-size: 16px; }
.focus-line { color: #5B6472; }
.focus-icon { color: #18305C; }
.focus-more {
  background: transparent;
  border: 0;
  color: #18305C;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.focus-panel { color: #0F1B2D; }

/* Decisions: four hairline columns, no lane colour. */
.decision-count { font-size: 28px; margin-bottom: 8px; }
.decision-lanes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 20px;
  align-items: start;
}
.decision-lane {
  background: transparent;
  border: 0;
  border-top: 1px solid #E6E8EC;
  padding: 12px 0;
  min-width: 0;
}
.decision-lane-head h2 { font-size: 15px; line-height: 1.35; margin: 4px 0 8px; }
.decision-kicker { margin: 0; color: #5B6472; font-size: 12px; }
.decision-empty { color: #5B6472; font-size: 14px; }
.decision-card { border-top: 1px solid #E6E8EC; padding: 8px 0; background: transparent; }
.decision-open {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px 8px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.decision-title { font-weight: 600; }
.decision-status.is-overdue { color: #C8102E; }
.decision-flag {
  display: inline-block;
  background: #FFC933;
  color: #18305C;
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 12px;
  margin-right: 4px;
}
.decision-know, .decision-flags, .decision-dates { grid-column: 1 / -1; color: #5B6472; font-size: 13px; }
.decision-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid #E6E8EC;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; color: #18305C;
}
.decision-log { margin-top: 16px; }
.decision-log summary { color: #18305C; cursor: pointer; }
.decision-panel { padding-top: 8px; }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 16px 0 8px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  border: 1px solid #E6E8EC;
  background: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font: inherit;
  font-size: 14px;
  color: #0F1B2D;
  cursor: pointer;
}
.filter-chip.is-on { border-color: #18305C; color: #18305C; }
.filter-chip[data-filter="needs"]::before,
.filter-chip[data-filter="overdue"]::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  background: #FFC933;
  vertical-align: middle;
}
.filter-chip[data-filter="overdue"]::before { background: #C8102E; }
.group-by { margin-left: auto; color: #5B6472; font-size: 14px; }
.group-by select {
  margin-left: 6px;
  font: inherit;
  color: #0F1B2D;
  border: 1px solid #E6E8EC;
  border-radius: 6px;
  background: #fff;
  padding: 4px 8px;
}
.see-all { margin: 0; color: #5B6472; font-size: 14px; }

.decision-cols, .decision-open.decision-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1.7fr) minmax(150px, 0.9fr) 88px 148px 14px;
  gap: 10px 12px;
  align-items: center;
}
.decision-cols {
  color: #5B6472;
  font-size: 13px;
  padding: 10px 0 6px;
  border-bottom: 1px solid #E6E8EC;
}
.decision-group { padding-top: 8px; }
.group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: center;
  padding: 18px 0 6px;
}
.group-head h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}
.group-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #5B6472;
  font-size: 14px;
  white-space: nowrap;
}
.group-meta .progress-track { width: 72px; margin: 0; }
.group-head .desk-quiet { grid-column: 1 / -1; margin: 0; }
.decision-card { padding: 0; }
.decision-open.decision-row {
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid #E6E8EC;
}
.decision-open.decision-row::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #5B6472;
  border-bottom: 1.5px solid #5B6472;
  transform: rotate(45deg);
  justify-self: end;
}
.decision-card.is-open .decision-open.decision-row::after { transform: rotate(225deg); }
.step-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #18305C;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 4px;
  box-sizing: border-box;
}
.step-ring i {
  display: block;
  border-radius: 50%;
  background: transparent;
}
.step-ring i.is-on { background: #18305C; }
.decision-main { min-width: 0; display: flex; flex-direction: column; }
.decision-title { font-weight: 600; }
.decision-sub { color: #5B6472; font-size: 13px; font-weight: 400; }
.decision-who { display: flex; align-items: center; gap: 8px; font-size: 14px; min-width: 0; }
.decision-avatar.is-empty { border-style: dashed; }
.decision-when { font-size: 14px; color: #5B6472; }
.decision-when.is-overdue, .is-overdue { color: #C8102E; }
.decision-pill {
  justify-self: start;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.decision-pill.is-sun { background: #FFC933; color: #18305C; }
.decision-pill.is-red { color: #C8102E; background: #F8E8EB; }
.decision-pill.is-neutral { color: #5B6472; background: #F3F4F6; }
.decision-panel-body {
  margin: 0 0 12px 40px;
  padding: 4px 0 8px 16px;
  border-left: 2px solid #E6E8EC;
}
.decision-panel-body p { margin: 6px 0; }
.decision-chips { color: #5B6472; font-size: 14px; }
.decision-chips a { color: #18305C; }

.meet-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 0 40px;
}
.agenda-kicker {
  margin: 18px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #5B6472;
}
.agenda-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.8fr) 72px auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #E6E8EC;
}
.agenda-act { color: #5B6472; font-size: 13px; }
.aside-next { margin-top: 22px; }
.meet-past {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid #E6E8EC;
  color: inherit;
  text-decoration: none;
}
.meet-past:hover span:nth-child(2) { color: #18305C; }

@media (max-width: 800px) {
  .desk-split, .core-grid, .decision-lanes, .focus-grid, .journey-line, .meet-layout {
    grid-template-columns: 1fr;
  }
  .decision-cols { display: none; }
  .decision-open.decision-row { grid-template-columns: 28px minmax(0, 1fr); }
  .agenda-row, .meet-past { grid-template-columns: 1fr; }
  .decision-who, .decision-when, .decision-pill { grid-column: 2; }
  .desk-greet { font-size: 32px; }
  .session-lab { display: none; }
  .session-mark:nth-child(odd) .session-lab { display: block; }
}
/* One row, Claude's scale, about 1040px of content. */
.mast-inner, .wrap {
  max-width: 1040px;
  padding-left: 0;
  padding-right: 0;
}
.mast-inner {
  flex-wrap: nowrap;
  gap: 10px 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.mast-end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: none;
}
.nav {
  flex: 1 1 auto;
  order: 0;
  flex-wrap: nowrap;
  gap: 2px;
  min-width: 0;
  font-size: 15px;
}
.nav a, .nav a:visited {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 15px;
  border: 0;
  background: transparent;
}
.viewmenu > summary {
  min-height: 36px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #5B6472;
  font-size: 13px;
  font-weight: 500;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.quiet-footer { margin-top: 20px; }
.quiet-footer p, .quiet-footer .demo-readonly { font-size: 12px; color: #5B6472; }

.desk-hello { padding: 2px 0 8px; border-bottom: 0; }
.desk-date, .desk-quiet, .desk-note, .need-support, .prog-meta, .desk-summary {
  font-size: 13px;
}
.desk-summary { font-size: 16px; margin-top: 6px; max-width: none; }
.desk-priority { padding: 8px 0 10px; }
.desk-priority h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.desk-priority .desk-quiet {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: none;
}
.desk-progress-row { display: flex; gap: 8px; align-items: baseline; margin: 0; }
.head-main { min-width: 0; }
.need-title, .desk-priority h3, .desk-block h2, .group-head h2 { font-size: 16px; }
.desk-block { padding: 14px 0; }

.head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.85fr);
  gap: 4px 32px;
  align-items: start;
}
.question-card {
  grid-column: 1;
  border: 1px solid #E6E8EC;
  border-radius: 6px;
  padding: 14px 16px 10px;
}
.needs-block { grid-column: 1; padding-top: 8px; }
.needs-block h2, .priorities-compact h2 { margin: 0; font-size: 16px; font-weight: 600; }
.priorities-compact { grid-column: 2; grid-row: 1 / span 2; }
.need-rows li { padding: 8px 0; }
.card-actions, .desk-links { display: flex; gap: 14px; align-items: center; margin: 8px 0 0; }
.text-link {
  background: none;
  border: 0;
  padding: 0;
  color: #18305C;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fold { margin-top: 8px; }
.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(440px, 100%);
  height: 100vh;
  overflow: auto;
  background: #fff;
  border-left: 1px solid #E6E8EC;
  padding: 20px 22px 48px;
  box-shadow: -12px 0 32px rgba(15, 27, 45, 0.08);
}
.side-panel[hidden] { display: none; }
.side-panel .focus-grid { grid-template-columns: 1fr; gap: 12px; }
.side-panel .focus-card { border: 0; padding: 0; background: transparent; }
.side-panel .focus-face {
  border: 1px solid #E6E8EC;
  border-radius: 6px;
  padding: 14px;
  background: #fff;
}
.side-panel .focus-title { font-size: 18px; }
.side-panel .focus-more {
  display: flex;
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  padding: 10px 14px;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px;
  background: #18305C;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.side-panel .focus-card.is-open .focus-panel {
  margin-top: 8px;
  padding: 14px;
  border-radius: 6px;
  background: #E7EEF6;
}
.side-panel .focus-card:nth-child(4n+2).is-open .focus-panel { background: #F8F1D4; }
.side-panel .focus-card:nth-child(4n+3).is-open .focus-panel { background: #E5F0EA; }
.side-panel .focus-card:nth-child(4n).is-open .focus-panel { background: #F6E8EA; }

.session-line { height: 172px; margin: 4px 0 0; }
.session-months {
  position: absolute;
  left: 0;
  right: 0;
  top: 78px;
  display: block;
  height: 16px;
  max-width: none;
  margin: 0;
}
.session-months span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 12px;
  line-height: 1;
  color: #5B6472;
}
.session-months span.is-start { transform: none; }
.session-months span.is-end { transform: translateX(-100%); }
.session-rail { top: 98px; }
.session-today {
  top: 0;
  width: auto;
  white-space: nowrap;
  font-size: 12px;
}
.session-today::before { display: none; }
.session-today::after {
  content: "";
  display: block;
  width: 2px;
  height: 94px;
  margin: 2px auto 0;
  background: #18305C;
}
.session-mark { top: 92px; width: 270px; }
.session-dot { margin: 0 auto; }
.session-lab {
  width: 270px;
  max-width: 270px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  color: #5B6472;
  white-space: normal;
}
.session-name {
  display: block;
  max-height: 2.5em;
  overflow: hidden;
}
.session-when { display: block; }
.session-mark.is-above .session-lab {
  position: absolute;
  left: 0;
  width: 270px;
  bottom: 36px;
  margin-top: 0;
}

.filter-seg {
  display: inline-flex;
  border: 1px solid #E6E8EC;
  border-radius: 8px;
  overflow: hidden;
}
.filter-seg .filter-chip {
  border: 0;
  border-radius: 0;
  border-right: 1px solid #E6E8EC;
  background: #fff;
}
.filter-seg .filter-chip:last-child { border-right: 0; }
.filter-seg .filter-chip.is-on {
  background: #0F1B2D;
  color: #fff;
}

@media (max-width: 800px) {
  .head-grid { grid-template-columns: 1fr; }
  .question-card, .needs-block, .priorities-compact {
    grid-column: 1;
    grid-row: auto;
  }
  .mast-inner { flex-wrap: wrap; }
  .nav { flex: 1 0 100%; order: 8; }
}
@media (max-width: 640px) {
  .mast-inner, .wrap { padding-left: 16px; padding-right: 16px; }
  .viewmenu { display: block; }
  .session-mark { width: 96px; }
  .session-lab { display: block; width: 96px; max-width: 96px; }
  .head-desk .meet-line,
  .head-desk .question-card > .desk-lead,
  .head-desk .question-card > .desk-quiet { display: none; }
  .head-desk .question-card { padding: 8px 0; }
  .head-desk .desk-question { font-size: 22px; margin-bottom: 6px; }
  .head-desk .need-rows li { padding: 6px 0; }
  .head-desk .need-support {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 420px) {
  .desk-greet { font-size: 28px; }
  .desk-question { font-size: 22px; }
  .year-month { font-size: 0; }
  .year-col.is-today .year-month,
  .year-col:first-child .year-month,
  .year-col:nth-child(6n) .year-month { font-size: 10px; }
  .meet-line { flex-wrap: wrap; }
  .mast-inner { flex-wrap: wrap; }
}

.welcome {
  margin: 0 0 28px;
  padding: 24px;
  border-radius: 10px;
  background: #EAEFF7;
}
.welcome-top { display: flex; gap: 20px 32px; align-items: flex-start; justify-content: space-between; }
.welcome-eyebrow { margin: 0; font-size: 14px; color: #18305C; }
.welcome h2 { margin: 4px 0 0; font-size: 26px; line-height: 1.2; font-weight: 600; color: #0F1B2D; }
.welcome-sub { margin: 6px 0 0; color: #5B6472; }
.welcome-cta { display: flex; flex-direction: row; align-items: center; gap: 16px; flex: none; }
.welcome-look {
  border: 0;
  background: none;
  color: #18305C;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.welcome-days {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #D6DEEA;
  list-style: none;
}
.welcome-days li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; padding-right: 12px; }
.welcome-days li + li { padding-left: 16px; border-left: 1px solid #D6DEEA; }
.welcome-days b {
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #fff;
  color: #18305C;
  font-size: 14px;
}
.welcome-days span { font-weight: 600; }
.welcome-days small { color: #5B6472; }
.welcome-byline {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  width: 100%;
  max-width: none;
  margin: 16px 0 0;
  color: #5B6472;
  font-size: 14px;
}
.welcome-who { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.welcome-ib { white-space: nowrap; }
.welcome-face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 50%;
  background: #18305C;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.welcome-title-short, .welcome-sub-short, .next-short, .wm-short { display: none; }
.welcome-line { margin: 0 0 20px; }
.welcome-line button {
  border: 0;
  background: none;
  padding: 0;
  color: #18305C;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
#welcome-line { display: none; }
.welcome-collapsed #welcome-strip { display: none; }
.welcome-collapsed #welcome-line { display: block; }
.next-chip {
  display: inline-block;
  margin: 12px 0 0;
  padding: 8px 12px;
  border-radius: 6px;
  background: #F6F7F9;
  font-size: 14px;
}
.ring-caption { margin: 8px 0 0; font-weight: 600; }
.tour-spot { outline: 2px solid #18305C; outline-offset: 4px; border-radius: 6px; }
.tour-pop {
  position: fixed;
  z-index: 60;
  width: min(320px, calc(100vw - 16px));
  padding: 14px 14px 12px;
  border-radius: 10px;
  background: #0F1B2D;
  color: #fff;
  box-shadow: 0 12px 32px rgba(15, 27, 45, 0.18);
}
.tour-pop[hidden] { display: none; }
.tour-pop::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #0F1B2D;
  transform: rotate(45deg);
}
.tour-pop[data-side="below"]::before { top: -5px; left: var(--arrow, 24px); }
.tour-pop[data-side="above"]::before { bottom: -5px; left: var(--arrow, 24px); }
.tour-pop[data-side="side"]::before,
.tour-pop[data-side="left"]::before { right: -5px; top: var(--arrow-y, 24px); left: auto; }
.tour-pop[data-side="right"]::before { left: -5px; top: var(--arrow-y, 24px); right: auto; }
.tour-pop[data-side="pinned"]::before { content: none; }
.tour-pop.is-friday { width: min(420px, calc(100vw - 16px)); }
.tour-step { margin: 0; font-size: 12px; color: #C9D1DE; }
.tour-title { margin: 6px 0 0; font-weight: 600; }
.tour-pop p { margin: 6px 0 0; }
.tour-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin-top: 12px; }
.tour-dots { display: inline-flex; gap: 5px; margin-right: auto; }
.tour-dots i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #3D4C63; }
.tour-dots i.is-on { background: #fff; }
.tour-next.is-long {
  max-width: none;
  height: 34px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}
.tour-next {
  display: inline-flex;
  align-items: center;
  height: 34px;
  min-height: 34px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #0F1B2D;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.tour-end {
  border: 0;
  background: none;
  margin: 0;
  min-height: 0;
  padding: 0;
  color: #C9D1DE;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.pilot-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(880px, calc(100vw - 32px));
  transform: translateX(-50%);
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #E6E8EC;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(15, 27, 45, 0.12);
}
.pilot-bar[hidden] { display: none; }
.pilot-copy { margin: 0; color: #5B6472; font-size: 14px; }
.pilot-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.pilot-x {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid #E6E8EC;
  border-radius: 6px;
  background: #fff;
  color: #5B6472;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.pilot-btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  background: #18305C;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.pilot-btn:link, .pilot-btn:visited, .pilot-btn:hover, .pilot-btn:focus, .pilot-btn:focus-visible, .pilot-btn:active { color: #fff; }
.wait-line { margin-top: 12px; padding-top: 12px; border-top: 1px solid #E6E8EC; }
@media (max-width: 639px) {
  .pilot-bar {
    left: auto;
    right: 16px;
    width: auto;
    transform: none;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .pilot-copy { display: none; }
}

body.pilot-open,
body:has(#pilot-bar) { padding-bottom: 112px; }

.desk-disclosure,
.desk-disclosure:hover,
.desk-disclosure:focus {
  text-decoration: none;
}
.desk-disclosure::after {
  content: " ▾";
  font-weight: 600;
}

.first-screen {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 400px);
  gap: 4px 28px;
  align-items: start;
  margin: 0 0 8px;
}
.first-screen .desk-block { padding-top: 0; }
.first-screen .needs-block { grid-column: 2; grid-row: 1; padding-top: 0; }
.first-screen .session-block { grid-column: 1; min-width: 0; }
.first-screen .session-line { height: 168px; }
.first-screen .session-months { top: 0; height: 16px; }
.first-screen .session-rail { top: 58px; }
.first-screen .session-today { top: 28px; }
.first-screen .session-today::after { height: 12px; margin-top: 2px; }
.first-screen .session-mark { top: 52px; width: 148px; }
.first-screen .session-lab,
.first-screen .session-mark.is-above .session-lab {
  position: static;
  width: 148px;
  max-width: 148px;
  bottom: auto;
}
.first-screen .session-name {
  max-height: none;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.first-screen .session-when { white-space: nowrap; }
.first-screen .session-mark.is-above .session-lab { margin-top: 44px; }
.first-screen .session-mark:not(.is-above) .session-lab { margin-top: 4px; }
.first-screen .need-rows { margin-top: 4px; }
.first-screen .next-chip { margin-top: 8px; }

@media (max-width: 900px) {
  .welcome-byline { flex-wrap: wrap; }
  .welcome-ib { white-space: normal; }
}

@media (max-width: 800px) {
  .first-screen { grid-template-columns: 1fr; }
  .first-screen .session-block,
  .first-screen .needs-block { grid-column: 1; grid-row: auto; }
}

@media (max-width: 640px) {
  body.pilot-open,
  body:has(#pilot-bar) { padding-bottom: 88px; }
  .tour-pop.is-friday .tour-row { flex-wrap: wrap; }
  .question-card .desk-kicker {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .question-card .sun-badge { white-space: nowrap; }
  .welcome {
    margin: 0 0 8px;
    padding: 10px 12px;
  }
  .welcome-eyebrow { display: none; }
  .welcome-title-full, .welcome-sub-full { display: none; }
  .welcome-title-short, .welcome-sub-short { display: inline; }
  .welcome-sub { display: block; margin-top: 4px; font-size: 14px; }
  .welcome h2 {
    font-size: 16px;
    line-height: 1.3;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .welcome-top { display: block; }
  .welcome-cta { margin-top: 8px; gap: 10px; }
  .welcome-cta .desk-btn { flex: 1; text-align: center; }
  .welcome-days {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0 0;
    padding: 8px 0 0;
  }
  .welcome-days li,
  .welcome-days li + li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .welcome-days b {
    width: 36px;
    height: 22px;
    flex: none;
    border-radius: 6px;
    font-size: 12px;
  }
  .welcome-days span {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .welcome-days small { display: none; }
  .welcome-byline { margin: 8px 0 0; font-size: 12px; gap: 4px 8px; flex-wrap: wrap; }
  .welcome-face { width: 22px; height: 22px; font-size: 10px; }
  .welcome-who { flex: 1 1 auto; min-width: 0; white-space: nowrap; }
  .welcome-ib { flex: 1 1 100%; white-space: normal; }
  .session-months span.is-skip { display: none; }
  .first-screen .session-line { height: 118px; }
  .first-screen .session-months { top: 0; }
  .first-screen .session-rail { top: 40px; }
  .first-screen .session-today { top: 16px; }
  .first-screen .session-today::after { height: 10px; margin-top: 2px; }
  .first-screen .session-mark { top: 34px; width: 72px; }
  .first-screen .session-name { display: none; }
  .first-screen .session-lab,
  .first-screen .session-mark.is-above .session-lab {
    width: 72px;
    max-width: 72px;
    font-size: 11px;
  }
  .first-screen .session-mark.is-above .session-lab { margin-top: 28px; }
  .next-full { display: none; }
  .next-short { display: inline; }
  .first-screen .next-chip {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    white-space: normal;
  }
  .mast-inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .mast .wordmark {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
  }
  .mast-end {
    order: 2;
    margin-left: auto;
    gap: 6px;
  }
  .nav-toggle {
    order: 3;
    margin-left: 0;
    min-height: 36px;
    padding: 0 10px;
  }
  .mast-inner .nav { order: 4; }
  .mast-inner .viewmenu { display: none; }
  .mast-end .addmenu > summary,
  .mast-end .account summary,
  .mast .nav-toggle {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    margin: 0;
    padding: 0 10px;
    font-size: 13px;
    line-height: 1;
  }
  .mast-end .account summary {
    width: 36px;
    min-width: 36px;
    padding: 0;
  }
  .mast-end { align-items: center; }
}

@media (max-width: 399px) {
  .mast .wordmark { position: relative; overflow: visible; text-overflow: clip; flex: 0 0 auto; }
  .wm-long { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .wm-short { display: inline; }
}

@media (max-width: 640px) {
  .mast-inner:has(.nav-toggle[aria-expanded="true"]) {
    flex-wrap: wrap;
  }
}

.welcome-volunteer { margin: 12px 0 0; max-width: none; }
.welcome-volunteer-link { color: #18305C; font-weight: 600; font-size: 14px; }
.welcome-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.welcome-collapsed #welcome-line { display: flex; }
.welcome-line button { margin: 0; min-height: 0; }

.vol {
  max-width: 40rem;
  margin: 0 auto;
  padding: 28px 20px 64px;
}
.vol-mast { padding-top: 8px; }
.vol h1 {
  margin: 18px 0 14px;
  max-width: none;
  font-family: var(--font-display);
  font-size: var(--type-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.vol h2 { margin: 22px 0 8px; }
.vol p, .vol li { max-width: none; }
.vol-promise {
  background: #EAEFF7;
  border-radius: 6px;
  padding: 16px 18px;
  margin: 0 0 16px;
}
.vol-promise p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}
.vol-points, .vol-back { margin: 0 0 8px; padding-left: 1.2em; }
.vol-points li, .vol-back li { margin: 8px 0; }
.vol-ten { color: #5B6472; }
.vol-form { margin-top: 8px; }
.vol label.field { display: block; margin: 16px 0 6px; font-weight: 600; }
.vol .vol-hint { font-weight: 400; color: #5B6472; font-size: 13px; }
.vol input[type="email"] {
  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);
  font-size: var(--type-body);
}
.vol .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0;
  font-weight: 400;
  max-width: none;
}
.vol .check input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.vol .field-error { margin: 4px 0 0; font-weight: 600; max-width: none; }
.vol button[type="submit"] { margin: 18px 0 0; }
.vol-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.vol-data, .vol-thanks { margin-top: 18px; }
@media (max-width: 640px) {
  .vol { padding: 20px 16px 48px; }
  .vol h1 { font-size: var(--type-display-phone); }
}

/* Development plan tab. Scoped so the global button margin and fill stay off it.
   Sunflower is only the needs-a-decision chip. Red is only the overdue date and chip. */
.pdp { margin-top: 4px; }
.pdp p, .pdp li { max-width: none; }
.pdp button {
  margin: 0;
  min-height: 36px;
  font-family: inherit;
  cursor: pointer;
}
.pdp-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 4px 0 12px;
}
.pdp-seg {
  display: inline-flex;
  border: 1px solid #E6E8EC;
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}
.pdp-seg button {
  border: 0;
  background: transparent;
  color: #18305C;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
}
.pdp-seg button[aria-pressed="true"] {
  background: #18305C;
  color: #fff;
}
.pdp-text {
  border: 0;
  background: transparent;
  color: #18305C;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pdp-secondary {
  border: 1px solid #18305C;
  background: #fff;
  color: #18305C;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
}
.own-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
}
.own-note { margin: 0; max-width: 36em; }
.own-note[hidden] { display: none; }
.pdp button.is-locked {
  color: #5B6472;
  gap: 6px;
}
.pdp button.is-locked svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.pdp button.pdp-text.is-locked {
  border: 0;
  background: transparent;
  padding: 0;
  text-decoration: none;
}
.pdp button.pdp-text.is-locked .own-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pdp button.pdp-secondary.is-locked,
.pdp button.desk-btn.is-locked {
  background: #fff;
  border: 1px solid #E6E8EC;
  color: #5B6472;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.pdp button.desk-btn.is-locked { min-height: 0; }
.pdp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.pdp-note, .pdp-fine, .pdp-kicker, .pdp-links, .pdp-sub { color: #5B6472; }
.pdp-kicker { font-size: 14px; }
.pdp-q {
  margin: 6px 0 8px;
  max-width: 28em;
  font-size: 26px;
  line-height: 1.25;
}
.pdp-chip {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #18305C;
  background: transparent;
}
.pdp-chip.is-quiet { color: #5B6472; }
.pdp-chip.is-overdue { color: #C8102E; background: transparent; }
.pdp-chip.is-you {
  margin-left: 0;
  background: #FFC933;
  color: #0F1B2D;
}
.pdp-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 16px;
  border-top: 1px solid #E6E8EC;
  border-bottom: 1px solid #E6E8EC;
  padding: 14px 0;
  margin: 16px 0;
}
.pdp-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.pdp-stat span { color: #5B6472; font-size: 13px; }
.pdp-blocker {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid #E6E8EC;
  border-radius: 6px;
  padding: 14px 16px;
  margin: 0 0 8px;
}
.pdp-blocker > div { flex: 1 1 auto; min-width: 0; }
.pdp-blocker > a { flex: none; }
.pdp-block-title { margin: 8px 0 4px; font-weight: 600; }
.pdp-block-note {
  margin: 0;
  color: #5B6472;
  font-size: 14px;
  white-space: normal;
  overflow-wrap: break-word;
}
.pdp-block-note + .pdp-block-note { margin-top: 6px; }
.pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
.pdp-part { border-top: 1px solid #E6E8EC; padding: 16px 0; }
.pdp-part-head { display: flex; gap: 8px; align-items: baseline; }
.pdp-part h3 { margin: 0; font-size: 18px; }
.pdp-n { color: #18305C; font-weight: 600; }
.pdp-h { margin: 16px 0 6px; font-size: 15px; }
.pdp-facts { margin: 0; }
.pdp-facts dt { font-weight: 600; margin-top: 10px; }
.pdp-facts dd { margin: 2px 0 0; }
.pdp-practices, .pdp-ev, .pdp-decs, .pdp-ready, .pdp-five {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pdp-practices li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid #E6E8EC;
}
.pdp-code { font-weight: 600; color: #18305C; }
.pdp-measure { padding: 8px 0; border-top: 1px solid #E6E8EC; }
.pdp-measure-title { margin: 0 0 4px; font-weight: 600; }
.pdp-big { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.1; }
.pdp-track {
  position: relative;
  height: 6px;
  margin: 8px 0;
  background: #E6E8EC;
  border-radius: 6px;
}
.pdp-track i {
  display: block;
  height: 6px;
  background: #18305C;
  border-radius: 6px;
}
.pdp-track b {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 12px;
  background: #0F1B2D;
}
.pdp-ev li, .pdp-decs li { padding: 4px 0; }
.pdp-decs li span { display: block; color: #5B6472; font-size: 14px; }
.pdp-pending { color: #5B6472; }
.pdp-act { border-top: 1px solid #E6E8EC; }
.pdp-act summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 0;
  cursor: pointer;
  list-style: none;
}
.pdp-act summary::-webkit-details-marker { display: none; }
.pdp-act-title { display: block; font-weight: 600; }
.pdp-act-meta { display: block; color: #5B6472; font-size: 14px; }
.pdp-mdate { display: none; }
.pdp-when.is-overdue { color: #C8102E; font-weight: 600; }
.pdp-act-body { padding: 0 0 12px; }
.pdp-check { display: flex; gap: 16px; align-items: flex-start; }
.pdp-tile {
  flex: none;
  width: 64px;
  text-align: center;
  border: 1px solid #E6E8EC;
  border-radius: 6px;
  overflow: hidden;
}
.pdp-tile span {
  display: block;
  background: #18305C;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.pdp-tile strong { display: block; font-size: 22px; padding: 4px 0 6px; }
.pdp-prompts { flex: 1; min-width: 0; }
.pdp-prompts label { display: block; font-weight: 600; margin: 0 0 10px; }
.pdp-prompts textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 4px;
  border: 1px solid #E6E8EC;
  border-radius: 6px;
  padding: 8px;
  font: inherit;
  color: #5B6472;
  background: #fff;
  resize: vertical;
}
.pdp-side section { border-top: 1px solid #E6E8EC; padding: 12px 0; }
.pdp-side h2 { margin: 0 0 8px; font-size: 16px; }
.pdp-ready li, .pdp-five li { display: flex; gap: 8px; padding: 6px 0; }
.pdp-ready small, .pdp-five span { display: block; color: #5B6472; font-size: 13px; font-weight: 400; }
.pdp-st {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  border: 2px solid #18305C;
  box-sizing: border-box;
}
.pdp-st.is-done { background: #18305C; }
.pdp-st.is-part { background: transparent; }
.pdp-st.is-wait { border-color: #5B6472; }
.pdp-st.is-late { border-color: #18305C; }
.pdp-empty {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #E6E8EC;
  border-radius: 6px;
}
.pdp-five { display: block; }
.pdp-five li { display: block; }
.pdp-five strong { display: block; }

@media (max-width: 1000px) {
  .pdp-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pdp-q { font-size: 22px; }
  .pdp-head { flex-direction: column; }
  .pdp-bar { flex-direction: column; align-items: stretch; }
  .pdp-seg { display: flex; width: 100%; }
  .pdp-seg button { flex: 1; }
  .pdp-strip { grid-template-columns: 1fr 1fr; }
  .pdp-stat strong { font-size: 24px; }
  .pdp-blocker { flex-direction: column; align-items: flex-start; }
  .pdp-practices li { grid-template-columns: 88px minmax(0, 1fr); }
  .pdp-practices li a { grid-column: 2; }
  .pdp-act summary { grid-template-columns: minmax(0, 1fr) auto; }
  .pdp-when { display: none; }
  .pdp-mdate { display: inline; }
  .pdp-check { flex-direction: column; }
}

/* PDP first screen. White, ink, navy, grey, hairline. Sunflower is only Needs you. Red is only overdue. */
.progrow {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 44px;
  border-bottom: 1px solid #E6E8EC;
}
.prog-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}
.progrow .desk-tabs { gap: 22px; padding: 0; }
.progrow .desk-tabs a {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5B6472;
  padding: 10px 0 8px;
  border-bottom: 2px solid transparent;
}
.progrow .desk-tabs a[aria-current="page"] {
  background: transparent;
  color: #0F1B2D;
  font-weight: 600;
  border-color: transparent;
  border-bottom-color: #18305C;
}
.pdp-v2 { margin-top: 8px; color: #0F1B2D; }
.pdp-v2 .eyebrow { margin: 0; font-size: 14px; color: #5B6472; }
.pdp-v2 .plan-switch button {
  display: inline;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #18305C;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pdp-v2 .plan-switch button[aria-pressed="true"] {
  color: #0F1B2D;
  text-decoration: none;
  cursor: default;
}
.pdp-v2 .plan-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 8px;
}
.pdp-v2 .plan-title {
  margin: 2px 0 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pdp-v2 .plan-q {
  margin: 4px 0 0;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.35;
  color: #5B6472;
}
.pdp-v2 .plan-meta {
  flex: none;
  margin: 0;
  text-align: right;
  font-size: 14px;
  line-height: 1.45;
  color: #5B6472;
}
.pdp-v2 .plan-meta strong { font-weight: 600; color: #0F1B2D; }
.pdp-v2 .parts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.pdp-v2 .parts > li { position: relative; display: flex; min-width: 0; }
.pdp-v2 .parts > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -17px;
  width: 18px;
  height: 2px;
  background: #E6E8EC;
}
.pdp-v2 .parts > li.link-done::after { background: #18305C; }
.pdp-v2 button.part,
.pdp-v2 button.measure,
.pdp-v2 button.card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  min-height: 0;
  margin: 0;
  border: 1px solid #E6E8EC;
  border-radius: 6px;
  background: #fff;
  color: #0F1B2D;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}
.pdp-v2 button.part:hover,
.pdp-v2 button.measure:hover,
.pdp-v2 button.card:hover { border-color: #18305C; }
.pdp-v2 button.part { flex: 1; min-height: 104px; padding: 12px 12px 12px; }
.pdp-v2 .part-top { display: flex; align-items: center; gap: 8px; }
.pdp-v2 .part-n { font-size: 12px; color: #5B6472; }
.pdp-v2 .part-top .flag { margin-left: auto; }
.pdp-v2 .part-title { display: block; margin-top: 8px; font-size: 16px; font-weight: 600; line-height: 1.25; }
.pdp-v2 .part-status { display: block; margin-top: 4px; font-size: 14px; color: #5B6472; }
.pdp-v2 .ring { width: 24px; height: 24px; flex: none; display: block; }
.pdp-v2 .late { color: #C8102E; font-weight: 600; }
.pdp-v2 .chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.pdp-v2 .chip-you { background: #FFC933; color: #18305C; }
.pdp-v2 .chip-late { box-shadow: inset 0 0 0 1px #C8102E; color: #C8102E; }
.pdp-v2 .chip-moving { box-shadow: inset 0 0 0 1px #18305C; color: #18305C; }
.pdp-v2 .chip-quiet { box-shadow: inset 0 0 0 1px #E6E8EC; color: #5B6472; }
.pdp-v2 button.measure {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 10px;
  padding: 14px 18px;
}
.pdp-v2 .m-label { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.pdp-v2 .m-value { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; }
.pdp-v2 .big { font-size: 40px; line-height: 1; font-weight: 600; color: #18305C; letter-spacing: -0.02em; }
.pdp-v2 .m-sub { font-size: 14px; color: #5B6472; }
.pdp-v2 .track-wrap { position: relative; display: block; padding: 20px 0 18px; }
.pdp-v2 .track { position: relative; display: block; height: 12px; border-radius: 6px; background: #E6E8EC; }
.pdp-v2 .track .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: #18305C; }
.pdp-v2 .track .aim { position: absolute; left: 80%; top: -6px; width: 2px; height: 24px; margin-left: -1px; background: #0F1B2D; }
.pdp-v2 .t-label { position: absolute; top: 0; font-size: 14px; white-space: nowrap; }
.pdp-v2 .t-label.now { left: 68%; transform: translateX(-50%); color: #18305C; font-weight: 600; }
.pdp-v2 .t-label.aim-l { left: 80%; transform: translateX(-8px); color: #0F1B2D; }
.pdp-v2 .scale { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font-size: 12px; color: #5B6472; }
.pdp-v2 .next-read { display: block; margin-top: 2px; font-size: 14px; color: #5B6472; }
.pdp-v2 .act-head { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; }
.pdp-v2 .act-head h2 { margin: 0; font-size: 18px; font-weight: 600; }
.pdp-v2 .act-head .sum { font-size: 14px; color: #5B6472; }
.pdp-v2 .act-head .add,
.pdp-v2 .act-head .own-wrap { margin-left: auto; }
.pdp-v2 button.add,
.pdp-v2 button.add.is-locked {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #18305C;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pdp-v2 .cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.pdp-v2 .cards > li { display: flex; min-width: 0; }
.pdp-v2 button.card {
  position: relative;
  min-height: 112px;
  padding: 12px 12px 12px 16px;
  overflow: hidden;
}
.pdp-v2 button.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #5B6472;
}
.pdp-v2 button.card.s-late::before { background: #C8102E; }
.pdp-v2 button.card.s-moving::before { background: #18305C; }
.pdp-v2 .c-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pdp-v2 .c-owner { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; }
.pdp-v2 .av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #E6E8EC;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  color: #18305C;
}
.pdp-v2 .c-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.pdp-v2 .c-date { font-size: 14px; color: #0F1B2D; }
.pdp-v2 .c-date.late { color: #C8102E; font-weight: 600; }
.pdp-v2 .c-date.none { color: #5B6472; }
.pdp-v2 .foot-note { margin: 6px 0 0; font-size: 12px; color: #5B6472; }
.pdp-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(15, 27, 45, 0.32);
}
.pdp-scrim[hidden] { display: none; }
.pdp-drawer .d-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pdp-drawer .d-title { margin: 4px 0 0; font-size: 26px; line-height: 1.2; }
.pdp-drawer .d-body { margin-top: 16px; }
.pdp-drawer .d-body h3 { margin: 16px 0 0; font-size: 14px; font-weight: 600; color: #5B6472; }
.pdp-drawer .d-body p { margin: 6px 0 0; }
.pdp-drawer .d-list { margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid #E6E8EC; }
.pdp-drawer .d-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #E6E8EC;
}
.pdp-drawer .d-list .code { font-weight: 600; color: #18305C; }
.pdp-drawer .close {
  min-height: 32px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #E6E8EC;
  border-radius: 6px;
  background: #fff;
  color: #0F1B2D;
  font-size: 14px;
}
.pdp-drawer .d-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pdp-v2 .pdp-empty { color: #5B6472; }
.pdp-v2 .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media (max-width: 760px) {
  .progrow { gap: 16px; overflow-x: auto; }
  .pdp-v2 .plan-head { flex-direction: column; align-items: flex-start; }
  .pdp-v2 .plan-meta { text-align: left; }
  .pdp-v2 .parts {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }
  .pdp-v2 .parts > li { flex: 0 0 210px; scroll-snap-align: start; }
  .pdp-v2 .parts > li::after { display: none; }
  .pdp-v2 button.measure { grid-template-columns: 1fr; gap: 8px; }
  .pdp-v2 .t-label.now { display: none; }
  .pdp-v2 .cards { grid-template-columns: 1fr; }
}

/* 1440×900 holds the mast, the one-line welcome reminder, the plan and
   the footer without a scrollbar. #pilot-bar is in the DOM while hidden,
   and body:has(#pilot-bar) would still reserve its space; only an open bar
   needs that padding. The id inside :has() is what makes this win. */
body:has(#pilot-bar):has(.pdp-v2) { padding-bottom: 0; }
body:has(#pilot-bar:not([hidden])):has(.pdp-v2) { padding-bottom: 112px; }
body:has(.pdp-v2) .wrap { padding-top: 12px; padding-bottom: 8px; }
html.welcome-collapsed:has(.pdp-v2) .welcome-line { margin-bottom: 0; }
body:has(.pdp-v2) .quiet-footer { margin-top: 8px; }
body:has(.pdp-v2) .quiet-footer p,
body:has(.pdp-v2) .quiet-footer .demo-readonly { margin: 0 0 2px; line-height: 1.35; }

/* ==========================================================================
   Four-colour rule (developer brief, 19 Oct 2026). Harbour demo only:
   İSTEK loads tokens.css and coordinator.css but not this file, so these
   overrides never reach /istek/.
     Red     late. Overdue text and the Overdue pill, nothing else.
     Yellow  needs your decision. The one thing the viewer must act on.
     Navy    normal or done. Text, filled progress, primary buttons.
     Grey    neutral status. Every other pill: Moving, Not started, Waiting.
   ========================================================================== */
:root {
  --moving: #18305C;          /* moving is normal: navy */
  --stuck: #5B6472;           /* stalled is a status, not an alarm: grey */
  --stuck-ink: #5B6472;
  --lane-ib: #18305C;         /* year rows are told apart by shape, not hue */
  --lane-internal: #18305C;
  --lane-dp1: #18305C;
  --lane-dp2: #18305C;
  --lane-myp: #18305C;
  --lane-internal-tint: #F3F4F6;
  --lane-head-tint: #F3F4F6;
  --clash-band: rgba(255, 201, 51, 0.28); /* a clash week needs a decision: yellow */
  --bar-track: #E6E8EC;
  --bar-quiet-line: #7A828E;
}

/* Development plan */
.pdp-v2 button.card::before { display: none; }
.pdp-v2 button.card { padding-left: 12px; }
.pdp-v2 .chip-late { background: #C8102E; box-shadow: none; color: #FFFFFF; }
.pdp-v2 .chip-moving,
.pdp-v2 .chip-quiet { background: transparent; box-shadow: inset 0 0 0 1px #8A93A0; color: #4A5260; }
.pdp-v2 button.measure {
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  margin-top: 14px;
  padding: 20px 22px;
}
.pdp-v2 .m-label { font-size: 17px; }
.pdp-v2 .m-value { gap: 16px; margin-top: 6px; align-items: center; }
.pdp-v2 .big { font-size: 72px; letter-spacing: -0.03em; }
.pdp-v2 .m-sub { line-height: 1.4; }
.pdp-v2 .m-now { color: #18305C; font-weight: 600; }
.pdp-v2 .track { height: 16px; border-radius: 8px; }
.pdp-v2 .track .fill { border-radius: 8px; }
.pdp-v2 .track .aim { top: -6px; height: 28px; }
.pdp-v2 .tracker {
  margin-top: 12px;
  border: 1px solid #E6E8EC;
  border-radius: 8px;
  background: #FFFFFF;
}
.pdp-v2 .tracker > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: #0F1B2D;
}
.pdp-v2 .tracker > summary::-webkit-details-marker { display: none; }
.pdp-v2 .tracker > summary::marker { content: ""; }
.pdp-v2 .tr-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pdp-v2 .tr-more { margin-left: auto; font-size: 14px; color: #18305C; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.pdp-v2 .tracker[open] .tr-more { font-size: 0; }
.pdp-v2 .tracker[open] .tr-more::after { content: "Hide"; font-size: 14px; }
.pdp-v2 .tracker .parts { margin: 0; padding: 4px 12px 12px; }
.pdp-v2 .tracker button.part { min-height: 84px; }

/* This week, coordinator: no coloured card edges; a step close to its date is
   not late, so it reads as a plain due line with the reason underneath. */
.priorities li.at-risk,
.priorities li.overdue { border-left: 1px solid var(--line); padding-left: 24px; }

/* Year view: shapes tell rows apart, clashes are the decision (yellow),
   today is a navy marker, area tags are neutral grey. */
.yearband-week { background: #E6E8EC; }
.yearband-week.is-today,
.yearband-week.is-today.is-clash { box-shadow: inset 0 0 0 2px #18305C; }
.yearband-today { color: #18305C; }
.yearband-week.is-clash { box-shadow: inset 0 -5px 0 #FFC933; }
.yearband-week.is-today.is-clash { box-shadow: inset 0 0 0 2px #18305C, inset 0 -5px 0 #FFC933; }
.today-line { border-left-color: #18305C; }
.today-line span { color: #18305C; }
.clash-flag { background: #FFC933; color: #18305C; }
.lane-clash, .key-clash { background: #FFC933; }
.topic-filter a.on { background: #18305C; border-color: #18305C; color: #FFFFFF; }
.topic-tag,
.topic-assessment, .topic-curriculum, .topic-send,
.topic-safeguarding, .topic-wellbeing, .topic-operations {
  background: transparent;
  box-shadow: inset 0 0 0 1px #8A93A0;
  color: #4A5260;
}
.chip-clash { display: inline-block; padding: 0 6px; border-radius: 6px; background: #FFC933; color: #18305C; font-size: 12px; font-weight: 600; }
.pdp-v2 .tracker > summary, .pdp-v2 .tracker > summary .tr-line { text-decoration: none; }
@media (max-width: 760px) {
  .pdp-v2 button.measure { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
  .pdp-v2 .big { font-size: 60px; }
  .pdp-v2 .tracker > summary { flex-wrap: wrap; gap: 4px 12px; }
  .pdp-v2 .tracker .parts { padding: 4px 8px 10px; }
}
/* Four-colour rule: status chips on Harbour pages (transcript draft, decisions). */
.chip-status.is-open,
.chip-status.is-draft,
.chip-status.is-none,
.chip-status.is-review { background: transparent; box-shadow: inset 0 0 0 1px #8A93A0; color: #4A5260; }
.chip-status.is-done { background: transparent; box-shadow: inset 0 0 0 1px #18305C; color: #18305C; }
.chip-status.is-late { background: #C8102E; color: #FFFFFF; }
/* Option A: the head's question after the standardisation decision is approved. */
.question-card.is-closed .closed-pill {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 6px; background: #18305C; color: #FFFFFF; font-size: 12px; font-weight: 600;
}
.question-card.is-closed .desk-kicker { display: flex; gap: 10px; align-items: center; }

/* Four-colour rule on the head's Priorities page (brief v3, Change 1 overlap).
   The Focus card lost its orange top border: all three compass cards share
   the navy structure line. Status chips drop the green and peach tints. */
.compass-card.is-focus { border-top-color: var(--action); }
.status-chip.is-moving,
.status-chip.is-done,
.head-desk .status-chip.is-moving {
  color: #18305C;
  background: #FFFFFF;
  border-color: #18305C;
}
.status-chip.is-quiet,
.head-desk .status-chip.is-quiet {
  color: #4A5260;
  background: #FFFFFF;
  border-color: #8A93A0;
}

/* Change 6: head Programmes view, one summary card per programme.
   Programme accents are labels and a thin top border only, never status.
   None is red or yellow, and none copies the IB's programme colours. */
:root {
  --prog-pyp: #7A3E73;  /* plum */
  --prog-myp: #2E6B5E;  /* pine */
  --prog-dp:  #3F4F9A;  /* indigo */
  --prog-cp:  #6A5644;  /* walnut */
  --prog-across: #5B6472;
}
.prog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 8px 0 24px;
}
.prog-card {
  background: #FFFFFF;
  border: 1px solid var(--border, #E6E8EC);
  border-top: 3px solid var(--prog-across);
  border-radius: 10px;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
}
.prog-card.is-pyp { border-top-color: var(--prog-pyp); }
.prog-card.is-myp { border-top-color: var(--prog-myp); }
.prog-card.is-dp  { border-top-color: var(--prog-dp); }
.prog-card.is-cp  { border-top-color: var(--prog-cp); }
.prog-card-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 8px; gap: 8px; }
.prog-label { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--prog-across); }
.prog-label.is-pyp { color: var(--prog-pyp); }
.prog-label.is-myp { color: var(--prog-myp); }
.prog-label.is-dp  { color: var(--prog-dp); }
.prog-label.is-cp  { color: var(--prog-cp); }
.prog-card .chip-late {
  display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px;
  border-radius: 999px; background: #C8102E; color: #FFFFFF; font-size: 12px; font-weight: 600;
}
.prog-facts { margin: 0; display: grid; grid-template-columns: 1fr; gap: 2px; }
.prog-facts dt { font-size: 12px; color: #4A5260; margin-top: 8px; }
.prog-facts dd { margin: 0; color: #18305C; font-size: 15px; line-height: 1.35; }
.prog-open { margin: auto 0 0; padding-top: 12px; }

/* Change 8: Priorities page. Each priority once, now against aim, one bar. */
.compass.is-two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.too-many { padding: 10px 12px; border-radius: 8px; background: rgba(255, 201, 51, .28); color: #18305C; font-weight: 600; }
.consultant-tap { margin-top: 10px; }
.consultant-tap > summary { font-size: 14px; font-weight: 600; color: #18305C; cursor: pointer; text-decoration: none; min-height: 32px; }
.pr-measure { margin: 8px 0 6px; }
.pr-line { margin: 0 0 6px; font-size: 16px; color: #18305C; }
.pr-furthest { display: inline-block; margin-right: 6px; font-weight: 700; }
.pr-bar { position: relative; display: block; height: 10px; border-radius: 999px; background: #E6E8EC; max-width: 520px; }
.pr-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: #18305C; }
.pr-aim { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #18305C; }
.pr-moved { margin: 6px 0 4px; }
.pr-serving { list-style: none; margin: 6px 0 4px; padding: 0; }
.pr-serving li { padding: 6px 0; border-top: 1px solid #E6E8EC; line-height: 1.4; }
.pr-kind { display: inline-block; min-width: 64px; font-size: 12px; font-weight: 600; color: #4A5260; }
.pr-serving .chip-late {
  display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; margin-left: 4px;
  border-radius: 999px; background: #C8102E; color: #FFFFFF; font-size: 12px; font-weight: 600;
}
.compass-card.is-vision, .compass-card.is-focus { border-top-color: #18305C; }

/* Change 5: Team is who owns what. */
.team-lead { max-width: 70ch; }
.team-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 12px 0 20px; }
.team-card { background: #FFFFFF; border: 1px solid #E6E8EC; border-radius: 10px; padding: 14px 16px; }
.team-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; }
.team-name { font-weight: 700; font-size: 17px; color: #18305C; }
.team-facts { margin: 8px 0 0; }
.team-facts dt { font-size: 12px; color: #4A5260; margin-top: 8px; }
.team-facts dd { margin: 0; color: #18305C; }
.team-suggest { display: block; margin-top: 2px; }
.team-card .chip-late, .handover .chip-late {
  display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px;
  border-radius: 999px; background: #C8102E; color: #FFFFFF; font-size: 12px; font-weight: 600;
}
.team-edit textarea { width: 100%; box-sizing: border-box; }
.handover-item { padding: 8px 0; border-top: 1px solid #E6E8EC; }
.handover-item h3 { margin: 0 0 2px; font-size: 16px; }
@media print {
  .mast, .quiet-footer .demo-reset, .no-print, .nav-toggle { display: none !important; }
  .handover .chip-late { background: none; color: #000; border: 1px solid #000; }
}
.owner-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.practice-list h3 { margin: 0 0 4px; font-size: 16px; }
.practice-row { padding: 10px 0; border-top: 1px solid #E6E8EC; }

/* Change 7: Decisions page. */
.decision-stage { font-size: 12px; font-weight: 600; color: #18305C; min-width: 64px; }
.decision-why { display: block; color: #4A5260; font-size: 14px; margin-top: 2px; }
.decision-result { display: block; color: #18305C; font-size: 14px; margin-top: 2px; font-weight: 600; }
.prog-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 0 6px; margin-right: 4px; border-radius: 4px; border: 1px solid currentColor; }
.prog-tag.is-pyp { color: var(--prog-pyp); } .prog-tag.is-myp { color: var(--prog-myp); }
.prog-tag.is-dp { color: var(--prog-dp); } .prog-tag.is-cp { color: var(--prog-cp); }
.prog-tag.is-whole { color: #4A5260; }
.prog-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.prog-chip { border: 1px solid #C9CED6; background: #FFFFFF; color: #18305C; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.prog-chip.is-on { background: #18305C; color: #FFFFFF; border-color: #18305C; }

/* Change 5 v2: values dark, links blue, red only for overdue. */
.team-card { color: var(--ink); }
.team-name { color: #1A1F29; }
.team-role { margin: 2px 0 8px; color: #1A1F29; font-size: 14px; }
.team-load { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font-size: 14px; color: #1A1F29; }
.load-dots { display: inline-flex; gap: 3px; }
.load-dots i { width: 9px; height: 9px; border-radius: 50%; background: #D5D9E0; display: inline-block; }
.load-dots i.is-on { background: #18305C; }
.team-suggest { margin: 0 0 6px; font-size: 13px; color: #4A5260; }
.team-items { list-style: none; padding: 0; margin: 8px 0; font-size: 14px; }
.team-items li { padding: 4px 0; border-top: 1px solid #F0F1F4; }
.team-item { color: #1A1F29; }
.team-when { color: #4A5260; }
.team-when.is-late { color: #C8102E; font-weight: 600; }
.team-more { font-size: 13px; color: #4A5260; }
.team-needs { display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 999px; background: #FFC933; color: #18305C; font-size: 12px; font-weight: 600; }
.team-card.is-unowned { border-color: #FFC933; }
.team-card a:not(.desk-btn), .owner-link { color: var(--fjord); text-decoration: underline; }

/* Change 6 v2 */
.prog-facts dd { color: var(--ink); }
.prog-facts .is-late, .prog-card .is-late { color: #C8102E; font-weight: 600; }
.prog-needs { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.needs-chip { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; background: #FFC933; color: #18305C; font-size: 12px; font-weight: 600; }
.prog-across { margin: 4px 0 0; color: var(--ink); }
.prog-across a, .prog-open a { color: var(--fjord); text-decoration: underline; }

/* Round 3: decisions with their actions underneath; one status per row. */
.decision-actions { display: block; margin: 4px 0 2px; padding-left: 12px; border-left: 2px solid #E6E8EC; }
.decision-action { display: block; font-size: 13px; color: var(--ink); }
.decision-action.is-done { color: #4A5260; }
.decision-action .is-late, .decision-card .is-late { color: #C8102E; font-weight: 600; }
.decision-pill.is-sun { background: #FFC933; color: #18305C; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.filter-row .group-by { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.filter-row .group-by select { width: auto; }

/* Round 3: programme header strip tinted ~7%, body white. */
.prog-card { padding-top: 0; overflow: hidden; }
.prog-card-head { margin: 0 -16px 10px; padding: 8px 16px; }
.prog-card.is-pyp .prog-card-head { background: #F6F2F5; }
.prog-card.is-myp .prog-card-head { background: #F0F5F4; }
.prog-card.is-dp  .prog-card-head { background: #F2F3F8; }
.prog-card.is-cp  .prog-card-head { background: #F5F3F2; }
.desk-btn.is-needs { background: #FFC933; border-color: #FFC933; color: #18305C; }
.prog-across-line { margin: -8px 0 20px; padding: 10px 16px; border: 1px solid #E6E8EC; border-radius: 10px; background: #FFFFFF; color: var(--ink); font-size: 14px; }
.prog-across-line a { color: var(--fjord); text-decoration: underline; }
.team-assign { display: inline-flex; gap: 6px; margin: 4px 0 2px; flex-wrap: wrap; }
.team-assign select { width: auto; font-size: 13px; }
.team-tag { display: inline-block; font-size: 11px; font-weight: 600; color: #4A5260; border: 1px solid #C9CED6; border-radius: 4px; padding: 0 5px; }
.team-question { margin: 6px 0; font-size: 14px; color: var(--ink); }
/* Round 3: no ring column; one status pill per row. */
.decision-cols, .decision-open.decision-row { grid-template-columns: minmax(0, 1.8fr) minmax(150px, 0.9fr) 88px 148px 14px; }
.prog-across-line { display: block; width: 100%; box-sizing: border-box; }
.team-assign { display: flex; margin: 6px 0 4px; }
.team-assign select { min-height: 32px; padding: 2px 8px; max-width: 60%; }
.team-assign button { min-height: 32px; padding: 2px 12px; }
@media (max-width: 800px) {
  .decision-open.decision-row { grid-template-columns: minmax(0, 1fr); }
  .decision-who, .decision-when, .decision-pill { grid-column: 1; }
  .filter-row .group-by { margin-left: 0; }
}
.prog-across-line { margin: -8px 0 20px; }
.prog-across-line { max-width: none; }
.prog-cards { width: 100%; }
.decision-action.is-done { color: #6B7380; } .decision-action .tick { color: #18305C; font-weight: 700; }
.team-hint { display: block; margin-top: 4px; font-size: 13px; color: #4A5260; }

/* Round 5: result labels. Navy = worked/partly (done), yellow = didn't work (needs you), grey = dropped. */
.result-label { display: inline-flex; align-items: center; gap: 4px; min-height: 20px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; vertical-align: middle; }
.result-label .result-mark { font-size: 12px; }
.result-label.is-worked { background: #18305C; color: #FFFFFF; }
.result-label.is-partly { background: #FFFFFF; color: #18305C; border: 1px solid #18305C; }
.result-label.is-didnt { background: #FFC933; color: #18305C; }
.result-label.is-dropped { background: #E6E8EC; color: #4A5260; }
.decision-result { font-weight: 400; color: #1F2733; }

/* Round 5: Closed tab. */
.closed-view { margin-top: 12px; }
.closed-summary { border: 1px solid #E6E8EC; border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; }
.closed-counts { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0 0 10px; padding: 0; }
.closed-counts li { display: flex; align-items: center; gap: 6px; }
.closed-count { font-size: 20px; font-weight: 700; color: #1F2733; min-width: 1ch; }
.closed-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: #F1F2F4; margin: 0 0 10px; max-width: none; }
.closed-bar span { display: block; height: 100%; }
.closed-bar .is-worked { background: #18305C; }
.closed-bar .is-partly { background: #8A9BB8; }
.closed-bar .is-didnt { background: #FFC933; }
.closed-bar .is-dropped { background: #C9CDD3; }
.closed-filter { margin: 0; font-size: 13px; color: #4A5260; }
.closed-filter select { font-size: 13px; max-width: 100%; }
.closed-group { margin: 0 0 18px; }
.closed-group h2 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 6px; }
.closed-group-count { font-size: 13px; color: #4A5260; font-weight: 400; }
.closed-row { border-top: 1px solid #E6E8EC; }
.closed-row summary { display: grid; grid-template-columns: minmax(0, 1fr) 28px 64px 16px; gap: 12px; align-items: center; padding: 8px 0; cursor: pointer; list-style: none; }
.closed-row summary::-webkit-details-marker { display: none; }
.closed-main { min-width: 0; }
.closed-title { display: block; font-weight: 600; color: #1F2733; }
.closed-evidence { display: block; font-size: 13px; color: #4A5260; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.closed-month { font-size: 13px; color: #4A5260; text-align: right; }
.closed-arrow::before { content: "›"; display: inline-block; color: #4A5260; transition: transform .15s; }
.closed-row[open] .closed-arrow::before { transform: rotate(90deg); }
.closed-more { padding: 0 0 10px; font-size: 14px; color: #1F2733; }
.closed-more p { margin: 4px 0; }
.closed-actions { margin: 4px 0; padding-left: 18px; }
.closed-again { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 14px; color: #1F2733; }
.closed-group.is-dropped .closed-title { color: #4A5260; font-weight: 400; }
@media (max-width: 640px) {
  .closed-row summary { grid-template-columns: minmax(0, 1fr) 28px 52px 12px; gap: 8px; }
  .closed-evidence { white-space: normal; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
}
.closed-row summary, .closed-row summary * { text-decoration: none; }
.decision-cols[hidden], .closed-view[hidden], .closed-group[hidden], .closed-item[hidden], .decision-group[hidden] { display: none; }
.closed-filter label { display: inline; margin-right: 6px; font-weight: 400; }
.closed-filter select { width: auto; display: inline-block; min-height: 32px; padding: 2px 8px; }
.decision-next { display: block; font-size: 14px; color: #4A5260; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.decision-next .is-late { color: #C8102E; font-weight: 600; }
@media (max-width: 640px) { .decision-next { white-space: normal; } }
.open-filter { margin: 8px 0 4px; }
.filter-row .priority-filter { margin: 0; display: inline-flex; align-items: center; }
.priority-filter select { min-height: 36px; padding: 2px 10px; border: 1px solid #C9CDD3; border-radius: 999px; background: #FFFFFF; color: #1F2733; font-size: 13px; max-width: 280px; }
/* Development plan (20 Oct 2026). */
.dev-plan .dp-part { margin: 18px 0; }
.dev-plan .dp-part h2 { font-size: 17px; margin: 0 0 6px; }
.dev-plan .dp-part ul { margin: 0; padding-left: 18px; }
.dp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dp-table th, .dp-table td { border-top: 1px solid #E6E8EC; padding: 6px 8px; text-align: left; vertical-align: top; }
.dp-table th { color: #4A5260; font-weight: 600; font-size: 13px; }
.dp-table .is-late, .dp-activities .is-late { color: #C8102E; font-weight: 600; }
.code-check { display: inline-block; font-size: 11px; color: #4A5260; border: 1px solid #C9CDD3; border-radius: 999px; padding: 0 6px; }
.dp-warn { color: #1F2733; font-size: 13px; }
.decision-serves { font-size: 14px; }
@media (max-width: 640px) {
  .dp-table, .dp-table tbody, .dp-table tr, .dp-table td { display: block; width: 100%; }
  .dp-table thead { display: none; }
  .dp-table tr { border-top: 1px solid #E6E8EC; padding: 6px 0; }
  .dp-table td { border: 0; padding: 2px 0; }
}

@media (max-width: 600px) {
  .vol input[type="radio"], .vol input[type="checkbox"] { width: 22px; height: 22px; }
  .vol label:has(input[type="radio"]), .vol label:has(input[type="checkbox"]) { min-height: 44px; display: flex; align-items: center; gap: 8px; }
}
