/* The setup screen (packages/ui SessionSetup, its own stylesheets) as the web version's first page on a phone
   (2026-11-21, prototype packages/desktop/prototypes/phone-setup.html, docs/architecture/PHONE_SETUP_2026_11_21.md).
   One page instead of two steps: a top bar (wordmark, minutes, account), the job as a card, CV and Documents, an
   Options row, the minutes when they are few or gone, Start. Windows rise from the bottom. The screen builds the
   phone's parts itself (features.phone, classes .ma-ph-*); this file lays them out and hides what a phone has no
   use for. Loaded only while the setup screen is shown.
   Dark, in the interview screen's look (owner, 2026-11-26: "eto okno nastrojki v stile kogda intervju, temnoe i v
   takom zhe stile"; docs/architecture/PHONE_DARK_PROTO_2026_11_26.png): its values, taken from
   components/SyncStatus.tsx, not new ones. The ground #0a0a0a; the top bar is the interview's own, so Start leaves it
   where it is; each row a card of white at 6%, radius 12, as in its Session window, which the Options window now
   matches; soft buttons of white at 9%, switches green, segments white at 6% / 12%. The setup's light rules
   (overlay.css) are turned dark at the end of this file. */
html { color-scheme: dark; }
html, body { margin: 0 !important; padding: 0 !important; background: #0a0a0a !important; }
#meetassist-overlay { position: fixed !important; inset: 0 !important; left: 0 !important; top: 0 !important; translate: none !important; zoom: 1 !important; width: 100vw !important; height: 100dvh !important; max-width: none !important; max-height: none !important; transform: none !important; margin: 0 !important; display: flex !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
#meetassist-overlay .ma-su { display: flex !important; flex-direction: column; margin: 0; border-radius: 0; box-shadow: none; width: 100%; height: 100%; }
/* the palette: the setup's own names, the interview's values */
.ma-su.is-phone {
  --paper: rgb(20 25 35); --page: #0a0a0a;
  --ink: #fff; --ink-60: rgba(255, 255, 255, 0.6); --ink-40: rgba(255, 255, 255, 0.4);
  --rule: rgba(255, 255, 255, 0.1); --edge: rgba(255, 255, 255, 0.1);
  --violet-tint: rgba(139, 92, 246, 0.12); --violet-edge: rgba(167, 139, 250, 0.5);
  --done: #4ade80; --danger: #f87171;
  --site-canvas: rgb(20 25 35); --site-panel: rgba(255, 255, 255, 0.06); --site-well: rgba(255, 255, 255, 0.06); --site-line: rgba(255, 255, 255, 0.06);
  --site-lift: none; --site-lift-sm: none; --site-card: none; --site-muted: rgba(255, 255, 255, 0.5); --site-rail: #0a0a0a;
  --pk-border: rgba(255, 255, 255, 0.1); --pk-primary: rgba(255, 255, 255, 0.14); --pk-hover: rgba(255, 255, 255, 0.12); --pk-muted: rgba(255, 255, 255, 0.5);
  /* a row or a field; a soft button; violet as text (the button violet is too dark to read on black) */
  --ph-surface: rgba(255, 255, 255, 0.06); --ph-soft: rgba(255, 255, 255, 0.09); --ph-violet-text: #a78bfa;
  background: #0a0a0a; color: #fff;
}
/* The spinner on the dark (the violet ones and those in a button keep theirs, below). */
.ma-su .ma-spinner { border-color: rgba(255, 255, 255, 0.15); border-top-color: var(--violet); }

/* ── the top: the bar and the title, no steps ── */
.ma-su-rail { width: auto !important; flex: none; border-right: 0 !important; padding: 0 16px !important; overflow: visible !important; background: #0a0a0a !important; }
.ma-su-title { margin: 18px 4px 0 !important; font-size: 26px !important; line-height: 1.15 !important; color: #fff; }
.ma-su-sub, .ma-su-how-btn, .ma-su-rail-foot, .ma-su-steps { display: none !important; }
/* the interview's top bar: its ground, hairline, logo and name, edge to edge */
.ma-ph-top { display: flex; align-items: center; gap: 8px; margin: 0 -16px; padding: calc(8px + env(safe-area-inset-top)) 10px 8px; background: rgb(15 20 28 / 0.95); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.ma-ph-logo { width: 24px; height: 24px; border-radius: 5px; }
.ma-ph-brand { font-family: 'Russo One', sans-serif; font-size: 14px; font-weight: 400; letter-spacing: 0.3px; color: rgba(255, 255, 255, 0.85); }
/* back to the site: the logo and the name behind a chevron, on Dashboard's soft ground (SessionSetup phHome) */
.ma-ph-home { flex: none; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 11px 0 6px; border-radius: 10px; background: var(--ph-soft); color: rgba(255, 255, 255, 0.6); text-decoration: none; -webkit-tap-highlight-color: transparent; transition: background-color 120ms ease-out, color 120ms ease-out; }
.ma-ph-home .ma-ph-logo { width: 22px; height: 22px; }
/* a pointer over it: a lighter ground; leaving for the site, a loader where the chevron was until the site's page
   comes (its pressed look, below, stays until then) */
@media (hover: hover) { .ma-ph-home:hover { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.8); } }
.ma-ph-home-i { flex: none; display: grid; place-items: center; width: 17px; height: 17px; margin-right: -3px; }
.ma-ph-home-i svg { display: block; }
.ma-su.is-phone .ma-ph-home-i .ma-spinner { display: none; width: 12px; height: 12px; border-color: rgba(255, 255, 255, 0.16); border-top-color: rgba(255, 255, 255, 0.75); }
.ma-ph-home.is-leaving .ma-ph-home-i svg { display: none; }
.ma-su.is-phone .ma-ph-home.is-leaving .ma-ph-home-i .ma-spinner { display: block; }
.ma-ph-sp { flex: 1; }
.ma-ph-avatar { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: var(--ph-soft); color: rgba(255, 255, 255, 0.85); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
/* Dashboard: the interview's soft button, beside the account (owner, 2026-11-26) */
.ma-ph-dash { flex: none; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 9px; border: 0; border-radius: 9px; background: var(--ph-soft); color: rgba(255, 255, 255, 0.85); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ma-ph-dash svg { flex: none; color: rgba(255, 255, 255, 0.7); }
/* Pressed, the bar's two buttons do what the page's rows do (overlay.css button.ma-su-row:active, the same value):
   the soft ground goes while the finger is down, at once (owner, 2026-12-01: "chtoby oni takzhe menjali cvet kak
   knopki v config"; before, white at 14% on the first, a change nobody saw, and nothing on Dashboard). */
.ma-ph-home:active, .ma-ph-home.is-leaving, .ma-ph-dash:active { background: rgba(23, 20, 29, 0.03); transition: none; }

/* ── the page ── */
.ma-su-main { padding: 0 16px calc(14px + env(safe-area-inset-bottom)) !important; min-height: 0; background: var(--site-rail) !important; }
.ma-su-panes { padding: 0 6px 12px !important; margin: 0 -6px !important; }
.ma-su-pane.is-shown { animation: none !important; }
/* The field is where the job's text lives; on a phone the card stands for it and its window edits it. */
.ma-su-head-row, .ma-su-jd, .ma-su-field-error[data-jd-error] { display: none !important; }
/* not on a phone */
.ma-su-pane > .ma-su-seg, .ma-su-pane > .ma-su-head:has(+ .ma-su-seg) { display: none !important; }
.ma-su-head { margin: 22px 0 8px 6px !important; font-size: 13px !important; }
.ma-su-head em { display: none; }
.ma-su-head em.ma-su-rec { display: inline-flex; }
/* The page itself has no section headings (owner, 2026-11-22: on a real phone three of them took 135 px for four
   rows, and the Start zone covered what came last): the job card, then one list (CV, Documents, Options). The
   windows keep theirs. */
.ma-su-ctx > .ma-su-head { display: none !important; }
.ma-su-ctx > .ma-ph-job { margin-top: 18px; }
.ma-su-ctx > .ma-su-group { margin-top: 12px !important; }
/* rows: the interview's Session window, each row a card of its own, its icon bare */
.ma-su-group { display: flex; flex-direction: column; gap: 8px; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
.ma-su-row { min-height: 54px; padding: 10px 14px !important; gap: 12px !important; border-radius: 12px; background: var(--ph-surface); color: #fff; }
.ma-su-row + .ma-su-row::before, .ma-su-adv-in .ma-su-row::before { display: none !important; }
/* Connect MCP under Options, the list's last row (owner, 2026-11-26: "connect MCP nado sdelat nizhe options"). The
   screen places it under Documents for every host; the phone page's list is a column, so it moves here alone. */
.ma-su-ctx > .ma-su-group > .ma-mcp-row { order: 1; }
/* the MCP row's line under its name (only while something happens) stays one line: the row keeps its neighbours' size */
.ma-su.is-phone .ma-mcp-row .ma-su-detail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* its tile may hold the two assistants' marks (11 px each): a little overlapped, they fit the 20 px every row's icon
   has, so its name starts where the others' do */
.ma-su.is-phone .ma-mcp-tile { gap: 0; }
.ma-su.is-phone .ma-mcp-tile svg:not(:only-child) + svg { margin-left: -2px; }
.ma-su-tile { width: 20px !important; height: 20px !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: rgba(255, 255, 255, 0.6) !important; }
.ma-su-tile svg { width: 16px; height: 16px; }
.ma-su-name { font-size: 15px !important; font-weight: 500 !important; color: #fff !important; }
.ma-su-detail { font-size: 12.5px !important; white-space: normal !important; line-height: 1.35; color: rgba(255, 255, 255, 0.45) !important; }
.ma-su-val { font-size: 14px !important; color: rgba(255, 255, 255, 0.6); }
.ma-su-val.is-add { color: var(--ph-violet-text); font-weight: 600; }
.ma-su-row.has-val .ma-su-detail { display: none; } /* the hint is for the empty row; a filled one says its value */
.ma-su-chev { flex: none; width: 13px; height: 13px; color: rgba(255, 255, 255, 0.4); }

/* the job: the one thing that changes from interview to interview, a card of its own */
.ma-ph-job { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid transparent; border-radius: 14px; background: var(--ph-surface); font: inherit; text-align: left; color: #fff; cursor: pointer; }
.ma-ph-job.is-empty { border: 1.5px dashed rgba(255, 255, 255, 0.16); background: none; }
.ma-ph-mono { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(139, 92, 246, 0.2); color: #c4b5fd; font-size: 20px; font-weight: 700; }
.ma-ph-mono.is-add { background: var(--violet); color: #fff; }
.ma-ph-mono .ma-spinner { border-color: rgba(255, 255, 255, 0.35); border-top-color: #fff; }
.ma-ph-job-t { flex: 1; min-width: 0; }
.ma-ph-job-t b { display: block; font-size: 18px; font-weight: 650; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-ph-job-t span { display: block; margin-top: 2px; font-size: 14px; color: rgba(255, 255, 255, 0.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* minutes: few (one row), none (the plans) */
.ma-ph-plans { display: flex; flex-direction: column; gap: 8px; }
.ma-ph-plan { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1.5px solid transparent; border-radius: 14px; background: var(--ph-surface); font: inherit; text-align: left; color: inherit; cursor: pointer; }
.ma-ph-plan.is-on { border-color: #8b5cf6; }
.ma-ph-plan-t { flex: 1; min-width: 0; }
.ma-ph-plan-t b { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.ma-ph-plan-t span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-60); }
.ma-ph-plan-p { flex: none; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ma-ph-badge { padding: 2px 8px; border-radius: 999px; background: rgba(139, 92, 246, 0.2); color: #c4b5fd; font-size: 11px; font-style: normal; font-weight: 600; letter-spacing: 0; }
.ma-ph-radio { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid rgba(255, 255, 255, 0.25); border-radius: 50%; color: transparent; }
.ma-ph-plan.is-on .ma-ph-radio { border-color: var(--violet); background: var(--violet); color: #fff; }
/* the plans window: each plan's one fact, what every purchase opens, the ways to pay; the page after a payment */
.ma-ph-plan-t .ma-ph-fact { display: flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 12.5px; font-weight: 550; color: var(--ink); opacity: 0.78; }
.ma-ph-fact svg { flex: none; color: var(--ph-violet-text); }
.ma-ph-unlock { margin: 16px 4px 0; }
.ma-ph-unlock[hidden] { display: none; }
.ma-ph-unlock b { display: block; font-size: 13.5px; font-weight: 650; color: var(--ink); }
.ma-ph-models { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ma-ph-model { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 8px; border-radius: 999px; background: var(--ph-surface); font-size: 12.5px; font-weight: 550; color: var(--ink); }
.ma-ph-model .ma-su-logo, .ma-ph-model .ma-su-logo svg, .ma-ph-model .ma-su-logo img { width: 16px; height: 16px; }
.ma-ph-marks { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.ma-ph-marks[hidden] { display: none; }
/* the payment marks keep their white cards: Apple Pay's is black, PayPal's blue, both lost on the dark */
.ma-ph-marks > span { display: grid; place-items: center; width: 46px; height: 30px; overflow: hidden; border: 1px solid transparent; border-radius: 7px; background: #fff; }
.ma-ph-foot .ma-su-btn.is-wait:disabled { opacity: 1; gap: 9px; }
.ma-ph-foot .ma-su-btn.is-wait .ma-spinner { width: 15px; height: 15px; border-color: rgba(255, 255, 255, 0.35); border-top-color: #fff; }
.ma-ph-note { margin: 4px 4px 0; font-size: 14px; line-height: 1.45; color: var(--ink-60); }

/* ── the foot: where to put the phone, then Start ── */
/* The tip is part of the page, under the list (not pinned over the button, where it covered the page's last row). */
.ma-ph-tip { flex: none; display: flex; gap: 10px; align-items: flex-start; margin: 14px 6px 0; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.45); }
.ma-ph-tip[hidden] { display: none; }
.ma-ph-tip svg { flex: none; margin-top: 1px; color: rgba(255, 255, 255, 0.35); }
.ma-su-credit-note { text-align: left !important; margin: 10px 6px 0 !important; font-size: 13px !important; }
/* The Start zone: the balance, one line right above the button (the minutes are what a session spends), and the
   balance is nowhere else on the page. Its right side is what a tap leads to (violet) or a fact (grey). */
.ma-ph-bal { flex: none; display: flex; align-items: center; gap: 7px; width: 100%; margin: 0; padding: 12px 6px 0; border: 0; background: none; font: inherit; font-size: 14px; line-height: 20px; text-align: left; color: var(--ink); cursor: pointer; }
.ma-ph-bal[hidden] { display: none; }
.ma-ph-bal > svg:first-child { flex: none; width: 15px; height: 15px; color: var(--ink-60); }
.ma-ph-bal b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ma-ph-bal em { font-style: normal; font-weight: 600; color: var(--ph-violet-text); }
.ma-ph-bal .ma-su-chev { flex: none; width: 13px; height: 13px; margin-left: -3px; color: var(--ph-violet-text); }
.ma-ph-bal-fact { color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; }
.ma-ph-bal.is-out b, .ma-ph-bal.is-out > svg:first-child { color: var(--danger); }
.ma-ph-bal.is-paid > svg:first-child { color: #4ade80; }
.ma-su-foot { gap: 8px !important; padding-top: 10px !important; }
.ma-su-foot .ma-su-btn:not([hidden]) { flex: 1; justify-content: center; height: 52px; font-size: 16px; }
.ma-su-foot [data-act="back"], .ma-su-foot [data-act="phone"], .ma-su-foot [data-act="next"] { display: none !important; }

/* ── windows: the setup's own dialogs, rising from the bottom ── */
.ma-su-scrim, .ma-su-subscrim { align-items: flex-end !important; padding: 0 !important; }
/* The dim's colour is NOT !important: an animation cannot override an !important value, and with one the dim came
   and went at once instead of fading (found 2026-11-22 by reading the colour frame by frame). The interview's. */
.ma-su .ma-su-scrim { background: rgba(0, 0, 0, 0.5); backdrop-filter: none !important; }
/* a window over a window (a picker, a form): the light screen's 22% is not seen on the dark, the two windows ran
   together; a deeper dim parts them */
.ma-su .ma-su-subscrim { background: rgba(0, 0, 0, 0.4); }
/* a window: the interview's Session window (its ground, its top edge, its grabber, its title and close); its 1 px
   edge stays on every side, unseen but for the top (the start window's button lies on the page's by it) */
.ma-su-sheet { width: 100% !important; max-width: none !important; max-height: calc(100% - 40px) !important; padding: 24px 16px calc(16px + env(safe-area-inset-bottom)) !important; border-color: transparent !important; border-top-color: rgba(255, 255, 255, 0.1) !important; border-radius: 20px 20px 0 0 !important; background: rgb(20 25 35) !important; box-shadow: none !important; color: #fff; }
.ma-su-sheet::before { content: ''; position: absolute; top: 8px; left: 50%; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
.ma-su-sheet-title { font-size: 17px !important; line-height: 24px !important; font-weight: 650 !important; color: #fff !important; }
.ma-su-sheet-sub { font-size: 13.5px !important; color: rgba(255, 255, 255, 0.5) !important; }
.ma-su-x { top: 16px !important; right: 14px !important; border: 0 !important; border-radius: 9px !important; background: var(--ph-soft) !important; box-shadow: none !important; color: rgba(255, 255, 255, 0.7) !important; }
.ma-su-sheet.is-ph .ma-su-sheet-title { padding: 0 44px 0 4px; }
.ma-su-sheet.is-ph .ma-su-sheet-sub { margin: 6px 4px 16px; }
.ma-su-sheet.is-ph .ma-su-sheet-body { margin: 0 -6px; padding: 2px 6px 6px; }
.ma-su-sheet.is-ph .ma-su-sheet-body > .ma-su-group + .ma-su-group { margin-top: 10px; }
.ma-su-sheet.is-ph .ma-su-sheet-body > .ma-su-head:first-child { margin-top: 4px !important; }
.ma-ph-foot { flex: none; display: flex; gap: 10px; margin-top: 16px; }
.ma-ph-foot[hidden] { display: none; }
.ma-ph-foot .ma-su-btn { flex: 1; justify-content: center; height: 50px; font-size: 15px; }
.ma-ph-foot .ma-su-btn-line { flex: none; padding: 0 22px; }
.ma-ph-foot .ma-su-btn:disabled { opacity: 0.35; }
/* After Start, the window to read aloud in (SessionSetup openPhVoice), after Parakeet's voice sample: Skip where the
   close is, as a word; the text large on a row's card (white 6%, radius 12), its words lighting up as they are heard;
   one centred line of what to do now (red while nothing is heard, green when done) and the count under it; then the
   recording, a row of dots that turn into white bars with the microphone's sound. */
.ma-su-sheet.is-voice > .ma-su-x { display: none; }
.ma-ph-voice-skip { position: absolute; top: 14px; right: 8px; height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.55); cursor: pointer; }
.ma-ph-voice { margin: 0; padding: 14px 16px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); font-size: 20px; line-height: 1.42; font-weight: 600; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.36); }
.ma-ph-voice > span { transition: color 180ms ease-out; }
.ma-ph-voice > span.is-read { color: #fff; }
.ma-ph-voice-state { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 21px; margin: 16px 4px 0; font-size: 15px; font-weight: 600; text-align: center; color: #fff; transition: color 200ms ease-out; }
.ma-ph-voice-state.is-quiet { color: #f87171; }
.ma-ph-voice-state.is-done { color: #4ade80; }
.ma-ph-voice-state svg { flex: none; }
.ma-ph-voice-count { margin: 4px 0 0; font-size: 14px; font-weight: 550; text-align: center; color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; }
.ma-ph-voice-state.is-done + .ma-ph-voice-count { visibility: hidden; }
.ma-ph-voice-wave { display: flex; align-items: center; justify-content: space-between; height: 30px; margin: 12px 2px 6px; }
.ma-ph-voice-wave > i { flex: none; width: 3px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); transition: height 120ms ease-out; }
.ma-ph-voice-wave > i.is-on { background: #fff; }
.ma-ph-voice-wave.is-done > i.is-on { background: #4ade80; }
/* the Account window's Your voice row: Record again, a quiet violet link */
.ma-su.is-phone .ma-ph-voice-redo { flex: none; padding: 8px 2px 8px 10px; font-size: 14px; font-weight: 600; color: #a78bfa; text-decoration: none; }
/* The Dashboard window: as tall as the screen, the site's dashboard edge to edge under its head (a frame; the site
   leaves out its own top bar there). Its ↗ stands beside the close, alike. The spinner until the page is in. */
.ma-su-sheet.is-dash { height: calc(100% - 10px - env(safe-area-inset-top)) !important; max-height: none !important; padding: 24px 0 0 !important; }
.ma-su-sheet.is-dash .ma-su-sheet-title { margin: 0 0 12px; padding: 0 96px 0 16px !important; }
.ma-ph-dash-out { position: absolute; top: 16px; right: 54px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--ph-soft); color: rgba(255, 255, 255, 0.7); }
.ma-ph-dash-body { position: relative; flex: 1; min-height: 0; }
.ma-ph-dash-frame { display: block; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 160ms ease-out; }
.ma-su-sheet.is-dash.is-loaded .ma-ph-dash-frame { opacity: 1; }
.ma-ph-dash-body > .ma-spinner { position: absolute; top: 38%; left: 50%; box-sizing: border-box; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-width: 2.5px; }
.ma-su-sheet.is-dash.is-loaded .ma-ph-dash-body > .ma-spinner { display: none; }
/* an inner window goes back by an arrow at the top left */
.ma-ph-head { display: flex; align-items: center; gap: 10px; margin: -4px 0 0 -2px; }
.ma-ph-head .ma-su-sheet-title { padding-left: 0 !important; }
.ma-ph-back { flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9px; background: var(--ph-soft); color: rgba(255, 255, 255, 0.7); cursor: pointer; }
/* the lists' windows (CV / Profile, Documents, Previous jobs) at phone size */
.ma-su-sheet .ma-su-pick { padding: 12px !important; gap: 12px; }
.ma-su-sheet .ma-su-pick-name { font-size: 15.5px; }
.ma-su-sheet .ma-su-pick-meta { font-size: 13px; }
.ma-su-sheet .ma-pk-onoff { display: none; } /* the switch says it by itself: the words give their room to the name */
.ma-su-sheet .ma-pk-empty { padding: 12px 4px 4px; }
.ma-su-sheet .ma-pk-empty h3 { font-size: 18px; }
.ma-su-sheet .ma-pk-ways { align-self: stretch; align-items: stretch; gap: 8px; }
.ma-su-sheet .ma-pk-ways .ma-pk-btn { width: 100%; height: 48px; font-size: 15px; }
.ma-su-sheet .ma-su-pick-foot .ma-pk-btn, .ma-su-sheet .ma-su-sheet-foot .ma-pk-btn, .ma-su-sheet .ma-su-st-foot .ma-pk-btn, .ma-su-sheet .ma-pk-actions .ma-pk-btn { height: 44px; padding: 0 18px; font-size: 14.5px; }
.ma-su-sheet .ma-su-search, .ma-su-sheet .ma-pk-input { font-size: 16px; } /* 16 px: a phone does not zoom the page into a field */
.ma-su-sheet .ma-su-opt { min-height: 48px; font-size: 15px; }

/* the job window: one box for a link or the text; then the text itself */
.ma-ph-paste { position: relative; border-radius: 14px; background: var(--ph-surface); }
.ma-ph-paste textarea { display: block; width: 100%; min-height: 132px; padding: 14px 15px 56px; border: 0; border-radius: 14px; background: none; font: inherit; font-size: 16px; line-height: 1.5; color: #fff; caret-color: #a78bfa; outline: none; resize: none; }
.ma-ph-paste textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.ma-ph-paste .ma-su-btn { position: absolute; right: 10px; bottom: 10px; height: 36px; padding: 0 16px; font-size: 14px; }
.ma-ph-paste .ma-su-btn[hidden] { display: none; }
/* the link's own field (Add by link): one line, the link's mark, its own Paste */
.ma-ph-link { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 9px 0 15px; border-radius: 14px; background: var(--ph-surface); }
.ma-ph-link > svg { flex: none; width: 18px; height: 18px; color: var(--ph-violet-text); }
.ma-ph-link input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: inherit; font-size: 16px; color: #fff; caret-color: #a78bfa; }
.ma-ph-link input::placeholder { color: rgba(255, 255, 255, 0.35); }
.ma-ph-link .ma-su-btn { flex: none; height: 38px; padding: 0 16px; font-size: 14px; }
.ma-ph-link .ma-su-btn[hidden] { display: none; }
.ma-ph-busy { display: flex; align-items: center; gap: 9px; margin: 14px 4px 0; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.ma-ph-busy[hidden] { display: none; }
.ma-ph-or { display: flex; align-items: center; gap: 12px; margin: 16px 4px 12px; font-size: 12.5px; color: rgba(255, 255, 255, 0.4); }
.ma-ph-or::before, .ma-ph-or::after { content: ''; flex: 1; height: 1px; background: var(--site-line); }
.ma-ph-wide { display: flex; width: 100%; height: 48px; justify-content: center; font-size: 15px; cursor: pointer; }
.ma-ph-wide + .ma-ph-wide { margin-top: 8px; }
.ma-ph-wide[data-ph-jd-link] svg { width: 16px; height: 16px; } /* the size of its neighbours' marks */
.ma-ph-wide[hidden] { display: none; }
.ma-ph-result { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: var(--ph-surface); color: #fff; }
.ma-ph-result[hidden] { display: none; }
.ma-ph-text { display: block; width: 100%; height: 34dvh; min-height: 150px; margin-top: 10px; padding: 14px 15px; border: 0; border-radius: 14px; background: var(--ph-surface); font: inherit; font-size: 16px; line-height: 1.5; color: #fff; caret-color: #a78bfa; outline: none; resize: none; }
.ma-su-sheet.is-ph .ma-su-field-error { margin: 8px 4px 0; font-size: 13.5px; }
.ma-su-sheet.is-ph .ma-su-field-error:empty { display: none; }

/* Options: the interview's Session window, its segments */
.ma-ph-seg { flex: none; padding: 2px !important; border-radius: 9px !important; background: rgba(255, 255, 255, 0.06) !important; }
.ma-ph-seg button { height: 30px; padding: 0 10px !important; border-radius: 7px !important; font-size: 13px !important; white-space: nowrap; color: rgba(255, 255, 255, 0.5) !important; }
.ma-ph-seg button.is-on { background: rgba(255, 255, 255, 0.12) !important; box-shadow: none !important; color: #fff !important; }
.ma-ph-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; }
.ma-ph-chip { height: 34px; padding: 0 13px; border: 1px solid transparent; border-radius: 999px; background: var(--ph-soft); font: inherit; font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, 0.7); cursor: pointer; }
.ma-ph-chip.is-on { border-color: transparent; background: rgba(139, 92, 246, 0.22); color: #ddd6fe; font-weight: 600; }
a.ma-su-row { text-decoration: none; color: inherit; }

/* One microphone: the phone hears the interviewer (lib/web/webHost.js), so Automatic answers has no "whose questions"
   to choose (owner, 2026-11-19); WebApp always tells the detector: the interviewer's, not mine. */
.ma-su-sheet.is-auto .ma-su-group:has([data-auto-who]), .ma-su-sheet.is-auto .ma-su-auto-head:has(+ .ma-su-group [data-auto-who]) { display: none !important; }
/* The setup screen's veil (while the account loads, a session starts or ends): the page loader's spinner, same size
   and place, so the page's first spinner turns into this one without a jump (components/WebApp.tsx Loader). */
.ma-su-veil { background: rgba(10, 10, 10, 0.6) !important; }
.ma-su-veil .ma-spinner { box-sizing: border-box !important; width: 28px !important; height: 28px !important; border-width: 2.5px !important; }

/* Taps: no grey flash of the browser's own over a row or a button. */
.ma-su, .ma-su * { -webkit-tap-highlight-color: transparent; }
/* A window opens on the page: the page dims smoothly and the window slides up from the edge. A window that takes
   another's place (a picker, the way back from it) just changes: no second rise, the dim stays. A window that is
   closed slides away (the screen leaves a copy for it, .is-closing). */
.ma-su-sheet { animation: ma-ph-up 260ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards !important; }
.ma-su-sheet.is-swap { animation: none !important; }
@keyframes ma-ph-up { from { transform: translateY(100%); } }
.ma-su-scrim.is-in { animation: ma-ph-dim 240ms ease-out backwards; }
@keyframes ma-ph-dim { from { background-color: rgba(0, 0, 0, 0); } }
.ma-su-scrim.is-closing { display: flex !important; z-index: 9; pointer-events: none; animation: ma-ph-dim-out 240ms ease-in forwards; }
.ma-su-scrim.is-closing > .ma-su-sheet { animation: ma-ph-down 240ms ease-in forwards !important; }
@keyframes ma-ph-dim-out { to { background-color: rgba(0, 0, 0, 0); } }
@keyframes ma-ph-down { to { transform: translateY(100%); } }
/* The start window sits over the page's own Start button, its button in the very same place and size. Closed, it
   dissolves: sliding down, it carried its button past the page's twin, which then seemed to come back (owner,
   2026-11-22: "кнопка уходит вниз, потом опять появляется"). */
/* 15 and 13, not 16 and 14: the window has a 1 px edge, and its button must lie exactly on the page's. */
.ma-su-sheet.is-start { padding-left: 15px !important; padding-right: 15px !important; padding-bottom: calc(13px + env(safe-area-inset-bottom)) !important; }
.ma-su-sheet.is-start .ma-ph-foot .ma-su-btn { height: 52px; font-size: 16px; }
.ma-su-scrim.is-closing > .ma-su-sheet.is-start { animation: ma-ph-out 180ms ease-out forwards !important; }
@keyframes ma-ph-out { to { opacity: 0; } }

/* ── the setup's light rules (packages/ui overlay.css), dark on the phone ── */
/* Buttons: the interview's rounded squares. A window's own action (Done, Save, Paste) is its soft button a step
   brighter (a white one was the loudest thing on the dark), the others its soft button; violet stays for what
   starts or buys (Start, Add to Claude, Continue). Hover is not a phone's: a tapped button keeps its look. */
.ma-su.is-phone .ma-su-btn, .ma-su.is-phone .ma-pk-btn { border-radius: 12px !important; box-shadow: none !important; }
.ma-su.is-phone .ma-su-btn-violet, .ma-su.is-phone .ma-pk-btn.is-violet { border-color: transparent !important; background: var(--violet) !important; color: #fff !important; }
.ma-su.is-phone .ma-su-btn-ink, .ma-su.is-phone .ma-pk-btn.is-primary { border-color: transparent !important; background: rgba(255, 255, 255, 0.14) !important; color: #fff !important; font-weight: 650; }
.ma-su.is-phone .ma-su-btn-ink svg, .ma-su.is-phone .ma-pk-btn.is-primary svg { color: #fff; }
.ma-su.is-phone .ma-su-btn-line, .ma-su.is-phone .ma-pk-btn:not(.is-primary):not(.is-violet), .ma-su.is-phone .ma-su-pick-add { border-color: transparent !important; background: var(--ph-soft) !important; color: #fff !important; }
.ma-su.is-phone .ma-su-btn-line svg, .ma-su.is-phone .ma-pk-btn:not(.is-primary):not(.is-violet) svg, .ma-su.is-phone .ma-su-pick-add svg { color: rgba(255, 255, 255, 0.7); }

/* switches: the interview's, green when on (the lists' too); segments: its own */
.ma-su.is-phone .ma-su-toggle, .ma-su.is-phone .ma-pk-switch { background: rgba(255, 255, 255, 0.2); }
.ma-su.is-phone .ma-su-toggle::after, .ma-su.is-phone .ma-pk-switch span { box-shadow: none; }
.ma-su.is-phone .ma-su-toggle.is-on, .ma-su.is-phone .ma-pk-switch[aria-checked="true"] { background: #22c55e; }
.ma-su.is-phone .ma-su-seg { padding: 2px; border-radius: 9px; background: rgba(255, 255, 255, 0.06); }
.ma-su.is-phone .ma-su-seg button { border-radius: 7px; color: rgba(255, 255, 255, 0.5); }
.ma-su.is-phone .ma-su-seg button.is-on { background: rgba(255, 255, 255, 0.12); box-shadow: none; color: #fff; }

/* the windows' headings and lists (models, languages, CVs, documents): the Session window's model list */
.ma-su.is-phone .ma-su-head { color: rgba(255, 255, 255, 0.5); }
.ma-su.is-phone .ma-su-list { border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.04); box-shadow: none; }
.ma-su.is-phone .ma-su-opt, .ma-su.is-phone .ma-su-pick { color: #fff; }
.ma-su.is-phone .ma-su-opt.is-on { background: rgba(255, 255, 255, 0.08) !important; }
.ma-su.is-phone .ma-su-opt + .ma-su-opt::before, .ma-su.is-phone .ma-su-pick + .ma-su-pick::before { background: rgba(255, 255, 255, 0.06) !important; }
.ma-su.is-phone .ma-su-sheet.is-pk { --pk-fg: #fff; --pk-muted: rgba(255, 255, 255, 0.5); --pk-border: rgba(255, 255, 255, 0.1); --pk-primary: rgba(255, 255, 255, 0.14); --pk-hover: rgba(255, 255, 255, 0.12); --pk-ring: rgba(167, 139, 250, 0.25); }
.ma-su.is-phone .ma-su-sheet.is-sd { --sd-border2: rgba(255, 255, 255, 0.16); --sd-subtle: rgba(255, 255, 255, 0.06); --sd-hover: rgba(255, 255, 255, 0.04); --sd-primary: rgba(255, 255, 255, 0.14); --sd-primary-fg: #fff; }
.ma-su.is-phone .ma-su-pick-name { color: #fff; }
.ma-su.is-phone .ma-su-pick-meta { color: rgba(255, 255, 255, 0.45); }
.ma-su.is-phone .ma-su-opt-check { color: #fff; }
.ma-su.is-phone .ma-su-badge-rec { background: rgba(74, 222, 128, 0.12); color: #4ade80; }
.ma-su.is-phone .ma-pk-empty h3 { color: #fff; }
.ma-su.is-phone .ma-du-chip { background: rgba(255, 255, 255, 0.09); color: rgba(255, 255, 255, 0.75); }
.ma-su.is-phone .ma-du-chip[data-usage="own"] { background: rgba(139, 92, 246, 0.2); color: #ddd6fe; }

/* menus over a window (a row's "...", a document's use): the interview's model menu, its edge and shadow */
.ma-su.is-phone .ma-su-rowmenu, .ma-su.is-phone .ma-du-menu { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; background: rgba(20, 25, 35, 0.98); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); }
.ma-su.is-phone .ma-su-rowmenu [data-view]:hover, .ma-su.is-phone .ma-su-rowmenu [data-edit-what]:hover, .ma-su.is-phone .ma-du-opt:hover { background: rgba(255, 255, 255, 0.06); }
.ma-su.is-phone .ma-su-rowmenu [data-del]:hover { background: rgba(248, 113, 113, 0.1); }
.ma-su.is-phone .ma-du-opt svg { color: var(--ph-violet-text); }
.ma-su.is-phone .ma-su-cf-btns .no { border-color: transparent; background: var(--ph-soft); color: #fff; }
/* the interview's Stop: red at 55% under white words (the light screen's red is too dark on black) */
.ma-su.is-phone .ma-su-cf-btns .yes, .ma-su.is-phone .ma-su-cf-btns .yes:hover { background: rgba(220, 38, 38, 0.55); }

/* fields: a surface with no edge, white text (16 px stays: a phone does not zoom into it) */
.ma-su.is-phone .ma-su-search, .ma-su.is-phone .ma-pk-input, .ma-su.is-phone .ma-su-textarea { border-color: transparent !important; background: var(--ph-surface) !important; box-shadow: none !important; color: #fff; caret-color: #a78bfa; }
.ma-su.is-phone .ma-su-search::placeholder, .ma-su.is-phone .ma-pk-input::placeholder, .ma-su.is-phone .ma-su-textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.ma-su.is-phone .ma-su-search:focus, .ma-su.is-phone .ma-pk-input:focus, .ma-su.is-phone .ma-su-textarea:focus { box-shadow: 0 0 0 1.5px rgba(167, 139, 250, 0.5) !important; }

/* ChatGPT's mark is black (assistantLive.js assistantMarkSvg): white on the dark */
.ma-su.is-phone [fill="#0b0b0c"] { fill: rgba(255, 255, 255, 0.92); }

/* the MeetAssist MCP window */
.ma-su.is-phone .ma-mcp-step.is-now .ma-mcp-n { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.ma-su.is-phone .ma-mcp-step.is-done .ma-mcp-n { background: #fff; color: #0a0a0a; }
.ma-su.is-phone .ma-mcp-step.is-next .ma-mcp-n { color: rgba(255, 255, 255, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.ma-su.is-phone .ma-mcp-step.is-next .ma-mcp-title { color: rgba(255, 255, 255, 0.62); }
.ma-su.is-phone .ma-mcp-steps > li::before { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.6); }
.ma-su.is-phone .ma-mcp-steps small { color: rgba(255, 255, 255, 0.5); }
.ma-su.is-phone .ma-mcp-safe svg { color: rgba(255, 255, 255, 0.4); }
.ma-su.is-phone p.ma-mcp-hint b { color: rgba(255, 255, 255, 0.85); }
.ma-su.is-phone .ma-mcp-act { color: rgba(255, 255, 255, 0.55); }
.ma-su.is-phone .ma-mcp-act:hover { color: #fff; }
.ma-su.is-phone .ma-mcp-badge { border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.6); }
.ma-su.is-phone .ma-mcp-head, .ma-su.is-phone .ma-mcp-lim-head, .ma-su.is-phone .ma-mcp-lim-row em, .ma-su.is-phone .ma-su-act-sub, .ma-su.is-phone .ma-su-act-lim { color: rgba(255, 255, 255, 0.5); }
.ma-su.is-phone .ma-mcp-note, .ma-su.is-phone .ma-mcp-alt, .ma-su.is-phone .ma-mcp-steps span, .ma-su.is-phone .ma-mcp-url button { color: rgba(255, 255, 255, 0.55); }
.ma-su.is-phone .ma-mcp-url button:hover, .ma-su.is-phone .ma-su-act-t.is-now, .ma-su.is-phone .ma-su-act-t[data-mcp-view]:hover, .ma-su.is-phone .ma-su-act-all:hover { color: #fff; }
.ma-su.is-phone .ma-mcp-url { border-color: transparent; background: var(--ph-surface); }
.ma-su.is-phone .ma-mcp-guide, .ma-su.is-phone .ma-mcp-alt button { text-decoration-color: rgba(255, 255, 255, 0.3); }
.ma-su.is-phone .ma-mcp-guide svg { color: rgba(255, 255, 255, 0.45); }
.ma-su.is-phone .ma-mcp-undone .ma-su-pick-name, .ma-su.is-phone .ma-su-act-t.is-undone { color: rgba(255, 255, 255, 0.4); }
.ma-su.is-phone .ma-su-act-t { color: rgba(255, 255, 255, 0.6); }
.ma-su.is-phone .ma-su-act-w { color: rgba(255, 255, 255, 0.35); }
.ma-su.is-phone .ma-su-act-all { color: rgba(255, 255, 255, 0.45); }
.ma-su.is-phone .ma-mcp-lim { background: var(--ph-surface); box-shadow: none; }
.ma-su.is-phone .ma-mcp-lim-bar { background: rgba(255, 255, 255, 0.1); }
.ma-su.is-phone .ma-mcp-lim-bar i { background: rgba(255, 255, 255, 0.6); }
.ma-su.is-phone .ma-mcp-ring::before { border-color: rgba(255, 255, 255, 0.14); border-top-color: rgba(255, 255, 255, 0.6); }

/* spinners drawn in ink for the light screen */
.ma-su.is-phone .ma-su-sheet.is-pk .ma-spinner, .ma-su.is-phone .ma-mcp-now .ma-spinner, .ma-su.is-phone .ma-su-act-mark .ma-spinner, .ma-su.is-phone .ma-mcp-wait .ma-spinner, .ma-su.is-phone .ma-pk-btn.is-busy .ma-spinner, .ma-su.is-phone .ma-su-pick.is-working .ma-su-tile .ma-spinner { border-color: rgba(255, 255, 255, 0.16); border-top-color: rgba(255, 255, 255, 0.7); }
.ma-su.is-phone .ma-ai-live-i .ma-spinner { border-color: rgba(255, 255, 255, 0.5); border-top-color: transparent; }
.ma-su.is-phone .ma-pk-btn.is-violet.is-busy .ma-spinner, .ma-su.is-phone .ma-su-btn-violet .ma-spinner { border-color: rgba(255, 255, 255, 0.35); border-top-color: #fff; }
