/* Firescreen — 다크 3-패널 코쿠핏
   한국 시장 색 관례: 상승=빨강, 하락=파랑 */
:root {
  --bg:        #0b0e14;
  --bg-2:      #121722;
  --panel:     #151b28;
  --card:      #1a2130;
  --card-2:    #202839;
  --border:    #2a3346;
  --text:      #e6ebf5;
  --text-2:    #9aa7bd;
  --muted:     #5f6b82;
  --accent:    #ff7a18;   /* firescreen 오렌지 */
  --accent-2:  #ffb15c;
  --up:        #ff4d4f;   /* 상승 빨강 */
  --down:      #3b82f6;   /* 하락 파랑 */
  --ok:        #22c55e;
  --warn:      #f59e0b;
  --down-st:   #ef4444;
  --unknown:   #6b7280;
  --radius:    12px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 70% -10%, #17203044, transparent),
              var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Malgun Gothic", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  display: flex;
  flex-direction: column;
}

/* ── 상단 바 ─────────────────────────────── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px;
  background: linear-gradient(90deg, #121722, #0e131d);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.logo { font-size: 22px; }
.title { font-size: 18px; font-weight: 700; letter-spacing: .3px; }
.subtitle { color: var(--text-2); font-size: 12px; }
.stage-badge {
  margin-left: 6px; font-size: 11px; color: var(--accent-2);
  border: 1px solid #4a3a20; background: #241b0e; padding: 2px 8px; border-radius: 999px;
}
.topbar-right { display: flex; align-items: center; gap: 16px; }
.session { font-size: 12px; color: var(--text-2); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 999px; }
.session.open { color: var(--up); border-color: #5b2326; background: #2a1416; }
.session.pre, .session.after { color: var(--warn); border-color: #4a3a20; background: #241b0e; }
.clock { font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 600; }
.hub-health { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.hub-health .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--unknown); }
.hub-health.ok .dot { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.hub-health.down .dot { background: var(--down-st); }

/* ── 3-패널 레이아웃 ─────────────────────── */
.layout {
  flex: 1; min-height: 0;
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  gap: 12px; padding: 12px;
}
.panel { min-height: 0; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.panel::-webkit-scrollbar { width: 8px; }
.panel::-webkit-scrollbar-thumb { background: #26304333; border-radius: 8px; }

/* ── 카드 ────────────────────────────────── */
.card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.card.grow { flex: 1; min-height: 120px; }
.card h3 {
  margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.card-head h3 { margin: 0; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.soon { font-size: 10px; color: var(--accent-2); border: 1px solid #4a3a20;
  background: #241b0e; padding: 1px 7px; border-radius: 999px; font-weight: 500; }
.hint, .muted { color: var(--muted); }
.hint { font-size: 11px; margin: 10px 0 0; }
.pad { padding: 18px 6px; }

/* ── 네비 ────────────────────────────────── */
.nav { display: flex; flex-direction: column; gap: 6px; }
.nav-item {
  text-align: left; background: var(--card); color: var(--text-2);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; font-size: 13px; cursor: pointer; transition: .15s;
}
.nav-item:hover { color: var(--text); border-color: #3a4560; }
.nav-item.active { color: #fff; background: linear-gradient(90deg, #2a1d0e, #1f2636);
  border-color: var(--accent); }

/* ── 알림 / 로드맵 ───────────────────────── */
.alert-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.alert-list li { font-size: 12px; padding: 8px 10px; border-radius: 8px; background: #10151f;
  border-left: 3px solid var(--border); }
.alert-list li.ok   { border-left-color: var(--ok); }
.alert-list li.warn { border-left-color: var(--warn); }
.alert-list li.down { border-left-color: var(--down-st); }
.roadmap { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 12px; line-height: 1.9; }
.roadmap li.done { color: var(--ok); }
.roadmap li.next { color: var(--accent-2); font-weight: 600; }

/* ── KPI ─────────────────────────────────── */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: #10151f; border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.kpi-label { font-size: 11px; color: var(--text-2); margin-bottom: 6px; }
.kpi-val { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── 시스템 그리드 ───────────────────────── */
.system-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.sys {
  background: #10151f; border: 1px solid var(--border); border-radius: 10px;
  padding: 12px; display: flex; flex-direction: column; gap: 6px; position: relative;
}
.sys-top { display: flex; align-items: center; gap: 8px; }
.sys-icon { font-size: 18px; }
.sys-name { font-size: 13px; font-weight: 600; }
.sys-status {
  position: absolute; top: 10px; right: 10px;
  font-size: 10px; padding: 2px 8px; border-radius: 999px; font-weight: 600;
}
.sys-status.ok       { color: #052e12; background: var(--ok); }
.sys-status.degraded { color: #2a1b02; background: var(--warn); }
.sys-status.down     { color: #fff;    background: var(--down-st); }
.sys-status.unknown  { color: #e6ebf5; background: var(--unknown); }
.sys-meta { font-size: 11px; color: var(--text-2); }
.sys-note { font-size: 10.5px; color: var(--muted); line-height: 1.4; }
.sys-badge { font-size: 9.5px; color: var(--accent-2); border: 1px solid #4a3a20;
  background: #241b0e; padding: 1px 6px; border-radius: 999px; align-self: flex-start; }

/* ── 인프라 모니터 + 봇 제어 (3단계) ────────── */
.metrics-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px; margin-bottom: 12px; }
.metric { background: #10151f; border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; }
.metric .ml { font-size: 11px; color: var(--text-2); display: flex; justify-content: space-between; }
.metric .mv { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 2px; }
.bar { height: 5px; border-radius: 3px; background: #0a0e16; margin-top: 6px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--ok); }
.bar.warn > i { background: var(--warn); } .bar.crit > i { background: var(--down-st); }
.svc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.svc { background: #10151f; border: 1px solid var(--border); border-radius: 10px; padding: 11px; }
.svc-head { display: flex; align-items: center; gap: 8px; }
.svc-name { font-size: 13px; font-weight: 600; }
.svc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--unknown); margin-left: auto; }
.svc-dot.up { background: var(--ok); box-shadow: 0 0 7px var(--ok); }
.svc-dot.down { background: var(--down-st); }
.svc-units { font-size: 10.5px; color: var(--text-2); margin: 6px 0; line-height: 1.5; }
.svc-btns { display: flex; gap: 5px; margin-top: 8px; }
.svc-btns .btn { flex: 1; padding: 4px 0; font-size: 11px; text-align: center; }
.btn-danger { border-color: #5b2326; color: #ff8f8f; }
.btn-danger:hover { background: #2a1416; border-color: var(--down-st); color: #fff; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* ── 버튼 ────────────────────────────────── */
.btn {
  background: var(--card-2); color: var(--text); border: 1px solid var(--border);
  border-radius: 8px; padding: 5px 10px; font-size: 12px; cursor: pointer;
}
.btn:hover { border-color: var(--accent); color: #fff; }
.poll-info { font-size: 11px; color: var(--muted); }

/* ── 트레이딩 뷰 ─────────────────────────── */
.chart { width: 100%; height: 280px; }
.chart-price { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ws-mode { font-size: 11px; color: var(--text-2); border: 1px solid var(--border);
  padding: 2px 9px; border-radius: 999px; }
.ws-mode.ws   { color: var(--ok); border-color: #1f5133; background: #0e2417; }
.ws-mode.rest { color: var(--warn); border-color: #4a3a20; background: #241b0e; }
.ws-mode.off  { color: var(--muted); }
.quote-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.quote-table th { text-align: left; color: var(--text-2); font-weight: 500; font-size: 11px;
  padding: 6px 8px; border-bottom: 1px solid var(--border); }
.quote-table th.r, .quote-table td.r { text-align: right; font-variant-numeric: tabular-nums; }
.quote-table td { padding: 8px; border-bottom: 1px solid #1c2434; }
.quote-table tbody tr { cursor: pointer; }
.quote-table tbody tr:hover { background: #172032; }
.quote-table tbody tr.sel { background: #1f2637; }
.quote-table .nm { font-weight: 600; }
.quote-table .cd { color: var(--muted); font-size: 11px; margin-left: 6px; }
.up   { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--text-2); }
.flash-up   { animation: fu .6s; }
.flash-down { animation: fd .6s; }
@keyframes fu { from { background: #3a1618; } to { background: transparent; } }
@keyframes fd { from { background: #132a4a; } to { background: transparent; } }
.balance-box { display: flex; flex-direction: column; gap: 8px; }
.bal-acct { background: #10151f; border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; }
.bal-acct .h { font-weight: 600; font-size: 13px; }
.bal-acct .s { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.held-badge { font-size: 9.5px; color: #052e12; background: var(--ok);
  padding: 1px 6px; border-radius: 999px; margin-left: 6px; font-weight: 700; }
.hold-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12px; }
.hold-table td { padding: 4px 6px; border-bottom: 1px solid #1c2434; }
.hold-table td.r { text-align: right; font-variant-numeric: tabular-nums; }
.hold-table td.cd { color: var(--muted); font-size: 11px; }

/* ── 번개 주문 (2단계) ─────────────────────── */
.order-mode { font-size: 11px; padding: 2px 10px; border-radius: 999px; font-weight: 700; }
.order-mode.dryrun { color: #052e12; background: var(--ok); }
.order-mode.paper  { color: #2a1b02; background: var(--warn); }
.order-mode.real   { color: #fff; background: var(--down-st); }
.order-form { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; align-items: end; }
.order-form label { font-size: 11px; color: var(--text-2); display: flex; flex-direction: column; gap: 3px; }
.order-form select, .order-form input { background: #0a0e16; border: 1px solid var(--border);
  color: var(--text); border-radius: 6px; padding: 6px 8px; font-size: 13px; }
.order-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.order-amt { font-size: 13px; font-weight: 600; margin-right: auto; }
.btn-buy { border-color: #5b2326; color: #ff8f8f; }
.btn-buy:hover:not(:disabled) { background: #2a1416; color: #fff; border-color: var(--up); }
.order-checks { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.chk { font-size: 12px; padding: 6px 10px; border-radius: 7px; background: #10151f; border-left: 3px solid var(--border); }
.chk.ok { border-left-color: var(--ok); } .chk.no { border-left-color: var(--down-st); color: #ffb3b3; }
.order-log-wrap { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 10px; }
.order-log { display: flex; flex-direction: column; gap: 4px; max-height: 180px; overflow-y: auto; }
.olog { display: flex; gap: 8px; font-size: 11.5px; padding: 5px 8px; background: #10151f; border-radius: 6px; align-items: center; }
.olog .st { font-size: 9.5px; padding: 1px 6px; border-radius: 999px; font-weight: 700; }
.olog .st.dryrun, .olog .st.paper { background: #3a2e14; color: #ffcf7a; }
.olog .st.filled, .olog .st.suggested { background: #123a1c; color: #7ee0a0; }
.olog .st.rejected, .olog .st.failed { background: #3a1618; color: #ff8f8f; }
.olog .ol-side.BUY { color: var(--up); } .olog .ol-side.SELL { color: var(--down); }
.olog .ol-msg { color: var(--muted); margin-left: auto; text-align: right; }

/* ── 인컴·리포트 뷰 (4단계) ────────────────── */
.gauge-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.gauge-box { background: #10151f; border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.gauge-label { font-size: 12px; color: var(--text-2); margin-bottom: 8px; }
.gauge { position: relative; height: 26px; background: #0a0e16; border-radius: 6px; overflow: hidden; }
.gauge > i { position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: linear-gradient(90deg, #2e6b3a, var(--ok)); transition: width .5s; }
.gauge.fire > i { background: linear-gradient(90deg, #7a4a12, var(--accent)); }
.gauge > span { position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 12px; font-weight: 700; z-index: 1; }
.settings-inline { display: flex; gap: 12px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.settings-inline label { font-size: 12px; color: var(--text-2); display: flex; gap: 6px; align-items: center; }
.settings-inline input { width: 130px; background: #0a0e16; border: 1px solid var(--border);
  color: var(--text); border-radius: 7px; padding: 5px 8px; font-size: 12px; }
.income-chart { display: flex; align-items: flex-end; gap: 8px; height: 200px; padding: 10px 4px 0; }
.ic-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.ic-stack { width: 60%; display: flex; flex-direction: column-reverse; border-radius: 3px 3px 0 0; overflow: hidden; }
.ic-seg { width: 100%; }
.ic-seg.div  { background: #ff4d4f; } .ic-seg.int { background: #f59e0b; }
.ic-seg.rent { background: #22c55e; }
.ic-loan { width: 60%; background: #3b82f6; opacity: .8; border-radius: 0 0 3px 3px; }
.ic-mlabel { font-size: 10px; color: var(--text-2); margin-top: 5px; }
.ic-val { font-size: 9px; color: var(--muted); }
.dot-legend { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin: 0 2px 0 4px; }
.dot-legend.div { background: #ff4d4f; } .dot-legend.int { background: #f59e0b; }
.dot-legend.rent { background: #22c55e; } .dot-legend.loan { background: #3b82f6; }
.maturity-list { display: flex; flex-direction: column; gap: 7px; }
.mat { display: flex; align-items: center; gap: 10px; background: #10151f; border: 1px solid var(--border);
  border-radius: 8px; padding: 9px 12px; font-size: 13px; }
.mat .dday { font-weight: 700; font-variant-numeric: tabular-nums; margin-left: auto; }
.mat.soon { border-color: #5b2326; } .mat.soon .dday { color: var(--up); }
.mat.warn { border-color: #4a3a20; } .mat.warn .dday { color: var(--warn); }
.income-form { background: #10151f; border: 1px solid var(--border); border-radius: 10px;
  padding: 12px; margin-bottom: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.income-form label { font-size: 11px; color: var(--text-2); display: flex; flex-direction: column; gap: 3px; }
.income-form input, .income-form select { background: #0a0e16; border: 1px solid var(--border);
  color: var(--text); border-radius: 6px; padding: 5px 7px; font-size: 12px; }
.income-form .form-actions { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; }
.type-badge { font-size: 10px; padding: 1px 7px; border-radius: 999px; font-weight: 600; }
.type-badge.dividend { background: #3a1618; color: #ff8f8f; }
.type-badge.interest { background: #3a2e14; color: #ffcf7a; }
.type-badge.rent { background: #123a1c; color: #7ee0a0; }
.type-badge.loan { background: #132a4a; color: #8fb8ff; }
.icon-btn { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 13px; }
.icon-btn:hover { color: var(--down-st); }

/* ── 코인 변동성돌파 신호 (6단계) ──────────── */
.signal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.sig { background: #10151f; border: 1px solid var(--border); border-radius: 10px; padding: 11px; }
.sig.on { border-color: var(--up); background: #1a1113; }
.sig-head { display: flex; align-items: center; gap: 6px; }
.sig-name { font-size: 13px; font-weight: 600; }
.sig-bot { font-size: 9px; background: #241b0e; color: var(--accent-2); border: 1px solid #4a3a20;
  padding: 1px 5px; border-radius: 999px; }
.sig-state { margin-left: auto; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.sig-state.on { background: var(--up); color: #fff; } .sig-state.off { background: var(--unknown); color: #e6ebf5; }
.sig-row { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-2); margin-top: 5px; }
.sig-row b { color: var(--text); font-variant-numeric: tabular-nums; }
.coin-bot-badge { font-size: 9px; background: #241b0e; color: var(--accent-2);
  border: 1px solid #4a3a20; padding: 1px 5px; border-radius: 999px; margin-left: 6px; }

/* ── Wellness 뷰 (7단계) ───────────────────── */
.checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.chk-item { display: flex; align-items: center; gap: 10px; background: #10151f; border: 1px solid var(--border);
  border-radius: 9px; padding: 10px 12px; cursor: pointer; transition: .15s; }
.chk-item:hover { border-color: #3a4560; }
.chk-item.done { background: #0e2417; border-color: #1f5133; }
.chk-box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--muted);
  display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.chk-item.done .chk-box { background: var(--ok); border-color: var(--ok); color: #052e12; }
.chk-name { font-size: 13px; } .chk-item.done .chk-name { color: var(--text-2); }
.chk-time { font-size: 10px; color: var(--muted); margin-left: auto; }
.metric-log { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; }
.mlog { background: #10151f; border: 1px solid var(--border); border-radius: 7px; padding: 6px 9px;
  font-size: 11px; white-space: nowrap; }
.mlog b { font-variant-numeric: tabular-nums; }
.mlog.high b { color: var(--down-st); } .mlog.elevated b { color: var(--warn); } .mlog.normal b { color: var(--ok); }
.health-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.health-grid .card { margin: 0; }
.med-list { display: flex; flex-direction: column; gap: 6px; }
.med { display: flex; align-items: center; gap: 8px; background: #10151f; border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 11px; font-size: 13px; }
.med .dose { color: var(--text-2); font-size: 11px; }
.med .sch { color: var(--accent-2); font-size: 11px; margin-left: auto; }
.cal-list { display: flex; flex-direction: column; gap: 6px; }
.cal-ev { display: flex; align-items: center; gap: 10px; background: #10151f; border: 1px solid var(--border);
  border-radius: 8px; padding: 9px 12px; font-size: 13px; }
.cal-ev .cd-date { color: var(--text-2); font-size: 11px; font-variant-numeric: tabular-nums; min-width: 96px; }
.cal-ev .cd-dday { margin-left: auto; font-size: 11px; font-weight: 700; }
.cal-ev.today { border-color: var(--accent); }

/* ── 취미 뷰 (8단계) ───────────────────────── */
.grass { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 1fr); gap: 3px;
  overflow-x: auto; padding-bottom: 4px; }
.grass .g { width: 13px; height: 13px; border-radius: 3px; background: #10151f; }
.grass .g.l1 { background: #1f3a24; } .grass .g.l2 { background: #2e6b3a; }
.grass .g.l3 { background: #3fa356; } .grass .g.l4 { background: #57d97a; }
.grass-legend { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--muted); margin-top: 8px; }
.grass-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.grass-legend .l0 { background: #10151f; } .grass-legend .l1 { background: #1f3a24; }
.grass-legend .l2 { background: #2e6b3a; } .grass-legend .l3 { background: #3fa356; } .grass-legend .l4 { background: #57d97a; }
.weekly-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.wk { background: #10151f; border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; }
.wk-head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.wk-cnt { margin-left: auto; font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.wk-bar { height: 6px; background: #0a0e16; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.wk-bar > i { display: block; height: 100%; background: linear-gradient(90deg, #2e6b3a, var(--ok)); }
.wk-bar.done > i { background: linear-gradient(90deg, #7a4a12, var(--accent)); }
.wk .icon-btn { float: right; }
.shadow-en { font-size: 16px; font-weight: 600; margin: 4px 0; }
.shadow-ko { font-size: 13px; color: var(--text-2); margin: 0; }

/* ── 우측 위젯 ───────────────────────────── */
.today { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.mini-cal { list-style: none; padding: 0; margin: 0; font-size: 12px; }
.watchlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; }
.watchlist li { display: flex; justify-content: space-between; font-size: 12px;
  padding: 6px 8px; background: #10151f; border-radius: 7px; }
.watchlist li .code { color: var(--muted); font-variant-numeric: tabular-nums; }
.heatmap { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; }
.heatmap .cell { aspect-ratio: 1; border-radius: 3px; background: #10151f; }
.heatmap .l1 { background: #1f3a24; } .heatmap .l2 { background: #2e6b3a; }
.heatmap .l3 { background: #3fa356; } .heatmap .l4 { background: #57d97a; }
.quote-text { font-size: 13px; line-height: 1.6; color: var(--text-2); font-style: italic; margin: 0; }

/* ── 푸터 ────────────────────────────────── */
.footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 18px; font-size: 11px; color: var(--muted);
  border-top: 1px solid var(--border); background: #0e131d;
}

/* ── 반응형 ──────────────────────────────── */
@media (max-width: 1100px) {
  .layout { grid-template-columns: 1fr; }
  .panel { overflow: visible; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
}
