/* ShiftCheck — chat-first, dark brand theme (saleolab palette) with a light fallback.
   Dark: page #0b1120, cards #0f172a, teal #14b8a6 / #5eead4, orange #f97316, text #f1f5f9 / #cbd5e1 / #94a3b8, red #ef4444. */
:root {
  --bg: #0b1120; --card: #0f172a; --raised: #1e293b; --field: #111a2e;
  --ink: #f1f5f9; --ink-2: #cbd5e1; --muted: #94a3b8; --line: rgba(148,163,184,.16); --line-strong: rgba(148,163,184,.28);
  --brand: #14b8a6; --brand-2: #5eead4; --brand-ink: #042f2e; --brand-soft: rgba(20,184,166,.14);
  --accent: #f97316; --accent-soft: rgba(249,115,22,.14); --accent-ink: #fdba74;
  --in: #4ade80; --in-soft: rgba(74,222,128,.12); --lock: #a5b4fc; --lock-soft: rgba(129,140,248,.16);
  --danger: #ef4444; --danger-ink: #fca5a5; --danger-soft: rgba(239,68,68,.14);
  --warn-bg: rgba(249,115,22,.12); --warn-line: rgba(249,115,22,.45); --warn-ink: #fed7aa;
  --reason-bg: rgba(167,139,250,.16); --reason-ink: #ddd6fe;
  --bubble-them: #1e293b; --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 0 0 1px var(--line);
  --radius: 16px; --tab-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 16px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--ink); -webkit-tap-highlight-color: transparent; }
#app { max-width: 560px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand-2); }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }

header.top { position: sticky; top: 0; z-index: 5; background: rgba(11,17,32,.92); backdrop-filter: blur(10px);
  padding: calc(12px + var(--safe-t)) 16px 10px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
header.top h1 { font-size: 21px; margin: 0; flex: 1; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
header.top .sub { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
header.top .back { border: 0; background: none; font-size: 28px; line-height: 1; padding: 0 6px 0 0; color: var(--brand-2); }
header.top .brand-mark { width: 30px; height: 30px; flex: none; }
main { flex: 1; padding: 8px 16px calc(var(--tab-h) + 24px + var(--safe-b)); }
main.chat-main { padding-bottom: 0; display: flex; flex-direction: column; }

.card { background: var(--card); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
.card h2 { font-size: 13px; margin: 0 0 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.muted { color: var(--muted); font-size: 14px; }
.small { font-size: 13px; }
span.block { display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px;
  padding: 13px 16px; font-weight: 650; background: var(--raised); color: var(--ink); min-height: 48px; text-decoration: none; }
.btn.block { width: 100%; }
.btn.primary { background: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { background: #2dd4bf; }
.btn.ghost { background: transparent; color: var(--brand-2); padding: 10px; min-height: 0; }
.btn.small { padding: 8px 12px; min-height: 36px; font-size: 14px; }
.btn:disabled { opacity: .45; cursor: default; }
.btn.danger { background: var(--danger-soft); color: var(--danger-ink); }
.btn.ghost.danger { background: transparent; }
.btn.big { min-height: 54px; font-size: 17px; }
a.btn { color: var(--ink); }
a.btn.primary { color: var(--brand-ink); }

.section-title { display: flex; align-items: center; gap: 8px; margin: 20px 4px 8px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.section-title .count { margin-left: auto; }
.count { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
ul.people { list-style: none; margin: 0; padding: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
ul.people li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
ul.people li:first-child { border-top: 0; }
ul.people li.empty { color: var(--muted); font-size: 14px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none;
  background: var(--brand-soft); color: var(--brand-2); font-size: 15px; letter-spacing: .02em; }
.avatar.sm { width: 30px; height: 30px; font-size: 12px; }
.avatar.group { border-radius: 14px; background: rgba(249,115,22,.16); color: var(--accent-ink); }
.avatar.group.mine { font-size: 19px; }
header.top .avatar { width: 34px; height: 34px; font-size: 13px; }
.who { flex: 1; min-width: 0; }
.who .name { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who .meta { font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.row { color: inherit; text-decoration: none; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.in { background: var(--in-soft); color: var(--in); }
.pill.out { background: var(--accent-soft); color: var(--accent-ink); }
.pill.none { background: var(--raised); color: var(--muted); }
.pill.role { background: var(--raised); color: var(--ink-2); font-weight: 600; }
.pill.lock { background: var(--lock-soft); color: var(--lock); }
.pill.warn { background: var(--warn-bg); color: var(--warn-ink); }
.pill.reason { background: var(--reason-bg); color: var(--reason-ink); font-weight: 600; }

/* conversation list */
.convo-list li { padding: 11px 14px; }
.convo-list li.unread .name { color: #fff; }
.convo-list li.unread .meta { color: var(--ink-2); font-weight: 600; }
.convo-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; min-width: 44px; }
.convo-side .time { font-size: 12px; color: var(--muted); }
.convo-list li.unread .convo-side .time { color: var(--brand-2); font-weight: 700; }
.unread-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.quick-actions { display: flex; gap: 8px; align-items: center; margin: 8px 0 2px; }
.quick-actions .ghost { margin-left: auto; color: var(--muted); font-weight: 600; }
.empty-state { text-align: left; }
.empty-state p { margin: 0 0 4px; }
.card.muted.empty-state, .card.muted.center { color: var(--muted); }
.waiting-banner { border: 1px solid rgba(20,184,166,.35); }
.waiting-banner .chev { margin-left: auto; font-size: 24px; color: var(--brand-2); }

/* tabs */
nav.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: rgba(15,23,42,.94);
  backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: var(--safe-b); }
nav.tabs .inner { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); height: var(--tab-h); }
nav.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none;
  color: var(--muted); font-size: 12px; font-weight: 600; position: relative; }
nav.tabs a .ico { font-size: 22px; line-height: 1; filter: grayscale(.6); opacity: .8; }
nav.tabs a.active { color: var(--brand-2); }
nav.tabs a.active .ico { filter: none; opacity: 1; }
nav.tabs a[data-tab="out"] { font-size: 11px; }
nav.tabs a[data-tab="out"] .ico { font-size: 19px; }
nav.tabs .dot { position: absolute; top: 10px; left: calc(50% + 10px); width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
nav.tabs .badge { position: absolute; top: 6px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--danger); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }

/* forms */
label.field { display: block; margin-bottom: 12px; }
label.field span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
input[type=text], input[type=date], select, textarea { width: 100%; border: 1px solid var(--line-strong); background: var(--field); color: var(--ink);
  border-radius: 12px; padding: 12px 14px; min-height: 48px; }
input::placeholder, textarea::placeholder { color: #64748b; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.segmented button { border: 0; background: transparent; padding: 10px; border-radius: 9px; font-weight: 600; color: var(--muted); }
.segmented button.active { background: var(--raised); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.segmented.three { grid-template-columns: 1fr 1fr 1fr; }
.segmented.three button { padding: 10px 4px; font-size: 14px; }

/* welcome / join */
main.welcome { padding-bottom: 32px; }
.hero { text-align: center; padding: 30px 8px 16px; }
.hero .hero-mark { width: 88px; height: 88px; filter: drop-shadow(0 8px 24px rgba(20,184,166,.18)); }
.hero h1 { margin: 10px 0 4px; font-size: 30px; letter-spacing: -.01em; }
.hero p { margin: 0; color: var(--muted); }
.hero .tagline { color: var(--ink); font-size: 18px; font-weight: 600; }
.hero .hero-sub { color: var(--brand-2); font-size: 15px; margin-top: 4px; }
div.maker { display: flex; justify-content: center; margin: 20px 0 6px; opacity: .75; }
div.maker img { width: 90px; height: auto; }

/* bottom sheet */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(2,6,23,.66); z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--card); width: 100%; max-width: 560px; border-radius: 22px 22px 0 0; padding: 10px 18px calc(18px + var(--safe-b));
  max-height: 92vh; overflow: auto; animation: up .18s ease-out; border-top: 1px solid var(--line-strong); }
.sheet .grabber { width: 40px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: 0 auto 12px; }
.sheet h2 { margin: 0 0 6px; font-size: 21px; }
@keyframes up { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }
.menu-list { display: grid; gap: 6px; margin: 10px 0 8px; }
.menu-item { display: flex; align-items: center; gap: 12px; text-align: left; border: 0; background: var(--raised); color: var(--ink); border-radius: 14px; padding: 12px 14px; }
.menu-item .mi-ico { font-size: 22px; width: 30px; text-align: center; }

.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; font-size: 14px; margin: 12px 0; }
.notice.info { background: var(--raised); color: var(--ink-2); }
.notice.warn { background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); }
.notice.warn .row-buttons { justify-content: flex-start; }
.toggle-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 6px 0 12px; }
.toggle-row input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }
.hidden { display: none !important; }
[hidden] { display: none !important; }

/* chat */
.thread { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 8px 0 12px; }
.bubble { max-width: 80%; padding: 9px 13px; border-radius: 18px; background: var(--bubble-them); color: var(--ink); word-wrap: break-word; white-space: pre-wrap; }
.bubble.me { align-self: flex-end; background: var(--brand); color: var(--brand-ink); border-bottom-right-radius: 6px; }
.bubble.them { align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble .time { display: block; font-size: 11px; opacity: .7; margin-top: 3px; text-align: right; }
.bubble .from { display: block; font-size: 12px; font-weight: 700; color: var(--brand-2); margin-bottom: 2px; }
.bubble.undecryptable { background: var(--danger-soft); color: var(--danger-ink); font-style: italic; }
.bubble.callout { background: var(--accent-soft); color: var(--accent-ink); border: 1px solid var(--warn-line); }
.bubble.callout .tag { display: block; font-size: 12px; font-weight: 700; margin-bottom: 3px; }
.composer { position: sticky; bottom: 0; background: var(--bg); display: flex; gap: 8px; align-items: flex-end; padding: 10px 0 calc(12px + var(--safe-b)); border-top: 1px solid var(--line); }
.composer textarea { min-height: 48px; height: 48px; max-height: 140px; border-radius: 24px; padding: 12px 16px; resize: none; }
.composer .btn { border-radius: 24px; min-width: 64px; }
.composer .btn.composer-more { min-width: 48px; width: 48px; padding: 0; font-size: 22px; color: var(--brand-2); background: var(--raised); }
.chat-privacy { align-self: center; text-align: center; font-size: 12px; color: var(--muted); margin: 6px 0 8px; }
.group-event { align-self: center; text-align: center; font-size: 12.5px; color: var(--muted); background: rgba(148,163,184,.08); border-radius: 999px; padding: 4px 12px; max-width: 90%; }
.shared-groups { align-self: center; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; }
.shared-groups .chip { text-decoration: none; color: inherit; min-height: 30px; padding: 5px 10px; }
.group-actions { margin: 6px 0 14px; }
.safety { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; letter-spacing: .06em; text-align: center;
  background: var(--raised); padding: 14px; border-radius: 12px; margin: 10px 0; }
.invite-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 30px; font-weight: 700; letter-spacing: .12em;
  text-align: center; padding: 10px; color: var(--brand-2); }
.invite-code.expired { color: var(--muted); text-decoration: line-through; }

#toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 18px + var(--safe-b)); transform: translateX(-50%); z-index: 30;
  background: #f1f5f9; color: #0b1120; padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 500; max-width: 90vw; box-shadow: 0 6px 20px rgba(0,0,0,.4); }

.center { text-align: center; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 18px 0 10px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.big-emoji { font-size: 44px; margin: 6px 0; }
.card h2.plain { text-transform: none; letter-spacing: 0; font-size: 21px; color: var(--ink); }
.row-buttons { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin-top: 8px; }
.card > .row-buttons .btn { flex: 1; }
.stack { display: grid; gap: 8px; margin-top: 14px; }
ul.people.flat { box-shadow: none; background: transparent; }
ul.people.flat li { padding: 10px 0; }
.list-label { font-size: 13px; font-weight: 700; color: var(--muted); margin: 14px 0 4px; }
ul.mini { list-style: none; margin: 0; padding: 0; }
ul.mini li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
ul.mini li:first-child { border-top: 0; }
ul.audit { list-style: none; margin: 0; padding: 0; font-size: 14px; }
ul.audit li { padding: 5px 0; }
#key-warning-slot { margin-top: 6px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.card.waiting { border: 1px solid rgba(20,184,166,.35); }

/* "I'm out" (secondary feature) */
.out-card { padding-top: 16px; }
.btn.out-btn { flex-direction: row; gap: 10px; font-size: 18px; min-height: 56px; background: var(--accent); color: #1c0a00; border-radius: 14px; }
.btn.out-btn .emoji { font-size: 22px; }
.segmented.day-seg button { display: flex; flex-direction: column; line-height: 1.2; }
.segmented.day-seg .sub { font-size: 12px; font-weight: 500; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip { border: 1px solid var(--line-strong); background: var(--field); color: var(--ink); border-radius: 999px; padding: 8px 12px; font-size: 14px; font-weight: 600; min-height: 38px; }
.chip.active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-2); }
.chip.small { padding: 6px 10px; min-height: 34px; font-size: 13px; }
.chip.small.emoji-only { padding: 6px 8px; font-size: 16px; }
.who .note, .notices .note { font-size: 14px; color: var(--ink-2); font-style: italic; margin-top: 2px; }
.bubble.outcard, .bubble.outcard.me { background: var(--accent-soft); color: var(--warn-ink); border: 1px solid var(--warn-line); }
.bubble.outcard .tag, .bubble.cancelcard .tag { display: block; font-weight: 700; margin-bottom: 4px; }
.bubble.outcard .pill { display: inline-block; margin-bottom: 4px; }
.bubble.outcard .note { display: block; font-size: 16px; }
.bubble.outcard .small-day { display: block; font-size: 11.5px; opacity: .75; margin-top: 4px; }
.bubble.outcard .from { color: var(--accent-ink); }
.bubble.outcard a { color: var(--brand-2); }
.bubble.cancelcard, .bubble.cancelcard.me { background: var(--in-soft); color: var(--in); border: 1px solid rgba(74,222,128,.4); }
ul.notices { list-style: none; margin: 0; padding: 0; }
ul.notices li { padding: 10px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
ul.notices li:first-child { border-top: 0; }
ul.notices li.cancelled { opacity: .6; }
ul.notices .btn { justify-self: start; margin-top: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pick-list { display: grid; gap: 2px; margin: 6px 0 12px; max-height: 40vh; overflow: auto; }
label.pick { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; cursor: pointer; }
label.pick:hover { background: rgba(148,163,184,.06); }
label.pick input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }
label.pick.disabled { opacity: .5; cursor: default; }
label.pick.plain { font-size: 14px; }
label.pick .who { display: flex; flex-direction: column; }
ul.confirm-list { list-style: none; padding: 0; margin: 6px 0 12px; display: grid; gap: 6px; }
ul.confirm-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
p.quote { font-style: italic; color: var(--muted); margin: 0 0 8px; }

/* My log */
.year-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 4px 0 10px; font-size: 20px; }
.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.totals .stat { display: flex; flex-direction: column; align-items: flex-start; }
.totals .stat b { font-size: 34px; line-height: 1.1; color: var(--brand-2); }
.totals .stat span { color: var(--muted); font-size: 14px; }
.totals > ul, .totals > .months, .totals > p { grid-column: 1 / -1; }
ul.reason-totals { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
ul.reason-totals li { background: var(--reason-bg); color: var(--reason-ink); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 600; }
ul.reason-totals li b { margin-left: 6px; }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; height: 64px; align-items: end; margin-top: 6px; }
.mbar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.mbar i { display: block; width: 100%; min-height: 2px; background: var(--brand); border-radius: 3px 3px 0 0; opacity: .85; }
.mbar span { font-size: 10px; color: var(--muted); margin-top: 2px; }
.log-list li.cancelled .name { text-decoration: line-through; color: var(--muted); }
input[type=date] { font: inherit; padding: 10px 12px; box-sizing: border-box; color-scheme: dark; }

/* Privacy, invite, backup */
button.linkish { background: none; border: 0; color: var(--muted); text-decoration: underline; font: inherit; font-size: inherit; padding: 0 2px; cursor: pointer; }
.privacy-hero { text-align: center; }
ul.privacy-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
ul.privacy-steps li { display: flex; gap: 12px; align-items: flex-start; }
ul.privacy-steps .p-ico { font-size: 24px; line-height: 1; margin-top: 2px; }
ul.privacy-steps p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.privacy-list { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.privacy-list li { margin: 4px 0; }
.qr-wrap { display: flex; justify-content: center; margin: 8px 0; }
.qr-wrap img { width: 220px; height: 220px; image-rendering: pixelated; border-radius: 12px; border: 6px solid #fff; background: #fff; }
.invite-link { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: var(--raised); border-radius: 10px; padding: 10px; word-break: break-all; text-align: center; margin: 8px 0 12px; }
.recovery-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; font-weight: 700; letter-spacing: 1px; text-align: center;
  background: var(--field); border: 2px dashed var(--brand); border-radius: 14px; padding: 16px 10px; margin: 12px 0; word-break: break-word; line-height: 1.5; }
.card.soft { background: linear-gradient(135deg, rgba(20,184,166,.16), rgba(20,184,166,.06)); }
.card.soft p { margin: 0 0 8px; }
a.row-link { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
a.row-link .big-ico { font-size: 26px; }
details.advanced summary { font-weight: 700; cursor: pointer; padding: 4px 0; }
details.advanced[open] summary { margin-bottom: 10px; }
.plain-section h2 { margin-top: 6px; }
#restore-code-input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: 1px; }

/* Reactions & cover asks */
.react-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.react-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.pill.react { background: rgba(250,204,21,.14); color: #fef08a; font-weight: 600; }
.pill.react .by { font-weight: 500; color: var(--muted); }
.cover-box { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--lock-soft); color: var(--ink); font-size: 14px; }
.cover-box.done { background: var(--in-soft); }
.cover-box.quiet { background: var(--raised); color: var(--muted); }
.cover-box .row-buttons { margin-top: 8px; justify-content: flex-start; }
.cover-box .shift { color: var(--muted); }
ul.cover-responses { list-style: none; margin: 8px 0 0; padding: 0; }
ul.cover-responses li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
ul.cover-responses li.no { color: var(--muted); }
.bubble .notice-slot:empty { display: none; }
.bubble.mini { font-size: 14px; padding: 8px 12px; }
.bubble.mini.quiet { opacity: .8; }
.cover-field { margin: 4px 0 10px; }
.cover-field .cover-shift { margin-top: 6px; }
label.switch { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
label.switch input { width: 22px; height: 22px; accent-color: var(--brand); }
ul.people li:has(.entry-extra) { flex-wrap: wrap; }
.entry-extra { flex-basis: 100%; padding-left: 54px; }
.entry-extra .react-bar { margin-top: 2px; }
/* sign-up honeypot: invisible to people (and screen readers), bots that fill every field trip it */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.pow-status { margin: 8px 0 0; }
#owner-teams li { flex-wrap: wrap; }

/* Privacy copy: deliberately quiet — one small muted line, details on the Privacy page */
.privacy-line { text-align: center; font-size: 13px; color: var(--muted); margin: 14px 0; line-height: 1.45; }
.privacy-line a { color: var(--muted); text-decoration: underline; }
a.privacy-link { color: inherit; text-decoration: none; }
a.privacy-link:hover, a.privacy-link:focus-visible { text-decoration: underline; }

/* Light mode: the app deliberately stays on its dark brand theme even when the phone is in light mode
   (color-scheme: dark keeps native controls, date pickers and scrollbars readable); nothing depends on the OS theme. */
ul.privacy-steps li > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
