:root {
  --bg: #ebe4d8;
  --paper: #fffdf8;
  --ink: #1c1916;
  --muted: #6f675e;
  --line: #e4dcd0;
  --buy: #c5362b;
  --sell: #1f4f86;
  --navy: #1b3348;
  --amber: #a16207;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  background: #d9d2c6;
  color: var(--ink);
  font-family: "IBM Plex Sans KR", "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.shell {
  height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.topbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 10px 16px;
  background: var(--navy);
  color: #f7f1e6;
}
.brand { flex: 0 0 auto; }
.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.eyebrow {
  margin: 0;
  color: #f0b2aa;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.top-note {
  margin: 0;
  flex: 1 1 280px;
  min-width: 0;
  color: #d9cbb8;
  font-size: 13px;
}
.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
  justify-content: flex-end;
}
.top-nav a {
  color: #f7f1e6;
  text-decoration: none;
  border: 1px solid rgba(247, 241, 230, 0.28);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.top-nav a[aria-current="page"] {
  background: #f7f1e6;
  color: var(--navy);
  border-color: #f7f1e6;
}
.top-nav a:hover {
  background: rgba(247, 241, 230, 0.12);
}

.workspace {
  min-height: 0;
  display: grid;
  grid-template-columns: 312px minmax(0, 1fr);
}
.control-pane {
  min-height: 0;
  overflow: auto;
  padding: 14px;
  background: var(--paper);
  border-right: 1px solid #cfc6b8;
}
.main {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  grid-template-rows: auto minmax(0, 1fr);
  background: var(--bg);
}
#results { display: contents; }
.stage {
  grid-column: 1;
  grid-row: 2;
  min-height: 0;
  overflow: auto;
  padding: 14px 16px 24px;
}
.rail {
  grid-column: 2;
  grid-row: 2;
  min-height: 0;
  overflow: auto;
  padding: 14px;
  background: var(--paper);
  border-left: 1px solid #cfc6b8;
}
.waiting {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  align-self: center;
  justify-self: center;
  margin: 0;
  color: var(--muted);
}
.error { grid-column: 1 / -1; margin: 12px 16px 0; }

.rules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 14px;
}
.rules article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.rules h2 { margin: 0 0 4px; font-size: 14px; }
.rules p { margin: 0; color: var(--muted); font-size: 13px; }

.panel {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  align-items: end;
}
.span-2 { grid-column: 1 / -1; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  min-width: 0;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d9d0c3;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.field input,
.field select {
  height: 44px;
  padding: 0 12px;
}
.field textarea {
  min-height: 88px;
  padding: 10px 12px;
  resize: vertical;
}
.field.check {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.field.check input { width: 18px; height: 18px; }
.indicator-picks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.button-row { display: flex; gap: 8px; }
.button-row .primary,
.button-row .secondary { width: auto; flex: 1; padding: 0 12px; }
.strategy-table tr { cursor: pointer; }
.strategy-table tr[aria-selected="true"] > td { background: #f7f1e6; }
.strategy-rules { margin: 8px 0 0; padding-left: 18px; color: var(--ink); }
.strategy-rules li { margin: 4px 0; }
.primary {
  height: 44px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: #f7f1e6;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.primary:disabled { opacity: 0.6; cursor: wait; }
.secondary {
  height: 44px;
  width: 100%;
  border: 1px solid var(--navy);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.secondary:disabled { opacity: 0.6; cursor: wait; }
.primary[aria-pressed="true"],
.secondary[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px #8d6a32;
}

.periods { display: flex; flex-wrap: wrap; gap: 8px; }
.periods button,
.chips button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 6px 10px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.periods button:hover,
.chips button:hover,
.suggest button:hover { background: #f3eee6; }
.periods button[aria-pressed="true"],
.chips button[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.periods button[aria-pressed="true"]:hover,
.chips button[aria-pressed="true"]:hover { background: #244863; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.picked { margin: 0; color: var(--ink); font-size: 14px; }

.combo { position: relative; }
.suggest {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(40, 30, 20, 0.12);
  max-height: 280px;
  overflow: auto;
}
.suggest button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}
.suggest small { color: var(--muted); }

.advanced { margin-top: 14px; }
.advanced summary { cursor: pointer; font-weight: 600; }
.hint { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.advanced .form-grid { margin-top: 12px; }

.error {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fdeceb;
  color: #8d241c;
}

.result-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}
h2 { margin: 0; font-size: 26px; letter-spacing: -0.03em; }
h3 { margin: 14px 0 4px; font-size: 15px; }
.sub, .narrative { margin: 4px 0 0; color: var(--muted); }
.narrative { font-size: 14px; }
.trend {
  display: inline-block;
  margin: 10px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}
.trend.up, .trend.weak-up { background: #fdeceb; color: var(--buy); }
.trend.down, .trend.weak-down { background: #e8f0fa; color: var(--sell); }
.trend.range, .trend.none { background: #f3eee6; color: var(--muted); }
.quote { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.quote strong { display: block; font-size: 28px; letter-spacing: -0.03em; }

.kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.kpi-main { grid-column: 1 / -1; }
.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px 16px;
  min-width: 0;
}
.kpi h3 { margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.kpi .value {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
}
.kpi-main .value { font-size: 28px; }
.kpi-main { background: var(--navy); border-color: var(--navy); color: #f7f1e6; }
.kpi-main h3, .kpi-note { color: #d9cbb8; }
.kpi-note { margin: 6px 0 0; font-size: 13px; }
.kpi-main .up { color: #ffb4aa; }
.kpi-main .down { color: #b7d0f5; }
.kpi-main .flat { color: #f7f1e6; }
.up { color: var(--buy); }
.down { color: var(--sell); }
.flat { color: var(--ink); }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 12px 0 0;
}
.stats div {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.stats dt { color: var(--muted); font-size: 12px; }
.stats dd {
  margin: 2px 0 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.legend { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.key { font-weight: 700; margin-right: 8px; }
.key.buy { color: var(--buy); }
.key.sell { color: var(--sell); }
.key.muted { color: #8a8175; }
.key.ink { color: var(--navy); }
.key.amber { color: var(--amber); }
.key.mid { color: #0f766e; }

.chart-box {
  width: 100%;
  background: #fffdf8;
  border: 1px solid #efe8dc;
  border-radius: 12px;
  overflow: hidden;
}
.chart-box.tall { height: calc(100vh - 520px); min-height: 340px; }
.chart-box.mid { height: 220px; }
.chart-box.short { height: 168px; }
.subcharts {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.advanced .rules { margin-top: 10px; }
.oscillators { margin-top: 12px; }
.oscillators .subcharts { grid-template-columns: 1fr 1fr; }
.rail-foot { margin: 12px 0 0; color: var(--muted); font-size: 12px; }

.trade-unit { margin: 0 0 6px; }
.trade-wrap {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 520px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
}
.trade-table {
  table-layout: fixed;
  width: 100%;
  font-size: 12px;
}
.trade-table th,
.trade-table td {
  padding: 7px 4px;
  white-space: normal;
  text-align: right;
  vertical-align: top;
}
.trade-table td > div:first-child {
  white-space: nowrap;
}
.trade-table td .sub { white-space: nowrap; }
.trade-table th.left,
.trade-table td.left { text-align: left; }
.trade-table thead th {
  top: 0;
  font-size: 12px;
  white-space: nowrap;
}
.trade-table tbody tr:nth-child(even) { background: transparent; }
.trade-table tbody tr.trade-main:hover > td,
.trade-table tbody tr.trade-main:hover + tr.trade-reason > td,
.trade-table tbody tr.trade-reason:hover > td,
.trade-table tbody tr.trade-main:has(+ tr.trade-reason:hover) > td { background: #efe6d8; }
.trade-table .trade-main td { border-top: 1px solid var(--line); }
.trade-table .trade-main:first-child td { border-top: 0; }
.trade-table .sub {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
}
.trade-table .sub.buy,
.trade-table td.up .sub { color: var(--buy); }
.trade-table .side { min-width: 0; padding: 1px 7px; font-size: 11.5px; margin-top: 3px; }
.trade-table .trade-reason td {
  padding: 0 6px 8px;
  text-align: left;
  color: var(--muted);
  font-size: 11.5px;
  border-bottom: 1px solid var(--line);
}
.trade-table td.up { color: var(--buy); font-weight: 650; }
.trade-table td.down { color: var(--sell); font-weight: 650; }
.trade {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.trade header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.trade time { font-weight: 700; }
.trade dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  margin: 8px 0 0;
}
.trade dl div { min-width: 0; }
.trade dt { color: var(--muted); font-size: 12px; }
.trade dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.trade p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.table-wrap {
  overflow: auto;
  max-height: 480px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td {
  padding: 10px 12px;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
th.left, td.left, td.reason { text-align: left; }
td.reason { white-space: normal; min-width: 200px; }
th {
  position: sticky;
  top: 0;
  background: #f3eee6;
  font-weight: 600;
}
tbody tr:nth-child(even) { background: #fffdf8; }
tbody tr:hover > td { background: #efe6d8; }
.side {
  display: inline-block;
  min-width: 42px;
  text-align: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-weight: 700;
}
.side.buy { background: #fdeceb; color: var(--buy); }
.side.sell { background: #e8f0fa; color: var(--sell); }

.applied {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.news { display: grid; gap: 10px; }
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 14px;
  padding: 12px 14px;
}
.news-card.positive { border-left-color: var(--buy); }
.news-card.negative { border-left-color: var(--sell); }
.news-card.mixed { border-left-color: var(--amber); }
.news-card.neutral { border-left-color: #b7aa98; }
.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 4px;
}
.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
}
.badge.positive { background: #fdeceb; color: var(--buy); }
.badge.negative { background: #e8f0fa; color: var(--sell); }
.badge.mixed { background: #fbf3e4; color: var(--amber); }
.badge.neutral { background: #f3eee6; color: var(--muted); }
.badge.scope { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.news-card a {
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}
.news-card a:hover { text-decoration: underline; }
.news-card p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.news-card .why { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.scan-workspace {
  grid-template-columns: 300px minmax(0, 1fr);
}
.strategy-workspace {
  grid-template-columns: 340px minmax(0, 1fr);
}
.strategy-list { max-height: calc(100vh - 168px); overflow: auto; }
.preview-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.condition-box {
  margin: 0;
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 8px;
}
.condition-box legend {
  padding: 0 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.preview-panel {
  margin-bottom: 22px;
}
.preview-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.preview-tools .field { width: min(420px, 100%); }
.preview-kpi {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.preview-kpi.up { color: var(--buy); }
.preview-kpi.down { color: var(--sell); }
.preview-chart { height: 420px; }
.preview-subs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.preview-subs h3 { margin: 0; font-size: 14px; }
.preview-subs .legend { margin: 2px 0 4px; font-size: 12px; color: var(--muted); }
.preview-trades { max-height: 280px; margin-top: 8px; }
.preview-trades th.num,
.preview-trades td.num { text-align: right; font-variant-numeric: tabular-nums; }
.preview-trades .expect { display: block; margin-top: 2px; color: #6f675e; font-size: 11px; font-weight: 500; }
.preview-trades .side {
  display: inline-block;
  margin-left: 6px;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 12px;
  font-weight: 700;
}
.preview-trades .side.buy { background: #fdeceb; color: var(--buy); }
.preview-trades .side.sell { background: #e8f0fa; color: var(--sell); }
.scan-main {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 14px 16px 24px;
  background: var(--bg);
}
.scan-results,
.trend-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.scan-panel {
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.scan-panel > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.scan-panel h2 {
  margin: 0;
  font-size: 16px;
}
.scan-panel h2 span {
  margin-left: 6px;
  color: var(--muted);
  font-weight: 600;
}
.scan-panel h2 span.trend { margin-left: 0; margin-right: 8px; }
.scan-panel h2 span.trend.up,
.scan-panel h2 span.trend.weak-up { background: #fdeceb; color: var(--buy); }
.scan-panel h2 span.trend.down,
.scan-panel h2 span.trend.weak-down { background: #e8f0fa; color: var(--sell); }
.scan-panel h2 span.trend.range,
.scan-panel h2 span.trend.none { background: #f3eee6; color: var(--muted); }
.scan-panel > header p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.buy-panel h2 { color: var(--buy); }
.sell-panel h2 { color: var(--sell); }
.table-wrap {
  overflow: auto;
  max-height: calc(100vh - 180px);
}
.scan-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.scan-panel th,
.scan-panel td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.scan-panel th {
  position: sticky;
  top: 0;
  background: #f7f1e6;
  color: var(--muted);
  font-weight: 600;
  z-index: 1;
}
.scan-panel td a {
  color: var(--navy);
  font-weight: 650;
  text-decoration: none;
}
.scan-panel td a:hover { text-decoration: underline; }
.scan-panel td.up { color: var(--buy); font-weight: 650; }
.scan-panel td.down { color: var(--sell); font-weight: 650; }
.scan-panel .trend { margin: 0; white-space: nowrap; }
.journal-kpis { display: grid; gap: 10px; margin-top: 14px; }
.journal-kpis article,
.journal-kpis .stats {
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.journal-kpis h2 { margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.journal-kpis .value { margin: 4px 0 0; font-size: 22px; font-weight: 700; }
.journal-dash { margin-bottom: 18px; }
.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.dash-cards article {
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.dash-cards h3 { margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.dash-cards .value { margin: 6px 0 0; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.dash-cards .sub { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.dash-bar {
  display: flex;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8dfd2;
}
.dash-bar .win { background: var(--buy); }
.dash-bar .loss { background: var(--sell); }
.dash-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dash-rank { list-style: none; margin: 0; padding: 4px 12px 10px; }
.dash-rank li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.dash-rank button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--navy);
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.dash-rank li:hover { background: #efe6d8; }
.dash-rank button:hover { text-decoration: underline; }
.view-switch { display: flex; align-items: center; gap: 8px; }
.view-switch .secondary { width: auto; height: 36px; padding: 0 12px; }
.view-switch .secondary[aria-pressed="true"] {
  background: var(--navy);
  color: #f7f1e6;
  box-shadow: none;
}
.journal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 10px;
}
.journal-head h2 { margin: 0; font-size: 18px; }
.journal-head p { margin: 0; color: var(--muted); }
.journal-day { margin-bottom: 12px; }
.journal-day-table { max-height: calc(100vh - 150px); }
.journal-stock-table { max-height: calc(100vh - 220px); border: 1px solid var(--line); border-radius: 16px; background: rgba(255,253,248,0.96); }
.journal-day-section { margin-bottom: 22px; }
.journal-day-section .hint { margin-top: 0; }
.control-pane .field select { height: 44px; width: 100%; }
.journal-stocks .table-wrap { max-height: 560px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,253,248,0.96); }
#stock-table { width: 100%; border-collapse: collapse; }
.journal-kpis .stats { grid-template-columns: 1fr; margin: 0; }
.journal-kpis .stats div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.journal-kpis .stats dd { margin: 0; text-align: right; }

.progress-wrap {
  height: 8px;
  background: #e8dfd2;
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: var(--navy);
  transition: width 0.2s ease;
}

@media (max-width: 1180px) {
  body { height: auto; overflow: auto; }
  .shell { height: auto; min-height: 100vh; }
  .workspace, .main, .scan-workspace, .scan-results, .trend-results { display: block; }
  .control-pane { border-right: 0; border-bottom: 1px solid #cfc6b8; }
  #results { display: block; }
  .stage, .rail { overflow: visible; }
  .chart-box.tall { height: 480px; }
  .subcharts, .oscillators .subcharts, .dash-cards, .dash-split { grid-template-columns: 1fr; }
  .top-note { display: none; }
  .table-wrap { max-height: none; }
}
