:root {
  --bg: #07110f;
  --surface: #0d1a17;
  --surface-2: #12231f;
  --surface-3: #172b26;
  --line: rgba(173, 222, 208, .13);
  --text: #eef8f4;
  --muted: #8ea8a0;
  --accent: #59e1c2;
  --accent-2: #b6f36b;
  --amber: #f5c866;
  --red: #ff7e7e;
  --blue: #7ab8ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, .28);
  --radius: 18px;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; color: var(--text); background: radial-gradient(circle at 80% 0, rgba(45, 122, 104, .13), transparent 35%), var(--bg); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; line-height: 1.6; }
.center { text-align: center; }
.right { text-align: right; }
.positive { color: var(--accent); }

.app-shell { display: grid; grid-template-columns: 248px 1fr; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 248px; padding: 26px 18px 18px; display: flex; flex-direction: column; background: rgba(7, 17, 15, .92); border-right: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(89, 225, 194, .45); border-radius: 12px; color: var(--accent); font: 800 14px/1 ui-monospace, monospace; letter-spacing: .08em; background: linear-gradient(145deg, rgba(89,225,194,.12), rgba(182,243,107,.03)); box-shadow: inset 0 0 20px rgba(89,225,194,.05); }
.brand strong { display: block; font-size: 15px; letter-spacing: .02em; }
.brand small { display: block; margin-top: 3px; color: var(--accent); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .2em; }
.nav-list { display: flex; flex-direction: column; gap: 4px; margin-top: 42px; }
.nav-list a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 13px; border-radius: 11px; color: #9bb1aa; font-size: 14px; transition: .2s ease; }
.nav-list a span { width: 22px; color: #75958c; font: 600 14px ui-monospace, monospace; text-align: center; }
.nav-list a:hover { color: var(--text); background: rgba(255,255,255,.035); }
.nav-list a.active { color: var(--text); background: linear-gradient(90deg, rgba(89,225,194,.14), rgba(89,225,194,.035)); box-shadow: inset 2px 0 var(--accent); }
.nav-list a.active span { color: var(--accent); }
.nav-label { margin: 26px 13px 7px; color: #537169; font: 700 9px ui-monospace, monospace; letter-spacing: .18em; }
.sidebar-foot { margin-top: auto; padding: 16px 8px 4px; border-top: 1px solid var(--line); }
.user-chip { display: flex; gap: 10px; align-items: center; }
.user-chip > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #052018; font-weight: 800; }
.user-chip strong, .user-chip small { display: block; font-size: 12px; }
.user-chip small { color: var(--muted); margin-top: 2px; font-size: 10px; }
.text-button { margin-top: 12px; padding: 0; border: 0; background: transparent; color: #738e86; font-size: 12px; cursor: pointer; }
.text-button:hover { color: var(--red); }
.main-column { grid-column: 2; min-width: 0; }
.topbar { height: 72px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 15; background: rgba(7,17,15,.78); border-bottom: 1px solid rgba(173,222,208,.08); backdrop-filter: blur(18px); }
.eyebrow { color: var(--accent); font: 700 10px ui-monospace, monospace; letter-spacing: .2em; }
a.eyebrow:hover { text-decoration: underline; }
.crumb-sep { margin: 0 10px; color: #4f6a62; }
.market-clock { display: flex; gap: 8px; align-items: center; color: #7f9a92; font: 500 11px ui-monospace, monospace; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.mobile-menu { display: none; border: 0; background: transparent; font-size: 20px; }
.content { padding: 36px 34px 60px; max-width: 1600px; margin: 0 auto; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.page-heading h1 { margin: 0; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.035em; }
.page-heading p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.heading-actions { display: flex; align-items: center; gap: 10px; }

.primary-button, .secondary-button { min-height: 40px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; font-size: 13px; font-weight: 700; transition: .18s ease; }
.primary-button { color: #042018; background: linear-gradient(135deg, var(--accent), #83f2aa); box-shadow: 0 8px 24px rgba(89,225,194,.13); }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(89,225,194,.22); }
.secondary-button { color: #c8ddd7; border-color: var(--line); background: rgba(255,255,255,.025); }
.secondary-button:hover { color: var(--text); border-color: rgba(89,225,194,.35); background: rgba(89,225,194,.06); }
.primary-button:disabled, .secondary-button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.wide { width: 100%; }

.market-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.market-card { position: relative; overflow: hidden; min-height: 245px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(140deg, rgba(18,35,31,.95), rgba(10,24,21,.84)); box-shadow: var(--shadow); }
.market-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -110px; border-radius: 50%; background: rgba(89,225,194,.08); filter: blur(1px); }
.market-us::after { background: rgba(122,184,255,.08); }
.market-card-head, .metric-row, .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.market-badge, .market-mini { display: inline-flex; padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; color: #b9d0c9; background: rgba(255,255,255,.025); font: 700 10px ui-monospace, monospace; letter-spacing: .08em; }
.scan-date { color: var(--muted); font: 11px ui-monospace, monospace; }
.hero-number { margin: 18px 0 20px; font: 700 58px/1 ui-monospace, monospace; letter-spacing: -.06em; }
.hero-number small { margin-left: 9px; color: var(--muted); font: 500 12px sans-serif; letter-spacing: 0; }
.metric-row { justify-content: flex-start; gap: 45px; }
.metric-row span, .metric-row strong { display: block; }
.metric-row span { color: var(--muted); font-size: 10px; }
.metric-row strong { margin-top: 5px; font: 700 14px ui-monospace, monospace; }
.card-link { position: absolute; right: 24px; bottom: 24px; color: var(--accent); font-size: 12px; }
.card-link span { margin-left: 8px; }
.dashboard-grid, .detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 18px; margin-bottom: 18px; }
.panel { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13,26,23,.83); box-shadow: 0 12px 44px rgba(0,0,0,.16); }
.panel-head { margin-bottom: 20px; }
.panel-head h2 { margin: 4px 0 0; font-size: 17px; }
.panel-head > a { color: var(--accent); font-size: 11px; }
.panel-kicker { color: #66847b; font: 700 9px ui-monospace, monospace; letter-spacing: .19em; }
.segmented, .market-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0,0,0,.16); }
.segmented button, .market-switch a { padding: 7px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 700; }
.segmented button.active, .market-switch a.active { background: var(--surface-3); color: var(--accent); }
.candidate-list { display: flex; flex-direction: column; }
.candidate-row { min-height: 58px; display: grid; grid-template-columns: 46px minmax(140px, 1fr) 115px 44px 16px; align-items: center; gap: 10px; border-top: 1px solid rgba(173,222,208,.07); transition: .15s; }
.candidate-row:hover { background: rgba(89,225,194,.025); }
.candidate-row:first-child { border-top: 0; }
.rank { color: #647e76; font: 700 11px ui-monospace, monospace; }
.rank-lg { font-size: 13px; }
.ticker strong, .ticker small, .cell-subtitle { display: block; }
.ticker strong { font: 700 13px ui-monospace, monospace; }
.ticker small, .cell-subtitle { margin-top: 4px; max-width: 250px; color: var(--muted); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score { color: var(--accent); font: 700 15px ui-monospace, monospace; }
.arrow { color: #557168; }
.signal { display: inline-flex; width: fit-content; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; color: #9ab2ab; background: rgba(255,255,255,.02); font: 700 9px ui-monospace, monospace; letter-spacing: .04em; white-space: nowrap; }
.signal-breakout { color: #ff9c82; border-color: rgba(255,126,126,.25); background: rgba(255,126,126,.07); }
.signal-right_side { color: var(--accent); border-color: rgba(89,225,194,.25); background: rgba(89,225,194,.07); }
.signal-recovery { color: var(--blue); border-color: rgba(122,184,255,.25); background: rgba(122,184,255,.07); }
.signal-low_watch, .signal-bottom { color: var(--amber); border-color: rgba(245,200,102,.25); background: rgba(245,200,102,.07); }
.health-block { margin-top: 28px; }
.health-block > div:first-child, .health-labels { display: flex; justify-content: space-between; }
.health-block strong { font: 800 12px ui-monospace, monospace; }
.health-block span { color: var(--muted); font-size: 10px; }
.health-bar { height: 7px; margin: 10px 0 8px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.06); }
.health-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #34b997, var(--accent)); }
.health-labels .ok { color: var(--accent); }
.health-labels .bad { color: var(--red); }
.path-pill { max-width: 50%; overflow: hidden; text-overflow: ellipsis; color: #78968d; font-size: 9px; }
.empty-state { min-height: 150px; display: grid; place-items: center; align-content: center; gap: 8px; color: #648078; }
.empty-state span { font-size: 25px; color: var(--accent); }
.empty-state p { margin: 0; font-size: 12px; }

.table-panel { padding: 0; overflow: hidden; }
.table-panel > .panel-head { padding: 21px 22px 0; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { padding: 12px 16px; color: #5f7c73; font: 700 9px ui-monospace, monospace; letter-spacing: .09em; text-align: left; background: rgba(0,0,0,.12); }
td { max-width: 340px; padding: 14px 16px; color: #b9cec8; border-top: 1px solid rgba(173,222,208,.075); }
tbody tr:hover { background: rgba(89,225,194,.018); }
.clickable-row { cursor: pointer; }
.score-ring { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid rgba(89,225,194,.42); border-radius: 50%; color: var(--accent); font: 700 11px ui-monospace, monospace; }
.fundamental { font: 700 9px ui-monospace, monospace; }
.fundamental-improving { color: var(--accent); }.fundamental-stable { color: var(--blue); }.fundamental-deteriorating { color: var(--red); }.fundamental-unknown { color: var(--muted); }
.risk-count { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--red); background: rgba(255,126,126,.1); }
.error-cell { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8ba29b; }
.data-status { padding: 4px 7px; border-radius: 6px; font: 700 9px ui-monospace, monospace; }
.status-ok { color: var(--accent); background: rgba(89,225,194,.08); }.status-failed { color: var(--red); background: rgba(255,126,126,.08); }.status-stale,.status-no_data { color: var(--amber); background: rgba(245,200,102,.08); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 20px 0; color: var(--muted); font-size: 11px; }
.pagination a { color: var(--accent); }

.filter-bar { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(13,26,23,.65); }
label { color: #93aaa3; font-size: 11px; }
input, select, textarea { width: 100%; margin-top: 7px; padding: 10px 11px; border: 1px solid rgba(173,222,208,.15); border-radius: 9px; outline: none; color: var(--text); background: rgba(2,11,9,.55); transition: .15s; }
input:focus, select:focus, textarea:focus { border-color: rgba(89,225,194,.52); box-shadow: 0 0 0 3px rgba(89,225,194,.07); }
input[readonly] { opacity: .58; cursor: not-allowed; }
textarea { resize: vertical; line-height: 1.5; font-family: ui-monospace, monospace; }
.filter-bar label { min-width: 155px; }
.filter-bar .search-field { flex: 1; }
.filter-summary { margin-left: auto; padding-bottom: 11px; color: var(--muted); font-size: 11px; }

.detail-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.detail-title { display: flex; align-items: center; gap: 12px; }
.detail-title h1 { margin: 0; font: 800 38px ui-monospace, monospace; letter-spacing: -.04em; }
.detail-hero p { margin: 8px 0 0; color: var(--muted); }
.hero-score { min-width: 120px; text-align: right; }
.hero-score small, .hero-score span { display: block; color: var(--muted); font: 700 9px ui-monospace, monospace; letter-spacing: .12em; }
.hero-score strong { display: block; color: var(--accent); font: 800 46px/1 ui-monospace, monospace; }
.chart-panel { overflow: hidden; }
.current-price { font: 700 20px ui-monospace, monospace; }
.sparkline { width: 100%; height: 180px; overflow: visible; }
.sparkline-line, .sparkline-glow { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.sparkline-glow { stroke-width: 10; opacity: .08; }
.chart-range { display: flex; justify-content: space-between; color: #5d776f; font: 9px ui-monospace, monospace; }
.score-line { margin: 15px 0; }.score-line > div:first-child { display: flex; justify-content: space-between; font-size: 11px; }.score-line strong { font: 700 10px ui-monospace, monospace; color: var(--accent); }
.mini-progress { height: 4px; margin-top: 7px; border-radius: 4px; background: rgba(255,255,255,.05); }.mini-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--accent),var(--accent-2)); }
.metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 18px; }
.metrics-grid article { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(13,26,23,.7); }
.metrics-grid span, .metrics-grid strong { display: block; }.metrics-grid span { color: var(--muted); font-size: 9px; }.metrics-grid strong { margin-top: 7px; font: 700 15px ui-monospace, monospace; }
.news-list a { display: grid; grid-template-columns: 35px 1fr 20px; gap: 12px; align-items: center; padding: 15px 0; border-top: 1px solid var(--line); }.news-list a:first-child { border: 0; }.news-list a:hover strong { color: var(--accent); }.news-list strong,.news-list small { display: block; }.news-list strong { font-size: 12px; line-height: 1.45; }.news-list small { margin-top: 5px; color: var(--muted); font-size: 9px; }.news-order { color: #536f66; font: 700 10px ui-monospace, monospace; }
.status-list { margin: 0; }.status-list div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }.status-list dt { color: var(--muted); font-size: 11px; }.status-list dd { margin: 0; font: 700 10px ui-monospace, monospace; }.risk-box { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }.risk-box span { padding: 6px 8px; border-radius: 6px; color: var(--red); background: rgba(255,126,126,.08); font: 700 9px ui-monospace, monospace; }.safe-note { color: var(--accent); font-size: 11px; }.disclaimer { margin-top: 22px; color: #5d756e; font-size: 9px; line-height: 1.5; }

.settings-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 18px; align-items: start; }.settings-main { min-width: 0; }.settings-section { margin-bottom: 16px; }.settings-side { position: sticky; top: 90px; display: grid; gap: 16px; }.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }.config-field > span:first-child, .config-field small { display: block; }.config-field > span:first-child { color: #c0d4ce; }.config-field small { margin-top: 6px; color: #607b72; line-height: 1.4; }.toggle-field { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }.toggle { flex: 0 0 auto; position: relative; width: 42px; height: 23px; }.toggle input { position: absolute; opacity: 0; }.toggle i { display: block; width: 100%; height: 100%; border-radius: 20px; background: #233a34; cursor: pointer; transition: .2s; }.toggle i::after { content: ""; display: block; width: 17px; height: 17px; margin: 3px; border-radius: 50%; background: #819991; transition: .2s; }.toggle input:checked + i { background: rgba(89,225,194,.25); }.toggle input:checked + i::after { transform: translateX(19px); background: var(--accent); }.sticky-actions { position: sticky; bottom: 15px; z-index: 8; display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border: 1px solid rgba(89,225,194,.2); border-radius: 13px; background: rgba(9,23,19,.92); backdrop-filter: blur(15px); box-shadow: var(--shadow); }.sticky-actions span { color: var(--muted); font-size: 10px; }
.credential-status { display: grid; gap: 10px; }.credential-status div { display: flex; align-items: center; gap: 8px; font-size: 11px; }.credential-status span { width: 7px; height: 7px; border-radius: 50%; }.credential-status .configured span { background: var(--accent); box-shadow: 0 0 10px var(--accent); }.credential-status .missing span { background: var(--red); }.compact label { display: block; }.help-panel h3 { margin: 5px 0 13px; }.help-panel ul { margin: 0; padding: 0; display: grid; gap: 10px; list-style: none; color: var(--muted); font-size: 11px; }.help-panel li::before { content: "✓"; margin-right: 8px; color: var(--accent); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.row-actions { display: flex; gap: 5px; }.icon-button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }.icon-button:hover { color: var(--accent); border-color: rgba(89,225,194,.3); }.icon-button.danger:hover { color: var(--red); border-color: rgba(255,126,126,.3); }

.toast-stack { position: fixed; right: 22px; bottom: 22px; z-index: 100; display: grid; gap: 8px; }.toast { min-width: 260px; max-width: 420px; padding: 13px 15px; border: 1px solid rgba(89,225,194,.25); border-radius: 10px; background: #10231e; box-shadow: var(--shadow); color: #d9eee8; font-size: 12px; animation: toast-in .25s ease; }.toast.error { border-color: rgba(255,126,126,.3); color: #ffd0d0; }.alert { margin-bottom: 18px; padding: 14px; border-radius: 10px; }.alert.error { color: #ffd0d0; border: 1px solid rgba(255,126,126,.25); background: rgba(255,126,126,.07); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

.login-page { position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 20% 40%, rgba(34,121,101,.18), transparent 32%), radial-gradient(circle at 85% 10%, rgba(182,243,107,.09), transparent 28%), #06100e; }.login-page::before { content: ""; position: fixed; inset: 0; opacity: .22; background-image: linear-gradient(rgba(89,225,194,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(89,225,194,.055) 1px,transparent 1px); background-size: 50px 50px; mask-image: radial-gradient(circle at center, black, transparent 75%); }.login-layout { position: relative; z-index: 2; width: min(1050px, calc(100% - 40px)); display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 80px; }.login-story { max-width: 610px; }.login-brand { padding: 0; margin-bottom: 80px; }.login-kicker { color: var(--accent); font: 700 10px ui-monospace, monospace; letter-spacing: .22em; }.login-story h1 { margin: 18px 0 22px; font-size: clamp(45px,6vw,74px); line-height: 1.05; letter-spacing: -.055em; }.login-story h1 em { color: var(--accent); font-style: normal; }.login-copy { max-width: 520px; color: #829d95; font-size: 14px; line-height: 1.8; }.signal-strip { display: flex; align-items: center; gap: 13px; margin-top: 40px; color: #58736b; font: 700 8px ui-monospace, monospace; letter-spacing: .15em; }.signal-strip i { width: 32px; height: 1px; background: #28443c; }.login-card { padding: 32px; border: 1px solid rgba(173,222,208,.14); border-radius: 22px; background: rgba(12,27,23,.8); backdrop-filter: blur(18px); box-shadow: 0 30px 100px rgba(0,0,0,.38); }.login-heading { display: flex; gap: 14px; align-items: center; margin-bottom: 28px; }.pulse-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: var(--accent); background: rgba(89,225,194,.08); font-size: 20px; }.login-heading h2 { margin: 0; font-size: 21px; }.login-heading p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }.stack-form { display: grid; gap: 16px; }.stack-form label { display: block; }.stack-form input { padding: 12px; }.form-error { min-height: 16px; margin: -4px 0 0; color: var(--red); font-size: 11px; }.signup-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }.signup-row .secondary-button { min-height: 32px; padding: 0 12px; }
.login-orbit { position: fixed; border: 1px solid rgba(89,225,194,.1); border-radius: 50%; }.orbit-one { width: 680px; height: 680px; left: -430px; bottom: -420px; }.orbit-two { width: 420px; height: 420px; right: -250px; top: -260px; }
.modal { width: min(430px,calc(100% - 32px)); padding: 30px; border: 1px solid rgba(173,222,208,.18); border-radius: 20px; color: var(--text); background: #10211d; box-shadow: 0 30px 100px rgba(0,0,0,.55); }.modal::backdrop { background: rgba(1,8,6,.76); backdrop-filter: blur(5px); }.modal h2 { margin: 10px 0 5px; }.modal > p { margin: 0 0 24px; color: var(--muted); font-size: 11px; line-height: 1.6; }.modal-close { position: absolute; right: 15px; top: 13px; border: 0; background: transparent; color: var(--muted); font-size: 23px; cursor: pointer; }.modal-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: rgba(89,225,194,.08); font-size: 20px; }.wide-modal { width: min(720px,calc(100% - 32px)); }.modal-submit { grid-column: 1/-1; margin-top: 5px; }

@media (max-width: 1050px) { .settings-layout { grid-template-columns: 1fr; }.settings-side { position: static; grid-template-columns: 1fr 1fr; }.metrics-grid { grid-template-columns: repeat(2,1fr); }.login-layout { gap: 35px; }.login-story h1 { font-size: 50px; } }
@media (max-width: 800px) { .app-shell { display: block; }.sidebar { transform: translateX(-100%); transition: .2s; box-shadow: var(--shadow); }.sidebar.open { transform: none; }.main-column { width: 100%; }.mobile-menu { display: block; }.topbar { padding: 0 18px; }.content { padding: 25px 16px 50px; }.market-grid,.dashboard-grid,.detail-grid,.admin-grid { grid-template-columns: 1fr; }.market-card { min-height: 225px; }.page-heading { align-items: flex-start; flex-direction: column; }.heading-actions { flex-wrap: wrap; }.filter-bar { align-items: stretch; flex-direction: column; }.filter-bar label { min-width: 0; }.filter-summary { margin: 0; padding: 0; }.form-grid { grid-template-columns: 1fr; }.settings-side { grid-template-columns: 1fr; }.sticky-actions { position: static; }.detail-hero { align-items: flex-start; }.login-layout { grid-template-columns: 1fr; width: min(440px,calc(100% - 32px)); padding: 35px 0; }.login-story { display: none; }.login-card { padding: 26px; }.candidate-row { grid-template-columns: 40px 1fr 42px 14px; }.candidate-row .signal { display: none; } }
@media (max-width: 520px) { .metrics-grid { grid-template-columns: 1fr 1fr; }.detail-title { flex-wrap: wrap; }.detail-title h1 { font-size: 30px; }.hero-score strong { font-size: 36px; }.market-clock { display: none; }.page-heading h1 { font-size: 30px; }.market-switch { align-self: stretch; }.market-switch a { flex: 1; text-align: center; } }
