/* Overview. The product picture on the site, made real: one figure, every obligation a tick, three quiet
   columns on hairlines, one action, and the rest of the page as borderless sections beneath. */

.ov { display: flex; flex-direction: column; gap: 0; }
.ov small, .ov-sec > h2, .ov-head h2, .ov-cols section > h2 { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.ov-samplechip { align-self: center; }

/* The one figure, with every obligation beneath it */
.ov-lead { display: flex; flex-direction: column; gap: 0; padding: 6px 0 22px; }
.ov-pct { display: block; font-size: 96px; font-weight: 600; letter-spacing: -0.06em; line-height: 0.95; margin: 2px 0 14px; }
.ov-pct i { font-style: normal; font-size: 0.42em; letter-spacing: -0.02em; color: var(--ink-3); margin-left: 2px; }
.ov-pct.none { color: var(--ink-3); }
.ov-ticks { display: flex; gap: 2px; height: 18px; }
.ov-ticks i { display: block; flex: 1 1 0; min-width: 0; background: var(--mis); border-radius: 1px; }
.ov-ticks i.c { background: var(--ok); }
.ov-ticks i.p { background: var(--high); }
.ov-ticks i.u { background: var(--surface-2); }
.ov-keys { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 10.5px; color: var(--ink-2); }
.ov-keys span { display: inline-flex; align-items: center; gap: 5px; }
.ov-keys span::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--mis); }
.ov-keys .k-c::before { background: var(--ok); }
.ov-keys .k-p::before { background: var(--high); }
.ov-keys .k-u::before { background: var(--surface-2); outline: 1px solid var(--line); }
.ov-keys .k-r { color: var(--ink-3); }
.ov-keys .k-r::before { display: none; }
.ov-keys .k-r.first { margin-left: auto; }
.ov-keys a { color: inherit; }
.ov-lead .faint { margin-top: 12px; max-width: 70ch; }
.ov-ringbtn { margin-top: 12px; align-self: flex-start; }

/* The audit-ready bar: in place, partly, missing */
.ov-bar { display: flex; gap: 2px; height: 18px; }
.ov-bar i { display: block; min-width: 2px; border-radius: 1px; background: var(--mis); }
.ov-bar i.c { background: var(--ok); }
.ov-bar i.p { background: var(--high); }

/* One mark per policy, and the duties and records beside the figure */
.ov-leadgrid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: end; }
.ov-sentence { font-size: 13px; color: var(--ink-2); margin: -6px 0 14px; }
.ov-marks { display: flex; gap: 4px; flex-wrap: wrap; }
.ov-marks i { display: block; width: 22px; height: 22px; border-radius: 4px; background: var(--mis); }
.ov-marks i.a, .ov-marks i.c, .ov-pline i.a, .ov-pline i.c { background: var(--ok); }
.ov-marks i.d, .ov-marks i.p, .ov-pline i.d, .ov-pline i.p { background: var(--high); }
.ov-marks i.c, .ov-pline i.c { background: var(--accent-glow); }
.ov-keys .k-a::before { background: var(--ok); }
.ov-keys .k-c::before { background: var(--accent-glow); }
.ov-keys .k-d::before, .ov-keys .k-p::before { background: var(--high); }
.ov-beside { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.ov-beside a { display: flex; flex-direction: column; gap: 3px; padding: 0 16px; border-left: 1px solid var(--line); color: var(--ink); min-width: 0; }
.ov-beside a:first-child { padding-left: 0; border-left: 0; }
.ov-beside a:hover { text-decoration: none; }
.ov-beside b { font-size: 18px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.ov-beside span { font-size: 10.5px; color: var(--ink-3); }
.ov-threshold { margin-top: 14px; max-width: 80ch; font-size: 11.5px; color: var(--ink-3); }
.ov-threshold summary { list-style: none; cursor: pointer; }
.ov-threshold summary::-webkit-details-marker { display: none; }
.ov-threshold summary { border-bottom: 1px dotted var(--line-s); display: inline; }
.ov-threshold p { margin-top: 6px; font-size: 11.5px; }
.ov-plist { display: flex; flex-direction: column; }
.ov-pline { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink); }
.ov-pline:first-child { border-top: 0; padding-top: 0; }
.ov-pline:hover { text-decoration: none; color: var(--accent-ink); }
.ov-pline i { display: block; width: 10px; height: 10px; border-radius: 2px; background: var(--mis); }
.ov-pline em { font-style: normal; font-size: 10px; color: var(--ink-3); white-space: nowrap; }

/* The two counts beneath the figure, and the rulebooks line */
.ov-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 22px 0; border-top: 1px solid var(--line); }
.ov-count { display: flex; flex-direction: column; gap: 4px; padding: 0 24px; border-left: 1px solid var(--line); color: var(--ink); }
.ov-count:first-child { padding-left: 0; border-left: 0; }
.ov-count:hover { text-decoration: none; }
.ov-count:hover b { color: var(--accent-ink); }
.ov-count b { font-size: 34px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin: 4px 0; transition: color var(--t); }
.ov-count span { font-size: 12px; color: var(--ink-2); }
.ov-books { padding: 22px 0; border-top: 1px solid var(--line); }
.ov-books > p { font-size: 14px; margin-top: 8px; }
.ov-books > p a { color: var(--ink); }
.ov-books .ov-sep { color: var(--ink-3); }
.ov-books .faint { margin-top: 6px; }

/* Three quiet columns separated by air */
.ov-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 22px 0 24px; border-top: 1px solid var(--line); }
.ov-cols section { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ov-cols section > small, .ov-cols section > h2 { margin-bottom: 2px; }
.ov-cols section > h2 a, .ov-sec > h2 a { color: inherit; }
.ov-cols section > h2 a:hover { color: var(--ink); text-decoration: none; }
.ov-book { display: grid; gap: 4px; }
.ov-book span { font-size: 11.5px; }
.ov-book em { font-style: normal; font-size: 10.5px; color: var(--ink-3); }
.ov-ticks.sm { height: 8px; gap: 1.5px; }
.ov-polnum { display: flex; align-items: baseline; gap: 8px; }
.ov-polnum b { font-size: 34px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.ov-polnum span { font-size: 11px; color: var(--ink-2); }
.ov-pol { display: flex; gap: 3px; flex-wrap: wrap; }
.ov-pol i { display: block; width: 16px; height: 16px; border-radius: 3px; background: var(--mis); }
.ov-pol i.a { background: var(--ok); }
.ov-pol i.d { background: var(--high); }
.ov-pollist { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; }
.ov-pollist span { padding-left: 12px; position: relative; }
.ov-pollist span::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--ok); }
.ov-pollist span.d::before { background: var(--high); }
.ov-calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; font-size: 10px; text-align: center; max-width: 200px; }
.ov-calhd { color: var(--ink-3); font-size: 9px; padding-bottom: 2px; }
.ov-calday { display: grid; place-items: center; height: 20px; border-radius: 4px; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ov-calday.empty { visibility: hidden; }
.ov-calday.today { background: var(--ink); color: #fff; }
.ov-calday.mark-key { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.ov-calday.mark-duty { background: var(--surface-2); color: var(--ink); }
.ov-calday.mark-overdue { background: var(--crit); color: #fff; }
.ov-callegend { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.ov-calkey { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--ink-3); }
.ov-calkey::before { content: ""; width: 8px; height: 8px; border-radius: 2px; }
.ov-calkey.key::before { box-shadow: inset 0 0 0 1px var(--ink); }
.ov-calkey.duty::before { background: var(--surface-2); outline: 1px solid var(--line); }
.ov-calkey.overdue::before { background: var(--crit); }
.ov-next { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.ov-next b { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.ov-next span { font-size: 11.5px; }
.ov-next em, .ov-next .faint { font-style: normal; font-size: 10.5px; color: var(--ink-3); }
.ov-next .row { gap: 6px; margin-top: 4px; }

/* Open gaps column and the vendors drawing */
.ov-gaplist { display: flex; flex-direction: column; }
.ov-gapline { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink); line-height: 1.4; }
.ov-gapline:first-child { border-top: 0; padding-top: 0; }
.ov-gapline:hover { text-decoration: none; color: var(--accent-ink); }
.ov-gapline span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ov-more { font-size: 11px; color: var(--ink-3); border-bottom: 1px solid var(--line); align-self: flex-start; }
.ov-more:hover { color: var(--ink); text-decoration: none; border-color: var(--ink); }
.ov-cov { display: flex; flex-direction: column; gap: 10px; }
.ov-vempty { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: center; }
.ov-draw { width: 100%; height: auto; display: block; }
.ov-draw .b polygon { stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; stroke-opacity: 0.85; vector-effect: non-scaling-stroke; }
.ov-draw .rule { fill: none; stroke: var(--ink); stroke-opacity: 0.32; stroke-width: 0.7; vector-effect: non-scaling-stroke; }
.ov-vempty .faint { margin-bottom: 10px; max-width: 40ch; }

/* The one action */
.ov-act { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); }
.ov-act .btn { background: var(--accent); color: #fff; }
.ov-act .btn:hover { background: var(--accent-ink); }
.ov-act small { text-transform: none; letter-spacing: 0; font-size: 10.5px; }

/* The rest of the page: borderless sections in two columns */
.ov-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 40px; }
.ov-sec { display: flex; flex-direction: column; gap: 10px; padding: 20px 0 24px; border-top: 1px solid var(--line); min-width: 0; }
.ov-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ov-head a { white-space: nowrap; font-size: 11px; color: var(--ink-3); }
.ov-head a:hover { color: var(--ink); }
.ov-sec > .faint, .ov-sec > .muted { font-size: 12px; }

/* Coverage by function: thin bars on one grid */
.ov-legend { margin-top: 0; gap: 12px; }
.ov-legend .status { font-size: 10.5px; }
.ov-legend .status.none::before { background: var(--surface-2); outline: 1px solid var(--line); }
.ov-meter .m-unk { background: var(--surface-2); }
.ov-fns { display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
.ov-fn { display: grid; grid-template-columns: 64px minmax(80px, 1fr) auto; gap: 12px; align-items: center; }
.ov-fnname { font-weight: 500; font-size: 11.5px; }
.ov-meter { height: 6px; }
.ov-fncount { white-space: nowrap; font-size: 10.5px; }

/* What to upload next: rows on hairlines */
.ov-needs { display: flex; flex-direction: column; }
.ov-need { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 2px 16px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); }
.ov-need:first-child { border-top: 0; padding-top: 2px; }
.ov-need:hover { text-decoration: none; }
.ov-needtitle { grid-column: 1; font-weight: 500; font-size: 12px; color: var(--ink); }
.ov-needwhat { grid-column: 1; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; }
.ov-needside { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 5px; }
.ov-needside .meter { width: 100%; height: 5px; }
.ov-needside .chip { font-size: 10px; }
.ov-needmake { grid-column: 1; justify-self: start; margin-top: 4px; padding: 0; background: transparent; color: var(--accent-ink); font-size: 11.5px; border-bottom: 1px solid var(--line); border-radius: 0; }
.ov-needmake:hover { background: transparent; border-color: var(--accent-ink); }

/* Recurring duties, vendors and open gaps */
.ov-vchips { gap: 6px; }
.ov-gaps { display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
.ov-gap { display: flex; flex-direction: column; gap: 5px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.ov-gap:last-child { padding-bottom: 0; border-bottom: 0; }
.ov-gaptext { font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ov-gapmeta { gap: 6px; }

@media (max-width: 900px) {
  .ov-pct { font-size: 60px; }
  .ov-leadgrid { grid-template-columns: 1fr; gap: 18px; }
  .ov-beside { grid-template-columns: 1fr; gap: 10px; }
  .ov-beside a { padding: 0; border-left: 0; }
  .ov-ticks { height: 14px; gap: 1px; }
  .ov-keys .k-r.first { margin-left: 0; }
  .ov-cols, .ov-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ov-two { grid-template-columns: 1fr; gap: 16px; }
  .ov-count { padding: 0; border-left: 0; }
  .ov-cols section { padding: 18px 0; border-top: 1px solid var(--line); }
  .ov-cols section:first-child { border-top: 0; padding-top: 0; }
  .ov-fn { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "name count" "bar bar"; gap: 6px 12px; }
  .ov-fnname { grid-area: name; }
  .ov-meter { grid-area: bar; }
  .ov-fncount { grid-area: count; text-align: right; white-space: normal; }
  .ov-need { grid-template-columns: minmax(0, 1fr); }
  .ov-needside { grid-column: 1; grid-row: auto; margin-top: 6px; }
  .ov-needmake { white-space: normal; text-align: left; }
  .ov-sec a, .ov-lead a { overflow-wrap: anywhere; }
  .ov-vempty { grid-template-columns: 1fr; }
  .ov-vempty > div:first-child { max-width: 200px; }
}
