/* PerHead — colours taken from the logo */
:root {
  --navy: #0E2A78;
  --blue: #0B4FE0;
  --sky: #12A9F5;
  --cyan: #1FD6CF;
  --orange: #FF6F14;
  --amber: #FFB01F;
  --green: #1FB873;

  --grad-brand: linear-gradient(135deg, #0B45D6 0%, #0B7BEA 45%, #14C3E0 85%, #1FD6CF 100%);
  --grad-warm: linear-gradient(135deg, #FFB01F 0%, #FF8A1A 50%, #FF6614 100%);

  --bg: #F3F6FD;
  --card: #FFFFFF;
  --text: #0E1B3D;
  --muted: #66749A;
  --line: #E2E8F5;
  --soft-blue: #EAF1FF;
  --soft-orange: #FFF1E6;
  --soft-green: #E6F8EF;
  --owe: #E55A0C;
  --gets: #13A463;
  --shadow: 0 1px 2px rgba(14, 42, 120, .06), 0 8px 24px rgba(14, 42, 120, .08);
  --radius: 18px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1230;
    --card: #121D45;
    --text: #EEF2FF;
    --muted: #9AA8D0;
    --line: #22305E;
    --soft-blue: #17275C;
    --soft-orange: #3A2414;
    --soft-green: #11342A;
    --owe: #FF9A4D;
    --gets: #3DDC97;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  font-family: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.sheet-open { overflow: hidden; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

#app {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100dvh;
  padding-bottom: calc(110px + env(safe-area-inset-bottom));
}

/* ---------- Top bar (home) ---------- */
.topbar {
  display: flex; align-items: center; gap: 12px;
  padding: calc(18px + env(safe-area-inset-top)) 16px 10px;
}
.mark-tile {
  width: 46px; height: 46px; border-radius: 14px; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow); flex: none;
}
.mark-tile img { width: 38px; height: 38px; }
.wordmark { margin: 0; font-size: 28px; font-weight: 900; letter-spacing: -.5px; line-height: 1; }
.wordmark .per { color: var(--navy); }
.wordmark .head { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wordmark .per { color: #fff; } }
.topbar .spacer { flex: 1; }
.tagline { margin: 2px 0 0; font-size: 13px; color: var(--muted); font-weight: 700; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 13px; border: 0;
  display: inline-grid; place-items: center;
  background: var(--card); color: var(--text); box-shadow: var(--shadow);
}
.icon-btn.glass { background: rgba(255,255,255,.18); color: #fff; box-shadow: none; }
.icon-btn.plain { background: transparent; box-shadow: none; color: var(--muted); }

.content { padding: 8px 16px; }
.section-title { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 4px 10px; font-weight: 800; }

/* ---------- Cards / lists ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.list { display: grid; gap: 10px; }

.group-card { display: flex; align-items: center; gap: 14px; padding: 14px; transition: transform .12s; }
.group-card:active { transform: scale(.985); }
.g-emoji {
  width: 52px; height: 52px; border-radius: 16px; flex: none;
  display: grid; place-items: center; font-size: 26px;
  background: var(--soft-blue);
}
.g-body { flex: 1; min-width: 0; }
.g-name { display: block; font-weight: 800; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-meta { white-space: nowrap; display: flex; align-items: center; gap: 8px; margin-top: 5px; color: var(--muted); font-size: 13px; font-weight: 700; }
.g-right { text-align: right; flex: none; }
.g-total { display: block; font-weight: 900; font-size: 17px; }
.g-status { display: block; font-size: 12px; font-weight: 800; margin-top: 4px; }
.g-status.due { color: var(--owe); }
.g-status.ok { color: var(--gets); }
.g-status.none { color: var(--muted); }

/* Avatars */
.av {
  --c: var(--blue);
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-grid; place-items: center; flex: none;
  background: var(--c); color: #fff; font-weight: 900; font-size: 14px;
  text-transform: uppercase;
}
.av.sm { width: 24px; height: 24px; font-size: 11px; }
.av.lg { width: 44px; height: 44px; font-size: 17px; }
.stack { display: inline-flex; }
.stack .av { border: 2px solid var(--card); margin-left: -8px; }
.stack .av:first-child { margin-left: 0; }
.stack .more { background: var(--line); color: var(--muted); }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 28px 12px 10px; }
.empty-hero {
  width: 132px; height: 132px; margin: 6px auto 18px; border-radius: 36px; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.empty-hero img { width: 104px; height: 104px; }
.empty h2 { font-size: 24px; margin: 0 0 6px; font-weight: 900; letter-spacing: -.3px; }
.empty p { color: var(--muted); margin: 0 auto 20px; max-width: 320px; font-weight: 600; line-height: 1.45; }
.steps { list-style: none; padding: 0; margin: 0 auto 24px; max-width: 340px; display: grid; gap: 10px; text-align: left; }
.steps li { display: flex; align-items: center; gap: 12px; background: var(--card); box-shadow: var(--shadow); border-radius: 14px; padding: 12px 14px; font-weight: 800; }
.steps b { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.steps li:nth-child(1) b { background: var(--blue); }
.steps li:nth-child(2) b { background: var(--orange); }
.steps li:nth-child(3) b { background: var(--green); }
.empty.small { padding: 36px 16px; }
.empty.small .big-emoji { font-size: 44px; margin-bottom: 8px; }

/* ---------- Group hero ---------- */
.hero {
  background: var(--grad-brand);
  color: #fff;
  padding: calc(14px + env(safe-area-inset-top)) 16px 20px;
  border-radius: 0 0 28px 28px;
  position: relative; overflow: hidden;
}
.hero::after { /* soft circle echoing the logo */
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  right: -90px; top: -110px; background: rgba(255,255,255,.08); pointer-events: none;
}
.hero-top { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.hero-title { flex: 1; min-width: 0; font-weight: 900; font-size: 21px; display: flex; align-items: center; gap: 8px; }
.hero-title .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; position: relative; z-index: 1; }
.stat { background: rgba(255,255,255,.16); border-radius: 16px; padding: 12px 14px; }
.stat span { display: block; font-size: 13px; font-weight: 800; opacity: .9; }
.stat strong { display: block; font-size: 24px; font-weight: 900; margin-top: 2px; letter-spacing: -.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat.warm { background: var(--grad-warm); box-shadow: 0 6px 18px rgba(255, 102, 20, .35); }
.hero-people {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 14px -16px 0; padding: 0 16px 2px; position: relative; z-index: 1;
}
.hero-people::-webkit-scrollbar { display: none; }
.hero-person {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  border: 0; border-radius: 999px; padding: 4px 13px 4px 4px;
  background: rgba(255,255,255,.18); color: #fff; font-weight: 800; font-size: 14px;
}
.hero-person .av { box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.hero-person:active { background: rgba(255,255,255,.32); }

/* Tabs */
.tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  margin: 16px 16px 4px; padding: 4px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow);
}
.tab {
  border: 0; background: transparent; border-radius: 11px; padding: 10px; font-weight: 800; color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.tab.on { background: var(--soft-blue); color: var(--blue); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tab.on { color: #fff; } }
.tab em { font-style: normal; background: var(--orange); color: #fff; font-size: 12px; min-width: 20px; height: 20px; border-radius: 10px; display: inline-grid; place-items: center; padding: 0 6px; }

/* Expense rows */
.day { font-size: 13px; font-weight: 800; color: var(--muted); margin: 14px 4px 8px; }
.row {
  width: 100%; border: 0; text-align: left;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow);
}
.row-icon {
  --c: var(--blue);
  width: 44px; height: 44px; border-radius: 14px; flex: none;
  display: grid; place-items: center; font-size: 22px;
  background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c);
}
.row-icon.settle { --c: var(--green); }
.row-body { flex: 1; min-width: 0; }
.row-title { display: block; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub { display: block; font-size: 13px; color: var(--muted); font-weight: 700; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-amt { font-weight: 900; font-size: 17px; flex: none; }
.row-amt.green { color: var(--gets); }

/* Balances */
.panel { padding: 6px 14px; }
.panel h3 { font-size: 15px; margin: 10px 0 6px; font-weight: 900; }
.pay { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.panel h3 + .pay { border-top: 0; }
.pay-people { display: flex; align-items: center; gap: 2px; color: var(--muted); }
.pay-people svg { width: 16px; height: 16px; }
.pay-text { min-width: 0; font-size: 15px; line-height: 1.3; font-weight: 700; }
.pay-text b { font-weight: 900; }
.pay-text .amt { display: block; font-size: 19px; font-weight: 900; color: var(--owe); }
.pay-text .amt.in { color: var(--gets); }
.all-good { text-align: center; padding: 22px 8px; font-weight: 800; }
.all-good .big-emoji { font-size: 40px; display: block; margin-bottom: 6px; }
.all-good p { margin: 4px 0 0; color: var(--muted); font-weight: 700; font-size: 14px; }

.person {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 0; text-align: left;
  border: 0; border-top: 1px solid var(--line); background: none;
}
.person-name, .person-sub { display: block; }
.person .chev { color: var(--muted); margin-left: -4px; display: grid; }
.person .chev svg { width: 18px; height: 18px; }
.panel h3 + .person { border-top: 0; }
.person-body { flex: 1; min-width: 0; }
.person-name { font-weight: 800; }
.person-sub { font-size: 13px; color: var(--muted); font-weight: 700; }
.pill { font-size: 13px; font-weight: 900; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.pill.gets { background: var(--soft-green); color: var(--gets); }
.pill.owes { background: var(--soft-orange); color: var(--owe); }
.pill.even { background: var(--line); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  border: 0; border-radius: 14px; padding: 13px 18px; font-weight: 900; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .12s, filter .12s;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--grad-warm); color: #fff; box-shadow: 0 6px 18px rgba(255, 102, 20, .32); }
.btn.blue { background: var(--blue); color: #fff; }
.btn.ghost { background: var(--card); color: var(--blue); box-shadow: var(--shadow); }
.btn.danger { background: transparent; color: #E5484D; }
.btn.small { padding: 9px 14px; font-size: 14px; border-radius: 12px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.stack-btns { display: grid; gap: 8px; margin-top: 18px; }

.fab {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(20px + env(safe-area-inset-bottom));
  border: 0; border-radius: 999px; padding: 16px 26px;
  background: var(--grad-warm); color: #fff; font-weight: 900; font-size: 17px;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 28px rgba(255, 102, 20, .45);
  z-index: 5;
}
.fab:active { transform: translateX(-50%) scale(.96); }

/* ---------- Bottom sheet ---------- */
#sheet-root { position: fixed; inset: 0; z-index: 20; pointer-events: none; }
#sheet-root:empty { display: none; }
.backdrop { position: absolute; inset: 0; background: rgba(8, 18, 50, .45); opacity: 0; transition: opacity .2s; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 560px;
  max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--card); border-radius: 26px 26px 0 0;
  padding: 8px 18px calc(20px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .26s cubic-bezier(.2,.8,.2,1);
}
#sheet-root.open { pointer-events: auto; }
#sheet-root.open .backdrop { opacity: 1; }
#sheet-root.open .sheet { transform: none; }
.grabber { width: 42px; height: 5px; border-radius: 3px; background: var(--line); margin: 4px auto 6px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.sheet-head h3 { margin: 0; font-size: 21px; font-weight: 900; }

/* Forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span, .field-label { font-size: 14px; font-weight: 800; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.input, .field input {
  width: 100%; border: 2px solid var(--line); background: var(--bg); border-radius: 14px;
  padding: 13px 14px; font-size: 16px; font-weight: 700; outline: none; transition: border-color .15s;
}
.input:focus, .field input:focus { border-color: var(--blue); }
.amount-field {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--soft-blue); border-radius: 20px; padding: 18px 14px;
}
.amount-field .cur { font-size: 30px; font-weight: 900; color: var(--blue); }
.amount-field input {
  border: 0; background: transparent; outline: none; width: 100%; max-width: 230px;
  font-size: 42px; font-weight: 900; color: var(--text); text-align: left; padding: 0;
}
.amount-field input::placeholder { color: var(--muted); opacity: .5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .amount-field .cur { color: var(--sky); } }

.add-member { display: flex; gap: 8px; }
.add-member input { flex: 1; }
.link { border: 0; background: none; color: var(--blue); font-weight: 800; font-size: 14px; padding: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .link { color: var(--sky); } }
.hint { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.hint.warn { color: var(--owe); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  --c: var(--blue);
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 5px 12px 5px 5px; font-weight: 800; font-size: 15px;
}
.chip.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--card)); }
.chip .x { border: 0; background: none; color: var(--muted); padding: 0 0 0 2px; display: grid; place-items: center; }
.chip .x svg { width: 16px; height: 16px; }
.chip.cat { padding: 7px 12px; }
.chip .tick { display: none; color: var(--c); }
.chip .tick svg { width: 16px; height: 16px; stroke-width: 3; }
.chip.on .tick { display: inline-grid; }

.emoji-row { display: flex; flex-wrap: wrap; gap: 8px; }
.emoji {
  width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--line); background: var(--card);
  font-size: 22px; display: grid; place-items: center;
}
.emoji.on { border-color: var(--blue); background: var(--soft-blue); }

.per-head {
  border-radius: 16px; padding: 14px 16px; background: var(--soft-orange);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 800;
}
.per-head .label { color: var(--muted); font-size: 14px; }
.per-head strong { font-size: 22px; font-weight: 900; color: var(--owe); }
.per-head.muted strong { color: var(--muted); font-size: 15px; }

.settle-visual { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 0 2px; }
.settle-visual .who { display: grid; justify-items: center; gap: 6px; font-weight: 800; font-size: 14px; max-width: 110px; text-align: center; }
.settle-visual .arrow { color: var(--muted); }
.settle-visual .arrow svg { width: 28px; height: 28px; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { border: 2px solid var(--line); background: var(--card); border-radius: 12px; padding: 9px 14px; font-weight: 900; min-width: 56px; }
.seg button.on { border-color: var(--blue); background: var(--soft-blue); color: var(--blue); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seg button.on { color: #fff; } }
.note { font-size: 14px; color: var(--muted); font-weight: 600; line-height: 1.45; margin: 0; }

/* Person sheet */
.av.xl { width: 56px; height: 56px; font-size: 22px; }
.p-summary { display: flex; align-items: center; gap: 14px; margin: 2px 0 14px; }
.p-summary .pill { display: inline-block; font-size: 15px; padding: 7px 12px; }
.p-summary .note { margin-top: 6px; font-size: 13px; }
.p-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.p-stat { background: var(--bg); border-radius: 14px; padding: 12px 14px; }
.p-stat span { display: block; font-size: 13px; font-weight: 800; color: var(--muted); }
.p-stat strong { display: block; font-size: 20px; font-weight: 900; margin-top: 2px; }
.p-stat small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.p-section { font-size: 15px; font-weight: 900; margin: 20px 0 4px; }
.p-plan .pay:first-child { border-top: 0; }
.tx-day { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 12px 0 2px; }
.tx {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left;
}
.tx-list .tx:last-child { border-bottom: 0; }
.tx-end { flex: none; text-align: right; }
.tx-label { display: block; font-size: 12px; font-weight: 800; }
.tx-amt { display: block; font-size: 16px; font-weight: 900; }
.tx-end.gets { color: var(--gets); }
.tx-end.owes { color: var(--owe); }
.tx-end.even { color: var(--muted); }
.tx-end.neutral { color: var(--blue); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tx-end.neutral { color: var(--sky); } }

/* Toast */
#toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom));
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 14px;
  font-weight: 800; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: opacity .2s, transform .2s; z-index: 30; max-width: calc(100% - 32px); text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 600px) {
  .hero { border-radius: 0 0 32px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* =========================================================
   Accounts, onboarding, invites & admin
   ========================================================= */
.spinner {
  width: 20px; height: 20px; border-radius: 50%; display: inline-block;
  border: 3px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.spinner.dark { border-color: var(--line); border-top-color: var(--blue); width: 28px; height: 28px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.center-msg { display: grid; place-items: center; min-height: 50dvh; }
.note.center { text-align: center; padding: 24px 0; }
.link.muted { color: var(--muted); }
i.you, .hero-person i { font-style: normal; opacity: .75; font-weight: 700; }
.joined { color: var(--gets); font-weight: 900; font-size: 13px; }

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 40;
  background: var(--grad-brand); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; text-align: center;
}
.splash > * { animation: rise .5s ease both; }
.splash > *:nth-child(2) { animation-delay: .08s; }
.splash > *:nth-child(3) { animation-delay: .16s; }
.splash p { margin: 0; font-weight: 800; opacity: .9; }
.splash-msg { line-height: 1.5; }
.splash-tile {
  width: 112px; height: 112px; border-radius: 32px; background: #fff;
  display: grid; place-items: center; box-shadow: 0 16px 40px rgba(4, 20, 80, .35);
}
.splash-tile img { width: 90px; height: 90px; }
.splash-tile.sm { width: 72px; height: 72px; border-radius: 22px; }
.splash-tile.sm img { width: 58px; height: 58px; }
.wordmark.light .per, :root .wordmark.light .per { color: #fff; }
.wordmark.light { font-size: 36px; }
.wordmark.small { font-size: 22px; }
.mark-tile.sm { width: 38px; height: 38px; border-radius: 12px; }
.mark-tile.sm img { width: 30px; height: 30px; }

/* Onboarding */
body[data-screen="onboarding"] #app, body[data-screen="auth"] #app, body[data-screen="splash"] #app { padding-bottom: 0; }
.onboard { min-height: 100dvh; display: flex; flex-direction: column; padding-top: env(safe-area-inset-top); }
.ob-top { display: flex; align-items: center; gap: 10px; padding: 18px 16px 4px; }
.ob-top .spacer { flex: 1; }
.ob-top .link { font-size: 16px; padding: 8px; }
.ob-track {
  flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.ob-track::-webkit-scrollbar { display: none; }
.ob-slide {
  flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px 28px; text-align: center;
}
.ob-art {
  width: min(300px, 80vw); aspect-ratio: 1; border-radius: 50%;
  background: var(--grad-brand); position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 28px; padding: 24px;
  box-shadow: 0 20px 50px rgba(11, 79, 224, .25);
}
.ob-art::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.25); }
.ob-step { font-size: 13px; font-weight: 900; color: var(--orange); text-transform: uppercase; letter-spacing: .08em; }
.ob-slide h2 { font-size: 28px; font-weight: 900; margin: 6px 0 8px; letter-spacing: -.4px; }
.ob-slide p { color: var(--muted); font-weight: 700; line-height: 1.5; margin: 0; max-width: 340px; font-size: 16px; }
.art-card {
  position: relative; background: #fff; color: #0E1B3D; border-radius: 18px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 24px rgba(4, 20, 80, .25);
  font-size: 15px; text-align: left;
}
.art-card > span:last-child { display: grid; gap: 4px; }
.art-card .g-emoji { width: 44px; height: 44px; font-size: 22px; background: #EAF1FF; }
.art-card .stack .av { border-color: #fff; }
.art-card.col { flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 20px; }
.art-label { font-weight: 800; color: #66749A; font-size: 14px; }
.art-amount { font-size: 32px; font-weight: 900; letter-spacing: -.5px; }
.art-sub { font-size: 12px; font-weight: 700; color: #66749A; }
.art-arrow { color: #66749A; display: grid; }
.art-arrow svg { width: 16px; height: 16px; }
.art-owe { color: var(--orange); font-weight: 900; font-size: 18px; }
.art-pill {
  position: relative; background: var(--grad-warm); color: #fff; font-weight: 900; font-size: 18px;
  padding: 10px 18px; border-radius: 999px; box-shadow: 0 8px 20px rgba(255, 102, 20, .45);
}
.art-chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #0E1B3D; font-weight: 800; font-size: 14px;
  padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(4, 20, 80, .2);
}
.art-chip svg { width: 18px; height: 18px; }
.art-chip.wa svg { color: #25D366; }
.art-chip.mail svg { color: var(--orange); }
.art-chip.done { color: #13A463; }
.ob-bottom { padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 18px; }
.ob-dots { display: flex; justify-content: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 5px; border: 0; padding: 0; background: var(--line); transition: width .2s, background .2s; }
.dot.on { width: 26px; background: var(--orange); }

/* Auth */
.auth { min-height: 100dvh; padding-bottom: 32px; }
.auth-hero {
  background: var(--grad-brand); color: #fff; text-align: center;
  padding: calc(36px + env(safe-area-inset-top)) 16px 72px; border-radius: 0 0 32px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.auth-hero p { margin: 0; font-weight: 800; opacity: .9; }
.auth-hero .wordmark { font-size: 32px; }
.auth-card { margin: -48px 16px 0; padding: 18px; position: relative; animation: rise .35s ease both; }
.seg-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--bg); padding: 4px; border-radius: 14px; margin-bottom: 16px; }
.seg-tabs button { border: 0; background: transparent; padding: 10px; border-radius: 11px; font-weight: 900; color: var(--muted); }
.seg-tabs button.on { background: var(--card); color: var(--blue); box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seg-tabs button.on { color: #fff; } }
.auth-switch { text-align: center; margin: 16px 0 0; font-weight: 700; color: var(--muted); font-size: 15px; }
.auth-switch .link { font-size: 15px; }
.invite-banner {
  display: flex; gap: 12px; align-items: center; background: var(--soft-orange);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-weight: 700; font-size: 14px; line-height: 1.4;
}
.ib-emoji { font-size: 26px; }

/* Home banner (import) */
.banner { display: flex; align-items: center; gap: 12px; padding: 14px; margin-top: 8px; border: 2px dashed var(--line); box-shadow: none; flex-wrap: wrap; }
.banner-emoji { font-size: 28px; }
.banner-body { flex: 1; min-width: 180px; display: grid; gap: 2px; font-size: 14px; }
.banner-body span { color: var(--muted); font-weight: 700; }
.banner-actions { display: flex; align-items: center; gap: 12px; }

/* Group: invite chip */
.hero-person.invite { background: #fff; color: var(--blue); padding: 8px 14px; }
.hero-person.invite svg { width: 18px; height: 18px; }

/* Invite sheet */
.invite-link {
  display: flex; align-items: center; gap: 8px; background: var(--bg);
  border: 2px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 12px;
}
.il-icon { color: var(--muted); display: grid; }
.il-icon svg { width: 18px; height: 18px; }
.il-url { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-weight: 700; font-size: 14px; color: var(--text); }
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.share-btn {
  border: 0; border-radius: 16px; padding: 14px 8px; background: var(--bg);
  display: grid; justify-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--text);
}
.share-btn span { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.share-btn.wa span { background: #25D366; }
.share-btn.mail span { background: var(--grad-warm); }
.share-btn.more span { background: var(--blue); }
.share-btn:active { transform: scale(.97); }
.email-invite { display: grid; gap: 10px; animation: rise .25s ease both; }
.small-note { font-size: 13px; }

/* Join */
.join-card { padding: 28px 20px 20px; text-align: center; display: grid; gap: 4px; }
.join-emoji { width: 84px; height: 84px; border-radius: 26px; background: var(--soft-blue); display: grid; place-items: center; font-size: 42px; margin: 0 auto 8px; }
.join-kicker { margin: 0; color: var(--muted); font-weight: 800; }
.join-card h2 { margin: 0; font-size: 26px; font-weight: 900; }
.join-pick { text-align: left; margin: 18px 0 12px; }
.join-card .btn { margin-top: 8px; }

/* Settings */
.account { display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: 16px; padding: 12px 14px; }
.account div { display: grid; min-width: 0; }
.account span { color: var(--muted); font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
a.btn { text-decoration: none; }

/* Admin */
body[data-screen="admin"] #app { max-width: 980px; padding-bottom: 40px; }
.admin-bar { display: flex; align-items: center; gap: 12px; padding: calc(16px + env(safe-area-inset-top)) 16px 4px; }
.admin-title { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 22px; }
.admin-title svg { color: var(--blue); width: 26px; height: 26px; }
.tabs.three { grid-template-columns: repeat(3, 1fr); }
.admin-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 8px; }
.a-tile { padding: 14px 16px; border-left: 5px solid var(--c, var(--blue)); }
.a-tile span { display: block; font-size: 13px; font-weight: 800; color: var(--muted); }
.a-tile strong { display: block; font-size: 28px; font-weight: 900; margin-top: 2px; }
.a-tile.blue { --c: var(--blue); } .a-tile.green { --c: var(--green); } .a-tile.sky { --c: var(--sky); }
.a-tile.red { --c: #E5484D; } .a-tile.orange { --c: var(--orange); } .a-tile.navy { --c: var(--navy); }
.a-tile.warm { background: var(--grad-warm); border: 0; color: #fff; }
.a-tile.warm span { color: rgba(255,255,255,.9); }
.wide-tile { grid-column: 1 / -1; }
.admin-search {
  display: flex; align-items: center; gap: 10px; background: var(--card); box-shadow: var(--shadow);
  border-radius: 14px; padding: 4px 14px; margin-top: 8px; color: var(--muted);
}
.admin-search input { flex: 1; border: 0; outline: none; background: transparent; padding: 10px 0; font-weight: 700; font-size: 16px; color: var(--text); }
.a-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; flex-wrap: wrap; }
.a-body { flex: 1; min-width: 200px; }
.a-name { font-weight: 900; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.a-sub { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 2px; word-break: break-word; }
.a-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 11px; font-weight: 900; padding: 3px 8px; border-radius: 999px; background: var(--line); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.badge.blue { background: var(--soft-blue); color: var(--blue); }
.badge.red { background: #FDECEC; color: #D93036; }
.icon-btn.danger { color: #E5484D; }
.g-emoji.sm { width: 44px; height: 44px; font-size: 22px; border-radius: 14px; }
#admin-more { margin-top: 12px; }

/* =========================================================
   Installable app (PWA) & offline
   ========================================================= */
.install-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 12px; margin-top: 8px;
  background: linear-gradient(135deg, var(--card), var(--soft-blue));
}
.install-tile { width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); flex: none; }
.install-tile img { width: 38px; height: 38px; }
.install-body { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: 14px; }
.install-body b { font-size: 16px; font-weight: 900; }
.install-body span { color: var(--muted); font-weight: 700; line-height: 1.35; }
.install-card .icon-btn { width: 34px; height: 34px; }
.install-card .icon-btn svg { width: 18px; height: 18px; }

.install-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.install-steps li { display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: 16px; padding: 12px 14px; }
.install-steps li > span:last-child { display: grid; gap: 2px; }
.install-steps b { font-weight: 800; }
.install-steps small { color: var(--muted); font-weight: 700; font-size: 13px; }
.is-num { width: 26px; height: 26px; border-radius: 9px; background: var(--grad-warm); color: #fff; font-weight: 900; display: grid; place-items: center; flex: none; font-size: 14px; }
.is-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--card); color: var(--blue); display: grid; place-items: center; flex: none; box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .is-icon { color: var(--sky); } }

#offline-bar {
  position: fixed; left: 0; right: 0; top: 0; z-index: 35; display: none;
  padding: calc(5px + env(safe-area-inset-top)) 16px 5px; text-align: center;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 13px;
}
body.is-offline #offline-bar { display: block; }
body.is-offline #app { padding-top: calc(28px + env(safe-area-inset-top)); }
body.is-offline .topbar, body.is-offline .hero, body.is-offline .admin-bar { padding-top: 14px; }

/* Installed app: stop the whole page rubber-banding on pull */
@media (display-mode: standalone) {
  body { overscroll-behavior-y: none; }
}

/* =========================================================
   Avatars, profile & chat
   ========================================================= */
.av.preset { background: var(--c); font-size: 20px; line-height: 1; }
.av.sm.preset { font-size: 14px; }
.av.lg.preset { font-size: 26px; }
.av.xl.preset { font-size: 32px; }
.av.photo { background: var(--line); overflow: hidden; padding: 0; }
.av.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av.xxl { width: 104px; height: 104px; font-size: 40px; }
.av.xxl.preset { font-size: 56px; }
.av.xxl .spinner { border-color: var(--line); border-top-color: var(--blue); }

.me-btn { border: 0; background: none; padding: 0; border-radius: 50%; box-shadow: var(--shadow); }
.me-btn .av { width: 42px; height: 42px; border: 2px solid var(--card); }

.account { width: 100%; border: 0; text-align: left; cursor: pointer; }
.account-edit { margin-left: auto; display: flex; align-items: center; gap: 2px; color: var(--blue); font-weight: 800; font-size: 14px; white-space: nowrap; }
.account-edit svg { width: 16px; height: 16px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .account-edit { color: var(--sky); } }

.profile-top { display: flex; align-items: center; gap: 18px; }
.profile-av .av { box-shadow: 0 8px 24px rgba(14, 42, 120, .18); }
.profile-actions { display: grid; gap: 10px; justify-items: start; }
.profile-actions label.btn { cursor: pointer; }
.avatar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 10px; }
.av-pick {
  aspect-ratio: 1; border-radius: 50%; border: 3px solid transparent; background: var(--c);
  font-size: 28px; display: grid; place-items: center; padding: 0; transition: transform .12s;
}
.av-pick:active { transform: scale(.92); }
.av-pick.on { border-color: var(--orange); box-shadow: 0 0 0 3px var(--card) inset; }

/* Group list: unread + last message */
.g-emoji { position: relative; }
.unread-dot {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--green); color: #fff; font-style: normal; font-size: 12px; font-weight: 900;
  display: grid; place-items: center; border: 2px solid var(--card);
}
.g-preview { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-preview.bold { color: var(--text); font-weight: 800; }
.tab em.green { background: var(--green); }
a.tab { text-decoration: none; }

/* Chat screen */
body[data-screen="chat"] { overflow: hidden; }
body[data-screen="chat"] #app { padding-bottom: 0; }
.chat {
  --chat-bg: #E9EFFA;
  --mine: #DCE8FF;
  --theirs: var(--card);
  position: fixed; top: 0; left: 0; right: 0; margin: 0 auto; max-width: 560px;
  height: var(--vvh, 100dvh); display: flex; flex-direction: column;
  background-color: var(--chat-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none' stroke='%230E2A78' stroke-opacity='.06' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 12h18v24l-4-3-5 3-5-3-4 3z'/%3E%3Cpath d='M19 20h8M19 26h8'/%3E%3Ccircle cx='88' cy='26' r='10'/%3E%3Cpath d='M85 22h6M85 26h6M88 22c3 0 3 8 0 8l4 4'/%3E%3Cpath d='M30 84c0-6 8-9 10-3 2-6 10-3 10 3 0 6-10 11-10 11s-10-5-10-11z'/%3E%3Ccircle cx='92' cy='88' r='5'/%3E%3Ccircle cx='104' cy='96' r='4'/%3E%3Cpath d='M60 52l8 8M68 52l-8 8'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .chat { --chat-bg: #08102B; --mine: #173A8A; --theirs: #16224D; }
}
.chat-head {
  display: flex; align-items: center; gap: 8px; padding: calc(8px + env(safe-area-inset-top)) 8px 8px;
  background: var(--grad-brand); color: #fff; box-shadow: 0 2px 10px rgba(8, 20, 70, .2); z-index: 2;
}
.chat-head .icon-btn.plain { color: #fff; }
.chat-gicon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 22px; flex: none; }
.chat-title { flex: 1; min-width: 0; display: grid; color: #fff; }
.chat-title b { font-size: 17px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-title small { font-size: 12.5px; font-weight: 700; opacity: .88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chat-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 10px 12px; -webkit-overflow-scrolling: touch; }
.chat-older { text-align: center; padding: 6px 0 10px; }
.chat-day, .chat-sys, .chat-unread { display: flex; justify-content: center; margin: 12px 0 8px; }
.chat-day span, .chat-sys span {
  background: var(--card); color: var(--muted); font-size: 12.5px; font-weight: 800;
  padding: 5px 12px; border-radius: 10px; box-shadow: 0 1px 1px rgba(0,0,0,.06); text-align: center; max-width: 85%;
}
.chat-sys span { background: #FFF5D6; color: #7A5A00; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chat-sys span { background: #3A3214; color: #F5DE9A; } }
.chat-unread span { width: 100%; text-align: center; background: rgba(255,255,255,.7); color: var(--blue); font-size: 12.5px; font-weight: 900; padding: 5px; border-radius: 8px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chat-unread span { background: rgba(255,255,255,.08); color: var(--sky); } }

.msg { display: flex; align-items: flex-end; gap: 6px; margin-top: 2px; }
.msg.first { margin-top: 10px; }
.msg.mine { justify-content: flex-end; }
.msg-av { width: 28px; flex: none; align-self: flex-start; }
.msg-av .av { width: 28px; height: 28px; }
.bubble {
  position: relative; max-width: min(78%, 380px); padding: 6px 9px 6px 10px; border-radius: 12px;
  background: var(--theirs); color: var(--text); box-shadow: 0 1px 1px rgba(0,0,0,.08);
  font-size: 15.5px; line-height: 1.38; word-wrap: break-word; overflow-wrap: anywhere;
}
.msg.mine .bubble { background: var(--mine); }
.msg.theirs.first .bubble { border-top-left-radius: 3px; }
.msg.mine.first .bubble { border-top-right-radius: 3px; }
.msg.theirs.first .bubble::before, .msg.mine.first .bubble::before {
  content: ""; position: absolute; top: 0; width: 10px; height: 12px; background: inherit;
}
.msg.theirs.first .bubble::before { left: -7px; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.msg.mine.first .bubble::before { right: -7px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.msg-name { display: block; font-size: 13px; font-weight: 900; margin-bottom: 1px; }
.msg-name.card-name { margin-bottom: 4px; }
.msg-text a { color: var(--blue); text-decoration: underline; word-break: break-all; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .msg-text a { color: var(--sky); } }
.msg-text.jumbo { font-size: 38px; line-height: 1.15; }
.msg-deleted { font-style: italic; color: var(--muted); font-size: 14.5px; }
.msg-meta {
  float: right; margin: 6px 0 -3px 10px; font-size: 11px; font-weight: 700; color: var(--muted);
  display: inline-flex; align-items: center; gap: 3px; white-space: nowrap;
}
.tick-state { font-size: 12px; letter-spacing: -3px; padding-right: 3px; color: var(--muted); }
.tick-state.read { color: #1E9BF0; }
.tick-state.pending { letter-spacing: 0; font-size: 10px; }
.tick-state.failed { letter-spacing: 0; color: #fff; background: #E5484D; border-radius: 50%; width: 15px; height: 15px; display: inline-grid; place-items: center; cursor: pointer; padding: 0; font-weight: 900; }
.bubble.can-delete { -webkit-touch-callout: none; user-select: text; }

/* Expense & payment cards in the chat */
.msg.is-card .bubble { padding: 7px 7px 6px; }
.xcard { background: var(--bg); border-radius: 10px; padding: 10px 12px; min-width: 210px; border-left: 4px solid var(--orange); }
.msg.mine .xcard { background: rgba(255,255,255,.55); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .msg.mine .xcard { background: rgba(0,0,0,.2); } }
.xcard.settle { border-left-color: var(--green); }
.xc-top { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.xc-icon { font-size: 16px; }
.xc-title { font-weight: 900; font-size: 16px; margin-top: 4px; }
.xc-amt { font-weight: 900; font-size: 22px; color: var(--owe); letter-spacing: -.3px; }
.xcard.settle .xc-amt { color: var(--gets); }
.xc-sub { font-size: 13px; font-weight: 700; color: var(--muted); }
.xc-btn { margin-top: 8px; width: 100%; border: 0; border-radius: 8px; padding: 8px; background: var(--card); color: var(--blue); font-weight: 900; font-size: 14px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .xc-btn { color: var(--sky); } }
.xcard.removed { border-left-color: var(--muted); opacity: .75; }
.xcard.removed .xc-title, .xcard.removed .xc-amt { text-decoration: line-through; color: var(--muted); }
.chat-empty { margin: 18vh auto 0; max-width: 300px; text-align: center; background: var(--card); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.chat-empty span { font-size: 36px; }
.chat-empty p { margin: 0; color: var(--muted); font-weight: 700; font-size: 14px; }

.chat-jump {
  position: absolute; right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--card); color: var(--muted);
  box-shadow: var(--shadow); display: grid; place-items: center;
}
.chat-jump svg { transform: rotate(90deg); }
.chat-jump em { position: absolute; top: -6px; right: -4px; font-style: normal; background: var(--green); color: #fff; font-size: 11px; font-weight: 900; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }

.composer {
  display: flex; align-items: flex-end; gap: 8px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: var(--chat-bg);
}
.composer textarea {
  flex: 1; resize: none; border: 0; outline: none; border-radius: 22px; padding: 11px 16px;
  background: var(--card); color: var(--text); font: inherit; font-size: 16px; font-weight: 600; line-height: 1.35;
  max-height: 140px; box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.cmp-btn, .cmp-send { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; flex: none; }
.cmp-btn { background: var(--card); color: var(--blue); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.cmp-send { background: var(--grad-warm); color: #fff; box-shadow: 0 4px 12px rgba(255, 102, 20, .35); }
.cmp-send svg { width: 20px; height: 20px; fill: currentColor; stroke: none; margin-left: 2px; }
