:root {
  color-scheme: dark;
  --bg: #080d15;
  --surface: #0d1420;
  --surface-2: #111a28;
  --surface-3: #151f2e;
  --border: #233044;
  --border-soft: #192536;
  --text: #d5deea;
  --muted: #718096;
  --muted-2: #536276;
  --cyan: #24d5f3;
  --cyan-soft: rgba(36, 213, 243, 0.12);
  --green: #27d79a;
  --red: #f16b83;
  --yellow: #f6c969;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", ui-monospace, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: var(--bg); }
body { color: var(--text); font-family: var(--sans); font-size: 11px; letter-spacing: .01em; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, select:focus-visible { outline: 1px solid var(--cyan); outline-offset: 1px; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.app-shell { min-height: 100vh; background: linear-gradient(180deg, #0b111b 0%, #080d15 100%); }
.topbar { height: 45px; display: flex; align-items: center; gap: 14px; padding: 0 12px; border-bottom: 1px solid var(--border); background: #0b121d; }
.brand-lockup { flex: 0 0 150px; display: flex; align-items: baseline; gap: 4px; color: #f2f6fb; font-weight: 800; font-size: 10px; letter-spacing: .08em; white-space: nowrap; }
.brand-delta { color: #f2f6fb; }
.brand-ai { color: var(--cyan); }
.brand-agent { color: #b9c5d5; font-size: 9px; }
.top-context { height: 28px; flex: 1; max-width: 520px; display: flex; align-items: center; gap: 7px; padding: 0 11px; color: var(--muted); border: 1px solid var(--border); background: #0e1724; border-radius: 3px; font-family: var(--mono); font-size: 10px; overflow: hidden; white-space: nowrap; }
.top-context span:first-child { color: #8d9bae; }
.context-dot { color: var(--muted-2); }
.top-icon { width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 3px; color: var(--muted); background: var(--surface); font-size: 15px; }
.top-icon:hover { color: var(--cyan); border-color: #2b6070; }
.primary-action { height: 28px; padding: 0 15px; border: 1px solid #2f8798; border-radius: 3px; background: rgba(31, 181, 209, .12); color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.primary-action:hover { background: rgba(31, 181, 209, .2); }
.top-status { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(246, 201, 105, .07); }
.top-status.operational { background: var(--green); box-shadow: 0 0 0 3px rgba(39, 215, 154, .08); }

.terminal-grid { display: grid; grid-template-columns: 160px minmax(480px, 1fr) 300px; min-height: calc(100vh - 45px); }
.market-rail { border-right: 1px solid var(--border); background: #0b121d; min-width: 0; display: flex; flex-direction: column; }
.panel-rail { padding: 12px 9px 11px; }
.rail-heading, .panel-title, .stat-label { color: #75859b; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.rail-heading { margin: 0 0 11px 3px; white-space: nowrap; }
.rail-heading span { color: var(--muted-2); }
.market-search-wrap { position: relative; z-index: 8; margin: 7px 0 6px; }
.market-search { width: 100%; height: 25px; box-sizing: border-box; padding: 0 6px; border: 1px solid #263950; border-radius: 3px; outline: none; background: #0b1523; color: #c8d6e4; font-family: var(--mono); font-size: 9px; }
.market-search::placeholder { color: #5c6d82; }
.market-search:focus { border-color: #2a9eb0; box-shadow: 0 0 0 1px rgba(36, 213, 243, .18); }
.market-search-results { position: absolute; top: 28px; left: 0; right: 0; max-height: 260px; overflow-y: auto; border: 1px solid #29445b; border-radius: 3px; background: #0b1522; box-shadow: 0 10px 24px rgba(0, 0, 0, .38); }
.market-search-results:empty { display: none; }
.market-search-result { display: block; width: 100%; padding: 7px; border: 0; border-bottom: 1px solid rgba(42, 61, 82, .5); background: transparent; color: #bccddd; text-align: left; font-family: var(--mono); cursor: pointer; }
.market-search-result:hover, .market-search-result:focus { background: rgba(36, 213, 243, .1); color: #fff; outline: none; }
.market-search-result strong { display: block; color: #24d5f3; font-size: 9px; }
.market-search-result small { display: block; margin-top: 2px; color: #75879d; font-size: 8px; }
.market-search-message { padding: 8px 7px; color: #7f90a5; font-family: var(--mono); font-size: 8px; line-height: 1.4; }
.market-retry { margin-top: 6px; padding: 3px 6px; border: 1px solid #2c7080; border-radius: 2px; background: rgba(36, 213, 243, .08); color: var(--cyan); font-family: var(--mono); font-size: 8px; }
.product-select { width: 100%; height: 31px; padding: 0 8px; background: #0c1522; border: 1px solid #2a3950; border-radius: 3px; color: #c6d1df; font-size: 10px; }
.product-scroll { flex: 1; margin-top: 9px; overflow: auto; scrollbar-color: #2c3b4f transparent; scrollbar-width: thin; }
.product-scroll::-webkit-scrollbar { width: 4px; }
.product-scroll::-webkit-scrollbar-thumb { background: #2b394e; }
.product-item { width: 100%; height: 31px; display: flex; justify-content: space-between; align-items: center; padding: 0 8px; border: 0; border-bottom: 1px solid var(--border-soft); background: transparent; color: #9eacc0; text-align: left; font-family: var(--mono); font-size: 10px; }
.product-item:hover, .product-item.selected { background: var(--cyan-soft); color: #e8fbff; }
.product-item.selected { border-left: 2px solid var(--cyan); padding-left: 6px; }
.product-item small { color: var(--muted-2); font-family: var(--sans); font-size: 8px; }
.rail-connection { display: flex; gap: 7px; align-items: center; padding-top: 11px; color: #8d9bae; font-family: var(--mono); font-size: 9px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.status-dot.operational { background: var(--green); }
.rail-footnote { padding: 7px 0 1px 14px; color: var(--muted-2); font-size: 8px; line-height: 1.6; text-transform: uppercase; }

.workspace { min-width: 0; padding: 10px 9px 8px; display: flex; flex-direction: column; gap: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.stat-card { min-width: 0; height: 58px; padding: 10px 9px 7px; border: 1px solid var(--border); border-radius: 4px; background: linear-gradient(180deg, rgba(21, 31, 46, .72), rgba(13, 20, 32, .94)); }
.stat-value { padding-top: 9px; color: #d5dee9; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.small-stat { font-size: 12px; }
.status-value { color: var(--yellow); font-size: 11px; }
.status-value.operational { color: var(--green); }
.timeframe-row { min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.timeframes { display: flex; gap: 0; flex-wrap: wrap; }
.timeframes button { min-width: 32px; height: 22px; padding: 0 6px; border: 1px solid transparent; background: transparent; color: #76879c; font-family: var(--mono); font-size: 9px; }
.timeframes button:hover, .timeframes button.active { border-color: #2c7080; color: var(--cyan); background: var(--cyan-soft); }
.candle-meta { display: flex; gap: 6px; color: var(--muted-2); font-family: var(--mono); font-size: 9px; white-space: nowrap; }
.meta-separator { color: #3c4a5d; }

.chart-card { min-height: 420px; flex: 1; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 4px; background: #0a101a; overflow: hidden; }
.chart-header { min-height: 29px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 8px; border-bottom: 1px solid var(--border-soft); color: #8c9aae; font-family: var(--mono); font-size: 9px; }
.chart-title { white-space: nowrap; }
.chart-title > span:first-child { color: #bec9d7; }
.chart-separator { color: #425066; padding: 0 3px; }
.chart-actions { display: flex; align-items: center; gap: 2px; }
.chart-actions button { height: 20px; padding: 0 6px; border: 1px solid transparent; background: transparent; color: #8290a3; font-family: var(--mono); font-size: 8px; }
.chart-actions button:hover { color: var(--cyan); border-color: #2b6471; background: var(--cyan-soft); }
.chart-viewport { position: relative; min-height: 0; flex: 1; }
#chart-canvas { display: block; width: 100%; height: 100%; cursor: crosshair; }
.chart-viewport.dragging #chart-canvas { cursor: grabbing; }
.level-legend { position: absolute; left: 10px; top: 9px; display: flex; flex-wrap: wrap; gap: 4px; max-width: 70%; pointer-events: none; }
.level-legend:empty { display: none; }
.legend-entry { padding: 3px 5px; border: 1px solid currentColor; border-radius: 2px; background: rgba(9, 16, 26, .9); font-family: var(--mono); font-size: 8px; }
.legend-entry.entry { color: var(--cyan); }
.legend-entry.stop { color: var(--red); }
.legend-entry.target, .legend-entry.exit { color: var(--green); }
.crosshair-tooltip { position: absolute; display: none; z-index: 4; max-width: 220px; padding: 5px 7px; border: 1px solid #31536c; border-radius: 2px; background: rgba(8, 14, 23, .94); color: #c5d2df; font-family: var(--mono); font-size: 8px; line-height: 1.45; pointer-events: none; white-space: nowrap; }
.crosshair-tooltip.visible { display: block; }
.empty-chart { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; color: #5d6d83; font-family: var(--mono); font-size: 10px; pointer-events: none; }
.empty-chart-title { color: #8998aa; }
.empty-chart.hidden { display: none; }
.tv-attribution { position: absolute; left: 9px; bottom: 7px; display: flex; gap: 4px; align-items: center; color: #536276; font-size: 9px; opacity: .8; }
.tv-attribution span { font-family: var(--sans); font-size: 8px; }
.chart-footer { height: 23px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; border-top: 1px solid var(--border-soft); color: #536276; font-family: var(--mono); font-size: 8px; }
.stream-status { color: var(--yellow); }
.stream-status.live { color: var(--green); }
.data-state { display: flex; gap: 6px; align-items: center; }
.hollow-dot { width: 7px; height: 7px; border: 1px solid var(--yellow); border-radius: 50%; }
.hollow-dot.operational { border-color: var(--green); }

.insights-rail { min-width: 0; padding: 10px 10px 9px 1px; display: flex; flex-direction: column; gap: 7px; background: #0a111b; }
.insights-panel { border: 1px solid var(--border); border-radius: 4px; background: linear-gradient(180deg, rgba(16, 25, 38, .72), rgba(11, 18, 29, .85)); padding: 11px 10px 10px; }
.analysis-panel { min-height: 390px; }
.analysis-panel.hidden-panel { min-height: 42px; }
.analysis-panel.hidden-panel > :not(.panel-title) { display: none; }
.panel-title { color: #8191a6; margin-bottom: 14px; }
.analysis-rows { display: flex; flex-direction: column; gap: 10px; }
.analysis-rows > div, .spread-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.analysis-rows span, .spread-row span { color: #8897aa; font-size: 9px; }
.analysis-rows strong, .spread-row strong { color: #c9d4e1; font-family: var(--mono); font-size: 9px; font-weight: 500; text-align: right; white-space: nowrap; }
.analysis-rows strong.highlight { color: var(--cyan); }
.analysis-rows strong.positive { color: var(--green); }
.analysis-rows strong.negative { color: var(--red); }
.trade-level-row { padding-top: 3px; border-top: 1px solid rgba(35, 48, 68, .5); }
.trade-level-row strong { color: var(--cyan); }
.analysis-guidance { min-height: 39px; margin: 18px 0 8px; color: #8190a4; font-size: 9px; line-height: 1.55; }
.trade-rationale { margin: 0 0 9px; color: #9aaabd; font-size: 8px; line-height: 1.5; }
.panel-actions { display: flex; gap: 3px; }
.panel-actions button { height: 22px; padding: 0 7px; border: 1px solid #2d4357; border-radius: 2px; background: #111d2b; color: #b5c2d1; font-family: var(--mono); font-size: 8px; }
.panel-actions button:hover { color: var(--cyan); border-color: #2c7888; }
.evidence-panel { min-height: 110px; }
.spread-row { padding-bottom: 9px; border-bottom: 1px solid var(--border-soft); }
.order-book { display: flex; flex-direction: column; margin-top: 5px; }
.book-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 2px 0; font-family: var(--mono); font-size: 8px; }
.book-row span:last-child { text-align: right; color: #9dacbd; }
.book-ask { color: var(--red); }
.book-bid { color: var(--green); }
.evidence-note { margin: 10px 0 0; color: #78879a; font-size: 8px; line-height: 1.45; }
.trades-panel { min-height: 76px; }
.trades-list { display: flex; flex-direction: column; gap: 3px; max-height: 71px; overflow: hidden; font-family: var(--mono); font-size: 8px; }
.trade-row { display: grid; grid-template-columns: 44px 1fr 32px; gap: 4px; color: #8f9eb0; }
.trade-row span:nth-child(2) { text-align: right; color: #b4c0ce; }
.trade-row span:last-child { text-align: right; }
.trade-buy { color: var(--green) !important; }
.trade-sell { color: var(--red) !important; }
.safety-panel { margin-top: auto; min-height: 132px; }
.safety-badge { display: flex; gap: 6px; align-items: center; margin: 5px 0 12px; color: #adbaca; font-family: var(--mono); font-size: 9px; }
.safety-badge span { color: var(--green); font-size: 8px; }
.safety-panel p { margin: 0; color: #8695a8; font-size: 9px; line-height: 1.55; }

@media (max-width: 1050px) {
  .terminal-grid { grid-template-columns: 145px minmax(420px, 1fr) 270px; }
  .chart-actions button { padding: 0 4px; font-size: 7px; }
  .stat-label { font-size: 8px; }
}
@media (max-width: 820px) {
  .topbar { gap: 7px; }
  .brand-lockup { flex-basis: auto; }
  .top-context { display: none; }
  .terminal-grid { grid-template-columns: 130px minmax(0, 1fr); }
  .insights-rail { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; padding: 0 9px 9px; }
  .safety-panel { margin-top: 0; }
  .workspace { min-height: 520px; }
}
@media (max-width: 560px) {
  .terminal-grid { display: block; }
  .market-rail { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--border); }
  .product-scroll { max-height: 76px; }
  .rail-footnote { display: none; }
  .workspace { min-height: 500px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:last-child { grid-column: span 2; }
  .chart-card { min-height: 380px; }
  .chart-header { align-items: flex-start; padding-top: 7px; flex-direction: column; }
  .chart-actions { width: 100%; overflow-x: auto; }
  .insights-rail { display: flex; }
}
.analysis-checklist { display: flex; flex-direction: column; gap: 3px; margin: 8px 0 9px; padding: 6px 7px; border: 1px solid rgba(35, 48, 68, .72); background: rgba(8, 13, 21, .42); }.gate-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 2px 0; font-family: var(--mono); font-size: 7px; line-height: 1.35; }.gate-row span { color: #718096; }.gate-row strong { font-weight: 500; text-align: right; }.gate-row.pass strong { color: var(--green); }.gate-row.block strong { color: var(--red); }.gate-row.review strong { color: #e8bf75; }
.journal-panel { min-height: 170px; }.journal-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 8px; }.journal-stats > div { min-width: 0; padding: 4px; border: 1px solid rgba(35, 48, 68, .65); background: rgba(8, 13, 21, .4); }.journal-stats span { display: block; color: #718096; font-size: 7px; }.journal-stats strong { display: block; margin-top: 2px; color: #b9c7d6; font-family: var(--mono); font-size: 8px; font-weight: 500; }.journal-form { display: flex; flex-direction: column; gap: 4px; }.journal-form-row { display: flex; gap: 3px; }.journal-form input, .journal-form select, .journal-form button { min-width: 0; height: 22px; border: 1px solid #2d4357; border-radius: 2px; background: #0d1825; color: #b9c7d6; font-family: var(--mono); font-size: 8px; }.journal-form input { width: 0; flex: 1; padding: 0 5px; }.journal-form select { flex: 1; padding: 0 3px; }.journal-form button { padding: 0 5px; cursor: pointer; }.journal-form button:hover { color: var(--cyan); border-color: #2c7888; }.journal-history { display: flex; flex-direction: column; gap: 3px; max-height: 92px; margin-top: 8px; overflow: auto; }.journal-row { display: flex; justify-content: space-between; gap: 5px; align-items: center; color: #8f9eb0; font-family: var(--mono); font-size: 8px; }.journal-row strong { display: flex; gap: 2px; color: #b4c0ce; font-size: 7px; font-weight: 500; }.journal-row button { padding: 1px 3px; border: 1px solid #2d4357; border-radius: 2px; background: #111d2b; color: #aebdcc; font-family: var(--mono); font-size: 7px; cursor: pointer; }.journal-row button:hover { color: var(--cyan); }.journal-empty { color: #78879a; font-size: 8px; line-height: 1.4; }
.scan-action { height: 24px; padding: 0 9px; border: 1px solid #2d6475; border-radius: 2px; background: #102433; color: #a5d8df; font-family: var(--mono); font-size: 8px; letter-spacing: .04em; cursor: pointer; white-space: nowrap; }.scan-action:hover { border-color: #45b8c5; color: #d6fbff; }.scan-action:disabled { opacity: .55; cursor: wait; }
.market-scan-panel { margin-top: 8px; padding: 10px; border: 1px solid var(--border); background: rgba(13, 20, 32, .94); }.scan-header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--border-soft); padding-bottom: 8px; }.scan-header p { margin: 4px 0 0; color: #78889a; font-size: 9px; line-height: 1.4; }.scan-header > strong { color: #7dd3dc; font-family: var(--mono); font-size: 9px; font-weight: 500; white-space: nowrap; }.scan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: 8px; }.scan-card { min-width: 0; padding: 7px; border: 1px solid #26384c; background: #0a121e; }.scan-card.candidate { border-color: rgba(80, 188, 161, .55); }.scan-card.wait { border-color: rgba(158, 115, 100, .45); }.scan-card-head { display: flex; justify-content: space-between; gap: 6px; align-items: center; }.scan-card-head strong { color: #b9c9d8; font-family: var(--mono); font-size: 10px; }.scan-card-head b { color: #83d3c1; font-family: var(--mono); font-size: 8px; font-weight: 500; }.scan-card.wait .scan-card-head b { color: #d6aa85; }.scan-card-meta { display: flex; justify-content: space-between; gap: 4px; margin-top: 5px; color: #738497; font-family: var(--mono); font-size: 7px; }.scan-card p { min-height: 28px; margin: 6px 0; color: #8e9cad; font-size: 8px; line-height: 1.35; }.scan-card button { width: 100%; height: 20px; border: 1px solid #294b5a; border-radius: 2px; background: #101e2c; color: #9ccbd2; font-family: var(--mono); font-size: 7px; cursor: pointer; }.scan-card button:hover { border-color: #43aebc; color: #d4fbff; }.scan-empty { padding: 14px 5px; color: #7e8b9b; font-family: var(--mono); font-size: 9px; }
@media (max-width: 1050px) { .scan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .scan-grid { grid-template-columns: 1fr; }.scan-header { flex-direction: column; gap: 5px; }.scan-action { padding: 0 5px; font-size: 7px; } }
.scan-controls { display: flex; align-items: center; gap: 6px; white-space: nowrap; }.scan-controls button { height: 20px; padding: 0 6px; border: 1px solid #2d6475; border-radius: 2px; background: #102433; color: #a5d8df; font-family: var(--mono); font-size: 7px; cursor: pointer; }.scan-controls button:hover { border-color: #45b8c5; color: #d6fbff; }.scan-controls span { color: #7d91a2; font-family: var(--mono); font-size: 7px; }.scan-card-actions { display: flex; gap: 3px; }.scan-card-actions button { flex: 1; }.scan-card.candidate .scan-card-actions button:last-child { border-color: rgba(80, 188, 161, .55); color: #8bd7c4; }.journal-stats { grid-template-columns: repeat(5, 1fr); }
.tradeable-header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-top: 10px; padding: 9px 0 7px; border-top: 1px solid #304255; border-bottom: 1px solid var(--border-soft); }.tradeable-header p { margin: 4px 0 0; color: #78889a; font-size: 9px; line-height: 1.4; }.tradeable-header > strong { color: #d6aa85; font-family: var(--mono); font-size: 9px; font-weight: 500; white-space: nowrap; }.tradeable-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }.tradeable-card { min-width: 0; padding: 8px; border: 1px solid rgba(80, 188, 161, .62); background: linear-gradient(135deg, rgba(10, 28, 31, .96), rgba(10, 18, 30, .98)); }.tradeable-card .scan-card-head b { color: #8bd7c4; }.tradeable-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 8px 0 6px; }.tradeable-levels span { padding: 4px; border: 1px solid rgba(45, 75, 87, .8); color: #78909d; font-family: var(--mono); font-size: 7px; }.tradeable-levels strong { display: block; margin-top: 2px; color: #c4d2dd; font-size: 8px; }.tradeable-card p { min-height: 26px; margin: 6px 0; color: #a2b1bc; font-size: 8px; line-height: 1.35; }
@media (max-width: 720px) { .tradeable-grid { grid-template-columns: 1fr; }.tradeable-levels { grid-template-columns: repeat(2, 1fr); }.tradeable-header { flex-direction: column; gap: 4px; } }

.review-tools-panel { margin-top: 8px; padding: 9px; border: 1px solid var(--border); background: rgba(13, 20, 32, .94); }
.review-tools-panel .evidence-note { margin: 5px 0 8px; color: #8291a2; font-size: 8px; line-height: 1.45; }
.risk-input-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.risk-input-grid label { display: flex; flex-direction: column; gap: 3px; color: #718096; font-family: var(--mono); font-size: 7px; }
.risk-input-grid input, .risk-input-grid select { width: 100%; min-width: 0; height: 24px; padding: 0 5px; border: 1px solid #2d4357; border-radius: 2px; background: #0d1825; color: #b9c7d6; font-family: var(--mono); font-size: 8px; }
.risk-output-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-top: 6px; }
.risk-output-grid > div { min-width: 0; padding: 5px; border: 1px solid rgba(35, 48, 68, .75); background: rgba(8, 13, 21, .45); }
.risk-output-grid span { display: block; color: #718096; font-family: var(--mono); font-size: 7px; }
.risk-output-grid strong { display: block; margin-top: 3px; overflow-wrap: anywhere; color: #b9c7d6; font-family: var(--mono); font-size: 8px; font-weight: 500; }
.risk-tool-status { margin: 6px 0; color: #d6aa85; font-family: var(--mono); font-size: 7px; line-height: 1.4; }
.review-check-title { margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--border-soft); }
.review-checklist { display: flex; flex-direction: column; gap: 5px; }
.review-checklist label { display: flex; align-items: flex-start; gap: 6px; color: #98a7b6; font-size: 8px; line-height: 1.45; }
.review-checklist input { flex: 0 0 auto; width: 12px; height: 12px; margin: 1px 0 0; accent-color: var(--cyan); }
@media (max-width: 720px) { .risk-input-grid { grid-template-columns: 1fr; }.risk-output-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
