/* Symory account & management pages: warm black, cream type, one terracotta accent, Symo the mascot. */
:root {
  --bg: #0b0908; --fg: #f6ecdc; --muted: rgba(246, 236, 220, .58); --faint: rgba(246, 236, 220, .32);
  --surface: rgba(246, 236, 220, .045); --surface-2: rgba(246, 236, 220, .08); --line: rgba(246, 236, 220, .11);
  --accent: #e2673d; --accent-deep: #c4512d; --accent-soft: rgba(226, 103, 61, .14);
  --ok: #8fcf9a; --ok-soft: rgba(143, 207, 154, .13); --warn: #f2c46b; --bad: #ff7a66;
  --serif: "Iowan Old Style", "New York", "Palatino", Georgia, "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans CJK SC", "Helvetica Neue", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--fg); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(196, 81, 45, .22), transparent 60%),
    radial-gradient(80% 40% at 100% 100%, rgba(196, 81, 45, .06), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

/* ---- type ---- */
.wordmark { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1, .h1 { font-size: 30px; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; margin: 0; }
h2 { font-size: 18px; line-height: 1.4; font-weight: 600; margin: 0; }
.lede { color: var(--muted); margin: 10px 0 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* ---- form controls ---- */
.field { display: block; margin: 0 0 14px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin: 0 0 6px 2px; }
.field small { display: block; font-size: 12px; color: var(--faint); margin: 6px 0 0 2px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 13px 16px; outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus {
  border-color: rgba(226, 103, 61, .7); background: var(--surface-2); box-shadow: 0 0 0 4px var(--accent-soft);
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600;
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg);
  cursor: pointer; text-decoration: none !important; transition: transform .12s, background .2s, opacity .2s; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn.primary { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 8px 24px -10px rgba(226, 103, 61, .8); }
.btn.primary:hover { background: #ea7449; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); background: transparent; }
.btn.block { width: 100%; padding: 15px 20px; font-size: 17px; }
.btn.sm { padding: 7px 14px; font-size: 14px; }
.btn svg, .icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: transparent; color: var(--muted); cursor: pointer; text-decoration: none !important;
}
.icon svg { width: 22px; height: 22px; }
.icon:hover { background: var(--surface-2); color: var(--fg); }

.msg { font-size: 14px; min-height: 1.5em; margin: 2px 2px 12px; }
.msg.err { color: var(--bad); }
.msg.ok { color: var(--ok); }

/* ---- auth pages (login / register) ---- */
.auth {
  min-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px 32px;
}
.auth-box { width: 100%; max-width: 380px; }
.auth-hero { text-align: center; margin-bottom: 30px; }
.auth-hero .avatar { width: 132px; height: 132px; margin: 0 auto 6px; }
.auth-hero .wordmark { font-size: 40px; line-height: 1.1; }
.auth-hero .lede { margin-top: 8px; font-size: 15px; }
.auth-alt { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); }
.auth-foot { margin-top: 36px; font-size: 12px; color: var(--faint); text-align: center; }
.pw { position: relative; }
.pw input { padding-right: 56px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }

/* ---- app shell (setup / meetings) ---- */
.bar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 6px;
  padding: calc(env(safe-area-inset-top) + 8px) 14px 8px; margin-top: calc(-1 * env(safe-area-inset-top));
  background: rgba(11, 9, 8, .72); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.bar.scrolled { border-bottom-color: var(--line); }
.bar .brand { display: flex; align-items: center; gap: 8px; color: var(--fg); text-decoration: none !important; }
.bar .brand .avatar { width: 34px; height: 34px; }
.bar .brand .wordmark { font-size: 21px; }
.bar .spacer { flex: 1; }
.page { max-width: 680px; margin: 0 auto; padding: 22px 20px 64px; }
.page-head { margin: 8px 0 26px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.card + .card, .stack > * + * { margin-top: 12px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 34px 4px 12px; }
.section-title h2 { font-size: 15px; color: var(--muted); font-weight: 600; }

/* segmented control */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.seg button { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: transparent; border: 0;
  padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: var(--fg); color: var(--bg); }

/* chips & badges */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px;
  border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.accent { background: var(--accent-soft); color: var(--accent); }
.badge.warn { background: rgba(242, 196, 107, .14); color: var(--warn); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---- onboarding steps ---- */
.steps { counter-reset: step; }
.step { position: relative; padding: 22px 20px; }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 20px;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: var(--surface-2); color: var(--fg); border: 1px solid var(--line);
}
.step.done::before { content: "✓"; background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.step.current::before { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 0 0 6px var(--accent-soft); }
.step h2 { min-height: 32px; display: flex; align-items: center; padding-left: 46px; }
.step p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.step .body { margin-top: 16px; }
.kv { margin: 14px 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.kv li { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 11px 14px; font-size: 14px; }
.kv li + li { border-top: 1px solid var(--line); }
.kv li > span:first-child { color: var(--muted); flex: none; }
.kv li > b { font-weight: 600; text-align: right; }
.code {
  font: 13px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; max-height: 180px; overflow: auto; white-space: pre-wrap; margin: 12px 0 0;
}
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.result { margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.result.ok { background: var(--ok-soft); color: var(--ok); }
.result.err { background: rgba(255, 122, 102, .12); color: var(--bad); }

/* ---- meetings ---- */
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .avatar { width: 96px; height: 96px; margin: 0 auto 10px; opacity: .9; }

.spk-card { padding: 18px; }
.spk-top { display: flex; align-items: center; gap: 12px; }
.spk-top input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; flex: none; }
.spk-name { font-weight: 650; font-size: 17px; }
.spk-top .badge { margin-left: auto; }
.sample {
  display: flex; gap: 12px; align-items: flex-start; width: 100%; margin-top: 10px; padding: 10px 12px; text-align: left;
  font: inherit; color: var(--muted); background: rgba(0, 0, 0, .25); border: 1px solid transparent; border-radius: 14px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.sample:hover { border-color: var(--line); }
.sample .play { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--fg); }
.sample .play svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.sample p { margin: 5px 0 0; font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sample.playing p { -webkit-line-clamp: unset; }
.sample.playing { color: var(--fg); border-color: rgba(226, 103, 61, .5); }
.sample.playing .play { background: var(--accent); color: #fff; }
.spk-form { display: flex; gap: 8px; margin-top: 14px; }
.spk-form input { flex: 1; }
.suggest { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding: 10px 12px;
  border-radius: 12px; background: var(--accent-soft); }
.suggest .spacer { flex: 1; }

.terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.term { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; }
.term s { color: var(--faint); }
.term button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: transparent; color: var(--faint); cursor: pointer; font-size: 16px; line-height: 1; }
.term button:hover { background: rgba(255, 122, 102, .15); color: var(--bad); }
.add-term { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 8px; align-items: center; }
.add-term > span { color: var(--faint); }

/* ---- meetings workspace: list on the left, one meeting on the right ---- */
body.ws-body { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
.ws { flex: 1; display: grid; grid-template-columns: 360px minmax(0, 1fr); min-height: 0; }
.side { border-right: 1px solid var(--line); padding: 20px 14px 24px; display: flex; flex-direction: column; min-height: 0; }
.side-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 8px 14px; }
.side-head h1 { font-size: 26px; }
.search { position: relative; display: block; margin: 0 4px 14px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; }
.search input { padding: 11px 14px 11px 40px; border-radius: 999px; font-size: 15px; }
.mlist { flex: 1; overflow: auto; padding: 0 2px; margin: 0 -2px; }
.group-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--faint); padding: 14px 12px 6px; }
.mi {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; width: 100%; text-align: left; font: inherit; color: inherit;
  background: transparent; border: 0; border-radius: 14px; padding: 11px 12px; cursor: pointer; transition: background .15s;
}
.mi:hover { background: var(--surface); }
.mi.on { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--accent); }
.mi-title { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-time { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; align-self: center; }
.mi-meta { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); min-width: 0; }
.mi-meta .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-meta .todo { color: var(--accent); flex: none; }
.side-nav { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; display: grid; gap: 2px; }
.side-nav button {
  display: flex; align-items: center; gap: 10px; font: inherit; font-size: 15px; color: var(--muted); background: transparent; border: 0;
  border-radius: 12px; padding: 10px 12px; cursor: pointer; text-align: left;
}
.side-nav button:hover, .side-nav button.on { background: var(--surface); color: var(--fg); }
.side-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side-nav .n { margin-left: auto; font-size: 12px; color: var(--faint); }

.pane { overflow: auto; min-height: 0; }
.pane-inner { max-width: 820px; margin: 0 auto; padding: 34px 40px 80px; }
.pane-empty { height: 100%; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 40px; }
.pane-empty .avatar { width: 120px; height: 120px; margin: 0 auto 12px; }

/* meeting header */
.mh-eyebrow { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mh-eyebrow .badge { margin-left: 2px; }
.editable { display: flex; align-items: center; gap: 6px; }
.editable .icon { width: 32px; height: 32px; opacity: 0; transition: opacity .15s; flex: none; }
.editable .icon svg { width: 16px; height: 16px; }
.editable:hover .icon, .editable .icon:focus { opacity: 1; }
.mh-title { font-size: 32px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; margin: 8px 0 0; word-break: break-word; }
.mh-title.untitled { color: var(--muted); }
.mh-title-input { font-size: 28px; font-weight: 700; padding: 6px 12px; margin-top: 6px; }
.mh-people { color: var(--muted); font-size: 15px; margin-top: 6px; }
.mh-people.placeholder { color: var(--faint); }
.mh-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

/* who talked how much */
.talk { margin-top: 24px; }
.talk-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; gap: 2px; background: var(--surface); }
.talk-bar span { background: var(--c); min-width: 3px; }
.talk-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 14px; }
.talk-legend button { display: inline-flex; align-items: center; gap: 8px; font: inherit; color: var(--fg); background: transparent; border: 0; padding: 2px 0; cursor: pointer; }
.talk-legend .sw { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.talk-legend .pct { color: var(--muted); font-variant-numeric: tabular-nums; }
.talk-legend .todo { font-size: 12px; color: var(--accent); }

.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin: 28px 0 8px; }
.tabs button {
  font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); background: transparent; border: 0; padding: 10px 0 12px;
  border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center;
}
.tabs button.on { color: var(--fg); border-bottom-color: var(--accent); }
.tabs .count { font-size: 12px; font-weight: 700; background: var(--accent); color: #fff; border-radius: 999px; padding: 0 7px; line-height: 18px; }

/* transcript */
.tb { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
.tb + .tb { border-top: 1px solid rgba(246, 236, 220, .05); }
.tb-av {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
}
.tb-head { display: flex; gap: 10px; align-items: baseline; margin-bottom: 2px; }
.tb-head b { font-weight: 650; color: var(--c); }
.tb-head time { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.ln {
  margin: 0 -10px; padding: 3px 10px; border-radius: 10px; line-height: 1.75; font-size: 16px; color: rgba(246, 236, 220, .88);
  cursor: pointer; transition: background .15s; position: relative;
}
.ln:hover { background: var(--surface); }
.ln.playing { background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--fg); }
.spk-card .ln { padding-left: 34px; }
.spk-card .ln::before {
  content: ""; position: absolute; left: 10px; top: 11px; width: 0; height: 0;
  border-left: 9px solid var(--faint); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.spk-card .ln.playing::before { border-left-color: var(--c); }
.ln.flash { animation: flash 1.6s ease; }
@keyframes flash { 0%, 40% { background: rgba(226, 103, 61, .28); } }
.ln mark, .sr mark { background: rgba(226, 103, 61, .3); color: var(--fg); border-radius: 3px; padding: 0 1px; }

.note {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; margin: 10px 0; padding: 14px 16px 14px 14px;
  border-radius: 18px; background: linear-gradient(135deg, rgba(226, 103, 61, .12), rgba(226, 103, 61, .04)); border: 1px solid rgba(226, 103, 61, .22);
}
.note .avatar { width: 36px; height: 36px; }
.note-head { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--accent); display: flex; gap: 8px; }
.note-head time { color: var(--faint); font-weight: 400; }
.note-body { white-space: pre-wrap; margin-top: 4px; font-size: 15px; line-height: 1.65; }
.shot { margin: 12px 0; max-width: 560px; }
.shot img { display: block; width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #000; }
.shot figcaption { display: flex; gap: 8px; margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.shot figcaption time { color: var(--faint); font-weight: 400; }

.player {
  position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; gap: 12px; margin: 16px auto 0; width: max-content; max-width: 100%;
  padding: 8px 10px 8px 16px; border-radius: 999px; background: rgba(30, 23, 20, .92); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 12px 40px rgba(0, 0, 0, .5); font-size: 14px;
}
.player .eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.player .eq i { width: 3px; background: var(--accent); border-radius: 2px; animation: eq .9s ease-in-out infinite; }
.player.waiting .eq i { animation-play-state: paused; opacity: .4; }
.pane-inner.loading { opacity: .45; pointer-events: none; transition: opacity .15s .1s; }
.player .eq i:nth-child(2) { animation-delay: .2s; } .player .eq i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* search results */
.sr-group { margin-top: 22px; }
.sr-group h3 { font-size: 15px; margin: 0 0 6px; display: flex; gap: 10px; align-items: baseline; }
.sr-group h3 span { font-size: 12px; color: var(--faint); font-weight: 400; }
.sr { display: flex; gap: 12px; width: 100%; text-align: left; font: inherit; color: var(--muted); background: transparent; border: 0;
  border-radius: 12px; padding: 8px 10px; cursor: pointer; line-height: 1.6; }
.sr:hover { background: var(--surface); color: var(--fg); }
.sr time { font-size: 12px; color: var(--faint); flex: none; padding-top: 3px; font-variant-numeric: tabular-nums; }

/* people */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.person { display: flex; gap: 12px; align-items: center; padding: 14px 16px; }
.person .tb-av { --c: var(--accent); }

@media (max-width: 899px) {
  body.ws-body { display: block; height: auto; overflow: visible; }
  .ws { display: block; }
  .side { border: 0; padding: 18px 12px 40px; }
  .mlist { overflow: visible; }
  .ws.detail .side, .ws:not(.detail) .pane { display: none; }
  .pane { overflow: visible; }
  .pane-inner { padding: 20px 18px 60px; }
  .mh-title { font-size: 26px; }
  .editable .icon { opacity: 1; }
}

/* ---- install hint & toast ---- */
.install { display: flex; gap: 14px; align-items: center; }
.install img { width: 52px; height: 52px; border-radius: 13px; flex: none; }
.install p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.share-ico { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 2; }
.toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 24px); transform: translate(-50%, 20px); opacity: 0;
  background: var(--fg); color: var(--bg); font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 999px;
  transition: opacity .25s, transform .25s; pointer-events: none; z-index: 50;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* mascot sizing on these pages (animation rules live in voice.css) */
.avatar .av-svg { width: 100%; height: 100%; display: block; }

@media (max-width: 480px) {
  h1, .h1 { font-size: 26px; }
  .page { padding: 16px 16px 56px; }
  .step { padding: 20px 16px; }
  .step::before { left: 16px; }
  .add-term { grid-template-columns: 1fr 1fr; }
  .add-term > span { display: none; }
  .add-term .btn { grid-column: 1 / -1; }
}

/* account deletion + legal links (setup) */
.delete-form { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line, rgba(255,255,255,.08)); }
.delete-form p { font-size: 14px; color: var(--muted); margin: 0 0 12px; line-height: 1.6; }
.delete-form input { width: 100%; margin-bottom: 12px; }
.legal { text-align: center; font-size: 13px; color: var(--faint); margin: 22px 0 8px; }
.legal a { color: var(--muted); }

/* public documents: privacy policy, support */
.doc { max-width: 720px; margin: 0 auto; padding: 40px 22px 60px; line-height: 1.75; }
.doc h1 { font-size: 26px; margin: 0 0 6px; }
.doc h2 { font-size: 18px; margin: 30px 0 8px; }
.doc h3 { font-size: 15px; margin: 18px 0 4px; }
.doc p, .doc li { color: var(--muted); font-size: 15px; }
.doc ul { padding-left: 20px; }
.doc .dim { color: var(--faint); font-size: 13px; }
.doc a { color: var(--fg); }
