/* p2-base.part.css · copied verbatim, 27 Nov, from 2026-11-26-creators-v2/04-build/admin/p2-base.css lines 1–62 (strips, stacked bar, tooltip, overview grid, tables) and 709–742 (budget ticker C4). The rest of p2-base is Creators-only and is left out. */
/* p2-base.css · ported 26 Nov from v1 v2-a2a4.css (23–25 Nov): tile strip (.v2-strip), joined toolbar (.v2-tb), 8-pip post mark (.pk),
   key, payouts tiles, log-a-post picker (.v2pk). Same rules, v1 file no longer loaded. The KPI-tranche rules stay unused (no renderer emits them). */
/* ── 23 Nov · v2 · A2+A4 — Overview, Month-end close, KPI Payouts (v2-money.js, v2-close.js) ──
   White panes, hairlines, DS tokens. Lilac = progress/met; amber = hold/blocked; blue-600 = the cut line only; ink = now. */
.v2 .pad { padding-bottom: var(--space-12); }
.v2 h2, .v2 h3 { margin: 0; }
.v2-strip { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin-bottom: var(--space-6); }
.v2-strip .v2-tile { cursor: default; gap: var(--space-2); }
.v2-strip .dt-n { font-size: var(--font-size-24); }
.v2-strip .rp-of { font-family: var(--font-family-body); font-size: var(--font-size-13); font-weight: var(--font-weight-medium); color: var(--color-text-tertiary); letter-spacing: 0; }

/* Sections */
.v2-sec { padding: var(--space-5) 0; border-top: 1px solid var(--color-border-subtle); }
.v2-sec__h { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-1) var(--space-3); margin-bottom: var(--space-4); }
.v2-sec__h h2 { font-family: var(--font-family-display); font-size: var(--font-size-16); font-weight: var(--font-weight-semibold); }
.v2-sec__h p { margin: 0; font-size: var(--font-size-13); }
.v2-more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: var(--font-size-13); font-weight: var(--font-weight-medium); color: var(--color-text-primary); text-decoration: none; }
.v2-more svg { width: 14px; height: 14px; }
.v2-more:hover { text-decoration: underline; }
.v2 .faint { color: var(--color-text-tertiary); }
.v2-cap, .v2-foot { text-align: left; margin: var(--space-3) 0 0; font-size: var(--font-size-13); color: var(--color-text-secondary); max-width: 72ch; }
.v2-fine { margin: 0 0 var(--space-3); font-size: var(--font-size-13); color: var(--color-text-secondary); }

/* Stacked bar + legend (dataviz: 2px gaps, rounded ends, legend values in ink) */
.v2-bar { display: flex; gap: 2px; height: 12px; }
.v2-bar--tall { height: 20px; }
.v2-seg { display: block; min-width: 3px; border-radius: 2px; outline-offset: 2px; }
.v2-bar .v2-seg:first-child { border-radius: 4px 2px 2px 4px; }
.v2-bar .v2-seg:last-child { border-radius: 2px 4px 4px 2px; }
.v2-seg--a { background: var(--color-lilac-700); }
.v2-seg--b { background: var(--color-lilac-400); }
.v2-seg--hold { background: var(--color-amber-500); }
.v2-seg--mute { background: var(--color-neutral-300); }
.v2-seg--rest { background: repeating-linear-gradient(135deg, var(--color-neutral-200) 0 2px, transparent 2px 6px); box-shadow: inset 0 0 0 1px var(--color-neutral-200); }
.v2-leg { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin: var(--space-3) 0 0; padding: 0; list-style: none; font-size: var(--font-size-13); color: var(--color-text-secondary); }
.v2-leg li { display: inline-flex; align-items: center; gap: 6px; }
.v2-leg b { color: var(--color-text-primary); font-weight: var(--font-weight-semibold); font-variant-numeric: tabular-nums; }
.v2-sw { width: 10px; height: 10px; border-radius: 2px; flex: none; }

/* 50 seats */
.v2-seats { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 3px; max-width: 640px; }
.v2-seats--big { gap: 4px; max-width: 760px; }
.v2-st { display: block; aspect-ratio: 1; border-radius: 3px; }
.v2-st--ret { background: var(--color-lilac-700); }
.v2-st--sel { background: var(--color-lilac-300); }
.v2-st--hold { background: repeating-linear-gradient(135deg, var(--color-amber-500) 0 2px, var(--color-amber-100) 2px 5px); }
.v2-st--empty { box-shadow: inset 0 0 0 1px var(--color-border-strong); }
.v2-leg .v2-st { aspect-ratio: auto; }

/* Hover tooltip for marks */
.v2-tip { position: fixed; z-index: 90; padding: 5px 8px; border-radius: var(--radius-xs); background: var(--color-bg-inverse); color: var(--color-text-inverse); font-size: var(--tiny); font-weight: var(--font-weight-medium); white-space: nowrap; pointer-events: none; }

/* Overview grid */
.v2-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-8); }
.v2-grid .v2-span { grid-column: 1 / -1; }
.v2-fun { display: grid; gap: var(--space-2); margin: 0; }
.v2-fun > div { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: var(--space-3); }
.v2-fun dt { font-size: var(--font-size-13); color: var(--color-text-secondary); text-align: left; }
.v2-fun dd { margin: 0; display: flex; align-items: center; gap: var(--space-2); }
.v2-fun__b { display: block; width: var(--w); min-width: 3px; height: 12px; border-radius: 0 4px 4px 0; background: var(--color-lilac-700); }
.v2-fun b { font-size: var(--font-size-13); font-variant-numeric: tabular-nums; }

/* ── 24 Nov · budget ticker (Mikky: "something like this" → the Overview's ticker ramp bar, v2-overview.css "23 Nov · bar pattern").
   ONE 10px bar: KPI base = lilac-700 hairlines on lilac-100, Rank bonus = blue-300 (--ov-path) on blue-50, each a 4px hairline
   pitch that tightens to 2px toward a solid 2px cap; Unspent = faint grey ruler ticks only. Legend swatches = 16×8 mini tickers. ── */
.v2-tk--a, .sw--tka { --bi: var(--color-lilac-700); --bw: var(--color-lilac-100); }
.v2-tk--b, .sw--tkb { --bi: var(--ov-path, var(--color-blue-300)); --bw: var(--color-blue-50); }
.v2-tk--r, .sw--tkr { --bi: var(--color-neutral-300); }
.ovt .sw--tka, .ovt .sw--tkb, .ovt .sw--tkr { background: var(--bi); }
.v2-tk { display: flex; gap: 2px; width: 100%; height: 10px; }
.v2-tk__s { display: block; min-width: 3px; outline-offset: 2px; }
.v2-tk__s:focus-visible { outline: 2px solid var(--color-border-focus); }
.v2-tk__s.v2-tk--a, .v2-tk__s.v2-tk--b, .v2-tk-sw.v2-tk--a, .v2-tk-sw.v2-tk--b { position: relative; border-radius: 1px;
  background:
    linear-gradient(var(--bi), var(--bi)) right / 2px 100% no-repeat,
    linear-gradient(90deg, var(--bi) 1px, transparent 1px) 0 0 / 4px 100% repeat-x,
    var(--bw); }
.v2-tk__s.v2-tk--a::after, .v2-tk__s.v2-tk--b::after, .v2-tk-sw.v2-tk--a::after, .v2-tk-sw.v2-tk--b::after { content: ""; position: absolute; inset: 0 2px 0 0;
  background: linear-gradient(90deg, var(--bi) 1px, transparent 1px) 2px 0 / 4px 100% repeat-x;
  -webkit-mask: linear-gradient(90deg, transparent 20%, #000 90%); mask: linear-gradient(90deg, transparent 20%, #000 90%); }
.v2-tk-sw.v2-tk--a::after, .v2-tk-sw.v2-tk--b::after { -webkit-mask: none; mask: none; inset: 0 2px 0 8px; }   /* 16px swatch: the tighter half shows */
.v2-tk--r { background: linear-gradient(90deg, var(--color-neutral-200) 1px, transparent 1px) 0 50% / 4px 4px repeat-x; }
.v2-tk-sw.v2-tk--r { background-color: transparent; }
.v2-tk-sw { display: block; flex: none; width: 16px; height: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .v2-tk.is-play { animation: v2-tk-in 380ms cubic-bezier(0.23, 1, 0.32, 1) both; }
}
@keyframes v2-tk-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
/* the compact row: "Budget" 13px medium · bar (fills the space) · legend 12px */
html .v2-pay .v2-budget { grid-template-columns: auto minmax(0, 1fr) auto; }
html .v2-pay .v2-budget .v2-tk-leg { margin: 0; font-size: var(--font-size-12); gap: var(--space-1) var(--space-5); color: var(--color-text-tertiary); flex-wrap: nowrap; }
html .v2-pay .v2-budget .v2-tk-leg li { white-space: nowrap; }
html .v2-pay .v2-budget .v2-tk-leg b { font-weight: var(--font-weight-medium); color: var(--color-text-secondary); }
@media (max-width: 900px) { html .v2-pay .v2-budget { grid-template-columns: 1fr; } html .v2-pay .v2-budget .v2-tk-leg { flex-wrap: wrap; } }
#dlg.v2-lp .lp2-row.lp2-row--one { grid-template-columns: minmax(0, 1fr); }   /* 24 Nov · no views field (CPO) */

