@font-face {
  font-family: 'Inter';
  src: url('fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #F2F2F7; --card: #FFFFFF; --sep: #E5E5EA; --ink: #111114; --sec: #5E5E63; --fill: #E9E9EE; --track: #E3E3E8;
  --segon: #FFFFFF; --chev: #8E8E93; --blue: #0066CC; --green: #1E7A35; --red: #D70015; --orange: #A84B00;
  --y: #F0C856; --ony: #111114; --mark: #F0C856; --hl: #FFF8E1; --glass: rgba(255, 255, 255, 0.94);
  --greenT: rgba(30, 122, 53, 0.12); --orangeT: rgba(168, 75, 0, 0.12); --redT: rgba(215, 0, 21, 0.08);
  --toast: rgba(28, 28, 30, 0.96); --costbar: #48484A;
  --sq-blue: #0066CC; --sq-red: #D70015; --sq-orange: #A84B00; --btn-green: #1E7A35;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --card: #1C1C1E; --sep: #38383A; --ink: #F2F2F7; --sec: #AEAEB2; --fill: #2C2C2E; --track: #2C2C2E;
    --segon: #636366; --blue: #5AA9FF; --green: #4CD07A; --red: #FF6B61; --orange: #FFB050; --mark: rgba(240, 200, 86, 0.38);
    --hl: rgba(240, 200, 86, 0.12); --glass: rgba(28, 28, 30, 0.97); --greenT: rgba(76, 208, 122, 0.16);
    --orangeT: rgba(255, 176, 80, 0.16); --redT: rgba(255, 107, 97, 0.14); --toast: rgba(58, 58, 60, 0.97); --costbar: #8E8E93;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-size: 17px; line-height: 1.3;
  letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; overscroll-behavior-y: none;
}
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: var(--blue); }
::selection { background: #F0C856; color: #111114; }
input, textarea { caret-color: var(--blue); }
input::placeholder, textarea::placeholder { color: var(--sec); font-weight: 400; }
:focus-visible { outline: 3px solid #0066CC; outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.app { max-width: 560px; margin: 0 auto; min-height: 100vh; position: relative; }
.view { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }

/* top of tab screens */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(14px + env(safe-area-inset-top)) 16px 0; }
.logo { width: 40px; height: 40px; border-radius: 10px; display: block; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
.pill { margin: 0; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; font-size: 14px; font-weight: 600; border: 0; }
.pill.ok { background: var(--greenT); color: var(--green); }
.pill.wait { background: var(--orangeT); color: var(--orange); }
.pill.sync { background: var(--fill); color: var(--sec); }
.pill.bad { background: var(--redT); color: var(--red); }
.title { padding: 14px 16px 0; }
.title h1 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.title p { margin: 2px 0 0; font-size: 15px; color: var(--sec); }
.pad { padding: 0 16px; }
.h2 { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 0 8px; }
.h2 h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.h2 span { font-size: 15px; color: var(--sec); font-variant-numeric: tabular-nums; }
.label { margin: 22px 16px 6px; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--sec); }
.note { margin: 8px 0 0; font-size: 14px; color: var(--sec); }

.card { background: var(--card); border-radius: 18px; overflow: hidden; }
.sep { height: 1px; background: var(--sep); margin-left: 16px; }
.card > .sep:first-child { display: none; }
.full-sep { height: 1px; background: var(--sep); }

/* buttons */
.ybtn { height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 24px; border-radius: 28px; border: 0; width: 100%;
  background: var(--y); color: var(--ony); text-decoration: none; font-size: 18px; font-weight: 650; letter-spacing: -0.01em; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.ybtn.big { height: 60px; border-radius: 30px; font-size: 19px; }
.ybtn.small { height: 48px; width: auto; font-size: 16px; margin: 0 auto; }
.ybtn:active { filter: brightness(0.93); }
.ybtn:disabled { opacity: 0.55; }
.gbtn { height: 56px; border-radius: 28px; border: 0; background: var(--fill); color: var(--ink); font-size: 17px; font-weight: 600; }
.linkbtn { height: 44px; border: 0; background: transparent; color: var(--blue); font-size: 15px; font-weight: 500; width: 100%; }

/* rows */
.row { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 12px 0 16px; width: 100%; border: 0; background: transparent; color: var(--ink); text-align: left; font-size: 17px; text-decoration: none; }
.row .val { flex: 1; text-align: right; font-weight: 500; }
.row .val.sec { color: var(--sec); font-weight: 400; }
.textrow { display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.textrow input { flex: 1; min-width: 0; height: 54px; border: 0; background: transparent; font-size: 17px; font-weight: 500; padding: 0; outline: none; }
.money { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 16px; }
.money label { font-size: 17px; flex: none; }
.money input { flex: 1; min-width: 0; height: 56px; border: 0; background: transparent; text-align: right; font-size: 24px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; padding: 0; outline: none; }
.money .unit { font-size: 15px; color: var(--sec); }
.help { margin: -8px 16px 0; padding-bottom: 10px; text-align: right; font-size: 13px; color: var(--sec); font-variant-numeric: tabular-nums; }
.field:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.field.err { box-shadow: inset 0 0 0 2px var(--red); }
.errmsg { margin: -6px 16px 0; padding-bottom: 12px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--red); }
.field.err .help { display: none; }
textarea.notes { width: 100%; min-height: 80px; border: 0; background: transparent; padding: 14px 16px; font-size: 17px; resize: vertical; outline: none; }

/* chips + segmented */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0 0; }
.chip { height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 16px; border-radius: 22px; border: 0; background: var(--fill); color: var(--ink); font-size: 15px; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--card); font-weight: 600; }
.seg { display: grid; gap: 2px; padding: 3px; border-radius: 12px; background: var(--track); }
.seg button { height: 44px; border: 0; border-radius: 9px; background: transparent; font-size: 15px; font-weight: 500; color: var(--ink); padding: 0 4px; }
.seg button[aria-pressed="true"] { background: var(--segon); font-weight: 650; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14), 0 1px 1px rgba(0, 0, 0, 0.04); }
.seg button.credit[aria-pressed="true"] { color: var(--blue); }
.segwrap { padding: 12px 16px 14px; }
.segwrap p { margin: 0 0 8px; font-size: 15px; color: var(--sec); }
.badge { font-size: 11px; font-weight: 700; letter-spacing: 0.02em; border-radius: 6px; padding: 2px 6px; color: var(--green); background: var(--greenT); }

/* stepper + switch */
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper .n { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; min-width: 24px; text-align: right; }
.stepper .grp { display: flex; align-items: center; border-radius: 12px; background: var(--fill); }
.stepper button { width: 52px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.stepper .bar { width: 1px; height: 20px; background: var(--chev); }
.switch { width: 60px; height: 44px; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: flex-end; flex: none; }
.switch span { width: 51px; height: 31px; border-radius: 16px; background: var(--chev); position: relative; transition: background 0.15s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 14px; background: #FFFFFF; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); transition: left 0.15s; }
.switch[aria-checked="true"] span { background: var(--btn-green); }
.switch[aria-checked="true"] span::after { left: 22px; }

/* money highlight (ROHA receipt-book mark) */
.mark { background: linear-gradient(transparent 56%, var(--mark) 56%, var(--mark) 94%, transparent 94%); padding: 0 4px; margin: 0 -4px; }
.bar { display: flex; gap: 3px; height: 12px; border-radius: 6px; overflow: hidden; background: var(--fill); }
.bar .c { background: var(--costbar); }
.bar .p { background: var(--green); }
.bar .l { background: var(--red); }

/* today */
.deal { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 13px 16px; }
.deal.wait { background: var(--hl); }
.deal .l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.deal .l b { font-weight: 600; }
.deal .l span { font-size: 15px; color: var(--sec); }
.deal .r { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-variant-numeric: tabular-nums; flex: none; }
.deal .r b { font-weight: 600; }
.deal .r span { font-size: 15px; font-weight: 600; color: var(--green); }
.deal .r span.neg { color: var(--red); }
.waittag { display: flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--orange) !important; }
.total { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px 16px; }
.total b { font-weight: 600; }
.total .amt { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.total .amt small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--sec); }
.need { display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 8px 12px 8px 16px; color: var(--ink); text-decoration: none; width: 100%; border: 0; background: transparent; text-align: left; }
.need .sq { width: 32px; height: 32px; border-radius: 9px; color: #FFFFFF; display: flex; align-items: center; justify-content: center; flex: none; }
.need .t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.need .t b { font-weight: 500; }
.need .t span { font-size: 14px; color: var(--sec); }
.need .a { font-weight: 650; font-variant-numeric: tabular-nums; }
.empty { padding: 22px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.empty .ic { width: 44px; height: 44px; border-radius: 22px; background: var(--fill); color: var(--sec); display: flex; align-items: center; justify-content: center; }
.empty b { margin-top: 6px; font-weight: 600; }
.empty span { font-size: 15px; color: var(--sec); }
.month { padding: 16px; }
.month .big { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.month .big small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--sec); }
.month .pace { margin: 2px 0 26px; font-size: 15px; color: var(--sec); }
.month .pace b { color: var(--ink); font-variant-numeric: tabular-nums; }
.goal { position: relative; height: 12px; border-radius: 6px; background: var(--fill); }
.goal .fill { height: 12px; border-radius: 6px; background: var(--green); min-width: 6px; }
.goal .tick { position: absolute; top: -4px; width: 3px; height: 20px; border-radius: 2px; background: var(--ink); }
.goal .tl { position: absolute; top: -24px; transform: translateX(-50%); font-size: 12px; font-weight: 600; white-space: nowrap; }
.month .foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--sec); font-variant-numeric: tabular-nums; }

/* tab bar */
.tabs { position: fixed; left: 50%; transform: translateX(-50%); width: min(560px, 100%); bottom: 0; height: 0; z-index: 10; }
.tabbar { position: absolute; left: 16px; right: 92px; bottom: calc(22px + env(safe-area-inset-bottom)); height: 64px; border-radius: 32px; background: var(--glass);
  border: 1px solid var(--sep); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; padding: 0 4px; }
.tabs.nofab .tabbar { right: 16px; }
@supports (backdrop-filter: blur(1px)) { .ios .tabbar { backdrop-filter: blur(24px) saturate(180%); } }
.tabbar button { height: 52px; margin: 0 2px; border-radius: 26px; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 12px; font-weight: 600; color: var(--sec); }
.tabbar button[aria-current="page"] { background: var(--fill); color: var(--ink); font-weight: 700; }
.fab { position: absolute; right: 16px; bottom: calc(22px + env(safe-area-inset-bottom)); width: 64px; height: 64px; border-radius: 32px; border: 0; background: var(--y); color: var(--ony);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s; }
.tabs.nofab .fab { transform: scale(0.6); opacity: 0; pointer-events: none; }

/* full-screen form (new deal) */
.screen { position: fixed; inset: 0; z-index: 20; background: var(--bg); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.screen .inner { max-width: 560px; margin: 0 auto; padding-bottom: calc(190px + env(safe-area-inset-bottom)); }
.navbar { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: calc(56px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 8px 0; background: var(--bg); }
.navbar .cancel { justify-self: start; height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--blue); font-size: 17px; }
.navbar h1 { margin: 0; font-size: 17px; font-weight: 650; }
.datebtn { justify-self: end; height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 22px; border: 0; background: var(--fill); font-size: 15px; font-weight: 600; }
.footer { position: fixed; left: 50%; transform: translateX(-50%); width: min(560px, 100%); bottom: 0; z-index: 21; padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  background: var(--glass); border-top: 1px solid var(--sep); display: flex; flex-direction: column; gap: 4px; }
.errsum { margin: 0 0 4px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--red); }
.known { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--green); white-space: nowrap; }
.newtag { font-size: 13px; font-weight: 600; color: var(--sec); white-space: nowrap; }
.credit-note { margin: 8px 16px 0; font-size: 14px; font-weight: 500; color: var(--blue); }
.profit { padding: 16px; }
.profit .top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.profit .top b { font-weight: 600; }
.profit .amt { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.profit .amt small { font-size: 15px; font-weight: 650; letter-spacing: 0; color: var(--green); }
.profit .amt small.neg { color: var(--red); }
.profit .foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--sec); font-variant-numeric: tabular-nums; }
.profit .wait { font-size: 15px; color: var(--sec); }

/* sheets */
.scrim { position: fixed; inset: 0; z-index: 30; background: rgba(0, 0, 0, 0.32); animation: fade 0.2s ease-out; }
.sheet { position: fixed; left: 50%; transform: translateX(-50%); width: min(560px, 100%); bottom: 0; z-index: 31; max-height: 92vh; overflow-y: auto; background: var(--bg);
  border-radius: 28px 28px 0 0; padding: 8px 16px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18); animation: up 0.28s cubic-bezier(0.16, 1, 0.3, 1); }
.grab { width: 36px; height: 5px; border-radius: 3px; background: var(--chev); margin: 0 auto 12px; }
.shead { display: flex; align-items: flex-start; gap: 8px; }
.shead div { flex: 1; }
.shead h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.shead p { margin: 2px 0 0; font-size: 15px; color: var(--sec); }
.xbtn { width: 44px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; margin: -6px -8px 0 0; }
.xbtn span { width: 32px; height: 32px; border-radius: 16px; background: var(--fill); color: var(--sec); display: flex; align-items: center; justify-content: center; }
.pick { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 6px 16px; width: 100%; border: 0; background: transparent; color: var(--ink); text-align: left; font-size: 17px; }
.pick .t { flex: 1; display: flex; flex-direction: column; }
.pick .t small { font-size: 14px; color: var(--sec); }
.pick[aria-current="true"] .t > span:first-child { font-weight: 600; }
.stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 1.15fr); }
.stats div { padding: 10px; }
.stats div + div { border-left: 1px solid var(--sep); }
.stats p { margin: 0; font-size: 12px; color: var(--sec); }
.stats b { display: block; margin-top: 2px; font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; }
.suggest { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; background: var(--greenT); }
.suggest span { flex: 1; font-size: 15px; color: var(--green); }
.suggest button { height: 44px; padding: 0 16px; border-radius: 22px; border: 0; background: var(--btn-green); color: #FFFFFF; font-size: 15px; font-weight: 650; }
.after { display: flex; justify-content: space-between; margin: 14px 4px 8px; font-size: 15px; font-variant-numeric: tabular-nums; }
.after span:first-child { color: var(--sec); }
.after b { font-weight: 650; color: var(--green); }
.after b.bad { color: var(--red); }
.btn2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px; margin-top: 18px; }

/* prices */
.search { position: relative; margin-top: 14px; }
.search svg { position: absolute; left: 12px; top: 12px; color: var(--sec); }
.search input { width: 100%; height: 44px; border-radius: 12px; border: 0; background: var(--track); font-size: 17px; padding: 0 12px 0 40px; outline: none; }
.prod { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; width: 100%; border: 0; background: transparent; color: var(--ink); text-align: left; }
.prod .t { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.prod .n { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.prod .m { font-size: 15px; color: var(--sec); font-variant-numeric: tabular-nums; }
.prod .m b { color: var(--ink); font-weight: 650; }
.flag { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.flag i { width: 7px; height: 7px; border-radius: 4px; background: currentColor; }
.more { margin: 12px 0 0; }

/* credit */
.ctop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; padding: 3px; border-radius: 14px; background: var(--track); margin-top: 16px; }
.ctop button { height: 60px; border: 0; border-radius: 11px; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ctop button[aria-pressed="true"] { background: var(--segon); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14); }
.ctop small { font-size: 13px; font-weight: 500; color: var(--sec); }
.ctop b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.person { display: flex; align-items: center; gap: 12px; padding: 14px 16px; width: 100%; border: 0; background: transparent; color: var(--ink); text-align: left; }
.person .t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.person .t b { font-weight: 650; font-size: 18px; }
.person .t span { font-size: 15px; color: var(--sec); }
.person .a { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.person.old .t b { color: var(--red); }
.legend { margin: 14px 0 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sec); }
.legend i { width: 8px; height: 8px; border-radius: 4px; background: var(--red); }

/* lost list */
.lrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 16px; }
.lrow .t { display: flex; flex-direction: column; }
.lrow .t span { font-size: 16px; }
.lrow .t small { font-size: 13px; color: var(--sec); }
.lrow .p { color: var(--sec); font-variant-numeric: tabular-nums; }
.insight { margin: -2px 0 10px; font-size: 15px; font-weight: 500; color: var(--orange); }

/* toast */
.toast { position: fixed; left: 50%; transform: translateX(-50%); width: min(528px, calc(100% - 32px)); bottom: calc(100px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; gap: 12px; padding: 12px 8px 12px 14px; border-radius: 20px; background: var(--toast); color: #FFFFFF; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: rise 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.toast .ok { width: 30px; height: 30px; border-radius: 15px; background: #F0C856; color: #111114; display: flex; align-items: center; justify-content: center; flex: none; }
.toast .t { flex: 1; display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; }
.toast .t b { font-size: 15px; font-weight: 600; }
.toast .t span { color: #D1D1D6; }
.toast button { height: 44px; padding: 0 12px; border: 0; background: transparent; color: #F0C856; font-weight: 650; }

/* setup */
.setup { padding: calc(40px + env(safe-area-inset-top)) 16px 40px; }
.setup .logo { width: 64px; height: 64px; border-radius: 16px; }
.setup h1 { font-size: 30px; margin: 18px 0 6px; letter-spacing: -0.03em; }
.setup p { color: var(--sec); font-size: 16px; margin: 0 0 14px; }
.setup .textrow input { font-size: 15px; }

@keyframes up { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { transform: translate(-50%, 24px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .sheet, .scrim, .toast { animation-duration: 0.01s; }
  .fab, .switch span, .switch span::after { transition: none; }
}
