/* LaserFold web design system. One set of tokens and components for every page. */
:root {
  --bg: #141518;
  --surface: #1c1d21;
  --surface-2: #232529;
  --surface-3: #2b2d32;
  --panel: var(--surface);
  --panel2: var(--surface-2);
  --line: #2e3036;
  --line-strong: #3c3f46;
  --text: #ededef;
  --muted: #9b9ea6;
  --subtle: #6f727a;
  --accent: #ff7a1a;
  --accent-hover: #ff8c38;
  --accent-soft: #ff7a1a1f;
  --accent2: #ffb46b;
  --on-accent: #1d1003;
  --ok: #3ccf86;
  --ok-soft: #3ccf861f;
  --warn: #f3b440;
  --warn-soft: #f3b4401f;
  --err: #ff6363;
  --err-soft: #ff63631f;
  --info: #6aa8ff;
  --info-soft: #6aa8ff1f;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px #0006;
  --ring: 0 0 0 3px #ff7a1a40;
  --input-bg: #111215;
  --nav-bg: #17181bee;
  --alt-bg: #1a1b1e;
  --hover-border: #4a4d55;
  --row-hover: #ffffff05;
  --sidebar-bg: #17181b;
  --topbar-bg: #141518e6;
  --backdrop: #0009;
  --shadow-strong: #000a;
  --mono: 'Cascadia Code', Consolas, 'SFMono-Regular', Menlo, monospace;
  font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 26px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -0.01em; }
h2 { font-size: 18px; line-height: 1.3; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 0 0 6px; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.grow { flex: 1; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.stack { display: grid; gap: 14px; }
.hidden, [hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--ring); }

/* ---------------------------------------------------------------- buttons */
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text);
  font: inherit; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
  cursor: pointer; text-decoration: none; user-select: none; position: relative;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.05s, box-shadow 0.15s;
}
button:hover:not(:disabled), .btn:hover { background: var(--surface-3); border-color: var(--hover-border); text-decoration: none; }
button:active:not(:disabled), .btn:active { transform: translateY(1px); }
button:disabled, .btn.disabled { opacity: 0.5; cursor: not-allowed; }
button svg, .btn svg { width: 16px; height: 16px; flex: none; }
.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.primary:hover:not(:disabled) { background: var(--accent-hover) !important; border-color: var(--accent-hover) !important; }
.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.ghost:hover:not(:disabled) { background: var(--surface-2); color: var(--text); border-color: transparent; }
.danger { color: var(--err); }
.danger.solid { background: var(--err); border-color: var(--err); color: #1c0606; }
.btn.sm, button.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.lg, button.lg { height: 48px; padding: 0 22px; font-size: 15px; }
.wide { width: 100%; }
button.wide { margin-top: 18px; }
.icon-btn { width: 32px; height: 32px; padding: 0; }
.linkish { height: auto; padding: 0; border: none; background: none; color: var(--accent2); font-weight: 600; }
.linkish:hover:not(:disabled) { background: none; text-decoration: underline; }
.linkish:disabled { color: var(--subtle); text-decoration: none; opacity: 1; }
/* loading: keep the width, hide the label, show a spinner */
.is-loading { color: transparent !important; pointer-events: none; }
.is-loading svg { opacity: 0; }
.is-loading::after {
  content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--text); border-color: var(--text) transparent var(--text) transparent; animation: spin 0.7s linear infinite;
}
.primary.is-loading::after { border-color: var(--on-accent) transparent var(--on-accent) transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- forms */
label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 16px 0 6px; }
input, select, textarea {
  width: 100%; height: 42px; padding: 0 12px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--input-bg); color: var(--text); font: inherit; font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { height: auto; padding: 10px 12px; min-height: 80px; }
input::placeholder { color: var(--subtle); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
input[type='checkbox'], input[type='radio'] { width: 16px; height: 16px; accent-color: var(--accent); padding: 0; }
select {
  appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239b9ea6' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.field-hint { font-size: 12.5px; color: var(--subtle); margin-top: 6px; }
.check { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; color: var(--text); cursor: pointer; }
.otp-input { font-family: var(--mono); font-size: 26px; letter-spacing: 14px; text-align: center; height: 56px; padding-left: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 14px; }
.msg { margin-top: 14px; font-size: 14px; }
.msg:empty { display: none; }
.msg.err { color: var(--err); }
.msg.ok { color: var(--ok); }

/* ---------------------------------------------------------------- top nav (marketing + auth pages) */
nav { display: flex; align-items: center; gap: 18px; padding: 14px 28px; border-bottom: 1px solid var(--line); background: var(--nav-bg); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: var(--text); letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }
nav .row a:not(.btn) { color: var(--muted); font-size: 14px; font-weight: 500; }
nav .row a:not(.btn):hover { color: var(--text); text-decoration: none; }
main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 32px 24px; }

/* ---------------------------------------------------------------- surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.card.flat { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.card-head h2 { margin: 0; font-size: 16px; }
.card-body { padding: 20px; }
.auth { max-width: 420px; margin: 48px auto; }
.auth h1 { font-size: 24px; }
p.sub { color: var(--muted); margin: 0 0 18px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--subtle); font-size: 12px; margin: 18px 0 0; text-transform: uppercase; letter-spacing: 0.08em; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.social button { margin-top: 0; }
.foot { margin-top: 20px; color: var(--muted); font-size: 14px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.divider { height: 1px; background: var(--line); margin: 18px 0; border: 0; }

/* ---------------------------------------------------------------- badges */
.badge, .pill, .tag {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap;
  background: var(--surface-3); color: var(--muted); border: 1px solid transparent;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }
.badge.ok, .pill.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn, .pill.wait { background: var(--warn-soft); color: var(--warn); }
.badge.err, .pill.bad { background: var(--err-soft); color: var(--err); }
.badge.info { background: var(--info-soft); color: var(--info); }
.badge.accent { background: var(--accent-soft); color: var(--accent2); }
.tag { font-weight: 600; border-color: var(--line-strong); background: transparent; }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--subtle); padding: 10px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--row-hover); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td .sub { display: block; color: var(--subtle); font-size: 12.5px; margin-top: 2px; }
td.actions { text-align: right; white-space: nowrap; }
td.actions button { margin-left: 6px; }
.plus { color: var(--ok); font-weight: 700; }
.minus { color: var(--accent2); font-weight: 700; }

/* ---------------------------------------------------------------- empty / skeleton / spinner */
.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty .ico { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--subtle); }
.empty .ico svg { width: 22px; height: 22px; }
.empty b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.empty p { margin: 0 auto 14px; max-width: 360px; }
.skeleton { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--accent); animation: spin 0.8s linear infinite; display: inline-block; vertical-align: middle; flex: none; }
.spinner.lg { width: 34px; height: 34px; border-width: 3px; }
.page-loader { display: grid; place-items: center; gap: 12px; padding: 80px 20px; color: var(--muted); }

/* ---------------------------------------------------------------- toasts */
#toasts { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: grid; gap: 10px; width: min(380px, calc(100vw - 40px)); }
.toast {
  display: grid; grid-template-columns: 22px 1fr 22px; gap: 10px; align-items: start; padding: 14px 12px 14px 16px;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow);
  animation: toast-in 0.22s ease-out; font-size: 14px;
}
.toast.out { animation: toast-out 0.18s ease-in forwards; }
.toast .ti { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.toast .ti svg { width: 13px; height: 13px; }
.toast.ok .ti { background: var(--ok-soft); color: var(--ok); }
.toast.err .ti { background: var(--err-soft); color: var(--err); }
.toast.info .ti { background: var(--info-soft); color: var(--info); }
.toast b { display: block; margin-bottom: 2px; }
.toast .tm { color: var(--muted); }
.toast .tx { height: 22px; width: 22px; padding: 0; border: none; background: none; color: var(--subtle); }
.toast .tx:hover:not(:disabled) { background: var(--surface-3); color: var(--text); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px); } }

/* ---------------------------------------------------------------- modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 90; background: var(--backdrop); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; animation: fade 0.15s; }
.modal { width: min(480px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 30px 80px var(--shadow-strong); animation: pop 0.18s ease-out; }
.modal-head { padding: 20px 22px 0; }
.modal-head h2 { margin: 0; font-size: 18px; }
.modal-body { padding: 10px 22px 4px; color: var(--muted); }
.modal-body label:first-child { margin-top: 6px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 20px 22px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }

/* ---------------------------------------------------------------- copy field */
.copy-field { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--input-bg); }
.copy-field .k { font-size: 11.5px; color: var(--subtle); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; min-width: 96px; }
.copy-field .v { flex: 1; font-family: var(--mono); font-size: 17px; font-weight: 700; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.secret { font-family: var(--mono); background: var(--input-bg); border: 1px solid var(--accent); border-radius: var(--radius); padding: 14px; word-break: break-all; line-height: 1.8; color: var(--text); }

/* ---------------------------------------------------------------- dashboard shell */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 3px; padding: 18px 14px; border-right: 1px solid var(--line); background: var(--sidebar-bg); }
.sidebar .brand { padding: 4px 10px 18px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); padding: 14px 12px 6px; }
.side-link { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 12px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 600; }
.side-link svg { width: 17px; height: 17px; flex: none; }
.side-link:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.side-link.active { background: var(--accent-soft); color: var(--accent2); }
.side-link .count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
.side-link .count:empty { display: none; }
.side-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: linear-gradient(135deg, #ff7a1a, #ffb46b); color: var(--on-accent); }
.user-chip .who { min-width: 0; }
.user-chip .who b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chip .who span { display: block; font-size: 12px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.content { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 28px; border-bottom: 1px solid var(--line); background: var(--topbar-bg); backdrop-filter: blur(10px); }
.topbar h1 { font-size: 18px; margin: 0; }
.credit-pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 5px 0 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; color: var(--muted); }
.credit-pill b { color: var(--accent2); font-variant-numeric: tabular-nums; font-size: 15px; }
.credit-pill .btn { height: 26px; padding: 0 11px; font-size: 12.5px; border-radius: 999px; }
.page { padding: 28px; width: 100%; max-width: 1180px; }
.page-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h2 { font-size: 22px; margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.view { display: none; }
.view.active { display: block; animation: fade 0.2s; }
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .mobile-nav { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--sidebar-bg); }
  .mobile-nav .side-link { flex: none; height: 34px; }
  .topbar { padding: 0 16px; }
  .page { padding: 18px 16px; }
}

/* ---------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { padding: 18px 20px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.stat .label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.stat .label svg { width: 15px; height: 15px; color: var(--subtle); }
.stat .value { font-size: 28px; font-weight: 800; margin-top: 8px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stat .hint { color: var(--subtle); font-size: 12.5px; margin-top: 4px; }
.stat.accent { background: linear-gradient(160deg, #2b1d12, var(--surface) 70%); border-color: #ff7a1a44; }
.stat.accent .value { color: var(--accent2); }

/* ---------------------------------------------------------------- selectable cards (packs, methods) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.choice {
  position: relative; display: block; width: 100%; height: auto; padding: 18px; text-align: left; white-space: normal; line-height: 1.35;
  border-radius: var(--radius-lg); border: 1.5px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font-weight: 400;
}
.choice:hover:not(:disabled) { border-color: var(--hover-border); background: var(--surface); }
.choice.selected, .choice.selected:hover:not(:disabled) { border-color: var(--accent); background: linear-gradient(160deg, #2a1c11, var(--surface) 75%); box-shadow: 0 0 0 3px #ff7a1a22; }
.choice .tick { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; }
.choice.selected .tick { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.choice .tick svg { width: 12px; height: 12px; opacity: 0; }
.choice.selected .tick svg { opacity: 1; }
.choice .ch-title { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }
.choice .ch-big { font-size: 30px; font-weight: 800; margin-top: 6px; letter-spacing: -0.02em; }
.choice .ch-sub { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.choice .ch-price { margin-top: 12px; font-size: 17px; font-weight: 800; color: var(--accent2); }
.choice .ch-flag { position: absolute; top: -10px; left: 16px; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.choice.method { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.provider-dot { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; font-size: 13px; color: #fff; flex: none; }

/* ---------------------------------------------------------------- stepper */
.stepper { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.stepper .st { display: flex; align-items: center; gap: 8px; color: var(--subtle); font-size: 13.5px; font-weight: 600; }
.stepper .st i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; border: 1.5px solid var(--line-strong); }
.stepper .st.done { color: var(--muted); }
.stepper .st.done i { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.stepper .st.now { color: var(--text); }
.stepper .st.now i { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.stepper .bar { width: 28px; height: 1.5px; background: var(--line-strong); }

/* result panels */
.result { text-align: center; padding: 34px 20px; }
.result .big-ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; }
.result .big-ico svg { width: 30px; height: 30px; }
.result.ok .big-ico { background: var(--ok-soft); color: var(--ok); animation: pop 0.3s ease-out; }
.result.wait .big-ico { background: var(--warn-soft); color: var(--warn); }
.result h2 { font-size: 20px; margin-bottom: 6px; }
.result p { color: var(--muted); max-width: 460px; margin: 0 auto 18px; }

/* legacy helpers still used by a few pages */
.big { font-size: 40px; font-weight: 800; color: var(--accent2); }
.code { font-family: var(--mono); font-size: 32px; letter-spacing: 8px; font-weight: 800; text-align: center; padding: 16px; border: 1.5px dashed var(--accent); border-radius: 12px; margin: 18px 0; }
.sms { font-size: 12.5px; color: var(--muted); max-width: 440px; white-space: normal; }

/* ---------------------------------------------------------------- light theme */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f5f2;
  --surface: #ffffff;
  --surface-2: #f1efeb;
  --surface-3: #e6e3dd;
  --line: #e3dfd8;
  --line-strong: #d2cdc4;
  --text: #1b1c20;
  --muted: #5d6068;
  --subtle: #8a8d94;
  --accent: #f26b0c;
  --accent-hover: #ff7a1a;
  --accent-soft: #ff7a1a1a;
  --accent2: #c2560c;
  --on-accent: #ffffff;
  --ok: #17935a;
  --ok-soft: #17935a1a;
  --warn: #a96d0c;
  --warn-soft: #e6a2201f;
  --err: #d33b3b;
  --err-soft: #d33b3b14;
  --info: #2c66cc;
  --info-soft: #2c66cc14;
  --shadow: 0 10px 30px #3b2a1414;
  --ring: 0 0 0 3px #ff7a1a33;
  --input-bg: #ffffff;
  --nav-bg: #f6f5f2e6;
  --alt-bg: #efece6;
  --hover-border: #bdb7ad;
  --row-hover: #0000000a;
  --sidebar-bg: #fbfaf8;
  --topbar-bg: #f6f5f2e6;
  --backdrop: #1b1c2059;
  --shadow-strong: #3b2a1433;
}
:root[data-theme="light"] .stat.accent { background: linear-gradient(160deg, #fff1e6, var(--surface) 70%); }
:root[data-theme="light"] .choice.selected, :root[data-theme="light"] .choice.selected:hover:not(:disabled) { background: linear-gradient(160deg, #fff1e6, var(--surface) 75%); }

.theme-toggle { width: 36px; height: 36px; padding: 0; border-radius: 10px; flex: none; background: transparent; border-color: var(--line); color: var(--muted); }
.theme-toggle:hover:not(:disabled) { color: var(--text); background: var(--surface-2); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
