:root {
  --bg: #000;
  --card: #1c1c1e;
  --card-2: #2c2c2e;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --muted: #8e8e93;
  --gold: #f5c518;
  --green: #30d158;
  --blue: #0a84ff;
  --red: #ff453a;
  --nav-h: calc(62px + env(safe-area-inset-bottom));
  --sans: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blue); text-decoration: none; }

#app {
  width: min(480px, 100%);
  margin: 0 auto;
  min-height: 100vh;
  padding: calc(8px + env(safe-area-inset-top)) 16px var(--nav-h);
}

.boot, .loading-screen {
  min-height: 70vh;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.welcome { padding: 28px 4px 24px; }
.eyebrow { margin: 0 0 12px; color: var(--green); letter-spacing: 0.18em; font-size: 12px; font-weight: 700; }
.welcome h1 { margin: 0; font-size: 36px; letter-spacing: -0.04em; line-height: 1.15; }
.lede, .hint { color: var(--muted); font-size: 14px; }
form { display: grid; gap: 12px; margin-top: 22px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: 0.04em; }
input, select {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: var(--card);
  padding: 14px;
  outline: none;
}
details { background: var(--card); border-radius: 16px; padding: 12px 14px; }
details summary { cursor: pointer; color: var(--text); }
.primary, .ghost, .save {
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 700;
}
.primary, .save { background: var(--green); color: #04140a; }
.primary:disabled, .save:disabled { opacity: 0.6; }
.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.text-btn { background: transparent; border: 0; color: var(--muted); padding: 8px 0; }
.form-error { min-height: 1.2em; margin: 0; color: var(--red); font-size: 14px; }
.form-error.ok { color: var(--green); }

.top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 10px; row-gap: 2px; padding: 8px 2px 12px; }
.top h1 { grid-column: 1; grid-row: 1; margin: 0; font-size: 28px; letter-spacing: -0.04em; white-space: nowrap; }
.car-photo { grid-column: 2; grid-row: 1; justify-self: center; height: 64px; width: auto; max-width: 100%; object-fit: contain; display: block; border: 0; outline: none; background: transparent; box-shadow: none; }
.top .model { grid-column: 2; grid-row: 2; justify-self: center; font-size: 12px; font-weight: 650; letter-spacing: 0.06em; color: var(--muted); white-space: nowrap; }
.sync { grid-column: 3; grid-row: 1; display: flex; align-items: center; gap: 6px; flex: none; color: var(--muted); font-size: 12px; background: transparent; border: 0; padding: 0; white-space: nowrap; }
.sync i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--green); display: grid; place-items: center; }
.sync i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.sync.spin i { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.cars { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 8px; }
.chip { border: 0; background: var(--card); color: var(--muted); border-radius: 999px; padding: 7px 12px; }
.chip.on { color: var(--text); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
}
.pill b { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: block; }
.pill.charging b { background: var(--blue); }
.pill.asleep b, .pill.offline b, .pill.suspended b { background: var(--muted); }
.pill.driving b { background: var(--green); }

.hero-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; align-items: end; margin: 8px 0 4px; }
.hero-split > div { min-width: 0; }
.hero-split.is-charging { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-split.is-charging .range-col { align-self: stretch; width: 100%; }
.charge-face { display: flex; flex-direction: column; align-items: flex-start; width: max-content; max-width: 100%; }
.charge-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 16px; border-radius: 999px; background: #2c2c2e; color: #f5f5f7; font-size: 16px; font-weight: 650; white-space: nowrap; }
.charge-pill b { width: 9px; height: 9px; border-radius: 50%; background: #0a84ff; flex: none; }
.charge-face .batt { align-self: center; }
.charge-face .soc-line { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.charge-face .soc-num { margin: 0; }
.charge-face .remain { font-size: 22px; font-weight: 650; color: #e5e5ea; letter-spacing: -0.03em; }
.charge-face .gain { display: flex; align-items: baseline; gap: 7px; margin: 2px 0 0; font-size: 22px; font-weight: 760; letter-spacing: -0.03em; }
.charge-face .added { color: #32d74b; }
.charge-face .sep { color: #8e8e93; font-weight: 600; }
.charge-face .kw { color: #4da3ff; }
.status-line { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.status-line b { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.status-line.charging b { background: var(--blue); }
.status-line.asleep b, .status-line.offline b, .status-line.suspended b { background: var(--muted); }
.status-line.driving b { background: var(--green); }
.batt { width: 54px; height: 28px; border: 2px solid var(--green); border-radius: 6px; padding: 3px; position: relative; }
.batt::after { content: ""; position: absolute; right: -5px; top: 8px; width: 3px; height: 10px; border-radius: 1px; background: var(--green); }
.batt span { display: block; height: 100%; width: 0; background: var(--green); border-radius: 2px; }
.batt svg { position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; }
.batt.charge { width: 86px; height: 46px; margin: 16px 0 12px; border: 2.5px solid #8e8e93; border-radius: 10px; background: #000; }
.batt.charge::after { background: transparent; border: 2.5px solid #8e8e93; border-left: 0; width: 5px; height: 14px; top: 14px; right: -7px; border-radius: 0 3px 3px 0; }
.batt.charge span { background: #32d74b; border-radius: 5px; }
.batt.charge svg { width: 30px; height: 30px; z-index: 1; }
.soc-num { margin: 8px 0 0; font-size: 52px; font-weight: 720; letter-spacing: -0.06em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.soc-num small { font-size: 28px; }
.subnum { margin: 4px 0 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.gain { margin: 2px 0 0; color: var(--green); font-weight: 650; }
.range-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.track { height: 8px; border-radius: 99px; background: #2a2a2c; margin: 10px 0; overflow: hidden; }
.track i { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.range-num { font-size: 36px; font-weight: 720; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.range-num span { margin-left: 2px; font-size: 15px; color: var(--muted); font-weight: 600; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; align-items: stretch; }
.pair .card { display: flex; flex-direction: column; min-width: 0; }
.pair .kicker { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 26px; }
.batt-num { display: block; margin-top: 8px; font-size: 34px; font-weight: 750; letter-spacing: -0.04em; line-height: 1.05; }
.batt-num small { font-size: 16px; font-weight: 650; color: var(--muted); }
.batt-num.gold, .batt-num.gold small { color: var(--gold); }
.batt-delta { margin: 6px 0 0; font-weight: 700; }
.health-card .hint b { font-weight: 750; }
.health-track { height: 8px; margin-top: 14px; border-radius: 99px; background: #2a2a2c; overflow: hidden; }
.health-track i { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.range-note { margin-top: 14px; padding: 16px; border-radius: 18px; background: #102033; }
.range-note .note-title { margin: 0 0 8px; color: #f5c518; font-weight: 800; letter-spacing: 0.04em; }
.range-note p { margin: 0; color: #d5d8de; font-size: 14px; line-height: 1.45; }
.card.recent { margin-top: 28px; }
.recent-head { margin: 0 0 12px; }
.recent-head h2 { font-size: 22px; }
.send-btn { background: #3a3a3c; border: 0; border-radius: 999px; padding: 8px 16px; color: #f5f5f7; font-size: 15px; font-weight: 650; }
.send-btn:disabled { opacity: 0.55; }
.send-note { margin: 0 0 10px; font-size: 13px; }
.send-note.ok { color: var(--green); }
.send-note.bad { color: var(--red); }
.trip-box { background: #111; border-radius: 18px; padding: 14px; }
.soc-shift { color: #8e8e93; font-size: 18px; font-weight: 650; white-space: nowrap; }
.soc-shift b { color: var(--gold); font-weight: 750; }
.card { background: var(--card); border-radius: 22px; padding: 16px; }
.card h2 { margin: 0; font-size: 18px; letter-spacing: -0.03em; }
.kicker { margin: 0; color: var(--muted); font-size: 13px; }
button.badge { float: none; flex: none; background: var(--card-2); border: 0; border-radius: 999px; padding: 4px 8px; color: var(--text); font-size: 12px; cursor: pointer; }
.stat-card { margin-top: 10px; }
.stat-card .kicker { color: var(--green); font-weight: 700; }
button.month-kicker { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
button.month-kicker .chev { font-size: 12px; margin-left: 2px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 8px; }
.stat-grid strong { font-size: 28px; font-weight: 750; letter-spacing: -0.03em; }
.stat-grid span { color: var(--muted); font-size: 18px; font-variant-numeric: tabular-nums; }
.gold { color: var(--gold); }
.green { color: var(--green); }
.red { color: var(--red); }
.big { display: block; margin-top: 8px; font-size: 28px; font-weight: 720; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.card .hint { margin: 6px 0 0; }

.section-head { display: flex; justify-content: space-between; align-items: center; margin: 22px 2px 10px; }
.section-head h2 { margin: 0; font-size: 20px; }

.route { display: grid; grid-template-columns: 14px 1fr; column-gap: 8px; }
.route i { width: 8px; height: 8px; margin: 6px auto 0; border-radius: 50%; background: #8e8e93; display: block; }
.route i.end { background: var(--green); }
.route b { width: 1px; height: 14px; margin: 3px auto; background: #3a3a3c; display: block; }
.route strong { display: block; font-size: 14px; font-weight: 600; }
.route em, .when { color: var(--muted); font-style: normal; font-size: 13px; }
.split { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; }
.dist { font-size: 32px; font-weight: 720; letter-spacing: -0.04em; margin: 0; font-variant-numeric: tabular-nums; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.insight { margin-top: 8px; }
.insight-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid #2a2a2a; }
.insight-row p { margin: 0 0 6px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.insight-row strong { display: block; font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; white-space: nowrap; }
.insight-row strong small { font-size: 14px; font-weight: 600; }
.insight-row div + div { padding-left: 12px; border-left: 1px solid #333; }
.gold-label { color: #e6c15a !important; }
.green-label { color: #3ddc84 !important; }
.metrics p, .mini p { margin: 0; color: var(--muted); font-size: 12px; }
.metrics strong, .mini strong { display: block; margin-top: 4px; font-size: 22px; font-variant-numeric: tabular-nums; }
.mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.mini strong { font-size: 16px; }

.temp-grid, .week-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.temp { background: var(--card-2); border-radius: 16px; padding: 12px; }
.temp p { margin: 0; color: var(--muted); font-size: 13px; }
.temp strong { font-size: 28px; letter-spacing: -0.04em; }

.tire-head { display: flex; align-items: baseline; gap: 10px; margin: 22px 2px 0; }
.tire-head h2 { margin: 0; color: #3ddc84; font-size: 16px; font-weight: 700; }
.tire-head span { color: var(--muted); font-size: 15px; }
.tire-title { margin: 12px 2px 14px; font-size: 32px; font-weight: 750; letter-spacing: -0.04em; }
.tire-card { background: #1a1a1c; border-radius: 28px; padding: 26px 8px; }
.tire-car { position: relative; width: min(100%, 340px); height: 300px; margin: 0 auto; }
.tire-car .shell { position: absolute; top: 22px; right: 52px; bottom: 22px; left: 52px; border-radius: 40px; background: #242426; }
.wheel { position: absolute; z-index: 1; display: flex; align-items: center; gap: 10px; }
.wheel i { width: 16px; height: 48px; border-radius: 7px; background: #3a3a3c; flex: none; }
.wheel strong { font-size: 28px; font-weight: 650; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.wheel .warn { color: var(--gold); }
.wheel.fl, .wheel.fr { top: 36px; }
.wheel.rl, .wheel.rr { bottom: 36px; }
.wheel.fl, .wheel.rl { left: 18px; }
.wheel.fr, .wheel.rr { right: 18px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--card); border-radius: 16px; padding: 4px; margin: 8px 0 16px; }
.seg button { border: 0; background: transparent; border-radius: 12px; padding: 10px; color: var(--muted); font-weight: 700; }
.seg button.on { background: #3a3a3c; color: var(--text); }

.trip-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 8px 2px 12px; }
.trip-head h2 { margin: 0; font-size: 28px; letter-spacing: -0.04em; }
.trip-head .hint { margin: 4px 0 0; }
.trip-range { margin: 4px 0 0; color: var(--green); font-size: 13px; font-weight: 650; }
.trip-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.trip-stats p, .trip-eff span { margin: 0; color: var(--muted); font-size: 13px; }
.trip-stats strong { display: block; margin-top: 4px; font-size: 32px; font-weight: 750; letter-spacing: -0.04em; }
.trip-stats strong small { font-size: 16px; color: var(--muted); font-weight: 650; }
.trip-eff { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.trip-eff strong { margin: 0; font-size: 28px; }
.trip-map { height: 460px; margin-top: 12px; border-radius: 22px; overflow: hidden; background: #d7dbe0; }
.trip-map .empty { padding: 24px; }
.route-map-card { margin-top: 12px; }
.leaflet-container { font-family: inherit; background: #d7dbe0; }
.drive-sum b { color: var(--green); }
.drive-card { margin-top: 12px; }
.drive-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.drive-top span, .drive-top strong { font-size: 20px; font-weight: 750; letter-spacing: -0.03em; }
.drive-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; color: var(--muted); font-size: 13px; }
.drive-meta .soc-shift { font-size: 13px; }
.drive-route { display: grid; grid-template-columns: 44px 1fr; gap: 10px; margin-top: 12px; align-items: center; }
.drive-route .route { min-width: 0; }
.drive-route .route strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drive-actions { display: flex; flex-direction: column; gap: 8px; }
.icon-btn { width: 36px; height: 36px; border-radius: 12px; border: 1.5px solid #3ddc84; background: transparent; color: #3ddc84; display: grid; place-items: center; padding: 0; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:disabled { opacity: 0.45; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; margin-top: 14px; }
.metric-grid p { margin: 0 0 4px; color: var(--muted); font-size: 11px; }
.metric-grid strong, .metric-grid span { display: block; font-size: 12px; font-weight: 700; line-height: 1.35; font-variant-numeric: tabular-nums; }
.addr { margin-top: 8px; }
.four { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 8px; margin-top: 12px; }
.four p { margin: 0; color: var(--muted); font-size: 12px; }
.four strong { display: block; margin-top: 2px; font-variant-numeric: tabular-nums; }
.charge-kwh { font-size: 22px; font-weight: 750; }

.chart-card { position: relative; }
.chart-card svg { width: 100%; height: auto; display: block; }
.chart-plot { position: relative; padding-top: 8px; }
.zoom-btn { position: absolute; top: 0; left: 0; z-index: 2; display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid #3ddc84; color: #3ddc84; background: transparent; border-radius: 14px; padding: 6px 10px; font-size: 13px; font-weight: 750; }
.zoom-btn svg { width: 16px; height: 16px; }
.chart-plot svg { cursor: crosshair; }
.chart-tip { position: absolute; top: 34px; z-index: 2; transform: translateX(-50%); min-width: 148px; padding: 10px 14px 12px; border-radius: 16px; background: #161618; text-align: center; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); }
.chart-tip p { margin: 0; font-size: 14px; }
.chart-tip strong { display: block; margin-top: 4px; color: #3ddc84; font-size: 22px; letter-spacing: -0.03em; }
.extremes { display: flex; justify-content: flex-end; gap: 16px; }
.extremes span { display: flex; flex-direction: column; align-items: flex-end; font-size: 22px; font-weight: 750; line-height: 1; }
.extremes small { font-size: 11px; color: #8e8e93; letter-spacing: 0.08em; margin-bottom: 4px; }
.extremes .max { color: #30d158; }
.extremes .min { color: #ff6b6b; }
.chart-dates, .chart-year { margin: 4px 0 0; color: #c9a227; font-size: 12px; text-align: center; }
.battery-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 4px 2px 12px; }
.battery-head h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.03em; }
.battery-head .hint { margin: 0; line-height: 1.35; }
.month { background: transparent; border: 1px solid var(--green); border-radius: 999px; padding: 8px 14px; color: var(--text); font-size: 14px; font-weight: 700; }
.charge-head { margin: 6px 0; color: #d1d1d6; font-size: 14px; }
.charge-card { display: grid; gap: 12px; margin-top: 16px; padding: 16px 16px 14px; }
.charge-top, .charge-when, .charge-foot { display: flex; align-items: center; min-width: 0; }
.charge-top { justify-content: space-between; gap: 12px; }
.charge-place { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 750; letter-spacing: -0.03em; }
.charge-kwh { flex: none; font-size: 18px; font-weight: 750; letter-spacing: -0.03em; white-space: nowrap; }
.charge-when { gap: 10px; color: #aeaeb2; font-size: 13px; }
.charge-card .kind { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #16301f; }
.charge-card.fast .kind { background: #3a1618; }
.charge-card .kind svg { width: 16px; height: 16px; }
.charge-card.slow .charge-kwh, .charge-card.slow .charge-soc b, .charge-card.slow .kind { color: #3ddc84; }
.charge-card.fast .charge-kwh, .charge-card.fast .charge-soc b, .charge-card.fast .kind { color: var(--red); }
.charge-when span, .charge-foot span, .cost-edit { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.charge-when svg, .charge-foot svg, .cost-edit svg { width: 15px; height: 15px; flex: none; }
.charge-foot { gap: 10px; padding-left: 40px; color: #aeaeb2; font-size: 14px; }
.charge-soc { margin-left: auto; font-weight: 650; }
.charge-soc b { font-weight: 750; }
.cost-edit input { width: 2.2em; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: transparent; color: #f5f5f7; text-align: right; padding: 0; font: inherit; font-weight: 650; }
.cost-edit input:focus { outline: none; border-bottom-color: #3ddc84; }
.sheet { position: fixed; inset: 0; z-index: 30; background: rgba(0, 0, 0, 0.55); display: grid; place-items: center; padding: 24px; }
.sheet-card { width: min(360px, 100%); max-height: 70vh; overflow: auto; background: #f2f2f7; color: #111; border-radius: 18px; }
.month-option { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: transparent; border: 0; color: #111; padding: 16px 18px; font-size: 22px; font-weight: 750; text-align: left; }
.month-option i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c7c7cc; flex: none; }
.month-option.on i { border-color: #0a84ff; box-shadow: inset 0 0 0 5px #0a84ff; }
.empty { color: var(--muted); text-align: center; padding: 24px 8px; }
.demo-banner { display: flex; justify-content: space-between; align-items: center; color: var(--blue); font-size: 13px; margin-bottom: 8px; }

.nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(480px, 100%);
  height: var(--nav-h);
  padding: 6px 8px env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(0, 0, 0, 0.94);
  border-top: 1px solid var(--line);
}
.nav button { background: transparent; border: 0; color: #636366; display: grid; justify-items: center; gap: 2px; font-size: 11px; }
.nav button.on { color: var(--text); }
.nav svg { width: 22px; height: 22px; }

.card input, .card select { background: var(--card-2); }

.settings { display: grid; gap: 22px; }
.settings form { margin-top: 0; }
.settings h2 { margin: 0; font-size: 16px; letter-spacing: 0.04em; }
.danger-card { background: var(--card); border-radius: 22px; padding: 16px; display: grid; gap: 12px; }
.danger { background: #3a1518; color: #ff6b64; border: 0; border-radius: 14px; padding: 14px; font-weight: 700; }
.hint.center { text-align: center; margin: 0; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.save.slim { padding: 8px 12px; border-radius: 12px; font-size: 13px; white-space: nowrap; }
.help { background: #10283f; border-radius: 16px; padding: 14px 16px; color: #d7dde6; font-size: 13px; }
.help p { margin: 0 0 8px; color: #f5c518; font-weight: 700; }
.help ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 0 8px; }
.toggle-row strong { display: block; color: var(--text); font-size: 16px; letter-spacing: 0; }
.toggle-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 400; }
.switch { position: relative; display: block; width: 51px; height: 31px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 51px; height: 31px; margin: 0; padding: 0; background: transparent; }
.switch i { display: block; width: 51px; height: 31px; border-radius: 999px; background: #3a3a3c; position: relative; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; transition: transform 0.15s ease; }
.switch input:checked + i { background: var(--green); }
.switch input:checked + i::after { transform: translateX(20px); }
