/* AsMade.AI — High Level Dashboard
 * Layout, spacing, shape and component anatomy: Figma handoff v3.
 * Colour and type: helyoslabs.com's own custom properties.
 *
 * Every colour below was contrast-checked; the measured ratios are in README.md.
 * Two deliberate departures from the published brand tokens, both forced by WCAG:
 *   --warn-fill  .730 -> .675  (was 2.46:1 on white, below the 3:1 non-text floor)
 *   --stone      is hairlines only; the third TEXT tier is --stone-text (4.84:1)
 */

/* ============================================================== tokens */
:root {
  /* brand — read off helyoslabs.com's :root, not sampled from a screenshot */
  --canvas:        oklch(1.000 0.000 90);
  --surface:       oklch(0.979 0.003 264);
  --ink:           oklch(0.227 0.004 286);
  --slate:         oklch(0.469 0.027 272);
  --stone:         oklch(0.659 0.022 277);   /* hairline/decoration ONLY */
  --stone-text:    oklch(0.552 0.024 275);   /* 4.84:1 — the third text tier */
  --hairline:      oklch(0.913 0.008 271);
  --hairline-soft: oklch(0.954 0.005 258);
  --brand-yellow:  oklch(0.874 0.168 91);

  /* ---- hover accents, from Yosi's retro stripe reference (2026-10-08) --------------------
   * Converted from the reference's sRGB, not eyeballed: #E07B33, #4E86A8, #A6CBD9.
   * TWO accents because hover answers two different questions. Cool on anything that NAVIGATES
   * (rail, facet pills, view switch) and warm on anything that OPENS (a project card, a table
   * row) — so the colour tells you whether the pointer is over a route or over a thing.
   *
   * 🔴 THE WARM ONE SITS NEXT TO `--warn`. "At Risk" is already orange (hue 62-72) and the
   * accent is hue 52, so a hovered at-risk card carries two oranges at once. They are kept
   * apart by BEHAVIOUR, not by hue: the chip is a solid fill that is always there, the hover is
   * a 5% wash plus a border that exists only under the pointer. If that ever reads as one
   * thing, swap --hover-open to --retro-blue and the whole app follows. */
  --retro-orange:   oklch(0.684 0.150 52);    /* #E07B33 */
  --retro-blue:     oklch(0.595 0.079 237);   /* #4E86A8 — ink-weight, for light surfaces */
  --retro-blue-lt:  oklch(0.741 0.065 227);   /* #7FB4CB — the light band, for washes on --nav.
     🔴 The PALER #A6CBD9 band was tried first and read as grey: at 16% over near-black its
     chroma 0.044 has nothing left to show. The wash needs the band with chroma to spare. */
  --hover-open: var(--retro-orange);          /* a card / a row: this OPENS something */
  --hover-nav:  var(--retro-blue);            /* a rail item / a pill: this NAVIGATES */

  --tint-coral:  oklch(0.877 0.065 19);
  --tint-teal:   oklch(0.946 0.056 189);
  --tint-orange: oklch(0.939 0.043 67);

  /* status — text tier (>=4.5:1 on canvas AND on its own tint) */
  --ok:   oklch(0.490 0.100 185);
  --warn: oklch(0.505 0.125 62);
  --late: oklch(0.487 0.180 25);
  /* status — fill tier (>=3:1 on canvas, HIG's non-text floor) */
  --ok-fill:   oklch(0.640 0.140 180);
  --warn-fill: oklch(0.675 0.165 72);
  --late-fill: oklch(0.615 0.225 25);

  /* handoff's semantic roles mapped onto the brand */
  --page:    var(--surface);        /* handoff bg      #F5F7FB */
  --card:    var(--canvas);         /* handoff surface #FFFFFF */
  --nav:     var(--ink);            /* handoff sidebar #0E223A */
  --on-nav:        oklch(1 0 0 / .72);
  --on-nav-strong: oklch(1 0 0);
  --nav-active:    oklch(1 0 0 / .10);
  --bar-track: var(--hairline);
  --planned:   var(--stone-text);   /* handoff "planned = slate grey" */

  /* shape + spacing — handoff v3 */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-pill: 9999px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-7: 32px;
  --rail-w: 180px;
  --pad: 24px;
  --max: 1600px;

  /* type — handoff scale, asmadeai face */
  --font: "Host Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --t-h1: 34px; --t-h2: 20px; --t-body: 14px; --t-label: 12px; --t-metric: 24px;

  /* hero scrub — written by GSAP, never by CSS transition */
  --hero-k: 0;            /* 0 = full KPI band, 1 = collapsed figure row */
  --shadow: 0 1px 2px oklch(0.227 0.004 286 / .05), 0 8px 24px oklch(0.227 0.004 286 / .05);
}

/* ============================================================== reset */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }          /* beats a component's own display */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 var(--t-body)/1.45 var(--font);
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
svg { display: block; }
.vh {                                            /* visually hidden, still read */
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--r-sm);
}
.num { font-variant-numeric: tabular-nums; }

/* ============================================================== rail */
#rail {
  position: fixed; inset-block: 0; inset-inline-start: 0; width: var(--rail-w);
  background: var(--nav); color: var(--on-nav-strong);
  display: flex; flex-direction: column; z-index: 40;
  padding: var(--sp-5) 0;
}
#rail .brand {
  display: flex; align-items: center; gap: 10px;
  padding: 0 var(--sp-4) var(--sp-6); font-weight: 700; font-size: 15px;
  letter-spacing: -0.02em;
}
#rail .brand .mark {
  width: 26px; height: 26px; border-radius: var(--r-sm); flex: none;
  background: var(--brand-yellow); color: var(--ink);
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
#rail nav { display: flex; flex-direction: column; gap: 2px; padding-inline: var(--sp-2); }
#rail a {
  display: flex; align-items: center; gap: 10px;
  min-height: 36px; padding: 0 10px; border-radius: var(--r-sm);
  color: var(--on-nav); text-decoration: none; font-size: 13px; font-weight: 500;
  position: relative;
}
#rail a svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.7;
  fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* On --nav (near-black ink) the ink-weight blue disappears, so the rail takes the LIGHT band
   at low alpha — the same colour, at the weight the surface can show. */
#rail a:hover {
  color: var(--on-nav-strong);
  background: color-mix(in oklab, var(--retro-blue-lt) 22%, transparent);
}
#rail a[aria-current] { color: var(--on-nav-strong); background: var(--nav-active); }
#rail a[aria-current]::before {
  content: ''; position: absolute; inset-inline-start: -8px; inset-block: 8px;
  width: 3px; border-radius: var(--r-pill); background: var(--brand-yellow);
}
/* ---- a nav item with children (Projects > Map, Spatial) ----------------------------------- */
#rail .navrow { display: flex; align-items: center; gap: 2px; }
#rail .navrow > a { flex: 1; min-width: 0; }
#rail .navtoggle {
  flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  border: 0; background: none; color: var(--on-nav); border-radius: var(--r-sm);
  cursor: pointer;
}
#rail .navtoggle:hover {
  color: var(--on-nav-strong);
  background: color-mix(in oklab, var(--retro-blue-lt) 22%, transparent);
}
#rail .navtoggle:focus-visible { outline: 2px solid var(--brand-yellow); outline-offset: 1px; }
#rail .navtoggle svg {
  width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  transform: rotate(-90deg); transition: transform .18s cubic-bezier(0, 0, .2, 1);
}
:dir(rtl) #rail .navtoggle svg { transform: rotate(90deg); }
#rail .navgroup[data-open] .navtoggle svg,
:dir(rtl) #rail .navgroup[data-open] .navtoggle svg { transform: rotate(0deg); }
/* 🔑 grid-template-rows 0fr -> 1fr, so the children collapse to their OWN height with no magic
   max-height to keep in step with the number of rows. The inner div carries `overflow: hidden`,
   which is what makes the 0fr row actually clip. */
#rail .navkids {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .18s cubic-bezier(0, 0, .2, 1);
}
#rail .navgroup[data-open] .navkids { grid-template-rows: 1fr; }
#rail .navkids > div { overflow: hidden; display: flex; flex-direction: column; gap: 2px; }
#rail .navkids a { margin-inline-start: var(--sp-5); font-size: 12.5px; min-height: 32px; }
#rail .navkids a svg { width: 15px; height: 15px; }
/* The children are not reachable by tab while the group is shut: `visibility` is inherited through
   the clipped row, and a link nobody can see must not take focus either. */
#rail .navgroup:not([data-open]) .navkids > div { visibility: hidden; }

#rail .spacer { flex: 1; }

/* ============================================================== scroll column */
/* ScrollSmoother writes position/inset INLINE onto the wrapper, so a rail offset
   declared here is silently overwritten and the table slides under the sidebar.
   The offset belongs on the content. */
#smooth-wrapper { position: fixed; inset: 0; overflow: hidden; z-index: 2; }
#smooth-content {
  padding: var(--sp-6) var(--pad) 96px;
  padding-inline-start: calc(var(--rail-w) + var(--pad));
}
.page { max-width: var(--max); margin: 0 auto; }

/* ============================================================== masthead */
.mast {
  display: flex; align-items: flex-start; gap: var(--sp-6);
  padding-bottom: var(--sp-5);
}
.mast h1 {
  margin: 0; font-size: var(--t-h1); font-weight: 700; line-height: 1.1;
  letter-spacing: -0.022em;
}
.mast .sub { margin: 6px 0 0; color: var(--slate); font-size: var(--t-body); }
.mast .grow { flex: 1; }
.search {
  display: flex; align-items: center; gap: var(--sp-2);
  min-height: 38px; padding: 0 14px; width: 300px;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
}
.search svg { width: 15px; height: 15px; stroke: var(--stone-text); stroke-width: 1.8;
  fill: none; stroke-linecap: round; }
.search input { border: 0; outline: 0; background: none; width: 100%; font-size: 13px; }
.search input::placeholder { color: var(--stone-text); }
.who { display: flex; align-items: center; gap: 10px; min-height: 38px; }
.who .av {
  width: 34px; height: 34px; border-radius: var(--r-pill); background: var(--ink);
  color: var(--canvas); display: grid; place-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0;
}
.who .nm { font-size: 13px; font-weight: 600; line-height: 1.2; }
.who .ro { font-size: var(--t-label); color: var(--stone-text); line-height: 1.2; }

/* ============================================================== hero (sticky + scrubbed) */
.hero {
  position: sticky; top: 0; z-index: 20;
  background: var(--page);
  padding-block: var(--sp-2);
  margin-inline-end: calc(var(--pad) * -1); padding-inline-end: var(--pad);
  margin-inline-start: calc((var(--rail-w) + var(--pad)) * -1);
  padding-inline-start: calc(var(--rail-w) + var(--pad));
}
.hero::after {                                   /* scroll edge effect, not a bar fill */
  content: ''; position: absolute; inset-inline: 0; top: 100%; height: 18px;
  background: linear-gradient(var(--page), oklch(0.979 0.003 264 / 0));
  opacity: var(--hero-k); pointer-events: none;
}

/* filters */
.filters { display: flex; align-items: flex-end; gap: var(--sp-3); flex-wrap: wrap;
  padding-bottom: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span {
  font-size: var(--t-label); font-weight: 700; color: var(--slate);
  letter-spacing: 0.01em;
}
.field select {
  appearance: none; min-height: 38px; min-width: 150px;
  padding: 0 34px 0 12px; border-radius: var(--r-sm);
  background: var(--card) no-repeat right 12px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236E7181' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  border: 1px solid var(--hairline); font-size: 13px; cursor: pointer;
}
:dir(rtl) .field select { padding: 0 12px 0 34px; background-position: left 12px center; }
.filters .clear {
  min-height: 38px; padding: 0 4px; color: var(--slate);
  font-size: 13px; font-weight: 500; text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: var(--hairline);
}
.filters .clear:hover { color: var(--ink); }
.field select:hover, .pf:hover select { border-color: var(--hover-nav); }
.filters .grow { flex: 1; }
.seg {
  display: flex; gap: 2px; padding: 3px; background: var(--card);
  border: 1px solid var(--hairline); border-radius: var(--r-sm);
}
.seg button {
  display: flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 13px;
  border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--slate);
}
.seg button svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round; }
.seg button:hover:not([aria-pressed="true"]) {
  background: color-mix(in oklab, var(--hover-nav) 9%, var(--card));
  color: var(--hover-nav);
}
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--canvas); }

/* KPI band — 5 cards at hero-k 0, one hairline row at hero-k 1 */
.kpis {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-3);
  padding-bottom: var(--sp-4);
}
.kpi {
  display: flex; align-items: center; gap: var(--sp-3);
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: var(--sp-4);
  /* GSAP writes --kpi-pad / --kpi-icon via the hero scrub */
  padding: calc(var(--sp-4) - var(--hero-k) * 10px) var(--sp-4);
}
.kpi .ic {
  width: calc(44px - var(--hero-k) * 44px); height: 44px; flex: none;
  border-radius: var(--r-md); display: grid; place-items: center;
  opacity: calc(1 - var(--hero-k) * 1.6); overflow: hidden;
}
.kpi .ic svg { width: 21px; height: 21px; stroke-width: 1.9; fill: none;
  stroke-linecap: round; stroke-linejoin: round; }
.kpi .k { font-size: var(--t-label); font-weight: 700; color: var(--slate); }
.kpi .n {
  font-size: calc(var(--t-metric) - var(--hero-k) * 6px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.02em;
}
.kpi .f { font-size: var(--t-label); color: var(--stone-text);
  opacity: calc(1 - var(--hero-k) * 1.6); }
.kpi .body { min-width: 0; display: flex; flex-direction: column;
  gap: calc(2px + (1 - var(--hero-k)) * 2px); }
.kpi.ok   .ic { background: var(--tint-teal);   color: var(--ok); }
.kpi.warn .ic { background: var(--tint-orange); color: var(--warn); }
.kpi.late .ic { background: var(--tint-coral);  color: var(--late); }
.kpi.info .ic { background: var(--hairline-soft); color: var(--slate); }
.kpi.crit .ic { background: var(--tint-coral);  color: var(--late); }
.kpi.crit .n  { color: var(--late); }

/* ============================================================== body grid */
.cols {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--sp-4); align-items: start;
}

/* ============================================================== table */
.panel {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); overflow: hidden;
}
.panel > header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-5) var(--sp-5) var(--sp-3);
}
.panel > header h2 { margin: 0; font-size: var(--t-h2); font-weight: 700;
  letter-spacing: -0.015em; }

table { width: 100%; border-collapse: collapse; }
thead th {
  text-align: start; padding: 10px var(--sp-3); font-size: var(--t-label);
  font-weight: 700; color: var(--slate); white-space: nowrap;
  border-bottom: 1px solid var(--hairline);
}
thead th:first-child { padding-inline-start: var(--sp-5); }
thead th:last-child  { padding-inline-end: var(--sp-5); }
thead th.r, td.r { text-align: end; }
th .hint {
  display: inline-grid; place-items: center; width: 16px; height: 16px;
  border-radius: var(--r-pill); border: 1px solid var(--stone);
  color: var(--stone-text); font-size: 11px; font-weight: 700; margin-inline-start: 5px;
  vertical-align: -3px; line-height: 1;
}
tbody tr {
  border-bottom: 1px solid var(--hairline-soft); cursor: pointer;
  position: relative;
}
tbody tr:last-child { border-bottom: 0; }
/* `.hot` is a STATE and stays neutral; only :hover takes the accent, or a row would look
   hovered when nobody is pointing at it. */
tbody tr.hot { background: var(--surface); }
tbody tr:hover { background: color-mix(in oklab, var(--hover-open) 7%, var(--canvas)); }
tbody tr.sel { background: var(--hairline-soft); }
tbody tr.sel::after {
  content: ''; position: absolute; inset-block: 0; inset-inline-start: 0;
  width: 3px; background: var(--ink);
}
td { padding: var(--sp-3); vertical-align: middle; height: 56px; }
td:first-child { padding-inline-start: var(--sp-5); }
td:last-child  { padding-inline-end: var(--sp-5); }

.proj { display: flex; align-items: center; gap: 10px; }
.proj .dot { width: 9px; height: 9px; border-radius: var(--r-pill); flex: none; }
.proj .nm { font-weight: 600; font-size: 13px; line-height: 1.25; }
.proj .lo { font-size: var(--t-label); color: var(--stone-text); display: flex;
  align-items: center; gap: 4px; }
.proj .lo svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 1.7;
  fill: none; }
.live {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 1px 6px; border-radius: var(--r-pill);
  background: var(--brand-yellow); color: var(--ink); margin-inline-start: 6px;
}

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 26px; padding: 0 10px; border-radius: var(--r-pill);
  font-size: var(--t-label); font-weight: 700; white-space: nowrap;
}
.chip svg { width: 13px; height: 13px; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round; }
.chip.ok   { background: var(--tint-teal);   color: var(--ok); }
.chip.warn { background: var(--tint-orange); color: var(--warn); }
.chip.late { background: var(--tint-coral);  color: var(--late); }

.ms .a { font-size: 13px; font-weight: 500; }
.ms .b { font-size: var(--t-label); color: var(--stone-text); }

.pct { display: flex; flex-direction: column; gap: 6px; min-width: 96px; }
.pct .v { font-size: 13px; font-weight: 700; }
.track {
  height: 6px; border-radius: var(--r-pill); background: var(--bar-track);
  overflow: hidden;
}
.track > i { display: block; height: 100%; width: 0; border-radius: var(--r-pill); }
.pct.actual .track > i.ok   { background: var(--ok-fill); }
.pct.actual .track > i.warn { background: var(--warn-fill); }
.pct.actual .track > i.late { background: var(--late-fill); }
.pct.plan   .track > i      { background: var(--planned); }

.var { font-size: 13px; font-weight: 700; }
.var.ok { color: var(--ok); } .var.warn { color: var(--warn); } .var.late { color: var(--late); }
.iss { font-size: 13px; font-weight: 600; }
.iss.hot { color: var(--late); }
.cap .a { font-size: 13px; } .cap .b { font-size: var(--t-label); color: var(--stone-text); }

.kebab {
  width: 28px; height: 28px; border-radius: var(--r-sm); display: grid;
  place-items: center; color: var(--stone-text);
}
.kebab:hover {
  background: color-mix(in oklab, var(--hover-nav) 10%, var(--card));
  color: var(--hover-nav);
}
.kebab svg { width: 15px; height: 15px; }

/* sparkline of a project's milestones */
.endcell { display: flex; align-items: center; justify-content: flex-end; gap: var(--sp-2); }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 22px; width: 54px; flex: none; }
.spark i { flex: 1; border-radius: 1px; background: var(--hairline); min-height: 2px; }
.spark i.ok { background: var(--ok-fill); }
.spark i.warn { background: var(--warn-fill); }
.spark i.late { background: var(--late-fill); }

/* ============================================================== cards view */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-4); padding: var(--sp-5); }
.card {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: var(--sp-4); cursor: pointer;
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.card:hover {
  border-color: var(--hover-open);
  background: color-mix(in oklab, var(--hover-open) 5%, var(--card));
}
.card .top { display: flex; align-items: flex-start; gap: var(--sp-3); }
.card .top .grow { flex: 1; min-width: 0; }
.card .ml { font-size: var(--t-label); font-weight: 700; color: var(--slate); }
.card .pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.card .foot {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2);
  padding-top: var(--sp-3); border-top: 1px solid var(--hairline-soft);
}
.card .foot .k { font-size: var(--t-label); color: var(--stone-text); }
.card .foot .v { font-size: 13px; font-weight: 600; }

/* ============================================================== right rail */
.side { display: flex; flex-direction: column; gap: var(--sp-4);
  position: sticky; top: 0; }

/* preview — the tier bridge, visible */
.preview { padding: var(--sp-4); }
.preview .shot {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-md);
  overflow: hidden; background: var(--hairline-soft);
}
.preview .shot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.preview .shot .ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--slate); font-size: var(--t-label); font-weight: 600;
  text-align: center; padding: var(--sp-4);
}
.preview .cap { display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-2); padding-top: var(--sp-3); }
.preview .cap .t { font-size: 13px; font-weight: 600; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview .cap .s { font-size: var(--t-label); color: var(--stone-text); }
.preview .views {
  display: flex; gap: 6px; padding-top: var(--sp-3); overflow: hidden;
}
.preview .views .v {
  position: relative; width: 44px; height: 34px; border-radius: 6px; flex: none;
  overflow: hidden; background: var(--hairline);
}
.preview .views .v img { width: 100%; height: 100%; object-fit: cover; }
.preview .views .v.locked img { filter: grayscale(1) brightness(.78); }
.preview .views .v.locked::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg,
    oklch(0.487 0.180 25 / .55) 0 5px, oklch(0.227 0.004 286 / .55) 5px 10px);
  opacity: .72;
}
.preview .go {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; min-height: 38px; margin-top: var(--sp-3);
  border-radius: var(--r-pill); background: var(--ink); color: var(--canvas);
  font-size: 13px; font-weight: 600;
}
.preview .go[disabled] {
  background: var(--card); color: var(--stone-text);
  border: 1px solid var(--hairline); cursor: default;
}
.preview .go svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round; }
:dir(rtl) .preview .go svg { transform: scaleX(-1); }

/* needs attention */
.attn > header { display: flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-4) var(--sp-3); }
.attn > header h2 { margin: 0; font-size: 15px; font-weight: 700; flex: 1; }
.attn > header svg { width: 17px; height: 17px; stroke: var(--late); stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round; }
.attn ul { list-style: none; margin: 0; padding: 0 var(--sp-2) var(--sp-2); }
.attn li a {
  display: grid; grid-template-columns: 9px 1fr 14px; gap: 10px; align-items: start;
  padding: var(--sp-3); border-radius: var(--r-md); text-decoration: none;
  color: inherit; min-height: 44px;
}
.attn li a:hover { background: color-mix(in oklab, var(--hover-open) 7%, var(--canvas)); }
.attn .dot { width: 9px; height: 9px; border-radius: var(--r-pill); margin-top: 4px; }
.attn .t { font-size: 13px; font-weight: 600; }
.attn .d { font-size: var(--t-label); color: var(--slate); line-height: 1.4; }
.attn .w { font-size: var(--t-label); color: var(--stone-text); margin-top: 3px; }
.attn .ch { width: 14px; height: 14px; stroke: var(--stone); stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round; margin-top: 4px; }
:dir(rtl) .attn .ch { transform: scaleX(-1); }

.dot.ok { background: var(--ok-fill); } .dot.warn { background: var(--warn-fill); }
.dot.late { background: var(--late-fill); }

/* ============================================================== popover */
#pop { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.pop {
  position: absolute; width: 356px; background: var(--card);
  border: 1px solid var(--hairline); border-radius: var(--r-md);
  box-shadow: var(--shadow); padding: var(--sp-4); pointer-events: auto;
  opacity: 0;
}
.pop > header { display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--sp-3); padding-bottom: var(--sp-3); }
.pop h3 { margin: 0; font-size: 13px; font-weight: 700; }
.pop .tot { font-size: 15px; font-weight: 700; }
.pop table { width: 100%; }
.pop th {
  font-size: 11px; font-weight: 700; color: var(--stone-text); text-align: start;
  padding: 0 0 6px; border-bottom: 1px solid var(--hairline-soft);
}
.pop th.r { text-align: end; }
.pop td { height: auto; padding: 7px 0; font-size: var(--t-label); }
.pop td.r { text-align: end; }
.pop td.nm { font-weight: 500; }
.pop td.w { color: var(--stone-text); }
.pop .track { width: 108px; margin-inline-start: auto; }

/* ============================================================== depth axis */
#depth {
  position: fixed; inset-inline: var(--rail-w) 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 0 14px; pointer-events: none; opacity: 0;
}
#depth .pill {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px;
  background: var(--ink); color: var(--canvas); border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; box-shadow: var(--shadow);
}
#depth .bar { width: 72px; height: 5px; border-radius: var(--r-pill);
  background: oklch(1 0 0 / .22); overflow: hidden; }
#depth .bar > i { display: block; height: 100%; width: 0; background: var(--brand-yellow); }

/* ============================================================== rtl */
/* 🔴 `direction: ltr` alone is not enough inside an RTL paragraph: the span is
   still part of the parent's bidi run, so "-9%" is reordered to "9%-" and a date
   comes apart. `unicode-bidi: isolate` closes the run. */
/* 🔴 `.track` was in this list and must not be: it holds no text, only the fill, so it never
   needed bidi isolation — and `direction: ltr` made the fill grow from the LEFT while
   `.plantick` keeps measuring from the inline start, which in RTL is the right. A project 62%
   done against a 71% plan rendered in Hebrew as if it were ahead. The numbers beside the bar
   still get their isolation through `.num`. */
:dir(rtl) .num, :dir(rtl) .spark,
:dir(rtl) .ms .a, :dir(rtl) .ms .b, :dir(rtl) .proj .nm, :dir(rtl) .preview .cap .t {
  direction: ltr; unicode-bidi: isolate;
}
:dir(rtl) .proj .nm, :dir(rtl) .ms .a, :dir(rtl) .ms .b { text-align: right; }
:dir(rtl) .proj, :dir(rtl) .chip { direction: rtl; }

/* ============================================================== responsive */
@media (max-width: 1360px) {
  .cols { grid-template-columns: minmax(0, 1fr) 280px; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .kpi:nth-child(n+4) { display: none; }
  thead th.opt, td.opt { display: none; }
}
@media (max-width: 1080px) {
  :root { --rail-w: 64px; }
  #rail .brand span, #rail a span { display: none; }
  #rail .brand, #rail a { justify-content: center; }
  /* 🔴 Icon-only rail: there is no room for a disclosure and no label to disclose, so the children
     are simply always shown as their own icons. A chevron here would be a 28px control next to a
     64px column, and collapsing would hide two destinations behind nothing. */
  #rail .navtoggle { display: none; }
  #rail .navkids { grid-template-rows: 1fr; }
  #rail .navgroup:not([data-open]) .navkids > div { visibility: visible; }
  #rail .navkids a { margin-inline-start: 0; }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .search { width: 200px; }
}

/* ============================================================== reduce motion
 * GSAP timelines never see this query; app.js reads it directly and swaps every
 * transform reveal for a fade. This block only covers plain CSS. */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* attention title can be a long real name; it wraps rather than being chopped */
.attn .t { display: block; }

/* ---- column widths -------------------------------------------------------
 * Without these the project name wraps to three lines and every row grows to a
 * different height, which destroys the scannability the handoff is built on.
 * "Dense enough for comparison; generous enough for scanning."
 * Rewritten for the six-column list: thumbnail, project, progress, issues, scan, chevron.
 * The old nine-column model was left in place first and lost to its own `min-width: 210px`,
 * which widened the empty thumbnail header and squeezed the name it was meant to protect. */
#tbl { table-layout: fixed; }
#tbl th:nth-child(1), #tbl td:nth-child(1) { width: 148px; }
#tbl th:nth-child(2), #tbl td:nth-child(2) { width: auto; min-width: 240px; }
#tbl th:nth-child(3), #tbl td:nth-child(3) { width: 260px; }
#tbl th:nth-child(4), #tbl td:nth-child(4) { width: 104px; }
#tbl th:nth-child(5), #tbl td:nth-child(5) { width: 150px; }
#tbl th:nth-child(6), #tbl td:nth-child(6) { width: 36px; }
@media (max-width: 1180px) {
  #tbl th:nth-child(3), #tbl td:nth-child(3) { width: 200px; }
  #tbl th:nth-child(2), #tbl td:nth-child(2) { min-width: 180px; }
}

.proj .nm { display: block; }
.proj .lo, .ms .a, .ms .b, .cap .a, .cap .b {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.proj > span:last-child { min-width: 0; }
thead th { white-space: nowrap; }

/* The status fill rules are scoped to .pct.actual, which the popover is not —
 * its bars rendered as empty tracks. Give the popover its own scope. */
.pop .track { background: var(--bar-track); }
.pop .track > i      { background: var(--planned); }
.pop .track > i.ok   { background: var(--ok-fill); }
.pop .track > i.warn { background: var(--warn-fill); }
.pop .track > i.late { background: var(--late-fill); }

/* card anatomy: the status dot and the two progress labels */
.card .top .dot { flex: none; }
.card .pct { gap: 4px; min-width: 0; }
.card .pct .ml { font-size: var(--t-label); font-weight: 700; color: var(--slate); }
.card .pct .v { font-size: 15px; }
/* ==================================================================== portfolio
 * The screen was overloaded: five bordered KPI panels, a four-field filter form, a seven-column
 * table and a two-panel rail, all in the same white-card-on-grey, so nothing outranked anything.
 * What follows is one strip, four pills, photo-led cards and one banner. Colour and type are
 * unchanged: every token here already existed and was already contrast-checked. */

/* The one structural change: this screen's page is white, so three white cards read as three
   objects instead of three boxes inside a box. Scoped to the route, inherited by nothing. */
:root[data-screen="portfolio"] { --page: var(--canvas); }
:root[data-screen="portfolio"] .hero::after {
  background: linear-gradient(var(--canvas), oklch(1 0 0 / 0));
}

/* ------------------------------------------------------------------ pills */
.pf { position: relative; display: inline-flex; align-items: center; }
.pf select {
  appearance: none; min-height: 38px;
  padding-inline: 14px 34px; border-radius: var(--r-pill);
  background: var(--canvas); border: 1px solid var(--hairline);
  font: inherit; font-size: 13px; color: var(--slate); cursor: pointer;
}
.pf svg {
  position: absolute; inset-inline-end: 13px; width: 13px; height: 13px;
  pointer-events: none; stroke: var(--stone); stroke-width: 1.9; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.pf select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pf.set select { color: var(--ink); font-weight: 500; border-color: var(--ink); }
.pf.set svg { stroke: var(--ink); }
:root[data-screen="portfolio"] .seg,
:root[data-screen="portfolio"] .seg button { border-radius: var(--r-pill); }

/* ------------------------------------------------------------------ strip
 * Five figures that summarise ONE list, carried on a rule rather than in five panels. It
 * compresses on the hero scrub like the band it replaces, but it has far less to give up. */
.pstrip {
  display: flex; align-items: center; flex-wrap: wrap;
  border-block: 1px solid var(--hairline);
  margin-bottom: var(--sp-5);
}
.pcell {
  display: flex; align-items: baseline; gap: 8px; position: relative;
  padding: calc(15px - var(--hero-k) * 5px) var(--sp-6);
}
.pcell:first-child { padding-inline-start: 0; }
.pcell + .pcell::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 50%; translate: 0 -50%;
  width: 1px; height: 17px; background: var(--hairline);
}
.pcell b { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.pcell > span { font-size: 13.5px; color: var(--slate); }
.pcell .dot { width: 8px; height: 8px; border-radius: var(--r-pill); align-self: center; flex: none; }
.pcell .dot.ok { background: var(--ok-fill); }
.pcell .dot.warn { background: var(--warn-fill); }
.pcell .dot.late { background: var(--late-fill); }
.pcell.crit { margin-inline-start: auto; padding-inline-end: 0; }
.pcell.crit b, .pcell.crit > span { color: var(--late); }
.pcell.crit svg {
  width: 16px; height: 16px; align-self: center; stroke: var(--late-fill);
  stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 1100px) { .pcell.crit { margin-inline-start: 0; } }

.pcount {
  margin: 0 0 var(--sp-4); font-size: var(--t-h2); font-weight: 700;
  letter-spacing: -0.015em;
}

/* --------------------------------------------------------- the still, shared
 * Cards and rows show the same thing at two sizes: the project's own capture, with its status
 * sitting ON it. The status chip stops being a column. */
.pshot {
  position: relative; display: block; overflow: hidden;
  background: var(--hairline-soft); border-radius: var(--r-md);
}
.pshot img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The baked turntable sits ON the still, never instead of it: the <img> stays the LCP element
   and the fallback, so a 404, a save-data reader or a reduced-motion reader sees exactly the
   card we ship today. `ui.js` adds `.on` once the clip is really playing — before that it is
   transparent, which is also what covers the small reframe between the two shots.
   🔴 It must stay BELOW .plive and .ptag in the stacking order, which it does by being earlier
   in the DOM; a z-index here would put the clip over the status chip. */
.pshot video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; opacity: 0; transition: opacity 0.32s ease;
  pointer-events: none;
}
.pshot video.on { opacity: 1; }
.ptag {
  position: absolute; inset-block-start: 10px; inset-inline-end: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: var(--r-pill);
  font-size: var(--t-label); font-weight: 700; white-space: nowrap;
  background: oklch(1 0 0 / 0.94); box-shadow: 0 1px 3px oklch(0 0 0 / 0.14);
}
.ptag svg { width: 13px; height: 13px; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round; }
.ptag.ok { color: var(--ok); } .ptag.warn { color: var(--warn); } .ptag.late { color: var(--late); }
.plive {
  position: absolute; inset-block-start: 10px; inset-inline-start: 10px;
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  background: var(--brand-yellow); color: var(--ink);
}
.plive .dot { width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--ink); }

/* ------------------------------------------------------------------ cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-6); padding: 0; }
@media (max-width: 1240px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .cards { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 0; cursor: pointer;
  display: flex; flex-direction: column; gap: 0; overflow: hidden;
  transition: border-color 0.18s ease;
}
.card:hover {
  border-color: var(--hover-open);
  background: color-mix(in oklab, var(--hover-open) 5%, var(--card));
}
.card:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.card .pshot { aspect-ratio: 16 / 10; border-radius: 0; }
.cbody { padding: var(--sp-4) 17px 15px; display: flex; flex-direction: column; gap: 13px; }
.card .nm { font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.card .lo {
  margin-top: 3px; font-size: 13px; color: var(--stone-text);
  display: flex; align-items: center; gap: 5px;
}
.card .lo svg { width: 13px; height: 13px; flex: none; stroke: currentColor;
  stroke-width: 1.7; fill: none; }
.cms { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--slate); }
.cms svg { width: 15px; height: 15px; flex: none; stroke: var(--stone); stroke-width: 1.7;
  fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cms i { font-style: normal; color: var(--stone-text); }
.cfoot {
  display: flex; align-items: center; gap: 8px; padding-top: 13px;
  border-top: 1px solid var(--hairline-soft); font-size: 12.5px; color: var(--stone-text);
}
.cfoot > svg { width: 14px; height: 14px; flex: none; stroke: var(--stone); stroke-width: 1.7;
  fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cfoot .go {
  margin-inline-start: auto; display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.cfoot .go svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round; }
:dir(rtl) .cfoot .go svg { transform: scaleX(-1); }

/* ------------------------------------------------------- actual vs plan, prose
 * Two numbers on one line (62% and -9%) read as a pair to reconcile. One number, and the gap
 * said in words underneath, does not. The tick finally says what it is. */
.avp.prose { grid-template-columns: minmax(64px, 1fr) auto; row-gap: 9px; min-width: 0; }
.avp.prose .avpbar { margin-top: 15px; }          /* room for the tick's own label */
.avp.prose .var {
  grid-column: 1 / -1; font-size: 12.5px; font-weight: 500; min-width: 0;
  text-align: start; direction: inherit;
}
.plantick[data-plan]::after {
  content: attr(data-plan); position: absolute; inset-inline-start: 50%;
  bottom: 100%; margin-bottom: 3px; translate: -50% 0;
  font-size: 10.5px; font-weight: 500; color: var(--stone-text); white-space: nowrap;
}

/* ------------------------------------------------------------------ list
 * Three projects today, thirty next year: the list stays, but every row leads with its own
 * capture, and the two columns that only decorated (a sparkline, a dead kebab) are gone. */
:root[data-screen="portfolio"] #tableWrap {
  border-top: 1px solid var(--hairline); margin-bottom: var(--sp-5);
}
:root[data-screen="portfolio"] thead th { border-bottom: 0; padding-bottom: 12px; }
:root[data-screen="portfolio"] thead th:first-child,
:root[data-screen="portfolio"] td:first-child { padding-inline-start: 4px; }
:root[data-screen="portfolio"] thead th:last-child,
:root[data-screen="portfolio"] td:last-child { padding-inline-end: 4px; }
:root[data-screen="portfolio"] tbody tr { border-bottom: 1px solid var(--hairline); }
:root[data-screen="portfolio"] td { height: 96px; padding-block: 17px; }
.thumbcol { width: 148px; }
td.thumbcol .pshot { width: 132px; aspect-ratio: 16 / 10; border-radius: var(--r-sm); }
/* 11px is audit()'s floor for label type and the tag does not get to go under it to fit a
   132px thumb: the padding gives way instead. */
td.thumbcol .ptag { inset-block-start: 6px; inset-inline-end: 6px; padding: 3px 8px;
  font-size: 11px; gap: 4px; }
td.thumbcol .ptag svg { width: 11px; height: 11px; }
#rows .proj { display: block; }
#rows .proj .nm { font-size: 15px; font-weight: 600; letter-spacing: -0.012em; }
#rows .proj .nm { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#rows .proj .lo {
  margin-top: 5px; font-size: 12.5px; color: var(--stone-text);
  display: flex; align-items: center; gap: 6px; min-width: 0;
}
#rows .proj .lo svg { width: 14px; height: 14px; flex: none; stroke-width: 1.7; }
#rows .proj .lo > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#rows .proj .live { vertical-align: 1px; }
.rchev { display: inline-block; color: var(--stone); }
.rchev svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.8; fill: none;
  stroke-linecap: round; stroke-linejoin: round; }
:dir(rtl) .rchev svg { transform: scaleX(-1); }

/* ------------------------------------------------------------------ banner
 * What is left of the attention rail. The rail restated the strip's figures as a list; this
 * says the one thing the strip cannot: which milestone the critical issues are sitting on. */
.pbanner {
  display: flex; align-items: center; gap: var(--sp-4);
  margin-bottom: var(--sp-6); padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--tint-coral); border-radius: var(--r-md);
  background: oklch(0.977 0.012 19);
}
.pbanner .ic {
  width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: var(--tint-coral); color: var(--late);
}
.pbanner .ic svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.9;
  fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pbanner .bt { min-width: 0; }
.pbanner h3 { margin: 0; font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.pbanner p { margin: 2px 0 0; font-size: 13px; color: var(--slate); }
.pbanner .go {
  margin-inline-start: auto; display: flex; align-items: center; gap: 7px; flex: none;
  font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.pbanner .go svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round; }
:dir(rtl) .pbanner .go svg { transform: scaleX(-1); }
@media (max-width: 760px) {
  .pbanner { flex-wrap: wrap; }
  .pbanner .go { margin-inline-start: 0; }
}

/* ---- the issue gate (project screen). Same panel language as #pj-site; 12px label floor. */
/* Collapsed by default: one summary row instead of a standing form. See `gateHTML`. */
.pjgate { padding: 0; }
.pjgate > summary {
  display: flex; align-items: center; gap: var(--sp-2);
  /* 36px of row + padding clears the 28px pointer-only control floor (Apple HIG, macOS). */
  min-height: 44px; padding: var(--sp-2) var(--sp-4);
  cursor: pointer; list-style: none; font-size: var(--t-body); font-weight: 600;
}
.pjgate > summary::-webkit-details-marker { display: none; }
.pjgate > summary:hover { color: var(--hover-nav); }
.pjgate > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.pjgate > summary .gsum { flex: 1; min-width: 0; }
.pjgate > summary svg {
  width: 16px; height: 16px; flex: none; rotate: 90deg;
  stroke: var(--stone); stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round; transition: rotate .18s ease;
}
.pjgate[open] > summary svg { rotate: -90deg; }
.pjgate[open] > summary { border-bottom: 1px solid var(--hairline); }
.pjgate .gbody { display: grid; gap: var(--sp-3); padding: var(--sp-4); }
.pjgate h2 { margin: 0; font-size: var(--t-body); font-weight: 600; }
.pjgate .gform { display: grid; gap: var(--sp-3); }
.pjgate .gnote { margin: 0; font-size: var(--t-label); color: var(--slate); max-inline-size: 60ch; }
.pjgate .gnote.ok { color: var(--ok); font-weight: 600; }
.pjgate .grow2 { display: flex; gap: var(--sp-2); align-items: center; flex-wrap: wrap; }

/* The preview-only paste form, under the passcode one. Separated by a rule rather than a heading:
   it is an alternative door to the same room, not a second step. It never renders on the apex. */
.pjgate .gpaste {
  margin-block-start: var(--sp-4); padding-block-start: var(--sp-4);
  border-block-start: 1px solid var(--hairline, rgba(0,0,0,.1));
}
.pjgate .gpaste input { flex: 1 1 32ch; min-inline-size: 0; }
.pjgate input {
  flex: 1 1 200px; min-width: 0; min-height: 36px; padding: 0 var(--sp-3);
  border: 1px solid var(--hairline); border-radius: var(--r-sm);
  background: var(--card); color: var(--ink); font: inherit; font-size: 13px;
}
.pjgate input::placeholder { color: var(--stone-text); opacity: 1; }
.pjgate input:disabled { opacity: .6; }
.pjgate .pjbtn { border: 0; cursor: pointer; }
.pjgate .err {
  margin: 0; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm);
  background: var(--tint-coral); color: var(--late); font-size: var(--t-label); font-weight: 600;
}
.pjgate .err[hidden] { display: none; }
/* on a capture card: the model-less hint sits in the card's own meta stack */
.capcard .nobim { display: block; font-size: 12px; color: var(--slate); }
