:root { color-scheme: dark; --bg: #0b0b0d; --panel: #141416; --line: #303035; --text: #f3f2ee; --muted: #a9a9b2; --accent: #f3f2ee; --lime: var(--accent); --success: #a6d5bc; --amber: #f2ce89; --danger: #f1a49b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button, input, select { color: var(--text); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 5; padding: 14px; background: var(--lime); color: var(--bg); }
.skip-link:focus { top: 16px; }
.page-shell { max-width: 1536px; margin: auto; padding: 0 5.2%; }
.masthead { min-height: 122px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); gap: 24px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; line-height: 0; }
.brand img { display: block; width: 218px; height: auto; max-width: 42vw; }
.private-label, .eyebrow, .meta-label, .footer-note, .card-category, .data-label { font-family: Consolas, "Courier New", monospace; font-size: 10px; letter-spacing: .13em; font-weight: 400; }
.private-label { color: #c0c0c8; white-space: nowrap; }
.private-label span { color: var(--lime); margin-right: 9px; font-size: 8px; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10%; padding: 62px 0 60px; align-items: end; }
.eyebrow { color: var(--muted); display: block; }
.hero-copy > .eyebrow { color: var(--lime); margin: 0 0 24px; }
h1 { font-size: clamp(48px, 5.8vw, 80px); font-weight: 700; letter-spacing: -.065em; line-height: 1.02; margin: 0; }
h1 span { color: var(--muted); }
.intro { color: #b5b5bf; font-size: 14px; line-height: 1.7; margin: 24px 0 0; }
.overview { border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(135deg, #1d1d22, #111113); padding: 24px 26px; min-width: 0; }
.overview-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 29px; }
.terminal-mark { font: 13px Consolas, monospace; color: #777781; }
.connection { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; color: var(--amber); }
.status-dot { width: 7px; height: 7px; background: currentColor; border-radius: 50%; flex-shrink: 0; }
.connection[data-state="ok"] { color: var(--success); }
.connection[data-state="unavailable"], .connection[data-state="auth_required"], .connection[data-state="access_required"] { color: var(--danger); }
.status-description { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 12px 0 27px; min-height: 40px; }
.overview-bottom { display: grid; grid-template-columns: 1fr 1.35fr; gap: 18px; border-top: 1px solid var(--line); padding-top: 20px; }
.meta-label { display: block; color: #aaaab4; letter-spacing: .06em; font-size: 9px; margin-bottom: 10px; }
.overview-bottom strong { font-size: 33px; font-weight: 400; line-height: 1; }
.overview-bottom time { display: block; color: #e0e0e7; font: 12px/1.7 Consolas, monospace; }
.signals-section { border-top: 1px solid var(--line); padding-top: 30px; scroll-margin-top: 20px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 24px; }
h2 { font-size: 25px; font-weight: 400; letter-spacing: -.04em; margin: 11px 0 0; }
.heading-count { display: inline-block; margin-left: 9px; padding: 3px 7px; vertical-align: middle; font: 11px Consolas, monospace; color: var(--lime); background: #242429; border: 1px solid #42424a; letter-spacing: 0; }
.refresh-label { font: 10px Consolas, monospace; color: var(--muted); margin-bottom: 3px; }
.refresh-label span { color: var(--lime); margin-left: 8px; }
.notice { color: var(--amber); border: 1px solid #564b31; background: #201f16; padding: 13px 16px; line-height: 1.6; font-size: 12px; margin-bottom: 22px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.category-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.category-tab { border: 1px solid transparent; background: transparent; padding: 10px 12px; font-size: 12px; color: #b5b5bf; transition: background .15s; }
.category-tab:hover { background: #212125; color: var(--text); }
.category-tab[aria-pressed="true"] { border-color: #62626d; color: var(--lime); background: #29292f; }
.tab-count { font: 10px Consolas, monospace; opacity: .85; margin-left: 8px; }
.search-tools { display: flex; gap: 9px; flex-wrap: wrap; }
.search-box { display: flex; align-items: center; gap: 8px; background: #17171a; border: 1px solid var(--line); padding: 0 12px; }
.search-box > span:first-child { color: var(--muted); font-size: 22px; }
input { border: 0; width: 188px; background: transparent; padding: 11px 0; font-size: 11px; border-radius: 0; min-width: 0; }
input::placeholder { color: #9d9da8; opacity: 1; }
select { max-width: 200px; border: 1px solid var(--line); background: #17171a; padding: 11px 9px; border-radius: 0; font-size: 11px; }
.results-summary { color: #a4a4af; font: 10px/1.5 Consolas, monospace; margin: 22px 0 16px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.signal-card { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 24px; min-width: 0; position: relative; }
.signal-card::before { content: ""; position: absolute; top: -1px; left: 24px; width: 34px; height: 2px; background: #c5c5cd; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-category { color: #bdbdc7; font-size: 9px; }
.side-badge { color: var(--success); background: #19271f; border: 1px solid #31483c; border-radius: 4px; padding: 5px 7px; font: 9px Consolas, monospace; white-space: nowrap; }
.side-badge[data-side="SHORT"] { background: #34251f; color: #eec0a8; border-color: #604739; }
.signal-symbol { font-size: 30px; font-weight: 500; letter-spacing: -.04em; margin: 21px 0 7px; overflow-wrap: anywhere; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.caller { overflow-wrap: anywhere; }
.unit-context { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 13px 0 0; }
.outcome { margin-top: 17px; }
.outcome-value { font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 12px; padding: 22px 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.data-label { display: block; color: #aaaab4; font-size: 9px; letter-spacing: .06em; margin-bottom: 8px; }
.data-value { display: block; font: 14px/1.4 Consolas, monospace; color: var(--text); overflow-wrap: anywhere; }
.data-value.unavailable { color: #a5a5af; font-size: 11px; }
.data-note { color: #aaaab4; line-height: 1.6; font-size: 10px; margin: -6px 0 16px; }
.card-bottom { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.guidance { margin: 0; color: var(--amber); font-size: 11px; line-height: 1.6; }
.target-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.target-list span { font: 11px Consolas, monospace; border: 1px solid var(--line); padding: 6px 8px; overflow-wrap: anywhere; max-width: 100%; }
.targets { margin-bottom: 20px; }
.empty-state { text-align: center; border: 1px dashed var(--line); padding: 58px 20px; min-height: 235px; background: repeating-linear-gradient(90deg, transparent 0, transparent 99px, #1c1c20 100px); }
.empty-icon { color: #73737e; font: 27px Consolas, monospace; }
.empty-state h3 { font-weight: 400; font-size: 19px; letter-spacing: -.025em; margin: 20px 0 10px; }
.empty-state p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: auto; max-width: 420px; }
.closed-section { margin-top: 48px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 12px; }
th, td { padding: 17px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); background: var(--panel); font: 10px Consolas, monospace; font-weight: 400; }
td { font: 12px Consolas, monospace; }
tbody tr:last-child td { border-bottom: 0; }
footer { margin-top: 66px; padding: 25px 0 31px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 26px; }
.footer-brand { display: inline-flex; flex-shrink: 0; line-height: 0; }
.footer-brand img { display: block; width: 112px; height: auto; opacity: .88; }
footer p { font-size: 10px; line-height: 1.7; color: var(--muted); margin: 0; max-width: 445px; }
.footer-note { font-size: 8px; color: #9d9da8; margin-left: auto; text-align: right; line-height: 1.7; }
.noscript { padding: 20px; color: var(--amber); }
@media (min-width: 1500px) { .cards { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0,1fr)); } .hero { gap: 6%; } .toolbar { align-items: start; } }
@media (max-width: 700px) {
  .page-shell { padding: 0 6%; }
  .masthead { min-height: 92px; }
  .brand img { width: 176px; max-width: 48vw; }
  .private-label { font-size: 8px; letter-spacing: .04em; }
  .private-label span { margin-right: 4px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 37px 0 36px; }
  h1 { font-size: clamp(52px, 14vw, 76px); }
  .hero-copy > .eyebrow { margin-bottom: 21px; font-size: 9px; }
  .intro { font-size: 13px; margin-top: 19px; }
  .overview { padding: 20px; }
  .overview-top { margin-bottom: 22px; }
  .status-description { min-height: 0; }
  .signals-section { padding-top: 25px; }
  .section-heading { align-items: center; }
  h2 { font-size: 23px; }
  .refresh-label { max-width: 96px; text-align: right; font-size: 9px; line-height: 1.6; }
  .toolbar, .search-tools { width: 100%; gap: 12px; }
  .category-tabs { gap: 2px; }
  .category-tab { padding: 9px 8px; font-size: 11px; }
  .tab-count { margin-left: 5px; font-size: 9px; }
  .search-box { flex: 1; min-width: 140px; }
  input { width: 100%; }
  select { max-width: 155px; font-size: 10px; }
  .cards { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .signal-card { padding: 22px; }
  .signal-symbol { font-size: 32px; }
  footer { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
  footer p { grid-column: 1 / -1; grid-row: 2; }
  .footer-note { font-size: 7px; }
}
@media (max-width: 360px) { .private-label { display: none; } .search-tools { flex-direction: column; } select { max-width: 100%; width: 100%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
.view-selector { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.view-selector button { background: var(--surface, #151719); color: #eee; border: 1px solid #414548; border-radius: 12px; padding: 1rem 1.5rem; text-align: left; cursor: pointer; }
.view-selector button[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.view-selector span { display: block; color: #a9aeaa; font-size: .75rem; margin-top: .35rem; }
.risk-dialog { width: min(560px, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 2rem; background: #151719; color: #eee; border: 1px solid #60665a; border-radius: 16px; line-height: 1.65; }
.risk-dialog::backdrop { background: #000b; backdrop-filter: blur(5px); }
.risk-dialog h2 { font-size: 1.8rem; line-height: 1.2; }
.risk-dialog p { margin-bottom: 1rem; }
.risk-confirm { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 0; }
.risk-confirm input { width: 1.3rem; height: 1.3rem; flex: 0 0 auto; margin-top: .2rem; accent-color: var(--accent); }
.risk-actions { display: flex; gap: 1rem; justify-content: flex-end; flex-wrap: wrap; margin-top: 1rem; }
.risk-actions button { padding: .8rem 1rem; cursor: pointer; }
.risk-actions button:disabled { cursor: not-allowed; opacity: .5; }
@media (max-width: 760px) {
  .category-tab { min-height: 44px; padding: 11px 10px; font-size: 13px; }
  .tab-count { font-size: 11px; }
  .search-tools { width: 100%; gap: 10px; }
  .search-box { flex: 1 1 180px; min-width: 0; max-width: 100%; }
  .search-box input { width: 100%; min-height: 44px; font-size: 16px; }
  .search-tools select { flex: 1 1 160px; min-width: 0; max-width: 100%; min-height: 44px; font-size: 16px; }
  .card-meta, .unit-context, .guidance, .data-note, .results-summary { font-size: 12px; line-height: 1.7; }
  .data-label { font-size: 11px; }
  .data-value.unavailable { font-size: 12px; }
  .risk-dialog { padding: 22px; max-height: calc(100dvh - 32px); }
  .risk-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .risk-actions button { min-height: 44px; padding: 12px 10px; font-size: 14px; }
  .risk-confirm { font-size: 14px; line-height: 1.7; }
}
.result-note { display: block; color: #a9aeaa; margin-top: .35rem; }
.operation-updates { border-top: 1px solid #414548; padding-top: 1rem; margin-top: 1rem; }
.operation-updates h4 { margin-bottom: .75rem; }
.event-list { list-style: none; padding: 0; margin: .75rem 0; display: grid; gap: .75rem; }
.operation-event { border-left: 3px solid var(--accent); padding: .6rem .8rem; background: #ffffff05; border-radius: 0 8px 8px 0; font-size: .85rem; overflow-wrap: anywhere; }
.stop-event { border-left-color: #eab866; }
.event-time { color: #a9aeaa; font-size: .7rem; line-height: 1.5; margin-top: .35rem; }
footer { flex-wrap: wrap; }
.legal-links { flex: 0 0 100%; grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 24px; font-size: 11px; color: var(--muted); }
.legal-links a { text-decoration: underline; text-underline-offset: 4px; }
.legal-links a:hover, .legal-links a[aria-current="page"] { color: var(--text); }
footer .legal-disclaimer { flex: 0 0 100%; grid-column: 1 / -1; grid-row: auto; max-width: none; font-size: 11px; }
.open-variation { grid-column: 1 / -1; padding: .75rem; border-radius: 8px; background: #b7ed6e0c; }
.open-variation.positive .data-value { color: #b7ed6e; }
.open-variation.negative .data-value { color: #ff9f9f; }
.history-events { min-width: 240px; max-width: 420px; white-space: normal; margin-top: .75rem; }
.history-events summary { cursor: pointer; color: var(--accent); }

.onchain-reference { display: block; overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }
