/* ============================================================
   Sales Voice Coach — design system
   Light, professional, mobile-first. Orbit navy ink + blue accents.
   ============================================================ */
:root {
  /* Light mode, Orbit brand: navy ink, Orbit-blue accents, airy surfaces. */
  --bg:        #F4F7FD;
  --bg-2:      #ECF1FA;
  --surface:   #FFFFFF;
  --surface-2: #F7FAFF;
  --line:      #DFE6F3;
  --line-2:    #CBD6EA;

  --text:      #0E1F4A;
  --text-2:    #46557D;
  --text-3:    #8291B2;

  --accent:    #2E7BE0;
  --accent-2:  #4FB3FF;
  --accent-ink:#1B5FC2;
  --accent-glow: rgba(46,123,224,.30);

  --good:  #0E9F6E;
  --mid:   #D97706;
  --bad:   #E11D48;
  --danger:#E11D48;

  --radius:   18px;
  --radius-sm:12px;
  --radius-lg:24px;

  --shadow:   0 8px 24px -10px rgba(14,31,74,.14);
  --shadow-lg:0 20px 50px -18px rgba(14,31,74,.22);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(46,123,224,.10), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(79,179,255,.08), transparent 55%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
#app { height: 100dvh; max-width: 560px; margin: 0 auto; position: relative; overflow: hidden; }

/* ── Screens ────────────────────────────────────────────── */
.screen {
  position: absolute; inset: 0;
  display: none; flex-direction: column;
  opacity: 0; transform: translateY(8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.screen.active { display: flex; opacity: 1; transform: none; }

.scroll { flex: 1; overflow-y: auto; padding: 18px 18px 28px; -webkit-overflow-scrolling: touch; }
.spacer { height: 40px; }
.muted { color: var(--text-2); }
.center { text-align: center; }

/* ── Top bar ────────────────────────────────────────────── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 16px 16px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 5;
}
.topbar-brand { font-weight: 700; font-size: 15px; letter-spacing: .2px; display: flex; align-items: center; gap: 8px; }
.topbar-brand .dot, .dot { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 10px var(--accent-glow); }
.ghost-spacer { visibility: hidden; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  appearance: none; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 15px; color: var(--text);
  border-radius: var(--radius-sm); padding: 11px 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .12s var(--ease), background .2s, border-color .2s, opacity .2s;
  user-select: none;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--text-2); }
.btn-ghost:hover { color: var(--text); border-color: var(--line-2); }
.btn-danger { background: rgba(225,29,72,.08); border-color: rgba(225,29,72,.35); color: #B91C3C; }
.btn-danger:hover { background: rgba(244,63,94,.2); }
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 15px 20px; font-size: 16px; border-radius: var(--radius); }
.btn-block { width: 100%; margin-top: 6px; }

/* ── Login ──────────────────────────────────────────────── */
.login-screen { align-items: center; justify-content: center; padding: 24px; }
.login-card {
  width: 100%; max-width: 380px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-lg);
}
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.brand-mark {
  width: 52px; height: 52px; border-radius: 15px; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: 19px; letter-spacing: .5px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px -8px var(--accent-glow);
}
.brand-text h1 { margin: 0; font-size: 19px; font-weight: 700; }
.brand-text p { margin: 3px 0 0; font-size: 13px; color: var(--text-2); }
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-foot { margin-top: 22px; color: var(--text-3); font-size: 12px; }

/* PIN keypad */
.pin-hint { text-align: center; color: var(--text-2); font-size: 14px; font-weight: 600; margin: 4px 0 14px; }
.pin-dots { display: flex; justify-content: center; gap: 14px; margin-bottom: 22px; }
.pin-dots i {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-2); border: 1.5px solid var(--line-2);
  transition: all .15s var(--ease);
}
.pin-dots i.on {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent; box-shadow: 0 0 10px var(--accent-glow);
  transform: scale(1.12);
}
.pin-dots.shake { animation: pinshake .4s var(--ease); }
.pin-dots.ok i { background: var(--good); border-color: transparent; box-shadow: 0 0 10px rgba(52,211,153,.5); }
@keyframes pinshake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-9px); } 40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); } 80% { transform: translateX(4px); }
}
.keypad {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  max-width: 264px; margin: 0 auto;
}
.keypad button {
  appearance: none; cursor: pointer; font-family: inherit;
  font-size: 22px; font-weight: 600; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 16px; height: 62px;
  transition: transform .1s var(--ease), background .15s, border-color .15s;
  user-select: none; -webkit-user-select: none;
}
.keypad button:active { transform: scale(.93); background: rgba(99,102,241,.18); border-color: var(--accent); }
.keypad .key-back { font-size: 19px; color: var(--text-2); }
.key-spacer { display: block; }

/* ── Fields ─────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 8px; }
.field + .field { margin-top: 16px; }
.field-label, .field > span { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.field-label em, .field span em { font-weight: 400; color: var(--text-3); font-style: normal; font-size: 12.5px; }
input, textarea, select {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px; outline: none; transition: border-color .18s, box-shadow .18s;
  resize: none;
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,.18); }
.form-err { color: var(--bad); font-size: 13px; min-height: 18px; margin: 4px 0 0; }

/* ── Cards / hero ───────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow);
}
.hero { margin: 6px 2px 16px; }
.hero h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.hero p { margin: 6px 0 0; font-size: 14px; }

.last-strip {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(46,123,224,.10), rgba(79,179,255,.07));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
}
.last-strip .ls-score { font-size: 26px; font-weight: 800; }
.last-strip .ls-text { font-size: 13px; color: var(--text-2); line-height: 1.4; }

/* ── Chips (presets) ────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 13px; font-size: 13.5px; font-weight: 500; cursor: pointer;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; color: var(--text-2);
  transition: all .16s var(--ease);
}
.chip:active { transform: scale(.96); }
.chip.on { background: rgba(99,102,241,.16); border-color: var(--accent); color: var(--accent-ink); }

/* ── Segmented control (difficulty) ─────────────────────── */
.segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px; }
.segment button {
  appearance: none; border: none; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 14px;
  color: var(--text-2); background: transparent; padding: 10px 8px; border-radius: 9px; text-transform: capitalize;
  transition: all .18s var(--ease);
}
.segment button.on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 6px 16px -8px var(--accent-glow); }

/* ── Call screen ────────────────────────────────────────── */
.call-screen { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.callbar { border-bottom: 1px solid var(--line); }
.prospect-id { display: flex; align-items: center; gap: 11px; min-width: 0; }
.avatar {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center;
  font-weight: 700; font-size: 16px; color: #fff; background: linear-gradient(135deg, #475569, #64748b);
}
.prospect-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw; }
.prospect-meta { font-size: 12px; color: var(--text-3); }
/* The call clock. Turns amber for the last three minutes, red for the last one,
   so the pressure to ask for the meeting is visible without a banner. */
.call-timer { font-variant-numeric: tabular-nums; }
.call-timer.warn { color: #B45309; font-weight: 700; }
.call-timer.danger { color: var(--bad); font-weight: 700; animation: timerPulse 1s ease-in-out infinite; }
@keyframes timerPulse { 50% { opacity: .45; } }

.log { flex: 1; overflow-y: auto; padding: 20px 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.bubble {
  max-width: 82%; padding: 12px 15px; border-radius: 16px; font-size: 15px; line-height: 1.5;
  animation: pop .26s var(--ease); word-wrap: break-word;
}
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.bubble.prospect { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bubble.you { align-self: flex-end; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-bottom-right-radius: 5px; }
.bubble.speaking { box-shadow: 0 0 0 2px var(--accent-glow); }
.bubble .who { font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; opacity: .6; margin-bottom: 3px; }

.talkzone { padding: 14px 16px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.85); backdrop-filter: blur(12px); text-align: center; }
.status { margin: 0 0 12px; font-size: 13.5px; color: var(--text-2); min-height: 18px; }
.talk { position: relative; width: 88px; height: 88px; margin: 0 auto; border: none; background: none; cursor: pointer; display: grid; place-items: center; }
.talk-core {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px -8px var(--accent-glow); transition: transform .16s var(--ease), background .2s; z-index: 2;
}
.talk:active .talk-core { transform: scale(.94); }
.talk:disabled { opacity: .55; cursor: default; }
.talk-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.talk.recording .talk-core { background: linear-gradient(135deg, var(--danger), #fb7185); }
.talk.recording .talk-ring { animation: ripple 1.4s var(--ease) infinite; }
@keyframes ripple { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.55); } }
.talk-label { margin: 12px 0 0; font-size: 13px; font-weight: 600; color: var(--text-2); }

/* mic icon (pure CSS) */
.mic-ico { width: 15px; height: 22px; position: relative; display: inline-block; vertical-align: middle; }
.mic-ico::before { content: ""; position: absolute; top: 0; left: 2px; width: 11px; height: 15px; border-radius: 6px; background: currentColor; }
.mic-ico::after { content: ""; position: absolute; bottom: 0; left: 6px; width: 3px; height: 6px; background: currentColor; box-shadow: -4px -3px 0 -1px currentColor, 4px -3px 0 -1px currentColor; }
.mic-ico.big { width: 24px; height: 34px; color: #fff; }
.mic-ico.big::before { width: 18px; height: 24px; left: 3px; border-radius: 9px; }
.mic-ico.big::after { width: 4px; height: 9px; left: 10px; box-shadow: -7px -5px 0 -1px #fff, 7px -5px 0 -1px #fff; }

/* ── Report ─────────────────────────────────────────────── */
.score-hero { display: flex; align-items: center; gap: 20px; margin: 4px 0 20px; }
.gauge { --deg: 0deg; --ring: var(--accent); position: relative; width: 132px; height: 132px; flex: none; }
.gauge svg { transform: rotate(-90deg); }
.gauge .g-track { stroke: var(--line); }
.gauge .g-fill { stroke: var(--ring); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.gauge .g-label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge .g-num { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.gauge .g-den { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.score-meta { min-width: 0; }
.score-headline { font-size: 17px; font-weight: 700; line-height: 1.35; }
.delta { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.delta.up { background: rgba(52,211,153,.14); color: var(--good); }
.delta.down { background: rgba(251,113,133,.14); color: var(--bad); }
.delta.flat { background: rgba(255,255,255,.06); color: var(--text-2); }

.rationale { font-size: 14.5px; color: var(--text-2); line-height: 1.55; margin: 0 0 18px; }

.subs { display: flex; flex-direction: column; gap: 11px; margin: 0 0 20px; }
.sub-row { display: grid; grid-template-columns: 116px 1fr 34px; align-items: center; gap: 10px; }
.sub-row .sub-name { font-size: 13px; color: var(--text-2); font-weight: 500; }
.sub-bar { height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.sub-bar i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .9s var(--ease); }
.sub-row .sub-val { font-size: 13px; font-weight: 700; text-align: right; }
.fill-good { background: linear-gradient(90deg, #10b981, var(--good)); }
.fill-mid  { background: linear-gradient(90deg, #f59e0b, var(--mid)); }
.fill-bad  { background: linear-gradient(90deg, #e11d48, var(--bad)); }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 22px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.tile b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.tile span { font-size: 12px; color: var(--text-3); }
.tile.good b { color: var(--good); }
.tile.warn b { color: var(--mid); }

.block { margin: 0 0 22px; }
.block h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-3); margin: 0 0 10px; font-weight: 700; }
.block ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.block li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--text); line-height: 1.5; }
.block li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.fix { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 14px 15px; margin-bottom: 10px; }
.fix .fix-head { font-weight: 700; font-size: 15px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fix .turn-tag { font-size: 11px; font-weight: 600; color: var(--accent-ink); background: rgba(99,102,241,.14); padding: 2px 8px; border-radius: 999px; }
.fix .fix-why { font-size: 13.5px; color: var(--text-2); margin: 7px 0 0; line-height: 1.5; }
.fix .fix-instead { font-size: 13.5px; margin: 8px 0 0; line-height: 1.5; }
.fix .fix-instead b { color: var(--good); }

.warnblock { background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.28); border-radius: var(--radius-sm); padding: 14px 16px; }
.warnblock h3 { color: var(--mid); }
.warnblock li::before { background: var(--mid); }

.onething { margin: 6px 0 20px; padding: 18px 18px 18px 20px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(99,102,241,.16), rgba(139,92,246,.10)); border: 1px solid var(--line-2); position: relative; }
.onething .ot-tag { font-size: 12px; font-weight: 700; letter-spacing: .4px; color: var(--accent-ink); text-transform: uppercase; }
.onething .ot-text { font-size: 16px; font-weight: 600; line-height: 1.5; margin-top: 6px; }

/* ── History ────────────────────────────────────────────── */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 18px 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 8px; text-align: center; }
.stat b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.5px; }
.stat span { font-size: 10.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .4px; }

.chart-card { margin: 16px 18px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px 10px; }
.chart-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-3); margin: 0 0 12px; font-weight: 700; }
.trend { width: 100%; height: 120px; display: block; }

.focus-wrap { margin: 16px 18px 0; }
.focus-wrap h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-3); margin: 0 0 10px; font-weight: 700; }
.focus-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.focus-chip { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.3); color: var(--mid); font-weight: 500; }

.sess-list { margin: 16px 18px 24px; display: flex; flex-direction: column; gap: 10px; }
.sess { display: flex; align-items: center; gap: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; cursor: pointer; transition: border-color .16s, transform .12s var(--ease); }
.sess:active { transform: scale(.99); }
.sess:hover { border-color: var(--line-2); }
.sess-score { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 17px; font-weight: 800; }
.sess-score.good { background: rgba(52,211,153,.14); color: var(--good); }
.sess-score.mid { background: rgba(251,191,36,.14); color: var(--mid); }
.sess-score.bad { background: rgba(251,113,133,.14); color: var(--bad); }
.sess-body { min-width: 0; flex: 1; }
.sess-title { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sess-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sess-chev { color: var(--text-3); font-size: 20px; }

.empty { text-align: center; color: var(--text-3); padding: 60px 24px; font-size: 14px; line-height: 1.6; }

/* ── Toast + overlay ────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px);
  background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2);
  padding: 12px 18px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 50; max-width: 90%;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: rgba(225,29,72,.5); }
.overlay {
  position: fixed; inset: 0; background: rgba(14,31,74,.38); backdrop-filter: blur(5px);
  display: grid; place-items: center; gap: 16px; z-index: 60; grid-auto-flow: row;
}
.overlay p { color: var(--text-2); font-size: 14px; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 380px) {
  .hero h2 { font-size: 21px; }
  .prospect-name { max-width: 44vw; }
  .gauge { width: 116px; height: 116px; }
  .gauge .g-num { font-size: 34px; }
}

/* ── v2: tab bar ────────────────────────────────────────── */
.tabbar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px);
}
.tab {
  appearance: none; border: none; cursor: pointer; font-family: inherit;
  background: transparent; color: var(--text-3); font-size: 12.5px; font-weight: 600;
  padding: 8px 6px; border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; gap: 4px; transition: all .16s var(--ease);
}
.tab .tab-ico { font-size: 15px; opacity: .9; }
.tab.on { color: var(--accent-ink); background: rgba(99,102,241,.12); }

/* ── v2: scenario card (home) ───────────────────────────── */
.scen-card { margin-bottom: 16px; }
.scen-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.scen-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--text-3); }
.scen-row { display: grid; grid-template-columns: 78px 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.scen-row:first-of-type { border-top: none; }
.scen-k { font-size: 13px; color: var(--text-3); font-weight: 600; }
.scen-v { font-size: 14px; color: var(--text); line-height: 1.45; }
.field-note { font-size: 12.5px; color: var(--text-3); margin: 8px 0 0; line-height: 1.5; }

/* ── v2: call screen ────────────────────────────────────── */
.call-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 16px 12px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
}
.call-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.call-avatar-wrap { position: relative; width: 46px; height: 46px; flex: none; }
.call-avatar {
  position: absolute; inset: 0; border-radius: 14px; display: grid; place-items: center;
  font-weight: 700; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, #475569, #64748b); z-index: 2;
}
.call-pulse { position: absolute; inset: -4px; border-radius: 17px; border: 2px solid var(--accent); opacity: 0; }
.call-pulse.live { animation: ripple 1.3s var(--ease) infinite; }
.call-meta { min-width: 0; }
.state-pill {
  flex: none; font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); color: var(--text-2); white-space: nowrap;
  transition: all .2s var(--ease);
}
.pill-listening { background: rgba(52,211,153,.14); color: var(--good); }
.pill-speaking { background: rgba(99,102,241,.16); color: var(--accent-ink); }
.pill-thinking { background: rgba(251,191,36,.14); color: var(--mid); }
.pill-muted { background: rgba(251,113,133,.14); color: var(--bad); }

.call-bottom {
  padding: 6px 16px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
}
.wave { width: 100%; height: 44px; display: block; margin-bottom: 6px; }
.call-controls { display: flex; align-items: center; justify-content: space-around; gap: 10px; }
.ctl-btn {
  appearance: none; cursor: pointer; font-family: inherit; border: 1px solid var(--line);
  background: var(--surface); color: var(--text-2); border-radius: 16px;
  min-width: 120px; padding: 12px 16px; display: flex; flex-direction: column;
  align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600;
  transition: all .16s var(--ease);
}
.ctl-btn:active { transform: scale(.96); }
.ctl-btn .mic-ico { color: var(--text-2); }
.ctl-btn.muted { border-color: rgba(225,29,72,.45); color: #B91C3C; background: rgba(225,29,72,.07); }
.ctl-btn.muted .mic-ico { color: #B91C3C; }
.ctl-btn.end { border-color: rgba(225,29,72,.35); background: rgba(225,29,72,.08); color: #B91C3C; }
.end-ico { width: 16px; height: 16px; border-radius: 50%; background: var(--danger); position: relative; }
.end-ico::after { content: ""; position: absolute; left: 3px; right: 3px; top: 7px; height: 2.5px; background: #fff; border-radius: 2px; }

/* overlay error actions */
.overlay-actions { display: flex; gap: 10px; margin-top: 6px; }

/* ============================================================
   v3 — copilot, live call, debrief coach
   ============================================================ */

/* 3-tab bar */
.tabbar { grid-template-columns: repeat(3, 1fr) !important; }
.dot.live { background: linear-gradient(135deg, #fb7185, #f43f5e); box-shadow: 0 0 12px rgba(244,63,94,.6); animation: livedot 1.4s var(--ease) infinite; }
@keyframes livedot { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

/* Copilot toggle (practice home) */
.copilot-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 14px; cursor: pointer; text-align: left;
  transition: border-color .18s, background .18s;
}
.copilot-toggle.on { border-color: rgba(46,123,224,.50); background: linear-gradient(135deg, rgba(46,123,224,.10), rgba(79,179,255,.06)); }
.ct-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ct-title { font-size: 15px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 7px; }
.ct-spark { color: var(--accent-ink); }
.ct-sub { font-size: 12.5px; color: var(--text-3); }
.ct-switch { flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .2s var(--ease); }
.ct-switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.copilot-toggle.on .ct-switch { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.copilot-toggle.on .ct-switch i { transform: translateX(18px); }

/* Coach CTA (home + report use .btn-coach) */
.coach-cta {
  width: 100%; display: flex; align-items: center; gap: 13px; margin-top: 16px;
  background: linear-gradient(135deg, rgba(14,159,110,.10), rgba(46,123,224,.07));
  border: 1px solid rgba(14,159,110,.32); border-radius: var(--radius);
  padding: 15px 16px; cursor: pointer; text-align: left; transition: transform .14s var(--ease), border-color .18s;
}
.coach-cta:active { transform: scale(.985); }
.cc-ico { font-size: 22px; flex: none; }
.cc-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.cc-text b { font-size: 15px; font-weight: 700; }
.cc-sub { font-size: 12.5px; color: var(--text-3); }
.cc-chev { color: var(--text-3); font-size: 22px; flex: none; }
.btn-coach { background: linear-gradient(135deg, #10B981, #0E9F6E); color: #fff; box-shadow: 0 10px 26px -14px rgba(14,159,110,.6); }
.btn-coach:active { transform: scale(.98); }

/* Voice setup CTA (violet variant of the coach cta) */
.setup-cta {
  margin: 0 0 14px;
  background: linear-gradient(135deg, rgba(46,123,224,.12), rgba(79,179,255,.08));
  border-color: rgba(46,123,224,.40);
}

/* Partial (live caption line) */
.partial-line {
  padding: 4px 18px 8px; font-size: 14.5px; color: var(--text-3); font-style: italic;
  min-height: 20px; opacity: .9; animation: fadein .2s var(--ease);
}
@keyframes fadein { from { opacity: 0; } to { opacity: .9; } }

/* Coach bubble */
.bubble.coach { align-self: flex-start; background: linear-gradient(135deg, rgba(14,159,110,.10), rgba(14,159,110,.04)); border: 1px solid rgba(14,159,110,.30); border-bottom-left-radius: 5px; }
.bubble.coach .who { color: #067A53; opacity: .95; }

/* Live avatar */
.call-avatar-wrap.is-live .call-avatar { background: linear-gradient(135deg, #fb7185, #f43f5e); }

/* Copilot rail */
.copilot-rail { padding: 0 14px 8px; flex: none; }
.cop-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 13px 15px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cop-card.pulse { border-color: rgba(99,102,241,.6); box-shadow: 0 0 0 1px rgba(99,102,241,.3), var(--shadow); }
.cop-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
.cop-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.cop-badge { font-size: 10.5px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: var(--accent-ink); }
.cop-flag { font-size: 10.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--line); color: var(--text-2); white-space: nowrap; }
.cop-flag.flag-objection { background: rgba(217,119,6,.12); color: #B45309; }
.cop-flag.flag-good { background: rgba(14,159,110,.12); color: #067A53; }
.cop-flag.flag-discovery { background: rgba(46,123,224,.12); color: var(--accent-ink); }
.cop-flag.flag-neutral { background: var(--line); color: var(--text-2); }
.cop-say { font-size: 16px; font-weight: 600; line-height: 1.42; color: var(--text); }
.cop-tip { margin-top: 7px; font-size: 12.5px; line-height: 1.45; color: var(--text-2); padding-top: 7px; border-top: 1px dashed var(--line); }

/* The call plan, readable in the half-second between sentences. */
.phase-strip { display: flex; gap: 4px; margin: 0 2px 8px; }
.phase-strip .ph {
  flex: 1; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase; color: var(--text-3); padding: 4px 2px 5px;
  border-bottom: 2px solid var(--line); transition: color .25s var(--ease), border-color .25s var(--ease);
}
.phase-strip .ph.done { color: var(--text-3); border-bottom-color: var(--line-2); }
.phase-strip .ph.on { color: var(--accent-ink); border-bottom-color: var(--accent); }
.phase-strip.objection .ph.on { color: #B45309; border-bottom-color: var(--mid); }

/* Live setup */
.live-setup { margin-bottom: 14px; }

/* Pitch picker */
.seg { display: flex; gap: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px; }
.seg-btn {
  flex: 1; border: none; background: none; font-family: inherit; font-size: 13.5px; font-weight: 600;
  color: var(--text-2); padding: 9px 8px; border-radius: 9px; cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.seg-btn.on { background: var(--surface); color: var(--accent-ink); box-shadow: var(--shadow); }
.seg-note { font-size: 12.5px; color: var(--text-3); margin: 7px 2px 0; line-height: 1.45; }

/* Voiceprint enrolment */
.vp-card { margin-bottom: 14px; }
.vp-card.enrolled { border-color: rgba(14,159,110,.35); }
.vp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.vp-title { font-size: 15.5px; font-weight: 700; color: var(--text); }
.vp-sub { font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.vp-badge { flex: none; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(14,159,110,.12); color: #067A53; }
.vp-note { font-size: 12.5px; color: var(--text-3); line-height: 1.5; margin: 9px 0 0; }
.vp-note b { color: var(--text-2); }
.vp-read { margin-top: 12px; padding: 12px 13px; background: var(--bg-2); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.vp-read p { margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.vp-meter { height: 5px; border-radius: 999px; background: var(--line); margin-top: 12px; overflow: hidden; }
.vp-meter i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .2s linear; }
.vp-timer { font-size: 11.5px; font-weight: 700; color: var(--text-3); margin-top: 6px; text-align: right; }
.vp-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.vp-actions .btn-block { margin-top: 0; }
.btn-link { flex: none; background: none; border: none; font-family: inherit; font-size: 13px; color: var(--text-3); text-decoration: underline; cursor: pointer; padding: 6px 2px; }

/* A caption we haven't confidently attributed yet. */
.bubble .who.unsure { opacity: .35; font-style: italic; }

/* Tab icons: real strokes rather than glyphs, so they line up and take colour. */
.tab-ico { width: 22px; height: 22px; display: block; margin: 0 auto 3px; }

/* Your setup: documents */
.doc-card { margin-top: 14px; }
.doc-count { font-size: 11px; font-weight: 800; color: var(--accent-ink); background: rgba(46,123,224,.12); border-radius: 999px; padding: 3px 9px; }
.doc-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.doc-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.doc-meta { flex: 1; min-width: 0; }
.doc-name { font-size: 14px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-sub { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.empty-sm { font-size: 13px; color: var(--text-3); padding: 12px 2px; line-height: 1.5; }

/* A value that's set elsewhere, shown inline with a way to go change it. */
.inline-set { display: flex; align-items: center; gap: 10px; padding: 12px 13px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.inline-set-v { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-steps { display: flex; flex-direction: column; gap: 8px; margin: 4px 2px 18px; }
.lstep { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--text-2); }
.lstep b { color: var(--text); }
.ln { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: var(--accent-ink); background: rgba(99,102,241,.14); border: 1px solid rgba(99,102,241,.3); }
.note { font-size: 12.5px; margin-top: 12px; }

/* ============================================================
   v4 — accounts, compete, light-mode chrome
   ============================================================ */

/* Auth */
.brand-icon { border-radius: 14px; box-shadow: 0 8px 20px -8px rgba(14,31,74,.35); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-swap { text-align: center; font-size: 13.5px; color: var(--text-2); margin: 4px 0 0; }
.auth-swap a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }

/* Profile bar (home) */
.profile-bar { padding: 14px 16px; }
.me { display: flex; align-items: center; gap: 11px; min-width: 0; }
.me-avatar {
  width: 40px; height: 40px; border-radius: 13px; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: 17px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 16px -6px var(--accent-glow);
}
.me-text { display: flex; flex-direction: column; min-width: 0; }
.me-name { font-weight: 700; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-sub { font-size: 12px; color: var(--text-3); }
.streak-chip {
  flex: none; font-size: 13px; font-weight: 700; color: #B45309;
  background: rgba(217,119,6,.10); border: 1px solid rgba(217,119,6,.30);
  padding: 6px 11px; border-radius: 999px;
}

/* 4-tab bar */
.tabbar { grid-template-columns: repeat(4, 1fr) !important; }

/* Compete */
.compete-seg { margin-bottom: 14px; }
.board-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 14px 8px; box-shadow: var(--shadow); margin-bottom: 18px;
}
.board-card h3 { margin: 2px 4px 10px; font-size: 15px; }
.empty-sm { color: var(--text-3); font-size: 13.5px; padding: 10px 4px 12px; }
.lb-row {
  display: flex; align-items: center; gap: 11px; padding: 9px 6px;
  border-top: 1px solid var(--line); cursor: pointer;
}
.lb-row:first-of-type { border-top: none; }
.lb-row.me { background: linear-gradient(90deg, rgba(46,123,224,.07), transparent); border-radius: 10px; }
.lb-rank { flex: none; width: 28px; text-align: center; font-weight: 700; font-size: 14px; color: var(--text-3); }
.lb-avatar {
  flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 700; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, #64748B, #94A3B8);
}
.lb-avatar.big { width: 46px; height: 46px; border-radius: 14px; font-size: 19px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.lb-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lb-name b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-name span { font-size: 12px; color: var(--text-3); }
.lb-score { flex: none; font-weight: 800; font-size: 16px; color: var(--accent-ink); font-variant-numeric: tabular-nums; }

.group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 2px 10px; }
.group-head h3 { margin: 0; font-size: 15px; }
.group-btns { display: flex; gap: 8px; }
.group-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow); margin-bottom: 12px; cursor: pointer;
}
.gc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gc-name { display: flex; flex-direction: column; min-width: 0; }
.gc-name b { font-size: 15.5px; }
.gc-name span { font-size: 12px; color: var(--text-3); }
.gc-leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.gc-leader {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.gc-leader span { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3); }
.gc-leader b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-leader i { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; }

/* Modals */
.modal-card {
  width: 100%; max-width: 360px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-lg); text-align: left;
}
.modal-card h3 { margin: 0 0 6px; font-size: 17px; }
.modal-card input { margin-top: 10px; }
.modal-card .overlay-actions { margin-top: 16px; justify-content: flex-end; }
.profile-card { max-height: 78dvh; overflow-y: auto; }
.pf-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pf-name { display: flex; flex-direction: column; }
.pf-name b { font-size: 17px; }
.pf-name span { font-size: 12.5px; color: var(--text-3); }
.pf-diffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.pf-diff {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 9px 10px; display: flex; flex-direction: column; gap: 2px;
}
.pf-diff span { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3); }
.pf-diff b { font-size: 15px; font-variant-numeric: tabular-nums; }
.profile-card .btn-block { margin-top: 16px; }
.profile-card .trend { margin-top: 8px; }

/* Score breakdown + personal best */
.breakdown {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px;
  font-size: 12.5px; color: var(--text-2);
  background: var(--surface-2); border: 1px dashed var(--line-2); border-radius: 12px;
  padding: 10px 12px; margin: 12px 0 4px;
}
.breakdown b { color: var(--text); font-variant-numeric: tabular-nums; }
.breakdown i { font-style: normal; color: var(--text-3); }
.breakdown .bk-total b { color: var(--accent-ink); font-size: 14px; }
.pb-banner {
  background: linear-gradient(135deg, rgba(217,119,6,.12), rgba(217,119,6,.05));
  border: 1px solid rgba(217,119,6,.35); color: #92400E;
  border-radius: var(--radius); padding: 12px 15px; font-size: 14px; margin-bottom: 14px;
  animation: pop .3s var(--ease);
}
.g-dec .g-num { font-size: 30px !important; letter-spacing: -.5px; }

/* ============================================================
   Plans, usage and the paywall
   ============================================================ */

/* The usage strip. Sits at the top of Practice so allowance is something you
   glance at, not something you discover at the worst moment. */
.usage-strip { background: var(--card, #fff); border-radius: 16px; padding: 14px 16px;
  margin-bottom: 14px; box-shadow: 0 1px 3px rgba(16,26,54,.08); }
.usage-strip.staff { background: linear-gradient(135deg,#1d2b52,#2E7BE0); color:#fff; }
.usage-strip.expired { border: 1px solid #f0b429; }
.usage-head { display:flex; align-items:baseline; gap:8px; margin-bottom:10px; }
.usage-head b { font-size: 15px; }
.usage-sub { font-size: 12.5px; opacity: .68; }
.usage-head .link-btn { margin-left: auto; }
.usage-note { font-size: 13.5px; opacity: .78; margin: 0 0 12px; }
.link-btn { background:none; border:0; color:#2E7BE0; font:inherit; font-size:13px;
  font-weight:600; cursor:pointer; padding:0; }

.meter-row { display:flex; justify-content:space-between; align-items:baseline;
  font-size:13.5px; margin-top:9px; }
.meter-label { opacity:.72; }
.meter-val { font-weight:700; font-variant-numeric: tabular-nums; }
.meter-val.low { color:#c77700; }
.meter-val.out { color:#c0392b; }
.meter-track { height:6px; border-radius:99px; background:rgba(120,140,180,.2);
  margin-top:5px; overflow:hidden; }
.meter-fill { height:100%; border-radius:99px; background:#2E7BE0;
  transition: width .35s ease; }
.meter-fill.low { background:#f0a500; }
.meter-fill.out { background:#c0392b; }

/* Paywall + pending: centred, calm, always with a way forward. */
.center-col { display:flex; flex-direction:column; align-items:center;
  text-align:center; gap:14px; padding:36px 22px 40px; }
.center-col .field { width:100%; max-width:340px; text-align:left; }
.limit-art { font-size:44px; line-height:1; opacity:.85; }
.limit-msg { font-size:15.5px; line-height:1.6; max-width:380px; opacity:.85; margin:0; }
.code-input { font-size:30px; letter-spacing:12px; text-align:center; width:100%;
  max-width:260px; padding:14px 10px; border-radius:14px;
  border:1px solid rgba(120,140,180,.35); font-variant-numeric: tabular-nums; }

/* Plan cards */
.plan-head { padding: 4px 4px 16px; }
.plan-head h2 { margin:0 0 6px; font-size:22px; }
.plan-list { display:flex; flex-direction:column; gap:12px; }
.plan-card { background: var(--card,#fff); border-radius:18px; padding:18px;
  box-shadow:0 1px 3px rgba(16,26,54,.08); border:1.5px solid transparent; }
.plan-card.current { border-color:#2E7BE0; }
.plan-top { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; }
.plan-name { font-size:17px; font-weight:700; }
.plan-blurb { font-size:13px; opacity:.7; margin-top:3px; max-width:210px; }
.plan-price { text-align:right; white-space:nowrap; }
.plan-price b { font-size:22px; }
.plan-price span { font-size:12px; opacity:.6; display:block; }
.plan-feats { list-style:none; padding:0; margin:14px 0; font-size:14px; }
.plan-feats li { padding:5px 0 5px 22px; position:relative; opacity:.88; }
.plan-feats li::before { content:"✓"; position:absolute; left:0; color:#2E7BE0; font-weight:700; }
.plan-current { text-align:center; font-size:13.5px; font-weight:600; color:#2E7BE0;
  padding:10px; background:rgba(46,123,224,.08); border-radius:12px; }
.plan-footer { margin-top:22px; text-align:center; }
.plan-legal { margin-top:18px; }
.fine { font-size:12px; opacity:.6; line-height:1.55; }
.btn.danger { color:#c0392b; }
.btn.sm { padding:8px 14px; font-size:13.5px; }
.btn.block { display:block; text-align:center; text-decoration:none; }

/* Account */
.acct-box { background:var(--card,#fff); border-radius:16px; padding:6px 16px;
  margin-bottom:16px; box-shadow:0 1px 3px rgba(16,26,54,.08); }
.acct-row { display:flex; justify-content:space-between; align-items:center;
  gap:12px; padding:12px 0; font-size:14.5px;
  border-bottom:1px solid rgba(120,140,180,.14); }
.acct-row:last-child { border-bottom:0; }
.acct-row span { opacity:.65; }
.acct-links { display:flex; flex-wrap:wrap; gap:16px; justify-content:center;
  margin:22px 0; font-size:13px; }
.danger-zone { margin-top:34px; padding:18px; border-radius:16px;
  border:1px solid rgba(192,57,43,.3); }
.danger-zone h3 { margin:0 0 6px; font-size:15px; color:#c0392b; }
.bar-actions { display:flex; align-items:center; gap:10px; }
.icon-btn { background:none; border:0; font-size:20px; line-height:1; opacity:.6;
  cursor:pointer; padding:4px; }
.icon-btn:hover { opacity:1; }
.pad { padding:20px; text-align:center; }
