/* Calidad Calls. One stylesheet, system fonts, no external assets. */
:root {
  --bg: #f5f6fa; --card: #fff; --text: #1b1d28; --muted: #6b7083; --faint: #9a9fb1;
  --line: #e8e9f0; --line-2: #f0f1f6; --hover: #f7f7fc;
  --accent: #6c5ce7; --accent-2: #8e7ff0; --accent-soft: #f0eefe; --accent-ink: #4b3cc4;
  --ok: #138a5e; --ok-soft: #e6f6ef; --warn: #b26a00; --warn-soft: #fff4e0;
  --bad: #cf3b3b; --bad-soft: #fdecec; --info: #2165d1; --info-soft: #e8f0fd;
  --shadow: 0 1px 2px rgba(20, 22, 40, .04), 0 2px 8px rgba(20, 22, 40, .05);
  --shadow-lg: 0 8px 30px rgba(20, 22, 40, .10);
  --radius: 14px; --side: 248px; --player: 76px;
  font: 14.5px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1 { font-size: 24px; line-height: 1.25; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 28px 0 12px; font-weight: 650; }
h3 { font-size: 15px; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 99px; background: var(--line-2);
  color: var(--muted); font-size: 11.5px; font-weight: 600; text-align: center; letter-spacing: 0; text-transform: none; vertical-align: 1px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); color: var(--text); font-weight: 550; font-size: 13.5px; cursor: pointer; white-space: nowrap; text-decoration: none; }
.btn:hover { background: var(--hover); border-color: #d9dbe6; text-decoration: none; }
.btn svg { width: 16px; height: 16px; color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-ink); }
.btn.done { color: var(--ok); border-color: #bfe6d4; background: var(--ok-soft); }
.btn.wide { width: 100%; justify-content: center; padding: 11px 16px; font-size: 15px; }
.icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; border: 1px solid transparent;
  background: none; color: var(--muted); cursor: pointer; }
.icon-btn:hover:not(:disabled) { background: var(--hover); border-color: var(--line); color: var(--text); }
.icon-btn:disabled { opacity: .4; cursor: default; }

/* Avatars */
.av { --c: #888; display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--c); color: #fff; font-size: 12.5px; font-weight: 650; letter-spacing: .02em; user-select: none; }
.av.md { width: 36px; height: 36px; }
.av.sm { width: 28px; height: 28px; font-size: 11px; }
.av.xs { width: 20px; height: 20px; font-size: 9px; }
.av.more { background: var(--line-2); color: var(--muted); }
.stack { display: inline-flex; align-items: center; }
.stack .av { box-shadow: 0 0 0 2px var(--card); }
.stack .av + .av { margin-left: -6px; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 550;
  background: var(--line-2); color: var(--muted); white-space: nowrap; }
.chip.type-calendar { background: var(--info-soft); color: var(--info); }
.chip.type-crm { background: var(--accent-soft); color: var(--accent-ink); }
.chip.type-hrms { background: #fdeef6; color: #b12c76; }
.chip.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.st-queued, .chip.st-processing, .chip.st-joining, .chip.st-scheduled, .chip.st-pending { background: var(--warn-soft); color: var(--warn); }
.chip.st-recording { background: var(--bad-soft); color: var(--bad); }
.chip.st-not_admitted, .chip.st-missed, .chip.st-cancelled { background: var(--line-2); color: var(--muted); }
.chip.st-failed { background: var(--bad-soft); color: var(--bad); }
.chip.guest { background: var(--warn-soft); color: var(--warn); font-size: 11px; padding: 0 7px; }

/* App shell */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 18px 14px;
  background: var(--card); border-right: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; font-weight: 700; font-size: 16.5px; color: var(--text); letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-shadow: 0 4px 12px rgba(108, 92, 231, .3); }
.logo-mark svg { width: 18px; height: 18px; stroke-width: 2.2; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 10px; color: #3d4152; font-weight: 550; }
.nav a svg { color: var(--faint); }
.nav a:hover { background: var(--hover); text-decoration: none; }
.nav a.on { background: var(--accent-soft); color: var(--accent-ink); }
.nav a.on svg { color: var(--accent); }
.me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px 4px; border-top: 1px solid var(--line-2); }
.me-text { min-width: 0; flex: 1; }
.me-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-sub { font-size: 12px; color: var(--muted); }
.badge { display: inline-block; margin-top: 2px; padding: 1px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink);
  font-size: 11px; font-weight: 600; white-space: nowrap; }
.me form { margin: 0; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 5; padding: 14px 32px; background: rgba(245, 246, 250, .86);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.search { position: relative; max-width: 720px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.search input { width: 100%; padding: 11px 14px 11px 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  font: inherit; box-shadow: var(--shadow); outline: none; }
.search input:focus { border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(108, 92, 231, .12); }
.content { width: 100%; max-width: 1320px; padding: 8px 32px 64px; }
body.with-player .content { padding-bottom: calc(var(--player) + 48px); }

/* Calls list */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 10px 0 8px; }
.page-head p { margin: 4px 0 0; }
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.segmented { display: inline-flex; padding: 3px; background: #ebecf3; border-radius: 11px; }
.segmented a { padding: 5px 13px; border-radius: 8px; color: var(--muted); font-weight: 550; font-size: 13.5px; }
.segmented a:hover { color: var(--text); text-decoration: none; }
.segmented a.on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(20, 22, 40, .12); }
.toggle { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--muted); font-weight: 550; font-size: 13.5px; }
.toggle svg { width: 15px; height: 15px; }
.toggle:hover { color: var(--text); text-decoration: none; }
.toggle.on { background: var(--accent-soft); border-color: #d9d4fb; color: var(--accent-ink); }
.day-label { margin: 26px 0 10px 4px; }
.calls { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.calls li + li { border-top: 1px solid var(--line-2); }
.call-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; color: inherit; transition: background .12s; }
.call-row:hover { background: var(--hover); text-decoration: none; }
.call-row:hover .title { color: var(--accent-ink); }
.kind-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; flex: none; margin-top: 1px; }
.kind-meeting { background: var(--info-soft); color: var(--info); }
.kind-interview { background: var(--accent-soft); color: var(--accent); }
.row-main { flex: 1; min-width: 0; }
.row-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.title { font-weight: 650; font-size: 15px; }
.row-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 3px; color: var(--muted); font-size: 13px; }
.verdict-mini b { color: var(--text); }
.snippet { margin: 6px 0 0; color: #4a4e60; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.snippet mark, .tx mark { background: #ffe98a; color: inherit; border-radius: 3px; padding: 0 1px; }
.row-side { flex: none; padding-top: 6px; }
.empty { padding: 48px 24px; text-align: center; color: var(--muted); }
.empty-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); margin-bottom: 8px; }
.empty-icon svg { width: 24px; height: 24px; }
.pages { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }

/* Call page */
.back { display: inline-flex; align-items: center; gap: 4px; margin: 6px 0 12px; color: var(--muted); font-weight: 550; font-size: 13.5px; }
.back svg { width: 16px; height: 16px; }
.call-head { display: flex; justify-content: space-between; gap: 20px; padding: 22px 24px; flex-wrap: wrap; }
.head-main { min-width: 0; flex: 1 1 420px; }
.head-chips { display: flex; gap: 6px; margin-bottom: 8px; }
.head-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.head-meta span { display: inline-flex; align-items: center; gap: 6px; }
.head-meta svg { width: 15px; height: 15px; }
.head-meta span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--faint); margin-right: 10px; }
.head-people { display: flex; align-items: center; margin-top: 14px; }
.head-people .av { box-shadow: 0 0 0 2px var(--card); }
.head-people .av + .av { margin-left: -7px; }
.head-people .muted { margin-left: 10px; }
.head-actions { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.state { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 18px; }
.state-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--faint); flex: none; }
.state.st-queued .state-dot, .state.st-processing .state-dot, .state.st-joining .state-dot { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); animation: pulse 1.6s infinite; }
.state.st-recording .state-dot { background: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft); animation: pulse 1.6s infinite; }
.state.st-failed .state-dot { background: var(--bad); }
@keyframes pulse { 50% { opacity: .45; } }
.call-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; margin-top: 20px; }
.call-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; }
.video { overflow: hidden; margin-bottom: 16px; background: #0d0e14; }
.video video { display: block; width: 100%; max-height: 56vh; background: #0d0e14; }

/* Tabs */
.tablist { display: flex; gap: 4px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.tablist button { position: relative; padding: 14px 12px 13px; border: 0; background: none; color: var(--muted); font-weight: 600; cursor: pointer; }
.tablist button:hover { color: var(--text); }
.tablist button[aria-selected="true"] { color: var(--accent-ink); }
.tablist button[aria-selected="true"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); }
.tabpanel { padding: 4px 26px 26px; }
.tabpanel > h2:first-child, .tabpanel > .verdict:first-child { margin-top: 22px; }
.overview { margin: 0; font-size: 15px; line-height: 1.7; color: #2c2f3d; }

.actions, .decisions, .topics, .open-qs, .points, .talk, .people-list { list-style: none; margin: 0; padding: 0; }
.actions li, .decisions li { display: flex; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fcfcfe; }
.actions li + li, .decisions li + li { margin-top: 8px; }
.decisions li { flex-direction: column; gap: 4px; border-left: 3px solid var(--accent-2); }
.tick { width: 18px; height: 18px; border-radius: 6px; border: 1.8px solid #c9cbe0; flex: none; margin-top: 2px; }
.item-body { flex: 1; min-width: 0; }
.item-text { font-weight: 550; }
.item-meta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 14px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.owner { display: inline-flex; align-items: center; gap: 6px; color: #3d4152; font-weight: 550; }
details.quote summary { cursor: pointer; color: var(--accent-ink); font-weight: 550; list-style: none; }
details.quote summary::-webkit-details-marker { display: none; }
details.quote summary::before { content: "❝ "; }
details.quote[open] { flex-basis: 100%; }
blockquote { margin: 6px 0 0; padding: 8px 12px; border-left: 3px solid var(--accent-2); background: var(--accent-soft); border-radius: 0 8px 8px 0;
  color: #3d4152; font-style: italic; }
.ts-quote { margin-left: 6px; border: 0; background: var(--card); color: var(--accent-ink); border-radius: 6px; padding: 0 7px; font-size: 12px; font-style: normal; font-weight: 600; cursor: pointer; }
.topics li, .open-qs li { position: relative; padding: 6px 0 6px 22px; }
.topics li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }
.open-qs li::before { content: "?"; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--warn-soft);
  color: var(--warn); font-size: 11px; font-weight: 700; text-align: center; line-height: 16px; }

/* Interview report */
.verdict { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 20px; border-radius: 14px;
  border: 1px solid var(--line); background: linear-gradient(135deg, #fbfbff, #f3f1ff); flex-wrap: wrap; }
.eyebrow { font-size: 11.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; color: var(--accent-ink); }
.verdict-value { font-size: 26px; font-weight: 750; margin: 2px 0; letter-spacing: -.01em; }
.verdict p { margin: 0; color: var(--muted); }
.v-select .verdict-value { color: var(--ok); }
.v-on-hold .verdict-value { color: var(--warn); }
.v-reject .verdict-value { color: var(--bad); }
.score-big { min-width: 170px; text-align: right; }
.score-big b { font-size: 30px; font-weight: 750; }
.score-big span { color: var(--muted); margin-left: 4px; }
.bar { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.bar.thin { height: 6px; margin: 4px 0 3px; }
.bar.low i { background: var(--bad); } .bar.mid i { background: #e0a100; } .bar.high i { background: var(--ok); }
.question { padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: #fcfcfe; }
.question + .question { margin-top: 10px; }
.question.not-asked { opacity: .7; }
.q-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.q-score { font-size: 18px; font-weight: 700; white-space: nowrap; }
.q-score small { color: var(--muted); font-weight: 500; font-size: 12px; }
.question > p { margin: 8px 0; }
.points li { display: flex; gap: 10px; padding: 5px 0; }
.kp-mark { width: 18px; height: 18px; border-radius: 50%; flex: none; margin-top: 2px; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.covered .kp-mark { background: var(--ok-soft); color: var(--ok); } .covered .kp-mark::before { content: "✓"; }
.partial .kp-mark { background: var(--warn-soft); color: var(--warn); } .partial .kp-mark::before { content: "◐"; }
.missing .kp-mark { background: var(--bad-soft); color: var(--bad); } .missing .kp-mark::before { content: "✕"; }
.kp-verdict { font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); margin-left: 4px; }
.points q { display: block; color: var(--muted); font-size: 13px; font-style: italic; margin-top: 2px; }
.points q::before { content: "“"; } .points q::after { content: "”"; }
.flag { color: var(--bad); background: var(--bad-soft); padding: 6px 10px; border-radius: 8px; font-size: 13px; margin: 8px 0 0; }

/* Transcript */
.tx-tools { position: sticky; top: 0; display: flex; align-items: center; gap: 6px; padding: 14px 0 10px; background: var(--card); z-index: 1; }
.tx-search { position: relative; flex: 1; max-width: 360px; }
.tx-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--faint); }
.tx-search input { width: 100%; padding: 8px 12px 8px 34px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--bg); outline: none; }
.tx-search input:focus { border-color: var(--accent-2); background: var(--card); }
.tx-count { margin-left: 4px; min-width: 64px; }
.tx { max-height: calc(100vh - var(--player) - 170px); min-height: 280px; overflow-y: auto; margin: 0 -14px; padding: 0 6px; scroll-behavior: smooth; }
.para { display: flex; gap: 12px; padding: 12px 8px; border-radius: 12px; cursor: pointer; transition: background .15s; }
.para:hover { background: var(--hover); }
.para.now { background: var(--accent-soft); }
.para-body { min-width: 0; flex: 1; }
.para-head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.spk { font-weight: 650; }
.para p { margin: 0; color: #2c2f3d; line-height: 1.65; }
.seg.now { background: rgba(108, 92, 231, .16); border-radius: 4px; box-shadow: 0 0 0 2px rgba(108, 92, 231, .16); }
.tx mark.cur { background: #ffb547; }
.ts { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); background: none; border: 0; border-radius: 5px; padding: 1px 5px; cursor: pointer; }
.ts:hover:not(:disabled) { background: var(--accent-soft); color: var(--accent-ink); }
.ts:disabled { cursor: default; }
.transcript { position: relative; }
.resume { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); box-shadow: var(--shadow-lg); border-color: #d9d4fb; color: var(--accent-ink); }

/* Side cards */
.side-card { padding: 4px 18px 16px; }
.side-card h2 { margin: 16px 0 12px; }
.talk li, .people-list li { display: flex; gap: 10px; align-items: center; padding: 6px 0; }
.talk-body { flex: 1; min-width: 0; }
.talk-row { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.talk-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.people-list li > div { min-width: 0; font-size: 13.5px; overflow-wrap: anywhere; }
.rec-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; color: var(--muted); font-size: 13px; }
.rec-note svg { color: var(--accent); margin-top: 1px; }
.rec-note p { margin: 0; }

/* Player bar */
.player { position: fixed; left: var(--side); right: 0; bottom: 0; z-index: 10; height: var(--player); display: flex; align-items: center; gap: 18px;
  padding: 0 28px; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(20, 22, 40, .06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pl-buttons { display: flex; align-items: center; gap: 6px; }
.pl-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: #3d4152; cursor: pointer; }
.pl-btn:hover { background: var(--hover); }
.pl-btn svg { width: 24px; height: 24px; stroke-width: 1.6; }
.pl-btn text { font: 700 7.5px -apple-system, BlinkMacSystemFont, sans-serif; fill: currentColor; stroke: none; }
.pl-play { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer;
  box-shadow: 0 4px 14px rgba(108, 92, 231, .35); }
.pl-play:hover { background: var(--accent-ink); }
.pl-play svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.pl-play .i-pause, .player.playing .pl-play .i-play { display: none; }
.player.playing .pl-play .i-pause { display: block; }
.pl-time { font: 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); white-space: nowrap; min-width: 92px; }
.pl-track { flex: 1; min-width: 0; cursor: pointer; padding: 8px 0; outline: none; }
.pl-progress { position: relative; height: 6px; border-radius: 99px; background: #e6e7ef; }
.pl-progress i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--accent); }
.pl-progress span { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff;
  border: 3px solid var(--accent); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); transition: transform .1s; }
.pl-track:hover .pl-progress span, .pl-track:focus-visible .pl-progress span { transform: scale(1.2); }
.pl-timeline { position: relative; height: 8px; margin-top: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.pl-timeline i { position: absolute; top: 0; bottom: 0; opacity: .85; }
.pl-speed { min-width: 52px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--card); font-weight: 650; font-size: 13px; cursor: pointer; }
.pl-speed:hover { background: var(--hover); }

/* Login */
body.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(1200px 600px at 10% -10%, #ece8ff 0, transparent 60%), radial-gradient(900px 500px at 110% 110%, #e3efff 0, transparent 55%), var(--bg); }
.login { width: min(400px, 100%); padding: 36px 32px 28px; text-align: center; box-shadow: var(--shadow-lg); }
.login-logo { justify-content: center; padding-bottom: 22px; }
.login h1 { margin-bottom: 8px; }
.login > p { margin: 0 0 20px; }
.login .small { margin: 16px 0 0; }
.login .g { width: 18px; height: 18px; background: #fff; border-radius: 4px; padding: 2px; box-sizing: content-box; stroke: none; }
.error { color: var(--bad); background: var(--bad-soft); padding: 8px 12px; border-radius: 10px; font-size: 13.5px; }

/* Smaller screens: the sidebar becomes a top bar */
@media (max-width: 1100px) {
  .call-grid { grid-template-columns: minmax(0, 1fr) 270px; }
}
@media (max-width: 900px) {
  :root { --side: 0px; }
  .shell { display: block; }
  .side { position: sticky; top: 0; z-index: 6; height: auto; flex-direction: row; align-items: center; gap: 8px; padding: 8px 12px;
    border-right: 0; border-bottom: 1px solid var(--line); }
  .logo { padding: 0 4px 0 0; }
  .logo > span:last-child { display: none; }
  .nav { flex-direction: row; overflow-x: auto; flex: 1; scrollbar-width: none; }
  .nav a { padding: 7px 10px; white-space: nowrap; }
  .nav a svg { display: none; }
  .me { margin: 0; padding: 0; border: 0; }
  .me-text { display: none; }
  .topbar { position: static; padding: 12px 16px 4px; }
  .content { padding: 8px 16px 48px; }
  .call-grid { grid-template-columns: 1fr; }
  .call-side { position: static; }
  .call-head { padding: 18px; }
  .tabpanel { padding: 4px 16px 20px; }
  .tx { max-height: 70vh; }
  .player { gap: 10px; padding: 0 12px; flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 8px; }
  .pl-track { order: -1; flex-basis: 100%; padding: 4px 0; }
  .pl-time { flex: 1; min-width: 0; }
  :root { --player: 104px; }
}
@media (max-width: 560px) {
  .call-row { padding: 14px; gap: 10px; }
  .kind-icon { display: none; }
  .row-side { display: none; }
  .head-actions .btn span { display: none; }
  .head-actions .btn { padding: 8px 10px; }
  h1 { font-size: 21px; }
}
