:root {
  color-scheme: dark;
  --bg: #050607;
  --surface: rgba(17, 19, 20, 0.88);
  --surface-strong: #111315;
  --surface-soft: #16191b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f3;
  --muted: #92989b;
  --muted-2: #666c70;
  --green: #76b900;
  --green-bright: #95dc19;
  --green-soft: rgba(118, 185, 0, 0.13);
  --red: #c74634;
  --red-bright: #ef654f;
  --red-soft: rgba(199, 70, 52, 0.14);
  --amber: #f2b84b;
  --radius: 18px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); min-width: 320px; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(circle at 50% -20%, #172014 0, #090b0c 35%, var(--bg) 68%);
  background-size: 48px 48px, 48px 48px, auto;
  overflow-x: hidden;
}

button, input { font: inherit; }
button { color: inherit; }

.ambient {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: .075;
  pointer-events: none;
  z-index: 0;
}

.ambient-green { background: var(--green); right: -120px; top: 22%; }
.ambient-red { background: var(--red); left: -180px; bottom: -80px; }

.topbar {
  position: relative;
  z-index: 10;
  height: 72px;
  padding: 0 clamp(24px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 7, .78);
  backdrop-filter: blur(22px);
}

.brand-lockup, .topbar-right, .status-topline, .component-pills,
.panel-heading, .mini-heading, .race-label, .metric-foot, .result-top,
.citation-row, .progress-meta, .graph-stats, footer, .ready-banner,
.file-receipt, .search-box { display: flex; align-items: center; }

.brand-lockup { gap: 15px; }
.oracle-word { color: #f2f0eb; font-weight: 800; font-size: 20px; letter-spacing: .04em; }
.brand-divider { width: 1px; height: 25px; background: var(--line-strong); }
.nvidia-mark { width: 31px; height: 23px; color: var(--green); display: grid; place-items: center; }
.nvidia-mark svg, .nvidia-small svg { width: 100%; height: 100%; fill: currentColor; }
.nvidia-word { font-size: 17px; font-weight: 850; letter-spacing: .08em; }
.topbar-right { gap: 16px; }
.event-label { color: var(--muted); font-size: 11px; letter-spacing: .18em; font-weight: 700; }

.icon-button {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255,255,255,.035); display: grid; place-items: center; cursor: pointer;
  transition: .2s ease;
}
.icon-button:hover { background: rgba(255,255,255,.08); border-color: var(--line-strong); transform: rotate(-18deg); }
.icon-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1760px, calc(100% - clamp(32px, 7vw, 120px)));
  margin: 0 auto;
  padding: 42px 0 24px;
}

.hero { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; margin-bottom: 28px; }
.eyebrow { color: var(--muted); font-size: 11px; letter-spacing: .2em; font-weight: 800; display: flex; gap: 9px; align-items: center; margin-bottom: 14px; }
.eyebrow span { display: block; width: 24px; height: 2px; background: linear-gradient(90deg, var(--red), var(--green)); }
h1 { font-size: clamp(34px, 4.3vw, 67px); line-height: .98; letter-spacing: -.055em; margin: 0; max-width: 940px; font-weight: 730; }
h1 span { background: linear-gradient(100deg, var(--green-bright), #d5ff88); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero p { color: var(--muted); line-height: 1.6; max-width: 750px; font-size: 15px; margin: 18px 0 0; }

.system-status {
  min-width: 275px; padding: 15px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(13,15,16,.82); box-shadow: var(--shadow);
}
.status-topline { gap: 8px; margin-bottom: 11px; }
.status-topline strong { font-size: 11px; letter-spacing: .15em; }
.live-dot, .metric-status i, .oracle-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(118,185,0,.1), 0 0 14px var(--green); }
.system-status.degraded .live-dot { background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.component-pills { gap: 6px; flex-wrap: wrap; }
.component-pills span { color: #b8bcbf; font-size: 9px; padding: 5px 7px; border-radius: 6px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.05); }

.panel {
  background: linear-gradient(145deg, rgba(20,23,24,.94), rgba(11,13,14,.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); opacity: .65; }
.panel-heading { justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel-heading > div { display: flex; align-items: center; gap: 10px; }
.step-number { color: var(--green); font-size: 10px; font-weight: 900; }
.panel-kicker { color: #d0d2d3; font-size: 10px; letter-spacing: .16em; font-weight: 800; }
.secure-chip, .protocol-chip, .reference-badge, .illustrative-label, .metric-status, .oracle-status, .event-count {
  font-size: 8px; font-weight: 800; letter-spacing: .12em; border-radius: 999px; padding: 6px 9px;
  border: 1px solid var(--line); color: var(--muted);
}
.secure-chip { display: flex; gap: 5px; align-items: center; color: #b7e66d; border-color: rgba(118,185,0,.23); background: var(--green-soft); }
.secure-chip svg { width: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.protocol-chip { color: #d89387; border-color: rgba(199,70,52,.25); background: var(--red-soft); }

.experience-grid { display: grid; grid-template-columns: minmax(340px, .82fr) minmax(700px, 1.75fr); gap: 18px; margin-bottom: 18px; }
.interaction-panel { min-height: 392px; }

.upload-view { padding: 20px; }
.dropzone {
  width: 100%; min-height: 230px; border: 1px dashed rgba(118,185,0,.42); border-radius: 14px;
  background: radial-gradient(circle at 50% 35%, rgba(118,185,0,.11), transparent 48%), rgba(118,185,0,.025);
  display: flex; flex-direction: column; justify-content: center; align-items: center; cursor: pointer; transition: .25s ease;
}
.dropzone:hover, .dropzone.dragging { border-color: var(--green-bright); background-color: rgba(118,185,0,.07); transform: translateY(-2px); }
.upload-orbit { width: 58px; height: 58px; display: grid; place-items: center; color: var(--green-bright); border-radius: 50%; border: 1px solid rgba(118,185,0,.32); box-shadow: 0 0 0 9px rgba(118,185,0,.04), 0 0 35px rgba(118,185,0,.12); margin-bottom: 22px; }
.upload-orbit svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dropzone strong { font-size: 16px; margin-bottom: 5px; }
.dropzone > span:not(.upload-orbit) { color: var(--muted); font-size: 12px; }
.dropzone small { color: var(--muted-2); font-size: 9px; letter-spacing: .11em; margin-top: 20px; }
.sample-button { width: 100%; border: 0; background: transparent; color: var(--muted); font-size: 11px; padding: 14px 0 0; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; }
.sample-button:hover { color: var(--text); }
.sample-button svg { width: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.working-view, .search-view { padding: 22px; }
.file-receipt { padding: 13px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 12px; gap: 11px; }
.file-icon { width: 38px; height: 42px; border-radius: 7px; background: var(--red-soft); color: var(--red-bright); display: grid; place-items: center; font-size: 9px; font-weight: 900; border: 1px solid rgba(199,70,52,.28); }
.file-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.file-info strong { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-info span { color: var(--muted); font-size: 9px; margin-top: 4px; }
.file-check { width: 25px; height: 25px; border-radius: 50%; background: var(--green-soft); color: var(--green-bright); display: grid; place-items: center; }
.file-check svg, .ready-icon svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.readiness-copy { margin-top: 34px; }
.readiness-copy > span { color: var(--green); font-weight: 850; font-size: 9px; letter-spacing: .16em; }
.readiness-copy > strong { display: block; font-size: 20px; letter-spacing: -.02em; margin: 9px 0 22px; }
.progress-track { height: 5px; border-radius: 5px; background: rgba(255,255,255,.065); overflow: hidden; }
.progress-track span { display: block; height: 100%; width: 2%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--green-bright)); box-shadow: 0 0 16px rgba(118,185,0,.45); transition: width .45s ease; }
.progress-meta { justify-content: space-between; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 10px; margin-top: 10px; }

.ready-banner { gap: 12px; padding: 13px; border: 1px solid rgba(118,185,0,.25); background: var(--green-soft); border-radius: 12px; margin-bottom: 19px; }
.ready-icon { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; color: #0b1105; background: var(--green-bright); border-radius: 50%; box-shadow: 0 0 26px rgba(118,185,0,.28); }
.ready-banner div { display: flex; flex-direction: column; }
.ready-banner small { color: #a9ce71; letter-spacing: .14em; font-size: 8px; font-weight: 800; }
.ready-banner strong { font-size: 14px; margin-top: 3px; }
.ready-document { color: var(--muted); font-size: 11px; margin: -6px 0 15px; overflow-wrap: anywhere; }
.search-form label { color: var(--muted); display: block; font-size: 10px; margin-bottom: 8px; }
.search-box { border: 1px solid var(--line-strong); border-radius: 11px; overflow: hidden; background: #090b0c; transition: .2s; }
.search-box:focus-within { border-color: rgba(118,185,0,.55); box-shadow: 0 0 0 3px rgba(118,185,0,.07); }
.search-box input { flex: 1; min-width: 0; color: var(--text); background: transparent; border: 0; outline: 0; padding: 13px; font-size: 11px; }
.search-box button { width: 42px; height: 42px; border: 0; margin: 3px; border-radius: 8px; background: var(--green); color: #071000; display: grid; place-items: center; cursor: pointer; }
.search-box button:hover { background: var(--green-bright); }
.search-box button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.search-result { margin-top: 14px; padding: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 11px; animation: lift-in .35s ease both; }
.result-top { justify-content: space-between; color: var(--green); font-size: 8px; letter-spacing: .12em; font-weight: 800; }
.result-top strong { color: var(--text); font-size: 9px; }
.search-result p { color: #d9dcdd; font-size: 11px; line-height: 1.5; margin: 10px 0; }
.search-result blockquote { color: var(--muted); border-left: 2px solid var(--green); margin: 0; padding: 0 0 0 10px; font-size: 10px; line-height: 1.5; max-height: 58px; overflow: hidden; }
.citation-row { justify-content: space-between; font-size: 8px; color: var(--muted-2); margin-top: 10px; }

.pipeline-panel { min-height: 392px; }
.architecture { height: 156px; display: grid; grid-template-columns: 1fr 110px 1fr 110px 1fr; align-items: center; padding: 20px; position: relative; }
.architecture-node { min-width: 0; height: 89px; border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: .35s ease; }
.architecture-node.active { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.32); }
.architecture-node.complete { border-color: rgba(118,185,0,.23); }
.oracle-node.active { border-color: rgba(199,70,52,.55); box-shadow: 0 14px 40px var(--red-soft); }
.pai-node.active { border-color: rgba(230,230,230,.34); }
.gpu-node.active { border-color: rgba(118,185,0,.58); box-shadow: 0 14px 40px rgba(118,185,0,.11); }
.node-logo { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; }
.oracle-small { color: var(--red-bright); border: 1px solid rgba(199,70,52,.3); background: var(--red-soft); font-weight: 850; }
.shield-logo { color: #d7dbdc; background: rgba(255,255,255,.06); }
.shield-logo svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.nvidia-small { color: var(--green); border: 1px solid rgba(118,185,0,.28); background: var(--green-soft); padding: 8px; }
.architecture-node > div:last-child { min-width: 0; display: flex; flex-direction: column; }
.architecture-node small { color: var(--muted-2); font-size: 7px; letter-spacing: .13em; font-weight: 800; }
.architecture-node strong { font-size: 12px; margin: 5px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.architecture-node strong em { color: inherit; font-style: normal; }
.oracle-node strong em { color: var(--red-bright); }
.gpu-node strong em { color: var(--green-bright); }
.architecture-node span { color: var(--muted); font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.data-link { height: 2px; position: relative; background: rgba(255,255,255,.08); overflow: visible; }
.data-link span { position: absolute; width: 38%; height: 2px; left: -38%; background: linear-gradient(90deg, transparent, var(--green-bright)); opacity: 0; }
.data-link.active span { animation: stream 1.25s linear infinite; opacity: 1; }
.data-link i { font-style: normal; position: absolute; color: var(--muted-2); top: -18px; width: 100%; text-align: center; font-size: 6px; letter-spacing: .1em; }

.stage-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; padding: 0 20px 20px; }
.stage-item { position: relative; padding: 11px 8px; min-width: 0; border-radius: 9px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.045); transition: .3s; }
.stage-item::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--green); transition: width .4s; }
.stage-item.active { background: var(--green-soft); border-color: rgba(118,185,0,.22); }
.stage-item.active::after { width: 55%; animation: stage-progress 1.5s ease-in-out infinite; }
.stage-item.complete::after { width: 100%; }
.stage-item.failed { border-color: rgba(199,70,52,.35); }
.stage-item span { display: flex; align-items: center; gap: 5px; color: var(--muted-2); font-size: 7px; letter-spacing: .1em; }
.stage-item span i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.stage-item strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 8px; margin-top: 6px; }
.stage-item.active span, .stage-item.complete span { color: var(--green); }
.stage-item time { display: block; color: var(--muted); font-size: 9px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.trace-summary { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; padding: 0 22px 20px; }
.trace-summary div { padding-top: 14px; border-top: 1px solid var(--line); min-width: 0; }
.trace-summary small { display: block; color: var(--muted-2); font-size: 8px; letter-spacing: .12em; }
.trace-summary strong { display: block; color: #c6cebd; font-size: 11px; margin-top: 7px; }

.telemetry-grid { display: grid; grid-template-columns: 1.35fr 1.1fr .85fr; gap: 18px; align-items: stretch; }
.benchmark-panel { grid-column: span 1; padding: 18px; min-height: 235px; }
.graph-panel { grid-column: span 1; padding: 18px; min-height: 205px; }
.gpu-metrics-panel { grid-column: span 1; padding: 18px; min-height: 205px; }
.oracle-metrics-panel { grid-column: span 1; padding: 18px; min-height: 205px; }
.activity-panel { grid-column: span 2; padding: 18px; min-height: 205px; }
.mini-heading { justify-content: space-between; margin-bottom: 17px; }
.mini-heading > div { display: flex; flex-direction: column; min-width: 0; }
.mini-heading > div > span { color: var(--muted-2); font-size: 8px; letter-spacing: .15em; font-weight: 850; }
.mini-heading > div > strong { margin-top: 5px; font-size: 13px; }
.reference-badge { color: var(--amber); border-color: rgba(242,184,75,.22); background: rgba(242,184,75,.07); }
.illustrative-label { font-size: 6.5px; }

.benchmark-trigger { display: flex; align-items: center; gap: 8px; margin: -5px 0 13px; padding: 7px 8px; border: 1px solid rgba(242,184,75,.15); border-radius: 7px; background: rgba(242,184,75,.045); }
.benchmark-trigger strong { flex: 0 0 auto; color: var(--amber); font-size: 6.5px; letter-spacing: .1em; }
.benchmark-trigger span { color: var(--muted-2); font-size: 7px; line-height: 1.35; }
.race-bars { display: flex; flex-direction: column; gap: 12px; }
.race-label { justify-content: space-between; font-size: 9px; }
.race-label span { color: #b5b9bb; }
.race-label strong { font-size: 12px; font-variant-numeric: tabular-nums; }
.race-track { height: 8px; border-radius: 7px; background: rgba(255,255,255,.055); overflow: hidden; }
.race-track span { display: block; height: 100%; border-radius: inherit; }
.cpu-race .race-track span, .gpu-race .race-track span { width: 0; transition: width .3s ease; }
.cpu-race .race-track span { background: linear-gradient(90deg, #7c3129, var(--red)); }
.gpu-race .race-track span { background: linear-gradient(90deg, #365900, var(--green-bright)); box-shadow: 0 0 18px rgba(118,185,0,.3); }
.race-slices { display: flex; justify-content: space-between; gap: 5px; margin-top: 5px; }
.race-slices span { color: #6f7678; font-size: 6px; letter-spacing: .08em; }
.race-slices strong { color: #aeb4b6; font-size: 7px; font-weight: 650; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.benchmark-panel p { color: var(--muted-2); font-size: 7.5px; line-height: 1.45; margin: 12px 0 0; }

#graph-canvas { display: block; width: 100%; height: 108px; margin-top: -8px; }
.graph-stats { justify-content: space-between; color: var(--muted-2); font-size: 8px; }
.graph-stats i { color: #bbc1c3; font-style: normal; font-variant-numeric: tabular-nums; }

.metric-status, .oracle-status { border: 0; display: flex; align-items: center; gap: 7px; color: #aab0b2; padding-right: 0; }
.metric-status i, .oracle-status i { width: 5px; height: 5px; }
.metric-large { margin-top: 5px; position: relative; display: grid; grid-template-columns: auto 1fr; align-items: end; width: max-content; }
.metric-large strong { font-size: 42px; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.metric-large strong.status-word { font-size: 24px; letter-spacing: -.02em; }
.metric-large > span { color: var(--green); font-size: 17px; margin-left: 4px; }
.metric-large small { grid-column: span 2; color: var(--muted-2); font-size: 7px; letter-spacing: .15em; margin-top: 7px; }
.sparkline { width: 100%; height: 56px; margin: 4px 0 1px; overflow: visible; }
.spark-area { fill: url(#spark-fill); }
.spark-line { fill: none; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(118,185,0,.5)); }
.metric-foot { justify-content: space-between; color: var(--muted-2); font-size: 7px; }
.metric-foot strong { color: #a9afb1; font-weight: 600; }
.metric-note { color: var(--muted-2); font-size: 8px; margin: 7px 0 0; }

.oracle-state-row { display: grid; grid-template-columns: 1.2fr .8fr .8fr; padding-bottom: 16px; }
.oracle-state-row > div { border-right: 1px solid var(--line); padding-right: 9px; margin-right: 9px; display: flex; flex-direction: column; }
.oracle-state-row > div:last-child { border: 0; padding: 0; margin: 0; }
.oracle-state-row small { color: var(--muted-2); font-size: 7px; letter-spacing: .11em; }
.oracle-state-row strong { font-size: 13px; margin-top: 5px; font-variant-numeric: tabular-nums; }
#oracle-index-status.valid { color: var(--green-bright); }
.sql-card { background: #08090a; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.sql-card > div { height: 26px; padding: 0 9px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 5px; }
.sql-card > div span { width: 5px; height: 5px; border-radius: 50%; background: #4b4f51; }
.sql-card > div span:first-child { background: var(--red); }
.sql-card > div span:last-of-type { background: var(--green); }
.sql-card > div small { color: var(--muted-2); font-size: 6px; letter-spacing: .15em; margin-left: auto; }
.sql-card code { display: block; color: #9ea5a7; font-family: "SFMono-Regular", Consolas, monospace; font-size: 7px; line-height: 1.6; padding: 9px 10px; }
#index-evidence { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 8px; }
.sql-card code b { color: #ddd; font-weight: 500; }
.sql-card mark { color: var(--green-bright); background: transparent; }

.activity-panel .mini-heading { margin-bottom: 12px; }
.event-feed { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px 20px; max-height: 145px; overflow: auto; scrollbar-width: thin; }
.empty-events { grid-column: span 2; min-height: 110px; display: flex; align-items: center; justify-content: center; color: var(--muted-2); font-size: 10px; }
.empty-events span { width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; background: #555; }
.event-item { display: grid; grid-template-columns: 8px 1fr auto; align-items: start; gap: 9px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.045); animation: lift-in .3s ease both; }
.event-item > i { width: 6px; height: 6px; border-radius: 50%; background: #6f7578; margin-top: 3px; box-shadow: 0 0 0 3px rgba(255,255,255,.035); }
.event-item.green > i { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.event-item.red > i { background: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.event-item div { display: flex; flex-direction: column; min-width: 0; }
.event-item strong { font-size: 9px; }
.event-item span { color: var(--muted-2); font-size: 7px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-item time { color: var(--muted-2); font-size: 7px; }

footer { justify-content: center; gap: 11px; padding: 23px 0 0; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .13em; }
footer i { width: 34px; height: 1px; background: linear-gradient(90deg, var(--red), var(--green)); }
footer p { font-weight: 400; letter-spacing: 0; margin: 0 0 0 18px; color: var(--muted-2); }

.toast { position: fixed; z-index: 100; right: 28px; top: 92px; width: min(365px, calc(100vw - 40px)); padding: 15px; border-radius: 14px; border: 1px solid rgba(118,185,0,.38); background: rgba(14,19,11,.96); backdrop-filter: blur(18px); box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 42px rgba(118,185,0,.09); display: flex; align-items: center; gap: 13px; animation: toast-in .45s cubic-bezier(.2,.9,.2,1.08) both; }
.toast > span { width: 39px; height: 39px; border-radius: 50%; background: var(--green-bright); color: #091200; display: grid; place-items: center; }
.toast svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.toast > div { display: flex; flex-direction: column; }
.toast small { color: var(--green); font-size: 7px; letter-spacing: .14em; font-weight: 850; }
.toast strong { font-size: 13px; margin: 3px 0; }
.toast p { color: #96a089; font-size: 9px; margin: 0; }

.hidden { display: none !important; }
.muted { opacity: .52; }

@keyframes stream { from { left: -38%; } to { left: 100%; } }
@keyframes stage-progress { 0%,100% { width: 25%; } 50% { width: 80%; } }
@keyframes bar-reveal { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lift-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-in { from { opacity: 0; transform: translateX(35px) scale(.96); } to { opacity: 1; transform: translateX(0) scale(1); } }

@media (min-width: 1550px) and (min-height: 950px) {
  .page-shell { padding-top: 54px; }
  .experience-grid { grid-template-columns: minmax(390px,.78fr) minmax(850px,1.8fr); }
  .interaction-panel, .pipeline-panel { min-height: 420px; }
  .architecture { height: 180px; }
  .architecture-node { height: 104px; }
  .stage-item { padding: 14px 10px; }
  .telemetry-grid { grid-template-columns: 1.3fr 1.1fr .9fr; }
}

@media (min-width: 1450px) {
  .telemetry-grid { grid-template-columns: 1.22fr 1fr .75fr .95fr 1.18fr; }
  .benchmark-panel, .graph-panel, .gpu-metrics-panel, .oracle-metrics-panel, .activity-panel { grid-column: span 1; }
  .event-feed { grid-template-columns: 1fr; }
  .empty-events { grid-column: span 1; }
  .event-item { display: grid; }
}

@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .system-status { width: 100%; }
  .experience-grid { grid-template-columns: 1fr; }
  .telemetry-grid { grid-template-columns: 1fr 1fr; }
  .activity-panel { grid-column: span 2; }
}

@media (max-width: 760px) {
  .topbar { height: 62px; padding: 0 18px; }
  .event-label, .nvidia-word { display: none; }
  .page-shell { width: calc(100% - 24px); padding-top: 28px; }
  h1 { font-size: 39px; }
  .architecture { height: auto; grid-template-columns: 1fr; gap: 13px; }
  .data-link { width: 2px; height: 22px; margin: -4px auto; }
  .data-link i { display: none; }
  .architecture-node { width: 100%; }
  .stage-list { grid-template-columns: 1fr 1fr !important; }
  .trace-summary { grid-template-columns: 1fr; }
  .telemetry-grid { grid-template-columns: 1fr; }
  .activity-panel, .benchmark-panel, .graph-panel, .gpu-metrics-panel, .oracle-metrics-panel { grid-column: span 1; }
  .event-feed { grid-template-columns: 1fr; }
  footer p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
