:root {
  --ink: #23272f;
  --muted: #7b818d;
  --line: #e8ebef;
  --paper: #fff;
  --canvas: #fafbfc;
  --accent: #2563eb;
  --accent-soft: #edf3ff;
  --up: #d54e53;
  --down: #159177;
  --green-soft: #e8f5ee;
  --red-soft: #faeeee;
  --amber: #946812;
  --amber-soft: #fff8e8;
  --radius: 6px;
}
.active-model-line { display: flex; align-items: center; gap: 12px; margin: 8px 0 18px; flex-wrap: wrap; }
.active-model-line .text-button { margin-left: auto; }
.badge.production { background: #eaf1ff; color: #255cc5; }
.badge.shadow { background: #f0f2f5; color: #687180; }
.model-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.model-card { border: 1px solid var(--line); border-radius: 9px; padding: 18px 20px 14px; min-width: 0; }
.production-card { border-color: #8eb0f1; background: linear-gradient(145deg, #f3f7ff, #fff 70%); box-shadow: 0 2px 10px #2563eb08; }
.model-card-top, .model-forecast, .model-card-foot, .model-values div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.model-card-top { margin-bottom: 10px; }
.model-card h3 { font-size: 15px; min-height: 23px; }
.model-forecast { margin: 24px 0 20px; }
.model-forecast strong { font-size: 26px; font-weight: 600; }
.model-forecast > span { font-size: 20px; font-weight: 600; }
.model-values { margin: 0; font-variant-numeric: tabular-nums; }
.model-values div { padding: 5px 0; }
.model-values dt, .model-card-foot { color: var(--muted); font-size: 12px; }
.model-values dd { margin: 0; font-weight: 500; }
.model-card-foot { border-top: 1px solid var(--line); margin-top: 13px; padding-top: 12px; font-size: 10px; }
.comparison-section { margin-top: 36px; }
.comparison-window { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 18px; border-radius: 7px; background: var(--canvas); border: 1px solid var(--line); flex-wrap: wrap; }
.sample-control, .comparison-days { display: flex; gap: 12px; align-items: center; }
.sample-control label, .comparison-filter { color: var(--muted); font-size: 12px; }
.sample-control select { padding: 7px 28px 7px 10px; background: #fff; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); }
.production-row { background: #f5f8ff; }
.model-color { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 9px; }
.model-color-0 { background: #2563eb; }.model-color-1 { background: #94a3b8; }.model-color-2 { background: #c58935; }.model-color-3 { background: #8766cc; }
.table-model-role { color: #2563eb; margin-left: 8px; }
.cell-detail { display: block; color: var(--muted); margin-top: 3px; font-size: 10px; font-weight: 400; }
.metric-highlight { font-weight: 650; font-size: 17px; }
.comparison-note { color: var(--muted); font-size: 11px; margin-top: 12px; }
.comparison-chart { position: relative; height: 270px; }
.chart-heading { margin-top: 30px; }
.daily-model-table { min-width: 1060px; }
.daily-prediction { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.daily-prediction b { font-variant-numeric: tabular-nums; font-weight: 500; margin-left: 6px; }
.result-mark { width: 17px; height: 17px; border-radius: 3px; display: inline-flex; justify-content: center; align-items: center; font-size: 12px; }
.result-mark.hit { background: #eaf4ee; color: #31866a; }.result-mark.miss { background: #f9eded; color: #c37c7c; }
.comparison-filter { display: flex; align-items: center; gap: 7px; cursor: pointer; white-space: nowrap; }
.comparison-filter input { accent-color: #2563eb; }
.comparison-empty { background: var(--canvas); border: 1px dashed var(--line); border-radius: 7px; }
@media (max-width: 1250px) { .model-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .model-cards { gap: 10px; }.model-card { padding: 12px; }.model-card h3 { font-size: 12px; }
  .model-forecast { margin: 16px 0; gap: 4px; flex-wrap: wrap; }.model-forecast strong { font-size: 22px; }.model-forecast > span { font-size: 17px; }
  .model-card-foot { flex-wrap: wrap; gap: 2px; }.model-values dt { font-size: 10px; }
  .comparison-window { padding: 12px; }.comparison-days { gap: 7px; flex-wrap: wrap; }.sample-control { flex-wrap: wrap; }
  .comparison-chart { height: 230px; }.comparison-section { margin-top: 26px; }.active-model-line .text-button { margin-left: 0; }
}
.mobile-account {
  display: none;
}
@media (max-width: 720px) {
  .mobile-account {
    display: block;
    position: absolute;
    top: 10px;
    right: 16px;
  }
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    14px/1.5 "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: #174ebc;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #a8c7ff;
  outline-offset: 3px;
}
button {
  color: inherit;
}
form {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 27px;
  font-weight: 650;
  line-height: 1.4;
}
h2 {
  font-size: 17px;
  font-weight: 650;
}
h3 {
  font-size: 14px;
  font-weight: 600;
}
small {
  font-size: 12px;
}
svg.lucide {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
  flex-shrink: 0;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
.subtle {
  color: var(--muted);
  font-size: 12px;
}
.numeric,
.date-cell {
  font-variant-numeric: tabular-nums;
}
.mono {
  font-family: Consolas, monospace;
  font-size: 12px;
}
.right {
  text-align: right;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 216px;
  padding: 28px 18px 16px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 650;
  white-space: nowrap;
}
.brand:hover {
  color: var(--ink);
}
.brand small {
  display: block;
  color: #9097a4;
  font-size: 9px;
  font-weight: 500;
  margin-top: 2px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
}
.brand-mark svg {
  width: 22px;
  height: 22px;
}
.nav-label {
  color: #969ca6;
  font-size: 11px;
  margin: 42px 12px 10px;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.sidebar nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 5px;
  color: #68717e;
  font-weight: 500;
  font-size: 13px;
}
.sidebar nav a:hover {
  background: #f0f2f5;
  color: var(--ink);
}
.sidebar nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}
.sidebar-bottom {
  margin-top: auto;
}
.api-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 4px;
  color: #667080;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.api-link > svg:last-child {
  margin-left: auto;
  width: 15px;
}
.api-link small {
  display: block;
  font-size: 10px;
  color: #989da7;
  margin-top: 2px;
}
.account {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 18px 2px 0;
  font-size: 12px;
}
.account small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.account form {
  margin-left: auto;
}
.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #edf0f3;
  border-radius: 50%;
  color: #788292;
}
.main-content {
  margin-left: 216px;
  padding: 30px 36px 18px;
  max-width: 1720px;
  min-width: 0;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 9px;
}
.breadcrumb span {
  margin: 0 10px;
  color: #bdc1c8;
}
.symbol {
  display: inline-block;
  font:
    11px/1.4 Consolas,
    monospace;
  color: #8b929e;
  vertical-align: middle;
  margin-left: 12px;
  padding: 3px 0;
}
.toolbar-actions,
.table-tools,
.download-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 5px;
  padding: 8px 13px;
  min-height: 36px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 18px;
}
.button svg {
  width: 15px;
  height: 15px;
}
.button.primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.button.primary:hover {
  background: #1c53ca;
}
.button.secondary {
  color: #515d6e;
  border-color: #dfe3e9;
  background: #fff;
}
.button.secondary:hover {
  border-color: #9eabc0;
  background: #f8fafc;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #768090;
  padding: 0;
}
.icon-button:hover {
  background: #edf1f7;
  color: var(--accent);
}
.text-button {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  border: 0;
  padding: 0;
  background: none;
  color: var(--accent);
  font-size: 12px;
  white-space: nowrap;
}
.text-button svg {
  width: 14px;
  height: 14px;
}
.publication-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 23px;
}
.publication-line small {
  font-size: 10px;
  color: #a3a8b1;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
  margin-right: -6px;
}
.status-dot.ok {
  background: var(--down);
}
.status-dot.unavailable,
.status-dot.stale {
  background: var(--up);
}
.line-divider {
  height: 11px;
  border-left: 1px solid var(--line);
}
.publication-id {
  margin-left: auto;
  color: #949caa;
  font-family: Consolas, monospace;
}
.publication-id svg {
  width: 13px;
  height: 13px;
  margin-left: 4px;
}
.notice {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 14px;
  margin: 0 0 20px;
  font-size: 12px;
  border-left: 3px solid var(--amber);
  background: var(--amber-soft);
  color: #7d661f;
}
.notice > span {
  flex: 1;
  min-width: 180px;
}
.notice.error {
  background: var(--red-soft);
  border-color: var(--up);
  color: #a73e44;
}
.notice svg {
  width: 16px;
  height: 16px;
}
.forecast {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1fr 1.05fr 1fr;
  gap: 18px;
  align-items: center;
  background: #fbfcfe;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 23px 20px;
  margin-bottom: 29px;
  min-height: 128px;
}
.forecast-heading h2 {
  font-size: 20px;
  margin: 7px 0 3px;
  font-variant-numeric: tabular-nums;
}
.section-kicker {
  font-size: 11px;
  color: #68717e;
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 500;
  white-space: nowrap;
}
.badge.neutral {
  background: #eaf0f9;
  color: #6883aa;
}
.forecast-value {
  min-width: 0;
}
.forecast-value > span {
  font-size: 11px;
  color: var(--muted);
}
.forecast-value strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 24px;
  font-weight: 600;
  margin-top: 8px;
  white-space: nowrap;
}
.forecast-value strong small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.forecast-value strong svg {
  width: 22px;
  height: 22px;
}
.direction.up {
  color: var(--up);
}
.direction.down {
  color: var(--down);
}
.confidence-track {
  width: 100%;
  max-width: 106px;
  height: 3px;
  background: #e7ecf4;
  margin-top: 8px;
}
.confidence-track span {
  display: block;
  height: 3px;
  background: #7fa1e9;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  min-width: 0;
}
.section-heading p {
  margin-top: 5px;
}
.window-heading {
  flex-wrap: wrap;
}
.window-control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.control-label {
  font-size: 11px;
  color: var(--muted);
  margin-right: 3px;
}
.segmented {
  display: flex;
  background: #f4f6f8;
  border: 1px solid #edf0f4;
  border-radius: 5px;
  padding: 3px;
}
.segmented button,
.segmented a {
  display: inline-block;
  border: 0;
  background: transparent;
  color: #8590a0;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 3px;
  min-height: 26px;
  line-height: 18px;
  white-space: nowrap;
}
.segmented .selected {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 1px 3px #25364b15;
  font-weight: 600;
}
.custom-window {
  display: flex;
  align-items: center;
  border: 1px solid #e0e4ea;
  border-radius: 4px;
  height: 34px;
  gap: 2px;
  background: #fff;
  padding: 0 7px;
}
.custom-window input {
  width: 57px;
  min-width: 0;
  border: 0;
  background: none;
  outline: 0;
  padding: 2px 0;
  color: #4a586c;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.custom-window span:not(.sr-only) {
  font-size: 11px;
  color: var(--muted);
}
.apply-days {
  border: 1px solid #e0e4ea;
  height: 34px;
  background: white;
}
.sample-note {
  color: var(--amber);
}
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
  margin: 18px 0 24px;
}
.metric {
  padding: 0 23px;
  border-left: 1px solid var(--line);
  min-width: 0;
}
.metric:first-child {
  padding-left: 0;
  border-left: 0;
}
.metric > span {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.metric > strong {
  display: block;
  font-size: 27px;
  font-weight: 600;
  margin: 6px 0 4px;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.metric > small {
  color: #939aa5;
  font-size: 11px;
  display: block;
}
.metric > .button {
  margin-top: 15px;
}
.info.lucide {
  width: 12px;
  height: 12px;
  color: #a7aeba;
}
.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(240px, 1fr);
  gap: 32px;
  margin: 28px 0 30px;
  align-items: start;
}
.chart-section,
.hit-section {
  min-width: 0;
}
.hit-section {
  border-left: 1px solid var(--line);
  padding-left: 25px;
}
.chart-area {
  height: 241px;
  position: relative;
  width: 100%;
}
.chart-legend,
.hit-legend {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.chart-legend > span,
.hit-legend > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.legend-line {
  display: inline-block;
  width: 16px;
  border-top: 2px solid #4581df;
}
.legend-line.actual {
  border-color: #8793a6;
}
.hit-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 5px;
  min-height: 144px;
  align-content: start;
}
.hit-tile {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  max-height: 25px;
  min-height: 15px;
  border-radius: 3px;
  font-size: 8px;
  font-variant-numeric: tabular-nums;
  color: transparent;
}
.hit-tile:hover {
  outline: 1px solid currentColor;
  color: #526979;
}
.hit-tile.hit,
.hit-key {
  background: #afd9c9;
}
.hit-tile.miss,
.miss-key {
  background: #efd0d3;
}
.hit-legend {
  margin: 11px 0 14px;
}
.hit-key,
.miss-key {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  display: inline-block;
}
.signal-rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
}
.signal-rates > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
  font-size: 11px;
}
.signal-rates strong {
  font-size: 12px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.signal-rates small {
  font-size: 10px;
  color: #9ca2ad;
}
.results-section {
  border-top: 1px solid var(--line);
  padding-top: 21px;
}
.table-scroll {
  width: 100%;
  overflow: auto;
}
.table-scroll table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
  font-size: 12px;
}
.table-scroll th {
  background: #f7f8fa;
  color: #9299a5;
  font-size: 10px;
  font-weight: 500;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.table-scroll th.right {
  text-align: right;
}
.table-scroll td {
  padding: 12px;
  border-bottom: 1px solid #edf0f3;
}
.table-scroll tbody tr:hover {
  background: #fafcff;
}
.table-scroll td:first-child {
  font-weight: 500;
}
.table-scroll td .direction,
.outcome {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}
.table-scroll td svg {
  width: 13px;
  height: 13px;
}
.outcome.hit {
  color: #239278;
}
.outcome.miss {
  color: #b36e77;
}
.table-empty {
  text-align: center;
  padding: 40px;
  color: var(--muted);
  font-size: 12px;
}
.table-tools select {
  padding: 6px 24px 6px 9px;
  border: 1px solid #e0e4ea;
  border-radius: 4px;
  font-size: 11px;
  color: #677282;
  background: #fff;
  height: 32px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 11px;
  color: var(--muted);
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #a0a7b3;
}
.workspace-footer > div {
  display: flex;
  gap: 18px;
}
.workspace-footer a,
.workspace-footer button {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #8d97a7;
  font-size: 10px;
}
.workspace-footer svg {
  width: 12px;
  height: 12px;
}
.operations-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  margin: 25px 0;
}
.operations-strip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.operations-strip strong {
  display: block;
  font-weight: 550;
  font-size: 19px;
  margin-top: 7px;
}
.job-row {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.job-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}
.job-summary > div {
  flex: 1;
  min-width: 0;
}
.job-summary strong {
  font-size: 12px;
  font-weight: 550;
}
.job-summary small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.job-symbol {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  background: #f3f5f9;
  color: #8b95a4;
}
.job-row p {
  font-size: 12px;
  margin: 10px 0 0 44px;
  overflow-wrap: anywhere;
  color: #697383;
}
.job-row details {
  margin: 10px 0 0 44px;
  color: #8491a3;
  font-size: 11px;
}
.job-row pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--canvas);
  padding: 12px;
  max-height: 300px;
  overflow: auto;
}
.badge.succeeded {
  background: var(--green-soft);
  color: #26876b;
}
.badge.failed,
.badge.drift_detected {
  background: var(--red-soft);
  color: #bd515b;
}
.badge.running,
.badge.queued {
  background: var(--accent-soft);
  color: var(--accent);
}
.badge.skipped,
.badge.interrupted {
  background: #f0f2f5;
  color: #7f8794;
}
.job-symbol.succeeded {
  color: var(--down);
  background: var(--green-soft);
}
.job-symbol.failed,
.job-symbol.drift_detected {
  color: var(--up);
  background: var(--red-soft);
}
.job-symbol.running svg {
  animation: spin 1.6s linear infinite;
}
.research-section {
  margin-bottom: 34px;
  padding-top: 16px;
}
.empty-state {
  padding: 65px 18px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.empty-state h2 {
  color: #647083;
  margin: 15px 0 5px;
  font-size: 16px;
}
.empty-state > svg {
  width: 30px;
  height: 30px;
  color: #a8b5c8;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #293341;
  color: #fff;
  padding: 11px 18px;
  border-radius: 6px;
  font-size: 12px;
  z-index: 100;
  max-width: 90%;
  box-shadow: 0 4px 16px #0002;
}
.guest {
  background: #f6f8fb;
}
.login-main {
  margin: 0;
  max-width: none;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-panel {
  width: min(100%, 380px);
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 7px;
  padding: 34px;
}
.login-panel .brand {
  margin-bottom: 36px;
}
.login-panel h1 {
  font-size: 23px;
}
.login-caption {
  margin: 7px 0 26px;
}
.login-form {
  display: grid;
  gap: 8px;
}
.login-form label {
  font-size: 12px;
  color: #667181;
  margin-top: 8px;
}
.login-form input {
  height: 40px;
  width: 100%;
  border: 1px solid #dae0e8;
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 13px;
  min-width: 0;
}
.login-form .button {
  width: 100%;
  margin-top: 19px;
  height: 40px;
  justify-content: space-between;
}
.password-input {
  position: relative;
}
.password-input input {
  padding-right: 42px;
}
.password-input button {
  position: absolute;
  right: 4px;
  top: 4px;
}
.login-download {
  border-top: 1px solid var(--line);
  margin-top: 27px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  color: #8a94a3;
}
.login-download svg {
  width: 14px;
  height: 14px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1800px) {
  .main-content {
    margin-right: auto;
    padding-inline: 55px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 186px;
    padding-inline: 12px;
  }
  .main-content {
    margin-left: 186px;
    padding: 25px;
  }
  .brand {
    font-size: 17px;
  }
  .forecast {
    grid-template-columns: 1.2fr repeat(4, 1fr);
    gap: 12px;
    padding: 20px 14px;
  }
  .forecast-value strong {
    font-size: 20px;
  }
  .forecast-heading h2 {
    font-size: 18px;
  }
  .section-kicker {
    font-size: 10px;
  }
  .metric {
    padding-inline: 15px;
  }
  .analytics-grid {
    gap: 23px;
    grid-template-columns: minmax(0, 1.6fr) minmax(210px, 1fr);
  }
  .hit-section {
    padding-left: 18px;
  }
  .hit-grid {
    gap: 4px;
  }
}
@media (max-width: 980px) {
  .forecast {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 19px 14px;
  }
  .forecast-heading {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .forecast-heading h2 {
    margin: 0;
  }
  .forecast-heading .subtle {
    margin-left: auto;
  }
  .forecast-value strong {
    font-size: 21px;
  }
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  .hit-section {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }
  .hit-grid {
    grid-template-columns: repeat(20, minmax(0, 1fr));
    min-height: 0;
  }
  .hit-tile {
    max-height: 23px;
  }
  .signal-rates {
    max-width: 390px;
  }
  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }
  .metric:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .chart-area {
    height: 240px;
  }
}
@media (max-width: 720px) {
  .sidebar {
    position: sticky;
    inset: 0 0 auto;
    width: 100%;
    padding: 12px 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }
  .sidebar .brand {
    font-size: 16px;
    gap: 9px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .sidebar .brand small {
    display: none;
  }
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow-x: auto;
    gap: 3px;
    margin-top: 11px;
    scrollbar-width: none;
  }
  .sidebar nav a {
    flex: none;
    padding: 9px 10px;
    border-radius: 0;
    font-size: 11px;
    gap: 5px;
    border-bottom: 2px solid transparent;
  }
  .sidebar nav a.active {
    background: transparent;
    border-bottom-color: var(--accent);
  }
  .sidebar nav a svg {
    width: 14px;
    height: 14px;
  }
  .main-content {
    margin: 0;
    padding: 23px 18px 15px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .symbol {
    font-size: 10px;
    margin-left: 8px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .button {
    font-size: 11px;
    padding: 7px 10px;
    min-height: 33px;
  }
  .publication-line {
    gap: 9px;
    font-size: 10px;
    margin-bottom: 20px;
  }
  .publication-id {
    display: none;
  }
  .publication-line .line-divider {
    display: none;
  }
  .forecast {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
    padding: 17px 15px;
  }
  .forecast-heading {
    gap: 6px 13px;
  }
  .forecast-heading .subtle {
    margin-left: 0;
    width: 100%;
    font-size: 10px;
  }
  .forecast-value strong {
    font-size: 24px;
    margin-top: 4px;
  }
  .confidence-track {
    margin-top: 4px;
  }
  .window-heading {
    gap: 13px;
  }
  .section-heading {
    gap: 10px;
  }
  .window-control {
    gap: 6px;
  }
  .window-control .control-label {
    display: none;
  }
  .segmented button,
  .segmented a {
    padding-inline: 11px;
  }
  .metrics-strip {
    padding: 19px 0;
  }
  .metric strong {
    font-size: 25px;
  }
  .metric small {
    font-size: 10px;
  }
  .metric > span {
    font-size: 11px;
  }
  .analytics-grid {
    margin-top: 23px;
  }
  .chart-legend {
    gap: 10px;
    font-size: 10px;
  }
  .chart-area {
    height: 224px;
  }
  .hit-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .hit-tile {
    max-height: 24px;
  }
  .table-scroll th,
  .table-scroll td {
    padding: 10px;
  }
  .results-section .section-heading h2 {
    font-size: 15px;
  }
  .text-button {
    font-size: 11px;
  }
  .operations-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace-footer {
    font-size: 9px;
    margin-top: 22px;
  }
  .workspace-footer > div {
    gap: 14px;
  }
  .research-section .section-heading {
    flex-wrap: wrap;
  }
  .login-main {
    padding: 18px;
  }
  .login-panel {
    padding: 28px;
  }
  .guest .main-content {
    margin: 0;
  }
  .job-row p,
  .job-row details {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
