/* Alpaca 봇 대시보드 — 슬레이트 다크 (글래스모피즘). 이익=빨강, 손실=파랑(국내 증시 관례).
   이전 디자인은 /static/classic/app.css (화면 /classic) 에 그대로 있다. */
:root {
  color-scheme: dark;
  --page: #0f172a;                         /* slate-900 */
  --surface: #1e293b;                      /* slate-800 (불투명 — 차트 링·입력칸) */
  --card: rgba(30, 41, 59, 0.62);          /* 카드: 반투명 + 블러 */
  --surface-2: rgba(51, 65, 85, 0.38);     /* 카드 안 타일 */
  --ink: #f1f5f9;
  --ink-2: #cbd5e1;
  --muted: #94a3b8;
  --axis-text: #8391a7;
  --grid: rgba(148, 163, 184, 0.10);
  --axis: rgba(148, 163, 184, 0.28);
  --border: rgba(148, 163, 184, 0.14);
  --up: #f87171;
  --down: #60a5fa;
  --up-text: #f87171;
  --down-text: #60a5fa;
  --bar-neutral: #7c8ba1;
  --good: #34d399;
  --warning: #fbbf24;
  --serious: #fb923c;
  --critical: #f43f5e;
  --danger-bg: #dc2626;
  --focus: #60a5fa;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 30px -12px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --sans: "Pretendard", "Inter", system-ui, -apple-system, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --mono: "JetBrains Mono", "D2Coding", "Cascadia Mono", "SF Mono", "Roboto Mono", Consolas, ui-monospace, monospace;
  font-family: var(--sans);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  color: var(--ink); font-size: 14.5px; line-height: 1.55; -webkit-text-size-adjust: 100%;
  word-break: keep-all; overflow-wrap: break-word;
  background:
    radial-gradient(900px 500px at 8% -10%, rgba(56, 189, 248, 0.07), transparent 60%),
    radial-gradient(800px 600px at 105% 10%, rgba(99, 102, 241, 0.07), transparent 60%),
    var(--page);
  background-attachment: fixed;
  min-height: 100vh;
}
button { font: inherit; color: inherit; }
a { color: var(--down-text); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.up { color: var(--up-text); }
.down { color: var(--down-text); }
.hidden { display: none !important; }

/* ── 최상단 상태 바 ─────────────────────────── */
.statusbar {
  border-bottom: 1px solid var(--border); background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.sb-inner, .tabs-inner, main { max-width: 1200px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.sb-inner { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.sb-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { width: 22px; height: 22px; }
.bot-state { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border: 1px solid var(--border);
  border-radius: 999px; background: var(--surface-2); white-space: nowrap; }
.bot-light { width: 10px; height: 10px; border-radius: 50%; background: var(--bar-neutral); flex: none; }
.bot-light.good { background: var(--good); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18), 0 0 12px rgba(52, 211, 153, 0.7);
  animation: pulse 2.4s ease-in-out infinite; }
.bot-light.warning { background: var(--warning); box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18), 0 0 10px rgba(251, 191, 36, 0.6); }
.bot-light.critical { background: var(--critical); box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.2), 0 0 12px rgba(244, 63, 94, 0.7); }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.08), 0 0 16px rgba(52, 211, 153, 0.45); } }
@media (prefers-reduced-motion: reduce) { .bot-light.good { animation: none; } }
.bot-label { display: flex; align-items: baseline; gap: 6px; font-size: 13.5px; }
.bot-label .k { color: var(--muted); font-size: 12px; }
.conns { display: flex; gap: 6px; flex-wrap: wrap; margin-right: auto; }
.lamp { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); padding: 3px 9px;
  border: 1px solid var(--border); border-radius: 999px; white-space: nowrap; }
.lamp .lamp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bar-neutral); }
.lamp.good .lamp-dot { background: var(--good); }
.lamp.warning .lamp-dot { background: var(--warning); }
.lamp.critical .lamp-dot { background: var(--critical); }
.lamp.critical { color: var(--ink); border-color: rgba(244, 63, 94, 0.4); }
.sb-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.sb-actions .btn { padding: 4px 9px; font-size: 12px; white-space: nowrap; }
@media (max-width: 720px) {
  .sb-inner { gap: 10px; }
  .sb-left { flex: 1; gap: 10px; }
  .brand-name { display: none; }
  .conns { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sb-actions { order: 4; width: 100%; justify-content: flex-end; }
  .conns::-webkit-scrollbar { display: none; }
}

/* ── 탭 ─────────────────────────── */
.tabs { position: sticky; top: 0; z-index: 20; background: rgba(15, 23, 42, 0.82); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.tabs-inner { display: flex; align-items: center; gap: 2px; }
.tab-list { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; width: 100%; }
.tab-list::-webkit-scrollbar { display: none; }
.tab { border: 0; background: transparent; padding: 11px 12px 12px; cursor: pointer; color: var(--muted); font-weight: 550;
  border-bottom: 2px solid transparent; white-space: nowrap; font-size: 14px; }
.tab:hover { color: var(--ink-2); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--down); }

/* ── 공통 ─────────────────────────── */
main { padding-top: 20px; padding-bottom: 48px; }
main.loading { opacity: 0.55; transition: opacity 0.15s; }
.btn { border: 1px solid var(--border); background: rgba(51, 65, 85, 0.35); border-radius: 9px; padding: 5px 11px;
  cursor: pointer; font-size: 13px; color: var(--ink-2); text-decoration: none; display: inline-block; }
.btn:hover { background: rgba(71, 85, 105, 0.45); color: var(--ink); }
.btn.ghost { background: transparent; }
.btn.danger { background: var(--danger-bg); border-color: #ef4444; color: #fff; font-weight: 650; }
.btn.danger:hover { background: #b91c1c; }
.btn.primary { background: var(--ink); color: var(--page); border-color: var(--ink); font-weight: 650; }
.btn.primary:hover { background: var(--ink-2); }
.btn.primary:disabled, .btn:disabled { opacity: 0.55; cursor: default; }
.btn.block { display: block; width: 100%; padding: 11px 14px; font-size: 15px; text-align: center; }
.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 860px) { .cols-2 { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow); min-width: 0; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.card h2 { font-size: 14px; margin: 0 0 4px; font-weight: 650; color: var(--ink); letter-spacing: 0.01em; }
.card .sub { color: var(--muted); font-size: 12.5px; margin: 0 0 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-head h2 { margin: 0; }
.card-head .btn { padding: 3px 9px; font-size: 12px; }
.gap-top { margin-top: 16px; }
main > .card + .card, main > .card + .grid, main > .grid + .card, main > .filters + .card,
main > .grid + .grid, main > .kpis + .grid { margin-top: 16px; }
.section-title { font-size: 16px; font-weight: 650; margin: 22px 0 10px; }
.card h3.section-title { font-size: 14px; margin: 18px 0 6px; }
.note { color: var(--muted); font-size: 12.5px; margin: 8px 0 0; }
.empty { color: var(--muted); padding: 22px 0; text-align: center; }
.banner { border: 1px solid rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.07); border-radius: 12px;
  padding: 10px 12px; margin-bottom: 14px; font-size: 13.5px; }
.more { margin-top: 10px; text-align: center; }
.pre { white-space: pre-line; }
.foot { color: var(--muted); font-size: 12px; margin-top: 32px; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px;
  border: 1px solid var(--border); color: var(--ink-2); white-space: nowrap; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bar-neutral); }
.chip.good .dot { background: var(--good); }
.chip.warning .dot { background: var(--warning); }
.chip.serious .dot { background: var(--serious); }
.chip.critical .dot { background: var(--critical); }
.badge { display: inline-block; font-size: 11.5px; padding: 1px 7px; border-radius: 6px; background: var(--surface-2);
  color: var(--ink-2); border: 1px solid var(--border); }

/* ── 개요: KPI 카드 ─────────────────────────── */
.kpis { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kpi .kpi-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kpi .kpi-title { color: var(--muted); font-size: 12.5px; font-weight: 550; }
.kpi .kpi-tag { color: var(--muted); font-size: 11px; border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; }
.kpi .kpi-value { font-family: var(--mono); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; margin: 10px 0 2px;
  line-height: 1.15; overflow-wrap: anywhere; }
.kpi .kpi-delta { font-family: var(--mono); font-size: 13.5px; }
.kpi .kpi-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--grid); color: var(--muted); font-size: 12.5px;
  display: flex; flex-wrap: wrap; gap: 4px 14px; }
.kpi .kpi-foot b { color: var(--ink-2); font-weight: 600; }

/* ── 개요: 타임라인 + 보유 종목 ─────────────────────────── */
.main-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 960px) { .main-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.timeline { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow-y: auto; scrollbar-width: thin; }
.tl-date { font-size: 11.5px; color: var(--muted); padding: 12px 0 6px; letter-spacing: 0.04em; position: sticky; top: 0;
  background: linear-gradient(var(--surface) 70%, transparent); z-index: 1; }
.tl-date:first-child { padding-top: 0; }
.tl-item { display: grid; grid-template-columns: 46px 14px 1fr; gap: 10px; align-items: start; position: relative; padding: 4px 0 12px; }
.tl-item::before { content: ""; position: absolute; left: 62px; top: 16px; bottom: -4px; width: 1px; background: var(--grid); }
.tl-item:last-child::before { display: none; }
.tl-time { color: var(--muted); font-size: 12.5px; padding-top: 2px; }
.tl-dot { width: 9px; height: 9px; border-radius: 50%; margin: 6px 0 0 2px; background: var(--bar-neutral); box-shadow: 0 0 0 3px var(--surface); }
.tl-item.buy .tl-dot { background: var(--up); }
.tl-item.sell .tl-dot { background: var(--down); }
.tl-main { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tl-sym { font-family: var(--mono); font-size: 14px; letter-spacing: 0.01em; }
.side { font-size: 11.5px; font-weight: 650; padding: 1px 7px; border-radius: 6px; border: 1px solid; }
.side.buy { color: var(--up-text); border-color: rgba(248, 113, 113, 0.35); background: rgba(248, 113, 113, 0.08); }
.side.sell { color: var(--down-text); border-color: rgba(96, 165, 250, 0.35); background: rgba(96, 165, 250, 0.08); }
.tl-leg { font-size: 11.5px; color: var(--muted); }
.tl-sub { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); font-size: 12.5px; margin-top: 2px; }
.tl-amt { color: var(--muted); }
.mini-table td, .mini-table th { padding: 8px 6px; }
.mini-table td.sym { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.mini-table .sub-pl { display: block; font-size: 11px; color: var(--muted); }
.link-more { font-size: 12.5px; color: var(--muted); text-decoration: none; border: 0; background: none; cursor: pointer; }
.link-more:hover { color: var(--ink); }

/* ── 타일 · 필터 ─────────────────────────── */
.hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 20px; }
.hero .label { color: var(--muted); font-size: 13px; }
.hero .value { font-family: var(--mono); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.hero .delta { font-family: var(--mono); font-size: 15px; padding-bottom: 6px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tiles.six { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tile { background: var(--surface-2); border: 1px solid var(--grid); border-radius: 11px; padding: 10px 12px; min-width: 0; }
.tile .label { color: var(--muted); font-size: 12px; }
.tile .value { font-family: var(--mono); font-size: 18px; font-weight: 600; margin-top: 3px; overflow-wrap: anywhere; letter-spacing: -0.02em; }
.tile .value .chip { font-family: var(--sans); font-size: 13px; padding: 3px 10px; }
.tile .hint { color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.seg { display: inline-flex; background: rgba(30, 41, 59, 0.7); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; border-radius: 7px; padding: 4px 11px; cursor: pointer; color: var(--muted); font-size: 13px; }
.seg button[aria-pressed="true"] { background: rgba(71, 85, 105, 0.6); color: var(--ink); font-weight: 600; }
.toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.toggle input { accent-color: var(--down); }

/* ── 차트 ─────────────────────────── */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.chart .grid-line { stroke: var(--grid); stroke-width: 1; shape-rendering: crispEdges; }
.chart .base-line { stroke: var(--axis); stroke-width: 1; shape-rendering: crispEdges; }
.chart .tick { fill: var(--axis-text); font-size: 10.5px; font-family: var(--mono); }
.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.up { stroke: var(--up); }
.chart .line.down { stroke: var(--down); }
.chart .area.up { fill: var(--up); opacity: 0.10; }
.chart .area.down { fill: var(--down); opacity: 0.10; }
.chart .bar.up { fill: var(--up); }
.chart .bar.down { fill: var(--down); }
.chart .bar.neutral { fill: var(--bar-neutral); }
.chart .bar.hover { opacity: 0.75; }
.chart .cross { stroke: var(--ink-2); stroke-width: 1; opacity: 0.4; }
.chart .marker { stroke: var(--surface); stroke-width: 2; }
.chart .marker.up { fill: var(--up); }
.chart .marker.down { fill: var(--down); }
.chart .hit { fill: transparent; cursor: crosshair; }
.tooltip { position: fixed; z-index: 50; pointer-events: none; background: rgba(15, 23, 42, 0.95); border: 1px solid var(--border);
  border-radius: 9px; padding: 7px 10px; font-size: 12.5px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); min-width: 120px;
  backdrop-filter: blur(8px); }
.tooltip .tv { font-family: var(--mono); font-weight: 600; font-size: 13.5px; }
.tooltip .tl { color: var(--muted); font-size: 11.5px; }
.tooltip .row { display: flex; align-items: center; gap: 6px; }
.tooltip .key { width: 12px; height: 2px; border-radius: 1px; background: var(--bar-neutral); }
.tooltip .key.up { background: var(--up); }
.tooltip .key.down { background: var(--down); }

/* ── 표 ─────────────────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { padding: 8px 8px; text-align: left; border-bottom: 1px solid var(--grid); white-space: nowrap; vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 11.5px; letter-spacing: 0.03em; }
td.r, th.r { text-align: right; }
td.r { font-family: var(--mono); font-variant-numeric: tabular-nums; }
td.wrap { white-space: normal; min-width: 180px; max-width: 360px; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: rgba(51, 65, 85, 0.25); }
tr.detail td { background: rgba(51, 65, 85, 0.2); white-space: normal; }

/* ── 가로 막대 ─────────────────────────── */
.hbars { display: flex; flex-direction: column; gap: 7px; }
.hbar-row { display: grid; grid-template-columns: minmax(72px, 46%) 1fr auto; align-items: center; gap: 8px; font-size: 13px; }
.hbar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.hbar-track { position: relative; height: 10px; }
.hbar-track.div::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--axis); }
.hbar-fill { position: absolute; top: 0; bottom: 0; left: 0; min-width: 2px; border-radius: 0 4px 4px 0; }
.hbar-track.div .hbar-fill { left: auto; }
.hbar-track.div .hbar-fill.down { border-radius: 4px 0 0 4px; }
.hbar-fill.up { background: var(--up); }
.hbar-fill.down { background: var(--down); }
.hbar-fill.neutral { background: var(--bar-neutral); }
.hbar-fill.zero { min-width: 0; }
.hbar-value { min-width: 54px; text-align: right; font-size: 12.5px; font-family: var(--mono); }

/* ── 포지션 카드 ─────────────────────────── */
.pos-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .pos-grid { grid-template-columns: 1fr 1fr; } }
.pos-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pos-head .sym { font-family: var(--mono); font-size: 18px; font-weight: 700; }
.pos-head .pl { margin-left: auto; font-family: var(--mono); font-weight: 600; font-size: 15px; }
.pos-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; margin: 12px 0 4px; font-size: 13px; }
.pos-meta .k { color: var(--muted); font-size: 11.5px; }
.range { margin: 14px 0 6px; }
.range svg { width: 100%; height: 46px; display: block; overflow: visible; }
.range .track { fill: rgba(51, 65, 85, 0.6); }
.range .seg-loss { fill: var(--down); opacity: 0.25; }
.range .seg-gain { fill: var(--up); opacity: 0.25; }
.range .tickmark { stroke: var(--ink-2); stroke-width: 2; }
.range .now.up { fill: var(--up); }
.range .now.down { fill: var(--down); }
.range .now { stroke: var(--surface); stroke-width: 2; }
.range text { font-size: 10.5px; fill: var(--muted); font-family: var(--mono); }
.range text.strong { fill: var(--ink-2); font-weight: 600; }
.rule { font-size: 12px; color: var(--muted); margin-top: 6px; }
.warn-line { font-size: 12.5px; color: var(--ink); margin-top: 8px; }

/* ── 리포트 ─────────────────────────── */
.report-layout { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .report-layout { grid-template-columns: 240px 1fr; } }
.report-list { display: flex; flex-direction: column; gap: 2px; max-height: 70vh; overflow-y: auto; }
.report-list button { text-align: left; border: 0; background: transparent; padding: 7px 10px; border-radius: 8px; cursor: pointer;
  color: var(--ink-2); font-size: 13.5px; font-family: var(--mono); }
.report-list button[aria-current="true"] { background: rgba(71, 85, 105, 0.5); color: var(--ink); font-weight: 600; }
.report-frame { width: 100%; height: 75vh; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.mkt-indexes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .mkt-indexes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 7px 0; border-bottom: 1px solid var(--grid); display: flex; gap: 8px; justify-content: space-between; }
.list-plain li:last-child { border-bottom: 0; }
.summary-lines { margin: 0; padding-left: 18px; }
.summary-lines li { margin: 4px 0; }

/* ── 로그인 화면 ─────────────────────────── */
.login-wrap { max-width: 420px; margin: 12vh auto 0; padding: 0 16px; }
.login-wrap .card { padding: 26px; }
.login-brand { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink-2); margin-bottom: 14px; }
.login-brand img { width: 24px; height: 24px; }
.login-wrap h1 { font-size: 22px; margin: 0 0 4px; }
.login-wrap #send { margin-top: 18px; }
.login-form { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--grid); }
.login-form label { font-size: 12.5px; color: var(--muted); }
.login-form input { font-family: var(--mono); font-size: 24px; letter-spacing: 0.35em; text-align: center; padding: 10px 12px;
  border-radius: 10px; border: 1px solid var(--axis); background: rgba(15, 23, 42, 0.6); color: var(--ink); }
.login-form input::placeholder { letter-spacing: normal; font-size: 15px; color: var(--axis-text); font-family: var(--sans); }
.login-form input:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.login-msg { min-height: 1.5em; margin: 12px 0 0; font-size: 13.5px; color: var(--ink-2); }
.login-msg.good::before { content: "✓ "; color: var(--good); font-weight: 700; }
.login-msg.bad::before { content: "! "; color: var(--critical); font-weight: 700; }
.login-help { margin: 16px 0 0; padding-left: 18px; color: var(--muted); font-size: 12.5px; }
.login-help li { margin: 4px 0; }
