@font-face { font-family: "Manrope"; src: url("fonts/Manrope.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #08121f;
  --panel: #111f31;
  --ink: #edf4ff;
  --muted: #8092a9;
  --mint: #5de2c4;
  --blue: #83a8ff;
  --rose: #f2949c;
  --line: #a1b9dd13;
  --number: "Manrope", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(ellipse at 48% 0, #23415d20, transparent 65%), var(--bg); font-family: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 12px; line-height: 1.45; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; color: inherit; }
button:disabled { cursor: wait; opacity: .5; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
button, a, .panel { scroll-margin-top: 20px; }
[hidden] { display: none !important; }
svg { display: block; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.small { font-size: 11px; }
.skip { position: fixed; top: -70px; left: 80px; z-index: 100; padding: 10px 16px; background: var(--mint); color: var(--bg); }
.skip:focus { top: 12px; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 10; width: 66px; border-right: 1px solid var(--line); background: #0a1523; display: flex; align-items: center; flex-direction: column; }
.logo-mark { width: 34px; margin-top: 20px; color: #83e1d7; }
.logo-mark svg { width: 32px; height: 32px; }
.sidebar nav { display: grid; width: 100%; gap: 15px; margin-top: 44px; }
.side-link { position: relative; padding: 9px 0; display: grid; justify-items: center; gap: 5px; color: #687e97; }
.side-link svg { width: 19px; height: 19px; }
.side-link span { font-size: 10px; }
.side-link:hover { color: #b7d4eb; }
.side-link.is-active { color: var(--mint); background: linear-gradient(90deg, #5de2c415, transparent); }
.side-link.is-active::before { position: absolute; content: ""; left: 0; top: 7px; bottom: 7px; width: 2px; background: var(--mint); box-shadow: 0 0 12px #5de2c440; }
.avatar { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #a9c2e925; border-radius: 9px; margin: auto 0 23px; color: #aec6df; background: #99bbe708; font-weight: 600; }
.workspace { margin-left: 66px; }
.topbar { height: 64px; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); background: #0b17246b; }
.wordmark { font-family: var(--number); font-size: 22px; font-weight: 700; letter-spacing: -.5px; }
.wordmark > span { font-weight: 300; color: #3c536c; padding: 0 14px; }
.wordmark small { font-size: 12px; color: #899bb2; font-weight: 400; letter-spacing: .3px; }
.top-actions { display: flex; gap: 20px; align-items: center; }
.demo-label { padding: 5px 9px; border: 1px solid #d6bb7d24; background: #d6bb7d06; color: #c2af83; border-radius: 4px; font-size: 10px; white-space: nowrap; }
.snapshot { color: #8b9fb9; font-family: var(--number); display: flex; align-items: center; gap: 7px; font-size: 11px; }
.snapshot svg { width: 13px; height: 13px; }
.icon-button { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #a1b9dd1c; border-radius: 6px; color: #8fa6bf; background: transparent; }
.icon-button:hover { color: var(--ink); background: #a1b9dd0c; }
.icon-button svg { width: 14px; height: 14px; }
.icon-button.compact { border: 0; width: 22px; height: 22px; }
main { padding: 18px 20px 0; width: 100%; }
.page-heading { display: flex; justify-content: space-between; align-items: center; min-height: 33px; margin-bottom: 18px; gap: 18px; }
.page-title { display: flex; gap: 14px; align-items: center; }
h1 { font-size: 25px; font-weight: 500; letter-spacing: .5px; margin: 0; }
.session-tag { font-size: 9px; padding: 3px 8px; border: 1px solid #b8d5ff1c; color: #9cb0c6; border-radius: 4px; }
.market-focus { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #9ab6c1; }
.focus-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px #5de2c438; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr 1.08fr; gap: 14px; }
.panel { border-radius: 12px; border: 1px solid #a1b9dd13; background: linear-gradient(145deg, #132338, #101d2e 85%); min-width: 0; box-shadow: 0 6px 28px #0000000b; }
.overview-grid > .panel { height: 220px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 20px 0; min-height: 39px; }
.panel-heading h2, .updates-title h2 { margin: 0; font-size: 14px; font-weight: 500; color: #d8e6f5; }
.heading-icon { width: 15px; height: 15px; color: #667f9f; }
.breadth-panel { background: radial-gradient(ellipse at 35% 75%, #2c807118, transparent 75%), linear-gradient(145deg, #132739, #112134); }
.breadth-body { display: flex; align-items: center; justify-content: space-evenly; padding: 8px 17px 0; gap: 16px; height: 135px; }
.breadth-gauge { max-width: 207px; width: 57%; }
.breadth-gauge svg { width: 100%; overflow: visible; }
.gauge-track, .gauge-value { fill: none; stroke-width: 11px; stroke-linecap: round; }
.gauge-track { stroke: #7398b020; }
.gauge-value { stroke: url(#gauge-color); stroke-dasharray: 61.7 100; filter: drop-shadow(0 0 6px #5de2c40d); }
.gauge-number { font-family: var(--number); font-size: 40px; font-weight: 500; fill: #edf4ff; }
.gauge-caption { font-size: 10px; fill: #8ba6b9; }
.breadth-stats { min-width: 83px; padding-top: 12px; }
.breadth-stats > div { display: flex; justify-content: space-between; align-items: center; gap: 23px; margin-bottom: 10px; }
.breadth-stats > div > span { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #9cb7c8; }
.breadth-stats strong { font-size: 24px; font-family: var(--number); font-weight: 500; }
.dot { display: inline-block; height: 4px; width: 4px; border-radius: 50%; }
.positive-dot { background: var(--mint); }
.negative-dot { background: var(--rose); }
.regime { font-size: 10px; border-radius: 4px; padding: 4px 9px; background: #5de2c40d; color: #89cbbc; }
.breadth-footer { margin: 6px 20px 0; display: grid; gap: 7px; }
.breadth-bars { display: flex; gap: 3px; height: 8px; }
.breadth-bars i { flex: 1; min-width: 0; background: #55bba3; border-radius: 1px; }
.breadth-bars i.down { background: #a57488; opacity: .75; }
.breadth-footer > span { color: #829db6; font-size: 10px; }
.quiet-button { border: 0; background: none; padding: 4px 0; color: #8ba6c1; font-size: 10px; }
.quiet-button:hover { color: #c2e0f7; }
.sector-bars { margin: 13px 20px 0; display: grid; gap: 5px; }
.sector-row { display: grid; grid-template-columns: 49px minmax(0, 1fr) 57px; gap: 10px; align-items: center; padding: 0; height: 23px; background: none; border: 0; text-align: left; color: #aabed6; font-size: 12px; border-radius: 3px; }
.sector-row:hover, .sector-row[aria-pressed="true"] { background: #a5ceff07; color: #e5f2ff; }
.sector-row strong { font-family: var(--number); font-size: 12px; text-align: right; font-weight: 500; }
.sector-track { height: 8px; position: relative; background: #060f1b42; border-radius: 2px; }
.sector-track::after { content: ""; position: absolute; left: 50%; top: -5px; bottom: -5px; width: 1px; background: #8daacc24; }
.sector-fill { height: 100%; left: var(--left); width: var(--size); position: absolute; border-radius: 2px; background: linear-gradient(90deg, #3d8e90, #64d0bd); }
.sector-row.is-negative .sector-fill { background: linear-gradient(90deg, #be7c90, #805972); }
.sector-row.is-positive strong { color: #68cfb8; }
.sector-row.is-negative strong { color: #d1909d; }
.sector-axis { display: flex; justify-content: space-between; margin: 8px 87px 0 79px; font-size: 9px; color: #839ab1; }
.period-tabs { display: flex; padding: 2px; border: 1px solid #a1b9dd14; background: #0a172572; border-radius: 5px; }
.period-tabs button { padding: 2px 8px; font-size: 10px; color: #94aac1; border: 0; border-radius: 3px; background: none; }
.period-tabs button[aria-pressed="true"] { color: #bbd5ff; background: #47618c36; }
.account-top { display: flex; justify-content: space-between; align-items: center; padding: 9px 20px 0; gap: 10px; }
.account-caption { font-size: 10px; color: #8aa1bc; }
.balance { font-family: var(--number); font-size: clamp(27px, 2.6vw, 38px); font-weight: 500; line-height: 1.25; letter-spacing: -1px; margin: 4px 0 7px; white-space: nowrap; }
.balance > small { font-size: 15px; color: #9bb2d0; margin-right: 5px; }
.balance > span { font-size: 17px; color: #7591b4; }
.account-gain { display: flex; gap: 7px; align-items: center; font-size: 10px; color: #93acc4; }
.account-gain > strong { color: #6ddfc0; font-family: var(--number); font-size: 11px; font-weight: 500; }
.gain-percent { color: #7edec3; background: #5de2c40c; padding: 2px 5px; border-radius: 3px; font-family: var(--number); }
.risk-gauge { position: relative; flex: 0 0 77px; }
.risk-gauge svg { width: 77px; }
.risk-track, .risk-amount { fill: none; stroke-width: 6; }
.risk-track { stroke: #6989b61c; }
.risk-amount { stroke: #8eaaff; stroke-dasharray: 18.6 100; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 45px 45px; }
.risk-gauge > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.risk-gauge strong { font-family: var(--number); font-weight: 500; font-size: 18px; }
.risk-gauge small { font-size: 8px; }
.risk-gauge span { font-size: 9px; color: #90acce; }
.equity-chart { height: 44px; margin: 5px 20px 0; position: relative; }
.equity-chart > svg { width: 100%; height: 100%; overflow: visible; }
.equity-chart path, .equity-chart line { vector-effect: non-scaling-stroke; }
.account-footer { margin: 6px 20px 0; color: #849cb7; display: flex; justify-content: space-between; font-size: 9px; }
.account-footer strong { color: #8ba8c4; font-weight: 400; }
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 14px; margin-top: 14px; }
.price-panel { background: linear-gradient(130deg, #122337, #0e1b2c); border-color: #87aee321; }
.price-heading { padding-top: 15px; padding-bottom: 10px; min-height: 55px; }
.price-title { display: flex; align-items: center; gap: 9px; min-width: 0; }
.price-title h2 { white-space: nowrap; }
.sector-selection { color: #76d5c1; font-size: 9px; white-space: nowrap; }
.price-controls { display: flex; gap: 16px; align-items: center; }
.price-tabs { display: flex; gap: 12px; }
.price-tabs button { border: 0; background: none; color: #90abc6; font-size: 11px; padding: 5px 0; }
.price-tabs button[aria-pressed="true"] { color: #c4e2ef; }
.price-tabs b { font-weight: 400; color: #7699b4; font-family: var(--number); margin-left: 3px; }
.play-button { display: flex; align-items: center; gap: 5px; background: #5de2c40b; border: 1px solid #5de2c42c; border-radius: 4px; padding: 5px 8px; color: #97ddce; font-size: 10px; white-space: nowrap; }
.play-button svg { width: 10px; height: 10px; }
.play-button:hover { background: #5de2c41a; }
.rail-list { display: grid; gap: 7px; margin: 0 11px; }
.instrument-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 44px; align-items: center; min-height: 94px; padding: 3px 15px 3px 18px; gap: 17px; position: relative; border: 1px solid #98b9da07; border-radius: 7px; background: #07142139; }
.instrument-row::before { content: ""; position: absolute; left: -1px; width: 2px; top: 15px; bottom: 15px; background: #385772; border-radius: 1px; }
.instrument-row.is-triggered { background: linear-gradient(90deg, #5de2c40b, #3ddbc304 80%); border-color: #60d4c223; }
.instrument-row.is-triggered::before { background: #78dfce; box-shadow: 0 0 9px #62d7c532; }
.instrument-row.is-filled { border-color: #60d4c238; background: linear-gradient(90deg, #5de2c412, #3ddbc305 80%); }
.instrument-name { border: 0; background: none; padding: 0; text-align: left; font-size: 19px; font-weight: 500; color: #dceaf8; }
.instrument-name:hover { color: #b3f4e0; }
.instrument-code { margin-top: 3px; font-size: 10px; color: #8aa6bf; font-family: var(--number); }
.instrument-meta { display: flex; gap: 6px; align-items: center; margin-top: 6px; font-size: 10px; color: #8aa6bf; }
.direction { display: inline-block; border-radius: 2px; padding: 1px 4px; background: #a1b9dd06; }
.direction.long { color: #d5a5ac; }
.direction.short { color: #8ec4b7; }
.is-triggered .instrument-status { color: #7fc8b6; }
.price-line { height: 86px; position: relative; --y: 54px; min-width: 0; }
.price-axis { position: absolute; left: 0; right: 0; top: var(--y); height: 2px; background: #627e9540; }
.price-axis > i { position: absolute; top: -2px; height: 6px; width: 1px; background: #91b7d72d; }
.risk-zone { position: absolute; left: var(--risk-left); width: var(--risk-width); height: 8px; top: calc(var(--y) - 3px); background: repeating-linear-gradient(120deg, #ef9bac0a, #ef9bac0a 1px, transparent 1px, transparent 4px); }
.target-path { position: absolute; left: var(--target-left); width: var(--target-width); top: var(--y); border-top: 1px dashed #83a8ff75; }
.price-travel { position: absolute; left: var(--travel-left); width: var(--travel-width); top: var(--y); height: 2px; background: #617b91; }
.is-triggered .price-travel { background: linear-gradient(90deg, #56b3a66b, #a1f7d9); box-shadow: 0 0 8px #5de2c417; }
.is-triggered.short-row .price-travel { background: linear-gradient(90deg, #a1f7d9, #56b3a66b); }
.point { position: absolute; left: var(--x); top: var(--y); transform: translateX(-50%); z-index: 1; }
.point-shape { display: block; position: relative; margin-top: -2px; }
.stop .point-shape { height: 10px; width: 2px; margin-top: -4px; background: #e6979e; }
.trigger .point-shape { width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid #90bccc; background: #112432; }
.entry .point-shape { height: 5px; width: 5px; background: #d3e1f0; }
.target .point-shape { width: 7px; height: 9px; margin-top: -8px; border-left: 1px solid var(--blue); background: linear-gradient(#83a8ff50 0 55%, transparent 55%); clip-path: polygon(0 0, 100% 0, 75% 30%, 100% 55%, 12% 55%, 12% 100%, 0 100%); }
.short-row .target .point-shape { transform: scaleX(-1); }
.point-label { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 10px; color: #94b5cd; }
.point-label strong { font-family: var(--number); font-size: 11px; font-weight: 400; color: #bbcede; margin-left: 4px; }
.stop .point-label, .trigger .point-label, .target .point-label { top: 13px; }
.target .point-label, .target .point-label strong { color: #a3bef7; }
.target .point-label { font-family: var(--number); }
.stop .point-label, .stop .point-label strong { color: #c38c96; }
.entry .point-label { bottom: 10px; }
.entry .point-label strong { color: #cdd9e8; }
.entry::before { position: absolute; content: ""; left: 2px; bottom: 5px; height: 7px; width: 1px; background: #aac4dc35; }
.now { z-index: 3; }
.now .point-shape { height: 7px; width: 7px; border: 2px solid #102438; border-radius: 50%; margin-top: -3px; background: #9fb4c8; box-shadow: 0 0 0 3px #90aecd08; }
.now .point-label { bottom: 28px; }
.now .point-label strong { font-size: 24px; font-weight: 500; margin: 0; letter-spacing: -.5px; color: #b2c8dc; }
.now::before { content: ""; position: absolute; height: 21px; bottom: 5px; width: 1px; left: 3px; background: #9eb7cb33; }
.is-triggered .now .point-shape { background: #bcffe7; box-shadow: 0 0 0 4px #5de2c40d, 0 0 12px #5de2c438; }
.is-triggered .now .point-label strong { color: #b1f5dc; }
.is-triggered .now::before { background: linear-gradient(#b1f5dc70, #b1f5dc15); }
.lots { text-align: right; border-left: 1px solid #88afd017; padding-left: 12px; }
.lots > span { color: #8cabc7; font-size: 10px; }
.lots > strong { display: block; font-family: var(--number); font-size: 24px; font-weight: 400; line-height: 1.6; color: #a5bed3; }
.lots > strong > small { font-size: 8px; margin-left: 3px; color: #567793; }
.is-filled .lots > strong { color: #d4e6ee; }
.rail-legend { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; padding: 12px 20px; color: #8fadc7; font-size: 9px; }
.rail-legend > span { display: flex; gap: 5px; align-items: center; }
.legend-stop { width: 2px; height: 7px; background: var(--rose); }
.legend-trigger { width: 5px; height: 5px; border: 1px solid #90bccc; transform: rotate(45deg); }
.legend-entry { width: 4px; height: 4px; background: #d3e1f0; }
.legend-now { width: 5px; height: 5px; background: #b1f5dc; border-radius: 50%; }
.legend-target { width: 6px; height: 7px; border-left: 1px solid var(--blue); background: linear-gradient(#83a8ff70 0 55%, transparent 55%); }
.legend-day-range { width: 2px; height: 7px; background: #7894aa; opacity: .9; }
.rail-legend .rail-scale { margin-left: auto; color: #819db5; }
.context-column { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; min-width: 0; }
.context-column .panel-heading { padding: 13px 16px 0; min-height: 34px; }
.context-column .panel-heading h2 { font-size: 13px; }
.structure-table { border-collapse: collapse; width: calc(100% - 32px); margin: 10px 16px 12px; text-align: center; }
.structure-table th { font-weight: 400; font-size: 10px; color: #90a9c7; }
.structure-table thead th { height: 22px; }
.structure-table th:first-child { text-align: left; }
.structure-table tbody th, .structure-table td { height: 25px; }
.structure-table button { padding: 2px 0; background: none; border: 0; font-size: 12px; color: #aec2d9; }
.structure-table button:hover { color: var(--mint); }
.structure-table td { font-size: 18px; }
.trend-up { color: #6fceb4; }
.trend-down { color: #d596a1; }
.trend-wait { color: #62738c; }
.source-list { padding: 8px 16px 0; }
.source-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 29px; font-size: 11px; }
.source-row > span { color: #99b1c7; display: flex; align-items: center; gap: 6px; }
.source-dot { width: 4px; height: 4px; border-radius: 50%; background: #70d6b6; }
.analysis-dot { background: #83a8ff; }
.judgment-dot { background: #b49fde; }
.source-row time { color: #8aa7c5; font-family: var(--number); }
.source-row > strong { color: #8db4ad; font-weight: 400; min-width: 43px; text-align: right; }
.source-foot { margin: 8px 16px 12px; padding-top: 8px; border-top: 1px solid #99b9e00d; font-size: 9px; color: #829db8; }
.updates-panel { display: grid; grid-template-columns: 126px minmax(0, 1fr); align-items: center; gap: 22px; padding: 16px 22px; margin-top: 14px; min-height: 82px; background: #0e1b2c9c; }
.updates-title { display: flex; align-items: center; gap: 9px; }
.updates-title h2 { font-size: 12px; }
.updates-track { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.update-item { position: relative; border: 0; border-left: 1px solid #60829f26; text-align: left; padding: 0 0 0 16px; color: #9cb1c7; background: none; min-width: 0; }
.update-node { position: absolute; height: 5px; width: 5px; border: 1px solid #7091b2; background: #15273b; border-radius: 50%; left: -3px; top: 5px; }
.update-item.latest .update-node { background: #75d9bb; border-color: #75d9bb; box-shadow: 0 0 8px #75d9bb33; }
.update-item time { display: block; font-size: 10px; color: #8ba8c6; font-family: var(--number); margin-bottom: 7px; }
.update-item strong { font-size: 12px; font-weight: 400; }
.update-item.latest strong { color: #c1d6e5; }
.update-item:hover strong { color: #91e0cc; }
.page-footer { display: flex; justify-content: space-between; gap: 16px; font-size: 9px; color: #728ca9; padding: 13px 1px; }
.is-stale .price-line { opacity: .45; }
.is-stale .is-triggered .now .point-shape { box-shadow: none; background: #b59f76; }
.is-stale .instrument-row.is-triggered { border-color: #a3a79714; background: #08121f39; }
.is-stale .instrument-row::before { background: #83785f; box-shadow: none; }
.is-stale #market-source > strong, .is-stale #source-foot { color: #d1af76; }
.is-stale #market-source .source-dot { background: #d1af76; }
.is-stale .market-focus, .is-stale .snapshot { color: #d1af76; }
.is-stale .focus-dot { background: #d1af76; box-shadow: none; }
.trigger-flash { animation: triggered 1.1s ease-out; }
@keyframes triggered { 0%, 20% { border-color: #7bead39c; background: #5de2c421; box-shadow: 0 0 22px #5de2c415; } }
.empty { display: grid; place-items: center; min-height: 281px; color: #7791ac; font-size: 12px; }
dialog { width: min(420px, calc(100% - 32px)); background: linear-gradient(140deg, #172940, #101e30); border: 1px solid #95b6df36; border-radius: 14px; padding: 0; color: var(--ink); box-shadow: 0 25px 100px #0009; }
dialog::backdrop { background: #030b16a8; backdrop-filter: blur(6px); }
.detail-heading { padding: 24px; display: flex; justify-content: space-between; align-items: center; }
.detail-heading h2 { font-size: 23px; margin: 5px 0 0; font-weight: 500; }
#detail-body { padding: 0 24px 24px; }
.detail-quote { font-size: 38px; color: #b5efd9; font-family: var(--number); margin-bottom: 22px; }
.detail-quote > span { font-size: 10px; margin-right: 12px; color: #85a4bd; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-facts span { display: block; font-size: 10px; color: #7f9cb8; }
.detail-facts strong { display: block; font-size: 17px; font-family: var(--number); font-weight: 400; margin-top: 7px; }
.detail-target strong { color: #a3bef7; }
.detail-context { display: grid; gap: 13px; padding-top: 20px; }
.detail-context > div { display: flex; justify-content: space-between; font-size: 11px; }
.detail-context time { color: #7393b1; font-family: var(--number); font-size: 10px; }
.detail-footer { padding: 15px 24px; background: #08162559; border-top: 1px solid #94bce512; color: #a29d86; font-size: 9px; }
.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; }
@media (min-width: 1800px) {
  .overview-grid > .panel { height: 244px; }
  .breadth-body { height: 151px; }
  .breadth-gauge { max-width: 215px; }
  .sector-bars { gap: 8px; margin-top: 18px; }
  .sector-row { height: 25px; }
  .sector-row, .sector-row strong { font-size: 14px; }
  .sector-row { grid-template-columns: 56px minmax(0, 1fr) 64px; }
  .panel-heading h2 { font-size: 16px; }
  .balance { font-size: 44px; }
  .account-top { padding-top: 18px; }
  .equity-chart { height: 42px; margin-top: 9px; }
  .main-grid { grid-template-columns: minmax(0, 1fr) 350px; }
  .instrument-row { min-height: 116px; grid-template-columns: 134px minmax(0, 1fr) 66px; }
  .instrument-name { font-size: 19px; }
  .instrument-code { font-size: 10px; }
  .instrument-meta { font-size: 9px; }
  .point-label { font-size: 10px; }
  .point-label strong { font-size: 11px; }
  .now .point-label strong { font-size: 29px; }
  .price-line { height: 94px; --y: 56px; }
  .source-row { min-height: 34px; font-size: 11px; }
  .structure-table tbody th, .structure-table td { height: 34px; }
  .structure-table button { font-size: 12px; }
  .updates-panel { min-height: 110px; }
  .update-item strong { font-size: 12px; }
}
@media (max-width: 1190px) {
  .topbar { padding: 0 18px; }
  main { padding: 16px 14px 0; }
  .overview-grid { gap: 10px; grid-template-columns: .95fr 1fr 1.1fr; }
  .panel-heading { padding-left: 15px; padding-right: 15px; }
  .breadth-body { padding-left: 8px; padding-right: 8px; gap: 7px; }
  .breadth-stats > div { gap: 10px; }
  .breadth-stats { min-width: 68px; }
  .sector-bars { margin-left: 15px; margin-right: 15px; }
  .sector-row { grid-template-columns: 41px minmax(0, 1fr) 49px; gap: 6px; }
  .sector-axis { margin-left: 62px; margin-right: 70px; }
  .account-top { padding-left: 15px; padding-right: 15px; gap: 4px; }
  .balance { font-size: 23px; }
  .balance > span { display: none; }
  .risk-gauge { flex-basis: 64px; }
  .risk-gauge svg { width: 64px; }
  .risk-gauge strong { font-size: 14px; }
  .main-grid { grid-template-columns: minmax(0, 1fr) 244px; gap: 10px; }
  .price-controls { gap: 9px; }
  .price-tabs { gap: 9px; }
  .instrument-row { grid-template-columns: 76px minmax(0, 1fr) 35px; gap: 11px; padding-left: 12px; padding-right: 10px; }
  .lots { padding-left: 8px; }
  .price-heading { flex-wrap: wrap; padding-bottom: 13px; }
  .point-label { font-size: 9px; }
  .point-label strong { font-size: 10px; margin-left: 3px; }
  .now .point-label strong { font-size: 21px; }
  .rail-legend { gap: 10px; padding-left: 14px; padding-right: 14px; }
  .rail-scale { display: none !important; }
}
@media (max-width: 950px) {
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .account-panel { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; }
  .overview-grid > .account-panel { height: 172px; }
  .account-panel > .panel-heading { grid-column: 1; }
  .account-top { grid-column: 1; padding-bottom: 18px; }
  .equity-chart { grid-column: 2; grid-row: 1 / 3; height: 83px; margin-left: 30px; }
  .account-footer { grid-column: 2; position: relative; margin-top: -17px; top: -12px; }
  .balance { font-size: 28px; }
  .risk-gauge { flex-basis: 77px; margin-right: 10px; }
  .risk-gauge svg { width: 77px; }
  .main-grid { grid-template-columns: 1fr; }
  .context-column { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .instrument-row { grid-template-columns: 96px minmax(0, 1fr) 50px; min-height: 103px; }
  .point-label { font-size: 9px; }
  .point-label strong { font-size: 10px; }
  .now .point-label strong { font-size: 19px; }
  .updates-panel { grid-template-columns: 92px 1fr; gap: 12px; padding-left: 16px; padding-right: 16px; }
  .updates-track { gap: 12px; }
}
@media (max-width: 620px) {
  html { scroll-padding-bottom: 62px; }
  .sidebar { inset: auto 0 0; height: 59px; width: 100%; flex-direction: row; background: #0a1626f5; backdrop-filter: blur(12px); border-right: 0; border-top: 1px solid #a1b9dd1c; }
  .logo-mark, .avatar { display: none; }
  .sidebar nav { margin: 0; display: flex; gap: 0; justify-content: space-around; }
  .side-link { flex: 1; padding: 8px 0; gap: 3px; }
  .side-link span { font-size: 8px; }
  .side-link svg { width: 17px; height: 17px; }
  .side-link.is-active { background: none; }
  .side-link.is-active::before { width: 13px; height: 2px; left: calc(50% - 6px); top: 0; bottom: auto; }
  .workspace { margin: 0; padding-bottom: 59px; }
  .topbar { height: 58px; padding: 0 16px; }
  .wordmark { font-size: 20px; }
  .wordmark > span, .wordmark small, .snapshot, #fullscreen { display: none; }
  .top-actions { gap: 8px; }
  .demo-label { font-size: 8px; }
  main { padding: 16px 12px 0; }
  .page-heading { margin-bottom: 14px; }
  h1 { font-size: 21px; }
  .page-title { gap: 9px; }
  .session-tag { font-size: 8px; padding: 2px 6px; }
  .market-focus { font-size: 9px; max-width: 109px; line-height: 1.7; gap: 6px; }
  .focus-dot { flex-shrink: 0; }
  .overview-grid { gap: 10px; }
  .overview-grid > .panel { height: 221px; }
  .panel { border-radius: 10px; }
  .panel-heading { padding: 13px 12px 0; min-height: 31px; gap: 5px; }
  .panel-heading h2 { font-size: 11px; }
  .breadth-panel .panel-heading .small { font-size: 8px; }
  .breadth-body { display: block; height: 145px; padding: 2px 10px 0; }
  .breadth-gauge { width: 100%; max-width: 156px; margin: auto; }
  .breadth-stats { display: flex; justify-content: center; gap: 18px; padding: 0; }
  .breadth-stats > div { gap: 6px; margin: 0; }
  .breadth-stats strong { font-size: 14px; }
  .breadth-stats > div > span { font-size: 8px; gap: 4px; }
  .regime { display: none; }
  .breadth-footer { margin: 9px 12px 0; gap: 6px; }
  .breadth-bars { gap: 1px; height: 6px; }
  .breadth-footer > span { font-size: 8px; }
  .sector-panel .quiet-button { font-size: 8px; }
  .sector-bars { margin: 14px 11px 0; gap: 7px; }
  .sector-row { grid-template-columns: 31px minmax(0, 1fr) 41px; font-size: 9px; gap: 4px; height: 22px; }
  .sector-row strong { font-size: 9px; }
  .sector-axis { margin: 11px 55px 0 46px; font-size: 7px; }
  .account-panel { display: block; }
  .overview-grid > .account-panel { height: 214px; }
  .account-top { padding: 9px 15px 0; }
  .balance { font-size: 31px; }
  .balance > span { display: inline; }
  .risk-gauge { margin: 0 5px 0 0; flex-basis: 82px; }
  .risk-gauge svg { width: 82px; }
  .risk-gauge strong { font-size: 16px; }
  .equity-chart { margin: 6px 16px 0; height: 43px; }
  .account-footer { margin: 7px 16px 0; top: auto; position: static; }
  .main-grid { margin-top: 10px; }
  .price-heading { padding: 13px 12px; gap: 11px; }
  .price-title h2 { font-size: 12px; }
  .price-controls { width: 100%; justify-content: space-between; }
  .price-tabs { gap: 15px; }
  .play-button { font-size: 9px; padding: 6px 9px; }
  .rail-list { margin: 0 7px; gap: 8px; }
  .instrument-row { grid-template-columns: 1fr auto; padding: 12px 13px 4px; gap: 0; }
  .instrument-identity { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .instrument-name { font-size: 15px; }
  .instrument-code { margin: 0; font-size: 8px; }
  .instrument-meta { width: 100%; margin-top: 0; }
  .lots { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 7px; }
  .lots > strong { font-size: 19px; }
  .lots > span { font-size: 8px; }
  .price-line { grid-column: 1 / -1; grid-row: 2; margin: 15px 0 0; height: 86px; --y: 49px; }
  .point-label { font-size: 8px; }
  .point-label strong { font-size: 9px; margin-left: 3px; }
  .now .point-label strong { font-size: 17px; }
  .entry .point-label { bottom: 10px; }
  .stop .point-label, .trigger .point-label, .target .point-label { top: 14px; }
  .rail-legend { justify-content: space-between; padding: 13px 13px; gap: 8px; font-size: 9px; }
  .context-column { gap: 10px; grid-template-columns: 1fr; }
  .context-column .panel-heading { padding-left: 12px; padding-right: 12px; }
  .context-column .panel-heading h2 { font-size: 12px; }
  .structure-table { width: calc(100% - 20px); margin: 8px 10px 12px; }
  .structure-table th { font-size: 10px; }
  .structure-table button { font-size: 12px; }
  .structure-table td { font-size: 18px; }
  .source-list { padding: 8px 10px 0; }
  .source-row { gap: 4px; font-size: 11px; min-height: 29px; }
  .source-row > span { gap: 4px; }
  .source-row time { font-size: 11px; }
  .source-row > strong { font-size: 11px; min-width: 43px; }
  .source-dot { width: 3px; height: 3px; }
  .source-foot { margin: 6px 10px 10px; font-size: 10px; }
  .updates-panel { margin-top: 10px; display: block; padding: 14px; }
  .updates-title { gap: 7px; margin-bottom: 16px; }
  .updates-title h2 { font-size: 11px; }
  .updates-track { gap: 10px; }
  .update-item { padding-left: 9px; }
  .update-item time { font-size: 8px; }
  .update-item strong { font-size: 9px; line-height: 1.7; }
  .page-footer { font-size: 7px; gap: 10px; line-height: 1.8; padding: 14px 1px; }
  .page-footer span:last-child { max-width: 146px; text-align: right; }
}
@media (max-width: 370px) {
  .breadth-panel .panel-heading .small { display: none; }
  .context-column { grid-template-columns: 1fr; }
  .source-row { font-size: 10px; }
  .source-row time, .source-row > strong { font-size: 9px; }
  .structure-table th, .structure-table button { font-size: 10px; }
  .sector-row { grid-template-columns: 27px minmax(0, 1fr) 35px; font-size: 8px; }
  .sector-row strong { font-size: 8px; }
  .market-focus { max-width: 95px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
