/* Shared tokens: quiet surfaces, forest accent, explicit risk colors. */
:root {
  --bg: #f5f6f8; --surface: #fff; --raised: #f0f3f4; --line: #e3e7eb;
  --text: #172129; --muted: #6c7783; --accent: #246d53; --accent-soft: #edf5ef;
  --positive: #197656; --negative: #c54251; --blue: #456caf; --amber: #9a6424;
  --radius: 12px; --sidebar-width: 224px;
  font-family: "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 14px; font-variant-numeric: tabular-nums; color: var(--text); background: var(--bg);
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: wait; opacity: .6; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #7cae98; outline-offset: 3px;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 600; white-space: nowrap; }
.brand b { font-weight: 400; color: #697570; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 9px; background: #214d3e; color: #c6ebd1; flex-shrink: 0; }
.brand-mark .icon { width: 24px; height: 24px; stroke-width: 1.9; }
.eyebrow { display: block; font-size: 11px; font-weight: 650; color: var(--muted); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.dot.muted { background: #a7b0b9; }
.dot.bad { background: var(--negative); }
.dot.small { margin-right: 6px; }
.button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #d7dee3; border-radius: 7px; background: #fff; padding: 9px 14px; font-size: 12px; font-weight: 550; white-space: nowrap; }
.button:hover { background: #f5f7f7; border-color: #b4c0c5; }
.button.primary { background: #254e3e; border-color: #254e3e; color: #fff; }
.button.primary:hover { background: #1d3c30; }
.button.danger { color: #b93b49; background: #fff8f8; border-color: #ebcdd1; }
.button.danger:hover { background: #fbecef; }
.button .icon { width: 17px; height: 17px; }
.stop-square { width: 7px; height: 7px; background: currentColor; border-radius: 1px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; background: transparent; border: 0; border-radius: 6px; color: #697473; }
.icon-button:hover, .icon-button[aria-pressed="true"] { background: #edf2ee; color: #214d3e; }
.badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; padding: 5px 8px; border: 1px solid #d9e9df; border-radius: 5px; background: #f0f7f2; color: var(--positive); white-space: nowrap; }
.badge.neutral { background: #f4f6f8; color: #697380; border-color: #e6eaee; }
.badge.bad { background: #fff0f2; color: #b03649; border-color: #f1d0d8; }
.badge.warn { background: #fff7e8; color: #96641e; border-color: #f0e1c7; }
.positive { color: var(--positive) !important; }
.negative { color: var(--negative) !important; }

/* Authentication is a complete entrance, with no dashboard controls behind it. */
.boot-screen { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.boot-screen strong { font-size: 20px; }
.boot-screen p { color: var(--muted); }
.auth-shell { min-height: 100dvh; background: #f6f7f3; padding: 0 5%; display: flex; flex-direction: column; }
.auth-header { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1240px; margin: 0 auto; min-height: 90px; gap: 20px; }
.auth-header-note { color: #6b756e; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.auth-header-note .icon { width: 15px; height: 15px; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr); width: 100%; max-width: 1240px; margin: auto; gap: clamp(32px, 6vw, 100px); align-items: center; padding: 24px 0 32px; }
.auth-story { padding: 20px 0; }
.auth-story .eyebrow { color: #617564; margin-bottom: 25px; font-size: 11px; }
.auth-story h1 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.4; font-weight: 620; color: #1c3028; }
.auth-story h1 span { color: #67766b; font-weight: 440; }
.auth-lead { margin-top: 24px; font-size: 15px; line-height: 1.9; color: #6a756e; }
.auth-visual { background: #1d352c; color: #a5c5b2; border: 1px solid #2b483a; border-radius: 12px; padding: 24px 26px 19px; margin-top: 38px; max-width: 570px; }
.visual-heading { display: flex; align-items: center; justify-content: space-between; font-size: 10px; gap: 15px; }
.visual-heading > span:first-child { display: flex; align-items: center; gap: 8px; color: #c5d8cd; }
.visual-heading .dot { background: #a4d5b0; }
.visual-heading > span:last-child { color: #839e8f; }
.signal-diagram { display: block; width: 100%; height: auto; margin: 21px 0 9px; overflow: visible; }
.signal-grid { fill: none; stroke: #2d483b; stroke-width: 1; }
.signal-secondary { fill: none; stroke: #547662; stroke-width: 1.5; }
.signal-primary { fill: none; stroke: #b4d9b7; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.signal-diagram circle { fill: #c3e3bf; stroke: #1d352c; stroke-width: 3; }
.visual-caption { display: flex; justify-content: space-between; color: #809f8d; font-size: 11px; }
.auth-features { display: flex; justify-content: space-between; max-width: 480px; gap: 20px; margin-top: 27px; color: #68766b; }
.auth-features > span { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.auth-features .icon { width: 17px; height: 17px; }
.auth-form-panel { background: #fff; border: 1px solid #e4e8e1; border-radius: 18px; box-shadow: 0 12px 35px rgb(31 51 35 / 4%); }
.auth-form-inner { padding: clamp(28px, 3vw, 42px); }
.access-icon { display: flex; justify-content: center; align-items: center; width: 48px; height: 48px; background: #f1f5ef; border: 1px solid #e4ece0; border-radius: 12px; color: #496954; margin-bottom: 24px; }
.auth-form-inner .eyebrow { font-size: 11px; color: #6b756c; margin-bottom: 13px; }
.auth-form-inner h2 { font-size: 27px; font-weight: 600; line-height: 1.4; }
.auth-description { color: #68756c; font-size: 14px; line-height: 1.8; margin-top: 15px; }
#login-form { margin-top: 32px; }
#login-form > label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.token-field { display: flex; align-items: center; gap: 10px; min-height: 52px; border: 1px solid #dce3dc; border-radius: 8px; padding: 5px 8px 5px 14px; background: #fdfefd; }
.token-field:focus-within { border-color: #6d9478; box-shadow: 0 0 0 3px #edf3e9; }
.token-field:has(input[aria-invalid="true"]) { border-color: #c65c67; }
.token-field > .icon { color: #68766b; width: 17px; height: 17px; }
#token { border: 0; outline: 0; background: transparent; min-width: 0; width: 100%; font-size: 14px; height: 36px; color: var(--text); }
#token::placeholder { color: #6c746c; font-size: 13px; }
.field-hint { color: #6c756a; font-size: 11px; line-height: 1.7; margin-top: 9px; }
.field-error { color: #b74150; font-size: 12px; line-height: 1.7; margin-top: 10px; }
.auth-submit { width: 100%; min-height: 49px; justify-content: space-between; font-size: 13px; padding: 12px 17px; margin-top: 24px; }
.access-help { color: #6a7566; font-size: 11px; line-height: 1.8; margin-top: 23px; }
.access-help summary { cursor: pointer; width: fit-content; }
.access-help p { margin-top: 10px; }
.access-help code { color: #435b49; font-size: 11px; overflow-wrap: anywhere; }
.auth-connection { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; border-top: 1px solid #eef0eb; margin-top: 30px; padding-top: 23px; font-size: 11px; color: #6c756b; }
.auth-connection .dot { width: 5px; height: 5px; background: #82977c; }
.auth-connection strong { color: #697665; font-weight: 500; overflow-wrap: anywhere; }
.auth-footer { display: flex; justify-content: space-between; gap: 20px; max-width: 1240px; width: 100%; margin: 0 auto; padding: 20px 0 24px; color: #6d746b; font-size: 11px; line-height: 1.7; }

/* Workspace */
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 30; padding: 12px; background: #fff; border: 1px solid var(--accent); }
.skip-link:focus { top: 12px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); padding: 29px 18px 20px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 20; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.sidebar .brand { padding-left: 6px; font-size: 20px; }
.workspace { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 10px; margin: 33px 0 31px; }
.workspace-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; font-size: 11px; color: #5c6d67; border: 1px solid #e0e8e1; background: #f2f5f1; border-radius: 6px; }
.workspace strong { font-size: 12px; font-weight: 550; }
.workspace small { display: block; margin-top: 4px; font-size: 10px; color: #6a737a; }
.workspace-chevron { margin-left: auto; color: #6a747a; }
.nav-label { color: #6b737c; font-size: 11px; padding: 0 10px; margin-bottom: 10px; }
.nav-item { display: flex; align-items: center; gap: 10px; width: 100%; background: transparent; border: 0; border-radius: 7px; padding: 12px 11px; margin: 4px 0; color: #68737f; text-align: left; font-size: 13px; }
.nav-item .icon { width: 18px; height: 18px; }
.nav-item:hover { background: #f5f7f7; }
.nav-item.active { color: #2c6e52; background: #edf4ee; font-weight: 600; }
.nav-dot { margin-left: auto; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.nav-count { margin-left: auto; font-size: 11px; border-radius: 4px; color: #697477; }
.sidebar-bottom { margin-top: auto; }
.safety-card { border: 1px solid #e7ebe5; border-radius: 8px; padding: 15px; margin-top: 30px; background: #f9faf7; }
.safety-card .eyebrow { color: #6a7567; font-size: 11px; }
.safety-card strong { display: block; color: #486547; font-size: 12px; margin-top: 10px; }
.safety-card p { color: #6b7569; font-size: 11px; line-height: 1.8; margin-top: 9px; }
body[data-mode="live"] .safety-card { background: #fff7f4; border-color: #eddad3; }
body[data-mode="live"] .safety-card strong { color: #ac4f3d; }
.system-state { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #6a737c; margin-top: 22px; padding-left: 4px; }
.version { display: flex; justify-content: space-between; color: #6c737b; font-size: 10px; margin-top: 16px; padding: 0 4px; }
main { margin-left: var(--sidebar-width); }
.topbar { min-height: 69px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); background: #fff; }
.breadcrumb { font-size: 11px; color: #69747d; }
.breadcrumb > span { color: #6d7378; margin: 0 13px; }
.breadcrumb strong { color: #52616d; font-weight: 500; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
time { color: #68747e; font-size: 11px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; border-radius: 50%; background: #eef2ef; color: #617767; border: 1px solid #dee6df; font-size: 10px; }
.page { max-width: 1740px; margin: 0 auto; padding: 31px 34px 18px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.page-heading .eyebrow { color: #657577; margin-bottom: 8px; font-size: 10px; }
#page-title:focus { outline: none; }
.page-heading h1 { font-size: 27px; font-weight: 650; line-height: 1.4; }
.page-heading p { margin-top: 7px; color: #68747e; font-size: 12px; line-height: 1.6; }
.heading-actions { display: flex; align-items: center; gap: 8px; }
.notice { display: flex; align-items: center; gap: 12px; border: 1px solid #dfe9e0; border-radius: 8px; padding: 13px 16px; background: #f0f6f0; color: #5b7a60; margin-bottom: 22px; }
.notice .icon { width: 18px; height: 18px; }
.notice strong { display: block; font-size: 11px; font-weight: 550; color: #54725a; }
.notice div > span { display: block; font-size: 11px; margin-top: 4px; color: #667666; line-height: 1.6; overflow-wrap: anywhere; }
.notice-right { margin-left: auto; font-size: 11px; white-space: nowrap; }
body[data-mode="live"] .notice { border-color: #e9dfd2; background: #faf7ef; color: #8b6e3a; }
body[data-mode="live"] .notice strong { color: #8b693a; }
body[data-mode="live"] .notice div > span { color: #7a715a; }
.action-message { padding: 13px 16px; border: 1px solid #d7e1e5; border-left: 3px solid #6a9784; background: #fff; border-radius: 5px; font-size: 12px; line-height: 1.8; margin-bottom: 20px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-bottom: 21px; }
.metric, .panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; min-width: 0; }
.metric { padding: 21px 20px 15px; }
.metric-label { display: flex; justify-content: space-between; gap: 8px; color: #65747f; font-size: 12px; margin-bottom: 17px; }
.metric-label > span { color: #6c737b; font-size: 10px; padding-top: 2px; }
.metric > strong { display: block; font-size: 29px; line-height: 36px; min-height: 36px; font-weight: 600; }
.metric strong > small { font-size: 13px; color: #6a747b; font-weight: 400; margin-left: 6px; }
.metric-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px; min-height: 22px; font-size: 11px; color: #69737b; margin-top: 15px; }
.metric-foot .icon { width: 21px; color: #5c7966; }
.metric-foot .badge { padding: 3px 6px; font-size: 10px; }
.primary-grid, .market-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 21px; margin-bottom: 21px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 21px 23px 17px; }
h2 { font-size: 14px; font-weight: 600; line-height: 1.5; }
.panel-heading p { color: #69737b; font-size: 11px; line-height: 1.7; margin-top: 6px; }
.subtle-tag { font-size: 10px; border: 1px solid #e5eaed; border-radius: 4px; padding: 5px 7px; color: #69737c; background: #fafbfc; white-space: nowrap; }
.equity-summary { display: flex; align-items: baseline; gap: 9px; padding: 0 23px; }
.equity-summary > strong { font-size: 31px; line-height: 1.5; font-weight: 550; }
.equity-summary > span { color: #69737b; font-size: 11px; }
.equity-summary .chart-legend { margin-left: auto; display: flex; align-items: center; gap: 7px; color: #687572; }
.chart-legend i { display: inline-block; width: 13px; height: 2px; background: #58816c; }
.chart-wrapper { position: relative; margin: 17px 23px 0; min-height: 220px; display: flex; align-items: center; }
#equity-chart { width: 100%; height: 220px; overflow: visible; }
.chart-grid path { stroke: #edf0f2; stroke-width: 1; fill: none; stroke-dasharray: 4 5; }
.chart-line { fill: none; stroke: #426f59; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-point { fill: #fff; stroke: #426f59; stroke-width: 2; }
#chart-empty { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; font-size: 12px; color: #6a746f; }
.chart-axis { display: flex; justify-content: space-between; color: #6a737a; font-size: 11px; padding: 5px 23px 20px; }
.shield { color: #617769; }
.risk-status { background: #f0f5f1; border: 1px solid #e5eee7; border-radius: 6px; color: #5e7964; padding: 10px 12px; margin: 0 20px 15px; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.risk-status.warning { background: #fdf7eb; color: #916b2d; border-color: #f4e8ce; }
.risk-list { padding: 0 22px; margin: 0; font-size: 11px; }
.risk-list > div { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 12px 0; }
.risk-list dt { color: #69737b; }
.risk-list dd { margin: 0; color: #596976; font-weight: 500; }
.strategy-box { margin: 17px 20px 20px; padding: 14px 12px; background: #f8f9fa; border: 1px solid #edf0f2; border-radius: 6px; }
.strategy-box > span { display: block; color: #6a737a; font-size: 11px; }
.strategy-box strong { display: block; color: #647768; font-size: 11px; font-weight: 500; margin-top: 8px; overflow-wrap: anywhere; }
.strategy-box small { display: block; color: #6c7378; font-size: 10px; margin-top: 7px; line-height: 1.7; }
.universe-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 27px 0 13px; font-size: 11px; color: #677478; }
.universe-bar > div { display: flex; align-items: center; gap: 8px; line-height: 1.8; }
.universe-bar .icon { width: 17px; height: 17px; color: #5b7962; }
.update-frequency { white-space: nowrap; color: #6a747a; font-size: 11px; }
.inline-count { display: inline-block; font-size: 11px; font-weight: 500; background: #eef2ef; color: #607866; padding: 3px 6px; border-radius: 4px; margin-left: 4px; vertical-align: middle; }
.search-field { display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 180px; padding: 8px 10px; border: 1px solid #e4e9ec; border-radius: 6px; color: #6a747a; background: #fcfdfd; }
.search-field .icon { width: 14px; height: 14px; }
.search-field input { min-width: 0; width: 100%; border: 0; background: transparent; color: var(--text); font-size: 11px; outline-offset: 6px; }
.search-field input::placeholder { color: #6a737c; }
.table-scroll { overflow-x: auto; }
.market-scroll { max-height: 500px; overflow: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; white-space: nowrap; font-size: 12px; }
th { padding: 12px 19px; background: #f9fafb; font-size: 11px; color: #6a737b; font-weight: 500; border-top: 1px solid #edf0f2; border-bottom: 1px solid #e9edf0; }
td { padding: 16px 19px; border-bottom: 1px solid #eef1f3; color: #667480; }
tbody tr:last-child td { border-bottom: 0; }
.market-table thead { position: sticky; top: 0; z-index: 10; }
.market-table th, .market-table td { padding-left: 13px; padding-right: 13px; }
.market-table th:not(:first-child), .market-table td:not(:first-child) { text-align: right; }
.market-table td:first-child, .market-table th:first-child { padding-left: 22px; }
.symbol-button { border: 0; background: transparent; padding: 0; text-align: left; display: block; color: #566b75; }
.symbol-button strong { font-size: 12px; font-weight: 550; }
.symbol-button small { display: block; font-size: 10px; color: #66747d; margin-top: 5px; }
.selected-row { background: #f2f7f3; }
.selected-row td:first-child { box-shadow: inset 2px 0 #6b9677; }
.market-table tbody tr:hover { background: #f5f8f7; }
.empty-cell { text-align: center !important; padding: 34px 22px !important; color: #68747b; font-size: 12px; white-space: normal; line-height: 1.9; }
.table-footer { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #edf0f2; padding: 12px 20px; color: #68747a; font-size: 10px; line-height: 1.7; }
.book-labels { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 11px 16px; background: #fafbfc; border-top: 1px solid #edf0f2; border-bottom: 1px solid #edf0f2; color: #6a737c; font-size: 11px; }
.book-rows { padding: 11px 16px 16px; }
.book-row { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; text-align: center; height: 32px; font-size: 11px; }
.book-row .price { font-weight: 500; }
.book-row.ask .price { color: #5473a3; }
.book-row.bid .price { color: #a65c69; }
.book-row.bid:first-of-type { border-top: 1px solid #e8edf1; }
.book-qty { position: relative; text-align: right; padding: 6px 8px; color: #627486; }
.book-qty.bid-qty { text-align: left; color: #856b73; }
.book-qty meter { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .1; }
.book-qty > span { position: relative; }
meter::-webkit-meter-bar { background: transparent; border: 0; border-radius: 2px; }
meter::-webkit-meter-optimum-value { background: #557fb3; }
.bid-qty meter::-webkit-meter-optimum-value { background: #b15c6b; }
.book-spread { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #edf0f2; padding: 13px 20px; color: #66747b; font-size: 11px; }
.book-spread strong { color: #64747f; font-size: 11px; font-weight: 500; }
.orders-panel td { padding-top: 13px; padding-bottom: 13px; }
.order-id { color: #69737c; font-family: Consolas, monospace; font-size: 11px; }
.view > .panel { margin-bottom: 21px; }
.research-hero .panel-heading { padding: 29px 28px 18px; }
.research-hero .eyebrow { color: #647767; margin-bottom: 12px; }
.research-hero h2 { font-size: 22px; color: #405d49; }
.research-pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 22px 28px 32px; margin: 0; gap: 10px; list-style: none; }
.research-pipeline li { border-top: 2px solid #d5e3d7; padding: 18px 13px 8px 0; }
.research-pipeline li > span { color: #5f7862; font-size: 11px; }
.research-pipeline strong { display: block; font-size: 13px; color: #5e7364; font-weight: 550; margin-top: 12px; }
.research-pipeline small { display: block; color: #6b756e; font-size: 11px; margin-top: 7px; line-height: 1.6; }
.research-result { background: #f9fbf8; border-top: 1px solid #e9efe6; padding: 23px 28px; white-space: pre-line; color: #687761; font-size: 12px; line-height: 2; }
.operation-actions { display: flex; gap: 9px; align-items: center; }
select { padding: 9px 25px 9px 10px; border: 1px solid #dfe5e8; border-radius: 6px; background: #fff; font-size: 11px; color: #65747f; min-height: 38px; }
.logs-table td { vertical-align: top; }
.logs-table .log-message { white-space: normal; min-width: 250px; line-height: 1.8; overflow-wrap: anywhere; }
.logs-table .log-error { background: #fffafb; }
.logs-table .log-error .log-message { color: #a25e6c; }
#experiment-rows td:last-child { white-space: normal; min-width: 220px; line-height: 1.8; }
.app-footer { display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: #6a747b; padding: 13px 0 5px; line-height: 1.8; }
.footer-separator { margin: 0 8px; color: #6c7377; }
.noscript-note { position: fixed; bottom: 24px; left: 24px; right: 24px; z-index: 30; padding: 20px; border: 1px solid #dcbdc3; background: #fff; color: var(--negative); }

@media (min-width: 801px) and (max-height: 850px) {
  .auth-header { min-height: 74px; }
  .auth-layout { padding: 16px 0 24px; }
  .auth-story { padding: 10px 0; }
  .auth-story .eyebrow { margin-bottom: 18px; }
  .auth-story h1 { font-size: 39px; line-height: 1.35; }
  .auth-lead { margin-top: 18px; font-size: 14px; }
  .auth-visual { margin-top: 24px; padding: 18px 22px 15px; }
  .signal-diagram { max-height: 135px; margin-top: 16px; }
  .auth-features { margin-top: 20px; }
  .auth-form-inner { padding: 30px 36px; }
  .access-icon { margin-bottom: 18px; }
  .auth-description { margin-top: 12px; }
  #login-form { margin-top: 24px; }
  .auth-submit { margin-top: 18px; }
  .access-help { margin-top: 18px; }
  .auth-connection { margin-top: 24px; padding-top: 18px; }
  .auth-footer { padding: 16px 0 20px; }
}

@media (min-width: 1600px) { .page { padding: 38px 42px 24px; } .primary-grid, .market-grid { grid-template-columns: minmax(0, 1fr) 350px; } .metric { padding: 24px; } .chart-wrapper, #equity-chart { height: 260px; } }
@media (max-width: 1250px) { :root { --sidebar-width: 190px; } .sidebar { padding-left: 12px; padding-right: 12px; } .sidebar .brand { font-size: 17px; gap: 8px; padding-left: 2px; } .sidebar .brand-mark { width: 30px; height: 30px; } .page { padding: 27px 22px 18px; } .topbar { padding: 0 22px; } .primary-grid, .market-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 16px; } .metrics { gap: 12px; } .metric { padding: 18px 15px 14px; } .metric > strong { font-size: 25px; } .metric-label > span { display: none; } .heading-actions > .badge { display: none; } .panel-heading { padding: 19px; } .market-panel .panel-heading { flex-wrap: wrap; } .search-field { max-width: none; width: 100%; } }
@media (max-width: 1020px) { :root { --sidebar-width: 72px; } .sidebar { padding: 22px 10px; align-items: center; } .sidebar .brand { padding: 0; } .sidebar .brand > span:last-child, .workspace, .nav-label, .sidebar-bottom, .nav-item > span { display: none; } .sidebar nav { margin-top: 40px; width: 100%; } .nav-item { justify-content: center; padding: 14px 10px; } .nav-item .icon { width: 21px; height: 21px; } .metric-foot .badge { display: none; } .page-heading h1 { font-size: 25px; } .page-heading p { max-width: 290px; } .auth-layout { gap: 35px; grid-template-columns: 1fr 1fr; } .auth-form-inner { padding: 32px; } .auth-story h1 { font-size: 32px; } .auth-visual { padding: 20px; } .visual-heading > span:last-child { display: none; } .auth-features { gap: 10px; flex-wrap: wrap; } .auth-features > span { font-size: 11px; } }
@media (max-width: 800px) { .auth-shell { padding: 0 24px; } .auth-header { min-height: 90px; } .auth-header-note { font-size: 11px; } .auth-layout { grid-template-columns: 1fr; max-width: 470px; padding: 16px 0 34px; gap: 22px; } .auth-story { padding: 0; } .auth-story .eyebrow, .auth-visual, .auth-features, .auth-lead { display: none; } .auth-story h1 { font-size: 24px; text-align: center; line-height: 1.6; } .auth-story h1 br { display: none; } .auth-form-inner { padding: 34px; } .access-icon { margin-bottom: 23px; } .auth-footer { justify-content: center; text-align: center; padding: 20px 0; } .auth-footer > span:last-child { display: none; } .primary-grid, .market-grid { grid-template-columns: minmax(0, 1fr); } .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .risk-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; } .risk-list > div { margin: 9px 0; } .market-panel .panel-heading { flex-wrap: nowrap; } .search-field { max-width: 175px; } .notice-right { display: none; } .research-pipeline { grid-template-columns: repeat(3, 1fr); } .research-hero .panel-heading { flex-wrap: wrap; } }
@media (max-width: 560px) { :root { --sidebar-width: 0px; } .sidebar { position: relative; inset: auto; width: 100%; border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; justify-content: space-between; padding: 12px 16px; gap: 12px; } .sidebar .brand-mark { width: 31px; height: 31px; } .sidebar nav { display: flex; gap: 5px; width: auto; margin: 0; } .nav-item { width: 46px; padding: 10px; margin: 0; } .topbar { min-height: 53px; padding: 0 18px; } .breadcrumb { font-size: 0; } .breadcrumb > span { display: none; } .breadcrumb strong { font-size: 11px; } .topbar-right { gap: 10px; } .topbar-right .badge, .avatar { display: none; } .page { padding: 23px 16px 16px; } .page-heading { display: block; margin-bottom: 20px; } .page-heading p { max-width: none; } .heading-actions { margin-top: 17px; } .button { min-height: 40px; } .metrics { gap: 10px; } .metric { padding: 16px 14px 13px; } .metric > strong { font-size: 25px; } .metric-foot { font-size: 10px; min-height: 30px; align-content: center; } .metric-foot .icon { display: none; } .notice { padding: 12px; } .notice strong { font-size: 11px; } .notice div > span { font-size: 11px; } .panel-heading { padding: 18px; } .panel-heading p { font-size: 11px; } .equity-summary, .risk-list { padding: 0 18px; } .equity-summary > strong { font-size: 28px; } .chart-wrapper { margin-left: 18px; margin-right: 18px; min-height: 175px; } #equity-chart { height: 175px; } .risk-list { display: block; } .risk-list > div { margin: 13px 0; } .market-panel .panel-heading { flex-wrap: wrap; } .search-field { max-width: none; } .universe-bar { margin-top: 20px; } .update-frequency { display: none; } .table-footer { padding: 12px 16px; flex-wrap: wrap; gap: 5px; } .research-pipeline { grid-template-columns: 1fr 1fr; padding: 15px 20px 22px; } .research-hero .panel-heading { padding: 23px 20px 12px; } .research-hero h2 { font-size: 20px; } .research-result { padding: 20px; } #view-operations .panel-heading { flex-wrap: wrap; } .operation-actions { width: 100%; justify-content: space-between; } .app-footer { flex-direction: column; gap: 3px; font-size: 8px; } .auth-shell { padding: 0 18px; } .auth-header { min-height: 79px; } .auth-header .brand { font-size: 18px; } .auth-header-note { font-size: 0; gap: 0; } .auth-header-note .icon { width: 18px; height: 18px; } .auth-story h1 { font-size: 20px; } .auth-form-inner { padding: 28px 25px; } .auth-form-inner h2 { font-size: 24px; } .auth-description { font-size: 13px; } .auth-connection { font-size: 11px; } }
