  :root {
    --hack-amber:#d29922;
  }
  .hacks-head {
    grid-template-columns:minmax(0,1fr);
  }
  .eyebrow {
    color:var(--negative);
  }
  .hacks-head h1 {
    color:var(--bright);
  }
  .hacks-head p {
    max-width:800px;
  }
  .truth-strip {
    grid-template-columns:auto minmax(0,1fr) auto;
    border:1px solid var(--line);
    border-left:3px solid var(--accent);
    background:var(--panel);
  }
  .truth-strip strong {
    color:var(--accent);
  }
  .truth-strip span { color:var(--muted); }
  .truth-strip .asof { color:var(--muted); white-space:nowrap; }
  .metric .v {
    margin-top:3px;
    color:var(--bright);
    font-size:22px;
    font-weight:740;
  }
  .metric .s {
    font-size:10px;
  }
  .metric.warn .v { color:var(--hack-amber); }
  .section {
    margin-top:14px;
    border:1px solid var(--line);
    background:var(--surface-deep);
  }
  .section-head {
    display:flex;
    gap:18px;
    align-items:center;
    justify-content:space-between;
    min-height:53px;
    padding:10px 13px;
    border-bottom:1px solid var(--line);
  }
  .section-head h2 {
    margin:0;
    color:var(--bright);
    font-size:15px;
    line-height:1.2;
  }
  .section-head p {
    margin:3px 0 0;
    color:var(--muted);
    font-size:11px;
  }
  .section-tools {
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:wrap;
    justify-content:flex-end;
  }
  select,input[type=search] {
    min-height:var(--control-height);
    border:1px solid var(--line);
    border-radius:var(--control-radius);
    background:var(--bg);
    color:var(--text);
    padding:0 var(--control-pad-x);
  }
  select:focus-visible,input[type=search]:focus-visible,button:focus-visible {
    border-color:var(--accent);
    box-shadow:0 0 0 2px #58a6ff24;
  }
  .pulse-grid {
    display:grid;
    grid-template-columns:minmax(0,1.75fr) minmax(280px,.8fr);
    min-height:334px;
  }
  .chart-side {
    min-width:0;
    padding:13px;
    border-right:1px solid var(--line);
  }
  #lossPulse {
    display:block;
    width:100%;
    height:auto;
    min-height:280px;
  }
  .chart-legend {
    display:flex;
    gap:16px;
    align-items:center;
    margin-top:4px;
    color:var(--muted);
    font-size:10px;
  }
  .legend-key { display:inline-flex; gap:6px; align-items:center; }
  .legend-dot { width:9px; height:9px; background:var(--negative); }
  .legend-line { width:15px; height:2px; background:var(--accent); }
  .concentration {
    min-width:0;
    padding:13px;
  }
  .concentration-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:12px;
  }
  .concentration-head h3 {
    margin:0;
    color:var(--bright);
    font-size:13px;
  }
  .segmented {
    display:flex;
    padding:2px;
    border:1px solid var(--line);
    background:var(--bg);
  }
  .segmented button {
    min-height:27px;
    padding:4px 8px;
    border:0;
    background:transparent;
    color:var(--muted);
    cursor:pointer;
    font-size:10px;
  }
  .segmented button.on { background:#1b2530; color:var(--bright); }
  .rank-list { display:grid; gap:11px; }
  .rank-row { display:grid; gap:4px; }
  .rank-label {
    display:flex;
    gap:8px;
    align-items:baseline;
    justify-content:space-between;
    min-width:0;
  }
  .rank-label b {
    overflow:hidden;
    color:#dce6f0;
    font-size:11px;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .rank-label span { color:var(--muted); font-size:10px; white-space:nowrap; }
  .rank-track { height:5px; background:#242c37; }
  .rank-fill { height:100%; width:var(--w); background:var(--negative); }
  .rank-note { margin:12px 0 0; color:var(--dim); font-size:9px; }
  .priority-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:1px;
    background:var(--line);
  }
  .incident-card {
    display:grid;
    min-width:0;
    min-height:154px;
    padding:13px;
    border:0;
    background:var(--bg);
    text-align:left;
    cursor:pointer;
  }
  .incident-card:hover { background:#111821; }
  .incident-top {
    display:flex;
    justify-content:space-between;
    gap:10px;
    align-items:center;
  }
  .severity {
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:var(--sev);
    font-size:9px;
    font-weight:750;
    letter-spacing:.35px;
    text-transform:uppercase;
  }
  .severity::before { content:""; width:6px; height:6px; background:var(--sev); }
  .incident-date { color:var(--dim); font-size:10px; }
  .incident-card h3 {
    overflow:hidden;
    margin:12px 0 0;
    color:var(--bright);
    font-size:15px;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .incident-amount {
    margin-top:3px;
    color:var(--negative);
    font-size:23px;
    font-weight:750;
  }
  .incident-meta {
    overflow:hidden;
    margin-top:9px;
    color:#aeb8c3;
    font-size:10px;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .incident-vector {
    overflow:hidden;
    margin-top:3px;
    color:var(--muted);
    font-size:10px;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .aftermath-grid {
    display:grid;
    grid-template-columns:minmax(300px,.72fr) minmax(0,1.45fr);
  }
  .outcome-summary {
    padding:16px;
    border-right:1px solid var(--line);
  }
  .outcome-summary h3 {
    margin:0;
    color:var(--bright);
    font-size:18px;
  }
  .outcome-summary > p { margin:5px 0 14px; color:var(--muted); font-size:11px; }
  .outcome-bar {
    display:flex;
    height:12px;
    overflow:hidden;
    background:#242c37;
  }
  .outcome-bar span { width:var(--w); background:var(--tone); }
  .outcome-list {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-top:12px;
  }
  .outcome-item {
    padding:9px;
    border:1px solid var(--line);
    background:var(--bg);
  }
  .outcome-item b { display:block; color:var(--tone); font-size:19px; }
  .outcome-item span { color:var(--muted); font-size:10px; }
  .coverage-note {
    margin-top:13px;
    padding:10px;
    border-left:2px solid var(--hack-amber);
    background:#17150e;
    color:#b9aa7c;
    font-size:10px;
  }
  .aftermath-table-wrap { min-width:0; }
  .token { color:inherit; font-weight:var(--weight-normal); }
  .token-not-joined { color:var(--dim); }
  .outcome-chip,.sev-chip {
    display:inline-block;
    padding:2px 6px;
    border:1px solid color-mix(in srgb,var(--tone) 45%,transparent);
    background:color-mix(in srgb,var(--tone) 10%,transparent);
    color:var(--tone);
    font-size:inherit;
    font-weight:var(--weight-normal);
    letter-spacing:0;
    text-transform:none;
  }
  .explorer-controls {
    display:grid;
    grid-template-columns:minmax(190px,1.45fr) repeat(5,minmax(112px,.65fr));
    gap:8px;
    width:100%;
  }
  .explorer-controls input,.explorer-controls select { width:100%; min-width:0; }
  .explorer-meta {
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    padding:9px 12px;
    border-bottom:1px solid var(--line);
    color:var(--muted);
    font-size:10px;
  }
  .explorer-meta b { color:var(--text); }
  .archive-wrap { min-width:0; }
  .archive { min-width:1040px; table-layout:fixed; }
  .archive thead th { background:#121923; }
  .archive tbody :where(th,td) {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .archive .c-date { width:90px; }
  .archive .c-protocol { width:180px; }
  .archive .c-chain { width:150px; }
  .archive .c-loss { width:96px; text-align:right; }
  .archive .c-vector { width:auto; }
  .archive .c-sev { width:90px; }
  .archive .c-after { width:168px; }
  .archive .table-row-action { display:block; width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .loss { color:#ff817a; font-weight:var(--weight-normal); text-align:right; }
  .more-row {
    display:flex;
    justify-content:center;
    padding:12px;
    border-top:1px solid var(--line);
  }
  .more-button {
    min-height:34px;
    padding:6px 12px;
    border:1px solid var(--line);
    background:var(--bg);
    cursor:pointer;
  }
  .more-button:hover { border-color:var(--accent); color:var(--bright); }
  .empty {
    padding:28px;
  }
  dialog {
    width:min(620px,calc(100vw - 32px));
    padding:0;
    border:1px solid #3a4552;
    background:#0c1117;
    color:var(--text);
  }
  dialog::backdrop { background:#030507c7; }
  .modal-head {
    display:flex;
    align-items:start;
    justify-content:space-between;
    gap:20px;
    padding:15px 16px;
    border-bottom:1px solid var(--line);
  }
  .modal-head h3 { margin:4px 0 0; color:var(--bright); font-size:20px; }
  .modal-close {
    width:32px;
    height:32px;
    border:1px solid var(--line);
    background:var(--bg);
    cursor:pointer;
  }
  .modal-body { padding:15px 16px 17px; }
  .detail-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    border-top:1px solid var(--line);
    border-left:1px solid var(--line);
  }
  .detail {
    min-width:0;
    padding:10px;
    border-right:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
  .detail span { display:block; color:var(--muted); font-size:9px; text-transform:uppercase; letter-spacing:.35px; }
  .detail b { display:block; overflow-wrap:anywhere; margin-top:3px; color:#dce6f0; font-size:12px; }
  .modal-note {
    margin:12px 0 0;
    color:var(--muted);
    font-size:10px;
  }
  .source-link { color:var(--accent); }
  .foot {
    margin:14px calc(var(--pad) * -1) -42px;
    padding:11px var(--pad);
  }
  @media (max-width:1050px) {
    .pulse-grid,.aftermath-grid { grid-template-columns:1fr; }
    .chart-side,.outcome-summary { border-right:0; border-bottom:1px solid var(--line); }
    .priority-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .explorer-controls { grid-template-columns:repeat(3,minmax(0,1fr)); }
  }
  @media (max-width:720px) {
    .hacks-head { grid-template-columns:1fr; gap:12px; }
    .truth-strip { grid-template-columns:1fr; gap:4px; }
    .metric .v { font-size:19px; }
    .section-tools { width:100%; justify-content:flex-start; }
    .section-tools select { flex:1; }
    .priority-grid { grid-template-columns:1fr; }
    .outcome-list { grid-template-columns:1fr; }
    .explorer-controls { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .explorer-controls input { grid-column:1/-1; }
    .detail-grid { grid-template-columns:1fr; }
  }
