/* InduLayer design system — Process Stability & Capability (dark by default, light on demand). */
@font-face { font-family: 'Inter Variable'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/static/fonts/inter.woff2') format('woff2'); }
@font-face { font-family: 'Advent Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/advent-600.woff2') format('woff2'); }
@font-face { font-family: 'Advent Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url('/static/fonts/advent-700.woff2') format('woff2'); }

:root {
  --font-sans: 'Inter Variable', Roboto, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Advent Pro', 'Inter Variable', ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --signal: #61e8bd;
}
html[data-theme='dark'] {
  color-scheme: dark;
  --bg: #060a0b; --panel: #0b1315; --panel2: #0f1a1c; --field: #081012;
  --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.18);
  --ink: #f3f7f5; --ink2: #c3cfca; --muted: #9aaba5;
  --accent: #61e8bd; --accent-text: #61e8bd; --on-accent: #03110c;
  --grid: rgba(255,255,255,.028); --glow: rgba(97,232,189,.11); --glow2: rgba(239,183,96,.06);
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 18px 40px -24px rgba(0,0,0,.8);
  --ok: #86efac; --okbg: rgba(34,197,94,.14); --okline: rgba(34,197,94,.45);
  --warn: #fcd34d; --warnbg: rgba(245,158,11,.14); --warnline: rgba(245,158,11,.5);
  --bad: #fca5a5; --badbg: rgba(239,68,68,.14); --badline: rgba(239,68,68,.5);
  --info: #7dd3fc; --infobg: rgba(14,165,233,.14);
  --line-chart: #61e8bd; --limit: #efb760; --spec: #c4b5fd; --target: #86efac; --signalpt: #ff694f; --bar: rgba(97,232,189,.35); --hist: #5c6f6a;
}
html[data-theme='light'] {
  color-scheme: light;
  --bg: #eef1ed; --panel: #ffffff; --panel2: #f4f7f5; --field: #ffffff;
  --line: rgba(14,30,27,.11); --line-strong: rgba(14,30,27,.24);
  --ink: #0a1110; --ink2: #2c3a36; --muted: #52645e;
  --accent: #3fd3a5; --accent-text: #137a5e; --on-accent: #03110c;
  --grid: rgba(14,30,27,.045); --glow: rgba(97,232,189,.22); --glow2: rgba(239,183,96,.12);
  --shadow: 0 1px 2px rgba(14,30,27,.06), 0 14px 32px -22px rgba(14,30,27,.35);
  --ok: #14532d; --okbg: #dcfce7; --okline: #86efac;
  --warn: #78350f; --warnbg: #fef3c7; --warnline: #fcd34d;
  --bad: #7f1d1d; --badbg: #fee2e2; --badline: #fca5a5;
  --info: #0c4a6e; --infobg: #e0f2fe;
  --line-chart: #137a5e; --limit: #b45309; --spec: #6d28d9; --target: #15803d; --signalpt: #dc2626; --bar: rgba(19,122,94,.35); --hist: #9aa8a3;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 14px/1.5 var(--font-sans); -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image: radial-gradient(1100px 560px at 88% -12%, var(--glow), transparent 62%), radial-gradient(900px 520px at -12% 108%, var(--glow2), transparent 60%),
    linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px; background-attachment: fixed;
}
a { color: var(--accent-text); }
h1 { font: 700 1.9rem/1.15 var(--font-display); letter-spacing: .005em; margin: 0 0 6px; }
h1 .sub { display: block; font: 500 13px/1.5 var(--font-sans); color: var(--muted); letter-spacing: 0; margin-top: 4px; }
h2 { font: 700 10.5px/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 12px; }
h3 { font: 600 1.15rem/1.2 var(--font-display); margin: 16px 0 8px; }
.eyebrow { font: 700 10.5px/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px; }
.lead { color: var(--muted); max-width: 70rem; margin: 0 0 20px; }

/* ---- shell / sidebar */
.il-shell { display: flex; min-height: 100vh; }
.il-side { position: sticky; top: 0; height: 100vh; flex: 0 0 auto; width: 252px; display: flex; flex-direction: column; gap: 14px; padding: 14px 12px;
  background: #050909; border-right: 1px solid rgba(255,255,255,.08); color: #f3f7f5; transition: width .2s ease; z-index: 40; overflow: hidden; }
body.guest .il-side { display: none; }
.il-side-brand { display: flex; flex-direction: column; gap: 6px; padding: 2px 6px 6px; text-decoration: none; color: #f3f7f5; }
.il-logo-full { height: 48px; width: auto; align-self: flex-start; }
.il-logo-mark { display: none; width: 40px; height: 40px; border-radius: 10px; }
.il-side-product { display: flex; flex-direction: column; font: 600 15px/1.15 var(--font-display); letter-spacing: .02em; }
.il-side-product small { font: 700 9px/1.4 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: #61e8bd; }
.il-side-nav { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; }
.il-side-group-title { padding: 4px 10px 5px; font: 700 9.5px/1.2 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: #61e8bd; }
.il-side-link { display: flex; align-items: center; gap: 11px; min-height: 36px; padding: 0 10px; border-radius: 9px; font-size: 13.5px; color: #b9c6c1; text-decoration: none; white-space: nowrap; }
.il-side-link:hover { background: rgba(255,255,255,.05); color: #fff; }
.il-side-link.active { background: rgba(97,232,189,.12); color: #61e8bd; font-weight: 600; }
.il-side-link .badge { margin-left: auto; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: rgba(255,105,79,.2); color: #ff9c87; font-size: 11px; font-weight: 700; text-align: center; }
.il-side svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.il-side-link span, .il-side-btn span { overflow: hidden; text-overflow: ellipsis; }
.il-side-foot { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.il-side-langs { display: flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); }
.il-side-langs button { flex: 1; text-align: center; padding: .4rem 0; margin: 0; border-radius: 999px; font: 700 10.5px/1 var(--font-mono); letter-spacing: .08em; color: #9aaba5; background: none; border: 0; cursor: pointer; }
.il-side-langs button.on { background: #61e8bd; color: #03110c; }
.il-side-langs button:hover:not(.on) { color: #fff; }
.il-side-btn { display: flex; align-items: center; gap: 11px; min-height: 38px; padding: 0 10px; margin: 0; border-radius: 9px; border: 1px solid rgba(255,255,255,.12); background: transparent; color: #dde5e1; font: 500 13px var(--font-sans); cursor: pointer; white-space: nowrap; }
.il-side-btn:hover { border-color: #61e8bd; color: #61e8bd; }
html[data-theme='dark'] .il-side-btn .i-moon, html[data-theme='light'] .il-side-btn .i-sun { display: none; }
html[data-sidebar='open'] .i-expand, html[data-sidebar='collapsed'] .i-collapse { display: none; }
.il-side-user { display: flex; align-items: center; gap: 10px; padding: 4px 2px; }
.il-avatar { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 999px; display: grid; place-items: center; background: linear-gradient(135deg, #61e8bd, #2a9f7f); color: #03110c; font: 800 11px/1 var(--font-sans); }
.il-side-user-text { display: flex; flex-direction: column; min-width: 0; font-size: 12.5px; color: #dde5e1; }
.il-side-user-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.il-side-user-text span { font-size: 11.5px; color: #8b9d97; white-space: nowrap; }
.il-side-user-text a { color: #8b9d97; text-decoration: none; }
.il-side-user-text a:hover { color: #61e8bd; }
html[data-sidebar='collapsed'] .il-side { width: 72px; padding: 14px 10px; }
html[data-sidebar='collapsed'] .il-logo-full, html[data-sidebar='collapsed'] .il-side-product, html[data-sidebar='collapsed'] .il-side-link span,
html[data-sidebar='collapsed'] .il-side-btn span, html[data-sidebar='collapsed'] .il-side-user-text, html[data-sidebar='collapsed'] .il-side-group-title,
html[data-sidebar='collapsed'] .il-side-link .badge { display: none; }
html[data-sidebar='collapsed'] .il-logo-mark { display: block; }
html[data-sidebar='collapsed'] .il-side-link, html[data-sidebar='collapsed'] .il-side-btn { justify-content: center; padding: 0; }
html[data-sidebar='collapsed'] .il-side-langs { flex-direction: column; border-radius: 14px; gap: 2px; }
html[data-sidebar='collapsed'] .il-side-user { justify-content: center; }
.il-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.il-main { width: 100%; max-width: 92rem; margin: 0 auto; padding: 28px clamp(1rem, 3vw, 2.5rem) 24px; flex: 1; }
.il-footer { width: 100%; max-width: 92rem; margin: 0 auto; padding: 16px clamp(1rem, 3vw, 2.5rem) 26px; color: var(--muted); font-size: 11.5px; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line); }
.il-footer b { color: var(--accent-text); }
@media (max-width: 760px) {
  .il-side { width: 72px; padding: 14px 10px; }
  .il-logo-full, .il-side-product, .il-side-link span, .il-side-btn span, .il-side-user-text, .il-side-group-title { display: none; }
  .il-logo-mark { display: block; }
  .il-side-langs { flex-direction: column; }
}

/* ---- panels, tables, forms */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; vertical-align: top; }
th { color: var(--muted); font: 700 10px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
tr.click { cursor: pointer; }
tr.click:hover td { background: color-mix(in srgb, var(--accent) 7%, transparent); }
label { display: block; font-size: 12px; font-weight: 600; color: var(--ink2); margin: 12px 0 5px; }
input, select, textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--field); color: var(--ink); font: 14px var(--font-sans); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
input[type=checkbox] { width: auto; accent-color: var(--accent); }
input[type=file] { padding: 8px; }
textarea { min-height: 76px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
button { display: inline-flex; align-items: center; gap: 6px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 10px; padding: 8px 15px; font: 600 13px var(--font-sans); cursor: pointer; margin: 10px 6px 0 0; transition: background .15s, border-color .15s; }
button:hover { background: color-mix(in srgb, var(--accent) 24%, transparent); border-color: var(--accent); }
button.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
button.primary:hover { filter: brightness(1.06); }
button.sec { background: transparent; color: var(--ink2); border-color: var(--line-strong); }
button.sec:hover { color: var(--accent-text); border-color: var(--accent); }
button.danger { background: var(--badbg); color: var(--bad); border-color: var(--badline); }
button:disabled { opacity: .45; cursor: not-allowed; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 650; margin: 1px 4px 1px 0; white-space: nowrap; border: 1px solid transparent; }
.ok { background: var(--okbg); color: var(--ok); border-color: var(--okline); }
.warn { background: var(--warnbg); color: var(--warn); border-color: var(--warnline); }
.bad { background: var(--badbg); color: var(--bad); border-color: var(--badline); }
.info { background: var(--infobg); color: var(--info); }
.neutral { background: var(--panel2); color: var(--ink2); border-color: var(--line); }
.muted { color: var(--muted); } .small { font-size: 12px; } .mono { font-family: var(--font-mono); font-size: 12px; overflow-wrap: anywhere; }
.err { color: var(--bad); white-space: pre-wrap; }
.hidden { display: none; }
.warnbox { margin-top: 6px; padding: 6px 8px; border-radius: 8px; background: var(--warnbg); color: var(--warn); }
.banner { border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 16px; margin: 0 0 14px; }
.banner.blocked { border-color: var(--badline); background: var(--badbg); color: var(--bad); }
.banner.qualified { border-color: var(--warnline); background: var(--warnbg); color: var(--warn); }
.banner.interpretable { border-color: var(--okline); background: var(--okbg); color: var(--ok); }
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.caps div { background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.caps b { display: block; font: 700 30px/1.1 var(--font-display); color: var(--accent-text); }
.caps.dim b { opacity: .4; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; width: fit-content; }
.tabs a { padding: 7px 14px; border-radius: 9px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 13px; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-text); }
.kpi b { display: block; font: 700 26px/1.15 var(--font-display); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.fgrid section { background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.fgrid h3 { margin-top: 0; }
.fgrid ul { margin: 0; padding-left: 18px; } .fgrid li { margin: 5px 0; overflow-wrap: anywhere; }
.t { font: 700 9.5px/1.3 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.tip { position: fixed; pointer-events: none; background: var(--ink); color: var(--bg); padding: 5px 9px; border-radius: 7px; font-size: 12px; display: none; z-index: 60; }
.toast { position: fixed; right: 18px; bottom: 18px; max-width: 460px; background: var(--panel2); color: var(--ink); border: 1px solid var(--accent); padding: 12px 16px; border-radius: 12px; display: none; z-index: 70; white-space: pre-wrap; box-shadow: var(--shadow); }

/* ---- charts */
svg.chart { width: 100%; height: auto; display: block; }
svg text { fill: var(--muted); font-size: 11px; font-family: var(--font-sans); }
.c-line { fill: none; stroke: var(--line-chart); stroke-width: 2; } .c-dot { fill: var(--line-chart); } .c-sig { fill: var(--signalpt); } .c-hist { fill: var(--hist); }
.c-cl { stroke: var(--line-chart); stroke-width: 1.2; opacity: .7; } .c-lim { stroke: var(--limit); stroke-width: 1.5; stroke-dasharray: 6 4; }
.c-spec { stroke: var(--spec); stroke-width: 2; } .c-target { stroke: var(--target); stroke-width: 2; }
.c-bar { fill: var(--bar); } .c-curve { fill: none; stroke: var(--line-chart); stroke-width: 1.5; stroke-dasharray: 3 3; } .c-axis { stroke: var(--line); } .c-hit { fill: transparent; }
.c-zone { fill: color-mix(in srgb, var(--accent) 6%, transparent); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.legend i { display: inline-block; width: 16px; height: 0; border-top: 2px solid; vertical-align: middle; margin-right: 6px; }
.legend i.lg-line { border-top-color: var(--line-chart); } .legend i.lg-lim { border-top-color: var(--limit); border-top-style: dashed; }
.legend i.lg-sig { border-top-color: var(--signalpt); } .legend i.lg-spec { border-top-color: var(--spec); } .legend i.lg-hist { border-top-color: var(--hist); }

/* ---- login */
.login-wrap { min-height: calc(100vh - 140px); display: grid; place-items: center; }
.login { width: min(27rem, 100%); }
.login .il-logo-full { height: 54px; margin-bottom: 18px; }
.login h1 { font-size: 1.6rem; }
.login-top { display: flex; justify-content: flex-end; gap: 8px; }
.demo-users { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; }
.demo-users .du { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 0; }
.demo-users .du button { margin: 0; padding: 4px 10px; font-size: 12px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-strong); }
.seg button { margin: 0; padding: .35rem .6rem; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 700 10.5px/1 var(--font-mono); letter-spacing: .08em; }
.seg button.on { background: var(--accent); color: var(--on-accent); }
.iconbtn { margin: 0; padding: 6px 10px; border-radius: 999px; background: none; color: var(--ink2); border: 1px solid var(--line-strong); }
.iconbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme='dark'] .iconbtn .i-moon, html[data-theme='light'] .iconbtn .i-sun { display: none; }

/* ---- cockpit */
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 22px; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi-tile { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: block; }
.kpi-tile .kl { font-size: 12px; color: var(--muted); }
.kpi-tile .kv { font: 700 34px/1.1 var(--font-display); margin-top: 4px; }
.kpi-tile .kv small { font-size: 16px; color: var(--muted); font-weight: 600; }
.kpi-tile.accent .kv { color: var(--accent-text); } .kpi-tile.alert .kv { color: var(--signalpt); } .kpi-tile.amber .kv { color: var(--limit); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; }
.ccard { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); cursor: pointer; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s, transform .15s; }
.ccard:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-1px); }
.ccard .top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.ccard .proc { font: 700 10px/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ccard .name { font: 700 1.35rem/1.15 var(--font-display); margin-top: 3px; }
.ccard .spec { font-size: 12px; color: var(--muted); }
.ccard .cpk { text-align: right; }
.ccard .cpk b { display: block; font: 700 30px/1 var(--font-display); }
.ccard .cpk span { font-size: 11px; color: var(--muted); }
.lights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.light { border-radius: 12px; padding: 9px 11px; background: var(--panel2); border: 1px solid var(--line); }
.light .lt { font: 700 9.5px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.light .lv { font-size: 13px; font-weight: 650; margin-top: 3px; }
.dot { width: 9px; height: 9px; border-radius: 999px; background: var(--hist); flex: 0 0 auto; }
.light.g { border-color: var(--okline); } .light.g .dot { background: #22c55e; box-shadow: 0 0 10px rgba(34,197,94,.6); }
.light.y { border-color: var(--warnline); } .light.y .dot { background: #f59e0b; box-shadow: 0 0 10px rgba(245,158,11,.6); }
.light.r { border-color: var(--badline); } .light.r .dot { background: #ef4444; box-shadow: 0 0 10px rgba(239,68,68,.6); }
.spark { height: 46px; }
.spark svg { width: 100%; height: 46px; display: block; }
.sp-line { fill: none; stroke: var(--line-chart); stroke-width: 1.6; } .sp-lim { stroke: var(--limit); stroke-width: 1; stroke-dasharray: 4 3; opacity: .8; } .sp-sig { fill: var(--signalpt); }
.nextstep { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink2); padding-top: 10px; border-top: 1px solid var(--line); }
.nextstep b { color: var(--accent-text); font-weight: 650; }
.help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.help div { font-size: 12.5px; color: var(--muted); padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-strong); }
.help b { display: block; color: var(--ink); margin-bottom: 2px; font: 600 1.05rem var(--font-display); }
@media (max-width: 1000px) { .help { grid-template-columns: 1fr; } }

/* ---- characteristic: path + verdict */
.chead { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 16px; }
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 14px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 14px; box-shadow: var(--shadow); }
.pstep { display: flex; gap: 10px; align-items: flex-start; padding: 2px 10px; position: relative; text-decoration: none; color: inherit; }
.pstep + .pstep::before { content: ''; position: absolute; left: -6px; top: 14px; width: 12px; height: 1px; background: var(--line-strong); }
.pdot { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font: 700 12px var(--font-sans); border: 1px solid var(--line-strong); color: var(--muted); }
.pstep.g .pdot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pstep.y .pdot { background: var(--warnbg); border-color: var(--warnline); color: var(--warn); }
.pstep.r .pdot { background: var(--badbg); border-color: var(--badline); color: var(--bad); }
.pstep .pt { font: 700 9.5px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pstep .pv { font-size: 12.5px; font-weight: 600; margin-top: 2px; }
@media (max-width: 1100px) { .path { grid-template-columns: 1fr 1fr; gap: 10px; } .pstep + .pstep::before { display: none; } }
.todo { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.todo .tl { font: 700 10px/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.todo .tx { font-size: 14px; font-weight: 600; margin-top: 2px; }
.todo button { margin: 0; }
.verdict { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 1000px) { .verdict { grid-template-columns: 1fr; } }
.vcard { border-radius: 16px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vcard.g { border-color: var(--okline); } .vcard.y { border-color: var(--warnline); } .vcard.r { border-color: var(--badline); }
.vcard .vq { font: 700 10px/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.vcard .va { font: 700 1.9rem/1.1 var(--font-display); margin: 6px 0 4px; }
.vcard.g .va { color: var(--ok); } .vcard.y .va { color: var(--warn); } .vcard.r .va { color: var(--bad); }
html[data-theme='dark'] .vcard.g .va { color: #61e8bd; }
.vcard.g .dot { background: #22c55e; } .vcard.y .dot { background: #f59e0b; } .vcard.r .dot { background: #ef4444; }
.vcard .vd { font-size: 13px; color: var(--ink2); }
.vcard .vn { margin-top: 8px; font-size: 12px; color: var(--muted); }
.bad-t { color: var(--signalpt); } .caps-mini .pill { font-size: 14px; padding: 4px 12px; }
.il-side-langs button, .seg button { justify-content: center; }
.panel { overflow-x: auto; }
details summary { cursor: pointer; color: var(--accent-text); margin: 6px 0; }
.login .il-logo-full { background: #050909; padding: 8px 14px; border-radius: 12px; height: 62px; box-sizing: content-box; }
