/* ══════════════════════════════════════════════════════════════════
   app-ui.css — the app, rendered in HTML.
   Faithful recreations of Chirp's real components for marketing pages:
   no iPhone frames, no screenshots — the screen itself, as cards.
   Values are copied from the app (WebApp css/theme.css, screens-c.css,
   screens-voice.css, screens-budgets.css, settings.css):
   mocha palette, Inter tabular-nums amounts, app radii and shadows.
   Self-contained: no dependency on site.js or page stylesheets.
   ══════════════════════════════════════════════════════════════════ */

.au-frame, .au-entry {
  /* the app's mocha tokens, resolved (theme.css + color-mix results) */
  --au-bg: #F5F1E8;
  --au-panel: #FFFBF0;
  --au-raised: #F0EADE;
  --au-ink: #1C1410;
  --au-subtle: #68625C;
  --au-muted: #938E87;
  --au-accent: #3E2415;
  --au-border: #D4CAB8;
  --au-border-subtle: #E5DDCE;
  --au-green: #3A9B6E;
  --au-red: #D05252;
  font-family: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: var(--au-ink);
  letter-spacing: -0.01em;
  text-align: left;
}

/* amounts: the app renders money in Inter with tabular figures */
.au-amount, .au-amt {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1;
  letter-spacing: -0.02em;
}

/* ── the app screen card (the o2d-frame pattern) ──────────────── */

.au-frame {
  background: var(--au-bg);
  border: 1px solid var(--au-border);
  border-radius: 26px;
  padding: 16px;
  box-shadow:
    0 0 0 1px rgba(28, 20, 16, 0.08),
    0 10px 28px rgba(28, 20, 16, 0.16);
  overflow: hidden;
  isolation: isolate;
  width: 100%;
}

/* ── parsed-entry card (chat demo: what Chirp answers with) ───── */

.au-entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  background: var(--au-panel);
  border: 1px solid var(--au-border);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10), 0 6px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.au-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--au-cat, #8A8F98) 16%, var(--au-raised));
  border: 1px solid color-mix(in srgb, var(--au-cat, #8A8F98) 24%, var(--au-border-subtle));
  color: color-mix(in srgb, var(--au-cat, #68625C) 78%, #1C1410);
}

.au-fields { min-width: 0; display: flex; flex-direction: column; gap: 3px; }

.au-name {
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.au-cat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: color-mix(in srgb, var(--au-cat, #68625C) 70%, #1C1410);
}
.au-cat::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--au-cat, #8A8F98);
}

.au-when {
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 7px;
  border: 1px solid var(--au-border-subtle);
  background: var(--au-raised);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--au-subtle);
}

.au-entry .au-amount {
  font-size: 17px;
  font-weight: 600;
}

.au-kept {
  position: absolute;
  top: -9px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--au-green);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(58, 155, 110, 0.30);
}
.au-kept i {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ── category pill row (the review card's chooser) ────────────── */

.au-pillrow {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--au-border-subtle);
  padding-top: 11px;
  margin-top: 2px;
}

.au-catpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--au-subtle);
  background: color-mix(in srgb, var(--au-cat, transparent) 7%, var(--au-raised));
  border: 1px solid color-mix(in srgb, var(--au-cat, var(--au-border-subtle)) 32%, var(--au-border-subtle));
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}
.au-catpill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--au-cat, var(--au-muted));
}
.au-catpill.is-on {
  color: #FFFFFF;
  font-weight: 600;
  background: color-mix(in srgb, var(--au-cat, var(--au-accent)) 80%, #000);
  border-color: color-mix(in srgb, var(--au-cat, var(--au-accent)) 80%, #000);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--au-cat, var(--au-accent)) 30%, transparent);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}
.au-catpill.is-on::before { background: rgba(255, 255, 255, 0.6); }
.au-catpill.is-more { color: var(--au-muted); }
.au-catpill.is-more::before { display: none; }

/* ── settings row + switch (the real .pf-switch) ──────────────── */

.au-settings {
  background: var(--au-panel);
  border: 1px solid var(--au-border);
  border-radius: 14px;
  overflow: hidden;
}

.au-setrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--au-border-subtle);
}
.au-setrow:last-child { border-bottom: none; }

.au-setrow-left { display: flex; align-items: center; gap: 10px; min-width: 0; }

.au-seticon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: color-mix(in srgb, #8A6E9E 20%, var(--au-raised));
  color: var(--au-ink);
  flex: 0 0 auto;
}

.au-setcopy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.au-setlabel { font-size: 15px; font-weight: 500; line-height: 1.25; }
.au-setsub { font-size: 11px; color: var(--au-subtle); line-height: 1.35; }

.au-switch {
  width: 46px;
  height: 27px;
  border-radius: 999px;
  flex: 0 0 auto;
  padding: 0;
  border: none;
  background: var(--au-border);
  position: relative;
  cursor: pointer;
  transition: background 0.18s ease;
}
.au-switch .au-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #FFFFFF;
  transition: transform 0.18s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.au-switch.is-on { background: var(--au-accent); }
.au-switch.is-on .au-knob { transform: translateX(19px); }

/* ── ledger (transaction list) mock ───────────────────────────── */

.au-screenhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.au-title {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.au-monthpill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid var(--au-border);
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  color: var(--au-subtle);
  white-space: nowrap;
}

.au-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
}
.au-stats .au-amt { font-size: 12px; }
.au-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.au-dot--out { background: var(--au-red); }
.au-dot--in { background: var(--au-green); }
.au-stat { display: inline-flex; align-items: center; gap: 5px; }
.au-stats-sep { color: var(--au-muted); }

.au-rows { display: flex; flex-direction: column; }

.au-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 4px;
  min-height: 54px;
  border-bottom: 1px solid var(--au-border-subtle);
}
.au-row:last-child { border-bottom: none; }

.au-row .au-icon { width: 34px; height: 34px; border-radius: 10px; }

.au-rowmeta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }

.au-merchant {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.au-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  height: 20px;
  padding: 0 9px;
  border: 1px solid color-mix(in srgb, var(--au-cat, var(--au-border)) 30%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, var(--au-cat, #1C1410) 18%, var(--au-bg));
  color: color-mix(in srgb, var(--au-cat, #68625C) 72%, #1C1410);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.au-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.au-right .au-amount { font-size: 15px; font-weight: 600; line-height: 1.2; }
.au-right .au-amount.is-income { color: var(--au-green); }
.au-date { font-size: 11px; color: var(--au-muted); line-height: 1.2; }

/* ── budget hero + ring tiles ─────────────────────────────────── */

.au-hero {
  background: var(--au-panel);
  border: 1px solid var(--au-border);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
}

.au-hero-main { padding: 12px 14px 2px; }

.au-herolabel {
  font-size: 10px;
  font-weight: 600;
  color: var(--au-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.au-heroamt {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  gap: 0.02em;
  margin: 2px 0 10px;
  font-variant-numeric: tabular-nums lining-nums;
}
.au-heroamt .au-sym { font-size: 0.58em; align-self: flex-start; margin-top: 0.14em; }
.au-heroamt .au-int { font-weight: 500; }
.au-heroamt .au-dec { font-size: 0.62em; }

.au-pace {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-top: 1px solid var(--au-border-subtle);
  background: color-mix(in srgb, var(--au-green) 7%, var(--au-panel));
  font-size: 11px;
  font-weight: 600;
  color: #2B7A53;
  letter-spacing: 0.02em;
}
.au-pace.is-over {
  background: color-mix(in srgb, var(--au-red) 7%, var(--au-panel));
  color: #BF4646;
}
.au-pace .au-amt { font-weight: 700; }

.au-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.au-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  background: var(--au-panel);
  border: 1px solid var(--au-border-subtle);
  border-radius: 14px;
  padding: 8px 6px 7px;
}
.au-tile.is-over { border-color: color-mix(in srgb, var(--au-red) 45%, var(--au-border-subtle)); }

.au-ring { position: relative; width: 44px; height: 44px; margin-bottom: 3px; }
/* > svg only: the icon svg inside .au-ring-ico must NOT be stretched/rotated */
.au-ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.au-ring > svg circle {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}
.au-ring .au-ring-track { stroke: var(--au-border-subtle); }
.au-ring .au-ring-fill { stroke: var(--au-accent); }
.au-ring .au-ring-fill.is-over { stroke: var(--au-red); }
.au-ring .au-ring-fill.is-cat { stroke: var(--au-cat, var(--au-accent)); }
.au-ring-ico {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--au-cat, #68625C) 78%, #1C1410);
}

.au-tile-name {
  font-size: 11px;
  font-weight: 500;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.au-tile-spent { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.au-tile-left { font-size: 10.5px; font-weight: 500; text-align: center; line-height: 1.2; }
.au-tile-left.is-under { color: #2B7A53; }
.au-tile-left.is-over { color: #BF4646; }

/* ── goals as rings ───────────────────────────────────────────── */

.au-goals { display: flex; flex-direction: column; gap: 8px; }

.au-goal {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--au-panel);
  border: 1px solid var(--au-border-subtle);
  border-radius: 14px;
  padding: 10px 12px;
}
.au-goal .au-ring { width: 40px; height: 40px; margin: 0; flex: 0 0 auto; }
.au-goal-fields { min-width: 0; flex: 1; }
.au-goal-name { font-size: 14px; font-weight: 600; }
.au-goal-amts { font-size: 12px; color: var(--au-subtle); }
.au-goal-amts .au-amt { font-weight: 600; color: var(--au-ink); }

/* ── voice capture mini (the full-bleed gradient screen) ──────── */

.au-voice {
  border-radius: 26px;
  border: 1px solid rgba(28, 20, 16, 0.35);
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  background: radial-gradient(125% 100% at 50% 30%, #796351 0%, #3B2314 46%, #2D1C11 100%);
  box-shadow: 0 0 0 1px rgba(28, 20, 16, 0.08), 0 10px 28px rgba(28, 20, 16, 0.22);
  color: #F4EBDD;
  overflow: hidden;
}

.au-voice-prompt {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.32);
  margin: 4px 0 0;
}

.au-voice-live {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: rgba(244, 235, 221, 0.92);
  min-height: 1.4em;
  margin: 0;
}
.au-voice-live .au-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 5px;
  border-radius: 1px;
  background: #F4EBDD;
  vertical-align: text-bottom;
  animation: au-blink 1.1s steps(1) infinite;
}
@keyframes au-blink { 50% { opacity: 0; } }

.au-voice-status {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 235, 221, 0.58);
}

.au-mic {
  width: 52px;
  height: 52px;
  margin-top: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F4EBDD;
  background: linear-gradient(157deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.07) 55%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.30);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.40),
    inset 0 -10px 20px rgba(0, 0, 0, 0.22),
    0 14px 32px rgba(0, 0, 0, 0.38);
}
@media (prefers-reduced-motion: no-preference) {
  .au-mic { animation: au-breathe 3.4s ease-in-out infinite; }
}
@keyframes au-breathe { 50% { transform: scale(1.05); } }

/* ── text composer mini ───────────────────────────────────────── */

.au-composer {
  background: var(--au-raised);
  border: 1px solid var(--au-border);
  border-radius: 20px;
  padding: 16px 16px 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.au-composer-prompt {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 2px;
}
.au-composer-sub {
  display: block;
  font-size: 12px;
  color: rgba(28, 20, 16, 0.46);
  margin: 4px 0 10px;
}

.au-composer-inputrow {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.au-composer-input {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  line-height: 1.45;
  padding: 6px 0;
  min-height: 42px;
  color: var(--au-ink);
}
.au-composer-input.is-placeholder { color: rgba(28, 20, 16, 0.32); }
.au-send {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--au-accent);
  color: var(--au-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── search mini ──────────────────────────────────────────────── */

.au-searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--au-border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--au-ink);
  margin-bottom: 8px;
}
.au-searchbar svg { color: var(--au-subtle); flex: 0 0 auto; }

.au-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--au-border-subtle);
  margin-top: 2px;
  padding: 10px 4px 2px;
  font-size: 12px;
  color: var(--au-subtle);
}
.au-total .au-amount { font-size: 15px; font-weight: 600; color: var(--au-ink); }

/* ── widgets mini ─────────────────────────────────────────────── */

.au-widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.au-widget {
  background: var(--au-panel);
  border: 1px solid var(--au-border-subtle);
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.au-widget-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--au-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.au-widget-val { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.au-widget-sub { font-size: 11px; color: var(--au-subtle); }
.au-widget-sub.is-under { color: #2B7A53; font-weight: 500; }
.au-widget-row { display: flex; align-items: center; gap: 8px; }
.au-widget .au-ring { width: 34px; height: 34px; margin: 0; }

/* ── themes mini ──────────────────────────────────────────────── */

.au-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.au-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(28, 20, 16, 0.25);
  position: relative;
}
.au-swatch.is-on::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid var(--au-accent);
  border-radius: 50%;
}

/* ── export + sign-in minis ───────────────────────────────────── */

.au-fieldrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--au-border-subtle);
  border-radius: 10px;
  background: var(--au-raised);
  font-size: 13px;
  margin-bottom: 8px;
}
.au-fieldrow-label { color: var(--au-subtle); font-weight: 500; }
.au-fieldrow-val { font-weight: 600; }

.au-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--au-accent);
  background: var(--au-accent);
  color: var(--au-bg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px rgba(62, 36, 21, 0.26);
}
.au-btn--apple { background: #000000; border-color: #000000; color: #FFFFFF; box-shadow: none; }
.au-btn + .au-btn { margin-top: 8px; }
.au-btn--ghost {
  background: transparent;
  color: var(--au-ink);
  border: 1.5px solid var(--au-border);
  box-shadow: none;
}

/* ── support screen (Settings → Help → Support) ───────────────────
   Faithful to WebApp css/screens-support.css + js/support.js markup:
   the New-request compose (category / subject / message / Send) and
   the thread view's iMessage-minimal bubbles. Rendered inert: fields
   are styled spans, not inputs — the frames are role="img". */

.au-sc { padding: 0; max-width: 360px; }

.au-sc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--au-border-subtle);
}
.au-sc-back {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--au-subtle);
  flex-shrink: 0;
}
.au-sc-title {
  flex: 1;
  min-width: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--au-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-sc-spacer { width: 36px; flex-shrink: 0; }

.au-sc-fields {
  display: flex;
  flex-direction: column;
  padding: 8px 16px 4px;
}
.au-sc-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--au-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 0 6px;
}
.au-sc-field,
.au-sc-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--au-border);
  background: var(--au-panel);
  color: var(--au-ink);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 4px;
}
.au-sc-select svg { color: var(--au-muted); flex-shrink: 0; }

.au-sc-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px 0;
}
.au-sc-pill,
.au-sc-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--au-panel);
  color: var(--au-ink);
  border: 1px solid var(--au-border-subtle);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.au-sc-msgs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 16px;
}
.au-sc-msg {
  max-width: 78%;
  padding: 9px 14px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.35;
}
.au-sc-msg--me {
  align-self: flex-end;
  background: var(--au-accent);
  color: #FFFFFF;
  border-bottom-right-radius: 5px;
}
.au-sc-msg--them {
  align-self: flex-start;
  background: var(--au-raised);
  color: var(--au-ink);
  border-bottom-left-radius: 5px;
}

.au-sc-compose {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--au-border-subtle);
  background: var(--au-bg);
}
.au-sc-inputbox {
  display: block;
  min-height: 116px;
  border: 1px solid var(--au-border);
  background: var(--au-panel);
  color: var(--au-ink);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.4;
}
.au-sc-inputbox--empty { min-height: 116px; color: var(--au-muted); }
.au-sc-send {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 12px;
  background: var(--au-accent);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.au-sc-send--dim { opacity: 0.4; }

.au-account-signin { margin: 14px 0 0; font: 13px/1.4 Inter,sans-serif; text-align: center; color: var(--au-subtle); }
.au-account-signin span { text-decoration: underline; color: var(--au-ink); }

.au-btn--apple, .au-btn--ghost { min-height: 50px; border-radius: 14px; font: 600 14px Inter,sans-serif; padding: 13px 16px; }
.au-btn--apple { background: #181818; border-color: #494949; }
