﻿:root {
    --bg: #f3f4f6; --surface: #ffffff; --surface-2: #f8f9fb;
    --ink: #191c23; --ink-soft: #3a404b; --muted: #626c7a; --faint: #8b95a3;
    --border: #e3e6ec; --border-strong: #ccd2dc;
    --accent: #4759d6; --accent-ink: #3446c0; --accent-wash: #eceffc;
    --brand: #c86491;
    --gn: #5f8f36; --sn: #bb5340; --comp: #2f88a8;
    --good: #4a9a58; --warn: #cf9524; --crit: #cf4b45;
    --hero-1: #1c2a63; --hero-2: #2f47b8; --hero-3: #4a63e0; --hero-ink: #eef1ff; --hero-soft: #b9c4f2;
    --shadow: 0 1px 2px rgba(20,26,40,.04), 0 6px 20px -8px rgba(20,26,40,.10);
    --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", "SF Mono", Consolas, monospace;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --maxw: 1200px;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #121419; --surface: #1a1d24; --surface-2: #1f232c;
      --ink: #e9ebf1; --ink-soft: #c4c9d4; --muted: #98a1b0; --faint: #6b7484;
      --border: #2a2f3a; --border-strong: #3a414f;
      --accent: #8091f2; --accent-ink: #a3b0f8; --accent-wash: #20263d;
      --gn: #91bd63; --sn: #e08066; --comp: #5cb6d6;
      --good: #6cc07d; --warn: #e2b24d; --crit: #e8726c;
      --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -12px rgba(0,0,0,.55);
    }
  }
  :root[data-theme="light"] { --bg:#f3f4f6;--surface:#fff;--surface-2:#f8f9fb;--ink:#191c23;--ink-soft:#3a404b;--muted:#626c7a;--faint:#8b95a3;--border:#e3e6ec;--border-strong:#ccd2dc;--accent:#4759d6;--accent-ink:#3446c0;--accent-wash:#eceffc;--gn:#5f8f36;--sn:#bb5340;--comp:#2f88a8;--good:#4a9a58;--warn:#cf9524;--crit:#cf4b45;--shadow:0 1px 2px rgba(20,26,40,.04),0 6px 20px -8px rgba(20,26,40,.10);}
  :root[data-theme="dark"] { --bg:#121419;--surface:#1a1d24;--surface-2:#1f232c;--ink:#e9ebf1;--ink-soft:#c4c9d4;--muted:#98a1b0;--faint:#6b7484;--border:#2a2f3a;--border-strong:#3a414f;--accent:#8091f2;--accent-ink:#a3b0f8;--accent-wash:#20263d;--gn:#91bd63;--sn:#e08066;--comp:#5cb6d6;--good:#6cc07d;--warn:#e2b24d;--crit:#e8726c;--shadow:0 1px 2px rgba(0,0,0,.3),0 10px 30px -12px rgba(0,0,0,.55);}

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: var(--sans); font-size: 16px; line-height: 1.65;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  }
  ::selection { background: var(--accent); color: #fff; }
  h1,h2,h3,h4 { text-wrap: balance; }

  /* ===== Shared top bar with view switcher ===== */
  .topbar {
    position: sticky; top: 0; z-index: 70;
    background: color-mix(in srgb, var(--bg) 84%, transparent);
    backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
  }
  .topbar-in {
    max-width: var(--maxw); margin: 0 auto; padding: 11px 22px;
    display: flex; align-items: center; gap: 14px;
  }
  .brand {
    display: flex; align-items: center; gap: 9px;
    font-weight: 680; letter-spacing: -.01em; font-size: .95rem;
    white-space: nowrap;
  }
  .glyph {
    width: 32px; height: 30px; flex: none; position: relative;
    display: grid; place-items: center; overflow: visible;
  }
  .glyph::after {
    content: none;
  }
  .glyph svg { position: relative; z-index: 1; width: 28px; height: 27px; display: block; }
  .glyph .wire { fill: none; stroke: color-mix(in srgb, var(--muted) 70%, var(--surface)); stroke-width: 1.15; stroke-linecap: round; }
  .glyph .n-gn { fill: #98d66f; }
  .glyph .n-sn { fill: #ff8a6b; }
  .glyph .n-comp { fill: #6bd2f0; }
  .glyph .n-hub { fill: var(--brand); }
  .brand-oebs { color: var(--brand); font-weight: 800; }
  .brand .ver {
    font-family: var(--mono); font-size: .68rem; color: var(--brand);
    background: color-mix(in srgb, var(--brand) 9%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
    padding: 1px 8px; border-radius: 100px;
  }
  .guidenav {
    display: flex; align-items: center; gap: 2px;
    min-width: 0; overflow-x: auto; scrollbar-width: none;
  }
  .guidenav::-webkit-scrollbar { display: none; }
  .guidenav a {
    font-family: var(--mono); font-size: .68rem; text-transform: uppercase;
    letter-spacing: .06em; color: var(--muted); text-decoration: none;
    white-space: nowrap; padding: 6px 9px; border-radius: 7px;
  }
  .guidenav a:hover { color: var(--ink); background: var(--surface-2); }
  .topbar .sp { flex: 1; }
  .viewtoggle {
    display: flex; gap: 2px; background: var(--surface-2);
    border: 1px solid var(--border); border-radius: 10px; padding: 3px;
  }
  .viewtoggle a {
    font-family: var(--mono); font-size: .72rem; text-transform: uppercase;
    letter-spacing: .07em; color: var(--muted); text-decoration: none;
    padding: 6px 13px; border-radius: 7px; transition: all .15s;
    white-space: nowrap;
  }
  .viewtoggle a:hover { color: var(--ink); }
  .viewtoggle a.active {
    background: var(--surface); color: var(--accent-ink);
    box-shadow: var(--shadow); font-weight: 600;
  }
  .theme-toggle {
    width: 34px; height: 34px; border-radius: 9px;
    border: 1px solid var(--border); background: var(--surface);
    color: var(--ink); cursor: pointer; display: grid; place-items: center;
    font-size: 1rem; line-height: 1;
  }
  .theme-toggle:hover { border-color: var(--accent); color: var(--accent-ink); }
  [hidden] { display: none !important; }

  @media (max-width: 860px) {
    .topbar-in { align-items: flex-start; flex-wrap: wrap; gap: 9px; }
    .brand { flex: 1 1 auto; }
    .guidenav {
      order: 4; flex: 1 0 100%; width: 100%;
      padding: 3px 0 1px;
    }
    .guidenav a { background: var(--surface-2); border: 1px solid var(--border); }
    .topbar .sp { display: none; }
  }

  


  footer { border-top: 1px solid var(--border); }
  .footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 30px 24px 48px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    font-family: var(--mono); font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
  .footer-inner .r { color: var(--faint); }

  a:focus-visible, .act:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px;
  }

/* ===================================================================
     VIEW: GUIDE
     =================================================================== */
#view-guide .layout { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 80px;
      display: grid; grid-template-columns: 232px 1fr; gap: 44px; align-items: start; }

@media (max-width: 900px) {
  #view-guide .layout { grid-template-columns: 1fr; gap: 0; }
}

#view-guide aside {
      position: sticky; top: 58px; align-self: start; padding-top: 34px;
      max-height: calc(100vh - 58px); overflow-y: auto;
    }

@media (max-width: 900px) {
  #view-guide aside { position: static; max-height: none; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
}

#view-guide .toc-group { margin-bottom: 20px; }

#view-guide .toc-group h4 {
      font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em;
      color: var(--faint); margin: 0 0 8px; padding-left: 2px;
    }

#view-guide .toc-group a {
      display: block; font-size: .86rem; color: var(--muted); text-decoration: none;
      padding: 4px 9px; border-radius: 7px; border-left: 2px solid transparent; margin-left: -2px;
    }

#view-guide .toc-group a:hover { color: var(--ink); background: var(--surface-2); }

#view-guide .toc-group a.active { color: var(--accent-ink); border-left-color: var(--accent); background: var(--accent-wash); font-weight: 550; }

#view-guide .toc-group h4 a.toc-page {
      font: inherit; color: inherit; text-decoration: none; display: block;
      padding: 0; border-left: none; margin-left: 0;
    }

#view-guide .toc-group h4 a.toc-page:hover { color: var(--accent-ink); background: none; }

#view-guide .pager {
      display: flex; justify-content: space-between; gap: 16px; margin-top: 48px;
      padding-top: 20px; border-top: 1px solid var(--border);
    }

#view-guide .pager a {
      font-family: var(--mono); font-size: .82rem; color: var(--accent-ink); text-decoration: none;
      padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 9px;
    }

#view-guide .pager a:hover { border-color: var(--accent); background: var(--surface-2); }

#view-guide main { padding-top: 34px; min-width: 0; }

#view-guide section { scroll-margin-top: 60px; margin-bottom: 46px; }

#view-guide section > .eyebrow { margin-bottom: 8px; }

#view-guide h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); letter-spacing: -.02em; font-weight: 720; margin: 0 0 14px; text-wrap: balance; line-height: 1.15; }

#view-guide h3 { font-size: 1.12rem; letter-spacing: -.01em; font-weight: 650; margin: 28px 0 10px; }

#view-guide main p { color: var(--ink-soft); max-width: 68ch; margin: 0 0 14px; }

#view-guide main a { color: var(--accent-ink); text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 2px; }

#view-guide strong { color: var(--ink); font-weight: 640; }

#view-guide code { font-family: var(--mono); font-size: .86em; background: var(--surface-2); border: 1px solid var(--border);
      padding: .08em .4em; border-radius: 5px; color: var(--accent-ink); white-space: nowrap; }

#view-guide ul.clean { max-width: 68ch; padding-left: 0; list-style: none; margin: 0 0 14px; display: grid; gap: 8px; }

#view-guide ul.clean li { position: relative; padding-left: 20px; color: var(--ink-soft); }

#view-guide ul.clean li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 2px;
      background: var(--accent); }

#view-guide .table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; margin: 0 0 16px; box-shadow: var(--shadow); }

#view-guide table { border-collapse: collapse; width: 100%; font-size: .88rem; min-width: 460px; }

#view-guide th, #view-guide td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }

#view-guide thead th { background: var(--surface-2); font-family: var(--mono); font-size: .68rem; text-transform: uppercase;
      letter-spacing: .08em; color: var(--muted); font-weight: 600; }

#view-guide tbody tr:last-child td { border-bottom: none; }

#view-guide tbody tr:hover td { background: var(--surface-2); }

#view-guide td:first-child { color: var(--ink); font-weight: 550; white-space: nowrap; }

#view-guide table code { white-space: nowrap; }

#view-guide ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 16px; max-width: 68ch; display: grid; gap: 12px; }

#view-guide ol.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 52px; background: var(--surface);
      border: 1px solid var(--border); border-radius: 11px; color: var(--ink-soft); }

#view-guide ol.steps li::before { content: counter(s); position: absolute; left: 12px; top: 12px; width: 26px; height: 26px;
      display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: #fff;
      font-family: var(--mono); font-size: .8rem; font-weight: 600; }

@media (max-width: 600px) {
  #view-guide ol.steps,
  #view-guide ol.steps li { width: 100%; min-width: 0; }
  #view-guide ol.steps li { overflow-wrap: anywhere; }
  #view-guide ol.steps li kbd,
  #view-guide ol.steps li code { white-space: normal; }
}

#view-guide .note { border: 1px solid var(--border); border-left: 3px solid var(--accent); background: var(--surface);
      border-radius: 10px; padding: 13px 16px; margin: 0 0 16px; max-width: 68ch; font-size: .92rem; color: var(--ink-soft); }

#view-guide .note.tip { border-left-color: var(--good); }

#view-guide .note.warn { border-left-color: var(--warn); }

#view-guide .note .lab { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .1em;
      display: block; margin-bottom: 4px; color: var(--muted); }

#view-guide .note.tip .lab { color: var(--good); }

#view-guide .note.warn .lab { color: var(--warn); }

#view-guide kbd { font-family: var(--mono); font-size: .78rem; background: var(--surface); border: 1px solid var(--border-strong);
      border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; color: var(--ink); white-space: nowrap; }

#view-guide .badge { font-family: var(--mono); font-size: .68rem; padding: 2px 8px; border-radius: 100px; font-weight: 600;
      display: inline-flex; align-items: center; gap: 5px; letter-spacing: .02em; }

#view-guide .badge.gn { color: var(--gn); background: color-mix(in srgb, var(--gn) 14%, transparent); }

#view-guide .badge.sn { color: var(--sn); background: color-mix(in srgb, var(--sn) 14%, transparent); }

#view-guide .badge.comp { color: var(--comp); background: color-mix(in srgb, var(--comp) 14%, transparent); }

#view-guide .badge.new { color: var(--accent-ink); background: var(--accent-wash); }

#view-guide .lead-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }

  .theme-toggle {
    font-size: 1rem; line-height: 1; width: 34px; height: 34px; border-radius: 9px;
    border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--ink-soft);
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    transition: border-color .15s, color .15s;
  }
  .theme-toggle:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ===================================================================
     VIEW: OVERVIEW
     =================================================================== */
  #view-overview { --maxw: 1140px; }

#view-overview .hero {
  position: relative; overflow: hidden; color: var(--hero-ink);
  background:
    radial-gradient(640px 460px at 8% -8%,  rgba(99,124,240,.42), transparent 62%),
    radial-gradient(560px 420px at 92% 6%,  rgba(63,168,196,.24), transparent 64%),
    radial-gradient(520px 360px at 55% 112%, rgba(196,104,78,.16), transparent 66%),
    linear-gradient(180deg, #12152a 0%, #0a0c17 100%);
}

#view-overview .signal-wrap { position: absolute; inset: 0; pointer-events: none; }
#view-overview .signal-wrap svg { width: 100%; height: 100%; display: block; }
#view-overview .signal-path {
  fill: none; stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 8 44; animation: ngm-flow linear infinite;
}
#view-overview .signal-path.w1 { stroke: #93a4ff; opacity: .5;  animation-duration: 6.4s; }
#view-overview .signal-path.w2 { stroke: #7fd7e0; opacity: .38; animation-duration: 8.2s; animation-delay: -1.4s; }
#view-overview .signal-path.w3 { stroke: #ffffff; opacity: .16; animation-duration: 9.6s; animation-delay: -3.1s; }
#view-overview .signal-path.w4 { stroke: #e0a27e; opacity: .30; animation-duration: 7.3s; animation-delay: -2.2s; }
#view-overview .signal-path.w5 { stroke: #93e0a0; opacity: .26; animation-duration: 10.4s; animation-delay: -4.6s; }
@keyframes ngm-flow { to { stroke-dashoffset: -312; } }
@media (prefers-reduced-motion: reduce) {
  #view-overview .signal-path { animation: none; opacity: .22; stroke-dasharray: none; }
}

#view-overview .hero-in { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 30px 22px 70px; }

#view-overview .hero-eyebrow { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .18em;
      color: var(--hero-soft); margin: 18px 0 20px; }

#view-overview .hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem); line-height: 1.04; letter-spacing: -.032em; font-weight: 780;
  margin: 0 0 20px; max-width: 15ch;
  background: linear-gradient(122deg, #ffffff 0%, #dbe1ff 42%, #93a4ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

#view-overview .hero .tagline { font-size: 1.35rem; font-weight: 600; margin: 0 0 12px; letter-spacing: -.01em; color: #fff; }

#view-overview .hero .lede { font-size: 1.1rem; color: var(--hero-soft); max-width: 52ch; margin: 0 0 28px; }

#view-overview .hero code { font-family: var(--mono); font-size: .92em;
      background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
      padding: .06em .38em; border-radius: 5px; color: #dbe1ff; white-space: nowrap; }

#view-overview .btnrow { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

#view-overview .btn { font-weight: 600; font-size: .95rem; padding: 12px 22px; border-radius: 10px; text-decoration: none;
      display: inline-flex; align-items: center; gap: 9px; cursor: pointer; border: 1px solid transparent; transition: transform .12s ease; }

#view-overview .btn:hover { transform: translateY(-1px); }

#view-overview .btn.primary { background: #fff; color: var(--hero-1); }

#view-overview .btn.ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }

#view-overview .btn.ghost:hover { background: rgba(255,255,255,.15); }

#view-overview .ticket { position: relative; z-index: 3; max-width: var(--maxw); margin: -34px auto 0; padding: 0 22px; }

#view-overview .ticket-in { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow);
      display: grid; grid-template-columns: repeat(5, 1fr); }

#view-overview .tk { padding: 20px 18px; text-align: center; border-right: 1px solid var(--border); }

#view-overview .tk:last-child { border-right: none; }

#view-overview .tk b { display: block; font-size: 1.9rem; font-weight: 740; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }

#view-overview .tk span { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

#view-overview .tk b.grad { background: linear-gradient(120deg, var(--accent), var(--comp)); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 720px) {
  #view-overview .ticket-in { grid-template-columns: repeat(2, 1fr); }
  #view-overview .tk:nth-child(even) {border-right:none;}
  #view-overview .tk {border-bottom:1px solid var(--border);}
}

#view-overview .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

#view-overview section { padding: 62px 0; }

#view-overview .eyebrow { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; color: var(--accent-ink); margin: 0 0 12px; }

#view-overview h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.025em; font-weight: 740; margin: 0 0 14px; line-height: 1.08; }

#view-overview .section-lede { font-size: 1.08rem; color: var(--ink-soft); max-width: none; margin: 0 0 8px; }

#view-overview .demo { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden;
      display: grid; grid-template-columns: 1.15fr .85fr; }

@media (max-width: 840px) {
  #view-overview .demo { grid-template-columns: 1fr; }
}

#view-overview .demo-list { padding: 20px 20px 22px; border-right: 1px solid var(--border); background: var(--surface-2);
      --rowcols: 13px 12px 11px 15px 1fr 36px 30px 28px; }

#view-overview .ui-row { display: flex; gap: 5px; margin-bottom: 5px; }
#view-overview .fld { flex: none; display: flex; align-items: center; gap: 6px; height: 23px; padding: 0 8px;
      border-radius: 5px; background: var(--surface); border: 1px solid var(--border);
      font-size: .72rem; color: var(--faint); }
#view-overview .fld.grow { flex: 1; }
#view-overview .fld.rgx { width: 60px; font-family: var(--mono); }
#view-overview .fld.val { color: var(--ink-soft); justify-content: space-between; }
#view-overview .fld .caret { width: 0; height: 0; border-left: 3.5px solid transparent;
      border-right: 3.5px solid transparent; border-top: 4px solid var(--faint); }
#view-overview .mag { width: 9px; height: 9px; border: 1.3px solid var(--faint); border-radius: 50%;
      position: relative; flex: none; }
#view-overview .mag::after { content: ""; position: absolute; right: -3px; bottom: -2px; width: 4px;
      height: 1.3px; background: var(--faint); transform: rotate(45deg); }
#view-overview .ico { width: 23px; height: 23px; display: flex; align-items: center; justify-content: center;
      border-radius: 5px; background: var(--surface); border: 1px solid var(--border);
      font-size: .68rem; color: var(--faint); flex: none; }
#view-overview .pills { display: flex; gap: 2px; margin-bottom: 8px; }
#view-overview .pills span { flex: 1; text-align: center; font-size: .61rem; padding: 4px 2px;
      color: var(--faint); background: var(--surface); border: 1px solid var(--border); }
#view-overview .pills span:first-child { border-radius: 5px 0 0 5px; }
#view-overview .pills span:last-child { border-radius: 0 5px 5px 0; }
#view-overview .showing { font-family: var(--mono); font-size: .65rem; color: var(--muted); margin-bottom: 9px; }
#view-overview .colhd { display: grid; grid-template-columns: var(--rowcols); gap: 6px; padding: 0 10px 5px;
      font-family: var(--mono); font-size: .58rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
#view-overview .colhd .c-name { grid-column: 1 / 6; }
#view-overview .colhd span:not(.c-name) { text-align: right; }

@media (max-width: 840px) {
  #view-overview .demo-list { border-right: none; border-bottom: 1px solid var(--border); }
}

#view-overview .demo-hd { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
      display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }

#view-overview .demo-hd .cols { margin-left: auto; display: flex; gap: 14px; }

#view-overview .nglist { display: flex; flex-direction: column; gap: 4px; }

#view-overview .ngrow { display: grid; grid-template-columns: var(--rowcols); align-items: center; gap: 6px;
      padding: 8px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); font-size: .84rem;
      overflow: hidden; transition: opacity .5s ease, transform .5s ease, max-height .5s ease, padding .5s ease, margin .5s ease, border-color .3s ease;
      max-height: 46px; }

#view-overview .ngrow .ic { width: 15px; height: 15px; border-radius: 3px; background: color-mix(in srgb, var(--gn) 22%, var(--surface)); border: 1px solid color-mix(in srgb,var(--gn) 45%, transparent); }

#view-overview .ngrow .nm { font-weight: 550; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display:flex; align-items:center; gap:7px; }

#view-overview .ngrow .badge-mini { font-family: var(--mono); font-size: .6rem; padding: 1px 5px; border-radius: 4px; letter-spacing: .02em; }

#view-overview .ngrow .n { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); text-align: right; font-size: .78rem; }

#view-overview .ngrow .o { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; font-size: .78rem; }

#view-overview .ngrow .g { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); text-align: right; font-size: .78rem; }
#view-overview .ngrow .ck { width: 11px; height: 11px; border-radius: 2.5px; border: 1.2px solid var(--border-strong); }
#view-overview .ngrow .st { font-size: .7rem; line-height: 1; color: var(--faint); }
#view-overview .ngrow .sh { width: 9px; height: 11px; border: 1.2px solid var(--border-strong); border-radius: 2px 2px 60% 60%; }

@media (max-width: 560px) {
  #view-overview .demo-list { --rowcols: 15px 1fr 34px 30px 28px; }
  #view-overview .ngrow .ck, #view-overview .ngrow .st, #view-overview .ngrow .sh { display: none; }
  #view-overview .colhd .c-name { grid-column: 1 / 3; }
}

#view-overview .ngrow.dupe { border-color: color-mix(in srgb, var(--warn) 55%, transparent); }

#view-overview .ngrow.dupe .nm { color: var(--warn); }

#view-overview .ngrow.dupe .badge-mini { color: var(--warn); background: color-mix(in srgb, var(--warn) 16%, transparent); }

#view-overview .ngrow.orphan { border-color: color-mix(in srgb, var(--crit) 50%, transparent); }

#view-overview .ngrow.orphan .nm { color: var(--crit); }

#view-overview .ngrow.orphan .o { color: var(--crit); }

#view-overview .ngrow.orphan .badge-mini { color: var(--crit); background: color-mix(in srgb, var(--crit) 16%, transparent); }

#view-overview .ngrow.removing { opacity: 0; transform: translateX(-14px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: -4px; border-color: transparent; }

#view-overview .demo-panel { padding: 22px 22px 24px; display: flex; flex-direction: column; }

#view-overview .score-big { font-size: 3.4rem; font-weight: 760; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; transition: color .5s; }

#view-overview .score-big span { font-size: 1rem; color: var(--faint); font-weight: 500; }

#view-overview .grade { font-family: var(--mono); font-size: .8rem; margin-top: 2px; transition: color .5s; }

#view-overview .track { position: relative; height: 12px; border-radius: 100px; margin: 16px 0 7px; overflow: hidden;
      background: linear-gradient(90deg, var(--crit) 0 40%, var(--warn) 40% 70%, #b7c04a 70% 90%, var(--good) 90% 100%); opacity: .92; }

#view-overview .needle { position: absolute; top: -3px; width: 3px; height: 18px; border-radius: 2px; background: var(--ink);
      box-shadow: 0 0 0 2px var(--surface); transition: left 1s cubic-bezier(.22,1,.36,1); }

#view-overview .scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .6rem; color: var(--faint); }

#view-overview .metrics { margin-top: 16px; display: grid; gap: 7px; flex: 1; }

#view-overview .metric { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; font-size: .84rem; color: var(--ink-soft); }

#view-overview .metric .sq { width: 9px; height: 9px; border-radius: 2.5px; }

#view-overview .metric .v { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 600; transition: color .4s; }

#view-overview .metric.cleared .v { color: var(--good); }

#view-overview .metric.cleared { opacity: .55; }

#view-overview .demo-actions { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }

#view-overview .act { font-family: var(--sans); font-size: .82rem; font-weight: 600; padding: 9px 14px; border-radius: 9px; cursor: pointer;
      border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; gap: 7px; transition: all .14s; }

#view-overview .act:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-ink); }

#view-overview .act.pri { background: var(--accent); border-color: var(--accent); color: #fff; }

#view-overview .act.pri:hover:not(:disabled) { filter: brightness(1.06); color: #fff; }

#view-overview .act:disabled { opacity: .4; cursor: not-allowed; }

#view-overview .act.reset { margin-left: auto; border: none; color: var(--muted); background: transparent; }

#view-overview .demo-caption { font-size: .82rem; color: var(--muted); margin: 14px 2px 0; min-height: 1.4em; }

#view-overview .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }

@media (max-width: 840px) {
  #view-overview .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  #view-overview .cards { grid-template-columns: 1fr; }
}

#view-overview .card { background: var(--surface); border: 1px solid var(--border); border-radius: 15px; padding: 18px; box-shadow: var(--shadow);
      transition: transform .16s ease, border-color .16s ease; }

#view-overview .card:hover { transform: translateY(-3px); border-color: var(--border-strong); }

#view-overview .card .viz { height: 62px; margin: -2px 0 12px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border);
      overflow: hidden; display: block; }

#view-overview .card .kicker { font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

#view-overview .card h4 { margin: 5px 0 6px; font-size: 1.02rem; letter-spacing: -.01em; }

#view-overview .card p { margin: 0; font-size: .88rem; color: var(--ink-soft); }

#view-overview .shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }

@media (max-width: 900px) {
  #view-overview .shots { grid-template-columns: 1fr 1fr; }
  #view-overview .shots .shot[style] { grid-column: span 2 !important; }
}

@media (max-width: 600px) {
  #view-overview .shots { grid-template-columns: 1fr; }
  #view-overview .shots .shot[style] { grid-column: span 1 !important; }
}

#view-overview .shot-frame {
  position: relative; aspect-ratio: 4/3; border-radius: 13px; overflow: hidden;
  background: var(--surface-2); border: 1.5px dashed var(--border-strong);
  display: flex; align-items: center; justify-content: center;
}

#view-overview .shot-ph {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--faint);
}

#view-overview .shot-cap { margin: 10px 2px 0; font-size: .86rem; color: var(--ink-soft); }
#view-overview .shot-cap strong { color: var(--ink); }

#view-overview .tag { font-family: var(--mono); font-size: .6rem; padding: 2px 7px; border-radius: 100px; font-weight: 600; letter-spacing: .02em; }

#view-overview .tag.new { color: var(--accent-ink); background: var(--accent-wash); }

#view-overview .tag.neutral { color: var(--muted); background: var(--surface-2); border: 1px solid var(--border-strong); }

#view-overview .editor-spec {
  border: 1px solid var(--border); border-left: 3px solid var(--border-strong);
  border-radius: 0 14px 14px 0; background: var(--surface); box-shadow: var(--shadow);
  padding: 18px 20px; margin-top: 16px;
}

#view-overview .es-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
#view-overview .es-head .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
#view-overview .es-head h4 { margin: 0; font-size: 1.05rem; letter-spacing: -.01em; }
#view-overview .es-head .tag { margin-left: auto; }

#view-overview .es-cols { margin: 0 0 10px; font-size: .88rem; color: var(--ink-soft); }

#view-overview .es-list { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 6px; }
#view-overview .es-list li { font-size: .88rem; color: var(--ink-soft); }

#view-overview .es-bulk { margin: 0; font-size: .84rem; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--border); }

#view-overview .arc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; counter-reset: st; }

@media (max-width: 720px) {
  #view-overview .arc { grid-template-columns: 1fr 1fr; }
}

#view-overview .step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 16px; counter-increment: st; }

#view-overview .step::before { content: counter(st); font-family: var(--mono); font-weight: 700; font-size: .8rem; color: #fff; background: var(--accent);
      width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 11px; }

#view-overview .step h4 { margin: 0 0 5px; font-size: .96rem; }

#view-overview .step p { margin: 0; font-size: .84rem; color: var(--ink-soft); }

#view-overview .personas { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 24px; }

@media (max-width: 900px) {
  #view-overview .personas { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  #view-overview .personas { grid-template-columns: 1fr; }
}

#view-overview .persona { border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; padding: 15px 17px; border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }

#view-overview .persona h4 { margin: 0 0 5px; font-size: .96rem; }

#view-overview .persona p { margin: 0; font-size: .85rem; color: var(--muted); }

