:root {
  --bg: #f6f7f9; --surface: #ffffff; --surface2: #eef0f3; --surface3: #e4e7eb;
  --text: #14171c; --muted: #646b76; --faint: #9aa1ab; --line: #e5e8ec;
  --accent: #1a6ce0; --accent-weak: #e7f0ff; --on-accent: #fff;
  --flag: #d13438; --flag-weak: #fdecec;
  --pin: #6d48d0; --pin-weak: #f1ecfd;
  --ok: #188a4a; --warn: #b86e00; --danger: #a4262c;
  --scrim: rgba(10, 12, 16, .38);
  --shadow: 0 10px 30px rgba(10, 20, 40, .16);
  --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px);
  --vvh: 100%;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0f1114; --surface: #171a1f; --surface2: #20242a; --surface3: #2a2f36;
  --text: #eceef1; --muted: #a1a8b3; --faint: #6c737e; --line: #262a31;
  --accent: #5b9bff; --accent-weak: #1b2a44; --on-accent: #0b1220;
  --flag: #ff6b6e; --flag-weak: #3a1d1f; --pin: #a98bff; --pin-weak: #2a2140;
  --ok: #4cc883; --warn: #f0a640; --danger: #ff7b80; --scrim: rgba(0, 0, 0, .55);
  --shadow: 0 10px 30px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1114; --surface: #171a1f; --surface2: #20242a; --surface3: #2a2f36;
    --text: #eceef1; --muted: #a1a8b3; --faint: #6c737e; --line: #262a31;
    --accent: #5b9bff; --accent-weak: #1b2a44; --on-accent: #0b1220;
    --flag: #ff6b6e; --flag-weak: #3a1d1f; --pin: #a98bff; --pin-weak: #2a2140;
    --ok: #4cc883; --warn: #f0a640; --danger: #ff7b80; --scrim: rgba(0, 0, 0, .55);
    --shadow: 0 10px 30px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); }
body {
  position: fixed; inset: 0; overflow: hidden; overscroll-behavior: none;
  font: 16px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; font-size: 16px; color: var(--text); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

#app, .screen { position: absolute; inset: 0; }
#main { display: flex; flex-direction: column; }

/* Top bar */
.topbar {
  display: flex; align-items: center; gap: 4px;
  padding: calc(var(--st) + 6px) 8px 6px; background: var(--bg);
}
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--text); }
.icon-btn:active { background: var(--surface2); }
.icon-btn.on { color: var(--pin); }
.icon-btn.flag-on { color: var(--flag); }
.title { flex: 1; min-width: 0; padding: 0 4px; }
.title .t { font-size: 22px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.title .s { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link { color: var(--accent); font-weight: 500; padding: 8px 6px; }

.searchbar { display: flex; gap: 8px; align-items: center; padding: 0 12px 8px; }
.searchbar input {
  flex: 1; height: 38px; border-radius: 11px; border: 0; padding: 0 12px;
  background: var(--surface2); outline: none;
}

/* Focused/Other + filter chips */
.subbar { padding: 0 12px 8px; display: flex; flex-direction: column; gap: 8px; }
.seg { display: flex; background: var(--surface2); border-radius: 10px; padding: 2px; }
.seg button { flex: 1; height: 32px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg button.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 30px; padding: 0 12px; border-radius: 15px; font-size: 13.5px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  display: inline-flex; align-items: center; gap: 5px;
}
.chip svg { width: 15px; height: 15px; }
.chip.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip .n { font-size: 12px; opacity: .75; }

.busy { height: 2px; background: transparent; position: relative; overflow: hidden; }
.busy.on::after {
  content: ""; position: absolute; inset: 0; width: 35%; background: var(--accent);
  animation: busy 1s ease-in-out infinite;
}
@keyframes busy { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

/* List */
.list { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; position: relative; padding-bottom: calc(var(--sb) + 90px); }
.ptr { height: 56px; margin-top: -56px; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.ptr svg { transition: transform .2s; }
.ptr.ready svg { transform: rotate(180deg); color: var(--accent); }
.sec {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px;
  padding: 10px 16px 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); background: var(--bg);
}
.sec svg { width: 15px; height: 15px; }
.sec .n { font-weight: 600; color: var(--faint); }
.sec .chev { margin-left: auto; transition: transform .2s; }
.sec.collapsed .chev { transform: rotate(-90deg); }
.sec.pins { color: var(--pin); cursor: pointer; }
.sec.overdue { color: var(--flag); }

.row { position: relative; overflow: hidden; background: var(--surface); }
.row .fg::before { content: ""; position: absolute; left: 68px; right: 0; top: 0; border-top: 1px solid var(--line); }
.sec + .row .fg::before, .ptr + .row .fg::before { content: none; }
.row .bg {
  position: absolute; inset: 0; display: flex; align-items: center; padding: 0 24px; gap: 8px;
  color: #fff; font-weight: 600; font-size: 15px; background: var(--swipe, var(--accent));
}
.row[data-dir="left"] .bg { justify-content: flex-end; }
.row .bg svg { transition: transform .15s; }
.row.arm .bg svg { transform: scale(1.25); }
.fg {
  position: relative; background: var(--surface); display: flex; gap: 12px;
  padding: 12px 16px 12px 14px; transition: transform .22s cubic-bezier(.2,.8,.2,1);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.row.is-pinned .fg { background: linear-gradient(90deg, var(--pin-weak), var(--surface) 70%); }
.row.unread .fg::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.row.selected .fg { background: var(--accent-weak); }
.av {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-size: 15px; font-weight: 600; color: #fff; background: hsl(var(--h, 210) 55% 52%);
}
.av.sel { background: var(--surface2); color: var(--muted); border: 2px solid var(--line); }
.av.sel.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.av.sel svg { width: 20px; height: 20px; stroke-width: 2.4; }
.rb { flex: 1; min-width: 0; }
.l1, .l2 { display: flex; align-items: baseline; gap: 8px; }
.from { flex: 1; min-width: 0; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.time { font-size: 13px; color: var(--muted); flex: none; }
.subj { flex: 1; min-width: 0; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icons { display: flex; gap: 4px; color: var(--muted); flex: none; align-self: center; }
.icons svg { width: 15px; height: 15px; }
.icons .p { color: var(--pin); }
.icons .f { color: var(--flag); }
.icons .f.done { color: var(--ok); }
.icons .imp { color: var(--flag); font-weight: 800; font-size: 14px; line-height: 15px; }
.prev { font-size: 14px; color: var(--muted); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row.unread .from, .row.unread .subj { font-weight: 700; }
.row.unread .time { color: var(--accent); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.tag { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px; background: var(--surface2); color: var(--muted); }
.tag svg { width: 12px; height: 12px; }
.tag.due { background: var(--flag-weak); color: var(--flag); }
.tag.due.later { background: var(--surface2); color: var(--muted); }
.tag.due.done { background: transparent; color: var(--ok); padding-left: 0; }
.tag.cat { background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--text); }
.tag.cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.tag.folder { background: transparent; padding-left: 0; }
.row.done .subj, .row.done .from { text-decoration: line-through; color: var(--muted); }

.compact .fg { padding-top: 8px; padding-bottom: 8px; }
.compact .av { width: 32px; height: 32px; font-size: 13px; }
.compact .row .fg::before { left: 60px; }
.compact .prev { -webkit-line-clamp: 1; }

.more { text-align: center; padding: 18px; color: var(--muted); font-size: 14px; }
.empty { text-align: center; padding: 70px 30px; color: var(--muted); }
.empty svg { width: 46px; height: 46px; stroke-width: 1.4; color: var(--faint); margin-bottom: 10px; }
.empty b { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }

.fab {
  position: absolute; right: 18px; bottom: calc(var(--sb) + 18px); width: 58px; height: 58px; border-radius: 18px;
  background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: var(--shadow); z-index: 5;
}
.fab:active { transform: scale(.95); }
.fab svg { width: 24px; height: 24px; }

.selectbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; justify-content: space-around;
  padding: 8px 6px calc(var(--sb) + 8px); background: var(--surface); border-top: 1px solid var(--line);
}
.selectbar button, .rbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--muted); min-width: 52px; padding: 4px 0; }
.selectbar button svg, .rbar button svg { color: var(--text); }
.selectbar button:disabled { opacity: .35; }

/* Drawer */
.scrim { position: fixed; inset: 0; background: var(--scrim); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 20; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(84vw, 340px); z-index: 21; background: var(--surface);
  transform: translateX(-102%); transition: transform .28s cubic-bezier(.2,.8,.2,1); overflow-y: auto;
  padding: calc(var(--st) + 14px) 10px calc(var(--sb) + 20px);
}
.drawer.on { transform: none; box-shadow: var(--shadow); }
.acct { display: flex; gap: 12px; align-items: center; padding: 6px 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.acct .av { width: 44px; height: 44px; }
.acct b { display: block; font-size: 16px; }
.acct span { font-size: 13px; color: var(--muted); word-break: break-all; }
.dlabel { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); padding: 14px 10px 6px; }
.ditem { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 10px; text-align: left; font-size: 15.5px; }
.ditem.active { background: var(--accent-weak); color: var(--accent); font-weight: 600; }
.ditem .n { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 600; }
.ditem.active .n { color: var(--accent); }
.ditem.sub { padding-left: 34px; }

/* Panels (reader, composer, settings) */
.panel {
  position: fixed; left: 0; right: 0; top: 0; height: var(--vvh); z-index: 30; background: var(--bg);
  display: flex; flex-direction: column; transform: translateX(104%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.panel.on { transform: none; box-shadow: -10px 0 30px rgba(0,0,0,.08); }
#composer, #settings { z-index: 31; }
#composer { transform: translateY(104%); }
#composer.on { transform: none; }
.ptop { display: flex; align-items: center; gap: 2px; padding: calc(var(--st) + 6px) 8px 6px; background: var(--bg); border-bottom: 1px solid var(--line); }
.ptop .ttl { flex: 1; text-align: center; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptop .back { display: flex; align-items: center; color: var(--accent); font-size: 16px; padding: 8px 4px; min-width: 70px; }
.ptop .sp { flex: 1; }
.btn {
  height: 36px; padding: 0 16px; border-radius: 18px; font-weight: 600; font-size: 15px;
  background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; gap: 6px;
}
.btn.ghost { background: var(--surface2); color: var(--text); }
.btn:disabled { opacity: .5; }
.pscroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

.rhead { padding: 16px 16px 8px; background: var(--surface); }
.rsubj { font-size: 21px; font-weight: 700; line-height: 1.25; margin: 0 0 10px; letter-spacing: -.01em; word-wrap: break-word; }
.rchips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rchips:empty { display: none; }
.rchips .tag { font-size: 12.5px; padding: 4px 9px; }
.rchips .tag.pin { background: var(--pin-weak); color: var(--pin); }
button.tag { cursor: pointer; }
.rfrom { display: flex; gap: 12px; align-items: flex-start; }
.rfrom .who { flex: 1; min-width: 0; }
.rfrom b { display: block; font-size: 15.5px; }
.rfrom .addr, .rfrom .to { font-size: 13px; color: var(--muted); word-break: break-word; }
.rfrom time { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.atts { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 4px; background: var(--surface); scrollbar-width: none; }
.att { flex: none; display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px; background: var(--surface2); font-size: 13.5px; max-width: 240px; }
.att span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att small { color: var(--muted); }
.imgnote { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 16px; font-size: 13px; color: var(--muted); background: var(--surface); border-top: 1px solid var(--line); }
.rbody { background: #fff; border-top: 1px solid var(--line); min-height: 200px; }
.rbody iframe { display: block; width: 100%; border: 0; height: 200px; background: #fff; }
.rloading { padding: 40px; text-align: center; color: var(--muted); }
.rbar { display: flex; justify-content: space-around; padding: 6px 6px calc(var(--sb) + 6px); border-top: 1px solid var(--line); background: var(--surface); }

/* Composer */
.field { display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.field > span { color: var(--muted); font-size: 15px; width: 58px; flex: none; }
.field input { flex: 1; border: 0; background: transparent; height: 48px; outline: none; min-width: 0; }
.field .static { flex: 1; padding: 14px 0; font-size: 15px; word-break: break-word; }
.sug { background: var(--surface); border-bottom: 1px solid var(--line); }
.sug button { display: block; width: 100%; text-align: left; padding: 10px 16px 10px 82px; font-size: 15px; }
.sug button small { color: var(--muted); display: block; font-size: 12.5px; }
.qr { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
.qr .chip { font-size: 13px; }
textarea.cbody { display: block; width: 100%; min-height: 220px; border: 0; outline: none; resize: none; padding: 14px 16px; background: var(--surface); line-height: 1.45; }
.quote { margin: 0; padding: 12px 16px 30px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface); white-space: pre-wrap; }

/* Settings */
.group { margin: 18px 16px 0; }
.group > h3 { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 4px 8px; }
.card { background: var(--surface); border-radius: 14px; overflow: hidden; }
.srow { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 8px 14px; border-top: 1px solid var(--line); font-size: 15.5px; }
.srow:first-child { border-top: 0; }
.srow .lbl { flex: 1; min-width: 0; }
.srow .lbl small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.srow select { border: 0; background: transparent; color: var(--accent); text-align: right; direction: rtl; max-width: 55%; outline: none; }
.srow textarea { width: 100%; min-height: 120px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--bg); }
.srow.col { flex-direction: column; align-items: stretch; }
.srow.danger { color: var(--danger); justify-content: center; font-weight: 600; }
.srow.act { color: var(--accent); font-weight: 500; }
.note { font-size: 13px; color: var(--muted); padding: 8px 4px 0; line-height: 1.45; }
.switch { position: relative; width: 51px; height: 31px; flex: none; }
.switch input { opacity: 0; position: absolute; inset: 0; margin: 0; z-index: 1; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 16px; background: var(--surface3); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked + i { background: var(--ok); }
.switch input:checked + i::after { transform: translateX(20px); }
.segset { display: flex; background: var(--surface2); border-radius: 9px; padding: 2px; }
.segset button { padding: 5px 11px; border-radius: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.segset button.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* Bottom sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.sheet-wrap.on { pointer-events: auto; }
.sheet-wrap .sc { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity .2s; }
.sheet-wrap.on .sc { opacity: 1; }
.sheet {
  position: absolute; left: 8px; right: 8px; bottom: calc(var(--sb) + 8px); max-height: 80vh; overflow-y: auto;
  transform: translateY(110%); transition: transform .26s cubic-bezier(.2,.8,.2,1);
}
.sheet-wrap.on .sheet { transform: none; }
.sheet .box { background: var(--surface); border-radius: 16px; overflow: hidden; }
.sheet .sh { padding: 14px 16px 10px; text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); }
.sheet .sh b { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet .opt { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 18px; text-align: left; font-size: 16.5px; border-top: 1px solid var(--line); }
.sheet .opt:first-child { border-top: 0; }
.sheet .sh + .opt { border-top: 0; }
.sheet .opt:active { background: var(--surface2); }
.sheet .opt small { margin-left: auto; color: var(--muted); font-size: 14px; }
.sheet .opt.danger { color: var(--danger); }
.sheet .opt.cur { color: var(--accent); font-weight: 600; }
.sheet .opt svg { color: var(--muted); }
.sheet .opt.danger svg { color: var(--danger); }
.sheet .cancel { margin-top: 8px; width: 100%; padding: 16px; border-radius: 16px; background: var(--surface); font-weight: 600; font-size: 17px; color: var(--accent); }
.sheet .datebox { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.sheet .datebox input { height: 46px; border-radius: 10px; border: 1px solid var(--line); padding: 0 12px; background: var(--bg); width: 100%; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--sb) + 92px); z-index: 60; transform: translate(-50%, 20px);
  min-width: 220px; max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  border-radius: 14px; background: #24282f; color: #fff; font-size: 14.5px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast span { flex: 1; }
.toast button { color: #8fb8ff; font-weight: 700; }

/* Setup screen */
#setup { overflow-y: auto; padding: calc(var(--st) + 30px) 22px calc(var(--sb) + 30px); }
.setup { max-width: 460px; margin: 0 auto; }
.setup .logo { width: 76px; height: 76px; border-radius: 18px; display: block; margin: 0 0 18px; box-shadow: var(--shadow); }
.setup h1 { font-size: 30px; margin: 0 0 6px; letter-spacing: -.02em; }
.setup p { color: var(--muted); margin: 0 0 22px; line-height: 1.45; }
.setup label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
.setup input { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding: 0 14px; outline: none; }
.setup input:focus { border-color: var(--accent); }
.setup .uri { display: flex; gap: 8px; align-items: center; background: var(--surface2); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; word-break: break-all; }
.setup .uri code { flex: 1; }
.setup .btn { width: 100%; justify-content: center; height: 50px; border-radius: 14px; margin-top: 22px; font-size: 16.5px; }
.setup .btn.ghost { margin-top: 10px; }
.setup .err { background: var(--flag-weak); color: var(--flag); padding: 10px 12px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; }
.setup ol { color: var(--muted); padding-left: 20px; font-size: 14px; line-height: 1.5; }
.setup details { margin-top: 22px; background: var(--surface); border-radius: 12px; padding: 12px 14px; }
.setup summary { font-weight: 600; cursor: pointer; }
