/* Inter (UI) and Russo One (branding, panel headings) are NOT imported here.
 *
 * This stylesheet is injected into every page in every tab, so an @import
 * meant a render-blocking request on every page load anywhere in the browser
 * (it used to be fonts.googleapis.com — leaking browsing history to Google and
 * erroring out on sites with a strict style-src). Both consumers load the
 * fonts themselves from packages/ui/fonts, and only when they actually have
 * UI on screen:
 *   - extension: createOverlay() appends #meetassist-fonts (content.js),
 *                chrome-extension://<id>/fonts/fonts.css
 *   - desktop:   <link> in src/renderer/index.html
 */

/* ── The setup screen inside a web page (extension only) ────────────────────
   The desktop draws the setup screen (.ma-su, far below) on a blank page, so
   everything its classes leave unset is the browser's default. The extension
   draws the same screen into Meet / Teams / Zoom with no shadow root, where the
   page's own tag rules (`button{text-transform}`, `p{margin}`, `h1{…}`,
   `nav{position:fixed}`, `*{…}`) would fill those gaps instead. `all: revert`
   puts every element inside back on the browser's defaults — what the desktop
   shows. It must stay FIRST in this file: at (0,1,0) it beats a page's tag and
   `*` rules, and every .ma-su-* rule below, same weight and later, beats it.
   Only the extension sets `.ma-su-page` (src/session-setup-ext.js,
   src/login-panel-ext.js).
   Two things live in attributes that Chromium applies as author-level hints,
   which the revert would drop: `hidden` (display:none), and everything an SVG
   icon is made of (size, fill, stroke, the path itself). SVG is left out of
   the revert; `hidden` and the icon attributes are restored below at the same
   low weight, so a later .ma-su-* rule still overrides them as on the desktop,
   while a page's `svg{width:…}` or `svg{fill:…}` does not. An svg with no
   stroke attribute strokes nothing, as on a blank page (a page's `svg{stroke}`
   would otherwise outline the Google and Apple logos). */
.ma-su-page :where(*:not(svg, svg *)),
.ma-su-page :where(*:not(svg, svg *))::before,
.ma-su-page :where(*:not(svg, svg *))::after { all: revert; }
.ma-su-page :where([hidden]) { display: none; }
.ma-su-page :where(svg) {
  margin: 0; padding: 0; border: 0; background: none; box-shadow: none; float: none;
  position: static; transform: none; opacity: 1; filter: none; vertical-align: baseline;
  min-width: 0; min-height: 0; max-width: none; max-height: none;
}
.ma-su-page :where(svg:not([stroke])) { stroke: none; }
/* The extension build's PurgeCSS (vite.config.js) matches an attribute value
   against the words in our JS, and "2.25" or "#fff" is no word there: it
   dropped such entries silently (stroke-width 2.6 went that way). The list is
   kept whole. A value an icon uses goes here. */
/* purgecss start ignore */
.ma-su-page :where(svg[width="10"]) { width: 10px; } .ma-su-page :where(svg[height="10"]) { height: 10px; }
.ma-su-page :where(svg[width="12"]) { width: 12px; } .ma-su-page :where(svg[height="12"]) { height: 12px; }
.ma-su-page :where(svg[width="13"]) { width: 13px; } .ma-su-page :where(svg[height="13"]) { height: 13px; }
.ma-su-page :where(svg[width="14"]) { width: 14px; } .ma-su-page :where(svg[height="14"]) { height: 14px; }
.ma-su-page :where(svg[width="15"]) { width: 15px; } .ma-su-page :where(svg[height="15"]) { height: 15px; }
.ma-su-page :where(svg[width="16"]) { width: 16px; } .ma-su-page :where(svg[height="16"]) { height: 16px; }
.ma-su-page :where(svg[width="18"]) { width: 18px; } .ma-su-page :where(svg[height="18"]) { height: 18px; }
.ma-su-page :where(svg[width="20"]) { width: 20px; } .ma-su-page :where(svg[height="20"]) { height: 20px; }
.ma-su-page :where(svg[width="22"]) { width: 22px; } .ma-su-page :where(svg[height="22"]) { height: 22px; }
.ma-su-page :where(svg[width="24"]) { width: 24px; } .ma-su-page :where(svg[height="24"]) { height: 24px; }
.ma-su-page :where(svg[width="40"]) { width: 40px; } .ma-su-page :where(svg[height="40"]) { height: 40px; }
.ma-su-page :where(svg[fill="none"]) { fill: none; }
.ma-su-page :where(svg[fill="currentColor"]) { fill: currentColor; }
.ma-su-page :where(svg[fill="#fff"]) { fill: #fff; }
.ma-su-page :where(svg[stroke="currentColor"]) { stroke: currentColor; }
.ma-su-page :where(svg[stroke-width="1.75"]) { stroke-width: 1.75; }
.ma-su-page :where(svg[stroke-width="2"]) { stroke-width: 2; }
.ma-su-page :where(svg[stroke-width="2.25"]) { stroke-width: 2.25; }
.ma-su-page :where(svg[stroke-width="2.6"]) { stroke-width: 2.6; }
.ma-su-page :where(svg[stroke-linecap="round"]) { stroke-linecap: round; }
.ma-su-page :where(svg[stroke-linejoin="round"]) { stroke-linejoin: round; }
/* purgecss end ignore */


#meetassist-overlay {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  /* Layout inside the panel must never make the HOST page recalculate.
     fixed-position takes us out of flow but does not stop invalidation from
     propagating to the layout root; contain does. Deliberately NOT `paint` —
     that would clip anything at the panel's edge. Safe re containing blocks:
     the transform above already made this element one for fixed descendants,
     and every position:fixed element we create (warning, guidance modal,
     capture prompt, status modal) is appended to document.body anyway. */
  contain: layout;
  /* UI scale. One knob for everything MeetAssist draws: every px inside is
     multiplied by it. Set on <html> so it survives the overlay being rebuilt
     and also reaches the modals appended to body. Viewport units ARE zoomed
     too, so the viewport caps below divide it back out. JS that writes a
     measured rect back into a style divides by `currentCSSZoom` (a rect is
     on-screen px, a style is the element's own px). */
  zoom: var(--ma-zoom, 1);
  width: 900px;
  max-width: calc(92vw / var(--ma-zoom, 1));
  height: auto;
  max-height: calc((100vh - 40px) / var(--ma-zoom, 1));
  background: transparent;
  z-index: 2147483647;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  display: none;
  flex-direction: column;
  gap: 0;
  font-size: var(--base-font-size, 14px);
  /* Our own, not the page's — as on the desktop. The extension sits inside
     sites whose html sets line-height 1.5 (Tailwind on meetassist.io): the
     status row grew 1.5px, everything under it landed on half pixels and the
     transcript text sat 2px high in its strip (11 above, 15 below vs 13/13).
     Anything that wants another line height sets its own. */
  line-height: normal;
  pointer-events: none;
  /* SINGLE knob for the transparency of all three main containers
     (top-bar, transcript-area, answer-panel). Default 1.0 (fully solid)
     to match user expectation of "default"; the −/+ buttons in the
     answer footer write the live value on the overlay element and
     persist to localStorage. Inner answer-content card uses calc()
     below so it tracks the master value proportionally. */
  --ma-bg-opacity: 1;

  /* Unified button/input styling variables */
  --ma-btn-bg: rgba(255, 255, 255, 0.08);
  --ma-btn-bg-hover: rgba(255, 255, 255, 0.14);
  --ma-btn-bg-active: rgba(255, 255, 255, 0.12);
  --ma-btn-border: rgba(255, 255, 255, 0.12);
  --ma-btn-border-hover: rgba(255, 255, 255, 0.2);
  --ma-btn-text: rgba(255, 255, 255, 0.9);
  --ma-input-bg: rgba(0, 0, 0, 0.4);
  --ma-input-border: rgba(255, 255, 255, 0.15);
}

#meetassist-overlay.visible {
  display: flex;
}

/* Restore pointer events for child elements */
#meetassist-overlay > * {
  pointer-events: auto;
}

/* The desktop's page sets `* { box-sizing: border-box }` (desktop.css); a web
   page does not, so in the extension every padded or bordered box with a set
   size came out bigger: the settings menu rows 42px instead of 36 (min-height
   plus padding), the Analyze thumbnail 50×32 instead of 47×30, the compact
   answer 2px over, the status-line icon. The toolbar (its menus included) and
   the answer panel get the desktop's box model, scoped to their roots so the
   host page is untouched. Measured: the transcript strip, the held-question
   chip and the screen after Stop do not change with it (.ma-su has its own),
   only the extension's old sign-in panel would, so it stays out. Like the
   desktop's rule it leaves ::before / ::after alone. */
#meetassist-top-bar, #meetassist-top-bar *,
#meetassist-answer-panel, #meetassist-answer-panel * { box-sizing: border-box; }

/* Bottom-half flip — when the overlay's vertical centre crosses below 50% of
   the screen (see maybeFlipOverlay in content.js), invert the visual order of
   the 3 main panels so the transcript renders ABOVE the top bar and the
   answer panel grows UPWARD from the transcript. Done via `order` rather than
   `flex-direction: column-reverse` so other transient children (settings,
   login, resize handle) keep their natural stacking. */
#meetassist-overlay.flipped #meetassist-top-bar {
  order: 3;
}
#meetassist-overlay.flipped #meetassist-transcript-area {
  order: 2;
}
#meetassist-overlay.flipped #meetassist-answer-panel {
  order: 1;
}
/* When flipped, override the inline `style.height` (set by resize +
   autoFitOverlayToContent + minimize-restore) so the overlay sizes to its
   content. Otherwise the leftover empty space sits BELOW the top-bar
   (off-screen) instead of being above the content, and the answer panel
   pushes the top-bar down as it grows. */
#meetassist-overlay.flipped {
  height: auto !important;
}

/* Stealth mode - completely invisible and non-interactive */
#meetassist-overlay.stealth {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease-out;
}
#meetassist-overlay.stealth > * {
  pointer-events: none !important;
}

#meetassist-overlay.minimized {
  width: auto !important;
  max-width: none !important;
}

/* The legacy `minimized` state (header-only) is gone: minimizing is now the
   shared `ma-compact` state at the bottom of this file, which keeps the real
   toolbar and answer panel instead of hiding everything but a header that no
   longer exists. */

/* Header */
#meetassist-overlay-header {
  background: #b1b1b100;
  padding: 6px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#meetassist-overlay-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  font-weight: 600;
  font-size: var(--title-font-size, 13px);
  -webkit-user-drag: none;
  user-select: none;
}

#meetassist-overlay-logo {
  width: clamp(18px, 2.2vw, 22px);
  height: clamp(18px, 2.2vw, 22px);
  border-radius: 4px;
  flex-shrink: 0;
  -webkit-user-drag: none;
  user-select: none;
  object-fit: contain;
}

#meetassist-overlay-mode {
  display: flex;
  align-items: center;
  gap: clamp(3px, 0.6vw, 6px);
  color: white;
  font-size: var(--mode-font-size, 11px);
  padding: clamp(2px, 0.4vw, 3px) clamp(5px, 0.8vw, 8px);
  background: none;
  border-radius: 0;
  flex-shrink: 0;
}

#meetassist-overlay-mode-text {
  font-weight: 500;
  white-space: nowrap;
}

#meetassist-overlay-mode-indicator {
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px #f59e0b;
}

/* The same UI scale as #meetassist-overlay for what lives outside it. Their
   boxes are viewport-sized percentages, which zoom leaves alone. */
#meetassist-status-modal,
#meetassist-guidance-modal,
#meetassist-display-capture-prompt,
#meetassist-invalidated-warning {
  zoom: var(--ma-zoom, 1);
}

/* Status Modal for errors and loading states */
#meetassist-status-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2147483648;
}

#meetassist-status-modal.visible {
  display: flex;
}

.meetassist-status-card {
  background: rgba(30, 30, 45, 0.95);
  border-radius: 16px;
  padding: 32px;
  max-width: 450px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.meetassist-status-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: pulse 2s infinite;
}

.meetassist-status-icon.error {
  color: #ef4444;
}

.meetassist-status-icon.working {
  color: #3b82f6;
}

.meetassist-status-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.meetassist-status-message {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  line-height: 1.6;
}

.meetassist-status-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.meetassist-status-btn {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.meetassist-status-btn.primary {
  background: #667eea;
  color: white;
}

.meetassist-status-btn.primary:hover {
  background: #5568d3;
}

.meetassist-status-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.meetassist-status-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.meetassist-status-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#meetassist-add-credits-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: var(--credits-btn-font-size, 10px);
  padding: clamp(2px, 0.4vw, 3px) clamp(5px, 0.8vw, 8px);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

#meetassist-add-credits-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

#meetassist-overlay-controls {
  display: flex;
  gap: 6px;
  cursor: default;
  position: relative;
  z-index: 99999 !important;
  pointer-events: auto !important;
}

#meetassist-overlay-controls button {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  cursor: pointer !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
  pointer-events: auto !important;
  z-index: 99999 !important;
  position: relative;
}

#meetassist-overlay-controls button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* Header action buttons */
.meetassist-header-action-btn {
  background: rgba(139, 92, 246, 0.25) !important;
  border: 1px solid rgba(167, 139, 250, 0.4) !important;
}

.meetassist-header-action-btn:hover {
  background: rgba(139, 92, 246, 0.4) !important;
  border-color: rgba(167, 139, 250, 0.7) !important;
}

.meetassist-header-action-btn svg {
  width: 14px;
  height: 14px;
}

#meetassist-full-transcripts-btn {
  background: rgba(59, 130, 246, 0.25) !important;
  border: 1px solid rgba(96, 165, 250, 0.4) !important;
}

#meetassist-full-transcripts-btn:hover {
  background: rgba(59, 130, 246, 0.4) !important;
  border-color: rgba(96, 165, 250, 0.7) !important;
}

/* Main Content - Split Layout */
#meetassist-overlay-content {
  flex: 1;
  display: flex;
  overflow: hidden;
}

/* Left Side - Messages/Questions */
#meetassist-messages-panel {
  width: 30%;
  background: rgba(20, 20, 30, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#meetassist-messages-wrapper {
  flex: 1;
  overflow-y: auto;
  /* Same reasoning as #meetassist-transcript-view above. */
  contain: layout;
  padding: 8px;
  display: flex;
  flex-direction: column;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

#meetassist-messages-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Right Side - Answers */
#meetassist-answers-panel {
  width: 70%;
  background: rgba(30, 30, 45, 0.3);
  overflow-y: auto;
  padding: 8px;
}

#meetassist-answers-panel::-webkit-scrollbar {
  width: 8px;
}

#meetassist-answers-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

#meetassist-answers-panel::-webkit-scrollbar-thumb {
  background: rgba(80, 120, 200, 0.4);
  border-radius: 4px;
}

#meetassist-answers-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(80, 120, 200, 0.6);
}

/* Custom Dropdown Scrollbar */
.meetassist-dropdown-options::-webkit-scrollbar {
  width: 6px;
}

.meetassist-dropdown-options::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.meetassist-dropdown-options::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.4);
  border-radius: 3px;
}

.meetassist-dropdown-options::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.6);
}

/* Message Bubbles */
.meetassist-message {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid rgba(102, 126, 234, 0.4);
  padding: clamp(4px, 0.8vw, 8px) clamp(6px, 1.2vw, 12px);
  margin-bottom: clamp(4px, 0.8vw, 8px);
  border-radius: 5px;
  color: #e0e7ff;
  font-size: var(--message-font-size, 12px);
  line-height: 1.35;
  animation: slideIn 0.3s ease-out;
}

.meetassist-message.active {
  background: none;
  border-left-color: rgba(139, 156, 255, 0.6);
}

.meetassist-message-label {
  color: #a5b4fc;
  font-size: var(--message-label-font-size, 9px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: clamp(2px, 0.4vw, 3px);
  display: block;
}

.meetassist-message-text {
  color: white;
  font-size: var(--message-font-size, 12px);
}

.meetassist-message-status {
  color: #10b981;
  font-size: var(--message-label-font-size, 9px);
  margin-top: clamp(2px, 0.4vw, 3px);
  display: flex;
  align-items: center;
  gap: clamp(3px, 0.6vw, 4px);
}

/* Clickable Questions */
.meetassist-message.is-question {
  border-left: 2px solid rgba(167, 139, 250, 0.4);
  transition: all 0.2s ease;
}

.meetassist-message.is-question:hover {
  background: none;
  border-left-color: rgba(167, 139, 250, 0.7);
  transform: translateX(2px);
}

/* Clickable interviewer statements (non-questions) */
.meetassist-message.is-clickable {
  border-left: 2px solid rgba(102, 126, 234, 0.3);
  transition: all 0.2s ease;
  opacity: 0.9;
}

.meetassist-message.is-clickable:hover {
  background: none;
  border-left-color: rgba(102, 126, 234, 0.6);
  transform: translateX(2px);
  opacity: 1;
}

/* Code Task blocks */
.meetassist-message.is-code-task {
  border-left: 2px solid rgba(255, 165, 0, 0.4);
  background: none;
  transition: all 0.2s ease;
}

.meetassist-message.is-code-task:hover {
  background: none;
  border-left-color: rgba(255, 165, 0, 0.7);
  transform: translateX(2px);
}

.meetassist-message.is-code-task[style*="cursor: pointer"] {
  cursor: pointer !important;
}

.meetassist-message.is-code-task .meetassist-message-label {
  color: rgba(255, 165, 0, 1);
  font-weight: 600;
}

/* Answer Cards */
.meetassist-answer-card {
  padding: 8px 10px;
  margin-bottom: 8px;
  border-radius: 6px;
  border: 1px solid rgba(167, 139, 250, 0.15);
  animation: fadeIn 0.4s ease-out;
  position: relative;
}

/* Connector line from question to answer */
.meetassist-answer-card::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.meetassist-answer-card.with-connector::before {
  opacity: 1;
  /* Line path: horizontal from answer, vertical down/up, horizontal to question */
  /* We'll use SVG for better control - this is a placeholder */
}

/* SVG connector container */
.meetassist-connector-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.meetassist-connector-line {
  fill: none;
  stroke: rgba(167, 139, 250, 0.4);
  stroke-width: 2;
  stroke-dasharray: 5, 5;
  /* No marching-ants animation. stroke-dashoffset is not compositable, so the
     old `dash 20s linear infinite` repainted this SVG on the MAIN thread every
     frame for as long as the connector was visible — i.e. the entire coding
     answer, exactly when the thread is busiest. A static dashed line reads the
     same. */
}

.meetassist-answer-card:hover .meetassist-connector-line {
  stroke: rgba(167, 139, 250, 0.8);
  stroke-width: 3;
}

.meetassist-answer-card.complete {
  border-color: rgba(34, 197, 94, 0.3);
}

.meetassist-answer-question {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--answer-question-font-size, 12px);
  font-weight: 400;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
  position: sticky;
  top: -8px;
  background: rgba(30, 30, 45, 0.98);
  margin: -8px -10px 6px -10px;
  padding: 8px 10px;
  z-index: 10;
}

.meetassist-answer-text {
  color: #e0e7ff;
  font-size: var(--answer-text-font-size, 16px);
  line-height: 1.4;
  white-space: pre-wrap;
}

.meetassist-answer-loading {
  color: #a78bfa;
  font-style: italic;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Markdown Formatting */
.meetassist-answer-text .ma-header {
  color: #c4b5fd;
  font-size: var(--header-font-size, 13px);
  font-weight: 600;
  margin-bottom: clamp(5px, 1vw, 8px);
  margin-top: clamp(6px, 1.2vw, 10px);
}

.meetassist-answer-text .ma-text {
  color: #e0e7ff;
  font-size: var(--answer-text-font-size, 16px);
  line-height: 1.4;
  margin-bottom: 4px;
}

.meetassist-answer-text .ma-bullet-list {
  color: #e0e7ff;
  font-size: var(--answer-text-font-size, 16px);
  line-height: 1.4;
  margin-left: 0;
  padding-left: 18px;
  margin-bottom: 4px;
  list-style-type: disc;
}

.meetassist-answer-text .ma-bullet-list li {
  margin-bottom: 4px;
}

/* Expandable bullets */
.ma-expandable-bullet {
  list-style: disc;
  margin-bottom: 5px;
  line-height: 1.4;
  color: #e0e7ff;
}

.ma-expand-btn {
  display: inline-block;
  margin-left: 6px;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.4);
  padding: 0px 5px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.2s ease;
  vertical-align: middle;
}

.ma-expand-btn:hover:not(:disabled) {
  background: rgba(139, 92, 246, 0.35);
  border-color: rgba(167, 139, 250, 0.6);
  color: #e0e7ff;
  transform: scale(1.05);
}

.ma-expand-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.ma-bullet-expanded {
  display: block;
  margin-top: 8px;
  margin-left: 0;
  padding: 10px 12px;
  background: rgba(88, 28, 135, 0.12);
  border-radius: 4px;
  border-left: 2px solid rgba(167, 139, 250, 0.3);
  animation: fadeIn 0.3s ease-out;
}

.ma-expansion-text {
  color: #d1d5ff;
  font-size: 12px;
  line-height: 1.6;
}

.ma-expansion-loading,
.ma-expansion-error {
  color: #a78bfa;
  font-size: 11px;
  font-style: italic;
  padding: 4px;
}

.ma-expansion-error {
  color: #f87171;
}

.meetassist-answer-text strong {
  color: #f0abfc;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.meetassist-answer-text a {
  color: #a78bfa;
  text-decoration: underline;
}

.meetassist-answer-text a:hover {
  color: #c4b5fd;
}

/* Code blocks */
.ma-code-block {
  background: rgba(20, 20, 30, 0.8);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 6px;
  padding: 16px;
  margin: 12px 0;
  overflow-x: auto;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.5;
}

.ma-code-block code {
  color: #e0e7ff;
  background: none;
  padding: 0;
  border: none;
  font-family: inherit;
  display: block;
  white-space: pre;
}

/* Mermaid diagrams */
.ma-mermaid-container {
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin: 16px 0;
  overflow-x: auto;
}

.ma-mermaid-rendered {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.ma-mermaid-rendered svg {
  max-width: 100%;
  height: auto;
}

.ma-error {
  color: #f87171;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* Answer Content (legacy) */
.meetassist-answer-section {
  background: rgba(80, 120, 200, 0.1);
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  animation: fadeIn 0.4s ease-out;
}

.meetassist-answer-section h3 {
  color: #c4b5fd;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}

.meetassist-answer-section p {
  color: #e0e7ff;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.meetassist-answer-section ul {
  margin-left: 20px;
  margin-top: 8px;
}

.meetassist-answer-section li {
  color: #d1d5ff;
  margin-bottom: 8px;
  line-height: 1.6;
}

.meetassist-answer-section code {
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 13px;
  color: #fbbf24;
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hide all old UI blocking elements */
#meetassist-overlay-resize,
#meetassist-overlay-content,
#meetassist-bottom-menu,
#meetassist-overlay-mode,
#meetassist-messages-panel,
#meetassist-answers-panel {
  display: none !important;
}

/* Transcribing indicator */
.meetassist-transcribing {
  color: #a78bfa;
  font-size: 12px;
  font-style: italic;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.meetassist-transcribing::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #a78bfa;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* Bottom Menu */
#meetassist-bottom-menu {
  padding: 6px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  background: rgba(20, 20, 30, 0.6);
  z-index:2;
}

.meetassist-menu-button {
  flex: 1;
  padding: 5px 8px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(80, 120, 200, 0.12));
  border: 1px solid rgba(102, 126, 234, 0.25);
  border-radius: 5px;
  color: #e0e7ff;
  font-size: var(--menu-button-font-size, 11px);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.meetassist-menu-button:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(80, 120, 200, 0.25));
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.meetassist-menu-button:active {
  transform: translateY(0);
}

.meetassist-menu-button .button-icon {
  font-size: var(--button-icon-font-size, 13px);
  font-weight: bold;
}

.meetassist-menu-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.button-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #e0e7ff;
  border-radius: 50%;
  animation: spinner-rotate 0.8s linear infinite;
}

@keyframes spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

/* Welcome Card - How It Works */
.meetassist-welcome-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  padding: 20px;
}

.welcome-header {
  text-align: center;
  margin-bottom: 16px;
}

.welcome-header h2 {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.welcome-content {
  max-width: 400px;
  width: 100%;
}

.welcome-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 0;
}

.step-number {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 11px;
}

.welcome-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.5;
}

.welcome-step strong {
  color: rgba(255, 255, 255, 0.8);
}

.welcome-footer {
  margin-top: 16px;
  text-align: center;
}

.welcome-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.welcome-help-link {
  display: inline-block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  text-decoration: none;
  transition: color 0.2s;
}

.welcome-help-link:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* Bot Interview Counter */
.meetassist-bot-counter-wrapper {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 100;
}

.meetassist-bot-progress-bar {
  height: 100%;
  width: 100%;
  background-color: #10b981; /* Fallback green color */
  transition: width 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Bot Meeting Guidance Modal */
#meetassist-guidance-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2147483649;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#meetassist-guidance-modal.visible {
  display: flex;
  animation: fadeInModal 0.3s ease-out;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.meetassist-guidance-card {
  background: linear-gradient(135deg, rgba(30, 30, 45, 0.98) 0%, rgba(40, 40, 60, 0.98) 100%);
  border-radius: 20px;
  padding: 40px;
  max-width: 580px;
  width: 90%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 1px rgba(102, 126, 234, 0.5);
  border: 1px solid rgba(102, 126, 234, 0.3);
  animation: slideUpModal 0.4s ease-out;
  position: relative;
}

@keyframes slideUpModal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.meetassist-guidance-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.2s ease;
  line-height: 1;
}

.meetassist-guidance-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: rotate(90deg);
}

.meetassist-guidance-header {
  text-align: center;
  margin-bottom: 32px;
}

.meetassist-guidance-logo {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 28px;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.meetassist-guidance-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.meetassist-guidance-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 400;
}

.meetassist-guidance-content {
  margin-bottom: 32px;
}

.meetassist-guidance-section {
  margin-bottom: 24px;
}

.meetassist-guidance-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #c4b5fd;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.meetassist-guidance-section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.meetassist-guidance-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meetassist-guidance-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(102, 126, 234, 0.08);
  border-radius: 12px;
  border-left: 3px solid rgba(102, 126, 234, 0.4);
  transition: all 0.2s ease;
}

.meetassist-guidance-step:hover {
  background: rgba(102, 126, 234, 0.12);
  border-left-color: rgba(102, 126, 234, 0.6);
  transform: translateX(4px);
}

.meetassist-guidance-step-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.meetassist-guidance-step-text {
  flex: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
  margin: 4px 0 0 0;
}

.meetassist-guidance-step-text strong {
  color: white;
  font-weight: 600;
}

.meetassist-guidance-info-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.meetassist-guidance-info-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.meetassist-guidance-info-text {
  flex: 1;
  color: rgba(16, 185, 129, 0.95);
  font-size: 14px;
  line-height: 1.6;
  margin: 2px 0 0 0;
}

.meetassist-guidance-info-text strong {
  color: #10b981;
  font-weight: 600;
}

.meetassist-guidance-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.meetassist-guidance-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.meetassist-guidance-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
}

.meetassist-guidance-button:active {
  transform: translateY(0);
}

/* ============================================
   V2 UI - PIXEL PERFECT DESIGN
   ============================================ */

/* ===== TOP BAR ===== */
/* A registered number, so a transition can interpolate it (an unregistered
   custom property only flips). Without support the bar still switches — at once. */
@property --ma-bar-pre {
  syntax: '<number>';
  inherits: false;
  initial-value: 1;
}
@media (prefers-reduced-motion: reduce) {
  #meetassist-top-bar {
    transition: none;
  }
}

#meetassist-top-bar {
  /* Two-row layout: action row on top, status row below. Both share the same
     rounded box + background — they're visually one container. */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  /* Before an interview (setup, login, loading): 0.95 dark with a violet glow
     behind the brand that fades out by ~320px. During one: plain, at the
     user's opacity. --ma-bar-pre is the mix (1 = before, 0 = during); it is
     the only thing that animates (below), so starting and stopping ease the
     bar from one look to the other while the −/+ opacity buttons still
     repaint at once. Gradients do not interpolate; their stops' alpha does. */
  --ma-bar-pre: 1;
  background:
    linear-gradient(90deg,
      rgb(124 58 237 / calc(0.2 * var(--ma-bar-pre))) 0px,
      rgb(124 58 237 / calc(0.07 * var(--ma-bar-pre))) 180px,
      rgb(124 58 237 / 0) 320px),
    rgb(15 20 28 / calc(var(--ma-bg-opacity, 0.88) + (0.95 - var(--ma-bg-opacity, 0.88)) * var(--ma-bar-pre))) !important;
  transition: --ma-bar-pre 0.5s ease-in-out;
  border-radius: 10px;
  /* Soft bevel without GPU compositing: light inner highlight along the
     top (fake light source) + outer shadow with a small 4px blur (single-
     pixel-color shadow, ~0.5-1ms paint cost, NOT the 10-20ms backdrop-filter
     was costing). Reads as a smooth gradient from light edge → dark edge
     instead of one harsh outline. */
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: move;
  /* No background transition — instant repaint when --ma-bg-opacity changes
     (opacity controls). The 400 ms animation we used to have re-rendered
     the surface every frame for the full duration. Only the start/stop
     switch (--ma-bar-pre) animates. */
  user-select: none;
  margin-bottom: 0;
  position: relative;
  z-index: 1000;
}

/* Top action row keeps the original side-by-side flex layout the old top bar
   had before the column wrap — only its padding moved up from the parent. */
/* Responsive top bar: when the window gets narrow, shed the least important
   chrome so what remains fits cleanly. Tiers (widest → narrowest): the
   "Upgrade" word on the credits chip → the AI-model icon → the hide (eye)
   button → the brand text. Container query on the bar itself, so it works
   both in the desktop window and the extension's in-page overlay. */
#meetassist-top-bar {
  container-type: inline-size;
}

@container (max-width: 700px) {
  .top-bar-credits .credits-add {
    display: none;
  }
}

@container (max-width: 640px) {
  #ma-settings-wrap {
    display: none;
  }
}

@container (max-width: 500px) {
  .top-bar-brand {
    display: none;
  }
}

.top-bar-action-row {
  display: flex;
  align-items: center;
  /* The brand, then Answer / Analyze a fixed 32px after it, the right group
     pushed to the end (margin-left:auto) — so a narrower bar takes its slack
     out of the gap before the clock, not out of the one after the brand. */
  justify-content: flex-start;
  /* 48px high; with the 26px logo, 12px from the top and from the left — the
     same 12px as Stop from the right. */
  padding: 9px 11px;
}

/* During an interview the toolbar and the transcript strip under it are
   narrower than the window (693 of the desktop's 900; 792 until the buttons
   round of 2026-11-09, utils/answerWidth.js TOOLBAR_WIDTH), centred over the
   answer panel, which keeps the full width. Not minimized: the compact bar
   sizes itself. From the moment Start is pressed (TranscriptView
   showConnecting sets interview-active), not once the audio is up.
   The narrowing is quick (0.18s) and runs on max-width: it changes only when
   the interview starts or ends — a window being resized changes neither
   value, so it does not lag behind the edge. The bar's colour switch
   (--ma-bar-pre) is as quick here. */
#meetassist-overlay:not(.ma-compact) #meetassist-top-bar,
#meetassist-overlay:not(.ma-compact) #meetassist-transcript-area {
  box-sizing: border-box; /* the extension's page has no global border-box */
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  transition: --ma-bar-pre 0.18s ease-out, max-width 0.18s ease-out;
}
#meetassist-overlay.interview-active:not(.ma-compact) #meetassist-top-bar,
#meetassist-overlay.interview-active:not(.ma-compact) #meetassist-transcript-area {
  max-width: 693px;
}
@media (prefers-reduced-motion: reduce) {
  #meetassist-overlay:not(.ma-compact) #meetassist-top-bar,
  #meetassist-overlay:not(.ma-compact) #meetassist-transcript-area {
    transition: none;
  }
}

/* Status row host. Empty by default — TranscriptView moves its
   .transcript-status-row into here on mount. When populated, a subtle
   separator marks the boundary with the action row above. */
.top-bar-status-host:empty {
  display: none;
}
.top-bar-status-host {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/* Desktop: "Visible in screen share" on a line of its own at the bottom of
   the toolbar (desktop/src/renderer/views/shieldNotice.js), read whole, while
   the status slot above keeps Processing. */
.ma-shield-line {
  display: flex;
  align-items: center;
  gap: 8px;
  /* 8px on every side. Before an interview the status row above is hidden and
     only its separator line is left: with no top margin the red box sat right
     on that line (owner, 2026-11-18: "net otstupa ot verhnej linii"). */
  margin: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
}
/* During an interview the status row (Mic / Audio / Auto answers) stands above
   it and brings its own 5px: as it was. */
#meetassist-overlay.interview-active .ma-shield-line { margin-top: 0; }
.ma-shield-line[hidden] { display: none; }
.ma-shield-line b { color: #fee2e2; font-weight: 600; }
.ma-shield-line-icon { flex: none; }
.ma-shield-switch {
  margin-left: auto;
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  color: #fee2e2;
  white-space: nowrap;
  cursor: pointer;
}

/* Strip the box-y look the status row had inside the transcript area —
   inside the top bar it inherits background + border + radius from the
   parent, so we only need flex layout for the toggles. */
.top-bar-status-host .transcript-status-row {
  display: flex;
  background: transparent;
  border: none;
  border-radius: 0;
  /* 32px high; 16px from either side — a little further in than the row
     above (12), so the two rows read as a header and its settings. */
  padding: 5px 15px;
  margin: 0;
}

/* Inside the top bar we only strip the chip background/border off the
   dropdowns so they don't compete visually with the action buttons. All
   text + icon colours stay at their original (transcript-area) values —
   no opacity dimming. Hover still gives a subtle visual cue. */
/* A faint pill at rest, not full transparency: with no background at all the
   mic/output pickers read as static text and nobody discovered them. Still
   quieter than the toolbar buttons; hover deepens it. */
.top-bar-status-host .status-dropdown {
  padding: 1px 7px;
  background: rgba(255, 255, 255, 0.05);
  /* No outline — the faint fill alone (2026-10-01). */
  border: 1px solid transparent;
}
.top-bar-status-host .status-dropdown:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* "Auto answers" item — clickable wrapper so flipping the slider works from
   anywhere in the row (label or knob). */
.ma-auto-item {
  gap: 8px;
  cursor: pointer;
  user-select: none;
}
/* The toggle inside the top bar, macOS style: iOS proportions (26×16, a
   12px knob with a soft shadow) and the system green, a little muted. */
.top-bar-status-host .toggle-switch-small {
  width: 26px;
  height: 16px;
}
.top-bar-status-host .toggle-slider-small {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}
.top-bar-status-host .toggle-slider-small:before {
  height: 12px;
  width: 12px;
  left: 2px;
  bottom: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.top-bar-status-host .toggle-switch-small input:checked + .toggle-slider-small {
  background: rgba(48, 209, 88, 0.8);
}
.top-bar-status-host .toggle-switch-small input:checked + .toggle-slider-small:before {
  transform: translateX(10px);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-logo {
  /* Next to the 30px Answer / Analyze in the 48px row: 12px from the top
     and from the left edge. */
  width: 26px;
  height: 26px;
  border-radius: 6px;
  /* Breathing room even when the brand text is hidden (narrow window). */
  margin-right: 4px;
}

.top-bar-brand {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-family: 'Russo One', sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.top-bar-support-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  margin-left: 4px;
}

.top-bar-support-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
}

.top-bar-support-btn .support-icon {
  flex-shrink: 0;
}

.top-bar-support-btn .support-label {
  line-height: 1;
}

.support-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 8px;
  line-height: 1;
}

.support-badge:empty {
  display: none;
}

.speaker-badge {
  display: none;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
}

.speaker-badge.speaker-you {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.speaker-badge.speaker-int {
  display: inline-block;
  background: rgba(167, 139, 250, 0.2);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.top-bar-center {
  display: flex;
  align-items: center;
  gap: 8px;
  /* 28px after the brand (owner, 2026-11-10: more air there, even if the bar
     grows for it); and never closer than 8px to the clock: the right group's
     auto margin takes the slack, and in a session's bar there is none left
     (its width is measured on the real bar: Stop keeps the row's 11px). */
  margin-left: 28px;
  margin-right: 8px;
}

.top-bar-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 14px;
  background: var(--ma-btn-bg);
  border: 1px solid var(--ma-btn-border);
  border-radius: 6px;
  color: var(--ma-btn-text);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.top-bar-btn:hover {
  background: var(--ma-btn-bg-hover);
  border-color: var(--ma-btn-border-hover);
}

.top-bar-btn svg {
  flex-shrink: 0;
}

/* Hover-trigger buttons (Answer, Analyze) - slightly more visible than other buttons */
.top-bar-btn.hover-trigger {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.12);
}

/* Primary action buttons (Answer + Analyze) — pill-shaped black chips so
   they stand out against the translucent toolbar. Use the same opacity
   variable as the bar (pure black vs. the bar's rgb(15,20,28), so the
   chips always read DARKER than the bar at any opacity level — and fade
   together when the user drags opacity down). */
#ma-ai-help-btn,
#ma-analyze-btn {
  /* A touch taller than the toolbar's other buttons (28). */
  height: 30px;
  border-radius: 15px;
  background: rgba(0, 0, 0, var(--ma-bg-opacity, 0.88));
  color: white;
  font-weight: 700;
  font-size: 15px;
  gap: 8px;
}

/* Hover-to-activate hint chip inside Answer/Analyze. These buttons trigger
   on hover (.hover-trigger), not click — so a cursor icon communicates the
   real interaction model. Same rounded chip background as before (slightly
   brighter than the black button surface) so it reads as a paired hint. */
#ma-ai-help-btn .btn-shortcut,
#ma-analyze-btn .btn-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  padding: 3px 5px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 0;
}

#ma-ai-help-btn .btn-shortcut svg,
#ma-analyze-btn .btn-shortcut svg {
  display: block;
}

/* The words centred on their capitals, level with the cursor chip; Close
   below, the same. The line box keeps the font's own room above the caps and
   under the baseline, and that differs per font, so a pixel nudge is right
   for one OS only: the -1px tuned on 2026-10-01 left the words 1.25px high on
   Linux once the overlay set its own line height. text-box trims the label to
   cap height and baseline and the button's flex centring does the rest
   (measured in Chrome over Liberation Sans, DejaVu, Noto, Inter: within
   0.5px). Chrome < 133 keeps the plain line box, within a pixel. Same as the
   transcript line (.transcript-text-row). */
@supports (text-box: trim-both cap alphabetic) {
  #ma-ai-help-btn .btn-label,
  #ma-analyze-btn .btn-label,
  .answer-close-btn .btn-label {
    text-box: trim-both cap alphabetic;
  }
}

.top-bar-btn.hover-trigger:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.18);
}

.top-bar-btn.hover-trigger.hover-active {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.22);
}

/* Generating state - disabled with visual feedback. Deliberately NOT
   pointer-events:none: dropping the button out of hit-testing under a resting
   cursor makes the browser report a leave now and a fresh hover when the
   answer lands — and Answer fires on hover, so it re-fired every ~2s.
   TopMenu already ignores hovers while generating (isAnswerGenerating). */
.top-bar-btn.generating {
  opacity: 0.6;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.top-bar-btn.generating .btn-label {
  animation: pulse-text 0.8s ease-in-out infinite;
}

@keyframes pulse-text {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.top-bar-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 500;
}

/* Frameless — the box only ate width; the clock icon + Upgrade chip carry
   the affordance. nowrap so the time never breaks into two lines. */
.top-bar-credits {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

/* The clock icon and the time never squeeze or wrap, whatever the width —
   the responsive tiers drop whole elements instead of deforming these. */
.top-bar-credits svg,
.top-bar-credits #ma-timer-display {
  flex-shrink: 0;
}

.top-bar-credits:hover {
  color: #fff;
}

.top-bar-credits.credits-warning {
  color: #ef4444;
  animation: credits-pulse 1s ease-in-out infinite;
}

@keyframes credits-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.credits-add {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 11px;
  font-weight: 600;
  transition: background 0.15s ease;
}

.top-bar-credits:hover .credits-add {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

/* Transcripts button - hidden */
.top-bar-btn.transcripts {
  display: none !important;
}

/* Settings button (the AI model): a faint fill, no outline. */
.top-bar-btn.settings {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid transparent;
  padding: 0 6px;
}

.top-bar-btn.settings:hover,
.top-bar-btn.settings.active {
  background: rgba(255, 255, 255, 0.14);
}

.top-bar-btn.settings .btn-model-icon svg {
  width: 18px;
  height: 18px;
}

/* Mic mute button */
.top-bar-btn.mic-mute {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 8px;
}

.top-bar-btn.mic-mute:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.top-bar-btn.mic-mute.muted {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.top-bar-btn.mic-mute.muted:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.45);
}

/* Model icon in settings button */
.btn-model-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.btn-model-icon svg {
  width: 20px;
  height: 20px;
}

/* Settings wrapper for dropdown positioning */
.top-bar-settings-wrap {
  position: relative;
  display: flex;
}

/* Model dropdown */
.top-bar-model-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  background: rgba(20, 25, 35, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 2147483647;
  overflow: hidden;
}

.model-dropdown-header {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.model-dropdown-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
}

.model-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  text-align: left;
  transition: background 0.15s;
}

.model-dropdown-item:hover {
  background: rgba(100, 150, 255, 0.1);
}

.model-dropdown-item.selected {
  background: rgba(100, 150, 255, 0.15);
}

.model-dropdown-logo {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.7);
}

.model-dropdown-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.model-dropdown-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.model-dropdown-provider {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.model-dropdown-check {
  flex-shrink: 0;
  color: rgba(100, 150, 255, 0.9);
}

.top-bar-toggle {
  display: flex;
  align-items: center;
}

/* Auto toggle button - light transparent background */
#ma-auto-toggle-wrap {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

#ma-auto-toggle-wrap:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Toggle inside button - no extra wrapper styles needed */

.toggle-switch-small {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
}

.toggle-switch-small input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider-small {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
  border-radius: 18px;
}

.toggle-slider-small:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 3px;
  bottom: 3px;
  background: white;
  transition: 0.3s;
  border-radius: 50%;
}

.toggle-switch-small input:checked + .toggle-slider-small {
  background: #22c55e;
}

.toggle-switch-small input:checked + .toggle-slider-small:before {
  transform: translateX(14px);
}

.top-bar-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.15s ease;
}

.top-bar-icon-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
}

/* Close (✕, outside a session) wears Stop's red: it is the same "end it"
   action in the same corner, and the two read as one button changing label. */
.top-bar-icon-btn.close {
  background: rgba(220, 38, 38, 0.55);
  border-color: rgba(220, 38, 38, 0.35);
  color: #fff;
}

.top-bar-icon-btn.close:hover {
  background: rgba(220, 38, 38, 0.75);
  border-color: rgba(220, 38, 38, 0.55);
  color: #fff;
}

.top-bar-icon-btn.close:active {
  background: rgba(185, 28, 28, 0.85);
  border-color: rgba(185, 28, 28, 0.65);
}

/* ⋮ menu: how MeetAssist looks (Zoom, Opacity). Anchored to its button like
   the model dropdown, right-aligned so it never runs off the bar's end. */
.top-bar-more-wrap {
  position: relative;
  display: inline-flex;
}

.top-bar-icon-btn.more.is-open {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.ma-more-menu {
  /* The AI model dropdown's surface, one for one (.top-bar-model-dropdown):
     the two menus hang from the same bar and must read as one family. */
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 2147483647;
  box-sizing: border-box;
  width: 280px;
  background: rgba(20, 25, 35, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  /* The bar is the drag handle (cursor: move); the menu is not. */
  cursor: default;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.2;
}

.ma-more-menu[hidden],
.ma-more-group[hidden],
.ma-more-row[hidden] {
  display: none;
}

/* Outside a session the menu hangs over the setup screen: the light surface
   of the setup's own dropdowns (.ma-su-dd-menu), its ink and its violet. */
.ma-more-menu.is-light {
  background: #fff;
  border-color: rgba(23, 20, 29, 0.1);
  box-shadow: 0 12px 32px rgba(23, 20, 29, 0.16);
  color: #17141d;
}

.ma-more-menu.is-light .ma-more-head {
  color: rgba(23, 20, 29, 0.45);
  border-bottom-color: rgba(23, 20, 29, 0.08);
}

.ma-more-menu.is-light .ma-more-group:not([hidden]) + .ma-more-group {
  border-top-color: rgba(23, 20, 29, 0.08);
}

.ma-more-menu.is-light .ma-more-label,
.ma-more-menu.is-light .ma-stepper-value {
  color: #17141d;
}

.ma-more-menu.is-light .ma-stepper,
.ma-more-menu.is-light .ma-seg {
  background: rgba(23, 20, 29, 0.05);
}

.ma-more-menu.is-light .ma-stepper-btn,
.ma-more-menu.is-light .ma-seg-btn {
  color: rgba(23, 20, 29, 0.62);
}

.ma-more-menu.is-light .ma-more-reset {
  color: rgba(23, 20, 29, 0.4);
}

.ma-more-menu.is-light .ma-stepper-btn:hover:not(:disabled),
.ma-more-menu.is-light .ma-more-reset:hover:not(:disabled),
.ma-more-menu.is-light .ma-seg-btn:hover:not(:disabled):not(.is-on) {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
}

.ma-more-menu.is-light .ma-seg-btn.is-on {
  background: #fff;
  color: #17141d;
  box-shadow: 0 1px 2px rgba(23, 20, 29, 0.12);
}

/* The Simple view switch: the toolbar's own (Auto answers), at the row's end;
   over the setup screen, the setup's violet. */
.ma-more-switch {
  margin-left: auto;
  width: 26px;
  height: 16px;
  flex: none;
}
.ma-more-switch .toggle-slider-small {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}
.ma-more-switch .toggle-slider-small:before {
  height: 12px;
  width: 12px;
  left: 2px;
  bottom: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.ma-more-switch input:checked + .toggle-slider-small {
  background: rgba(48, 209, 88, 0.8);
}
.ma-more-switch input:checked + .toggle-slider-small:before {
  transform: translateX(10px);
}
.ma-more-menu.is-light .ma-more-switch .toggle-slider-small {
  background: rgba(23, 20, 29, 0.16);
}
.ma-more-menu.is-light .ma-more-switch input:checked + .toggle-slider-small {
  background: #7c3aed;
}

/* Bar at the bottom of a flipped overlay: the menu opens upward. */
#meetassist-overlay.flipped .ma-more-menu {
  top: auto;
  bottom: calc(100% + 8px);
}

/* A divider only after a group that is showing (Answers hides outside a session). */
.ma-more-group:not([hidden]) + .ma-more-group {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Each group: the model dropdown's header, then its list's 6px inset. */
.ma-more-group {
  padding-bottom: 6px;
}

.ma-more-head {
  margin-bottom: 6px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ma-more-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  /* Text on the header's 14px line, as the model list's names sit. */
  padding: 3px 10px 3px 14px;
}

.ma-more-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.ma-more-row.is-off .ma-more-label {
  color: rgba(255, 255, 255, 0.45);
}

/* Off outside a session: hovering the row says when it works. Above the row,
   over its controls; inside the menu, which clips (overflow: hidden), so the
   first row's bubble sits over the group's header. */
.ma-more-row {
  position: relative;
}

.ma-more-row.is-off::after {
  content: 'Available during an interview';
  position: absolute;
  right: 10px;
  bottom: calc(100% - 4px);
  z-index: 2;
  padding: 5px 9px;
  border-radius: 6px;
  background: #17141d;
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.ma-more-row.is-off:hover::after {
  opacity: 1;
  transform: none;
}

.ma-more-menu.is-light .ma-more-row.is-off .ma-more-label {
  color: rgba(23, 20, 29, 0.4);
}

/* − value + : one quiet capsule, the value between its two buttons. */
.ma-stepper {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 1px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 7px;
}

.ma-stepper-btn,
.ma-more-reset,
.ma-seg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 6px;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.ma-stepper-btn {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.7);
}

.ma-stepper-value {
  min-width: 40px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.ma-more-row.is-off .ma-stepper-value {
  opacity: 0.45;   /* the value it will have, shown but greyed with the row */
}

/* Reset: only once the value is off its default; its space is kept so the
   steppers never shift. */
.ma-more-reset {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.4);
}

.ma-more-reset.is-default {
  visibility: hidden;
}

/* Format / Length: a segmented switch, the picked one lifted. */
.ma-seg {
  display: inline-flex;
  /* One width for every switch, so Format and Length line up. */
  width: 184px;
  box-sizing: border-box;
  gap: 2px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 7px;
}

.ma-seg-btn {
  flex: 1;
  height: 22px;
  padding: 0 9px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11.5px;
  font-weight: 500;
  border-radius: 5px;
}

.ma-seg-btn.is-on {
  /* The model list's selected row. */
  background: rgba(100, 150, 255, 0.15);
  color: #fff;
}

.ma-stepper-btn:hover:not(:disabled),
.ma-more-reset:hover:not(:disabled),
.ma-seg-btn:hover:not(:disabled):not(.is-on) {
  /* The model list's hover. */
  background: rgba(100, 150, 255, 0.1);
  color: #fff;
}

.ma-stepper-btn:disabled,
.ma-seg-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ===== TRANSCRIPT LINE ===== */
#meetassist-transcript-line {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  background: rgb(15 20 28 / var(--ma-bg-opacity, 0.95)) !important;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  min-height: 20px;
  margin-bottom: 8px;
  gap: 12px;
}

.transcript-speaker-badge {
  display: none !important;
}

.transcript-speaker-badge.speaker-you {
  display: none !important;
}

.transcript-speaker-badge.speaker-int {
  display: none !important;
}

.transcript-line-content {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 16px;
  white-space: nowrap;
  max-width: 100%;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* The line travels by transform, not by scrollLeft: live speech shifts it
   ~160 times a minute in 8-88px steps, and stepping the scroll position is
   exactly what reads as jitter. A short linear transition turns those steps
   into continuous motion, animated off the main thread. */
.transcript-line-inner {
  display: inline-block;
  white-space: nowrap;
  /* ease-out, not linear. Updates arrive faster than 150ms when speech is
     dense, so a running transition is constantly retargeted from wherever it
     had got to — and with a linear curve every retarget is a visible change of
     speed. An ease-out absorbs them: each new target simply extends the same
     decelerating motion. */
  transition: transform 190ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .transcript-line-inner { transition: none; }
}

.transcript-line-content::-webkit-scrollbar {
  display: none;
}

.transcript-line-text {
  display: inline;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.transcript-placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  line-height: 1.4;
}


@keyframes spin {
  to { transform: rotate(360deg); }
}

.transcript-interim {
  display: inline;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 500;
}

/* Live text splits in two: words the engine has stopped revising, and the tail
   it may still rewrite. Flux re-reads earlier audio, so the tail genuinely
   changes under you — dimming it says "not final yet" instead of letting the
   line appear to rewrite itself. Inherits size/weight so nothing reflows when a
   word graduates from tail to settled. */
.transcript-interim-stable {
  display: inline;
}

/* Finalized text, split by who said it. The candidate's own words are dimmed:
   they are context, while the interviewer's question is the thing being
   answered. Without this the two run together into one wall of text — barely
   noticeable with nova's short finals, unreadable with Flux's turn-sized ones. */
.transcript-hist-int {
  color: rgba(255, 255, 255, 0.95);
}

.transcript-hist-you {
  color: rgba(255, 255, 255, 0.62);
}

.transcript-interim-tail {
  display: inline;
  opacity: 0.55;
}

/* Live words. A word starts dimmed while the engine may still rewrite it, then
   fades up once two consecutive updates agree on it. The transition is on the
   WORD, not on a container, which is why live text is rendered span-per-word —
   moving a word between two containers is a DOM move and cannot be animated. */
.transcript-word {
  display: inline;
  color: var(--ma-live-settled, rgba(255, 255, 255, 0.95));
  transition: color 220ms ease-out;
}

.transcript-word.pending {
  /* Dimmed relative to whatever this speaker's settled colour is, so the fade
     always ends exactly on the colour the word will keep once finalized. */
  color: var(--ma-live-pending, rgba(255, 255, 255, 0.5));
}

/* The candidate's own words finalize into .transcript-hist-you (0.62), not
   0.95. Without this the line changed shade in a single frame the moment a
   final landed — history spans have no transition, so there was nothing to
   animate it — and only ever when YOU were talking, which is what made it look
   intermittent. Live now starts where finalized ends. */
.transcript-interim-stable.live-you {
  --ma-live-settled: rgba(255, 255, 255, 0.62);
  --ma-live-pending: rgba(255, 255, 255, 0.34);
}

/* ── status line ───────────────────────────────────────────────────────────
   One quiet line in the toolbar for anything the user should know but cannot
   act on: reconnecting, offline, what the detector just did. Deliberately
   understated — the goal is "informed", not "alarmed". Anything needing a
   button lives in the error row instead. */
.transcript-status-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
  /* The ONLY item allowed to give. A fixed max-width claimed almost half the
     row whatever the message was, and squeezed everything else; growing and
     shrinking with the space left over means the row's height can never depend
     on how long a note happens to be — a long one is simply cut with an
     ellipsis. min-width:0 is what actually lets a flex item shrink below its
     content and therefore ellipsize at all. */
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  /* Collapsed until there is something to say, so the toolbar looks unchanged.
     Notes replace each other constantly while the detector works, so the fade
     is short on purpose: long enough to read as motion, short enough that the
     next note is never waiting behind it. Keep in step with STATUS_FADE_MS in
     TranscriptView.js — the script empties the line on that same clock. */
  opacity: 0;
  transform: translateY(-3px);
  pointer-events: none;
  transition: opacity 140ms ease-out, transform 140ms ease-out;
}

.transcript-status-line.is-visible {
  opacity: 1;
  transform: none;
}

/* Scoped to the line on purpose: `.transcript-status-text` is ALSO the text
   column of the notification row further down this file, which sets
   display:flex — and it wins on source order. A flex container cannot
   ellipsize, so the message was being clipped mid-word with no "…" to show
   for it. Scoping raises specificity above that rule without touching it. */
.transcript-status-line .transcript-status-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.transcript-status-icon {
  flex: none;
  font-size: 11px;
  opacity: 0.9;
}

/* A real spinner, not a rotating glyph: this one says "a request is in flight",
   and it has to read as motion at a glance rather than as a character that
   happens to be turning. Same ring as the reconnect banner so the app has one
   idea of what "working" looks like. */
.transcript-status-icon.is-spinner {
  width: 9px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  opacity: 0.75;
  animation: ma-status-spin 0.7s linear infinite;
}

/* Informational: barely there. */
.transcript-status-line.level-info {
  color: rgba(255, 255, 255, 0.55);
}

/* Something is being retried. Amber reads as "working on it", not "broken". */
.transcript-status-line.level-warn {
  color: #f3c775;
}

.transcript-status-line.level-warn .transcript-status-icon {
  animation: ma-status-spin 1.6s linear infinite;
}

/* Reserved for states the user genuinely needs to notice. Still a line, not a
   banner: red text, no red block. */
.transcript-status-line.level-error {
  color: #ff9d9d;
}

@keyframes ma-status-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .transcript-status-line { transition: none; }
  .transcript-status-line.level-warn .transcript-status-icon { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .transcript-word { transition: none; }
}

/* Unified status bar for connecting/error states */
.transcript-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-size: 13px;
  line-height: 1.4;
}

/* Text column: line 1 (message) + optional line 2 (subMessage + actions).
   Flexes to fill space; the dismiss ✕ stays pinned on the right. */
.transcript-status-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;        /* allow children to ellipsis-truncate inside flex */
  flex: 1 1 auto;
}

/* Single-line variant: message + action buttons inline. */
.transcript-status-line1 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* Two-line variant: line 2 holds the subMessage + action buttons. */
.transcript-status-line2 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.transcript-status-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dismiss ✕ — subtle, pinned to the far right of the banner. */
.transcript-status-dismiss {
  flex-shrink: 0;
  align-self: flex-start;
  margin-left: 8px;
  padding: 0 4px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s;
}

.transcript-status-dismiss:hover {
  color: rgba(255, 255, 255, 0.9);
}

.transcript-status-bar.connecting {
  color: rgba(255, 255, 255, 0.7);
}

.transcript-status-bar.error {
  color: rgba(255, 255, 255, 0.6);
}

.transcript-status-bar .spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

.transcript-status-msg {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transcript-status-link {
  padding: 0;
  background: none;
  border: none;
  color: #a78bfa;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;        /* keep the action button fully visible, never truncate */
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s;
}

.transcript-status-link:hover {
  text-decoration-color: #a78bfa;
}

.transcript-status-link::before {
  content: '·';
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  display: inline-block;
}

/* ===== ANSWER PANEL ===== */
/* Unified answer container — controls row + question row + answer content,
   all in one box. While active it takes the transcript area's slot and
   grows downward (capped at 60vh, content scrolls). */
#meetassist-answer-panel {
  display: none;
  flex-direction: column;
  /* Same opacity knob as top-bar and transcript-area so all three move
     together when the user hits O− / O+ in the footer. The head and the foot
     are this frame; the answer is a darker card inside it. */
  background: rgb(15 20 28 / var(--ma-bg-opacity, 0.88)) !important;
  /* Soft bevel: light inner top highlight + outer drop shadow with small
     blur. Single 4px-blur shadow is paint-only, no compositing layer. */
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  margin-top: 8px;
  margin-bottom: 8px;
  position: relative;
  z-index: 10;
  overflow: hidden;
  /* Fixed height so the panel appears at its final size from the very first
     paint — no growing-as-stream-arrives jitter. Inner `.answer-panel-content`
     has overflow-y: auto, so content longer than the box scrolls internally.

     has overflow-y: auto, so content longer than the box scrolls internally. */
  height: 500px;
}

/* The answer's own width (--ma-answer-w, set by the hosts from the grip
   below). The box around it (the desktop's window, the extension's overlay)
   never goes narrower than the toolbar, so an answer narrower than that sits
   centred under it and the toolbar keeps its size. 8px stay free on each side
   (ANSWER_GUTTER) for the grip, which sits on the edge. Compact pins its own. */
#meetassist-overlay:not(.ma-compact) #meetassist-answer-panel {
  box-sizing: border-box;
  width: min(calc(100% - 16px), var(--ma-answer-w, 100%));
  margin-left: auto;
  margin-right: auto;
}

#meetassist-answer-panel {
  anchor-name: --ma-answer;
}

/* Width grip: a small capsule with two upright strokes, centred ON the
   answer's right edge, at its middle (AnswerOverlay _initWidthGrip). The usual
   look of a resize handle, and nothing like a scrollbar. The only thing that
   resizes the answer, open or minimized: one width for both. */
.ma-answer-grip {
  position: absolute;
  position-anchor: --ma-answer;
  left: anchor(right);
  top: anchor(center);
  /* A little more over the answer than outside it: on the edge, but read
     as the answer's own handle. */
  translate: calc(-50% - 3px) -50%;
  z-index: 30;
  box-sizing: border-box;
  width: 14px;
  height: 40px;
  border-radius: 7px;
  background: rgb(38 42 52);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  cursor: ew-resize;
  touch-action: none;
  /* Shown with the answer's foot bar: on hover, in the same 0.14s. Still
     hit-testable while invisible, so moving onto its outer half (past the
     answer's edge) does not drop it. */
  opacity: 0;
  transition: opacity 0.14s ease-out, background 0.15s ease, border-color 0.15s ease;
}

#meetassist-answer-panel:hover ~ .ma-answer-grip,
.ma-answer-grip:hover,
.ma-answer-grip.is-held {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .ma-answer-grip { transition: none; }
}

#meetassist-answer-panel:not(.visible) ~ .ma-answer-grip {
  display: none;
}

/* No anchor positioning (Chrome before 125): no grip, rather than one left
   wherever the static position puts it. */
@supports not (anchor-name: --a) {
  .ma-answer-grip { display: none; }
}

.ma-answer-grip::before,
.ma-answer-grip::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 2px;
  height: 14px;
  transform: translateY(-50%);
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.6);
  transition: background 0.15s ease;
}

.ma-answer-grip::before { left: 3px; }
.ma-answer-grip::after { right: 3px; }

.ma-answer-grip:hover,
.ma-answer-grip.is-held {
  background: rgb(52 57 70);
  border-color: rgba(255, 255, 255, 0.32);
}

.ma-answer-grip:hover::before,
.ma-answer-grip:hover::after,
.ma-answer-grip.is-held::before,
.ma-answer-grip.is-held::after {
  background: rgba(255, 255, 255, 0.95);
}

/* While the grip is held the cursor stays ↔ and nothing gets selected. The
   cursor is NOT !important: the desktop pins the plain arrow everywhere
   (desktop.css, cursor undetectability) and must keep winning. */
#meetassist-answer-panel.is-resizing,
#meetassist-answer-panel.is-resizing * {
  cursor: ew-resize;
  user-select: none !important;
}

/* Force every text node and visual element inside the answer panel to white.
   Originally bullets were #B4BAC4 (gray), intro labels #D9AE73 (amber),
   highlights #7DD3FC (sky-blue). User wanted everything white — universal
   selector below is the simplest way to cover footer buttons, history-nav,
   font-size controls etc without hunting each rule. */
/* :is() with the id inside keeps ID specificity for BOTH the live panel and
   the Answer style preview (.ma-su-live on the setup screen) — a plain
   `.ma-su-live *` loses to `.qa-answer-content p` and rendered the preview in
   the grey #B4BAC4 the live panel overrides. One set of rules, one look. */
:is(#meetassist-answer-panel, .ma-su-live),
:is(#meetassist-answer-panel, .ma-su-live) * {
  color: #fff;
}

/* Ordinary answer text is a little softer than a highlight (owner, 2026-11-16: the
   white highlights of a checked answer should "stand out better"; of the two
   looks shown he chose "A"). Every text of the panel is white (the rule above),
   so a white bold highlight differed from the text around it by thickness
   alone, and 700 is the heaviest face the app loads. Now the text of a
   paragraph and of a bullet is 84% white and a highlight stays pure white:
   brighter as well as thicker. In every answer, a general one too, so that
   neighbouring answers read alike. Only a plain <p> and <li>: the panel paints
   each element by itself, so a highlight, an emphasis, a verified word, a
   blank to fill in and code keep their own colour, and the lines of a quiz
   (classed paragraphs) keep theirs. The phone page says the same number
   (mobile-web SyncStatus.tsx, .ma-answer-text). */
/* Two selectors, not a second :is(): the extension's build drops a rule that
   chains two :is() lists (tests/…: "no selector chains two :is() lists"). */
:is(#meetassist-answer-panel, .ma-su-live) .qa-answer-content p:not([class]),
:is(#meetassist-answer-panel, .ma-su-live) .qa-answer-content li {
  color: rgb(255 255 255 / 0.84);
}

/* Inline highlights (the `**bold**` words the worker emits — proper nouns,
   numbers with units, named decisions). Two looks, by whether the answer is
   checked against the candidate's papers (owner, 2026-11-15):
   - not checked (a technical or other general question, an analysis, a
     follow-up, the switch off, an app that does not ask): the highlights
     carry the colour. There is nothing to verify there and the colour is the
     way through the text;
   - checked (`.ma-answer-checked` on the panel, set by AnswerOverlay): bold
     white, an anchor for the eye and no claim, so that colour means one thing
     in such an answer: a fact verified against the papers (see .qa-backed
     below).
   ONE blue for both (owner: "u nas dolzhen byt odin goluboj cvet"), and it is
   the sky blue the highlights always had, exactly as released (#a4deff, 600
   on a highlight). For a few hours it was a pale tint (#c9eaff); seen live, a
   highlight of a technical answer was nearly white and no longer led the eye,
   so the owner took the darker blue back ("vernem k tomu bolee tjomnomu kak u
   nas byl ranshe") and then tried it on the verified words too ("mozhet dazhe
   etot goluboj primenim dlja verified tozhe? poprobuem"). */
/* (shared with the Answer style preview — see the colour rule above) */
:is(#meetassist-answer-panel, .ma-su-live) .qa-answer-content strong {
  color: #a4deff !important;
  font-weight: 600 !important;
}
#meetassist-answer-panel.ma-answer-checked .qa-answer-content strong {
  color: #fff !important;
  font-weight: 700 !important;
}
/* Bracket placeholders ([Company], [N years], etc.) — same blue tint so they
   visually cluster with other highlights, but body weight so the candidate
   can tell "fill-in-the-blank" from "key fact". `inherit` doesn't work here
   because the model often emits `**[Company]**` → bracket span is rendered
   INSIDE <strong>, so inheriting from parent gives back 700. Hard-set to 500
   (the body bullet weight) to defeat that. */
:is(#meetassist-answer-panel, .ma-su-live) .qa-answer-content .answer-placeholder {
  color: #a4deff !important;
  font-weight: 400 !important;
}
/* In a checked answer colour means "found in the papers", and a blank to fill
   in is the opposite of that: white, like everything unverified there. Its
   brackets say what it is. */
#meetassist-answer-panel.ma-answer-checked .qa-answer-content .answer-placeholder {
  color: #fff !important;
}

/* Bullet dots — were #6E7682 (gray), now match the body text. */
:is(#meetassist-answer-panel, .ma-su-live) .answer-bullets li:before {
  background: #fff;
}

#meetassist-answer-panel.visible {
  display: flex;
  animation: answerSlideIn 0.3s ease-out;
}

/* When an answer is active it replaces the transcript area. !important
   overrides TranscriptView's inline display so it returns once the class is
   dropped (in AnswerOverlay.hide()). */
#meetassist-overlay.answer-bar-active #meetassist-transcript-area {
  display: none !important;
}

/* Foot bar controls (Key/List/Text + smart bubbles) sized to match Depth:
   24px with the border inside (they came out 26px next to its 24). */
.answer-footer-right .format-selector .format-btn {
  box-sizing: border-box;
  height: 24px;
  line-height: 22px;
}

.answer-footer-right .rephrase-bubble {
  height: 24px;
}

:is(#meetassist-answer-panel, .ma-su-live) .answer-panel-footer {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px;
}
.answer-footer-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.answer-panel-footer .history-nav {
  gap: 4px;
  opacity: 0.7;
}
.answer-panel-footer .history-nav-btn {
  width: 24px;
  height: 24px;
}
/* The live panel's foot bar is not there until the cursor is on the panel
   (or a key moves focus into it): no strip, the panel's rounded bottom edge
   right under the chat line. Then it slides out at the bottom, quickly — the
   panel keeps its height (a growing box resizes the desktop window, and every
   resize blanks a frame), so the answer above gives up those 32px while the
   bar is out. */
#meetassist-answer-panel .answer-panel-footer {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.14s ease-out, padding 0.14s ease-out, opacity 0.14s ease-out;
}
#meetassist-answer-panel:hover .answer-panel-footer,
#meetassist-answer-panel .answer-panel-footer:focus-within {
  height: 28px;
  padding-top: 2px;
  padding-bottom: 2px;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  #meetassist-answer-panel .answer-panel-footer { transition: none; }
}

/* Row 2: the question. 40px tall for a single line (matching
   .transcript-text-row); grows taller when a long question wraps to
   multiple lines. flex:none so the parent column doesn't collapse it. */
/* The foot bar's length buttons are three icons (Short / Medium / Detailed —
   the names are their tooltips); the same in the setup screen's preview. */
:is(#meetassist-answer-panel, .ma-su-live) .answer-footer-right .depth-btn span { display: none; }
:is(#meetassist-answer-panel, .ma-su-live) .answer-footer-right .depth-btn { padding: 0 8px; }

/* The head: the question (or an analysis's screenshots) and Close. 44px — as
   low as Close allows (it used to be 50+). */
.answer-bar-question-row {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 8px 6px 14px;
  box-sizing: border-box;
}

/* History pager pinned to the bottom of the answer container. */
.answer-bar-question-row .qa-icon {
  font-size: 15px;
  flex-shrink: 0;
}

.answer-bar-question-row .qa-question-text {
  flex: 1;
  min-width: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  /* A step above the answer's own text (15px), set apart by weight too —
     17px outweighed the answer under it, 15px and 16px read as too small. */
  font-size: 16.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

/* Close button — matches the Answer/Analyze pill style (same black chip +
   inline hover-cursor hint), since it's also a hover-trigger interaction.
   The question text (flex:1) pushes it to the right edge. */
.answer-bar-question-row .answer-close-btn {
  flex-shrink: 0;
}

/* History pager pinned to the bottom of the answer container. */

@keyframes answerSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.answer-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
  /* Slightly darker than the panel surface for visual separation, still
     transparent so the meeting bleeds through. */
  background: rgba(0, 0, 0, 0.22);
}

.answer-question-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.answer-question-header .qa-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.answer-question-header .qa-question-text {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.012em;
}

.answer-panel-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.answer-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  background: rgba(0, 0, 0, var(--ma-bg-opacity, 0.88));
  border: 0;
  border-radius: 15px;
  color: white;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.answer-close-btn:hover {
  background: rgba(0, 0, 0, 0.95);
}

.answer-close-btn.hover-trigger.hover-active {
  background: rgba(0, 0, 0, 1);
}

/* Inline hover-cursor chip — reuses the same look as Answer/Analyze. */
.answer-close-btn .btn-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 5px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 0;
}

.answer-close-btn .btn-shortcut svg {
  display: block;
}

/* Format selector in answer header */
.answer-header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.format-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border-radius: 6px;
  padding: 0;
}

.format-selector .format-btn {
  padding: 0 10px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Ghost style — no border or fill so the buttons sit light on the bar. */
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 600;
  line-height: 26px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.format-selector .format-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

.format-selector .format-btn.active {
  /* Subtle fill marks the selection — no border, no saturated color. */
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Analyze on several monitors: one thumbnail per screen + All — which
   screens the analysis looked at. Same height and ghost look as Key/Bullets. */
.ma-screen-selector {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ma-screen-selector .screen-btn {
  height: 24px;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.15s ease;
}
.ma-screen-selector .screen-btn img {
  display: block;
  height: 18px;
  width: auto;
  max-width: 44px;
  border-radius: 3px;
  object-fit: cover;
}
.ma-screen-selector .screen-selector-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  margin-right: 2px;
}
.ma-screen-selector .screen-btn { position: relative; gap: 4px; padding: 2px 6px 2px 2px; }
.ma-screen-selector .screen-num { font-size: 11px; font-weight: 600; }
/* Hover: the screen big enough to recognize (the button is 18px tall). */
.ma-screen-selector .screen-peek {
  position: absolute;
  bottom: calc(100% + 8px); /* the chips are in the foot bar: previews open up */
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  border-radius: 8px;
  background: rgba(20, 20, 28, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
}
.ma-screen-selector .screen-peek img {
  width: 240px;
  height: auto;
  max-width: none;
  max-height: 150px;
  object-fit: contain;
  border-radius: 4px;
}
.ma-screen-selector .screen-peek .screen-peek-hint {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}
.ma-screen-selector .screen-btn:hover .screen-peek { display: flex; }
.ma-screen-selector .screen-btn:hover {
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.06);
}
.ma-screen-selector .screen-btn.active {
  opacity: 1;
  border-color: rgba(139, 92, 246, 0.85);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
/* The panel paints every descendant white (`#meetassist-answer-panel *`, an
   id) — the muted parts of the screens row need the id too. */
#meetassist-answer-panel .ma-screen-selector .screen-selector-label { color: rgba(255, 255, 255, 0.45); }
#meetassist-answer-panel .ma-screen-selector .screen-peek-hint { color: rgba(255, 255, 255, 0.5); }

/* ── An analysis's screenshots: the strip under the title ──
   What the analysis reads, kept on screen with the answer: a thumbnail per
   screenshot (× once one task has two), "+ Add screenshot", and how many of
   the limit. Which display is read is the footer's business. */
.answer-shots {
  position: relative; /* its previews and menu open over the answer below */
  z-index: 3;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* An analysis has no question: its screenshots stand where the title was. */
#meetassist-answer-panel.has-shots .answer-bar-question-row .qa-icon,
#meetassist-answer-panel.has-shots .answer-bar-question-row .qa-question-text { display: none; }
.answer-shots-list {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.answer-shot {
  position: relative;
  /* Up to ten in the head (All screens: every Add takes each monitor): past
     what fits they narrow, each cropped to the middle — the preview on hover
     shows the whole screenshot. */
  flex: 0 1 auto;
  min-width: 18px;
  display: block;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}
.answer-shots-label { flex: none; font-size: 12px; font-weight: 500; white-space: nowrap; }
#meetassist-answer-panel .answer-shots-label { color: rgba(255, 255, 255, 0.5); }
.answer-shot > img {
  display: block;
  height: 100%;
  width: auto;
  max-width: min(90px, 100%);
  border-radius: 5px;
  object-fit: cover;
}
/* Scanning — until the analysis has written something. */
.answer-shot .answer-shimmer {
  position: absolute;
  inset: 0;
  border-radius: 5px;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.08) 55%, transparent 60%);
  background-size: 250% 100%;
  display: none;
}
.answer-shots.is-scanning .answer-shot { border-color: rgba(139, 92, 246, 0.55); box-shadow: 0 0 10px rgba(139, 92, 246, 0.25); }
.answer-shots.is-scanning .answer-shot .answer-shimmer { display: block; animation: shimmerSweep 1.5s ease-in-out infinite; }
.answer-shot-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgb(15 20 28);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: background 0.15s, opacity 0.15s;
}
.answer-shot-remove:hover { background: rgba(239, 68, 68, 0.9); border-color: transparent; opacity: 1; }
/* Hover: the screenshot big enough to recognize. */
.answer-shot-peek {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  border-radius: 8px;
  background: rgba(20, 20, 28, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  z-index: 6;
}
.answer-shot-peek img { width: 280px; height: auto; max-height: 180px; object-fit: contain; border-radius: 4px; }
.answer-shot:hover .answer-shot-peek { display: flex; }
.answer-shots-add { position: relative; display: flex; flex: none; }
.answer-shots-add-btn {
  height: 28px;
  padding: 0 11px 0 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.answer-shots-add-btn:hover:not(:disabled) { background: rgba(139, 92, 246, 0.22); border-color: rgba(139, 92, 246, 0.7); }
.answer-shots-add-btn:disabled { opacity: 0.4; cursor: default; }
.answer-shots-count { margin-left: auto; flex: none; font-size: 12px; font-variant-numeric: tabular-nums; }
#meetassist-answer-panel .answer-shots-count { color: rgba(255, 255, 255, 0.45); }
#meetassist-answer-panel .answer-shot-peek span { color: rgba(255, 255, 255, 0.8); }
/* Depth selector — static, always visible, same neutral look as the
   Key/List/Text buttons (no blue, just a soft selected state). */
.depth-selector {
  display: flex;
  align-items: center;
  gap: 4px;
}

.depth-selector-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 2px;
}

.depth-btn {
  height: 24px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.depth-btn-icon {
  flex-shrink: 0;
  opacity: 0.85;
}

.depth-btn:hover:not(.depth-btn-active) {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

.depth-btn-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: default;
}

@keyframes pulse-glow-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  100% { box-shadow: 0 0 16px 4px rgba(239, 68, 68, 0.3); }
}

.answer-panel-content {
  flex: 1;
  overflow-y: auto;
  /* The answer — darker than the head so it reads as its own surface (its
     opacity tracks --ma-bg-opacity at ~75 %), edge to edge: no frame around
     it any more; the panel's own rounded corners close it at the bottom. */
  background: rgb(0 0 0 / calc(var(--ma-bg-opacity, 0.88) * 0.75));
  margin: 0;
  padding: 20px;
  color: #B4BAC4;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.011em;
}

/* Chat follow-up row — visually the bottom edge of the black content card
   (same surface + side margins, finishes the rounded corners), sitting
   between the scrollable answer and the untouched footer. Deliberately
   quiet: no box around the input, tight height, and the send arrow only
   appears once there's text (`has-text` toggled from AnswerOverlay). */
.answer-chat-row {
  display: flex;
  flex: none;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 3px 12px 5px;
  background: rgb(0 0 0 / calc(var(--ma-bg-opacity, 0.88) * 0.75));
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.answer-chat-input {
  flex: 1;
  min-width: 0;
  height: 26px;
  padding: 0 4px;
  border: none;
  background: transparent;
  font-size: 13px;
  outline: none;
}

#meetassist-answer-panel .answer-chat-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.answer-chat-send {
  flex: none;
  display: flex;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  /* Same gray as the footer's active chip — quiet but clearly a button. */
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.answer-chat-send:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
}

.answer-chat-send:disabled {
  opacity: 0.3;
  cursor: default;
}

/* User's follow-up message inside the answer thread — right-aligned bubble. */
#meetassist-answer-panel .answer-chat-user {
  margin: 12px 0 12px auto;
  max-width: 85%;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 12px 12px 2px 12px;
  background: rgba(164, 222, 255, 0.14);
  border: 1px solid rgba(164, 222, 255, 0.25);
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}

/* Answer content scrollbar — thin, neutral gray, transparent track: the same
   quiet language as the footer chips, instead of the browser default. */
.answer-panel-content::-webkit-scrollbar {
  width: 6px;
}

.answer-panel-content::-webkit-scrollbar-track {
  background: transparent;
}

.answer-panel-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 3px;
}

.answer-panel-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Error state in answer panel */
#meetassist-answer-panel .answer-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#meetassist-answer-panel .answer-error .error-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#meetassist-answer-panel .answer-error .error-title {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

#meetassist-answer-panel .answer-error .error-subtitle {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

#meetassist-answer-panel .answer-error .error-action-btn {
  padding: 8px 14px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: opacity 0.15s;
}

#meetassist-answer-panel .answer-error .error-action-btn:hover {
  opacity: 0.85;
}

#meetassist-answer-panel .answer-error .error-action-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

#meetassist-answer-panel .answer-error .error-link {
  color: #93c5fd;
  text-decoration: underline;
}

/* Q&A Display */
.answer-panel-qa {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.qa-question {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.qa-icon {
  color: #3b82f6;
  font-size: 10px;
  margin-top: 4px;
}

.qa-label {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.qa-question-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.qa-answer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qa-answer-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qa-star {
  font-size: 16px;
  display: inline;
}

.qa-answer-label {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: inline;
}

/* Answer content — figma-aligned typography. Three layers:
   1. The first <p> is the LEDE (hook + framing). Larger, white-text.
      Bolded text inside it (the hook) renders accent purple #8B7DF7.
   2. Subsequent <p> elements are normal body prose (text-2 gray).
   3. Bullets are the structured answer points: white anchor (.li strong)
      followed by gray content, with a small gray dot.
   Emphasis markers (`_word_`) keep their amber stress-reading accent — that's
   a deliberate product feature distinct from figma's plain italic.
*/

.qa-answer-content {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  /* Inter (the desktop loads it; ParakeetAI's answers use it too), then the
     platform UI fonts. NOT system-ui: on Linux that resolves to Ubuntu /
     Cantarell, which at our weights read as bold (2026-09-27). */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* Light text on a dark panel renders heavier than it is; grayscale
     antialiasing (macOS) keeps strokes thin. */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Body text — soft white, never pure #fff (pure white on near-black halos
   and tires the eyes fast). */
.qa-answer-content p {
  margin: 0 0 8px 0;
  /* Regular weight: 500 in white on the dark panel read as bold — "the font
     is too thick" (2026-09-27, next to ParakeetAI's regular-weight answers).
     17px (2026-10-01: 15 read a little small; 2026-10-02: 16 still did). */
  font-size: calc(17px * var(--ma-answer-fz-scale, 1));
  /* 1.5 with small gaps (ParakeetAI sits at ~1.45): 1.6 + 12px gaps spread a
     short answer over the whole panel. */
  line-height: 1.5;
  font-weight: 400;
  color: #B4BAC4;
}

/* Stress-reading cue — `_word_` renders sky. Used for named entities,
   numbers, and key technologies. Same accent as the lede hook so the answer
   has one cohesive accent color (vs the previous amber + purple split, which
   fought each other on the dark surface). */
.qa-answer-content em {
  font-style: normal;
  text-decoration: none;
  font-weight: 600;
  color: #7DD3FC;
}

/* Bullets — figma's `.points` shape: small gray dot, body text, white anchor. */
.answer-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  /* Enough air to tell bullets apart at a glance, not so much that a short
     answer spreads over the whole panel. */
  gap: 8px;
}

.answer-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: calc(17px * var(--ma-answer-fz-scale, 1));
  line-height: 1.5;
  font-weight: 400;
  color: #B4BAC4;
  letter-spacing: 0;
}

.answer-bullets li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em; /* mid x-height at line-height 1.5 */
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6E7682;
}

/* Inline highlights — sky-blue. Used for proper nouns (technologies,
   products), numbers with units, and named decisions/concepts. The model is
   prompted to bold ONLY these three categories per HIGHLIGHTS rules in the
   worker prompt, so the candidate's eye lands on facts in <1s under
   interview pressure. */
.qa-answer-content strong {
  color: #7DD3FC;
  font-weight: 600;
}

/* Scan-handle anchors (intro bullets) render in muted amber — same color
   family as `.answer-placeholder` so the candidate reads two clusters:
   amber = candidate-action (orient yourself / fill this in), sky-blue =
   facts to say. The em-dash sits outside this span in body color as a
   clean separator between the label and the spoken content. */
.answer-anchor strong {
  color: #D9AE73;
  font-weight: 600;
}

/* Inline highlights inside bullets — bold, same color as body. Bullets
   carry no anchor label any more, so every <strong> is an in-content
   highlight and stays inline against the regular-weight body text. */
.answer-bullets li strong {
  font-weight: 600;
}

/* Placeholders the candidate fills in live — [Company], [N years], etc.
   A muted amber accent: clearly separates "template" text from "dynamic
   data" you must substitute, without an acid color that screams. */
.answer-placeholder {
  color: #D9AE73;
  font-weight: 500;
}

/* Italic inside bullets — plain italic, body color. */
.answer-bullets li em.point-em {
  font-style: italic;
  color: inherit;
}

/* Inline code styling */
.qa-answer-content .inline-code {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 13px;
}

/* Code blocks */
.qa-answer-content .answer-code {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 12px 0;
  overflow-x: auto;
}

.qa-answer-content .answer-code code {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 13px;
  color: #e2e8f0;
  white-space: pre;
}

/* Code blocks (standalone fallback) */
.answer-code {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 12px 0;
  overflow-x: auto;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 13px;
  line-height: 1.5;
}

/* !important beats the broad `#meetassist-answer-panel * { color:#fff }` rule
   (specificity 1,0,0) that otherwise flattens every syntax-highlight token to
   white — same escape hatch the inline `strong` highlight uses above. */
.answer-code code {
  color: #e2e8f0 !important;
}

/* Syntax highlighting tokens */
.answer-code .hl-keyword { color: #c678dd !important; }
.answer-code .hl-string { color: #98c379 !important; }
.answer-code .hl-number { color: #d19a66 !important; }
.answer-code .hl-comment { color: #5c6370 !important; font-style: italic; }
.answer-code .hl-func { color: #61afef !important; }
.answer-code .hl-tag { color: #e06c75 !important; }

/* A long code line scrolls inside its block on a thin, quiet bar — the same
   look as the answer's own scrollbar, not the browser's grey one (which macOS
   draws whenever "Show scroll bars: Always" is on). */
.qa-answer-content .answer-code::-webkit-scrollbar { height: 6px; }
.qa-answer-content .answer-code::-webkit-scrollbar-track { background: transparent; }
.qa-answer-content .answer-code::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); border-radius: 3px; }
.qa-answer-content .answer-code::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.28); }
.qa-answer-content .answer-code::-webkit-scrollbar-corner { background: transparent; }

/* An analysis with code, side by side (utils/answerLayout.js): the code on the
   left half, the approach and the rest on the right. A block with longer
   lines (Java, C++) widens its half up to 65% before it scrolls. The words stay
   in view while a long solution scrolls. */
.qa-answer-content .qa-split {
  display: grid;
  grid-template-columns: minmax(50%, max-content) minmax(35%, 1fr);
  align-items: start;
}
/* The code block's own background marks the edge: no divider line. */
.qa-answer-content .qa-split-code { min-width: 0; padding-right: 24px; }
.qa-answer-content .qa-split-code .answer-code { margin: 0 0 10px; }
.qa-answer-content .qa-split-text {
  position: sticky;
  top: 0;
  min-width: 0;
}
.qa-answer-content .qa-split-text > :first-child { margin-top: 0; }

/* Verified facts (utils/answerBacked.js): every name and number that is really
   in the candidate's CV or documents takes a tint of the sky blue the highlights
   always had (owner, 2026-11-15: the familiar colour, not a new green; a paler tint, #c9eaff,
   was tried the same day and dropped for the sky blue itself, #a4deff: one blue in the app);
   it is the only colour in an answer. A highlighted word keeps its weight and takes the colour;
   a word of the plain text is wrapped and takes the colour only, so the text
   does not move. The colour comes under a second after the answer and must not
   pull the eye: it drifts in softly (0.6s; 0.4s was too sharp, 1.6s too slow, and 0.8s the owner asked to make
   "a bit faster" once he saw it live), a transition on the highlight (its
   colour is !important, and only a transition gets past that), an animation on
   the wrapped word (it is new on the page). */
:is(#meetassist-answer-panel, .ma-su-live) .qa-answer-content strong { transition: color 0.6s ease-in-out; }
:is(#meetassist-answer-panel, .ma-su-live) .qa-answer-content strong.qa-backed { color: #a4deff !important; font-weight: 700 !important; }
:is(#meetassist-answer-panel, .ma-su-live) .qa-answer-content span.qa-backed { color: #a4deff; animation: qa-backed-in 0.6s ease-in-out both; }
@keyframes qa-backed-in { from { color: inherit; } }

/* Where they were found: one line under the answer, in the same blue, on the
   row of the rating buttons (to their left). The panel paints every descendant
   white, hence !important on its colour. It is a footnote and must not pull
   the eye from the answer (owner, 2026-11-15): a size down, and in front of it
   a dot in the very colour of the verified words, where the spinner stood. The
   line is a legend: this colour means "from your CV". (A check with dim text was
   nearly lost; a capsule around it read as a button and he did not like it.) */
.qa-answer-content .qa-verified {
  display: flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  max-width: 100%;
  min-height: 22px;
  margin-top: 6px;
  font: 400 11.5px/1.4 Inter, -apple-system, 'Segoe UI', sans-serif;
  /* The words are a quiet grey in every outcome; only the dot carries the colour (owner, 2026-11-16: "tochka budet
     goluboj kogda verified, no sam tekst budet serym ili belym"). So nothing but the dot changes when the result comes. */
  color: rgb(255 255 255 / 0.6) !important;
  pointer-events: none;
  animation: qa-verified-in 0.6s ease-in-out both;
}
/* The rating row comes up beside it instead of under it. */
.qa-answer-content .qa-verified.with-rating { margin-bottom: -28px; }
@keyframes qa-verified-in { from { opacity: 0; } }
.qa-answer-content .qa-verified:not(.qa-verifying)::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  margin-left: 1px;
  border-radius: 50%;
  background: #a4deff; /* the colour of .qa-backed above: keep the two the same */
}
/* Nothing of the answer was found in the papers: the same line with a white dot, "Unverified facts". White is
   the colour of everything unverified in the answer, so the legend still holds. */
.qa-answer-content .qa-verified.qa-unverified:not(.qa-verifying)::before { background: #fff; }
/* While the check runs (under a second): a small ring in the same blue and "Verifying facts", in the place the
   line will take, so nothing moves when the result comes. Its own fade name: when the words replace it the line's slow
   fade starts again and the swap is soft. */
.qa-answer-content .qa-verified.qa-verifying { animation: qa-verifying-in 0.3s ease both; }
.qa-answer-content .qa-verified.qa-verifying::before {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  box-sizing: border-box;
  border: 1.5px solid rgb(164 222 255 / 0.2);
  border-top-color: rgb(164 222 255 / 0.8);
  border-radius: 50%;
  animation: qa-verifying-spin 0.8s linear infinite;
}
@keyframes qa-verifying-in { from { opacity: 0; } }
@keyframes qa-verifying-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  :is(#meetassist-answer-panel, .ma-su-live) .qa-answer-content strong { transition: none; }
  :is(#meetassist-answer-panel, .ma-su-live) .qa-answer-content span.qa-backed { animation: none; }
  .qa-answer-content .qa-verified { animation: none; }
  .qa-answer-content .qa-verified.qa-verifying, .qa-answer-content .qa-verified.qa-verifying::before { animation: none; }
}
/* A narrower column: the words a size down, so a sentence still fits a few lines. */
.qa-answer-content .qa-split-text p,
.qa-answer-content .qa-split-text li { font-size: calc(15px * var(--ma-answer-fz-scale, 1)); }

/* A multiple-choice answer (utils/answerLayout.js): "Answer: B." as a card —
   the letter in the highlight blue, the option beside it — then a quiet meta
   line, then the reasons. */
:is(#meetassist-answer-panel, .ma-su-live) .qa-quiz {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(164, 222, 255, 0.08);
  border: 1px solid rgba(164, 222, 255, 0.26);
}
:is(#meetassist-answer-panel, .ma-su-live) .qa-quiz-letter {
  flex: none;
  display: grid;
  place-items: center;
  /* One letter: a circle. "B, D" or "True": the same shape stretched to a pill. */
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  box-sizing: border-box;
  border-radius: 17px;
  white-space: nowrap;
  background: #a4deff;
  color: #0b1620 !important;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}
:is(#meetassist-answer-panel, .ma-su-live) .qa-quiz-text {
  font-size: calc(19px * var(--ma-answer-fz-scale, 1));
  font-weight: 700;
  line-height: 1.3;
}
/* A bare "True" / "False": the card as wide as its badge. */
:is(#meetassist-answer-panel, .ma-su-live) .qa-quiz.is-bare { width: fit-content; padding: 8px; }
/* Several questions on one screen: each "Question N:" block set apart. */
:is(#meetassist-answer-panel, .ma-su-live) .qa-answer-content p.qa-quiz-q { margin: 18px 0 8px; }
:is(#meetassist-answer-panel, .ma-su-live) .qa-answer-content p.qa-quiz-q:first-child { margin-top: 0; }
/* "Work: …" above the card: the steps of a calculation, read as a note. */
:is(#meetassist-answer-panel, .ma-su-live) .qa-answer-content p.qa-quiz-work {
  margin: 0 0 8px 2px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6) !important;
}
:is(#meetassist-answer-panel, .ma-su-live) .qa-answer-content p.qa-quiz-meta {
  margin: 0 0 10px 2px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Screenshot preview for Analyze Screen — one thumbnail per analyzed screen */
.answer-screenshot-row {
  display: flex;
  gap: 8px;
}
/* Screenshot thumbnail — compact preview like Perplexity/ChatGPT */
.answer-screenshot-thumb {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 0 10px 0;
  flex-shrink: 0;
  animation: screenshotFadeIn 0.3s ease-out;
}
.answer-screenshot-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Shimmer scan animation on thumbnail */
.answer-screenshot-thumb .answer-shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 60%
  );
  background-size: 250% 100%;
  display: none;
}
.answer-screenshot-thumb.scanning .answer-shimmer {
  display: block;
  animation: shimmerSweep 1.5s ease-in-out infinite;
}
.answer-screenshot-thumb.scanning {
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.3);
}

@keyframes screenshotFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes shimmerSweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Loading state */
.answer-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Retry — on an error (the same black pill as Answer / Close, at the right
   edge like them) and, small and quiet, right after "Generating answer…" when
   it has waited too long (AnswerOverlay RETRY_AFTER_MS). */
.answer-slow-note {
  /* !important beats the broad `#meetassist-answer-panel * { color:#fff }` rule */
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 12px;
}

.answer-retry-btn {
  flex: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(0, 0, 0, var(--ma-bg-opacity, 0.88));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.answer-retry-btn:hover {
  background: rgba(0, 0, 0, 1);
  border-color: rgba(255, 255, 255, 0.24);
}

.answer-loading .answer-retry-btn {
  margin-left: 4px;
  height: 22px;
  padding: 0 10px;
  border-radius: 11px;
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}

.answer-loading .answer-retry-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
}

/* Under a partial answer that went silent: its note first, Retry after it. */
.answer-loading.answer-stalled .answer-retry-btn {
  margin-left: 8px;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(100, 150, 255, 0.8);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Spinner shown in the question row while the question is being extracted —
   neutral (no blue) so it stays unobtrusive. */
.qa-extract-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-top-color: rgba(255, 255, 255, 0.7);
  vertical-align: middle;
}

/* Error state */
.answer-error {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f87171;
  padding: 12px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 8px;
}

/* Footer */
/* Bottom footer — history pager on the left, Depth (+ smart bubbles) on
   the right. */

/* Thin divider between the mode group (Key/List/Text) and the depth group. */
.footer-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* A− / A+ font-size controls — same dim treatment as the pager. The scale
   is persisted to localStorage and applied via --ma-answer-fz-scale. */
.font-size-controls {
  display: flex;
  align-items: center;
  gap: 2px;
  opacity: 0.55;
}

.font-size-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  padding: 0 6px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.font-size-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.font-size-sign {
  margin-left: 1px;
  font-size: 13px;
  line-height: 1;
}

/* 👍/👎 answer rating — bottom-right of the answer content. Sticky: pinned to
   the card's bottom edge while long answers scroll, in natural position on
   short ones. Frosted-glass backdrop (blur, LOW alpha) so scrolled text blurs
   away underneath without a dark opaque band. */
/* 👍/👎 — ChatGPT-style message actions: appended under the completed answer
   text inside the scrollable content, so it visibly rates THAT message. No
   label, no divider, no reserved row. Quiet until hovered; the active thumb
   keeps its green/red tint from the rules below. */
.answer-rating {
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin-top: 6px;
}

/* The thumbs are quiet until the row is hovered. The dimming sits on them, not on the row (as it did until
   2026-11-25), because Think deeper shares the row and must be readable without a hover. */
.answer-rating .rating-btn {
  opacity: 0.45;
}

.answer-rating:hover .rating-btn {
  opacity: 1;
}

/* "Think deeper": the answer on screen once more, thought through (3 to 7 seconds; the answer stays until the new
   one starts). In front of the thumbs, a thin box with 5px corners and no fill, its words as quiet as the verified
   line on the other side of the row (60% white, not bold). The owner, 2026-11-26, on the first look (bold words at
   86% white, the foot bar's fill): "mozhet chut menee zametnoj sdelaem?", then of the two quieter ones drawn:
   "davaj eshe tishe variant". Under the cursor it gets a faint fill and bright words.
   The panel paints every descendant white, hence !important on its colours. */
.answer-rating .answer-deep-btn {
  box-sizing: border-box;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  margin-right: 8px;
  /* The words stand in the middle by their capital letters (owner, 2026-11-26, on his 1x screen: "text tam
     vertikalno ne ocentrovan?"; it was 5 px above, 7 below). See .answer-deep-label. */
  padding: 0 9px;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.11);
  border-radius: 5px;
  font: 500 11.5px/1 Inter, -apple-system, 'Segoe UI', sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.answer-rating .answer-deep-btn,
.answer-rating .answer-deep-btn * {
  color: rgb(255 255 255 / 0.6) !important;
}
.answer-rating .answer-deep-btn:hover:not(:disabled) {
  background: rgb(255 255 255 / 0.06);
  border-color: rgb(255 255 255 / 0.18);
}
.answer-rating .answer-deep-btn:hover:not(:disabled),
.answer-rating .answer-deep-btn:hover:not(:disabled) * {
  color: rgb(255 255 255 / 0.9) !important;
}
.answer-rating .answer-deep-btn:disabled {
  cursor: default;
}
/* Inter's line box is not centred on its capitals, so the label is trimmed to them and the baseline (text-box) and
   the box centres that; then 0.18px up, which puts the baseline exactly 15px under the box's top (11.5px Inter: the
   capitals are 8.36px), so it lands on the same whole pixel as the border wherever the row stands. Measured on the
   ink at 1x over ten positions: 6 px above and 6 below in all ten (before: in eight, and 1px off in two); at 3x
   within 0.17px. A browser without text-box keeps the line box, 1px off now and then, as before. */
.answer-rating .answer-deep-label {
  text-box: trim-both cap alphabetic;
  position: relative;
  top: -0.18px;
}
/* The wait under "Think deeper" in the thread: the ring of "Verifying facts", in the same blue, and one quiet word,
   as quiet as the verified line. The button itself has gone up with the answer it was under. */
#meetassist-answer-panel .answer-better-wait {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 22px;
  margin-top: 2px;
  font: 400 11.5px/1.4 Inter, -apple-system, 'Segoe UI', sans-serif;
  color: rgb(255 255 255 / 0.6) !important;
}
.answer-deep-ring {
  display: none;
  flex: none;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  border: 1.5px solid rgb(164 222 255 / 0.25);
  border-top-color: #a4deff;
  border-radius: 50%;
  animation: qa-verifying-spin 0.8s linear infinite;
}
.answer-better-wait .answer-deep-ring {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .answer-deep-ring { animation: none; }
}

.rating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 7px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.15s ease;
}

.rating-btn svg {
  width: 15px;
  height: 15px;
}

.rating-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.rating-btn.rating-btn-active {
  color: #fff;
}

#ma-rate-down.rating-btn-active {
  color: #ff8a80;
  background: rgba(255, 138, 128, 0.18);
}

#ma-rate-up.rating-btn-active {
  color: #7ee2a8;
  background: rgba(126, 226, 168, 0.18);
}

.footer-timestamp {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  margin-left: auto;
}

/* Refine row: label + bubble group, lives inline in the footer between
   the history nav and the timestamp. */
.answer-refine-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.answer-refine-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.answer-rephrase {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.rephrase-bubble {
  height: 28px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(165, 180, 252, 0.25);
  background: rgba(99, 102, 241, 0.10);
  color: rgba(199, 210, 254, 0.95);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
  animation: ma-rephrase-fade-in 180ms ease-out backwards;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  vertical-align: middle;
}

.rephrase-bubble-icon {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
}

.rephrase-bubble-label {
  display: inline-block;
}

.rephrase-bubble:nth-child(2) { animation-delay: 30ms; }
.rephrase-bubble:nth-child(3) { animation-delay: 60ms; }
.rephrase-bubble:nth-child(4) { animation-delay: 90ms; }
.rephrase-bubble:nth-child(5) { animation-delay: 120ms; }

@keyframes ma-rephrase-fade-in {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

.rephrase-bubble:hover:not(:disabled) {
  background: rgba(99, 102, 241, 0.20);
  border-color: rgba(165, 180, 252, 0.4);
}

.rephrase-bubble:disabled {
  opacity: 0.4;
  cursor: default;
}

.rephrase-bubble-smart {
  border-color: rgba(250, 204, 21, 0.35);
  background: rgba(250, 204, 21, 0.10);
  color: rgba(254, 240, 138, 0.95);
}

.rephrase-bubble-smart:hover:not(:disabled) {
  background: rgba(250, 204, 21, 0.20);
  border-color: rgba(250, 204, 21, 0.5);
}

/* Depth bubbles (Brief / Default / Deep) replace the old refine "Shorter /
   More detail" pair as of 2026-05-07. Click triggers a fresh generate-answer
   at the chosen depth, not a refine. The currently-selected depth gets the
   `rephrase-bubble-active` class — solid background, opaque text, and
   non-clickable (clicking the active depth would re-generate the same
   answer). */
.rephrase-bubble-depth {
  /* Neutral, low-contrast look so Depth doesn't compete for attention —
     matches the Key/List/Text buttons rather than the indigo pill. */
  border-radius: 5px;
  border-color: var(--ma-btn-border);
  background: var(--ma-btn-bg);
  color: rgba(255, 255, 255, 0.6);
}

.rephrase-bubble-depth:hover:not(:disabled) {
  background: var(--ma-btn-bg-hover);
  border-color: var(--ma-btn-border-hover);
  color: rgba(255, 255, 255, 0.9);
}

.rephrase-bubble-depth.rephrase-bubble-active {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.rephrase-bubble-active,
.rephrase-bubble.rephrase-bubble-active:disabled {
  background: rgba(99, 102, 241, 0.28);
  border-color: rgba(165, 180, 252, 0.65);
  color: #ffffff;
  cursor: default;
  opacity: 1;          /* override the .rephrase-bubble:disabled 0.4 */
  font-weight: 600;
}

.rephrase-bubble-active .rephrase-bubble-icon {
  opacity: 1;
}

/* History Navigation */
.history-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.history-nav-btn {
  background: var(--ma-btn-bg);
  border: 1px solid var(--ma-btn-border);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.history-nav-btn:hover:not(:disabled) {
  background: var(--ma-btn-bg-hover);
  border-color: var(--ma-btn-border-hover);
  color: var(--ma-btn-text);
}

.history-nav-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.history-nav-btn:disabled {
  cursor: default;
  opacity: 0.3;
}

.history-nav-btn svg {
  flex-shrink: 0;
}

.history-counter {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 500;
  min-width: 45px;
  text-align: center;
  user-select: none;
}

/* Keep old toggle styles for backward compatibility */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
  border-radius: 20px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background: white;
  transition: 0.3s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(16px);
}

/* Stop button — quiet red pill. Identifiable as the destructive action
   (red + white), but tonally calm enough to share a row with the neutral
   chips. Pill radius matches Answer/Analyze. */
#meetassist-close-btn.stop-mode,
#ma-close-btn.stop-mode {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 28px !important;
  padding: 0 14px !important;
  width: auto !important;
  background: rgba(220, 38, 38, 0.55) !important;
  border: 1px solid rgba(220, 38, 38, 0.35) !important;
  /* The corners of Upgrade and minimize next to it, not a pill. */
  border-radius: 6px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1px !important;
  box-shadow: none !important;
  transition: background 0.15s ease, border-color 0.15s ease !important;
}

#meetassist-close-btn.stop-mode:hover,
#ma-close-btn.stop-mode:hover {
  background: rgba(220, 38, 38, 0.75) !important;
  border-color: rgba(220, 38, 38, 0.55) !important;
}

#meetassist-close-btn.stop-mode:active,
#ma-close-btn.stop-mode:active {
  background: rgba(185, 28, 28, 0.85) !important;
  border-color: rgba(185, 28, 28, 0.65) !important;
}

/* ============================================
   TRANSCRIPT VIEW - Continuous Display
   ============================================ */

#meetassist-transcript-view {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border-radius: 8px;
  margin: 4px 8px 8px 8px;
}

#meetassist-transcript-view::-webkit-scrollbar {
  width: 6px;
}

#meetassist-transcript-view::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

#meetassist-transcript-view::-webkit-scrollbar-thumb {
  background: rgba(80, 120, 200, 0.5);
  border-radius: 3px;
}

.transcript-content {
  word-wrap: break-word;
}

.transcript-waiting {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.transcript-waiting .waiting-icon {
  opacity: 0.5;
  animation: pulse 2s infinite;
}

.speaker-indicator {
  display: none;
}

.speaker-indicator.you {
  color: #10b981;
}

.speaker-indicator.interviewer {
  color: #a78bfa;
}

.transcript-text {
  display: inline;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.transcript-text.final {
  color: rgba(255, 255, 255, 0.9);
}

.transcript-text.interim {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.06);
}

.interim-cursor {
  color: #667eea;
  animation: blink 1s infinite;
  font-weight: bold;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ============================================
   ANSWER OVERLAY - Sliding Panel
   ============================================ */

#meetassist-answer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 30, 45, 0.98);
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

#meetassist-answer-overlay.hidden {
  display: none;
}

#meetassist-answer-overlay.visible {
  transform: translateX(0);
  display: flex;
}

#meetassist-answer-overlay .overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

#meetassist-answer-overlay .back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

#meetassist-answer-overlay .back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

#meetassist-answer-overlay .status {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

#meetassist-answer-overlay .status.generating {
  color: #667eea;
}

#meetassist-answer-overlay .status.complete {
  color: #10b981;
}

#meetassist-answer-overlay .status.error {
  color: #ef4444;
}

#meetassist-answer-overlay .overlay-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

#meetassist-answer-overlay .question-section {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#meetassist-answer-overlay .question-section .label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

#meetassist-answer-overlay .question-text {
  font-size: 15px;
  color: white;
  line-height: 1.5;
  margin: 0;
}

#meetassist-answer-overlay .answer-section {
  flex: 1;
}

#meetassist-answer-overlay .answer-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

#meetassist-answer-overlay .answer-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

#meetassist-answer-overlay .answer-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

#meetassist-answer-overlay .loading-dots {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

#meetassist-answer-overlay .answer-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(30, 30, 35, 0.95);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#meetassist-answer-overlay .answer-error .error-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#meetassist-answer-overlay .answer-error .error-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

#meetassist-answer-overlay .answer-error .error-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

#meetassist-answer-overlay .answer-error .error-action-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: opacity 0.15s;
}

#meetassist-answer-overlay .answer-error .error-action-btn:hover {
  opacity: 0.9;
}

#meetassist-answer-overlay .answer-error .error-action-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

/* Answer content styling */
#meetassist-answer-overlay .ma-bullet-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

#meetassist-answer-overlay .ma-bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.6;
}

#meetassist-answer-overlay .ma-bullet-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}



#meetassist-answer-overlay .ma-header {
  font-size: 14px;
  font-weight: 600;
  color: #a5b4fc;
  margin: 16px 0 8px 0;
}

#meetassist-answer-overlay .ma-text {
  margin: 8px 0;
}

#meetassist-answer-overlay .ma-code-block {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 12px;
  overflow-x: auto;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0;
}

#meetassist-answer-overlay .ma-code-block code {
  color: #e0e7ff;
}

/* ============================================
   PANELS - Settings, Login, Loading
   ============================================ */

#meetassist-settings-panel,
#meetassist-login-panel,
#meetassist-loading-panel,
#meetassist-sound-test-panel,
#meetassist-qr-view {
  background: rgba(15, 20, 28, 0.95) !important;
  border-radius: 10px;

  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px;
  margin-top: 8px;
  overflow-y: auto;
}

#meetassist-settings-panel::-webkit-scrollbar,
#meetassist-login-panel::-webkit-scrollbar,
#meetassist-loading-panel::-webkit-scrollbar {
  width: 6px;
}

#meetassist-settings-panel::-webkit-scrollbar-track,
#meetassist-login-panel::-webkit-scrollbar-track,
#meetassist-loading-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

#meetassist-settings-panel::-webkit-scrollbar-thumb,
#meetassist-login-panel::-webkit-scrollbar-thumb,
#meetassist-loading-panel::-webkit-scrollbar-thumb {
  background: rgba(80, 120, 200, 0.5);
  border-radius: 3px;
}

/* Login Panel Premium Styles */
#meetassist-login-btn:hover {
  background: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

#meetassist-login-btn:active {
  transform: translateY(0);
}

#meetassist-email-input:focus {
  border-color: rgba(139, 92, 246, 0.5) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

#meetassist-email-submit:hover {
  background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4) !important;
}

#meetassist-email-submit:active {
  transform: translateY(0);
}

#meetassist-back-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

#meetassist-login-main-view a:hover,
#meetassist-check-email-view a:hover {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ============================================
   TRANSCRIPT AREA - Combined Status + Transcript
   ============================================ */

#meetassist-transcript-area {
  /* Live speech rewrites this subtree several times a second for the whole
     meeting, and TranscriptView measures itself right after each write
     (getBoundingClientRect in _settledEndX). Without containment that forced
     layout covers Google Meet's entire document; with it, it stops at this
     box. This is the extension's most frequent involuntary cost.

     `layout` only, deliberately — `paint` would clip the mic/language
     dropdowns, which are position:absolute at top:100% and hang below their
     trigger. Nothing else changes: the element is already position:relative
     with a z-index, so it was already both a containing block for those
     dropdowns and a stacking context.

     NB an earlier version of this put the rule on #meetassist-transcript-view,
     which nothing ever creates — the id built here is -area. */
  contain: layout;
  display: flex;
  flex-direction: column;
  background: rgba(15, 20, 28, 0.95);
  border-radius: 10px;
  /* No outline — soft drop shadow with a small blur gives depth instead.
     Same recipe as top-bar / answer-panel (no GPU compositing layer; the
     blur is a tiny paint-only kernel, not backdrop-filter). */
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
  margin-top: 8px;
  /* No background transition — opacity changes apply instantly (one repaint
     instead of 24 interpolated frames). */
  margin-bottom: 8px;
  position: relative;
  z-index: 10;
}

#meetassist-transcript-area.collapsed {
  margin-top: 0;
}

/* Top bar & transcript become lighter/semi-transparent during interview */
/* During interview these two were hardcoded to 0.5 opacity, which made the
   user-facing −/+ opacity controls silently no-op on the top bar and
   transcript. Route them through --ma-bg-opacity like everything else.
   The bar gets there through --ma-bar-pre (its background, #meetassist-top-bar). */
#meetassist-overlay.interview-active #meetassist-top-bar {
  --ma-bar-pre: 0;
}

#meetassist-overlay.interview-active #meetassist-transcript-area {
  background: rgb(15 20 28 / var(--ma-bg-opacity, 0.88));
}

/* Border radius only when collapsed AND in interview mode */
#meetassist-overlay.interview-active.transcript-collapsed #meetassist-top-bar {
  border-radius: 10px 10px 0px 0px;
}

#meetassist-overlay.interview-active #meetassist-transcript-area.collapsed {
  border-radius: 0px 0px 10px 10px;
}

#meetassist-transcript-area.collapsed .transcript-status-row {
  border-bottom: none;
  padding-top: 5px;
  padding-bottom: 5px;
}

.transcript-status-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 6px 50px 6px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 6px;
  /* Never shrink. The row is one nowrap flex line, so under any width
     pressure flex used to squeeze EVERY item, and the labels — which had no
     nowrap of their own — wrapped onto a second line. "Auto answers:" broke in
     two and the whole row grew taller, which is what read as broken UI on
     macOS: same 900px window, but SF Pro is wider than the Linux fallback, so
     the five items fit there and did not fit here. Only the status line gives
     now (see .transcript-status-line). */
  flex: 0 0 auto;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.status-dot.granted {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

.status-dot.denied {
  background: #ef4444;
}

.status-dot.pending {
  background: #fbbf24;
}

/* "We can hear, there is just nothing right now" — the silence watchdog.
   Deliberately NOT .denied: red plus the label "Off" is the app saying it
   cannot capture at all, which is a different problem with a different fix (a
   permission on macOS). Advisories used to borrow that state, so a quiet room
   was reported as a broken device — and on macOS it also raised a "Grant
   access" button for a permission that had already been given.
   Not .pending either: that means "not established yet", and this channel is
   established and working. Same amber, its own name. */
.status-dot.warn {
  background: #fbbf24;
}

.status-dot.connecting {
  background: #fbbf24;
  animation: pulse-dot 1.2s ease-in-out infinite;
}

.status-dot.speaking {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  animation: pulse-dot 0.8s ease-in-out infinite;
}

.status-dot.muted {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

/* Desktop-only "Grant access"/"Grant mic" pill, shown next to the System Audio
   or Mic indicator when the corresponding OS permission is denied. */
.ma-grant-btn {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
  background: #ef4444;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.45);
  transition: background 0.15s ease, transform 0.1s ease;
}

.ma-grant-btn:hover {
  background: #dc2626;
}

.ma-grant-btn:active {
  transform: scale(0.96);
}

.mic-mute-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
  margin: 0 4px;
}

.mic-mute-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.mic-mute-btn.muted {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.mic-mute-btn.muted:hover {
  background: rgba(239, 68, 68, 0.3);
}

.my-speech-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-left: auto;
  position: relative;
  user-select: none;
}

.my-speech-label {
  font-size: 11px;
  line-height: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
  top: 1px;
}

.my-speech-checkbox {
  display: none;
}

.my-speech-slider {
  width: 28px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

.my-speech-slider::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  top: 2px;
  left: 2px;
  transition: transform 0.2s, background 0.2s;
}

.my-speech-checkbox:checked + .my-speech-slider {
  background: rgba(255, 255, 255, 0.3);
}

.my-speech-checkbox:checked + .my-speech-slider::after {
  transform: translateX(14px);
  background: rgba(255, 255, 255, 0.85);
}

.my-speech-checkbox:checked ~ .my-speech-label,
.my-speech-toggle:has(.my-speech-checkbox:checked) .my-speech-label {
  color: rgba(255, 255, 255, 0.7);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.status-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 500;
}

.status-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 500;
}

.status-prefix {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.status-value {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 500;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-btn {
  padding: 2px 8px;
  background: rgba(102, 126, 234, 0.2);
  border: 1px solid rgba(102, 126, 234, 0.4);
  border-radius: 4px;
  color: #a5b4fc;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.status-btn:hover {
  background: rgba(102, 126, 234, 0.35);
  border-color: rgba(102, 126, 234, 0.6);
}

.transcript-text-row {
  display: none;
  align-items: center;
  /* Right padding reserves space for the absolutely-positioned trash button
     and Simple view next to it, so live transcripts don't get clipped or
     overlap them. */
  padding: 0 78px 0 0;
  gap: 12px;
  height: 36px;
  position: relative;
}

.transcript-text-row .transcript-line-content {
  flex: 1;
  min-width: 0;
  /* The text 16px from the left, as the trash icon is from the right. */
  padding: 3px 14px 3px 16px;
}
/* Centred on its capitals, whatever the font. A line box keeps the font's own
   room above the caps and under the baseline, and that differs per font
   (Arial, Segoe UI, SF, Noto), so no padding split centres every OS: a 2/4
   split left the text 1.5px high on Linux (2026-10-02). text-box trims the
   line to cap height and baseline (the strut set to the text's own size, so
   the trim is the text's); the padding keeps ascenders and descenders inside
   the clipping box. Without it (Chrome < 133) the even split above stays,
   within a pixel. */
@supports (text-box: trim-both cap alphabetic) {
  .transcript-text-row .transcript-line-content {
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 15px;
    line-height: 1.4;
    text-box: trim-both cap alphabetic;
  }
}

/* The text row's right end: the trash, then Simple view in the corner (owner,
   2026-11-09). Both in the bar's soft pill, absolutely positioned, the corner
   one 11px from the right edge, 6px between them. */
.transcript-text-row .transcript-clear-btn {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.82);
}
.transcript-text-row .transcript-clear-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.transcript-text-row .transcript-clear-btn {
  position: absolute;
  right: 43px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}
.transcript-text-row .transcript-simple-wrap {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
}
.transcript-text-row .transcript-simple-wrap .transcript-clear-btn {
  position: static;
  transform: none;
}
/* The one-time "You can switch to a simple view" sits under the button, its
   right end at the row's: the button is in the corner, a centred tip would
   run off the overlay. */
.transcript-simple-wrap .ma-hint {
  left: auto;
  right: -4px;
  transform: none;
}
.transcript-simple-wrap .ma-hint-arrow {
  left: auto;
  right: 12px;
  margin-left: 0;
}

/* Persistent muted-hint shown next to the mic dropdown when the mic is
   muted (hardware OR user toggle). Lives in the status row so it stays
   visible regardless of what's in the transcript text row. */
.mic-muted-hint {
  margin-left: 4px;
  font-size: 11px;
  color: rgba(239, 68, 68, 0.85);
  font-weight: 500;
}

/* Dedicated row for persistent error banners (mic failed, tab audio
   disconnected, etc.). Sits between the status row and the text row so it
   never collides with live transcript content. */
.transcript-error-row {
  align-items: center;
  gap: 8px;
  margin: 4px 8px;
  padding: 8px 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.4;
}

/* Footer links + coding-language menu items — hover moved from inline
   onmouseover (blocked by strict CSP on meet.google.com) to CSS :hover. */
.ma-footer-link {
  color: #6b7280;
  font-size: 11px;
  text-decoration: none;
  transition: color 0.2s;
}
.ma-footer-link:hover { color: #9ca3af; }
.ma-footer-link-logout:hover { color: #f87171; }

/* ── account footer ────────────────────────────────────────────────────────
   The last thing on the panel: the address that is signed in, and the way out.
   Sign-out used to sit inline between "Dashboard" and "Get Credits", one stray
   click from ending the session; it is now the final line, on its own. */
.ma-account {
  /* Absolutely placed on the panel's bottom edge rather than laid out in the
     column: as a flow child it added its own height, and the overlay sizes to
     its content, so the whole window grew. This way the panel is exactly as
     tall as it was before the block existed.

     Being inside the settings panel also means the config view — absolute,
     bottom: 0, z-index above this — covers it, so the account does not show
     through on that screen. */
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  padding-top: 10px;
  margin: 0 auto;
  max-width: 360px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* The config view covers this panel but has no background of its own, so a
   block pinned to the panel shows straight through it. (The language and
   answer-depth pickers are opaque, hence no flag from them.) */
#meetassist-settings-panel.ma-subview-open .ma-account {
  display: none;
}

.ma-account-email {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Quiet until looked for; red once hovered, because it is destructive. */
.ma-account-signout {
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  text-decoration: none;
  padding: 2px 10px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.ma-account-signout:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
}

.ma-lang-item { background: transparent; }
.ma-lang-item:hover { background: rgba(255, 255, 255, 0.06); }
.ma-lang-item.active { background: rgba(99, 102, 241, 0.18); }
.ma-lang-item.active:hover { background: rgba(99, 102, 241, 0.25); }

/* Advisory variant — a neutral notice (e.g. other-tab audio), NOT a red error.
   Layout: text column on the left, action buttons pinned right. */
.transcript-error-row.advisory {
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.transcript-error-row.advisory .transcript-status-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}
.transcript-error-row.advisory .transcript-status-msg {
  white-space: normal;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.transcript-error-row.advisory .transcript-status-sub {
  white-space: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.transcript-advisory-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ma-advisory-btn {
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ma-advisory-btn.primary {
  background: #7c3aed;
  color: #fff;
}
.ma-advisory-btn.primary:hover {
  background: #6d28d9;
}
.ma-advisory-btn.ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.18);
}
.ma-advisory-btn.ghost:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

/* Clear transcripts button */
.transcript-clear-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.35);
  transition: all 0.15s ease;
  margin-left: 4px;
}

.transcript-clear-btn:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

/* Collapse/Expand button */
.transcript-collapse-btn {
  position: absolute;
  right: 20px;
  width: 28px;
  height: 25px !important;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.15s ease;
}

.transcript-collapse-btn:hover {
  color: rgba(255, 255, 255, 0.95);
}

/* Mic permission button */
.mic-permission-btn {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 4px;
  color: rgba(167, 139, 250, 0.95);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.mic-permission-btn:hover {
  background: rgba(139, 92, 246, 0.35);
  border-color: rgba(139, 92, 246, 0.6);
}

.mic-permission-btn.blocked {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: rgba(248, 113, 113, 0.95);
}

.mic-permission-btn.blocked:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.6);
}

.mic-permission-tooltip {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 8px;
  padding: 10px 12px;
  background: #1e2530;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
  z-index: 99999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: tooltipFadeIn 0.2s ease-out;
}

@keyframes tooltipFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dropdown styles */
.status-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  /* Symmetric on purpose: the old 2px-top/0-bottom skew was invisible while
     the pill had no background, and reads as off-centre text now it does. */
  padding: 2px 8px;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-dropdown:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}

.dropdown-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 500;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Visible at rest on purpose: the arrow is the ONLY thing that says "this is
   a choice, not a label" (users did not realise the mic/output could be
   switched at all). Brighter on hover, never louder than the label. */
.dropdown-arrow {
  color: rgba(255, 255, 255, 0.72);
  transition: transform 0.2s, color 0.2s;
  flex-shrink: 0;
  height: 15px;
  width: 15px;
}

.status-dropdown:hover .dropdown-arrow {
  color: rgba(255, 255, 255, 0.95);
}

.status-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.status-dropdown.open {
  z-index: 9999999;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: 300px;
  background: rgb(20 25 35 / 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 999999;
  max-height: 300px;
  overflow-y: auto;
}

.status-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-item {
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-item:hover {
  background: rgba(102, 126, 234, 0.2);
}

.dropdown-item.selected {
  background: rgba(102, 126, 234, 0.3);
  color: #a5b4fc;
}

.dropdown-item.disabled {
  color: rgba(255, 255, 255, 0.4);
  cursor: default;
}

.dropdown-item.disabled:hover {
  background: none;
}

.dropdown-item .tab-icon {
  margin-right: 8px;
  font-size: 14px;
}

.dropdown-item-label {
  display: block;
  font-weight: 500;
}

.dropdown-item-desc {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* ============================================
   Advanced Settings View
   ============================================ */

.advanced-settings-view {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 0;
}

.advanced-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px;
}

.advanced-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.advanced-back-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.15s;
}

.advanced-back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.advanced-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 600;
}

.advanced-settings-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.advanced-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.advanced-field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.advanced-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
}

.label-optional {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.advanced-hint {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: 4px;
}

/* CV Upload Area */
.cv-upload-area {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.2s;
  gap: 8px;
}

.cv-upload-area:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cv-upload-area.dragover {
  background: rgba(100, 150, 255, 0.15);
  border: 1px dashed rgba(100, 150, 255, 0.5);
}

.cv-upload-prompt {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9ca3af;
  font-size: 14px;
}

.cv-profile-selected {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cv-profile-name {
  color: #4ade80;
  font-size: 14px;
  font-weight: 500;
}

.cv-edit-btn {
  padding: 4px 10px;
  background: rgba(100, 150, 255, 0.15);
  border: none;
  border-radius: 6px;
  color: rgba(130, 170, 255, 0.9);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.cv-edit-btn:hover {
  background: rgba(100, 150, 255, 0.25);
}

.cv-progress {
  width: 100%;
}

.cv-progress-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.cv-spinner {
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#cv-progress-text {
  color: rgba(100, 150, 255, 0.9);
  font-size: 12px;
  flex: 1;
}

#cv-progress-percent {
  color: rgba(100, 150, 255, 0.9);
  font-size: 12px;
}

.cv-progress-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.cv-progress-bar {
  width: 0%;
  height: 100%;
  background: rgba(100, 150, 255, 0.7);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Model Select Button */
.model-select-btn {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  transition: background 0.15s;
}

.model-select-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

#model-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.model-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.model-provider {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

/* Mode Toggle */
.mode-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
}

.mode-btn {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  color: #d1d5db;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.mode-btn.active {
  background: rgba(100, 130, 230, 0.5);
  color: #fff;
  font-weight: 600;
}

.mode-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.15);
}

/* Start Interview Button */
.start-interview-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  margin-top: 12px;
}

.start-interview-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Model Picker */
.model-picker {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 20, 28, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  z-index: 10;
}

.model-picker .picker-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
}

.model-picker .picker-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.model-picker .picker-back-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  color: #fff;
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  transition: background 0.2s;
}

.model-picker .picker-back-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.model-picker .picker-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.model-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 400px;
  overflow-y: auto;
}

.model-option {
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  border-radius: 8px;
  transition: background 0.15s;
  color: #fff;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}

.model-option:hover {
  background: rgba(100, 150, 255, 0.1);
}

.model-option.selected {
  background: rgba(100, 150, 255, 0.15);
  color: rgba(100, 150, 255, 0.9);
}

.model-option .model-logo {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-option .model-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.model-option .model-name {
  font-weight: 500;
}

.model-option .model-provider-name {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.model-option .model-badge {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.model-option .model-badge-paid {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.model-option.model-paid .model-name,
.model-option.model-paid .model-provider-name,
.model-option.model-paid .model-logo {
  opacity: 0.7;
}

.model-option.model-paid:hover .model-badge-paid {
  background: rgba(245, 158, 11, 0.25);
}

.model-option .check-icon {
  color: rgba(100, 150, 255, 0.9);
}

/* ===== COOLDOWN TIMER ===== */
#meetassist-cooldown-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 0 0 8px 8px;
  transition: width 1s linear;
  width: 0%;
}

#meetassist-cooldown-hint {
  text-align: center;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

#meetassist-cooldown-hint a {
  color: #818cf8;
  text-decoration: none;
}

#meetassist-cooldown-hint a:hover {
  text-decoration: underline;
}

/* ── Personalization panel hover effects ── */

#meetassist-config-back:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

#meetassist-cv-upload-btn:hover,
#meetassist-cv-edit-profile:hover {
  background: rgba(100, 150, 255, 0.2) !important;
  color: rgba(140, 180, 255, 1) !important;
}

#meetassist-cv-add-manually:hover,
#meetassist-cv-reupload:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

#meetassist-cv-remove:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
}

#meetassist-ci-add-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

#meetassist-ci-edit:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

#meetassist-ci-clear:hover {
  color: rgba(255, 255, 255, 0.5) !important;
}

#meetassist-model-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

#meetassist-mode-auto:hover,
#meetassist-mode-manual:hover {
  filter: brightness(1.15);
}

#meetassist-configure-btn,
#meetassist-config-start {
  transition: none !important;
}


/* ===== Sound Test Panel ===== */

#meetassist-sound-test-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 40px;
  min-height: 350px;
}

.ma-sound-test-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 420px;
}

.ma-sound-test-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ma-sound-test-icon {
  color: #6b8aff;
  display: flex;
}

.ma-sound-test-title {
  font-size: 18px;
  font-weight: 600;
  color: #e2e8f0;
}

.ma-sound-test-description {
  color: #9ca3af;
  font-size: 13px;
  text-align: center;
  line-height: 1.5;
  min-height: 40px;
}

.ma-sound-test-equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 50px;
  padding: 8px 0;
}

.ma-eq-bar {
  width: 6px;
  height: 3px;
  min-height: 3px;
  background: #374151;
  border-radius: 3px;
  transition: height 0.08s ease-out, background 0.2s ease;
}

.ma-eq-active .ma-eq-bar { background: #4b5563; }
.ma-eq-bar-active { background: #6b8aff !important; }

.ma-sound-test-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #d1d5db;
}

.ma-sound-test-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ma-status-pending { background: #6b7280; }
.ma-status-testing { background: #f59e0b; animation: ma-pulse-dot 1.2s ease-in-out infinite; }
.ma-status-passed { background: #22c55e; }
.ma-status-failed { background: #ef4444; }

@keyframes ma-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ma-sound-test-selector { width: 100%; }

.ma-sound-test-label {
  display: block;
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.ma-sound-test-options { display: flex; gap: 8px; }

.ma-sound-test-option {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  color: #9ca3af;
  font-family: inherit;
  text-align: left;
}

.ma-sound-test-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.ma-sound-test-option.ma-option-active {
  border-color: #6b8aff;
  background: rgba(107, 138, 255, 0.08);
  color: #e2e8f0;
}

.ma-option-icon { display: flex; flex-shrink: 0; color: inherit; }
.ma-option-text { display: flex; flex-direction: column; gap: 1px; }
.ma-option-name { font-size: 13px; font-weight: 500; }
.ma-option-desc { font-size: 11px; color: #6b7280; }

.ma-sound-test-actions { display: flex; gap: 10px; width: 100%; margin-top: 4px; }

.ma-sound-test-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, opacity 0.15s ease;
  font-family: inherit;
}

.ma-btn-continue { flex: 1; background: #6b8aff; color: white; }
.ma-btn-continue:hover { background: #5a7bf0; }

.ma-btn-skip {
  background: transparent;
  color: #6b7280;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ma-btn-skip:hover { color: #9ca3af; background: rgba(255, 255, 255, 0.03); }

.ma-sound-test-actions { align-items: center; }

.ma-btn-continue:disabled {
  background: #374151;
  color: #9ca3af;
  cursor: default;
}

.ma-btn-continue.ma-btn-fallback { background: #f59e0b; }
.ma-btn-continue.ma-btn-fallback:hover { background: #d97706; }

.ma-sound-test-retry {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 13px;
  padding: 6px 10px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ma-sound-test-retry:hover { color: #e2e8f0; }


/* Success variant of the status row (e.g. "Permission granted — restart…").
   Same layout as .advisory, green accents instead of neutral. */
.transcript-error-row.success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.35);
}
.transcript-error-row.success .transcript-status-msg {
  color: #4ade80;
}

/* ── permissions onboarding ────────────────────────────────────────────────
   The one light surface in a dark product, and deliberately so: this screen is
   the app quoting the operating system's rules back at the user, so it is set
   like a printed instruction card rather than a dialog. Warm paper, a serif
   heading, step numbers in the left margin, hairlines instead of boxes.

   Prefix is ma-onb-, NOT ma-perm- — desktop.css already owns .ma-perm-head /
   .ma-perm-title / .ma-perm-ok for the older in-meeting permission card, it
   loads after this file, and it silently repainted this panel. The comment at
   the top of that block records the previous author hitting the same wall. */
/* Nothing is sold over the onboarding. The panel covers the app but not the
   toolbar above it, and a credits chip reading "-- Upgrade" there asks a brand
   new user for money before their first interview has been able to run.
   Keyed off the panel's own inline display (permissionsPanel.js flips it
   between none and flex) so the chip stays the one node the running toolbar
   uses — TopMenu is not taught about onboarding, and nothing has to be
   remembered on the way out. Pinned by tests/onboarding-toolbar.test.mjs. */
#meetassist-overlay:has(#meetassist-permissions-panel[style*="display: flex"]) .top-bar-credits {
  display: none !important;
}

.ma-onb {
  --paper: #faf7f2;
  --ink: #17141d;
  --ink-60: rgba(23, 20, 29, 0.62);
  --ink-40: rgba(23, 20, 29, 0.4);
  --rule: rgba(23, 20, 29, 0.1);
  --violet: #7c3aed;
  --violet-tint: rgba(124, 58, 237, 0.06);
  --done: #2f6b4f;

  display: none;
  flex-direction: column;
  /* Sits like every other panel in this overlay: 8px below the top bar, its
     own rounded card rather than a sheet welded to the chrome. Without the gap
     the light surface butts straight into the dark bar and reads as a broken
     window instead of a panel. */
  flex: 1;
  /* Same width as the top bar above it: no side inset. */
  margin: 8px 0;
  padding: 26px 30px 20px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  /* Flush with the window edge: no shadow to the sides (on a light desktop
     it reads as a grey smudge down both edges) — a hairline edge, and a
     shadow only under the bottom. */
  box-shadow: 0 0 0 1px rgba(23, 20, 29, 0.06), 0 8px 12px -8px rgba(0, 0, 0, 0.18);
  /* The overlay's own stack, not a face of this screen's own — one product,
     one voice. A serif heading was tried here and read as a different app. */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.ma-onb-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ma-onb-sub {
  margin: 7px 0 22px;
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-60);
}

.ma-onb-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

/* Rules, not cards. A list of steps in a document has lines between the rows;
   a stack of rounded boxes is a settings screen, which is the thing this is
   trying not to feel like. */
.ma-onb-row {
  display: grid;
  grid-template-columns: 26px 34px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 12px;
  margin: 0 -12px;
  border-bottom: 1px solid var(--rule);
  border-radius: 6px;
  transition: background 200ms ease-out;
}

/* The active step is a tinted band bleeding into the margins — a highlighted
   line, not a selected card. Only one row is ever lit, so the eye finds the
   single thing to do without reading. */
.ma-onb-row.is-current {
  background: var(--violet-tint);
}

.ma-onb-num {
  font-size: 10px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--ink-40);
}

.ma-onb-row.is-current .ma-onb-num { color: var(--violet); }

.ma-onb-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 9px;
  color: var(--ink-40);
}

.ma-onb-row.is-current .ma-onb-icon {
  border-color: rgba(124, 58, 237, 0.45);
  color: var(--violet);
}

.ma-onb-row.is-done .ma-onb-icon { color: var(--done); }

.ma-onb-text { min-width: 0; }

.ma-onb-name {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.ma-onb-detail {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-60);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ma-onb-done {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--done);
}

.ma-onb-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease-out, border-color 160ms ease-out;
}

.ma-onb-btn.is-active {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 1px 2px rgba(124, 58, 237, 0.35);
}

.ma-onb-btn.is-active:hover { background: #6d28d9; }

/* A step whose turn has not come is inert on purpose — outlined and unfilled,
   so nobody starts at the bottom and decides the app is broken. */
.ma-onb-btn.is-waiting {
  background: transparent;
  border-color: var(--rule);
  color: var(--ink-40);
  cursor: default;
}

.ma-onb-chev { font-size: 14px; line-height: 1; }

/* The toggle to flip, shown under the screen row once it has been pressed
   (permissionsPanel.js). Spans the row's grid so it hangs under the text
   column, aligned with the title, rather than under the number. A child of
   the row, not a sibling, so the entrance delays above keep their nth-child. */
.ma-onb-guide {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  padding-left: 88px;
}

.ma-onb-guide img {
  display: block;
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.ma-onb-guide span {
  font-size: 12px;
  color: var(--ink-60);
}

/* Plays on the paint that first shows it; later repaints omit the class. */
.ma-onb-guide.is-entering {
  animation: ma-onb-rise 320ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@media (prefers-reduced-motion: reduce) {
  .ma-onb-guide.is-entering { animation: none; }
}

/* Set like a footnote: small, letterspaced, centred under the list. */
.ma-onb-hint {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-60);
}

/* The macOS-below-13 notice: system audio cannot exist there, so the screen
   row is omitted and this line says why (see permissionsPanel.js). */
.ma-onb-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-60);
}

.ma-onb-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

/* Ink, not violet. Violet marks "the thing to do now"; when everything is done
   there is nothing to point at, and the way out is simply the way out. */
.ma-onb-continue {
  padding: 11px 34px;
  border: none;
  border-radius: 999px;
  background: rgba(23, 20, 29, 0.1);
  color: var(--ink-40);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: not-allowed;
  transition: background 160ms ease-out, color 160ms ease-out;
}

.ma-onb-continue.is-ready {
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}

.ma-onb-continue.is-ready:hover { background: #2a2434; }

/* Always present. A permission screen with no way past it is a trap, and the
   product still works microphone-only. */
.ma-onb-skip {
  border: none;
  background: none;
  padding: 2px 6px;
  font-family: inherit;
  font-size: 11.5px;
  color: var(--ink-40);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ma-onb-skip:hover { color: var(--ink-60); }

/* One orchestrated entrance rather than motion scattered through the screen:
   heading, then the steps in order, which is also the order to read them in. */
@keyframes ma-onb-rise {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Scoped to .is-entering, which the panel wears only for the first moments of
   a visit. Left unscoped, every repaint of the list replayed the entrance and
   the screen blinked once a second. */
.ma-onb.is-entering .ma-onb-title,
.ma-onb.is-entering .ma-onb-sub,
.ma-onb.is-entering .ma-onb-row,
.ma-onb.is-entering .ma-onb-hint,
.ma-onb.is-entering .ma-onb-foot {
  animation: ma-onb-rise 320ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.ma-onb.is-entering .ma-onb-sub { animation-delay: 40ms; }
.ma-onb.is-entering .ma-onb-row:nth-child(1) { animation-delay: 90ms; }
.ma-onb.is-entering .ma-onb-row:nth-child(2) { animation-delay: 140ms; }
.ma-onb.is-entering .ma-onb-row:nth-child(3) { animation-delay: 190ms; }
.ma-onb.is-entering .ma-onb-hint { animation-delay: 230ms; }
.ma-onb.is-entering .ma-onb-foot { animation-delay: 260ms; }

@media (prefers-reduced-motion: reduce) {
  .ma-onb.is-entering .ma-onb-title, .ma-onb.is-entering .ma-onb-sub,
  .ma-onb.is-entering .ma-onb-row, .ma-onb.is-entering .ma-onb-hint,
  .ma-onb.is-entering .ma-onb-foot { animation: none; }
}

/* ── session setup (desktop) ─────────────────────────────────────────────────
   The pre-session screen: a rail on the left (steps, shortcuts, account) and a
   two-step form on the right (1 Context, 2 Preferences), in the permissions
   screen's paper-and-ink language so onboarding and setup read as one product.
   Built by packages/desktop/src/renderer/views/sessionSetup.js. Everything is
   scoped under .ma-su — this file is shared with the extension. */
.ma-su {
  --paper: #faf7f2;
  --page: #fffefc;
  --ink: #17141d;
  --ink-60: rgba(23, 20, 29, 0.62);
  --ink-40: rgba(23, 20, 29, 0.4);
  --rule: rgba(23, 20, 29, 0.1);
  --edge: rgba(23, 20, 29, 0.12);
  --violet: #7c3aed;
  --violet-tint: rgba(124, 58, 237, 0.06);
  --violet-edge: rgba(124, 58, 237, 0.45);
  --done: #2f6b4f;
  --danger: #b42318;

  display: none;
  flex: 1;
  min-height: 0;
  /* Same width as the top bar above it: no side inset. */
  margin: 8px 0;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  /* Flush with the window edge: no shadow to the sides (on a light desktop
     it reads as a grey smudge down both edges) — a hairline edge, and a
     shadow only under the bottom. */
  box-shadow: 0 0 0 1px rgba(23, 20, 29, 0.06), 0 8px 12px -8px rgba(0, 0, 0, 0.18);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  text-align: left;
}
.ma-su *, .ma-su *::before, .ma-su *::after { box-sizing: border-box; }
.ma-su button { font-family: inherit; }
.ma-su svg { flex: none; }

/* In a web page (extension; see the reset at the top of this file). What the
   screen inherits is pinned to the desktop's values — a page's body sets its
   own line-height, letter-spacing, direction… The extension's overlay has no
   height of its own (it grows up to its max-height), so the screen gets the
   desktop's, and shrinks with the overlay on a short window; the rail and the
   panes scroll inside. */
.ma-su.ma-su-page {
  flex: 0 1 auto;
  /* the desktop's own: its overlay 720 less its toolbar 48 and the screen's margins 8 + 8. It was 650 (the toolbar
     was taller then): with the Connect MCP row the Context step fit the desktop and scrolled here (owner,
     2026-11-26: "v desktop versii net polosq. Pochemu v chrome ona est?"). */
  height: 656px;
  min-height: 420px;
  direction: ltr;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  font-variant: normal;
  font-feature-settings: normal;
  line-height: normal;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0;
  text-shadow: none;
  text-decoration: none;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  visibility: visible;
  cursor: auto;
  color-scheme: light;
  -webkit-font-smoothing: auto;
}
/* The sign-in panel in a web page (src/login-panel-ext.js), the same way: the
   reset covers what is inside, this pins what the panel hands down. A page's
   body made the wordmark, tagline and terms uppercase and wide-spaced. Its
   card is dark. */
#meetassist-login-panel.ma-su-page {
  direction: ltr;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  font-variant: normal;
  font-feature-settings: normal;
  line-height: normal;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0;
  text-shadow: none;
  text-decoration: none;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  visibility: visible;
  cursor: auto;
  color-scheme: dark;
  -webkit-font-smoothing: auto;
}

/* ── rail ── */
.ma-su-rail { width: 290px; flex: none; display: flex; flex-direction: column; padding: 26px 24px 20px 30px; border-right: 1px solid var(--rule); overflow-y: auto; }
.ma-su-title { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.ma-su-sub { margin: 7px 0 26px; font-size: 13px; line-height: 1.5; color: var(--ink-60); }

.ma-su-steps { display: flex; flex-direction: column; }
.ma-su-step { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; border: none; background: none; padding: 0; text-align: left; cursor: pointer; }
.ma-su-step-mark { display: flex; flex-direction: column; align-items: center; }
.ma-su-step-mark::after { content: ''; width: 1px; height: 30px; margin: 5px 0; background: var(--rule); }
.ma-su-step:last-child .ma-su-step-mark::after { display: none; }
.ma-su-tick {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--rule); font-size: 12px; font-weight: 700; color: var(--ink-40);
  transition: background 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out;
}
.ma-su-step-name { height: 26px; display: flex; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--ink-40); transition: color 180ms ease-out; }
.ma-su-step.is-current .ma-su-tick { background: var(--violet-tint); border-color: var(--violet-edge); color: var(--violet); }
.ma-su-step.is-current .ma-su-step-name,
.ma-su-step.is-done .ma-su-step-name { color: var(--ink); }
.ma-su-step.is-done .ma-su-tick { border-color: rgba(124, 58, 237, 0.3); color: var(--violet); }

.ma-su-rail-foot { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
/* Keyboard shortcuts / See how it works: two equal pills, 40px tall, 8px
   apart and ~20px above the account divider. Same weight — the demo is how a
   new user learns the app. */
.ma-su-rail-pills { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
/* White cards like the rows of "Your context" (owner, 2026-10-12: visible on
   the cream rail, no violet): a neutral icon tile, dark text, left-aligned;
   the border darkens on hover. */
.ma-su-pill-btn {
  display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; height: 44px; padding: 0 12px;
  border: 1px solid var(--edge); border-radius: 12px; background: #fff;
  font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}
.ma-su-pill-btn:hover { border-color: rgba(23, 20, 29, 0.24); box-shadow: 0 1px 2px rgba(23, 20, 29, 0.06); }
.ma-su-pill-ico { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(23, 20, 29, 0.12); border-radius: 7px; background: #faf8f5; color: var(--ink-60); }


/* Reddit card: shown only while MeetGrowth has a task (sessionSetup.js). */
.ma-su-earn { display: none; width: 100%; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid rgba(255, 69, 0, 0.35); border-radius: 10px; background: rgba(255, 69, 0, 0.06); color: var(--ink); text-align: left; cursor: pointer; }
.ma-su-earn:hover { background: rgba(255, 69, 0, 0.1); }
.ma-su-earn-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ma-su-earn-title { font-size: 12px; font-weight: 600; line-height: 1.2; }
.ma-su-earn-sub { font-size: 10.5px; color: var(--ink-60); line-height: 1.3; }
.ma-su-earn-amount { flex: none; padding: 4px 7px; border-radius: 7px; background: #FF4500; color: #fff; font-size: 11px; font-weight: 800; line-height: 1.1; text-align: center; }

.ma-su-account { position: relative; display: flex; align-items: center; gap: 9px; margin: 8px 0 8px; padding-top: 14px; border-top: 1px solid var(--rule); }
/* Neutral (owner, 2026-11-10): nothing at the foot of the rail catches the eye. */
.ma-su-avatar { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(23, 20, 29, 0.06); color: var(--ink-60); font-size: 12px; font-weight: 600; }
.ma-su-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ma-su-email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--ink); }
.ma-su-version { overflow: hidden; white-space: nowrap; font-size: 11px; color: var(--ink-40); }
.ma-su-upd { margin: 0 0 4px; }
.ma-su-upd[hidden] { display: none; }
.ma-su-upd-row { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 11.5px; color: var(--ink-60); }
.ma-su-upd-bar { height: 4px; border-radius: 2px; background: rgba(23, 20, 29, 0.08); overflow: hidden; }
.ma-su-upd-bar > span { display: block; height: 100%; width: 0; background: var(--violet); transition: width 200ms ease; }
/* Hidden until an update has downloaded; renderer.js sets display then. */
.ma-su-update { display: none; width: 100%; justify-content: center; align-items: center; margin: 0 0 4px; padding: 9px 12px; border: none; border-radius: 999px; background: var(--violet); color: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ma-su-update:hover { background: #6d28d9; }
/* "Automatic updates", under the account (owner, 2026-11-10): the switch on
   sight, what it does on the i. */
.ma-su-autoupd[hidden] { display: none; }
.ma-su-autoupd { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.ma-su-autoupd-text { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-40); }
/* Quiet (owner, 2026-11-10: the violet switch was the loudest thing on the
   rail for a setting rarely touched): smaller, and grey when on. */
.ma-su-autoupd .ma-su-toggle { width: 28px; height: 16px; }
.ma-su-autoupd .ma-su-toggle::after { top: 2px; left: 2px; width: 12px; height: 12px; }
.ma-su-autoupd .ma-su-toggle.is-on { background: #52525b; }
.ma-su-autoupd .ma-su-toggle.is-on::after { transform: translateX(12px); }
.ma-su-autoupd .ma-su-tip { left: 0; max-width: 250px; }
.ma-su-autoupd:has(.ma-su-info:hover, .ma-su-info:focus-visible) .ma-su-tip { opacity: 1; visibility: visible; }
.ma-su-more { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: none; border-radius: 6px; background: none; color: var(--ink-60); cursor: pointer; }
.ma-su-more:hover, .ma-su-more[aria-expanded="true"] { background: rgba(23, 20, 29, 0.06); color: var(--ink); }
.ma-su-menu { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 5; min-width: 160px; padding: 5px; border: 1px solid var(--edge); border-radius: 10px; background: #fff; box-shadow: 0 10px 30px rgba(23, 20, 29, 0.14); }
.ma-su-menu[hidden] { display: none; }
.ma-su-menu-item { display: block; width: 100%; padding: 8px 10px; border: none; border-radius: 6px; background: none; font-size: 12.5px; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; }
.ma-su-menu-item:hover { background: var(--violet-tint); }
.ma-su-menu-item[data-act="logout"] { margin-top: 4px; border-top: 1px solid var(--rule); border-radius: 0 0 6px 6px; color: var(--danger); }
.ma-su-link { border: none; background: none; padding: 0; font: inherit; color: var(--ink-60); text-decoration: none; cursor: pointer; }
.ma-su-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* ── main ── */
.ma-su-main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 26px 30px 20px; background: var(--page); }
/* The cards' shadows live inside the scroller: room on every side, the end
   included, so the last card ends as softly as the first begins. The edges
   fade instead of cutting a card in half, and the bar is a thin thumb that
   shows while the pointer is over the list (owner, 2026-10-22: "more
   elegant; at the end the bottom shadow is still cut"). */
.ma-su-panes {
  flex: 1; min-height: 0; overflow-y: auto; margin: -10px -12px -12px; padding: 10px 12px 28px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10px, #000 calc(100% - 20px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 10px, #000 calc(100% - 20px), transparent 100%);
}
.ma-su-pane { display: none; flex-direction: column; }
.ma-su-panes::-webkit-scrollbar { width: 10px; }
.ma-su-panes::-webkit-scrollbar-track { background: transparent; }
.ma-su-panes::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 5px; background: transparent; background-clip: padding-box; }
.ma-su-panes:hover::-webkit-scrollbar-thumb { background-color: rgba(23, 20, 29, 0.14); }
.ma-su-panes::-webkit-scrollbar-thumb:hover { background-color: rgba(23, 20, 29, 0.26); }
.ma-su-sheet-body::-webkit-scrollbar { width: 6px; }
.ma-su-sheet-body::-webkit-scrollbar-track { background: transparent; }
.ma-su-sheet-body::-webkit-scrollbar-thumb { background: rgba(23, 20, 29, 0.16); border-radius: 3px; }
.ma-su-pane.is-shown { display: flex; animation: ma-onb-rise 320ms cubic-bezier(0.22, 1, 0.36, 1) backwards; }

.ma-su-head { margin: 0 0 7px 14px; font-size: 11.5px; font-weight: 600; color: var(--ink-60); }
.ma-su-head:not(:first-child) { margin-top: 18px; }
.ma-su-head-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 18px; }
.ma-su-head-row .ma-su-head { margin-top: 0; }
.ma-su-head-right { display: flex; align-items: center; gap: 10px; margin-bottom: 3px; }
/* Save state of the job description, on its label line. */
.ma-su-jd-status { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 400; color: var(--ink-40); }
.ma-su-jd-status:empty { display: none; }
.ma-su-jd-status.is-saved { color: rgba(47, 107, 79, 0.7); }
.ma-su-jd-status.is-saved::before { content: '✓'; font-weight: 600; color: rgba(47, 107, 79, 0.8); }
.ma-su-jd-prev { flex: none; display: inline-flex; align-items: center; gap: 6px; margin-right: 2px; padding: 4px 10px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; cursor: pointer; }
.ma-su-jd-prev:hover { border-color: var(--violet-edge); }
.ma-su-jd-prev svg { color: var(--violet); }
.ma-su-sheet.is-prev { width: 460px; height: 460px; }
.ma-su-sheet.is-prev .ma-su-search { flex: none; margin-bottom: 12px; }
.ma-su-sheet.is-prev .ma-su-sheet-body { margin: 0 -8px; padding: 0 8px; }
.ma-su-prev-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ma-su-prev-meta { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-60); }
.ma-su-prev-meta svg { flex: none; color: var(--ink-40); }
/* Session type not built yet: visible, not selectable. */
.ma-su-seg button.is-soon { color: var(--ink-40); cursor: default; }
.ma-su-seg button.is-soon svg { opacity: 0.6; }
.ma-su-soon { margin-left: 2px; padding: 2px 6px; border-radius: 4px; background: rgba(23, 20, 29, 0.06); color: var(--ink-40); font-size: 9px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
/* Coding, the new session type: the Soon tag's shape, in violet. */
.ma-su-new { margin-left: 2px; padding: 2px 6px; border-radius: 4px; background: var(--violet, #7c3aed); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.ma-su-head em { font-style: normal; font-weight: 400; color: rgba(23, 20, 29, 0.32); margin-left: 4px; }
/* Coding's phone: recommended, and seen to be (a violet tag). */
.ma-su-head em.ma-su-rec { display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(124, 58, 237, 0.1); color: var(--violet, #7c3aed); font-size: 11px; font-weight: 600; vertical-align: 1px; }

/* Apple segmented control: grey track, white raised thumb that slides. */
.ma-su-seg { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); padding: 3px; border-radius: 10px; background: rgba(23, 20, 29, 0.06); }
.ma-su-seg button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 7px 10px; border: none; border-radius: 8px; background: none; font-size: 12.5px; font-weight: 600; color: var(--ink-60); cursor: pointer; transition: color 200ms ease-out; }
.ma-su-seg button.is-on { color: var(--ink); }

/* Coding: one screen. The interview's context and the steps step aside; the
   context's box lays nothing out itself, so the interview looks as before. */
.ma-su-ctx { display: contents; }
.ma-su-ctx.is-off { display: none; }
.ma-su-cd { display: flex; flex-direction: column; }
.ma-su-cd[hidden] { display: none; }
/* Coding has one step (named Preferences, renderStep): the second and the
   line down to it step aside. */
/* Coding's rail (it is one screen): no steps, no interview demo; under the
   intro, "How it works", which opens a small sheet. */
.ma-su.is-coding .ma-su-steps,
.ma-su.is-coding [data-act="test"] { display: none; }
.ma-su.is-coding .ma-su-sub { margin-bottom: 14px; }
/* The rail's own pill (as Keyboard shortcuts below), in violet: it is what
   Coding is, one press away. */
.ma-su-pill-btn.ma-su-how-btn { display: none; border-color: transparent; background: rgba(124, 58, 237, 0.08); box-shadow: none; color: var(--violet, #7c3aed); }
.ma-su-pill-btn.ma-su-how-btn:hover { background: rgba(124, 58, 237, 0.13); box-shadow: none; }
.ma-su-how-btn .ma-su-pill-ico { border-color: transparent; background: #fff; color: var(--violet, #7c3aed); }
.ma-su-how-btn .ma-su-chev { margin-left: auto; color: currentColor; }
.ma-su.is-coding .ma-su-pill-btn.ma-su-how-btn { display: flex; }
.ma-su-how-shot { display: block; width: 100%; height: auto; margin: 0 0 22px; border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 1px 2px rgba(23, 20, 29, 0.06), 0 6px 18px rgba(23, 20, 29, 0.08); }
.ma-su-how-list { display: flex; flex-direction: column; gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; }
.ma-su-how-list li { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; font-size: 14px; line-height: 1.45; color: var(--ink-60); }
.ma-su-how-list li b { font-weight: 600; color: var(--ink); }
.ma-su-how-list .ma-su-ph-n { margin-top: -1px; }
/* Under the phone: the shortcuts sheet, one press away (no phone). */
.ma-su-how-sheet .ma-su-ph-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.ma-su-pill-btn.ma-su-how-keys-btn { width: 220px; }
/* A short window: the text scrolls, the sheet keeps its size. */
.ma-su-how-sheet .ma-su-ph { min-height: 0; }
.ma-su-how-sheet .ma-su-ph-main { overflow-y: auto; }
/* Bigger than a picker: the remote on the left, what it does on the right. */
.ma-su-sheet.is-phone.ma-su-how-sheet.is-wide { width: 860px; }
.ma-su-sheet.is-phone.ma-su-how-sheet.is-wide .ma-su-ph-main { justify-content: flex-start; padding: 36px 40px 32px 36px; }
.ma-su-how-sheet .ma-su-ph-side { width: 320px; padding: 36px 0; }
.ma-su-ph-device.ma-su-how-device { width: 196px; }
.ma-su-how-sheet .ma-su-sheet-title { font-size: 22px; }
/* Coding, not picked yet: its icon in violet, beside the New tag. */
.ma-su-seg button[data-v="coding"]:not(.is-on) svg { color: var(--violet, #7c3aed); }
.ma-su-cd-lead { margin: 10px 0 0 14px; font-size: 12.5px; line-height: 1.45; color: var(--ink-60); }
/* the card stands right under the lead: no heading between them */
.ma-su-cd-lead + .ma-su-group { margin-top: 12px; }
.ma-su-cph-btn { flex: none; padding: 7px 14px; font-size: 12.5px; }
.ma-su-cph-qr { display: flex; align-items: center; gap: 18px; padding: 12px 16px; }
/* The code alone, no frame of its own (the card is the frame). */
.ma-su-cph-code { flex: none; display: grid; place-items: center; width: 124px; height: 124px; }
.ma-su-cph-code img { display: block; width: 100%; height: 100%; }
.ma-su-cph-scan { margin-top: 6px; }
.ma-su-cph-wait { display: inline-flex; align-items: center; gap: 7px; margin: 10px 0 0; font-size: 12px; color: var(--ink-40); }
.ma-su-cph-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; }
.ma-su-cph-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ma-su-cph-text .ma-su-detail { white-space: normal; }
.ma-su-cph-ok { color: var(--done); }
.ma-su-thumb { position: absolute; top: 0; left: 0; z-index: 0; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(23, 20, 29, 0.12), 0 0 0 0.5px rgba(23, 20, 29, 0.06); transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), width 260ms cubic-bezier(0.22, 1, 0.36, 1); }

/* Grouped rows */
.ma-su-group { position: relative; background: #fff; border: 1px solid var(--edge); border-radius: 12px; }
.ma-su-row {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 8px 14px;
  border: none; background: none; font-size: inherit; color: var(--ink); text-align: left; cursor: pointer;
}
.ma-su-row.is-static { cursor: default; }
.ma-su-row + .ma-su-row::before, .ma-su-adv-in .ma-su-row::before { content: ''; position: absolute; top: 0; left: 54px; right: 0; height: 1px; background: var(--rule); }
button.ma-su-row:active { background: rgba(23, 20, 29, 0.03); }
/* A row that states a fact here (Coding's Screen with one screen): no arrow. */
button.ma-su-row.is-fixed { cursor: default; color: inherit; opacity: 1; }
button.ma-su-row.is-fixed:active { background: none; }
button.ma-su-row.is-fixed .ma-su-chev { visibility: hidden; }
.ma-su-tile { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(23, 20, 29, 0.14); border-radius: 8px; background: #faf8f5; color: var(--ink-60); }
.ma-su-tile svg { width: 14px; height: 14px; }
.ma-su-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
/* 14px at 600 since 2026-11-16 (owner, on the settings list: "eti chernye nadpisi v menu sdelaem pokrupnee").
   It was 13.5px. Tried and left the same evening: 15px at 600 ("agressivnye") and 15px at 500 ("vernu zhirnost. 14"). */
.ma-su-name { font-size: 14px; font-weight: 600; }
.ma-su-detail { font-size: 11.5px; color: var(--ink-60); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ma-su-val { max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--ink-60); }
.ma-su-chev { color: rgba(23, 20, 29, 0.4); }
.ma-su-logo { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 20px; vertical-align: middle; }
.ma-su-logo svg { width: 18px; height: 18px; }
.ma-su-val .ma-su-logo { margin-right: 6px; transform: translateY(-1px); }
/* A flag and a model's logo in a row's value: in full colour and at the size the pickers draw them (owner,
   2026-11-18: "pochemu iknoki takie blednqe tut? flag i modeli?"). The value's grey is a see-through ink, and
   Chrome lays a text colour's see-through over a colour emoji too (the flag came out at 62%): the flag has a
   solid colour of its own. The logo was drawn in its own green already, only small. */
.ma-su-val .ma-su-flag { font-size: 17px; margin-right: 6px; vertical-align: -2px; color: var(--ink); }
.ma-su-val .ma-su-logo { width: 22px; height: 22px; }
.ma-su-val .ma-su-logo svg { width: 20px; height: 20px; }
.ma-su-opt .ma-su-logo { width: 24px; height: 24px; }
.ma-su-opt .ma-su-logo svg { width: 20px; height: 20px; }
.ma-su-adv-row .ma-su-chev { transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1); }
.ma-su-adv-row[aria-expanded="true"] .ma-su-chev { transform: rotate(180deg); }
.ma-su-adv-group { margin-top: 18px; }
.ma-su-adv { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms cubic-bezier(0.22, 1, 0.36, 1); }
.ma-su-adv.is-open { grid-template-rows: 1fr; }
.ma-su-adv-in { overflow: hidden; min-height: 0; }

.ma-su-toggle { position: relative; flex: none; width: 36px; height: 21px; border: none; border-radius: 999px; background: rgba(23, 20, 29, 0.14); cursor: pointer; transition: background 160ms ease-out; }
.ma-su-toggle::after { content: ''; position: absolute; top: 2.5px; left: 2.5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1); }
.ma-su-toggle.is-on { background: var(--violet); }
.ma-su-toggle.is-on::after { transform: translateX(15px); }

/* Job description: text or a file, one field with two ways in. */
.ma-su-jd { position: relative; }
.ma-su-jd:focus-within { border-color: rgba(124, 58, 237, 0.55); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1); }
.ma-su-jd-text {
  display: block; width: 100%; height: 208px; overflow-y: auto; padding: 11px 13px 10px; border-radius: 12px 12px 0 0; outline: none;
  white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.55; color: var(--ink); cursor: text;
}
/* The posting's first line is its title. */
.ma-su-jd-text.has-title::first-line { font-weight: 650; font-size: 13.5px; }
.ma-su-jd-text:empty::before { content: attr(data-placeholder); color: var(--ink-40); pointer-events: none; }
.ma-su-jd-text::-webkit-scrollbar { width: 6px; }
.ma-su-jd-text::-webkit-scrollbar-track { background: transparent; }
.ma-su-jd-text::-webkit-scrollbar-thumb { background: rgba(23, 20, 29, 0.14); border-radius: 3px; }
.ma-su-jd-text::-webkit-scrollbar-button { display: none; height: 0; }
.ma-su-jd-bar { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 10px 0 12px; }
.ma-su-jd-file { display: inline-flex; align-items: center; gap: 6px; flex: 0 1 auto; margin-right: auto; min-width: 0; padding: 5px 6px 5px 10px; border-radius: 999px; background: var(--violet-tint); color: var(--violet); font-size: 12px; font-weight: 600; }
.ma-su-jd-file[hidden] { display: none; }
.ma-su-jd-file .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ma-su-jd-file .x { width: 18px; height: 18px; border: none; border-radius: 50%; background: none; color: inherit; font-size: 10px; cursor: pointer; }
.ma-su-jd-hint { margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--ink-40); }
.ma-su-jd-hint[hidden] { display: none; }
.ma-su-jd-hint[hidden] + .ma-su-jd-link { margin-left: auto; }
.ma-su-jd-file .ico { display: inline-flex; }
.ma-su-jd-link { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
.ma-su-jd-link:hover { border-color: var(--violet-edge); }
.ma-su-jd-link svg { color: var(--ink-60); }
.ma-su-jd-suggest { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-size: 12px; font-weight: 500; color: var(--ink); }
.ma-su-jd-suggest[hidden] { display: none; }
.ma-su-jd-suggest svg { color: var(--violet); }
.ma-su-jd-link[hidden], .ma-su-jd-up[hidden], .ma-su-jd-save[hidden], .ma-su-jd-discard[hidden] { display: none; }
/* Unsaved text: Discard + Save take the place of the import buttons. */
.ma-su-jd-discard { margin-left: auto; flex: none; padding: 5px 14px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
.ma-su-jd-discard:hover { border-color: rgba(23, 20, 29, 0.25); }
.ma-su-jd-save { flex: none; padding: 6px 18px; border: none; border-radius: 999px; background: var(--violet); box-shadow: 0 1px 2px rgba(124, 58, 237, 0.35); font-size: 12px; font-weight: 600; color: #fff; cursor: pointer; }
.ma-su-jd-save:hover { background: #6d28d9; }
.ma-su-jd-suggest-btn { padding: 3px 10px; border: none; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 11.5px; font-weight: 600; cursor: pointer; }
.ma-su-jd-up { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: none; border-radius: 999px; background: var(--violet); box-shadow: 0 1px 2px rgba(124, 58, 237, 0.35); font-size: 12px; font-weight: 600; color: #fff; cursor: pointer; transition: background 160ms ease-out; }
.ma-su-jd-up:hover { background: #6d28d9; }
.ma-su-jd-drop { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; border: 1.5px dashed var(--violet); border-radius: 12px; background: rgba(245, 240, 255, 0.94); font-size: 13px; font-weight: 600; color: var(--violet); pointer-events: none; }
.ma-su-jd.is-over .ma-su-jd-drop { display: flex; }
/* A picker sheet takes a dropped file too (CV, Answer Bank). */
.ma-su-sheet .ma-su-jd-drop { inset: 8px; z-index: 5; }
.ma-su-pick-foot [hidden] { display: none; }
.ma-su-sheet.is-over .ma-su-jd-drop { display: flex; }
.ma-su-jd-busy { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; gap: 9px; border-radius: 12px; background: rgba(255, 255, 255, 0.9); font-size: 13px; font-weight: 600; color: var(--violet); }
.ma-su-jd.is-busy .ma-su-jd-busy { display: flex; }
.ma-su-field-error { margin: 6px 0 0 14px; font-size: 12px; color: var(--danger); }
.ma-su-field-error:empty { display: none; }

/* ── footer ── */
.ma-su-error { display: none; margin-top: 12px; padding: 9px 12px; border: 1px solid rgba(180, 35, 24, 0.25); border-radius: 10px; background: rgba(180, 35, 24, 0.06); }
.ma-su-error.is-shown { display: block; }
.ma-su-error-title { font-size: 12px; font-weight: 600; color: var(--danger); }
.ma-su-error-msg { margin-top: 2px; font-size: 11.5px; line-height: 1.4; color: var(--ink-60); }
.ma-su-foot { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 16px; }
.ma-su-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 22px; border: 1px solid transparent; border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background 160ms ease-out, border-color 160ms ease-out; }
.ma-su-btn[hidden] { display: none; }
.ma-su-btn:disabled { opacity: 0.55; cursor: default; }
.ma-su-btn-ink { background: var(--ink); color: var(--paper); }
.ma-su-btn-ink:hover:not(:disabled) { background: #2a2434; }
.ma-su-btn-violet { background: var(--violet); color: #fff; box-shadow: 0 1px 2px rgba(124, 58, 237, 0.35); }
.ma-su-btn-violet:hover:not(:disabled) { background: #6d28d9; }
.ma-su-btn-line { background: #fff; border-color: var(--rule); color: var(--ink); }
.ma-su-btn-line:hover:not(:disabled) { border-color: var(--violet-edge); }
.ma-su-btn-line svg { color: var(--ink-60); }
.ma-su-back { margin-right: auto; padding: 11px 18px; }

/* ── sheets (pickers and editors over the card) ── */
.ma-su-scrim { display: none; position: absolute; inset: 0; z-index: 10; align-items: center; justify-content: center; padding: 16px; background: rgba(23, 20, 29, 0.28); backdrop-filter: blur(3px); }
.ma-su-scrim.is-open { display: flex; }
/* A sheet opened FROM a sheet (Answer instructions from Answer preferences):
   stacked on top, the one underneath stays in place, dimmed. */
.ma-su-subscrim { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(23, 20, 29, 0.22); }
.ma-su-sheet { position: relative; display: flex; flex-direction: column; width: 420px; max-width: 100%; max-height: 100%; padding: 22px 24px 18px; border-radius: 12px; background: var(--paper); box-shadow: 0 20px 60px rgba(23, 20, 29, 0.25); animation: ma-onb-rise 320ms cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.ma-su-sheet.is-wide { width: 520px; }
.ma-su-sheet-title { margin: 0; padding-right: 44px; font-size: 18px; line-height: 22px; font-weight: 700; letter-spacing: -0.02em; }
.ma-su-sheet-sub { margin: 6px 0 16px; font-size: 12.5px; line-height: 1.5; color: var(--ink-60); }
.ma-su-sheet-body { flex: 1; min-height: 0; overflow-y: auto; }
.ma-su-sheet-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.ma-su-sheet-foot .ma-su-status { margin-right: auto; }
/* Centred on the title's first line (22px padding + half of an 18px/22px line). */
/* A window's close button: a round button with its edge in sight, 32 px, and 44 px to tap (owner, 2026-11-19: "bigger,
   easier, with visible borders, hard to hit now"). */
.ma-su-x { position: absolute; top: 14px; right: 16px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--rule); border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); color: var(--ink); cursor: pointer; }
.ma-su-x::before { content: ''; position: absolute; inset: -6px; }
.ma-su-x svg { width: 16px; height: 16px; }
.ma-su-x:hover { background: rgba(23, 20, 29, 0.06); color: var(--ink); }
.ma-su-status { font-size: 12px; color: var(--ink-60); }
.ma-su-status.is-error { color: var(--danger); }

.ma-su-search { width: 100%; margin-bottom: 10px; padding: 9px 12px; border: 1px solid var(--rule); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; color: var(--ink); outline: none; }
.ma-su-search:focus { border-color: rgba(124, 58, 237, 0.55); }
.ma-su-list { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; }
.ma-su-opt { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; border: none; background: none; font-size: 13.5px; color: var(--ink); text-align: left; cursor: pointer; }
.ma-su-opt + .ma-su-opt::before { content: ''; position: absolute; top: 0; left: 14px; right: 0; height: 1px; background: var(--rule); }
.ma-su-opt:hover { background: rgba(23, 20, 29, 0.03); }
.ma-su-opt.is-locked { cursor: pointer; color: var(--ink-60); }
.ma-su-opt-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ma-su-opt-sub { font-size: 11.5px; color: var(--ink-60); }
.ma-su-opt-check { color: var(--violet); font-weight: 700; visibility: hidden; }
.ma-su-opt.is-on .ma-su-opt-check { visibility: visible; }
.ma-su-badge { flex: none; padding: 2px 7px; border-radius: 4px; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.ma-su-badge-rec { background: rgba(47, 107, 79, 0.1); color: var(--done); }
.ma-su-badge-up { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.ma-su-badge-beta { background: rgba(245, 158, 11, 0.14); color: #b45309; }
/* Programming language sheet: fixed size, only the list scrolls; rows a
   little tighter so "All languages" peeks in under Popular. */
.ma-su-sheet.is-lang { width: 440px; height: 500px; }
.ma-su-sheet.is-lang .ma-su-opt { padding: 8px 14px; }
.ma-su-sheet.is-lang .ma-su-search { flex: none; margin-bottom: 12px; }
.ma-su-sheet.is-lang .ma-su-sheet-body { margin: 0 -8px; padding: 0 8px; }
.ma-su-group-head { margin: 16px 0 6px 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-40); }
.ma-su-group-head[hidden], .ma-su-list[hidden], .ma-su-opt[hidden], .ma-su-empty[hidden] { display: none; }
.ma-su-badge-quiet { background: rgba(23, 20, 29, 0.05); color: var(--ink-40); font-size: 9px; padding: 2px 6px; }
.ma-su-empty { padding: 18px 14px; font-size: 12.5px; color: var(--ink-40); text-align: center; }

.ma-su-textarea { display: block; width: 100%; min-height: 150px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; background: #fff; font: inherit; font-size: 13px; line-height: 1.5; color: var(--ink); outline: none; resize: vertical; }
.ma-su-textarea:focus { border-color: rgba(124, 58, 237, 0.55); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1); }

.ma-su-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }

/* Choose CV / Answer Bank: pickers, not managers. */
.ma-su-sheet.is-pick { width: 460px; height: 440px; }   /* 460: the foot (Add, "or drop files", the count, Done) fits in any platform font */
/* View opens over a 440px-high picker: a bit lower, so the list's edges show. */
.ma-su-sheet.is-view { height: 380px; }
.ma-su-sheet.is-pick .ma-su-search { flex: none; margin-bottom: 12px; }
.ma-su-sheet.is-pick .ma-su-sheet-body { margin: 0 -8px; padding: 0 8px; }
.ma-su-sheet.is-pick > .ma-su-status { margin: 8px 0 0 2px; }
.ma-su-sheet.is-pick > .ma-su-status:empty { display: none; }
/* Rows let their ⋯ popover spill over the list's edge. */
.ma-su-pick-list { overflow: visible; }
.ma-su-pick { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 14px; cursor: pointer; }
.ma-su-pick + .ma-su-pick::before { content: ''; position: absolute; top: 0; left: 14px; right: 0; height: 1px; background: var(--rule); }
.ma-su-pick:hover { background: rgba(23, 20, 29, 0.03); }
.ma-su-pick[hidden] { display: none; }
.ma-su-pick.is-on .ma-su-opt-check { visibility: visible; }
.ma-su-pick .ma-su-opt-check { flex: none; }
.ma-su-pick-check input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--violet); cursor: pointer; }
.ma-su-pick-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ma-su-pick-name { font-size: 13.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ma-su-pick-meta { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-60); }
.ma-su-pick-meta svg { flex: none; color: var(--ink-40); }
.ma-su-pick-foot { margin-top: 12px; justify-content: flex-start; }
/* The hint between Add and the count takes the slack and is what gives way
   (ellipsis) when there is none: Add stays at the left edge, Done at the
   right, whatever the count says. */
.ma-su-pick-foot .ma-su-pick-aside { display: flex; flex: 1 1 auto; min-width: 0; }
.ma-su-pick-foot .ma-su-pick-aside[data-empty="true"] { justify-content: flex-end; }   /* "Read instructions" at the right, as before */
.ma-su-pick-add { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
.ma-su-pick-add:hover { border-color: var(--violet-edge); }
.ma-su-pick-add svg { color: var(--violet); }
.ma-su-pick-count { font-size: 12px; color: var(--ink-60); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ma-su-pick-foot .ma-su-pick-add { margin-right: 0; white-space: nowrap; }
.ma-su-pick-foot .ma-su-pick-add:has(+ [hidden]) { margin-right: auto; }
.ma-su-pick.is-pending { position: relative; overflow: hidden; cursor: default; }
.ma-su-pick.is-pending .ma-su-pick-meta { color: var(--violet); }
.ma-su-pick.is-pending .ma-su-pick-meta svg { width: 12px; height: 12px; }
.ma-su-pick-lead { flex: none; display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; }
.ma-su .ma-su-pick-lead .ma-spinner { width: 14px; height: 14px; }
.ma-su-pick-hint { margin: 0 auto 0 10px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--ink-40); }
/* Empty picker: the list IS the drop zone (click browses too). */
.ma-su-pick-list:has(.ma-su-dropzone) { border: 0; background: none; box-shadow: none; }
.ma-su-dropzone { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 16px; border: 1.5px dashed var(--rule); border-radius: 12px; background: #fff; text-align: center; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.ma-su-dropzone:hover { border-color: var(--violet-edge); background: rgba(245, 240, 255, 0.5); }
.ma-su-dropzone svg { width: 20px; height: 20px; color: var(--violet); }
.ma-su-dropzone-title { font-size: 13px; font-weight: 600; color: var(--ink); }
.ma-su-dropzone-title u { color: var(--violet); text-decoration: none; }
.ma-su-dropzone-sub { font-size: 12px; color: var(--ink-40); }
/* Answer Bank → Read instructions: a quiet text button next to Add, and a
   sheet with a sample, three rules and the example file. */
.ma-su-guide-link { padding: 6px 12px; border: 1px solid transparent; border-radius: 999px; background: rgba(23, 20, 29, 0.06); font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; cursor: pointer; transition: background 0.15s; }
.ma-su-guide-link:hover { background: rgba(23, 20, 29, 0.1); }
/* Next to Add: "Read instructions" in an empty bank, "or drop files" once it
   has documents — one slot, so Add never moves. */
.ma-su-pick-aside { display: flex; align-items: center; margin-right: auto; }
.ma-su-pick-aside[data-empty="true"] { margin: 0 0 0 auto; }
.ma-su-sheet-foot > .ma-su-guide-link:first-child { margin-right: auto; }
.ma-su-sheet.is-guide .ma-su-sheet-sub { margin-bottom: 18px; }
.ma-su-bank-sample { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.ma-su-bank-sample p { display: flex; flex-direction: column; gap: 3px; margin: 0; font-size: 13px; line-height: 1.45; }
.ma-su-bank-sample b { font-weight: 600; color: var(--ink); }
.ma-su-bank-sample span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink-60); }
.ma-su-bank-rules { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 4px; padding: 0; list-style: none; counter-reset: ma-rule; }
.ma-su-bank-rules li { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink); counter-increment: ma-rule; }
.ma-su-bank-rules li::before { content: counter(ma-rule); flex: none; width: 18px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-40); text-align: right; }
.ma-su-more-row { flex: none; width: 26px; height: 26px; padding: 0; border: none; border-radius: 6px; background: none; color: rgba(23, 20, 29, 0.32); font-size: 15px; line-height: 1; cursor: pointer; opacity: 0; }
.ma-su-pick:hover .ma-su-more-row, .ma-su-more-row.is-open { opacity: 1; }
.ma-su-more-row:hover, .ma-su-more-row.is-open { background: rgba(23, 20, 29, 0.05); color: var(--ink-60); }
.ma-su-rowmenu { position: absolute; right: 12px; top: calc(100% - 11px); z-index: 3; min-width: 120px; padding: 4px; border: 1px solid var(--edge); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(23, 20, 29, 0.14); cursor: default; }
.ma-su-rowmenu[hidden] { display: none; }
.ma-su-rowmenu.is-up { top: auto; bottom: calc(100% - 11px); }
.ma-su-rowmenu [data-del] { display: block; width: 100%; padding: 7px 10px; border: none; border-radius: 6px; background: none; font-size: 12.5px; color: var(--danger); text-align: left; cursor: pointer; }
.ma-su-rowmenu [data-del]:hover { background: rgba(180, 35, 24, 0.06); }
.ma-su-rowmenu [data-view] { display: block; width: 100%; padding: 7px 10px; border: none; border-radius: 6px; background: none; font-size: 12.5px; color: var(--ink); text-align: left; cursor: pointer; }
.ma-su-rowmenu [data-view]:hover { background: rgba(23, 20, 29, 0.05); }
/* Answers & Documents: each document's type is muted text with a chevron on
   its row (no coloured badges); its menu says what each type does. */
/* ── shadcn/ui look (the design system Basecoat ports to plain HTML/CSS),
   2026-10-12. Scoped to the sheets that wear it (.is-sd): Answers & Documents
   and its Add / guide sheets first, the rest of the screen next. Bundled
   here, no CDN. Tokens are shadcn's zinc theme. ── */
/* The setup screen's own colours (2026-10-12, owner: "use the settings
   colours"): the cream paper, white cards, ink text, violet for icons, the
   checkbox and what is in use. */
.ma-su-sheet.is-sd { --sd-fg: var(--ink); --sd-fg2: var(--ink); --sd-muted: var(--ink-60); --sd-hint: var(--ink-40); --sd-border: var(--edge); --sd-border2: rgba(23, 20, 29, 0.16); --sd-subtle: #faf8f5; --sd-hover: rgba(124, 58, 237, 0.03); --sd-primary: var(--ink); --sd-primary-fg: #ffffff;
  padding: 26px 26px 22px; border: 1px solid rgba(23, 20, 29, 0.06); border-radius: 16px; background: var(--paper); color: var(--sd-fg);
  box-shadow: 0 1px 2px rgba(23, 20, 29, 0.05), 0 24px 64px -16px rgba(23, 20, 29, 0.32); }
.ma-su-sheet.is-sd .ma-su-sheet-title { padding-right: 44px; font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--sd-fg); }
.ma-su-sheet.is-sd .ma-su-sheet-sub { margin: 6px 0 20px; font-size: 14px; line-height: 20px; color: var(--sd-muted); }
.ma-su-sheet.is-sd .ma-su-sheet-title { font-size: 19px; line-height: 24px; letter-spacing: -0.015em; }
.ma-su-sheet.is-sd > .ma-su-x { top: 16px; right: 16px; color: var(--sd-fg); }
.ma-su-sheet.is-sd > .ma-su-x:hover { background: var(--sd-subtle); color: var(--sd-fg); }
.ma-su-sheet.is-sd .ma-su-sheet-foot { margin-top: 20px; gap: 8px; }
.ma-su-sheet.is-sd .ma-su-btn { height: 36px; padding: 0 18px; gap: 6px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.ma-su-sheet.is-sd .ma-su-btn-ink { background: var(--sd-primary); color: var(--sd-primary-fg); }
.ma-su-sheet.is-sd .ma-su-btn-ink:hover:not(:disabled) { background: #27272a; }
.ma-su-sheet.is-sd .ma-su-btn-line, .ma-su-sheet.is-sd .ma-su-pick-add { height: 36px; padding: 0 16px; gap: 6px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; box-shadow: none; font-size: 13.5px; font-weight: 600; color: var(--sd-fg); }
.ma-su-sheet.is-sd .ma-su-btn-line:hover:not(:disabled), .ma-su-sheet.is-sd .ma-su-pick-add:hover { border-color: var(--violet-edge); background: #fff; }
.ma-su-sheet.is-sd .ma-su-btn-line svg, .ma-su-sheet.is-sd .ma-su-pick-add svg { color: var(--violet); }
.ma-su-sheet.is-sd .ma-su-guide-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: none; border-radius: 0; background: none; font-size: 13.5px; font-weight: 600; color: var(--sd-fg2); text-underline-offset: 4px; }
.ma-su-sheet.is-sd .ma-su-guide-link svg { color: var(--violet); }
.ma-su-sheet.is-sd .ma-su-status .ma-su-guide-link { font-size: 13px; color: var(--violet); }
.ma-su-sheet.is-sd .ma-su-guide-link:hover { background: none; text-decoration: underline; }
.ma-su-sheet.is-sd .ma-su-pick-hint, .ma-su-sheet.is-sd .ma-su-pick-count, .ma-su-sheet.is-sd .ma-su-status { font-size: 13px; color: var(--sd-muted); }
.ma-su-sheet.is-sd .ma-su-status.is-error { color: #dc2626; }
.ma-su-sheet.is-sd .ma-su-status-text { display: flex; min-width: 0; }
.ma-su-sheet.is-sd .ma-su-status-text > span { flex: none; white-space: nowrap; }
.ma-su-sheet.is-sd .ma-su-status-text > .ma-su-status-name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ma-su-sheet.is-sd .ma-su-status-text b { font-weight: 600; color: var(--sd-fg); }
.ma-su-sheet.is-sd .ma-su-search, .ma-su-sheet.is-sd .ma-su-textarea { border: 1px solid var(--sd-border); border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); font-size: 14px; color: var(--sd-fg); }
.ma-su-sheet.is-sd .ma-su-search { height: 36px; padding: 0 12px; }
.ma-su-sheet.is-sd .ma-su-textarea { padding: 8px 12px; min-height: 150px; }
.ma-su-sheet.is-sd .ma-su-search:focus, .ma-su-sheet.is-sd .ma-su-textarea:focus { border-color: #a1a1aa; box-shadow: 0 0 0 3px rgba(161, 161, 170, 0.3); }
.ma-su-sheet.is-sd .ma-su-search::placeholder, .ma-su-sheet.is-sd .ma-su-textarea::placeholder { color: var(--sd-muted); }
.ma-su-sd-form { display: flex; flex-direction: column; }
.ma-su-sd-form[hidden] { display: none; }
.ma-su-sd-label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--sd-fg); }
.ma-su-sd-label span { font-weight: 400; color: var(--sd-muted); }
.ma-su-sd-form .ma-su-search { margin-bottom: 14px; }
/* Lists and grouped rows */
.ma-su-sheet.is-sd .ma-su-list, .ma-su-sheet.is-sd .ma-su-group { border: 1px solid var(--sd-border); border-radius: 12px; background: #fff; box-shadow: none; }
.ma-su-sheet.is-sd .ma-su-group[hidden] { display: none; }
.ma-su-sheet.is-sd .ma-su-pick { gap: 12px; padding: 12px 16px; }
.ma-su-sheet.is-sd .ma-su-pick + .ma-su-pick::before { left: 0; background: var(--sd-subtle); }
.ma-su-sheet.is-sd .ma-su-pick:hover { background: var(--sd-hover); }
.ma-su-sheet.is-sd .ma-su-pick-name { font-size: 14px; font-weight: 600; color: var(--sd-fg); }
.ma-su-sheet.is-sd .ma-su-pick-meta { gap: 6px; font-size: 13px; color: var(--sd-hint); }
.ma-su-sheet.is-sd .ma-su-pick.is-pending .ma-su-pick-meta { color: var(--sd-muted); }
.ma-su-sheet.is-sd .ma-su-pick-check input { accent-color: var(--violet); }
.ma-su-sheet.is-sd .ma-su-more-row { width: 32px; height: 32px; border-radius: 6px; color: var(--sd-muted); opacity: 1; }
.ma-su-sheet.is-sd .ma-su-more-row:hover, .ma-su-sheet.is-sd .ma-su-more-row.is-open { background: var(--sd-subtle); color: var(--sd-fg); }
.ma-su-sheet.is-sd .ma-su-rowmenu { right: 16px; padding: 4px; border: 1px solid var(--sd-border); border-radius: 8px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.ma-su-sheet.is-sd .ma-su-rowmenu [data-view], .ma-su-sheet.is-sd .ma-su-rowmenu [data-del] { padding: 6px 8px; border-radius: 4px; font-size: 14px; }
.ma-su-sheet.is-sd .ma-su-rowmenu [data-view]:hover { background: var(--sd-subtle); }
.ma-su-sheet.is-sd .ma-su-row { gap: 12px; min-height: 0; padding: 12px 16px; }
.ma-su-sheet.is-sd .ma-su-row + .ma-su-row::before { left: 0; background: var(--sd-subtle); }
.ma-su-sheet.is-sd .ma-su-tile { width: 32px; height: 32px; border: 1px solid rgba(23, 20, 29, 0.14); border-radius: 8px; background: #faf8f5; color: var(--ink-60); transition: color 0.15s, border-color 0.15s; }
.ma-su-sheet.is-sd .ma-su-tile svg { width: 16px; height: 16px; }
.ma-su-sheet.is-sd .ma-su-name { font-size: 14px; font-weight: 600; color: var(--sd-fg); }
.ma-su-sheet.is-sd .ma-su-detail { font-size: 13px; color: var(--sd-muted); }
.ma-su-sheet.is-sd .ma-su-row .ma-su-chev { color: #a1a1aa; }
/* CV / Profile: the CV in use is marked "In use"; the whole row picks. */
.ma-su-sheet.is-sd .ma-su-opt-check { display: none; }
.ma-su-sheet.is-cv .ma-su-pick { cursor: pointer; }
.ma-su-sheet.is-cv .ma-su-pick.is-on { background: rgba(124, 58, 237, 0.04); }
.ma-su-sheet.is-cv .ma-su-pick.is-on .ma-su-tile { border-color: var(--violet-edge); background: #fff; color: var(--violet); }
.ma-su-sheet.is-sd .ma-su-sheet-foot[hidden] { display: none; }
/* Pickers as tall as their content, up to the window; the list scrolls past that. */
.ma-su-sheet.is-pick.is-sd { height: auto; max-height: min(620px, 100%); }
.ma-su-sheet.is-pick.is-sd .ma-su-sheet-body { flex: 1 1 auto; min-height: 0; overflow: auto; }
.ma-su-sheet.is-sd .ma-su-li-note { margin: 12px 0 0; font-size: 13px; line-height: 19px; color: var(--sd-muted); }
.ma-su-sheet.is-sd .ma-su-li-note b { font-weight: 600; color: var(--sd-fg); }
.ma-su-sheet.is-sd .ma-su-li-pdf { color: var(--sd-fg); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sd-border2); text-underline-offset: 3px; cursor: pointer; }
.ma-su-sheet.is-sd .ma-su-li-pdf:hover { text-decoration-color: var(--sd-fg); }
.ma-su-inuse { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(124, 58, 237, 0.1); color: var(--violet); font-size: 11.5px; font-weight: 600; }
/* The two types, under the empty list */
/* How to write your answers */
.ma-su-sheet.is-sd .ma-su-bank-sample { border-color: var(--sd-border); border-radius: 10px; }
.ma-su-sheet.is-sd .ma-su-bank-sample b { font-weight: 500; color: var(--sd-fg); }
.ma-su-sheet.is-sd .ma-su-bank-sample span { color: var(--sd-muted); }
.ma-su-sheet.is-sd .ma-su-bank-rules li { font-size: 14px; color: var(--sd-fg); }
/* Empty: the two ways in as the setup screen's own grouped rows; the footer
   keeps only the guide; the sheet is as tall as that. */
.ma-su-sheet.is-kb.is-empty { height: auto; }
.ma-su-sheet.is-kb.is-empty .ma-su-pick-foot { margin-top: 16px; }
.ma-su-sheet-foot.ma-su-pick-foot > [hidden] { display: none; }
/* "<file> added as Reference. [Use as Your answers]" on one line: the name gives way. */
.ma-su-sheet.is-kb > .ma-su-status { display: flex; align-items: center; gap: 8px; }
.ma-su-status-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ma-su-sheet.is-kb > .ma-su-status .ma-su-guide-link { flex: none; }
/* View: what was read from a CV / an Answer Bank document. */
/* Answer style: settings | a real answer in those settings. */
.ma-su-sheet.is-style { width: min(880px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; overflow: hidden; }
/* Screen analysis preferences: the same two columns. The preview is the real
   answer panel drawn at 80%: SessionSetup lays it out at the width it has in
   the app (the column ÷ 0.8), then `zoom` draws it in the column. */
.ma-su-sheet.is-analyze .ma-su-st-set .ma-su-dd-btn { width: 100%; }
.ma-su-live.is-analyze-live { zoom: 0.8; height: 525px; }
.ma-su-live.is-analyze-live .answer-bar-question-row { min-height: 0; }
.ma-su-st-cols { display: grid; grid-template-columns: 320px 1fr; min-height: 0; }
/* A short window: the settings column scrolls instead of being cut off. */
.ma-su-sheet.is-style .ma-su-st-cols { flex: 1; grid-template-rows: minmax(0, 1fr); }
.ma-su-st-set { padding: 22px 24px 22px 26px; overflow-y: auto; }
.ma-su-st-set .ma-su-sheet-sub { margin-bottom: 16px; }
.ma-su-st-head { margin: 0 0 7px 14px; font-size: 11.5px; font-weight: 600; color: var(--ink-60); }
.ma-su-st-set .ma-su-list + .ma-su-st-head { margin-top: 18px; }
.ma-su-st-len { grid-template-columns: repeat(3, 1fr); }
.ma-su-st-len.is-two { grid-template-columns: repeat(2, 1fr); }
/* Labels stay on one line ("Full answer" wrapped at the default 10px sides). */
.ma-su-st-len button { padding-left: 4px; padding-right: 4px; white-space: nowrap; }
.ma-su-st-head.ma-su-st-head-gap { margin-top: 18px; }
/* What the picked writing style does — one line under the switch. */
.ma-su-st-hint { margin: 7px 0 0 14px; font-size: 11.5px; line-height: 1.3; color: var(--ink-60); }
/* "Behavioral answers": its own block under a divider — STAR is a setting for
   one kind of question, not a general style. */
.ma-su-st-behav { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); }
.ma-su-st-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 2px 14px; border-radius: 10px; transition: opacity 160ms ease-out; }
.ma-su-st-opt { position: relative; }
.ma-su-st-opt-text { display: flex; flex-direction: row; align-items: center; gap: 6px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--ink); }
/* ⓘ with a hover / keyboard-focus tooltip. The card sits above the whole row
   and is capped to the column width: the settings column scrolls, so anything
   wider would be clipped at its edge. */
.ma-su-info { display: inline-flex; color: var(--ink-40); cursor: help; border-radius: 50%; outline: none; }
.ma-su-info:hover, .ma-su-info:focus-visible { color: var(--ink); }
.ma-su-tip { position: absolute; bottom: calc(100% + 4px); left: 10px; z-index: 5; max-width: 240px; padding: 6px 9px; border-radius: 6px; background: #17141d; color: #fff; font-size: 11.5px; font-weight: 500; line-height: 1.35; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 120ms ease-out, visibility 120ms; }
.ma-su-st-opt:has(.ma-su-info:hover, .ma-su-info:focus-visible) .ma-su-tip { opacity: 1; visibility: visible; }
.ma-su-st-opt.is-off { opacity: 0.4; pointer-events: none; }
/* Answer preferences: the row that opens the answer instructions. */
.ma-su-st-link { width: 100%; min-height: 34px; border: none; background: none; font: inherit; text-align: left; cursor: pointer; }
.ma-su-st-link:hover { background: rgba(23, 20, 29, 0.04); }
.ma-su-st-link-val { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--ink-60); }
/* Screen analysis → Screen: a dropdown whose choices show the screens they
   read as they look now (All: every one, side by side), the closed dropdown
   the pick's; one screen: that screen, nothing to pick. The extension shows
   its tab. */
.ma-su-scr { margin: 0; }
.ma-su-scr-thumb { flex: none; display: flex; gap: 2px; width: 56px; height: 32px; border-radius: 5px; overflow: hidden; background: rgba(23, 20, 29, 0.08); box-shadow: 0 0 0 1px var(--rule); }
.ma-su-scr-thumb.is-sm { width: 44px; height: 26px; border-radius: 4px; }
.ma-su-scr-thumb img { display: block; flex: 1; min-width: 0; height: 100%; object-fit: cover; }
.ma-su-dd { position: relative; }
.ma-su-dd-btn { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px 9px 14px; border: 1px solid var(--rule); border-radius: 10px; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink); text-align: left; cursor: pointer; transition: border-color 0.15s; }
.ma-su-dd-btn:has(.ma-su-scr-thumb) { gap: 10px; padding: 7px 12px 7px 8px; }
.ma-su-dd-btn:hover, .ma-su-dd-btn[aria-expanded="true"] { border-color: var(--violet-edge); }
.ma-su-dd-btn.is-static { cursor: default; }
.ma-su-dd-btn.is-static:hover { border-color: var(--rule); }
.ma-su-dd-label { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ma-su-dd-rec { color: var(--ink-40); font-weight: 400; }
.ma-su-dd-btn .ma-su-chev { flex: none; color: var(--ink-40); }
.ma-su-dd-menu { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 5; padding: 4px 0; border: 1px solid var(--rule); border-radius: 10px; background: #fff; box-shadow: 0 12px 32px rgba(23, 20, 29, 0.16); }
.ma-su-dd-menu[hidden] { display: none; }
.ma-su-dd-menu .ma-su-opt { gap: 12px; padding: 6px 14px 6px 8px; }
.ma-su-dd-menu .ma-su-opt + .ma-su-opt::before { left: 76px; }
/* The sheet's body scrolls; an open menu goes over what is under it (the
   instructions, the Save row) instead of being cut off at the body's edge. */
.ma-su-sheet-body:has(.ma-su-dd-menu:not([hidden])) { overflow: visible; }
.ma-su-dd-menu .ma-su-opt:hover { background: var(--violet-tint); }
.ma-su-scr-note { margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: var(--ink-60); }
.ma-su-scr-tab { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--violet); border-radius: 10px; background: #fff; }
.ma-su-scr-tab-ico { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: rgba(23, 20, 29, 0.05); color: var(--ink-60); overflow: hidden; }
.ma-su-scr-tab-ico img { width: 20px; height: 20px; object-fit: contain; }
.ma-su-scr-tab-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ma-su-scr-tab-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.ma-su-scr-tab-host { font-size: 12px; color: var(--ink-40); }
.ma-su-opt.ma-su-opt-static { cursor: default; }
.ma-su-opt.ma-su-opt-static:hover { background: none; }
.ma-su-st-prev { min-width: 0; display: flex; flex-direction: column; padding: 22px 22px 24px; border-left: 1px solid var(--rule); background: rgba(23, 20, 29, 0.025); }
.ma-su-st-prev-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; padding-right: 34px; }
.ma-su-st-qpills { display: flex; gap: 2px; }
.ma-su-st-qpills button { padding: 4px 10px; border: none; border-radius: 999px; background: none; font-size: 12px; font-weight: 600; color: var(--ink-60); cursor: pointer; }
.ma-su-st-qpills button:hover { color: var(--ink); background: rgba(23, 20, 29, 0.05); }
.ma-su-st-qpills button.is-on { color: var(--ink); background: rgba(23, 20, 29, 0.08); }
.ma-su-st-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
/* The real answer panel's look, on a class (the live panel is found by its
   id elsewhere, so the preview must not share it). Mirrors the
   #meetassist-answer-panel rules; the inner classes style themselves. */
/* FIXED height: a longer answer scrolls inside (.answer-panel-content), it
   never grows the box — growing pushed Reset / Done off the sheet. 420px puts
   the buttons at the bottom, level with the last setting on the left. */
/* isolation: the answer's own layers inside (the screenshots strip is
   z-index 3) stay inside, under the sub-sheets laid over this sheet. */
.ma-su-live { position: relative; isolation: isolate; display: flex; flex-direction: column; flex: none; height: 420px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; background: rgb(15 20 28 / 0.94); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06); text-align: left; }
/* Text colours, highlights and bullets come from the live panel's own rules
   (the :is(#meetassist-answer-panel, .ma-su-live) ones); the font scale is
   the one the candidate set with A−/A+ on the live panel (sessionSetup.js). */
.ma-su-live .answer-panel-content { flex: 1; min-height: 0; overflow-y: auto; }
.ma-su-st-note { margin: 0; color: rgba(255, 255, 255, 0.6) !important; }
.ma-su-li-note { margin: 8px 2px 0; font-size: 12px; line-height: 1.5; color: var(--ink-60); }
.ma-su-li-note b { font-weight: 600; color: var(--ink); }
.ma-su-li-pdf { color: var(--violet); font-weight: 600; cursor: pointer; }
.ma-su-li-pdf:hover { text-decoration: underline; }
.ma-su-view { display: flex; flex-direction: column; gap: 14px; padding: 2px 2px 8px; font-size: 12.5px; line-height: 1.5; color: var(--ink); }
.ma-su-view h4 { margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-40); }
.ma-su-view p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ma-su-view-item { display: flex; flex-direction: column; gap: 1px; padding: 6px 0; }
.ma-su-view-item + .ma-su-view-item { border-top: 1px solid var(--rule); }
.ma-su-view-item b { font-weight: 600; }
.ma-su-view-item span { font-size: 11.5px; color: var(--ink-60); }
.ma-su-view-item p { margin-top: 3px; color: var(--ink-60); }
.ma-su-rowmenu.is-confirm { width: 220px; padding: 12px; }
.ma-su-cf-title { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.ma-su-cf-name { margin: 3px 0 0; font-size: 12px; color: var(--ink-40); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ma-su-cf-btns { display: flex; justify-content: flex-end; gap: 6px; margin-top: 10px; }
.ma-su-cf-btns button { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; cursor: pointer; }
.ma-su-cf-btns .no { border: 1px solid var(--rule); background: #fff; color: var(--ink); }
.ma-su-cf-btns .yes { border: none; background: var(--danger); color: #fff; }
.ma-su-cf-btns .yes:hover { background: #9a1c13; }
.ma-su-cf-btns .yes:disabled { opacity: 0.6; }
/* Add to Answer Bank: two ways in. */
.ma-su-opt-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1px solid var(--edge); border-radius: 10px; background: #fff; text-align: left; cursor: pointer; transition: border-color 140ms ease-out, background 140ms ease-out; }
.ma-su-opt-card:hover { border-color: var(--violet-edge); background: var(--violet-tint); }
/* All three ways in look alike: the suggested one only gets a faint violet
   edge and a "Recommended" tag — a filled card read as the sheet's one CTA. */
.ma-su-opt-card.is-primary { border-color: rgba(124, 58, 237, 0.3); }
.ma-su-opt-card .ma-su-tile { width: 26px; height: 26px; }
.ma-su-opt-card .ma-su-tile svg { width: 13px; height: 13px; }
.ma-su-opt-card .ma-su-detail { color: var(--ink-40); }
.ma-su-rec { margin-left: 7px; padding: 1px 6px; border-radius: 4px; background: var(--violet-tint); color: var(--violet); font-size: 10px; font-weight: 600; vertical-align: 1px; }
.ma-su [data-choose][hidden], .ma-su [data-form][hidden] { display: none; }
.ma-su-keys { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; min-width: 150px; padding: 3px; border: 1px solid transparent; border-radius: 8px; background: none; cursor: pointer; }
.ma-su-keys:hover, .ma-su-keys.is-listening { border-color: var(--violet-edge); }
.ma-su-keys kbd { min-width: 22px; padding: 3px 7px; border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 6px; background: #fff; font: 600 11.5px/1.2 inherit; font-family: inherit; color: var(--ink); text-align: center; }
.ma-su-keys-wait { padding: 3px 7px; font-size: 12px; font-weight: 600; color: var(--violet); }

.ma-su-qr { display: flex; justify-content: center; margin: 4px 0 12px; }
.ma-su-qr-box { width: 196px; height: 196px; display: grid; place-items: center; padding: 8px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.ma-su-qr-box img { width: 100%; height: 100%; border-radius: 8px; }
.ma-su-qr-ok { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--done); font-size: 13px; font-weight: 600; }
.ma-su-wait { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: 12px; color: var(--ink-60); }
.ma-su-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); animation: ma-su-pulse 1.4s ease-in-out infinite; }
@keyframes ma-su-pulse { 50% { opacity: 0.25; } }
/* Start on phone: two halves — on the left the phone (a session on it), on
   the right the three steps and the code; a hairline between them. */
.ma-su-sheet.is-phone.is-wide { width: 720px; padding: 0; overflow: hidden; }
.ma-su-ph { display: flex; align-items: stretch; }
.ma-su-ph-side { flex: none; display: grid; place-items: center; width: 290px; padding: 32px 0; border-right: 1px solid var(--rule); }
.ma-su-ph-device { display: block; width: 192px; height: auto; filter: drop-shadow(0 18px 26px rgba(23, 20, 29, 0.22)) drop-shadow(0 2px 5px rgba(23, 20, 29, 0.12)); pointer-events: none; user-select: none; }
.ma-su-ph-main { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.ma-su-sheet.is-phone.is-wide .ma-su-ph-main { padding: 30px 32px 26px; }
.ma-su-ph .ma-su-sheet-sub { margin: 6px 0 20px; }
.ma-su-ph-steps { display: flex; flex-direction: column; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.ma-su-ph-steps li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.35; color: var(--ink); }
.ma-su-ph-n { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(124, 58, 237, 0.1); color: var(--violet); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ma-su-ph .ma-su-qr { justify-content: flex-start; margin: 0 0 14px; }
.ma-su-ph .ma-su-wait { justify-content: flex-start; }
@media (max-width: 640px) { .ma-su-ph-side { display: none; } }
/* The landing's phone (frontend/components/HeroPhoneVideo.js, the same numbers): the iPhone 15 frame (1316 x 2674)
   laid over the recording, a black body under the screen with a violet glow. 250 px, its screen 224 (owner,
   2026-11-26: at 200 the recording's text was ~6 px on a 1x screen and could not be sharp); the sheet widens for it. */
.ma-su-sheet.is-phone.is-wide.is-shot { width: 780px; }
.ma-su-sheet.is-phone.is-shot .ma-su-ph-side { width: 340px; }
.ma-su-ph-phone { position: relative; width: 250px; aspect-ratio: 1316 / 2674; pointer-events: none; user-select: none; }
.ma-su-ph-under { position: absolute; left: 4.407%; top: 1.758%; width: 91.413%; height: 96.447%; border-radius: 15.13% / 7.057%; background: #000; box-shadow: 0 28px 60px -22px rgba(124, 58, 237, 0.5); }
.ma-su-ph-screen { position: absolute; left: 5.3191%; top: 2.2064%; width: 89.5897%; height: 95.5497%; overflow: hidden; border-radius: 12.72% / 5.871%; }
.ma-su-ph-screen > img, .ma-su-ph-screen > video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.ma-su-ph-frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

.ma-su-veil { display: none; position: absolute; inset: 0; z-index: 20; align-items: center; justify-content: center; background: rgba(250, 247, 242, 0.6); }
.ma-su-veil.is-on { display: flex; }

/* The spinner itself — defined here too, so it exists where desktop.css is not
   loaded (the extension); the same values as desktop.css, recoloured for the
   light card. */
@keyframes ma-su-spin { to { transform: rotate(360deg); } }
.ma-su .ma-spinner {
  display: inline-block; width: 11px; height: 11px;
  border: 1.5px solid rgba(23, 20, 29, 0.15); border-top-color: var(--violet);
  border-radius: 50%; vertical-align: middle;
  animation: ma-su-spin 0.7s linear infinite;
}

/* Host slots: notes above the rail pills and beside the footer buttons, and
   actions under an error. Empty on the desktop, so they take no space. */
.ma-su-rail-extra { display: flex; flex-direction: column; gap: 8px; }
.ma-su-rail-extra:empty { display: none; }
.ma-su-rail-note { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--edge); border-radius: 10px; background: var(--page); font-size: 12px; line-height: 1.4; color: var(--ink-60); }
.ma-su-rail-note b { color: var(--ink); font-weight: 600; }
.ma-su-rail-note svg { color: var(--violet); }
/* The desktop app, recommended over the extension (hidden from screen
   sharing): a quiet violet-tinted card, not a banner. */
.ma-su-promo { display: block; padding: 12px; border: 1px solid rgba(124, 58, 237, 0.16); border-radius: 12px; background: rgba(124, 58, 237, 0.045); }
.ma-su-promo-eyebrow { font-size: 11px; font-weight: 600; line-height: 1.3; color: var(--violet); }
.ma-su-promo-head { margin-top: 2px; font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.ma-su-promo-text { margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--ink-60); }
.ma-su-promo-btns { display: flex; gap: 8px; margin-top: 12px; }
.ma-su-promo-btn { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--edge); border-radius: 8px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 500; text-decoration: none; transition: border-color 160ms ease-out, box-shadow 160ms ease-out; }
.ma-su-promo-btn:hover { border-color: var(--violet-edge); box-shadow: 0 1px 2px rgba(23, 20, 29, 0.06); }
/* The server's reason for a 0 balance (free minutes used by another account
   here): its own line above the footer, ending over Buy credits, so the
   footer row is laid out exactly as without it. */
.ma-su-credit-note { flex: none; margin: 12px 0 -6px; font-size: 12px; line-height: 1.4; color: var(--ink-60); text-align: right; }
.ma-su-credit-note[hidden] { display: none; }
.ma-su-error-actions { display: flex; gap: 12px; margin-top: 6px; }
.ma-su-error-actions[hidden] { display: none; }
.ma-su-error-act { padding: 0; font-size: 12px; font-weight: 600; color: var(--violet); }

@media (prefers-reduced-motion: reduce) {
  .ma-su-pane.is-shown, .ma-su-sheet { animation: none; }
}

/* ─── Feature hint (one-time pointer at a toolbar button) ───────────────────
   A plain tooltip: light card, hairline border, a shadow just deep enough to
   lift it off the bar, tight under the control it names. No accent colour, no
   gradient, no pulse, no animation — it is a label for a button, and anything
   louder than that reads as an ad.
   Deliberately not pure white and not heavy: on the dark overlay #fff with a
   0.35 shadow was the brightest thing on screen, which is the opposite of what
   a hint is for. A dark card was tried and read as decoration; a real light
   grey (not near-white — #f4f5f7 was indistinguishable from #fff on screen)
   with regular-weight text keeps it quiet and still legible. */
/* The wrapper is the anchor, not the button: the tooltip has to be a sibling
   of the button (it carries its own dismiss control, and a button inside a
   button is invalid and unclickable), and anchoring to the toolbar instead
   would put it back on a measured offset that drifts. */
.top-bar-minimize-wrap {
  position: relative;
  display: inline-flex;
}

.ma-hint {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1300;
  padding: 6px 10px;
  border-radius: 6px;
  background: #e3e6eb;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
  color: #2c313b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

/* `display` MUST live behind :not([hidden]). Setting it on .ma-hint itself
   overrode the built-in `[hidden] { display: none }` — a class rule outranks
   it — so the tooltip was on screen from launch, on every screen, whatever the
   triggers said. */
.ma-hint:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.ma-hint-arrow {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  transform: rotate(45deg);
  background: #e3e6eb;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Dismiss. The hint also retires itself on a timer and the moment the button
   is used — this is for the reader who has already got the message. */
.ma-hint-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin: -2px -4px -2px 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.ma-hint-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.6);
}

/* Minimized, the hint has nothing to point at and no room to sit in. */
#meetassist-overlay.ma-compact .ma-hint {
  display: none !important;
}

/* ─── Compact mode (minimized overlay) ──────────────────────────────────────

   "Minimize" is this class on the overlay root — NOT a second UI. The overlay
   keeps showing the real TopMenu and the real answer panel; the rules below
   only hide what does not belong on a 40px-tall bar and constrain what stays.
   Nothing invents a control, a surface or a state: everything the compact
   overlay shows is the same node, with the same handlers, telemetry, streaming
   and --ma-bg-opacity as when it is open.

   Shared by both hosts. On the desktop the overlay IS the window, so
   desktop.css replaces the box below with a window-sized one; in the extension
   the overlay is a floating div that simply shrinks to its content.
   See docs/architecture/DESKTOP_COMPACT_MODE.md. */

/* The extension's overlay carries a resizable inline width/height — compact has
   to shed both. The width it takes instead is the one the ANSWER had a moment
   ago (--ma-compact-w, pinned by the host before the class goes on), so
   minimizing never re-wraps the answer being read; with no answer up it just
   hugs the toolbar. The desktop overrides this box with a window-sized one. */
#meetassist-overlay.ma-compact {
  width: var(--ma-compact-w, max-content) !important;
  min-width: 0 !important;
  max-width: calc(92vw / var(--ma-zoom, 1)) !important;
  height: max-content !important;
  max-height: calc((100vh - 40px) / var(--ma-zoom, 1)) !important;
}

/* Only the toolbar and the answer panel, with its width grip. Config /
   settings / login / permissions / transcript are still mounted and still hold
   their state — they are simply not drawn until the window is restored. */
#meetassist-overlay.ma-compact > *:not(#meetassist-top-bar):not(#meetassist-answer-panel):not(.ma-answer-grip) {
  display: none !important;
}

/* The toolbar keeps its OWN width — it holds four controls, and stretching it
   to the width of an answer just to line the two up left a mostly empty bar
   that changed size the moment an answer arrived. It hugs its content and
   centres over the answer below, so the answer is the wider surface and its
   left edge sits outside the bar's. */
#meetassist-overlay.ma-compact #meetassist-top-bar {
  width: max-content !important;
  max-width: none !important;
  margin: 0 auto !important;
  /* MUST be reset. overlay.css makes the bar a size container so it can shed
     chrome as the window narrows — and `contain: inline-size` means its inline
     size is computed WITHOUT its contents, which would resolve the max-content
     width above to zero. Dropping the container also retires those width tiers,
     which is right here: compact mode decides what the bar shows, and the
     500px tier would have hidden the product name. */
  container-type: normal !important;
}

#meetassist-overlay.ma-compact .top-bar-action-row {
  padding: 6px 8px 6px 12px !important;
  gap: 10px;
}

/* What a minimized toolbar is for: knowing what it is, asking for an answer,
   seeing the time it is spending, getting the window back, quitting.
   Everything else waits for the restore — Support, the transcript log and the
   model picker. */
#meetassist-overlay.ma-compact #ma-support-btn,
#meetassist-overlay.ma-compact #ma-transcripts-btn,
#meetassist-overlay.ma-compact #ma-settings-wrap,
#meetassist-overlay.ma-compact #ma-more-wrap,
#meetassist-overlay.ma-compact .top-bar-collapsed-status {
  display: none !important;
}

/* The credits chip STAYS, minus its Upgrade pill: a minimized session is still
   a billed session, and dropping the whole chip left the red Stop glyph as the
   only hint that minutes were running out. The remaining time is the point;
   buying more is an errand for a full window. The chip keeps its own inline
   `display` (TopMenu shows it only once the user is authenticated), so this
   file must not set one on it.
   Not covered by the @container tier that sheds "Upgrade" below 700px — the
   compact bar resets `container-type` (above), which retires those tiers. */
#meetassist-overlay.ma-compact .top-bar-credits .credits-add {
  display: none !important;
}

/* The center group holds the real Answer / Analyze buttons (hover-trigger,
   debounce and telemetry included). TopMenu already shows this group only
   during an interview, so out of a session the compact bar is just identity
   plus window controls. */
#meetassist-overlay.ma-compact .top-bar-center {
  margin: 0;
}

/* ─── "Processing" while minimized ──────────────────────────────────────────
   The status line the TranscriptView already publishes (#ma-status-line — the
   spinner the detector shows as "Processing", plus its warn/error colours) is
   the indicator; nothing new is drawn. Its row normally sits under the action
   row and would make the bar two-storey, so in compact the host is taken out
   of flow and parked at the right end of the bar, with only the line inside it
   left visible and its text dropped — a bare spinner.

   It sits right after the brand, at --ma-status-x — measured by compactMode.js
   from the label's actual right edge, because the label is webfont text whose
   width no stylesheet can know. The gap it occupies is reserved on the left
   group whether the spinner is showing or not, which is the point: appearing
   and disappearing must not change the bar's width, or the bar (centred in the
   compact window) would jump every time the detector starts a pass. */
#meetassist-overlay.ma-compact #ma-top-bar-status-host {
  display: block !important;
  position: absolute;
  left: var(--ma-status-x, 150px);
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  pointer-events: none;
  /* The host draws a hairline above itself to separate the status row from the
     action row (overlay.css). Out of flow and next to the brand there is
     nothing to separate — it just left a stray dash sitting in the bar. */
  border: none !important;
  background: transparent !important;
}

/* The reserved gap the spinner drops into. */
#meetassist-overlay.ma-compact .top-bar-left {
  padding-right: 22px;
}

#meetassist-overlay.ma-compact #ma-top-bar-status-host .transcript-status-row {
  display: flex !important;
  padding: 0 !important;
  gap: 0 !important;
  border: none !important;
}

#meetassist-overlay.ma-compact #ma-top-bar-status-host .transcript-status-row > *:not(#ma-status-line) {
  display: none !important;
}

#meetassist-overlay.ma-compact #ma-status-line {
  margin: 0 !important;
  flex: none !important;
}

#meetassist-overlay.ma-compact #ma-status-line .transcript-status-text {
  display: none !important;
}

/* Minimized, the dash means "restore": swap the glyph, keep the button, its
   handler and its position. In Simple view it still minimizes, and the arrows
   before it go back to Full. */
#meetassist-overlay.ma-mini #ma-minimize-btn .icon-minimize { display: none; }
#meetassist-overlay.ma-mini #ma-minimize-btn .icon-expand { display: block; }
#ma-minimize-btn .icon-expand { display: none; }
#ma-full-btn { display: none; }
#meetassist-overlay.ma-compact:not(.ma-mini) #ma-full-btn { display: flex; }

/* ─── The session bar, buttons round (owner, 2026-11-09) ────────────────────
   Narrower than the release (693, was 792): the wordmark is "MeetAssist"
   (TopMenu, no ".io" anywhere), no "Upgrade" word while a session runs (the
   time chip still opens credits; outside a session Upgrade stays, the owner's
   call), the bar's own buttons in one soft pill (before a session too), and
   Simple is the release's compact bar: its arrows and Stop, no minimize. */
#meetassist-overlay.interview-active .top-bar-credits .credits-add { display: none; }
#meetassist-overlay.ma-compact:not(.ma-mini) #ma-minimize-btn { display: none; }
#meetassist-overlay .top-bar-btn.settings,
#meetassist-overlay .top-bar-icon-btn:not(.close) {
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.88);
}
#meetassist-overlay .top-bar-btn.settings:hover,
#meetassist-overlay .top-bar-btn.settings.active,
#meetassist-overlay .top-bar-icon-btn:not(.close):hover,
#meetassist-overlay .top-bar-icon-btn.more.is-open {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
#meetassist-overlay .top-bar-icon-btn.close {
  border: 0;
  border-radius: 9px;
}


/* THE PANEL'S BOX IS RESERVED FOR THE WHOLE SESSION, not created when an
   answer arrives. An answer appearing used to make the overlay ~500px taller,
   which resized the WINDOW — and on X11 a window resize is not atomic: viz
   waits for the renderer only until a deadline, then presents a fallback frame
   that either stretches the stale surface or gutters the uncovered area. On a
   transparent window the gutter is transparent, so the toolbar simply was not
   painted for that frame. (This app disables GPU compositing, so there is not
   even a surface to reuse; setOpacity is a no-op on Linux; and blanking it
   ourselves is what made the bar wink out visibly.) Keeping the box laid out
   with `visibility` means the answer opening changes NO window geometry at all
   — the artifact has nothing to happen during.
   Only while an interview is running: outside one no answer can arrive, so
   there is nothing to reserve. See docs/architecture/DESKTOP_COMPACT_MODE.md. */
#meetassist-overlay.ma-compact.interview-active #meetassist-answer-panel {
  display: flex !important;
}

#meetassist-overlay.ma-compact.interview-active #meetassist-answer-panel:not(.visible) {
  visibility: hidden;
  pointer-events: none;
}

/* Same streaming, same typography, same opacity knob, same controls. Compact
   pins its box (the overlay around it is max-content now, so the panel has to
   carry its own size) and changes nothing else. */
#meetassist-overlay.ma-compact #meetassist-answer-panel {
  /* Fills the compact box, which is already pinned to the width the answer had
     in the open window — minimizing must not re-wrap the answer being read. */
  width: 100% !important;
  max-width: none !important;
  /* FIXED height, exactly as the full-size panel does it and for the same
     reason: a panel that grows as the stream arrives makes the window resize
     on every chunk, and each resize blanks a frame — the answer appeared to
     flicker the whole time it was being written. Fixed box, inner scroll.
     The value is the panel's own height in the open window, pinned alongside
     the width, so minimizing changes neither. */
  height: var(--ma-compact-h, 500px) !important;
  max-height: var(--ma-compact-h, 500px) !important;
  margin: 8px auto 0 !important;
}

/* Nothing INSIDE the panel is touched: the follow-up chat, the history nav,
   the font-size and format controls and the rating all stay. Minimized only
   means the window is small — the answer is the same answer, with the same
   things to do to it. */

/* ─── Minimized (`ma-compact ma-mini`, utils/overlayAppearance.js) ─────────
   The bar alone, as outside a session: logo, time, restore, Stop. No Answer
   or Analyze, no answer: the answer is still written and is there on restore.
   After the compact rules above: they reserve the answer's box. */
#meetassist-overlay.ma-compact.ma-mini .top-bar-center,
#meetassist-overlay.ma-compact.ma-mini #meetassist-answer-panel,
#meetassist-overlay.ma-compact.ma-mini .ma-answer-grip {
  display: none !important;
}
/* Minimized in a session: the logo without the wordmark, then the time
   (owner, 2026-11-10). Never a reserved Processing slot after it (the gap it
   left looked like a hole): the answer is hidden, so is its spinner. */
#meetassist-overlay.interview-active.ma-compact.ma-mini .top-bar-brand,
#meetassist-overlay.ma-compact.ma-mini #ma-top-bar-status-host {
  display: none !important;
}
/* Minimized before a session: the logo and the wordmark, no time: nothing is
   running yet (owner, 2026-11-10). */
#meetassist-overlay.ma-compact.ma-mini:not(.interview-active) .top-bar-credits {
  display: none !important;
}
#meetassist-overlay.ma-compact.ma-mini .top-bar-left {
  padding-right: 0;
}
/* The time left only shows in Simple view and minimized: a click there opened
   the credits popup into a bar too small for it (owner, 2026-11-10). Buying
   time is for the full view. */
#meetassist-overlay.ma-compact .top-bar-credits {
  pointer-events: none;
  cursor: default;
}

/* ══════════ Quick tour (setup screen, SessionSetup openTour) ══════════
   A few short sheets over the setup screen, each one line and a moving
   picture: what the screen itself does not tell. Shown by itself once, then
   from ⋯ → Quick tour. Everything is a class: the extension's page reset
   (.ma-su-page, top of this file) reverts bare tags. */
.ma-su-sheet.is-tour { width: 600px; padding: 0; overflow: hidden; }
.ma-su-sheet.is-tour > .ma-su-x { display: none; }
.ma-tour { position: relative; display: flex; flex-direction: column; color: var(--ink); }
.ma-tour-skip { position: absolute; top: 14px; right: 16px; z-index: 2; padding: 5px 9px; border: 0; border-radius: 7px; background: rgba(255, 255, 255, 0.7); font: inherit; font-size: 12px; font-weight: 500; line-height: 1; color: var(--ink-60); cursor: pointer; }
.ma-tour-skip:hover { background: #fff; color: var(--ink); }
.ma-tour-stage { position: relative; height: 250px; overflow: hidden; background: #f1eee8; border-bottom: 1px solid var(--rule); }
.ma-tour-body { padding: 26px 40px 0; text-align: center; }
.ma-tour-title { margin: 0 0 6px; font-size: 22px; line-height: 1.2; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); }
.ma-tour-text { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-60); }
.ma-tour-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 22px 40px 26px; }
.ma-tour-dots { display: flex; gap: 6px; }
.ma-tour-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(23, 20, 29, 0.16); cursor: pointer; transition: width 0.2s, background 0.2s; }
.ma-tour-dot.is-on { width: 18px; background: var(--ink); }
.ma-tour-next { min-width: 200px; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1; cursor: pointer; }
.ma-tour-next:hover { background: #2a2532; }
@keyframes ma-tour-up { from { opacity: 0; transform: translateY(6px); } }
@keyframes ma-tour-eq { 50% { height: 22px; } }

/* 1: both sides, answers only for the interviewer */
.ma-tour-row { position: absolute; left: 50%; width: 420px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; padding: 12px 14px; box-sizing: border-box; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(23, 20, 29, 0.06), 0 6px 18px rgba(23, 20, 29, 0.07); animation: ma-tour-up 0.45s both; }
.ma-tour-row.is-you { top: 52px; }
.ma-tour-row.is-them { top: 132px; animation-delay: 0.15s; }
.ma-tour-who { display: flex; align-items: center; gap: 10px; width: 130px; font-size: 13px; font-weight: 600; }
.ma-tour-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(23, 20, 29, 0.05); color: var(--ink); }
.ma-tour-eq { flex: 1; display: flex; align-items: center; justify-content: center; gap: 3px; height: 22px; }
.ma-tour-eq span { width: 3px; height: 6px; border-radius: 2px; background: #7c3aed; opacity: 0.8; animation: ma-tour-eq 1s ease-in-out infinite; }
.ma-tour-row.is-you .ma-tour-eq span { background: rgba(23, 20, 29, 0.28); }
.ma-tour-out { flex: none; width: 82px; font-size: 12px; font-weight: 600; text-align: center; white-space: nowrap; }
.ma-tour-out.is-none { color: rgba(23, 20, 29, 0.3); }
.ma-tour-out.is-answer { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 0; border-radius: 999px; background: #17141d; color: #fff; animation: ma-tour-up 0.4s 0.9s both; }
.ma-tour-dotlive { width: 6px; height: 6px; border-radius: 50%; background: #30d158; }

/* 2: no need to click. The cursor rests on Answer, a ring fills, it answers */
.ma-tour-bar { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgb(48 52 60); box-shadow: 0 10px 28px rgba(23, 20, 29, 0.22); }
.ma-tour-bar img { width: 24px; height: 24px; margin-right: 6px; border-radius: 6px; }
.ma-tour-btn { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 5px 0 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.8); color: #fff; font-size: 13px; font-weight: 700; }
.ma-tour-hint { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.85); }
.ma-tour-btn.is-hover { animation: ma-tour-hov 5s ease-in-out infinite; }
@keyframes ma-tour-hov { 0%, 26% { background: rgba(0, 0, 0, 0.8); box-shadow: none; } 28%, 80% { background: #000; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35); } 88%, 100% { background: rgba(0, 0, 0, 0.8); box-shadow: none; } }
.ma-tour-panel { position: absolute; left: 50%; top: 96px; width: 380px; transform: translateX(-50%); border-radius: 12px; overflow: hidden; background: rgb(24 28 36); box-shadow: 0 16px 36px rgba(23, 20, 29, 0.28); animation: ma-tour-panel 5s ease-in-out infinite; }
@keyframes ma-tour-panel { 0%, 41% { opacity: 0; transform: translate(-50%, -8px); } 47%, 84% { opacity: 1; transform: translate(-50%, 0); } 94%, 100% { opacity: 0; transform: translate(-50%, -8px); } }
.ma-tour-panel-q { padding: 10px 14px; background: rgb(48 52 60); color: #fff; font-size: 12px; font-weight: 600; }
.ma-tour-lines { display: flex; flex-direction: column; gap: 9px; padding: 14px 14px 16px; }
.ma-tour-lines span { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.22); transform-origin: left; animation: ma-tour-type 5s ease-out infinite; }
.ma-tour-lines span:nth-child(2) { animation-delay: 0.15s; }
.ma-tour-lines span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ma-tour-type { 0%, 47% { transform: scaleX(0); } 64%, 100% { transform: scaleX(1); } }
.ma-tour-pointer { position: absolute; left: 0; top: 0; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)); animation: ma-tour-move 5s ease-in-out infinite; }
@keyframes ma-tour-move { 0% { transform: translate(470px, 190px); } 26%, 84% { transform: translate(298px, 56px); } 100% { transform: translate(470px, 190px); } }
.ma-tour-pointer .ma-tour-cur { position: relative; display: block; }
.ma-tour-ring { position: absolute; left: -15px; top: -15px; width: 34px; height: 34px; transform: rotate(-90deg); }
.ma-tour-ring circle { fill: rgba(255, 255, 255, 0.18); stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 81.7; stroke-dashoffset: 81.7; animation: ma-tour-ring 5s linear infinite; }
@keyframes ma-tour-ring { 0%, 27% { stroke-dashoffset: 81.7; opacity: 0; } 28% { opacity: 1; } 41% { stroke-dashoffset: 0; opacity: 1; } 47%, 100% { stroke-dashoffset: 0; opacity: 0; } }

/* 3 (desktop): hidden from screen sharing. Your screen has the bar, theirs not */
.ma-tour-screens { position: absolute; left: 50%; top: 38px; transform: translateX(-50%); display: flex; align-items: center; gap: 22px; }
.ma-tour-screen { display: flex; flex-direction: column; align-items: center; gap: 10px; animation: ma-tour-up 0.45s both; }
.ma-tour-screen + .ma-tour-arrow + .ma-tour-screen { animation-delay: 0.35s; }
.ma-tour-win { position: relative; width: 190px; height: 128px; box-sizing: border-box; padding: 34px 14px 0; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(23, 20, 29, 0.06), 0 8px 22px rgba(23, 20, 29, 0.09); }
.ma-tour-win > span { display: block; height: 6px; margin-bottom: 8px; border-radius: 3px; background: rgba(23, 20, 29, 0.1); }
.ma-tour-minibar { position: absolute; left: 12px; right: 12px; top: 8px; display: flex; align-items: center; gap: 4px; height: 18px; padding: 0 5px; border-radius: 5px; background: rgb(48 52 60); }
.ma-tour-minibar i { display: block; width: 26px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.8); }
.ma-tour-minibar b { display: block; width: 9px; height: 9px; margin-right: 2px; border-radius: 2px; background: #8b5cf6; }
.ma-tour-cap { font-size: 12px; font-weight: 600; color: var(--ink-60); }
.ma-tour-arrow { color: rgba(23, 20, 29, 0.3); animation: ma-tour-up 0.4s 0.2s both; }

/* 4: the report */
.ma-tour-mail { position: absolute; left: 50%; top: 40px; width: 320px; box-sizing: border-box; transform: translateX(-50%); padding: 14px 16px 12px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(23, 20, 29, 0.06), 0 14px 34px rgba(23, 20, 29, 0.12); animation: ma-tour-up 0.5s both; }
.ma-tour-mail-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.ma-tour-mail-head img { width: 26px; height: 26px; border-radius: 7px; }
.ma-tour-mail-head strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ma-tour-mail-head small { display: block; font-size: 11px; color: var(--ink-40); }
.ma-tour-mail-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink); animation: ma-tour-up 0.4s both; }
.ma-tour-mail-row:nth-child(2) { animation-delay: 0.35s; }
.ma-tour-mail-row:nth-child(3) { animation-delay: 0.55s; }
.ma-tour-mail-row:nth-child(4) { animation-delay: 0.75s; }
.ma-tour-mark { width: 8px; height: 8px; border-radius: 50%; }
/* MeetAssist MCP in the tour: the rows come in one after another, a loader turns into a tick, a 7 s loop (opacity and
   transform only, nothing !important, so every frame moves) */
.ma-tour-mcp .ma-tour-mcp-mark { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #f5f4ee; }
.ma-tour-mcp .ma-tour-mail-head strong { display: flex; align-items: center; }
.ma-tour-mcp .ma-mcp-badge { display: inline-block; margin-left: 7px; padding: 0 5px; border: 1px solid rgba(23, 20, 29, 0.16); border-radius: 5px; font-size: 10px; font-weight: 600; line-height: 14px; letter-spacing: 0.02em; color: rgba(23, 20, 29, 0.55); }
.ma-tour-mcp-row { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink); opacity: 0; animation: 7s ease-out infinite; }
.ma-tour-mcp-row em { font-style: normal; color: rgba(23, 20, 29, 0.5); }
.ma-tour-mcp-row.is-r1 { animation-name: ma-tmcp-r1; }
.ma-tour-mcp-row.is-r2 { animation-name: ma-tmcp-r2; }
.ma-tour-mcp-row.is-r3 { animation-name: ma-tmcp-r3; }
.ma-tour-mcp-i { position: relative; flex: none; width: 12px; height: 12px; }
.ma-tour-mcp-spin, .ma-tour-mcp-ok { position: absolute; inset: 0; display: grid; place-items: center; animation: 7s linear infinite; }
.ma-tour-mcp-spin::before { content: ''; width: 10px; height: 10px; box-sizing: border-box; border: 1.6px solid rgba(23, 20, 29, 0.16); border-top-color: rgba(23, 20, 29, 0.6); border-radius: 50%; animation: ma-su-spin 0.8s linear infinite; }
.ma-tour-mcp-ok { color: rgba(23, 20, 29, 0.5); }
.is-r1 .ma-tour-mcp-spin { animation-name: ma-tmcp-s1; } .is-r1 .ma-tour-mcp-ok { animation-name: ma-tmcp-k1; }
.is-r2 .ma-tour-mcp-spin { animation-name: ma-tmcp-s2; } .is-r2 .ma-tour-mcp-ok { animation-name: ma-tmcp-k2; }
.is-r3 .ma-tour-mcp-spin { animation-name: ma-tmcp-s3; } .is-r3 .ma-tour-mcp-ok { animation-name: ma-tmcp-k3; }
@keyframes ma-tmcp-r1 { 0%, 4% { opacity: 0; transform: translateY(5px); } 10%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes ma-tmcp-r2 { 0%, 22% { opacity: 0; transform: translateY(5px); } 28%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes ma-tmcp-r3 { 0%, 40% { opacity: 0; transform: translateY(5px); } 46%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes ma-tmcp-s1 { 0%, 17% { opacity: 1; } 19%, 100% { opacity: 0; } }
@keyframes ma-tmcp-k1 { 0%, 17% { opacity: 0; } 19%, 100% { opacity: 1; } }
@keyframes ma-tmcp-s2 { 0%, 35% { opacity: 1; } 37%, 100% { opacity: 0; } }
@keyframes ma-tmcp-k2 { 0%, 35% { opacity: 0; } 37%, 100% { opacity: 1; } }
@keyframes ma-tmcp-s3 { 0%, 66% { opacity: 1; } 68%, 100% { opacity: 0; } }
@keyframes ma-tmcp-k3 { 0%, 66% { opacity: 0; } 68%, 100% { opacity: 1; } }
/* What's New 2026-11-24: the phone (our iPhone 15 mockup, the owner's recording, the screen at the site's numbers:
   HeroPhoneVideo.js) beside the QR to m.meetassist.io; and the follow-up that goes one level deeper */
.ma-nv-fill.ma-nv-phoneweb { align-items: flex-start; gap: 28px; padding-top: 22px; box-sizing: border-box; }
.ma-nv-iphone { position: relative; flex: none; width: 150px; aspect-ratio: 1316 / 2674; animation: ma-tour-up 0.5s both; }
.ma-nv-iphone .bk { position: absolute; left: 4.407%; top: 1.758%; width: 91.413%; height: 96.447%; border-radius: 15.13% / 7.057%; background: #000; }
.ma-nv-iphone .sc { position: absolute; left: 5.3191%; top: 2.2064%; width: 89.5897%; height: 95.5497%; border-radius: 12.72% / 5.871%; overflow: hidden; }
.ma-nv-iphone .sc img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ma-nv-iphone .fr { position: absolute; inset: 0; width: 100%; height: 100%; }
.ma-nv-qr { flex: none; margin-top: 26px; width: 170px; padding: 14px; text-align: center; animation: ma-tour-up 0.5s 0.15s both; }
.ma-nv-qr img { display: block; width: 118px; height: 118px; margin: 0 auto 8px; }
.ma-nv-qr.is-no-qr img { display: none; }
.ma-nv-qr b { display: block; font-size: 12.5px; color: var(--ink); }
.ma-nv-qr small { font-size: 11px; color: rgba(23, 20, 29, 0.5); }
.ma-nv-deep { width: 360px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.ma-nv-dq, .ma-nv-da, .ma-nv-dtag { opacity: 0; animation: 8s ease-out infinite; }
.ma-nv-dq { align-self: flex-start; max-width: 300px; padding: 5px 10px; border-radius: 12px 12px 12px 4px; background: #fff; box-shadow: 0 1px 2px rgba(23, 20, 29, 0.06); font-size: 12px; color: rgba(23, 20, 29, 0.75); }
.ma-nv-dq b { display: block; margin-bottom: 2px; font-size: 10px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: rgba(23, 20, 29, 0.4); }
.ma-nv-da { padding: 7px 11px; border-radius: 12px; background: #1c1a22; color: #f4f3f6; font-size: 12px; line-height: 1.45; }
.ma-nv-da.is-deep { box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.35); }
.ma-nv-dtag { align-self: flex-end; margin-top: -2px; font-size: 10.5px; font-weight: 600; color: var(--violet, #7c3aed); }
.ma-nv-deep .is-1 { animation-name: ma-nvd-1; } .ma-nv-deep .is-2 { animation-name: ma-nvd-2; } .ma-nv-deep .is-3 { animation-name: ma-nvd-3; }
.ma-nv-deep .is-4 { animation-name: ma-nvd-4; } .ma-nv-deep .is-5 { animation-name: ma-nvd-5; }
@keyframes ma-nvd-1 { 0%, 2% { opacity: 0; transform: translateY(5px); } 7%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes ma-nvd-2 { 0%, 10% { opacity: 0; transform: translateY(5px); } 15%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes ma-nvd-3 { 0%, 26% { opacity: 0; transform: translateY(5px); } 31%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes ma-nvd-4 { 0%, 36% { opacity: 0; transform: translateY(5px); } 41%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes ma-nvd-5 { 0%, 46% { opacity: 0; } 51%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
.ma-tour-mark.is-q { background: #7c3aed; }
.ma-tour-mark.is-a { background: #0a84ff; }
.ma-tour-mark.is-f { background: #30d158; }
@media (prefers-reduced-motion: reduce) {
  .ma-tour *, .ma-tour *::before { animation: none !important; }
  .ma-tour-panel, .ma-tour-lines span, .ma-tour-out.is-answer { opacity: 1; transform: translateX(-50%); }
  .ma-tour-lines span { transform: none; }
}

/* ── after Stop: the transcript and the report ───────────────────────────────
   components/SessionSummary.js, in both hosts; the agreed design is
   packages/desktop/prototypes/session-summary.html. The root carries .ma-su
   too: the setup screen's card, size, tokens and buttons and (with
   .ma-su-page, in the extension) its page reset. Quiet on purpose: no rules
   between lines, no boxes around them. New session is always bottom right.
   Scoped under .ma-sum. */
.ma-su.ma-sum { flex-direction: column; background: var(--page); }
.ma-sum-head { flex: none; padding: 26px 32px 0; }
.ma-sum-head[hidden] { display: none; }
.ma-sum-back { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 10px -2px; font-size: 13px; }
.ma-sum-meta { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink-40); }

/* the tabs, and on their right the actions for what is open */
.ma-sum-bar { flex: none; display: flex; align-items: flex-end; min-height: 30px; margin: 20px 32px 0; border-bottom: 1px solid var(--rule); }
.ma-sum-bar[hidden] { display: none; }
.ma-sum-bar.is-plain { margin-top: 6px; border-bottom-color: transparent; }
.ma-sum-tabs { display: flex; gap: 22px; }
.ma-sum-tab { position: relative; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0 0 9px; border: none; background: none; font-size: 13px; font-weight: 600; color: var(--ink-40); cursor: pointer; transition: color 160ms ease-out; }
.ma-sum-tab:hover { color: var(--ink-60); }
.ma-sum-tab.is-current { color: var(--ink); }
.ma-sum-tab.is-current::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--violet); }
.ma-sum-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.ma-sum-acts { display: flex; gap: 2px; margin: 0 -8px 4px auto; }
.ma-sum-act { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 5px 8px; border: none; border-radius: 6px; background: none; font-size: 12.5px; font-weight: 600; color: var(--ink-60); cursor: pointer; }
.ma-sum-act:hover:not(:disabled) { background: rgba(23, 20, 29, 0.05); color: var(--ink); }
.ma-sum-act:disabled { opacity: 0.4; cursor: default; }

.ma-sum-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; padding: 4px 32px 20px; }
.ma-sum-body.is-centred { overflow: hidden; }
.ma-sum-empty { margin: 18px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-60); }

/* transcript */
.ma-sum-turn { margin-top: 18px; }
.ma-sum-who { display: flex; align-items: baseline; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ink-40); }
.ma-sum-turn.is-you .ma-sum-who { color: var(--violet); }
.ma-sum-who time { font-weight: 400; color: var(--ink-40); font-variant-numeric: tabular-nums; }
.ma-sum-said { margin: 3px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink); overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }

/* report: a short document */
.ma-sum-doc { max-width: 680px; }
.ma-sum-sec { margin-top: 22px; }
.ma-sum-h { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.ma-sum-p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink); user-select: text; -webkit-user-select: text; }
.ma-sum-list { margin: 0; padding: 0 0 0 18px; font-size: 14px; line-height: 1.55; color: var(--ink); user-select: text; -webkit-user-select: text; }
.ma-sum-list li { margin: 0; }
.ma-sum-list li + li { margin-top: 4px; }
.ma-sum-qs { margin: 0; padding: 0; list-style: none; }
.ma-sum-q { margin: 0; padding: 0; }
.ma-sum-q + .ma-sum-q { margin-top: 12px; }
.ma-sum-q-t { font-size: 14px; line-height: 1.5; color: var(--ink); user-select: text; -webkit-user-select: text; }
.ma-sum-q-c { margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--ink-60); user-select: text; -webkit-user-select: text; }
.ma-sum-link { display: inline-block; margin-top: 26px; font-size: 13px; }

/* a message in the middle of the Report tab: the loader, no connection, late */
.ma-sum-wait { flex: 1; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ma-su .ma-sum-wait .ma-spinner { width: 18px; height: 18px; border-width: 2px; margin-bottom: 14px; }
.ma-sum-wait b { font-size: 14px; font-weight: 600; color: var(--ink); }
.ma-sum-wait > span:not(.ma-spinner) { margin-top: 4px; font-size: 13px; color: var(--ink-60); }
.ma-sum-wait .ma-sum-link { margin-top: 14px; }
.ma-sum-view { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--violet); }
.ma-sum-view:hover { color: #6d28d9; text-decoration: none; }
.ma-sum-retry { margin-top: 16px; padding: 8px 16px; font-size: 13px; }
.ma-sum-retry + .ma-sum-view, .ma-sum-link + .ma-sum-view { margin-top: 12px; }

/* a session with no report: centred */
.ma-sum-done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ma-sum-check { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: rgba(47, 107, 79, 0.1); color: var(--done); }
.ma-sum-open { margin-top: 26px; }

/* footer: the minutes offer on the left, New session on the right */
.ma-sum-foot { flex: none; display: flex; align-items: center; gap: 12px; margin: 0 32px; padding: 14px 0 20px; border-top: 1px solid var(--rule); }
.ma-sum-offer { font-size: 13px; color: var(--ink-60); }
.ma-sum-offer .ma-su-link { color: var(--violet); font-weight: 600; }
.ma-sum-offer .ma-su-link:hover { color: #6d28d9; text-decoration: none; }
.ma-sum-new { margin-left: auto; }

.ma-su-pick-list:has(.ma-su-kb-empty) { border: 0; background: none; box-shadow: none; overflow: visible; }
.ma-su-kb-empty { overflow: hidden; }
.ma-su-kb-empty .ma-su-row { transition: background 0.12s; }
.ma-su-kb-empty .ma-su-row:hover { background: rgba(23, 20, 29, 0.03); }
.ma-su-kb-empty .ma-su-row:hover .ma-su-tile { border-color: var(--violet-edge); color: var(--violet); }
.ma-su-sheet.is-sd .ma-su-pick-list:has(.ma-su-kb-empty) { border: 0; border-radius: 0; background: none; }
.ma-su-sheet.is-sd .ma-su-kb-empty .ma-su-row:hover { background: var(--sd-hover); }
.ma-su-sheet.is-sd .ma-su-kb-empty .ma-su-row:hover .ma-su-tile { border-color: var(--violet-edge); color: var(--violet); }

/* ── Documents (2026-10-12): laid out like the owner's reference (ParakeetAI),
   pixel for pixel; the texts are our own. shadcn's zinc theme: black primary
   button, white outline buttons, 16px dialogs, 8px controls. Scoped to the
   Documents sheet and the sheets it opens (.is-pk). ── */
/* ── Appearance (setup, step 2): the view as two pictures, then zoom and
   opacity. The pictures are the real toolbar in each view, three layers
   (src/icons/view-<view>-base|mid|top.png; SessionSetup openAppearance), the
   first two at the chosen opacity, over a plain light page (the owner found
   lines of "text" behind it noisy). The picked one is ringed in the setup's
   violet. */
.ma-su-sheet.is-appearance { width: 600px; }
/* Automatic answers (SessionSetup openAutoAnswers): one column of the setup screen's own rows and switches. The
   rows have no icon tile, so the line between two of them starts at the text. With the switch off the rules under
   it decide nothing and step back. */
.ma-su-sheet.is-auto { width: min(520px, calc(100% - 32px)); }
.ma-su-sheet.is-auto .ma-su-group { margin-bottom: 4px; transition: opacity 0.15s; }
.ma-su-sheet.is-auto .ma-su-group.is-idle { opacity: 0.5; }
.ma-su-sheet.is-auto .ma-su-row { min-height: 46px; }
.ma-su-sheet.is-auto .ma-su-row + .ma-su-row::before { left: 14px; }
.ma-su-auto-head { margin: 16px 0 8px; font-size: 12.5px; font-weight: 500; color: var(--pk-muted); }
/* The rows scroll, the buttons under them do not (a short window cut Reset and Done off, owner, 2026-11-16).
   The side room keeps the groups' edges from being cut by the scroll box. */
.ma-su-sheet.is-auto .ma-su-sheet-body { margin: 0 -6px; padding: 1px 6px 2px; }
.ma-su-sheet.is-auto .ma-su-st-foot { flex: none; }
.ma-su-auto-name { display: flex; align-items: center; }
.ma-su-auto-name .ma-su-rec { font-style: normal; }
.ma-su-ap-cards { display: flex; flex-direction: column; gap: 10px; }
.ma-su-ap-card { display: flex; flex-direction: column; margin: 0; padding: 0; border: 1px solid #e4e4e7; border-radius: 12px; background: #fff; overflow: hidden; cursor: pointer; text-align: left; font: inherit; color: inherit; transition: border-color 160ms ease-out, box-shadow 160ms ease-out; }
.ma-su-ap-card:hover:not(.is-on) { border-color: #d4d4d8; }
.ma-su-ap-card.is-on { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
.ma-su-ap-card:focus-visible { outline: 2px solid var(--violet-edge); outline-offset: 2px; }
.ma-su-ap-pic {
  display: flex; justify-content: center; align-items: flex-start; min-height: 40px; padding: 14px 16px;
  background: #eaecf1;
}
.ma-su-ap-shot { position: relative; display: block; }
.ma-su-ap-img { display: block; width: 100%; height: auto; max-width: none; }
.ma-su-ap-img.is-mid, .ma-su-ap-img.is-top { position: absolute; inset: 0; }
.ma-su-ap-card[data-view="full"] .ma-su-ap-shot { width: 100%; }
/* The simple bar at the same scale as the full one (its width over the full's). */
.ma-su-ap-card[data-view="simple"] .ma-su-ap-shot { width: 89.9%; }
.ma-su-ap-cap { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.ma-su-ap-radio { width: 16px; height: 16px; flex: none; box-sizing: border-box; border-radius: 50%; border: 1.5px solid #d4d4d8; transition: border 160ms ease-out; }
.ma-su-ap-card.is-on .ma-su-ap-radio { border: 5px solid var(--violet); }
.ma-su-ap-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.ma-su-ap-hint { font-size: 12.5px; color: var(--ink-60); }
.ma-su-ap-rows { margin-top: 16px; border-top: 1px solid var(--rule); }
.ma-su-ap-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.ma-su-ap-label { font-size: 14px; font-weight: 500; color: var(--ink); }
.ma-su-seg.ma-su-ap-step { grid-template-columns: 36px 64px 36px; align-items: center; }
.ma-su-seg.ma-su-ap-step button { height: 28px; padding: 0; font-size: 16px; color: var(--ink); }
.ma-su-seg.ma-su-ap-step button:hover:not(:disabled) { background: #fff; }
.ma-su-seg.ma-su-ap-step button:disabled { color: var(--ink-40); cursor: default; }
.ma-su-ap-val { display: flex; align-items: center; justify-content: center; height: 28px; font-size: 13.5px; font-weight: 500; color: var(--ink); }

.ma-su-sheet.is-pk { --pk-fg: #09090b; --pk-muted: #71717a; --pk-border: #e4e4e7; --pk-primary: #18181b; --pk-hover: #f4f4f5; --pk-ring: rgba(161, 161, 170, 0.35);
  padding: 20px; border: 1px solid var(--pk-border); border-radius: 16px; background: #fff; color: var(--pk-fg);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
.ma-su-sheet.is-pk.is-wide { width: 512px; }
.ma-su-sheet.is-pk .ma-su-sheet-title { padding-right: 44px; font-size: 16.5px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--pk-fg); }
.ma-su-sheet.is-pk .ma-su-sheet-sub { margin: 4px 0 20px; font-size: 14px; line-height: 20px; color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-sheet-title.is-center, .ma-su-sheet.is-pk .ma-su-sheet-sub.is-center { padding: 0 28px; text-align: center; }
.ma-su-sheet.is-pk > .ma-su-x { top: 16px; right: 16px; border-color: var(--pk-border); color: var(--pk-fg); }
.ma-su-sheet.is-pk > .ma-su-x:hover { background: var(--pk-hover); }

.ma-pk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border: 1px solid var(--pk-border, #e4e4e7); border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); font: inherit; font-size: 14px; font-weight: 500; line-height: 1; color: var(--pk-fg, #09090b); cursor: pointer; white-space: nowrap; transition: background 0.15s, opacity 0.15s; }
.ma-pk-btn:hover:not(:disabled) { background: var(--pk-hover, #f4f4f5); }
.ma-pk-btn svg { flex: none; width: 16px; height: 16px; }
.ma-pk-btn.is-primary { border-color: var(--pk-primary, #18181b); background: var(--pk-primary, #18181b); color: #fafafa; box-shadow: none; }
.ma-pk-btn.is-primary:hover:not(:disabled) { background: #27272a; }
.ma-pk-btn:disabled { opacity: 0.5; cursor: default; }
.ma-pk-btn.is-block { flex: none; width: 100%; border-radius: 10px; }
.ma-pk-btn.is-sm { height: 32px; padding: 0 12px; gap: 6px; font-size: 13.5px; }
.ma-pk-btn.is-sm svg { width: 14px; height: 14px; }

/* The three ways in: the empty list, and Add. */
.ma-pk-ways { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ma-pk-ways .ma-pk-btn { width: 218px; }
.ma-pk-empty { display: flex; flex-direction: column; align-items: center; padding: 24px 8px 16px; text-align: center; }
.ma-pk-empty h3 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--pk-fg); }
.ma-pk-empty p { max-width: 380px; margin: 4px 0 24px; font-size: 14.5px; line-height: 21px; color: var(--pk-muted); }
.ma-su-sheet.is-pk.is-empty > .ma-su-sheet-sub { display: none; }
.ma-su-sheet.is-pk .ma-su-pick-list:has(.ma-pk-empty) { border: 0; border-radius: 0; background: none; box-shadow: none; }
.ma-su-sheet.is-pk.is-ways { width: 400px; }
.ma-su-sheet.is-pk.is-ways .ma-pk-ways { padding: 0 0 8px; }

/* Upload: a dashed drop zone that is also the file picker. */
.ma-pk-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 148px; border: 1px dashed #d4d4d8; border-radius: 12px; font-size: 14px; line-height: 20px; color: var(--pk-muted); text-align: center; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.ma-pk-drop svg { color: #52525b; }
.ma-pk-drop:hover, .ma-pk-drop.is-over { border-color: #a1a1aa; background: #fafafa; }

/* Import from a link, Write or paste: a tall dialog, the button at its foot. */
.ma-su-sheet.is-pk.is-form { height: min(680px, 100%); }
.ma-pk-form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: auto; margin: 0 -3px; padding: 0 3px 3px; }
.ma-pk-label { margin: 0 0 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--pk-fg); }
.ma-pk-input + .ma-pk-label { margin-top: 16px; }
.ma-pk-input { box-sizing: border-box; flex: none; width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--pk-border); border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); font: inherit; font-size: 14px; color: var(--pk-fg); outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
.ma-pk-input::placeholder { color: var(--pk-muted); }
.ma-pk-input:focus { border-color: #a1a1aa; box-shadow: 0 0 0 3px var(--pk-ring); }
.ma-pk-textarea { height: auto; min-height: 98px; padding: 8px 12px; line-height: 20px; resize: none; }
.ma-pk-textarea.is-tall { flex: 1 1 auto; min-height: 160px; }
.ma-pk-help { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: var(--pk-muted); }
.ma-su-sheet.is-pk.is-form > .ma-su-status { margin: 12px 0 0; font-size: 13px; line-height: 18px; color: var(--pk-muted); }
.ma-su-sheet.is-pk.is-form > .ma-su-status:empty { display: none; }
.ma-su-sheet.is-pk.is-form > .ma-pk-btn.is-block { margin-top: 16px; }

/* The list. */
.ma-su-sheet.is-pk.is-pick { height: auto; max-height: min(620px, 100%); }
.ma-su-sheet.is-pk.is-pick .ma-su-sheet-body { flex: 1 1 auto; min-height: 0; overflow: auto; }
.ma-su-sheet.is-pk .ma-su-search { height: 36px; padding: 0 12px; border: 1px solid var(--pk-border); border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); font-size: 14px; color: var(--pk-fg); }
.ma-su-sheet.is-pk .ma-su-search::placeholder { color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-search:focus { border-color: #a1a1aa; box-shadow: 0 0 0 3px var(--pk-ring); }
.ma-su-sheet.is-pk .ma-su-list { border: 1px solid var(--pk-border); border-radius: 12px; background: #fff; box-shadow: none; }
.ma-su-sheet.is-pk .ma-su-pick { gap: 12px; padding: 11px 14px; }
.ma-su-sheet.is-pk .ma-su-pick + .ma-su-pick::before { left: 0; background: #f4f4f5; }
.ma-su-sheet.is-pk .ma-su-pick:hover { background: #fafafa; }
.ma-su-sheet.is-pk .ma-su-pick-name { font-size: 14px; font-weight: 500; color: var(--pk-fg); }
.ma-su-sheet.is-pk .ma-su-pick-meta { gap: 6px; font-size: 12.5px; color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-pick-meta .ma-spinner { width: 11px; height: 11px; }
.ma-su-sheet.is-pk .ma-su-pick-check input { accent-color: var(--pk-primary); }
.ma-su-sheet.is-pk .ma-pk-err { color: #dc2626; }
.ma-su-sheet.is-pk .ma-su-more-row { width: 28px; height: 28px; border-radius: 6px; color: var(--pk-muted); opacity: 1; }
.ma-su-sheet.is-pk .ma-su-more-row:hover, .ma-su-sheet.is-pk .ma-su-more-row.is-open { background: var(--pk-hover); color: var(--pk-fg); }
.ma-su-sheet.is-pk .ma-su-rowmenu { right: 14px; padding: 4px; border: 1px solid var(--pk-border); border-radius: 8px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.ma-su-sheet.is-pk .ma-su-rowmenu [data-view], .ma-su-sheet.is-pk .ma-su-rowmenu [data-del] { padding: 6px 8px; border-radius: 4px; font-size: 14px; }
.ma-su-sheet.is-pk .ma-su-rowmenu [data-view]:hover { background: var(--pk-hover); }
.ma-su-sheet.is-pk > .ma-su-status { margin: 10px 0 0 2px; font-size: 13px; line-height: 18px; color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-status.is-error { color: #dc2626; }
.ma-su-sheet.is-pk .ma-su-sheet-foot { margin-top: 16px; gap: 10px; }
.ma-su-sheet.is-pk .ma-su-sheet-foot[hidden] { display: none; }
.ma-su-sheet.is-pk .ma-su-pick-count { margin-right: auto; font-size: 13px; color: var(--pk-muted); }
.ma-su .ma-su-sheet.is-pk .ma-spinner { border-color: #e4e4e7; border-top-color: #52525b; }

/* CV / Profile in the Documents look (2026-10-12): zinc tiles, a black "In use"
   badge, the CV in use a shade darker; LinkedIn notes as help text; the View
   sheet in the same dialog. */
.ma-su-sheet.is-pk .ma-su-tile { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--pk-border); border-radius: 8px; background: #fff; color: #52525b; }
.ma-su-sheet.is-pk .ma-su-tile svg { width: 16px; height: 16px; }
.ma-su-sheet.is-pk .ma-su-tile .ma-spinner { width: 14px; height: 14px; }
.ma-su-sheet.is-pk.is-cv .ma-su-pick { cursor: pointer; }
.ma-su-sheet.is-pk .ma-su-pick.is-on { background: #fafafa; }
.ma-su-sheet.is-pk .ma-su-pick.is-on .ma-su-tile { border-color: var(--pk-primary); background: #fff; color: var(--pk-primary); }
.ma-su-sheet.is-pk .ma-su-opt-check { display: none; }
.ma-su-sheet.is-pk .ma-su-inuse { height: 22px; padding: 0 8px; border-radius: 6px; background: var(--pk-primary); color: #fafafa; font-size: 12px; font-weight: 500; }
.ma-su-sheet.is-pk .ma-su-li-note { margin: 8px 0 0; font-size: 13.5px; line-height: 20px; color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-li-note b { font-weight: 600; color: var(--pk-fg); }
.ma-su-sheet.is-pk .ma-su-li-pdf { color: var(--pk-fg); font-weight: 500; text-decoration: underline; text-decoration-color: #d4d4d8; text-underline-offset: 3px; cursor: pointer; }
.ma-su-sheet.is-pk .ma-su-li-pdf:hover { text-decoration-color: var(--pk-fg); }
.ma-su-sheet.is-pk.is-form.is-short { height: auto; }
.ma-su-sheet.is-pk.is-form.is-short .ma-pk-form { flex: none; }
.ma-su-sheet.is-pk.is-view { height: min(560px, 100%); }
.ma-su-sheet.is-pk .ma-su-view { gap: 16px; font-size: 14px; line-height: 21px; color: #3f3f46; }
.ma-su-sheet.is-pk .ma-su-view h4 { margin: 0 0 6px; font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-view-item + .ma-su-view-item { border-top-color: #f4f4f5; }
.ma-su-sheet.is-pk .ma-su-view-item b { font-weight: 500; color: var(--pk-fg); }
.ma-su-sheet.is-pk .ma-su-view-item span, .ma-su-sheet.is-pk .ma-su-view-item p { font-size: 13px; color: var(--pk-muted); }
.ma-su-sheet.is-pk.is-view .ma-su-sheet-foot { justify-content: flex-end; }

/* Add CV like the reference's resumes (2026-10-12): three full-width 44px
   buttons; each way its own sheet with a back arrow; forms end in an inline
   button at the left. */
.ma-pk-ways.is-full { align-items: stretch; gap: 8px; }
.ma-pk-ways.is-full .ma-pk-btn { width: 100%; height: 44px; border-radius: 10px; font-size: 14.5px; }
.ma-su-sheet.is-pk.is-ways { width: 404px; }
.ma-su-sheet.is-pk.is-mid { width: 576px; }
.ma-pk-head { display: flex; align-items: center; gap: 10px; padding-right: 32px; }
.ma-pk-head .ma-su-sheet-title { padding-right: 0; }
.ma-pk-head.is-center { position: relative; justify-content: center; padding: 0 32px; }
.ma-pk-head.is-center .ma-pk-back { position: absolute; left: 0; top: 2px; }
.ma-pk-back { flex: none; display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: none; border-radius: 4px; background: none; color: var(--pk-fg); opacity: 0.7; cursor: pointer; }
.ma-pk-back:hover { opacity: 1; }
.ma-pk-back svg { width: 16px; height: 16px; }
.ma-su-sheet.is-pk.is-cvform .ma-su-sheet-sub { margin-bottom: 20px; }
.ma-pk-actions { display: flex; margin-top: 16px; }
.ma-pk-textarea.is-cv { height: 218px; min-height: 120px; resize: vertical; }
.ma-su-sheet.is-pk.is-cvform > .ma-su-status { margin: 10px 0 0; font-size: 13px; line-height: 18px; color: var(--pk-muted); }
.ma-su-sheet.is-pk.is-cvform > .ma-su-status:empty { display: none; }
.ma-su-sheet.is-pk.is-cvform .ma-su-li-note { margin-top: 8px; }
.ma-su-sheet.is-pk .ma-pk-head .ma-su-sheet-title { padding-right: 0; }
/* The ✕ above a centred head (position: relative, full width), which took its clicks. */
.ma-su-sheet.is-pk > .ma-su-x { z-index: 2; }

/* "In use": the word and a switch on every row of Documents and CV / Profile,
   as on the website (2026-10-12). */
.ma-pk-onoff { flex: none; font-size: 12px; color: var(--pk-muted, #71717a); user-select: none; }
.ma-pk-switch { position: relative; flex: none; width: 36px; height: 20px; padding: 0; border: none; border-radius: 999px; background: #e4e4e7; cursor: pointer; transition: background 0.15s; }
.ma-pk-switch span { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); transition: transform 0.15s; }
.ma-pk-switch[aria-checked="true"] { background: #18181b; }
.ma-pk-switch[aria-checked="true"] span { transform: translateX(16px); }
.ma-su-sheet.is-pk .ma-su-pick { cursor: pointer; }
.ma-su-sheet.is-pk .ma-su-pick[aria-busy="true"] .ma-pk-switch { opacity: 0.5; }

/* A ⋯ menu on a list that doesn't scroll may leave the list's box (placeRowMenu). */
.ma-su-sheet .ma-su-sheet-body.is-menu-open, .ma-su-sheet.is-pk.is-pick .ma-su-sheet-body.is-menu-open { overflow: visible; }

/* Buttons and switches in MeetAssist's own look (owner, 2026-10-12: "style the
   buttons as ours"): the setup screen's pills, ink for the main action, white
   with violet icons for the rest; switches violet like the screen's toggles.
   The layout stays the reference's. */
.ma-pk-btn { height: 36px; padding: 0 18px; gap: 7px; border: 1px solid var(--rule, rgba(23, 20, 29, 0.1)); border-radius: 999px; background: #fff; box-shadow: none; font-size: 13.5px; font-weight: 600; color: var(--ink, #17141d); transition: background 160ms ease-out, border-color 160ms ease-out, opacity 160ms ease-out; }
.ma-pk-btn:hover:not(:disabled) { background: #fff; border-color: var(--violet-edge, rgba(124, 58, 237, 0.45)); }
.ma-pk-btn svg { color: var(--violet, #7c3aed); }
.ma-pk-btn.is-primary { border-color: var(--ink, #17141d); background: var(--ink, #17141d); color: var(--paper, #faf7f2); }
.ma-pk-btn.is-primary:hover:not(:disabled) { border-color: #2a2434; background: #2a2434; }
.ma-pk-btn.is-primary svg { color: inherit; }
.ma-pk-btn:disabled { opacity: 0.55; }
.ma-pk-btn.is-block { border-radius: 999px; }
.ma-pk-ways.is-full .ma-pk-btn { height: 44px; border-radius: 999px; }
.ma-pk-btn.is-sm { height: 34px; padding: 0 16px; font-size: 13px; }
.ma-pk-switch { width: 36px; height: 21px; background: rgba(23, 20, 29, 0.14); transition: background 160ms ease-out; }
.ma-pk-switch span { top: 2.5px; left: 2.5px; transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1); }
.ma-pk-switch[aria-checked="true"] { background: var(--violet, #7c3aed); }
.ma-pk-switch[aria-checked="true"] span { transform: translateX(15px); }
.ma-su-sheet.is-pk .ma-pk-input:focus, .ma-su-sheet.is-pk .ma-su-search:focus { border-color: var(--violet-edge, rgba(124, 58, 237, 0.45)); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12); }
.ma-su-sheet.is-pk .ma-pk-drop:hover, .ma-su-sheet.is-pk .ma-pk-drop.is-over { border-color: var(--violet-edge, rgba(124, 58, 237, 0.45)); background: rgba(124, 58, 237, 0.03); }
.ma-su-sheet.is-pk .ma-pk-drop svg { color: var(--violet, #7c3aed); }
.ma-su-sheet.is-pk .ma-su-rowmenu.is-confirm { padding: 12px; }
/* Form dialogs end in a small button at the right, like the app's other sheets (2026-10-12). */
.ma-pk-actions.is-end { justify-content: flex-end; }
.ma-su-sheet.is-pk.is-form > .ma-pk-actions { flex: none; }

/* Answer preferences and Answer instructions in the CV / Documents look
   (owner, 2026-10-12): white dialog, zinc text, plain labels, a light grey
   segmented track with a white thumb, our buttons; the live preview keeps the
   answer panel's own look. */
.ma-su-sheet.is-style.is-pk { padding: 0; overflow: hidden; }
.ma-su-sheet.is-style.is-pk .ma-su-st-set { padding: 20px 22px 22px; }
.ma-su-sheet.is-style.is-pk .ma-su-st-set .ma-su-sheet-sub { margin: 4px 0 20px; }
.ma-su-sheet.is-pk .ma-su-st-head { margin: 0 0 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--pk-fg); }
.ma-su-sheet.is-pk .ma-su-st-head.ma-su-st-head-gap { margin-top: 20px; }
.ma-su-sheet.is-pk .ma-su-st-hint { margin: 8px 0 0; font-size: 13px; line-height: 18px; color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-seg { background: #f4f4f5; border-radius: 10px; }
.ma-su-sheet.is-pk .ma-su-seg button { padding: 6px 10px; font-size: 13.5px; font-weight: 500; color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-seg button.is-on { color: var(--pk-fg); }
.ma-su-sheet.is-pk .ma-su-thumb { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 1px #e4e4e7; }
.ma-su-sheet.is-pk .ma-su-st-behav { margin-top: 20px; padding-top: 18px; border-top: 1px solid #f4f4f5; }
.ma-su-sheet.is-pk .ma-su-st-opt { padding: 2px 0; }
.ma-su-sheet.is-pk .ma-su-st-opt-text { font-size: 14px; font-weight: 500; color: var(--pk-fg); }
.ma-su-sheet.is-pk .ma-su-st-link { width: calc(100% + 16px); min-height: 36px; margin: 0 -8px; padding: 0 8px; border-radius: 8px; }
.ma-su-sheet.is-pk .ma-su-st-link:hover { background: #f4f4f5; }
.ma-su-sheet.is-pk .ma-su-st-link-val { font-size: 13px; color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-st-prev { padding: 20px 22px 22px; border-left: 1px solid var(--pk-border); background: #fafafa; }
.ma-su-sheet.is-pk .ma-su-st-qpills { gap: 4px; }
.ma-su-sheet.is-pk .ma-su-st-qpills button { padding: 5px 10px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-st-qpills button:hover { background: #f4f4f5; color: var(--pk-fg); }
.ma-su-sheet.is-pk .ma-su-st-qpills button.is-on { background: #fff; color: var(--pk-fg); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 1px #e4e4e7; }
.ma-su-sheet.is-pk .ma-su-st-foot { margin-top: 16px; gap: 8px; }
.ma-su-sheet.is-pk.is-prompt .ma-pk-textarea { min-height: 200px; }
.ma-su-sheet.is-pk .ma-su-sheet-foot .ma-su-link { font-size: 13.5px; font-weight: 500; color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-sheet-foot .ma-su-link:hover { color: var(--pk-fg); }

/* Answer preferences, tighter (owner, 2026-10-12): the settings fit with no
   scrollbar, the preview takes the rest of the height, Reset / Done sit at
   the bottom. The two last sections share one divider. */
.ma-su-sheet.is-style.is-pk:not(.is-analyze) { height: min(640px, calc(100% - 32px)); }
.ma-su-sheet.is-style.is-pk:not(.is-analyze) .ma-su-live { flex: 1 1 auto; height: auto; min-height: 280px; }
.ma-su-sheet.is-style.is-pk .ma-su-st-set { padding: 18px 22px; }
.ma-su-sheet.is-style.is-pk .ma-su-st-set .ma-su-sheet-sub { margin: 4px 0 14px; font-size: 13.5px; }
.ma-su-sheet.is-pk .ma-su-st-head { margin: 0 0 6px; font-size: 13.5px; }
.ma-su-sheet.is-pk .ma-su-st-head.ma-su-st-head-gap { margin-top: 12px; }
.ma-su-sheet.is-pk .ma-su-seg button { padding: 5px 8px; font-size: 13px; }
.ma-su-sheet.is-pk .ma-su-st-hint { margin: 6px 0 0; font-size: 12.5px; line-height: 17px; }
.ma-su-sheet.is-pk .ma-su-st-behav { margin-top: 14px; padding-top: 12px; }
.ma-su-sheet.is-pk .ma-su-st-behav + .ma-su-st-behav { margin-top: 10px; padding-top: 0; border-top: 0; }
.ma-su-sheet.is-pk .ma-su-st-behav .ma-su-st-head { margin-bottom: 4px; font-size: 12.5px; color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-st-opt { min-height: 30px; }
.ma-su-sheet.is-pk .ma-su-st-link { min-height: 32px; }
.ma-su-sheet.is-style.is-pk .ma-su-st-prev { padding: 18px 22px; }
.ma-su-sheet.is-style.is-pk .ma-su-st-prev-head { margin-bottom: 12px; }
.ma-su-sheet.is-style.is-pk .ma-su-st-foot { flex: none; margin-top: 14px; }
/* A real line box, not line-height 1: with the system font the words sat
   off-centre in a 36px pill (owner, 2026-10-12). */
.ma-pk-btn { line-height: 20px; }

/* Previous job descriptions in the CV / Documents look (owner, 2026-10-12):
   white dialog, a tile per row, a quiet "In use" badge; the Previous jobs
   button with a grey icon, no violet. */
.ma-su-sheet.is-pk.is-prev { width: 512px; height: min(560px, 100%); }
.ma-su-sheet.is-pk.is-prev .ma-su-search { flex: none; margin-bottom: 12px; }
.ma-su-sheet.is-pk.is-prev .ma-su-sheet-body { margin: 0 -3px; padding: 0 3px 3px; }
.ma-su-sheet.is-pk .ma-su-prev-title { font-size: 14px; font-weight: 500; color: var(--pk-fg); }
.ma-su-sheet.is-pk .ma-su-prev-meta { margin-top: 2px; font-size: 12.5px; color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-prev-meta svg { color: #a1a1aa; }
.ma-su-sheet.is-pk .ma-su-badge-quiet { flex: none; height: 22px; padding: 0 8px; border-radius: 6px; background: #f4f4f5; color: var(--pk-fg); font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; }
.ma-su-sheet.is-pk .ma-su-empty { color: var(--pk-muted); }
.ma-su-jd-prev:hover { border-color: rgba(23, 20, 29, 0.24); }
.ma-su-jd-prev svg { color: var(--ink-60); }
.ma-su-sheet.is-pk.is-prev { height: auto; max-height: min(560px, 100%); }
.ma-su-sheet.is-pk .ma-su-badge-quiet { text-transform: none; letter-spacing: 0; }
.ma-su-sheet.is-pk .ma-su-field-error { margin: 8px 0 0; font-size: 13px; color: #dc2626; }
.ma-su-sheet.is-pk .ma-su-field-error:empty { display: none; }

/* Language, AI model, Programming language and Continue on your phone in the
   CV / Documents look (owner, 2026-10-12): white dialog, plain rows, a dark
   tick on the one chosen, neutral badges; no violet. */
.ma-su-sheet.is-pk.is-lang { width: 512px; height: min(560px, 100%); }
.ma-su-sheet.is-pk.is-picker .ma-su-search { flex: none; margin-bottom: 12px; }
.ma-su-sheet.is-pk.is-picker .ma-su-sheet-body { margin: 0 -3px; padding: 0 3px 3px; }
.ma-su-sheet.is-pk .ma-su-opt { gap: 12px; padding: 10px 14px; font-size: 14px; color: var(--pk-fg); }
.ma-su-sheet.is-pk.is-lang .ma-su-opt { padding: 9px 14px; }
.ma-su-sheet.is-pk .ma-su-opt + .ma-su-opt::before { left: 0; background: #f4f4f5; }
.ma-su-sheet.is-pk .ma-su-opt:hover { background: #fafafa; }
.ma-su-sheet.is-pk .ma-su-opt.is-on { background: #fafafa; }
.ma-su-sheet.is-pk .ma-su-opt.is-locked { color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-opt-sub { margin-top: 1px; font-size: 12.5px; color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-opt .ma-su-opt-check { display: inline-block; flex: none; width: 16px; text-align: center; visibility: hidden; font-weight: 600; color: var(--pk-fg); }
.ma-su-sheet.is-pk .ma-su-opt.is-on .ma-su-opt-check { visibility: visible; }
.ma-su-sheet.is-pk .ma-su-badge { height: 22px; padding: 0 8px; border-radius: 6px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; text-transform: none; letter-spacing: 0; background: #f4f4f5; color: var(--pk-fg); }
.ma-su-sheet.is-pk .ma-su-badge-up { border: 1px solid #e4e4e7; background: #fff; }
.ma-su-sheet.is-pk .ma-su-group-head { margin: 16px 0 8px; font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-empty { padding: 24px 0; text-align: center; font-size: 13.5px; color: var(--pk-muted); }

.ma-su-sheet.is-pk.is-phone.is-wide { width: 720px; padding: 0; overflow: hidden; }
.ma-su-sheet.is-pk.is-phone:not(.is-wide) { width: 420px; }
.ma-su-sheet.is-pk .ma-su-ph-side { border-right: 1px solid var(--pk-border); background: #fafafa; }
.ma-su-sheet.is-pk .ma-su-ph-steps li { font-size: 14px; color: var(--pk-fg); }
.ma-su-sheet.is-pk .ma-su-ph-n { border: 1px solid #e4e4e7; background: #fff; color: var(--pk-fg); font-weight: 500; }
.ma-su-sheet.is-pk .ma-su-qr-box { border-color: var(--pk-border); }
.ma-su-sheet.is-pk .ma-su-wait { color: var(--pk-muted); }
.ma-su-sheet.is-pk .ma-su-pulse { background: #a1a1aa; }

/* The setup screen's own colours for every dialog (owner, 2026-10-12): the
   warm page behind, white lists and fields on it, the cream of the left rail
   for side panes. */
.ma-su-sheet.is-pk { background: var(--page, #fffefc); }
.ma-su-sheet.is-pk .ma-su-st-prev, .ma-su-sheet.is-pk .ma-su-ph-side { background: var(--paper, #faf7f2); }
/* No line between the settings and the preview: the cream pane is the border (owner, 2026-10-12). */
.ma-su-sheet.is-pk .ma-su-st-prev, .ma-su-sheet.is-pk .ma-su-ph-side { border-left: 0; border-right: 0; }

/* Steps at the right of the rail, next to the form they open, in the dialogs'
   look (owner, 2026-10-12): the name, then its number; the line runs down the
   right. The current step is a dark disc, the others grey rings; no violet. */
.ma-su-step { grid-template-columns: 1fr 26px; text-align: right; }
.ma-su-step-mark { order: 2; }
.ma-su-step-name { order: 1; justify-content: flex-end; font-size: 13.5px; font-weight: 500; color: #a1a1aa; }
.ma-su-step-mark::after { background: #e4e4e7; }
.ma-su-tick { border: 1px solid #e4e4e7; background: #fff; font-weight: 500; color: #a1a1aa; }
.ma-su-step.is-current .ma-su-tick { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.ma-su-step.is-done .ma-su-tick { border-color: #d4d4d8; background: #f4f4f5; color: var(--ink); }
.ma-su-step.is-current .ma-su-step-name, .ma-su-step.is-done .ma-su-step-name { color: var(--ink); }
.ma-su-step:hover .ma-su-step-name { color: var(--ink); }
/* A dark hairline showed between the two halves a moment after opening, on
   the desktop (GPU compositing, not reproducible in a software render): the
   blurred backdrop through a seam. The sheet and each half paint one colour,
   overlapping by a pixel, so a seam shows that colour. Since 2026-10-14 it is
   the page's near-white, as on the right of the setup screen, not the cream
   (owner: lighter). */
.ma-su-sheet.is-style.is-pk { background: var(--page, #fffefc); }
.ma-su-sheet.is-style.is-pk .ma-su-st-set { background: var(--page, #fffefc); }
.ma-su-sheet.is-style.is-pk .ma-su-st-prev { background: var(--page, #fffefc); box-shadow: -1px 0 0 0 var(--page, #fffefc); }
/* Steps back at the left, a little larger, same look (owner, 2026-10-12). */
.ma-su-step { grid-template-columns: 30px 1fr; column-gap: 12px; text-align: left; }
.ma-su-step-mark { order: 0; }
.ma-su-step-name { order: 0; justify-content: flex-start; height: 30px; font-size: 14.5px; }
.ma-su-tick { width: 30px; height: 30px; font-size: 13px; }
.ma-su-step-mark::after { height: 38px; margin: 6px 0; } /* a little more air (owner, 2026-11-23) */
/* One fill, no border: a border and a fill of one colour each get their own
   anti-aliased edge, and the disc looked frayed (owner, 2026-10-12). Rings are
   an inset shadow. */
.ma-su-tick { border: 0; box-shadow: inset 0 0 0 1px #e4e4e7; }
.ma-su-step.is-current .ma-su-tick { box-shadow: none; background: var(--ink); }
.ma-su-step.is-done .ma-su-tick { box-shadow: inset 0 0 0 1px #d4d4d8; }
/* The current step: a filled disc inside a thin ring, two pixels of air
   between them (owner, 2026-10-12). The fill is clipped to the content box,
   so the gap is truly empty on any background. */
.ma-su-tick { box-sizing: border-box; }
.ma-su-step.is-current .ma-su-tick { padding: 3px; background: var(--ink); background-clip: content-box; box-shadow: inset 0 0 0 1px var(--ink); font-size: 12px; }
/* The ring with a gap looked busy at 1x: the current step is a solid disc
   with a soft halo instead (owner, 2026-10-12). */
.ma-su-step.is-current .ma-su-tick { padding: 0; background-clip: border-box; box-shadow: 0 0 0 4px rgba(23, 20, 29, 0.08); font-size: 13px; }
/* No halo: it distracted (owner, 2026-10-12). A plain dark disc. */
.ma-su-step.is-current .ma-su-tick { box-shadow: none; }
/* Rings only, nothing filled (owner, 2026-10-14: the dark disc was too loud,
   violet read badly). The current step is a dark ring with a dark number, the
   others a light ring; a done step keeps the light ring with a dark tick. */
.ma-su-tick { background: transparent; box-shadow: inset 0 0 0 1px rgba(23, 20, 29, 0.14); color: rgba(23, 20, 29, 0.42); }
.ma-su-step.is-current .ma-su-tick { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); font-weight: 600; }
.ma-su-step.is-done .ma-su-tick { background: transparent; box-shadow: inset 0 0 0 1px rgba(23, 20, 29, 0.14); color: var(--ink); }
/* The number on the ring's true centre in any font (owner, 2026-10-14: "the 1
   sits a bit high"). The rail is in the system font, whose line box put the
   digit 0.5-1 px above centre; the line is trimmed to the digit itself (cap
   height to baseline) and that is centred. */
.ma-su-tick { display: block; align-content: center; text-align: center; text-box: trim-both cap alphabetic; }
.ma-su-tick svg { margin: 0 auto; }

/* "Open in your browser?" under the toolbar's Upgrade during an interview
   (utils/openPricing.js askWhereToOpen). A card, no backdrop. */
.ma-pricing-ask { position: fixed; z-index: 2147483647; width: 300px; box-sizing: border-box; padding: 14px 16px 14px; border: 1px solid rgba(23, 20, 29, 0.1); border-radius: 14px; background: #fffefc; color: #17141d; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; text-align: left; }
.ma-pricing-ask-x { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; padding: 0; border: none; border-radius: 6px; background: none; font-size: 12px; line-height: 22px; color: rgba(23, 20, 29, 0.55); cursor: pointer; }
.ma-pricing-ask-x:hover { background: rgba(23, 20, 29, 0.06); color: #17141d; }
.ma-pricing-ask-title { margin: 0 24px 4px 0; font-size: 14px; line-height: 20px; font-weight: 600; }
.ma-pricing-ask-text { margin: 0 0 12px; font-size: 12.5px; line-height: 18px; color: rgba(23, 20, 29, 0.62); }
.ma-pricing-ask-btns { display: flex; justify-content: flex-end; gap: 8px; }
.ma-pricing-ask-btn { height: 32px; padding: 0 14px; border: 1px solid rgba(23, 20, 29, 0.12); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; line-height: 20px; color: #17141d; cursor: pointer; }
.ma-pricing-ask-btn:hover { border-color: rgba(23, 20, 29, 0.24); }
.ma-pricing-ask-btn.is-primary { border-color: #17141d; background: #17141d; color: #faf7f2; }
.ma-pricing-ask-btn.is-primary:hover { background: #2a2434; }

/* The document and CV lists let a row's menu out (overflow visible), so a
   row's hover or "in use" fill painted square corners over the list's round
   ones and the card's edges looked lost on hover (owner, 2026-10-13). The
   first and last rows still shown (search hides the others) take the list's
   inner radius. */
.ma-su-pick-list > .ma-su-pick:not([hidden]):not(.ma-su-pick:not([hidden]) ~ .ma-su-pick) { border-top-left-radius: 11px; border-top-right-radius: 11px; }
.ma-su-pick-list > .ma-su-pick:not([hidden]):not(:has(~ .ma-su-pick:not([hidden]))) { border-bottom-left-radius: 11px; border-bottom-right-radius: 11px; }

/* Sign-in (packages/ui/components/LoginPanel.js; the desktop and, since
   2026-10-15, the extension) in the session-setup style: pills, Inter, quiet
   type. On the panel's own dark backdrop, no light card (owner, 2026-10-13).
   Everything here is scoped to .ma-auth-card, and so are the overrides of the
   older id rules above (which use !important). */
@keyframes ma-login-spin { to { transform: rotate(360deg); } }
.ma-login-spinner { animation: ma-login-spin 0.9s linear infinite; transform-origin: center; }
#meetassist-login-panel .ma-auth-card { display: flex; flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; margin: 0 auto; box-sizing: border-box;
  color: #fff; text-align: left; font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
.ma-auth-card .ma-auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ma-auth-card .ma-auth-logo { flex: none; width: 42px; height: 42px; border-radius: 12px; }
.ma-auth-card .ma-auth-logo.is-tile { margin-bottom: 18px; }
.ma-auth-card .ma-auth-wordmark { display: block; font-family: 'Russo One', sans-serif; font-size: 20px; line-height: 1.2; letter-spacing: 0.3px; color: #fff; }
.ma-auth-card .ma-auth-tagline { display: block; margin-top: 2px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.ma-auth-card .ma-auth-tile { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: rgba(167, 139, 250, 0.14); color: #c4b5fd; }
.ma-auth-card .ma-auth-title { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; color: #fff; }
.ma-auth-card .ma-auth-sub { margin: 6px 0 20px; font-size: 14px; line-height: 21px; color: rgba(255, 255, 255, 0.55); overflow-wrap: anywhere; }
.ma-auth-card .ma-auth-strong { color: #fff; font-weight: 500; }
.ma-auth-card .ma-auth-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 42px; padding: 0 20px; box-sizing: border-box;
  border: 1px solid transparent; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; line-height: 20px; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s; }
.ma-auth-card .ma-auth-btn + .ma-auth-btn { margin-top: 10px; }
.ma-auth-card .ma-auth-btn:disabled { cursor: default; }
.ma-auth-card .ma-auth-btn.is-google { background: #fff; color: #1f1f1f; }
.ma-auth-card #meetassist-login-btn:hover:not(:disabled) { background: #f4f4f5 !important; box-shadow: none !important; transform: none; }
.ma-auth-card .ma-auth-btn.is-apple { border-color: rgba(255, 255, 255, 0.16); background: #000; color: #fff; }
.ma-auth-card .ma-auth-btn.is-apple:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.28); }
.ma-auth-card .ma-auth-btn.is-outline { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); color: #fff; }
.ma-auth-card #meetassist-back-btn:hover, .ma-auth-card .ma-auth-btn.is-outline:hover { border-color: rgba(255, 255, 255, 0.24) !important; background: rgba(255, 255, 255, 0.08) !important; }
.ma-auth-card .ma-auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 12px; color: rgba(255, 255, 255, 0.4); }
.ma-auth-card .ma-auth-or::before, .ma-auth-card .ma-auth-or::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1); }
.ma-auth-card .ma-auth-field { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 4px 0 16px; box-sizing: border-box; margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; background: rgba(255, 255, 255, 0.05); transition: border-color 0.15s, box-shadow 0.15s; }
.ma-auth-card .ma-auth-field:focus-within { border-color: rgba(167, 139, 250, 0.6); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18); }
.ma-auth-card #meetassist-email-input, .ma-auth-card #meetassist-email-input:focus { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0 !important; background: none !important; outline: none; font: inherit; font-size: 14px; color: #fff; }
.ma-auth-card #meetassist-email-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.ma-auth-card #meetassist-email-submit { flex: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 999px; background: #faf7f2; color: #17141d; cursor: pointer; transition: background-color 0.15s; }
.ma-auth-card #meetassist-email-submit:hover { background: #fff !important; box-shadow: none !important; transform: none; }
.ma-auth-card #meetassist-email-submit:disabled { cursor: default; }
.ma-auth-card .ma-auth-error { margin-top: 12px; padding: 10px 14px; border: 1px solid rgba(239, 68, 68, 0.25); border-radius: 12px; background: rgba(239, 68, 68, 0.1); color: #fca5a5; font-size: 13px; line-height: 18px; text-align: center; }
.ma-auth-card .ma-auth-note { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; background: rgba(255, 255, 255, 0.04); font-size: 13px; line-height: 19px; color: rgba(255, 255, 255, 0.65); }
.ma-auth-card .ma-auth-note svg { flex: none; margin-top: 1.5px; color: rgba(255, 255, 255, 0.5); }
.ma-auth-card .ma-auth-note.is-wait { align-items: center; }
.ma-auth-card .ma-auth-note.is-wait svg { margin-top: 0; color: #a78bfa; }
.ma-auth-card .ma-auth-quiet { align-self: center; margin-top: 14px; padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.25); cursor: pointer; }
.ma-auth-card .ma-auth-quiet:hover { color: #fff; }
.ma-auth-card .ma-auth-quiet.is-violet { color: #a78bfa; text-decoration-color: rgba(167, 139, 250, 0.35); }
.ma-auth-card .ma-auth-quiet.is-violet:hover { color: #c4b5fd; }
.ma-auth-card .ma-auth-terms { margin: 14px 0 0; font-size: 11.5px; line-height: 17px; color: rgba(255, 255, 255, 0.4); text-align: center; }
.ma-auth-card .ma-auth-terms a { color: rgba(255, 255, 255, 0.6); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255, 255, 255, 0.25); }
#meetassist-login-panel .ma-auth-card a:hover { color: #fff !important; }

/* What's new (SessionSetup openWhatsNew): the quick tour's sheet without the
   picture, the release's list in it. Once, for people who had MeetAssist before. */

/* The steps change at once: the ring, the fill and the mark used to fade over
   180 ms each, with the shadow ring switching instantly, so a Next showed a
   few in-between frames (owner, 2026-10-13). */
.ma-su-tick, .ma-su-step-name { transition: none; }
.ma-su-tick svg { display: block; }

/* The site's palette (owner, 2026-10-14: "colours like on the site"): the
   light pages of meetassist.io — a #f5f5f7 canvas, #eaeaef panels, white cards
   lifted by a soft shadow instead of a border, ink-tinted wells for icons,
   gray-500 for quiet text. Values as in frontend app/globals.css (.af-stage,
   .af-row, .af-ico) and EverythingYouNeed.js. The rail is the panel, the form
   and every dialog the canvas. */
.ma-su {
  --site-canvas: #fbfbfa; --site-panel: #efeeeb; --site-well: rgba(55, 53, 47, 0.06); --site-line: rgba(23, 20, 29, 0.06);
  --site-lift: 0 1px 2px rgba(23, 20, 29, 0.06), 0 6px 18px rgba(23, 20, 29, 0.07);
  --site-lift-sm: 0 1px 2px rgba(23, 20, 29, 0.06), 0 2px 8px rgba(23, 20, 29, 0.06);
  /* The setup screen's cards and lists (owner, 2026-11-24: "ne ochen nravjatsja eti teni vokrug elementov"; after a
     try with no shadow at all, his pick C of docs/architecture/SHADOW_VARIANTS_PROTO_2026_11_24.png): a hairline
     contour and a drop of shadow under the card, no halo around it. */
  --site-card: 0 0 0 1px rgba(23, 20, 29, 0.05), 0 1px 2px rgba(23, 20, 29, 0.04);
  --site-muted: #6b7280;
  /* Warm, in Notion's family (owner, 2026-10-14, after comparing it with the
     site's cool greys and shadcn's neutral ones): sidebar #f7f6f3, the form
     and dialogs a step lighter, one hue for every grey, and a hairline in
     Notion's ink (#37352f) parting the rail from the form. */
  --site-rail: #f7f6f3;
  background: var(--site-rail);
}
.ma-su-rail { border-right: 1px solid rgba(55, 53, 47, 0.09); }
.ma-su-main, .ma-su.ma-sum { background: var(--site-canvas); }
.ma-su-sheet.is-pk, .ma-su-sheet.is-style.is-pk, .ma-su-sheet.is-style.is-pk .ma-su-st-set, .ma-su-sheet.is-style.is-pk .ma-su-st-prev { background: var(--site-canvas); }
.ma-su-sheet.is-style.is-pk .ma-su-st-prev { box-shadow: -1px 0 0 0 var(--site-canvas); }
.ma-su-sheet.is-pk .ma-su-ph-side { background: var(--site-rail); }
.ma-su-sheet.is-pk { --pk-muted: var(--site-muted); border-color: transparent; }
.ma-su-group, .ma-su-list, .ma-su-sheet.is-pk .ma-su-list { border-color: transparent; background: #fff; box-shadow: var(--site-card); }
.ma-su-row + .ma-su-row::before, .ma-su-adv-in .ma-su-row::before,
.ma-su-sheet.is-pk .ma-su-opt + .ma-su-opt::before, .ma-su-sheet.is-pk .ma-su-pick + .ma-su-pick::before { background: var(--site-line); }
.ma-su-sheet.is-pk .ma-su-opt:hover, .ma-su-sheet.is-pk .ma-su-pick:hover { background: rgba(23, 20, 29, 0.025); }
.ma-su-sheet.is-pk .ma-su-opt.is-on { background: rgba(23, 20, 29, 0.04); }
.ma-su-tile, .ma-su-sheet.is-pk .ma-su-tile { border-color: transparent; background: var(--site-well); }
.ma-su-sheet.is-pk .ma-su-badge { background: var(--site-well); }
.ma-su-sheet.is-pk .ma-su-badge-up { border-color: var(--site-line); background: #fff; }
.ma-su-pill-btn { border-color: transparent; box-shadow: var(--site-lift-sm); }
.ma-su-pill-btn:hover { border-color: transparent; box-shadow: var(--site-lift); }
.ma-su-pill-ico { border-color: transparent; background: var(--site-well); }
.ma-su-seg, .ma-su-sheet.is-pk .ma-su-seg { background: var(--site-panel); }
/* The white buttons. Two looks, and which button has which is the owner's word, button by button:
   - the soft white lift (the site's look) is the default: Back, Reset, Reset to defaults, Cancel, Show QR code,
     the buttons of the "Session complete" screen (View transcript, Try again);
   - a dark edge ONLY on the ones he named. It began with "Start on phone" (2026-11-16: "ona belaja, voobshe ne
     vidno"; of two sketches, a violet tint and this one, he took this one: "B odnoznachno"), then the try window.
     On 2026-11-17 he asked the same of the buttons in "Add a document" and "Add CV" (the ways) and of Add and
     Add CV under the lists ("Obvedennaja chernqm kak drugie ja pokazal").
   A rule that edged every white button was wrong and he took it back button by button the same night: Back
   ("knopk back ne nado obvodit bqlo"), View transcript ("zdes nahuja tq obvjol knopku"), Reset to defaults.
   The edge is never asked of a kind of button (.ma-su-btn-line, .ma-pk-btn), only of a named place.
   The icon of an edged button is the text's colour, as on "Start on phone". */
.ma-su-btn-line, .ma-su .ma-pk-btn:not(.is-primary) { border-color: transparent; background: #fff; box-shadow: var(--site-lift-sm); }
.ma-su-btn-line:hover:not(:disabled), .ma-su .ma-pk-btn:not(.is-primary):hover:not(:disabled) { border-color: transparent; background: #fff; box-shadow: var(--site-lift); }
.ma-su .ma-su-foot .ma-su-btn-line[data-act="phone"],
.ma-su .ma-su-foot .ma-su-btn-line[data-act="phone"]:hover:not(:disabled),
.ma-su .ma-su-sheet.is-try .ma-su-btn-line,
.ma-su .ma-su-sheet.is-try .ma-su-btn-line:hover:not(:disabled),
.ma-su .ma-pk-ways .ma-pk-btn:not(.is-primary),
.ma-su .ma-pk-ways .ma-pk-btn:not(.is-primary):hover:not(:disabled),
.ma-su .ma-pk-btn[data-add],
.ma-su .ma-pk-btn[data-add]:hover:not(:disabled) { border: 1.5px solid var(--ink); background: #fff; box-shadow: none; }
.ma-su .ma-su-foot .ma-su-btn-line[data-act="phone"] svg,
.ma-su .ma-su-sheet.is-try .ma-su-btn-line svg,
.ma-su .ma-pk-ways .ma-pk-btn:not(.is-primary) svg,
.ma-su .ma-pk-btn[data-add] svg { color: var(--ink); }
.ma-su .ma-su-foot .ma-su-btn-line[data-act="phone"]:hover:not(:disabled),
.ma-su .ma-su-sheet.is-try .ma-su-btn-line:hover:not(:disabled),
.ma-su .ma-pk-ways .ma-pk-btn:not(.is-primary):hover:not(:disabled),
.ma-su .ma-pk-btn[data-add]:hover:not(:disabled) { background: #f6f5f3; }
/* The main way in of "Add a document" and "Add CV" ("Upload files", "Upload a file") is dark, as Done, Save and
   Import are (.ma-pk-btn.is-primary above: the ink of the other ways' edge). It was the violet of Start session
   from 2026-11-17 to 2026-11-18, when he pointed at "Upload a file" in "Add CV": "davaj etu knopku chernoj
   sdelaem v cv, documents i na sajte". No rule of its own is needed for it. */
/* A dialog's scrolling body clipped the lifted lists' shadow above, below and
   at the sides (owner, 2026-10-14). The body reaches out by the shadow's
   extent and pads back in by as much, so nothing moves and the shadow fits. */
.ma-su-sheet.is-pk .ma-su-sheet-body, .ma-su-sheet.is-pk.is-pick .ma-su-sheet-body,
.ma-su-sheet.is-pk.is-picker .ma-su-sheet-body, .ma-su-sheet.is-pk.is-prev .ma-su-sheet-body { margin: -8px -10px -12px; padding: 8px 10px 12px; }

/* Documents: how each document is used and what it is (2026-11-17). The line under a document's name: a quiet
   chip that says how the document is used and opens the two ways, then what the document is, cut short when it
   is long (never the chip). The chips differ quietly so a list can be scanned: pale lavender "About you", light
   grey "Background"; neither is the strong violet of the "In use" switch. */
.ma-su-sheet.is-pk .ma-su-pick-meta .ma-dk-what { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ma-su-sheet.is-pk .ma-su-pick-meta { min-width: 0; }
/* the text column takes the room the row has */
.ma-su-sheet.is-docs .ma-su-pick-main { flex: 1 1 auto; min-width: 0; }
.ma-du-chip { flex: none; display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 5px 0 7px; border: none; border-radius: 6px; background: #f3f4f6; font: inherit; font-size: 12px; font-weight: 600; line-height: 1; color: #374151; white-space: nowrap; cursor: pointer; }
.ma-du-chip[data-usage="own"] { background: #f3efff; }
.ma-du-chip:hover, .ma-du-chip[aria-expanded="true"] { background: #e9eaee; }
.ma-du-chip[data-usage="own"]:hover, .ma-du-chip[data-usage="own"][aria-expanded="true"] { background: #e8e0ff; }
.ma-su-sheet.is-pk .ma-su-pick-meta .ma-du-chip svg { flex: none; width: 12px; height: 12px; margin: 0; color: #6b7280; }
/* the line holds a control: a little more air under the name */
.ma-su-sheet.is-docs .ma-su-pick-meta:has(.ma-du-chip) { margin-top: 3px; }
/* the two ways: the look of the row's own menu, a line under each, a check on the current one */
.ma-du-menu { position: absolute; z-index: 3; width: 300px; max-width: calc(100% - 24px); padding: 4px; border: 1px solid var(--pk-border, #e4e4e7); border-radius: 10px; background: #fff; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); cursor: default; }
.ma-du-opt { display: grid; grid-template-columns: 1fr 16px; column-gap: 8px; align-items: start; width: 100%; padding: 8px 10px; border: none; border-radius: 6px; background: none; font: inherit; text-align: left; cursor: pointer; }
.ma-du-opt:hover { background: var(--pk-hover, #f4f4f5); }
.ma-du-opt-t { font-size: 13.5px; font-weight: 600; color: var(--pk-fg, #09090b); }
.ma-du-opt-d { grid-column: 1; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--pk-muted, #71717a); }
.ma-du-opt svg { grid-column: 2; grid-row: 1 / span 2; margin-top: 2px; color: var(--violet, #7c3aed); visibility: hidden; }
.ma-du-opt.is-on svg { visibility: visible; }
/* "Edit description" in the row's menu: the look of its "View" */
.ma-su-rowmenu [data-edit-what] { display: block; width: 100%; padding: 7px 10px; border: none; border-radius: 6px; background: none; font-size: 12.5px; color: var(--ink); text-align: left; white-space: nowrap; cursor: pointer; }
.ma-su-rowmenu [data-edit-what]:hover { background: rgba(23, 20, 29, 0.05); }
.ma-su-sheet.is-pk .ma-su-rowmenu [data-edit-what] { padding: 6px 8px; border-radius: 4px; font-size: 14px; }
.ma-su-sheet.is-pk .ma-su-rowmenu [data-edit-what]:hover { background: var(--pk-hover); }
/* the small sheet "Edit description" */
.ma-su-sheet.is-pk.is-kind { width: min(460px, calc(100% - 32px)); height: auto; }
.ma-su-sheet.is-pk.is-kind .ma-su-sheet-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ma-su-sheet.is-pk.is-kind > .ma-pk-actions { gap: 8px; margin-top: 18px; }
.ma-su-sheet.is-pk.is-kind > .ma-su-status:empty { display: none; }

/* The rail's foot (2026-11-17): two ways to try the app, then the guide. A try is the rail's own white button
   (one line; a second line under the name made the two too big); the heading is the list's own group heading
   (.ma-su-head) at the buttons' edge; what is only read (the guide) is a plain text link, the size of the
   account line below. */
.ma-su-try-head { margin: 0 0 0 2px; font-size: 11.5px; font-weight: 600; color: var(--ink-60); }
/* Coding has no tries (as "See how it works" was not there) */
.ma-su.is-coding .ma-su-try-head, .ma-su.is-coding .ma-su-try { display: none; }
/* MeetAssist MCP (SessionSetup "MeetAssist MCP"; owner, 2026-11-23: a block always in the rail, above Try it out,
   "ne vmesto teh knopok, a nad Try it out"; docs/architecture/MCP_RAIL_PROTO_2026_11_23.png and
   MCP_WINDOW_PROTO_2026_11_23.png). One grey, small type, one line per action (the first colourful look was
   "deshevo i slishkom raznocvetno"). The window is the app's own picker window (is-pick is-pk). */
/* Later the same day (docs/architecture/LAYOUT_PROTO_CONTEXT_ROW_2026_11_23.png, RAIL_ACTIVITY_PROTO_2026_11_23.png):
   the block left the rail. Connecting is a row of "Your context" with an MCP badge; what a connected assistant does
   stands under the rail's steps, quiet: no box, the steps' own columns, names and how long ago. */
.ma-su.is-coding .ma-mcp-row, .ma-su.is-coding .ma-su-act { display: none; }
.ma-su .ma-mcp-badge { display: inline-block; margin-left: 7px; padding: 0 5px; border: 1px solid rgba(23, 20, 29, 0.16); border-radius: 5px; font-size: 10px; font-weight: 600; line-height: 14px; letter-spacing: 0.02em; color: rgba(23, 20, 29, 0.55); vertical-align: 1px; }
/* who it is about, on the right: the assistants' marks, the connected one's name beside its mark (owner, 2026-11-26, B) */
.ma-su .ma-mcp-who { display: inline-flex; align-items: center; gap: 7px; }
.ma-su .ma-mcp-who > svg { flex: none; }
.ma-su .ma-mcp-now { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; }
.ma-su .ma-mcp-now > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ma-su .ma-mcp-now .ma-spinner, .ma-su .ma-su-act-mark .ma-spinner { flex: none; width: 10px; height: 10px; border-color: rgba(23, 20, 29, 0.16); border-top-color: rgba(23, 20, 29, 0.6); }
.ma-su:not(.is-coding):not(.is-phone) .ma-su-rail > .ma-su-sub { display: none; }
.ma-su:not(.is-coding):not(.is-phone) .ma-su-rail > .ma-su-title { margin-bottom: 22px; }
.ma-su .ma-su-act { margin-top: 34px; display: grid; grid-template-columns: 30px 1fr auto; column-gap: 12px; row-gap: 10px; align-items: center; }
.ma-su .ma-su-act[hidden], .ma-su.is-phone .ma-su-act { display: none; }
.ma-su .ma-su-act-mark { display: flex; align-items: center; justify-content: center; gap: 2px; min-height: 18px; }
.ma-su .ma-su-act-head { grid-column: 2 / 4; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.ma-su .ma-su-act-t { min-width: 0; font-size: 12.5px; color: rgba(23, 20, 29, 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-su .ma-su-act-t.is-now { color: var(--ink); }
.ma-su .ma-su-act-t.is-undone { color: rgba(23, 20, 29, 0.4); text-decoration: line-through; }
.ma-su .ma-su-act-t[data-mcp-view] { cursor: pointer; }
.ma-su .ma-su-act-t[data-mcp-view]:hover { color: var(--ink); }
.ma-su .ma-su-act-w { font-size: 11.5px; color: rgba(23, 20, 29, 0.35); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ma-su .ma-su-act-all { grid-column: 2 / 4; margin-top: 2px; font-size: 12px; color: rgba(23, 20, 29, 0.42); text-decoration: none; }
.ma-su .ma-su-act-all:hover { color: var(--ink); }
/* Connecting: the assistant's mark in a turning ring; then "MCP connected" comes in softly (owner, 2026-11-23,
   docs/architecture/MCP_CONNECTING_PROTO_2026_11_23.png) */
.ma-su .ma-mcp-ring { position: relative; display: grid; place-items: center; width: 22px; height: 22px; }
.ma-su .ma-mcp-ring::before { content: ''; position: absolute; inset: 0; box-sizing: border-box; border: 1.6px solid rgba(23, 20, 29, 0.12); border-top-color: rgba(23, 20, 29, 0.55); border-radius: 50%; animation: ma-su-spin 0.9s linear infinite; }
.ma-su .ma-mcp-who .ma-mcp-ring svg { width: 10px; height: 10px; }
.ma-su .ma-su-act-sub { grid-column: 2 / 4; margin-top: -6px; font-size: 12px; color: rgba(23, 20, 29, 0.5); }
@keyframes ma-su-act-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ma-su .ma-su-act.is-new { animation: ma-su-act-in 0.35s ease-out both; }
/* What is left of today's caps (owner, 2026-11-23, MCP_LIMITS_PROTO 1 and 3) */
.ma-su .ma-su-act-lim { grid-column: 2 / 4; margin-top: 4px; font-size: 12px; color: rgba(23, 20, 29, 0.5); }
.ma-su .ma-su-act-lim b { font-weight: 600; color: var(--ink); }
/* The assistant is changing that part: a loader in place of its icon, "Updated" when done (renderLiveBusy). */
.ma-su[data-ai-busy~="cv"] [data-open="cv"] .ma-su-tile > svg,
.ma-su[data-ai-busy~="kb"] [data-open="kb"] .ma-su-tile > svg,
.ma-su[data-ai-busy~="style"] [data-open="style"] .ma-su-tile > svg,
.ma-su[data-ai-busy~="cv"] [data-open="cv"] .ma-ai-new,
.ma-su[data-ai-busy~="kb"] [data-open="kb"] .ma-ai-new,
.ma-su[data-ai-busy~="style"] [data-open="style"] .ma-ai-new,
.ma-su[data-ai-busy~="jd"] [data-head="jd"] .ma-ai-new { display: none; }
.ma-su[data-ai-busy~="cv"] [data-open="cv"] .ma-su-tile::after,
.ma-su[data-ai-busy~="kb"] [data-open="kb"] .ma-su-tile::after,
.ma-su[data-ai-busy~="style"] [data-open="style"] .ma-su-tile::after,
.ma-su[data-ai-busy~="jd"] [data-head="jd"]::after {
  content: ''; display: inline-block; box-sizing: border-box; width: 13px; height: 13px;
  border: 1.6px solid rgba(23, 20, 29, 0.16); border-top-color: rgba(23, 20, 29, 0.62); border-radius: 50%;
  animation: ma-su-spin 0.7s linear infinite;
}
.ma-su[data-ai-busy~="jd"] [data-head="jd"]::after { width: 10px; height: 10px; margin-left: 7px; vertical-align: -1px; }
.ma-su .ma-ai-live { border: 1px solid rgba(23, 20, 29, 0.1); border-radius: 10px; background: #fff; overflow: hidden; }
.ma-su .ma-ai-live-mark { flex: none; display: grid; place-items: center; color: rgba(23, 20, 29, 0.55); }
.ma-su .ma-ai-live-title { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ma-su .ma-ai-live ul { list-style: none; margin: 0; padding: 0 0 4px; }
.ma-su .ma-ai-live li { display: flex; align-items: center; gap: 7px; padding: 3px 10px; font-size: 11.5px; line-height: 1.35; }
.ma-su .ma-ai-live-i { flex: none; display: grid; place-items: center; width: 11px; height: 11px; color: rgba(23, 20, 29, 0.45); }
.ma-su .ma-ai-live-i .ma-spinner { width: 9px; height: 9px; border-width: 1.5px; border-color: rgba(23, 20, 29, 0.45); border-top-color: transparent; }
.ma-su .ma-ai-live-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(23, 20, 29, 0.5); }
.ma-su .ma-ai-live-txt b { font-weight: 500; color: var(--ink); }
.ma-su .ma-ai-live li.is-undone .ma-ai-live-txt b { color: rgba(23, 20, 29, 0.5); text-decoration: line-through; }
.ma-su .ma-ai-live-act { flex: none; border: none; background: none; padding: 0; font: inherit; font-size: 11px; font-weight: 500; color: rgba(23, 20, 29, 0.5); cursor: pointer; }
.ma-su .ma-ai-live-act:hover { color: var(--ink); }
.ma-su .ma-ai-live-foot { padding: 6px 10px 8px; border-top: 1px solid rgba(23, 20, 29, 0.07); font-size: 11px; }
.ma-su .ma-ai-live-foot a { color: rgba(23, 20, 29, 0.5); text-decoration: none; }
.ma-su .ma-ai-live-foot a:hover { color: var(--ink); }
.ma-su .ma-mcp-act { flex: none; border: none; background: none; padding: 4px 2px; font: inherit; font-size: 12.5px; font-weight: 500; color: rgba(23, 20, 29, 0.55); cursor: pointer; }
.ma-su .ma-mcp-act:hover { color: var(--ink); }
.ma-su .ma-mcp-act + .ma-mcp-act { margin-left: 10px; }
.ma-su .ma-mcp-undone .ma-su-pick-name { color: rgba(23, 20, 29, 0.4); text-decoration: line-through; }
.ma-su .ma-su-pick.is-working .ma-su-tile .ma-spinner { width: 12px; height: 12px; border-color: rgba(23, 20, 29, 0.2); border-top-color: rgba(23, 20, 29, 0.6); }
.ma-su .ma-mcp-err { margin: 0 0 8px 2px; font-size: 12px; line-height: 1.4; color: #b42318; }
/* Owner, 2026-11-23: "eshe ssylkoj i korotko instrukciju vnizu": the address with Copy, two short paths, one line. */
.ma-su .ma-mcp-hand { margin-top: 20px; }
/* The MeetAssist MCP window (owner, 2026-11-26; docs/architecture/MCP_WINDOW_GUIDE_PROTO_V2_2026_11_26.png): what it
   is, the two pages about it as black buttons, then three steps, the current one open. A pressed assistant stands
   alone with its own numbered steps, one short line each (docs/architecture/MCP_STEPS_NUMBERED_PROTO_2026_11_26.png;
   the first numbered look, bold words inside long lines and a button inside a step, was "grjazno ochen", and
   "nado objazatelno pronumerovat, prosto sdelat eto chisto i krasivo"). Every state fits the window without
   scrolling, the list of actions aside.
   A digit in a circle sits in the very middle (owner: "pochemu cifry v kruzhkah ne centrovany?"). It was centred by
   its line box, which the browser rounds from the font's ascent and descent: through the window's fractional zoom
   the digit stood half a pixel high or low. Now its box is trimmed to the digit itself (text-box: cap height to the
   baseline; Chrome 133+, Safari 18.2+, the desktop app's Electron 42) and that box is centred, so it is the same
   room above and below at any zoom. Without text-box the line box is the digit's height anyway (8px at 11px Inter). */
.ma-su-sheet.is-pk.is-mcp { width: 620px; }
.ma-su-sheet.is-pk.is-mcp .ma-su-sheet-sub { margin: 4px 0 12px; }
.ma-su .ma-mcp-about { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.ma-su .ma-mcp-about .ma-pk-btn { height: 32px; padding: 0 14px; gap: 6px; font-size: 13px; }
.ma-su .ma-mcp-about .ma-pk-btn svg { color: rgba(255, 255, 255, 0.6); }
.ma-su .ma-mcp-step { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 13px; }
.ma-su .ma-mcp-gut { display: flex; flex-direction: column; align-items: center; }
.ma-su .ma-mcp-gut i { flex: 1; width: 1px; margin-top: 6px; background: rgba(23, 20, 29, 0.1); }
.ma-su .ma-mcp-n { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ma-su .ma-mcp-d { display: block; line-height: 8px; text-box: trim-both cap alphabetic; }
.ma-su .ma-mcp-step.is-now .ma-mcp-n { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.ma-su .ma-mcp-step.is-done .ma-mcp-n { background: var(--ink); color: #fff; }
.ma-su .ma-mcp-step.is-next .ma-mcp-n { color: rgba(23, 20, 29, 0.45); box-shadow: inset 0 0 0 1px rgba(23, 20, 29, 0.2); }
.ma-su .ma-mcp-main { min-width: 0; padding-bottom: 14px; }
.ma-su .ma-mcp-step:last-child .ma-mcp-main { padding-bottom: 4px; }
.ma-su .ma-mcp-shead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 22px; }
.ma-su .ma-mcp-title { font-size: 14px; line-height: 22px; font-weight: 600; color: var(--ink); }
.ma-su .ma-mcp-step.is-next .ma-mcp-title { color: rgba(23, 20, 29, 0.62); }
.ma-su .ma-mcp-hint { font-size: 12.5px; line-height: 18px; color: var(--pk-muted); }
.ma-su p.ma-mcp-hint { margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-su p.ma-mcp-hint b { font-weight: 500; color: rgba(23, 20, 29, 0.78); }
.ma-su .ma-mcp-link { padding: 0; border: none; background: none; font: inherit; font-size: 12.5px; color: var(--pk-muted); text-decoration: underline; text-decoration-color: rgba(23, 20, 29, 0.28); text-underline-offset: 2px; cursor: pointer; }
.ma-su .ma-mcp-link:hover { color: var(--ink); }
.ma-su .ma-mcp-main > .ma-su-list { margin-top: 10px; }
.ma-su-sheet.is-mcp .ma-mcp-main .ma-su-pick { cursor: default; }
.ma-su .ma-mcp-way + .ma-mcp-way { box-shadow: inset 0 1px 0 var(--site-line, rgba(23, 20, 29, 0.06)); }
.ma-su .ma-mcp-wait { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: var(--ink); }
.ma-su .ma-mcp-wait .ma-spinner { flex: none; width: 11px; height: 11px; border-color: rgba(23, 20, 29, 0.16); border-top-color: rgba(23, 20, 29, 0.65); }
.ma-su .ma-mcp-way.is-open > .ma-su-pick { padding-top: 8px; padding-bottom: 8px; }
.ma-su .ma-mcp-how { margin: 0 14px 9px 62px; padding-top: 10px; box-shadow: inset 0 1px 0 var(--site-line, rgba(23, 20, 29, 0.07)); }
.ma-su .ma-mcp-steps { margin: 0; padding: 0; list-style: none; counter-reset: ma-mcp; }
.ma-su .ma-mcp-steps > li { counter-increment: ma-mcp; position: relative; padding-left: 30px; font-size: 13px; line-height: 20px; color: var(--pk-muted); }
.ma-su .ma-mcp-steps > li + li { margin-top: 6px; }
.ma-su .ma-mcp-steps > li::before { content: counter(ma-mcp); position: absolute; left: 0; top: 1px; display: block; box-sizing: border-box; width: 18px; height: 18px; padding-top: 5px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(23, 20, 29, 0.18); font-size: 11px; font-weight: 600; line-height: 8px; text-box: trim-both cap alphabetic; text-align: center; color: rgba(23, 20, 29, 0.6); font-variant-numeric: tabular-nums; }
.ma-su .ma-mcp-steps b { font-weight: 500; color: var(--ink); }
.ma-su .ma-mcp-steps small { display: block; font-size: 12px; line-height: 17px; color: rgba(23, 20, 29, 0.5); }
.ma-su .ma-mcp-form { margin: 5px 0 1px; padding: 2px 12px; border-radius: 9px; background: rgba(23, 20, 29, 0.035); }
.ma-su .ma-mcp-f { display: flex; align-items: center; gap: 12px; min-height: 27px; }
.ma-su .ma-mcp-f + .ma-mcp-f { box-shadow: inset 0 1px 0 rgba(23, 20, 29, 0.06); }
.ma-su .ma-mcp-fk { flex: none; width: 104px; font-size: 12.5px; color: var(--pk-muted); }
.ma-su .ma-mcp-fv { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.ma-su .ma-mcp-fv.is-addr { user-select: all; }
/* while an assistant is open the steps 2 and 3 are one name each */
.ma-su [data-mcp-body].is-way [data-mcp-step="1"] .ma-mcp-main { padding-bottom: 8px; }
.ma-su [data-mcp-body].is-way [data-mcp-step="2"] .ma-mcp-main { padding-bottom: 6px; }
.ma-su .ma-mcp-copy { flex: none; display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 0; border: none; background: none; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--pk-muted); cursor: pointer; }
.ma-su .ma-mcp-copy:hover { color: var(--ink); }
.ma-su .ma-mcp-copy svg { width: 13px; height: 13px; }
.ma-su .ma-mcp-note { margin: 10px 0 0; font-size: 12px; line-height: 17px; color: var(--pk-muted); }
.ma-su .ma-mcp-note .ma-mcp-link { font-size: inherit; }
.ma-su .ma-mcp-conns { margin-top: 4px; font-size: 12.5px; line-height: 22px; color: var(--pk-muted); }
.ma-su .ma-mcp-conns > div { display: flex; justify-content: space-between; gap: 12px; }
.ma-su .ma-mcp-asks { margin-top: 8px; }
.ma-su .ma-mcp-ask { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; align-items: center; padding: 8px 14px; }
.ma-su .ma-mcp-ask + .ma-mcp-ask { box-shadow: inset 0 1px 0 var(--site-line, rgba(23, 20, 29, 0.06)); }
.ma-su .ma-mcp-when { font-size: 11.5px; line-height: 16px; font-weight: 600; color: var(--violet, #7c3aed); }
.ma-su .ma-mcp-q { margin-top: 1px; font-size: 13px; line-height: 18px; color: var(--ink); }
.ma-su .ma-mcp-does { margin-top: 1px; font-size: 12px; line-height: 16px; color: var(--pk-muted); }
.ma-su .ma-mcp-ask .ma-pk-btn { grid-row: 1 / 4; grid-column: 2; height: 30px; padding: 0 12px; gap: 6px; font-size: 12.5px; }
.ma-su .ma-mcp-main > [data-mcp-list] { margin-top: 8px; }
.ma-su-sheet.is-mcp .ma-mcp-foot { display: flex; align-items: center; gap: 12px; }
.ma-su .ma-mcp-safe { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; font-size: 12px; line-height: 16px; color: var(--pk-muted); }
.ma-su .ma-mcp-safe svg { flex: none; width: 13px; height: 13px; color: rgba(23, 20, 29, 0.4); }
/* the phone: no room beside the mark for the table's indent */
.ma-su.is-phone .ma-mcp-how { margin-left: 14px; }
.ma-su.is-phone .ma-mcp-fk { width: 92px; }
.ma-su .ma-pk-btn.is-busy { pointer-events: none; }
.ma-su .ma-pk-btn.is-busy .ma-spinner { flex: none; width: 12px; height: 12px; border-color: rgba(23, 20, 29, 0.16); border-top-color: rgba(23, 20, 29, 0.6); }
.ma-su .ma-ai-new { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; font-size: 11px; font-weight: 500; font-style: normal; letter-spacing: 0; color: rgba(23, 20, 29, 0.5); vertical-align: 0; }
.ma-su .ma-ai-new svg { flex: none; }
/* who changed the job stands in place of "optional" (owner, 2026-11-23) */
.ma-su [data-head="jd"]:has(.ma-ai-new) > em { display: none; }
/* The job block in one colour (owner, 2026-11-23: "slishkom mnogo fioletovogo, Previous jobs terjaetsja";
   docs/architecture/JOB_BLOCK_VARIANTS_2026_11_23.png, the middle one): the job in use heads the card with Previous
   jobs beside it, the chip under the text only names an import not saved yet, Import from link is a quiet button. */
/* One line, thin: the role, then the company in grey (owner, 2026-11-23, B of
   docs/architecture/JOB_HEAD_THIN_PROTO_2026_11_23.png). */
.ma-su .ma-su-jd-top { flex: none; display: flex; align-items: center; gap: 9px; margin: -1px -1px 0; padding: 8px 10px 8px 12px; border-radius: 12px 12px 0 0; background: rgba(23, 20, 29, 0.05); } /* a darker tone, no line (owner, 2026-11-23, A of JOB_HEAD_TONE_PROTO; 2026-11-25 "potemnee chutka"). It reaches the card's edge: the card's 1px border, which is see-through, left a white hairline above it and at its sides, so there was less of the tone above the tile and the button than below (owner, 2026-11-26: "sverhu i snizu rasstojanija raznye"). A violet border on focus still shows through the tone. */
.ma-su .ma-su-jd-tile { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--site-well); color: var(--ink-60); }
.ma-su .ma-su-jd-tile svg { width: 13px; height: 13px; }
.ma-su .ma-su-jd-who { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; }
.ma-su .ma-su-jd-role { flex: 0 1 auto; min-width: 0; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-su .ma-su-jd-co { flex: 0 1 auto; min-width: 0; font-size: 12.5px; color: rgba(23, 20, 29, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-su .ma-su-jd-co::before { content: '· '; }
.ma-su .ma-su-jd-co:empty { display: none; }
.ma-su .ma-su-jd-top .ma-su-jd-prev { padding: 4px 10px; line-height: 16px; } /* a whole-pixel height, so it sits in the middle */
/* One height with a job or without (owner, 2026-11-23: "razmer okna menjaetsja?"): the card is fixed, the text takes
   what the head and the buttons leave and scrolls inside; a smaller text ("text v textarea pomen'she") */
.ma-su .ma-su-jd { display: flex; flex-direction: column; height: 256px; }
.ma-su .ma-su-jd > .ma-su-jd-text { flex: 1 1 auto; height: auto; min-height: 0; font-size: 12.5px; }
.ma-su .ma-su-jd > .ma-su-jd-text.has-title::first-line { font-size: 13px; }
.ma-su .ma-su-jd > .ma-su-jd-bar { flex: none; }
.ma-su .ma-su-jd-top[hidden] { display: none; }
.ma-su .ma-su-jd-bar > .ma-su-jd-prev { margin-right: auto; padding: 5px 12px; }
.ma-su .ma-su-jd-bar > .ma-su-jd-prev[hidden] { display: none; }
/* a button like Upload file, on the left (owner, 2026-11-23: "clear mozhno vidnee") */
.ma-su .ma-su-jd-clear { flex: none; display: inline-flex; align-items: center; gap: 6px; margin-right: auto; padding: 5px 12px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font: inherit; font-size: 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
.ma-su .ma-su-jd-clear:hover { border-color: rgba(23, 20, 29, 0.24); }
.ma-su .ma-su-jd-clear svg { width: 12px; height: 12px; color: rgba(23, 20, 29, 0.55); }
.ma-su .ma-su-jd-clear[hidden] { display: none; }
.ma-su .ma-su-jd-file { background: var(--site-well); color: var(--ink); }
.ma-su .ma-su-jd-up { border: 1px solid var(--rule); background: #fff; box-shadow: none; color: var(--ink); padding: 5px 12px; }
.ma-su .ma-su-jd-up:hover { background: #fff; border-color: rgba(23, 20, 29, 0.24); }
.ma-su .ma-su-jd-up svg, .ma-su .ma-su-jd-link svg { color: rgba(23, 20, 29, 0.55); }
.ma-su-rail-links { display: flex; flex-direction: column; gap: 9px; margin: 8px 0 2px 2px; }
.ma-su-rail-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 12.5px; font-weight: 500; color: var(--ink-60); }
.ma-su-rail-link svg { flex: none; color: var(--ink-40); }
.ma-su-rail-link .ma-su-rail-out { margin-left: -3px; }
/* Owner, 2026-11-23: "Ask your own question" the size of "Connect Claude or ChatGPT" (the MCP card), and
   "Play a demo interview" a small link like the User guide. */
.ma-su .ma-su-try-card { display: flex; align-items: center; gap: 7px; width: 100%; padding: 10px; border: 1px solid rgba(23, 20, 29, 0.1); border-radius: 10px; background: #fff; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.ma-su .ma-su-try-card:hover { border-color: rgba(23, 20, 29, 0.2); }
.ma-su .ma-su-try-ico { flex: none; display: grid; place-items: center; width: 14px; color: rgba(23, 20, 29, 0.55); }
.ma-su .ma-su-try-name { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ma-su .ma-su-try-card .ma-su-chev { flex: none; }
/* Keyboard shortcuts, drawn like Automatic answers: a key's row holds its name and its keys */
.ma-su-sheet.is-auto.is-keys .ma-su-row { min-height: 44px; }
.ma-su-sheet.is-auto.is-keys .ma-su-auto-head:first-child { margin-top: 0; }
.ma-su-sheet.is-auto.is-keys .ma-su-keys { margin-right: -4px; }
.ma-su-sheet.is-auto.is-keys .ma-su-st-foot { align-items: center; }
.ma-su-sheet.is-auto.is-keys .ma-su-st-foot .ma-su-status { margin-right: auto; }

/* A try's small window: the two buttons of the foot of Preferences (Start on phone, the violet start), side by
   side under the centred heading, in the foot's own look (the rules of [data-act="phone"] above name it too). */
.ma-su-try-go { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 0 8px; }
/* The try's window holds Preferences' "Session" group, between its line and its buttons (owner, 2026-11-18). */
.ma-su .ma-su-sheet.is-try .ma-su-try-session { margin: 4px 0 18px; text-align: left; }
.ma-su .ma-su-sheet.is-try .ma-su-try-session .ma-su-head { margin-top: 0; }
/* The extension's sound capture (owner, 2026-11-26, EXT_START_AUDIO_PROTO_2026_11_26.png): under the rows what is
   heard at all, with a small lock; above the button what Chrome will ask, with Tab sharing. Quiet grey, the
   sheets' small size. */
.ma-su .ma-su-sheet.is-try .ma-su-try-note { display: flex; align-items: flex-start; gap: 7px; margin: 10px 4px 0; font-size: 12.5px; line-height: 1.45; color: rgba(23, 20, 29, 0.55); text-align: left; }
.ma-su .ma-su-sheet.is-try .ma-su-try-note svg { flex: none; margin-top: 1px; }
.ma-su .ma-su-sheet.is-try .ma-su-try-help { margin: -4px 4px 14px; font-size: 12.5px; line-height: 1.45; color: rgba(23, 20, 29, 0.62); text-align: center; }

/* What's New as the tour's slider (2026-11-17), and the tour's "Verified facts": the pictures (.ma-nv-*), drawn in
   the tour's look, moving a little as the tour's own do; a small "What's new" over a news slide's heading. */
.ma-nv-fill { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
@keyframes ma-nv-up { from { opacity: 0; transform: translateY(6px); } }
@keyframes ma-nv-fade { from { opacity: 0; } }
.ma-nv-card { box-sizing: border-box; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(23, 20, 29, 0.06), 0 10px 26px rgba(23, 20, 29, 0.1); animation: ma-nv-up 0.45s both; }
.ma-nv-head { margin: 0 0 6px; font-size: 11px; font-weight: 600; color: var(--ink-60); }
.ma-nv-sw { position: relative; flex: none; width: 28px; height: 16px; border-radius: 999px; background: rgba(23, 20, 29, 0.14); }
.ma-nv-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.ma-nv-sw.is-on { background: #7c3aed; }
.ma-nv-sw.is-on::after { transform: translateX(12px); }
.ma-nv-sw.is-turning { animation: ma-nv-sw-bg 0.3s 1.1s both; }
.ma-nv-sw.is-turning::after { animation: ma-nv-sw-knob 0.3s 1.1s both; }
@keyframes ma-nv-sw-bg { to { background: #7c3aed; } }
@keyframes ma-nv-sw-knob { to { transform: translateX(12px); } }

/* 1. verified facts: the app's answer panel, its text at 84% white, highlights white, the verified ones sky blue */
.ma-nv-answer { width: 440px; border-radius: 12px; overflow: hidden; background: rgb(24 28 36); box-shadow: 0 16px 36px rgba(23, 20, 29, 0.28); animation: ma-nv-up 0.45s both; }
.ma-nv-q { padding: 10px 14px; background: rgb(48 52 60); color: #fff; font-size: 12px; font-weight: 600; }
.ma-nv-a { padding: 12px 14px 13px; color: rgba(255, 255, 255, 0.84); font-size: 12.5px; line-height: 1.55; }
.ma-nv-a p { margin: 0 0 5px; }
.ma-nv-a b { color: #fff; font-weight: 700; }
/* One loop of 7 s: 0.9 s the ring and "Verifying facts" come (0.3 s), 2.8 s the result: the words take the blue
   and the line becomes "Verified facts from CV" (0.6 s both), held, then back to white for the next round. */
.ma-nv-a span.ma-nv-f { animation: ma-nv-blue-plain 7s ease-in-out infinite; }
.ma-nv-a b.ma-nv-f { animation: ma-nv-blue-bold 7s ease-in-out infinite; }
@keyframes ma-nv-blue-plain { 0%, 40% { color: rgba(255, 255, 255, 0.84); } 48.6%, 94% { color: #a4deff; } 100% { color: rgba(255, 255, 255, 0.84); } }
@keyframes ma-nv-blue-bold { 0%, 40% { color: #fff; } 48.6%, 94% { color: #a4deff; } 100% { color: #fff; } }
/* the line under the answer: the app's .qa-verified (11.5px, 60% white, 22px tall, 6px under the text) */
.ma-nv-vline { position: relative; height: 22px; margin-top: 6px; font: 400 11.5px/1.4 Inter, -apple-system, 'Segoe UI', sans-serif; color: rgb(255 255 255 / 0.6); }
.ma-nv-vline > span { position: absolute; left: 0; top: 0; height: 22px; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.ma-nv-verifying { animation: ma-nv-verifying 7s linear infinite; }
@keyframes ma-nv-verifying { 0%, 12.8% { opacity: 0; } 17.1%, 39% { opacity: 1; } 40%, 100% { opacity: 0; } }
/* the ring: .qa-verifying::before (9px, a fifth of the blue with its top at 80%, a turn in 0.8 s) */
.ma-nv-verifying i { flex: none; width: 9px; height: 9px; box-sizing: border-box; border: 1.5px solid rgb(164 222 255 / 0.2); border-top-color: rgb(164 222 255 / 0.8); border-radius: 50%; animation: ma-nv-spin 0.8s linear infinite; }
@keyframes ma-nv-spin { to { transform: rotate(360deg); } }
.ma-nv-verified { animation: ma-nv-verified 7s ease-in-out infinite; }
@keyframes ma-nv-verified { 0%, 40% { opacity: 0; } 48.6%, 94% { opacity: 1; } 100% { opacity: 0; } }
/* the dot: .qa-verified::before (7px, 1px in, the very blue of the verified words) */
.ma-nv-verified i { flex: none; width: 7px; height: 7px; margin-left: 1px; border-radius: 50%; background: #a4deff; }

/* 2. automatic answers */
.ma-nv-auto { width: 360px; padding: 14px 16px 15px; }
.ma-nv-who { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.ma-nv-who + .ma-nv-who { border-top: 1px solid var(--rule); margin-bottom: 10px; }
.ma-nv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ma-nv-chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--rule); font-size: 11.5px; font-weight: 500; color: var(--ink-60); animation: ma-nv-up 0.35s var(--d) both; }
.ma-nv-chip.is-on { border-color: transparent; background: rgba(124, 58, 237, 0.1); color: #6d28d9; font-weight: 600; }

/* 3. the tries */
.ma-nv-tries { gap: 16px; }
.ma-nv-rail { display: flex; flex-direction: column; gap: 8px; width: 200px; animation: ma-nv-up 0.45s both; }
.ma-nv-rail .ma-nv-head { margin: 0 0 0 2px; }
.ma-nv-pill { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 11px; border-radius: 11px; background: #fff; box-shadow: 0 1px 2px rgba(23, 20, 29, 0.06), 0 4px 12px rgba(23, 20, 29, 0.06); font-size: 12.5px; font-weight: 600; color: var(--ink); }
.ma-nv-pill i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(23, 20, 29, 0.05); color: var(--ink-60); }
.ma-nv-pill.is-picked { box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.55), 0 4px 12px rgba(23, 20, 29, 0.06); }
.ma-nv-arrow { color: rgba(23, 20, 29, 0.3); animation: ma-nv-up 0.4s 0.3s both; }
.ma-nv-choice { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 264px; padding: 16px 14px 15px; text-align: center; animation-delay: 0.5s; }
.ma-nv-choice b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ma-nv-choice > span { font-size: 11.5px; color: var(--ink-60); }
.ma-nv-choice > div { display: flex; gap: 7px; margin-top: 10px; }
.ma-nv-btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.ma-nv-btn.is-line { border: 1.5px solid var(--ink); color: var(--ink); background: #fff; }
.ma-nv-btn.is-violet { background: #7c3aed; color: #fff; box-shadow: 0 1px 2px rgba(124, 58, 237, 0.35); }

/* 4. visible in a screen share: the app's toolbar and its red line */
.ma-nv-bar { width: 430px; border-radius: 12px; background: rgb(48 52 60); box-shadow: 0 10px 28px rgba(23, 20, 29, 0.22); animation: ma-nv-up 0.45s both; }
.ma-nv-bar-top { display: flex; align-items: center; gap: 8px; padding: 9px 10px; }
.ma-nv-logo { width: 24px; height: 24px; margin-right: 4px; border-radius: 6px; background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.ma-nv-barbtn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.8); color: #fff; font-size: 13px; font-weight: 700; }
.ma-nv-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255, 255, 255, 0.6); }
.ma-nv-live i { width: 6px; height: 6px; border-radius: 50%; background: #30d158; }
/* a loop, as the tour's "No need to click" is: the line is there, the switch is turned, the line goes */
.ma-nv-shield { display: flex; align-items: center; gap: 8px; margin: 0 8px 8px; padding: 7px 10px; border-radius: 8px; background: rgba(239, 68, 68, 0.16); color: #fca5a5; font-size: 11.5px; font-weight: 500; line-height: 1.3; animation: ma-nv-shield 6s ease-in-out infinite; }
@keyframes ma-nv-shield { 0% { opacity: 0; } 8%, 58% { opacity: 1; } 68%, 100% { opacity: 0; } }
.ma-nv-shield b { color: #fee2e2; font-weight: 600; }
.ma-nv-shield-sw { margin-left: auto; display: flex; flex: none; align-items: center; gap: 8px; color: #fee2e2; white-space: nowrap; }
.ma-nv-sw.is-red { background: rgba(255, 255, 255, 0.22); animation: ma-nv-red-bg 6s ease-in-out infinite; }
.ma-nv-sw.is-red::after { animation: ma-nv-red-knob 6s ease-in-out infinite; }
@keyframes ma-nv-red-bg { 0%, 42% { background: rgba(255, 255, 255, 0.22); } 48%, 100% { background: #7c3aed; } }
@keyframes ma-nv-red-knob { 0%, 42% { transform: none; } 48%, 100% { transform: translateX(12px); } }

/* 5. and more */
.ma-nv-more { width: 400px; padding: 4px 16px; }
.ma-nv-more-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; color: var(--ink); animation: ma-nv-up 0.4s var(--d) both; }
.ma-nv-more-row + .ma-nv-more-row { border-top: 1px solid var(--rule); }
.ma-nv-more-row i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(48, 209, 88, 0.16); color: #1f9d4c; }

/* the small word over a news slide's heading */
.ma-tour-eyebrow { margin: 0 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--violet, #7c3aed); }
.ma-tour.is-news .ma-tour-body { padding-top: 22px; }
/* room for two lines under every heading, so the window keeps its height from slide to slide */
.ma-tour.is-news .ma-tour-text { min-height: 2.9em; }
/* What's New 2026-11-26: Think deeper, the app's own order and look. One loop of 9 s: 0.9 s the pointer comes to the
   button, it is pressed (the button's hover look), at 1.6 s the row goes and "Think deeper" stands under the answer
   (.answer-chat-user), the ring and "Thinking" (.answer-better-wait) until 4.6 s, then the new answer under them. */
.ma-nv-better .ma-nv-a { padding-bottom: 14px; }
.ma-nv-better .ma-nv-a p { margin: 0; }
.ma-nv-bslot { position: relative; height: 32px; margin-top: 6px; }
.ma-nv-brow { position: absolute; right: 0; top: 2px; display: flex; align-items: center; gap: 2px; animation: ma-nvb-row 9s infinite; }
.ma-nv-bbtn { box-sizing: border-box; display: inline-flex; align-items: center; height: 22px; margin-right: 8px; padding: 0 9px; border: 1px solid rgb(255 255 255 / 0.11); border-radius: 5px; font: 500 11.5px/1 Inter, -apple-system, 'Segoe UI', sans-serif; color: rgb(255 255 255 / 0.6); white-space: nowrap; animation: ma-nvb-press 9s infinite; }
.ma-nv-brow i { display: flex; align-items: center; justify-content: center; width: 28px; height: 22px; color: #fff; opacity: 0.45; }
.ma-nv-bcur { position: absolute; left: 52px; top: 12px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3)); opacity: 0; animation: ma-nvb-cur 9s ease-out infinite; }
.ma-nv-bcur svg { display: block; }
.ma-nv-bbubble { position: absolute; right: 0; top: 0; padding: 4px 11px; border-radius: 12px 12px 2px 12px; background: rgba(164, 222, 255, 0.14); border: 1px solid rgba(164, 222, 255, 0.25); color: #fff; font-size: 12px; line-height: 1.5; opacity: 0; animation: ma-nvb-bubble 9s infinite; }
.ma-nv-bnew { position: relative; min-height: 58px; margin-top: 8px; }
.ma-nv-bwait { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 7px; height: 22px; font: 400 11.5px/1.4 Inter, -apple-system, 'Segoe UI', sans-serif; color: rgb(255 255 255 / 0.6); opacity: 0; animation: ma-nvb-wait 9s infinite; }
.ma-nv-bwait i { flex: none; width: 10px; height: 10px; box-sizing: border-box; border: 1.5px solid rgb(164 222 255 / 0.25); border-top-color: #a4deff; border-radius: 50%; animation: ma-nv-spin 0.8s linear infinite; }
.ma-nv-better .ma-nv-bans { opacity: 0; animation: ma-nvb-ans 9s infinite; }
@keyframes ma-nvb-cur { 0%, 3% { opacity: 0; transform: translate(26px, 18px); } 10%, 16% { opacity: 1; transform: none; } 19%, 100% { opacity: 0; transform: none; } }
@keyframes ma-nvb-press { 0%, 11% { background: transparent; border-color: rgb(255 255 255 / 0.11); color: rgb(255 255 255 / 0.6); } 12.5%, 18% { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.18); color: rgb(255 255 255 / 0.9); } 100% { background: transparent; border-color: rgb(255 255 255 / 0.11); color: rgb(255 255 255 / 0.6); } }
@keyframes ma-nvb-row { 0%, 17% { opacity: 1; } 19%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ma-nvb-bubble { 0%, 18% { opacity: 0; transform: translateY(4px); } 22%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes ma-nvb-wait { 0%, 21% { opacity: 0; } 24%, 50% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes ma-nvb-ans { 0%, 51% { opacity: 0; transform: translateY(4px); } 56%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ma-nv-fill *, .ma-nv-fill *::after { animation: none !important; } .ma-nv-a .ma-nv-f { color: #a4deff; } .ma-nv-verifying { opacity: 0; } .ma-nv-sw.is-turning { background: #7c3aed; } .ma-nv-sw.is-turning::after { transform: translateX(12px); } .ma-nv-brow, .ma-nv-bwait { opacity: 0; } .ma-nv-bbubble, .ma-nv-better .ma-nv-bans { opacity: 1; } }

/* ── Documents: the bar of a document on its way (2026-11-17) ──
   In the line under the name, where the spinner stood: short, in the sheet's own colours. A bar under the whole
   row ran across the list's rounded corners (2026-10-12).
   The fill moves by itself: the row gives the step's stretch (--dp-a, --dp-w), how long the run is (--dp-ms) and
   how much of it is already spent (--dp-at, negative), and the animation goes on from there, so a list drawn
   again every few seconds does not start the bar over. The keyframes are DOC_CURVE of utils/docProgress.js
   (1 - e^(-x), straight lines between): the bar slows down and stands just short of the stretch's end until the
   step is really done. --dp-now is where it stands at the moment of drawing: what is shown when nothing may move. */
.ma-dp-bar { flex: none; position: relative; width: 84px; height: 4px; margin-right: 2px; border-radius: 2px; background: var(--pk-border, #e4e4e7); overflow: hidden; }
.ma-dp-bar > span { position: absolute; inset: 0 auto 0 0; width: var(--dp-now, 0%); border-radius: 2px; background: var(--violet, #7c3aed); animation: ma-dp-go var(--dp-ms, 1s) linear var(--dp-at, 0s) both; }
@keyframes ma-dp-go {
  0% { width: var(--dp-a); }
  10% { width: calc(var(--dp-a) + var(--dp-w) * 0.393); }
  20% { width: calc(var(--dp-a) + var(--dp-w) * 0.632); }
  40% { width: calc(var(--dp-a) + var(--dp-w) * 0.865); }
  60% { width: calc(var(--dp-a) + var(--dp-w) * 0.95); }
  100% { width: calc(var(--dp-a) + var(--dp-w) * 0.993); }
}
@media (prefers-reduced-motion: reduce) { .ma-dp-bar > span { animation: none; } }

/* The picker's search field is flat, with its own edge (part of the cards' look above: --site-card). */
.ma-su-sheet.is-pk .ma-su-search { box-shadow: none; }

/* "Add to Claude" and "Open ChatGPT" in the MeetAssist MCP window: the two actions of that window, in the app's violet
   (owner, 2026-11-24: "eti knopochki chernye sdelaj ili fioletovye"; black would stand three in a row with Done:
   docs/architecture/MCP_BUTTONS_COLOUR_PROTO_2026_11_24.png). Only these two. */
.ma-su .ma-pk-btn.is-violet { border-color: var(--violet, #7c3aed); background: var(--violet, #7c3aed); box-shadow: none; color: #fff; }
.ma-su .ma-pk-btn.is-violet:hover:not(:disabled) { border-color: #6d28d9; background: #6d28d9; }
.ma-su .ma-pk-btn.is-violet.is-busy .ma-spinner { border-color: rgba(255, 255, 255, 0.35); border-top-color: #fff; }
