/* Wayfare — design tokens */
:root {
  --bg: #f7f4ef; --surface: #ffffff; --surface-2: #f1ede6; --surface-3: #e8e2d8;
  --ink: #1b2430; --ink-2: #4a5563; --ink-3: #7b8592; --line: #e3ddd3; --line-2: #d6cfc3;
  --brand: #1f5c74; --brand-ink: #ffffff; --brand-soft: #e1edf1;
  --accent: #d9643f; --accent-soft: #fbe8e1;
  --ok: #2f7d53; --ok-soft: #e2f2e8; --warn: #b7791f; --warn-soft: #fbf0d9; --err: #c0392b; --err-soft: #fbe3e0;
  --tyler: #2f6db5; --cindy: #c2416b;
  --d0: #1f5c74; --d1: #d9643f; --d2: #6b5bb5; --d3: #2f7d53; --d4: #b7791f; --d5: #c2416b; --d6: #3a8fa8;
  --radius: 16px; --radius-sm: 10px; --shadow: 0 1px 2px rgba(27,36,48,.06), 0 4px 16px rgba(27,36,48,.06);
  --shadow-lg: 0 10px 40px rgba(27,36,48,.18);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --nav-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11161c; --surface: #19212a; --surface-2: #212b36; --surface-3: #2a3643;
    --ink: #eef1f4; --ink-2: #b9c2cc; --ink-3: #8a95a1; --line: #2a3541; --line-2: #36424f;
    --brand: #5fb3cf; --brand-ink: #0c1a20; --brand-soft: #1d3540; --accent: #f08561; --accent-soft: #3a2620;
    --ok: #5cc48a; --ok-soft: #1c3427; --warn: #e8b04f; --warn-soft: #3a2f19; --err: #f07263; --err-soft: #3d1f1c;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #11161c; --surface: #19212a; --surface-2: #212b36; --surface-3: #2a3643;
  --ink: #eef1f4; --ink-2: #b9c2cc; --ink-3: #8a95a1; --line: #2a3541; --line-2: #36424f;
  --brand: #5fb3cf; --brand-ink: #0c1a20; --brand-soft: #1d3540; --accent: #f08561; --accent-soft: #3a2620;
  --ok: #5cc48a; --ok-soft: #1c3427; --warn: #e8b04f; --warn-soft: #3a2f19; --err: #f07263; --err-soft: #3d1f1c;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25); color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font: 16px/1.45 var(--font); -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; }
a { color: var(--brand); text-decoration: none; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: var(--ink); }
.boot { display: grid; place-items: center; height: 100vh; }
.boot-mark { width: 44px; height: 44px; border-radius: 14px; background: var(--brand); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; transform: scale(.92); } }

/* ---------- shell */
.shell { min-height: 100vh; padding-bottom: calc(var(--nav-h) + var(--safe-b) + 8px); }
.topbar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  padding: calc(var(--safe-t) + 10px) 16px 10px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid transparent; }
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar h1 { font: 600 20px/1.2 var(--font-display); margin: 0; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
.topbar .sub { font-size: 12px; color: var(--ink-3); font-family: var(--font); font-weight: 500; display: block; }
.sync { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.sync .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.sync.offline .dot { background: var(--warn); } .sync.pending .dot { background: var(--accent); }
.content { max-width: 760px; margin: 0 auto; padding: 4px 16px 24px; }
.content.wide { max-width: 1100px; }

.bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); display: flex; justify-content: space-around; padding: 6px 4px calc(6px + var(--safe-b)); height: calc(var(--nav-h) + var(--safe-b)); }
.bottomnav button { flex: 1; background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--ink-3); padding: 4px 0; border-radius: 12px; cursor: pointer; }
.bottomnav button.on { color: var(--brand); }
.bottomnav svg { width: 24px; height: 24px; }
@media (min-width: 900px) {
  .shell { padding-bottom: 24px; padding-left: 88px; }
  .bottomnav { top: 0; bottom: 0; right: auto; width: 88px; height: auto; flex-direction: column; justify-content: flex-start; gap: 8px; padding: calc(var(--safe-t) + 18px) 8px; border-top: 0; border-right: 1px solid var(--line); }
  .bottomnav button { flex: 0; padding: 10px 0; }
}

/* ---------- primitives */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.btn.accent { background: var(--accent); color: #fff; border-color: transparent; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--brand); }
.btn.danger { color: var(--err); }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.iconbtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; border: 0; background: transparent; cursor: pointer; color: var(--ink-2); flex: none; }
.iconbtn:active { background: var(--surface-2); }
.iconbtn svg { width: 22px; height: 22px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 16px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--ink-3); } .small { font-size: 13px; } .tiny { font-size: 12px; }
.section-title { font: 600 13px/1 var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 22px 4px 10px; }
.h2 { font: 600 22px/1.2 var(--font-display); margin: 8px 0 4px; letter-spacing: -.01em; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid transparent; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--brand); color: var(--brand-ink); }
.chip.outline { background: transparent; border-color: var(--line-2); }
.chip.outline.on { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
select.chip { appearance: none; -webkit-appearance: none; padding-right: 12px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.chips::-webkit-scrollbar { display: none; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); } .pill.warn { background: var(--warn-soft); color: var(--warn); } .pill.err { background: var(--err-soft); color: var(--err); } .pill.brand { background: var(--brand-soft); color: var(--brand); } .pill.accent { background: var(--accent-soft); color: var(--accent); }
.avatar { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; flex: none; }
.avatars { display: inline-flex; } .avatars .avatar + .avatar { margin-left: -6px; box-shadow: 0 0 0 2px var(--surface); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, select.input, textarea.input { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-size: 16px; }
textarea.input { min-height: 90px; resize: vertical; }
.input:focus { outline: 2px solid color-mix(in srgb, var(--brand) 40%, transparent); border-color: var(--brand); }
.seg { display: inline-flex; background: var(--surface-2); padding: 3px; border-radius: 12px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.empty { text-align: center; padding: 40px 20px; color: var(--ink-3); }
.empty h3 { color: var(--ink); font: 600 20px/1.3 var(--font-display); margin: 8px 0; }
.banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; margin: 8px 0; }
.banner.warn { background: var(--warn-soft); color: var(--ink); } .banner.err { background: var(--err-soft); } .banner.info { background: var(--brand-soft); } .banner.ok { background: var(--ok-soft); }
.banner svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.list { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.list > .li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; min-height: 56px; border-bottom: 1px solid var(--line); cursor: pointer; }
.list > .li:last-child { border-bottom: 0; }
.li .t { font-weight: 600; } .li .s { font-size: 13px; color: var(--ink-3); }
.spinner { width: 20px; height: 20px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }

/* ---------- day chips & timeline */
.daybar { position: sticky; top: calc(var(--safe-t) + 58px); z-index: 20; background: var(--bg); padding: 8px 16px 10px; margin: 0 -16px; }
.daychip { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; height: 58px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; flex: none; }
.daychip .dw { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.daychip .dn { font: 600 20px/1.1 var(--font-display); }
.daychip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); } .daychip.on .dw { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.daychip .bar { width: 18px; height: 3px; border-radius: 2px; margin-top: 3px; }
.dayhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 10px 2px 6px; }
.dayhead h2 { font: 600 24px/1.15 var(--font-display); margin: 0; letter-spacing: -.01em; }
.daystats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); margin: 0 2px 12px; }
.daystats b { color: var(--ink-2); font-weight: 600; }
.timeline { position: relative; }
.stop { display: grid; grid-template-columns: 54px 1fr; gap: 10px; position: relative; }
.stop .time { text-align: right; padding-top: 14px; font-size: 13px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.stop .time .end { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; }
.scard { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 14px; position: relative; cursor: pointer; border-left: 4px solid var(--cat, var(--brand)); min-height: 64px; }
.scard.fixed { background: color-mix(in srgb, var(--surface) 70%, var(--surface-2)); }
.scard .t { font-weight: 650; font-size: 16px; line-height: 1.3; }
.scard .meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.scard .lock { position: absolute; top: 10px; right: 10px; color: var(--ink-3); }
.scard .lock svg { width: 15px; height: 15px; }
.scard.err { box-shadow: 0 0 0 2px var(--err), var(--shadow); }
.handle { position: absolute; right: 6px; bottom: 6px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink-3); touch-action: none; cursor: grab; }
.handle svg { width: 18px; height: 18px; }
.leg { display: grid; grid-template-columns: 54px 1fr; gap: 10px; min-height: 40px; }
.leg .rail { justify-self: end; width: 2px; margin-right: 0; background: repeating-linear-gradient(var(--line-2) 0 4px, transparent 4px 8px); }
.leg .info { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); padding: 8px 0; }
.leg .info svg { width: 16px; height: 16px; }
.leg .info a { font-weight: 600; }
.leg.gap .info { color: var(--ok); }
.sortable-ghost { opacity: .35; } .sortable-chosen .scard { box-shadow: var(--shadow-lg); transform: scale(1.01); }
.fab { position: fixed; right: 16px; bottom: calc(var(--nav-h) + var(--safe-b) + 14px); z-index: 35; display: flex; gap: 10px; }
.fab .btn { box-shadow: var(--shadow-lg); min-height: 52px; border-radius: 16px; padding: 0 18px; }
.fab .round { width: 52px; padding: 0; }
@media (min-width: 900px) { .fab { bottom: 24px; right: 32px; } }

/* compact table */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); padding: 10px 8px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr.dayrow td { background: var(--surface-2); font-weight: 700; font-size: 13px; }
.tbl td.tm { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-2); width: 1%; }

/* ---------- sheets / modals */
.scrim { position: fixed; inset: 0; background: rgba(10,14,20,.42); z-index: 60; animation: fade .18s ease-out; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; background: var(--surface); border-radius: 22px 22px 0 0; max-height: 92vh; display: flex; flex-direction: column; animation: up .22s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg); }
.sheet.full { top: calc(var(--safe-t) + 8px); max-height: none; }
.sheet .grab { width: 40px; height: 5px; background: var(--line-2); border-radius: 3px; margin: 8px auto 2px; flex: none; }
.sheet header { display: flex; align-items: center; gap: 8px; padding: 6px 12px 8px 18px; flex: none; }
.sheet header h3 { margin: 0; font: 600 19px/1.25 var(--font-display); flex: 1; min-width: 0; }
.sheet .body { overflow-y: auto; padding: 4px 18px calc(18px + var(--safe-b)); -webkit-overflow-scrolling: touch; }
.sheet footer { padding: 10px 18px calc(10px + var(--safe-b)); border-top: 1px solid var(--line); display: flex; gap: 10px; flex: none; }
@media (min-width: 720px) { .sheet { left: 50%; right: auto; width: 620px; transform: translateX(-50%); bottom: 24px; border-radius: 22px; max-height: 86vh; animation: none; } .sheet.full { top: 24px; } }
@keyframes up { from { transform: translateY(40px); opacity: .6; } }
@keyframes fade { from { opacity: 0; } }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + var(--safe-b) + 16px); z-index: 80; background: var(--ink); color: var(--bg); padding: 11px 16px; border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); display: flex; gap: 12px; align-items: center; animation: up .2s; }
.toast button { background: none; border: 0; color: var(--accent); font-weight: 700; cursor: pointer; padding: 0; }

/* plan actions */
.actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.action { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid transparent; text-align: left; cursor: pointer; min-height: 86px; }
.action.hero { grid-column: 1 / -1; background: var(--brand); color: var(--brand-ink); }
.action.hero .d { color: color-mix(in srgb, var(--brand-ink) 80%, transparent); }
.action svg { width: 22px; height: 22px; }
.action .n { font-weight: 700; font-size: 15px; } .action .d { font-size: 12.5px; color: var(--ink-3); line-height: 1.3; }

/* proposal */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.metric { background: var(--surface-2); border-radius: 12px; padding: 12px; }
.metric .k { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.metric .v { font: 600 20px/1.2 var(--font-display); margin-top: 2px; }
.metric .v .from { font-size: 14px; color: var(--ink-3); text-decoration: line-through; margin-right: 6px; font-family: var(--font); }
.metric .v.good { color: var(--ok); } .metric .v.bad { color: var(--err); }
.change { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.change:last-child { border-bottom: 0; }
.change input[type=checkbox] { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.change .why { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.tag-added { color: var(--ok); } .tag-removed { color: var(--err); } .tag-moved { color: var(--brand); } .tag-retimed { color: var(--warn); }

/* map */
.mapwrap { position: relative; height: calc(100vh - 210px - var(--safe-b)); min-height: 360px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); }
@media (min-width: 900px) { .mapwrap { height: calc(100vh - 170px); } }
#gmap { position: absolute; inset: 0; }
.svgmap { width: 100%; height: 100%; display: block; touch-action: none; }
.maplegend { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; gap: 8px; overflow-x: auto; }
.mapcard { position: absolute; left: 10px; right: 10px; bottom: 10px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px; }
.pin { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.pin span { transform: rotate(45deg); color: #fff; font-size: 12px; font-weight: 700; }

/* places */
.prio { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; white-space: nowrap; }
.prio-must { background: var(--accent); color: #fff; } .prio-high { background: var(--accent-soft); color: var(--accent); } .prio-like { background: var(--brand-soft); color: var(--brand); }
.prio-optional, .prio-backup { background: var(--surface-2); color: var(--ink-3); } .prio-not_interested { background: var(--surface-2); color: var(--ink-3); text-decoration: line-through; }
.catdot { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff; }
.catdot svg { width: 19px; height: 19px; }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(1200px 600px at 10% -10%, var(--brand-soft), transparent), radial-gradient(900px 500px at 110% 110%, var(--accent-soft), transparent), var(--bg); }
.login .card { width: 100%; max-width: 380px; padding: 28px 24px; }
.brandmark { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--accent))); display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.brandmark svg { width: 28px; height: 28px; }
.login h1 { font: 600 28px/1.15 var(--font-display); margin: 0 0 4px; letter-spacing: -.01em; }

/* trips */
.tripcard { display: block; overflow: hidden; cursor: pointer; margin-bottom: 14px; }
.tripcard .hero { height: 120px; position: relative; background: linear-gradient(135deg, var(--h1, #1f5c74), var(--h2, #d9643f)); }
.tripcard .hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.25), transparent 50%), repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 18px); }
.tripcard .hero .dest { position: absolute; left: 16px; bottom: 12px; color: #fff; font: 600 26px/1.1 var(--font-display); z-index: 1; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.tripcard .info { padding: 12px 16px 14px; display: flex; align-items: center; gap: 10px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.stepper button { width: 42px; height: 42px; border: 0; background: var(--surface-2); font-size: 20px; cursor: pointer; }
.stepper span { min-width: 74px; text-align: center; font-weight: 600; }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--line-2); border-radius: 999px; transition: .15s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--brand); } .switch input:checked + span::before { transform: translateX(20px); }
.range { width: 100%; accent-color: var(--brand); }
.offline-only { display: none; } body.is-offline .offline-only { display: flex; }
@media print { .bottomnav, .fab, .topbar .iconbtn, .daybar { display: none !important; } .shell { padding: 0; } .scard { box-shadow: none; border: 1px solid #ccc; } }
