/* Transkey theme. Tokens come from docs/design-tokens.md; the *-strong
   values are the contrast-audited replacements for fills that fail WCAG AA as
   supplied. Layout follows the conventions of mainstream call products:
   preview-first join, a dark call stage with a floating control bar, and a
   tabbed side panel. */
:root {
  --primary: #1D6AF0; --primary-strong: #1558CF;
  --on-primary: #FFFFFF;
  --primary-soft: #E8F0FF;
  --secondary: #2563EB;
  --accent: #0A78D1;
  --bg: #FAFCFF;
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  --text: #0F172A;
  --text-2: #5B6B82;
  --border: #E2E8F0;
  --border-strong: #64748B;
  --success: #047857;
  --warning-text: #B45309;
  --warning-fill: #F59E0B;
  --error: #DC2626;
  --focus: #1D6AF0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .18);
  --radius: 16px;
  --radius-lg: 24px;
  --glow-a: rgba(29, 106, 240, .14);
  --glow-b: rgba(6, 182, 212, .14);
  --brand: #2987FF; --brand-ink: #374560;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --primary: #6CB0FF; --primary-strong: #6CB0FF;
  --on-primary: #0B1220;
  --primary-soft: rgba(108,176,255, .14);
  --secondary: #60A5FA;
  --accent: #7CC4FF;
  --bg: #0B1220;
  --surface: #111827;
  --surface-alt: #1F2937;
  --text: #F1F5F9;
  --text-2: #94A3B8;
  --border: #334155;
  --success: #34D399;
  --warning-text: #FBBF24;
  --error: #F87171;
  --focus: #A9D0FF;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
  --glow-a: rgba(108,176,255, .16);
  --glow-b: rgba(59, 130, 246, .14);
  --brand: #5AA2FF; --brand-ink: #E6ECF7;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #6CB0FF; --primary-strong: #6CB0FF; --on-primary: #0B1220; --primary-soft: rgba(108,176,255, .14);
    --secondary: #60A5FA; --accent: #7CC4FF; --bg: #0B1220; --surface: #111827;
    --surface-alt: #1F2937; --text: #F1F5F9; --text-2: #94A3B8; --border: #334155;
    --success: #34D399; --warning-text: #FBBF24; --error: #F87171; --focus: #A9D0FF;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
    --glow-a: rgba(108,176,255, .16); --glow-b: rgba(59, 130, 246, .14); --brand: #5AA2FF; --brand-ink: #E6ECF7; color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 1rem/1.55 "Inter var", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Sinhala", "Noto Sans Tamil", "Noto Sans Arabic", sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); letter-spacing: -.035em; font-weight: 750; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .75rem; }
a { color: var(--secondary); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: .5rem; top: -4rem; background: var(--surface); padding: .5rem .75rem; border-radius: 8px; z-index: 50; }
.skip:focus { top: .5rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.ic { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* page chrome */
.shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; position: relative; isolation: isolate; }
.shell::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 36rem; z-index: -1; pointer-events: none;
  background: radial-gradient(40rem 22rem at 15% 0%, var(--glow-a), transparent 70%), radial-gradient(36rem 20rem at 90% 10%, var(--glow-b), transparent 70%); }
.topbar { display: flex; align-items: center; gap: .75rem; padding: .85rem clamp(1rem, 4vw, 2rem); }
.brand { white-space: nowrap; display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); font-weight: 750; font-size: 1.2rem; letter-spacing: -.02em; }
.brand img { height: 30px; width: auto; display: block; }
.tk { color: var(--brand); font-weight: 750; letter-spacing: -.02em; }
.tk .k { color: var(--brand-ink); }
.spacer { flex: 1; }
main { width: 100%; max-width: 72rem; margin: 0 auto; padding: 1rem clamp(1rem, 4vw, 2rem) 3rem; flex: 1; }
.narrow { max-width: 36rem; margin-inline: auto; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.1rem, 3vw, 1.75rem); box-shadow: var(--shadow); }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
.center { margin-inline: auto; }
.mt { margin-top: .75rem; }

/* buttons */
button, .btn, input, select { font: inherit; color: inherit; }
.btn, button { min-height: 44px; padding: .6rem 1.15rem; border-radius: 999px; border: 1px solid var(--border); background: var(--btn-bg, var(--surface)); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; text-decoration: none; font-weight: 600; transition: background .15s, box-shadow .15s, transform .05s; }
/* Hover only changes the default fill (a variable), so a button with its own colour (primary,
   danger, New, Join, chips) keeps it instead of turning pale. Components style their own hover. */
.btn:hover:not(:disabled), button:hover:not(:disabled) { --btn-bg: var(--surface-alt); }
.btn.ghost:hover:not(:disabled) { background: var(--surface-alt); }
.btn.danger:hover:not(:disabled) { filter: brightness(.93); background: var(--error); }
button:active:not(:disabled) { transform: translateY(1px); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); box-shadow: 0 6px 18px -6px var(--primary); }
.btn.primary:hover:not(:disabled) { filter: brightness(.93); background: var(--primary); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.danger { background: var(--error); border-color: var(--error); color: #fff; }
:root[data-theme="dark"] .btn.danger { color: #0B1220; }
.btn.big { min-height: 56px; font-size: 1.05rem; padding-inline: 1.6rem; }
.btn.sm { min-height: 36px; padding: .3rem .9rem; font-size: .875rem; }
.btn.icon { width: 44px; padding: 0; }
button:disabled { opacity: .5; cursor: not-allowed; }
/* Working: stays readable and says so, rather than looking switched off. */
button[aria-busy="true"]:disabled { opacity: .85; cursor: progress; }
.spin { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2s; } }

/* forms */
label { display: block; font-weight: 600; margin-bottom: .3rem; }
.hint { font-weight: 400; color: var(--text-2); font-size: .875rem; display: block; }
input[type=text], select { width: 100%; min-height: 48px; padding: .6rem .9rem; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
input[type=text]:hover, select:hover { border-color: var(--text-2); }
input[type=text]:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; padding-inline-end: 2.4rem; }
.field { margin-bottom: 1rem; }
.err { color: var(--error); font-weight: 600; margin-top: .35rem; }
.notice { display: flex; gap: .65rem; align-items: flex-start; border: 1px solid var(--border); background: var(--surface-alt); padding: .8rem 1rem; border-radius: 14px; font-size: .94rem; }
.notice .ic { margin-top: .15rem; color: var(--secondary); }
.notice.warn .ic { color: var(--warning-text); }
.notice.bad { border-color: var(--error); } .notice.bad .ic { color: var(--error); }
.copy { display: flex; gap: .5rem; }
.copy input { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; }

/* switch and choice cards */
.switch { display: flex; gap: .85rem; align-items: flex-start; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); cursor: pointer; font-weight: 500; margin-bottom: 0; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--border-strong); transition: background .2s; margin-top: 2px; }
.switch .track::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s; }
.switch input:checked + .track { background: var(--primary); }
.switch input:checked + .track::after { transform: translateX(18px); }
[dir=rtl] .switch input:checked + .track::after { transform: translateX(-18px); }
.switch input:focus-visible + .track { outline: 3px solid var(--focus); outline-offset: 2px; }
.switch:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.choices { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.choice { position: relative; display: block; padding: 1rem 1rem 1rem 3rem; border: 1.5px solid var(--border); border-radius: 16px; cursor: pointer; margin-bottom: 0; font-weight: 500; background: var(--surface); }
.choice input { position: absolute; inset-inline-start: 1rem; top: 1.15rem; width: 1.2rem; height: 1.2rem; accent-color: var(--primary); margin: 0; }
.choice:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.choice strong { display: block; }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

/* pills and chips */
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .7rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-alt); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--text-2); }
.pill.ok::before { background: var(--success); } .pill.warn::before { background: var(--warning-fill); }
.pill.bad::before { background: var(--error); } .pill.info::before { background: var(--secondary); }
.pill.plain::before { display: none; }

/* landing */
.hero { display: grid; gap: 2.5rem; align-items: center; padding: clamp(1rem, 5vw, 3.5rem) 0; grid-template-columns: 1fr; }
@media (min-width: 62rem) { .hero { grid-template-columns: 1.05fr .95fr; } }
.hero p.lead { color: var(--text-2); font-size: 1.2rem; max-width: 34rem; margin: 1rem 0 1.75rem; }
.hero .joinrow { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hero .joinrow form { display: flex; gap: .5rem; flex: 1 1 18rem; min-width: 0; }
.hero .joinrow input { border-radius: 999px; }
.eyebrow { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; font-size: .875rem; color: var(--primary-strong); background: var(--primary-soft); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.demo { position: relative; padding: 1.25rem; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--surface), var(--surface-alt)); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.demo .dtiles { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.demo .dtile { aspect-ratio: 4 / 5; border-radius: 18px; display: grid; place-items: center; position: relative; overflow: hidden; }
.demo .dtile.a { background: linear-gradient(160deg, #1D6AF022, #06B6D422); }
.demo .dtile.b { background: linear-gradient(160deg, #6CB0FF22, #3B82F622); }
.demo .av { width: 4.2rem; height: 4.2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, #1D6AF0, #0E7490); }
.demo .dtile.b .av { background: linear-gradient(135deg, #0F766E, #1D4ED8); }
.demo .tag { position: absolute; inset-inline-start: .6rem; bottom: .6rem; background: rgba(15, 23, 42, .75); color: #fff; font-size: .75rem; padding: .15rem .55rem; border-radius: 8px; }
.demo .bubble { margin-top: .75rem; padding: .7rem .9rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: .92rem; box-shadow: var(--shadow-sm); }
.demo .bubble small { display: block; color: var(--text-2); font-size: .75rem; }
.demo .bubble.t { margin-inline-start: 1.5rem; background: var(--primary-soft); border-color: transparent; }
.features { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-top: 1rem; }
.feature { padding: 1.25rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.feature .fi { width: 2.5rem; height: 2.5rem; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: .75rem; }
.feature p { color: var(--text-2); margin: 0; font-size: .94rem; }
.foot { text-align: center; color: var(--text-2); font-size: .85rem; margin-top: 2.5rem; max-width: 44rem; margin-inline: auto; }

/* pre-join */
.prejoin { display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; grid-template-columns: minmax(0, 1fr); grid-template-areas: "pv" "pn" "nx"; }
.prejoin > .pvwrap { grid-area: pv; } .prejoin > .joinpanel { grid-area: pn; } .prejoin > .nextcard { grid-area: nx; }
@media (min-width: 62rem) { .prejoin { grid-template-columns: minmax(0, 1.15fr) minmax(22rem, .85fr); grid-template-areas: "pv pn" "nx pn"; grid-template-rows: auto 1fr; } }
.preview { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); background: radial-gradient(60% 80% at 30% 20%, #1e3a8a55, transparent), #0b1220; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-lg); color: #fff; }
.preview .avatar { width: clamp(4.5rem, 14vw, 7rem); height: clamp(4.5rem, 14vw, 7rem); font-size: clamp(1.8rem, 6vw, 3rem); }
.preview .pn { position: absolute; inset-inline-start: 1rem; top: 1rem; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: .25rem .75rem; border-radius: 10px; font-size: .9rem; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview .pbar { position: absolute; inset-inline: 0; bottom: 0; padding: 1rem; display: flex; gap: .75rem; align-items: center; justify-content: center; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.roundbtn { width: 52px; height: 52px; min-height: 52px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.roundbtn:hover:not(:disabled) { background: rgba(255,255,255,.28); }
.roundbtn.on { background: #fff; color: #0F172A; }
.meter { flex: 1; max-width: 12rem; height: 8px; border-radius: 6px; background: rgba(255,255,255,.2); overflow: hidden; }
.meter > i { display: block; height: 100%; width: 0; background: #34D399; transition: width .08s linear; }
.preview .pnote { position: absolute; inset-inline: 1rem; top: 3.4rem; text-align: center; font-size: .82rem; color: rgba(255,255,255,.8); }
.avatar { border-radius: 50%; background: linear-gradient(135deg, #1D6AF0, #0E7490); color: #fff; display: grid; place-items: center; font-weight: 700; }
.joinpanel h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .25rem; }
.langpair { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 30rem) and (max-width: 61.99rem), (min-width: 75rem) { .langpair { grid-template-columns: 1fr 1fr; } }

.steps { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: .8rem; align-items: flex-start; color: var(--text-2); font-size: .94rem; }
.steps li::before { content: counter(s); flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: .85rem; }
.steps strong { color: var(--text); display: block; }

/* invitation card */
.invite { display: grid; gap: 1rem; }
.invite .big { font-size: 1.1rem; }
details.keyinfo { border: 1px solid var(--border); border-radius: 14px; background: var(--surface-alt); }
details.keyinfo summary { padding: .75rem 1rem; cursor: pointer; font-weight: 600; min-height: 44px; display: flex; gap: .5rem; align-items: center; }
details.keyinfo > div { padding: 0 1rem 1rem; }

/* ===== call room: Meet, Zoom and Teams conventions. The stage fills the screen, the other person
   is large and you are a small corner view, a shared screen takes the stage with people in a
   strip, and one floating bar holds the controls. Always dark, like those products. ===== */
.callroot {
  --bg: #0B1220; --surface: #111827; --surface-alt: #1F2937; --text: #F1F5F9; --text-2: #A8B5C8; --border: #334155;
  --primary: #6CB0FF; --primary-strong: #6CB0FF; --on-primary: #0B1220; --primary-soft: rgba(108,176,255,.16); --success: #34D399; --warning-text: #FBBF24; --error: #F87171; --focus: #A9D0FF; --brand: #5AA2FF; --brand-ink: #E6ECF7;
  color-scheme: dark; color: var(--text);
  background: radial-gradient(900px 480px at 50% -12%, rgba(108,176,255,.11), transparent 70%), radial-gradient(700px 400px at 100% 110%, rgba(59,130,246,.09), transparent 70%), #0B1220;
  position: fixed; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); overflow: hidden;
}
@supports (height: 100dvh) { .callroot { height: 100dvh; } }

/* header */
.callhead { display: flex; align-items: center; gap: .75rem; padding: .55rem .9rem; min-height: 3.5rem; }
.ch-left { display: flex; align-items: center; gap: .75rem; min-width: 0; flex: 1; }
.callhead .brand img { height: 26px; }
.ch-title { display: grid; min-width: 0; line-height: 1.2; }
.ch-title strong { font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-meta { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.livedot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--text-2); flex: none; }
.livedot.ok { background: var(--success); box-shadow: 0 0 0 3px rgba(52,211,153,.2); }
.livedot.warn { background: #F59E0B; } .livedot.bad { background: var(--error); } .livedot.info { background: #60A5FA; }
.ch-right { display: flex; align-items: center; gap: .4rem; }
.hbtn { min-height: 40px; min-width: 40px; padding: 0 .8rem; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-size: .85rem; font-weight: 600; }
.hbtn:hover:not(:disabled) { background: rgba(255,255,255,.13); }

/* stage */
.stagewrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 0 .75rem; gap: .75rem; }
@media (min-width: 62rem) { .stagewrap.paneopen { grid-template-columns: minmax(0, 1fr) 23.5rem; } }
.stage { position: relative; min-height: 0; min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr); }
.stage > .card.alone { align-self: center; justify-self: center; }
.rgrid { position: relative; display: grid; gap: .6rem; min-height: 0; min-width: 0; height: 100%; }
.rgrid.solo { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 56rem) { .rgrid.solo:has(.alone) { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.rgrid.solo .alone { align-self: center; justify-self: center; width: 100%; max-width: 34rem; }
.rgrid.solo .waitnote { position: absolute; inset-inline: 0; bottom: 4.2rem; text-align: center; margin: 0; text-shadow: 0 1px 8px #000; }
.rgrid.duo { grid-template-columns: minmax(0, 1fr); }
.rgrid.grid { grid-template-columns: 1fr; grid-auto-rows: minmax(0, 1fr); }
@media (min-width: 40rem) {
  .rgrid.grid.n2 { grid-template-columns: 1fr 1fr; }
  .rgrid.grid.n3, .rgrid.grid.n4 { grid-template-columns: 1fr 1fr; }
  .rgrid.grid.n3 .tile:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - .3rem); }
}
.rgrid.focus { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 6.6rem; }
@media (min-width: 56rem) { .rgrid.focus { grid-template-columns: minmax(0, 1fr) 13.5rem; grid-template-rows: minmax(0, 1fr); } }
.mainstage { min-height: 0; min-width: 0; display: grid; }
.strip { display: flex; gap: .55rem; min-height: 0; min-width: 0; overflow: auto; scrollbar-width: thin; }
@media (min-width: 56rem) { .strip { flex-direction: column; } .strip .tile { flex: none; aspect-ratio: 16 / 10; width: 100%; } }
.strip .tile { flex: none; height: 100%; aspect-ratio: 16 / 10; }
@media (min-width: 56rem) { .strip .tile { height: auto; } }

/* tiles */
.tile { position: relative; min-width: 0; min-height: 0; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #1d2738, #131b29); border: 1px solid rgba(255,255,255,.08); display: grid; place-items: center; isolation: isolate; transition: box-shadow .18s, border-color .18s; }
.tile.speaking { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary), 0 0 30px -6px var(--primary); }
.tile .avatar { width: clamp(3.4rem, 9vw, 6.6rem); height: clamp(3.4rem, 9vw, 6.6rem); font-size: clamp(1.4rem, 3.6vw, 2.7rem); }
.tile.hasvideo { background: #000; }
.tile .vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .vid.self { transform: scaleX(-1); }
.tile.share { background: #05080f; }
.tile.share .vid { object-fit: contain; background: #05080f; }
.tile .waiting { margin: 0; }
.tile .nm { position: absolute; inset-inline-start: .6rem; bottom: .6rem; display: flex; gap: .4rem; align-items: center; max-width: calc(100% - 1.2rem); background: rgba(8,12,20,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; padding: .22rem .6rem; border-radius: 9px; font-size: .84rem; z-index: 2; }
.tile .nm > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .nm .hand { display: inline-flex; color: #FBBF24; }
.tile .nm .hand .ic { width: 1.05em; height: 1.05em; }
.tile .tl { position: absolute; inset-inline-end: .6rem; bottom: .6rem; background: rgba(8,12,20,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #E2E8F0; padding: .2rem .55rem; border-radius: 9px; font-size: .74rem; z-index: 2; }
.tile .away { position: absolute; inset-inline-end: .6rem; top: .6rem; z-index: 2; }
.tile .hostbadge, .tile .presbadge { position: absolute; inset-inline-start: .6rem; top: .6rem; z-index: 2; background: rgba(8,12,20,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #E2E8F0; border-color: rgba(255,255,255,.12); font-size: .74rem; }
.tile .presbadge { inset-block-start: 2.2rem; color: var(--primary); }
.tile .llbadge { position: absolute; inset-inline-end: .6rem; top: .6rem; z-index: 2; display: inline-flex; gap: .3rem; align-items: center; background: rgba(8,12,20,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #FDE68A; border-color: rgba(255,255,255,.12); font-size: .74rem; }
.tile .llbadge svg { width: .9rem; height: .9rem; }
.tile.pip .llbadge, .tile.thumb .llbadge { display: none; }
.tile .tilebtn { position: absolute; inset-inline-end: .5rem; top: .5rem; z-index: 3; width: 34px; height: 34px; min-height: 0; padding: 0; border-radius: 50%; border: 0; background: rgba(8,12,20,.66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .15s; }
.tile:hover .tilebtn, .tile .tilebtn:focus-visible, .tile .tilebtn[aria-pressed=true] { opacity: 1; }
.tile .tilebtn[aria-pressed=true] { background: var(--primary); color: var(--on-primary); }
@media (hover: none) { .tile .tilebtn { opacity: .85; width: 30px; height: 30px; } }
.tile .away + .tilebtn { inset-block-start: 2.2rem; }
/* your own corner view */
.rgrid.duo .tile.pip { position: absolute; inset-inline-end: .75rem; bottom: .75rem; width: clamp(7.5rem, 22%, 15rem); aspect-ratio: 16 / 10; z-index: 3; box-shadow: 0 14px 40px -8px rgba(0,0,0,.7); border-color: rgba(255,255,255,.18); }
.tile.pip .tl, .tile.pip .tilebtn, .tile.thumb .tl, .tile.thumb .hostbadge, .tile.thumb .presbadge { display: none; }
.tile.pip .nm, .tile.thumb .nm { font-size: .72rem; inset-inline-start: .4rem; bottom: .4rem; padding: .12rem .4rem; }
.tile.pip .avatar, .tile.thumb .avatar { width: 2.6rem; height: 2.6rem; font-size: 1.1rem; }
@media (max-width: 40rem) {
  .rgrid.duo .tile.pip { width: 6.2rem; aspect-ratio: 3 / 4; inset-inline-end: .5rem; bottom: .5rem; }
  .tile { border-radius: 14px; }
  .tile .tl { font-size: .68rem; }
}

/* status, share and join requests overlays */
.statusbar { position: absolute; z-index: 5; top: .5rem; inset-inline: 0; margin-inline: auto; width: fit-content; max-width: min(40rem, calc(100% - 1rem)); display: grid; gap: .35rem; pointer-events: none; }
.sline { display: flex; gap: .5rem; align-items: flex-start; padding: .38rem .8rem; border-radius: 12px; background: rgba(12,18,30,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); font-size: .82rem; line-height: 1.35; animation: pop .22s ease-out; }
@media (max-width: 40rem) { .statusbar { top: .35rem; } .sline { font-size: .8rem; padding: .3rem .65rem; } }
.sline .ic { margin-top: .12rem; width: 1.05em; height: 1.05em; color: #93C5FD; }
.sline.ok .ic { color: var(--success); } .sline.warn { border-color: rgba(251,191,36,.45); background: rgba(40,28,6,.86); } .sline.warn .ic { color: #FBBF24; }
.sharebar { position: absolute; z-index: 6; top: .5rem; inset-inline: 0; margin-inline: auto; width: fit-content; max-width: calc(100% - 1rem); display: flex; align-items: center; gap: .65rem; padding: .35rem .5rem .35rem .9rem; border-radius: 999px; background: rgba(12,18,30,.9); border: 1px solid var(--primary); box-shadow: 0 10px 30px -8px rgba(0,0,0,.6); font-size: .85rem; font-weight: 600; }
.sharebar .ic { color: var(--primary); }
.alone { text-align: center; max-width: 34rem; }
.alone h2 { font-size: 1.6rem; }
.requests { position: absolute; z-index: 7; top: .5rem; inset-inline-end: .5rem; display: grid; gap: .6rem; width: min(24rem, calc(100% - 1rem)); }
.req { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: .85rem; box-shadow: var(--shadow-lg); animation: pop .22s ease-out; }
.req strong { display: block; margin-bottom: .5rem; }
@keyframes pop { from { transform: translateY(-6px); opacity: 0; } to { transform: none; opacity: 1; } }
.joinaudio { position: absolute; z-index: 5; bottom: 1rem; inset-inline: 0; margin-inline: auto; width: fit-content; }
.capstrip { position: absolute; z-index: 4; bottom: .75rem; inset-inline: 0; margin-inline: auto; width: min(46rem, calc(100% - 1rem)); display: grid; gap: .4rem; pointer-events: none; }
.capstrip:empty { display: none; }
.cap { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; background: rgba(2, 6, 23, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: .5rem .85rem; }
.cap .who { font-weight: 700; color: var(--primary); }
.cap .txt { font-size: 1.05rem; flex: 1 1 14rem; }
.cap .kind { font-size: .72rem; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; }
.cap.partial .txt { color: var(--text-2); }
.rgrid.duo .tile.pip ~ .capstrip { bottom: .75rem; }
.stage:has(.tile.pip) .capstrip { width: min(46rem, calc(100% - 18rem)); }
@media (max-width: 40rem) { .stage:has(.tile.pip) .capstrip { width: calc(100% - 7.5rem); margin-inline-start: .5rem; margin-inline-end: auto; } }

/* control bar: one floating pill */
.dock { position: relative; display: flex; justify-content: center; padding: .4rem .75rem calc(.85rem + env(safe-area-inset-bottom)); }
.cbar { display: flex; align-items: center; gap: .4rem; padding: .42rem; max-width: 100%; background: rgba(22,30,44,.84); border: 1px solid rgba(255,255,255,.11); border-radius: 999px; box-shadow: 0 20px 50px -14px rgba(0,0,0,.7); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.cb { position: relative; flex: none; width: 48px; height: 48px; min-height: 0; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: var(--text); display: inline-grid; place-items: center; transition: background .15s, transform .1s; }
.cb .ic { width: 1.3rem; height: 1.3rem; }
.cb:hover:not(:disabled) { background: rgba(255,255,255,.2); }
.cb:active:not(:disabled) { transform: scale(.93); }
.cb.on { background: var(--primary); color: var(--on-primary); }
.cb.on:hover:not(:disabled) { background: var(--primary); filter: brightness(1.08); }
.cb.off { background: #4A1E27; color: #FECACA; }
.cb.off:hover:not(:disabled) { background: #5E2530; }
.cb.leave { width: auto; padding: 0 1.2rem; gap: .5rem; grid-auto-flow: column; background: var(--error); color: #1B0A0E; font-weight: 700; border-radius: 999px; }
.cb.leave:hover:not(:disabled) { background: #FCA5A5; }
.cb.leave .ic { transform: rotate(135deg); }
.cb:disabled { opacity: .38; cursor: not-allowed; }
.cb .badge { position: absolute; top: -3px; inset-inline-end: -3px; min-width: 1.15rem; height: 1.15rem; padding: 0 .3rem; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.cbsep { width: 1px; height: 28px; background: rgba(255,255,255,.14); margin-inline: .1rem; flex: none; }
.show-sm { display: none !important; }
@media (max-width: 40rem) {
  .hide-sm { display: none !important; }
  .show-sm { display: flex !important; }
  .callhead { padding: .45rem .7rem; min-height: 3rem; }
  .stagewrap { padding: 0 .5rem; }
  .cbar { gap: .3rem; padding: .35rem; }
  .cb { width: 44px; height: 44px; }
  .cb.leave { padding: 0 .95rem; }
  .cbsep { height: 24px; }
  .dock { padding-inline: .4rem; }
}
@media (max-width: 26rem) {
  /* Six round buttons always fit a 360 px phone: Leave keeps its red colour but loses its word. */
  .cbar { gap: .25rem; padding: .3rem; }
  .cb { flex: 0 1 44px; min-width: 38px; }
  .cb.leave { flex: none; width: 44px; padding: 0; }
  .cb.leave .cbtxt { display: none; }
  .cbsep { display: none; }
}
@media (max-width: 22rem) { .cb { width: 40px; height: 40px; } .cb.leave { width: 40px; } }
/* The demonstration badge sits above the header in a narrow call instead of covering it. */
@media (max-width: 40rem) { body:has(.demobadge) .callhead, body:has(.demobadge) .topbar { padding-top: 3.1rem; } }
.rgrid.duo > .tile:not(.pip) .tl { inset-inline-end: auto; inset-inline-start: .6rem; bottom: 2.6rem; }
.menu { position: absolute; bottom: calc(100% + .1rem); inset-inline-end: max(.75rem, calc(50% - 15rem)); background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: .4rem; box-shadow: var(--shadow-lg); width: min(19rem, calc(100vw - 1.5rem)); max-height: min(70vh, 32rem); overflow: auto; z-index: 12; animation: pop .15s ease-out; }
@media (max-width: 40rem) { .menu { inset-inline: .5rem; width: auto; } }
.menu button { display: flex; width: 100%; justify-content: flex-start; border: 0; border-radius: 12px; background: transparent; padding: .65rem .8rem; text-align: start; gap: .75rem; align-items: center; min-height: 0; }
.menu button .ic { flex: none; color: var(--text-2); }
.menu button:hover { background: var(--surface-alt); }
.menu .dangerx, .menu .dangerx .ic { color: var(--error); }
.menu small { display: block; font-weight: 400; color: var(--text-2); font-size: .78rem; }
.menuhint { margin: .3rem .8rem .5rem; font-size: .74rem; color: var(--text-2); }


/* side panel: a card beside the stage on wide screens, a bottom sheet on phones */
.pane { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); display: none; flex-direction: column; min-height: 0; overflow: hidden; margin-bottom: .1rem; }
.paneopen .pane { display: flex; }
.scrim { display: none; }
@media (max-width: 61.99rem) {
  .scrim { display: block; position: fixed; inset: 0; z-index: 18; background: rgba(2, 6, 23, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
  .paneopen .pane { position: fixed; inset-inline: 0; bottom: 0; top: auto; z-index: 19; height: min(84dvh, 42rem); border-radius: 22px 22px 0 0; border-bottom: 0; box-shadow: 0 -24px 60px rgba(0, 0, 0, .55); animation: sheet .22s ease-out; }
  .paneopen .pane::before { content: ""; width: 2.5rem; height: 4px; border-radius: 2px; background: var(--border); margin: .5rem auto 0; flex: none; }
}
@keyframes sheet { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.pane .tabs { overflow-x: auto; scrollbar-width: none; }
.pane .tab { flex: none; white-space: nowrap; }
.pane header { display: flex; align-items: center; padding: .75rem 1rem .25rem; gap: .5rem; }
.pane header h2 { font-size: 1.1rem; margin: 0; flex: 1; }
.tabs { display: flex; gap: .25rem; padding: 0 .75rem; border-bottom: 1px solid var(--border); }
.tab { min-height: 44px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; padding: .4rem .8rem; color: var(--text-2); }
.tab[aria-selected=true] { color: var(--text); border-bottom-color: var(--primary); }
.panebody { padding: 1rem; overflow: auto; flex: 1; }
.person { display: flex; gap: .75rem; align-items: center; padding: .65rem 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.person:first-child { border-top: 0; }
.person .avatar { width: 2.4rem; height: 2.4rem; font-size: 1rem; flex: none; }
.person .who { flex: 1; min-width: 6rem; }
.person .who small { display: block; color: var(--text-2); }
.route { padding: .6rem 0; border-top: 1px solid var(--border); font-size: .92rem; }
.route:first-child { border-top: 0; }
.sect { margin-top: 1.25rem; }
dl.kv { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 0; }
dl.kv dt { color: var(--text-2); } dl.kv dd { margin: 0; }
.toasts { position: fixed; z-index: 60; top: 1rem; inset-inline: 0; display: grid; justify-items: center; gap: .5rem; pointer-events: none; }
.toast { pointer-events: auto; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 14px; padding: .65rem 1rem; box-shadow: var(--shadow-lg); animation: pop .2s ease-out; max-width: min(32rem, 92vw); }
.toast.bad { border-color: var(--error); }
.toast.withaction { display: flex; gap: .75rem; align-items: center; }
.toast.withaction .btn { flex: none; }

/* dialog */
dialog { border: 1px solid var(--border); border-radius: 22px; padding: 1.5rem; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); max-width: min(26rem, 92vw); }
dialog::backdrop { background: rgba(2, 6, 23, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }

/* loading */
.skel { background: linear-gradient(90deg, var(--surface-alt), var(--border), var(--surface-alt)); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: 20px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* meeting dashboard */
.dash h3 { margin-bottom: .1rem; }
.dashhead { align-items: flex-start; flex-wrap: nowrap; }
.stats { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); }
.stat { padding: .75rem .9rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-alt); min-width: 0; }
.stat small { display: block; color: var(--text-2); font-weight: 600; }
.stat strong { display: block; font-size: 1.15rem; letter-spacing: -.01em; overflow-wrap: anywhere; }
.stat span { display: block; color: var(--text-2); font-size: .82rem; }
.stat.ok { border-color: var(--success); } .stat.warn { border-color: var(--warning-fill); }
.dash .tabs { overflow-x: auto; scrollbar-width: none; padding: 0; margin-inline: -.1rem; }
.dash .tab { flex: none; padding: .4rem .65rem; font-size: .9rem; }
.panebody { overflow-x: hidden; }
.dashbody { padding-top: .25rem; }
.notes { margin: 0; padding-inline-start: 1.1rem; display: grid; gap: .4rem; }
.gantt { display: grid; gap: .45rem; }
.gantt-row { display: grid; grid-template-columns: minmax(4rem, 7rem) 1fr; gap: .6rem; align-items: center; }
.gantt .gl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; }
.gantt .track { position: relative; height: 14px; border-radius: 7px; background: var(--surface-alt); border: 1px solid var(--border); }
.gantt .track i { position: absolute; top: 1px; bottom: 1px; border-radius: 6px; background: var(--primary); min-width: 3px; }
.gantt .axis { display: flex; justify-content: space-between; color: var(--text-2); font-size: .75rem; padding-inline-start: calc(min(7rem, 30%) + .6rem); }
.tablewrap { overflow-x: auto; }
.tablewrap table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tablewrap th, .tablewrap td { text-align: start; padding: .5rem .5rem; border-top: 1px solid var(--border); white-space: nowrap; }
.tablewrap thead th { color: var(--text-2); font-weight: 600; border-top: 0; }
.tablewrap tbody th { font-weight: 600; white-space: normal; }
.tablewrap .pill { margin-inline-start: .4rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 6.2rem 1fr; gap: .75rem; padding: .5rem 0; border-top: 1px solid var(--border); font-size: .92rem; }
.timeline li:first-child { border-top: 0; }
.timeline time { color: var(--text-2); font-variant-numeric: tabular-nums; }
.reportwrap { max-width: 56rem; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.reportwrap > *, .report, .dash { min-width: 0; }
.report > .card { padding: clamp(1rem, 3vw, 1.5rem); }
@media (max-width: 40rem) { .gantt-row { grid-template-columns: 1fr; gap: .15rem; } .gantt .axis { padding-inline-start: 0; } .timeline li { grid-template-columns: 5.4rem 1fr; } }

/* operator view */
.opwrap { max-width: 76rem; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.opwrap > *, .opcard { min-width: 0; }
.opgrid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; }
.opgrid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr)); }
.opcard h3 { margin-bottom: .1rem; }
.opwrap .dashhead { flex-wrap: wrap; }
.opwrap .dashhead { gap: .5rem .75rem; }
.ophead { flex: 1 1 16rem; min-width: 0; }
.meterbar { height: 10px; border-radius: 6px; background: var(--surface-alt); border: 1px solid var(--border); overflow: hidden; }
.meterbar i { display: block; height: 100%; background: var(--primary); }
.stat.bad { border-color: var(--error); }
code { font-size: .85em; overflow-wrap: anywhere; }
input[type=password] { width: 100%; min-height: 48px; padding: .6rem .9rem; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); }
input[type=password]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }

/* accounts */
.avatar.sm { width: 1.7rem; height: 1.7rem; font-size: .8rem; flex: none; }
.avatar.big { width: 3.2rem; height: 3.2rem; font-size: 1.3rem; flex: none; }
.acctbtn { gap: .5rem; }
.acctname { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 30rem) { .acctname { display: none; } }
.okmark { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.okmark .ic { width: 1.6rem; height: 1.6rem; }
input[type=email] { width: 100%; min-height: 48px; padding: .6rem .9rem; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); }
input[type=email]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.acctbody { padding-top: .5rem; min-width: 0; }
.acctnav { overflow-x: auto; scrollbar-width: none; }
.acctnav .tab { flex: none; white-space: nowrap; }
.acctbody .who { min-width: 0; overflow-wrap: anywhere; }
.acctbody strong, .acctbody bdi, .acctbody th { overflow-wrap: anywhere; }
.acctbody .tablewrap th[scope=row] { min-width: 11rem; }
.wslist { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.wscard { display: grid; gap: .15rem; justify-items: start; text-align: start; border-radius: 16px; padding: .9rem 1rem; }
.tablewrap td.actions { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.tablewrap select { min-height: 36px; padding: .2rem 2rem .2rem .6rem; border-radius: 10px; }

/* recording indicator in the call header */
.recpill { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; border: 1px solid; }
.recpill.on { color: #fff; background: #b91c1c; border-color: #ef4444; }
.recpill.wait { color: #fde68a; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .4); font-weight: 600; }
.recpill .ic { width: .9rem; height: .9rem; }
.recpill .rectxt { letter-spacing: .06em; }
.recpill .rectime { font-variant-numeric: tabular-nums; font-weight: 600; opacity: .95; }
.cb.recbtn { color: #fff; background: #b91c1c; }
.cb.recbtn:hover { background: #991b1b; }
dialog.recnotice { max-width: min(30rem, 92vw); }
.recnotice .rn-head { display: flex; align-items: center; gap: .6rem; }
.recnotice h2 { margin: 0; font-size: 1.15rem; }
.recnotice .rn-list { margin: .25rem 0 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.recnotice .rn-actions { justify-content: flex-end; margin-top: 1.1rem; }
.recnotice .rn-no { display: block; margin: .6rem 0 0 auto; text-align: right; }
.recdot.big { width: .8rem; height: .8rem; background: #dc2626; flex: none; }
.recplayer { display: grid; gap: .4rem; }
.recplayer audio { width: 100%; }
.recdot { width: .55rem; height: .55rem; border-radius: 50%; background: #fff; animation: recpulse 1.6s ease-in-out infinite; }
@keyframes recpulse { 50% { opacity: .35; } }
@media (max-width: 40rem) { .recpill { padding: .2rem .55rem; font-size: .74rem; } .recpill.wait { max-width: 7rem; overflow: hidden; text-overflow: ellipsis; } }

/* meeting notes */
.notes h3 { margin: 0 0 .25rem; }
.notes ul, .notes ol { margin: 0; padding-inline-start: 1.1rem; display: grid; gap: .35rem; }
.notesec { padding-top: .25rem; }
.notesec.gaps { border: 1px dashed var(--border-strong); border-radius: 14px; padding: .75rem 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.saidlines { list-style: none; padding-inline-start: 0 !important; }
.saidlines li { display: grid; grid-template-columns: 3.2rem 1fr; gap: .6rem; padding: .35rem 0; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.saidlines li:first-child { border-top: 0; }
.saidlines time { color: var(--text-2); font-variant-numeric: tabular-nums; }

bdi { unicode-bidi: isolate; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .pill::before { background: CanvasText; } .switch .track { border: 2px solid CanvasText; } }
.demobadge { position: fixed; z-index: 80; top: .45rem; inset-inline: 0; margin-inline: auto; width: fit-content; max-width: min(34rem, calc(100vw - 8rem)); background: #7C2D12; color: #FFEDD5; border: 1px solid #FDBA74; border-radius: 12px; padding: .3rem .75rem; font-size: .75rem; box-shadow: var(--shadow-lg); text-align: center; }
.demobadge strong { letter-spacing: .06em; }

.feature h2 { font-size: 1.125rem; margin: 0 0 .25rem; }
.h3like { font-size: 1.05rem; }

/* ---- brand loader: shown until the page is ready, and while the operator console opens -------- */
.vb-loader { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 1.05rem; padding: 2rem; text-align: center;
  background: radial-gradient(42rem 26rem at 50% 36%, var(--glow-a), transparent 70%), radial-gradient(30rem 20rem at 85% 90%, var(--glow-b), transparent 70%), var(--bg); }
.vb-loader-mark { position: relative; width: 10.5rem; height: 10.5rem; display: grid; place-items: center; }
.vb-loader-mark::before, .vb-loader-mark::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--primary) 38%, transparent); opacity: 0; animation: vbring 2.4s ease-out infinite; }
.vb-loader-mark::after { animation-delay: 1.2s; }
.vb-loader-mark svg { position: relative; width: 7.6rem; height: auto; overflow: visible; filter: drop-shadow(0 10px 22px color-mix(in srgb, var(--primary) 26%, transparent)); }
.vb-loader svg .lb { transform-box: view-box; animation: tkback .9s cubic-bezier(.22, .8, .24, 1) both, tkfloat 3.4s ease-in-out .9s infinite alternate; }
.vb-loader svg .lf { transform-box: view-box; transform-origin: 262px 600px; animation: tkfront .85s cubic-bezier(.22, .9, .3, 1.15) .12s both, tkfloat2 3.4s ease-in-out 1s infinite alternate; }
.vb-loader-name { margin: .5rem 0 0; font-size: 2.1rem; line-height: 1; font-weight: 700; letter-spacing: -.025em; }
.vb-loader-name .t { color: var(--brand); display: inline-block; animation: tkword .6s ease-out .4s both; }
.vb-loader-name .k { color: var(--brand-ink); display: inline-block; animation: tkword .6s ease-out .55s both; }
.vb-loader-hint { margin: 0; color: var(--text-2); font-size: .9rem; }
.vb-loader-bar { width: 10rem; height: 4px; border-radius: 99px; background: var(--surface-alt); overflow: hidden; }
.vb-loader-bar i, .oc-progress i { display: block; width: 38%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); animation: vbslide 1.25s ease-in-out infinite; }
@keyframes tkback { from { opacity: 0; transform: translate(26px, -16px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes tkfront { 0% { opacity: 0; transform: scale(.55); } 70% { opacity: 1; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }
@keyframes tkword { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes tkfloat { to { transform: translate(7px, -5px); } }
@keyframes tkfloat2 { to { transform: translate(-3px, 3px); } }
@keyframes vbring { 0% { transform: scale(.55); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes vbslide { 0% { transform: translateX(-110%); } 100% { transform: translateX(290%); } }
@media (prefers-reduced-motion: reduce) {
  .vb-loader svg .lb, .vb-loader svg .lf, .vb-loader-name .t, .vb-loader-name .k { animation: none; opacity: 1; transform: none; }
  .vb-loader-mark::before, .vb-loader-mark::after, .vb-loader-bar i, .oc-progress i { animation: none; }
  .vb-loader-mark::before, .vb-loader-mark::after { display: none; }
}
.saidlines .said-orig { display: block; margin-top: .2rem; }

/* ---- live transcript (call side panel): the conversation as a chat, in the reader's own language */
.panebody.txbody { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.tx { display: flex; flex-direction: column; min-height: 0; flex: 1; position: relative; --tx-fs: .95rem; }
.tx[data-size="0"] { --tx-fs: .85rem; }
.tx[data-size="2"] { --tx-fs: 1.12rem; }
.tx-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; padding: .7rem .9rem .55rem; border-bottom: 1px solid var(--border); }
.tx-status { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-width: 0; }
.tx-live { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--success); }
.tx-live i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 60%, transparent); animation: txlive 2s ease-out infinite; }
.tx-lang { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-tools { display: flex; gap: .4rem; align-items: center; min-width: 0; }
.tx-tools > .btn { flex: none; }
.tx-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: .45rem; padding: 0 .7rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-alt); color: var(--text-2); }
.tx-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.tx-search .ic { width: 1rem; height: 1rem; flex: none; }
.tx-search input { border: 0; background: transparent; padding: .45rem 0; min-width: 0; flex: 1; color: var(--text); font: inherit; font-size: .88rem; outline: none; box-shadow: none; }
.tx-balance { padding: .55rem .9rem .5rem; border-bottom: 1px solid var(--border); display: grid; gap: .35rem; }
.tx-bar { display: flex; height: 6px; border-radius: 999px; overflow: hidden; gap: 2px; }
.tx-bar i { display: block; min-width: 4px; transition: flex-grow .6s ease; }
.tx-legend { display: flex; flex-wrap: wrap; gap: .25rem .8rem; font-size: .74rem; }
.tx-legend span { display: inline-flex; align-items: center; gap: .3rem; }
.tx-legend i { width: .55rem; height: .55rem; border-radius: 50%; display: inline-block; }
.tx-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .8rem .9rem 1.2rem; }
.tx [hidden] { display: none !important; }
.tx-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.tx-msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 100%; animation: txin .28s ease-out; }
.tx-msg.head { margin-top: .65rem; }
.tx-msg.head:first-child { margin-top: 0; }
.tx-msg.mine { align-items: flex-end; }
.tx-meta { display: flex; align-items: center; gap: .45rem; margin: 0 0 .25rem .1rem; font-size: .78rem; color: var(--text-2); min-width: 0; max-width: 100%; }
.tx-meta strong { color: var(--text); font-size: .82rem; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-meta time { font-variant-numeric: tabular-nums; }
.tx-av { width: 1.45rem; height: 1.45rem; border-radius: 50%; display: inline-grid; place-items: center; font-size: .68rem; font-weight: 700; color: #fff; flex: none; }
.tx-from { display: inline-flex; align-items: center; gap: .2rem; padding: .05rem .4rem; border-radius: 999px; border: 1px solid var(--border); font-size: .7rem; }
.tx-from .ic { width: .8rem; height: .8rem; }
.tx-bubble { max-width: 92%; padding: .5rem .75rem; border-radius: 4px 16px 16px 16px; background: var(--surface-alt); border: 1px solid var(--border); color: var(--text); font-size: var(--tx-fs); line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.tx-msg:not(.head) .tx-bubble { border-radius: 16px; }
.tx-orig { display: block; margin-top: .35rem; padding-top: .35rem; border-top: 1px dashed var(--border); color: var(--muted); font-size: .88em; }
.tx-orig-l { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem; }
.tx-tools .btn[aria-pressed="true"] { color: var(--primary); background: var(--primary-soft); }
.tx-msg.mine .tx-bubble { background: var(--primary-soft); border-color: color-mix(in srgb, var(--primary) 35%, transparent); border-radius: 16px 4px 16px 16px; }
.tx-msg.mine:not(.head) .tx-bubble { border-radius: 16px; }
.tx-msg.live .tx-bubble { border-style: dashed; color: var(--text-2); }
.tx-msg.mention .tx-bubble { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.tx-bubble mark { background: color-mix(in srgb, var(--accent) 40%, transparent); color: inherit; border-radius: 3px; padding: 0 .1em; }
.tx-dots { display: inline-flex; gap: 3px; margin-left: .45rem; vertical-align: middle; }
.tx-dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .45; animation: txdot 1.2s ease-in-out infinite; }
.tx-dots i:nth-child(2) { animation-delay: .15s; }
.tx-dots i:nth-child(3) { animation-delay: .3s; }
.tx-empty { display: grid; justify-items: center; text-align: center; gap: .4rem; padding: 2.5rem 1rem; color: var(--text-2); }
.tx-empty strong { color: var(--text); }
.tx-empty p { margin: 0; max-width: 18rem; }
.tx-wave { display: flex; gap: 4px; align-items: center; height: 2rem; margin-bottom: .4rem; }
.tx-wave i { width: 4px; height: 100%; border-radius: 2px; background: var(--primary); opacity: .75; animation: vbbar 1.1s ease-in-out infinite; }
.tx-wave i:nth-child(2) { animation-delay: .12s; } .tx-wave i:nth-child(3) { animation-delay: .24s; } .tx-wave i:nth-child(4) { animation-delay: .36s; } .tx-wave i:nth-child(5) { animation-delay: .48s; }
.tx-noresult { text-align: center; padding: 1.5rem 0; }
.tx-jump { position: absolute; left: 50%; bottom: .9rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem; border-radius: 999px; border: 0; background: var(--primary); color: var(--on-primary); font: inherit; font-size: .82rem; font-weight: 650; box-shadow: var(--shadow-lg); cursor: pointer; animation: pop .2s ease-out; }
.tx-jump .ic { width: 1rem; height: 1rem; }
.tx-jump.hasmention { background: var(--accent); }
.tx-jump:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@keyframes txin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes txdot { 0%, 100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-3px); opacity: .9; } }
@keyframes txlive { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 55%, transparent); } 100% { box-shadow: 0 0 0 7px transparent; } }
@media (prefers-reduced-motion: reduce) { .tx-msg, .tx-jump { animation: none; } .tx-dots i, .tx-wave i, .tx-live i { animation: none; } }

/* credits: wallets, packs, statement */
.wallets { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 24rem)); }
.wallet { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; background: var(--surface); display: flex; flex-direction: column; gap: .35rem; }
.wallet .wname { font-size: 1.05rem; }
.wbal { display: flex; align-items: baseline; gap: .5rem; margin-top: .25rem; }
.wbal .num { font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wbal .unit { color: var(--text-2); font-weight: 600; }
.wallet .notice { margin: .25rem 0; }
.packs .choice.off { opacity: .55; cursor: not-allowed; }
.pack .packn { display: block; font-size: 1.25rem; font-weight: 700; margin-top: .15rem; }
.pack .packp { display: block; margin-top: .4rem; font-weight: 700; color: var(--primary); }
.grid2 { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.stmts { max-height: min(55vh, 28rem); overflow-y: auto; }
.stmt { justify-content: space-between; }
.stmt .who small, .stmt-n small { display: block; color: var(--text-2); }
.stmt-n { text-align: end; font-variant-numeric: tabular-nums; }
.stmt-n.plus strong { color: var(--success); }
.capbox { gap: .5rem; }
.capin { width: 6.5rem; min-height: 40px; }

/* narrow phones: the top bar (brand, help, account, theme) must fit in 375 px without scrolling sideways */
@media (max-width: 26rem) {
  .topbar { gap: .5rem; padding-inline: .75rem; }
}

/* the top bar buttons never wrap onto two lines ("Sign in") on narrow phones */
.topbar .btn { white-space: nowrap; }

/* ---- account area: a sidebar, a dashboard, framed pages ------------------------------------------ */
.acctshell { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.acctside { position: sticky; top: 1rem; display: flex; flex-direction: column; gap: 1rem; padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.usercard { display: flex; gap: .75rem; align-items: center; padding: .35rem .25rem .85rem; border-bottom: 1px solid var(--border); min-width: 0; }
.usercard .avatar { width: 2.6rem; height: 2.6rem; font-size: 1.05rem; flex: none; }
.usercard .who { display: flex; flex-direction: column; min-width: 0; }
.usercard .who strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usercard .who small { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acctnav { display: flex; flex-direction: column; gap: 1rem; }
.snav-group { display: flex; flex-direction: column; gap: .15rem; }
.snav-title { margin: 0 0 .25rem .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-2); }
.snav-item { justify-content: flex-start; min-height: 42px; padding: .5rem .75rem; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--text-2); font-weight: 600; gap: .7rem; width: 100%; text-align: start; }
.snav-item .ic { width: 1.15rem; height: 1.15rem; flex: none; }
.snav-item:hover:not(:disabled) { background: var(--surface-alt); color: var(--text); }
.snav-item[aria-current="page"] { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.side-foot { border-top: 1px solid var(--border); padding-top: .85rem; }
.side-foot .btn { width: 100%; }
.acctmain { min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.pagehead h1 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 0; letter-spacing: -.02em; }
.pagehead p { margin: .25rem 0 0; }
.acctbody.framed { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.1rem, 3vw, 1.75rem); box-shadow: var(--shadow-sm); }

.home { display: flex; flex-direction: column; gap: 1.5rem; }
.dash-head { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: flex-end; justify-content: space-between; }
.dash-head h1 { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.1rem); letter-spacing: -.025em; }
.dash-head > div:first-child { flex: 1 1 26rem; min-width: 0; }
.dash-head .row { flex: none; }
.dash-head p { margin: .3rem 0 0; max-width: 40rem; }
.kpis { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(10.25rem, 1fr)); }
.kpi { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: .35rem; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: start; font-weight: 500; min-height: 0; }
.kpi.link { cursor: pointer; }
.kpi.link:hover { border-color: var(--primary); box-shadow: var(--shadow); background: var(--surface); }
.kpi-h { display: flex; align-items: center; gap: .6rem; }
.kpi-i { width: 2.2rem; height: 2.2rem; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }
.kpi-i .ic { width: 1.1rem; height: 1.1rem; }
.kpi-l { color: var(--text-2); font-weight: 600; font-size: .9rem; }
.kpi-v { font-size: clamp(1.7rem, 3vw, 2.1rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi-s { color: var(--text-2); font-size: .85rem; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem 1.25rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .85rem; min-width: 0; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sec-h h2 { margin: 0; font-size: 1.1rem; }
.prog { height: 6px; border-radius: 99px; background: var(--surface-alt); overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--primary); border-radius: inherit; transition: width .4s; }
.cl-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cl-step { display: flex; align-items: center; gap: .9rem; padding: .75rem 0; border-top: 1px solid var(--border); }
.cl-step:first-child { border-top: 0; }
.cl-m { width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid var(--border-strong); display: grid; place-items: center; flex: none; color: var(--on-primary); }
.cl-step.ok .cl-m { background: var(--success); border-color: var(--success); }
.cl-m .ic { width: .85rem; height: .85rem; }
.cl-t { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cl-step.ok .cl-t strong { color: var(--text-2); text-decoration: line-through; text-decoration-color: var(--border-strong); }
.wsgrid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); margin-top: .85rem; }
.wscard2 { display: flex; flex-direction: column; gap: .5rem; padding: 1.15rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.wscard2.dashed { background: transparent; border-style: dashed; box-shadow: none; }
.wsc-h { display: flex; align-items: center; gap: .75rem; }
.wsc-t { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.wsc-t strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wscard2 > .row:last-child { margin-top: auto; }
.row.nowrap { flex-wrap: nowrap; }
.row.nowrap input { min-width: 0; }
.dash-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--border); }
.li:first-child { border-top: 0; }
.li-t { display: flex; flex-direction: column; min-width: 0; }
.li-t strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.delta { font-variant-numeric: tabular-nums; }
.delta.plus { color: var(--success); }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: .5rem 0; }
.empty p { margin: 0; }
.dash-skel i { display: block; height: 5.5rem; border-radius: var(--radius); background: var(--surface-alt); margin-bottom: 1rem; animation: dashpulse 1.2s ease-in-out infinite; }
@keyframes dashpulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .dash-skel i { animation: none; } .prog i { transition: none; } }

@media (max-width: 56rem) {
  .acctshell { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .acctside { position: static; padding: .75rem; gap: .6rem; }
  .usercard { border-bottom: 0; padding-bottom: 0; }
  .acctnav { flex-direction: row; gap: .35rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .15rem; }
  .acctnav::-webkit-scrollbar { display: none; }
  .snav-group { flex-direction: row; gap: .35rem; }
  .snav-title { display: none; }
  .snav-item { width: auto; white-space: nowrap; flex: none; }
  .side-foot { border-top: 0; padding-top: 0; }
  .side-foot .btn { width: auto; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 30rem) {
  .kpis { gap: .6rem; }
  .kpi { padding: .9rem; }
  .dash-head .row { width: 100%; }
  .dash-head .row .btn { flex: 1; }
  .cl-step { flex-wrap: wrap; }
}

/* the page body takes focus after navigation (for screen readers) but is not itself a control */
main:focus, main:focus-visible { outline: none; }

/* a section of a framed page, set off by a rule instead of a nested card */
.sect { border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: 1.5rem; }

/* ---- public site: landing, registration, first-run setup ------------------------------------ */
.tc { text-align: center; }
.btn.block { width: 100%; justify-content: center; }
.fi { width: 2.5rem; height: 2.5rem; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }
.fi .ic { width: 1.25rem; height: 1.25rem; }

.lp main { max-width: 76rem; padding-top: 0; }
.topbar.site { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.sitenav { display: flex; gap: .25rem; margin-inline-start: 1.25rem; }
.sitenav a { color: var(--text-2); text-decoration: none; font-weight: 550; font-size: .94rem; padding: .45rem .7rem; border-radius: 999px; }
.sitenav a:hover { color: var(--text); background: var(--surface-alt); }

.lp-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.lp-copy h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.05; margin-bottom: 0; }
.grad { background: linear-gradient(100deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-copy .lead { color: var(--text-2); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 36rem; margin: 1.1rem 0 1.25rem; }
.lp-checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .5rem; }
.lp-checks li { display: flex; gap: .55rem; align-items: flex-start; }
.lp-checks .ic { color: var(--success); width: 1.15rem; height: 1.15rem; flex: none; margin-top: .15rem; stroke-width: 2.6; }
.lp-cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.lp-join { display: flex; align-items: center; gap: .4rem; flex: 1 1 19rem; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .3rem .3rem .3rem .9rem; box-shadow: var(--shadow-sm); }
.lp-join > .ic { color: var(--text-2); flex: none; }
.lp-join input { border: 0; background: transparent; box-shadow: none; min-width: 0; flex: 1; padding-inline: .25rem; }
.lp-join input:focus { outline: none; box-shadow: none; }
.lp-join:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.lp-join .btn { border-radius: 999px; }

.regcard { box-shadow: var(--shadow-lg); }
.regcard [hidden] { display: none !important; }
.regtitle { font-size: 1.35rem; margin: 0; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .25rem; padding: .25rem; background: var(--surface-alt); border-radius: 14px; border: 1px solid var(--border); }
.seg-b { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); font: inherit; font-weight: 600; cursor: pointer; padding: 0 .75rem; }
.seg-b[aria-checked="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.seg-b[aria-checked="true"] .ic { color: var(--primary); }
.seg-b:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.seg.sm { display: inline-grid; border-radius: 999px; }
.seg.sm .seg-b { min-height: 36px; border-radius: 999px; padding: 0 1rem; }

.lp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin: .5rem 0 0; }
.lp-stat { background: var(--surface); padding: 1.1rem 1.25rem; display: grid; gap: .15rem; }
.lp-stat strong { font-size: 1.5rem; letter-spacing: -.02em; }
.lp-stat span { color: var(--text-2); font-size: .9rem; }

.lp-sect { padding: clamp(3rem, 7vw, 5.5rem) 0 0; scroll-margin-top: 4.5rem; }
.lp-head { max-width: 44rem; margin-bottom: 2rem; }
.lp-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.03em; }
.lp-head .lead { color: var(--text-2); font-size: 1.08rem; margin: .5rem 0 0; }
.lp-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; align-items: start; }
.lp-visual { position: sticky; top: 5rem; }
.lp-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lp-feat, .lp-sec { padding: 1.25rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.lp-feat h3, .lp-sec h3, .lp-step h3, .lp-aud h3, .lp-plan h3 { font-size: 1.08rem; margin: .75rem 0 .3rem; }
.lp-feat p, .lp-sec p, .lp-step p { color: var(--text-2); margin: 0; font-size: .94rem; }
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lp-step { position: relative; padding: 1.5rem; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--surface-alt)); border: 1px solid var(--border); }
.lp-num { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; font-weight: 750; background: var(--primary); color: var(--on-primary); }
.lp-auds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lp-aud { display: flex; flex-direction: column; }
.lp-aud .lp-checks { margin: .25rem 0 1.25rem; }
.lp-aud > .btn { margin-top: auto; align-self: flex-start; }
.lp-pricebar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.lp-pricebar p { display: flex; gap: .45rem; align-items: center; }
.lp-pricing > .dash-skel { border-radius: var(--radius-lg); background: var(--surface-alt); }
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; align-items: stretch; }
.lp-plan { display: flex; flex-direction: column; gap: .5rem; position: relative; box-shadow: var(--shadow-sm); }
.lp-plan h3 { margin-top: 0; }
.lp-plan .lp-checks { margin: .5rem 0 1rem; font-size: .94rem; }
.lp-plan > .btn { margin-top: auto; }
.lp-plan.best { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow); }
.lp-plan.ent { background: linear-gradient(160deg, var(--primary-soft), var(--surface) 60%); }
.lp-badge { position: absolute; top: -.7rem; inset-inline-end: 1rem; background: var(--primary); color: var(--on-primary); font-size: .75rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; }
.lp-price { font-size: 2rem; font-weight: 750; letter-spacing: -.03em; }
.lp-price.sm { font-size: 1.5rem; }
.lp-free { display: flex; gap: 1rem; align-items: center; }
.lp-free h3 { margin: 0 0 .2rem; }
.lp-secs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lp-sec { display: flex; gap: 1rem; align-items: flex-start; }
.lp-sec h3 { margin-top: 0; }
.lp-faq { display: grid; gap: .6rem; max-width: 52rem; }
.lp-qa { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.lp-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; font-weight: 600; }
.lp-qa summary::-webkit-details-marker { display: none; }
.lp-qa summary .ic { flex: none; transition: transform .2s; color: var(--text-2); }
.lp-qa[open] summary .ic { transform: rotate(180deg); }
.lp-qa p { margin: 0; padding: 0 1.25rem 1.1rem; color: var(--text-2); }
.lp-band { margin-top: clamp(3rem, 7vw, 5.5rem); padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius-lg); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #1D6AF0, #0A3FB0 55%, #0E7490); }
.lp-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .35rem; }
.lp-band p { margin: 0; opacity: .88; }
.lp-band .btn.primary { background: #fff; color: #0A3FB0; border-color: #fff; box-shadow: none; }
.btn.ghostlight { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn.ghostlight:hover { background: rgba(255, 255, 255, .12); }
.lp-foot { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.lp-foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
.lp-foot h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin-bottom: .6rem; }
.lp-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.lp-foot a:not(.brand) { color: var(--text); text-decoration: none; }
.lp-foot a:not(.brand):hover { color: var(--primary); text-decoration: underline; }

/* registration page */
.reg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: clamp(1rem, 4vw, 3rem) 0; }
.reg-aside h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.reg-aside .lead { color: var(--text-2); font-size: 1.1rem; margin: .5rem 0 1.5rem; max-width: 34rem; }
.reg-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.reg-points li { display: flex; gap: .9rem; align-items: flex-start; }
.reg-points li > div { display: grid; gap: .1rem; }
.authcard { max-width: 28rem; margin-block: clamp(1rem, 6vw, 4rem); }
.authcard h1 { font-size: clamp(1.7rem, 4vw, 2.1rem); margin-bottom: .25rem; }
.or { display: flex; align-items: center; gap: .75rem; color: var(--text-2); font-size: .85rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* first-run setup */
.wiz { max-width: 40rem; margin: clamp(1rem, 5vw, 3rem) auto; display: grid; gap: 1.5rem; }
.wiz-top .eyebrow { margin-bottom: .9rem; }
.wiz-rail { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.wiz-rail li { display: flex; align-items: center; gap: .5rem; color: var(--text-2); font-weight: 550; font-size: .92rem; }
.wiz-n { width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; border: 1.5px solid var(--border-strong); flex: none; }
.wiz-n .ic { width: .95rem; height: .95rem; stroke-width: 3; }
.wiz-rail li.now { color: var(--text); }
.wiz-rail li.now .wiz-n { border-color: var(--primary); background: var(--primary); color: var(--on-primary); }
.wiz-rail li.done .wiz-n { border-color: var(--success); background: var(--success); color: #fff; }
.wiz-rail.mini { flex-direction: column; gap: .5rem; }
.wiz-body h2 { font-size: 1.45rem; }
.wiz-foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: .5rem; }
.wiz-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .75rem; }
.wiz-tile { display: grid; gap: .4rem; text-align: start; padding: 1.1rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; }
.wiz-tile:hover { border-color: var(--primary); }
.wiz-tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wiz-tile.primary { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }

@media (max-width: 64rem) {
  .sitenav { display: none; }
  .lp-secs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 56rem) {
  .lp-hero, .lp-split, .reg { grid-template-columns: minmax(0, 1fr); }
  .lp-visual { position: static; }
  .lp-steps, .lp-auds { grid-template-columns: minmax(0, 1fr); }
  .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 36rem) {
  .lp-feats, .lp-secs { grid-template-columns: minmax(0, 1fr); }
  .topbar.site .getstarted { display: none; }
  .lp-cta > .btn { flex: 1 1 100%; justify-content: center; }
  .lp-band .row, .lp-band .row .btn { width: 100%; justify-content: center; }
  .lp-stat strong { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .lp-qa summary .ic { transition: none; } }
.regcard [role="status"] > * + * { margin-top: .85rem !important; }

/* ---- notifications: inbox and settings card ------------------------------------------------- */
.nt-card { padding: 0; overflow: hidden; }
.nt-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--border); }
.nt-head h2 { font-size: 1.1rem; margin: 0; display: flex; align-items: center; gap: .55rem; }
.nt-head p { margin: .2rem 0 0; }
.nt-head .row { gap: .4rem; align-items: center; }
.nt-badge { font-size: .75rem; font-weight: 650; padding: .15rem .55rem; border-radius: 999px; background: var(--primary); color: var(--on-primary); letter-spacing: 0; }
.nt-list { display: flex; flex-direction: column; }
.nt-row { position: relative; display: grid; grid-template-columns: .5rem auto minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .95rem 1.4rem .95rem .9rem; border-bottom: 1px solid var(--border); }
.nt-row:last-child { border-bottom: 0; }
.nt-row:hover { background: var(--surface-alt); }
.nt-row.unread { background: color-mix(in srgb, var(--primary-soft) 55%, var(--surface)); }
.nt-dot { width: .5rem; height: .5rem; border-radius: 50%; }
.nt-row.unread .nt-dot { background: var(--primary); }
.nt-ic { width: 2.3rem; height: 2.3rem; border-radius: 10px; display: grid; place-items: center; flex: none; }
.nt-ic .ic { width: 1.15rem; height: 1.15rem; }
.nt-ic.info { background: var(--primary-soft); color: var(--primary); }
.nt-ic.ok { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.nt-ic.warn { background: color-mix(in srgb, var(--warning-fill) 18%, transparent); color: var(--warning-text); }
.nt-ic.bad { background: color-mix(in srgb, var(--error) 14%, transparent); color: var(--error); }
.nt-ic.big { width: 3rem; height: 3rem; border-radius: 50%; }
.nt-main { min-width: 0; }
.nt-title { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.nt-title strong { font-weight: 650; }
.nt-row.unread .nt-title strong { font-weight: 750; }
.nt-main p { margin: .15rem 0 0; color: var(--text-2); font-size: .92rem; }
.nt-count { font-size: .75rem; font-weight: 650; color: var(--text-2); background: var(--surface-alt); border: 1px solid var(--border); padding: 0 .4rem; border-radius: 6px; }
.nt-side { display: flex; align-items: center; gap: .75rem; white-space: nowrap; }
.nt-side time { color: var(--text-2); font-size: .85rem; }
.nt-empty { display: grid; justify-items: center; gap: .4rem; text-align: center; padding: 2.25rem 1.5rem; }
.nt-empty p { margin: 0; max-width: 26rem; }

.nt-group { padding: .4rem 1.4rem .2rem; }
.nt-group + .nt-group { border-top: 1px solid var(--border); }
.nt-group h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin: .9rem 0 .25rem; }
.nt-pref { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.nt-group .nt-pref:last-child { border-bottom: 0; }
.nt-pic { width: 2rem; height: 2rem; border-radius: 8px; display: grid; place-items: center; background: var(--surface-alt); color: var(--text-2); }
.nt-pic .ic { width: 1.05rem; height: 1.05rem; }
.nt-pref label:not(.tgl) { margin: 0; font-weight: 600; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; cursor: pointer; }
.nt-tag { font-size: .72rem; font-weight: 600; color: var(--text-2); background: var(--surface-alt); border: 1px solid var(--border); border-radius: 999px; padding: .05rem .5rem; }
.nt-tag.warn { color: var(--warning-text); border-color: color-mix(in srgb, var(--warning-fill) 40%, var(--border)); background: color-mix(in srgb, var(--warning-fill) 10%, transparent); }
.nt-hours { display: flex; align-items: center; gap: .4rem; }
.nt-hours input { width: 8.25rem; }
.nt-foot { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; padding: .9rem 1.4rem; border-top: 1px solid var(--border); background: var(--surface-alt); }
.nt-foot .warn { color: var(--warning-text); font-weight: 600; }

/* a compact toggle for settings rows (no card around it) */
.tgl { position: relative; display: inline-flex; flex: none; cursor: pointer; margin: 0; }
.tgl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tgl-track { width: 40px; height: 24px; border-radius: 999px; background: var(--border-strong); transition: background .2s; position: relative; }
.tgl-track::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .2s; }
.tgl input:checked + .tgl-track { background: var(--primary); }
.tgl input:checked + .tgl-track::after { transform: translateX(16px); }
[dir=rtl] .tgl input:checked + .tgl-track::after { transform: translateX(-16px); }
.tgl input:focus-visible + .tgl-track { outline: 3px solid var(--focus); outline-offset: 2px; }
.tgl input:disabled + .tgl-track { opacity: .55; cursor: not-allowed; }
@media (forced-colors: active) { .tgl-track { border: 2px solid CanvasText; } }
@media (prefers-reduced-motion: reduce) { .tgl-track, .tgl-track::after { transition: none; } }

@media (max-width: 40rem) {
  .nt-head, .nt-group, .nt-foot { padding-inline: 1rem; }
  .nt-row { grid-template-columns: .5rem auto minmax(0, 1fr); padding-inline: .6rem 1rem; }
  .nt-side { grid-column: 3; justify-content: space-between; }
  .nt-pref { grid-template-columns: minmax(0, 1fr) auto; }
  .nt-pref .nt-pic { display: none; }
  .nt-pref .nt-hours { grid-column: 1 / -1; }
  .nt-head .row { width: 100%; }
}

/* time, date and number fields look like the other inputs (they had no styling of their own) */
input[type=time], input[type=date], input[type=number] { min-height: 44px; padding: .5rem .75rem; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; }
input[type=time]:focus, input[type=date]:focus, input[type=number]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.nt-hours input { width: 9rem; }

/* ---- meetings: schedule sheet, people picker, lists, the invitation page --------------------- */
textarea { width: 100%; padding: .65rem .9rem; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; line-height: 1.5; resize: vertical; min-height: 5.5rem; }
textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.avatar.xs { width: 1.6rem; height: 1.6rem; font-size: .72rem; flex: none; }
.avatar.xs.mail { background: var(--primary-soft); color: var(--primary); }
.avatar.xs.mail .ic { width: .9rem; height: .9rem; }
.avstack { display: inline-flex; align-items: center; }
.avstack .avatar { border: 2px solid var(--surface); margin-inline-start: -.45rem; }
.avstack .avatar:first-child { margin-inline-start: 0; }
.avstack .avatar.more { background: var(--surface-alt); color: var(--text-2); font-size: .68rem; }

/* a large dialog with a header, a scrolling body and a footer */
dialog.sheet { padding: 0; width: min(44rem, 94vw); max-width: none; max-height: min(92vh, 56rem); overflow: hidden; }
dialog.sheet[open] { display: flex; flex-direction: column; }
.meet-form { display: flex; flex-direction: column; min-height: 0; max-height: inherit; }
.sheet-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5rem 1rem; border-bottom: 1px solid var(--border); }
.sheet-h h2 { margin: 0; font-size: 1.3rem; }
.sheet-h p { margin: .25rem 0 0; }
.sheet-b { padding: 1.25rem 1.5rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; min-height: 0; }
.sheet-f { display: flex; justify-content: flex-end; gap: .6rem; padding: .9rem 1.5rem; border-top: 1px solid var(--border); background: var(--surface-alt); }
.sheet-f.wrap { flex-wrap: wrap; justify-content: flex-start; }
.mt-when { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: .75rem; }
.mt-when input, .mt-when select { width: 100%; }
.mt-opts { border: 1px solid var(--border); border-radius: var(--radius); padding: .25rem 1rem; }
.mt-opts > summary { cursor: pointer; font-weight: 600; padding: .65rem 0; display: flex; align-items: center; gap: .5rem; list-style: none; }
.mt-opts > summary::-webkit-details-marker { display: none; }
.mt-opts[open] > summary { border-bottom: 1px solid var(--border); margin-bottom: .5rem; }
.mt-opts > div:not(.nt-pref) { padding: .5rem 0; }
.mt-opts .nt-pref { grid-template-columns: minmax(0, 1fr) auto; }
.mt-opts .nt-pref:last-child { border-bottom: 0; }

/* the people picker */
.pp { position: relative; display: grid; gap: .35rem; }
.pp-field { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; min-height: 48px; padding: .4rem .5rem; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); cursor: text; }
.pp-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.pp-field input { flex: 1 1 12rem; min-width: 8rem; border: 0; background: transparent; padding: .35rem .3rem; font: inherit; color: var(--text); min-height: 0; box-shadow: none; }
.pp-field input:focus { outline: none; box-shadow: none; }
.pp-chips { display: contents; }
.pp-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .25rem .2rem .25rem; border-radius: 999px; background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); max-width: 100%; }
.pp-chip.opt { background: var(--surface-alt); border-color: var(--border); border-style: dashed; }
.pp-name { font-weight: 600; font-size: .9rem; max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-opt { border: 0; background: transparent; color: var(--text-2); font: inherit; font-size: .72rem; font-weight: 650; padding: .1rem .35rem; border-radius: 999px; cursor: pointer; }
.pp-opt:hover { background: var(--surface); color: var(--text); }
.pp-x { border: 0; background: transparent; color: var(--text-2); width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0; }
.pp-x:hover { background: var(--surface); color: var(--error); }
.pp-x .ic { width: .85rem; height: .85rem; }
.pp-list { position: absolute; z-index: 30; inset-inline: 0; top: calc(100% - 1.35rem); margin: .35rem 0 0; padding: .35rem; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); max-height: 18rem; overflow-y: auto; }
.pp-opt-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .65rem; align-items: center; padding: .55rem .6rem; border-radius: 10px; cursor: pointer; }
.pp-opt-row.on, .pp-opt-row:hover { background: var(--primary-soft); }
.pp-who { display: grid; min-width: 0; }
.pp-who strong, .pp-who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-src { font-size: .72rem; font-weight: 600; color: var(--text-2); background: var(--surface-alt); border: 1px solid var(--border); border-radius: 999px; padding: .05rem .5rem; white-space: nowrap; }
.pp-none { padding: .6rem; color: var(--text-2); font-size: .9rem; }

/* meeting lists */
.mbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; }
.mlist { display: flex; flex-direction: column; gap: 1.1rem; }
.mday h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin: 0 0 .5rem; }
.mday { display: flex; flex-direction: column; gap: .5rem; }
.mrow { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; width: 100%; text-align: start; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.mrow:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); box-shadow: var(--shadow); }
.mrow:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.mrow.cancelled .mrow-title { text-decoration: line-through; color: var(--text-2); }
.mrow-time { display: grid; padding-inline-end: .9rem; border-inline-end: 3px solid var(--primary); }
.mrow.cancelled .mrow-time { border-color: var(--border-strong); }
.mrow-time strong { font-size: 1rem; white-space: nowrap; }
.mrow-time small { color: var(--text-2); font-size: .8rem; }
.mrow-main { display: grid; gap: .15rem; min-width: 0; }
.mrow-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.mrow-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow-side { display: flex; align-items: center; gap: .6rem; }
.pill.live { color: var(--success); border-color: color-mix(in srgb, var(--success) 40%, var(--border)); }
.pill.live::before { animation: livepulse 1.4s ease-in-out infinite; }
@keyframes livepulse { 50% { opacity: .3; } }
.mlist.compact .mrow { box-shadow: none; }
.mempty { display: grid; justify-items: center; text-align: center; gap: .5rem; padding: 2.5rem 1.5rem; }
.mempty p { margin: 0; max-width: 28rem; }

/* meeting details */
.md-facts { display: grid; gap: .65rem; }
.md-facts > div { display: flex; gap: .7rem; align-items: flex-start; }
.md-facts .ic { color: var(--text-2); flex: none; margin-top: .15rem; }
.md-reply { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .75rem 1rem; border-radius: var(--radius); background: var(--surface-alt); border: 1px solid var(--border); }
.md-sub { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin: 0 0 .5rem; display: flex; align-items: baseline; flex-wrap: wrap; }
.md-agenda { white-space: pre-wrap; margin: 0; padding: .75rem 1rem; border-inline-start: 3px solid var(--border-strong); background: var(--surface-alt); border-radius: 0 12px 12px 0; }
.md-people { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.md-people li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--border); }
.md-people li:last-child { border-bottom: 0; }
.md-who { display: grid; min-width: 0; }
.md-who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* the invitation page */
.mlink { max-width: 36rem; margin-block: clamp(1rem, 5vw, 3rem); }
.mlink-title { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0; }

@media (max-width: 40rem) {
  .mt-when { grid-template-columns: 1fr 1fr; }
  .mt-when > div:first-child { grid-column: 1 / -1; }
  .sheet-h, .sheet-b, .sheet-f { padding-inline: 1rem; }
  dialog.sheet { width: 100vw; max-height: 100vh; max-height: 100dvh; border-radius: 18px 18px 0 0; margin-bottom: 0; }
  .mrow { grid-template-columns: 5.2rem minmax(0, 1fr); }
  .mrow-side { grid-column: 1 / -1; justify-content: flex-end; flex-wrap: wrap; }
  .mbar > .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .pill.live::before { animation: none; } .mrow { transition: none; } }
.nt-pref[hidden] { display: none; }

/* ---- the calendar (Day, Week, Month), modelled on the Teams and Outlook calendars ------------- */
.cal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.cal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--border); }
.cal-nav { display: flex; align-items: center; gap: .35rem; min-width: 0; }
.cal-nav .prev .ic { transform: scaleX(-1); }
.cal-label { font-size: 1.05rem; margin-inline-start: .35rem; white-space: nowrap; }
.cal .mlist, .cal > .stack { padding: 1rem; }
.cal .mempty { border: 0; box-shadow: none; }
.mt-past summary { cursor: pointer; font-weight: 600; color: var(--text-2); padding: .25rem 0 .75rem; }

.cal-time { display: flex; flex-direction: column; overflow-x: auto; }
.cal-head { display: grid; border-bottom: 1px solid var(--border); background: var(--surface); position: sticky; top: 0; z-index: 2; min-width: min-content; }
.cal-dh { border: 0; border-radius: 0; background: transparent; color: var(--text-2); font: inherit; padding: .55rem .25rem; display: grid; justify-items: center; gap: .1rem; cursor: pointer; border-inline-start: 1px solid var(--border); }
.cal-dh small { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.cal-dh strong { font-size: 1.25rem; color: var(--text); width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; }
.cal-dh.today small { color: var(--primary); }
.cal-dh.today strong { background: var(--primary); color: var(--on-primary); }
.cal-dh:hover strong { background: var(--surface-alt); }
.cal-dh.today:hover strong { background: var(--primary); }
.cal-scroll { height: min(68vh, 40rem); overflow-y: auto; min-width: min-content; }
.cal-grid { display: grid; position: relative; }
.cal-gutter { position: relative; }
.cal-gutter span { position: absolute; inset-inline-end: .5rem; transform: translateY(-.55rem); font-size: .72rem; color: var(--text-2); white-space: nowrap; }
.cal-col { position: relative; border-inline-start: 1px solid var(--border); cursor: copy; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 51px, var(--border) 51px, var(--border) 52px), repeating-linear-gradient(to bottom, transparent 0, transparent 25px, color-mix(in srgb, var(--border) 45%, transparent) 25px, color-mix(in srgb, var(--border) 45%, transparent) 26px, transparent 26px, transparent 52px); }
.cal-col:hover { background-color: color-mix(in srgb, var(--primary-soft) 35%, transparent); }
.cal-col.today { background-color: color-mix(in srgb, var(--primary-soft) 45%, transparent); }
.cal-now { position: absolute; inset-inline: -1px 0; height: 2px; background: var(--error); z-index: 3; pointer-events: none; }
.cal-now::before { content: ""; position: absolute; inset-inline-start: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--error); }

.cal-ev { position: absolute; display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; overflow: hidden; text-align: start; padding: .3rem .45rem; border: 0; border-inline-start: 4px solid var(--primary); border-radius: 8px; background: color-mix(in srgb, var(--primary) 16%, var(--surface)); color: var(--text); font: inherit; font-size: .8rem; line-height: 1.25; cursor: pointer; z-index: 1; box-shadow: var(--shadow-sm); }
.cal-ev:hover { z-index: 4; box-shadow: var(--shadow); filter: brightness(.98); }
.cal-ev:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; z-index: 4; }
.cal-ev strong { display: flex; align-items: center; gap: .25rem; font-weight: 650; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev strong .ic { width: .8rem; height: .8rem; flex: none; }
.cal-ev span { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cal-ev.guest { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border-color: var(--accent); }
.cal-ev.pending { background: var(--surface); border: 1px dashed var(--accent); border-inline-start: 4px solid var(--accent); }
.cal-ev.declined { opacity: .6; background: var(--surface-alt); border-color: var(--border-strong); }
.cal-ev.live { border-color: var(--success); background: color-mix(in srgb, var(--success) 15%, var(--surface)); }
.cal-ev.cancelled { background: var(--surface-alt); border-color: var(--border-strong); color: var(--text-2); }
.cal-ev.cancelled strong { text-decoration: line-through; }

.cal-month { display: flex; flex-direction: column; }
.cal-mhead { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--border); }
.cal-mhead span { padding: .5rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--text-2); }
.cal-mgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: minmax(6.5rem, auto); }
.cal-cell { border-inline-end: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: .3rem; display: flex; flex-direction: column; gap: .2rem; min-width: 0; cursor: copy; }
.cal-cell:nth-child(7n) { border-inline-end: 0; }
.cal-cell:hover { background: color-mix(in srgb, var(--primary-soft) 35%, transparent); }
.cal-cell.other { background: color-mix(in srgb, var(--surface-alt) 60%, transparent); }
.cal-cell.other .cal-num { color: var(--text-2); }
.cal-num { align-self: flex-start; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: .85rem; color: var(--text); width: 1.8rem; height: 1.8rem; border-radius: 50%; cursor: pointer; }
.cal-num:hover { background: var(--surface-alt); }
.cal-cell.today .cal-num { background: var(--primary); color: var(--on-primary); }
.cal-cell .cal-ev { position: static; width: 100%; flex-direction: row; align-items: center; gap: .35rem; padding: .15rem .35rem; border-inline-start-width: 3px; box-shadow: none; }
.cal-cell .cal-ev strong { flex: 1; min-width: 0; }
.cal-t { color: var(--text-2); font-size: .72rem; flex: none; }
.cal-more { border: 0; background: transparent; color: var(--primary); font: inherit; font-size: .75rem; font-weight: 600; text-align: start; padding: .1rem .35rem; cursor: pointer; }

/* the schedule dialog: repeat and the conflict check */
.mt-repeat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; align-items: start; }
.mt-endwrap > label { display: block; }
.cal-cell .cal-ev strong .ic { display: none; }
.mt-repeat select { width: 100%; }
.mt-endwrap[hidden] { display: none; }
.mt-end { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.mt-end input[type=number] { width: 5rem; }
.mt-end input[type=date] { flex: 1 1 9rem; min-width: 0; }
.mt-free { display: flex; align-items: center; gap: .4rem; margin: 0; color: var(--success); font-size: .88rem; font-weight: 600; }
.mt-free .ic { width: 1rem; height: 1rem; }
.mrow-title .ic { width: .9rem; height: .9rem; color: var(--text-2); vertical-align: -.1em; margin-inline-end: .3rem; }

@media (max-width: 40rem) {
  .cal-bar { padding: .6rem .75rem; }
  .cal-bar > .seg { width: 100%; }
  .cal-label { font-size: .95rem; white-space: normal; }
  .cal-mgrid { grid-auto-rows: minmax(4.25rem, auto); }
  .cal-cell .cal-ev strong, .cal-t { display: none; }
  .cal-cell .cal-ev { height: .5rem; padding: 0; border-radius: 4px; }
  .mt-repeat { grid-template-columns: minmax(0, 1fr); }
}

/* ---- in-call chat and reactions --------------------------------------------------------------- */
.ch { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.ch-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: .75rem .9rem; }
.ch-empty { display: grid; justify-items: center; text-align: center; gap: .35rem; padding: 2.5rem 1rem; }
.ch-empty p { margin: 0; }
.ch-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.ch-msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 100%; margin-top: .6rem; }
.ch-msg.grouped { margin-top: .1rem; }
.ch-msg.mine { align-items: flex-end; }
.ch-meta { display: flex; gap: .5rem; align-items: baseline; font-size: .76rem; color: var(--text-2); margin: 0 .25rem .2rem; }
.ch-meta strong { color: var(--text); font-weight: 650; }
.ch-bubble { margin: 0; padding: .5rem .75rem; border-radius: 4px 14px 14px 14px; background: var(--surface-alt); border: 1px solid var(--border); max-width: 88%; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; font-size: .93rem; }
.ch-msg.mine .ch-bubble { border-radius: 14px 4px 14px 14px; background: color-mix(in srgb, var(--primary) 16%, var(--surface)); border-color: color-mix(in srgb, var(--primary) 30%, var(--border)); }
.ch-compose { display: flex; gap: .5rem; align-items: flex-end; padding: .65rem .75rem .35rem; border-top: 1px solid var(--border); }
.ch-input { flex: 1; min-height: 2.6rem; max-height: 140px; resize: none; padding: .55rem .8rem; border-radius: 12px; font-size: .95rem; }
.ch-send { width: 2.6rem; height: 2.6rem; flex: none; border-radius: 12px; }
.ch-note { margin: 0; padding: 0 .9rem .6rem; font-size: .74rem; }

.reactmenu { display: flex; gap: .15rem; padding: .35rem; inset-inline: auto; left: 50%; transform: translateX(-50%); width: auto; border-radius: 999px; }
.react-b { font-size: 1.6rem; line-height: 1; width: 2.9rem; height: 2.9rem; border: 0; border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; transition: transform .12s, background .12s; }
.react-b:hover, .react-b:focus-visible { background: var(--surface-alt); transform: scale(1.18); }
.react-b:focus-visible { outline: 2px solid var(--focus); }

.reactfly { position: fixed; inset-inline-start: clamp(1rem, 4vw, 2.5rem); bottom: 6.5rem; width: 9rem; height: 60vh; pointer-events: none; z-index: 60; }
.rf { position: absolute; bottom: 0; inset-inline-start: var(--x, 0); display: flex; flex-direction: column; align-items: center; gap: .2rem; animation: rfup 3.1s ease-out forwards; }
.rf-e { font-size: 2.6rem; line-height: 1; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .3)); }
.rf-n { font-size: .75rem; font-weight: 600; color: #fff; background: rgba(15, 23, 42, .78); padding: .1rem .5rem; border-radius: 999px; white-space: nowrap; max-width: 9rem; overflow: hidden; text-overflow: ellipsis; }
@keyframes rfup { 0% { transform: translateY(0) scale(.6); opacity: 0; } 12% { transform: translateY(-1.5rem) scale(1.1); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(-48vh) scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .rf { animation: rffade 3.1s linear forwards; }
  @keyframes rffade { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
  .react-b { transition: none; }
}
.ch-empty[hidden] { display: none; }
.ch-tr { display: inline-flex; align-items: center; gap: .3rem; margin: .2rem .3rem 0; padding: 0; border: 0; background: transparent; font: inherit; font-size: .72rem; color: var(--text-2); cursor: pointer; }
button.ch-tr:hover { color: var(--primary); text-decoration: underline; }
.ch-tr .ic { width: .8rem; height: .8rem; }

/* host tools in the People panel and the chat switches */
.hosttools { display: flex; flex-wrap: wrap; gap: .4rem; padding-bottom: .75rem; margin-bottom: .5rem; border-bottom: 1px solid var(--border); }
.ch-host { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding: .55rem .9rem; border-bottom: 1px solid var(--border); }
.ch-host:empty { display: none; }
.ch-sw { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 600; margin: 0; cursor: pointer; }
.ch-closed { display: flex; align-items: center; gap: .4rem; margin: 0; padding: .7rem .9rem; border-top: 1px solid var(--border); }
.ch-closed[hidden], .ch-compose[hidden] { display: none; }
.ch-closed .ic { width: .9rem; height: .9rem; }

/* ---- polls in a call ------------------------------------------------------------------------- */
.plbody { overflow-y: auto; }
.pl { display: flex; flex-direction: column; gap: .9rem; padding: .25rem 0; }
.pl-form { display: grid; gap: .5rem; padding: .85rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-alt); }
.pl-form input { width: 100%; min-height: 40px; padding: .45rem .7rem; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; }
.pl-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.pl-fopts { display: grid; gap: .4rem; }
.pl-form .row { justify-content: space-between; }
.pl-list { display: flex; flex-direction: column; gap: .75rem; }
.pl-card { display: grid; gap: .5rem; padding: .9rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.pl-card.ended { background: var(--surface-alt); }
.pl-h { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.pl-q { font-size: 1rem; margin: 0; line-height: 1.35; }
.pl-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.pl-opt { position: relative; overflow: hidden; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 42px; padding: .5rem .75rem; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; text-align: start; cursor: pointer; }
.pl-opt:hover:not(:disabled) { border-color: var(--primary); }
.pl-opt:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.pl-opt:disabled { cursor: default; }
.pl-opt.mine { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.pl-bar { position: absolute; inset-block: 0; inset-inline-start: 0; background: var(--primary-soft); transition: width .4s ease; z-index: 0; }
.pl-opt.mine .pl-bar { background: color-mix(in srgb, var(--primary) 26%, transparent); }
.pl-l, .pl-n { position: relative; z-index: 1; }
.pl-l { display: flex; align-items: center; gap: .4rem; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.pl-l .ic { width: 1rem; height: 1rem; color: var(--primary); flex: none; }
.pl-n { font-size: .82rem; color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .pl-bar { transition: none; } }

/* Connection health (signal bars on tiles, the Connection panel) and late speech in the transcript. */
.netbars { display: inline-flex; align-items: flex-end; gap: 2px; height: .8rem; margin-inline-end: .35rem; vertical-align: -1px; }
.netbars i { width: 3px; border-radius: 1px; background: rgba(255,255,255,.28); }
.netbars i:nth-child(1) { height: 35%; } .netbars i:nth-child(2) { height: 65%; } .netbars i:nth-child(3) { height: 100%; }
.netbars.good i.on { background: #34D399; } .netbars.fair i.on { background: #FBBF24; } .netbars.poor i.on { background: #F87171; }
.netbars.offline i { background: rgba(248,113,113,.45); }
.netdlg { width: min(30rem, calc(100vw - 2rem)); }
.netpanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: .35rem 1rem; margin: .75rem 0 0; }
.netrow { display: contents; }
.netrow dt { color: var(--muted); font-size: .88rem; }
.netrow dd { margin: 0; font-size: .88rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tx-msg.late .tx-bubble { border-style: dashed; }
.tx-late { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .4rem; padding-top: .4rem; border-top: 1px dashed var(--border); }
.tx-late .pill { display: inline-flex; align-items: center; gap: .25rem; font-size: .72rem; }
.tx-late .pill svg, .tx-late .btn svg { width: .85rem; height: .85rem; }

/* Catch-up bar: what you missed is playing (or waiting), with speed and a way back to live. */
.cubar { position: absolute; z-index: 6; left: 50%; transform: translateX(-50%); top: 3.2rem; width: max-content; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; max-width: min(46rem, calc(100% - 1rem)); padding: .55rem .85rem; border-radius: 14px; background: rgba(15,23,42,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #E2E8F0; border: 1px solid rgba(251,191,36,.45); box-shadow: 0 8px 28px rgba(0,0,0,.35); font-size: .9rem; }
.cubar .cu-dot { width: .6rem; height: .6rem; border-radius: 50%; background: #FBBF24; animation: txlive 1.6s ease-out infinite; }
.cubar .cu-speeds { display: inline-flex; gap: .15rem; }
.cubar .btn.ghost { color: #E2E8F0; }
.cubar .btn.ghost.on { background: rgba(251,191,36,.22); color: #FDE68A; }
@media (max-width: 40rem) { .cubar { top: 2.6rem; font-size: .82rem; padding: .45rem .6rem; } }
.tx-list.noanim .tx-msg { animation: none; }

/* Transkey inside Teams, Zoom and Meet: a narrow panel */
.embedwrap { max-width: 28rem; margin: 0 auto; padding: .9rem .9rem 2rem; display: grid; gap: .9rem; align-content: start; min-height: 100vh; }
.embedhead { display: flex; align-items: center; gap: .55rem; font-size: 1.15rem; }
.embedhead img { height: 24px; width: auto; display: block; }
.embedhead .pill { margin-inline-start: auto; }

/* Buying credits: request, discounts, payment */
.seg-b[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
dialog.dlg.wide { width: min(620px, calc(100vw - 32px)); max-width: none; max-height: 92vh; overflow: auto; }
.row.wrap { flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
.curpick { display: flex; align-items: center; gap: .5rem; }
.curpick select { width: auto; }
.pack .packsave { margin-top: .4rem; align-self: flex-start; }
.pricesum { display: grid; gap: .4rem; padding: .85rem 1rem; border-radius: 14px; background: var(--surface-alt); border: 1px solid var(--border); }
.ps-row { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; font-size: .94rem; font-variant-numeric: tabular-nums; }
.ps-row > :last-child { white-space: nowrap; text-align: end; }
.ps-row.save { color: var(--success); }
.ps-row.total { border-top: 1px solid var(--border); padding-top: .5rem; font-size: 1.05rem; }
.ps-row.total strong { font-size: 1.2rem; }
.pricesum p { margin: 0; }
.nudge { display: flex; gap: .45rem; align-items: center; color: var(--primary); font-weight: 600; }
.tierchips { display: flex; flex-wrap: wrap; gap: .4rem; }
.tierchip { display: inline-flex; align-items: center; padding: .3rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 600; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); }
.tierchip.on { border-color: color-mix(in srgb, var(--success) 45%, var(--border)); background: color-mix(in srgb, var(--success) 10%, var(--surface)); color: var(--text); }
.steps { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: .3rem; color: var(--text-2); }
.steps strong { color: var(--text); }
.bankbox { margin: 0; padding: .85rem 1rem; border-radius: 12px; background: var(--surface-alt); border: 1px solid var(--border); white-space: pre-wrap; overflow-wrap: anywhere; font: 500 .92rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.readybar { align-items: center; flex-wrap: wrap; border-color: color-mix(in srgb, var(--success) 40%, var(--border)); background: color-mix(in srgb, var(--success) 8%, var(--surface)); }
.readybar > span { flex: 1 1 220px; }
.readybar .ic { color: var(--success); }
.volbox { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.volbox p { margin: .15rem 0 0; }
.reqlist { display: grid; gap: .5rem; }
.reqitem { align-items: center; gap: .75rem; flex-wrap: wrap; }
.reqitem .who small.bad { color: var(--error); }
@media (max-width: 520px) {
  .reqitem > .row { width: 100%; }
  .curpick { width: 100%; justify-content: space-between; }
}
.seg[hidden] { display: none; }

/* Google Calendar connection card (meetings tab) */
.gcal { display: grid; gap: .75rem; padding: 1rem 1.1rem; }
.gcal-head { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.gcal-logo { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); flex: none; }
.gcal-logo .gmark { width: 1.5rem; height: 1.5rem; }
.gcal-title { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; flex: 1 1 12rem; min-width: 0; }
.gcal-title strong { font-size: 1.05rem; }
.gcal-more summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--text-2); padding: .2rem 0; }
.gcal-more[open] summary { margin-bottom: .6rem; }
.gcal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.gcal-list li { display: flex; gap: .6rem; align-items: flex-start; }
/* Google busy times: shaded, striped blocks behind meetings; clicks go through to the slot. */
.cal-busy { position: absolute; inset-inline: 2px; z-index: 0; pointer-events: none; border-radius: 8px; border: 1px dashed color-mix(in srgb, var(--text-2) 45%, transparent); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--text-2) 12%, transparent) 0 6px, transparent 6px 12px); overflow: hidden; }
.cal-busy span { display: block; padding: .15rem .4rem; font-size: .7rem; font-weight: 600; color: var(--text-2); }
.cal-col .cal-ev { z-index: 1; }
.ag-gbusy { display: grid; gap: .35rem; padding: .85rem 1rem; border-radius: 18px; border: 1px dashed var(--border); background: var(--surface); }
.ag-gbusy-head { display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600; color: var(--text-2); }
.gmini { display: inline-grid; place-items: center; width: 18px; height: 18px; }
.gmini .gmark { width: 16px; height: 16px; }
.ag-gbusy-row { display: flex; align-items: center; gap: .75rem; padding: .4rem .6rem; border-radius: 10px; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--text-2) 10%, transparent) 0 6px, transparent 6px 12px); }
.ag-gbusy-row strong { font-size: .9rem; }
.ag-gbusy-row span { color: var(--text-2); font-size: .9rem; }
/* The small page Google returns people to. */
.gcal-done { min-height: 100vh; display: grid; place-items: center; padding: 1rem; background: var(--bg); }
.gcal-done .card { text-align: center; align-items: center; max-width: 30rem; }
.gcal-done h1 { font-size: 1.5rem; margin: .25rem 0 0; }
.gcal-done-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-size: 1.6rem; font-weight: 700; }
.gcal-done-ic.ok { background: color-mix(in srgb, var(--success) 15%, transparent); color: var(--success); }
.gcal-done-ic.bad { background: color-mix(in srgb, var(--error) 12%, transparent); color: var(--error); }
.gcal-list .ic { flex: none; color: var(--success); margin-top: .15rem; }
.btn .gmark { width: 1.1rem; height: 1.1rem; }
.btn[disabled] .gmark { opacity: .6; }
@media (max-width: 520px) { .gcal-head > .btn { flex: 1 1 100%; justify-content: center; } }

/* Paying by card: saved cards, the card field, the payer's choice */
.cardfield { padding: .85rem 1rem; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); min-height: 48px; }
.cardlist { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; justify-items: start; min-width: 0; }
.cardrow { display: flex; align-items: center; gap: .75rem; width: 100%; min-width: 0; box-sizing: border-box; padding: .6rem .75rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.cardrow .who { flex: 1 1 auto; min-width: 0; }
.cardbrand { display: inline-grid; place-items: center; min-width: 3rem; height: 2rem; padding: 0 .4rem; border-radius: 6px; font: 800 .7rem/1 system-ui, sans-serif; letter-spacing: .06em; color: #fff; background: #334155; flex: none; }
.cardbrand.b-visa { background: #1A1F71; } .cardbrand.b-mastercard { background: #EB001B; } .cardbrand.b-amex { background: #2E77BB; }
.cardbrand.b-discover { background: #E55C20; } .cardbrand.b-jcb { background: #0B4EA2; } .cardbrand.b-unionpay { background: #00447C; }
.paycards { display: grid; gap: .45rem; }
.paycard { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; background: var(--surface); }
.paycard:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 25%, transparent); }
.paycard > span:not(.cardbrand):not(.pill) { flex: 1 1 auto; }
.paysection, .teamreqs { padding: 1.1rem; }
.stack.tight { gap: .45rem; }

/* Give credits: the three choices share the dialog's width and never push it sideways. */
.seg.gvseg { display: grid; width: 100%; min-width: 0; }
.seg.gvseg .seg-b { padding: 0 .4rem; font-size: .9rem; line-height: 1.15; min-width: 0; text-align: center; }
.dlg form input, .dlg form select { max-width: 100%; box-sizing: border-box; }

/* ---- the simple home (default after sign-in), laid out like a meeting app's start page:
   join with a code, one New button, a rail, a week strip and the day's meetings as cards. */
.simplehome { max-width: 1280px; margin: 0 auto; padding: .5rem 1rem 3rem; }
.viewswitch { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .75rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.viewswitch:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.vs-track { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--border); transition: background .15s; }
.vs-thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .15s; }
.viewswitch[aria-checked="true"] .vs-track { background: var(--primary); }
.viewswitch[aria-checked="true"] .vs-thumb { transform: translateX(14px); }
.linkish { background: none; border: 0; padding: 0; color: var(--primary); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.sh-art { display: flex; flex-direction: column; gap: .85rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 28px; background: var(--surface-alt); border: 1px solid var(--border); }
.sh-bubble { max-width: 85%; padding: .8rem 1rem; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); font-size: 1rem; line-height: 1.4; }
.sh-bubble.a { align-self: flex-start; border-bottom-left-radius: 6px; }
.sh-bubble.b { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--primary); color: var(--on-primary); }
.sh-lang { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; opacity: .7; margin-bottom: .2rem; }
.sh-top { display: flex; align-items: flex-start; gap: .75rem; flex-wrap: wrap; padding: .5rem 0 1.25rem; }
.sh-joincol { flex: 0 1 30rem; min-width: 0; }
.sh-join { display: flex; align-items: center; gap: .5rem; height: 52px; padding: 0 .35rem 0 1rem; border-radius: 999px; background: var(--surface-alt); border: 1px solid transparent; transition: border-color .15s, box-shadow .15s, background .15s; }
.sh-join:focus-within { background: var(--surface); border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.sh-join > .ic { width: 20px; height: 20px; color: var(--text-2); flex: none; }
.sh-join input[type=text] { flex: 1; min-width: 0; min-height: 0; height: 100%; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 1rem; }
.sh-join input[type=text]:focus { box-shadow: none; }
.sh-joinbtn { flex: none; height: 40px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 700; cursor: pointer; }
.sh-joinbtn:disabled { background: transparent; color: var(--text-2); opacity: .7; cursor: default; }
.sh-codeerr .err { margin: .4rem 1rem 0; }
.sh-newwrap { position: relative; flex: none; }
.sh-new { display: inline-flex; align-items: center; gap: .5rem; height: 52px; padding: 0 1rem 0 1.15rem; border: 0; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: 0 6px 16px -6px var(--primary); }
.sh-new:hover { background: var(--primary-strong); }
.sh-new:focus-visible, .sh-joinbtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sh-new .ic { width: 20px; height: 20px; }
.sh-new .ic:last-child { width: 16px; height: 16px; opacity: .85; }
.sh-menu { position: absolute; z-index: 40; top: calc(100% + .5rem); inset-inline-start: 0; width: min(22rem, calc(100vw - 2rem)); padding: .4rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.sh-mi { display: flex; align-items: center; justify-content: flex-start; gap: .85rem; min-height: 0; width: 100%; padding: .7rem .75rem; border: 0; border-radius: 12px; background: transparent; color: var(--text); text-align: start; cursor: pointer; }
.sh-mi:hover, .sh-mi:focus-visible { background: var(--surface-alt); outline: none; }
.sh-mi strong { display: block; font-size: .98rem; }
.sh-mi small { display: block; color: var(--text-2); font-size: .82rem; line-height: 1.35; }
.sh-mi-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.sh-mi-ic .ic { width: 20px; height: 20px; }
.sh-grow { flex: 1; }
.sh-menu-foot { display: flex; justify-content: flex-end; margin-top: .25rem; padding: .35rem .25rem 0; border-top: 1px solid var(--border); }
.dlg-actions { justify-content: flex-end; gap: .6rem; flex-wrap: wrap; }
.dlg .langpair { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
/* The Advanced switch sits where it does on the simple home (top right, same width and height). */
.view-bar { display: flex; justify-content: flex-end; max-width: 1280px; margin: 0 auto; padding: 1rem 1rem .75rem; }
.view-bar .viewswitch { height: 52px; }
@media (max-width: 760px) { .view-bar { padding: .5rem .75rem; } .view-bar .viewswitch { height: 48px; } }
.sh-top .viewswitch { height: 52px; }

.sh-layout { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.5rem); align-items: start; }
.sh-rail { position: sticky; top: 1rem; display: flex; flex-direction: column; gap: .9rem; }
.sh-rail-b { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 0; border: 0; background: none; color: var(--text-2); font-size: .82rem; font-weight: 600; cursor: pointer; }
.sh-rail-ic { display: grid; place-items: center; width: 60px; height: 34px; border-radius: 999px; transition: background .15s; }
.sh-rail-ic .ic { width: 22px; height: 22px; }
.sh-rail-b:hover .sh-rail-ic { background: var(--surface-alt); }
.sh-rail-b[aria-current="page"] { color: var(--primary); }
.sh-rail-b[aria-current="page"] .sh-rail-ic { background: var(--primary-soft); }
.sh-rail-b:focus-visible { outline: none; }
.sh-rail-b:focus-visible .sh-rail-ic { outline: 2px solid var(--focus); outline-offset: 2px; }

.sh-content { display: flex; flex-direction: column; gap: 1rem; min-width: 0; max-width: 1060px; }
.sh-dayhead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .25rem; }
.sh-dateline { display: flex; align-items: center; gap: .35rem; position: relative; }
.sh-date { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -.01em; }
.sh-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); cursor: pointer; }
.sh-iconbtn:hover { background: var(--surface-alt); color: var(--text); }
.sh-iconbtn .ic { width: 22px; height: 22px; }
.sh-pick { position: absolute; inset-inline-start: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; min-height: 0; }
.sh-week { display: flex; align-items: center; gap: .15rem; }
.sh-arrow { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); cursor: pointer; }
.sh-arrow:hover { background: var(--surface-alt); color: var(--text); }
.sh-arrow.prev .ic { transform: scaleX(-1); }
.sh-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; width: 56px; height: 68px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; }
.sh-day small { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.sh-day strong { font-size: 1.15rem; font-weight: 600; }
.sh-day i { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.sh-day i.dot { background: var(--primary); }
.sh-day:hover { background: var(--surface-alt); }
.sh-day.today strong { color: var(--primary); }
.sh-day[aria-pressed="true"] { background: var(--primary-soft); }
.sh-day[aria-pressed="true"] small, .sh-day[aria-pressed="true"] strong { color: var(--primary); }
.sh-day:focus-visible, .sh-arrow:focus-visible, .sh-iconbtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }

.sh-banner { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.sh-banner > div { flex: 1; min-width: 0; }
.sh-banner strong { display: block; }
.sh-banner p { margin: .1rem 0 0; color: var(--text-2); font-size: .9rem; }
.sh-banner-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }

.ag-list { display: flex; flex-direction: column; gap: .6rem; }
.ag-item { position: relative; display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 1.75rem; border-radius: 24px; background: var(--primary-soft); color: var(--text); transition: box-shadow .15s; }
.ag-item:hover { box-shadow: var(--shadow); }
.ag-item.is-past { background: var(--surface-alt); }
.ag-item.is-past .ag-title, .ag-item.is-past .ag-when { color: var(--text-2); }
.ag-open { position: absolute; inset: 0; min-height: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.ag-open:active { transform: none !important; }
.ag-open:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ag-body { flex: 1; min-width: 0; pointer-events: none; }
.ag-when { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; color: var(--primary); font-weight: 700; font-size: .95rem; }
.ag-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 .65rem; border-radius: 999px; border: 1.5px solid currentColor; font-size: .8rem; font-weight: 700; }
.ag-chip.now { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.ag-rep { display: inline-flex; align-items: center; gap: .25rem; color: var(--text-2); font-weight: 600; font-size: .85rem; }
.ag-rep .ic { width: 15px; height: 15px; }
.ag-title { margin-top: .35rem; font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.ag-meta { display: flex; align-items: center; gap: .6rem; margin-top: .5rem; color: var(--text-2); font-size: .9rem; }
.ag-act { position: relative; flex: none; }
.ag-join { min-width: 100px; height: 56px; padding: 0 1.75rem; border: 0; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 1.05rem; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px -8px var(--primary); }
.ag-join:hover { background: var(--primary-strong); }
.ag-join:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.ag-join:disabled { opacity: .6; cursor: progress; }

.ag-empty { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1rem, 4vw, 3rem); align-items: center; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 28px; border: 1px solid var(--border); background: var(--surface); }
.ag-empty-copy strong { display: block; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.2; letter-spacing: -.01em; }
.ag-empty-copy p { margin: .6rem 0 1.25rem; max-width: 30rem; }
.ag-empty .sh-art { padding: 1.25rem; }
.framed-lite { padding: clamp(1rem, 2.5vw, 1.5rem); }

@media (max-width: 760px) {
  .simplehome { padding: .25rem .75rem 5rem; }
  .sh-top { gap: .6rem; padding-bottom: .75rem; }
  .sh-joincol { flex: 1 1 100%; }
  .sh-new, .sh-top .viewswitch, .sh-join { height: 48px; }
  .sh-layout { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .sh-rail { position: static; flex-direction: row; gap: .35rem; padding: .3rem; border-radius: 999px; background: var(--surface-alt); }
  .sh-rail-b { flex: 1; flex-direction: row; justify-content: center; gap: .4rem; height: 40px; border-radius: 999px; font-size: .9rem; }
  .sh-rail-ic { width: auto; height: auto; background: none !important; }
  .sh-rail-b[aria-current="page"] { background: var(--surface); box-shadow: var(--shadow-sm); }
  .sh-dayhead { flex-direction: column; align-items: stretch; gap: .5rem; }
  .sh-week { justify-content: space-between; gap: 0; }
  .sh-day { width: auto; flex: 1; min-width: 0; height: 60px; }
  .sh-arrow { width: 32px; flex: none; }
  .ag-item { flex-direction: column; align-items: stretch; gap: .9rem; padding: 1.1rem 1.15rem; border-radius: 20px; }
  .ag-join { width: 100%; height: 48px; }
  .ag-empty { grid-template-columns: 1fr; }
  .ag-empty .sh-art .sh-bubble:nth-child(n+3) { display: none; }
  .ag-empty-copy .row .btn { flex: 1; justify-content: center; }
  .sh-banner { flex-wrap: wrap; }
}
@media (max-width: 400px) {
  .sh-arrow { width: 26px; height: 32px; }
  .sh-arrow .ic { width: 18px; height: 18px; }
  .sh-day small { letter-spacing: 0; }
  .sh-day strong { font-size: 1.05rem; }
  .sh-top .viewswitch { padding: 0 .6rem; }
}

/* ---- 1-to-1 in-person sessions: the QR card, the device badge, the quick guest page */
.sesscard { text-align: center; align-items: center; max-width: 420px; margin: 0 auto; }
.sesscard.compact { border: 0; box-shadow: none; padding: 0; background: none; }
.qrbox { display: grid; place-items: center; padding: .75rem; border-radius: 20px; background: #fff; border: 1px solid var(--border); }
.qrimg { width: min(320px, 72vw); height: auto; aspect-ratio: 1; image-rendering: pixelated; display: block; }
.sesscard.compact .qrimg { width: min(240px, 60vw); }
.sessacts { justify-content: center; gap: .5rem; }
.devpill { display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: .9rem; white-space: nowrap; flex: none; }
@media (max-width: 480px) { .devpill .dp-long { display: none; } }
button.devpill { cursor: pointer; }
.devpill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--warn, #d97706); }
.devpill.ok .dot { background: var(--ok, #16a34a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok, #16a34a) 25%, transparent); }
.sessguest { max-width: 460px; }
.sg-head h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); margin: .4rem 0 .3rem; }
.sg-live { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); }
.sg-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.tapjoin { width: 100%; min-height: 60px; font-size: 1.1rem; justify-content: center; }
.sg-live.paused { color: var(--text-2); }
.sg-live.paused i { background: var(--text-2); }
.wakewait { text-align: center; align-items: center; }
.pulse { display: flex; gap: .5rem; justify-content: center; padding: 1rem 0 .25rem; }
.pulse i { width: 14px; height: 14px; border-radius: 50%; background: var(--primary); animation: vbpulse 1.2s infinite ease-in-out; }
.pulse i:nth-child(2) { animation-delay: .2s; }
.pulse i:nth-child(3) { animation-delay: .4s; }
@keyframes vbpulse { 0%, 80%, 100% { transform: scale(.6); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pulse i { animation: none; opacity: .8; } }
/* "Too close": a full-width card on the call stage while translation pauses */
.tooclose { display: flex; gap: .75rem; align-items: flex-start; margin: .5rem; padding: 1rem 1.1rem; border-radius: 16px; background: var(--warn-bg, #fef3c7); color: var(--warn-text, #78350f); border: 1px solid color-mix(in srgb, #d97706 45%, transparent); font-size: 1.05rem; z-index: 6; }
.tooclose strong { display: block; font-size: 1.15rem; margin-bottom: .15rem; }
.tooclose .ic { flex: none; margin-top: .15rem; }
.pushcard .pc-head { gap: .5rem; align-items: center; }
.pushcard.compact { max-width: 34rem; padding: .85rem 1rem; margin-bottom: .75rem; }
/* Password sign-in: a show/hide button inside the field row, a quiet "Forgot password?" link */
/* Show / hide eye inside every password field (added by revealable() in app.js). */
.pwfield { position: relative; display: block; width: 100%; }
.pwfield > input { width: 100%; padding-inline-end: 3.25rem; }
.pwtoggle { position: absolute; inset-block: 0; inset-inline-end: 4px; margin-block: auto; display: inline-grid; place-items: center; width: 40px; height: 40px; min-height: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); cursor: pointer; }
.pwtoggle:hover:not(:disabled) { background: var(--surface-alt); color: var(--text); }
.pwtoggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.pwtoggle:active:not(:disabled) { transform: none; }
.pwtoggle .ic { width: 20px; height: 20px; }
.row.between { justify-content: space-between; align-items: baseline; }
/* Text buttons inside a sentence flow with the text (no 44 px button height there). */
.linkish { display: inline; min-height: 0; line-height: inherit; vertical-align: baseline; }

