/* The approved design's OWN stylesheet, ported from design/mockups/overview-final.html.
 *
 * EVERY RULE IS SCOPED UNDER `.overviewv2`, for the same reason `.brainv2` is: 31 of
 * the mockup's 111 class names collide with the prototype's 683 - card, h2, panel,
 * legend, split, title, total, ring, btn--primary among them - and an unscoped paste
 * would silently restyle every other screen. Measured, not guessed.
 *
 * THE VALUES ARE THE MOCKUP'S, UNCHANGED. Only the selectors moved, onto the names
 * the rebuilt Overview.tsx uses. The lesson this follows is 43af67b's: the Brain was
 * built twice by reading the mockup's markup instead of rendering it, and the fix both
 * times was the design's own stylesheet rather than another approximation of it.
 *
 * DROPPED: the mockup's `:root` token block and its page chrome (.mock, .crumbs,
 * .stages, .wrap). The --ro-* tokens are already defined in the prototype and are
 * identical; redefining them here would be the same fact in two places.
 *
 * NOT YET VERIFIED IN A BROWSER AGAINST THE MOCKUP SIDE BY SIDE AT 1440px, which is
 * the only check that catches the faults this kind of port produces. That check is
 * owed before this is believed.
 *
 * THE CHECK WAS RUN, 2026-11-06, AT 1512px, and this header was left standing - so the
 * file opened by saying no measurement existed while carrying measurements a hundred
 * lines down. It found five faults and the README's 2026-11-06 row records all of them.
 * Corrected here rather than deleted above, per this file's own convention. What is
 * still owed is the check at 1440px against the mockup SIDE BY SIDE, which is what this
 * header asks for and what nothing has yet done. Widths alone are better covered than an
 * earlier version of this correction said: it listed "1512px, 1024px and 820px" while the
 * README's own 2026-11-06 row reports zero horizontal overflow at every width from 768px
 * to 1680px, 1440px included. Measuring a width is not comparing against the design.
 */

.overviewv2 * { box-sizing: border-box; }
.overviewv2 p { margin: 0; }
.overviewv2 button { font: inherit; cursor: pointer; }
.overviewv2 .ov-note { font-family: var(--font-ui); font-size: 12.5px; line-height: 1.5; background: var(--ro-red-tint); border-left: 3px solid var(--ro-red); border-radius: 0 6px 6px 0; padding: 8px 12px; display: grid; gap: 3px; }
.overviewv2 .ov-note b { color: var(--ro-red); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.overviewv2 .ov-note.ov-data { background: var(--ro-amber-tint); border-left-color: var(--ro-amber); }
.overviewv2 .ov-note.ov-data b { color: var(--ro-amber); }
.overviewv2 .ov-label { display: block; font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ro-muted); }
.overviewv2 .h2 { margin: 0; font-size: 19px; font-weight: 600; text-wrap: balance; }
.overviewv2 .small { font-family: var(--font-ui); font-size: 12.5px; color: var(--ro-muted); }
.overviewv2 .section { display: grid; gap: 10px; min-width: 0; }
.overviewv2 .section__head { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; justify-content: space-between; }
.overviewv2 .ov-panel { border: 1px solid var(--ro-line); border-radius: 8px; padding: 16px 18px; background: var(--ro-paper); display: grid; gap: 12px; min-width: 0; }
.overviewv2 .ov-panel { background: var(--ro-white); }
.overviewv2 .title { margin: 2px 0 0; font-size: 34px; font-weight: 900; letter-spacing: -.01em; line-height: 1.1; color: var(--ro-black); text-transform: uppercase; text-wrap: balance; }
.overviewv2 .headline { font-size: 17px; max-width: 70ch; }
.overviewv2 .ov-glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--ro-line); border-radius: 8px; background: var(--ro-white); }
.overviewv2 .ov-glance > div { padding: 14px 16px; border-left: 1px solid var(--ro-line); display: grid; gap: 3px; align-content: start; }
.overviewv2 .ov-glance > div:first-child { border-left: 0; }
.overviewv2 .ov-glance__v { font-size: 22px; font-weight: 500; color: var(--ro-black); line-height: 1.2; font-variant-numeric: tabular-nums; }
.overviewv2 .ov-glance__n { font-family: var(--font-ui); font-size: 12.5px; color: var(--ro-muted); }
@media (max-width: 820px) {
  .overviewv2 .ov-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overviewv2 .ov-glance > div:nth-child(3) { border-left: 0; }
  .overviewv2 .ov-glance > div:nth-child(n+3) { border-top: 1px solid var(--ro-line); }
}
.overviewv2 .ov-fitmap { display: grid; gap: 14px; }
.overviewv2 .ov-fitmap__head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; justify-content: space-between; }
.overviewv2 .ov-fitmap__head > div { display: grid; gap: 4px; max-width: 70ch; }
.overviewv2 .ov-eyebrow { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ro-red); }
.overviewv2 .ov-verdict { font-size: 20px; font-weight: 600; color: var(--ro-black); text-wrap: balance; line-height: 1.3; }
.overviewv2 .ov-totals { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; }
.overviewv2 .ov-total b { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ro-black); }
.overviewv2 .ov-total span { font-family: var(--font-ui); font-size: 12.5px; color: var(--ro-muted); margin-left: 6px; }
.overviewv2 .ov-totals .ov-legend { margin-left: auto; color: var(--ro-muted); font-size: 12px; }
.overviewv2 .ov-totals .ov-legend span { display: inline-flex; align-items: center; gap: 6px; }
.overviewv2 .ov-totals .ov-legend i { margin: 0; }
/* THE `border-radius: 50%` HERE WAS DEAD, AND IT WAS DEAD IN THE MOCKUP TOO. Measured
 * in both files: the computed value was `2px`, because `.overviewv2 .ov-legend i`
 * (0,2,1) outranks this selector (0,2,0) AND comes later, and the mockup has the
 * identical losing pair (`.legend i` over `.ringkey`). So the legend's fourth entry was
 * a 10px rounded SQUARE with a red halo, keying a 16px CIRCLE on the cards - in the
 * approved design as much as here. The port was faithful; the design had the mismatch.
 *
 * FIXED ON THE PROJECT LEAD'S INSTRUCTION, 2026-11-06, by the rule beside
 * `.ov-legend i` rather than by touching this declaration - see there. This leaves the
 * declaration here inert, and that is deliberate: raising its specificity instead would
 * put the winning rule a hundred lines from the rule it has to beat.
 *
 * THE SCREEN NOW DIVERGES FROM THE APPROVED MOCKUP ON THIS, which is the cost of the
 * fix and is recorded rather than absorbed. `design/mockups/overview-final.html` still
 * renders the square, because an approved mockup is not ours to edit unasked. It should
 * be amended to match, or this reverted. */
.overviewv2 .ov-ringkey { width: 10px; height: 10px; border-radius: 50%; background: var(--ro-red); box-shadow: 0 0 0 2px var(--ro-white), 0 0 0 3px var(--ro-red); }
.overviewv2 .ov-bigbar { display: flex; height: 26px; border-radius: 6px; overflow: hidden; background: var(--ro-line); }
.overviewv2 .ov-bigbar i { display: grid; place-items: center; font-style: normal; font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; }
/* DARK TEXT ON THE GOLD BAND ONLY, AND ONLY THAT BAND.
 *
 * Moving the partial fill to the mockup's `#C9A15A` took the label's contrast from
 * 4.67:1 against the `--ro-amber` it replaced to 2.41:1 - and at 11.5px/600 this is not
 * WCAG "large text", so AA wants 4.5:1. A segment that passed began failing, and on this
 * RFP that segment is 978px of a 1216px bar. The mockup pairs `color: #fff` with
 * `background: #C9A15A` itself, so the gap is the design's rather than the port's, which
 * is exactly why the answer is NOT to quietly put `--ro-amber` back: that would be
 * moving a colour to make a number go green while telling the reader it is the approved
 * fill. The fill stays as approved and the TEXT moves. Project lead's decision,
 * 2026-11-06, over shipping the mockup's own pairing unchanged.
 *
 * MEASURED, all against this stylesheet's own tokens: `--ro-ink` on `#C9A15A` is 6.75:1,
 * better than either candidate. SCOPED TO `--partial` BECAUSE THE OTHER TWO ARE ALREADY
 * FINE AND WOULD BREAK: white on `--ro-green` is 6.16:1 and on `--ro-red` 5.96:1, while
 * `--ro-ink` on `--ro-green` would be 2.63:1. One band, one reason. */
.overviewv2 .ov-bigbar i.ov-sw--partial { color: var(--ro-ink); }

/* A segment's label steps down to its number rather than being cut in half. `BigBar`
 * sets `data-label` from measurement; see the comment on that component for why this is
 * measured and not a percentage. The unused label is hidden with `visibility` and taken
 * out of flow, NEVER `display: none`, because the effect has to be able to measure both
 * to choose between them - a `display: none` element reports `offsetWidth` 0 and would
 * always look like it fits. With no `data-label` set, the words show: that is what the
 * screen did before, so an unrun effect degrades to the old behaviour, not to a blank. */
/* `max-content` ON BOTH. It pins each label to its natural width, which is the width the
 * measurement is supposed to be about, so the rule is worth keeping as a statement of
 * intent.
 *
 * IT IS NOT LOAD-BEARING, THOUGH THIS COMMENT CLAIMED IT WAS, and the claim is removed
 * rather than left to teach a false thing about grid sizing. It said that without the
 * rule a label is squeezed to fit-content, reports the squeezed `offsetWidth`, always
 * compares as "it fits", and the step-down to nothing never fires - "measured at a 5px
 * segment, a 7px '2' reported 5 and stayed". Re-measured against this stylesheet with
 * the rule and with `width: auto`, at bar widths from 1216px down to 160px: the two are
 * IDENTICAL at every width, and at the 5px segment the digits span reports 7 and steps
 * down to `none` either way. The reason is `white-space: nowrap` on `.ov-bigbar i`,
 * which is inherited, so min-content equals max-content and fit-content cannot squeeze
 * anything. Removing this rule would change nothing; it stays because it says what the
 * measurement means, not because the measurement depends on it. */
.overviewv2 .ov-bigbar__words,
.overviewv2 .ov-bigbar__digits { width: max-content; }
.overviewv2 .ov-bigbar__digits,
.overviewv2 .ov-bigbar i[data-label="digits"] .ov-bigbar__words,
.overviewv2 .ov-bigbar i[data-label="none"] .ov-bigbar__words,
.overviewv2 .ov-bigbar i[data-label="none"] .ov-bigbar__digits { position: absolute; visibility: hidden; }
.overviewv2 .ov-bigbar i[data-label="digits"] .ov-bigbar__digits { position: static; visibility: visible; }
.overviewv2 .ov-amap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
/* ONLY THE FIRST CARD IS WIDENED, AND THIS IS A DESIGN CHANGE, NOT A PORT FIX.
 *
 * SAID THAT WAY ROUND BECAUSE THE FIRST VERSION OF THIS COMMENT HAD IT BACKWARDS, and a
 * supervisor review caught it. The mockup's RULE is `.acard--none { grid-column: span 2 }`
 * at overview-final.html:75 and it contains no `--wide` rule at all. It renders exactly
 * one wide card because its sample data holds exactly one none-rated area - so "the
 * mockup widens one" was true of its PICTURE and false of its RULE, and claiming the
 * rule was a claim stronger than the evidence.
 *
 * `.ov-acard--wide` was invented by `9e38414`, whose own note reads "the card the screen
 * actually widens is the FIRST one, not every none-rated one" - a deliberate change that
 * was never finished, because it left `.ov-acard--none { grid-column: span 2 }` in place
 * and both rules matched. On the live RFP four of six areas are none-rated, so measured
 * on live the map was `span 2, span 2, span 2, span 2, auto, auto`: two full-width rows
 * above a half-empty one, which is what the project lead reported. Finishing `9e38414`
 * is what makes the map read; following the mockup's rule would keep the fault.
 *
 * OPEN FOR THE PROJECT LEAD, 2026-11-06: this screen now diverges from the approved
 * design on purpose, and the mockup should be amended to match or this reverted.
 *
 * ^ THAT NOTE IS KEPT VERBATIM AND IS NO LONGER CURRENT - see below. An earlier version
 * of this correction DELETED it and replaced it, in the same commit whose header claims
 * corrections are "corrected here rather than deleted above, per this file's own
 * convention". Asserting the convention in one hunk and breaking it in the next is how
 * the record of a reversal disappears: without these two lines nothing here showed that
 * the item was opened on the 6th and reversed on the 7th.
 *
 * HALF OF THAT DIVERGENCE IS CLOSED AGAIN, 2026-11-07, and the rating condition is back
 * in `Overview.tsx` where the class is applied. The Overview is routinely read before any
 * rating exists - `areas.build()` runs before the coverage pass by design - so the first
 * card on a new RFP was being widened with nothing behind it.
 *
 * WHICH COMMIT LOST THAT CONDITION: `6db52f3`, on 2026-11-06, by this same effort. An
 * earlier version of this note blamed `9e38414`, which is false. `9e38414` ADDED the
 * `--wide` rule below and left `--none` in place - which is what the paragraph above has
 * said correctly since it was written, and the two sat ten lines apart contradicting each
 * other. `f956008` created the screen with the TSX already keyed on `i === 0` and NO
 * `--wide` rule at all, so the class was inert and the widening came from `--none`.
 *
 * WHAT STILL DIVERGES IS WIDER THAN "which rated card gets it". The mockup carries ONE
 * rule, `.acard--none`, doing tint and span together; this file splits them - span here,
 * tint at `.ov-acard--none` below - so a rated-STRONG first card is widened here and
 * would never be under the mockup's rule.
 *
 * STILL OPEN FOR THE PROJECT LEAD: the mockup should be amended to say "the first one", or
 * this reverted to "every none-rated one" and the half-empty rows accepted. */
.overviewv2 .ov-acard--wide { grid-column: span 2; }
@media (max-width: 1000px) {
  .overviewv2 .ov-amap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* AFTER the unconditional rule, which is WHY it wins: same specificity, later wins.
   * This comment said "ABOVE" and explained the mechanism inverted - the unconditional
   * rule is at the top of this block and the media query is below it. The behaviour was
   * right and the explanation would have misled anyone reorganising the file, which on
   * a stylesheet whose rules depend on their order is the dangerous kind of wrong.
   *
   * AND THE DEAD-RULE CLAIM WAS OVERSTATED. It said the override "never applied at any
   * width". Before this push the media rule's selector was `.ov-acard--none` while the
   * shadowing rule was `.ov-acard--wide` - DIFFERENT selectors - so the override did
   * apply to every none-rated card that was not also the first one. Only the first card
   * carried both classes and only it was shadowed. `span 2` and `1 / -1` look identical
   * in a two-column grid, so nothing showed; below 560px, where the map is one column,
   * `span 2` forces an implicit second column and defeats the single-column intent. */
  .overviewv2 .ov-acard--wide { grid-column: 1 / -1; }
}
.overviewv2 .ov-acard { position: relative; text-align: left; border: 1px solid var(--ro-line); background: var(--ro-white); border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; min-width: 0; color: var(--ro-ink); }
.overviewv2 .ov-acard:hover { border-color: var(--ro-ink); }
.overviewv2 .ov-acard--none { border-color: #F0CDD0; background: var(--ro-red-tint); }
.overviewv2 .ov-acard__top { display: flex; gap: 8px; align-items: baseline; }
.overviewv2 .ov-acard__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.overviewv2 .ov-acard__n { margin-left: auto; font-family: var(--font-ui); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.overviewv2 .ov-acard__n small { font-weight: 500; font-size: 11.5px; color: var(--ro-muted); margin-left: 3px; }
.overviewv2 .ov-acard .ov-split { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--ro-line); }
.overviewv2 .ov-acard .ov-split i { display: block; height: 100%; }
.overviewv2 .ov-acard__r { font-family: var(--font-ui); font-size: 11.5px; color: var(--ro-muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.overviewv2 .ov-acard__r b { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 10.5px; }
.overviewv2 .ov-acard__r b.ov-sw--strong { color: var(--ro-green); }
.overviewv2 .ov-acard__r b.ov-sw--partial { color: var(--ro-amber); }
.overviewv2 .ov-acard__r b.ov-sw--none { color: var(--ro-red); }
.overviewv2 .ov-acard .ov-ring { position: absolute; top: -6px; right: -6px; width: 16px; height: 16px; border-radius: 50%; background: var(--ro-red); box-shadow: 0 0 0 3px var(--ro-white), 0 0 0 4.5px var(--ro-red); animation: ov-pulse 1.8s ease-out infinite; }
@keyframes ov-pulse {
  0% { box-shadow: 0 0 0 3px var(--ro-white), 0 0 0 4.5px var(--ro-red); }
  70% { box-shadow: 0 0 0 3px var(--ro-white), 0 0 0 11px rgba(200,11,30,0); }
  100% { box-shadow: 0 0 0 3px var(--ro-white), 0 0 0 4.5px var(--ro-red); }
}
@media (prefers-reduced-motion: reduce) {
  .overviewv2 .ov-acard .ov-ring { animation: none; }
}
@media (max-width: 560px) {
  .overviewv2 .ov-amap { grid-template-columns: minmax(0, 1fr); }
  .overviewv2 .ov-totals .ov-legend { margin-left: 0; }
}
.overviewv2 .ov-split { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--ro-line); }
.overviewv2 .ov-split span { display: block; height: 100%; }
.overviewv2 .ov-split .c { background: var(--ro-ink); }
.overviewv2 .ov-split .k { background: var(--ro-line-strong); }
.overviewv2 .ov-split .t { background: var(--ro-bone); }
.overviewv2 .ov-legend { display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--font-ui); font-size: 12.5px; }
.overviewv2 .ov-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
/* THE KEY IS ROUND BECAUSE THE MARK IT KEYS IS ROUND. The three colour swatches above
 * key rectangular bar segments and are rightly 2px-rounded squares; the fourth keys
 * `.ov-acard .ov-ring`, a 16px circle on the corner of a card, so a square swatch keyed
 * a shape that appears nowhere. `.ov-ringkey` has carried `border-radius: 50%` since the
 * port and never won: this selector is (0,3,1) against that rule's (0,2,0), and it sits
 * immediately after the rule it has to beat so the two can be read together.
 * PROJECT LEAD'S INSTRUCTION, 2026-11-06, after it was measured and shown to him that
 * the approved mockup renders the same square. It is a deliberate divergence from the
 * mockup, not a port correction - the mockup is the thing that should change next. */
.overviewv2 .ov-legend i.ov-ringkey { border-radius: 50%; }
.overviewv2 .ov-buyer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.overviewv2 .ov-buyer > div { display: grid; gap: 4px; align-content: start; }
.overviewv2 .ov-buyer p { font-size: 15px; }
.overviewv2 .cite { font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; color: var(--ro-muted); border: 1px solid var(--ro-line-strong); border-radius: 4px; padding: 0 5px; white-space: nowrap; background: var(--ro-white); }
.overviewv2 .ov-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--ro-line); padding-top: 12px; }
.overviewv2 .ov-dates div { display: grid; gap: 2px; border-top: 3px solid var(--ro-line-strong); padding-top: 6px; font-size: 14px; }
.overviewv2 .ov-dates div.ov-due { border-top-color: var(--ro-red); }
.overviewv2 .ov-dates b { font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; color: var(--ro-muted); letter-spacing: .04em; }
.overviewv2 .ov-oddity { font-size: 14px; border-left: 3px solid var(--ro-amber); padding-left: 10px; }
@media (max-width: 820px) {
  .overviewv2 .ov-buyer, .overviewv2 .ov-dates { grid-template-columns: minmax(0, 1fr); }
}
.overviewv2 .ov-areas { display: grid; gap: 8px; }
.overviewv2 .ov-area { border: 1px solid var(--ro-line); border-radius: 8px; background: var(--ro-white); }
.overviewv2 .ov-area[data-r="none"] { border-color: #F0CDD0; }
.overviewv2 .ov-area[open] { border: 2px solid var(--ro-ink); box-shadow: 0 8px 24px rgba(21,4,7,.08); }
.overviewv2 .ov-area[open][data-r="none"] { border-color: var(--ro-red); }
.overviewv2 .ov-area[open] > summary { padding: 12px 15px; }
.overviewv2 .ov-more { justify-self: start; margin-top: 6px; border: 0; background: none; padding: 0; font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: var(--ro-ink); text-decoration: underline; text-underline-offset: 3px; }
.overviewv2 .ov-more:hover { color: var(--ro-red); }
.overviewv2 .morelist { display: grid; }
.overviewv2 .morelist .reqs { border-top: 1px solid var(--ro-line); }
.overviewv2 .ov-area > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 6px 16px; align-items: start; padding: 13px 16px; }
.overviewv2 .ov-area > summary::-webkit-details-marker { display: none; }
.overviewv2 .ov-area__name { font-weight: 600; font-size: 16px; color: var(--ro-black); }
.overviewv2 .ov-area__why { font-size: 14.5px; }
.overviewv2 .ov-area__n { font-family: var(--font-ui); font-size: 12px; color: var(--ro-muted); display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 3px; }
.overviewv2 .area__side { display: grid; justify-items: end; gap: 6px; }
.overviewv2 .ov-pill { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; text-align: center; }
.overviewv2 .ov-pill--strong { background: var(--ro-green-tint); color: var(--ro-green); }
.overviewv2 .ov-pill--partial { background: var(--ro-amber-tint); color: var(--ro-amber); }
.overviewv2 .ov-pill--none { background: var(--ro-red-tint); color: var(--ro-red); }
.overviewv2 .bar { display: flex; height: 6px; width: 96px; border-radius: 999px; overflow: hidden; background: var(--ro-line); }
.overviewv2 .bar span { height: 100%; }
.overviewv2 .bar .s { background: var(--ro-green); }
.overviewv2 .bar .p { background: #C9A15A; }
.overviewv2 .bar .n { background: var(--ro-red); }
.overviewv2 .ov-area__scored { font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; color: var(--ro-ink); background: var(--ro-bone); border-radius: 4px; padding: 0 6px; }
.overviewv2 .ov-confirmed { color: var(--ro-green); font-weight: 600; }
.overviewv2 .ov-area__body { border-top: 1px solid var(--ro-line); padding: 12px 16px 14px; display: grid; gap: 10px; }
.overviewv2 .ov-confirm { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.overviewv2 .reqs { list-style: none; margin: 0; padding: 0; display: grid; }
.overviewv2 .reqs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 8px 0; border-top: 1px solid var(--ro-line); font-size: 14px; }
.overviewv2 .reqs li:first-child { border-top: 0; }
.overviewv2 .reqs .mand { font-family: var(--font-ui); font-size: 11px; font-weight: 600; color: var(--ro-muted); }
.overviewv2 .ov-more { font-family: var(--font-ui); font-size: 12.5px; color: var(--ro-muted); }
.overviewv2 .ov-src { font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; border: 1px solid var(--ro-line-strong); border-radius: 4px; padding: 0 6px; background: var(--ro-white); white-space: nowrap; }
@media (max-width: 700px) {
  .overviewv2 .ov-area > summary { grid-template-columns: minmax(0, 1fr); }
  .overviewv2 .area__side { justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; }
}
.overviewv2 .btn { border: 1px solid var(--ro-line-strong); background: var(--ro-white); color: var(--ro-ink); border-radius: 6px; padding: 6px 12px; font-family: var(--font-ui); font-size: 13px; font-weight: 600; }
.overviewv2 .btn:hover { border-color: var(--ro-ink); }
.overviewv2 .btn--primary { background: var(--ro-red); border-color: var(--ro-red); color: #fff; }
.overviewv2 .btn--primary:hover { background: #A80918; border-color: #A80918; }
.overviewv2 .btn--quiet { border-color: transparent; background: transparent; color: var(--ro-muted); text-decoration: underline; text-underline-offset: 3px; }
.overviewv2 .ov-qs { display: grid; gap: 10px; }
.overviewv2 .q { border: 1px solid var(--ro-line); border-left: 4px solid var(--ro-red); border-radius: 0 8px 8px 0; background: var(--ro-white); padding: 14px 16px; display: grid; gap: 8px; }
.overviewv2 .q.is-done { border-left-color: var(--ro-green); background: var(--ro-paper); }
.overviewv2 .ov-q__kind { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ro-red); }
.overviewv2 .q.is-done .ov-q__kind { color: var(--ro-green); }
.overviewv2 .ov-q__ask { font-size: 17px; font-weight: 600; color: var(--ro-black); text-wrap: balance; }
.overviewv2 .ov-q__why { font-size: 14px; }
.overviewv2 .ov-q__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.overviewv2 .q textarea { width: 100%; min-height: 64px; padding: 8px 10px; border: 1px solid var(--ro-line-strong); border-radius: 6px; font: inherit; font-size: 14px; resize: vertical; }
.overviewv2 .q textarea:focus { outline: none; border-color: var(--ro-ink); }
.overviewv2 .ov-q__answer { font-size: 14px; color: var(--ro-green); font-weight: 500; }
.overviewv2 .ov-q__covers summary { cursor: pointer; font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: var(--ro-muted); }
.overviewv2 .ov-q__covers ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.overviewv2 .ov-quiet { font-family: var(--font-ui); font-size: 13px; color: var(--ro-muted); padding: 10px 14px; border: 1px dashed var(--ro-line-strong); border-radius: 8px; }
.overviewv2 .ov-check { list-style: none; margin: 0; padding: 0; display: grid; }
/* ONE COLUMN: the row is a button carrying its own three columns (.ov-check__row), with the
   tick note and the confirm under it. This line kept the checkbox design's three columns, so
   the whole button sat in the 18px first one: one word a line, the tag drawn over the text
   (the project lead, on the IU RFP's checklist, 2026-11-16). */
.overviewv2 .ov-check li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 8px 0; border-top: 1px solid var(--ro-line); font-size: 14px; align-items: start; }
.overviewv2 .ov-check li:first-child { border-top: 0; }
.overviewv2 .ov-check li.is-done .ov-check__t { color: var(--ro-muted); text-decoration: line-through; text-decoration-color: var(--ro-line-strong); }
.overviewv2 .ov-check li.is-done .ov-dq { color: var(--ro-muted); }
.overviewv2 .ov-ask { margin-left: 28px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--ro-paper); border: 1px solid var(--ro-line); border-radius: 6px; padding: 8px 10px; font-family: var(--font-ui); font-size: 13px; }
.overviewv2 .ov-ask span { margin-right: 4px; }
.overviewv2 .btn--ok { background: var(--ro-green); border-color: var(--ro-green); color: #fff; }
.overviewv2 .ov-check__by { display: block; padding-left: 28px; font-family: var(--font-ui); font-size: 11.5px; color: var(--ro-green); text-decoration: none; }
.overviewv2 .ov-check li.is-done .ov-check__by { text-decoration: none; display: block; }
.overviewv2 .ov-prog { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.overviewv2 .ov-prog__n { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--ro-black); font-variant-numeric: tabular-nums; }
.overviewv2 .ov-progbar { height: 6px; border-radius: 999px; background: var(--ro-line); overflow: hidden; }
.overviewv2 .ov-progbar span { display: block; height: 100%; width: 0; background: var(--ro-green); transition: width .2s; }
.overviewv2 .ov-dq { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ro-red); white-space: nowrap; }
.overviewv2 .ov-group { display: grid; gap: 2px; border-top: 1px solid var(--ro-line); padding-top: 8px; }
.overviewv2 .ov-group__head { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--ro-black); }
.overviewv2 .ov-fold > summary { cursor: pointer; font-family: var(--font-ui); font-size: 13.5px; font-weight: 600; padding: 4px 0; }
.overviewv2 .ov-fold[open] > summary { margin-bottom: 6px; }
.overviewv2 .ov-terms { font-size: 14px; }
.overviewv2 .ov-kindbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.overviewv2 .ov-kindbar input { flex: 1 1 220px; min-width: 0; padding: 7px 10px; border: 1px solid var(--ro-line-strong); border-radius: 6px; font: inherit; font-size: 14px; }
.overviewv2 .segmented { display: inline-flex; border: 1px solid var(--ro-line-strong); border-radius: 6px; overflow: hidden; }
.overviewv2 .segmented button { border: 0; background: var(--ro-white); padding: 6px 10px; font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: var(--ro-muted); }
.overviewv2 .segmented button[aria-pressed="true"] { background: var(--ro-ink); color: #fff; }
.overviewv2 .ov-alllist { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow: auto; border: 1px solid var(--ro-line); border-radius: 8px; background: var(--ro-white); }
.overviewv2 .ov-alllist li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--ro-line); font-size: 14px; }
.overviewv2 .ov-alllist li:first-child { border-top: 0; }
.overviewv2 .ov-alllist .no { font-family: var(--font-ui); font-size: 12px; color: var(--ro-muted); font-variant-numeric: tabular-nums; }
.overviewv2 .ov-alllist .ov-where { font-family: var(--font-ui); font-size: 12px; color: var(--ro-muted); white-space: nowrap; }
.overviewv2 .next { display: flex; justify-content: flex-end; }



/* ----------------------------------------------------------------------------
 * WHAT THE MECHANICAL PORT MISSED.
 *
 * The block above was produced by renaming the mockup's selectors onto the ones
 * `Overview.tsx` renders. That is fine where the markup matched and useless where it
 * did not - and a supervisor review found 23 classes the screen renders with no rule
 * anywhere, concentrated in exactly the elements the design is built around.
 *
 * THE CAUSE IS WORTH NAMING, because it is the same one twice. The mockup carries its
 * bar colours INLINE (`style="width:65.9%;background:var(--ro-green)"`); the rebuild
 * kept the width inline and moved colour onto classes, so three fit bars rendered as
 * colourless grey with white text on a near-white track. And the mockup uses
 * `<details>/<summary>` for an area and `<label><input>` for a checklist row, while
 * the rebuild uses `<section>/<button>` and a single `<button>` - so `.area > summary`,
 * `[open]`, `[data-r]`, `.check label { display: contents }` and `.check input` all
 * stopped matching anything at all.
 *
 * Rules below are the mockup's values, re-aimed at the markup that exists.
 * ---------------------------------------------------------------------------- */

/* The bars. Colour is the whole information content of the fit map. */
.overviewv2 .ov-bigbar i.ov-sw--strong,
.overviewv2 .ov-split i.ov-sw--strong,
.overviewv2 i.ov-sw.ov-sw--strong { background: var(--ro-green); }
.overviewv2 .ov-bigbar i.ov-sw--partial,
.overviewv2 .ov-split i.ov-sw--partial,
/* #C9A15A, NOT `--ro-amber`, AND THE SCREEN ALREADY DISAGREED WITH ITSELF ABOUT IT.
 * The mockup carries its fills inline - `background:#C9A15A` on the big bar's middle
 * segment and on the legend's middle swatch - and `--ro-amber` (#9A6B1F) is the colour
 * it uses for partial TEXT, which is a different job. The port moved the fills onto
 * classes and reached for the token, so the one bar the port happened to copy by hand,
 * `.bar .p` at line 200 ABOVE this, stayed gold while every other partial fill on the
 * screen went dark brown. (This read "thirty lines below" and it is about a hundred
 * lines above. The README already carries one row whose whole subject is a line
 * reference reversed in the same way; that it recurred in the push that recorded it is
 * the reason this correction names the line number instead of a direction.) On the live RFP partial is 78 of 97, so that wrong token is most of
 * the width of the widest element on the page. Text colours below are untouched. */
.overviewv2 i.ov-sw.ov-sw--partial { background: #C9A15A; }
.overviewv2 .ov-bigbar i.ov-sw--none,
.overviewv2 .ov-split i.ov-sw--none,
.overviewv2 i.ov-sw.ov-sw--none { background: var(--ro-red); }
.overviewv2 .ov-split i { display: block; height: 100%; }
.overviewv2 i.ov-sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: baseline; }

/* "What the requirements are": three piles, the mockup's .split .c/.k/.t. */
.overviewv2 .ov-kindbar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--ro-line); }
.overviewv2 .ov-kindbar .ov-k { display: block; height: 100%; }
.overviewv2 .ov-k--cap { background: var(--ro-ink); }
.overviewv2 .ov-k--sub { background: var(--ro-line-strong); }
.overviewv2 .ov-k--term { background: var(--ro-bone); }
.overviewv2 .ov-kindlegend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-family: var(--font-ui); font-size: 13px; color: var(--ro-muted); margin-top: 8px; }
.overviewv2 .ov-kindlegend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }
.overviewv2 .ov-kindlegend b { color: var(--ro-black); font-weight: 700; }

/* Area cards: the tones. The widening rule used to live here too and has moved up beside
 * `.ov-amap`, because sitting below the `max-width: 1000px` block at equal specificity
 * meant the responsive override could never win. This note is the whole of what is left
 * of it, so that nobody adds it back here. */
.overviewv2 .ov-acard--strong { border-color: var(--ro-line); }
.overviewv2 .ov-acard--partial { border-color: #E6D6B8; }
.overviewv2 .ov-acard--unrated { border-color: var(--ro-line); background: var(--ro-paper); }
.overviewv2 .ov-acard__r { font-family: var(--font-ui); font-size: 11.5px; color: var(--ro-muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.overviewv2 .ov-acard__by { color: var(--ro-muted); }

/* An area row. The mockup styled `.area > summary`; this markup is a button. */
.overviewv2 .ov-area__head { width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 6px 16px; align-items: start; padding: 13px 16px; }
/* THE MIDDLE CELL. In the mockup column two is one anonymous `<span>` wrapping the name,
 * the why paragraph and the meta line; here it is `.ov-area__main`. `min-width: 0` is
 * what lets the `minmax(0, 1fr)` track actually shrink - without it the cell's
 * min-content floor is the longest line and the row overflows again by another route.
 * The name and the why are spans, so they are blocked out here; in the mockup the why is
 * a `<p>`, which did that for free. */
.overviewv2 .ov-area__main { min-width: 0; }
.overviewv2 .ov-area__name { display: block; }
.overviewv2 .ov-area__why { display: block; }
/* 61px of sticky topbar, plus room to breathe. Without it every jump on this screen -
 * the fit-map cards, "judged in 6 capability areas", the contract-terms link - lands
 * with the thing it jumped to tucked under the header. The mockup's own handler offsets
 * by 60px for the same reason; `scrollIntoView` has no such argument, so it goes here. */
.overviewv2 .ov-area, .overviewv2 .section { scroll-margin-top: 72px; }

/* ONE `white-space: nowrap` AT THE BOTTOM PUSHED THE WHOLE PAGE SIDEWAYS.
 *
 * Open any capability area and the page grew to 3694px inside a 1512px window - a
 * horizontal scrollbar under the entire screen. Measured on the unmodified build, so
 * this is on the live service today and is not a consequence of the row fix above.
 *
 * The source is `.card__summary` in index.html, which is `white-space: nowrap` with
 * `text-overflow: ellipsis` - it is MEANT to truncate to one line. Truncating needs a
 * container that is allowed to be narrower than the text, and it was not: a nowrap
 * span's min-content is the whole sentence, and the automatic minimum size of a grid or
 * flex item is its min-content. So the 3248px sentence travelled up through `.stack`,
 * `.ov-area__body` and `.section`, each of which had to be at least that wide, until
 * `.section`'s single implicit column resolved to 3546px inside a 1216px box.
 * `.card__toggle` already carries `min-width: 0` for exactly this reason; it could not
 * help, because everything above it was still passing the minimum up.
 *
 * Naming the tracks `minmax(0, 1fr)` and letting the stacks shrink stops the ladder at
 * this screen, and the ellipsis then does the job it was written to do.
 *
 * SCOPED, AND NOT FIXED AT THE SOURCE, DELIBERATELY. `.card__summary`, `.card` and
 * `.stack` are global; the Brain, the Council Read and the Feedback Log all use them,
 * and widening this fix to index.html would change four screens nobody has looked at
 * today. Whether they have the same overflow is worth checking and is not this change. */
.overviewv2 .section, .overviewv2 .ov-area__body { grid-template-columns: minmax(0, 1fr); }
.overviewv2 .stack { min-width: 0; }
.overviewv2 .ov-area { border: 1px solid var(--ro-line); border-radius: 10px; background: var(--ro-white); }
.overviewv2 .ov-area--none { border-color: #F0CDD0; }
.overviewv2 .ov-area--unrated { background: var(--ro-paper); }
.overviewv2 .ov-area.is-open { border: 2px solid var(--ro-ink); box-shadow: 0 8px 24px rgba(21,4,7,.08); }
.overviewv2 .ov-area.is-open.ov-area--none { border-color: var(--ro-red); }
.overviewv2 .ov-area.is-open .ov-area__head { padding: 12px 15px; }
.overviewv2 .ov-area__body { padding: 0 16px 16px; display: grid; gap: 12px; }
.overviewv2 .ov-pill--unrated { background: var(--ro-bone); color: var(--ro-muted); }

/* A checklist row. The mockup's grid lived on the <li> with the label as
 * `display: contents`; here the button IS the row, so the grid moves onto it. */
.overviewv2 .ov-check__row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: start; width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer; padding: 0; font: inherit; }
.overviewv2 .ov-check__box { width: 16px; height: 16px; margin-top: 2px; border: 1px solid var(--ro-line-strong); border-radius: 3px; display: grid; place-items: center; font-size: 11px; line-height: 1; color: var(--ro-green); }
.overviewv2 .ov-check li.is-done .ov-check__box { background: var(--ro-green-tint); border-color: var(--ro-green); }
.overviewv2 .ov-dq--disqualifying { color: var(--ro-red); }
.overviewv2 .ov-dq--eligibility { color: var(--ro-muted); }

/* Odds and ends the screen renders and the port had nothing for. */
.overviewv2 .ov-fitmap--empty { border: 1px solid var(--ro-line); border-radius: 10px; padding: 14px 16px; background: var(--ro-paper); display: grid; gap: 6px; }
.overviewv2 .ov-search { flex: 1 1 220px; min-width: 0; padding: 7px 10px; border: 1px solid var(--ro-line-strong); border-radius: 6px; font: inherit; font-size: 14px; }

/* `.ov-area--strong` and `.ov-area--partial` have no rule ON PURPOSE, and this line
 * exists so that absence reads as a decision rather than as the next thing somebody
 * finds missing. The mockup gives a distinct border to the no-evidence area only;
 * every other area uses the default. Adding tones for the other two would invent a
 * visual language the approved design does not have. */
