/* Talking Socks v2 — paper-calm visual language (design/paper-calm-reference.html)
   One light theme. Terracotta is reserved for actions; olive/amber carry
   health; red is needs-you only. Serif only for gist and display moments. */

:root {
  --paper: #FAF9F7;
  --paper-2: #F3F0E9;
  --ink: #221D17;
  --ink-2: rgba(34, 29, 23, .64);
  --ink-3: rgba(34, 29, 23, .66);
  --hair: #E6E0D4;
  --accent: #9A3F1E;
  --accent-soft: rgba(154, 63, 30, .08);
  --olive: #67703F;
  --amber: #825D1E;
  --red: #A93226;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0 }
[hidden] { display: none !important }  /* class display rules must not defeat the hidden attribute */
html, body { height: 100% }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; padding: 10px 16px;
  background: var(--ink); color: var(--paper); z-index: 200; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0 }

.dev-banner, .tester-banner {
  text-align: center; font-size: 12px; padding: 6px 12px;
  background: var(--paper-2); color: var(--ink-2); border-bottom: 1px solid var(--hair);
}
.tester-banner { color: var(--olive) }

.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3) }
.fineprint { font-size: 12px; line-height: 1.5; color: var(--ink-3) }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px }

/* ---------- landing ---------- */
.page-landing main, .land { min-height: 100dvh; }
.land {
  padding: 0 28px 40px; display: flex; flex-direction: column;
  max-width: 430px; margin: 0 auto; width: 100%;
}
.wordmark { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .01em; margin-top: 26px }
.wordmark-link { display: inline-flex; align-items: center; width: max-content; min-height: 44px; color: inherit; text-decoration: none }
.wordmark-link:hover { color: var(--accent) }
.wordmark span { color: var(--ink-3); font-weight: 400 }
.land h1 {
  font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.08;
  letter-spacing: -.015em; margin-top: 56px;
}
.land h1 em { font-style: italic; color: var(--accent) }
.land .sub { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin-top: 16px; max-width: 320px }
.rec-zone { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 14px }
.recbtn {
  width: 112px; height: 112px; border-radius: 50%; border: 1.5px solid var(--accent);
  background: transparent; cursor: pointer; display: grid; place-items: center;
  transition: transform .12s var(--ease);
}
.recbtn:active { transform: scale(.93) }
.recbtn .inner {
  width: 88px; height: 88px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(154, 63, 30, .5);
}
.recbtn[disabled] { opacity: .5; cursor: wait }
.rec-label { font-size: 14px; font-weight: 600 }
.rec-note { font-size: 12px; color: var(--ink-3); margin-top: -6px }
.land .gate { margin-top: 30px; text-align: center; font-size: 13px; line-height: 1.6; color: var(--ink-2) }
.land .legal { margin-top: 14px; text-align: center }
.land .alt { margin-top: auto; padding-top: 32px; text-align: center; font-size: 13px; color: var(--ink-3) }
.land .alt a { color: var(--accent); text-decoration: none; font-weight: 500 }

/* ---------- shared buttons ---------- */
.gbtn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px; border-radius: 14px; border: 1px solid var(--hair);
  background: #fff; font-family: var(--sans); font-size: 15px; font-weight: 500;
  color: var(--ink); cursor: pointer; text-decoration: none;
  box-shadow: 0 2px 10px rgba(64, 48, 30, .06); transition: transform .12s var(--ease);
  min-height: 44px;
}
.gbtn:active { transform: scale(.98) }
.pillbtn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--hair);
  background: #fff; border-radius: 999px; padding: 10px 16px; font-size: 13px; font-weight: 500;
  color: var(--ink); cursor: pointer; font-family: var(--sans); min-height: 44px; text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important }
}
/* Live thread page — the thread interaction (design/thread-reference.html) */

.page-live main { min-height: 100dvh; display: flex; flex-direction: column }
.live {
  padding: 0 22px 26px; display: flex; flex-direction: column; min-height: 100dvh;
  max-width: 430px; margin: 0 auto; width: 100%; position: relative;
}
.live-top { display: flex; align-items: center; justify-content: space-between; margin-top: 14px }
.health {
  display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); padding: 8px 4px; text-align: left; min-height: 44px;
}
.health .hdot { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); flex: none; transition: background .3s var(--ease) }
.health.reconnecting .hdot { background: transparent; border: 1.5px solid var(--amber); animation: breath 1.6s var(--ease) infinite }
.health.paused .hdot { background: var(--ink-3) }
.health .hword { font-size: 13px; font-weight: 500; color: var(--ink-2) }
.health .hsub { font-size: 11px; color: var(--ink-3) }
@keyframes breath { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
.levels { display: flex; gap: 3px; align-items: flex-end; height: 14px }
.levels i { width: 3px; border-radius: 2px; background: var(--ink-3); animation: lv 1.3s ease-in-out infinite }
.levels i:nth-child(1) { height: 5px; animation-delay: 0s }
.levels i:nth-child(2) { height: 9px; animation-delay: .15s }
.levels i:nth-child(3) { height: 13px; animation-delay: .3s }
.levels i:nth-child(4) { height: 7px; animation-delay: .45s }
.levels i:nth-child(5) { height: 11px; animation-delay: .6s }
.levels i:nth-child(6) { height: 6px; animation-delay: .75s }
.levels i:nth-child(7) { height: 9px; animation-delay: .9s }
.levels.paused i { animation-play-state: paused; opacity: .4 }
@keyframes lv { 0%, 100% { transform: scaleY(.55) } 50% { transform: scaleY(1) } }
.timer { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2) }

.limit-note {
  margin-top: 10px; font-size: 12.5px; color: var(--amber); background: rgba(168, 121, 42, .08);
  border: 1px solid rgba(168, 121, 42, .25); border-radius: 10px; padding: 8px 12px;
}
.balance-note { display: flex; align-items: baseline; justify-content: space-between; gap: 12px }
.balance-note a { color: inherit; font-weight: 650; white-space: nowrap }

.thread-head { margin: 22px 2px 0; display: flex; align-items: baseline; justify-content: space-between }
.thread-head .eyebrow { display: flex; align-items: center; gap: 8px }
.livedot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: breath 2.4s var(--ease) infinite }
.thread-head .th-meta { font-size: 11px; color: var(--ink-3) }

.thread { margin-top: 14px; position: relative; padding-left: 20px; flex: 1 }
.thread::before {
  content: ""; position: absolute; left: 5px; top: 14px; bottom: 8px; width: 2px;
  background: var(--hair); border-radius: 1px;
}

.proof { padding: 14px 0 }
.proof-line { font-size: 14px; color: var(--ink-2) }
.proof-sub { font-size: 12px; color: var(--ink-3); margin-top: 4px }
.partial {
  font-family: var(--serif); font-size: 15px; line-height: 1.5; color: var(--ink-3);
  margin-top: 12px; height: 45px; overflow: hidden; font-style: italic;
}

.gcard {
  position: relative; background: #fff; border: 1px solid var(--hair); border-radius: 16px;
  padding: 14px 16px 12px; margin-bottom: 12px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(64, 48, 30, .04);
  transition: border-color .2s var(--ease);
}
.gcard::before {
  content: ""; position: absolute; left: -19px; top: 22px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--hair);
}
.gcard .ghead { display: flex; align-items: center; justify-content: space-between; gap: 10px }
.gmood { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3) }
.gtime { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; flex: none }
.gtext {
  font-family: var(--serif); font-size: 16px; line-height: 1.42; letter-spacing: -.005em;
  color: var(--ink-2); margin-top: 7px;
}
.ghint { margin-top: 9px; font-size: 11px; color: var(--ink-3); display: flex; align-items: center; gap: 5px }
.ghint svg { transition: transform .2s var(--ease) }
.gcard.open .ghint svg { transform: rotate(180deg) }
.gcard.now { border-color: rgba(154, 63, 30, .35) }
.gcard.now::before { border-color: var(--accent); background: var(--accent-soft) }
.gcard.now .gmood { color: var(--accent) }
.gcard.now .gtext { font-size: 19.5px; color: var(--ink) }
.gcard.now .gtime::after { content: " · now"; color: var(--accent) }
.gcard.catchup { border-style: dashed; border-color: rgba(154, 63, 30, .45) }
.gcard.catchup .gmood { color: var(--accent) }
.gtx { display: none; margin-top: 11px; border-top: 1px dashed var(--hair); padding-top: 10px }
.gcard.open .gtx { display: block }
.gtx .tl { display: flex; gap: 10px; margin-top: 7px }
.gtx .tl:first-child { margin-top: 0 }
.gtx .tl .t { font-size: 10.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 2.5px; flex: none; width: 34px }
.gtx .tl .b { font-size: 13px; line-height: 1.5; color: var(--ink-2) }

.hevent { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; padding-left: 2px }
.hevent .rule { flex: 1; height: 1px; background: var(--hair) }
.hevent span { font-size: 10.5px; color: var(--amber); font-weight: 500; letter-spacing: .02em }

.jumppill {
  position: fixed; left: 50%; bottom: 132px; transform: translateX(-50%);
  background: var(--ink); color: var(--paper); border: 0; border-radius: 999px;
  padding: 10px 18px; font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  display: flex; align-items: center; gap: 8px; cursor: pointer; z-index: 30;
  box-shadow: 0 10px 24px -8px rgba(34, 29, 23, .5); min-height: 44px;
}
.jumppill .jp-count { background: var(--accent); border-radius: 999px; padding: 1px 7px; font-size: 10.5px; font-variant-numeric: tabular-nums }

.live-controls {
  margin-top: 6px; padding: 22px 0 4px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; bottom: 0; background: linear-gradient(to bottom, rgba(250, 249, 247, 0), var(--paper) 38%);
}
.ctl { display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font-family: var(--sans) }
.ctl .cbtn {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--hair); background: #fff;
  display: grid; place-items: center; transition: transform .12s var(--ease);
}
.ctl:active .cbtn { transform: scale(.92) }
.ctl[disabled] { opacity: .4; cursor: default }
.ctl.end .cbtn { background: var(--ink); border-color: var(--ink) }
.ctl span { font-size: 11.5px; color: var(--ink-3); font-weight: 500 }
.langpill {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--hair); background: #fff;
  border-radius: 999px; padding: 11px 15px; font-size: 13px; font-weight: 500; color: var(--ink-2);
  cursor: pointer; font-family: var(--sans); min-height: 44px;
}
.langmenu {
  position: absolute; bottom: 96px; right: 18px; background: #fff; border: 1px solid var(--hair);
  border-radius: 14px; padding: 6px; box-shadow: 0 12px 32px -12px rgba(64, 48, 30, .3); z-index: 40;
  display: flex; flex-direction: column; min-width: 240px; max-width: calc(100vw - 36px);
}
.langsearch {
  font: inherit; font-size: 14px; font-family: var(--sans); color: var(--ink); background: var(--paper, #faf9f7);
  border: 1px solid var(--hair); border-radius: 9px; padding: 10px 12px; min-height: 44px; margin: 2px 2px 6px;
}
.langsearch:focus { outline: 2px solid var(--accent); outline-offset: 1px }
.langlist { display: flex; flex-direction: column; max-height: min(46vh, 380px); overflow-y: auto; overscroll-behavior: contain }
.langitem.active { background: var(--accent-soft); color: var(--ink) }
.langitem:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px }
.langempty { font-size: 13px; color: var(--ink-3); padding: 10px 12px; margin: 0 }
.menuhead { padding-bottom: 4px }
.micwrap { position: relative; margin-top: 14px; display: flex; justify-content: center }
.micpill {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--hair); background: #fff;
  border-radius: 999px; padding: 9px 13px; font-size: 12.5px; font-weight: 500; color: var(--ink-3);
  cursor: pointer; font-family: var(--sans); min-height: 44px; max-width: 100%;
}
.micpill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px }
.micmenu { bottom: auto; top: calc(100% + 8px); left: 50%; right: auto; transform: translateX(-50%) }
.micmenu.top { top: 58px; left: 18px; transform: none }
.live-top { position: relative }
.health { cursor: pointer }
.langitem {
  border: 0; background: none; text-align: left; font-family: var(--sans); font-size: 13.5px;
  padding: 10px 12px; border-radius: 9px; cursor: pointer; color: var(--ink-2); min-height: 44px;
}
.langitem:hover, .langitem[aria-selected="true"] { background: var(--accent-soft); color: var(--ink) }

.locked { margin-top: 18px }
.locked-card {
  background: #fff; border: 1px solid var(--hair); border-radius: 18px; padding: 22px 20px;
  box-shadow: 0 2px 10px rgba(64, 48, 30, .05);
}
.locked-card h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -.01em }
.locked-card p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 12px 0 18px }
.locked-card .fineprint { margin-top: 12px; text-align: center }

.endsheet {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: min(400px, calc(100vw - 24px)); background: var(--paper); border: 1px solid var(--hair);
  border-radius: 22px; padding: 22px; z-index: 60; box-shadow: 0 24px 48px -20px rgba(64, 48, 30, .35);
}
.endsheet h2 { font-family: var(--serif); font-weight: 400; font-size: 22px }
.endsheet p { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.55 }
.endsheet-actions { display: flex; gap: 10px; margin-top: 18px }
.endsheet-actions .gbtn { margin-top: 0 }

/* ---------- recordings ---------- */
.recs { padding: 0 22px 36px; max-width: 430px; margin: 0 auto }
.recs-top { display: flex; justify-content: space-between; align-items: center; margin-top: 18px }
.recs h1 { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -.015em; margin-top: 22px }
.recs .count { font-size: 12.5px; color: var(--ink-3); margin-top: 6px }
.rthread { margin-top: 24px; position: relative; padding-left: 20px }
.rthread::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 8px; width: 2px; background: var(--hair); border-radius: 1px }
.rcard {
  position: relative; background: #fff; border: 1px solid var(--hair); border-radius: 16px;
  padding: 15px 16px 13px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(64, 48, 30, .04);
}
.rcard::before { content: ""; position: absolute; left: -19px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); border: 2px solid var(--hair) }
.rcard .rhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; text-decoration: none; color: inherit; min-height: 44px; align-items: center }
.rcard .rtitle { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em }
.rcard .rmeta { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; flex: none }
.rcard .rgist { font-family: var(--serif); font-size: 14.5px; line-height: 1.48; color: var(--ink-2); margin-top: 7px }
.rcard .rgist.live-state { font-family: var(--sans); font-size: 12px; color: var(--olive) }

/* ---------- review ---------- */
.review { padding: 0 22px 40px; max-width: 430px; margin: 0 auto }
.review .recs-top { align-items: flex-start; flex-direction: column; gap: 8px }
.review .recs-top .rmeta { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums }
.review-title { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.015em; margin-top: 18px }
.linkbtn { background: none; border: 0; color: var(--accent); font-size: 13px; font-weight: 500; cursor: pointer; padding: 8px 0; min-height: 44px; font-family: var(--sans) }
.player { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--hair); border-radius: 14px; padding: 11px 13px; margin-top: 16px }
.playbtn { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); border: 0; cursor: pointer; display: grid; place-items: center; flex: none }
.playbtn[disabled] { opacity: .4 }
.track { flex: 1 }
.bar { height: 44px; border-radius: 2px; position: relative; overflow: hidden; cursor: pointer }
.bar::before { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 4px; background: var(--paper-2) }
.bar .fill { position: absolute; left: 0; top: 20px; height: 4px; width: 0; background: var(--accent); border-radius: 2px }
.times { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; color: var(--ink-3); font-variant-numeric: tabular-nums }
.wrap-sec { margin-top: 22px }
.wrap-sec .eyebrow { display: flex; align-items: center; gap: 8px }
.wrap-sec ul { margin-top: 10px; list-style: none }
.wrap-sec li { font-size: 14px; line-height: 1.6; color: var(--ink-2); padding-left: 18px; position: relative; margin-top: 7px }
.wrap-sec li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .55 }
.wrap-sec.open li::before { background: var(--amber) }
.citebtn { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--accent); font-family: var(--sans); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; vertical-align: middle; border-radius: 8px }
.minithread { margin-top: 16px; position: relative; padding-left: 16px }
.minithread::before { content: ""; position: absolute; left: 3px; top: 8px; bottom: 4px; width: 1.5px; background: var(--hair) }
.mini { position: relative; margin-top: 10px }
.mini:first-child { margin-top: 0 }
.mini::before { content: ""; position: absolute; left: -16.5px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #fff; border: 1.5px solid var(--hair) }
.mini .mt { font-size: 10.5px; color: var(--ink-3); font-variant-numeric: tabular-nums }
.mini .mg { font-family: var(--serif); font-size: 13.5px; line-height: 1.45; color: var(--ink-2); margin-top: 2px }
.tline { display: flex; gap: 12px; margin-top: 12px }
.tline .t { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 4px; flex: none; width: 44px }
.tline .b { font-size: 14px; line-height: 1.55; color: var(--ink-2) }
.review-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap }
.pillbtn.danger { color: var(--red); border-color: rgba(169, 50, 38, .35) }

/* Saved-recording tools: downloads together, email together, deletion apart. */
.recording-tools { margin-top: 36px }
.export-panel {
  padding: 20px; border: 1px solid var(--hair); border-radius: 20px;
  background: var(--paper-2); scroll-margin-top: 24px;
}
.export-heading h2 { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -.015em }
.export-heading p { margin-top: 6px; max-width: 34ch }
.export-downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 20px }
.download-tile {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 0; gap: 4px;
  padding: 14px 10px; border: 1px solid var(--hair); border-radius: 12px;
  background: #fff; color: var(--ink); text-decoration: none;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.recording-tools svg { width: 18px; height: 18px; flex: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round }
.download-tile svg { width: 21px; height: 21px; color: var(--accent); margin-bottom: 8px }
.download-name { font-size: 13px; font-weight: 500; line-height: 1.4 }
.download-format { font-size: 11px; line-height: 1.4; color: var(--ink-3) }
.download-tile:hover { border-color: var(--accent); background: var(--paper) }
.export-email { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--hair) }
.export-email h3 { font-size: 14px; font-weight: 600 }
.export-email label { display: block; font-size: 12px; color: var(--ink-3); margin: 14px 0 6px }
.email-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px }
.email-controls select {
  width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--hair); border-radius: 10px; background: #fff;
  color: var(--ink); font-family: var(--sans); font-size: 16px; cursor: pointer;
}
.email-send {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 14px; border: 1px solid var(--accent); border-radius: 10px;
  background: var(--accent); color: var(--paper); font-family: var(--sans); font-size: 13px;
  font-weight: 500; cursor: pointer; transition: background .18s var(--ease);
}
.email-send:hover:not(:disabled) { background: #803419 }
.email-send:disabled { opacity: .55; cursor: wait }
.email-hint { margin-top: 12px; overflow-wrap: anywhere }
.email-status:not(:empty) { margin-top: 10px; color: var(--ink); overflow-wrap: anywhere }
.recording-delete {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hair);
}
.delete-recording {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none;
  min-height: 44px; padding: 10px 8px; border: 1px solid transparent; border-radius: 10px;
  background: transparent; color: var(--red); font-family: var(--sans); font-size: 12px;
  cursor: pointer; transition: border-color .18s var(--ease);
}
.delete-recording:hover { border-color: rgba(169, 50, 38, .35) }
@media (max-width: 359px) {
  .export-panel { padding: 16px 12px }
  .download-tile { padding: 12px 7px }
  .download-name { font-size: 12px }
  .recording-delete { align-items: flex-start; flex-direction: column; gap: 6px }
}
@media (min-width: 700px) {
  .email-controls { grid-template-columns: minmax(0, 1fr) auto }
  .email-controls select { font-size: 13px }
}

/* ---------- account / forms ---------- */
.acct { margin-top: 26px }
.acct-state { font-size: 14.5px; color: var(--ink-2); margin-bottom: 16px }
.acct-state.ok { color: var(--olive) }
.topup { margin: 22px 0 28px }
.topup h2 { margin-bottom: 10px }
.topup-presets { display: flex; flex-wrap: wrap; gap: 8px }
.topup-presets form { margin: 0 }
.topup-custom { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; margin-top: 14px }
.topup-custom label { width: 100%; font-size: 13px; color: var(--ink-2) }
.money-input { display: flex; align-items: center; min-height: 44px; border: 1px solid var(--hair); background: var(--paper); padding-left: 12px }
.money-input input { width: 112px; min-height: 42px; border: 0; background: transparent; padding: 0 10px 0 4px; font: inherit; color: var(--ink) }
.money-input input:focus { outline: 2px solid var(--accent); outline-offset: 2px }
.topup .fineprint { margin-top: 10px; max-width: 500px }
.devform { margin-top: 30px; display: flex; flex-direction: column; gap: 16px }
.devform label { font-size: 13px; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px }
.devform input {
  border: 1px solid var(--hair); border-radius: 10px; padding: 12px 14px; font-size: 15px;
  font-family: var(--sans); background: #fff; color: var(--ink); min-height: 44px;
}
.logoutform { display: inline }
@media (min-width: 700px) {
  .land, .live, .recs, .review { max-width: 480px }
}


/* ---------- account / admin / support (go-live) ---------- */
.site-foot { text-align: center; padding: 18px 16px 28px; font-size: 12.5px; color: var(--ink-3) }
.site-foot a { color: var(--ink-3); text-decoration: underline; min-height: 44px; display: inline-block; line-height: 44px }
.land.wide { max-width: 960px }
.land h2 { font-family: var(--serif); font-weight: 600; font-size: 17px; margin-top: 26px }
.usage { list-style: none; padding: 0; margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2) }
.usage li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line, #e6e1d6) }
.tablewrap { overflow-x: auto; margin-top: 14px }
table.admin { border-collapse: collapse; width: 100%; font-size: 13.5px }
table.admin th, table.admin td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line, #e6e1d6); vertical-align: top }
table.admin td.num { font-variant-numeric: tabular-nums; white-space: nowrap }
table.admin td.low { color: var(--accent) }
form.inline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center }
form.inline input[type=number] { width: 92px }
form.inline input[type=text] { width: 140px }
form.inline input, form.inline select, .support-form input, .support-form textarea {
  font: inherit; font-size: 14px; padding: 8px 10px; min-height: 44px; border: 1px solid var(--line, #d9d2c3); border-radius: 8px; background: #fff; color: var(--ink) }
.gbtn.small { min-height: 44px; padding: 0 14px; font-size: 13.5px; margin-top: 0 }
.support-form { display: flex; flex-direction: column; gap: 8px; margin-top: 18px }
.support-form label { font-size: 13px; color: var(--ink-2) }
.support-msg { border: 1px solid var(--line, #e6e1d6); border-radius: 10px; padding: 12px 14px; margin-top: 12px; font-size: 14px }
.support-msg header { font-size: 12.5px; color: var(--ink-3); margin-bottom: 6px }
.support-msg p { white-space: pre-wrap; margin: 0 0 6px }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

/* privacy and other plain pages */
.prose h2.eyebrow { margin-top: 28px }
.prose p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin-top: 8px; max-width: 380px }
.prose p strong { font-weight: 600; color: var(--ink) }
.prose p a { color: var(--accent) }
