@import url('lq-components.css?v=632');
/* =====================================================================
   LaQuest Payroll — DASHBOARD (verbatim port of the approved demo's
   dashboard section CSS, scoped under .lq-dash). This replaces the old
   approximation: the live Dashboard now renders the demo's exact structure
   (page-head, action-row, current-run card, period+net-worth row, lq-bento
   KPI grid, and widget grid) wired to real run/statutory/payslip data.
   Presentation only. Paired widget/pipeline/current-run CSS lives in
   lq-shell.css; this file adds the demo pieces that were missing.
   ===================================================================== */

/* ---------- Demo buttons (the dashboard uses .btn / .btn-primary …) ---------- */
.lq-dash .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--lq-space-2);
  font-family: var(--lq-font-ui); font-size: var(--lq-text-small); font-weight: var(--lq-weight-semibold);
  padding: 0 var(--lq-space-5, 20px); height: 44px; border-radius: var(--lq-radius-pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; background: var(--lq-surface-card); color: var(--lq-ink-primary);
  transition: transform var(--lq-duration-fast) var(--lq-ease-standard), box-shadow var(--lq-duration-base) var(--lq-ease-standard), filter var(--lq-duration-fast) var(--lq-ease-standard), background var(--lq-duration-fast) var(--lq-ease-standard), border-color var(--lq-duration-fast) var(--lq-ease-standard);
}
.lq-dash .btn:active { transform: translateY(1px); }
.lq-dash .btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--lq-accent-tint); }
.lq-dash .btn svg { width: 16px; height: 16px; }
.lq-dash .btn-sm { height: 34px; padding: 0 var(--lq-space-4); font-size: var(--lq-text-caption); }
.lq-dash .btn-primary { color: #fff; background: var(--lq-accent); box-shadow: 0 6px 16px -8px rgba(30, 54, 201, .5); }
.lq-dash .btn-primary:hover:not(:disabled) { filter: brightness(1.06); color: #fff; box-shadow: 0 8px 20px -6px rgba(30, 54, 201, .5), inset 0 1px 0 rgba(255, 255, 255, .25); }
.lq-dash .btn-primary:active { filter: brightness(.96); }
.lq-dash .btn-secondary { color: var(--lq-ink-primary); background: var(--lq-surface-card); border-color: var(--lq-border-strong); }
.lq-dash .btn-secondary:hover:not(:disabled) { border-color: var(--lq-accent); color: var(--lq-accent); background: var(--lq-accent-tint); }
.lq-dash .btn-ghost { color: var(--lq-ink-secondary); background: transparent; border-color: transparent; }
.lq-dash .btn-ghost:hover:not(:disabled) { background: var(--lq-surface-subtle); color: var(--lq-ink-primary); }
.lq-dash .btn[disabled] { cursor: not-allowed; opacity: .55; filter: none; box-shadow: none; transform: none; }
.lq-dash .page-head-actions { display: flex; gap: var(--lq-space-3); flex-wrap: wrap; }
.lq-dash .plus-icon { display: inline-flex; } .lq-dash .plus-icon svg { width: 15px; height: 15px; }

/* ---------- Period + net-worth row ---------- */
.lq-dash .period-networth-row { display: grid; grid-template-columns: 260px 1fr; gap: var(--lq-space-5); margin-bottom: var(--lq-space-8); align-items: stretch; }
@media (max-width: 900px) { .lq-dash .period-networth-row { grid-template-columns: 1fr; } }
.lq-dash .period-card {
  border-radius: var(--lq-radius-lg); padding: var(--lq-space-5); color: var(--lq-period-fg);
  background: linear-gradient(135deg, var(--lq-period-grad-start) 0%, var(--lq-period-grad-end) 100%);
  border: 1px solid var(--lq-period-border);
  box-shadow: var(--lq-shadow-sm); display: flex; flex-direction: column; gap: var(--lq-space-1); position: relative; overflow: hidden;
}
/* The card is FULL HEIGHT (row align-items:stretch) so it matches the Net-pay card
   beside it. Content is distributed as two groups: the PAYROLL PERIOD label + the
   2026-08-A number sit tight together at the TOP; the date lines are pushed to the
   BOTTOM (.pcode margin-bottom:auto), letting the lavender→sand gradient fill the
   middle — a balanced, intentional hero card, not a shrunken box.
   Also zero the label padding: a generic legacy .plabel rule (components.css) leaks
   padding:10px 12px 5px, which pushed the label 12px right of the number and floated
   it; padding:0 makes the label's left edge flush with the number. */
.lq-dash .period-card .plabel { font-size: var(--lq-text-caption); text-transform: uppercase; letter-spacing: .06em; opacity: .82; color: var(--lq-period-fg); padding: 0; }
.lq-dash .period-card .pcode { font-size: var(--lq-text-h2); font-weight: var(--lq-weight-bold); letter-spacing: var(--lq-tracking-tight); font-variant-numeric: var(--lq-num); color: var(--lq-period-fg); margin-bottom: auto; }
.lq-dash .period-card .pdates { font-size: var(--lq-text-small); color: var(--lq-period-fg-muted); }
.lq-dash .networth-card {
  background: var(--lq-surface-card);
  border-radius: var(--lq-radius-lg); padding: var(--lq-space-6); box-shadow: var(--lq-shadow-sm);
}
.lq-dash .networth-head { display: flex; align-items: center; justify-content: space-between; gap: var(--lq-space-3); margin-bottom: var(--lq-space-3); }
.lq-dash .networth-head h3 { font-size: var(--lq-text-h3); margin: 0 0 4px; }
.lq-dash .recent-runs-chip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--lq-text-caption); font-weight: var(--lq-weight-semibold); color: var(--lq-ink-secondary); background: var(--lq-surface-subtle); padding: 4px 10px; border-radius: var(--lq-radius-pill); }
.lq-dash .round-add-btn { width: 36px; height: 36px; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--lq-accent) 0%, var(--lq-accent-2) 100%); color: #fff; font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 2px rgba(11, 31, 58, .15); flex-shrink: 0; }
.lq-dash .round-add-btn:hover { filter: brightness(1.08); }

/* ---------- lq-bento: KPI tiles + exceptions + control figure ---------- */
.lq-dash .lq-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(120px, auto); gap: var(--lq-space-5); margin-bottom: var(--lq-space-8); }
.lq-dash .tile {
  /* width/height:auto + place-items:normal RESET the legacy .tile (a 40×40 icon chip) so the
     bento tiles fill their grid cell instead of collapsing to a small oval. */
  width: auto; height: auto; place-items: normal;
  background: var(--lq-surface-card); border: 1px solid var(--lq-border); border-radius: var(--lq-radius-lg); padding: var(--lq-space-5);
  box-shadow: var(--lq-shadow-sm); display: flex; flex-direction: column; gap: var(--lq-space-2); position: relative; overflow: hidden;
  isolation: isolate; opacity: 0; transform: translateY(14px);
  animation: lq-fade-rise var(--lq-duration-slow) var(--lq-ease-standard) forwards; animation-delay: calc(var(--i, 0) * 70ms + 60ms);
  transition: transform var(--lq-duration-base) var(--lq-ease-standard), box-shadow var(--lq-duration-base) var(--lq-ease-standard);
}
.lq-dash .tile:hover, .lq-dash .tile:focus-within { transform: translateY(-4px); box-shadow: var(--lq-shadow-lg); }
.lq-dash .tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 140% at 100% -10%, var(--wash, rgba(47, 107, 255, .10)), transparent 60%); }
.lq-dash .tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(10, 26, 51, .05) 1px, transparent 1px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(to bottom, black, transparent 75%); mask-image: linear-gradient(to bottom, black, transparent 75%); opacity: .6; }
.lq-dash .tile-inner-highlight { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); pointer-events: none; }
.lq-dash .tile-label { font-size: var(--lq-text-caption); color: var(--lq-ink-muted); font-weight: var(--lq-weight-medium); text-transform: uppercase; letter-spacing: .05em; }
.lq-dash .tile-kpi { grid-column: span 1; }
.lq-dash .tile-exceptions { grid-column: span 2; }
.lq-dash .tile-next { grid-column: span 2; }
@media (max-width: 1024px) { .lq-dash .lq-bento { grid-template-columns: repeat(2, 1fr); } .lq-dash .tile-exceptions, .lq-dash .tile-next { grid-column: span 2; } }
@media (max-width: 640px) { .lq-dash .lq-bento { grid-template-columns: 1fr; } .lq-dash .tile-kpi, .lq-dash .tile-exceptions, .lq-dash .tile-next { grid-column: span 1; } }
.lq-dash .kpi-value { font-size: var(--lq-text-h1); font-weight: var(--lq-weight-bold); font-variant-numeric: var(--lq-num); color: var(--lq-ink-primary); }
.lq-dash .kpi-delta { font-size: var(--lq-text-caption); font-weight: var(--lq-weight-semibold); display: inline-flex; align-items: center; gap: 2px; width: fit-content; }
.lq-dash .kpi-delta.up { color: var(--lq-success-text); } .lq-dash .kpi-delta.down { color: var(--lq-danger-text); }
.lq-dash .kpi-sub { font-size: 11px; color: var(--lq-ink-muted); margin-top: 2px; }
.lq-dash .sparkline { margin-top: auto; } .lq-dash .sparkline svg { display: block; width: 100%; height: 28px; }

.lq-dash .exception-row { display: flex; align-items: flex-start; gap: var(--lq-space-2); padding: var(--lq-space-2) 0; border-top: 1px solid var(--lq-border); font-size: var(--lq-text-small); }
.lq-dash .exception-row:first-of-type { border-top: none; }
.lq-dash .exception-row .sev { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.lq-dash .exception-row .sev.blocker { background: var(--lq-danger); }
.lq-dash .exception-row .sev.warning { background: var(--lq-warning); }
.lq-dash .exception-row .sev.info { background: var(--lq-info); }
.lq-dash .exception-row .txt { flex: 1; min-width: 0; }
.lq-dash .exception-row .txt .r1 { font-weight: var(--lq-weight-medium); }
.lq-dash .exception-row .txt .r2 { color: var(--lq-ink-muted); font-size: var(--lq-text-caption); }
.lq-dash .exception-row .fix { font-size: var(--lq-text-caption); font-weight: var(--lq-weight-semibold); color: var(--lq-accent); background: none; border: none; cursor: pointer; flex-shrink: 0; }
.lq-dash .exceptions-head { display: flex; align-items: center; justify-content: space-between; }
.lq-dash .exceptions-head .view-link { font-size: 11px; font-weight: 600; color: var(--lq-accent); border: none; background: none; cursor: pointer; padding: 2px 8px; }

/* Control-figure reconciliation cue (Financial summary) */
.control-figure { margin-top: var(--lq-space-4, 16px); border: 1px solid var(--lq-accent-border, #c7d2fe); border-radius: var(--lq-radius-md, 12px);
  background: var(--lq-accent-tint, #eef2ff); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.control-figure .cfg__head { display: flex; align-items: center; gap: 12px; }
.control-figure .cfg__ic { display: flex; flex-shrink: 0; }
.control-figure .cfg__ic svg { width: 22px; height: 22px; color: inherit; }
.control-figure .cfg__label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--lq-ink-muted, #64748b); font-weight: 600; }
.control-figure .cfg__eq { font-size: 16px; font-variant-numeric: tabular-nums; color: var(--lq-ink-primary, #0f172a); margin-top: 1px; }
.control-figure .cfg__eq b { color: var(--lq-accent, #4f46e5); font-weight: 700; }
.control-figure .cfg__note { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--lq-ink-secondary, #475569); }
.control-figure .cfg__note svg { width: 15px; height: 15px; flex-shrink: 0; }
[data-theme="dark"] .control-figure { border-color: var(--lq-border, #26324a); background: rgba(99,102,241,.10); }

/* Control-figure cue inside the net-pay card (live dashboard) */
.cfg-reconcile { display: flex; align-items: flex-start; gap: 8px; margin-top: var(--lq-space-3, 12px); padding-top: var(--lq-space-3, 12px);
  border-top: 1px solid var(--lq-border, #e2e8f0); font-size: 12px; line-height: 1.4; color: var(--lq-ink-secondary, #475569); }
.cfg-reconcile svg { width: 16px; height: 16px; flex-shrink: 0; color: inherit; margin-top: 1px; }
.cfg-reconcile b { color: var(--lq-ink-primary, #0f172a); }

/* ===== Employee Self-Service dashboard (Pulse-style hero + metric cards) ===== */
.emp-hero { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: linear-gradient(135deg, #f4f6fe 0%, #eef2fc 55%, #eae7fb 100%);
  border: 1px solid var(--lq-border, #dee5f3); }
.emp-hero__main { min-width: 0; flex: 1 1 380px; }
.emp-hero__hi { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; color: var(--lq-ink-primary, #0f172a); margin: 0; }
.emp-hero__sum { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--lq-ink-secondary, #475569); max-width: 66ch; }
.emp-hero__sum b { color: var(--lq-ink-primary, #0f172a); font-weight: 700; font-variant-numeric: tabular-nums; }
.emp-hero__cta { flex: 0 0 auto; display: flex; flex-direction: column; gap: 4px; min-width: 210px;
  padding: 18px 20px; border-radius: 16px; cursor: pointer; text-decoration: none;
  color: #fff; background: linear-gradient(135deg, #1E36C9 0%, #6366f1 60%, #8b5cf6 100%);
  box-shadow: 0 14px 30px -14px rgba(30,54,201,.5); transition: transform .12s ease, box-shadow .12s ease; }
.emp-hero__cta:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(30,54,201,.55); }
.emp-hero__cta-k { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .85; }
.emp-hero__cta-t { font-size: 16px; font-weight: 700; }

.emp-metrics { align-items: stretch; }
.emp-metric { display: flex; flex-direction: column; }
.emp-metric__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.emp-metric__label { font-size: 13px; font-weight: 600; color: var(--lq-ink-secondary, #475569); }
.emp-metric__big { margin: 10px 0 2px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em;
  color: var(--lq-ink-primary, #0f172a); font-variant-numeric: tabular-nums; }
.emp-metric__sub { font-size: 13px; color: var(--lq-ink-secondary, #64748b); }
.emp-metric__foot { display: flex; justify-content: flex-end; margin-top: auto; padding-top: 14px; }
.emp-metric .emp-kv { margin-top: 12px; }
.emp-metric--mint { background: linear-gradient(160deg, #eef7f1 0%, #e6f3ec 100%); border: 1px solid #cfe9db; }
.emp-metric--lav  { background: linear-gradient(160deg, #f1f0fd 0%, #eae7fb 100%); border: 1px solid #ddd8f6; }
.emp-metric--sky  { background: linear-gradient(160deg, #eef2fe 0%, #e6ecfc 100%); border: 1px solid #d5e0f6; }
.emp-metric--plain { background: var(--lq-surface, #fff); border: 1px solid var(--lq-border, #dee5f3); }
.emp-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.emp-actions .btn { justify-content: flex-start; }
@media (max-width: 720px) { .emp-hero__cta { width: 100%; } }

/* Dashboard quick-actions toolbar caption (organization pass) */
.action-row-group { margin-bottom: var(--lq-space-4, 16px); }
.action-row-cap { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--lq-ink-muted, #94a3b8); margin: 2px 0 8px; }

/* ---- Get Started — Deel-style onboarding plan (build 259) ------------------ */
.gs2-page{max-width:920px}
.gs2-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.gs2-head__l{min-width:0}
.gs2-h{font-size:1.55rem;font-weight:700;letter-spacing:-.01em;color:var(--lq-ink,#16181f);margin:0;line-height:1.15}
.gs2-p{color:var(--lq-ink-2,#5b6472);margin:7px 0 0;font-size:.98rem}
.gs2-ring{position:relative;width:64px;height:64px;flex:none}
.gs2-ring svg{transform:rotate(-90deg)}
/* A ring is a STROKE. `fill: currentColor` here painted a solid disc over the whole circle and
   left the progress arc as a 1px hairline — the Get started ring shipped as a dark blob. */
.gs2-ring__bg{fill:none;stroke:var(--lq-border);stroke-width:6}
.gs2-ring__fg{fill:none;stroke:var(--lq-accent,#1E36C9);stroke-width:6;stroke-linecap:round;transition:stroke-dashoffset .6s cubic-bezier(.2,.7,.2,1)}
.gs2-ring__pct{position:absolute;inset:0;display:grid;place-items:center;font-size:.86rem;font-weight:700;color:var(--lq-accent,#1E36C9)}
.gs2-plan-label{font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--lq-ink-3,#8a92a0);margin:2px 0 12px}
.gs2-list{display:flex;flex-direction:column;gap:12px}
.gs2-card{display:flex;align-items:center;gap:16px;padding:18px 20px;background:var(--lq-surface,#fff);border:1px solid var(--lq-border,#e7e9ee);border-radius:16px;box-shadow:var(--lq-shadow-sm);transition:box-shadow .2s cubic-bezier(.2,.7,.2,1),border-color .2s ease}
.gs2-card:hover{box-shadow:var(--lq-shadow-md)}
.gs2-card--now{border-color:var(--lq-accent,#1E36C9);box-shadow:0 0 0 1px var(--lq-accent,#1E36C9),var(--lq-shadow-sm)}
.gs2-card--soon{opacity:.92}
.gs2-st{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:.78rem;font-weight:700}
.gs2-st--done{background:#12805c;color:#fff}
.gs2-st--done svg{width:15px;height:15px;stroke:#fff;}
.gs2-st--now{background:var(--lq-accent,#1E36C9);box-shadow:0 0 0 4px rgba(30,54,201,.16)}
.gs2-st--soon{border:2px dashed var(--lq-border-strong,#c7ccd6);color:var(--lq-ink-3,#8a92a0);background:transparent}
.gs2-ic{flex:none;width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#eef1ff,#e5ebff);color:inherit}
.gs2-ic svg{width:22px;height:22px}
/* Per-step colored tiles (soft, calm palette). Done steps override to green below. */
.gs2-ic--c0{background:linear-gradient(135deg,#eef1ff,#e2e9ff);color:inherit}
.gs2-ic--c1{background:linear-gradient(135deg,#fff2e4,#ffe6cf);color:inherit}
.gs2-ic--c2{background:linear-gradient(135deg,#e9f6ef,#d8f0e2);color:inherit}
.gs2-ic--c3{background:linear-gradient(135deg,#f2ecfe,#e6dcfb);color:inherit}
.gs2-ic--c4{background:linear-gradient(135deg,#e7f5fb,#d4ecf7);color:inherit}
.gs2-card--done .gs2-ic{background:linear-gradient(135deg,#e7f6ee,#daf0e4)!important;color:inherit}
.gs2-bd{flex:1;min-width:0}
.gs2-tr{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.gs2-t{font-size:1.02rem;font-weight:650;color:var(--lq-ink,#16181f)}
.gs2-d{color:var(--lq-ink-2,#5b6472);font-size:.9rem;margin:4px 0 0;line-height:1.45}
.gs2-tag{font-size:.7rem;font-weight:600;padding:2px 9px;border-radius:999px;background:var(--lq-surface-2,#eef1f7);color:var(--lq-ink-2,#6b7280);white-space:nowrap}
.gs2-tag--now{background:#e9ecfb;color:var(--lq-accent,#1E36C9)}
.gs2-tag--done{background:#e7f6ee;color:#0f6b4a}
.gs2-ac{flex:none}
/* Redesigned plan — a single panel with a connected vertical timeline down the left. */
.gs2-panel{background:var(--lq-surface,#fff);border:1px solid var(--lq-border,#e7e9ee);border-radius:18px;box-shadow:var(--lq-shadow-sm);overflow:hidden}
.gs2-row{display:flex;align-items:center;gap:16px;padding:18px 22px;position:relative;border-top:1px solid var(--lq-border,#eef1f8);transition:background .18s ease}
.gs2-row:first-child{border-top:0}
.gs2-row--now{background:linear-gradient(90deg,rgba(30,54,201,.045),transparent 55%)}
.gs2-row--soon{opacity:.9}
.gs2-rail{position:relative;flex:none;width:28px;align-self:stretch;display:flex;align-items:center;justify-content:center}
.gs2-rail::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;transform:translateX(-50%);background:var(--lq-border,#e7e9ee)}
.gs2-row:first-child .gs2-rail::before{top:calc(50% - 13px)}
.gs2-rail--last::before{bottom:calc(50% - 13px)}
.gs2-node{position:relative;z-index:1;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:.76rem;font-weight:700;background:var(--lq-surface,#fff);color:var(--lq-ink-3,#8a92a0)}
.gs2-node--done{background:#12805c;color:#fff}
.gs2-node--done svg{width:15px;height:15px;stroke:#fff;}
.gs2-node--now{background:var(--lq-accent,#1E36C9);box-shadow:0 0 0 4px rgba(30,54,201,.16)}
.gs2-node--soon{border:2px dashed var(--lq-border-strong,#c7ccd6);background:var(--lq-surface,#fff)}
@media(max-width:640px){
  .gs2-card{flex-wrap:wrap}
  .gs2-bd{flex:1 1 55%}
  .gs2-ac{flex:1 1 100%;margin-top:4px;padding-left:42px}
  .gs2-ac .btn{width:100%}
  .gs2-row{flex-wrap:wrap}
  .gs2-row .gs2-ac{flex:1 1 100%;margin-top:6px;padding-left:44px}
  .gs2-row .gs2-ac .btn{width:100%}
}

/* =====================================================================
   DASHBOARD INTERIOR REFINEMENT (2026-08-16, per approved mockup v3)
   Hero recomposed into four levels (period → lifecycle → metadata →
   control figures); readiness ring retired; lower lists normalised to a
   44px rhythm with a hairline under section headers only. Existing class
   names are RESTYLED (this file loads after lq-shell.css), not renamed.
   Tokens only — no new hex values. Margins on the 4/8/12/16/20/24/32/40
   scale. Uppercase stays confined to eyebrows and small labels.
   ===================================================================== */

/* Hero surface — soft tint, borders dropped (mock §10). */
.lq-dash .current-run-card { background: var(--lq-surface-subtle); border: none; box-shadow: none; border-radius: 16px; padding: 24px 24px 20px; margin-bottom: 32px; }

/* L1 — period + right-aligned state→action cluster (mock §1/§6) */
.lq-dash .hero-l1 { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lq-dash .hero-l1__id { min-width: 0; }
.lq-dash .hero-period { font-size: 22px; font-weight: 700; letter-spacing: -.015em; margin: 4px 0 0; color: var(--lq-ink-primary); font-variant-numeric: var(--lq-num); }
.lq-dash .hero-period .soft { color: var(--lq-ink-muted); font-weight: 450; font-size: 14px; }
.lq-dash .hero-cluster { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.lq-dash .hero-cluster .current-run-actions { margin-top: 0; }
.lq-dash .hero-statechip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--lq-ink-secondary); }
.lq-dash .hero-statechip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lq-border-strong); }
.lq-dash .hero-statechip.is-ok { color: var(--lq-success-text); }
.lq-dash .hero-statechip.is-ok .dot { background: var(--lq-success); }
.lq-dash .hero-statechip.is-warn { color: var(--lq-warning-text); }
.lq-dash .hero-statechip.is-warn .dot { background: var(--lq-warning); }
.lq-dash .hero-statechip.is-info { color: var(--lq-accent); }
.lq-dash .hero-statechip.is-info .dot { background: var(--lq-accent); }

/* L2 — lifecycle strip (mock §2): quiet green-tint checks, solid blue
   current (no glow ring), dashed-outline future, 1px connectors. */
.lq-dash .pipeline { display: flex; align-items: center; flex-wrap: wrap; row-gap: 8px; margin-top: 24px; padding-top: 0; border-top: none; }
.lq-dash .pipeline .stage { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 7px; border-left: none; padding: 2px 4px; border-radius: 6px; }
.lq-dash .pipeline .stage:first-child { padding-left: 0; }
.lq-dash .pipeline .node { width: 20px; height: 20px; margin-top: 0; background: transparent; border: 1.5px dashed var(--lq-border-strong); color: var(--lq-ink-muted); font-size: 10px; font-weight: 600; font-family: inherit; }
.lq-dash .pipeline .stage.done .node { background: var(--lq-success-deep); border: 1px solid var(--lq-success-deep); color: #fff; }
.lq-dash .pipeline .stage.current .node { background: var(--lq-accent); border: 1px solid var(--lq-accent); color: var(--lq-ink-inverse); }
.lq-dash .pipeline .name { display: block; font-size: 12.5px; font-weight: 500; color: var(--lq-ink-muted); line-height: 1.3; }
.lq-dash .pipeline .stage.done .name { color: var(--lq-success-deep); font-weight: 600; }
.lq-dash .pipeline .stage.current .name { color: var(--lq-accent); font-weight: 600; }
.lq-dash .pipeline .stage:not(.done):not(.current) .name { color: var(--lq-ink-muted); font-weight: 500; }
.lq-dash .pipe-connector { flex: 0 0 26px; height: 1px; background: var(--lq-border); margin: 0 8px; }
.lq-dash .pipe-connector.done { background: var(--lq-success-deep); height: 2px; }
@media (max-width: 760px) { .lq-dash .pipeline { overflow-x: visible; } .lq-dash .pipeline .stage { min-width: 0; } }

/* L3 — structured metadata pairs (mock §3): replaces the long sentence. */
.lq-dash .hero-meta { display: flex; align-items: baseline; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.lq-dash .hero-meta .mi { display: flex; flex-direction: column; gap: 1px; }
.lq-dash .hero-meta .l { font-size: 11.5px; color: var(--lq-ink-muted); font-weight: 500; }
.lq-dash .hero-meta .v { font-size: 13px; font-weight: 600; color: var(--lq-ink-secondary); }
.lq-dash .hero-meta .v.ok { color: var(--lq-success-text); }
.lq-dash .hero-meta .v.num { font-variant-numeric: var(--lq-num); }

/* L4 — control figures (mock §4/§5): white sub-surface with a whisper
   shadow; Net pay leads by size and weight only, no added colour. */
.lq-dash .hero-figures { background: var(--lq-surface-card); border-radius: 12px; margin-top: 20px; padding: 16px 20px; display: flex; gap: 40px; align-items: flex-end; flex-wrap: wrap; box-shadow: var(--lq-shadow-sm); }
.lq-dash .hero-figures .fig .l { font-size: 12px; color: var(--lq-ink-secondary); font-weight: 500; }
.lq-dash .hero-figures .fig .v { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-top: 2px; color: var(--lq-ink-primary); font-variant-numeric: var(--lq-num); }
.lq-dash .hero-figures .fig.lead .v { font-size: 26px; }
.lq-dash .hero-figures .fig .v.pending { font-size: 13px; color: var(--lq-ink-muted); font-weight: 500; }
.lq-dash .hero-figures .fig .d { font-size: 11.5px; color: var(--lq-ink-muted); margin-top: 1px; font-weight: 450; }
.lq-dash .hero-figures .fig .d .link { color: var(--lq-accent); font-weight: 600; cursor: pointer; }
@media (max-width: 760px) { .lq-dash .hero-figures { gap: 20px; } }

/* Readiness blockers keep their deep-links, restyled onto the tinted surface. */
.lq-dash .current-run-card .rdy-blk-list { margin-top: 16px; }
.lq-dash .current-run-card .rdy-blk { background: var(--lq-surface-card); border: none; }

/* §7 — lower lists share one system: 44px rows, hairline under the
   section header only, row borders dropped. Data sources unchanged. */
.lq-dash .exception-row { min-height: 44px; align-items: center; border-top: none; padding: 4px 0; }
.lq-dash .exception-row .sev { margin-top: 0; }
.lq-dash .tile-exceptions .exceptions-head { border-bottom: 1px solid var(--lq-border); padding-bottom: 8px; margin-bottom: 4px; }
.lq-dash .check-list li { min-height: 44px; }
.lq-dash .widget-card-head { border-bottom: 1px solid var(--lq-border); padding-bottom: 8px; }

/* §12 — section titles 14px/600 across the page (no bold-everywhere). */
.lq-dash .widget-card-head h4 { font-size: 14px; font-weight: var(--lq-weight-semibold); }
.lq-dash .networth-head h3 { font-size: 14px; font-weight: var(--lq-weight-semibold); }

/* ── READINESS ROW (approved page 2) ─────────────────────────────────────────
   Sits below the hero figures and states readiness separately from stage
   progress, as the approved caption requires. Quiet by default: this is a
   confirmation, not a decision, so it carries no decision-sized weight. */
.hero-rdy { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--lq-border);
  font-size: 12.5px; color: var(--lq-ink-secondary); }
.hero-rdy__k { font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--lq-ink-muted); }
.hero-rdy__v { font-weight: 600; color: var(--lq-success-text); }
.hero-rdy.is-open .hero-rdy__v { color: var(--lq-warning-text); }
.hero-rdy__s { color: var(--lq-ink-muted); }
.hero-rdy__c { margin-left: auto; color: var(--lq-ink-muted); }
.hero-rdy__c b { color: var(--lq-ink-primary); font-weight: 650; font-variant-numeric: var(--lq-num); }
@media (max-width: 640px) { .hero-rdy__c { margin-left: 0; } }
