:root {
  --bg: #F3F5F4;
  --surface: #FFFFFF;
  --surface-2: #EBEFED;
  --ink: #17212B;
  --ink-2: #4A5561;
  --ink-3: #7D8791;
  --line: #DCE2E0;
  --line-2: #C5CDCA;
  --accent: #0F6B5A;
  --accent-ink: #FFFFFF;
  --accent-soft: #DDF0EA;
  --accent-text: #0B5446;
  --office: #3346A8;
  --office-bg: #E6E9FA;
  --personal: #A3520F;
  --personal-bg: #FCEBD9;
  --rec: #D23434;
  --rec-soft: #FBE3E3;
  --warn-bg: #FFF4D6;
  --warn-ink: #7A5500;
  --danger: #C0312F;
  --ok: #1E8A5A;
  --shadow: 0 10px 30px rgba(15, 30, 40, .14);
  --radius: 10px;
  --radius-lg: 18px;
  --tab-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-ur: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Noto Naskh Arabic", "Noto Sans Arabic", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1418; --surface: #182026; --surface-2: #212B32; --ink: #E6ECEF; --ink-2: #AEB8BF; --ink-3: #7F8B93;
    --line: #2A353D; --line-2: #3A4750; --accent: #3FBF9F; --accent-ink: #062A22; --accent-soft: #173A33; --accent-text: #7FDCC3;
    --office: #A9B5FF; --office-bg: #252C55; --personal: #FFB877; --personal-bg: #4A2E14;
    --rec: #FF6B6B; --rec-soft: #45201F; --warn-bg: #3D3214; --warn-ink: #F3D27A; --danger: #FF7B78; --ok: #5AD39A;
    --shadow: 0 10px 30px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1418; --surface: #182026; --surface-2: #212B32; --ink: #E6ECEF; --ink-2: #AEB8BF; --ink-3: #7F8B93;
  --line: #2A353D; --line-2: #3A4750; --accent: #3FBF9F; --accent-ink: #062A22; --accent-soft: #173A33; --accent-text: #7FDCC3;
  --office: #A9B5FF; --office-bg: #252C55; --personal: #FFB877; --personal-bg: #4A2E14;
  --rec: #FF6B6B; --rec-soft: #45201F; --warn-bg: #3D3214; --warn-ink: #F3D27A; --danger: #FF7B78; --ok: #5AD39A;
  --shadow: 0 10px 30px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.ico { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.ico.sm { width: 18px; height: 18px; }
.ico.xs { width: 15px; height: 15px; }
.ico.fill { fill: currentColor; stroke: none; }
[hidden] { display: none !important; }
.ur, [lang="ur"] { font-family: var(--font-ur); }

#app { max-width: 640px; margin: 0 auto; min-height: 100dvh; position: relative; }
#view { padding: calc(var(--safe-t) + 8px) 16px calc(var(--tab-h) + var(--safe-b) + 96px); }

/* Header */
.head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 0 12px; }
.head h1 { font-size: 26px; line-height: 1.15; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.head .sub { color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.head .actions { display: flex; gap: 0; align-items: center; flex-shrink: 0; }
.iconbtn { width: 40px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; color: var(--ink-2); }
.iconbtn:active { background: var(--surface-2); }
.datewrap { position: relative; overflow: hidden; cursor: pointer; }
.datewrap input[type="date"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; margin: 0; cursor: pointer; font-size: 16px; }
.datewrap input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.wordmark { font-family: var(--font-ur); color: var(--accent); font-size: 20px; line-height: 1; margin-left: 8px; font-weight: 400; }

/* Segmented control */
.seg { display: flex; background: var(--surface-2); border-radius: 12px; padding: 3px; gap: 2px; margin-bottom: 12px; }
.seg button { flex: 1; padding: 7px 0; border-radius: 9px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.seg.small button { padding: 5px 0; font-size: 13px; }

/* Week strip */
.week { display: flex; align-items: stretch; gap: 2px; margin: 2px 0 14px; }
.week .nav { width: 30px; display: grid; place-items: center; color: var(--ink-3); border-radius: 10px; }
.week .days { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 0 7px; border-radius: 12px; color: var(--ink-2); position: relative; }
.day .dw { font-size: 11px; color: var(--ink-3); }
.day .dn { font-size: 19px; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.2; }
.day .dots { display: flex; gap: 3px; height: 5px; }
.day .dots i { width: 5px; height: 5px; border-radius: 50%; display: block; }
.day .dots .o { background: var(--office); }
.day .dots .p { background: var(--personal); }
.day.today .dn { color: var(--accent); }
.day.sel { background: var(--accent); color: var(--accent-ink); }
.day.sel .dw, .day.sel .dn { color: var(--accent-ink); }
.day.sel .dots i { background: var(--accent-ink); opacity: .8; }

.progress { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); margin: -4px 0 10px; }
.progress .bar { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.progress .bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; transition: width .3s; }

/* Lists */
.group { margin-bottom: 18px; }
.group-h { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink-3); padding: 6px 2px 8px; width: 100%; text-align: left; }
.group-h .count { font-weight: 500; }
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-top: 1px solid var(--line); min-height: 56px; }
.row:first-child { border-top: 0; }
.row .main { flex: 1; min-width: 0; text-align: left; }
.row .title { font-size: 15.5px; line-height: 1.3; word-wrap: break-word; overflow-wrap: anywhere; }
.row .meta { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.row .meta span { display: inline-flex; align-items: center; gap: 3px; }
.row .meta .hi { color: var(--danger); font-weight: 600; }
.row .meta .area { font-weight: 600; }
.row .meta .area::before { content: ""; width: 7px; height: 7px; border-radius: 50%; margin-right: 3px; }
.row .meta .area.office { color: var(--office); }
.row .meta .area.office::before { background: var(--office); }
.row .meta .area.personal { color: var(--personal); }
.row .meta .area.personal::before { background: var(--personal); }
.row.done .title { color: var(--ink-3); text-decoration: line-through; }
.row .act { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--accent-text); flex-shrink: 0; }
.row .act:active { background: var(--accent-soft); }

.check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; color: transparent; transition: background .15s, border-color .15s; }
.check.pr-high { border-color: var(--danger); }
.row.done .check { background: var(--ok); border-color: var(--ok); color: #fff; }
.check .ico { width: 16px; height: 16px; stroke-width: 3; }

.pill { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pill.office { background: var(--office-bg); color: var(--office); }
.pill.personal { background: var(--personal-bg); color: var(--personal); }
.pill.neutral { background: var(--surface-2); color: var(--ink-2); }
.pill.rec { background: var(--rec-soft); color: var(--rec); }
.pill.ok { background: var(--accent-soft); color: var(--accent-text); }
.pill.warn { background: var(--warn-bg); color: var(--warn-ink); }

.empty { text-align: center; padding: 34px 20px 30px; color: var(--ink-3); background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.empty p { margin: 0 0 14px; font-size: 14px; }

.search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; margin-bottom: 12px; color: var(--ink-3); }
.search input { flex: 1; border: 0; background: transparent; padding: 11px 0; outline: none; color: var(--ink); min-width: 0; }

/* Notes list */
.note-row { display: block; padding: 13px 14px; border-top: 1px solid var(--line); width: 100%; text-align: left; }
.note-row:first-child { border-top: 0; }
.note-row .top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.note-row .t { font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }
.note-row .pv { color: var(--ink-2); font-size: 13.5px; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.note-row .m { color: var(--ink-3); font-size: 12px; margin-top: 5px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.note-row .m span { display: inline-flex; gap: 3px; align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 16px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--accent-text); }
.btn.danger { color: var(--danger); }
.btn.block { width: 100%; }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btnrow { display: flex; gap: 8px; flex-wrap: wrap; }
.btnrow > .btn { flex: 1; white-space: nowrap; padding: 0 12px; }
.btnrow > .btn.ghost { flex: 0 0 auto; }

/* FAB + tabbar */
.fab { position: fixed; right: max(16px, calc(50% - 320px + 16px)); bottom: calc(var(--tab-h) + var(--safe-b) + 16px); width: 58px; height: 58px; border-radius: 18px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: var(--shadow); z-index: 20; }
.fab .ico { width: 28px; height: 28px; stroke-width: 2.2; }
.fab:active { transform: scale(.96); }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: var(--safe-b); height: calc(var(--tab-h) + var(--safe-b)); max-width: 640px; margin: 0 auto; }
.tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink-3); font-size: 11.5px; font-weight: 600; position: relative; }
.tabbar button .ico { width: 24px; height: 24px; }
.tabbar button[aria-current="page"] { color: var(--accent-text); }
.tabbar button[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
.tabbar .recdot { position: absolute; top: 9px; right: calc(50% - 18px); width: 9px; height: 9px; border-radius: 50%; background: var(--rec); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.recbanner { display: flex; align-items: center; gap: 8px; background: var(--rec-soft); color: var(--rec); border-radius: 12px; padding: 9px 12px; font-size: 14px; font-weight: 600; margin-bottom: 10px; width: 100%; }
.recbanner .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); animation: pulse 1.4s infinite; }
.offline { display: flex; align-items: center; gap: 8px; background: var(--warn-bg); color: var(--warn-ink); border-radius: 12px; padding: 8px 12px; font-size: 13px; margin-bottom: 10px; }

/* Sheets */
.sheet-wrap { position: fixed; inset: 0; bottom: var(--kb, 0px); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(8, 14, 18, .45); animation: fade .18s ease-out; }
.sheet { position: relative; width: 100%; max-width: 640px; max-height: calc(100% - 16px); background: var(--surface); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; animation: up .22s cubic-bezier(.2,.8,.2,1); padding-bottom: var(--safe-b); }
.sheet.full { height: calc(100% - 10px); max-height: none; }
.sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 8px auto 0; flex-shrink: 0; }
.sheet .sh-head { display: flex; align-items: center; gap: 8px; padding: 8px 10px 6px 18px; flex-shrink: 0; }
.sheet .sh-head h2 { flex: 1; font-size: 18px; margin: 0; font-weight: 700; }
.sheet .sh-body { padding: 6px 18px 18px; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; }
.sheet .sh-foot { padding: 10px 18px 14px; border-top: 1px solid var(--line); flex-shrink: 0; display: flex; gap: 8px; }
.sheet .sh-foot .btn { flex: 1; }
@keyframes up { from { transform: translateY(40px); opacity: .6; } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-bg { animation: none; } .tabbar .recdot, .recbanner .dot, .recbtn.on::after { animation: none; } }

/* Forms */
.field { margin-bottom: 14px; }
.field > label, .field > .lbl { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field .hint { font-size: 12.5px; color: var(--ink-3); margin-top: 5px; }
.inp, .ta, select.inp { width: 100%; border: 1px solid var(--line-2); background: var(--surface); border-radius: 12px; padding: 11px 12px; outline: none; font-size: 16px; }
.inp:focus, .ta:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ta { resize: vertical; min-height: 90px; line-height: 1.5; }
.title-inp { font-size: 19px; font-weight: 600; border: 0; padding: 6px 0; width: 100%; background: transparent; outline: none; }
.title-inp::placeholder { color: var(--ink-3); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--surface); display: inline-flex; align-items: center; gap: 6px; }
.chip[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); }
.chip.office[aria-pressed="true"] { background: var(--office-bg); border-color: var(--office); color: var(--office); }
.chip.personal[aria-pressed="true"] { background: var(--personal-bg); border-color: var(--personal); color: var(--personal); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.switch:first-child { border-top: 0; }
.switch .txt { flex: 1; }
.switch .txt b { display: block; font-weight: 600; font-size: 15px; }
.switch .txt small { color: var(--ink-3); font-size: 13px; }
.tgl { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 999px; background: var(--line-2); position: relative; flex-shrink: 0; transition: background .15s; cursor: pointer; margin: 0; }
.tgl::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.tgl:checked { background: var(--accent); }
.tgl:checked::after { transform: translateX(18px); }
.section-t { font-size: 13px; font-weight: 700; color: var(--ink-3); margin: 20px 0 8px; }
.card { background: var(--surface-2); border-radius: 14px; padding: 14px; }
.card + .card { margin-top: 10px; }
.danger-zone { border: 1px solid var(--line); border-radius: 14px; padding: 12px; }

/* Move sheet */
.movegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.movegrid .btn { justify-content: flex-start; min-height: 52px; font-weight: 500; }
.movegrid .btn small { display: block; color: var(--ink-3); font-weight: 400; font-size: 12px; }
.movegrid .btn .lab { text-align: left; line-height: 1.2; }

/* Meet */
.meet-card.saved { border: 1.5px solid var(--accent); }
.meet-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 16px; }
.recwrap { display: flex; flex-direction: column; align-items: center; padding: 12px 0 4px; }
.recbtn { width: 92px; height: 92px; border-radius: 50%; background: #D23434; color: #fff; display: grid; place-items: center; position: relative; box-shadow: 0 8px 22px rgba(210, 52, 52, .35); }
.recbtn .ico { width: 34px; height: 34px; }
.recbtn.on::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 3px solid var(--rec); opacity: .35; animation: pulse 1.4s infinite; }
.recbtn:active { transform: scale(.97); }
.timer { font-size: 32px; font-weight: 650; font-variant-numeric: tabular-nums; margin-top: 12px; letter-spacing: .02em; }
.recstatus { font-size: 13.5px; color: var(--ink-3); text-align: center; margin-top: 2px; min-height: 20px; }
.level { display: flex; gap: 3px; align-items: center; height: 26px; margin-top: 8px; }
.level i { width: 4px; border-radius: 3px; background: var(--rec); height: 4px; transition: height .08s; opacity: .8; }
.recctl { display: flex; gap: 10px; margin-top: 12px; }
.livebox { margin-top: 14px; max-height: 240px; overflow-y: auto; background: var(--surface-2); border-radius: 12px; padding: 12px; font-size: 15px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.livebox .interim { color: var(--ink-3); }
.livebox:empty::before { content: attr(data-empty); color: var(--ink-3); font-size: 14px; }
.modecards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.modecard { text-align: left; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; background: var(--surface); }
.modecard b { display: block; font-size: 14px; }
.modecard small { color: var(--ink-3); font-size: 12px; line-height: 1.3; display: block; margin-top: 2px; }
.modecard[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.modecard[aria-pressed="true"] b { color: var(--accent-text); }
.notice { display: flex; gap: 10px; align-items: flex-start; background: var(--warn-bg); color: var(--warn-ink); border-radius: 12px; padding: 11px 12px; font-size: 13.5px; margin-bottom: 12px; }
.notice .btn { margin-top: 8px; }
.notice.info { background: var(--accent-soft); color: var(--accent-text); }

.mnotes h3 { font-size: 13px; font-weight: 700; color: var(--ink-3); margin: 16px 0 6px; }
.mnotes h3:first-child { margin-top: 0; }
.mnotes p { margin: 0; line-height: 1.55; }
.mnotes ul { margin: 0; padding-left: 20px; }
.mnotes li { margin: 3px 0; line-height: 1.5; }
.ai-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.ai-row:first-of-type { border-top: 0; }
.ai-row .txt { flex: 1; font-size: 15px; line-height: 1.4; }
.ai-row .txt small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.transcript { white-space: pre-wrap; line-height: 1.7; font-size: 15px; }
.tabs2 { display: flex; gap: 6px; margin: 4px 0 12px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast */
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + var(--safe-b) + 86px); z-index: 60; background: var(--ink); color: var(--bg); border-radius: 12px; padding: 11px 14px; font-size: 14px; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); box-shadow: var(--shadow); }
.sheet-open .toast { bottom: auto; top: calc(var(--safe-t) + 14px); }
.toast button { color: var(--accent-soft); font-weight: 700; }
.transcript, .livebox, .ta, .pv, .mnotes p, .mnotes li, .ai-row .txt { unicode-bidi: plaintext; }
:root[data-theme="dark"] .toast button { color: var(--accent-ink); }

.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.mt { margin-top: 12px; }
.mb { margin-bottom: 12px; }
.center { text-align: center; }
.link-btn { color: var(--accent-text); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.kbd { font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }

.row.flash { animation: rowflash 1.8s ease-out; }
@keyframes rowflash { 0%, 35% { background: var(--accent-soft); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .row.flash { animation: none; background: var(--accent-soft); } }

.syncbtn { position: relative; }
.syncbtn i { position: absolute; top: 9px; right: 8px; width: 8px; height: 8px; border-radius: 50%; display: none; border: 1.5px solid var(--bg); }
.syncbtn.ok { color: var(--accent-text); }
.syncbtn.wait i { display: block; background: #E0A100; }
.syncbtn.err { color: var(--danger); }
.syncbtn.err i { display: block; background: var(--danger); }
.syncbtn.busy .ico { animation: pulse 1.1s infinite; }
ol.steps { padding-left: 20px; margin: 8px 0 14px; }
ol.steps li { margin: 0 0 12px; line-height: 1.5; font-size: 14.5px; }
pre.code { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; font-size: 12px; line-height: 1.45; margin: 8px 0; font-family: ui-monospace, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
