/* Hush — calm, dusky, warm. */

:root {
  --bg: #0e1120;
  --bg-2: #161a30;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --text: #ece6da;
  --muted: #9b9cb1;
  --accent: #f1c58c;
  --accent-2: #e59f7a;
  --accent-ink: #1d160c;
  --sage: #9cc7b4;
  --danger: #e88a8a;
  --orb-a: #3a3f92;
  --orb-b: #7b4b80;
  --orb-c: #1d5b64;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --radius: 20px;
  --tabbar: 68px;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: #f3eee5;
    --bg-2: #ece4d6;
    --surface: rgba(255, 255, 255, 0.55);
    --surface-2: rgba(255, 255, 255, 0.85);
    --border: rgba(60, 40, 20, 0.1);
    --text: #2a2633;
    --muted: #6f6a78;
    --accent: #c47a32;
    --accent-2: #b8604a;
    --accent-ink: #fffaf2;
    --sage: #4f8a73;
    --danger: #b94a4a;
    --orb-a: #f0c69c;
    --orb-b: #cbc4ef;
    --orb-c: #b6dccd;
    --shadow: 0 20px 50px -24px rgba(80, 50, 20, 0.35);
    color-scheme: light;
  }
}
:root[data-theme='light'] {
  --bg: #f3eee5;
  --bg-2: #ece4d6;
  --surface: rgba(255, 255, 255, 0.55);
  --surface-2: rgba(255, 255, 255, 0.85);
  --border: rgba(60, 40, 20, 0.1);
  --text: #2a2633;
  --muted: #6f6a78;
  --accent: #c47a32;
  --accent-2: #b8604a;
  --accent-ink: #fffaf2;
  --sage: #4f8a73;
  --danger: #b94a4a;
  --orb-a: #f0c69c;
  --orb-b: #cbc4ef;
  --orb-c: #b6dccd;
  --shadow: 0 20px 50px -24px rgba(80, 50, 20, 0.35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  transition: background-color 0.4s;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

/* ---------- drifting sky ---------- */

.sky { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: drift 38s ease-in-out infinite alternate;
}
.orb-a { width: 60vmax; height: 60vmax; background: var(--orb-a); top: -25vmax; left: -15vmax; }
.orb-b { width: 50vmax; height: 50vmax; background: var(--orb-b); bottom: -25vmax; right: -15vmax; animation-duration: 46s; animation-delay: -12s; }
.orb-c { width: 36vmax; height: 36vmax; background: var(--orb-c); top: 40%; left: 45%; opacity: 0.35; animation-duration: 54s; animation-delay: -30s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vmax, 4vmax) scale(1.08); }
  100% { transform: translate(-4vmax, 7vmax) scale(0.95); }
}
body.in-session .orb { opacity: 0.32; transition: opacity 3s; }

/* ---------- shell ---------- */

.shell {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 8px) max(16px, env(safe-area-inset-right)) calc(var(--tabbar) + env(safe-area-inset-bottom) + 24px) max(16px, env(safe-area-inset-left));
}

.topbar { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 400 22px/1 var(--serif); letter-spacing: 0.01em; }
.brand svg { width: 26px; height: 26px; color: var(--accent); }
.topbar-actions { display: flex; gap: 8px; }

.icon-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.2s, transform 0.15s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.small { width: 38px; height: 38px; font-size: 20px; line-height: 1; }

.eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; background: var(--accent); border-radius: 2px; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.4s; }
.eq i:nth-child(3) { animation-delay: -0.8s; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }

/* ---------- tabs: bottom bar on phones/tablets, pill on desktop ---------- */

.tabs {
  position: fixed;
  z-index: 10;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-around;
  padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-top: 1px solid var(--border);
  transition: opacity 0.6s;
}
.tabs a {
  flex: 1;
  max-width: 120px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 4px;
  min-height: 52px;
  color: var(--muted);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 14px;
  transition: color 0.2s;
}
.tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tabs a[aria-current='page'] { color: var(--accent); }
body.in-session .tabs { opacity: 0.35; }
body.in-session .tabs:hover, body.in-session .tabs:focus-within { opacity: 1; }

@media (min-width: 900px) {
  .shell { padding-bottom: 48px; }
  .tabs {
    position: absolute;
    top: calc(env(safe-area-inset-top) + 14px);
    bottom: auto; left: 50%; right: auto;
    transform: translateX(-50%);
    padding: 5px;
    gap: 2px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
  }
  .tabs a { flex-direction: row; min-height: 0; max-width: none; padding: 8px 16px; font-size: 14px; gap: 8px; border-radius: 999px; }
  .tabs svg { width: 18px; height: 18px; }
  .tabs a[aria-current='page'] { background: var(--surface-2); color: var(--text); }
  .tabs a[aria-current='page'] svg { color: var(--accent); }
}

/* ---------- views ---------- */

.view { animation: rise 0.5s cubic-bezier(.2, .8, .2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.view-head { margin: 12px 0 8px; }
.eyebrow { margin: 0 0 4px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(30px, 7vw, 46px); line-height: 1.1; }
.sub { margin: 8px 0 0; color: var(--muted); max-width: 46ch; }

.stage { display: flex; flex-direction: column; align-items: center; padding: 20px 0 28px; }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  transition: opacity 0.5s;
}
.is-locked { opacity: 0.4; pointer-events: none; }

.field + .field { margin-top: 18px; }
.field-label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.hint { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.hint:empty { display: none; }
.link { color: var(--accent); text-decoration: none; font-weight: 600; white-space: nowrap; }
.link:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.row-end { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

@media (min-width: 600px) {
  .stage { padding: 28px 0 36px; }
  .view > .panel, .view > .field, .stats { max-width: 680px; margin-left: auto; margin-right: auto; }
  .view-head { text-align: center; }
  .sub { margin-left: auto; margin-right: auto; }
}

/* Two columns on wide screens and landscape tablets */
@media (min-width: 900px) {
  #view-meditate:not([hidden]), #view-breathe:not([hidden]) {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-areas: 'head head' 'stage panel';
    column-gap: 40px;
    align-items: center;
    min-height: calc(100dvh - 140px);
  }
  #view-meditate .view-head, #view-breathe .view-head { grid-area: head; text-align: left; margin-top: 40px; }
  #view-meditate .stage, #view-breathe .stage { grid-area: stage; }
  #view-meditate .panel, #view-breathe .panel { grid-area: panel; margin: 0; max-width: none; }
  .view-head { margin-top: 40px; }
}

/* ---------- buttons, chips ---------- */

.btn {
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s, background 0.2s, box-shadow 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn.primary {
  min-width: 160px;
  border: 0;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn.primary:hover { box-shadow: 0 14px 40px -10px color-mix(in srgb, var(--accent) 85%, transparent); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.danger { color: var(--danger); }
.controls { display: flex; gap: 12px; margin-top: 28px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  min-height: 40px;
  min-width: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14.5px;
  font-weight: 600;
  scroll-snap-align: start;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover { background: var(--surface-2); }
.chip[aria-checked='true'] { background: var(--text); color: var(--bg); border-color: var(--text); }

.stepper { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.stepper output { min-width: 72px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.amb-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.amb-summary { color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- meditation ring ---------- */

.ring-wrap { position: relative; width: min(74vw, 44dvh, 360px); aspect-ratio: 1; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-track { fill: none; stroke: var(--border); stroke-width: 3; }
.ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s linear;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 60%, transparent));
}
.ring-center {
  position: absolute; inset: 12%;
  display: grid; place-content: center; text-align: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, var(--surface-2), transparent 70%);
}
.time { font: 300 clamp(52px, 15vw, 84px)/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.time-label { margin-top: 10px; color: var(--muted); font-size: 14px; letter-spacing: 0.04em; }

/* ---------- breathing orb ---------- */

.breath-wrap { position: relative; width: min(74vw, 44dvh, 340px); aspect-ratio: 1; display: grid; place-items: center; }
.breath-orb, .breath-halo { position: absolute; inset: 0; border-radius: 50%; transition-property: transform, opacity; transition-timing-function: cubic-bezier(.45, 0, .55, 1); }
.breath-halo {
  background: radial-gradient(circle, transparent 55%, color-mix(in srgb, var(--accent) 35%, transparent) 70%, transparent 72%);
  filter: blur(6px);
}
.breath-orb {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 35% 30%, color-mix(in srgb, #fff 45%, var(--accent)) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, var(--accent) 0%, var(--accent-2) 60%, color-mix(in srgb, var(--accent-2) 60%, var(--orb-b)) 100%);
  box-shadow: 0 0 80px -10px color-mix(in srgb, var(--accent) 60%, transparent), inset 0 -20px 60px -20px rgba(0, 0, 0, 0.25);
}
.breath-text { text-align: center; color: var(--accent-ink); }
.breath-phase { font: 400 clamp(24px, 6.5vw, 34px)/1.1 var(--serif); }
.breath-count { margin-top: 4px; font-size: 18px; font-weight: 700; opacity: 0.7; min-height: 27px; font-variant-numeric: tabular-nums; }
.breath-meta { margin-top: 22px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.breath-meta + .controls { margin-top: 14px; }

.patterns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; transition: opacity 0.4s; }
.pattern {
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.2s, border-color 0.2s;
}
.pattern strong { display: block; font-size: 15px; }
.pattern span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.pattern:hover { background: var(--surface-2); }
.pattern[aria-checked='true'] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }

.toggles { display: flex; gap: 20px; flex-wrap: wrap; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 15px; min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch span { position: relative; width: 44px; height: 26px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); transition: background 0.2s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); transition: transform 0.2s, background 0.2s; }
.switch input:checked + span { background: color-mix(in srgb, var(--accent) 40%, transparent); }
.switch input:checked + span::after { transform: translateX(18px); background: var(--accent); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- sounds ---------- */

.sound-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
@media (min-width: 600px) { .sound-grid { grid-template-columns: repeat(4, 1fr); max-width: 860px; margin: 24px auto; } }

.sound-card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.15s;
}
.sound-card:active { transform: scale(0.98); }
.sound-toggle { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 16px 8px; border: 0; background: none; text-align: left; }
.sound-toggle svg { width: 30px; height: 30px; margin-bottom: 10px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.sound-name { font-weight: 700; font-size: 16px; }
.sound-note { color: var(--muted); font-size: 12.5px; }
.sound-card input { margin: 4px 16px 16px; width: calc(100% - 32px); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.sound-card.on { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); box-shadow: 0 10px 40px -16px color-mix(in srgb, var(--accent) 70%, transparent); }
.sound-card.on svg { stroke: var(--accent); }
.sound-card.on input { opacity: 1; pointer-events: auto; }

.mixer-foot .field { margin-top: 18px; }

/* range */
input[type='range'] { -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; }
input[type='range']::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--border); }
input[type='range']::-moz-range-track { height: 4px; border-radius: 4px; background: var(--border); }
input[type='range']::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent); }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--accent); }
input[type='range']::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); }
.slider-row { display: flex; align-items: center; gap: 16px; font-weight: 600; }
.slider-row input { flex: 1; }

/* ---------- journey ---------- */

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0 16px; }
@media (min-width: 600px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.stat-n { font: 300 38px/1 var(--serif); font-variant-numeric: tabular-nums; }
.stat-l { margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 160px; }
.bar { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bar-track { flex: 1; width: 100%; max-width: 36px; display: flex; align-items: flex-end; border-radius: 10px; background: var(--surface); overflow: hidden; }
.bar-fill { width: 100%; border-radius: 10px; background: linear-gradient(to top, var(--accent-2), var(--accent)); transition: height 0.6s cubic-bezier(.2, .8, .2, 1); }
.bar-v { font-size: 11px; color: var(--muted); min-height: 14px; font-variant-numeric: tabular-nums; }
.bar-l { font-size: 12px; font-weight: 700; color: var(--muted); }
.bar.today .bar-l { color: var(--accent); }

.history { list-style: none; margin: 0; padding: 0; }
.history li { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.history li:last-child { border-bottom: 0; }
.history .dot { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.history .dot.breathe { background: var(--sage); }
.history .muted { grid-column: 2; font-size: 13px; }
.history strong { grid-column: 3; grid-row: 1 / span 2; font-variant-numeric: tabular-nums; }
.history .empty { display: block; color: var(--muted); padding: 16px 0; }

/* ---------- dialog ---------- */

.done {
  width: min(92vw, 420px);
  padding: 36px 28px 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--bg-2);
  color: var(--text);
  text-align: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.done[open] { animation: rise 0.5s cubic-bezier(.2, .8, .2, 1); }
.done::backdrop { background: rgba(5, 6, 15, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.done-glow { position: absolute; left: 50%; top: -120px; width: 260px; height: 260px; transform: translateX(-50%); border-radius: 50%; background: var(--accent); filter: blur(70px); opacity: 0.35; pointer-events: none; }
.done h2 { position: relative; font-size: 36px; margin: 4px 0 10px; }
.done p { position: relative; }
.done #doneText { color: var(--muted); margin: 0 0 24px; }

/* ---------- motion & small screens ---------- */

@media (max-height: 640px) and (orientation: landscape) {
  .stage { padding: 8px 0 16px; }
  .controls { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .eq i { animation: none; }
  .view, .done[open] { animation: none; }
}

/* ---------- sync ---------- */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sync-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sync .hint { margin-top: 0; }
.sync-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.sync-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.sync-status[data-state='ok'] i { background: var(--sage); }
.sync-status[data-state='syncing'] i { background: var(--accent); animation: eq 1s ease-in-out infinite; }
.sync-status[data-state='error'] i { background: var(--danger); }
.code-row { display: flex; gap: 10px; margin-top: 14px; }
.sync-code {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 14px;
  border-radius: 14px; border: 1px dashed var(--border); background: var(--surface);
  font: 600 clamp(15px, 4.4vw, 19px)/1 ui-monospace, 'SF Mono', Menlo, monospace;
  letter-spacing: 0.08em; user-select: all; overflow-x: auto; white-space: nowrap;
}
.text-input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 16px;
  border-radius: 14px; border: 1px solid var(--border); background: var(--surface);
  font-size: 16px; /* 16px stops iOS zooming on focus */
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: 0.05em; text-transform: uppercase;
}
.text-input::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--sans); color: var(--muted); }
.text-input:focus { outline: none; border-color: var(--accent); }
