/* Kept dashboard. One stylesheet, light + dark, no external fonts or scripts. */
:root {
  --bg: #f4f4f1; --side: #fafaf8; --card: #ffffff; --raise: #fbfbfa;
  --ink: #17181a; --ink-2: #3b3d40; --muted: #74767b; --faint: #a3a5a9;
  --line: #e7e6e1; --line-2: #dcdbd5;
  --accent: #1f6b55; --accent-2: #185a47; --accent-ink: #ffffff; --accent-soft: #e5f1ec; --accent-line: #b9d9cc;
  --warn: #b2441f; --warn-bg: #fcece5; --ok: #217a49; --ok-bg: #e4f3e9;
  --info: #2c5f9e; --info-bg: #e7eff9; --gold: #b2730f; --gold-bg: #fbf1dc; --tag: #f0efea;
  --shadow-1: 0 1px 1px rgba(20, 22, 18, .03), 0 1px 3px rgba(20, 22, 18, .05);
  --shadow-2: 0 1px 2px rgba(20, 22, 18, .04), 0 6px 20px -6px rgba(20, 22, 18, .10);
  --r: 14px; --r-sm: 9px;
  --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1110; --side: #131614; --card: #181b19; --raise: #1c201d;
    --ink: #eceeea; --ink-2: #c9ccc6; --muted: #959994; --faint: #6c706b;
    --line: #262a27; --line-2: #313632;
    --accent: #6cc7a1; --accent-2: #86d6b4; --accent-ink: #08140f; --accent-soft: #19302a; --accent-line: #2a5446;
    --warn: #f09a80; --warn-bg: #36201a; --ok: #82d39d; --ok-bg: #18301f;
    --info: #9cc2ef; --info-bg: #1a2636; --gold: #e7b65c; --gold-bg: #33291a; --tag: #23272a;
    --shadow-1: none; --shadow-2: 0 8px 24px -10px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14.5px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); }
h1 { font-size: 1.75rem; line-height: 1.15; margin: 0; font-weight: 650; letter-spacing: -.022em; }
h2 { font-size: 1rem; margin: 0; font-weight: 620; letter-spacing: -.005em; }
h3 { font-size: .74rem; margin: 1.5em 0 .7em; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0 0 .6em; }
code { font: .84em var(--mono); background: var(--tag); padding: 1px 6px; border-radius: 6px; }
pre { font: .85rem var(--mono); background: var(--raise); border: 1px solid var(--line); padding: 10px 12px; border-radius: var(--r-sm); overflow-x: auto; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.warn { color: var(--warn); }
.ico { flex: none; vertical-align: -3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-soft); }

/* ---------- shell: sidebar + content ---------- */
body.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px;
  background: var(--side); border-right: 1px solid var(--line); padding: 18px 12px 16px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 10px 6px; color: var(--ink);
  font: 650 1.12rem/1 var(--font-display); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.mark { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: .9rem;
  color: #fff; background: linear-gradient(145deg, #2a8a6d, #17594a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), var(--shadow-1); }
.side nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.side nav a { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: var(--r-sm);
  color: var(--ink-2); font-weight: 500; transition: background .12s, color .12s; }
.side nav a .ico { color: var(--faint); transition: color .12s; }
.side nav a:hover { background: var(--tag); color: var(--ink); text-decoration: none; }
.side nav a:hover .ico { color: var(--muted); }
.side nav a.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.side nav a.on .ico { color: var(--accent); }
.side-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 10px 0; border-top: 1px solid var(--line); }
.who { font-size: .8rem; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 550; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.live { background: var(--ok-bg); color: var(--ok); }
.pill.live::before { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.pill.test { background: var(--info-bg); color: var(--info); }
.logout { margin: 0; }
main { width: 100%; max-width: 1180px; margin: 0 auto; padding: 30px 36px 56px; }
body.bare main { max-width: 440px; padding-top: 12vh; }

@media (max-width: 900px) {
  body.app { display: block; }
  .side { position: sticky; z-index: 10; height: auto; flex-direction: row; align-items: center; gap: 8px;
    padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--side) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); }
  .brand { padding: 0 4px; }
  .brand > span:last-child { display: none; }
  .side nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(to right, #000 88%, transparent); }
  .side nav::-webkit-scrollbar { display: none; }
  .side nav a { padding: 7px 10px; white-space: nowrap; gap: 7px; }
  .side-foot { flex-direction: row; border: 0; padding: 0; }
  .side-foot .pill, .side-foot .who { display: none; }
  .side-foot .link span { display: none; }
  main { padding: 20px 16px 48px; }
  h1 { font-size: 1.5rem; }
}

/* ---------- page header ---------- */
.ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.ph .eyebrow { font-size: .76rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.ph p { color: var(--muted); margin: 6px 0 0; max-width: 68ch; }
.ph-actions { display: flex; gap: 8px; align-items: center; }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 16px; box-shadow: var(--shadow-1); }
.card > :last-child { margin-bottom: 0; }
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.card-head .ico { color: var(--accent); }
.card-head .spacer { flex: 1; }
.card-head .link-more { font-size: .84rem; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--tag); color: var(--muted); font: 600 .74rem/1 var(--font); }
.card.flush { padding: 6px 0; }
.card.flush .card-head { padding: 12px 20px 0; }
.card.fit { width: fit-content; max-width: 100%; }
.del-slot { display: inline-flex; justify-content: flex-end; min-width: 62px; }
.note { font-size: .84rem; color: var(--muted); margin-top: 12px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); align-items: start; }
.grid > .card { margin-bottom: 0; }
.grid + .card, .card + .grid, .grid + .grid { margin-top: 16px; }
.split { display: grid; gap: 16px; grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr); align-items: start; }
.split > .col > .card:last-child { margin-bottom: 0; }
.split .grid { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
@media (max-width: 1100px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- stat tiles ---------- */
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(168px, 46%), 1fr)); margin-bottom: 16px; }
.stat { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 15px; box-shadow: var(--shadow-1); overflow: hidden; }
.stat .lbl { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 550; color: var(--muted); }
.stat .lbl .ico { color: var(--faint); }
.stat .num { display: block; margin-top: 8px; font: 650 1.65rem/1.05 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat .num small { font-size: .55em; font-weight: 550; color: var(--faint); letter-spacing: 0; margin-left: 1px; }
.stat .sub { display: block; margin-top: 4px; font-size: .78rem; color: var(--muted); }
.stat .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--tag); }
.stat .bar i { display: block; height: 100%; background: var(--accent); border-radius: 0 3px 3px 0; }
.stat.good .num { color: var(--ok); }
.stat.good .bar i { background: var(--ok); }
.stat.bad .num { color: var(--warn); }
.stat.bad .bar i { background: var(--warn); }
.stat.gold .num { color: var(--gold); }

/* ---------- lists ---------- */
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.rows > li:first-child { border-top: 0; padding-top: 2px; }
.card.flush .rows > li { padding-left: 20px; padding-right: 20px; }
.card.flush .rows > li:first-child { padding-top: 11px; }
.rows > li > .sub { flex-basis: 100%; font-size: .83rem; color: var(--muted); margin-top: -2px; }
.rows .grow { flex: 1 1 10em; min-width: 0; }
.rows .end { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.rows .title { font-weight: 560; }
.rows > li.due { background: linear-gradient(90deg, var(--warn-bg), transparent 75%); margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: var(--r-sm); border-top-color: transparent; }
.rows > li.due + li { border-top-color: transparent; }
.rows > li.faded { opacity: .62; }
.time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .88rem; min-width: 5.6em; }
.time.wide { min-width: 8.5em; }
.rows > li.ci { display: grid; grid-template-columns: 5.6em 1fr auto; }
.ci .tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ci > .sub { grid-column: 2 / -1; }
.actions { display: flex; gap: 5px; flex-wrap: wrap; }
.money { font-variant-numeric: tabular-nums; font-weight: 600; }

.tag { display: inline-block; background: var(--tag); color: var(--ink-2); border-radius: 6px; padding: 1px 8px; font-size: .78rem; font-weight: 500; }
.t-hygiene { background: #e6f0fb; color: #2c5f9e; } .t-sleep { background: #efe9fb; color: #5c43a3; }
.t-spending { background: #fbf1dc; color: #8a5a0c; } .t-homework { background: #fde9ee; color: #a3324f; }
.t-projects { background: #e5f1ec; color: #1f6b55; }
@media (prefers-color-scheme: dark) {
  .t-hygiene { background: #1a2636; color: #9cc2ef; } .t-sleep { background: #251f36; color: #c3b2f2; }
  .t-spending { background: #33291a; color: #e7b65c; } .t-homework { background: #361b23; color: #f2a3b7; }
  .t-projects { background: #19302a; color: #6cc7a1; }
}
.status { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 1px 9px 1px 8px; font-size: .74rem; font-weight: 600;
  background: var(--tag); color: var(--muted); white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.s-answered, .s-done { background: var(--ok-bg); color: var(--ok); }
.s-overdue, .s-missed, .s-stuck, .s-waiting_on_me { background: var(--warn-bg); color: var(--warn); }
.s-sent, .s-running, .s-queued, .s-in_progress { background: var(--info-bg); color: var(--info); }
.s-cancelled { opacity: .7; }
.s-good { background: var(--ok-bg); color: var(--ok); }
.s-wait { background: var(--info-bg); color: var(--info); }
.s-bad { background: var(--warn-bg); color: var(--warn); }
.s-off { background: color-mix(in srgb, currentColor 8%, transparent); opacity: .75; }
a.flash { text-decoration: none; }
.flag { display: inline-block; background: var(--warn-bg); color: var(--warn); border-radius: 6px; padding: 1px 7px; font-size: .74rem; font-weight: 600; }
.flash { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: var(--r-sm); margin: 0 0 18px;
  background: var(--ok-bg); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 20%, transparent); font-weight: 500; }
.flash.error { background: var(--warn-bg); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 20%, transparent); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 10px; color: var(--muted); text-align: center; font-size: .9rem; }
.empty .ico { color: var(--faint); }
.card.flush .empty { padding: 26px 20px; }

/* ---------- hygiene checklist ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks li form { flex: 1; }
button.check { width: 100%; height: 42px; justify-content: flex-start; gap: 10px; text-align: left; padding: 0 12px; background: var(--raise); font-weight: 500; box-shadow: none; }
button.check::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.8px solid var(--line-2); flex: none; background: var(--card); transition: all .15s; }
button.check:hover::before { border-color: var(--accent); }
button.check.done { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
button.check.done::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.streak { min-width: 2.6em; justify-content: flex-end; display: inline-flex; align-items: center; gap: 4px; color: var(--gold); font-size: .8rem; font-weight: 600; white-space: nowrap; }

/* ---------- forms ---------- */
form { margin: 0; }
form.inline { display: inline; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.row > input, .row > select { flex: 1 1 150px; }
.row > label.inline-label { align-self: center; }
label { display: flex; flex-direction: column; gap: 5px; font-size: .82rem; font-weight: 550; color: var(--ink-2); flex: 1 1 190px; }
label .hint { font-weight: 400; color: var(--muted); }
label.inline-label { flex-direction: row; align-items: center; gap: 8px; flex: 0 1 auto; font-weight: 500; }
input, select, textarea, button { font: inherit; color: var(--ink); }
input, select, textarea { height: 38px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 0 12px; min-width: 0;
  box-shadow: inset 0 1px 1px rgba(20, 22, 18, .03); transition: border-color .12s, box-shadow .12s; }
textarea { height: auto; padding: 9px 12px; width: 100%; resize: vertical; line-height: 1.5; }
select { appearance: none; padding-right: 32px; cursor: pointer;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374767b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 10px center/16px no-repeat; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--muted) 50%, var(--line-2)); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3.5px color-mix(in srgb, var(--accent) 18%, transparent); }
input[type=checkbox] { width: 17px; height: 17px; padding: 0; accent-color: var(--accent); box-shadow: none; cursor: pointer; }
input[type=date], input[type=time] { font-variant-numeric: tabular-nums; }
fieldset.days { border: 0; padding: 0; margin: 14px 0; display: flex; flex-wrap: wrap; gap: 6px; }
fieldset.days legend { font-size: .82rem; font-weight: 550; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
fieldset.days label { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border: 1px solid var(--line-2);
  border-radius: 999px; font-weight: 500; cursor: pointer; transition: all .12s; }
fieldset.days input { position: absolute; opacity: 0; width: 1px; height: 1px; }
fieldset.days label { padding: 6px 14px; min-width: 56px; justify-content: center; }
fieldset.days label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
fieldset.days label:hover { border-color: var(--accent-line); }
fieldset.days label:has(input:checked) { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-2); }
.composer { display: flex; gap: 10px; align-items: center; }
.composer input { flex: 1; height: 42px; }
.composer button { height: 42px; }

/* settings: section title + description on the left, fields on the right */
.setting { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 8px 40px; padding: 22px 24px; }
.setting .about h2 { margin-bottom: 6px; }
.setting .about p { color: var(--muted); font-size: .86rem; }
.setting .fields > :first-child { margin-top: 0; }
.setting .fields .row + .row, .setting .fields .row + label, .setting .fields label + .row { margin-top: 14px; }
@media (max-width: 760px) { .setting { grid-template-columns: minmax(0, 1fr); padding: 18px; } }
.savebar { position: sticky; bottom: 14px; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: color-mix(in srgb, var(--card) 90%, transparent); backdrop-filter: saturate(1.4) blur(12px);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); padding: 10px 12px 10px 18px; }

/* ---------- buttons ---------- */
button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; background: var(--card); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 0 15px; cursor: pointer; font-weight: 550; white-space: nowrap;
  box-shadow: var(--shadow-1); transition: background .12s, border-color .12s, box-shadow .12s, transform .06s; }
button:hover { background: var(--raise); border-color: color-mix(in srgb, var(--muted) 40%, var(--line-2)); }
button:active { transform: translateY(1px); }
button.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 88%, #fff), var(--accent)); color: var(--accent-ink);
  border-color: var(--accent-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 1px 2px rgba(20, 60, 45, .25); }
button.primary:hover { background: var(--accent-2); }
@media (prefers-color-scheme: dark) { button.primary { background: var(--accent); box-shadow: none; } }
button.small { height: 28px; padding: 0 10px; font-size: .8rem; border-radius: 7px; }
button.ghost { background: transparent; box-shadow: none; border-color: transparent; color: var(--muted); }
button.ghost:hover { background: var(--tag); color: var(--ink); }
button.link { height: auto; background: none; border: 0; box-shadow: none; color: var(--muted); padding: 4px 0; font-weight: 500; }
button.link:hover { color: var(--ink); background: none; }

/* ---------- tables ---------- */
.scroll-x { overflow-x: auto; }
table { border-collapse: collapse; }
table.list { width: 100%; font-variant-numeric: tabular-nums; }
table.list th, table.list td { text-align: left; padding: 11px 12px; border-top: 1px solid var(--line); }
table.list th { border-top: 0; color: var(--muted); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding-top: 6px; }
table.list th:first-child, table.list td:first-child { padding-left: 20px; }
table.list th:last-child, table.list td:last-child { padding-right: 20px; }
table.list tbody tr:hover td { background: var(--raise); }
td.num, th.num { text-align: right !important; }
table.grid14 { border-collapse: separate; border-spacing: 4px; }
table.grid14 th { font-weight: 500; color: var(--muted); font-size: .72rem; padding: 2px; text-align: center; line-height: 1.25; }
table.grid14 th b { display: block; font: 600 .9rem var(--font-display); color: var(--ink-2); }
table.grid14 th.today b, table.grid14 th.today { color: var(--accent); }
table.grid14 tbody th { text-align: left; color: var(--ink); white-space: nowrap; padding-right: 14px; font-size: .88rem; font-weight: 550; }
table.grid14 td { padding: 0; }
button.cell { width: 32px; height: 32px; padding: 0; border-radius: 8px; background: var(--raise); color: transparent; box-shadow: none; border-color: var(--line); }
button.cell:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent); }
button.cell.done { background: var(--ok); border-color: transparent; color: #fff; }
@media (prefers-color-scheme: dark) { button.cell.done { color: var(--accent-ink); } }

/* ---------- phone thread ---------- */
.thread { display: flex; flex-direction: column; gap: 4px; max-height: 64vh; overflow-y: auto; padding: 18px 20px; }
.msg { display: flex; flex-direction: column; max-width: min(78%, 560px); }
.msg.out { align-self: flex-start; }
.msg.in { align-self: flex-end; align-items: flex-end; }
.bubble { padding: 9px 14px; border-radius: 18px 18px 18px 6px; background: var(--tag); white-space: pre-wrap; line-height: 1.45; }
.msg.in .bubble { background: var(--accent); color: var(--accent-ink); border-radius: 18px 18px 6px 18px; }
.msg.call .bubble { background: var(--card); border: 1px solid var(--line-2); display: flex; gap: 8px; align-items: flex-start; }
.msg.in.call .bubble { background: var(--accent-soft); color: var(--accent-2); border-color: var(--accent-line); }
.msg.call .bubble .ico { margin-top: 2px; color: var(--accent); }
.meta { font-size: .72rem; color: var(--faint); margin: 3px 10px 10px; }
.ringing { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 12px; border-radius: var(--r-sm); background: var(--info-bg); color: var(--info); font-weight: 600; }

/* ---------- login ---------- */
.login-card { padding: 30px 28px; box-shadow: var(--shadow-2); }
.login-card .brand { padding: 0 0 18px; font-size: 1.25rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
