/* Cockpit console: page rules on top of project-cockpit-tokens.css and bundle.css (design system v2,
   components/PageLayout and CaseRow). The page is the landing page's skeleton: a page header on the white
   ground, full-width bands, hairlines; boxes only for what floats (modal, toasts, the sign-in card).
   Semantic tokens only. */
html, body { margin: 0; padding: 0; background: var(--surface); color: var(--text-primary); font-family: var(--font-sans); }
/* The page says `color-scheme: light dark` (index.html), so the browser's own controls (checkboxes, radios, the date
   picker) follow the device in Auto. A theme chosen in the suite bar must hold for them too: a Mac in dark mode drew
   black checkboxes on the light page (the Operator's screenshot, 2026-10-18). The tokens set the colours per
   data-theme but not the scheme; this is the console's own copy of that rule until the design system carries it. */
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
.cc { min-height: 100vh; display: flex; flex-direction: column; }
.cc-main { flex: 1; width: 100%; }
a { color: var(--accent); }
.cc-health .cc-log-when { white-space: nowrap; }
.cc-engine { margin-top: var(--space-6); }

/* the sections of the console under the page header: underlined words, no box */
.cc-tabs { display: flex; flex-wrap: wrap; gap: var(--space-5); margin-top: var(--space-6); border-bottom: 1px solid var(--border); }
.cc-tab { border: 0; background: none; padding: 0 0 var(--space-2); font: inherit; font-size: 15px; font-weight: 600; color: var(--text-muted); cursor: pointer; }
.cc-tab:hover { color: var(--text-primary); }
.cc-tab[aria-selected="true"] { color: var(--text-primary); box-shadow: inset 0 -2px 0 var(--accent); }
.cc-tab:focus-visible { outline: var(--stroke-focus) solid var(--focus); outline-offset: 2px; }
.cc-intro { margin: 0 0 var(--space-5); max-width: 72ch; color: var(--text-muted); font-size: 15px; line-height: 23px; }

.cc-toasts { position: fixed; right: var(--space-4); bottom: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); z-index: 20; }

/* the case list (CaseRow): bundle sets the seven columns; the section caption sits beside the heading */
.pc-section-head .pc-caption { color: var(--text-muted); }
.cc-c-stage, .cc-c-deadline { white-space: nowrap; }
.cc-c-stage .pc-row-id { font-family: var(--font-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.cc-c-due .pc-badge, .cc-c-state .pc-badge { white-space: nowrap; }
#cases-empty .pc-empty { margin-top: var(--space-5); }
.cc-coverage { margin: var(--space-4) 0 0; color: var(--text-muted); }
/* the week strip's bars: one class per tenth (the page's CSP forbids style attributes), as on the partner page */
.pc-week-bar > i.w0 { width: 0; } .pc-week-bar > i.w1 { width: 10%; } .pc-week-bar > i.w2 { width: 20%; } .pc-week-bar > i.w3 { width: 30%; }
.pc-week-bar > i.w4 { width: 40%; } .pc-week-bar > i.w5 { width: 50%; } .pc-week-bar > i.w6 { width: 60%; } .pc-week-bar > i.w7 { width: 70%; }
.pc-week-bar > i.w8 { width: 80%; } .pc-week-bar > i.w9 { width: 90%; } .pc-week-bar > i.w10 { width: 100%; }
/* the board and the cards (2026-10-26): a proposal as one object (layout.md § Elevation, level 1), in columns by the
   last gate it passed, or in a grid. Columns are set apart by space and a hairline under each head, never by a vertical
   rule (v2); the board scrolls sideways inside its band rather than squeezing seven columns into 1080px. */
.cc-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(232px, 1fr); gap: var(--space-4); overflow-x: auto; padding-bottom: var(--space-3); }
.cc-board-col { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.cc-board-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); padding-bottom: var(--space-2); border-bottom: 1px solid var(--border); }
.cc-board-n { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-muted); }
.cc-board-gate, .cc-board-none { margin: 0; }
.cc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); gap: var(--space-4); }
#sub-cards .cc-cards { margin-top: var(--space-1); }
.cc-card { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; padding: var(--space-3) var(--space-4); background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-1); color: inherit; text-decoration: none; font-size: 14px; line-height: 20px; }
.cc-card:hover { border-color: var(--border-strong); background: var(--accent-subtle); }
.cc-card.is-overdue { box-shadow: inset 4px 0 0 var(--urgency-overdue-bg), var(--shadow-1); }
/* an acronym is never broken: where the column is too narrow for both, the urgency drops under it */
.cc-card-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--space-1) var(--space-2); }
.cc-card-head .pc-row-title { min-width: 0; max-width: 100%; }
.cc-card .pc-row-id { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-card-facts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.cc-card-wait { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); }
.cc-card-wait.is-me { color: var(--text-primary); font-weight: 600; }
@media (max-width: 639px) {
  .cc-board { grid-auto-flow: row; grid-auto-columns: auto; overflow-x: visible; }
  .pc-view-switch { flex-wrap: wrap; }
}

/* below 860px a row is three lines: the case and its urgency; the stage and its state; who it waits on and the deadline */
@media (max-width: 859px) {
  .pc-case-head { display: none; }
  .pc-case-list .pc-row { grid-template-columns: 4px minmax(0, 1fr) auto; grid-template-areas: "mark title due" "mark stage state" "mark wait deadline"; row-gap: var(--space-2); }
  .pc-row-mark { grid-area: mark; }
  .cc-c-title { grid-area: title; min-width: 0; }
  .cc-c-due { grid-area: due; justify-self: end; }
  .cc-c-stage { grid-area: stage; }
  .cc-c-state { grid-area: state; justify-self: end; }
  .cc-c-wait { grid-area: wait; }
  .cc-c-deadline { grid-area: deadline; justify-self: end; color: var(--text-muted); }
}

/* the case page (2026-10-03): the way back, the case workflow, the timeline, the work log */
.cc-back { display: inline-flex; align-items: center; gap: var(--space-1); margin-bottom: var(--space-4); font-size: 15px; font-weight: 600; text-decoration: none; }
.cc-back::before { content: "\2190"; }
.cc-back:hover { text-decoration: underline; }
.cc-flow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); font-size: 14px; }
.cc-flow-link { font-weight: 600; }
.cc-timeline { max-width: 760px; }
.cc-timeline .pc-step-title .pc-btn { margin-left: var(--space-2); }
.cc-produced { max-width: 64ch; margin-top: 2px; }
.cc-log { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.cc-log li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid var(--border); font-size: 15px; line-height: 22px; }
.cc-log-when { color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cc-log-what { min-width: 0; }
.cc-log-who { color: var(--text-muted); white-space: nowrap; }
@media (max-width: 599px) { .cc-log li { grid-template-columns: minmax(0, 1fr) auto; } .cc-log-what { grid-column: 1 / -1; order: 3; } }

/* people and access (administrators) */
.cc-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-3); align-items: end; }
.cc-form .pc-field { margin: 0; }
.cc-form-actions { display: flex; align-items: end; }
.cc-scroll { overflow-x: auto; }
.pc-table { width: 100%; }
.pc-table td .pc-mono { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.cc-newuser { margin-top: var(--space-4); }
.cc-actions { display: flex; flex-wrap: wrap; gap: var(--space-1); justify-content: flex-end; }
/* a row's other actions, folded under More (UX audit 4.3): a native disclosure that opens in the cell, never a floating
   panel, because the tables scroll sideways and would clip one; the design system has no menu component yet */
.cc-more { display: inline-flex; flex-direction: column; align-items: flex-end; }
.cc-more > summary { list-style: none; cursor: pointer; }
.cc-more > summary::-webkit-details-marker { display: none; }
.cc-more[open] > summary { color: var(--accent); }
.cc-more-body { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-1); margin-top: var(--space-1); }
/* one grant: the person, the level and its own Remove */
.cc-grant { display: inline-flex; align-items: center; gap: var(--space-1); margin: 0 var(--space-3) var(--space-1) 0; white-space: nowrap; }
.cc-departed td { color: var(--text-muted); }
.cc-departed td .pc-mono { color: var(--text-muted); }
#modal-typed { margin-top: var(--space-3); }
.cc-newuser pre { margin: var(--space-2) 0; padding: var(--space-3); background: var(--surface-sunken); border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 13px; white-space: pre-wrap; word-break: break-all; }

/* Topics (proposal 2026-10-05 - topics-module - v002): the March explorer's layout on the design system's tokens */
.cc-t-fresh { margin: 0 0 var(--space-4); }
.cc-t-bar { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.cc-t-search { flex: 1 1 240px; max-width: 420px; margin: 0; }
.cc-t-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin-bottom: var(--space-2); }
.cc-t-select { width: auto; min-width: 150px; }
.cc-t-pop { position: relative; }
.cc-t-pop > summary { list-style: none; cursor: pointer; }
.cc-t-pop > summary::-webkit-details-marker { display: none; }
.cc-t-pop-body { position: absolute; z-index: 20; top: calc(100% + var(--space-1)); left: 0; min-width: 220px; max-height: 320px; overflow-y: auto;
  padding: var(--space-2) var(--space-3); background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-2); }
.cc-t-check { display: flex; gap: var(--space-2); align-items: center; padding: var(--space-1) 0; font-size: 14px; line-height: 20px; cursor: pointer; }
.cc-t-pop-actions { border-top: 1px solid var(--border); margin-top: var(--space-2); padding-top: var(--space-2); }
.cc-t-table th { white-space: nowrap; }
.cc-t-table td { font-size: 14px; line-height: 20px; }
.cc-t-sort { all: unset; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.cc-t-sort:focus-visible, .cc-t-open:focus-visible, .cc-t-starbtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }
th[aria-sort="ascending"] .cc-t-sort::after { content: " \2191"; }
th[aria-sort="descending"] .cc-t-sort::after { content: " \2193"; }
.cc-t-star { width: 32px; padding-right: var(--space-2) !important; }
.cc-t-starbtn { all: unset; cursor: pointer; display: inline-flex; color: var(--text-muted); }
.cc-t-starbtn[aria-pressed="true"] { color: var(--brand-yellow); }
.cc-t-starbtn[aria-pressed="true"] svg { fill: currentColor; }
.cc-t-title { min-width: 260px; max-width: 520px; }
.cc-t-open { all: unset; cursor: pointer; font-weight: 600; color: var(--text-primary); }
.cc-t-open:hover { color: var(--accent); }
.cc-t-due { white-space: nowrap; }
.cc-t-row.is-aside td { background: var(--danger-bg); }
.cc-t-row.is-aside .cc-t-open { color: var(--text-muted); }
.cc-t-ribbon { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; justify-content: space-between; margin-top: var(--space-2);
  padding: var(--space-1) var(--space-2); border: 1px solid var(--danger-border); border-left-width: 4px; border-radius: var(--radius-sm); color: var(--danger-fg); font-size: 13px; line-height: 18px; }
.cc-t-fit { display: inline-flex; gap: var(--space-2); align-items: center; font-variant-numeric: tabular-nums; }
.cc-t-fitbar { display: inline-block; width: 40px; height: 6px; border-radius: var(--radius-full); background: var(--surface-sunken); overflow: hidden; }
.cc-t-fitbar i { display: block; height: 100%; background: var(--accent); }
.cc-t-fitbar i.w0 { width: 0; } .cc-t-fitbar i.w1 { width: 10%; } .cc-t-fitbar i.w2 { width: 20%; } .cc-t-fitbar i.w3 { width: 30%; }
.cc-t-fitbar i.w4 { width: 40%; } .cc-t-fitbar i.w5 { width: 50%; } .cc-t-fitbar i.w6 { width: 60%; } .cc-t-fitbar i.w7 { width: 70%; }
.cc-t-fitbar i.w8 { width: 80%; } .cc-t-fitbar i.w9 { width: 90%; } .cc-t-fitbar i.w10 { width: 100%; }
.cc-t-quiet { opacity: 0.7; }
.cc-t-detail td { background: var(--surface-sunken); }
.cc-t-panel { padding: var(--space-3) var(--space-2) var(--space-4); max-width: 920px; }
.cc-t-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-3) var(--space-5); margin-bottom: var(--space-4); }
.cc-t-fact { display: flex; flex-direction: column; gap: 2px; }
.cc-t-h { margin: var(--space-4) 0 var(--space-2); font-size: 15px; line-height: 22px; font-weight: 600; }
.cc-t-text { white-space: pre-line; font-size: 14px; line-height: 22px; max-width: 72ch; }
.cc-t-list { margin: 0; padding-left: var(--space-5); }
.cc-t-list li { margin: var(--space-1) 0; }
.cc-t-more { margin-top: var(--space-3); }
.cc-t-more > summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.cc-t-update { margin: var(--space-3) 0; }
.cc-t-aside { margin: var(--space-3) 0; padding: var(--space-3); border: 1px dashed var(--border-strong); border-radius: var(--radius-md); max-width: 680px; }
.cc-t-aside-row { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.cc-t-aside-row .pc-input { flex: 1 1 280px; }
@media (max-width: 640px) {
  .cc-t-title { min-width: 200px; }
  .cc-t-pop-body { position: fixed; left: var(--space-4); right: var(--space-4); top: auto; }
}

/* the account page (proposal 2026-10-05 - account-page - v001): tabs in a side menu, then the tab */
.cc-acc { display: flex; gap: var(--space-6); align-items: flex-start; }
/* below the suite bar, which stays at the top (its height measured as --pcsb-live-h, 2026-10-15) */
.cc-acc-nav { flex: 0 0 auto; position: sticky; top: calc(var(--pcsb-live-h, 0px) + var(--space-4)); }
.cc-acc-body { flex: 1 1 auto; min-width: 0; max-width: 680px; }
.cc-acc-form { display: flex; flex-direction: column; gap: var(--space-4); }
.cc-acc-form .pc-field { margin: 0; }
.cc-acc-pic { display: flex; gap: var(--space-4); align-items: center; }
.cc-acc-avatar { flex: 0 0 auto; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; overflow: hidden;
  background: var(--accent-subtle); color: var(--accent); font-size: 26px; font-weight: 400; }
.cc-acc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-acc-note { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin: 0; }
.cc-acc-h { margin: var(--space-6) 0 var(--space-2); font-size: 17px; line-height: 24px; font-weight: 600; }
.cc-acc-h:first-child { margin-top: 0; }
.cc-acc-list { list-style: none; margin: 0 0 var(--space-3); padding: 0; border-top: 1px solid var(--border); }
.cc-acc-list li { display: flex; gap: var(--space-3); align-items: center; justify-content: space-between; padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
.cc-acc-sub { display: block; }
.cc-acc-radios { display: flex; flex-direction: column; gap: var(--space-2); }
.cc-acc-radio { display: flex; gap: var(--space-2); align-items: flex-start; cursor: pointer; }
.cc-acc-sample { margin: var(--space-3) 0; padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 18px; line-height: 28px; }
@media (max-width: 720px) {
  .cc-acc { flex-direction: column; gap: var(--space-4); }
  .cc-acc-nav { position: static; width: auto; flex-direction: row; flex-wrap: wrap; }
}

/* a topic's page (proposal 2026-10-06 - topic-page - v001): the text, and the facts in a card that stays in view while it
   scrolls; on a phone the card comes first and does not stay */
.cc-t-status { display: inline-flex; align-items: center; gap: 6px; margin-right: var(--space-2); font-weight: 600; }
.cc-t-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.cc-t-status.is-open { color: var(--success-fg); }
.cc-t-status.is-forthcoming { color: var(--info-fg); }
.cc-t-status.is-closed { color: var(--text-muted); }
.cc-tp { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-6); align-items: start; }
.cc-tp-main { min-width: 0; max-width: 76ch; }
.cc-tp-h { margin: var(--space-6) 0 var(--space-2); font-size: 20px; line-height: 28px; }
.cc-tp-main > .cc-tp-h:first-child, .cc-tp-main > .cc-t-ribbon + .cc-tp-h { margin-top: 0; }
.cc-tp-card { position: sticky; top: calc(var(--pcsb-live-h, 0px) + var(--space-4)); max-height: calc(100vh - var(--pcsb-live-h, 0px) - 2 * var(--space-4)); overflow: auto;
  display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); }
.cc-tp-status { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.cc-tp-fact { display: flex; flex-direction: column; gap: 2px; }
.cc-tp-v { font-weight: 600; overflow-wrap: anywhere; }
.cc-tp-v .pc-caption { font-weight: 400; }
.cc-tp-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.cc-tp-links { display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.cc-tp-req, .cc-tp-fresh { margin: 0; }
.cc-tp-card .cc-t-aside { margin: 0; padding: var(--space-3); }
.cc-tp-dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-2) var(--space-4); margin: 0; }
.cc-tp-dl dt { color: var(--text-muted); }
.cc-tp-dl dd { margin: 0; }
.cc-tp-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--border); }
@media (max-width: 959px) {
  .cc-tp { grid-template-columns: minmax(0, 1fr); }
  .cc-tp-card { position: static; max-height: none; overflow: visible; order: -1; }
  .cc-tp-dl { grid-template-columns: minmax(0, 1fr); }
  .cc-tp-dl dd { margin-bottom: var(--space-2); }
}

/* Organisations (proposal 2026-11-04 - organisations-page - v001): the search and its results; an organisation's page
   takes the topic page's layout (.cc-tp) */
.cc-o-form { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: flex-end; margin-bottom: var(--space-3); }
.cc-o-q { flex: 1 1 280px; max-width: 640px; margin: 0; }
.cc-o-results { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-2); }
.cc-o-hit { padding: var(--space-4) var(--space-5); max-width: 920px; }
.cc-o-hit-head { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; justify-content: space-between; }
.cc-o-name { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--text-primary); text-decoration: none; overflow-wrap: anywhere; }
.cc-o-name:hover { color: var(--accent); text-decoration: underline; }
.cc-o-line { margin: var(--space-1) 0 0; }
.cc-o-summary, .cc-o-lead, .cc-o-p { margin: var(--space-2) 0 0; max-width: 76ch; }
.cc-o-lead { font-size: 17px; line-height: 26px; margin-top: 0; }
.cc-o-why, .cc-o-claims { margin: var(--space-2) 0 0; padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.cc-o-why li, .cc-o-claims li { overflow-wrap: anywhere; }
.cc-o-why { font-size: 14px; line-height: 20px; }
.cc-o-why .pc-doc-chip, .cc-o-claims .pc-doc-chip { margin-left: var(--space-1); white-space: nowrap; }
.cc-o-proj { margin: var(--space-2) 0 0; overflow-wrap: anywhere; }
.cc-o-bridges { margin-top: var(--space-6); max-width: 920px; }
.cc-o-bridges .cc-o-form { margin-top: var(--space-3); }
.cc-o-table td { font-size: 14px; line-height: 20px; }
.cc-o-units { columns: 2 240px; column-gap: var(--space-6); margin: var(--space-2) 0 0; padding-left: var(--space-5); }
.cc-o-units li { break-inside: avoid; margin-bottom: var(--space-1); overflow-wrap: anywhere; }
/* units with a profile of their own (2026-11-07): each opens to its summary, claims and how it was made */
.cc-o-unit-list { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; flex-direction: column; }
.cc-o-unit { border-top: 1px solid var(--border); padding: var(--space-2) 0; overflow-wrap: anywhere; }
.cc-o-unit:last-child { border-bottom: 1px solid var(--border); }
.cc-o-unit > details > summary { cursor: pointer; }
.cc-o-unit-name { font-weight: 600; }
.cc-o-unit .cc-o-sub { margin-top: var(--space-3); }
.cc-o-how { margin: var(--space-3) 0 0; max-width: 76ch; }
.cc-o-ask { margin: var(--space-4) 0 var(--space-2); max-width: 640px; }
.cc-o-sub { margin: var(--space-4) 0 var(--space-2); font-size: 15px; line-height: 22px; font-weight: 600; }
.cc-o-net, .cc-o-path { margin: 0; padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.cc-o-net li, .cc-o-path li { overflow-wrap: anywhere; }
.cc-o-path { margin-bottom: var(--space-4); padding: var(--space-3) var(--space-3) var(--space-3) var(--space-6); background: var(--surface-band); border-radius: var(--radius-md); }
.cc-o-tie { margin-top: 2px; }
.cc-o-pick { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-3); }
.cc-o-ours { padding-top: var(--space-3); border-top: 1px solid var(--border); }
.cc-o-ours > summary { cursor: pointer; font-weight: 600; }
.cc-o-ours .cc-o-sub { margin-top: var(--space-3); }
.cc-o-ours .pc-caption { margin: var(--space-2) 0; }
/* the project table's role and programme (change 2026-11-06-orgs-network-and-projects) */
.cc-o-tools { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin: var(--space-2) 0; }
.cc-o-n { font-weight: 400; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.cc-o-netswitch { margin: 0 0 var(--space-2); }
/* on a phone Topics fixes its pop-ups to the window, which suits filters at the top of a page; the project table's are
   far down it, where that put them out of sight: here they open under the toolbar, its width */
@media (max-width: 640px) {
  .cc-o-tools { position: relative; }
  .cc-o-tools .cc-t-pop { position: static; }
  .cc-o-tools .cc-t-pop-body { position: absolute; left: 0; right: 0; top: calc(100% + var(--space-1)); }
}
/* the network, drawn: geometry in the SVG's attributes, colour here (the CSP refuses inline styles); on a phone the
   drawing keeps its size and scrolls sideways in its own box, never the page */
.cc-o-netbox { overflow-x: auto; margin: var(--space-3) 0 var(--space-2); }
.cc-o-net-svg { display: block; width: 100%; min-width: 620px; max-width: 860px; height: auto; }
.cc-o-path-svg { display: block; width: 100%; min-width: 480px; max-width: 900px; height: auto; }
.cc-o-tie { fill: none; stroke: var(--border-strong); opacity: 0.5; transition: opacity 120ms; }
.cc-o-spoke { stroke: var(--accent); opacity: 0.4; transition: opacity 120ms; }
.cc-o-node circle { fill: var(--accent-subtle); stroke: var(--accent); stroke-width: 1.5; }
.cc-o-node circle.is-thin { fill: var(--surface-sunken); stroke: var(--text-muted); }
.cc-o-node text, .cc-o-centre text { fill: var(--text-primary); font-size: 12px; }
.cc-o-node:hover text, .cc-o-node:focus text { fill: var(--accent); text-decoration: underline; }
.cc-o-node:focus-visible circle { stroke: var(--focus); stroke-width: 3; }
.cc-o-centre circle { fill: var(--accent); }
.cc-o-centre text { fill: var(--on-accent); font-size: 13px; font-weight: 600; }
.cc-o-path-label { fill: var(--text-muted); font-size: 11px; }
.cc-o-net-svg.is-focus .cc-o-tie, .cc-o-net-svg.is-focus .cc-o-spoke { opacity: 0.06; }
.cc-o-net-svg.is-focus .cc-o-tie.is-on { opacity: 0.95; stroke: var(--accent); }
.cc-o-net-svg.is-focus .cc-o-spoke.is-on { opacity: 0.9; }

/* starting a proposal (proposal 2026-10-05 - proposal-start - v001): the form, a request's page, the approval */
.cc-s { max-width: 760px; }
.cc-s-form { max-width: 680px; }
.cc-s-summary { margin: 0 0 var(--space-4); }
.cc-s-note { white-space: pre-wrap; font-weight: 400; }
.cc-s .pc-alert { margin: 0 0 var(--space-3); }
.cc-s-list { margin-top: var(--space-4); }
.cc-s-approve { margin: var(--space-5) 0 var(--space-4); padding: var(--space-5); border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  display: flex; flex-direction: column; gap: var(--space-3); }
.cc-s-approve h2 { margin: 0; font-size: 20px; line-height: 28px; }
.cc-s-approve p { margin: 0; max-width: 72ch; }
.cc-s-approve .pc-switch { align-items: flex-start; }
.cc-s-approve .pc-switch input { flex: 0 0 auto; margin-top: 2px; }
.cc-s-decline { margin: var(--space-3) 0 0; padding-top: var(--space-3); border-top: 1px solid var(--border); }
.cc-start-new { margin-left: auto; margin-right: var(--space-2); }
.cc-t-start { margin: var(--space-3) 0; display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
@media (max-width: 720px) {
  .cc-s-approve { padding: var(--space-4); }
  .cc-start-new { margin-left: 0; }
}

/* the Partners panel on a proposal's page (partners.js; proposal partner-invitations v003, 2026-10-17) */
.cc-p-sub { margin: var(--space-5) 0 var(--space-2); font-size: 15px; line-height: 22px; font-weight: 600; }
/* stretch, not .cc-form's `align-items: end`: in a column that pushed every field to the right at its own width
   (the Operator's screenshot, 2026-10-18) */
.cc-p-form { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-4); max-width: 640px; margin-top: var(--space-3); }
.cc-p-form input[type="date"] { max-width: 200px; }
.cc-p-form .pc-switch { align-items: flex-start; }
.cc-p-form .pc-switch input { flex: 0 0 auto; margin-top: 2px; }
.cc-p-cards { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.cc-p-check { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 14px; line-height: 20px; }
.cc-p-check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.cc-p-fails { margin: var(--space-2) 0; padding-left: var(--space-5); font-size: 14px; line-height: 20px; }
.cc-p-preview { margin-top: var(--space-3); padding: var(--space-4); background: var(--surface-band); border-radius: var(--radius-md); }
.cc-p-preview h4 { margin: var(--space-3) 0 var(--space-2); font-size: 14px; line-height: 20px; font-weight: 600; }
.cc-p-preview h4:first-child { margin-top: 0; }
.cc-p-preview p { margin: 0 0 var(--space-2); max-width: 72ch; overflow-wrap: anywhere; }
.cc-p-mail { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-mono); font-size: 13px; line-height: 19px; margin: 0; max-width: 80ch; }
/* slice B: what came back, item by item, and an owner's decision on each */
.cc-p-review { margin-top: var(--space-3); max-width: 72ch; }
.cc-p-review > .pc-caption { margin: 0 0 var(--space-2); }
.cc-p-items { margin: 0; padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.cc-p-item p { margin: 0 0 var(--space-1); overflow-wrap: anywhere; }
.cc-p-verdict { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: var(--space-2) 0; }
.cc-p-item .pc-input { width: 100%; max-width: 56ch; }
.cc-p-decide .pc-task-actions { margin-top: var(--space-3); }

/* signed out: the one card, centred */
.cc-scrim { position: fixed; z-index: 30; }
.pc-auth { padding-top: var(--space-8); }
.pc-auth-card .pc-btn-block { display: flex; justify-content: center; width: 100%; box-sizing: border-box; }
.pc-auth-card h1 { margin: 0 0 var(--space-3); font-size: 24px; line-height: 32px; }
.pc-auth-card > .pc-muted { margin: 0 0 var(--space-5); font-size: 14px; line-height: 20px; }
.pc-auth-card #denied { margin-top: var(--space-4); }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
