:root {
      --bg: #070912;
      --bg-2: #0b1020;
      --sidebar: rgba(10, 13, 24, 0.92);
      --panel: rgba(12, 18, 34, 0.96);
      --panel-2: rgba(17, 24, 45, 0.98);
      --line: rgba(113, 83, 255, 0.18);
      --line-strong: rgba(129, 97, 255, 0.34);
      --text: #f4f2ff;
      --text-2: #c4bfd8;
      --text-3: #8f8ca8;
      --purple: #8d5bff;
      --purple-2: #b794ff;
      --cyan: #45e8ff;
      --green: #2ee38a;
      --gold: #ffbf5c;
      --orange: #ff8a3d;
      --red: #ff4e7a;
      --shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
      --radius: 20px;
    }

    * {
      box-sizing: border-box;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    *::-webkit-scrollbar {
      width: 0;
      height: 0;
      display: none;
    }

    html, body {
      margin: 0;
      min-height: 100%;
      background:
        radial-gradient(circle at top left, rgba(141, 91, 255, 0.18), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(69, 232, 255, 0.12), transparent 22%),
        linear-gradient(180deg, #05070e 0%, #090d19 100%);
      color: var(--text);
      font-family: "Outfit", sans-serif;
    }

    body {
      overflow-x: hidden;
    }

    button,
    a,
    input,
    select {
      font: inherit;
    }

    .app-shell {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 260px minmax(0, 1fr);
    }

    .sidebar {
      position: sticky;
      top: 0;
      height: 100vh;
      padding: 24px 18px;
      background: var(--sidebar);
      border-right: 1px solid rgba(255, 255, 255, 0.06);
      backdrop-filter: blur(18px);
      display: flex;
      flex-direction: column;
      gap: 22px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .brand-mark {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      background:
        radial-gradient(circle at 35% 35%, #ccaaff 0%, var(--purple-2) 26%, var(--purple) 64%, #3f236f 100%);
      box-shadow: 0 0 28px rgba(141, 91, 255, 0.35);
      color: #10091d;
      font-family: "Space Mono", monospace;
      font-weight: 700;
      font-size: 13px;
    }

    .brand-copy h1 {
      margin: 0;
      font-size: 28px;
      line-height: 0.92;
      letter-spacing: -0.06em;
    }

    .brand-copy p {
      margin: 8px 0 0;
      color: var(--text-3);
      font-size: 12px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-family: "Space Mono", monospace;
    }

    .side-nav {
      display: grid;
      gap: 8px;
    }

    .side-link {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 14px;
      border-radius: 14px;
      text-decoration: none;
      color: var(--text-2);
      border: 1px solid transparent;
      background: rgba(255, 255, 255, 0.02);
      transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
    }

    .side-link:hover,
    .side-link.active {
      transform: translateX(2px);
      color: var(--text);
      border-color: rgba(141, 91, 255, 0.28);
      background: rgba(141, 91, 255, 0.12);
    }

    .side-link span:first-child {
      width: 18px;
      text-align: center;
      color: var(--purple-2);
      font-family: "Space Mono", monospace;
      font-size: 12px;
    }

    .sources-card,
    .sidebar-note {
      border-radius: 18px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(255, 255, 255, 0.03);
      padding: 16px;
    }

    .kicker {
      color: var(--purple-2);
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-family: "Space Mono", monospace;
    }

    .source-summary {
      margin: 10px 0 14px;
      color: var(--text);
      font-weight: 700;
      font-size: 14px;
    }

    .provider-list {
      display: grid;
      gap: 10px;
      max-height: 340px;
      overflow-y: auto;
      overflow-x: hidden;
      padding-right: 0;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .provider-list::-webkit-scrollbar {
      width: 0;
      height: 0;
      display: none;
    }

    .provider-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 12px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.025);
      border: 1px solid rgba(255, 255, 255, 0.04);
    }

    .provider-meta {
      min-width: 0;
    }

    .provider-name {
      font-size: 14px;
      font-weight: 700;
    }

    .provider-time {
      margin-top: 4px;
      color: var(--text-3);
      font-size: 12px;
    }

    .provider-badge {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 7px 10px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .provider-badge.live {
      color: #d8ffe8;
      background: rgba(46, 227, 138, 0.12);
      border-color: rgba(46, 227, 138, 0.28);
    }

    .provider-badge.waiting {
      color: #fff2d0;
      background: rgba(255, 191, 92, 0.12);
      border-color: rgba(255, 191, 92, 0.28);
    }

    .provider-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: currentColor;
      box-shadow: 0 0 16px currentColor;
    }

    .sidebar-note {
      margin-top: auto;
      color: var(--text-3);
      font-size: 12px;
      line-height: 1.6;
    }

    .main-shell {
      padding: 20px 22px 30px;
    }

    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
      flex-wrap: wrap;
    }

    .topbar-group {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .status-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.035);
      color: var(--text-2);
      font-size: 13px;
      font-weight: 700;
    }

    .status-chip.live {
      color: #e7fff4;
      background: rgba(46, 227, 138, 0.12);
      border-color: rgba(46, 227, 138, 0.28);
    }

    .refresh-btn {
      padding: 10px 15px;
      border: 0;
      border-radius: 14px;
      cursor: pointer;
      color: #0b0716;
      background: linear-gradient(135deg, #c9a9ff 0%, #8d5bff 58%, #45e8ff 100%);
      font-weight: 800;
      box-shadow: 0 16px 32px rgba(141, 91, 255, 0.24);
      transition: transform 0.16s ease, box-shadow 0.16s ease;
    }

    .refresh-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 18px 36px rgba(141, 91, 255, 0.32);
    }

    .content-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 18px;
      align-items: start;
    }

    .column {
      display: grid;
      gap: 18px;
    }

    .panel {
      border-radius: var(--radius);
      border: 1px solid rgba(255, 255, 255, 0.06);
      background:
        linear-gradient(180deg, rgba(15, 20, 38, 0.98), rgba(11, 15, 30, 0.96));
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .panel-pad {
      padding: 20px;
    }

    .panel-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 16px;
    }

    .panel-header h2,
    .panel-header h3 {
      margin: 6px 0 0;
      font-size: 22px;
      letter-spacing: -0.04em;
    }

    .panel-header p {
      margin: 8px 0 0;
      color: var(--text-3);
      font-size: 13px;
      line-height: 1.55;
    }

    .hero-card .panel-pad {
      padding: 24px;
    }

    .hero-card h2 {
      margin: 0;
      font-size: 14px;
      color: var(--text-2);
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .hero-metric {
      display: flex;
      align-items: flex-end;
      gap: 16px;
      margin-top: 16px;
    }

    .hero-number {
      font-size: 96px;
      line-height: 0.9;
      font-weight: 800;
      letter-spacing: -0.08em;
      color: var(--purple-2);
      text-shadow: 0 0 28px rgba(141, 91, 255, 0.26);
    }

    .hero-copy h3 {
      margin: 0;
      font-size: 30px;
      line-height: 0.96;
      letter-spacing: -0.05em;
      text-transform: uppercase;
    }

    .hero-copy p {
      margin: 10px 0 0;
      color: var(--text-2);
      line-height: 1.6;
      font-size: 14px;
    }

    .hero-foot {
      margin-top: 18px;
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .small-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 11px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.03);
      color: var(--text-2);
    }

    .small-chip strong {
      color: var(--text);
    }

    .filter-panel .panel-pad {
      display: grid;
      gap: 14px;
    }

    .filter-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .filter-field {
      display: grid;
      gap: 6px;
    }

    .filter-field.full {
      grid-column: 1 / -1;
    }

    .filter-field label,
    .profile-label {
      color: var(--text-3);
      font-family: "Space Mono", monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .filter-field input,
    .filter-field select,
    .profile-input {
      width: 100%;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(6, 8, 18, 0.62);
      color: var(--text);
      border-radius: 12px;
      padding: 10px 11px;
      outline: none;
      font: inherit;
    }

    .filter-field input:focus,
    .filter-field select:focus,
    .profile-input:focus {
      border-color: rgba(168, 85, 247, 0.56);
      box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
    }

    .filter-summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
      color: var(--text-2);
      font-size: 13px;
    }

    .filter-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .ghost-btn {
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.035);
      color: var(--text-2);
      border-radius: 12px;
      padding: 9px 11px;
      cursor: pointer;
      font-weight: 800;
      transition: border-color 0.16s ease, color 0.16s ease;
    }

    .ghost-btn:hover {
      color: var(--text);
      border-color: rgba(168, 85, 247, 0.4);
    }

    .profile-box {
      padding: 14px;
      border-radius: 16px;
      border: 1px solid rgba(69, 232, 255, 0.12);
      background:
        radial-gradient(circle at top right, rgba(69, 232, 255, 0.1), transparent 45%),
        rgba(255, 255, 255, 0.025);
      display: grid;
      gap: 10px;
    }

    .profile-toggle {
      display: flex;
      align-items: center;
      gap: 9px;
      color: var(--text-2);
      font-size: 13px;
      font-weight: 800;
    }

    .profile-toggle input {
      accent-color: var(--purple-2);
    }

    .profile-help {
      color: var(--text-3);
      font-size: 12px;
      line-height: 1.5;
    }

    .live-list {
      display: grid;
      gap: 12px;
      max-height: 700px;
      overflow: auto;
      padding-right: 4px;
    }

    .threat-card {
      width: 100%;
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-left-width: 3px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.025);
      padding: 15px;
      text-align: left;
      color: inherit;
      cursor: pointer;
      transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
    }

    .threat-card:hover,
    .threat-card.selected {
      transform: translateY(-1px);
      background: rgba(141, 91, 255, 0.08);
      border-color: rgba(141, 91, 255, 0.3);
    }

    .threat-card.critical { border-left-color: var(--red); }
    .threat-card.urgent { border-left-color: var(--orange); }
    .threat-card.elevated { border-left-color: var(--gold); }
    .threat-card.tracking { border-left-color: var(--cyan); }

    .threat-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
    }

    .severity-badge,
    .trend-badge,
    .score-pill,
    .action-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 6px 10px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .severity-badge.critical,
    .score-pill.critical,
    .action-pill.critical {
      color: #ffdce7;
      background: rgba(255, 78, 122, 0.14);
      border-color: rgba(255, 78, 122, 0.26);
    }

    .severity-badge.urgent,
    .score-pill.urgent,
    .action-pill.urgent {
      color: #ffe8da;
      background: rgba(255, 138, 61, 0.14);
      border-color: rgba(255, 138, 61, 0.26);
    }

    .severity-badge.elevated,
    .score-pill.elevated,
    .action-pill.elevated {
      color: #fff3d9;
      background: rgba(255, 191, 92, 0.14);
      border-color: rgba(255, 191, 92, 0.26);
    }

    .severity-badge.tracking,
    .score-pill.tracking,
    .action-pill.tracking {
      color: #dffaff;
      background: rgba(69, 232, 255, 0.12);
      border-color: rgba(69, 232, 255, 0.22);
    }

    .threat-body {
      margin-top: 12px;
    }

    .threat-cve {
      font-size: 26px;
      line-height: 1;
      font-weight: 800;
      letter-spacing: -0.05em;
    }

    .threat-title {
      margin-top: 8px;
      color: var(--text-2);
      font-size: 14px;
      line-height: 1.45;
    }

    .threat-meta {
      margin-top: 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: var(--text-3);
      font-size: 12px;
    }

    .score-orb {
      width: 62px;
      height: 62px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-size: 22px;
      font-weight: 800;
      border: 3px solid rgba(255, 255, 255, 0.08);
      background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), rgba(255,255,255,0.01) 70%);
      flex: 0 0 auto;
    }

    .score-orb.critical { border-color: rgba(255, 78, 122, 0.7); color: #ffdce7; box-shadow: 0 0 24px rgba(255, 78, 122, 0.18); }
    .score-orb.urgent { border-color: rgba(255, 138, 61, 0.68); color: #ffe8da; box-shadow: 0 0 24px rgba(255, 138, 61, 0.16); }
    .score-orb.elevated { border-color: rgba(255, 191, 92, 0.64); color: #fff3d9; box-shadow: 0 0 24px rgba(255, 191, 92, 0.14); }
    .score-orb.tracking { border-color: rgba(69, 232, 255, 0.56); color: #dffaff; box-shadow: 0 0 24px rgba(69, 232, 255, 0.12); }

    .radar-panel .panel-pad {
      padding: 20px 20px 16px;
    }

    .radar-legend {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 14px;
    }

    .legend-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.025);
      color: var(--text-2);
      font-size: 12px;
    }

    .legend-pill i {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      display: inline-block;
      background: currentColor;
    }

    .radar-stat-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 14px;
    }

    .radar-stat {
      padding: 12px;
      border-radius: 15px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background:
        radial-gradient(circle at top right, rgba(141, 91, 255, 0.12), transparent 48%),
        rgba(255, 255, 255, 0.025);
    }

    .radar-stat .label {
      color: var(--text-3);
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-family: "Space Mono", monospace;
    }

    .radar-stat .value {
      margin-top: 7px;
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -0.04em;
    }

    .radar-stat .hint {
      margin-top: 5px;
      color: var(--text-3);
      font-size: 11px;
      line-height: 1.35;
    }

    .radar-axis-key {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 14px;
    }

    .axis-key-card {
      padding: 11px 12px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(255, 255, 255, 0.025);
      color: var(--text-2);
      font-size: 12px;
      line-height: 1.45;
    }

    .axis-key-card strong {
      color: var(--text);
    }

    .chart-wrap {
      min-height: 520px;
      border-radius: 18px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background:
        radial-gradient(circle at 78% 18%, rgba(255, 78, 122, 0.1), transparent 34%),
        radial-gradient(circle at 18% 18%, rgba(168, 85, 247, 0.12), transparent 38%),
        radial-gradient(circle at 78% 82%, rgba(69, 232, 255, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
      overflow: hidden;
      position: relative;
      padding: 14px;
    }

    #chart {
      min-height: 500px;
      height: 100%;
    }

    .radar-board {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      min-height: 500px;
    }

    .radar-lane {
      border-radius: 18px;
      border: 1px solid rgba(255, 255, 255, 0.07);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
      overflow: hidden;
      display: flex;
      flex-direction: column;
      min-height: 236px;
    }

    .radar-lane.patch { border-color: rgba(255, 78, 122, 0.34); box-shadow: inset 0 1px 0 rgba(255, 78, 122, 0.16); }
    .radar-lane.exploit { border-color: rgba(168, 85, 247, 0.32); box-shadow: inset 0 1px 0 rgba(168, 85, 247, 0.16); }
    .radar-lane.exposed { border-color: rgba(255, 191, 92, 0.28); box-shadow: inset 0 1px 0 rgba(255, 191, 92, 0.14); }
    .radar-lane.watch { border-color: rgba(69, 232, 255, 0.24); box-shadow: inset 0 1px 0 rgba(69, 232, 255, 0.12); }

    .lane-head {
      padding: 14px 14px 12px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }

    .lane-kicker {
      color: var(--text-3);
      font-family: "Space Mono", monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .lane-title {
      margin-top: 5px;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.04em;
    }

    .lane-desc {
      margin-top: 6px;
      color: var(--text-3);
      font-size: 12px;
      line-height: 1.45;
    }

    .lane-count {
      width: 48px;
      height: 48px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      font-size: 22px;
      font-weight: 800;
      background: rgba(255, 255, 255, 0.045);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .radar-lane.patch .lane-count { color: #ffdce7; border-color: rgba(255, 78, 122, 0.26); }
    .radar-lane.exploit .lane-count { color: #e4d5ff; border-color: rgba(168, 85, 247, 0.24); }
    .radar-lane.exposed .lane-count { color: #fff3d9; border-color: rgba(255, 191, 92, 0.22); }
    .radar-lane.watch .lane-count { color: #dffaff; border-color: rgba(69, 232, 255, 0.2); }

    .lane-list {
      padding: 12px;
      display: grid;
      gap: 9px;
    }

    .lane-empty {
      padding: 22px 14px;
      color: var(--text-3);
      font-size: 13px;
      line-height: 1.45;
    }

    .radar-foot {
      margin-top: 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      color: var(--text-3);
      font-size: 13px;
    }

    .detail-shell {
      padding: 20px;
    }

    .detail-empty {
      min-height: 820px;
      display: grid;
      place-items: center;
      text-align: center;
      color: var(--text-3);
      line-height: 1.7;
      padding: 40px 24px;
    }

    .detail-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
    }

    .detail-head h2 {
      margin: 10px 0 0;
      font-size: 42px;
      line-height: 0.95;
      letter-spacing: -0.06em;
    }

    .detail-title {
      margin-top: 10px;
      color: var(--text-2);
      font-size: 15px;
      line-height: 1.55;
    }

    .detail-submeta {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 14px;
    }

    .why-banner,
    .decision-card {
      margin-top: 18px;
      padding: 18px;
      border-radius: 18px;
      border: 1px solid rgba(255, 255, 255, 0.07);
    }

    .why-banner.critical,
    .decision-card.critical,
    .decision-summary-card.primary.critical {
      background: linear-gradient(180deg, rgba(255, 78, 122, 0.14), rgba(255, 78, 122, 0.05));
      border-color: rgba(255, 78, 122, 0.28);
    }

    .why-banner.urgent,
    .decision-card.urgent,
    .decision-summary-card.primary.urgent {
      background: linear-gradient(180deg, rgba(255, 138, 61, 0.14), rgba(255, 138, 61, 0.05));
      border-color: rgba(255, 138, 61, 0.28);
    }

    .why-banner.elevated,
    .decision-card.elevated,
    .decision-summary-card.primary.elevated {
      background: linear-gradient(180deg, rgba(255, 191, 92, 0.14), rgba(255, 191, 92, 0.05));
      border-color: rgba(255, 191, 92, 0.28);
    }

    .why-banner.tracking,
    .decision-card.tracking,
    .decision-summary-card.primary.tracking {
      background: linear-gradient(180deg, rgba(69, 232, 255, 0.12), rgba(69, 232, 255, 0.04));
      border-color: rgba(69, 232, 255, 0.24);
    }

    .banner-label,
    .decision-label {
      color: var(--text-3);
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-family: "Space Mono", monospace;
    }

    .banner-copy {
      margin-top: 10px;
      font-size: 16px;
      line-height: 1.65;
      color: var(--text);
    }

    .decision-summary-grid {
      margin-top: 18px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .decision-summary-card {
      padding: 14px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background:
        radial-gradient(circle at top right, rgba(141, 91, 255, 0.1), transparent 50%),
        rgba(255, 255, 255, 0.025);
    }

    .decision-summary-card.primary,
    .decision-summary-card.wide {
      grid-column: 1 / -1;
    }

    .decision-summary-card .label {
      color: var(--text-3);
      font-family: "Space Mono", monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .decision-summary-card .value {
      margin-top: 8px;
      color: var(--text);
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 1.1;
    }

    .decision-summary-card.primary .value {
      font-size: 34px;
      letter-spacing: -0.06em;
    }

    .decision-summary-card .hint {
      margin-top: 7px;
      color: var(--text-3);
      font-size: 12px;
      line-height: 1.5;
    }

    .business-risk-card {
      margin-top: 18px;
      padding: 18px;
      border-radius: 22px;
      border: 1px solid rgba(255, 255, 255, 0.07);
      background:
        radial-gradient(circle at 16% 10%, rgba(255, 191, 92, 0.14), transparent 34%),
        radial-gradient(circle at 92% 4%, rgba(255, 78, 122, 0.12), transparent 32%),
        rgba(255, 255, 255, 0.025);
    }

    .business-risk-card.critical {
      border-color: rgba(255, 78, 122, 0.28);
    }

    .business-risk-card.urgent {
      border-color: rgba(255, 138, 61, 0.26);
    }

    .business-risk-hero {
      display: grid;
      grid-template-columns: 116px minmax(0, 1fr);
      gap: 14px;
      align-items: stretch;
    }

    .business-risk-score {
      border-radius: 20px;
      display: grid;
      place-items: center;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(0, 0, 0, 0.2);
      min-height: 116px;
    }

    .business-risk-score strong {
      display: block;
      font-size: 46px;
      line-height: 0.9;
      letter-spacing: -0.08em;
    }

    .business-risk-score span {
      display: block;
      margin-top: 8px;
      color: var(--text-3);
      font-family: "Space Mono", monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .business-risk-copy h3 {
      margin: 7px 0 0;
      font-size: 27px;
      letter-spacing: -0.06em;
    }

    .business-risk-copy p {
      margin: 10px 0 0;
      color: var(--text-2);
      font-size: 14px;
      line-height: 1.6;
    }

    .business-risk-grid,
    .risk-decision-grid {
      margin-top: 12px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .risk-cardlet,
    .risk-decision,
    .risk-impact {
      padding: 13px;
      border-radius: 15px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(6, 8, 18, 0.34);
    }

    .risk-cardlet.wide {
      grid-column: 1 / -1;
    }

    .risk-label {
      color: var(--text-3);
      font-family: "Space Mono", monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .risk-value {
      margin-top: 7px;
      color: var(--text);
      font-weight: 800;
      line-height: 1.25;
    }

    .risk-copy {
      margin-top: 6px;
      color: var(--text-3);
      font-size: 12px;
      line-height: 1.5;
    }

    .risk-impact-list {
      margin-top: 12px;
      display: grid;
      gap: 9px;
    }

    .risk-impact {
      display: grid;
      grid-template-columns: 96px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
    }

    .risk-impact-level {
      width: fit-content;
      border-radius: 999px;
      padding: 6px 9px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--text);
      background: rgba(255, 255, 255, 0.04);
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
    }

    .risk-impact-level.high {
      color: #ffdce7;
      background: rgba(255, 78, 122, 0.14);
      border-color: rgba(255, 78, 122, 0.26);
    }

    .risk-impact-level.medium {
      color: #fff3d9;
      background: rgba(255, 191, 92, 0.12);
      border-color: rgba(255, 191, 92, 0.24);
    }

    .risk-impact-level.low {
      color: #dffaff;
      background: rgba(69, 232, 255, 0.1);
      border-color: rgba(69, 232, 255, 0.2);
    }

    .risk-impact h4,
    .risk-decision h4 {
      margin: 0;
      font-size: 14px;
      letter-spacing: -0.02em;
    }

    .risk-impact p,
    .risk-decision p {
      margin: 6px 0 0;
      color: var(--text-3);
      font-size: 12px;
      line-height: 1.5;
    }

    .soc-card {
      margin-top: 18px;
      padding: 18px;
      border-radius: 22px;
      border: 1px solid rgba(69, 232, 255, 0.18);
      background:
        radial-gradient(circle at 12% 10%, rgba(69, 232, 255, 0.12), transparent 34%),
        radial-gradient(circle at 90% 10%, rgba(46, 227, 138, 0.1), transparent 36%),
        rgba(255, 255, 255, 0.025);
    }

    .soc-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
    }

    .soc-head h3 {
      margin: 6px 0 0;
      font-size: 25px;
      letter-spacing: -0.05em;
    }

    .soc-head p {
      margin: 8px 0 0;
      color: var(--text-2);
      font-size: 13px;
      line-height: 1.55;
    }

    .soc-safety {
      padding: 12px;
      border-radius: 15px;
      border: 1px solid rgba(255, 191, 92, 0.2);
      background: rgba(255, 191, 92, 0.07);
      color: var(--text-2);
      font-size: 12px;
      line-height: 1.5;
    }

    .soc-grid {
      margin-top: 12px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .soc-box {
      padding: 14px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(6, 8, 18, 0.34);
    }

    .soc-box.wide {
      grid-column: 1 / -1;
    }

    .soc-box h4 {
      margin: 0;
      font-size: 14px;
      letter-spacing: -0.02em;
    }

    .soc-box ol,
    .soc-box ul {
      margin: 10px 0 0;
      padding-left: 18px;
      color: var(--text-2);
      font-size: 12px;
      line-height: 1.55;
    }

    .soc-rule {
      margin-top: 12px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(0, 0, 0, 0.2);
      overflow: hidden;
    }

    .soc-rule-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 12px 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .soc-rule-title {
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .soc-rule pre {
      margin: 0;
      padding: 14px;
      max-height: 330px;
      overflow: auto;
      color: #d8d2ff;
      white-space: pre-wrap;
      word-break: break-word;
      font-size: 12px;
      line-height: 1.5;
      font-family: "Space Mono", monospace;
    }

    .briefing-card {
      margin-top: 18px;
      padding: 18px;
      border-radius: 20px;
      border: 1px solid rgba(141, 91, 255, 0.22);
      background:
        radial-gradient(circle at top left, rgba(141, 91, 255, 0.16), transparent 38%),
        radial-gradient(circle at bottom right, rgba(69, 232, 255, 0.08), transparent 42%),
        rgba(255, 255, 255, 0.025);
    }

    .briefing-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
    }

    .briefing-head h3 {
      margin: 6px 0 0;
      font-size: 24px;
      letter-spacing: -0.05em;
    }

    .brief-copy-btn {
      flex: 0 0 auto;
    }

    .briefing-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .briefing-item {
      padding: 14px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(6, 8, 18, 0.36);
    }

    .briefing-item.primary,
    .briefing-item.wide {
      grid-column: 1 / -1;
    }

    .briefing-item .label {
      color: var(--purple-2);
      font-family: "Space Mono", monospace;
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .briefing-item p {
      margin: 8px 0 0;
      color: var(--text-2);
      font-size: 13px;
      line-height: 1.6;
    }

    .brief-source-list {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-top: 10px;
    }

    .story-detail-wrap {
      padding: 0 16px 16px;
    }

    .story-detail-wrap .story-grid {
      margin-top: 0;
    }

    .story-grid {
      margin-top: 18px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

    .story-card {
      padding: 16px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .story-card h4 {
      margin: 10px 0 0;
      font-size: 15px;
      letter-spacing: -0.02em;
    }

    .story-card ul {
      margin: 12px 0 0;
      padding-left: 18px;
      color: var(--text-2);
      font-size: 13px;
      line-height: 1.6;
    }

    .story-card.cause {
      background: linear-gradient(180deg, rgba(141, 91, 255, 0.12), rgba(141, 91, 255, 0.03));
    }

    .story-card.effect {
      background: linear-gradient(180deg, rgba(69, 232, 255, 0.11), rgba(69, 232, 255, 0.03));
    }

    .story-card.action {
      background: linear-gradient(180deg, rgba(46, 227, 138, 0.11), rgba(46, 227, 138, 0.03));
    }

    .decision-value {
      margin-top: 10px;
      font-size: 34px;
      line-height: 1;
      font-weight: 800;
      letter-spacing: -0.06em;
    }

    .decision-copy {
      margin-top: 10px;
      color: var(--text-2);
      line-height: 1.6;
      font-size: 14px;
    }

    .metric-grid {
      margin-top: 18px;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
    }

    .metric-card {
      padding: 14px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .metric-card .label {
      color: var(--text-3);
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-family: "Space Mono", monospace;
    }

    .metric-card .value {
      margin-top: 8px;
      font-size: 24px;
      font-weight: 800;
      letter-spacing: -0.04em;
    }

    .metric-card .hint {
      margin-top: 6px;
      color: var(--text-3);
      font-size: 12px;
      line-height: 1.5;
    }

    .signal-strip {
      margin: 18px 0;
      padding: 14px;
      border-radius: 18px;
      border: 1px solid rgba(168, 85, 247, 0.26);
      background:
        radial-gradient(circle at top left, rgba(168, 85, 247, 0.18), transparent 42%),
        rgba(255, 255, 255, 0.025);
    }

    .signal-strip-head {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
      margin-bottom: 12px;
    }

    .signal-strip-title {
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .signal-strip-copy {
      margin-top: 4px;
      color: var(--text-3);
      font-size: 12px;
      line-height: 1.45;
    }

    .signal-pill-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }

    .signal-pill {
      padding: 12px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.07);
      background: rgba(0, 0, 0, 0.18);
    }

    .signal-pill strong {
      display: block;
      font-size: 22px;
      letter-spacing: -0.04em;
    }

    .signal-pill span {
      display: block;
      margin-top: 4px;
      color: var(--text-3);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-family: "Space Mono", monospace;
    }

    .mini-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 10px;
    }

    .mini-tag {
      padding: 5px 8px;
      border-radius: 999px;
      color: var(--text-2);
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.04);
      font-size: 11px;
    }

    .decision-tags {
      margin: 18px 0;
      display: grid;
      gap: 10px;
    }

    .tag-group {
      padding: 12px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(255, 255, 255, 0.025);
    }

    .tag-group-title {
      color: var(--text-3);
      font-family: "Space Mono", monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .tag-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
    }

    .tag-chip {
      border: 1px solid rgba(168, 85, 247, 0.22);
      background: rgba(168, 85, 247, 0.08);
      color: var(--text-2);
      border-radius: 999px;
      padding: 6px 9px;
      font-size: 11px;
      font-weight: 700;
    }

    .profile-match {
      margin: 18px 0;
      padding: 14px;
      border-radius: 18px;
      border: 1px solid rgba(69, 232, 255, 0.18);
      background:
        radial-gradient(circle at top left, rgba(69, 232, 255, 0.14), transparent 42%),
        rgba(255, 255, 255, 0.025);
    }

    .profile-match strong {
      color: var(--text);
    }

    .profile-match p {
      margin: 6px 0 0;
      color: var(--text-3);
      font-size: 12px;
      line-height: 1.5;
    }

    .evidence-stack {
      padding: 0 16px 16px;
      display: grid;
      gap: 12px;
    }

    .evidence-stack .decision-tags,
    .evidence-stack .signal-strip {
      margin: 0;
    }

    details {
      margin-top: 18px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(255, 255, 255, 0.025);
      overflow: hidden;
    }

    summary {
      list-style: none;
      cursor: pointer;
      padding: 14px 16px;
      font-weight: 700;
    }

    summary::-webkit-details-marker {
      display: none;
    }

    .deep-dive {
      padding: 0 16px 16px;
      display: grid;
      gap: 12px;
    }

    .deep-dive-card {
      padding: 14px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.05);
      background: rgba(255, 255, 255, 0.025);
    }

    .deep-dive-card h5 {
      margin: 0 0 10px;
      font-size: 13px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--text-3);
      font-family: "Space Mono", monospace;
    }

    .deep-dive-card ul {
      margin: 0;
      padding-left: 18px;
      color: var(--text-2);
      font-size: 13px;
      line-height: 1.6;
    }

    .raw-preview {
      margin: 0;
      color: var(--text-3);
      font-size: 12px;
      line-height: 1.55;
      white-space: pre-wrap;
      word-break: break-word;
      font-family: "Space Mono", monospace;
    }

    .empty-state {
      color: var(--text-3);
      text-align: center;
      padding: 20px;
    }


    @media (max-width: 1120px) {
      .app-shell {
        grid-template-columns: 1fr;
      }

      .sidebar {
        position: static;
        height: auto;
      }

      .content-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 760px) {
      .main-shell {
        padding: 16px;
      }

      .metric-grid,
      .decision-summary-grid,
      .business-risk-hero,
      .business-risk-grid,
      .risk-decision-grid,
      .soc-grid,
      .briefing-grid,
      .story-grid,
      .signal-pill-grid,
      .filter-grid,
      .radar-stat-grid,
      .radar-axis-key,
      .radar-board {
        grid-template-columns: 1fr;
      }

      .hero-metric {
        flex-direction: column;
        align-items: flex-start;
      }

      .hero-number {
        font-size: 78px;
      }

      .detail-head {
        flex-direction: column;
      }

      .risk-impact {
        grid-template-columns: 1fr;
      }
    }


    /* Decision-first dashboard refactor */
    .app-shell { grid-template-columns: 220px minmax(0, 1fr); }
    .content-grid { grid-template-columns: minmax(0, 1fr); max-width: 1240px; margin: 0 auto; gap: 16px; }
    .main-content { display: grid; gap: 16px; }
    .topbar { max-width: 1240px; margin: 0 auto 16px; }
    .panel { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); }
    .sidebar-note { margin-top: auto; padding: 13px; color: var(--text-3); font-size: 12px; line-height: 1.5; }

    .status-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
    .status-metric { border-radius: 16px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.028); padding: 13px 14px; min-width: 0; }
    .status-metric .label { color: var(--text-3); font-family: "Space Mono", monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
    .status-metric .value { margin-top: 7px; color: var(--text); font-size: 24px; line-height: 1; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .status-metric .hint { margin-top: 6px; color: var(--text-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    .toolbar-card { margin-bottom: 16px; border-radius: 18px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.025); padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
    .toolbar-title h2 { margin: 4px 0 0; font-size: 26px; letter-spacing: -.05em; }
    .toolbar-title p { margin: 6px 0 0; color: var(--text-3); font-size: 13px; }
    .toolbar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .filter-toggle { border: 1px solid rgba(168,85,247,.32); background: rgba(141,91,255,.12); color: var(--text); border-radius: 12px; padding: 9px 12px; cursor: pointer; font-weight: 800; }
    .filter-drawer[hidden] { display: none; }
    .filter-drawer { margin-bottom: 16px; }
    .filter-panel .panel-pad { padding: 16px; }

    .decision-list { display: grid; gap: 10px; }
    .decision-card-row { width: 100%; border: 1px solid rgba(255,255,255,.06); border-left: 3px solid rgba(141,91,255,.5); border-radius: 16px; background: rgba(255,255,255,.026); color: inherit; cursor: pointer; text-align: left; padding: 13px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; transition: background .14s ease, border-color .14s ease, transform .14s ease; }
    .decision-card-row:hover, .decision-card-row.selected { transform: translateY(-1px); background: rgba(141,91,255,.075); border-color: rgba(141,91,255,.28); }
    .decision-card-row.critical { border-left-color: var(--red); }
    .decision-card-row.urgent { border-left-color: var(--orange); }
    .decision-card-row.elevated { border-left-color: var(--gold); }
    .decision-card-row.tracking { border-left-color: var(--cyan); }
    .decision-row-main { min-width: 0; }
    .decision-row-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .decision-row-rank { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; padding: 4px 7px; border-radius: 999px; border: 1px solid rgba(183,135,255,.25); background: rgba(141,91,255,.16); color: #d9c1ff; font-family: "Space Mono", monospace; font-size: 11px; font-weight: 900; }
    .decision-row-cve { color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: -.03em; }
    .decision-row-title { margin-top: 7px; color: var(--text-2); font-size: 14px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .decision-row-reason { margin-top: 7px; color: var(--text-3); font-size: 12px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
    .decision-row-side { display: grid; justify-items: end; align-content: start; gap: 8px; }
    .compact-score { min-width: 44px; padding: 7px 9px; border-radius: 12px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); color: var(--text); font-size: 16px; font-weight: 800; text-align: center; }
    .compact-score.muted { opacity: .72; background: rgba(255,255,255,.025); }
    .compact-action { padding: 5px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); color: var(--text-2); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
    .decision-score-label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(69,232,255,.14); background: rgba(69,232,255,.055); color: #bdf8ff; font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
    .score-driver-row { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
    .score-driver { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.025); color: var(--text-2); font-size: 11px; font-weight: 800; }
    .score-driver strong { color: var(--text); font-family: "Space Mono", monospace; font-size: 10px; }
    .score-driver.empty { color: var(--text-3); border-style: dashed; }
    .priority-reasons .score-driver { border-color: rgba(183,135,255,.12); background: rgba(141,91,255,.045); color: var(--text-2); }

    .radar-panel .panel-pad { padding: 18px; }
    .chart-wrap { min-height: 0; padding: 0; background: transparent; border: 0; }
    #chart { min-height: 0; }
    .radar-board { min-height: 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
    .lane-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
    .lane-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.035); color: var(--text-2); padding: 7px 10px; font-size: 12px; font-weight: 800; }
    .lane-pill strong { color: var(--text); font-family: "Space Mono", monospace; }
    .radar-lane { min-height: 0; border-color: rgba(255,255,255,.055); background: rgba(255,255,255,.024); }
    .lane-head { padding: 12px; border-bottom-color: rgba(255,255,255,.045); }
    .lane-title { font-size: 17px; }
    .lane-desc { display: none; }
    .lane-count { width: 38px; height: 38px; border-radius: 13px; font-size: 17px; }

    .lane-summary { padding: 0 12px 12px; display: grid; gap: 8px; }
    .lane-summary-row { display: flex; justify-content: space-between; gap: 12px; border-radius: 10px; background: rgba(255,255,255,.028); padding: 8px 9px; color: var(--text-3); font-size: 12px; }
    .lane-summary-row strong { color: var(--text); font-family: "Space Mono", monospace; text-align: right; }
    .lane-note { color: var(--text-3); font-size: 12px; line-height: 1.45; padding-top: 2px; }
    .detail-empty { min-height: 220px; }
    .drawer-backdrop { display: none; }
    .drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.42); backdrop-filter: blur(2px); }
    .drawer-backdrop[hidden] { display: none; }
    .detail-drawer { position: fixed; inset: 0 0 0 auto; width: min(560px, 100vw); z-index: 70; transform: translateX(105%); transition: transform .22s ease; background: radial-gradient(circle at 10% 0%, rgba(141,91,255,.12), transparent 34%), linear-gradient(180deg, rgba(12,16,30,.99), rgba(7,10,20,.99)); border-left: 1px solid rgba(255,255,255,.08); box-shadow: -16px 0 42px rgba(0,0,0,.38); overflow-y: auto; }
    .detail-drawer.open { transform: translateX(0); }
    .detail-shell { padding: 22px; }
    .drawer-close { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); color: var(--text-2); border-radius: 12px; cursor: pointer; width: 38px; height: 38px; font-weight: 900; }
    .drawer-tabs { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 18px -4px 0; padding: 8px 4px; background: rgba(9,12,23,.92); backdrop-filter: blur(14px); }
    .drawer-tab { border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.035); color: var(--text-3); border-radius: 12px; padding: 9px 8px; cursor: pointer; font-size: 12px; font-weight: 800; }
    .drawer-tab.active { color: var(--text); border-color: rgba(141,91,255,.36); background: rgba(141,91,255,.12); }
    .drawer-tab-panel { margin-top: 8px; }
    .drawer-overview-grid { display: grid; gap: 10px; margin-top: 16px; }
    .drawer-overview-card { border-radius: 16px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.028); padding: 14px; }
    .drawer-overview-card.primary { border-color: rgba(141,91,255,.24); background: rgba(141,91,255,.08); }
    .drawer-overview-card .label { color: var(--text-3); font-family: "Space Mono", monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
    .drawer-overview-card .value { margin-top: 8px; color: var(--text); font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
    .drawer-overview-card p { margin: 8px 0 0; color: var(--text-2); font-size: 13px; line-height: 1.55; }
    .drawer-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .methodology-card { color: var(--text-2); font-size: 13px; line-height: 1.65; }
    .methodology-card ul { margin: 12px 0 0; padding-left: 18px; }

    @media (max-width: 1120px) {
      .app-shell { grid-template-columns: 1fr; }
      .sidebar { position: static; height: auto; padding: 18px; }
      .side-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .side-link { justify-content: center; }
    }

    @media (max-width: 760px) {
      .main-shell { padding: 16px; }
      .status-strip, .drawer-mini-grid, .radar-stat-grid, .radar-axis-key, .filter-grid, .side-nav { grid-template-columns: 1fr; }
      .decision-card-row { grid-template-columns: 1fr; }
      .decision-row-side { justify-items: start; grid-template-columns: auto auto; }
      .detail-drawer { width: 100vw; }
      .drawer-backdrop:not([hidden]) { display: block; }
      .drawer-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }



    /* Evening Star AI attribution */
    .brand-ai { margin-top: 7px; display: inline-flex; width: fit-content; border: 1px solid rgba(69,232,255,.2); background: rgba(69,232,255,.07); color: #baf6ff; border-radius: 999px; padding: 5px 8px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .status-chip.ai-chip { border-color: rgba(69,232,255,.22); background: rgba(69,232,255,.07); color: #baf6ff; }
    a.brand-ai, a.status-chip.ai-chip, .inline-ai-link { text-decoration: none; }
    .brand-logo-link { display: block; border-radius: 18px; overflow: hidden; border: 1px solid rgba(168,85,247,.22); background: radial-gradient(circle at 50% 16%, rgba(141,91,255,.18), rgba(255,255,255,.02)); box-shadow: 0 14px 34px rgba(0,0,0,.28), 0 0 34px rgba(141,91,255,.12); }
    .brand-logo-link:hover { border-color: rgba(69,232,255,.32); }
    .brand-logo { display: block; width: 100%; height: auto; }
    .brand-fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    a.brand-ai:hover, a.status-chip.ai-chip:hover, .inline-ai-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
    .inline-ai-link { color: #baf6ff; font-weight: 800; }

    /* Final readability polish */
    .app-shell { grid-template-columns: 210px minmax(0, 1fr); }
    .brand { display: grid; gap: 10px; align-items: start; }
    .main-shell { padding: 22px 24px 28px; }
    .main-content { gap: 12px; }
    .topbar { margin-bottom: 12px; }
    .panel { border-color: rgba(255,255,255,.045); background: linear-gradient(180deg, rgba(13,17,32,.94), rgba(9,13,25,.94)); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
    .panel-pad { padding: 16px; }
    .side-nav { gap: 6px; }
    .side-link { padding: 11px 13px; color: var(--text-2); font-weight: 700; }
    .side-link:hover, .side-link.active { transform: none; border-color: rgba(141,91,255,.22); background: rgba(141,91,255,.09); }
    .sidebar-note { border-color: rgba(255,255,255,.045); background: rgba(255,255,255,.02); }

    .status-strip { grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
    .status-metric { padding: 11px 12px; border-color: rgba(255,255,255,.045); background: rgba(255,255,255,.02); }
    .status-metric.primary { border-color: rgba(168,85,247,.26); background: linear-gradient(135deg, rgba(141,91,255,.16), rgba(255,255,255,.025)); }
    .status-metric .value { font-size: 21px; }
    .status-metric.primary .value { font-size: 26px; color: #c9a9ff; }
    .status-metric .hint { font-size: 11px; }

    .toolbar-card { margin: 0; padding: 2px 2px 6px; border: 0; background: transparent; border-radius: 0; }
    .toolbar-title h2 { font-size: 24px; }
    .toolbar-title p { font-size: 12px; }
    .decision-count-line { color: var(--text-3); font-size: 12px; }
    .decision-count-line strong { color: var(--text); font-family: "Space Mono", monospace; }

    #decisions .panel-pad { padding: 10px; }
    .decision-list { gap: 7px; }
    .decision-card-row { padding: 11px 12px; border-radius: 14px; border-color: rgba(255,255,255,.045); background: rgba(255,255,255,.018); gap: 10px; }
    .decision-card-row:hover, .decision-card-row.selected { transform: none; background: rgba(141,91,255,.055); border-color: rgba(141,91,255,.2); }
    .decision-row-cve { font-size: 16px; }
    .decision-row-title { margin-top: 5px; font-size: 13px; }
    .decision-row-reason { margin-top: 5px; font-size: 12px; }
    .decision-row-side { gap: 6px; min-width: 96px; }
    .compact-score, .decision-row-move { border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.025); border-radius: 11px; padding: 6px 8px; text-align: right; }
    .compact-score span, .decision-row-move span { display: block; color: var(--text-3); font-family: "Space Mono", monospace; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
    .compact-score strong, .decision-row-move strong { display: block; color: var(--text); font-size: 15px; line-height: 1.15; margin-top: 2px; }
    .decision-row-move strong { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
    .compact-action { background: transparent; border-color: rgba(255,255,255,.045); }
    .score-driver-row { margin-top: 6px; }
    .score-driver { padding: 4px 7px; font-size: 10px; }
    .mini-tags { gap: 5px; }
    .mini-tag { padding: 4px 7px; background: rgba(255,255,255,.026); border-color: rgba(255,255,255,.055); }

    .radar-panel .panel-pad { padding: 16px; }
    .panel-header p { margin-top: 5px; max-width: 680px; }
    .radar-stat-grid { gap: 8px; }
    .radar-stat { padding: 10px; border-color: rgba(255,255,255,.045); background: rgba(255,255,255,.018); }
    .radar-stat .value { font-size: 20px; }
    .radar-axis-key { display: block; margin: 8px 0 12px; }
    .axis-key-card { padding: 0; border: 0; background: transparent; color: var(--text-3); font-size: 12px; }
    .axis-key-card + .axis-key-card { margin-top: 4px; }
    .lane-pill-row { gap: 6px; margin: 4px 0 10px; }
    .lane-pill { padding: 5px 8px; border-color: rgba(255,255,255,.055); background: rgba(255,255,255,.02); font-size: 11px; }
    .radar-board { gap: 8px; }
    .radar-lane { border-radius: 14px; }
    .lane-head { padding: 10px; }
    .lane-title { font-size: 15px; }
    .lane-count { width: 34px; height: 34px; font-size: 15px; }
    .lane-summary { padding: 0 10px 10px; gap: 6px; }
    .lane-summary-row { padding: 7px 8px; font-size: 11px; background: rgba(255,255,255,.02); }
    .lane-note { font-size: 11px; }
    .radar-foot { margin-top: 10px; font-size: 12px; }

    .quiet-panel { background: transparent; border-color: rgba(255,255,255,.035); box-shadow: none; }
    .methodology-card { padding: 12px 14px; }
    .methodology-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text-2); }
    .methodology-details summary::-webkit-details-marker { display: none; }
    .methodology-details summary strong { color: var(--text); font-size: 14px; }
    .methodology-details ul { margin-top: 12px; }

    @media (max-width: 760px) {
      .main-shell { padding: 14px; }
      .status-strip { grid-template-columns: 1fr 1fr; }
      .status-metric.primary { grid-column: 1 / -1; }
      .toolbar-card { gap: 8px; }
      .decision-row-side { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; justify-items: stretch; }
      .compact-score, .decision-row-move { text-align: left; }
      .radar-axis-key { display: none; }
    }


    /* Requested product layers */
    .live-filter-strip {
      margin-bottom: 12px;
      border: 1px solid rgba(168,85,247,.14);
      border-radius: 18px;
      background: linear-gradient(135deg, rgba(141,91,255,.085), rgba(69,232,255,.035) 46%, rgba(255,255,255,.018));
      padding: 14px;
      display: grid;
      grid-template-columns: minmax(220px, .75fr) minmax(420px, 1.25fr);
      gap: 14px 18px;
      align-items: end;
    }
    .live-filter-copy h3 { margin: 5px 0 0; letter-spacing: -.04em; font-size: 22px; }
    .live-filter-copy p { margin: 7px 0 0; color: var(--text-3); font-size: 13px; line-height: 1.45; max-width: 560px; }
    .live-filter-grid { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto; gap: 10px; align-items: end; }
    .live-filter-summary { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.055); }
    .filter-loading { color: #9af3ff; font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
    .clear-live-filters { min-height: 42px; }
    @media (max-width: 980px) {
      .live-filter-strip { grid-template-columns: 1fr; }
      .live-filter-grid { grid-template-columns: 1fr 1fr auto; }
    }
    @media (max-width: 680px) {
      .live-filter-grid { grid-template-columns: 1fr; }
      .clear-live-filters { width: 100%; }
    }
    .drawer-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .mode-card, .report-card, .demo-story-card { border: 1px solid rgba(255,255,255,.06); border-radius: 18px; background: rgba(255,255,255,.025); padding: 15px; margin-top: 14px; }
    .mode-card h3, .report-card h3, .demo-story-card h3 { margin: 6px 0 0; letter-spacing: -.04em; }
    .mode-card p, .report-card p, .demo-story-card p { margin: 8px 0 0; color: var(--text-2); font-size: 13px; line-height: 1.55; }
    .mode-actions, .report-head, .demo-story-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
    .mode-actions { margin-top: 12px; justify-content: flex-start; }
    .report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
    .report-tile { border: 1px solid rgba(255,255,255,.055); border-radius: 14px; background: rgba(6,8,18,.34); padding: 12px; }
    .report-title { color: var(--text); font-weight: 800; letter-spacing: -.02em; }
    .report-tile .ghost-btn { margin-top: 10px; width: 100%; }
    .story-step-grid { display: grid; gap: 10px; margin-top: 14px; }
    .story-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; border: 1px solid rgba(255,255,255,.055); border-radius: 14px; background: rgba(255,255,255,.022); padding: 10px; }
    .story-number { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: rgba(141,91,255,.14); color: #c9a9ff; font-family: "Space Mono", monospace; font-weight: 800; }
    .story-title { color: var(--text); font-weight: 800; }
    .story-step p { margin: 4px 0 0; color: var(--text-2); font-size: 12px; line-height: 1.5; }
    @media (max-width: 980px) {
      .focus-header { grid-template-columns: 1fr; }
      .report-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 760px) {
      .focus-feature-grid { grid-template-columns: 1fr; }
      .drawer-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
