:root{
  --bg:#faf7f2;
  --surface:#ffffff;
  --surface-2:#f0ebe2;
  --line:#e3ddd0;
  --ink:#221f1a;
  --muted-text:#7a7367;
  --accent:#c25a2b;
  --accent-ink:#ffffff;
  --focus:#1c6dd0;
  --shadow:0 1px 2px rgba(40,30,15,0.05);
  --cat-movie:#3b7fc4; --cat-fitness:#3f9d63; --cat-social:#d0524a;
  --cat-spiritual:#c95f8a; --cat-work:#2f8f93;
  --cat-manutd:#da020e; --cat-sport:#4338ca; --cat-mayo:#9a7b1f;
  --danger:#c0392f; --danger-bg:rgba(192,57,47,0.08);
  /* RSVP: teal (not the fitness green) for going; neutral grey for
     tentative - desaturated so it can't clash with any category hue
     (movie blue included) or the orange accent, and "maybe" reads as grey. */
  --going:#0e9488; --tentative:#6b7280;
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#0b0e14; --surface:#151a23; --surface-2:#1d232e; --line:#2a313d;
    --ink:#edeae3; --muted-text:#8b94a3;
    --accent:#e8834e; --accent-ink:#1a1005; --focus:#5b9bef;
    --shadow:0 1px 2px rgba(0,0,0,0.3);
    --cat-movie:#5b9bd8; --cat-fitness:#57b97c; --cat-social:#e86b62;
    --cat-spiritual:#db7ba3; --cat-work:#46a8ac;
    --cat-manutd:#f0454f; --cat-sport:#818cf8; --cat-mayo:#d7b45a;
    --danger:#f0857c; --danger-bg:rgba(240,90,80,0.1);
    --going:#2dd4bf; --tentative:#9aa1ac;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  min-height: 100vh;
  overflow-x: hidden; /* safety net: nothing should ever cause a horizontal scrollbar */
}
/* Fluid width that fills small screens and grows to a comfortable cap on
   large ones. Padding scales with the viewport so a phone isn't cramped and
   a desktop isn't hard against the edge. */
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: clamp(16px, 4vw, 28px) clamp(14px, 4vw, 32px) 60px; }

/* ── Masthead ── */
.masthead { margin-bottom: 18px; }
.brand { font-size: 25px; font-weight: 800; letter-spacing: -0.4px; color: var(--accent); margin: 0; line-height: 1.1; }
.brand a { color: inherit; text-decoration: none; }
.brand a:hover { text-decoration: underline; text-underline-offset: 3px; }
.brand a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.dateline { font-size: 14px; font-weight: 700; color: var(--ink); margin: 6px 0 0; }
.summary { font-size: 12.5px; color: var(--muted-text); margin: 3px 0 0; }
.summary b { color: var(--ink); font-weight: 700; }

/* ── Filter stack ── */
.filters { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 8px; }
/* Filter labels kept quiet so they don't compete with the brand / content. */
.fgroup-label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-text); opacity: 0.85; margin-bottom: 6px; display: flex; align-items: center; gap: 6px;
}
.fgroup-label .step {
  width: 14px; height: 14px; border-radius: 50%; background: var(--surface-2); color: var(--muted-text);
  font-size: 9px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; opacity: 0.9;
}
.fgroup-label.with-action { justify-content: space-between; }
.fgroup-label.with-action > span { display: inline-flex; align-items: center; gap: 7px; }
.date-jump {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px;
}
.date-jump input[type="date"] {
  border: none; background: transparent; color: var(--ink); font-family: inherit;
  font-size: 11.5px; font-weight: 600; cursor: pointer; padding: 0; color-scheme: light dark;
}
.date-jump input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.6; }

/* Week navigation: prev/next above the day strip with the picker centred,
   so the 7 day chips get the row's full width (they were squished on a
   phone when arrows flanked them). */
/* Cap the week bar and day strip to the same width so they line up (the day
   chips fill this width; without the cap they capped at 74px each and the
   bar stretched wider). On a phone this is wider than the viewport, so both
   just use the full width and still match. */
.week-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; max-width: 520px; }
.week-bar .date-jump { flex: 1; justify-content: center; }
.day-strip { max-width: 520px; }
.wk-btn {
  flex: none; width: 40px; height: 34px; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted-text); border-radius: 10px; font-size: 18px; font-weight: 700; line-height: 1;
  cursor: pointer; font-family: inherit;
}
.wk-btn:hover { color: var(--ink); border-color: var(--accent); }
.wk-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
/* Wider than the chevrons because it holds a word, and auto-width so the
   label sets the size rather than being clipped by the 40px arrow box. */
.wk-today { width: auto; padding: 0 12px; font-size: 12px; letter-spacing: 0.02em; }

/* Wrap instead of horizontal-scroll so there are no scrollbars on desktop
   (or anywhere). On a narrow phone chips just flow onto a second row. */
.chiprow { display: flex; flex-wrap: wrap; gap: 7px; }

/* Day chips */
.day {
  position: relative;
  flex: 1 1 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 11px;
  padding: 7px 8px 6px; cursor: pointer; text-align: center; min-width: 42px;
  font-family: inherit; color: var(--ink);
}
.day .going-dot {
  position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%;
  box-shadow: 0 0 0 2px var(--surface), 0 0 5px currentColor;
}
.day .going-dot.going { background: var(--going); color: var(--going); }
.day .going-dot.tentative { background: var(--tentative); color: var(--tentative); }
.day.on .going-dot { box-shadow: 0 0 0 2px var(--accent), 0 0 5px currentColor; }
.day .dow { display: block; font-size: 9.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-text); }
.day .dom { display: block; font-size: 15px; font-weight: 800; margin-top: 1px; }
.day.on { background: var(--accent); border-color: var(--accent); }
.day.on .dow { color: var(--accent-ink); opacity: 0.85; }
.day.on .dom { color: var(--accent-ink); }

/* Pill chips (time, mood, location) */
.pill {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--muted-text);
  border-radius: 20px; padding: 7px 13px; font-size: 12.5px; font-weight: 600; cursor: pointer;
  font-family: inherit; user-select: none; white-space: nowrap;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pill .n { opacity: 0.6; font-weight: 500; }
.pill .x { font-weight: 700; font-size: 14px; line-height: 1; opacity: 0.7; margin-left: 1px; }
.pill.on:hover .x { opacity: 1; }
.pill.on { color: var(--ink); border-color: var(--pill-c, var(--accent)); background: color-mix(in srgb, var(--pill-c, var(--accent)) 13%, var(--surface)); }
.pill.all.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pill:focus-visible, .day:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }

/* Refine (secondary) */
.refine-toggle {
  align-self: flex-start; background: none; border: none; color: var(--focus);
  font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: inherit; padding: 2px 0;
  display: inline-flex; align-items: center; gap: 5px;
}
.refine-toggle .chev { transition: transform 0.15s ease; }
.refine-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .refine-toggle .chev { transition: none; } }
.refine { display: none; flex-direction: column; gap: 12px; padding: 14px; background: var(--surface-2); border-radius: 12px; }
.refine.open { display: flex; }
.refine-empty { font-size: 12px; color: var(--muted-text); line-height: 1.5; }

/* ── View toggle + clear filters ── */
.results-bar { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-top: 20px; }
.view-toggle { order: -1; } /* toggle sits left, clear-filters pushed right */
.clear-filters {
  margin-left: auto;
  background: none; border: none; font-family: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--muted-text); cursor: pointer; padding: 4px 6px; border-radius: 7px;
}
.clear-filters:hover { color: var(--danger); background: var(--surface-2); }
.clear-filters[hidden] { display: none; }
.view-toggle { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; padding: 3px; gap: 3px; }
.view-toggle button {
  border: none; background: none; font-family: inherit; font-size: 12.5px; font-weight: 700;
  color: var(--muted-text); padding: 5px 13px; border-radius: 7px; cursor: pointer;
}
.view-toggle button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.view-toggle button:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }

/* ── Results ── */
.results { margin-top: 14px; display: flex; flex-direction: column; gap: 22px; }

/* ── Timeline (TV-guide) view ── */
.tv-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.tv-grid { display: grid; }
.tv-corner {
  position: sticky; left: 0; z-index: 3; background: var(--surface-2);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted-text); display: flex; align-items: center; padding: 0 10px; height: 30px;
}
.tv-ruler { position: relative; height: 30px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.tv-tick {
  position: absolute; top: 0; height: 30px; display: flex; align-items: center; padding-left: 4px;
  font-size: 10.5px; color: var(--muted-text); border-left: 1px solid var(--line);
}
.tv-label {
  position: sticky; left: 0; z-index: 2; background: var(--surface);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 4px 10px;
  border-left: 3px solid var(--cat-c);
}
.tv-label-name { font-size: 12px; font-weight: 700; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-label-sub { font-size: 10px; color: var(--muted-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-track { position: relative; border-bottom: 1px solid var(--line); background: var(--bg); }
.tv-bar {
  position: absolute; height: 24px; border-radius: 6px; border: none; cursor: pointer;
  color: #fff; font-size: 11px; font-weight: 600; font-family: inherit;
  padding: 0 7px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: left;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.tv-bar:hover { filter: brightness(1.08); }
/* Outline bars (events with no RSVP): transparent fill, category-coloured
   edge + text, faint fill on hover. */
.tv-bar-outline { font-weight: 700; }
.tv-bar-outline:hover { background: color-mix(in srgb, currentColor 12%, transparent) !important; filter: none; }
.tv-bar:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
/* going/tentative bars are already filled with the RSVP colour (set inline);
   a darker inset edge keeps them legible against the row background. */
.tv-bar.rsvp-going, .tv-bar.rsvp-tentative { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3); color: #fff; }
.tv-bar-t { opacity: 0.85; font-weight: 700; }
/* Screen format, trailing the film name. Dimmer than the title so it reads
   as secondary at 11px, where a boxed badge would just be noise. */
.tv-bar-f { opacity: 0.72; font-weight: 600; }
.tv-bar-f::before { content: ' · '; }

/* Home/away marker on timeline bar using emoji: 🏠 for home, ✈️ for away. */
.tv-bar-ha {
  flex: none; margin-right: 5px; font-size: 11px; line-height: 1;
}
.tv-bar.tv-allday { opacity: 0.85; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.12) 0 6px, transparent 6px 12px); }
.section-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.section-head .swatch { width: 10px; height: 10px; border-radius: 3px; flex: none; align-self: center; }
.section-head h2 { font-size: 15px; font-weight: 800; margin: 0; }
.section-head .count { font-size: 12px; color: var(--muted-text); font-weight: 600; }

/* Auto-fill grid: one column on a phone, filling to 2-3 on tablet/desktop
   without any breakpoint math. min(100%, 320px) stops a card from ever
   being wider than its container on the narrowest screens. */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 8px; align-items: stretch; }
.card {
  display: flex; gap: 12px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--cat-c); border-radius: 11px; padding: 0 13px;
  height: 66px; overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer; text-align: left; width: 100%; font-family: inherit; color: inherit;
  border-top: none; border-right: none; border-bottom: none;
}
.card:hover { background: color-mix(in srgb, var(--cat-c) 5%, var(--surface)); }
.card:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.card .time { flex: none; width: 66px; font-size: 13px; font-weight: 800; line-height: 1.25; padding-top: 1px; }
.card .time .dur { display: block; font-size: 10px; font-weight: 500; color: var(--muted-text); margin-top: 2px; }
.card .allday-time { font-size: 12px; font-weight: 800; line-height: 1.15; color: var(--accent); display: inline-block; }
.allday-tag {
  font-size: 9px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 5px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 15%, transparent);
}
.card .body { flex: 1; min-width: 0; }
.card .title { font-size: 14px; font-weight: 700; line-height: 1.3; display: flex; align-items: center; min-width: 0; }
/* Only the name truncates. The format badge and RSVP tag hold their width, so
   a long film title can't push the screen type out of view. */
.card .tname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.card.rsvp-going { box-shadow: 0 0 0 1.5px var(--going), var(--shadow); }
.card.rsvp-tentative { box-shadow: 0 0 0 1.5px var(--tentative), var(--shadow); }
.rsvp-tag {
  display: inline-block; margin-left: 7px; font-size: 9.5px; font-weight: 800;
  letter-spacing: 0.03em; text-transform: uppercase; vertical-align: middle; flex: none;
}
.rsvp-tag.going { color: var(--going); }
.rsvp-tag.tentative { color: var(--tentative); }
.card .meta { font-size: 11.5px; color: var(--muted-text); margin-top: 4px; display: flex; gap: 6px; flex-wrap: nowrap; align-items: center; overflow: hidden; white-space: nowrap; }
.card .src { flex: none; font-size: 9px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; }
.card .venue { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.card .fmt { flex: none; margin-left: 7px; font-size: 9px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; padding: 1px 5px; border-radius: 4px; background: var(--surface-2); color: var(--muted-text); }

/* Fixture badges using emoji: 🏠 for home, ✈️ for away. Emoji read
   apart instantly without needing to parse colour/fill state. */
.card .ha {
  flex: none; margin-left: 7px; font-size: 13px; line-height: 1;
}
.card .comp {
  flex: none; margin-left: 5px; font-size: 9px; font-weight: 700; letter-spacing: 0.04em;
  padding: 1px 5px; border-radius: 4px;
  background: color-mix(in srgb, var(--cat-manutd) 13%, transparent); color: var(--cat-manutd);
}

.empty { text-align: center; padding: 44px 20px; color: var(--muted-text); font-size: 14px; background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; }
.empty .big { font-size: 15px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 6px; }

.error-note {
  padding: 10px 12px; font-size: 12px; color: var(--danger); line-height: 1.4;
  background: var(--danger-bg); border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); border-radius: 10px;
}

/* ── Details sheet ── */
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.18s ease; z-index: 50;
}
.sheet-backdrop.open { opacity: 1; pointer-events: auto; }
.sheet {
  width: 100%; max-width: 560px; max-height: 82vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-bottom: none;
  border-radius: 16px 16px 0 0; padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform 0.22s cubic-bezier(0.32, 0.72, 0, 1); position: relative;
}
.sheet-backdrop.open .sheet { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .sheet-backdrop, .sheet { transition: none; } }
.sheet-close {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px;
  border-radius: 50%; border: none; background: var(--surface-2); color: var(--muted-text);
  font-size: 18px; line-height: 1; cursor: pointer;
}
.sheet-close:hover { background: var(--line); color: var(--ink); }
.sheet-cat {
  display: inline-block; font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 3px 9px; border-radius: 20px; margin-bottom: 10px;
}
.sheet-img { display: block; width: 100%; max-height: 300px; object-fit: contain; border-radius: 12px; margin-bottom: 14px; background: var(--surface-2); }
.sheet-title { font-size: 19px; font-weight: 800; line-height: 1.3; padding-right: 32px; margin-bottom: 10px; text-wrap: balance; }
.sheet-desc { font-size: 13.5px; line-height: 1.5; color: var(--muted-text); margin-bottom: 14px; }
.rsvp-ctl { display: flex; gap: 8px; margin-bottom: 10px; }
.rsvp-opt {
  flex: 1; padding: 11px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--surface-2); color: var(--ink); font-family: inherit;
  font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.rsvp-opt:hover { border-color: var(--muted-text); }
.rsvp-opt.going.on { background: var(--going); border-color: var(--going); color: #fff; }
.rsvp-opt.tentative.on { background: var(--tentative); border-color: var(--tentative); color: #fff; }

/* Google Calendar sync feedback. Sits under the RSVP buttons and only
   appears when there's something worth saying - see CAL_NOTES in app.js. */
.cal-note { margin: -4px 0 10px; font-size: 12px; color: var(--muted-text); }
.cal-note[data-tone="warn"] { color: var(--tentative); }
.cal-note[data-tone="error"] { color: var(--cat-manutd); }
.rsvp-opt:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.sheet-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.sheet-row { display: flex; gap: 10px; font-size: 13.5px; }
.sheet-row .k { flex: none; width: 76px; color: var(--muted-text); }
.sheet-row .v { color: var(--ink); font-weight: 500; }
.sheet-link {
  display: inline-flex; align-items: center; gap: 6px; width: 100%; justify-content: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 13.5px;
  padding: 12px; border-radius: 10px; text-decoration: none;
}
.sheet-link:hover { filter: brightness(0.95); }

/* ── Version tag ── */
.version { margin-top: 30px; text-align: center; position: relative; }
.version-link { font-size: 11px; color: var(--muted-text); text-decoration: none; font-variant-numeric: tabular-nums; }
.version-link:hover { color: var(--accent); }
.version-tip {
  display: none; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  margin-bottom: 8px; width: min(340px, 80vw); white-space: pre-wrap; text-align: left;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); padding: 12px 14px; font-size: 12px; line-height: 1.5; z-index: 40;
}
/* Hover-only, so it's effectively desktop-only (touch has no hover, and a
   tap just follows the commit link). */
@media (hover: hover) {
  .version:hover .version-tip { display: block; }
}

/* ── Feedback FAB + panel ── */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  font-size: 26px; font-weight: 800; font-family: inherit; line-height: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.fab:hover { filter: brightness(1.05); }
.fab:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.fab-panel {
  position: fixed; right: 18px; bottom: 80px; z-index: 60;
  width: min(340px, calc(100vw - 36px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28); padding: 16px;
  opacity: 0; transform: translateY(8px) scale(0.98); pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.fab-panel.open { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .fab-panel { transition: none; } }
.fab-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.fab-panel-head strong { font-size: 14px; }
.fab-close { background: none; border: none; color: var(--muted-text); font-size: 20px; cursor: pointer; line-height: 1; padding: 0 2px; }
.fab-close:hover { color: var(--ink); }
.fab-field { display: block; margin-bottom: 10px; }
.fab-field > span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-text); margin-bottom: 5px; }
.fab-field > span em { font-weight: 500; text-transform: none; letter-spacing: 0; }
.fab-field input, .fab-field textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 11px; font-family: inherit; font-size: 13.5px; color: var(--ink); resize: vertical;
}
.fab-field input:focus, .fab-field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.fab-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fab-send {
  width: 100%; background: var(--accent); color: var(--accent-ink); border: none; border-radius: 9px;
  padding: 10px; font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.fab-send:hover { filter: brightness(1.05); }
.fab-send:disabled { opacity: 0.6; cursor: default; }
.fab-status { font-size: 12px; color: var(--muted-text); margin: 8px 0 0; min-height: 15px; text-align: center; }

::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
