:root {
  --bg: #f6f3ee;
  --bg-2: #efe9e0;
  --surface: #ffffff;
  --surface-2: #f8f5f0;
  --text: #15212b;
  --muted: #6c7884;
  --faint: #a3acb4;
  --line: rgba(21, 33, 43, 0.09);
  --accent: #0a8ea0;
  --accent-ink: #ffffff;
  --accent-soft: rgba(10, 142, 160, 0.12);
  --gold: #a67c2e;
  --gold-soft: rgba(166, 124, 46, 0.13);
  --danger: #d6453d;
  --ok: #1f9d5c;
  --hero-1: #0c3b45;
  --hero-2: #12232f;
  --hero-text: #f4efe6;
  --shadow: 0 1px 2px rgba(20, 30, 40, 0.05), 0 8px 24px rgba(20, 30, 40, 0.06);
  --radius: 20px;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', Roboto, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1016;
    --bg-2: #0f161e;
    --surface: #141c25;
    --surface-2: #19232e;
    --text: #edf1f4;
    --muted: #8b98a5;
    --faint: #56626e;
    --line: rgba(255, 255, 255, 0.075);
    --accent: #37c6d4;
    --accent-ink: #062228;
    --accent-soft: rgba(55, 198, 212, 0.14);
    --gold: #e3c27e;
    --gold-soft: rgba(227, 194, 126, 0.13);
    --danger: #ff6b62;
    --ok: #4ed38a;
    --hero-1: #0f4552;
    --hero-2: #111a24;
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 30px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1016; --bg-2: #0f161e; --surface: #141c25; --surface-2: #19232e; --text: #edf1f4; --muted: #8b98a5;
  --faint: #56626e; --line: rgba(255,255,255,.075); --accent: #37c6d4; --accent-ink: #062228; --accent-soft: rgba(55,198,212,.14);
  --gold: #e3c27e; --gold-soft: rgba(227,194,126,.13); --danger: #ff6b62; --ok: #4ed38a; --hero-1: #0f4552; --hero-2: #111a24;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 10px 30px rgba(0,0,0,.35); color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 16px/1.45 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: var(--accent); }
[hidden] { display: none !important; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }

#app { padding: calc(var(--safe-top) + 22px) 16px calc(var(--safe-bottom) + 96px); max-width: 640px; margin: 0 auto; }
#app.bare { padding-bottom: calc(var(--safe-bottom) + 24px); }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 2px 14px; }
.topbar .greet { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.topbar h1 { font: 600 30px/1.1 var(--serif); margin: 2px 0 0; letter-spacing: -.01em; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); color: var(--text); }
.icon-btn.spin svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: 28px; padding: 22px 20px 20px; color: var(--hero-text);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(55, 198, 212, .35), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(227, 194, 126, .18), transparent 60%),
    linear-gradient(160deg, var(--hero-1), var(--hero-2));
  box-shadow: 0 18px 40px rgba(6, 30, 38, .28);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-radial-gradient(circle at 110% -10%, transparent 0 22px, rgba(255,255,255,.035) 22px 23px);
}
.hero > * { position: relative; z-index: 1; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .75; display: flex; gap: 8px; align-items: center; }
.eyebrow .live { width: 7px; height: 7px; border-radius: 50%; background: #5ef0a0; box-shadow: 0 0 0 0 rgba(94,240,160,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(94,240,160,0); } 100% { box-shadow: 0 0 0 0 rgba(94,240,160,0); } }
.couple { font: italic 400 38px/1.05 var(--serif); margin: 10px 0 6px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.couple .amp { font-style: italic; color: #e9cf95; padding: 0 2px; }
.hero-meta { font-size: 14px; opacity: .8; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.hero-meta button { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; text-align: left; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.countdown div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 10px 4px 8px; text-align: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.countdown b { display: block; font: 600 26px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.countdown span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.cue { margin-top: 18px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; color: inherit; }
.cue .cue-label { font-size: 13px; opacity: .75; }
.cue .cue-title { font-weight: 600; font-size: 17px; }
.cue .cue-time { margin-left: auto; text-align: right; }
.cue .cue-time b { font: 600 28px/1 var(--sans); font-variant-numeric: tabular-nums; display: block; }
.cue .cue-time small { opacity: .7; font-size: 12px; }
.cue.leave { background: linear-gradient(135deg, rgba(55,198,212,.35), rgba(55,198,212,.12)); border-color: rgba(55,198,212,.5); }
.cue.soon { animation: breatheRing 6s ease-in-out infinite; }
@keyframes breatheRing { 0%, 100% { box-shadow: 0 0 0 0 rgba(55,198,212,0); } 50% { box-shadow: 0 0 0 5px rgba(55,198,212,.22), 0 0 28px rgba(55,198,212,.25); } }
.arm { margin-top: 10px; font-size: 13px; opacity: .85; display: inline-flex; gap: 6px; align-items: center; color: inherit; padding: 6px 10px; border-radius: 99px; background: rgba(255,255,255,.08); }

/* ---------- cards ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-top: 14px; }
.card h2, .section-title { font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.section-title { margin: 26px 4px 10px; display: flex; justify-content: space-between; align-items: center; }
.section-title button { color: var(--accent); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.upload-cta {
  display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; margin-top: 14px; padding: 16px;
  border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
  border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, transparent);
}
.upload-cta.urgent { border-style: solid; border-color: var(--accent); animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 6px var(--accent-soft), var(--shadow); } }
.upload-cta .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.upload-cta b { display: block; font-size: 17px; }
.upload-cta small { color: var(--muted); }
.status-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.status-row .tick { width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); display: grid; place-items: center; flex: none; }
.status-row .tick svg { width: 16px; height: 16px; stroke-width: 2.6; }
.status-row .grow { flex: 1; min-width: 0; }
.status-row button { color: var(--accent); font-weight: 600; font-size: 14px; }

.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.action { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 4px 12px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); font-size: 12px; font-weight: 600; color: var(--text); }
.action .ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.action.gold .ico { background: var(--gold-soft); color: var(--gold); }
.action:active, .upload-cta:active, .wed:active { transform: scale(.97); }
.action, .upload-cta, .wed, .btn { transition: transform .15s ease; }
.action[disabled] { opacity: .45; }

/* ---------- timeline ---------- */
.timeline { position: relative; margin-top: 4px; padding-left: 0; }
.tl-item { display: grid; grid-template-columns: 64px 20px 1fr; gap: 0 10px; position: relative; }
.tl-time { text-align: right; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 15px; color: var(--muted); }
.tl-rail { position: relative; display: flex; justify-content: center; }
.tl-rail::before { content: ''; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl-item:first-child .tl-rail::before { top: 20px; }
.tl-item:last-child .tl-rail::before { bottom: calc(100% - 20px); }
.tl-dot { position: relative; margin-top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--faint); z-index: 1; }
.tl-item.key .tl-dot { border-color: var(--gold); background: var(--gold); }
.tl-body { padding: 8px 0 12px; min-width: 0; }
.tl-card { background: var(--surface); border-radius: 16px; padding: 11px 14px; box-shadow: var(--shadow); }
.tl-card .t { font-weight: 600; display: flex; gap: 8px; align-items: baseline; }
.tl-card .t .emoji { font-size: 15px; }
.tl-card .loc { font-size: 13px; color: var(--muted); margin-top: 2px; display: block; text-align: left; }
.tl-card .loc u { text-decoration-color: var(--faint); text-underline-offset: 3px; }
.tl-card .note { font-size: 13px; color: var(--muted); margin-top: 6px; white-space: pre-wrap; }
.badge { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); margin-left: auto; flex: none; }
.badge.gold { background: var(--gold-soft); color: var(--gold); }
.tl-item.past { opacity: .45; }
.tl-item.next .tl-dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.tl-item.next .tl-card { box-shadow: 0 0 0 1.5px var(--accent), var(--shadow); }
.tl-item.now .tl-dot { border-color: var(--ok); background: var(--ok); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ok) 20%, transparent); }
.tl-item.now .tl-card { box-shadow: 0 0 0 1.5px var(--ok), var(--shadow); }
.tl-leg .tl-time { padding-top: 9px; color: var(--accent); }
.tl-leg .tl-dot { width: 8px; height: 8px; margin-top: 12px; border-width: 0; background: var(--accent); opacity: .6; }
.tl-leg.past { opacity: .4; }
.leg-chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; max-width: 100%; margin: 4px 0 6px; padding: 7px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; text-align: left; }
.leg-chip svg { width: 16px; height: 16px; }
.leg-chip small { font-weight: 500; opacity: .8; }
.tl-leg.next .leg-chip { background: var(--accent); color: var(--accent-ink); }

/* ---------- notes, people ---------- */
.notes { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.person { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.person:first-of-type { border-top: 0; padding-top: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-weight: 700; font-size: 14px; flex: none; }
.person .grow { flex: 1; min-width: 0; }
.person small { color: var(--muted); display: block; }
.person a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.person a svg { width: 18px; height: 18px; }

/* ---------- weddings list ---------- */
.wed { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 14px; margin-top: 10px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.wed.active { box-shadow: 0 0 0 1.5px var(--accent), var(--shadow); }
.datebox { width: 54px; flex: none; text-align: center; border-radius: 14px; padding: 7px 0; background: var(--surface-2); }
.datebox b { display: block; font: 600 22px/1 var(--serif); }
.datebox span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.wed .grow { flex: 1; min-width: 0; }
.wed .name { font: italic 500 19px/1.2 var(--serif); }
.wed .sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 99px; margin-top: 6px; }
.chip.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.chip.need { background: color-mix(in srgb, var(--danger) 13%, transparent); color: var(--danger); }
.wed .when { font-size: 12px; color: var(--muted); text-align: right; flex: none; }

.empty { text-align: center; padding: 40px 16px; }
.empty .art { font-size: 44px; }
.empty h2 { font: italic 500 24px/1.2 var(--serif); margin: 12px 0 6px; }
.empty p { color: var(--muted); margin: 0 auto 18px; max-width: 320px; }

/* ---------- buttons, forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border-radius: 16px; font-weight: 600; font-size: 16px; background: var(--surface-2); color: var(--text); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.danger { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); }
.btn[disabled] { opacity: .5; }
.btn:active { transform: scale(.98); }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }

.field { display: block; margin-top: 12px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin: 0 0 6px 2px; }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface-2); outline: none; font-size: 16px; appearance: none; -webkit-appearance: none;
}
textarea.input { min-height: 90px; resize: vertical; line-height: 1.4; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }

.list { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 16px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row .grow { flex: 1; min-width: 0; }
.row small { display: block; color: var(--muted); font-size: 13px; }
.row .val { color: var(--muted); font-size: 15px; }
.row input.mini, .row select.mini { width: 84px; min-height: 36px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); text-align: right; font-size: 15px; }
.row input[type=time].mini { width: 110px; }
.dot-color { width: 12px; height: 12px; border-radius: 50%; flex: none; }

.switch { position: relative; width: 51px; height: 31px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line); background: color-mix(in srgb, var(--muted) 30%, transparent); transition: background .2s; }
.switch span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(20px); }

.seg { display: inline-flex; padding: 2px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); flex: none; }
.seg button { padding: 5px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; }
.chips button { padding: 7px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.chips button.on { background: var(--gold-soft); color: var(--gold); border-color: transparent; }

.note-box { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--gold-soft); color: var(--text); font-size: 13px; line-height: 1.45; margin-top: 10px; }
.note-box b { color: var(--gold); }

/* ---------- sheets & pages ---------- */
.scrim { position: fixed; inset: 0; background: rgba(5, 10, 15, .5); z-index: 40; animation: fade .2s ease; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
@keyframes fade { from { opacity: 0; } }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-width: 640px; margin: 0 auto; max-height: 92dvh; overflow: auto;
  background: var(--bg); border-radius: 26px 26px 0 0; padding: 10px 16px calc(var(--safe-bottom) + 20px);
  animation: up .28s cubic-bezier(.2, .9, .3, 1); box-shadow: 0 -10px 40px rgba(0,0,0,.25);
}
@keyframes up { from { transform: translateY(100%); } }
.grabber { width: 38px; height: 5px; border-radius: 9px; background: var(--faint); opacity: .5; margin: 0 auto 12px; }
.sheet h2 { font: 600 24px/1.2 var(--serif); margin: 4px 0 2px; }
.sheet .lead { color: var(--muted); margin: 0 0 16px; font-size: 15px; }

.page { position: fixed; inset: 0; z-index: 45; background: var(--bg); overflow: auto; animation: slide .28s cubic-bezier(.2, .9, .3, 1); }
@keyframes slide { from { transform: translateX(30%); opacity: 0; } }
.page-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(var(--safe-top) + 8px) 12px 10px; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.page-head b { font-size: 17px; }
.page-head button { color: var(--accent); font-weight: 600; font-size: 16px; padding: 8px; min-width: 64px; }
.page-head button:last-child { text-align: right; }
.page-body { padding: 14px 16px calc(var(--safe-bottom) + 40px); max-width: 640px; margin: 0 auto; }

.upload-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rs-top { display: flex; gap: 8px; margin-bottom: 12px; }
.rs-top #printRs { flex: 1; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px 6px 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); text-align: center; font-weight: 600; cursor: pointer; }
.tile input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.tile .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.tile small { color: var(--muted); font-weight: 500; font-size: 11px; }
.picked { margin: 14px 0; display: grid; gap: 8px; }
.picked-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: var(--surface); }
.picked-item img, .picked-item .doc { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--muted); flex: none; }
.picked-item .grow { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picked-item button { color: var(--muted); padding: 6px; }

.reading { text-align: center; padding: 30px 10px 10px; }
.reading .orb { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; background: conic-gradient(from 0deg, var(--accent), var(--gold), var(--accent)); animation: spin 1.6s linear infinite; -webkit-mask: radial-gradient(circle, transparent 52%, #000 54%); mask: radial-gradient(circle, transparent 52%, #000 54%); }

/* review editor */
.ev-edit { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 12px; margin-top: 10px; }
.ev-top { display: flex; gap: 8px; align-items: center; }
.ev-top input[type=time] { width: 128px; flex: none; padding-right: 8px; }
.ev-top select { flex: 1; min-width: 0; }
.ev-edit .input { min-height: 42px; padding: 9px 12px; font-size: 16px; border-radius: 12px; margin-top: 8px; }
.ev-top .input { margin-top: 0; }
.ev-edit details { margin-top: 8px; }
.ev-edit summary { font-size: 13px; color: var(--accent); font-weight: 600; cursor: pointer; list-style: none; padding: 4px 2px; }
.ev-edit summary::-webkit-details-marker { display: none; }
.del { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--danger); background: color-mix(in srgb, var(--danger) 9%, transparent); }
.del svg { width: 18px; height: 18px; }
.person-edit { display: grid; grid-template-columns: 1fr 1fr 42px; gap: 8px; margin-top: 8px; }
.person-edit .input { min-height: 42px; padding: 9px 12px; border-radius: 12px; }
.person-edit .phone { grid-column: 1 / 3; }
.person-edit .del { grid-row: 1 / 3; grid-column: 3; height: auto; }
.person-edit + .person-edit { padding-top: 10px; border-top: 1px solid var(--line); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* full-screen countdown */
.focus {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--safe-top) + 24px) 24px calc(var(--safe-bottom) + 24px); color: #fff;
  background: radial-gradient(120% 70% at 50% 0%, #11606d, #071017 70%); animation: fade .25s ease;
}
.focus.leave { background: radial-gradient(120% 70% at 50% 0%, #0f7a86, #06141a 70%); }
/* a slow "breathing" glow behind the countdown: ~6 s per breath */
.focus > *:not(.breath) { position: relative; z-index: 1; }
.focus .close { position: absolute; z-index: 2; }
.focus .breath { position: absolute; top: 50%; left: 50%; width: min(120vw, 620px); aspect-ratio: 1; margin: calc(min(120vw, 620px) / -2) 0 0 calc(min(120vw, 620px) / -2); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(55,198,212,.5) 0%, rgba(55,198,212,.2) 34%, rgba(55,198,212,.06) 52%, transparent 66%);
  box-shadow: inset 0 0 0 1px rgba(160,235,240,.10); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.62); opacity: .45; } 50% { transform: scale(1.04); opacity: 1; } }
.focus .label { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.focus .what { font: italic 500 34px/1.15 var(--serif); margin: 10px 0 4px; max-width: 520px; }
.focus .where { opacity: .7; font-size: 15px; }
.focus .big { font: 600 min(26vw, 140px)/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.04em; margin: 26px 0 8px; }
.focus .at { opacity: .7; }
.focus .row-btns { display: flex; gap: 10px; margin-top: 34px; width: 100%; max-width: 420px; }
.focus .row-btns .btn { flex: 1; background: rgba(255,255,255,.12); color: #fff; }
.focus .row-btns .btn.primary { background: #fff; color: #08343b; }
.focus .close { position: absolute; top: calc(var(--safe-top) + 12px); right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }

/* onboarding */
.ob { min-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 40px); display: flex; flex-direction: column; padding-top: 6vh; width: 100%; max-width: 560px; margin: 0 auto; }
.ob .mark { width: 74px; height: 74px; border-radius: 20px; box-shadow: 0 10px 30px rgba(10, 142, 160, .35); }
.ob h1 { font: italic 400 40px/1.08 var(--serif); margin: 24px 0 10px; letter-spacing: -.01em; }
.ob p { color: var(--muted); font-size: 17px; margin: 0 0 12px; }
.ob .grow { flex: 1; }
.ob .foot { display: grid; gap: 8px; padding-top: 20px; }
.steps { display: flex; gap: 6px; margin-bottom: 4px; }
.steps i { height: 4px; flex: 1; border-radius: 4px; background: var(--line); }
.steps i.on { background: var(--accent); }
.feature { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; }
.feature .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.feature b { display: block; }
.feature span { color: var(--muted); font-size: 14px; }
.install-steps { counter-reset: s; list-style: none; padding: 0; margin: 18px 0; }
.install-steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.install-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: grid; place-items: center; flex: none; }
.install-steps svg { display: inline; vertical-align: -5px; color: var(--accent); }
.connected-pill { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: color-mix(in srgb, var(--ok) 12%, transparent); margin-top: 18px; }
.connected-pill .tick { width: 30px; height: 30px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; flex: none; }
.connected-pill .tick svg { width: 16px; height: 16px; stroke-width: 3; }

/* tab bar */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-around;
  padding: 8px 12px calc(var(--safe-bottom) + 6px); background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px); border-top: 1px solid var(--line);
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--faint); min-width: 72px; padding: 2px 0; }
.tab svg { width: 25px; height: 25px; }
.tab.on { color: var(--accent); }

.toast { position: fixed; left: 50%; bottom: calc(var(--safe-bottom) + 90px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 80; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 600; transition: all .25s ease; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.menu { display: grid; gap: 8px; }
.menu .btn { justify-content: flex-start; background: var(--surface); box-shadow: var(--shadow); }

@media (min-width: 700px) {
  .couple { font-size: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; }
}
.row .grow .seg { margin-top: 8px; }

/* ---------- wedding list: today cards ---------- */
.today-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; margin-top: 12px;
  padding: 18px 18px 16px; border-radius: 24px; color: var(--hero-text); overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(55, 198, 212, .35), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(227, 194, 126, .18), transparent 60%),
    linear-gradient(160deg, var(--hero-1), var(--hero-2));
  box-shadow: 0 0 0 2px rgba(55, 198, 212, .85), 0 0 26px rgba(55, 198, 212, .45), 0 14px 30px rgba(6, 30, 38, .25);
  animation: todayGlow 2.6s ease-in-out infinite; transition: transform .15s ease;
}
.today-card:active { transform: scale(.98); }
@keyframes todayGlow {
  50% { box-shadow: 0 0 0 2px rgba(55, 198, 212, 1), 0 0 44px rgba(55, 198, 212, .7), 0 14px 30px rgba(6, 30, 38, .25); }
}
.today-card .couple { font-size: 32px; margin: 8px 0 4px; display: block; }
.today-card .hero-meta { display: block; }
.today-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 14px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.today-next b { font: 600 20px/1 var(--sans); font-variant-numeric: tabular-nums; flex: none; }
.today-open { position: absolute; top: 18px; right: 18px; font-size: 13px; font-weight: 600; opacity: .75; }
.backbar { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 14px; }
.backbar button[data-act=back] { display: inline-flex; align-items: center; gap: 2px; color: var(--accent); font-weight: 600; font-size: 17px; margin-left: -6px; }
.backbar button[data-act=back] svg { width: 24px; height: 24px; stroke-width: 2.2; }

/* events switched off (another shooter's part of the day) */
.ev-toggle { margin-left: 6px; width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--faint); background: var(--surface-2); align-self: center; }
.ev-toggle svg { width: 17px; height: 17px; }
.tl-card .t .badge + .ev-toggle { margin-left: 6px; }
.tl-card .t > span:nth-child(2) { flex: 1; min-width: 0; }
.tl-item.off { opacity: .42; }
.tl-item.off .tl-body { padding-left: 22px; }
.tl-item.off .tl-card { padding: 7px 12px; box-shadow: none; background: transparent; border: 1.5px dashed var(--line); border-color: color-mix(in srgb, var(--muted) 35%, transparent); }
.tl-item.off .tl-card .t { font-weight: 500; font-size: 14px; text-decoration: line-through; text-decoration-color: var(--faint); }
.tl-item.off .tl-dot { width: 8px; height: 8px; margin-top: 15px; border-style: dashed; background: transparent; }
.tl-item.off .tl-time { font-weight: 500; font-size: 12px; padding-top: 12px; }
.tl-item.off .ev-toggle { color: var(--accent); background: var(--accent-soft); }
.off-badge { background: color-mix(in srgb, var(--muted) 18%, transparent) !important; color: var(--muted) !important; text-decoration: none; }
.tl-item, .tl-card { transition: opacity .25s ease, padding .25s ease; }
.tl-card { position: relative; padding-right: 46px; }
.ev-toggle { position: absolute; top: 8px; right: 8px; margin: 0; }
.tl-badges { margin-bottom: 4px; }
.tl-badges .badge { margin-left: 0; display: inline-block; }
.tl-item.off .ev-toggle { top: 50%; transform: translateY(-50%); }

/* address suggestions */
.places { margin-top: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); position: relative; z-index: 5; }
.places button { display: block; width: 100%; text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); }
.places button:first-child { border-top: 0; }
.places button b { display: block; font-weight: 600; font-size: 15px; }
.places button small { display: block; color: var(--muted); font-size: 13px; margin-top: 1px; }
.places button:hover, .places button:active { background: var(--accent-soft); }
.places::after { content: 'Powered by Google'; display: block; font-size: 11px; color: var(--faint); padding: 6px 14px 8px; text-align: right; }
.row .places { position: absolute; left: 16px; right: 16px; }

/* pop-ups: background frozen, close button, readable menu buttons */
body.locked { position: fixed; left: 0; right: 0; overflow: hidden; }
.sheet { overscroll-behavior: contain; }
.sheet-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); z-index: 2; }
.sheet-x svg { width: 18px; height: 18px; }
.sheet h2 { padding-right: 44px; }
.menu a.btn { text-decoration: none; }
.menu .btn.primary { background: var(--accent); color: var(--accent-ink); }

/* job type picker */
.type-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 6px 6px 6px 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.type-row span { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.type-row select.input { flex: 1; min-height: 40px; padding: 8px 34px 8px 12px; border-radius: 12px; }

/* people + social handles */
.person .social { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin-top: 3px; font-size: 13px; }
.person .social a { width: auto; height: auto; border-radius: 0; background: none; display: inline; color: var(--accent); font-weight: 600; text-decoration: none; }
.person .social.none { color: var(--faint); }
.person .social .found { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: var(--gold-soft); color: var(--gold); }
.people-actions { display: grid; gap: 8px; margin-top: 14px; }
.people-actions:empty { display: none; }
.person-edit .social { grid-column: 1 / 3; }
.person-edit .del { grid-row: 1 / 4; }

/* bell + notifications */
.head-btns { display: flex; gap: 10px; align-items: center; }
.bell-btn { position: relative; }
.badge-dot { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--danger); color: #fff; font: 700 11px/18px var(--sans); font-style: normal; text-align: center; }
.inbox { display: grid; gap: 8px; }
.inbox-item { display: grid; gap: 2px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.inbox-item .when { font-size: 12px; color: var(--muted); }
.inbox-item b { font-size: 15px; }
.inbox-item span:last-child { font-size: 13px; color: var(--muted); }
.inbox-item.new { box-shadow: 0 0 0 1.5px var(--accent), var(--shadow); }

/* roles chips: same look as key moments */
[data-roles] button.on { background: var(--accent-soft); color: var(--accent); }

/* day plan wheel */
.tl-window.wheel {
  max-height: min(62vh, 520px); overflow-y: auto; overscroll-behavior: contain; padding: 90px 0;
  scroll-snap-type: y proximity; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.tl-window.wheel .tl-item { scroll-snap-align: center; opacity: calc(var(--base, 1) * var(--fade, 1)); transform: scale(var(--scale, 1)); transform-origin: 70% 50%; transition: opacity .12s linear, transform .12s linear; }
.tl-window.wheel .tl-item.past { --base: .45; }
.tl-window.wheel .tl-item.off { --base: .42; }
.tl-window.wheel .tl-leg.past { --base: .4; }

/* ---------- Oct 12 update ---------- */
.tab { min-width: 64px; }
.empty .art { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; background: var(--accent-soft); color: var(--accent); }
.empty .art svg { width: 30px; height: 30px; }
.loc svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; color: var(--accent); }
.past-list .wed { opacity: .62; }

/* start - end times */
.tl-time span { display: block; }
.tl-time .tl-end { font-size: 11px; font-weight: 500; color: var(--faint); margin-top: 1px; }
.tl-prep .tl-card { border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent); }

/* key-moment star (next to the eye) */
.tl-card { padding-right: 82px; }
.ev-star { position: absolute; top: 8px; right: 44px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--faint); background: var(--surface-2); }
.ev-star svg { width: 16px; height: 16px; }
.ev-star.on { color: var(--gold); background: var(--gold-soft); }
.ev-star.on svg { fill: currentColor; }
.tl-item.off .tl-card { padding-right: 46px; }
.key-check { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.key-check input { width: 18px; height: 18px; accent-color: var(--gold); }

/* "+" between events in the run sheet editor */
.ins { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 0; color: var(--accent); }
.ins span { flex: 1; height: 1px; background: color-mix(in srgb, var(--accent) 30%, transparent); }
.ins b { height: 28px; padding: 0 12px; border-radius: 999px; display: grid; place-items: center; background: var(--accent-soft); font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; }
#evs .ev-edit { margin-top: 0; }

/* people */
.people-head { display: flex; align-items: center; gap: 8px; }
.people-head button { margin-left: auto; color: var(--accent); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; }

/* notes */
.notes-card h3 { font-size: 13px; color: var(--muted); margin: 14px 0 6px; font-weight: 600; }
.points { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.points li { line-height: 1.45; }
.orig { margin-top: 14px; }
.orig summary { color: var(--accent); font-size: 14px; font-weight: 600; cursor: pointer; }

/* print / save as PDF */
#print-root { display: none; }
@media print {
  body > *:not(#print-root) { display: none !important; }
  body.locked { position: static; }
  #print-root { display: block; }
  html, body { background: #fff !important; }
  .pr { color: #111; font: 11pt/1.4 -apple-system, Helvetica, Arial, sans-serif; padding: 0; }
  .pr-head { border-bottom: 2px solid #0a8ea0; padding-bottom: 10px; margin-bottom: 14px; }
  .pr-kind { font-size: 9pt; letter-spacing: .12em; text-transform: uppercase; color: #0a8ea0; font-weight: 700; }
  .pr h1 { font: italic 400 24pt/1.1 Georgia, serif; margin: 4px 0; }
  .pr-meta { color: #555; }
  .pr h2 { font-size: 12pt; margin: 18px 0 6px; color: #0a8ea0; }
  .pr table { width: 100%; border-collapse: collapse; }
  .pr th { text-align: left; font-size: 9pt; text-transform: uppercase; letter-spacing: .06em; color: #666; border-bottom: 1px solid #ccc; padding: 4px 6px; }
  .pr td { vertical-align: top; border-bottom: 1px solid #eee; padding: 6px; }
  .pr td span { color: #666; font-size: 9.5pt; }
  .pr td.tm { white-space: nowrap; font-weight: 600; }
  .pr tr { page-break-inside: avoid; }
  .pr-foot { margin-top: 20px; font-size: 8pt; color: #999; }
}

/* Home: "Past jobs" button under the date */
.past-chip { display: inline-flex; align-items: center; gap: 8px; margin: -2px 0 4px; padding: 8px 10px 8px 12px; border-radius: 99px; background: var(--surface); box-shadow: var(--shadow); color: var(--muted); font-size: 14px; font-weight: 600; transition: transform .12s ease; }
.past-chip:active { transform: scale(.96); }
.past-chip svg { width: 17px; height: 17px; }
.past-chip svg:last-child { width: 15px; height: 15px; opacity: .6; margin-left: -2px; }
.past-chip b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--surface-2); color: var(--text); font-size: 12px; line-height: 20px; text-align: center; }
.sheet .past-list .wed { opacity: .85; margin-top: 8px; }

/* segmented switches: instant, with a press */
.seg button { transition: background .15s ease, color .15s ease, transform .1s ease; }
.seg button:active { transform: scale(.92); }

/* slim bar behind the phone's status area (time, battery) so scrolling content tucks under it */
.statusbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 35; height: var(--safe-top);
  background: color-mix(in srgb, var(--bg-2) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line); pointer-events: none;
}

/* notifications: delete + clear all */
.inbox-row { position: relative; }
.inbox-row .inbox-item { padding-right: 46px; }
.inbox-del { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.inbox-del svg { width: 15px; height: 15px; }
.inbox-clear { display: block; margin: 6px 0 10px auto; color: var(--accent); font-size: 14px; font-weight: 600; }

/* Runsheet's own banner when a notification arrives while the app is open */
#inapp-banner {
  position: fixed; left: 12px; right: 12px; top: calc(var(--safe-top) + 8px); z-index: 90; max-width: 560px; margin: 0 auto;
  display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--text);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transform: translateY(-140%); transition: transform .3s cubic-bezier(.2,.9,.3,1);
}
#inapp-banner.show { transform: none; }
#inapp-banner .ib-icon { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
#inapp-banner .ib-text { display: grid; gap: 1px; min-width: 0; }
#inapp-banner .ib-text b { font-size: 15px; }
#inapp-banner .ib-text span { font-size: 13px; color: var(--muted); }

/* bottom bar: always pinned to the bottom edge, on its own layer so it doesn't drift */
.tabbar { top: auto; bottom: 0; transform: translateZ(0); -webkit-transform: translateZ(0); will-change: transform; }
html { height: 100%; }

/* =====================================================================
   DORIS THEME: warm light background, white cards, forest green + sun yellow
   ===================================================================== */
:root, :root[data-theme="light"], :root[data-theme="dark"] {
  --bg: #f6f4ef;
  --bg-2: #efece4;
  --surface: #ffffff;
  --surface-2: #f4f2ec;
  --text: #1c2a24;
  --muted: #6c746e;
  --faint: #a4aaa3;
  --line: #e7e3da;
  --accent: #1d3a31;          /* forest green */
  --accent-ink: #ffffff;
  --accent-soft: #e6efe9;
  --gold: #b88a12;            /* sun yellow, darkened for text on light */
  --sun: #f2c14e;
  --gold-soft: #fbf1d3;
  --ok: #2f8a5b;
  --danger: #c4483e;
  --hero-1: #1d3a31;
  --hero-2: #1d3a31;
  --hero-text: #ffffff;
  --shadow: 0 1px 2px rgba(28, 42, 36, 0.04);
  --radius: 18px;
  --serif: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color-scheme: light;
}
body { font-family: var(--sans); letter-spacing: -0.005em; background: var(--bg); }
.card, .list, .wed, .status-row, .action, .tl-card, .upload-cta, .type-row, .ev-edit, .tile, .inbox-item, .picked-item, .menu .btn {
  box-shadow: none !important; border: 1px solid var(--line); background: var(--surface);
}
.card h2, .section-title { font: 700 13px/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--text); }
.section-title { font-size: 17px; margin: 28px 2px 12px; }
.card h2 { font-size: 15px; margin-bottom: 12px; }
.small, .muted { color: var(--muted); }
.icon-btn { background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
.btn { border-radius: 12px; font-weight: 600; }
.btn.primary { background: var(--accent); color: #fff; }
.btn:not(.primary):not(.ghost):not(.danger) { background: var(--surface); border: 1px solid var(--line); }
a { color: var(--accent); }

/* brand bar */
.brandbar { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 6px; }
.brand { display: flex; align-items: center; gap: 8px; font: 800 24px/1 var(--sans); color: var(--accent); letter-spacing: -0.02em; }
.brand .logo-mark { width: 32px; height: 38px; }
.brand i { color: var(--sun); font-style: normal; }
.ob-brand .logo-mark { width: 95px; height: 115px; }

/* Doris headline */
.doris-head { margin: 14px 2px 18px; }
.doris-head .greet { font-size: 14px; color: var(--muted); font-weight: 500; }
.doris-head h1 { font: 800 30px/1.12 var(--sans); letter-spacing: -0.025em; margin: 6px 0 6px; color: var(--text); }
.doris-head p { margin: 0; color: var(--muted); font-size: 15px; }
.job-head { margin-top: 2px; }

/* Up next: the forest-green card */
.upnext {
  display: grid; gap: 16px; padding: 20px; border-radius: 22px; background: var(--accent); color: #fff; cursor: pointer;
  box-shadow: 0 10px 30px rgba(29, 58, 49, 0.18);
}
.upnext h2 { font: 700 24px/1.15 var(--sans); letter-spacing: -0.02em; margin: 6px 0 8px; }
.un-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.un-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.un-place, .un-meta span, .un-when { display: flex; gap: 6px; align-items: center; font-size: 14px; color: rgba(255,255,255,.85); }
.un-place svg, .un-meta svg, .un-when svg { width: 16px; height: 16px; flex: none; }
.un-meta { display: flex; gap: 18px; margin-top: 10px; }
.un-meta span + span { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.2); }
.un-side { border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; }
.un-label { font-size: 13px; color: rgba(255,255,255,.7); grid-column: 1; }
.un-time { font: 800 36px/1 var(--sans); letter-spacing: -0.03em; grid-column: 1; }
.un-time small { font-size: 15px; font-weight: 700; margin-left: 4px; }
.un-when { color: var(--sun); grid-column: 1; margin-top: 4px; }
.un-when b { font-weight: 700; }
.un-go { grid-column: 2; grid-row: 1 / 4; display: inline-flex; gap: 8px; align-items: center; padding: 12px 16px; border-radius: 12px; background: #fff; color: var(--accent); font-weight: 700; font-size: 14px; }
.un-go svg { width: 16px; height: 16px; }
.upnext .countdown div { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.upnext.soon { animation: breatheGreen 6s ease-in-out infinite; }
@keyframes breatheGreen { 50% { box-shadow: 0 0 0 6px rgba(242,193,78,.25), 0 10px 30px rgba(29,58,49,.18); } }
.arm { background: var(--surface); color: var(--accent); border: 1px solid var(--line); margin-top: 10px; }


/* quick actions + type + run sheet status: quieter */
.actions { margin-top: 14px; }
.action { padding: 12px 4px 10px; font-weight: 600; }
.action .ico { background: var(--surface-2); color: var(--accent); width: 38px; height: 38px; }
.action.gold .ico { background: var(--gold-soft); color: var(--gold); }
.type-row span { color: var(--muted); letter-spacing: .04em; }
.status-row .tick { background: var(--accent-soft); color: var(--accent); }

/* run sheet (timeline) */
.tl-hint { margin: -6px 2px 12px; }
.tl-time { color: var(--text); font-weight: 700; }
.tl-time .tl-end { color: var(--muted); }
.tl-rail::before { background: var(--line); }
.tl-dot { border-color: #c9cec8; background: var(--surface); }
.tl-item.key .tl-dot { border-color: var(--sun); background: var(--sun); }
.tl-item.next .tl-dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.tl-item.next .tl-card { box-shadow: 0 0 0 1.5px var(--accent) !important; }
.tl-item.now .tl-dot { border-color: var(--ok); background: var(--ok); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ok) 18%, transparent); }
.tl-item.now .tl-card { box-shadow: 0 0 0 1.5px var(--ok) !important; }
.tl-card .t { font-size: 16px; font-weight: 700; }
.tl-card .loc { color: var(--muted); }
.loc svg { color: var(--muted); }
.badge { border-radius: 8px; letter-spacing: .02em; text-transform: none; font-size: 11px; padding: 3px 8px; }
.badge.b-next { background: var(--gold-soft); color: var(--gold); }
.badge.b-now { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.badge.b-done { background: var(--surface-2); color: var(--muted); }
.badge.gold { background: var(--gold-soft); color: var(--gold); }
.leg-chip { display: flex; width: 100%; justify-content: flex-start; background: none; color: var(--muted); font-weight: 500; padding: 6px 2px; gap: 6px; }
.leg-chip span { font-size: 12px; }
.leg-chip em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
.tl-leg.next .leg-chip { background: none; color: var(--accent); }
.tl-leg.next .leg-chip em { color: var(--accent); font-weight: 700; }
.tl-leg .tl-time { color: var(--faint); font-weight: 500; }
.tl-leg .tl-dot { background: var(--faint); }
.ev-star.on { color: var(--gold); background: var(--gold-soft); }


/* home */
.today-card { background: var(--accent); box-shadow: 0 10px 30px rgba(29,58,49,.18); animation: none; color: #fff; }
.today-card .eyebrow { color: rgba(255,255,255,.75); }
.today-card .eyebrow .live { background: var(--sun); box-shadow: none; animation: none; }
.today-card .couple, .wed .name, .couple { font-family: var(--sans); font-style: normal; font-weight: 800; letter-spacing: -0.02em; }
.couple .amp { color: var(--sun); font-style: normal; }
.today-next { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.wed .name { font-size: 17px; }
.datebox { background: var(--surface-2); }
.datebox b { font-family: var(--sans); font-weight: 800; }
.past-chip { box-shadow: none; border: 1px solid var(--line); }
.chip.need { background: var(--gold-soft); color: var(--gold); }
.chip.ok { background: var(--accent-soft); color: var(--accent); }

/* notes, people */
.points li::marker { color: var(--sun); }
.avatar { background: var(--accent-soft); color: var(--accent); }
.person a { background: var(--surface-2); color: var(--accent); }

/* bars */
.tabbar { background: color-mix(in srgb, #ffffff 90%, transparent); border-top: 1px solid var(--line); }
.tab { color: var(--faint); }
.tab.on { color: var(--accent); }
.statusbar { background: color-mix(in srgb, var(--bg) 92%, transparent); }
.page-head { background: color-mix(in srgb, var(--bg) 90%, transparent); }
.toast { background: var(--accent); color: #fff; }
.switch input:checked + span { background: var(--accent); }
.seg button.on { color: var(--accent); }
.note-box { background: var(--gold-soft); }
.focus { background: radial-gradient(120% 70% at 50% 0%, #2a5246, #13271f 70%); }
.focus .breath { background: radial-gradient(circle, rgba(242,193,78,.35) 0%, rgba(242,193,78,.12) 34%, rgba(242,193,78,.04) 52%, transparent 66%); }
.focus .row-btns .btn.primary { background: #fff; color: var(--accent); }

/* bigger screens: a left sidebar like the concept, run sheet and notes side by side */
@media (min-width: 1000px) {
  #app { max-width: 1180px; margin-left: max(236px, calc(236px + (100vw - 236px - 1180px) / 2)); margin-right: 0; padding-left: 40px; padding-right: 40px; padding-bottom: 40px; }
  #app.bare { max-width: 640px; margin-left: auto; margin-right: auto; } /* setup screens have no sidebar: centre them */
  .tabbar { top: 0; bottom: 0; right: auto; width: 236px; flex-direction: column; justify-content: flex-start; gap: 4px; padding: calc(var(--safe-top) + 92px) 16px 24px; border-top: 0; border-right: 1px solid var(--line); background: #fbfaf7; }
  .tabbar::before { content: ''; position: absolute; top: calc(var(--safe-top) + 28px); left: 22px; width: 150px; height: 40px; background: url('icons/doris-wordmark.svg') left center / contain no-repeat; }
  .tab { flex-direction: row; gap: 12px; min-width: 0; width: 100%; padding: 12px 14px; border-radius: 12px; font-size: 15px; color: var(--muted); }
  .tab.on { background: var(--accent-soft); color: var(--accent); }
  .tab svg { width: 20px; height: 20px; }
  .brandbar .brand { visibility: hidden; }
  .upnext { grid-template-columns: 1fr 300px; align-items: center; padding: 26px 28px; }
  .un-side { border-top: 0; border-left: 1px solid rgba(255,255,255,.14); padding: 0 0 0 26px; }
  .day-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
  .day-side { position: sticky; top: 20px; }
  .tl-window.wheel { max-height: min(78vh, 860px); padding: 120px 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%); }
  .doris-head h1 { font-size: 36px; }
}
.logo-mark { stroke-linecap: butt; }
.ob h1, .empty h2, .focus .what, .sheet h2, .reading h2 { font-family: var(--sans); font-style: normal; font-weight: 800; letter-spacing: -0.025em; }
.ob h1 { font-size: 34px; line-height: 1.1; }
.focus .what { font-size: 30px; }
.ob-brand { margin-top: 4px; }
/* event tiles: buttons sit on the first row only, titles get the full width */
.tl-card { padding-right: 14px; }
.tl-card > :first-child { padding-right: 40px; min-height: 30px; }
.tl-item.off .tl-card > :first-child { padding-right: 40px; min-height: 0; }

/* notes: Edit button in the card heading */
.notes-card h2 { display: flex; align-items: baseline; gap: 6px; }
.notes-edit { margin-left: auto; color: var(--accent); font-size: 14px; font-weight: 700; padding: 2px 4px; }
#notesText { min-height: 200px; line-height: 1.5; }

/* run sheet editor: a new event pops in so you can see where it went */
@keyframes ev-pop { 0% { opacity: 0; transform: scale(.94) translateY(-6px); } 60% { opacity: 1; transform: scale(1.015); } 100% { transform: none; } }
@keyframes ev-glow { 0%, 40% { box-shadow: 0 0 0 2px var(--sun), 0 8px 24px rgba(242,193,78,.35); } 100% { box-shadow: 0 0 0 0 transparent; } }
.ev-edit.just-added { animation: ev-pop .35s ease-out, ev-glow 2.4s ease-out; }
.ins { cursor: pointer; }
.ins b { transition: transform .15s ease; }
.ins:hover b, .ins:active b { transform: scale(1.15); }

/* sharing a job */
.share-link { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; word-break: break-all; color: var(--muted); margin-bottom: 10px; user-select: all; -webkit-user-select: all; }
.share-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.share-bar > span { font-size: 12px; color: var(--muted); }
html.shared #app { padding-bottom: calc(var(--safe-bottom) + 32px); }
@media (min-width: 1000px) {
  html.shared #app { margin-left: auto; margin-right: auto; }
}
.notes-fold { display: inline-flex; align-items: center; gap: 6px; font: inherit; color: inherit; padding: 0; }
.notes-fold svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .15s ease; color: var(--muted); }
.notes-card.folded .notes-fold svg { transform: none; }
.notes-card.folded h2 { margin-bottom: 0; }

/* jobs shared with you */
.chip.shared { background: #e6eef6; color: #2d5577; }
.shared-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.shared-note button { color: var(--accent); font-weight: 700; font-size: 13px; margin-left: auto; }
.save-mine { padding: 9px 14px; font-size: 14px; }
.save-mine svg { width: 17px; height: 17px; }
.btn.clash { flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; }
.btn.clash small { font-size: 12px; color: var(--muted); font-weight: 500; }
.btn.primary.clash small { color: rgba(255,255,255,.75); }

/* a shared version merged into one of your jobs */
.version-switch { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ver-seg { flex: 1; min-width: 240px; max-width: 420px; }
.ver-seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.ver-seg svg { width: 15px; height: 15px; }
.undo-merge { color: var(--accent); font-size: 13px; font-weight: 700; }
@keyframes share-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(242,193,78,.0), 0 0 6px rgba(242,193,78,.35); } 50% { box-shadow: 0 0 0 3px rgba(242,193,78,.25), 0 0 14px rgba(242,193,78,.7); } }
.shared-inside { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 3px 9px 3px 7px; border-radius: 99px; font-size: 11px; font-weight: 700; background: var(--sun); color: #3b2a00; animation: share-glow 2.4s ease-in-out infinite; vertical-align: middle; }
.shared-inside svg { width: 12px; height: 12px; stroke-width: 2.4; }
.today-card .shared-inside { margin: 0 0 8px; align-self: flex-start; }
@media (prefers-reduced-motion: reduce) { .shared-inside { animation: none; } }

.del-shared { margin-top: 24px; }
/* badges on a job tile: one tidy row */
.wed .chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; padding: 0; }
.wed .chips:empty { display: none; }
.wed .chips > span { margin: 0; vertical-align: baseline; }
.merge-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; background: var(--accent); color: #fff; cursor: pointer; }
.merge-chip svg { width: 12px; height: 12px; stroke-width: 2.4; }
.today-card .merge-chip { align-self: flex-start; margin: 0 0 8px; background: var(--sun); color: #3b2a00; }
/* job tiles are clickable cards (they hold their own buttons, like Merge) */
.wed[role="button"], .today-card[role="button"] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.today-card[role="button"] { display: flex; flex-direction: column; align-items: flex-start; }
.merge-chip { border: 0; font-family: inherit; }

/* job colour: one row in Settings, the full list in a sheet */
.swatch { display: inline-block; width: 18px; height: 18px; border-radius: 6px; flex: none; vertical-align: -3px; }
.color-row { width: 100%; text-align: left; gap: 12px; }
.color-row svg { width: 18px; height: 18px; color: var(--muted); }
.color-list { display: grid; gap: 2px; }
.color-list button { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 12px; font-size: 16px; font-weight: 600; text-align: left; }
.color-list button.on { background: var(--accent-soft); color: var(--accent); }
.color-list .tick { width: 18px; display: inline-grid; place-items: center; }
.color-list .tick svg { width: 18px; height: 18px; }
.note-box.warn { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--text); }
.btn .swatch { width: 16px; height: 16px; border-radius: 5px; box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.icon-btn.is-off { opacity: .4; }
.wed .merge-row { display: flex; margin-top: 8px; }
.wed .merge-chip, .today-card .merge-chip { background: var(--accent); color: #fff; border: 0; padding: 5px 12px 5px 9px; font-size: 12px; }
.today-card .merge-chip { background: var(--sun); color: #3b2a00; }

/* Waiting for Google: a title and an indeterminate loading bar */
.loading-block { text-align: center; padding: 40px 16px; opacity: 0; animation: loadshow .2s ease 1s forwards; } /* only appears if the wait is longer than a second */
@keyframes loadshow { to { opacity: 1; } }
.loading-block h2 { margin: 0 0 16px; }
.loadbar { height: 6px; max-width: 240px; margin: 0 auto 12px; border-radius: 3px; background: color-mix(in srgb, var(--accent) 15%, transparent); overflow: hidden; }
.loadbar i { display: block; width: 40%; height: 100%; border-radius: 3px; background: var(--accent); animation: loadbar 1.2s ease-in-out infinite; }
@keyframes loadbar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .loadbar i { animation-duration: 3s; } }

/* Run sheet header: Expand and Simplify side by side */
.tl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tl-btns { display: inline-flex; gap: 8px; }
.tl-btns button { padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); }

/* Simplify: the whole day on one page */
.simple { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--bg); color: var(--text); padding: calc(var(--safe-top) + 16px) 20px calc(var(--safe-bottom) + 16px); animation: fade .2s ease; }
.simple header { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 640px; width: 100%; margin: 0 auto 8px; }
.simple header b { display: block; font-size: 20px; font-weight: 800; }
.simple header span { font-size: 14px; color: var(--muted); }
.simple header .btn { min-height: 40px; padding: 0 16px; }
.simple-list { list-style: none; margin: 0 auto; padding: 8px 0 24px; max-width: 640px; width: 100%; overflow-y: auto; flex: 1; }
.simple-list li { display: grid; grid-template-columns: 90px 22px 1fr; align-items: start; gap: 0 10px; position: relative; padding: 9px 0; }
.simple-list li::before { content: ''; position: absolute; left: 110px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.simple-list li:first-child::before { top: 18px; }
.simple-list li:last-child::before { bottom: calc(100% - 18px); }
.s-time { text-align: right; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.s-dot { justify-self: center; margin-top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--faint); z-index: 1; }
.s-what { font-size: 17px; font-weight: 600; line-height: 1.3; }
.s-what small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.simple-list li.past { opacity: .45; }
.simple-list li.past .s-dot { background: var(--faint); }
.simple-list li.now { margin: 6px 0; padding: 14px 0; border-radius: 16px; background: var(--accent-soft); }
.simple-list li.now .s-time { font-size: 20px; color: var(--accent); }
.simple-list li.now .s-dot { width: 18px; height: 18px; margin-top: 5px; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.simple-list li.now .s-what { font-size: 24px; font-weight: 800; }

/* Home: round + button to add an event yourself */
.fab { position: fixed; right: 20px; bottom: calc(var(--safe-bottom) + 92px); z-index: 30; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.fab svg { width: 26px; height: 26px; }
@media (min-width: 1000px) { .fab { bottom: 32px; right: 32px; } }

/* Golden hour on the run sheet */
.tl-golden .tl-dot { border-color: var(--gold); background: var(--gold); }
.golden-card { background: var(--gold-soft, rgba(242,193,78,.16)); }
.golden-card .t span { display: inline-flex; align-items: center; gap: 6px; color: #8a6a12; }
.golden-card .t svg { width: 18px; height: 18px; }
.simple-list li.golden .s-dot { border-color: var(--gold); background: var(--gold); }
.simple-list li.golden .s-what { color: #8a6a12; }
.simple .lock-btn { max-width: 640px; margin: 8px auto 0; width: 100%; }
.lock-preview { display: block; width: 46%; margin: 4px auto 14px; border-radius: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* Shot checklist on an event */
.shots { margin-top: 8px; font-size: 14px; }
.shots summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); list-style: none; }
.shots summary::-webkit-details-marker { display: none; }
.shots summary svg { width: 15px; height: 15px; }
.shot { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.shot input { width: 20px; height: 20px; accent-color: var(--accent); }
.shot input:checked + span { color: var(--muted); text-decoration: line-through; }

/* Settings: get-ready time per type */
.prep-list .row select[disabled] { opacity: .45; }
.prep-list .row .switch { margin-left: 8px; }
.link-x { display: inline-grid; place-items: center; width: 22px; height: 22px; vertical-align: -5px; color: var(--muted); }
.link-x svg { width: 14px; height: 14px; }
.add-type { width: 100%; gap: 8px; color: var(--accent); font-weight: 600; justify-content: flex-start; }
.add-type svg { width: 18px; height: 18px; }

.prep-x { margin-left: 6px; width: 32px; height: 32px; }
.prep-x svg { width: 16px; height: 16px; }

/* Simplify: hidden (switched-off) events stay in the list, greyed out */
.simple-list li.hidden { opacity: .38; }
.simple-list li.hidden .s-what { font-weight: 500; }
.simple-list li.hidden .s-dot { border-style: dashed; }

/* Event tiles: alarm time chip + bell next to the eye (top right of each tile) */
.ev-tools { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; align-items: center; }
.ev-tools .ev-toggle { position: static; margin: 0; transform: none; }
.tl-item.off .ev-tools { top: 50%; transform: translateY(-50%); }
.tl-card .t { padding-right: 96px; }
.tl-item.off .tl-card .t { padding-right: 0; }
.ev-bell { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--faint); background: var(--surface-2); }
.ev-bell.on { color: var(--accent); background: var(--accent-soft); }
.ev-bell svg { width: 17px; height: 17px; }
.ev-lead { height: 30px; padding: 0 9px; border-radius: 15px; font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--accent); background: var(--accent-soft); }
.ev-lead.muted { color: var(--faint); background: var(--surface-2); text-decoration: line-through; }

/* Settings: "More alert settings" fold */
details.fold { border-top: 1px solid var(--line); }
details.fold > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-weight: 600; color: var(--accent); cursor: pointer; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary svg { width: 18px; height: 18px; transition: transform .2s ease; }
details.fold[open] > summary svg { transform: rotate(90deg); }

/* Sign-in buttons */
.apple-btn { background: #000 !important; color: #fff !important; border-color: #000 !important; }
.btn svg + * { margin-left: 0; }
.foot .btn.block + .btn.block, .menu .btn + .btn { margin-top: 8px; }
.code-input { font-size: 28px; letter-spacing: 8px; text-align: center; font-weight: 700; }
