/* Layout: one phone-width column; each view replaces the last, like screens in a dialer.
   Look: Anthony's design v2.150 (stage 1, 12 November 2026): his tokens.css, light and dark.
   Actions blue, purple for Blue, the AI, only, statuses grey, red only for recording, late or
   ending, green for done and joined, no yellow. Space Grotesk titles, Inter text, JetBrains
   Mono numbers. The design's names (--primary, --card…) hold the values; the older names
   further down (--call, --surface…) point at them, so the rest of this file follows. */
:root {
  --page: #e9eef5;
  --screen: #f5f7fb;
  --card: #ffffff;
  --text: #0b1020;
  --text-muted: #5b6b85;
  --line: #e2e8f0;
  --input-bg: #e9eef5;
  --input-border: #c5cedc;
  --primary: #0066d6;
  --primary-text: #0059bd;
  --primary-soft: #e8f1ff;
  --ai: #6d28d9;
  --ai-soft: #f3eeff;
  --ai-border: #8b5cf6;
  --success: #15803d;
  --success-soft: #dcfce7;
  --on-success: #ffffff;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --neutral-tag: #3b4a63;
  --neutral-tag-soft: #e2e8f0;
  --shadow: rgb(11 16 32 / 0.12);
  /* As his prototype draws them on the call screens (docs/calls-step2.md, Part B, "Exact match"): the REC bar's
     darker red, WhatsApp's own greens for a guest, muted text on a grey button, the toast's white words. */
  --danger-text: #b91c1c;
  --whatsapp-soft: #e7f8ee;
  --whatsapp-text: #15803d;
  --text-muted-on-tag: #4a5a73;
  --toast-text: #ffffff;
  /* The Call page's boxes (search, the number, the names), his --in: white in light, darker than the cards in dark (C4). */
  --input-field: #ffffff;
  /* The 13 Nov 2026 checkpoint, round 2: what his prototype draws where it differs from his tokens.css (the
     prototype wins). The soft blue fill of a second button, a picked Hub tab and the COMING tag; the brighter
     blue line of an unread alert, a picked tab, "Continue set-up" and the chat's picked pill; the active tab
     and Today's tasks' line; the AI's purple cards, their line and the date tile on Coming up; the role tag's
     fill; the alert tags' red and green; the tab bar; the TalkBlue sheet's tiles, its suggestion and Quick
     record's circle; the pills' grey line. */
  --soft-fill: #dcebff;
  --accent-line: #007aff;
  --primary-line: #0066d6;
  --ai-card: #f5f0ff;
  --ai-line: #7c3aed;
  --ai-tile: #f1ebff;
  --role-tag-bg: #e8f1ff;
  --tag-bad: #b91c1c;
  --tag-bad-bg: #fee2e2;
  --tag-good-bg: #dcfce7;
  --tabbar-bg: #ffffff;
  --sheet-tile: #ffffff;
  --sugg-bg: #f3eeff;
  --sugg-ico: #6d28d9;
  --rec-soft: #fee2e2;
  --pill-border: #aeb9cb;
  --logo-ring: #ffffff;
  /* A switch row's track when off, as his Settings draw it (on is --primary) (RC876). */
  --switch-off: #c5cedc;
  /* Step 3, Part B, as his prototype draws Quick record and Schedule: the boxes and second buttons' line on Record
     now and Minutes ready, and the ring round today in Schedule's calendar; Minutes ready's green dot; Schedule's
     foot line, its green "got it" card's line and its share card. */
  --field-line: #cbd5e1;
  --done-dot: #15803d;
  --sc-foot-line: #e2e8f0;
  --got-line: #bbf7d0;
  --share-card: #e8f1ff;
  /* Step 4, the minutes (docs/minutes-step4.md): a guest's initials in his minutes module (light), and the knob of
     its switch. */
  --guest-av-text: #166534;
  /* Step 4 Part B, Tasks (11a, 11b): the track of a group's "a of b done" bar, the pop-up's shadow, Everyone ▾'s menu. */
  --task-track: #f0f4fa;
  --pop-shadow: rgb(11 16 32 / 0.18);
  --menu-shadow: rgb(0 0 0 / 0.3);
  /* Step 5 (docs/signin-step5.md): the line of his settings cards (.pc), Show me around again's. */
  --card-line: #e2e8f0;
  /* Step 6, Part C (docs/team-step6.md), as his prototype draws the call tasks: the instructions and AI rating cards'
     soft purple line, Next to call's and the daily brief's soft blue line, a picked list filter's fill, the picked
     "Upload a list" card and the AI rating card's blue end, Home's call task card, an Employee's note. */
  --ai-soft-line: #d9ccff;
  --primary-soft-line: #bfd9ff;
  --filter-on: #eef3fa;
  --pick-card: #eaf2ff;
  --task-card: #eaf2ff;
  --note-fill: #eef2f7;
  /* Step 6's checkpoint (F11): a call task list's numbers, his #3B4A63 and, dark, #C7D2E6. */
  --row-num: #3b4a63;
  /* Step 7, Part A (docs/computer-step7.md): the computer rail's section heads, as his prototype draws them (dark #7F8DA8). */
  --rail-head: #5b6b85;
  /* Step 7, Part C: the computer's Overview, as his prototype draws it: a Supervisor's card in Who reports to whom (his
     #EEF4FF, dark #0F1830) and the line from the owner down to the people (his #C5CEDC, dark #3B4F78). */
  --lead-card: #eef4ff;
  --org-stem: #c5cedc;
  /* Step 7, Part E: the line of the red "Late" box in the computer's Tasks pane, his #7F1D1D in both themes. */
  --late-line: #7f1d1d;
  /* Step 7, Part I: the card of Activities' pop-up, as his prototype draws it (white; dark #0E1528). */
  --pop-card: #ffffff;
  /* Step 7, Part H: Plan & billing's red cards (Payment failed, Plan cancelled), as his prototype draws them (dark #2A1010). */
  --fail-card: #fef2f2;
  /* Step 7's checkpoint (L16, L18): Roles' subscription card line and its free-seats number, as his prototype (dark #2A3A5C; the blue the same). */
  --sub-card-line: #d0d8e4;
  --free-seat: #60a5fa;
  --again-text: #0059bd; /* Roles' Send again (dark #9CC7FF), his */
  /* Step 8, part B: the sign-up card's shadow, his --shadow in the journey prototype (dark rgb(0 0 0 / 0.4)). */
  --signup-shadow: rgb(11 16 32 / 0.12);
  /* The new name (RC1029): "Blue" in the Talk·Blue wordmark, the logo's blue (his sheet, wordmark B; dark #0a84ff). */
  --wordmark-blue: #007aff;
  color-scheme: light;
}

/* Dark, picked in My settings or from Home's corner (js/theme.js). Light is the design's base and what a new phone starts in (Khaled, 12 November 2026). */
:root[data-theme="dark"] {
  --page: #070b16;
  --screen: #0b1020;
  --card: #121a2e;
  --text: #e6ecf5;
  --text-muted: #9aabc8;
  --line: #22304d;
  --input-bg: #070b17;
  --input-border: #5a6e94;
  --primary: #0a6cdb;
  --primary-text: #64a8ff;
  --primary-soft: #13233a;
  --ai: #c4b5fd;
  --ai-soft: #1e1838;
  --ai-border: #a78bfa;
  --success: #6ee7b7;
  --success-soft: #0f2e25;
  --on-success: #0b1020;
  --danger: #f87171;
  --danger-soft: #2a1015;
  --neutral-tag: #c9d4e6;
  --neutral-tag-soft: #22304d;
  --shadow: rgb(0 0 0 / 0.45);
  --danger-text: #f87171;
  --whatsapp-soft: #0f2e1e;
  --whatsapp-text: #25b95f;
  --text-muted-on-tag: #9aabc8;
  --toast-text: #0b1020;
  --input-field: #070b17;
  --soft-fill: #0d2a4d;
  --accent-line: #0a84ff;
  --primary-line: #0a84ff;
  --ai-card: #1a1530;
  --ai-line: #a78bfa;
  --ai-tile: #2a1f4a;
  --role-tag-bg: #0d2440;
  --tag-bad: #fca5a5;
  --tag-bad-bg: #3b1414;
  --tag-good-bg: #0e3b2e;
  --tabbar-bg: #0e1528;
  --sheet-tile: #151c2e;
  --sugg-bg: #21183a;
  --sugg-ico: #a78bfa;
  --rec-soft: #3a141a;
  --pill-border: #6b7fa6;
  --logo-ring: #0b1020;
  --switch-off: #3b4f78;
  --field-line: #3a4a6b;
  --done-dot: #34d399;
  --sc-foot-line: #1c2640;
  --got-line: #14532d;
  --share-card: #0d2440;
  --guest-av-text: #25b95f;
  --task-track: #17203a;
  --pop-shadow: rgb(0 0 0 / 0.5);
  --menu-shadow: rgb(0 0 0 / 0.3);
  --card-line: #1c2640;
  --ai-soft-line: #3b2f6b;
  --primary-soft-line: #1e4f8a;
  --filter-on: #1a2440;
  --pick-card: #0f1e33;
  --task-card: #0e2a4a;
  --note-fill: #141b2d;
  --row-num: #c7d2e6;
  --rail-head: #7f8da8;
  --lead-card: #0f1830;
  --org-stem: #3b4f78;
  --pop-card: #0e1528;
  --fail-card: #2a1010;
  --sub-card-line: #2a3a5c;
  --free-seat: #60a5fa;
  --again-text: #9cc7ff;
  --signup-shadow: rgb(0 0 0 / 0.4);
  --wordmark-blue: #0a84ff;
  color-scheme: dark;
}

/* The same in both themes. */
:root {
  --on-primary: #ffffff;
  --danger-fill: #dc2626;      /* Hang up, End, Start recording: filled red with white text */
  --whatsapp: #15803d;         /* WhatsApp buttons only, as on the screens */
  --logo-blue: #007aff;
  --logo-red-dot: #ef4444;
  --live-green: #34d399;       /* the online dot */
  --accept: #16a34a;           /* Accept on an incoming call, as his prototype draws it */
  --talk-gradient: linear-gradient(135deg, #0a5bd3, #6d28d9); /* his tokens.css (D13) */
  --talk-mic: linear-gradient(135deg, #1d3fd8, #6d28d9);       /* the TalkBlue sheet's small microphone, as his prototype draws it */
  --talk-halo: rgb(10 91 211 / 0.37);                           /* the ring round Talk's microphone while it listens */
  --primary-deep: #0a5bd3;     /* Your day's Call back and the Hub's "+ New chat", the same in both themes, as his prototype */
  --on-primary-deep: #fffffe;
  --signout-line: #7f1d1d;     /* a team member's Sign out */
  --input-inset: rgb(0 0 0 / 0.35);
  --sheet-shadow: rgb(0 0 0 / 0.35);
  --rsheet-shadow: rgb(0 0 0 / 0.22);
  --shade-light: rgb(5 8 18 / 0.45); /* behind the TalkBlue sheet */
  --ai-violet: #7c3aed;        /* the purple end of Your day's line, the same in both themes */
  --on-primary-veil: rgb(255 255 255 / 0.2); /* the icon's circle on the filled Meeting tile */
  --switch-knob: #ffffff;      /* a switch row's knob, white on and off, as his Settings */
  --today-ring: #ffffff;       /* Plan & billing's timeline: the white ring round today's cell, in both themes, as his */
  --wallet-black: #000000;     /* Apple Pay's button (black, white words) and Google Pay's (white, black words), as his, */
  --wallet-white: #ffffff;     /* in both themes: the wallets' own colours */
  /* The calling screen (docs/calls-step2.md, Part B): his tokens.css's gradient, the same in both themes, and
     what his prototype draws on it: the small words in lavender, the guest's dark navy, its agreed note in pale green. */
  --sign-in-gradient: linear-gradient(175deg, #0a5bd3 0%, #3b2fa8 62%, #1b1650 100%);
  --call-in-gradient: linear-gradient(175deg, #123b7a 0%, #1b1650 100%);
  --on-call-muted: #c9d4ff;
  --on-call-ok: #bbf7d0;
  --shade: rgb(5 8 18 / 0.5);    /* behind a sheet, in both themes */
  --shade-hub: rgb(5 8 18 / 0.55); /* behind the Quick hub and Talk, as his prototype */
  --on-call-blue: #0a5bd3;       /* the gradient's own blue: words on its white buttons, the guest's caller initials */
  --on-call-ok-bg: rgb(110 231 183 / 0.16);
  --on-call-own: #bed7ff;        /* the guest's own live lines, then the latest */
  --on-call-own-last: #cde1ff;
  --on-call-switch-off: rgb(255 255 255 / 0.45); /* the guest's live-translation switch, off: at least 3:1 on the calling screen (bridge checkpoint, F9) */
  --recording-red-light: #ff6b6b; /* the dot on "Answer · I agree" */
  --primary-glow: rgb(37 99 235 / 0.35);
  --toast-shadow: rgb(0 0 0 / 0.3);
  --seat-note: rgb(107 127 166 / 0.12); /* Roles' "All seats are used" note, his #6B7FA61F in both themes (checkpoint L19) */
  /* Step 7, Part A: the computer's Ask Blue bar's glow, the floating Ask button's, and "Call {name}" in the chat column. */
  --ask-glow: rgb(91 72 230 / 0.16);
  --ask-pulse: rgb(10 108 219 / 0.5); /* the ring round Ask Blue's microphone while it listens, as his (step 7, Part B) */
  --ask-fab-glow: rgb(10 91 211 / 0.35);
  --call-pill: #15803d;
  --row-pick: rgb(34 211 238 / 0.08); /* Team performance's picked row, his inset tint, the same in both themes (step 7, Part C) */
  /* The 13 Nov 2026 checkpoint (A7): colours the new parts wrote in, now named. --ai-fill is the AI's filled
     button, the same purple in both themes (--ai turns lavender in dark, for words); the logo's glow; the
     red pulse round the microphone while Talk listens. */
  --ai-fill: #6d28d9;
  --logo-glow: rgb(0 122 255 / 0.38);
  --missed-border: rgb(220 38 38 / 0.4); /* a missed call's row on the Call page, the same in both themes, as his (C13) */
  --qr-paper: #ffffff;           /* behind the meeting's QR code, white in both themes so a camera reads it (step 3) */
  --qr-ink: #0b1020;             /* sign-up's QR code itself, dark on --qr-paper in both themes (step 8's checkpoint, L13) */
  --rec-glow: rgb(220 38 38 / 0.35);  /* the TalkBlue button's red glow while Quick record runs (05b) */
  --rec-halo: rgb(220 38 38 / 0.12);  /* and its pulse */
  --guest-dot: #9aabc8;          /* Schedule's dot for a guest, beside --live-green's for someone on TalkBlue (13 Nov checkpoint, D7) */
  --qr-sheet-shadow: rgb(0 0 0 / 0.4); /* Record now, his card in the middle of the screen */
  /* Step 5 (docs/signin-step5.md), as his prototype draws the sign-in and the tour, the same in both themes: the
     first-time page's wordmark dot and wave on the gradient, its sheet's shadow; Welcome back's initials circle;
     "Use Face ID next time?"'s header (his gradient to 70%) and its icon's square; the tour's shade, the dim round
     the lit button, and its cards' shadow. */
  --wm-dot-on-gradient: #fca5a5;
  --wm-blue-on-gradient: #93c5fd; /* "Blue" in the wordmark on the gradient, the light blue beside the dot's light red */
  --on-gradient: #ffffff;
  --wf-sheet-shadow: rgb(0 0 0 / 0.25);
  --wb-avatar: linear-gradient(135deg, rgb(10 91 211 / 0.16), rgb(59 47 168 / 0.22));
  --face-gradient: linear-gradient(175deg, #0a5bd3 0%, #3b2fa8 70%, #1b1650 100%);
  --face-square: rgb(255 255 255 / 0.14);
  --face-square-line: rgb(255 255 255 / 0.35);
  --tour-shade: rgb(5 8 18 / 0.62);
  --tour-dim: rgb(5 8 18 / 0.66);
  --tour-shadow: rgb(0 0 0 / 0.4);
  /* Step 8, part C: the computer's tour, as his back-end tour draws it in both themes: the dim round the lit spot and
     behind "You're set", and his card's shadow at the bottom left. */
  --dtour-dim: rgb(5 8 18 / 0.58);
  --dtour-card-shadow: rgb(0 0 0 / 0.3);
  --display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius-button: 12px;
  --radius-card: 14px;
  --radius-sheet: 26px 26px 0 0;
  --radius-tag: 6px;
  --gutter: 18px;
  /* The older names. */
  --bg: var(--screen);
  --surface: var(--card);
  --sunk: var(--input-bg);
  --ink: var(--text);
  --muted: var(--text-muted);
  --call: var(--primary);
  --call-ink: var(--on-primary);
  --cream: var(--text);
  --lavender: var(--ai);
  --good: var(--success);
  --good-ink: var(--on-success);
  --hang: var(--danger);
  --hang-ink: #ffffff;
  --amber: var(--neutral-tag);
  --tint-call: var(--primary-soft);
  --tint-good: var(--success-soft);
  --tint-amber: var(--neutral-tag-soft);
  --tint-hang: var(--danger-soft);
  --tint-ink: var(--neutral-tag-soft);
}

* { box-sizing: border-box; }
html, body { background: var(--bg); margin: 0; }
body {
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
.app { max-width: 600px; margin: 0 auto; }
h1, h2, h3, p { margin: 0; }
.grow { flex: 1; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.pre { white-space: pre-wrap; }
.stack { display: flex; flex-direction: column; gap: 14px; }
code { font-family: var(--mono); font-size: 0.82em; background: var(--sunk); padding: 1px 6px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--call); outline-offset: 2px; }
/* The design's line icons (js/icons.js): 24 px drawings, stroke 1.8, in the colour of the text around them. */
.ico { flex: none; vertical-align: -0.18em; }
.ico-line { display: flex; gap: 8px; align-items: flex-start; }
.ico-line .ico { margin-top: 2px; }

/* Buttons */
.btn {
  font: inherit; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border-radius: var(--radius-button);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--sunk); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); min-height: 50px; }
.btn-primary:hover { background: var(--call); filter: brightness(1.07); }
/* A Call button: blue like every action (Anthony's v2.150; calls were purple, 3 Nov). */
.btn-call { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.btn-call:hover { background: var(--primary); filter: brightness(1.07); }
/* The second choice beside a primary: blue tint, blue text (the design's soft button). */
.btn-soft { background: var(--primary-soft); border-color: var(--primary-soft); color: var(--primary-text); }
.btn-quiet { background: transparent; border-color: transparent; color: var(--muted); padding-inline: 6px; }
.btn-quiet:hover { background: transparent; color: var(--ink); }
.btn-danger { color: var(--hang); }
.btn-solid-danger { background: var(--danger-fill); border-color: var(--danger-fill); color: var(--on-primary); }
.btn-solid-danger:hover { background: var(--danger-fill); filter: brightness(1.07); }
.icon-btn {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  width: 44px; height: 44px; border-radius: var(--radius-button); display: inline-grid; place-items: center;
}
.icon-btn:hover { background: var(--sunk); color: var(--ink); }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Header, setup note and command bar */
.top { display: flex; align-items: center; gap: 12px; padding-block: 4px 18px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--call); box-shadow: 0 0 0 4px var(--tint-call); }
.setup { display: flex; flex-direction: column; gap: 6px; background: var(--neutral-tag-soft); color: var(--ink); border-radius: var(--radius-card); padding: 14px 16px; margin-bottom: 16px; font-size: 0.92rem; }
.setup strong { color: var(--amber); }
.cmd { position: relative; }
.cmd svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.cmd input[type="text"] {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
  padding: 13px 16px 13px 48px; border-radius: var(--radius-button);
  border: 1px solid var(--input-border); background: var(--input-bg);
}
.cmd input::placeholder { color: var(--muted); }
.cmd input:focus { outline: 2px solid var(--call); outline-offset: 0; border-color: transparent; }
.hint { font-size: 0.86rem; color: var(--muted); margin: 8px 4px 0; }

/* Contact list */
.list-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 26px 0 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted);
}
.rows { display: flex; flex-direction: column; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.row {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 14px 16px; border: 0; border-top: 1px solid var(--line);
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.row:first-child { border-top: 0; }
.row:hover { background: var(--sunk); }
.avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--body); font-weight: 600; font-size: 0.9rem;
  background: var(--primary-soft); color: var(--primary-text);
}
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.row-name { font-weight: 600; }
.row-sub { color: var(--muted); font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-next { font-size: 0.88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.due { font-family: var(--mono); font-size: 0.78rem; font-weight: 500; }
.due.bad { color: var(--hang); }
.due.wait { color: var(--amber); }
.empty { padding: 28px 22px; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 6px; align-items: center; }
.empty strong { color: var(--ink); }
.chip {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em; line-height: 1.3;
  padding: 4px 8px; border-radius: var(--radius-tag); background: var(--neutral-tag-soft); color: var(--neutral-tag);
}
.chip.good { background: var(--tint-good); color: var(--good); }
.chip.wait { background: var(--tint-amber); color: var(--amber); }
.chip.bad { background: var(--tint-hang); color: var(--hang); }

/* Contact view */
.bar { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 4px; }
.who { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding-block: 4px 22px; }
.avatar.big { width: 76px; height: 76px; font-size: 1.6rem; margin-bottom: 6px; }
.who h1, .view-title { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.view-title { margin-bottom: 16px; }
.org { color: var(--muted); }
.phone { display: inline-flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 0.98rem; }
.phone .num { user-select: all; }
.call-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; font-size: 0.9rem; }
.call-btn {
  width: 70px; height: 70px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--primary); color: var(--on-primary);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -10px var(--primary);
}
.call-btn:hover { filter: brightness(1.07); }
.call-btn:disabled { opacity: 0.45; cursor: default; box-shadow: none; }
.card { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-card); padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card h2 { font-family: var(--display); font-weight: 600; font-size: 1.08rem; display: flex; align-items: center; gap: 8px; }
.count { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.k { font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.lead { font-size: 1.04rem; font-weight: 500; }
ul.plain { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.say { background: var(--sunk); border-radius: 12px; padding: 12px 14px; }
.say p { font-size: 1.02rem; }
.thinking { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--call); animation: pulse 1.2s ease-in-out infinite; flex: none; }
@keyframes pulse { 0%, 100% { opacity: 0.25; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .pulse, .live-dot { animation: none; } }
.hist { border-top: 1px solid var(--line); padding-top: 12px; }
.hist:first-of-type { border-top: 0; padding-top: 0; }
.hist summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.hist summary::-webkit-details-marker { display: none; }
.hist-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hist-when { font-family: var(--mono); font-size: 0.85rem; font-weight: 500; }
.hist-dur { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin-left: auto; }
.hist-sum { font-size: 0.93rem; }
.hist-more-label { font-size: 0.82rem; color: var(--primary-text); font-weight: 600; }
.hist[open] .hist-more-label { display: none; }
.hist-more { margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.hist-plain { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.hist-plain:first-of-type { border-top: 0; padding-top: 0; }
.danger { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 4px; font-size: 0.9rem; }

/* Results */
.result-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.score { font-family: var(--mono); font-size: 0.9rem; color: var(--muted); }
.score b { font-size: 1.35rem; color: var(--ink); font-weight: 500; }
.next { background: var(--tint-call); border-radius: 12px; padding: 12px 14px; }
.next .k { color: var(--primary-text); }
.talk-bar { height: 10px; border-radius: 999px; background: var(--sunk); overflow: hidden; display: flex; margin: 6px 0 4px; }
.talk-bar span { background: var(--call); }
.talk-legend { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.obj { padding-block: 10px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.obj:first-of-type { border-top: 0; padding-top: 2px; }
.obj-q { font-weight: 500; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.obj-a { font-size: 0.94rem; color: var(--muted); }
.obj-a b { color: var(--ink); font-weight: 600; }
.msg { white-space: pre-wrap; background: var(--sunk); border-radius: 12px; padding: 12px 14px; }
.subj { font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.follow { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.follow .msg { align-self: stretch; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.steps li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.steps li.done { color: var(--ink); }
.steps li.done::before { background: var(--call); border-color: var(--call); }
.steps li.active { color: var(--ink); font-weight: 600; }
.steps li.active::before { display: none; }
.transcript summary { cursor: pointer; font-weight: 600; color: var(--primary-text); }
.lines { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; font-size: 0.94rem; }
.lines b { font-weight: 600; }

/* Live tab: the call in progress (page 4) */
.live-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding-block: 8px 18px; }
.live-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 6vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: pulse 1.6s ease-in-out infinite; }
.call-status { font-size: 0.95rem; color: var(--muted); min-height: 1.5em; }
.call-status.problem { color: var(--ink); background: var(--tint-hang); border-radius: 10px; padding: 8px 12px; }
.call-signal { font-size: 0.95rem; font-weight: 600; color: var(--neutral-tag); background: var(--neutral-tag-soft); border-radius: 10px; padding: 8px 12px; }
.timer { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 2.6rem; font-weight: 400; letter-spacing: 0.02em; margin: 2px 0 2px; }
.tips { background: var(--ai-soft); color: var(--ai); border: 1.5px solid var(--ai-border); border-radius: var(--radius-card); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.tips .k { color: var(--ai); }
.tips p { color: var(--ink); }
.checks { display: flex; flex-direction: column; }
.check { display: flex; align-items: flex-start; gap: 12px; padding-block: 10px; border-top: 1px solid var(--line); cursor: pointer; }
.check:first-child { border-top: 0; padding-top: 0; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border-radius: 7px; border: 2px solid var(--input-border); background: var(--input-bg); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--call); border-color: var(--call); }
.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--call-ink); border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.check input:checked + span { color: var(--muted); }
.marks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.marks button { font: inherit; font-weight: 600; font-size: 0.92rem; padding: 14px 6px; border-radius: var(--radius-button); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.marks [data-mark="goal"] { color: var(--good); }
.marks [data-mark="goal"][aria-pressed="true"] { background: var(--tint-good); border-color: var(--good); }
.marks [data-mark="callback"][aria-pressed="true"] { background: var(--tint-amber); border-color: var(--amber); color: var(--amber); }
.marks [data-mark="no"][aria-pressed="true"] { background: var(--tint-hang); border-color: var(--hang); color: var(--hang); }
.call-controls { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 22px; }
.round-btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.round-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.round-btn:disabled { opacity: 0.45; cursor: default; }
.round-btn.spacer { visibility: hidden; }
.hangup {
  width: 70px; height: 70px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--danger-fill); color: var(--on-primary); display: grid; place-items: center;
}
.hangup svg { transform: rotate(135deg); }
.hangup:hover { filter: brightness(1.08); }
.center { text-align: center; }
.call-controls + .center { margin-top: 8px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ticks li { display: flex; gap: 10px; color: var(--muted); }
.ticks li::before { content: "○"; color: var(--muted); flex: none; }
.ticks li.said { color: var(--ink); }
.ticks li.said::before { content: "✓"; color: var(--primary-text); font-weight: 700; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: 0.9rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="date"], input[type="number"], input[type="time"], input[type="search"], input[type="datetime-local"], textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--input-bg); border: 1px solid var(--input-border); border-radius: var(--radius-button); padding: 12px 14px;
}
textarea { resize: vertical; line-height: 1.45; min-height: 96px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.75; }
#manual-text { min-height: 190px; }
input:focus, textarea:focus { outline: 2px solid var(--call); outline-offset: 0; border-color: transparent; }
.form-err { color: var(--hang); font-size: 0.9rem; font-weight: 500; }
.seg { display: inline-flex; align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-button); padding: 3px; gap: 2px; }
.seg button { border: 1px solid transparent; background: none; font: inherit; font-weight: 600; font-size: 0.9rem; min-height: 38px; padding: 7px 14px; border-radius: 9px; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-text); }
.login { max-width: 380px; margin: 12vh auto 0; display: flex; flex-direction: column; gap: 18px; }
select {
  font: inherit; font-size: 0.9rem; color: var(--ink); max-width: 100%;
  background: var(--input-bg); border: 1px solid var(--input-border); border-radius: 10px; padding: 8px 10px;
}
#f-owner { font-size: 16px; padding: 12px 14px; border-radius: 12px; }
.phone-in { display: flex; gap: 8px; }
.phone-in select { flex: 0 1 auto; width: 9.5rem; font-size: 16px; padding: 12px 10px; border-radius: 12px; }
.phone-in input { flex: 1 1 auto; min-width: 0; }
.list-head .count { margin-left: 6px; }
.list-add { font-family: var(--body); letter-spacing: 0; text-transform: none; font-size: 0.92rem; font-weight: 600; color: var(--primary-text); padding: 4px 6px; min-height: 44px; }
.list-add:hover { color: var(--primary-text); filter: brightness(1.15); }
.row-btns input.grow { min-width: 0; flex: 1 1 180px; }

/* Team member home */
.me { font-size: 0.9rem; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }
.next-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
.next-card h2 { font-size: 1.25rem; }

/* Admin */
.tabs { display: flex; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { flex: 1 1 auto; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-card); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile b { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1.7rem; font-weight: 500; line-height: 1.2; }
.tile span { font-size: 0.8rem; color: var(--muted); }
.table-wrap { overflow-x: auto; margin-inline: -4px; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: right; padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
th { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
th:first-child, td:first-child { text-align: left; }
tr:last-child td { border-bottom: 0; }
.item-row { display: flex; align-items: center; gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); }
.item-row:first-child { border-top: 0; padding-top: 0; }
.item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.item-main .sub { color: var(--muted); font-size: 0.86rem; overflow-wrap: anywhere; }
.row-link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; align-self: flex-start; }
.row-link:hover b { text-decoration: underline; }
.item-side { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; }
@media (max-width: 480px) { .item-row { flex-direction: column; align-items: stretch; } .item-side { justify-content: flex-start; } }
.pin-note { background: var(--tint-call); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pin { font-family: var(--mono); font-size: 1.6rem; letter-spacing: 0.18em; font-weight: 500; }
.import-result { background: var(--sunk); border-radius: 12px; padding: 12px 14px; font-size: 0.92rem; display: flex; flex-direction: column; gap: 6px; }
.import-result ul { margin: 0; padding-left: 18px; }
#import-text { min-height: 130px; font-family: var(--mono); }

.toast > .ico { display: inline-block; width: 1.12em; height: 1.12em; margin-right: 0.32em; vertical-align: -0.16em; }
.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  max-width: calc(100% - 32px);
  background: var(--ink); color: var(--bg);
  padding: 10px 18px; border-radius: 999px; font-size: 0.92rem; font-weight: 500;
  box-shadow: 0 8px 24px var(--shadow); z-index: 20;
}

/* "Put the app on a phone" card. The QR code stays dark on white in both themes so cameras can read it. */
.install { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.qr { flex: none; width: 168px; height: 168px; padding: 8px; border-radius: 14px; background: #ffffff; border: 1px solid var(--line); }
.qr svg { display: block; width: 100%; height: 100%; }
.install-text { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
#install-url { overflow-wrap: anywhere; }

/* The TalkBlue mark beside the product name. */
.brand-mark { flex: none; width: 30px; height: 30px; display: block; }

/* The Talk·Blue wordmark (Anthony's wordmark B, RC1029), tagline and the board's mono labels. */
.wordmark { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; color: var(--text); }
/* The dot between "Talk" and "Blue" is the red record dot the old wordmark had, Cal, carried over (Khaled, 5 Nov 2026; RC1029); the "·" stays in the text for copying and reading aloud. */
.wordmark b { display: inline-block; width: 0.3em; height: 0.3em; margin: 0 0.08em; border-radius: 50%; background: var(--logo-red-dot); color: transparent; overflow: hidden; line-height: 0; vertical-align: 0.14em; }
/* "Talk" in the text's colour, "Blue" in the brand blue (his sheet, wordmark B). */
.wordmark i { font-style: normal; color: var(--wordmark-blue); }
.tagline { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-top: -8px; }
.k, .list-head, th { font-family: var(--body); letter-spacing: 0.07em; }
.count { font-family: var(--mono); }
.who h1, .view-title, .card h2 { font-weight: 600; letter-spacing: -0.01em; }
.login .brand { font-size: 2rem; }
.login .brand-mark { width: 40px; height: 40px; }
/* The language switch: Français · English, under the sign-in buttons. */
.login .lang-switch { align-self: center; }
#lead-team-filter, #agent-team { font-size: 16px; padding: 11px 10px; border-radius: 12px; }
#import-team { font-size: 16px; padding: 12px 14px; border-radius: 12px; align-self: flex-start; }

/* The advisor: Today, the deal, tasks, the story so far, skills */
.today { margin-bottom: 14px; }
.task { display: flex; flex-direction: column; gap: 8px; padding-block: 12px; border-top: 1px solid var(--line); }
h2 + .task, .card > p + .task { border-top: 0; padding-top: 0; }
.task-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.task-what { font-weight: 500; }
.task .row-btns { gap: 8px; }
.task .btn { padding: 8px 14px; font-size: 0.9rem; }
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, auto); gap: 4px; }
.track li { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); text-align: center; padding-top: 8px; border-top: 4px solid var(--sunk); white-space: nowrap; }
.track li.done { border-color: var(--tint-call); color: var(--ink); }
.track li.now { border-color: var(--call); color: var(--primary-text); font-weight: 600; }
.track.lost li { border-color: var(--sunk); color: var(--muted); }
.chance { display: flex; align-items: center; gap: 10px; }
.chance .talk-bar { flex: 1; }
.chance b { font-family: var(--mono); font-weight: 500; }
.risks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; }
.risks li { padding: 8px 12px; border-radius: 10px; background: var(--tint-amber); color: var(--amber); }
.risks li.bad { background: var(--tint-hang); color: var(--hang); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.facts dd { margin: 2px 0 0; font-size: 0.94rem; }
.promise { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 4px; }
.promise.kept { color: var(--muted); }
.skills { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.skill { display: grid; grid-template-columns: minmax(7rem, 9rem) 1fr 1.6rem; align-items: center; gap: 10px; font-size: 0.9rem; }
.skill b { font-family: var(--mono); font-weight: 500; text-align: right; }
.add-task { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.add-task input[type="text"] { flex: 1 1 100%; }
.add-task input[type="date"] { flex: 1 1 9rem; width: auto; padding-block: 9px; }
.add-task select { flex: 1 1 6rem; font-size: 16px; padding: 10px; border-radius: 12px; }

/* The owners' page */
.app.wide { max-width: 980px; }
.o-tag { margin-left: 4px; }
.o-month { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
@media (min-width: 720px) { .o-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.o-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.o-grid select { font-size: 16px; padding: 12px 10px; border-radius: 12px; }
tr.o-flag td, tr.o-flag td b { color: var(--hang); }
td .muted { font-weight: 400; }
.o-bars { display: flex; flex-direction: column; gap: 8px; }
.o-bar-row { display: grid; grid-template-columns: 2.6rem 1fr 5.5rem; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.82rem; }
.o-bar { height: 14px; border-radius: 999px; background: var(--sunk); overflow: hidden; display: flex; }
.o-bar-total { text-align: right; }
.o-phone { background: var(--call); }
.o-transcription { background: var(--ai-border); }
.o-ai { background: var(--success); }
.o-fixed { background: var(--muted); }
.o-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.o-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Scores as coloured pills: good from 75, watch from 50, bad below (Anthony's concept). */
.pill { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4em; padding: 2px 8px; border-radius: 8px; font-family: var(--mono); font-size: 0.85rem; font-weight: 500; background: var(--tint-ink); color: var(--ink); }
.pill.good { background: var(--tint-good); color: var(--good); }
.pill.wait { background: var(--tint-amber); color: var(--amber); }
.pill.bad { background: var(--tint-hang); color: var(--hang); }

/* The callers' four tabs (Anthony's concept, pages 2, 4, 5 and 9) */
body.with-tabs { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
body.with-tabs .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tabbar-in { max-width: 600px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tabbar button {
  position: relative; border: 0; background: none; font: inherit; font-weight: 500; font-size: 0.95rem;
  color: var(--muted); padding: 22px 4px 18px; cursor: pointer;
}
.tabbar button:hover { color: var(--ink); }
.tabbar button[aria-current="page"] { color: var(--primary-text); }
.tabbar button[aria-current="page"]::before, .tabbar button.on-call::before {
  content: ""; position: absolute; top: 9px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--call);
}
.tabbar button.on-call { color: var(--hang); }
.tabbar button.on-call::before { background: var(--hang); animation: pulse 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .tabbar button.on-call::before { animation: none; } }

.kicker { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.kicker.lav { color: var(--primary-text); }
.btn-block { width: 100%; min-height: 50px; padding-block: 12px; font-size: 15px; }

/* Dialer */
.greet { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-block: 6px 18px; }
.greet h1 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.score-card { flex-direction: row; align-items: center; gap: 18px; margin-bottom: 14px; }
.ring { position: relative; flex: none; width: 84px; height: 84px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--sunk); stroke-width: 4; }
.ring circle.fill { stroke: var(--muted); stroke-linecap: round; }
.ring.good circle.fill { stroke: var(--success); }
.ring.wait circle.fill { stroke: var(--amber); }
.ring.bad circle.fill { stroke: var(--hang); }
.ring b { font-family: var(--mono); font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.day { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.day-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.day-stats b { font-family: var(--mono); font-weight: 500; }
.day-stats .good { color: var(--good); }
.next-card { margin-bottom: 14px; }
.pad-card { gap: 10px; }
.pad-head { display: flex; align-items: center; justify-content: space-between; }
.pad { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dial-num {
  width: 100%; text-align: center; font-family: var(--mono) !important; font-size: 1.8rem !important; letter-spacing: 0.04em;
  background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; padding: 6px 4px !important;
}
.dial-num:focus { outline: none; border-bottom-color: var(--call) !important; }
.dial-country { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px; }
.dial-country select { font-size: 0.85rem; padding: 6px 8px; }
.keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 320px; }
.keys button {
  font-family: var(--display); font-size: 1.5rem; font-weight: 500; color: var(--ink);
  height: 56px; border-radius: 999px; border: 1px solid var(--line); background: var(--sunk); cursor: pointer;
  display: grid; place-items: center;
}
.keys button:hover { filter: brightness(1.15); }
.keys button:active { background: var(--tint-ink); }
.row:disabled { cursor: default; }
.row:disabled:hover { background: none; }

/* Tasks */
.progress-line { display: flex; justify-content: space-between; gap: 8px; font-size: 0.92rem; color: var(--muted); }
.progress-line .mono { color: var(--ink); }
.stat3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 480px) { .stat3 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat3 > div { display: flex; flex-direction: column; min-width: 0; }
.stat3 b { font-family: var(--mono); font-size: 1.35rem; font-weight: 500; }
.must summary, .about summary { cursor: pointer; font-weight: 600; color: var(--primary-text); }
.must ul { margin-top: 10px; }
.about p { margin-top: 10px; color: var(--muted); }

/* Profile */
.prof-head { display: flex; align-items: center; gap: 16px; padding-block: 6px 20px; }
.prof-head .avatar.big { margin: 0; }
.prof-head h1 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.big-score { font-family: var(--mono); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--muted); }
.big-score.good { color: var(--success); }
.big-score.wait { color: var(--amber); }
.big-score.bad { color: var(--hang); }
.bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bar-track { width: 100%; height: 96px; display: flex; align-items: flex-end; border-bottom: 2px solid var(--sunk); }
.bar-track span { width: 100%; border-radius: 8px 8px 3px 3px; background: var(--call); }
.bar-track span.wait { background: var(--amber); }
.bar-track span.bad { background: var(--hang); }
.bar-day { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.talk-bar.good span { background: var(--good); }
.talk-bar.wait span { background: var(--amber); }
.talk-bar.bad span { background: var(--hang); }
.skill { grid-template-columns: minmax(7rem, 9rem) 1fr 2.2rem; }
.coach { background: var(--tint-ink); }
.coach .kicker { margin-bottom: 0; }

/* Task centers: the list and the set-up page (Anthony's page 14) */
.center-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.center-intro { margin: -8px 0 18px; }
.center-grid { display: grid; gap: 14px; align-items: start; }
@media (min-width: 900px) {
  .center-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .c-summary { position: sticky; top: 16px; }
}
.step { font-family: var(--mono); color: var(--primary-text); font-weight: 500; }
.card h2 .step { font-size: 0.95rem; }
.points { display: flex; flex-direction: column; gap: 8px; }
.point { display: grid; grid-template-columns: 2rem 1fr 36px; align-items: center; gap: 6px; }
.point .step { font-size: 0.8rem; text-align: center; }
.phrases { display: flex; flex-wrap: wrap; gap: 6px; }
.phrases:empty { display: none; }
.phrase { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--tint-hang); color: var(--hang); font-size: 0.86rem; font-weight: 500; }
.phrase button { border: 0; background: none; color: inherit; font: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer; min-width: 32px; min-height: 32px; margin: -6px -8px -6px 0; }
.must .phrases { margin-top: 10px; }
.people { display: flex; flex-wrap: wrap; gap: 8px; }
.person { font: inherit; font-weight: 600; font-size: 0.9rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.person[aria-pressed="true"] { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-text); }
.targets { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 12px; }
.unit { display: flex; align-items: center; gap: 8px; }
.unit span { color: var(--muted); }
.check input[type="time"] { width: auto; padding: 6px 8px; display: inline-block; vertical-align: middle; }
#center-form .check > span { line-height: 2.2; }
.sum { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sum div { display: flex; justify-content: space-between; gap: 10px; }
.sum dt { color: var(--muted); }
.sum dd { margin: 0; font-family: var(--mono); }
.add-count { color: var(--good); }
table.map th, table.map td { text-align: left; white-space: normal; vertical-align: middle; }
table.map td.mono { font-size: 0.85rem; overflow-wrap: anywhere; }
table.map select { font-size: 16px; padding: 7px 8px; }
#c-csv { min-height: 110px; font-family: var(--mono); font-size: 14px; }
#c-country { align-self: flex-start; font-size: 16px; padding: 10px; border-radius: 12px; }

/* Calls: the target length and the next call starting by itself */
.timer.over { color: var(--danger); }
.auto-next { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--tint-call); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; }
.auto-next b { font-family: var(--mono); font-weight: 500; }

/* The call score: its five parts, flags & review (page 13) and rules (page 18) */
.skills.parts { gap: 10px; }
.skills.parts .skill { grid-template-columns: 1fr auto; row-gap: 4px; }
.skills.parts .skill > .talk-bar, .skills.parts .skill > .muted.small { grid-column: 1 / -1; grid-row: 2; margin: 0; }
.tab-count { display: inline-grid; place-items: center; min-width: 1.4em; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--danger-fill); color: var(--on-primary); font-family: var(--mono); font-size: 0.72rem; line-height: 1.5; }
.review-meta { margin: -10px 0 10px; }
.review-chips { margin-bottom: 16px; }
.tlines { display: flex; flex-direction: column; }
.tline { display: grid; grid-template-columns: 3rem 5.2rem 1fr; gap: 8px; padding: 9px 10px; border-radius: 10px; font-size: 0.94rem; }
.tline.hit { background: var(--tint-hang); }
.tline .who { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 3px; }
.tline .who.you { color: var(--primary-text); }
.tline .who.them { color: var(--neutral-tag); }
.hit-label { display: block; margin-top: 4px; color: var(--hang); font-size: 0.82rem; }
@media (max-width: 480px) { .tline { grid-template-columns: 1fr; gap: 2px; } }
.decide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.decide .btn { padding-inline: 6px; }
.decide-card { border-color: var(--call); }
.rules { display: flex; flex-direction: column; }
.rule { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding-block: 12px; border-top: 1px solid var(--line); cursor: pointer; }
.rule:first-child { border-top: 0; padding-top: 0; }
.rule-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rule-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
@media (max-width: 480px) { .rule { grid-template-columns: auto 1fr; } .rule-side { grid-column: 2; flex-direction: row; align-items: center; } }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 44px; height: 26px; margin: 0; border-radius: 999px; background: var(--sunk); border: 1px solid var(--line); position: relative; cursor: pointer; transition: background 0.15s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--muted); transition: transform 0.15s, background 0.15s; }
.switch:checked { background: var(--call); border-color: var(--call); }
.switch:checked::after { transform: translateX(18px); background: #fff; }
@media (prefers-reduced-motion: reduce) { .switch, .switch::after { transition: none; } }
/* Notifications on this phone: a switch that says plainly whether it's on. */
.push-switch { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius-card); background: var(--surface); cursor: pointer; }
.push-switch .row-sub { white-space: normal; font-size: 0.82rem; }
.push-state { flex: none; font-size: 0.85rem; color: var(--muted); }
.push-state.on { color: var(--primary-text); }
.level { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; }
.level.high { background: var(--tint-hang); color: var(--hang); }
.level.medium { background: var(--tint-amber); color: var(--amber); }
.level.low { background: var(--tint-call); color: var(--primary-text); }
.o-bar-row.weight { grid-template-columns: 9rem 1fr 4.6rem; font-family: var(--body); font-size: 0.88rem; }

/* The admin console (Anthony's pages 3, 15, 16 and 19): a side menu on a wide screen,
   a scrolling row along the top on a phone. */
.app.console-wide { max-width: 1240px; }
.console { display: flex; flex-direction: column; gap: 14px; }
.side { display: flex; flex-direction: column; gap: 10px; }
.side-top { display: flex; align-items: center; gap: 10px; }
.side-foot { display: flex; align-items: center; gap: 6px; }
.side-links { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px; }
.side-links::-webkit-scrollbar { display: none; }
.side-links button {
  flex: none; display: inline-flex; align-items: center; font: inherit; font-weight: 500; font-size: 0.92rem; white-space: nowrap;
  padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer;
}
.side-links button:hover { color: var(--ink); }
.side-links button[aria-current="page"] { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-text); }
.console-main { min-width: 0; }
.console-main > .view-title { margin-bottom: 18px; }
@media (min-width: 900px) {
  .console { flex-direction: row; align-items: flex-start; gap: 28px; }
  .side { position: sticky; top: 12px; width: 200px; flex: none; min-height: calc(100vh - 40px); padding-right: 16px; border-right: 1px solid var(--line); }
  .side-top { flex-direction: column; align-items: flex-start; }
  .side-top .grow { display: none; }
  .side-foot { order: 9; position: absolute; bottom: 0; flex-wrap: wrap; }
  .side-links { flex-direction: column; overflow: visible; margin: 8px 0 0; padding: 0; gap: 2px; }
  .side-links button { border: 0; background: none; width: 100%; justify-content: space-between; padding: 9px 10px; }
  .side-links button[aria-current="page"] { background: var(--primary-soft); }
}
.tile .tile-label { color: var(--muted); font-size: 0.8rem; }
.tile b { order: 0; }
.tile.good b { color: var(--success); }
.tile.wait b { color: var(--amber); }
.tile.bad b { color: var(--hang); }
@media (min-width: 900px) { .tiles.five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 560px) { .tiles.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .tiles.six { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tile-link { font: inherit; color: inherit; text-align: left; cursor: pointer; }
.tile-link:hover { border-color: var(--call); }
table.lefty th, table.lefty td { text-align: left; white-space: nowrap; vertical-align: middle; }
table.lefty td.why { white-space: normal; min-width: 14rem; }
.btn.link { color: var(--primary-text); padding-inline: 0; text-decoration: underline; text-underline-offset: 3px; }
.ov-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .ov-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.eff { display: flex; align-items: center; gap: 8px; min-width: 9rem; }
.eff .talk-bar { flex: 1; margin: 0; }
.o-good { background: var(--good); }
.o-bad { background: var(--hang); }
.hours { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; align-items: end; }
.hour { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.hour .v { font-size: 0.72rem; color: var(--muted); min-height: 1.2em; }
.hb { width: 100%; height: 130px; display: flex; align-items: flex-end; border-radius: 6px;
  background: linear-gradient(to top, transparent calc(var(--line) - 1px), color-mix(in srgb, var(--amber) 60%, transparent) calc(var(--line) - 1px), color-mix(in srgb, var(--amber) 60%, transparent) var(--line), transparent var(--line)); }
.hb span { width: 100%; border-radius: 6px 6px 2px 2px; background: var(--neutral-tag-soft); }
.hb span.on { background: var(--call); }
.hour .h { font-size: 0.72rem; color: var(--muted); }
.sort-row { align-items: center; justify-content: flex-end; }
.who-cell { display: inline-flex; align-items: center; gap: 10px; }
.avatar.sm { width: 32px; height: 32px; font-size: 0.78rem; }
.flags-bad { color: var(--hang); }
.flags-wait { color: var(--amber); }
.spark { display: inline-flex; align-items: flex-end; gap: 3px; height: 24px; }
.spark span { width: 6px; border-radius: 2px; background: var(--call); }
.spark span.wait { background: var(--amber); }
.spark span.bad { background: var(--hang); }
.spark span.none { background: var(--sunk); }
.coach-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.calls-search { display: flex; flex-wrap: wrap; gap: 8px; }
.calls-search input { flex: 1 1 260px; width: auto; }
.calls-search select { font-size: 16px; padding: 11px 10px; border-radius: 12px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; }
.found { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 14px; }
.found-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.found-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.found-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.snip { font-size: 0.96rem; }
mark { background: var(--tint-call); color: var(--primary-text); border-radius: 4px; padding: 0 2px; }
.who-tag { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.who-tag.you { color: var(--primary-text); }
.who-tag.them { color: var(--neutral-tag); }
.sub-tabs { flex-wrap: wrap; }

/* The daily brief (Anthony's page 6) */
.brief-bar select { font-size: 16px; padding: 10px; border-radius: 12px; }
.brief-lede { color: var(--ink); font-size: 1.05rem; max-width: 70ch; }
.attn { display: grid; grid-template-columns: 4.6rem 1fr; gap: 12px; align-items: start; padding-block: 10px; border-top: 1px solid var(--line); }
.attn:first-of-type { border-top: 0; padding-top: 0; }
.attn .level { text-align: center; }
.attn p { margin-top: 2px; font-size: 0.94rem; }
.act { display: grid; grid-template-columns: 2rem 1fr auto; gap: 12px; align-items: start; padding-block: 14px; border-top: 1px solid var(--line); }
.act:first-of-type { border-top: 0; padding-top: 0; }
.act.done .act-main > b { color: var(--muted); }
.act-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.act-main input { flex: 1 1 12rem; width: auto; padding-block: 9px; }
.act-side { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
@media (max-width: 560px) { .act { grid-template-columns: 2rem 1fr; } .act-side { grid-column: 2; justify-content: flex-start; } }

/* The audit log (Anthony's page 25): a table on a wide screen; on a phone
   each entry is a few short lines, the action first. */
.audit-check { border-radius: 12px; padding: 10px 14px; font-size: 0.9rem; }
.audit-check.ok { background: var(--tint-good); color: var(--good); }
.audit-check.bad { background: var(--tint-hang); color: var(--hang); font-weight: 600; }
#audit-roles, #o-audit-roles { flex-wrap: wrap; }
@media (max-width: 420px) { #audit-roles button, #o-audit-roles button { padding-inline: 8px; font-size: 0.85rem; } }
table.audit th, table.audit td { text-align: left; vertical-align: top; white-space: normal; }
table.audit td.a-time, table.audit td.a-from { white-space: nowrap; font-size: 0.82rem; color: var(--muted); }
table.audit td.a-who { white-space: nowrap; }
table.audit td.a-act.sensitive { color: var(--amber); }
table.audit td.a-target { overflow-wrap: anywhere; min-width: 12rem; }
.role-tag { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; padding: 3px 8px; border-radius: var(--radius-tag); background: var(--neutral-tag-soft); color: var(--neutral-tag); white-space: nowrap; }
.role-tag.admin { background: var(--tint-call); color: var(--primary-text); }
.role-tag.agent { background: var(--tint-good); color: var(--good); }
.role-tag.owner { background: var(--primary-soft); color: var(--primary-text); }
@media (max-width: 760px) {
  table.audit thead { display: none; }
  table.audit, table.audit tbody { display: block; }
  table.audit tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; padding: 11px 0; border-bottom: 1px solid var(--line); }
  table.audit tr:last-child { border-bottom: 0; }
  table.audit td { padding: 0; border: 0; min-width: 0; }
  table.audit td.a-act { order: 1; flex: 1 1 55%; font-weight: 600; }
  table.audit td.a-time { order: 2; margin-left: auto; }
  table.audit td.a-target { order: 3; flex: 1 1 100%; min-width: 0; }
  table.audit td.a-who { order: 4; font-size: 0.86rem; }
  table.audit td.a-role { order: 5; }
  table.audit td.a-co { order: 6; font-size: 0.86rem; color: var(--muted); }
  table.audit td.a-from { order: 7; flex: 1 1 100%; }
}

/* Meetings recorded in person: the Record button on the Dialer and in the
   admin console, the recording screen, and a meeting's page. Insight
   lavender marks meetings, as Signal cyan marks calls. */
.meet-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
.meet-card h2 { font-size: 1.25rem; }
.meet-card .list-add { align-self: flex-start; min-height: 36px; margin-top: 2px; padding-inline: 0; color: var(--primary-text); }
.rec-btn {
  width: 64px; height: 64px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--danger-fill); color: var(--on-primary); display: grid; place-items: center;
  box-shadow: 0 10px 24px -10px var(--danger-fill);
}
.rec-btn:hover { filter: brightness(1.07); }
.rec-btn:disabled { opacity: 0.45; cursor: default; box-shadow: none; }
.rec-btn.big { width: 88px; height: 88px; background: var(--danger-fill); color: var(--on-primary); box-shadow: 0 12px 28px -12px var(--danger-fill); }
.rec-start { display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 600; margin-top: 6px; }
.read-out { background: var(--primary-soft); border-color: var(--primary-soft); }
.read-out .k { color: var(--primary-text); }
.read-line { font-family: var(--display); font-size: clamp(1.15rem, 5vw, 1.35rem); font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.rec-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--hang); }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--hang); animation: pulse 1.2s ease-in-out infinite; }
.stop-btn {
  width: 88px; height: 88px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--danger-fill); color: var(--on-primary); display: grid; place-items: center;
}
.stop-btn:hover { filter: brightness(1.08); }
.stop-btn:disabled { opacity: 0.55; cursor: default; }
.center-row { justify-content: center; margin-top: 14px; }
.pending-card { border-color: var(--line); background: var(--neutral-tag-soft); }
.pending-card h2 { color: var(--ink); }
.meet-pending:not([hidden]) { margin-bottom: 14px; }
.avatar.meet-av { background: var(--primary-soft); color: var(--primary-text); }
.meet-who { margin: -8px 0 16px; }
.speakers { display: flex; flex-direction: column; gap: 12px; }
.speaker-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 12px; }
.speaker-row .talk-bar { grid-column: 1 / -1; margin: 2px 0 0; }
.speaker-row .talk-bar span { background: var(--primary); }
.speaker {
  font: inherit; font-weight: 600; background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; text-align: left;
  text-decoration: underline dotted var(--muted); text-underline-offset: 4px;
}
.speaker:hover { color: var(--primary-text); }
/* A call's minutes read by someone who wasn't on it: the names aren't buttons (13 Nov 2026 checkpoint, C3). */
span.speaker, span.speaker:hover { cursor: default; text-decoration: none; color: var(--ink); }
.lines .speaker { margin-right: 4px; }
.line-time { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); margin-right: 8px; }
.rename { display: flex; flex-wrap: wrap; gap: 8px; }
.k + .task { border-top: 0; padding-top: 2px; }
.rename input { flex: 1 1 12rem; width: auto; min-width: 0; }
@media (prefers-reduced-motion: reduce) { .rec-dot { animation: none; } }

/* TalkBlue Private: the seat holder's own pages (js/private.js). Insight
   lavender and a small lock mark what's private; the three ways to capture
   a conversation sit side by side on Today. */
.p-tag { display: inline-flex; align-items: center; gap: 6px; }
.p-capture { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.p-cap {
  font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-card);
  padding: 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; cursor: pointer; min-width: 0;
}
.p-cap svg { color: var(--ink); }
.p-cap b { font-family: var(--display); font-size: 1rem; line-height: 1.2; }
.p-cap span { font-size: 0.78rem; color: var(--muted); line-height: 1.3; }
.p-cap:hover { border-color: var(--primary); }
@media (max-width: 360px) { .p-capture { grid-template-columns: 1fr; } .p-cap { flex-direction: row; text-align: left; } }
.call-btn.big { width: 88px; height: 88px; background: var(--primary); color: var(--on-primary); box-shadow: 0 10px 24px -10px var(--primary); }
.p-log { display: flex; flex-direction: column; gap: 8px; }
.p-log-row { display: flex; flex-direction: column; gap: 0; font-size: 0.92rem; border-top: 1px solid var(--line); padding-top: 8px; }
.p-log-row:first-child { border-top: 0; padding-top: 0; }

/* Emails with leads (js/email.js): writing one through TalkBlue, each email
   in a lead's history, the nudge when a promised email hasn't gone out,
   and the admin's To sort list. */
.who-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 12px; }
.mail-addr { font-size: 0.9rem; color: var(--muted); }
.mail-head { gap: 8px; padding: 14px 16px; }
.mail-line { display: flex; gap: 10px; align-items: baseline; min-width: 0; overflow-wrap: anywhere; }
.mail-line .k { flex: none; width: 3.2rem; margin: 0; }
textarea.mail-write { min-height: 15rem; }
.mail-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.93rem; line-height: 1.5; max-height: 26rem; overflow-y: auto; background: var(--sunk); border-radius: 12px; padding: 12px 14px; }
.mail-meta { margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; }
.mail-meta div { display: flex; gap: 10px; align-items: baseline; min-width: 0; }
.mail-meta dt { flex: none; width: 2.6rem; margin: 0; }
.mail-meta dd { margin: 0; overflow-wrap: anywhere; min-width: 0; }
.nudge .item-main b { color: var(--amber); }
.nudge-card { border-color: var(--primary); }
.nudge-card .item-row { padding-block: 0; }
.sort-item { display: flex; flex-direction: column; gap: 6px; padding-block: 14px; border-top: 1px solid var(--line); min-width: 0; overflow-wrap: anywhere; }
.sort-item:first-child { border-top: 0; padding-top: 0; }
.sort-file { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; background: var(--sunk); }
.sort-matches { display: flex; flex-direction: column; gap: 6px; }
.sort-pick { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; height: auto; padding-block: 8px; }
.sort-file .check { border-top: 0; padding-block: 0; }
.done-hint { color: var(--muted); }
.agent-email { flex: 1 1 12rem; min-width: 0; max-width: 18rem; }

/* A guest joining a planned meeting (join.html) */
.join { max-width: 520px; margin: 0 auto; padding: 24px 16px 48px; display: flex; flex-direction: column; gap: 18px; }
.join #join-body { display: flex; flex-direction: column; gap: 14px; }
.join h1 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.join-agenda { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 4px; }
.join-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; line-height: 1.4; }
.join-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.join-error { color: var(--hang); font-weight: 600; }

/* The admin's "New meeting" (js/meet-plan.js) */
.plan { max-width: 640px; }
.plan-head { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.plan-title { font-family: var(--display); font-weight: 600; font-size: 24px; }
.plan .k { font-family: var(--body); font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.plan .k.good { color: var(--good); }
.plan-add { width: 100%; border-color: var(--call); color: var(--primary-text); background: none; }
.plan-people { display: flex; flex-direction: column; gap: 8px; }
.plan-person { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.plan-person .grow, .plan-pick .grow { flex: 1; min-width: 0; }
.plan-role { cursor: pointer; border: 0; font-family: var(--body); letter-spacing: 0.05em; }
.plan-x { padding: 4px 10px; }
.plan-picker { gap: 10px; }
.plan-pick { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 12px; background: none; color: inherit; font: inherit; cursor: pointer; }
.plan-pick:hover { background: var(--sunk); }
.plan-other summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.plan-other .btn { margin-top: 10px; }
.plan-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-chips .chip { font-size: 0.85rem; padding: 6px 12px; border: 0; cursor: default; }
.plan-chips button.chip { cursor: pointer; }
.chip.lav { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.plan textarea { width: 100%; }
.plan-agenda ol { margin: 6px 0 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 4px; }
.plan-wa { background: var(--success-soft); border: 1px solid var(--success); border-radius: var(--radius-card); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.plan-wa .k { color: var(--success); }
.plan-wa p { white-space: pre-wrap; overflow-wrap: anywhere; }
.plan-row { display: flex; gap: 10px; }
.plan-row > * { flex: 1; text-align: center; }
.plan-wa-btn { background: var(--whatsapp); border-color: var(--whatsapp); color: var(--on-primary); }
.plan-foot { display: flex; flex-direction: column; margin-top: 6px; }

/* Calls between two TalkBlue apps (js/colleague.js): the colleagues, who's
   in the app (a dot), the ring screen and the call screen. */
.people-btn {
  width: 64px; height: 64px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--call); color: var(--call-ink); display: grid; place-items: center;
  box-shadow: 0 10px 24px -10px var(--call);
}
.people-btn:hover { filter: brightness(1.07); }
.people-btn:disabled { opacity: 0.45; cursor: default; box-shadow: none; }
.row.person { cursor: default; }
.row.person:hover { background: none; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); vertical-align: middle; margin: -2px 6px 0 0; }
.dot.online { background: var(--good); box-shadow: 0 0 0 3px var(--tint-good); }
.dot.away { background: var(--amber); }
.dot.busy { background: var(--hang); }
.call-btn.sm { width: 48px; height: 48px; box-shadow: none; }
.incoming {
  position: fixed; inset: 0; z-index: 30; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 24px max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.incoming-in { width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.incoming-in h1 { font-family: var(--display); font-weight: 600; font-size: clamp(1.75rem, 8vw, 2.1rem); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.incoming-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--call); animation: pulse 1.2s ease-in-out infinite; margin: 10px 0 4px; }
.incoming-btns { display: flex; justify-content: center; gap: 56px; margin-top: 40px; }
.incoming-choice { display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; }
.incoming-btn { width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; }
.incoming-btn:disabled { opacity: 0.55; cursor: default; }
.incoming-btn.answer { background: var(--accept); color: var(--on-primary); box-shadow: 0 12px 28px -12px var(--accept); }
.incoming-btn.decline { background: var(--danger-fill); color: var(--on-primary); }
.incoming-btn.decline svg { transform: rotate(135deg); }

/* A company trying TalkBlue from the website: what to try first */
.welcome { border-color: var(--call); }
.welcome-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.welcome-steps li::marker { color: var(--primary-text); font-weight: 700; }
.welcome-steps .btn { margin-left: 4px; }

/* Task centers: Anthony's Tasks page under New task center */
.task-sum { margin: -6px 0 0; font-size: 0.82rem; color: var(--muted); }
@media (min-width: 900px) { .task-sum { text-align: right; margin-top: -46px; min-height: 1.2em; } }
.center-top { display: flex; flex-direction: row; align-items: center; gap: 16px; }
.center-top-text { flex: 1; min-width: 0; }
.center-top-text h2 { margin-bottom: 4px; }
@media (max-width: 560px) { .center-top { flex-direction: column; align-items: stretch; } }
.task-filters { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.task-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tile.tp .talk-bar { height: 6px; margin: 6px 0 2px; }
.tile.tp .tile-label { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.trow { display: grid; grid-template-columns: 1.6rem minmax(0, 2.2fr) minmax(0, 0.9fr) minmax(0, 1.6fr) minmax(9.5rem, auto); gap: 4px 14px; align-items: center; padding-block: 11px; border-top: 1px solid var(--line); }
.trow.thead { border-top: 0; padding-block: 0 8px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.trow-what { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.trow-from { color: var(--muted); overflow-wrap: anywhere; }
.trow-from .row-link { color: var(--muted); font-size: inherit; }
.trow-from .row-link:hover { color: var(--ink); text-decoration: underline; }
.trow-side { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.trow .btn { padding: 6px 12px; font-size: 0.85rem; }
.trow.done .task-what { text-decoration: line-through; color: var(--muted); }
.tick { width: 20px; height: 20px; margin: 0; accent-color: var(--call); cursor: pointer; }
@media (max-width: 760px) {
  .trow { grid-template-columns: 1.6rem minmax(0, 1fr); align-items: start; }
  .trow.thead { display: none; }
  .trow .tick { margin-top: 2px; }
  .trow-what, .trow-who, .trow-from, .trow-side { grid-column: 2; }
  .trow-who, .trow-from { font-size: 0.85rem; }
  .trow-side { justify-content: flex-start; margin-top: 4px; }
}
.reminded { color: var(--primary-text); font-weight: 600; }

/* The side menu's Calls, opening into Team calls and Admin calls */
.side-group { display: block; padding: 10px 12px 2px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.side-links .side-sub { padding-left: 24px; }
@media (max-width: 899px) { .side-group { display: none; } .side-links .side-sub { padding-left: 12px; } }

/* Admin calls: the admin's own calls (Anthony's Calls page) */
.ac-top { display: flex; align-items: center; gap: 16px; }
.ac-top p { flex: 1; margin: 0; }
@media (max-width: 560px) { .ac-top { flex-direction: column; align-items: stretch; } }
.ac-grid { display: grid; gap: 14px; align-items: start; }
@media (min-width: 1000px) { .ac-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.ac-list { gap: 0; padding: 6px; }
.ac-row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 10px; border-radius: 12px; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; width: 100%; }
.ac-row + .ac-row { border-top: 1px solid var(--line); border-radius: 0; }
.ac-row[aria-current="true"] { background: var(--sunk); border-radius: 12px; }
.ac-row .ac-who { font-size: 0.85rem; color: var(--muted); }
.ac-role { justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .ac-row { grid-template-columns: minmax(0, 1fr) auto; } .ac-role { display: none; } }
.ac-said { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.ac-act { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.ac-act span.grow { flex: 1; }
.ac-act.done .what { text-decoration: line-through; color: var(--muted); }
.ac-share { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--sunk); }
.ac-share span:first-child { background: var(--call); }
.ac-share span:last-child { background: var(--neutral-tag); }
.ac-live { border-color: var(--call); }
.ac-live .timer { font-family: var(--mono); font-size: 1.6rem; }
.ac-row .item-main { align-items: flex-start; text-align: left; }

/* People (Anthony's page): the people the admin calls, and the team */
.pp-list { gap: 4px; padding: 10px; }
.pp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 6px 4px; }
.pp-head .k { margin: 0; }
.pp-head .btn { padding: 6px 10px; font-size: 0.82rem; }
.pp-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 8px; border: 0; border-radius: 12px; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.pp-row[aria-current="true"] { background: var(--sunk); }
.pp-row .item-main { align-items: flex-start; }
.pp-row .pp-sub { font-size: 0.85rem; color: var(--muted); }
.pp-face { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); font-weight: 600; font-size: 0.85rem; }
.pp-face.big { width: 3.6rem; height: 3.6rem; font-size: 1.1rem; }
.pp-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pp-top .item-main { flex: 1; min-width: 12rem; }
.pp-pick { max-height: 50vh; overflow: auto; display: flex; flex-direction: column; gap: 2px; }
.pp-pick label { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-top: 1px solid var(--line); }
@media (min-width: 1000px) { #tab-people .ac-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr); } }

/* Plan & billing (Anthony's page, no prices yet) */
.bl-days { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.bl-days > div { display: flex; flex-direction: column; gap: 5px; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.bl-days i { display: block; height: 7px; border-radius: 999px; background: var(--sunk); }
.bl-days .past i { background: var(--call); opacity: 0.5; }
.bl-days .now i { background: var(--call); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--call); }
.bl-days .now { color: var(--ink); font-weight: 700; }
.bl-tiers { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.bl-tier { gap: 6px; }
.bl-tier.mine { border-color: var(--call); }
.bl-tier .soon { font-family: var(--mono); font-size: 1.05rem; color: var(--muted); }
.bl-grid { display: grid; gap: 14px; align-items: start; }
@media (min-width: 1000px) { .bl-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.bl-step { display: flex; align-items: center; gap: 10px; }
.bl-step b { font-family: var(--mono); font-size: 2rem; min-width: 3ch; text-align: center; }
.bl-step .btn { min-width: 2.8rem; }
.bl-line { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
/* The Français / English switch at the foot of the admin console's menu. */
.side-lang button { padding: 5px 10px; font-size: 0.8rem; }
/* The owners' page: a month's costs and every payment, item by item. */
#o-breakdown { margin-top: 14px; }
.o-items h3 { margin: 14px 0 2px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.o-item { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.o-item > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.o-amt { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.o-item.o-sum { font-weight: 600; }
button.tile { text-align: left; font: inherit; color: inherit; }
@media (max-width: 899px) {
  /* On a phone the console's top row holds the mark, Sign out and the
     switch, so the switch says FR / EN and the "Admin" label goes. */
  .side-foot .me { display: none; }
  .side-foot .btn { white-space: nowrap; }
  .side-lang button { font-size: 0; padding: 5px 9px; }
  .side-lang button::after { content: attr(lang); font-size: 0.8rem; text-transform: uppercase; }
}
/* One-person companies (docs/v7-plan.md, step 1): the console's team
   features are hidden, never removed; [data-solo] is shown only to them. */
.solo [data-team] { display: none !important; }
:root:not(.solo) [data-solo] { display: none !important; }
.solo .side-links .side-sub { padding-left: 10px; }

/* TalkBlue's own app (docs/v7-plan.md, step 2; V7 A01–A05): the Welcome
   page, the five tabs, Home's four boxes and its two buttons. */
.welcome-page { margin-top: 8vh; }
.welcome-head { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
.welcome-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.welcome-ticks li { position: relative; padding-left: 26px; color: var(--muted); }
.welcome-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--primary-text); font-weight: 700; }
.center { text-align: center; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.agree > span { flex: 1; min-width: 0; }
.agree input { margin-top: 3px; accent-color: var(--call); width: 18px; height: 18px; flex: none; }
.agree a, .welcome-page a { color: var(--primary-text); }
#ptabbar:not(.seat) .for-seat, #ptabbar.seat .for-owner { display: none; }
#ptabbar .tabbar-in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* The design's tab bar (v35.2): an icon above each label, the open tab cyan, a red count on the icon. */
#ptabbar button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px 9px; font-size: 0.78rem; font-weight: 500; }
#ptabbar button[aria-current="page"]::before { display: none; }
#ptabbar button svg { width: 24px; height: 24px; }
#ptabbar button { font-size: 0.8rem; padding-inline: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 440px) { #ptabbar button { font-size: 0.74rem; } }
/* A count on a tab (unread chats on Conversations): in the tab's top-right corner, so the tab's name isn't cut short. */
#ptabbar .tab-count { position: absolute; top: 4px; left: calc(50% + 6px); right: auto; margin-left: 0; min-width: 19px; height: 19px; padding: 0 5px; font-family: var(--body); font-weight: 700; font-size: 0.7rem; line-height: 19px; color: var(--on-primary); background: var(--danger-fill); border: 2px solid var(--surface); }
/* Home's Start, docked just above the tab bar as on the design's page 4. */
.home-stack { padding-bottom: 24px; }
.start-dock { position: fixed; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom, 0px)); z-index: 9; padding: 26px 16px 14px; background: linear-gradient(to bottom, transparent, var(--bg) 16px); pointer-events: none; }
.start-dock-in { max-width: 600px; margin: 0 auto; pointer-events: auto; }
.start-dock .list-head { margin-bottom: 8px; }
.badge { display: inline-block; font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--primary-text); background: var(--primary-soft); border-radius: var(--radius-tag); padding: 2px 7px; vertical-align: middle; }
.me-btn { font: inherit; border: 1px solid var(--line); cursor: pointer; flex: none; }
.me-btn:hover { border-color: var(--call); }
/* Home's corner: the initials / Admin console. Only the words are a button (Khaled, 3 Nov 2026); the initials and the slash are plain. */
.me-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; line-height: 1.15; color: var(--ink); flex: none; }
.me-link .avatar { width: 34px; height: 34px; margin: 0; font-size: 0.75rem; flex: none; border: 1px solid var(--line); }
.me-slash { opacity: 0.5; font-weight: 400; font-size: 1.1rem; }
.me-label { max-width: 4.6em; font: inherit; text-align: left; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.me-label:hover { color: var(--primary-text); }
.banner { display: flex; flex-direction: column; gap: 8px; background: var(--tint-call); border-radius: 16px; padding: 14px 16px; font-size: 0.92rem; }
.banner strong { color: var(--primary-text); }
.banner .row-btns { margin-top: 2px; }
.tiles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Home's two buttons, as 2.150's sheet draws them (Khaled, 12 Nov 2026: "Use 2.150 for everything"): Meeting the only filled button, Call a white tile. */
.start-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.start-choice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: inherit; border: 0; border-radius: var(--radius-button); padding: 14px 10px; cursor: pointer; }
.start-choice b { font-family: var(--body); font-size: 15px; font-weight: 600; }
.start-choice span { font-size: 0.8rem; opacity: 0.85; }
.start-choice.meet { background: var(--primary); color: var(--on-primary); }
.start-choice.call { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.start-choice:hover { filter: brightness(1.07); }
.need-tag { display: inline-block; align-self: flex-start; font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--primary-text); background: var(--primary-soft); border-radius: var(--radius-tag); padding: 2px 7px; margin-bottom: 3px; }
.need-tag.lav { color: var(--neutral-tag); background: var(--neutral-tag-soft); }
.list-head .row-link { margin-left: auto; font-size: 0.85rem; color: var(--primary-text); text-transform: none; letter-spacing: 0; }
/* Set up and invite (V10.2 page 3): the AI's card, the add chip, the picker. */
.chip-btn.add { border-style: dashed; color: var(--primary-text); }
/* The waiting room (V10.2 page 4) and the star on live notes. */
.lobby-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.rec-kicker.lobby { color: var(--neutral-tag); }
.rec-kicker.lobby .rec-dot { background: var(--neutral-tag); animation: none; }
.live-line { font: inherit; font-size: 0.85rem; line-height: 1.4; text-align: left; background: none; border: 0; padding: 2px 0; color: inherit; cursor: pointer; }
.live-line.marked { color: var(--primary-text); font-weight: 600; }
.live-line:hover { color: var(--primary-text); }
/* Check and send (V10.2 page 4): each action edited in place. */
.pc-action { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; border-top: 1px solid var(--line); }
.pc-action + .pc-action { margin-top: 2px; }
.sent-note { background: var(--tint-good); color: var(--good); border-radius: 12px; padding: 10px 14px; font-size: 0.92rem; }
/* The guest's page (V10.2 page 5): welcome back, and the code after the meeting. */
.join-welcome { border-color: var(--call); display: flex; flex-direction: column; gap: 10px; }
.join-code { border-color: var(--primary); }
.join-code-value { font-family: var(--mono); font-size: 1.6rem; letter-spacing: 0.08em; color: var(--primary-text); margin: 4px 0 8px; }
/* Conversations' Record button, after Matters (Khaled, 3 Nov 2026). */
/* People's three tabs (V10.2 page 7): the phone-contacts card, the tags on the rows, Invite on a row. */
.phone-card { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 12px 14px; border: 1px dashed var(--call); border-radius: 14px; background: var(--tint-call); }
.phone-card.done { border-style: solid; border-color: var(--good); background: var(--tint-good); }
.phone-card .pc-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); color: var(--primary-text); }
.phone-card.done .pc-icon { color: var(--good); }
.phone-card .pc-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.phone-card b { font-weight: 600; }
.ptag { flex: none; font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; border-radius: var(--radius-tag); padding: 2px 6px; color: var(--good); background: var(--tint-good); }
.ptag.wait { color: var(--amber); background: var(--tint-amber); }
.ptag.new { color: var(--on-success); background: var(--success); white-space: normal; text-align: center; max-width: 76px; line-height: 1.25; }
.row .row-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.btn.btn-sm { padding: 7px 12px; font-size: 0.85rem; }
.btn-solid-danger.btn-block { min-height: 50px; }
/* A call by link: the link itself, shown whole. */
.link-url { word-break: break-all; user-select: all; }
.chips.ppl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.chips.ppl .chip-btn { padding: 7px 6px; font-size: 0.82rem; line-height: 1.2; text-align: center; }
.pc-action .row-btns { flex-wrap: wrap; }
.pc-action .row-btns .grow { flex: 1 1 100%; }
.pc-action input[type="date"] { flex: 1 1 auto; min-width: 0; }
/* Plan's card that opens My settings (A22). */
.set-link { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.set-link:hover { border-color: var(--call); }
.set-link > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.set-arrow { font-size: 1.4rem; line-height: 1; color: var(--muted); }
#p-notice { width: 100%; }
/* The minutes' draft (A11): the three ways to share it, ticked or not. */
.share-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.share-pick { font: inherit; font-weight: 600; font-size: 0.92rem; padding: 12px 6px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share-pick[aria-pressed="true"] { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-text); }
.share-pick:disabled { opacity: 0.5; cursor: default; }
/* A guest matched by name at check and send (step 3 checkpoint, S1): one a row, the whole line read. */
.share-picks.by-name { grid-template-columns: 1fr; }
.share-picks.by-name .share-pick { white-space: normal; overflow-wrap: anywhere; text-align: start; padding-inline: 12px; }
.card .share-pick { font-size: 0.84rem; padding-inline: 2px; white-space: normal; }
.approve-card .kicker { margin-bottom: 0; }
.approve-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin: 4px 0 0; }
/* A paused account's own page (A26): its buttons at the foot of the screen. */
.paused-page { display: flex; flex-direction: column; gap: 14px; padding-top: 18px;
  min-height: calc(100dvh - 108px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
.paused-mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--danger-soft); color: var(--danger); font-family: var(--display); font-weight: 600; font-size: 1.7rem; margin-bottom: 8px; }
.paused-page h1 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.paused-lines { list-style: none; margin: 4px 0 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.paused-lines li { display: flex; gap: 10px; }
.paused-lines li > span { width: 1em; flex: none; font-weight: 700; }
.paused-lines .yes { color: var(--good); }
.paused-lines .no { color: var(--hang); }
.paused-actions { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.paused-actions .btn-quiet { align-self: center; margin-top: 4px; }
.paused-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; cursor: pointer;
  font: inherit; font-size: 0.92rem; text-align: left; color: var(--hang);
  background: var(--tint-hang); border: 1px solid var(--hang); border-radius: 14px; padding: 12px 16px; }
.paused-note span { font-size: 1.3rem; line-height: 1; }
.live-now { display: flex; align-items: center; gap: 12px; font: inherit; color: var(--ink); text-align: left; width: 100%; cursor: pointer;
  background: var(--tint-hang); border: 1px solid var(--hang); border-radius: 16px; padding: 14px 16px; }
.live-now .rec-dot, .live-now .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--hang); flex: none; animation: pulse 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .live-now .dot { animation: none; } }
.task-bar { height: 6px; border-radius: 3px; background: var(--sunk); overflow: hidden; }
.task-bar span { display: block; height: 100%; background: var(--call); border-radius: 3px; }
.task-tick { width: 28px; height: 28px; flex: none; border-radius: 8px; border: 2px solid var(--muted); background: none; color: var(--call-ink); cursor: pointer; font: inherit; font-weight: 700; display: grid; place-items: center; }
.task-tick[aria-pressed="true"] { background: var(--call); border-color: var(--call); }
.task.has-tick { flex-direction: row; align-items: center; gap: 12px; }
.task.has-tick .task-main { flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { font: inherit; font-size: 0.88rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.chip-btn[aria-pressed="true"] { color: var(--primary-text); background: var(--primary-soft); border-color: var(--primary); }
.row[aria-pressed="true"] { background: var(--tint-call); }
.live-lines { max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
/* The owners' own note on a trial company (owners.html, W08). */
.o-note { display: flex; gap: 6px; margin-top: 6px; }
.o-note input { flex: 1; min-width: 0; font-size: 0.85rem; padding: 6px 8px; }

/* One person's console (V7 W02): a search's found conversations, each with its snippet */
.found { display: flex; flex-direction: column; }
.found-snip { margin: -4px 0 10px 58px; }
.found-snip mark { background: var(--tint-call); color: inherit; border-radius: 3px; padding: 0 2px; }

/* Chat (decided 31 October 2026): the messages, mine on the right, and the box to write in */
.chat-msgs { display: flex; flex-direction: column; gap: 10px; max-height: calc(100dvh - 250px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow-y: auto; padding: 4px 0 8px; }
.msg { align-self: flex-start; max-width: 82%; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 8px 12px; }
.msg.mine { align-self: flex-end; background: var(--tint-call); border-color: transparent; border-radius: 16px 16px 4px 16px; }
.msg { white-space: normal; }
.msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; } /* a long word or a link wraps inside the bubble */
.msg-meta { display: block; margin-top: 2px; font-size: 0.72rem; color: var(--muted); text-align: right; }
.chat-empty { text-align: center; padding: 24px 0; }
/* The bar to write in, pinned at the foot above the tab bar (v2.150): one line, Send the same height. */
.chat-send { display: flex; gap: 8px; align-items: stretch; position: fixed; left: 50%; transform: translateX(-50%); width: min(600px, 100%); bottom: calc(var(--tabbar-h, 76px) + env(safe-area-inset-bottom, 0px)); z-index: 8; background: var(--bg); padding: 8px var(--gutter); border-top: 1px solid var(--line); }
.chat-send textarea { flex: 1; resize: none; min-height: 50px; height: 50px; padding-block: 13px; }
.chat-send .btn { min-height: 50px; }
.chat-send { flex-wrap: wrap; }


/* Search from Home (1 Nov 2026): the round button beside the initials */
.greet-side { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-round { width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.icon-round:hover { border-color: var(--call); }
#p-find-results .card > .task:first-child { border-top: 0; padding-top: 0; }

/* A18: one's own task, tapped to change its day or wording */
.task-tap { all: unset; font-weight: 500; cursor: pointer; text-align: left; }
.task-tap:hover { color: var(--primary-text); }
.task-tap:focus-visible { outline: 2px solid var(--call); outline-offset: 2px; border-radius: 4px; }
.task-edit #pt-due { flex: 1; min-width: 140px; }

/* Home as the design's page 4 (v35.2). */
.greet-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.greet-av { width: 26px; height: 26px; font-size: 0.7rem; border: 1.5px solid var(--call); background: var(--tint-call); color: var(--primary-text); }
.banner-amber { background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); }
.banner-amber strong { color: var(--ink); }
.banner-link { width: 100%; text-align: left; font: inherit; cursor: pointer; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.banner-link strong { grid-column: 1; } .banner-link span { grid-column: 1; } .banner-link svg { grid-row: 1 / span 2; grid-column: 2; color: var(--muted); }
.coming-card { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-card); padding: 10px 12px; }
.coming-card .row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.date-block { flex: none; width: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--primary-soft); border-radius: 10px; padding: 6px 0; line-height: 1.05; }
.date-block b { font-family: var(--body); font-size: 10px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--primary-text); }
.date-block span { font-family: var(--mono); font-weight: 600; font-size: 1.25rem; color: var(--ink); }
.card.task-sum { display: flex; flex-direction: row; align-items: center; gap: 10px; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; border-color: var(--call); padding: 12px 14px; }
.task-sum .row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.task-sum svg { color: var(--muted); }
.task-me { width: 100%; min-height: 50px; font: inherit; font-size: 15px; font-weight: 600; color: var(--primary-text); background: var(--surface); border: 1.5px solid var(--primary); border-radius: var(--radius-button); padding: 11px 14px; cursor: pointer; }
.task-me:hover { background: var(--primary-soft); }

/* The set-up page as the design's page 4 (v35.2). */
.seg-when { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg-when button { font: inherit; font-size: 0.9rem; color: var(--muted); background: none; border: 1px solid transparent; border-radius: 9px; padding: 9px 6px; cursor: pointer; }
.seg-when button[aria-pressed="true"] { color: var(--primary-text); background: var(--primary-soft); border-color: var(--primary); }
.chip-btn.lav[aria-pressed="true"] { color: var(--neutral-tag); background: var(--neutral-tag-soft); border-color: var(--line); }
.btn-outline { background: none; border: 1px solid var(--primary); color: var(--primary-text); }
.btn-lav { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn-lav:hover { filter: brightness(1.07); }
.kicker.call { color: var(--primary-text); }
.k-sm, .field label.k-sm { font-size: 0.62rem; letter-spacing: 0.1em; line-height: 1.5; font-weight: 600; text-transform: uppercase; color: var(--muted); }
body.no-tabs #ptabbar { display: none; }
body.no-tabs.with-tabs { padding-bottom: 24px; }

/* The design's step pages (v35.2, page 4): tighter sizes, the dark inputs, tinted chips, the note and the button at the foot. */
body.v35-step .bar { min-height: 36px; margin-bottom: 2px; }
body.v35-step .bar .btn-quiet { background: none; border: 0; padding: 4px 0; color: var(--primary-text); font-weight: 500; font-size: 0.9rem; }
body.v35-step .bar .btn-quiet svg { display: none; }
body.v35-step .bar .btn-quiet span::before { content: "← "; }
body.v35-step .kicker { font-size: 0.64rem; letter-spacing: 0.16em; margin-bottom: 4px; }
body.v35-step .view-title { font-size: 24px; margin-bottom: 12px; }
body.v35-step .stack { gap: 12px; }
body.v35-step .field { gap: 5px; }
body.v35-step .k, body.v35-step .field label.k { font-size: 12px; letter-spacing: 0.07em; color: var(--muted); }
body.v35-step textarea, body.v35-step input[type="date"], body.v35-step input[type="time"], body.v35-step input[type="text"], body.v35-step input[type="search"] { background: var(--input-bg); border: 1px solid var(--input-border); border-radius: var(--radius-button); padding: 11px 12px; font-size: 16px; }
body.v35-step textarea { min-height: 64px; }
body.v35-step input:focus, body.v35-step textarea:focus { outline: 0; border-color: var(--call); box-shadow: 0 0 0 1px var(--call); }
body.v35-step .seg-when { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-button); padding: 3px; gap: 4px; }
body.v35-step .seg-when button { font-size: 0.88rem; padding: 8px 6px; border-radius: 8px; }
body.v35-step .seg-when button[aria-pressed="true"] { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-text); font-weight: 600; }
body.v35-step .chips { gap: 6px; }
body.v35-step .chip-btn[aria-pressed="true"] { color: var(--primary-text); background: var(--primary-soft); border-color: var(--primary); font-size: 0.85rem; padding: 6px 12px; }
body.v35-step .chip-btn.lav[aria-pressed="true"] { color: var(--neutral-tag); background: var(--neutral-tag-soft); border-color: var(--line); }
body.v35-step .btn-outline { font-weight: 600; font-size: 15px; padding: 11px 12px; border-radius: var(--radius-button); background: transparent; }
body.v35-step .step-stack { padding-bottom: 170px; }
.step-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; padding: 18px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to bottom, transparent, var(--bg) 16px); pointer-events: none; }
.step-dock-in { max-width: 600px; margin: 0 auto; pointer-events: auto; display: flex; flex-direction: column; gap: 10px; }
.step-note { font-size: 13px; line-height: 1.4; color: var(--muted); }
body.v35-step .btn-lav, body.v35-step .step-dock .btn-primary { font-weight: 600; font-size: 15px; min-height: 50px; padding: 13px 14px; border-radius: var(--radius-button); }

/* The waiting room as the design's page 4 (v35.2). */
.lobby-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--neutral-tag-soft); border-radius: var(--radius-card); padding: 10px 14px; margin-bottom: 14px; }
.lobby-tag { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.lobby-tag.red { color: var(--primary-text); background: var(--surface); border-radius: var(--radius-tag); padding: 3px 7px; }
.lobby-tag .rec-dot { background: var(--neutral-tag); width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.lobby-timer { font-family: var(--mono); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.06em; color: var(--ink); }
.session-card { background: var(--primary-soft); border: 1px solid var(--primary-soft); border-radius: var(--radius-button); padding: 10px 12px; margin-bottom: 12px; }
.session-card b { color: var(--primary-text); font-size: 0.9rem; }
.session-card p { color: var(--muted); margin-top: 2px; }
.lobby-title { margin-bottom: 2px; font-size: 1.3rem; }
.lobby-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-card); padding: 12px 14px; gap: 10px; }
.lobby-card .lobby-head b { color: var(--primary-text); font-size: 0.95rem; }
.lobby-card .lobby-head .lobby-count { color: var(--ink); }
.lobby-card .small { color: var(--ink); }
.min-circles { display: flex; gap: 8px; margin-top: 4px; }
.min-circle { width: 40px; height: 40px; border-radius: 50%; font: inherit; font-weight: 600; font-size: 0.9rem; color: var(--ink); background: var(--input-bg); border: 1px solid var(--input-border); cursor: pointer; }
.min-circle.wide { width: auto; padding: 0 14px; border-radius: 20px; }
.min-circle[aria-pressed="true"] { background: var(--call); border-color: var(--call); color: var(--call-ink); }
.nudge-btn { width: 100%; min-height: 44px; font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--primary-text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-button); padding: 10px; cursor: pointer; }
.who-chips { margin-top: 4px; }
.last-minutes { gap: 8px; }
.decision-card { background: var(--ai-soft); border: 1px solid var(--ai-border); border-radius: var(--radius-button); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.decision-card.covered { opacity: 0.6; background: var(--surface); border-color: var(--line); }
.decision-head { display: flex; justify-content: space-between; align-items: center; }
.need-tag.now { color: var(--ai); background: var(--surface); }
.covered-btn { align-self: flex-start; font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.plain-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.coming-card .plain-btn { align-items: flex-start; }
/* The lobby's sizes as on the page. */
.lobby-title { font-size: 1.15rem; }
.lobby-card { padding: 12px 12px; gap: 8px; }
.lobby-card .lobby-head b { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.lobby-card .lobby-head .lobby-count { text-transform: none; letter-spacing: 0; font-size: 0.9rem; }
.lobby-card .small { font-size: 0.8rem; line-height: 1.4; }
.min-circle { width: 36px; height: 36px; font-size: 0.85rem; }
.min-circle.wide { padding: 0 12px; }
.nudge-btn { font-size: 0.85rem; padding: 9px; }
.who-chips .chip { font-size: 0.74rem; padding: 4px 9px; }
body .view.record .read-out, .lobby-readout { padding: 10px 12px; }
/* The lobby, checked against the page. */
.lobby-tag.plain { color: var(--neutral-tag); }
.lobby-timer { font-size: 1.9rem; }
.min-circle[aria-pressed="true"] { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-text); }
body.v35-step .read-out { padding: 10px 12px; }
body.v35-step .read-out .read-line { font-size: 1rem; line-height: 1.35; }
body.v35-step .read-out .k { font-size: 0.6rem; }
body.v35-step .record-bar .btn-quiet, body.v35-step #record-back { background: none; border: 0; padding: 4px 0; color: var(--primary-text); font-weight: 500; font-size: 0.9rem; }
body.v35-step #record-back svg { display: none; }
body.v35-step #record-back-label::before { content: "← "; }

/* The minutes page as the design's page 5 (v35.2): the type tag, the day line, the tasks card, the follow-up buttons, the thread, the four tabs and the white minutes paper. */
.type-tag { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--primary-text); background: var(--primary-soft); border-radius: var(--radius-tag); padding: 4px 8px; }
.type-tag.lav { color: var(--neutral-tag); background: var(--neutral-tag-soft); }
body.v35-step .item-title { margin-bottom: 6px; }
.item-day { font-family: var(--mono); font-size: 0.8rem; color: var(--primary-text); margin-bottom: 4px; }
.item-meta { font-size: 0.72rem; color: var(--muted); margin-bottom: 12px; }
.item-meta .lav { color: var(--ink); }
.stats-card { gap: 9px; padding: 10px 12px; }
.stats-card .task-bar { height: 5px; }
.stats-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.stats-head .kicker { margin: 0; font-size: 12px; color: var(--primary-text); }
.stats-head b { font-size: 0.9rem; }
.stat4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stat4 > div { background: var(--bg); border-radius: 8px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat4 b { font-family: var(--mono); font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.stat4 b.good { color: var(--success); } .stat4 b.call { color: var(--primary-text); } .stat4 b.bad { color: var(--danger); } .stat4 b.dim { color: var(--muted); }
.stat4 span { font-size: 0.62rem; color: var(--muted); }
.who-stats { display: flex; flex-wrap: wrap; gap: 6px; }
.who-stat { font-family: var(--body); font-size: 11px; font-weight: 600; color: var(--neutral-tag); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }
.who-stat.all { color: var(--success); border-color: var(--success); }
.stats-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.76rem; color: var(--muted); }
.stats-foot .row-link { color: var(--primary-text); font-size: 0.78rem; }
.fu-k { color: var(--ink); font-size: 12px; letter-spacing: 0.07em; margin-bottom: 8px; }
.fu-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fu-btns.one { grid-template-columns: 1fr; }
.fu-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: inherit; border: 0; border-radius: var(--radius-button); min-height: 50px; padding: 9px 8px; cursor: pointer; }
.fu-btn b { font-size: 15px; font-weight: 600; }
.fu-btn span { font-size: 0.7rem; white-space: nowrap; }
.fu-btn.cy { background: var(--primary); color: var(--on-primary); } .fu-btn.lv { background: var(--primary-soft); color: var(--primary-text); }
.fu-btns.one .fu-btn.lv { background: var(--primary); color: var(--on-primary); }
.fu-btn:hover { filter: brightness(1.07); }
.thread-card { border-color: var(--ai-border); padding: 10px 12px; gap: 6px; }
.thread-card .kicker { color: var(--ai); font-size: 12px; margin-bottom: 2px; }
.thread-row { display: flex; align-items: center; gap: 6px; min-width: 0; width: 100%; font: inherit; color: var(--ink); background: none; border: 0; padding: 2px 0; text-align: left; cursor: pointer; }
.thread-row.here { cursor: default; }
.thread-row b { font-size: 0.78rem; white-space: nowrap; }
.thread-row .muted { font-size: 0.68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-n { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ai-soft); color: var(--ai); font-family: var(--mono); font-size: 0.66rem; display: grid; place-items: center; }
.item-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-button); padding: 4px; }
.item-tabs button { font: inherit; font-size: 0.84rem; font-weight: 500; color: var(--muted); background: none; border: 1px solid transparent; border-radius: 9px; padding: 7px 2px; cursor: pointer; white-space: nowrap; }
.item-tabs button[aria-selected="true"] { color: var(--primary-text); background: var(--primary-soft); border-color: var(--primary); font-weight: 600; }
.paper { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--radius-card); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.paper-k { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--primary-text); line-height: 1.5; }
.paper-k.amber { color: var(--ai); }
.key-band { background: var(--ai-soft); border-radius: 6px; padding: 6px 8px; font-size: 0.85rem; }
.paper-body { font-size: 0.85rem; line-height: 1.45; }
.paper-list { margin: 0; padding-left: 18px; font-size: 0.85rem; display: flex; flex-direction: column; gap: 4px; }
.paper-action { display: flex; justify-content: space-between; gap: 10px; font-size: 0.85rem; }
.paper-action.done span:first-child { color: var(--muted); text-decoration: line-through; }
.paper-who { flex: none; color: var(--muted); }
.paper-who.bad { color: var(--danger); }
.plain-rows .row { display: flex; align-items: center; gap: 12px; }
.plain-rows .row:hover { background: none; }

/* The call set-up and the invite before the call as the design's page 6 (v35.2). */
.who-row { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-button); padding: 10px 12px; }
.who-av { width: 34px; height: 34px; font-size: 0.8rem; }
.who-av.am { background: var(--neutral-tag-soft); color: var(--neutral-tag); } .who-av.cy { background: var(--primary-soft); color: var(--primary-text); }
.who-sub { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; white-space: nowrap; }
.who-row .row-main { min-width: 0; } .who-row .row-name { font-size: 0.95rem; }
.who-sub.am { color: var(--neutral-tag); } .who-sub.cy { color: var(--success); }
.who-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.who-sub.cy .who-dot { background: var(--live-green); }
.who-role { font-family: var(--body); font-size: 11px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.who-row .icon-btn { width: 24px; height: 24px; font-size: 1rem; padding: 0; }
/* A group call's people: where each stands (in the call, ringing, link sent, declined…), and "Also send … the link" */
.who-sub.ok { color: var(--success); } .who-sub.ok .who-dot { background: var(--live-green); }
.who-sub.red { color: var(--danger); } .who-sub.red .who-dot { background: var(--danger); }
.who-sub.mu { color: var(--muted); } .who-sub.mu .who-dot { background: var(--muted); }
.who-row.member { padding: 8px 10px; }
.phone-later:disabled { opacity: 0.55; cursor: default; }
/* The Admin center (the design's page 11): the section chips in one scrolling row, six number cards, Live now, Coming up, Activity */
.adm-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.adm-chips::-webkit-scrollbar { display: none; }
.adm-chips .chip-btn { flex: none; }
.adm-line { margin: -6px 0 8px; }
.adm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.adm-stat { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-card); padding: 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.adm-k { font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-n { font-family: var(--mono); font-size: 1.3rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.adm-n.am { color: var(--neutral-tag); } .adm-n.ok { color: var(--success); } .adm-n.cy { color: var(--primary-text); }
.adm-sub { font-size: 0.72rem; color: var(--muted); line-height: 1.25; }
.adm-kicker { margin: 8px 0 -4px; }
.adm-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-card); padding: 10px 12px; font: inherit; color: inherit; }
.adm-row + .adm-row { margin-top: -4px; }
.adm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); flex: none; }
.adm-when { white-space: nowrap; }
.adm-log { display: flex; flex-direction: column; }
.adm-log-row { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.86rem; line-height: 1.35; }
.adm-log-row:first-child { border-top: 0; }
.adm-log-row .mono { flex: none; font-size: 0.8rem; padding-top: 1px; }
.adm-empty { margin: 0; }
/* The web's 360 view for one person (the design's pages 12–13): the menu's search box and counts, the Meetings and Calls screens */
.side-search { margin: 0 0 6px; } .side-search input { width: 100%; font-size: 0.85rem; padding: 8px 10px; }
.side-count { background: transparent; color: var(--primary-text); border: 0; font-size: 0.72rem; margin-left: auto; padding: 0; min-width: 0; }
.side-count.zero { color: var(--muted); }
.solo .side-links button { display: flex; align-items: center; gap: 6px; }
.x-intro { margin: -4px 0 0; }
.x-strip { padding: 12px 14px; }
.x-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; } .x-head h2 { margin: 0; }
.x-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); } .x-row .row-main { min-width: 0; } .x-row .need-tag { margin: 0; }
.x-search { display: flex; align-items: center; gap: 10px; } .x-search input { flex: 1; min-width: 0; } .x-search .mono { white-space: nowrap; }
.x-filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .x-filter .chips { gap: 6px; }
.x-meet { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 14px; align-items: start; width: 100%; text-align: left; padding: 12px 0; border: 0; border-top: 1px solid var(--line); background: none; color: inherit; font: inherit; cursor: pointer; }
.x-meet > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .x-meet b { font-size: 0.95rem; } .x-meet .cy { color: var(--primary-text); }
.x-meet-c { line-height: 1.4; }
.x-call { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 10px; border: 1px solid transparent; border-radius: 10px; background: none; color: inherit; font: inherit; cursor: pointer; }
.x-call.on { background: var(--bg); border-color: var(--line); } .x-call .row-main { min-width: 0; } .x-call b { font-size: 0.92rem; }
.x-role { flex: none; min-width: 84px; text-align: center; }
.x-list { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.x-dhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .x-dhead h2 { margin: 0; }
.x-task { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.x-rec { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 0.88rem; } .x-rec .row-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.x-lines { display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; } .x-line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; } .x-line .cy { color: var(--primary-text); }
.x-sent { color: var(--success); margin: 0; font-size: 0.92rem; }
.tile b.cy { color: var(--primary-text); } .tile b.lav { color: var(--ai); } .tile b.am { color: var(--neutral-tag); }
@media (max-width: 899px) { .x-meet { grid-template-columns: 1fr; gap: 6px; } }
/* Small mono tags on the 360 view's rows: where the minutes stand, a person's role */
.tag { display: inline-block; flex: none; font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; padding: 4px 8px; border-radius: var(--radius-tag); background: var(--neutral-tag-soft); border: 0; color: var(--neutral-tag); white-space: nowrap; }
.tag.good { color: var(--success); background: var(--success-soft); }
.tag.wait, .tag.lav { color: var(--neutral-tag); background: var(--neutral-tag-soft); }
.tag.bad { color: var(--danger); background: var(--danger-soft); }
/* The 360 view's menu order for one person: Search · Overview · Team & roles · Meetings · Calls · Tasks · People · Plan & billing · Settings */
.solo .side-links [data-tab="search"] { order: 1; } .solo .side-links [data-tab="results"] { order: 2; } .solo .side-links [data-tab="teamroles"] { order: 3; }
.solo .side-links [data-tab="meetings"] { order: 4; } .solo .side-links [data-tab="admincalls"] { order: 5; } .solo .side-links [data-tab="teams"] { order: 6; }
.solo .side-links [data-tab="people"] { order: 7; } .solo .side-links [data-tab="billing"] { order: 8; } .solo .side-links [data-tab="settings"] { order: 9; }
.solo .side-links .side-search { order: 0; }
/* The 360 view's Tasks and People for one person (the design's page 13) */
.x-new { border-color: var(--call); }
.x-new .kicker { margin-bottom: 8px; }
.x-new-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; } .x-new-row input { width: auto; } .x-new-row .grow { flex: 1 1 240px; min-width: 0; } .x-new-row #task-new-due { flex: 0 0 170px; } .x-new-row .btn { flex: none; white-space: nowrap; }
.trow.sub { background: var(--bg); } .trow.sub .task-what { padding-left: 14px; color: var(--muted); }
.x-sub-form { align-items: center; } .x-sub-form input { width: 100%; }
.x-eff .x-head { margin: 0; flex-wrap: wrap; } .x-eff h2 { margin: 0; font-size: 1rem; }
.pp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--muted); vertical-align: middle; } .pp-dot.on { background: var(--live-green); }
.x-tone { margin: 0; }
.x-today { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; } .x-today p { margin: 0; } .x-today .kicker { color: var(--primary-text); }
body.v35-step input#pc-subject { border: 2px solid var(--call); border-radius: 12px; font-size: 1rem; padding: 12px; }
.subject-chips { margin-top: 8px; }
body.v35-step .subject-chips .chip-btn { background: var(--surface); border-color: var(--line); color: var(--ink); font-size: 0.85rem; padding: 7px 12px; }
.picker { padding: 10px 12px; gap: 8px; }
.picker .rows { max-height: 260px; overflow-y: auto; }
.seg-when.lav button[aria-pressed="true"], body.v35-step .seg-when.lav button[aria-pressed="true"] { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-text); }
.seg-when button:disabled { cursor: default; }
body.v35-step .seg-when.lav button { font-size: 0.84rem; padding: 9px 4px; white-space: nowrap; }
.later-tag { font-family: var(--body); font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--neutral-tag); background: var(--neutral-tag-soft); border-radius: var(--radius-tag); padding: 2px 6px; vertical-align: middle; }
.phone-later { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; background: var(--surface); border: 1px dashed var(--input-border); border-radius: var(--radius-button); padding: 10px 12px; }
.phone-later b { font-size: 0.9rem; color: var(--ink); } .phone-later .muted.small { color: var(--muted); font-size: 0.8rem; line-height: 1.3; }
.phone-later.open { border-style: solid; border-color: var(--call); }
.go-btn, body.v35-step .go-btn { font-weight: 600; font-size: 15px; min-height: 50px; padding: 13px 14px; border-radius: var(--radius-button); background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.go-btn:disabled { opacity: 0.45; cursor: default; }
.btn-outline-ink, body.v35-step .btn-outline-ink { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius-button); padding: 11px 14px; font-size: 0.92rem; }
.step-note.center { text-align: center; }

/* The being-rung screen (#ring): who's calling, the chip. */
.ring-av { width: 60px; height: 60px; font-size: 1.1rem; background: var(--primary-soft); color: var(--primary-text); border: 0; }
.ring-name { font-size: 1.1rem; }
.ring-chip { background: var(--primary-soft); color: var(--primary-text); font-size: 0.74rem; }
.dock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-outline-red { background: var(--surface); border: 1px solid var(--danger); color: var(--danger); border-radius: var(--radius-button); padding: 11px 14px; font-size: 0.92rem; }

/* Scheduling a call for later (page 6): the purple button, the day line. */
.go-btn.lav, body.v35-step .go-btn.lav { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

/* The being-rung screen's picture, chip and quick replies (the call itself: "Step 2, Part B" at the end). */
#ring-av { width: 64px; height: 64px; font-size: 1.2rem; margin: 6px 0 2px; }
#ring-chip { margin-top: 2px; }
.ring-replies { margin-top: 28px; width: 100%; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.ring-replies .kicker { font-size: 0.6rem; margin: 0; }
.ring-replies .chips { justify-content: center; gap: 6px; }
.ring-replies .chip-btn { font-size: 0.8rem; padding: 7px 11px; color: var(--ink); background: var(--surface); }

/* People as the design's page 8 (v35.2): the head with Select, the segmented tabs, the legend, rows with a dot, a tag and a call button, Select's dock; the profile's head, brief tiles, open tasks and details. */
.people-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.people-head .view-title { margin: 0; }
.btn-outline.btn-sm { padding: 7px 12px; font-size: 0.85rem; border-radius: 10px; }
.btn-outline[aria-pressed="true"] { background: var(--primary-soft); }
.people-stack > input[type="search"] { background: var(--input-bg); border: 1px solid var(--input-border); border-radius: 12px; padding: 11px 12px; font-size: 0.92rem; }
.item-tabs.three { grid-template-columns: repeat(3, 1fr); }
.item-tabs.three button { font-size: 0.82rem; }
.legend { font-size: 0.74rem; color: var(--muted); line-height: 1.45; margin: -4px 2px 0; }
.pdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); vertical-align: middle; }
.pdot.on { background: var(--live-green); }
.who-av { position: relative; }
.who-av .pdot { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border: 2px solid var(--surface); }
.prow { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.prow .row-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.prow .row-sub { white-space: normal; font-size: 0.78rem; }
.prow .ptag { flex: none; }
.row-call { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; cursor: pointer; }
.row-call:hover { filter: brightness(1.08); }
.prow .tick { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--input-border); display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; color: var(--on-primary); }
.prow.picked { outline: 1px solid var(--primary); outline-offset: -1px; background: var(--primary-soft); }
.prow.picked .tick { background: var(--call); border-color: var(--call); }
button.prow { width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.people-stack.docked { padding-bottom: 170px; }
/* People: each person is a card of their own, as on the design's page 8. */
.prows { display: flex; flex-direction: column; gap: 8px; }
.prows > .row, .prows > .row:first-child { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-card); }
.prows > .row:hover { background: var(--sunk); }
.prows > .row.picked { background: var(--primary-soft); }
.prows > .row.fresh, .prows > .row.fresh:first-child { border-color: var(--good); }
.sel-dock .step-dock-in { gap: 6px; }
.sel-dock p.small { margin: 0; display: flex; align-items: center; gap: 6px; }
.sel-dock .fu-btn:disabled { opacity: 0.5; cursor: default; }
.profile-head { display: flex; align-items: center; gap: 14px; margin: 4px 0 8px; }
.profile-who { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.profile-who .view-title { margin: 0; font-size: 1.3rem; }
.who-av.big { width: 56px; height: 56px; font-size: 1.1rem; }
.profile-note { margin-bottom: 12px; }
.brief-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.btile { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-button); padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.btile span { font-size: 0.68rem; color: var(--muted); }
.btile b { font-family: var(--mono); font-size: 1rem; font-weight: 700; }
.btile b.good { color: var(--success); } .btile b.amber { color: var(--neutral-tag); } .btile b.bad { color: var(--danger); }
.task-bar.green { margin-top: 10px; } .task-bar.green span { background: var(--success); }
.brief-line { margin-top: 8px; font-size: 0.76rem; line-height: 1.4; }
.otask { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.otask .row-main { flex: 1; min-width: 0; }
.odue { flex: none; font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--danger); background: var(--danger-soft); border-radius: var(--radius-tag); padding: 3px 8px; }
.odue.soon { color: var(--neutral-tag); background: var(--neutral-tag-soft); }
.details-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.details-head .kicker { margin: 0; }
.details { gap: 8px; }
.detail { display: grid; grid-template-columns: 110px 1fr; gap: 8px; align-items: baseline; font-size: 0.9rem; }
.detail .mono { font-size: 0.9rem; }

/* People, checked against the page: tighter rows and kickers, compact recent rows, Select's dock above the tab bar. */
.prow .row-sub { font-size: 0.74rem; line-height: 1.35; }
.prow .row-name { font-size: 0.95rem; }
.prow .ptag { font-size: 10px; padding: 3px 6px; }
.row-call { width: 32px; height: 32px; }
.prow { gap: 6px; padding: 9px 10px; }
.prow .row-open { gap: 8px; }
.legend { font-size: 0.7rem; }
.sel-dock { bottom: 84px; }
.profile-head + .profile-note { margin-top: -2px; }
#v-psub .kicker.pk, .pk { font-size: 12px; letter-spacing: 0.07em; }
.rrow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.rrow .row-main { flex: 1; min-width: 0; }
.rrow .row-sub { font-size: 0.76rem; }
.type-tag.sm { font-size: 10px; padding: 3px 6px; flex: none; }
.sel-dock .fu-btn span { white-space: normal; font-size: 0.66rem; line-height: 1.25; }
.sel-dock .fu-btn { padding: 8px 6px; min-width: 0; }

/* Tasks as the design's page 9 (v35.2): the head with the count and the gear, the big bar, the date chips, + New task for me, the cards with ★ PRIORITY, the due chip, the % button and the bar; the update sheet. */
.tasks-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tasks-head .view-title { margin: 0; flex: 1; }
.task-bar.big { height: 6px; margin-bottom: 14px; }
.task-bar.big span { background: var(--call); }
.date-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.date-chips::-webkit-scrollbar { display: none; }
.date-chips .chip-btn { flex: none; font-size: 0.85rem; padding: 8px 13px; background: var(--surface); border-color: var(--line); color: var(--ink); }
.date-chips .chip-btn[aria-pressed="true"] { color: var(--primary-text); border-color: var(--primary); background: var(--primary-soft); }
.task-new { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px dashed var(--input-border); border-radius: var(--radius-card); padding: 10px 12px; cursor: pointer; }
.task-new .row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.task-new b { font-size: 0.95rem; }
.task-new .muted.small { font-size: 0.76rem; }
.task-new-plus { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; }
.task-new svg { color: var(--muted); }
.kicker.tk { font-size: 11px; letter-spacing: 0.07em; line-height: 1.6; margin: 0; }
.tcard { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-card); padding: 12px 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.tcard.prio { border-color: var(--primary); }
.tcard.is-done { opacity: 0.6; }
.tcard-main { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.prio-tag { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--primary-text); background: var(--primary-soft); border-radius: var(--radius-tag); padding: 3px 7px; }
.tcard-what { font-size: 1rem; font-weight: 500; line-height: 1.3; }
.tcard-due { display: inline-flex; align-items: center; gap: 8px; }
.due-chip { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--neutral-tag); background: var(--neutral-tag-soft); border-radius: var(--radius-tag); padding: 3px 8px; }
.due-chip.late { color: var(--danger); background: var(--danger-soft); }
.due-chip.done { color: var(--success); background: var(--success-soft); }
.pct-btn { flex: none; font-family: var(--mono); font-size: 0.9rem; font-weight: 700; color: var(--ink); background: var(--neutral-tag-soft); border: 0; border-radius: var(--radius-button); padding: 14px 10px; cursor: pointer; white-space: nowrap; }
.tbar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--sunk); overflow: hidden; }
.tbar span { display: block; height: 100%; background: var(--call); border-radius: 2px; }
.ts-check { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-card); padding: 12px 14px; font-size: 1rem; cursor: pointer; }
.ts-check input { width: 22px; height: 22px; accent-color: var(--call); }
body.v35-step .pct-chips .chip-btn { font-family: var(--mono); }
body.v35-step input#ts-what { border: 2px solid var(--call); border-radius: 12px; font-size: 1rem; padding: 12px; margin-bottom: 12px; }

/* Settings as the design's page 10 (v35.2): a row per section, opening in place; Admin center as a link; Sign out in red. */
.set-title { margin-bottom: 2px; }
.set-note { margin-bottom: 12px; }
.set-stack { gap: 8px; }
.set-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-card); padding: 12px 14px; min-height: 56px; cursor: pointer; }
.set-row .row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.set-row b { font-size: 0.95rem; }
.set-row .muted.small { font-size: 0.74rem; }
.set-row.admin { border-color: var(--call); }
.set-k { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--primary-text); }
.set-arrow { color: var(--muted); font-size: 0.9rem; flex: none; }
.set-sec { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-card); }
.set-sec .set-row { border: 0; background: none; border-radius: 14px; }
.set-sec.open > .set-row { border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; }
.set-body { padding: 12px 14px 14px; gap: 14px; }
.set-body > .card { border: 0; background: transparent; padding: 0; }
.set-body > .card + .card { border-top: 1px solid var(--line); border-radius: 0; padding-top: 14px; }
.set-body h2 { font-size: 1rem; }
.set-stack .btn-outline-red { width: 100%; }

/* ---------- Subscription and Team and roles (the design's page 10, v35.2) ---------- */
/* The open section's blue outline, as the design draws the open Subscription and Team and roles. */
.set-sec.open { border-color: var(--call); }
.set-sec.open > .set-row { border-bottom-color: var(--line); }
.sub-box, .team-box { display: flex; flex-direction: column; gap: 9px; }
.sub-box .kicker, .team-box .kicker { font-size: 11px; letter-spacing: 0.07em; margin: 2px 0 0; }
.sub-box > .muted.small, .team-form > .muted.small, .team-already .muted.small, .team-step { font-size: 12px; line-height: 1.4; }
/* The stepper: − and + beside the number of people, the price under it. */
.stepper { display: flex; align-items: center; gap: 10px; }
.step-btn { flex: none; width: 46px; height: 46px; border-radius: var(--radius-button); border: 1px solid var(--input-border); background: var(--input-bg); color: var(--ink); font: inherit; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.step-btn:disabled { opacity: 0.75; cursor: default; }
.step-mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; }
.step-n { font-family: var(--mono); font-size: 1.9rem; line-height: 1.1; }
.step-mid .muted.small { font-size: 12px; }
.step-total { color: var(--primary-text); font-size: 0.86rem; font-weight: 500; margin-top: 3px; }
.sub-go { font-weight: 600; font-size: 15px; min-height: 50px; border-radius: var(--radius-button); padding-block: 11px; }
.sub-go:disabled { opacity: 0.55; }
.roles-card.card { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; gap: 5px; }
.set-body > .roles-card.card + .sub-row { border-top: 0; }
.roles-card p { margin: 0; line-height: 1.4; font-size: 13px; }
.role-name { font-weight: 700; }
.role-name.family { color: var(--primary-text); }
.role-name.business { color: var(--primary-text); }
.role-name.employee { color: var(--ink); }
.sub-row.set-row { border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.sub-row.set-row b { font-size: 0.86rem; }
.sub-row.set-row .muted.small { font-size: 12px; }
/* Add a user in 3 steps: the people already on TalkBlue, two fields, the role chips, the outlined button. */
.team-form { gap: 7px; }
.team-already { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.team-already .muted.small { margin-right: 2px; }
.team-already .chip-btn { padding: 5px 9px; font-size: 12px; color: var(--ink); background: var(--surface); border-color: var(--line); }
.team-in { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--input-bg); border: 1px solid var(--input-border); border-radius: var(--radius-button); padding: 9px 11px; }
.team-in::placeholder { color: var(--muted); }
.team-in:focus { outline: none; border-color: var(--call); }
.team-step { margin: 2px 0 -2px; }
.role-chips { gap: 6px; }
.role-chips .chip-btn { flex: 1; text-align: center; padding: 7px 4px; min-height: 44px; font-size: 12px; line-height: 1.2; color: var(--ink); background: var(--surface); border-color: var(--line); border-radius: var(--radius-button); }
.role-chips .chip-btn[aria-pressed="true"] { color: var(--primary-text); background: var(--primary-soft); border-color: var(--primary); }
.btn-outline-cy { background: transparent; border: 1px solid var(--primary); color: var(--primary-text); font-weight: 600; font-size: 14px; min-height: 44px; border-radius: var(--radius-button); padding: 9px 10px; line-height: 1.3; }
.btn-outline-cy:hover { background: var(--primary-soft); }
/* The team: a row a person, the role as a tag, registered or waiting. */
.tm-list.card { background: var(--bg); border-radius: 12px; padding: 2px 11px; gap: 0; }
.tm-row { display: flex; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); }
.tm-row:first-child { border-top: 0; }
.tm-av { width: 32px; height: 32px; font-size: 0.72rem; }
.tm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tm-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tm-top b { font-size: 0.9rem; }
.tm-top .tag { font-size: 10px; padding: 3px 7px; }
.tm-main .muted.small, .tm-main .small { font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.tag.pink { color: var(--neutral-tag); background: var(--neutral-tag-soft); }
.tm-btns { gap: 6px; margin-top: 4px; }
.tm-btns .btn { padding: 4px 10px; min-height: 36px; font-size: 13px; }
/* Plan & billing: the invoices. */
.inv-rows { display: flex; flex-direction: column; gap: 6px; }
.inv-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.88rem; border-top: 1px solid var(--line); padding-top: 6px; }
.inv-row:first-child { border-top: 0; padding-top: 0; }
/* The same section inside the web console's Team & roles page. */
.tr-web { max-width: 560px; }
.tr-web .tm-list.card, .tr-web .roles-card.card { background: var(--surface); }
/* ---------- the roles: the team in the app and the console (page 10, with pages 8, 9, 11, 13) ---------- */
.tasks-seg { align-self: stretch; display: flex; }
.tasks-seg button { flex: 1; }
.mate-card.card { gap: 10px; }
.mate-head { display: flex; align-items: center; gap: 10px; }
.mate-head b { display: flex; align-items: center; gap: 6px; font-size: 0.95rem; }
.mate-head .tag { font-size: 10px; }
.mate-task.tcard { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "what pct" "sub pct" "bar bar"; gap: 2px 10px; padding: 10px 12px; }
.mate-task .tcard-what { grid-area: what; }
.mate-task > .muted.small { grid-area: sub; }
.mate-task .pct-pill { grid-area: pct; align-self: center; font-size: 0.78rem; color: var(--primary-text); }
.mate-task .tbar { grid-area: bar; margin-top: 6px; }
.mate-row .row-name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mate-row .tag { font-size: 10px; }
.mate-grid.adm-grid { grid-template-columns: repeat(3, 1fr); }
.read-lines { display: flex; flex-direction: column; gap: 6px; }
.read-lines p { margin: 0; line-height: 1.4; }
.tile.tp.team .tag { font-size: 10px; margin-left: 4px; vertical-align: 1px; }
.pp-give { margin-top: 10px; flex-wrap: wrap; }
.pp-give input[type="date"] { flex: 0 1 auto; }
.ac-act .tick:disabled { opacity: 0.4; }
/* The web Overview as the design's page 11: the three summary cards. */
.ov-cards { display: grid; gap: 14px; }
@media (min-width: 900px) { .ov-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ov-card .kicker { margin-bottom: 4px; }
.ov-card .ov-n { font-family: var(--mono); font-size: 1.6rem; line-height: 1.1; }
.ov-card .muted.small { line-height: 1.45; }
.ov-card .row-link { align-self: flex-start; }
/* Today · what X did, on a contact's page (page 8): a row per conversation and task done today. */
.today-rows { display: flex; flex-direction: column; gap: 6px; }
.today-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; cursor: pointer; }
.today-row .row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.today-row b { font-size: 0.86rem; }
.today-row .muted.small { font-size: 0.7rem; }
/* Home's corner: Record (Khaled, 5 November 2026), the universal round button with a solid red dot, beside light/dark and the gear. */
.greet .greet-side { gap: 6px; }
.greet .greet-side .icon-round { width: 42px; height: 42px; }
.rec-round { border-color: var(--hang); }
.rec-round:hover { border-color: var(--hang); background: var(--tint-hang); }
.rec-solid { width: 16px; height: 16px; border-radius: 50%; background: var(--logo-red-dot); }
/* The greeting stays on one line beside the three buttons, smaller as the design draws it. */
.greet > div:first-child { min-width: 0; }
.greet-line { font-size: 0.82rem; gap: 6px; white-space: nowrap; }
.greet-line .badge { font-size: 10px; padding: 2px 6px; }
.greet-line .greet-av { width: 24px; height: 24px; font-size: 0.62rem; }
@media (max-width: 374px) {
  .greet { gap: 8px; }
  .greet .greet-side { gap: 6px; }
  .greet .greet-side .icon-round { width: 38px; height: 38px; }
  .rec-solid { width: 14px; height: 14px; }
}
/* New call: Schedule for later alone (Khaled, 5 November 2026: the button at the foot already calls). Tapped again, it goes back to calling now. */
.seg-when.one { grid-template-columns: 1fr; }
/* People: "Is this the same person?" (Khaled, 5 November 2026). */
.double-card { padding: 12px 14px; gap: 10px; border-color: var(--primary); }
.double-card .kicker { margin: 0; color: var(--primary-text); }
.double-row { display: flex; align-items: center; gap: 10px; min-width: 0; }

/* A missed call in Conversations (Khaled, 6 November 2026): the record red, with Call back. */
.missed-row { align-items: center; cursor: default; }
.missed-row .row-name { color: var(--hang); }
.avatar.missed-av, .missed-row .missed-av { color: var(--danger); background: var(--danger-soft); }
.double-card .combine-all { margin-top: 10px; width: 100%; }
/* A task counted in the Tasks tab's red number (yours, due today or overdue). */
.tcard.due-now { border-color: var(--hang); box-shadow: inset 4px 0 0 var(--hang); }

/* Talk to Blue, as his prototype draws it (13 Nov 2026 checkpoint, D2): a sheet from the bottom on the
   page's own grey, a grip, the 96 px microphone with its ring while it listens, "Listening…", a line on what to
   do, "Try saying" as a heading with the examples, the box and Send, and Close. */
.icon-round.remi-round { color: var(--ai); border-color: var(--ai-border); }
.remi { position: fixed; inset: 0; z-index: 60; background: var(--shade-hub); display: flex; align-items: flex-end; justify-content: center; }
.remi-sheet { width: 100%; max-width: 600px; max-height: 92dvh; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; background: var(--screen); border-radius: 24px 24px 0 0; padding: 12px var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px)); }
.remi-grip { align-self: center; flex: none; width: 40px; height: 5px; border-radius: 3px; background: var(--line); }
.remi-mic { align-self: center; flex: none; width: 96px; height: 96px; border-radius: 50%; border: 0; background: var(--talk-gradient); color: var(--on-primary); display: grid; place-items: center; cursor: pointer; }
.remi-mic.on { box-shadow: 0 0 0 6px var(--talk-halo); animation: remi-halo 1.6s ease-in-out infinite; }
.remi-mic:disabled { opacity: 0.5; }
@keyframes remi-halo { 0%, 100% { box-shadow: 0 0 0 4px var(--talk-halo); } 50% { box-shadow: 0 0 0 9px var(--talk-halo); } }
@media (prefers-reduced-motion: reduce) { .remi-mic.on { animation: none; } }
.remi-heard { margin: 0; text-align: center; font: 600 18px/1.3 var(--display); color: var(--text); }
.remi-help { margin: 0; text-align: center; font-size: 13px; line-height: 1.25; color: var(--text-muted); }
.remi-card { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.remi-say { font-size: 1.05rem; font-weight: 600; margin: 0; }
.remi-facts { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-card); }
.remi-facts span:not(.kicker) { color: var(--muted); font-size: 0.9rem; }
.remi-try { margin: 0; padding-top: 8px; font: 600 19px/1.25 var(--display); color: var(--text); }
.remi-egs { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.remi-eg-row { width: 100%; min-height: 44px; text-align: left; font: inherit; font-size: 14px; font-weight: 500; line-height: normal; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; cursor: pointer; }
.remi-type { display: flex; gap: 8px; width: 100%; }
/* The box keeps 16 px words: smaller ones make an iPhone zoom in (his are 14 px). */
.remi-type input { flex: 1; min-width: 0; height: 44px; min-height: 44px; padding: 10px 12px; border-radius: 10px; box-shadow: inset 0 2px 4px var(--input-inset); }
.remi-type input::placeholder { font-size: 14px; }
.remi-type .btn { min-height: 44px; height: 44px; padding: 0 16px; border: 0; border-radius: 12px; }
.remi-close { align-self: center; min-height: 40px; margin-top: 0; padding: 0 6px; border: 0; background: none; font: 600 14px var(--body); color: var(--primary-text); cursor: pointer; }

/* ---------- The shell of Anthony's design v2.150, version A (12 November 2026) ---------- */
/* Five equal tabs; the TalkBlue logo raised in the middle. */
#ptabbar .tabbar-in { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; }
#ptabbar .recall-tab { overflow: visible; color: var(--primary-text); font-weight: 600; padding-top: 0; gap: 4px; }
.recall-logo { display: block; width: 58px; height: 58px; margin-top: -22px; border-radius: 15px; background: var(--logo-blue); box-shadow: 0 8px 20px -6px var(--logo-glow); }
.recall-logo img { display: block; width: 58px; height: 58px; border-radius: 15px; }
/* Home's head: the greeting and the name, a tag in the middle, the initials on the right. */
.greet { align-items: center; }
.greet-line { font-size: 14px; }
.greet .me-btn { width: 44px; height: 44px; font-family: var(--body); font-size: 0.8rem; background: var(--neutral-tag-soft); color: var(--neutral-tag); border: 0; }
/* "Blue · Your day". */
/* The card's line runs from blue to purple, as the design draws it. */
.day-card { border: 1.5px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, var(--primary), var(--ai-border)) border-box; gap: 8px; padding: 12px 14px; }
.ask-link { color: var(--primary-text); font-weight: 600; }
.day-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kicker.ai-k { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--ai); }
.day-item { display: flex; align-items: center; gap: 10px; background: var(--ai-soft); border-radius: 12px; padding: 10px 12px; }
.day-item p { flex: 1; min-width: 0; font-size: 14px; line-height: 1.4; }
.day-item .btn { flex: none; min-height: 40px; }
/* The TalkBlue sheet. */
/* Under the tab bar (z-index 10), which stays in view; the logo there turns into the ✕. */
.rsheet { position: fixed; inset: 0; z-index: 9; background: var(--shade); display: flex; align-items: flex-end; justify-content: center; }
.rsheet-in { width: 100%; max-width: 600px; background: var(--card); border-radius: var(--radius-sheet); box-shadow: 0 -12px 28px rgb(11 16 32 / 0.14); padding: 8px var(--gutter) calc(104px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; }
.rsheet-grip { align-self: center; width: 36px; height: 4px; border-radius: 2px; background: var(--line); }
.talk-btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; text-align: left; font: inherit; color: var(--ink); background: var(--card); border: 1.5px solid var(--primary); border-radius: 999px; padding: 7px 16px 7px 8px; cursor: pointer; }
.talk-mic { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--talk-gradient); color: var(--on-primary); display: grid; place-items: center; }
.talk-btn .row-main { gap: 0; }
.talk-btn b { font-size: 15px; }
.talk-wave { display: inline-flex; align-items: center; gap: 3px; color: var(--ai); }
.talk-wave i { width: 3px; height: 6px; border-radius: 2px; background: currentColor; }
.talk-wave i:nth-child(2) { height: 12px; } .talk-wave i:nth-child(3) { height: 16px; } .talk-wave i:nth-child(4) { height: 10px; }
.sugg { display: flex; align-items: center; gap: 10px; background: var(--ai-soft); border-radius: 12px; padding: 10px 12px; }
.sugg p { flex: 1; min-width: 0; font-size: 13px; line-height: 1.4; }
.sugg .ico { color: var(--ai); }
.btn-ai { flex: none; min-height: 40px; background: var(--ai-fill); border-color: var(--ai-fill); color: var(--on-primary); }
.sugg-dots { display: flex; justify-content: center; gap: 2px; margin: -4px 0; }
.sugg-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.sugg-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--input-border); }
.sugg-dots button[aria-pressed="true"]::before { width: 16px; background: var(--primary); }
.rsheet-k { margin: 2px 0 -2px; }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.start-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 82px; font: inherit; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-card); cursor: pointer; }
.start-tile b { font-size: 14px; font-weight: 600; }
.tile-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-text); display: grid; place-items: center; }
.start-tile.primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.start-tile.primary .tile-ico { background: var(--on-primary-veil); color: var(--on-primary); }
.start-tile .rec-solid { width: 14px; height: 14px; }
body.sheet-open #ptabbar .recall-logo { background: var(--text); border-radius: 50%; box-shadow: 0 8px 20px -8px var(--shadow); display: grid; place-items: center; }
body.sheet-open #ptabbar .recall-logo img { display: none; }
body.sheet-open #ptabbar .recall-logo::after { content: "✕"; color: var(--screen); font-size: 22px; line-height: 1; }
/* The Hub: its three tabs with their red counts, the one-time note, the alerts. */
.hub-tabs { margin-bottom: 12px; }
.hub-tabs button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 52px; }
.hub-tabs .tab-count { position: absolute; top: 2px; left: calc(50% + 8px); margin: 0; min-width: 18px; height: 18px; line-height: 18px; font-size: 0.68rem; }
.hub-sub { font-family: var(--display); font-weight: 600; font-size: 19px; margin: 0; }
.hub-note { flex-direction: row; align-items: center; gap: 10px; border: 1.5px solid var(--primary); }
.hub-note .row-main { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.hub-count { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; }
.alert-card { display: flex; align-items: flex-start; gap: 10px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-card); padding: 12px 14px; }
.alert-card.fresh { border-color: var(--primary); }
.alert-card p { font-size: 14px; font-weight: 600; line-height: 1.35; }
.alert-ico { flex: none; margin-top: 1px; }
.alert-card .tag { text-transform: uppercase; }
.look-row { cursor: default; }

/* ---------- Step 1 of docs/v150-plan.md (12 November 2026): the Quick hub, chat, Coming up, the logo, Talk ---------- */
/* The Quick hub: a sheet over the page, its own ✕, opened by the Hub tab. */
.qhub { position: fixed; inset: 0; z-index: 12; background: var(--shade); display: flex; align-items: flex-end; justify-content: center; }
.qhub-in { width: 100%; max-width: 600px; max-height: calc(100dvh - 40px - env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 10px; background: var(--screen); border-radius: var(--radius-sheet); box-shadow: 0 -12px 28px rgb(11 16 32 / 0.14); padding: 8px var(--gutter) calc(16px + env(safe-area-inset-bottom, 0px)); }
.qhub-head { display: flex; align-items: center; gap: 10px; }
.qhub-head b { flex: 1; font-family: var(--display); font-size: 19px; font-weight: 600; }
.qhub-mark img { display: block; width: 28px; height: 28px; border-radius: 8px; }
.qhub-x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.qhub .hub-tabs { margin-bottom: 0; }
.qhub-body { overflow-y: auto; gap: 10px; padding-bottom: 4px; }
/* Chat: the name and time above each message (the page itself: "Chat for everyone" at the end). */
.msg-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; max-width: 82%; align-self: flex-start; }
.msg-wrap.mine { align-items: flex-end; align-self: flex-end; }
.msg-wrap .msg { max-width: 100%; align-self: auto; }
.msg-who { font-size: 12px; font-weight: 600; color: var(--ai); }
.msg-wrap.mine .msg-who { color: var(--primary-text); }
/* The logo shakes three times when a person enters the app. */
@keyframes logo-shake { 0%, 70%, 100% { transform: rotate(0); } 10%, 30%, 50% { transform: rotate(-9deg); } 20%, 40%, 60% { transform: rotate(9deg); } }
.recall-logo.shake { animation: logo-shake 1.2s ease-in-out; }
@media (prefers-reduced-motion: reduce) { .recall-logo.shake { animation: none; } }
/* ---------- Settings in the order of Anthony's v2.150 demo (13 November 2026) ---------- */
/* "← Back" as a blue link, the title, its line; "My settings" and "Admin" as headings; the rows' sizes as the demo draws them. */
.set-bar { margin-bottom: 0; }
.set-back { background: transparent; border: 0; padding: 0; min-height: 44px; font: inherit; font-size: 14px; color: var(--primary-text); cursor: pointer; border-radius: 8px; }
.set-title { font-family: var(--display); font-size: 22px; font-weight: 600; margin-bottom: 2px; }
.set-note { font-size: 13px; line-height: 1.4; margin-bottom: 6px; }
.set-stack { gap: 9px; }
.set-h { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.25; }
.set-h small { font-family: var(--body); font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--text-muted); }
.set-stack > .set-row, .set-stack > .set-sec > .set-row { padding: 13px 14px; }
.set-stack > .set-row b, .set-stack > .set-sec > .set-row b { font-size: 15px; font-weight: 600; }
.set-stack > .set-row .muted.small, .set-stack > .set-sec > .set-row .muted.small { font-size: 13px; }
/* Only the page's own rows (not the small ones inside an open section). The demo's ▾ is 9 px wide (its fallback
   font's); Inter's is that wide at 20 px. Its rows' lines sit close. */
.set-stack > .set-row .set-arrow, .set-stack > .set-sec > .set-row .set-arrow { font-size: 20px; line-height: 1; }
.set-stack > .set-link .set-arrow { font-size: 15px; }
.set-stack > .set-row .row-main, .set-stack > .set-sec > .set-row .row-main { gap: 2px; line-height: 1.25; }
.set-stack > .set-row.admin { border-color: var(--primary); }
.set-caps { text-transform: uppercase; }
.set-test { display: flex; }
.set-test-btn { min-height: 44px; padding: 0 12px; font-size: 13px; font-weight: 400; background: transparent; border: 1.5px solid var(--input-border); color: var(--text); }
/* A seat's Settings has no line under its title (private.js, seatSettingsHTML): a little room before the rows. */
.set-title + .set-stack { margin-top: 10px; }
.set-signout { width: 100%; margin-top: 10px; min-height: 44px; font-size: 14px; font-weight: 400; background: transparent; border: 1.5px solid var(--danger-soft); color: var(--danger); }
.set-signout:hover { background: var(--danger-soft); }
/* ---------- Chat for everyone (13 November 2026, docs/chat-for-everyone.md): company chats and groups ---------- */
/* The list in the Hub's Messages: initials on grey, a group's line icon on the AI tint; the name with its role
   (a company, or who's in the group), the last message, its time or the red count. */
.chat-rows .chat-row { gap: 10px; padding: 10px 12px; }
.chat-av { width: 38px; height: 38px; font-size: 12.5px; background: var(--neutral-tag-soft); color: var(--text); }
.chat-av.group { background: var(--ai-soft); color: var(--ai); }
.chat-row .row-main { gap: 2px; }
.chat-row-top { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.chat-row-top .row-name { flex: none; max-width: 65%; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-row-top .row-sub { font-size: 11.5px; }
.chat-row-last { font-size: 12.5px; }
.chat-row-at { flex: none; font-size: 11px; color: var(--muted); }
.chat-row > .tab-count { flex: none; }
/* A chat's page (09a): Home's head, one row with "← Home", who it is and "+ Add people", the messages filling
   the space down to the bar, which is fixed above the tab bar with the Message / ✓ Task row on top. */
.chat-page { padding-bottom: 0; display: flex; flex-direction: column; min-height: 240px; height: calc(100dvh - 210px - var(--chat-lift, 0px) - var(--chat-grow, 0px) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
.chat-page .greet, .newchat .greet { flex: none; padding-block: 0 12px; }
.chat-head { flex: none; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.chat-head .row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-head .row-name { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-head .row-sub { font-size: 12px; }
.chat-home { flex: none; min-height: 44px; padding: 0 14px; font-size: 13px; color: var(--neutral-tag); background: transparent; border: 1px solid var(--input-border); border-radius: 999px; }
.chat-add { flex: none; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--logo-blue); background: transparent; color: var(--primary-text); font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.chat-add:hover, .chat-add[aria-expanded="true"] { background: var(--primary-soft); }
.chat-page .chat-msgs { flex: 1; min-height: 0; max-height: none; }
.msg-who { font-weight: 400; }
.msg-who b { font-weight: 600; }
/* A line the server wrote (who started a group, who was added): a small pill in the middle. */
.chat-line { align-self: center; max-width: 92%; text-align: center; }
.chat-line span { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; line-height: 1.4; color: var(--muted); background: var(--neutral-tag-soft); }
.chat-send { row-gap: 6px; }
.chat-modes { flex-basis: 100%; display: flex; align-items: center; gap: 6px; min-width: 0; }
.chat-mode { flex: none; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--input-border); background: transparent; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.chat-mode[aria-pressed="true"] { color: var(--primary-text); background: var(--primary-soft); border-color: var(--logo-blue); font-weight: 600; }
.chat-hint { flex: 1; min-width: 0; text-align: right; font-size: 12px; line-height: 1.3; color: var(--muted); }
/* The box stays one line high: its example never wraps (a long one is cut at the edge). */
.chat-send textarea:placeholder-shown { white-space: nowrap; overflow: hidden; }
.chat-send textarea::placeholder { font-size: 14px; }
.chat-cant { flex: none; padding-top: 8px; }
/* A caller's bar (no ✓ Task on their phone): "Private to this chat" under the box. */
.chat-private { flex-basis: 100%; margin: -2px 0 0; font-size: 12px; text-align: center; }
/* New chat and "+ Add people": a card in the logo's blue, the people as chips (picked: "✓ " and the blue tint). */
.pick-card { flex: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; padding: 10px 12px; background: var(--card); border: 1.5px solid var(--logo-blue); border-radius: var(--radius-card); }
.pick-card.pop { animation: chat-pop 0.2s ease-out; }
.pick-top { display: flex; align-items: center; gap: 8px; }
.pick-top .kicker { flex: 1; margin: 0; font-size: 11px; color: var(--primary-text); }
.pick-card input::placeholder { font-size: 14px; }
.round-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--input-border); background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.pick-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pick-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px 0 4px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; color: var(--text); background: var(--input-bg); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.pick-chip[aria-pressed="true"] { color: var(--primary-text); background: var(--primary-soft); box-shadow: inset 0 0 0 1.5px var(--logo-blue); }
.pick-chip .avatar { width: 28px; height: 28px; font-size: 10.5px; font-weight: 700; background: var(--neutral-tag-soft); color: var(--text); }
.pick-card .btn-block { min-height: 46px; }
.btn.dim { opacity: 0.45; }
.newchat .list-head { margin-top: 18px; }
@keyframes chat-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pick-card.pop { animation: none; } }
/* The chat's bubbles at the design's size (09a and the demo: 13 px text, 12 px corners, at most 86 % wide). */
#chat-msgs .msg { font-size: 13px; line-height: 1.45; border-radius: 12px; padding: 8px 11px; }
#chat-msgs .msg-wrap { max-width: 86%; }
/* ---------- The Call page (step 2, Part A, 13 November 2026, docs/calls-step2.md; Anthony's 03a, 03b, 03g, 03h, 03i) ---------- */
/* The head ("‹ Home", the recording label), the title and its line, the four tabs, then the tab's list; the foot is
   fixed above the tab bar and the list scrolls under it (js/calls.js keeps room for it). */
.cp-page { display: flex; flex-direction: column; gap: 10px; }
.cp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: -4px; }
.cp-back { min-height: 44px; padding: 0 12px 0 0; border: 0; background: none; font: 600 14px var(--body); color: var(--text); cursor: pointer; }
.cp-rec { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; font: 600 11.5px var(--body); background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.cp-title { font: 600 24px/1.15 var(--display); margin: 2px 0 0; }
.cp-sub { margin: -6px 0 2px; font-size: 13.5px; color: var(--text-muted); }
.cp-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.cp-tabs button { min-height: 48px; border-radius: 9px; border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: 600 12.5px var(--body); color: var(--text-muted); cursor: pointer; }
.cp-tabs button[aria-selected="true"] { background: var(--primary-soft); color: var(--primary-text); box-shadow: inset 0 0 0 1.5px var(--primary); }
.cp-label { margin: 2px 0 0; font: 600 11.5px var(--body); letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
.cp-list { display: flex; flex-direction: column; gap: 10px; }
/* The search box: on the card's colour, as drawn (the inputs' grey isn't). */
.cp-search { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--input-border); background: var(--input-field); color: var(--text-muted); }
.cp-search:focus-within { outline: 2px solid var(--primary); outline-offset: -1px; }
.cp-search input[type="search"] { flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--text); }
.cp-search input:focus { outline: none; }
/* A person: the initials (blue on TalkBlue, green joining with the link), the name and how they're reached, the phone button. */
.cp-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.cp-row.on { border-color: var(--primary); background: var(--primary-soft); }
.cp-row.missed { border-color: var(--missed-border); }
.cp-pick { flex: 1; min-width: 0; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; }
button.cp-pick { cursor: pointer; }
span.cp-pick { min-height: 0; } /* a Recent row's: not a button, so the row is as tall as his (a missed one 58 px) */
.cp-av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--body); background: var(--primary-soft); color: var(--primary-text); }
.cp-av.link { background: var(--whatsapp-soft); color: var(--whatsapp-text); }
.cp-tick { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); }
.cp-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cp-who > b { font-size: 14px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.cp-who small { font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.cp-miss { font-weight: 600; color: var(--danger); }
.cp-ring { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 0; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); cursor: pointer; }
.cp-callback, .cp-start { flex: none; min-height: 40px; padding: 0 12px; border-radius: 20px; border: 0; display: flex; align-items: center; gap: 6px; font: 600 13px var(--body); background: var(--primary); color: var(--on-primary); cursor: pointer; white-space: nowrap; }
.cp-start { padding: 0 14px; }
.cp-date { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary-text); line-height: 1; }
.cp-date b { font: 600 10px var(--body); letter-spacing: 0.06em; }
.cp-date span { font: 700 16px var(--display); }
/* Dashed notes: no match, nothing yet, and the foot's "Tap one or more names". */
.cp-none, .cp-hintbox { margin: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 4px; padding: 8px 12px; text-align: center; font-size: 13.5px; color: var(--text-muted); border: 1.5px dashed var(--input-border); border-radius: 14px; }
.cp-hintbox { padding: 0 12px; line-height: normal; } /* the foot's: as his .pickh, 48 px (C10) */
.cp-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--primary-text); cursor: pointer; }
.cp-hintcard { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px dashed var(--input-border); color: var(--primary-text); }
.cp-hintcard span { display: flex; flex-direction: column; }
.cp-hintcard b { font-size: 13.5px; color: var(--text); }
.cp-hintcard small { font-size: 12.5px; color: var(--text-muted); }
.cp-share { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.cp-share p { font-size: 13px; color: var(--text-muted); }
.cp-share input { background: var(--input-field); }
.cp-make { min-height: 46px; border-radius: 12px; border: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 14px var(--body); background: var(--primary-soft); color: var(--primary-text); cursor: pointer; }
/* What it's about: the person's own subjects; the one chosen blue with its tick (purple is for the AI only). */
.cp-qhead { margin-top: 2px; font: 600 15px var(--display); color: var(--text); }
.cp-qhead b { font-weight: 700; color: var(--primary-text); }
.cp-qhead small { font: 600 12px var(--body); color: var(--text-muted); }
.cp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.cp-chip { min-height: 36px; display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: 600 12px var(--body); color: var(--text); cursor: pointer; }
.cp-chip[aria-pressed="true"] { background: var(--primary-soft); color: var(--primary-text); border-color: var(--primary); }
/* The foot, fixed above the tab bar: the recording note, then the button (or the dashed note), then its line. */
.cp-space { flex: none; }
.cp-foot { position: fixed; left: 50%; transform: translateX(-50%); width: min(600px, 100%); bottom: calc(var(--tabbar-h, 76px) + env(safe-area-inset-bottom, 0px)); z-index: 8; display: flex; flex-direction: column; gap: 8px; padding: 10px 18px 30px; border-top: 1px solid var(--line); background: var(--screen); }
.cp-note { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-text); }
.cp-note span { flex: 1; display: flex; flex-direction: column; }
.cp-note b { font-size: 14px; line-height: normal; color: var(--text); }
.cp-note small { font-size: 12px; line-height: normal; color: var(--text-muted); }
.cp-go { width: 100%; min-height: 52px; padding: 8px 14px; border-radius: 14px; border: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1.25 var(--body); text-align: center; background: var(--primary); color: var(--on-primary); box-shadow: 0 6px 18px var(--primary-glow); cursor: pointer; }
.cp-go:disabled { background: var(--neutral-tag-soft); color: var(--text-muted-on-tag); box-shadow: none; cursor: default; }
.cp-fine { margin: 0; text-align: center; font-size: 12px; color: var(--text-muted); }
.cp-foot > .cp-fine:only-child { font-size: 13.5px; padding: 4px 8px 0; }
.cp-clear { padding: 2px 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
/* The page's scroll area ends above the foot: js/calls.js sizes .cp-space to the foot and all under it, so the body keeps no room of its own. */
body:has(#v-psub:not([hidden]) .cp-foot) { padding-bottom: 0; }
/* The toast as his call module draws it (13 Nov 2026 checkpoint, C1): the call screens' shape (below) on the Call page
   too, 10 px above the foot (js/calls.js measures the foot and the tab bar under it as --cp-foot). */
body:has(#v-psub:not([hidden]) .cp-foot) .toast { bottom: calc(var(--cp-foot, 150px) + 10px); }
/* Dial: the number box (the country chip, the number, ×), what TalkBlue found, the keypad. */
.cp-num { display: flex; align-items: center; gap: 10px; padding: 10px 6px 10px 12px; border-radius: 14px; border: 2px solid var(--primary); background: var(--input-field); }
.cp-cc { flex: none; padding: 6px 8px; border-radius: 9px; border: 0; font: 600 14px var(--body); background: var(--primary-soft); color: var(--primary-text); white-space: nowrap; cursor: pointer; }
.cp-num input[type="tel"] { flex: 1; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font: 600 20px var(--mono); color: var(--text); }
.cp-num input:focus { outline: none; }
.cp-num input::placeholder { font-weight: 400; color: var(--text-muted); opacity: 1; }
/* French's "Tapez un numéro" is longer than the box beside the country at 375 px. */
:lang(fr) .cp-num input::placeholder { font-size: 16px; }
.cp-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: none; color: var(--text); cursor: pointer; }
.cp-dialmid { display: flex; flex-direction: column; gap: 10px; }
.cp-line { margin: 0; font-size: 12px; color: var(--text-muted); }
.cp-check { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 12px; }
.cp-check .ico { margin-top: 2px; }
.cp-check span { display: flex; flex-direction: column; color: var(--text); }
.cp-check b { font-size: 14px; }
.cp-check small { font-size: 12.5px; line-height: 1.4; color: var(--text-muted); }
.cp-check.ok { background: var(--success-soft); color: var(--success); }
.cp-check.link { background: var(--primary-soft); color: var(--primary-text); }
.cp-check.unknown, .cp-check.bad { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.cp-check.bad b { font-weight: 600; }
.cp-save { display: flex; align-items: center; gap: 10px; }
.cp-switch { flex: none; position: relative; width: 44px; height: 26px; padding: 0; border: 0; border-radius: 13px; background: var(--input-border); cursor: pointer; }
.cp-switch[aria-checked="true"] { background: var(--primary); }
.cp-switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--on-primary); transition: left 0.15s; }
.cp-switch[aria-checked="true"] i { left: 21px; }
.cp-save-l { display: flex; flex-direction: column; }
.cp-save-l b { font-size: 14px; }
.cp-save-l small { font-size: 12px; color: var(--text-muted); }
.cp-dialmid input.cp-name { min-height: 42px; padding: 8px 14px; background: var(--input-field); }
.cp-pad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cp-pad button { min-height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-family: var(--body); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; }
.cp-pad b { font: 600 18px/1 var(--display); }
.cp-pad small { font-size: 9.5px; letter-spacing: 0.06em; color: var(--text-muted-on-tag); } /* Inter, as his (buttons don't pass the font on; C8) */
.cp-pad button:active { background: var(--primary-soft); }
/* The chip's list of countries. */
.cp-countries { display: flex; flex-direction: column; gap: 8px; }
.cp-clist { max-height: 320px; overflow-y: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.cp-crow { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; border: 0; border-top: 1px solid var(--line); background: none; font: inherit; font-size: 14px; color: var(--text); text-align: left; cursor: pointer; }
.cp-crow:first-child { border-top: 0; }
.cp-crow[aria-pressed="true"] { color: var(--primary-text); font-weight: 600; background: var(--primary-soft); }
.cp-code { font-family: var(--mono); color: var(--text-muted); }
.cp-clist .cp-line { padding: 12px 14px; }

/* ---------- "Finish setting up" (v2.150): Home's card and the six set-up questions (js/setup.js) ---------- */
/* The card, under Your day: the compass in a soft blue circle, the title, a thin bar, an outlined button. */
.su-card { gap: 8px; padding: 12px 14px; border-width: 1px; }
.su-card-head { display: flex; align-items: center; gap: 10px; }
.su-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-text); display: grid; place-items: center; }
.su-card-head b { font-size: 15px; line-height: 1.3; }
.su-card-head .muted, .su-card p { font-size: 13px; line-height: 1.45; }
.su-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.su-bar span { display: block; width: 8%; height: 100%; background: var(--primary); }
.su-go { min-height: 44px; border-radius: 10px; border: 1.5px solid var(--primary); background: transparent; color: var(--primary-text); font-size: 14px; }
.su-go:hover { background: var(--primary-soft); }
/* The questions: the whole screen (no tab bar), six segments on top, the buttons kept at the foot. */
.su-page { display: flex; flex-direction: column; min-height: calc(100dvh - 36px - env(safe-area-inset-top, 0px)); }
.su-segs { display: flex; gap: 4px; padding: 4px 0 6px; }
.su-segs span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.su-segs span.on { background: var(--primary); }
.su-main { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 8px 0 16px; }
.su-top { display: flex; align-items: center; gap: 8px; }
.su-top .kicker { flex: 1; margin: 0; }
.su-later { min-height: 44px; padding: 0 10px; margin-right: -10px; border: 0; background: none; font: 600 13px var(--body); color: var(--primary-text); cursor: pointer; }
.su-title { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; }
.su-sub { font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.su-known { font-size: 13px; padding: 9px 12px; border-radius: 12px; background: var(--input-bg); border: 1px solid var(--line); color: var(--neutral-tag); }
.su-q { display: flex; flex-direction: column; gap: 8px; }
.su-label { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.su-label .ico { margin-top: 1px; color: var(--primary-text); }
.su-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.su-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; font: 500 13.5px/1.25 var(--body); color: var(--text); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-align: left; cursor: pointer; }
.su-chip[aria-pressed="true"], .su-chip.on { font-weight: 600; color: var(--primary-text); background: var(--primary-soft); box-shadow: inset 0 0 0 1.5px var(--primary); }
.su-chip.on { cursor: default; }
.su-chip.su-add { font-weight: 600; color: var(--primary-text); background: transparent; box-shadow: none; border: 1.5px dashed var(--input-border); }
.su-addrow { display: flex; align-items: center; gap: 6px; }
.su-addrow input { flex: 1; min-width: 0; min-height: 46px; }
.su-addrow .btn { min-height: 46px; }
.su-x { width: 46px; padding: 0; color: var(--text-muted); border-color: var(--input-border); background: transparent; }
.su-clist { max-height: 280px; }
.su-foot { position: sticky; bottom: 0; display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter)) -24px; padding: 12px var(--gutter) calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--screen); }
.su-foot .btn-primary { flex: 1; }
.su-back { min-height: 50px; padding: 0 18px; border: 1.5px solid var(--input-border); background: transparent; font-size: 14px; }
body:has(#v-psub:not([hidden]) .su-foot) .toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
/* The answers, in the summary and in Settings → Profile. */
.su-rows { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); padding: 2px 12px; }
.su-row { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.su-row:last-child { border-bottom: 0; }
.su-k { font-size: 11.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
.su-v { font-size: 13.5px; line-height: 1.4; }

/* ---------- Step 2, Part B: the call itself (docs/calls-step2.md; Anthony's 03c to 03f, sizes from his demo's call module) ---------- */
/* The call fills the phone; a team caller's own tab bar stays under it. Toasts sit above the buttons at the foot. */
#v-acall { position: fixed; inset: 0; z-index: 15; display: flex; flex-direction: column; background: var(--screen); }
body.with-tabs #v-acall { bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
body:has(#v-acall:not([hidden])) .toast, body:has(#v-psub:not([hidden]) .cp-foot) .toast, body:has(#v-meeting:not([hidden]) .cl-mfoot) .toast { left: 14px; right: 14px; transform: none; max-width: 572px; margin: 0 auto; border-radius: 14px; padding: 11px 14px; font-size: 13.5px; font-weight: 600; line-height: normal; text-align: left; color: var(--toast-text); box-shadow: 0 12px 30px var(--toast-shadow); }
body:has(#v-acall:not([hidden])) .toast { bottom: var(--cl-foot, 120px); }
.cl-screen { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; }
.cl-grad, .cl-light { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cl-grad { background: var(--sign-in-gradient); color: var(--on-primary); }
.cl-light { background: var(--screen); color: var(--text); }
.cl-pad { flex: 1; min-height: 0; width: 100%; max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding: max(16px, calc(env(safe-area-inset-top, 0px) + 4px)) 18px 10px; }
/* Step 1 · Calling: everything centred, the buttons at the foot. */
.cl-cc { align-items: center; text-align: center; gap: 8px; padding-bottom: max(36px, calc(env(safe-area-inset-bottom, 0px) + 2px)); }
.cl-sp { flex: 1; }
.cl-steps { align-self: stretch; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.cl-cc .cl-steps { text-align: center; }
.cl-ln { display: flex; gap: 6px; }
.cl-ln i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.cl-ln i.on { background: var(--primary); }
.cl-steps span { font: 600 11.5px var(--body); letter-spacing: 0.07em; text-transform: uppercase; color: var(--primary-text); }
.cl-grad .cl-ln i { background: color-mix(in srgb, var(--on-primary) 25%, transparent); }
.cl-grad .cl-ln i.on { background: var(--on-primary); }
.cl-grad .cl-steps span { color: var(--on-call-muted); }
.cl-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; font: 600 11.5px var(--body); background: color-mix(in srgb, var(--on-primary) 16%, transparent); color: var(--on-primary); }
.cl-big { width: 88px; height: 88px; margin-top: 4px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 600 28px var(--body); background: color-mix(in srgb, var(--on-primary) 18%, transparent); color: var(--on-primary); }
.cl-name { font: 600 26px/normal var(--display); overflow-wrap: anywhere; }
.cl-sub { font-size: 14px; opacity: 0.85; }
/* The status card (white at 12%), and the people on a group call in it. */
.cl-glass { max-width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; text-align: left; font-size: 13px; font-weight: 600; line-height: 1.5; background: color-mix(in srgb, var(--on-primary) 12%, transparent); color: var(--on-primary); }
.cl-glass.bad { background: color-mix(in srgb, var(--danger-fill) 30%, transparent); }
.cl-gcard { align-self: stretch; flex-direction: column; align-items: stretch; gap: 8px; }
.cl-prow { display: flex; align-items: center; gap: 10px; }
.cl-pname { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cl-pname b { font-size: 14px; line-height: 1.3; }
.cl-pname small { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--on-call-muted); }
.cl-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--on-call-muted); }
.cl-dot.ok { background: var(--live-green); } .cl-dot.red { background: var(--logo-red-dot); } .cl-dot.cy { background: var(--on-primary); }
.cl-pulse { width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--on-primary); box-shadow: 0 0 0 8px color-mix(in srgb, var(--on-primary) 20%, transparent), 0 0 0 18px color-mix(in srgb, var(--on-primary) 8%, transparent); }
/* Before the invite goes: Send on WhatsApp in its own green, then the smaller ways. */
.cl-wa { align-self: stretch; min-height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px var(--body); text-decoration: none; background: var(--whatsapp); color: var(--on-primary); }
.cl-fb { width: 100%; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
.cl-fb small { width: 100%; text-align: center; font-size: 12px; color: var(--on-call-muted); }
.cl-fb button, .cl-fb a { min-height: 44px; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 999px; font: 600 12.5px var(--body); text-decoration: none; background: color-mix(in srgb, var(--on-primary) 14%, transparent); color: var(--on-primary); cursor: pointer; }
/* Mute · Speaker · Add person: white line icons in clear circles; Mute greyed until the call is open. */
.cl-ctl3 { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cl-ctl3.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 16%; } .cl-ctl3.n1 { grid-template-columns: 1fr; }
.cl-ctl3 button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: 600 12.5px var(--body); color: var(--on-primary); cursor: pointer; }
.cl-ctl3 button .ico { width: 52px; height: 52px; padding: 15px; border-radius: 50%; background: color-mix(in srgb, var(--on-primary) 16%, transparent); }
.cl-ctl3 button[aria-pressed="true"] .ico { background: var(--on-primary); color: var(--on-call-blue); }
.cl-ctl3 button:disabled { opacity: 0.5; cursor: default; }
.cl-endw { display: flex; flex-direction: column; align-items: center; gap: 5px; font: 600 12.5px var(--body); color: var(--on-primary); }
.cl-endc { width: 64px; height: 64px; padding: 0; font: inherit; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--danger-fill); color: var(--on-primary); cursor: pointer; box-shadow: 0 8px 22px color-mix(in srgb, var(--danger-fill) 40%, transparent), 0 0 0 4px color-mix(in srgb, var(--danger-fill) 16%, transparent); }
.cl-endc .ico { transform: rotate(135deg); }
.cl-endc:active { transform: scale(0.94); }
/* Nobody answered: the card, Try again and Send a link in white, then Close. */
.cl-noans { width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; text-align: left; background: color-mix(in srgb, var(--on-primary) 14%, transparent); border: 1px solid color-mix(in srgb, var(--on-primary) 25%, transparent); }
.cl-noans b { font-size: 15px; }
.cl-noans small { font-size: 12.5px; line-height: 1.5; color: var(--on-call-muted); }
.cl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cl-two button { min-height: 44px; padding: 0; border: 0; border-radius: 12px; display: flex; gap: 6px; align-items: center; justify-content: center; font: 600 13.5px var(--body); background: var(--on-primary); color: var(--on-call-blue); cursor: pointer; }
.cl-close { width: 100%; min-height: 52px; border: 0; border-radius: 14px; font: 600 16px var(--body); background: color-mix(in srgb, var(--on-primary) 16%, transparent); color: var(--on-primary); cursor: pointer; }
/* Step 2 · On the call: the REC bar, who's on it, the agreed note, the live transcript; Mute · Speaker · People and End at the foot. */
.cl-rec { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 14px; border-radius: 14px; background: var(--danger-soft); color: var(--danger-text); font: 600 12.5px var(--body); letter-spacing: 0.04em; text-transform: uppercase; }
.cl-rec.wait { text-transform: none; letter-spacing: 0; font-size: 14px; background: var(--primary-soft); color: var(--primary-text); }
.cl-rec.wait.bad { background: var(--danger-soft); color: var(--danger); }
.cl-rdot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--logo-red-dot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--logo-red-dot) 30%, transparent); }
.cl-tm { font: 600 22px var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0.5px; color: var(--danger-text); }
:root[data-theme="dark"] .cl-tm { color: var(--text); }
.cl-who { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cl-who small { margin-left: 4px; font-size: 12.5px; color: var(--text-muted); }
.cl-av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--body); background: var(--primary-soft); color: var(--primary-text); }
.cl-av.mine { background: var(--primary); color: var(--on-primary); }
.cl-av.g { background: var(--whatsapp-soft); color: var(--whatsapp-text); }
.cl-av.sm { width: 28px; height: 28px; font-size: 10.5px; }
.cl-grad .cl-av.sm { background: color-mix(in srgb, var(--on-primary) 18%, transparent); color: var(--on-primary); }
.cl-ok { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; line-height: 1.5; background: var(--success-soft); color: var(--success); }
.cl-label { margin: 0; font: 600 11.5px var(--body); letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
.cl-lines { display: flex; flex-direction: column; gap: 10px; }
.cl-tr { padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 13.5px; line-height: 1.5; }
.cl-tr small { display: block; font: 600 10.5px var(--mono); text-transform: uppercase; color: var(--text-muted); }
.cl-hint { padding: 4px 0; font-size: 12.5px; color: var(--text-muted); }
/* Language bridge (docs/four-ideas.md, 4): the switch above the live lines, in the AI's purple with his spark while
   it translates, a plain card when off (his Settings' knob); a translated line's foot, "Translated from French" in
   purple (the AI made the line) and "Show the original" in blue, the whole foot a tap; the original under the
   line, quieter, behind a thin rule. */
.cl-bridge { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--ai-border); border-radius: 12px; background: var(--ai-soft); color: var(--ai); font: 600 13px var(--body); text-align: left; cursor: pointer; }
.cl-bridge.off { border-color: var(--line); background: var(--card); color: var(--text-muted); }
/* Pinned above the lines as the transcript scrolls under it (checkpoint F8); once pinned (.stuck), the screen's own
   colour above it, up to the screen's edge (the pad's top padding), so the lines don't show there. */
#v-acall .cl-bridge { position: sticky; top: 0; z-index: 1; flex: none; }
/* A line scrolled into view (its original opened) shows below the pinned row, not under it. */
#v-acall #cl-live .cl-tr { scroll-margin-top: 64px; }
#v-acall .cl-bridge.stuck::before { content: ""; position: absolute; left: -19px; right: -19px; bottom: calc(100% + 1px); height: max(16px, calc(env(safe-area-inset-top, 0px) + 4px)); background: var(--screen); }
/* Live translation stopped on this call (B8): said quietly, nothing to switch. */
.cl-bridge.down { margin: 0; font-weight: 500; cursor: default; }
.cl-bridge-l { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; line-height: 1.4; }
.cl-bridge-l .ico { flex: none; }
.cl-tr .cl-orig-t { display: block; margin-top: 4px; padding-left: 8px; border-left: 2px solid var(--line); font-size: 12.5px; color: var(--text-muted); }
.cl-orig { display: flex; align-items: center; flex-wrap: wrap; gap: 0 5px; width: calc(100% + 24px); min-height: 36px; margin: 2px -12px -8px; padding: 6px 12px 8px; border: 0; border-radius: 0 0 12px 12px; background: none; font: 600 11.5px var(--body); text-align: left; color: var(--text-muted); cursor: pointer; }
.cl-orig .cl-from { color: var(--ai); }
.cl-orig .cl-show { color: var(--primary-text); }
.cl-light .call-signal { margin: 0; }
.cl-foot { flex: none; width: 100%; max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; padding: 10px 18px max(30px, calc(env(safe-area-inset-bottom, 0px) + 12px)); border-top: 1px solid var(--line); background: var(--screen); }
.cl-light .cl-foot { max-width: none; }
.cl-ctls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cl-ctls.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cl-ctls button { min-height: 52px; padding: 0; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: 600 12.5px var(--body); cursor: pointer; }
.cl-ctls button[aria-pressed="true"] { background: var(--primary-soft); color: var(--primary-text); border-color: var(--primary); }
.cl-ctls button:disabled { opacity: 0.5; cursor: default; }
.cl-end { width: 100%; min-height: 52px; padding: 0; border: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 16px var(--body); background: var(--danger-fill); color: var(--on-primary); cursor: pointer; }
/* The sheets over the call: People · N, and Add person. */
.cl-shade { position: absolute; inset: 0; z-index: 2; background: var(--shade); }
.cl-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; padding: 8px 18px max(30px, calc(env(safe-area-inset-bottom, 0px) + 12px)); border-radius: var(--radius-sheet); background: var(--card); color: var(--text); box-shadow: 0 -12px 28px var(--shadow); max-height: 80%; overflow-y: auto; }
.cl-grab { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--line); }
.cl-sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cl-sheet-h b { font: 600 18px var(--display); }
.cl-x { width: 44px; height: 44px; margin-right: -10px; border: 0; border-radius: 50%; display: grid; place-items: center; background: none; color: var(--text-muted); cursor: pointer; }
.cl-sheet .row-btns .btn { flex: 1; }
/* The minutes after a call (03f): "← Call" in blue, "Minutes ready · …", the writing screen while they're written, the foot. */
#v-meeting.cl-from #meeting-back { min-height: 44px; padding: 0 12px 0 0; border: 0; border-radius: 0; font: 600 14px var(--body); color: var(--text); }
.cl-ready { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; font: 600 11.5px var(--body); white-space: nowrap; background: var(--success-soft); color: var(--success); }
.cl-wrt { display: flex; align-items: center; gap: 10px; margin: 10px 0; padding: 12px 14px; border-radius: 14px; background: var(--ai-soft); color: var(--ai); }
.cl-wrt span { display: flex; flex-direction: column; }
.cl-wrt b { font-size: 15px; }
.cl-wrt small { font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.cl-skl { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.cl-skl i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--neutral-tag-soft); }
.cl-skl span { flex: 1; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--neutral-tag-soft) 0%, var(--line) 50%, var(--neutral-tag-soft) 100%); background-size: 200% 100%; animation: cl-skl 1.2s linear infinite; }
@keyframes cl-skl { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .cl-skl span { animation: none; } }
.cl-mfoot { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 8; width: min(600px, 100%); display: flex; flex-direction: column; gap: 8px; padding: 10px 18px max(30px, calc(env(safe-area-inset-bottom, 0px) + 12px)); border-top: 1px solid var(--line); background: var(--screen); }
body:has(#v-meeting:not([hidden]) .cl-mfoot) { padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
body:has(#v-meeting:not([hidden]) .cl-mfoot) .toast { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
.cl-mtwo { display: flex; gap: 8px; }
.cl-nosh { flex: 1; min-height: 52px; padding: 0; border-radius: 14px; border: 1.5px solid var(--input-border); background: var(--card); color: var(--text); font: 600 15px var(--body); cursor: pointer; }
.cl-shmin { flex: 1.6; min-height: 52px; padding: 0; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; border: 0; background: var(--primary); color: var(--on-primary); font: 600 16px var(--body); box-shadow: 0 6px 18px var(--primary-glow); cursor: pointer; }
.cl-fine { margin: 0; text-align: center; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
/* The guest's page by link (js/call-link.js): 03d's invite with the tick, and 03e's dark navy call. */
.gl-logo { display: block; width: 44px; height: 44px; margin: 0 auto; border-radius: 10px; }
/* Framed as his page: the body's own 18 px sides only (the meeting guest's .join adds its own). */
main.gl-page { padding: 4px 0 30px; }
.gl-intro { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding-top: 16px; }
.gl-intro h1 { margin-top: 2px; text-align: center; font: 600 24px/1.15 var(--display); letter-spacing: normal; }
.gl-from { align-self: center; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font: 600 12.5px var(--body); background: var(--whatsapp-soft); color: var(--whatsapp-text); }
.gl-about { margin-top: -6px; text-align: center; font-size: 13.5px; color: var(--text-muted); }
.gl-ck { display: flex; align-items: flex-start; gap: 10px; padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; line-height: normal; color: var(--text); text-align: left; cursor: pointer; }
.gl-box { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--primary); display: grid; place-items: center; color: var(--on-primary); }
.gl-box .ico { opacity: 0; }
.gl-ck[aria-checked="true"] .gl-box { background: var(--primary); }
.gl-ck[aria-checked="true"] .gl-box .ico { opacity: 1; }
.gl-answer { min-height: 52px; padding: 0; border: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px var(--body); background: var(--primary); color: var(--on-primary); box-shadow: 0 6px 18px var(--primary-glow); cursor: pointer; }
.gl-answer[aria-disabled="true"] { background: var(--neutral-tag-soft); color: var(--text-muted-on-tag); box-shadow: none; cursor: default; }
/* The dot on the button is his lighter red with a white ring, ticked or not. */
.gl-rdot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--recording-red-light); box-shadow: 0 0 0 3px color-mix(in srgb, var(--on-primary) 35%, transparent); }
.gl-fine { text-align: center; font-size: 12px; color: var(--text-muted); }
/* As close under "No app, no account…" as 03d draws it (about 27 px between the lines), still a 44 px target. */
.gl-decline { align-self: center; min-height: 44px; margin-top: -14px; padding: 0 12px; border: 0; background: none; font: 600 13.5px var(--body); color: var(--primary-text); cursor: pointer; }
body:has(.gl-call) .toast { left: 18px; right: 18px; transform: none; max-width: 484px; margin: 0 auto; bottom: 200px; border-radius: 14px; padding: 11px 14px; font-size: 13.5px; font-weight: 600; text-align: left; }
.gl-call { position: fixed; inset: 0; z-index: 15; display: flex; flex-direction: column; background: var(--call-in-gradient); color: var(--on-primary); }
.gl-call .cl-rec { align-self: stretch; }
.gl-ok { align-self: stretch; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; text-align: left; font-size: 13px; font-weight: 600; line-height: 1.5; background: var(--on-call-ok-bg); color: var(--on-call-ok); }
.gl-me { background: var(--on-primary); color: var(--on-call-blue); }
.gl-tm { font: 600 18px var(--mono); font-variant-numeric: tabular-nums; }
.gl-wait { color: var(--on-call-muted); font-size: 14px; }
/* The live lines sit where his do: from just under the timer, 170 px tall, fading out at the top; the buttons stay at the foot. */
.gl-lines { align-self: stretch; flex: 0 1 170px; min-height: 48px; margin: -28px 0 auto; display: flex; flex-direction: column; gap: 7px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, var(--text) 55%, var(--text) 100%); mask-image: linear-gradient(to bottom, transparent 0%, var(--text) 55%, var(--text) 100%); }
.gl-lines p { margin: 0; text-align: left; font: 500 13px/1.45 var(--body); color: color-mix(in srgb, var(--on-primary) 34%, transparent); }
.gl-lines p.mine { text-align: right; color: color-mix(in srgb, var(--on-call-own) 34%, transparent); }
.gl-lines p:last-child { color: color-mix(in srgb, var(--on-primary) 62%, transparent); }
.gl-lines p.mine:last-child { color: color-mix(in srgb, var(--on-call-own-last) 62%, transparent); }
/* Language bridge on the guest's page: a translated line's foot in the lavender of the small words, the original
   under it, quieter; the switch under the lines, white at 12% as the calling screen's cards, his spark on its label. */
/* With the bridge, a line takes more room: the lines start under the timer rather than over it. The lines' area gives
   up room (down to about two lines) so the lines, the row and the buttons fit on any phone; the buttons never move
   off it (checkpoint F2). The latest line sits at the foot; a line whose original was just opened is scrolled into
   view, and while an original is open nothing is faded out at the top (F5). */
.gl-lines > :first-child { margin-top: auto; }
.gl-lines > * { flex: none; }
.gl-lines.bridged { margin-top: 0; }
.gl-lines.reading { -webkit-mask-image: none; mask-image: none; }
/* On a short screen (740 px tall or less), while the row shows, the lines get room for about three (re-check, R1):
   the caller's initials 48 px (88), the name 20 px (26), and the second timer hidden (the REC bar shows the time). */
@media (max-height: 740px) {
  .gl-call:has(#gl-bridge) .gl-me { width: 48px; height: 48px; margin-top: 0; font-size: 17px; }
  .gl-call:has(#gl-bridge) .cl-name { font-size: 20px; }
  .gl-call:has(#gl-bridge) .gl-tm { display: none; }
}
.gl-lines .gl-orig-t { display: block; margin-top: 2px; font-size: 12px; font-style: italic; }
/* The foot as faded as its line (F5). */
.gl-orig { display: flex; align-items: center; flex-wrap: wrap; gap: 0 5px; min-height: 28px; padding: 0; border: 0; background: none; font: 600 11.5px var(--body); text-align: left; color: inherit; cursor: pointer; }
.gl-orig .gl-show { text-decoration: underline; text-underline-offset: 2px; }
.gl-bridge { align-self: stretch; }
.gl-sw { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; margin-top: 8px; padding: 8px 12px; border: 0; border-radius: 12px; background: color-mix(in srgb, var(--on-primary) 12%, transparent); color: var(--on-call-muted); font: 600 12.5px var(--body); text-align: left; cursor: pointer; }
.gl-sw-l { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; line-height: 1.4; }
.gl-sw-l .ico { flex: none; }
/* The switch's track at least 3:1 on the calling screen (F9): on, white with the gradient's blue knob, as the
   screen's pressed buttons; off, white at 45% with the white knob. */
.gl-sw .set-knob.on { background: var(--on-primary); }
.gl-sw .set-knob.on > span { background: var(--on-call-blue); }
.gl-sw .set-knob:not(.on) { background: var(--on-call-switch-off); }
.gl-sw.down { margin-top: 8px; font-weight: 500; cursor: default; }

/* ---------- The 13 Nov 2026 checkpoint, round 2 (docs/checkpoint-2026-11-13.md, D1–D15): the main screens as his
   clickable prototype draws them, measured from its computed styles in light and dark, through the tokens above. ---------- */
/* D9: Home's head. "Good morning" 13 px, the name 22 px; the role's tag and the initials together on the right,
   the tag where his sits (his page keeps a 44 px place for a bell between them); the owner's tag blue, a team
   member's grey; the initials 600 in the text's colour. */
.greet { align-items: center; gap: 10px; padding-block: 6px 12px; }
.greet-who { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.greet .greet-line { font-size: 13px; line-height: normal; }
.greet h1 { font-size: 22px; line-height: normal; letter-spacing: normal; }
.greet-end { flex: none; display: flex; align-items: center; gap: 8px; }
.greet-end .role-tag { margin-right: 58px; padding: 4px 8px; font-size: 11.5px; letter-spacing: 0.04em; line-height: normal; color: var(--primary-text); background: var(--role-tag-bg); }
.greet-end .role-tag.team { color: var(--text); background: var(--neutral-tag-soft); }
@media (max-width: 359px) { .greet-end .role-tag { margin-right: 0; } }
.greet .me-btn { font-size: 12px; font-weight: 600; color: var(--text); background: var(--neutral-tag-soft); }
.home-stack { gap: 12px; }
/* D8: "Blue · Your day": his line from blue to purple 1.5 px, corners 18; the head row 44 px with
   "Ask me ›" 13 px; each item on the purple tint, 13.5 px with 600 for the bold part; the buttons 40 px,
   corners 10, 12.5 px: the first his deep blue, the others his soft blue. */
.day-card { border-width: 1.5px; border-radius: 18px; padding: 12px; gap: 8px; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, var(--primary-deep), var(--ai-violet)) border-box; }
.day-head { min-height: 44px; }
.day-head .ask-link { flex: none; min-height: 44px; padding: 0 6px; font-size: 13px; font-weight: 600; line-height: normal; white-space: nowrap; color: var(--primary-text); }
.day-item { background: var(--ai-card); padding: 10px; }
.day-item p { font-size: 13.5px; line-height: 1.45; }
.day-item p b { font-weight: 600; }
.day-item .day-btn, .day-item .day-btn:hover { min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; font-size: 12.5px; font-weight: 600; line-height: normal; background: var(--primary-deep); color: var(--on-primary-deep); }
.day-item .day-btn.soft, .day-item .day-btn.soft:hover { background: var(--soft-fill); color: var(--primary-text); }
.day-item .day-btn:hover { filter: brightness(1.07); }
/* The set-up card's button and icon in his brighter blue and soft blue. */
.su-go { border-width: 1px; border-color: var(--accent-line); }
.su-ico { background: var(--soft-fill); }
/* D1: Coming up. "Coming up · n" 19 px with his purple calendar and "See all ›"; each plan its own card on the
   purple tint with his purple line, corners 14; the date tile (the day in JetBrains Mono, the date 19 px), the
   purple kicker "MEETING · 10:00", the title 14/600, the people 12.5 px, and Start once it's starting. */
.coming { display: flex; flex-direction: column; gap: 8px; }
.coming-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding-top: 2px; }
.coming-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 19px/1.25 var(--display); color: var(--text); }
.coming-head h2 .ico { color: var(--ai); }
.coming-all { flex: none; min-height: 44px; padding: 0; border: 0; background: none; font: 600 13px var(--body); color: var(--primary-text); cursor: pointer; }
.coming-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--ai-card); border: 1px solid var(--ai-line); border-radius: 14px; }
.coming-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; font: inherit; line-height: normal; color: var(--text); text-align: left; cursor: pointer; }
.coming-card .date-block { flex: none; width: 46px; gap: 0; padding: 5px 0; line-height: normal; background: var(--ai-tile); border-radius: 10px; }
.coming-card .date-block b { font: 600 12px var(--mono); letter-spacing: 1px; text-transform: uppercase; color: var(--ai); }
.coming-card .date-block span { font: 600 19px var(--display); color: var(--text); }
.coming-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.coming-k { display: flex; align-items: center; gap: 4px; font: 600 12px var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ai); }
.coming-k .ico { vertical-align: 0; }
.coming-t { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.coming-s { font-size: 12.5px; color: var(--text-muted); }
.coming-go { flex: none; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--primary); color: var(--on-primary); font: 600 13px var(--body); cursor: pointer; }
/* Today's tasks: his 1 px line in the tab's blue, 15/600 and 13 px. */
.task-sum { margin: 0; border-width: 1px; border-color: var(--primary-line); }
.task-sum .row-name { font-size: 15px; line-height: normal; }
.task-sum .row-sub { font-size: 13px; line-height: normal; }
/* D10: the tab bar, solid in its own colour; the labels 13 px (600 on the page you're on, in his tab blue), the
   TalkBlue button's and the Hub's 12 px; the logo with corners 18, a 5 px ring in the bar's colour and his glow;
   the red counts 16 px, without a ring. */
#ptabbar { background: var(--tabbar-bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
#ptabbar .tabbar-in { padding: 8px 4px; }
#ptabbar button { justify-content: center; gap: 3px; min-height: 50px; padding: 1px 2px; font-size: 13px; font-weight: 400; line-height: normal; }
/* A label longer than its tab (French "Compte rendu" at 375 px) goes on two short lines, never cut (step 8's checkpoint). */
#ptabbar button span { max-width: 100%; white-space: normal; text-align: center; line-height: 1.1; overflow-wrap: normal; }
#ptabbar button > span:not(.tab-count):not(.recall-logo) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
#ptabbar button[aria-current="page"] { color: var(--primary-line); font-weight: 600; }
#ptabbar button[data-pnav="hub"] { font-size: 12px; font-weight: 500; }
#ptabbar .recall-tab { padding: 0; gap: 3px; font-size: 12px; font-weight: 600; color: var(--primary-text); }
.recall-logo { margin-top: -30px; border-radius: 18px; box-shadow: 0 10px 24px var(--logo-glow), 0 0 0 5px var(--logo-ring); }
.recall-logo img { border-radius: 18px; }
#ptabbar .tab-count { top: 2px; min-width: 16px; height: 16px; padding: 0 3px; border: 0; border-radius: 8px; font-size: 13px; line-height: 16px; }
#ptabbar [data-pnav="hub"] .tab-count { min-width: 28px; height: 18px; padding: 0 5px; border-radius: 9px; font-size: 11px; line-height: 18px; }
body.sheet-open #ptabbar .recall-logo { box-shadow: 0 10px 24px var(--toast-shadow), 0 0 0 5px var(--logo-ring); }
/* D7: the TalkBlue sheet. White on his shade, corners 26, his shadow; the Talk bar 58 px on a 1 px line with
   the 42 px microphone and 15.5/600; the suggestion on his purple tint, corners 16, a 28 px circle for the
   spark, the title on its own line and a 12 px grey second, Call back a pill; the picked dot purple 14×5;
   the tiles 92 px, corners 18, a 1 px line, 40 px circles and 15 px words; Quick record's circle red. */
.rsheet { background: var(--shade-light); }
.rsheet-in { gap: 12px; padding: 10px 20px calc(108px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -12px 40px var(--rsheet-shadow); }
.rsheet-grip { width: 40px; height: 4px; }
.talk-btn { min-height: 58px; gap: 12px; padding: 0 14px 0 8px; background: var(--sheet-tile); border: 1px solid var(--line); border-radius: 29px; }
.talk-mic { width: 42px; height: 42px; background: var(--talk-mic); }
.talk-btn b { font-size: 15.5px; font-weight: 600; line-height: normal; }
.talk-btn .muted.small { font-size: 12.5px; line-height: 1.45; }
.talk-wave { color: var(--ai-border); }
.talk-wave i:nth-child(1) { height: 4px; } .talk-wave i:nth-child(2) { height: 8px; } .talk-wave i:nth-child(3) { height: 15px; }
.talk-wave i:nth-child(4) { height: 10px; } .talk-wave i:nth-child(5) { height: 6px; } .talk-wave i:nth-child(6) { height: 6px; }
.sugg { gap: 10px; padding: 9px 8px 9px 12px; background: var(--sugg-bg); border-radius: 16px; }
.sugg-ico { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sheet-tile); color: var(--sugg-ico); }
.sugg .sugg-ico .ico { color: var(--sugg-ico); }
.sugg-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sugg-tx b { font-size: 13.5px; font-weight: 600; line-height: normal; }
.sugg-tx small { font-size: 12px; line-height: 1.35; color: var(--text-muted); }
.sugg .btn-ai { min-height: 40px; padding: 0 14px; border: 0; border-radius: 20px; font-size: 13px; }
.sugg-dots { margin: -6px 0 0; }
.sugg-dots button { width: 24px; height: 16px; }
.sugg-dots button::before { width: 5px; height: 5px; background: var(--line); }
.sugg-dots button[aria-pressed="true"]::before { width: 14px; height: 5px; background: var(--ai-border); }
.rsheet-k { margin: 2px 0 -4px 2px; font-size: 11px; letter-spacing: 0.1em; }
.start-grid { gap: 12px; }
.start-tile { min-height: 92px; gap: 8px; padding: 8px; background: var(--sheet-tile); border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 18px; }
.start-tile b { font-size: 15px; line-height: normal; }
.tile-ico { width: 40px; height: 40px; }
.start-tile.primary { box-shadow: none; }
.start-tile.rec .tile-ico { background: var(--rec-soft); }
.start-tile .rec-solid { width: 12px; height: 12px; background: var(--danger); }
/* D3: the Quick hub. The sheet the same height on every tab, on the page's grey with his shadow; the head
   16 px Inter 700 with a ✕ on a 1 px line; the tabs in a white box, 12/600, the picked one on his soft blue
   with his brighter blue line; the note; "3 new" 19 px with "Mark all read" as a pill; each alert one card
   that is the button, 13/600, its tag in his colours, an unread one on his brighter blue line. */
.qhub { background: var(--shade-hub); }
.qhub-in { height: calc(100dvh - 118px); max-height: none; gap: 0; padding: 0 0 calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 30px var(--sheet-shadow); }
.qhub-in > .rsheet-grip { width: 42px; height: 5px; border-radius: 3px; margin: 8px auto 4px; }
.qhub-head { min-height: 44px; padding: 0 16px; gap: 10px; }
.qhub-head b { font: 700 16px var(--body); }
.qhub-x { border: 1px solid var(--line); background: transparent; color: var(--text-muted); }
.qhub .hub-tabs { margin: 8px 16px 10px; gap: 4px; padding: 4px; background: var(--card); border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 14px; }
.qhub .hub-tabs button { justify-content: center; min-height: 50px; gap: 2px; padding: 1px 6px; font-size: 12px; font-weight: 600; line-height: normal; border: 0; border-radius: 10px; color: var(--text-muted); }
.qhub .hub-tabs button[aria-selected="true"] { color: var(--primary-text); background: var(--soft-fill); box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.qhub .hub-tabs .tab-count { top: 4px; min-width: 26px; height: 18px; padding: 0 4px; border-radius: 9px; font-family: var(--body); font-size: 10.5px; font-weight: 700; line-height: 18px; color: var(--on-primary-deep); }
.qhub-body { flex: 1; min-height: 0; gap: 10px; padding: 0 16px 20px; }
.qhub .hub-note { gap: 10px; padding: 10px 10px 10px 12px; margin-bottom: -2px; border: 1px solid var(--primary); border-radius: 14px; background: var(--primary-soft); }
.qhub .hub-note .row-main { gap: 0; }
.qhub .hub-note strong { font-size: 14px; font-weight: 600; line-height: 1.4; }
.qhub .hub-note .row-main > span { font-size: 12.5px; line-height: 1.4; color: var(--text); opacity: 0.85; }
.qhub .hub-note .btn { min-height: 40px; padding: 0 12px; border: 0; border-radius: 12px; font-size: 13px; }
.hub-count { min-height: 44px; gap: 8px; }
.hub-count h2 { flex: 1; margin: 0; padding-top: 8px; font: 600 19px/1.25 var(--display); color: var(--text); }
.hub-pill { flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font: 600 12.5px var(--body); color: var(--text); cursor: pointer; }
.hub-new { flex: none; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--primary-deep); font: 700 12.5px var(--body); color: var(--on-primary-deep); cursor: pointer; }
.alert-card { width: 100%; gap: 10px; padding: 10px 11px; font: inherit; color: var(--text); text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
button.alert-card { cursor: pointer; }
.alert-card.fresh { border-color: var(--accent-line); }
.alert-card .row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.alert-text { font-size: 13px; font-weight: 600; line-height: 1.35; }
.alert-at { font-size: 13px; line-height: normal; color: var(--text-muted); }
.alert-ico { display: flex; margin-top: 0; }
.alert-card .tag { padding: 4px 8px; font-size: 11.5px; letter-spacing: 0.04em; line-height: normal; color: var(--neutral-tag); background: var(--neutral-tag-soft); }
.alert-card .tag.bad { color: var(--tag-bad); background: var(--tag-bad-bg); }
.alert-card .tag.good { color: var(--success); background: var(--tag-good-bg); }
.alert-card .tag.soon { color: var(--primary-text); background: var(--soft-fill); }
/* D4: the Hub's Messages: "Chats" 19 px with the filled "+ New chat" pill; each chat its own card 10 px apart. */
.qhub .chat-rows { display: flex; flex-direction: column; gap: 10px; }
.qhub .chat-rows .chat-row { min-height: 58px; gap: 10px; padding: 9px 11px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.qhub .chat-row .avatar.chat-av { font-size: 12px; font-weight: 700; }
.qhub .chat-row-top .row-name { font-size: 13.5px; font-weight: 600; line-height: normal; }
.qhub .chat-row-last { font-size: 13px; line-height: normal; }
.qhub .chat-row-at { font-size: 12px; }
.qhub .chat-row > .tab-count { min-width: 30px; height: 20px; padding: 0 5px; border-radius: 10px; font-family: var(--body); font-size: 11px; font-weight: 700; line-height: 20px; }
/* D5: a team member's Settings: Home's head, "← Back", "Settings", the open sections under 19 px headings, each
   in a card with a 1 px line, corners 14; Sign out in his darker red on its own line. D13: the owner's Sign out
   in his darker red on his soft red line. */
.seat-set { gap: 12px; }
.seat-set .set-h { padding-top: 8px; }
.seat-set > .card { padding: 12px; border-width: 1px; border-radius: 14px; }
.seat-set > .card h2 { font-size: 15px; }
.set-me { display: flex; align-items: center; gap: 10px; }
.set-me .row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.set-me b { font-size: 15px; }
.seat-plan b { font-size: 14px; font-weight: 700; }
.seat-set > .card .small { font-size: 13px; line-height: 1.4; }
.seat-set > .card { gap: 8px; }
.set-signout { color: var(--tag-bad); border: 1px solid var(--tag-bad-bg); }
.set-signout.seat { min-height: 42px; margin-top: 0; font-weight: 600; border-color: var(--signout-line); }
/* D11: the set-up questions' "STEP n OF 6 · SET UP …" in blue. */
.su-top .kicker { color: var(--primary-text); }
/* D12: the chat's bar: the box and its button 42 px (the box keeps 16 px words: smaller ones make an iPhone zoom
   in; his are 13 px); the Message / ✓ Task pills 44 px on his grey line, the picked one on his soft blue; the
   word on the right 13 px. */
.chat-send textarea { min-height: 42px; height: 42px; padding: 9px 12px; line-height: 22px; border-radius: 10px; }
.chat-send .btn { min-height: 42px; height: 42px; padding: 0 16px; border: 0; }
/* In Task mode his box is two lines high, so his example shows whole; the button keeps its height. */
.chat-send textarea.task { height: 60px; line-height: 20px; }
.chat-send textarea.task:placeholder-shown { white-space: normal; }
.chat-send:has(textarea.task) .btn { height: auto; }
body:has(.chat-send textarea.task) .chat-page { height: calc(100dvh - 228px - var(--chat-lift, 0px) - var(--chat-grow, 0px) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
/* Waiting on others' checkpoint, F2 (14 Nov 2026): nothing covers the box. Over the app's tab bar, whose TalkBlue
   button stands 30 px above it, the bar sits that much higher, as in his 09a (--chat-lift); the box grows with a
   note put in it (chat.js, --chat-grow), and the messages give it the room. */
body:has(#ptabbar:not([hidden])) { --chat-lift: 30px; }
.chat-send { padding-bottom: calc(8px + var(--chat-lift, 0px)); }
.chat-send textarea { max-height: 160px; }
.chat-mode { min-height: 44px; padding: 0 11px; border-color: var(--pill-border); }
.chat-mode[aria-pressed="true"] { background: var(--soft-fill); border-color: var(--accent-line); }
.chat-hint { font-size: 13px; }
/* RC876: "Hear your day when you open Talk", a switch row as his Settings draw theirs: in a card with 12 px sides,
   the label 13.5/600 over a 12 px grey line, a 40×22 track (his blue on, grey off) with an 18 px white knob. */
.set-switches { gap: 0; padding: 0 12px; }
.seat-set > .card.set-switches { padding: 0 12px; gap: 0; }
.set-switch { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 10px 0; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.set-switch + .set-switch { border-top: 1px solid var(--line); }
.set-switch .row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.set-switch-l { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.set-switch-s { font-size: 12px; line-height: 1.4; color: var(--text-muted); }
.set-knob { flex: none; width: 40px; height: 22px; padding: 2px; box-sizing: border-box; border-radius: 11px; background: var(--switch-off); transition: background 0.15s; }
.set-knob > span { display: block; width: 18px; height: 18px; border-radius: 9px; background: var(--switch-knob); transition: margin 0.15s; }
.set-knob.on { background: var(--primary); }
.set-knob.on > span { margin-left: 18px; }
@media (prefers-reduced-motion: reduce) { .set-knob, .set-knob > span { transition: none; } }

/* ---------- Step 3, Part A: meetings (docs/meetings-step3.md; Anthony's 04a to 04g, sizes from his demo's meeting module) ---------- */
/* The waiting room (meet-app.js): the page under its own foot, no tab bar. */
.mr-page { display: flex; flex-direction: column; gap: 10px; }
.mr-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mr-back { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px 0 0; border: 0; background: none; font: 600 14px var(--body); color: var(--primary-text); cursor: pointer; }
.mr-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; font: 600 11.5px var(--body); line-height: normal; background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.mr-h1 { margin: 2px 0 0; font: 600 24px/1.15 var(--display); letter-spacing: normal; color: var(--text); overflow-wrap: anywhere; }
.mr-hint { margin: -6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.mr-q { margin: 0; font: 600 15px var(--display); line-height: normal; color: var(--text); }
.mr-q b { font-weight: 700; color: var(--primary-text); }
.mr-req { margin-left: 8px; padding: 3px 8px; border-radius: 999px; font: 600 11px var(--body); letter-spacing: 0.04em; vertical-align: middle; background: var(--ai-soft); color: var(--ai); }
.mr-ok { margin-left: 6px; vertical-align: middle; color: var(--success); }
.mr-ok .ico { vertical-align: baseline; }
.mr-inp, .mj-inp { min-height: 46px; display: flex; align-items: center; padding: 0 14px; border-radius: 12px; border: 1px solid var(--input-border); background: var(--input-field); cursor: text; }
/* 16 px words, as every box in the app: an iPhone zooms into smaller ones (his are 15). */
.mr-inp input, .mj-inp input { flex: 1; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font: 16px var(--body); color: var(--text); outline: none; box-shadow: none; }
.mr-inp input::placeholder, .mj-inp input::placeholder { color: var(--text-muted); }
/* Not named yet: lit and gently pulsing; asked for and still empty: red, shaken. */
.mr-inp.req { border: 2px solid var(--ai-border); box-shadow: 0 0 0 4px var(--ai-soft); animation: mr-glow 1.8s ease-in-out infinite; }
.mr-inp.err { border: 2px solid var(--danger); animation: mr-shake 0.4s; }
@keyframes mr-glow { 50% { box-shadow: 0 0 0 7px var(--ai-soft); } }
@keyframes mr-shake { 25%, 75% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }
.mr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.mr-chip { position: relative; min-height: 36px; display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border: 0; border-radius: 999px; background: var(--card); font: 600 12px var(--body); line-height: normal; color: var(--text); cursor: pointer; }
.mr-chip::after { content: ""; position: absolute; inset: -6px -2px; }
.mr-link { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--input-border); background: var(--card); font: 12.5px/1.5 var(--mono); color: var(--text); }
.mr-link > .ico { flex: none; }
.mr-link b { flex: 1; min-width: 0; font-weight: 500; overflow-wrap: anywhere; word-break: break-all; }
.mr-cp { flex: none; min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0; border: 0; background: none; font: inherit; color: var(--primary-text); cursor: pointer; }
.mr-qrb { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.mr-qrc { flex: none; width: 92px; height: 92px; border-radius: 8px; border: 4px solid var(--qr-paper); background: var(--qr-paper); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.mr-qrc svg { display: block; width: 100%; height: 100%; }
.mr-qrtx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mr-qrtx b { font-size: 14px; font-weight: 700; line-height: 1.5; }
.mr-qrtx small { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.mr-wa { width: 100%; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--whatsapp); color: var(--on-primary); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.mr-wa > .ico { grid-row: span 2; }
.mr-wa b { font-size: 15.5px; font-weight: 700; line-height: normal; }
.mr-wa small { font-size: 12px; line-height: normal; opacity: 0.9; }
.mr-wa.big { padding: 14px 16px; }
.mr-others { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mr-others button { min-height: 44px; padding: 1px 6px; border: 0; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: 600 12px var(--body); line-height: normal; background: var(--primary-soft); color: var(--primary-text); cursor: pointer; }
.mr-ring { width: 100%; min-height: 50px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 0; border-radius: 12px; background: var(--card); font: 600 13.5px var(--body); line-height: normal; color: var(--primary-text); text-align: left; cursor: pointer; }
.mr-ring > span:first-of-type { flex: 1; }
.mr-avs { display: flex; }
.mr-av { width: 32px; height: 32px; margin-left: -6px; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--body); background: var(--primary-soft); color: var(--primary-text); box-shadow: 0 0 0 2px var(--card); }
.mr-chev { font-size: 18px; }
.mr-who { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.mr-whotx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mr-whotx b { font-size: 14px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.mr-whotx small { font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.mr-st { flex: none; padding: 4px 8px; border-radius: 7px; font: 600 11.5px var(--body); line-height: normal; background: var(--neutral-tag-soft); color: var(--text-muted-on-tag); }
.mr-st.ok { background: var(--success-soft); color: var(--success); }
/* The foot, fixed at the bottom (the room has no tab bar): Start, or the grey wait and Start now. */
.mr-space { flex: none; }
.mr-foot { position: fixed; left: 50%; transform: translateX(-50%); width: min(600px, 100%); bottom: 0; z-index: 8; display: flex; flex-direction: column; gap: 8px; padding: 10px 18px max(30px, calc(env(safe-area-inset-bottom, 0px) + 12px)); border-top: 1px solid var(--line); background: var(--screen); }
body:has(#v-psub:not([hidden]) .mr-foot) { padding-bottom: 0; }
.mr-go { width: 100%; min-height: 52px; padding: 1px 6px; border: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px var(--body); line-height: normal; background: var(--primary); color: var(--on-primary); cursor: pointer; }
.mr-go.off, .mr-go:disabled { background: var(--neutral-tag-soft); color: var(--text-muted-on-tag); cursor: default; }
.mr-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--recording-red-light); box-shadow: 0 0 0 3px color-mix(in srgb, var(--on-primary) 35%, transparent); }
.mr-alt { width: 100%; min-height: 46px; padding: 1px 6px; border: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 14px var(--body); line-height: normal; background: var(--primary-soft); color: var(--primary-text); cursor: pointer; }
.mr-fine { margin: 0; text-align: center; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.mr-fine.left { text-align: left; }
.mr-end { width: 100%; min-height: 52px; padding: 1px 6px; border: 0; border-radius: 14px; font: 600 16px var(--body); line-height: normal; background: var(--danger-fill); color: var(--on-primary); cursor: pointer; }
.mr-end:disabled { opacity: 0.6; cursor: default; }
/* The toast as his meeting module draws it: the call screens' shape, 10 px above the foot. */
body:has(#v-psub:not([hidden]) .mr-foot) .toast, body:has(#v-record:not([hidden]) .mr-live) .toast { left: 14px; right: 14px; transform: none; max-width: 572px; margin: 0 auto; bottom: calc(var(--mr-foot, 147px) + 10px); border-radius: 14px; padding: 11px 14px; font-size: 13.5px; font-weight: 600; line-height: normal; text-align: left; color: var(--toast-text); box-shadow: 0 12px 30px var(--toast-shadow); z-index: 40; }
/* The sheets over the room and the recording: the invite (04b), the people picker, People, Cancel. */
.mr-shade { position: fixed; inset: 0; z-index: 20; background: var(--shade); }
.mr-sheet { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: min(600px, 100%); max-height: 88%; overflow-y: auto; z-index: 21; display: flex; flex-direction: column; gap: 12px; padding: 8px 18px max(30px, calc(env(safe-area-inset-bottom, 0px) + 12px)); border-radius: var(--radius-sheet); background: var(--card); color: var(--text); }
.mr-sheet.mr-pks { gap: 8px; overflow: hidden; }
.mr-pks .mr-plist { flex: 1; min-height: 0; overflow-y: auto; }
.mr-grab { flex: none; align-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--line); }
.mr-sht { font: 600 18px var(--display); line-height: normal; }
.mr-shh { display: flex; align-items: center; gap: 8px; }
.mr-shh .mr-sht { flex: 1; min-width: 0; }
.mr-x { flex: none; width: 44px; height: 44px; margin: 0; display: inline-grid; place-items: center; padding: 0; border: 0; background: none; color: var(--primary-text); cursor: pointer; }
.mr-msg { padding: 12px; border-radius: 14px; background: var(--whatsapp-soft); font-size: 13.5px; line-height: 1.5; color: var(--text); overflow-wrap: anywhere; }
.mr-from { display: block; margin-bottom: 4px; font: 600 11px var(--body); line-height: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--whatsapp-text); }
.mr-msg u { color: var(--primary-text); }
.mr-rn { font-size: 12.5px; font-weight: 600; color: var(--danger); }
.mr-rn i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.mr-lbl { margin: 0; font: 600 11.5px var(--body); line-height: normal; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
.mr-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mr-grid4 > a, .mr-grid4 > button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: 600 12px var(--body); line-height: normal; color: var(--text); text-decoration: none; text-align: center; cursor: pointer; }
.mr-grid4 .ico { width: 52px; height: 52px; padding: 14px; border-radius: 16px; background: var(--primary-soft); color: var(--primary-text); }
.mr-plist { display: flex; flex-direction: column; gap: 8px; }
.mr-pk { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.mr-pk.on { border-color: var(--primary); background: var(--primary-soft); }
.mr-pktx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mr-pktx b { font-size: 14px; font-weight: 700; line-height: normal; }
.mr-pktx small { font-size: 12px; line-height: normal; color: var(--text-muted); }
.mr-cb { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--input-border); display: grid; place-items: center; color: var(--on-primary); }
.mr-cb .ico { opacity: 0; }
.mr-pk.on .mr-cb { background: var(--primary); border-color: var(--primary); }
.mr-pk.on .mr-cb .ico { opacity: 1; }
.mr-pks > .mr-go { flex: none; }
/* The recording (record.js; 04f, 04g): the phone's whole screen, as a call's, the foot at the bottom. */
.mr-live { position: fixed; inset: 0; z-index: 15; display: flex; flex-direction: column; }
.mr-live .cl-pad > * { flex: none; } /* the page scrolls; nothing in it is squeezed to fit */
.mr-recbar > b:first-of-type { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-notice { align-items: flex-start; }
.mr-notice > span { flex: 1; }
.mr-x.sm { width: 36px; height: 36px; margin: -8px -8px -8px 0; color: inherit; }
.mr-room { width: 100%; min-height: 60px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.mr-room.on { border-color: var(--primary); background: var(--primary-soft); }
.mr-ri { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.mr-room.on .mr-ri { background: var(--primary); color: var(--on-primary); }
.mr-roomtx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mr-roomtx b { font: 600 14.5px var(--body); line-height: normal; }
.mr-roomtx small { font-size: 12.5px; line-height: 1.35; color: var(--text-muted); }
.mr-tg { flex: none; position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--input-border); }
.mr-tg i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--switch-knob); transition: left 0.15s; }
.mr-room.on .mr-tg { background: var(--primary); }
.mr-room.on .mr-tg i { left: 21px; }
.mr-held { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mr-held span { min-height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 10px; font: 600 12.5px var(--body); line-height: normal; background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.mr-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.mr-tabs button { min-height: 38px; padding: 0; border: 0; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 4px; background: none; font: 600 13px var(--body); line-height: normal; color: var(--text-muted); cursor: pointer; }
.mr-tabs button[aria-selected="true"] { background: var(--primary-soft); color: var(--primary-text); }
.mr-lines { display: flex; flex-direction: column; gap: 10px; }
.mr-tr { width: 100%; display: block; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font: 13.5px/1.5 var(--body); color: var(--text); text-align: left; cursor: pointer; }
.mr-tr small { display: block; font: 600 10.5px var(--mono); line-height: normal; text-transform: uppercase; color: var(--text-muted); }
.mr-tr.marked { border-color: var(--ai-border); }
.mr-tr.marked small { color: var(--ai); }
.mr-hintg { margin: 0; padding: 0 20px; text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.mr-draft { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-size: 13.5px; line-height: 1.5; }
.mr-draft p, .mr-draft ul { margin: 0; }
.mr-draft ul { padding-left: 1.2em; }
.mr-dh { font: 600 11px var(--body); line-height: normal; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
.mr-minis { display: flex; gap: 8px; }
.mr-mini { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; border: 0; border-radius: 10px; font: 600 12.5px var(--body); line-height: normal; background: var(--primary-soft); color: var(--primary-text); cursor: pointer; }
.mr-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mr-three button { min-height: 52px; padding: 1px 6px; border: 0; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: 600 12.5px var(--body); line-height: normal; background: var(--card); color: var(--text); cursor: pointer; }
.mr-three button.off, .mr-three button[data-rec-mute][aria-pressed="true"] { background: var(--danger-soft); color: var(--danger); }
.mr-three button:disabled { opacity: 0.5; cursor: default; }
/* Home's Coming up: someone else's plan one is invited to (rule 9), with Join, nothing to open. */
div.coming-open { cursor: default; }
a.coming-go { display: inline-flex; align-items: center; text-decoration: none; }
/* The guest's page (js/join.js; 04d to 04f, right): his tick card and blue Join, then the waiting room and REC. */
.mj-hint { margin: -6px 0 0; text-align: center; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.mj-q { margin: 0; font: 600 15px var(--display); line-height: normal; color: var(--text); }
.mj-q b { font-weight: 700; color: var(--primary-text); }
.gl-ck.mj-ck { padding: 10px 12px; border-radius: 12px; background: var(--primary-soft); }
.gl-answer.mj-go { box-shadow: none; }
/* His empty state sits 30 px from the phone's sides: the page's own 18 px, and 12 more. */
.mj-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px 12px; text-align: center; font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.mj-empty b { font-weight: 700; color: var(--text); }
.mj-full { min-height: calc(100dvh - 34px); }
.mj-ic0 { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card); color: var(--text-muted); }
.mj-ic0.ok { color: var(--success); }
.mj-live { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.mj-rec { min-height: 0; }
.mj-sub { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.mj-people { display: flex; justify-content: center; gap: 6px; }
.mj-gone { text-align: center; }
.gl-fine.mj-first { margin-top: -4px; text-align: left; line-height: 1.5; }

/* ---------- Step 3, Part B: Quick record and Schedule (docs/meetings-step3.md, rules 10 and 11; his 05a, 05b, 06a,
   sizes from his demo's Quick record (r106) and Schedule (v122) modules) ---------- */
/* Quick record's sheet (record.js): over everything, the tab bar too. */
.qr-ov { position: fixed; inset: 0; z-index: 30; color: var(--text); font: 16px var(--body); }
.qr-dim { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: var(--shade-hub); cursor: pointer; }
.qr-sh { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: min(600px, 100%); max-height: 88%; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 8px 16px max(20px, calc(env(safe-area-inset-bottom, 0px) + 12px)); border-radius: 24px 24px 0 0; background: var(--screen); box-shadow: 0 -10px 30px var(--sheet-shadow); animation: qr-up 0.26s ease-out; }
.qr-sh > * { flex: none; }
/* Record now: his card in the middle of the screen. */
.qr-sh.pop { top: 16%; bottom: auto; left: 14px; right: 14px; width: auto; max-width: 572px; margin: 0 auto; transform: none; gap: 10px; padding: 16px; border-radius: 22px; box-shadow: 0 20px 50px var(--qr-sheet-shadow); animation: qr-pop 0.2s ease-out; }
@keyframes qr-up { from { transform: translate(-50%, 24px); opacity: 0.6; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes qr-pop { from { transform: scale(0.94); opacity: 0; } to { transform: none; opacity: 1; } }
.qr-grab { width: 42px; height: 5px; margin: 0 auto 2px; border-radius: 3px; background: var(--line); }
.qr-hd { display: flex; align-items: center; gap: 10px; font: 700 17px var(--body); line-height: normal; }
.qr-ht { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.qr-dot { flex: none; width: 30px; height: 30px; border-radius: 15px; border: 1px solid var(--field-line); display: grid; place-items: center; }
.qr-dot i { width: 10px; height: 10px; border-radius: 5px; background: var(--danger-fill); }
.qr-dot.done { border-color: var(--done-dot); }
.qr-dot.done i { background: var(--done-dot); }
.qr-dot.grey i { background: var(--neutral-tag); }
.qr-x { flex: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border-radius: 22px; border: 1px solid var(--line); background: transparent; color: var(--text-muted); display: grid; place-items: center; cursor: pointer; }
.qr-ps { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.qr-ps.qr-c { text-align: center; }
.qr-sh .call-signal { margin: 0; font-size: 13px; }
.qr-lbl { margin: 0; font: 700 11.5px var(--body); line-height: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
/* 16 px words in the boxes, as every box in the app (his 14): an iPhone zooms into smaller ones. */
input.qr-in { width: 100%; min-height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--field-line); background: var(--card); font: 16px var(--body); color: var(--text); outline: none; box-shadow: none; }
/* Focused, as his Record now and Minutes ready boxes: the blue line and an outline 2 px out (the 13 Nov checkpoint, D3). */
input.qr-in:focus { border-color: var(--primary-line); outline: 2px solid var(--primary-text); outline-offset: 2px; }
input.qr-in::placeholder { color: var(--text-muted); opacity: 1; }
input.qr-in.err { border-color: var(--danger-fill); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 25%, transparent); animation: mr-shake 0.4s; }
.qr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.qr-chip { min-height: 40px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font: 500 13px var(--body); line-height: normal; color: var(--text-muted); cursor: pointer; text-align: left; }
.qr-chip.on { border-color: transparent; background: var(--soft-fill); color: var(--primary-text); font-weight: 600; }
.qr-bd, .qr-bs { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: currentColor; vertical-align: 2px; }
.qr-bs { width: 5px; height: 5px; border-radius: 1px; }
.qr-big { width: 100%; min-height: 52px; padding: 1px 6px; border: 0; border-radius: 14px; background: var(--danger-fill); color: var(--on-primary-deep); font: 700 15px var(--body); line-height: normal; cursor: pointer; }
.qr-big:disabled { opacity: 0.6; cursor: default; }
.qr-sec, .qr-pri { flex: 1; width: 100%; min-height: 48px; padding: 1px 6px; border-radius: 12px; font: 600 14px var(--body); line-height: normal; cursor: pointer; }
.qr-sec { border: 1px solid var(--field-line); background: transparent; color: var(--text); }
.qr-pri { border: 0; background: var(--primary-deep); color: var(--on-primary-deep); font-weight: 700; }
.qr-sec:disabled, .qr-pri:disabled { opacity: 0.6; cursor: default; }
.qr-row { display: flex; gap: 8px; }
.qr-row > * { min-width: 0; }
/* The recording: the red "Recording · notice played", the big timer, the live transcript. */
.qr-st { align-self: center; display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--tag-bad-bg); color: var(--tag-bad); font: 700 12px var(--body); line-height: normal; letter-spacing: 0.06em; text-transform: uppercase; }
.qr-st i { width: 8px; height: 8px; border-radius: 4px; background: var(--danger); animation: qr-blink 1.4s ease-in-out infinite; }
.qr-st.pa { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.qr-st.pa i { background: var(--neutral-tag); animation: none; }
@keyframes qr-blink { 50% { opacity: 0.35; } }
.qr-tm { text-align: center; font: 600 40px var(--mono); line-height: normal; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.qr-tr { max-height: 180px; overflow: auto; display: flex; flex-direction: column; gap: 7px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-size: 13.5px; line-height: 1.4; }
.qr-line { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; line-height: 1.4; color: var(--text); text-align: left; cursor: pointer; }
.qr-line b { font-weight: 600; color: var(--primary-text); }
.qr-line.marked { color: var(--ai); }
.qr-quiet { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.qr-quiet button { min-height: 40px; padding: 0 10px; border: 0; background: none; font: 600 13px var(--body); color: var(--primary-text); cursor: pointer; }
.qr-quiet .qr-del { color: var(--danger-text); }
.qr-sh .mr-notice { margin: 0; }
.qr-sh .talk-bar { margin: 6px 0; }
.qr-sh .cl-wrt { margin: 0; }
/* Minutes ready. */
.qr-ok { margin: 0; font: 700 12px var(--body); line-height: normal; letter-spacing: 0.06em; color: var(--success); }
.qr-up { text-transform: uppercase; }
.qr-ai { margin: -2px 0 0; font: 600 12px var(--body); line-height: normal; color: var(--ai); }
.qr-hint { margin: -4px 0 0; font-size: 12.5px; line-height: normal; color: var(--text-muted); }
.qr-pp { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 6px 0 13px; border-radius: 999px; background: var(--soft-fill); color: var(--primary-text); font: 600 13px var(--body); line-height: normal; }
.qr-pp button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 16px; background: transparent; color: var(--text-muted); display: grid; place-items: center; cursor: pointer; }
.qr-add { display: flex; gap: 6px; align-items: center; }
.qr-add .qr-in { flex: 1; min-width: 0; }
.qr-add .qr-sec { flex: none; width: auto; padding: 1px 6px; }
.qr-card { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-size: 13.5px; line-height: 1.45; }
.qr-card p { margin: 0; }
.qr-card .qr-lbl { line-height: inherit; }
.qr-card b { font-weight: 700; }
body.qr-open { overflow: hidden; }
/* The TalkBlue button while Quick record runs (05b): the red ring that pulses, "REC 00:03" in red. */
#ptabbar .recall-tab.rec .recall-logo { box-shadow: 0 0 0 3px var(--danger-fill), 0 0 0 7px var(--logo-ring), 0 10px 24px var(--rec-glow); animation: qr-ring 1.4s infinite; }
@keyframes qr-ring { 50% { box-shadow: 0 0 0 3px var(--danger-fill), 0 0 0 10px var(--rec-halo), 0 10px 24px var(--rec-glow); } }
#ptabbar .recall-tab.rec .recall-name { display: none; }
#ptabbar .recall-rec { font: 600 11.5px var(--mono); line-height: normal; color: var(--danger-fill); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .qr-sh, .qr-st i, #ptabbar .recall-tab.rec .recall-logo { animation: none; } }

/* Schedule (meet-app.js): his step page, the foot fixed at the bottom with no tab bar. */
.sc-page { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.sc-page > * { flex: none; }
.sc-back { align-self: flex-start; min-height: 40px; padding: 0; font-weight: 400; }
/* His Schedule draws its step line a little larger than the call's: 5 px bars, 12 px words, 2 px above. */
.sc-steps { margin-top: 0; padding-top: 2px; }
.sc-steps .cl-ln i { height: 5px; border-radius: 3px; }
.sc-steps span { font-size: 12px; line-height: normal; }
.sc-h1 { margin: 0; font: 600 22px var(--display); line-height: normal; color: var(--text); overflow-wrap: anywhere; }
.sc-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.sc-seg button { min-height: 42px; padding: 1px 6px; border: 0; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 6px; background: none; font: 600 14px var(--body); line-height: normal; color: var(--text-muted); cursor: pointer; }
.sc-seg button[aria-checked="true"] { background: var(--soft-fill); color: var(--primary-text); box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.sc-h { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
.sc-h b { font: 600 19px/1.25 var(--display); color: var(--text); }
.sc-h b i { margin-left: 6px; padding: 2px 8px; border-radius: 999px; vertical-align: 3px; font: 600 12px var(--body); line-height: normal; font-style: normal; background: var(--soft-fill); color: var(--primary-text); white-space: nowrap; }
.sc-h small, .sc-small { margin: 0; font-size: 13px; line-height: 1.4; color: var(--text-muted); }
/* His boxes on Schedule: the grey sunk field. 16 px words (his 14), as every box in the app. */
input.sc-fi { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--input-border); background: var(--input-bg); box-shadow: inset 0 2px 4px var(--input-inset); font: 16px var(--body); line-height: normal; color: var(--text); outline: none; }
input.sc-fi::placeholder { color: var(--text-muted); opacity: 1; }
/* Focused, as his Schedule boxes: the brighter blue line, a 2 px ring in it and an outline 2 px out (D3). */
input.sc-fi:focus { border-color: var(--accent-line); box-shadow: inset 0 2px 4px var(--input-inset), 0 0 0 2px var(--accent-line); outline: 2px solid var(--primary-text); outline-offset: 2px; }
input.sc-fi.err { border: 2px solid var(--danger); animation: mr-shake 0.4s; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-pk { min-height: 34px; padding: 0 10px 0 12px; border: 0; border-radius: 999px; background: var(--soft-fill); color: var(--primary-text); font: 600 13px var(--body); line-height: normal; cursor: pointer; }
.sc-pk.g { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.sc-list { border-radius: 14px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.sc-row { width: 100%; min-height: 71px; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 12px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.sc-row:last-child { border-bottom: 0; }
.sc-av { flex: none; width: 34px; height: 34px; border-radius: 17px; display: grid; place-items: center; background: var(--tag-good-bg); color: var(--success); font: 600 12px var(--body); line-height: normal; }
.sc-av.g { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.sc-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sc-mid b { font: 600 14px var(--body); line-height: normal; overflow-wrap: anywhere; }
.sc-mid small { font-size: 12.5px; line-height: normal; color: var(--success); }
.sc-mid small.g { color: var(--neutral-tag); }
/* His filled dot (D7): green for someone on TalkBlue, grey for a guest, the same in both themes. */
.sc-o { display: inline-block; width: 0.62em; height: 0.62em; margin-right: 0.35em; border-radius: 50%; background: var(--live-green); vertical-align: 0.02em; }
.sc-mid small.g .sc-o { background: var(--guest-dot); }
.sc-add { flex: none; width: 36px; height: 36px; border-radius: 17px; border: 1px solid var(--accent-line); display: grid; place-items: center; color: var(--primary-text); }
.sc-add.on { background: var(--primary); color: var(--on-primary); }
.sc-none { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.sc-chip { min-height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: 600 13px var(--body); line-height: normal; color: var(--text); cursor: pointer; }
.sc-calh { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.sc-calh b { font: 600 16px var(--display); line-height: normal; }
.sc-calh button { width: 44px; height: 40px; padding: 0; border: 0; background: none; color: var(--primary-text); display: grid; place-items: center; cursor: pointer; }
.sc-calh button:disabled { opacity: 0.3; cursor: default; }
.sc-calg { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.sc-cw { padding: 4px 0; text-align: center; font: 600 11px var(--body); line-height: normal; text-transform: uppercase; color: var(--text-muted); }
.sc-cd { position: relative; height: 42px; padding: 0; border: 0; border-radius: 12px; background: none; font: 600 14px var(--body); color: var(--text); cursor: pointer; }
.sc-cd.td { box-shadow: inset 0 0 0 1.5px var(--field-line); }
.sc-cd.on { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.sc-cd:disabled { opacity: 0.3; cursor: default; }
.sc-cd i { position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 3px; background: var(--ai-line); }
.sc-tm { min-height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font: 600 13px var(--mono); line-height: normal; color: var(--text); cursor: pointer; }
.sc-tm.sc-len { font-family: var(--body); }
.sc-tm.on { border-color: var(--primary-line); background: var(--primary); color: var(--on-primary); }
.sc-tm:disabled { opacity: 0.35; cursor: default; }
.sc-other { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.sc-other input.sc-fi { width: auto; max-width: 150px; min-height: 42px; }
.sc-free { display: flex; flex-direction: column; gap: 4px; }
.sc-free:empty { display: none; }
.sc-ok { margin: 0; display: flex; align-items: center; gap: 4px; font: 600 13px var(--body); line-height: normal; color: var(--success); }
.sc-ok.bad { color: var(--danger-text); }
.sc-drop { align-self: center; min-height: 44px; padding: 0 12px; border: 0; background: none; font: 600 14px var(--body); color: var(--danger-text); cursor: pointer; }
.mr-foot.sc-foot { padding: 10px 18px max(16px, calc(env(safe-area-inset-bottom, 0px) + 8px)); border-top-color: var(--sc-foot-line); }
.sc-go { width: 100%; min-height: 50px; padding: 1px 6px; border: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: var(--on-primary); font: 600 15px var(--body); line-height: normal; cursor: pointer; }
.sc-go.off { opacity: 0.45; }
.sc-go.sc-done { background: var(--primary-text); }
.sc-note { margin: 0; text-align: center; font-size: 12.5px; line-height: normal; color: var(--text-muted); }
/* Step 2 of 2: what went. */
.sc-card { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.sc-when { flex-direction: row; align-items: center; gap: 10px; }
.sc-when > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sc-when b { font: 700 14.5px var(--body); line-height: normal; }
.sc-when small { font-size: 13px; line-height: normal; color: var(--text-muted); }
.sc-change { flex: none; min-height: 40px; padding: 0; border: 0; background: none; font: 14px var(--body); color: var(--primary-text); cursor: pointer; }
.sc-got { border-color: var(--got-line); background: var(--tag-good-bg); color: var(--success); font: 600 13.5px var(--body); line-height: normal; }
.sc-people { gap: 8px; padding: 4px 14px; }
.sc-prow { display: flex; align-items: center; gap: 10px; min-height: 47px; padding: 0; border-bottom: 1px solid var(--line); font: 600 14px var(--body); line-height: normal; }
.sc-prow:last-child { border-bottom: 0; }
.sc-pn { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.sc-st { flex: none; padding: 4px 7px; border-radius: 6px; font: 600 11px var(--body); line-height: normal; letter-spacing: 0.04em; text-transform: uppercase; }
.sc-st.a { background: var(--tag-good-bg); color: var(--success); }
.sc-st.w { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.sc-share { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--accent-line); background: var(--share-card); }
.sc-ey { font: 600 12px var(--body); line-height: normal; letter-spacing: 0.07em; text-transform: uppercase; color: var(--primary-text); }
.sc-share .sc-small { font-size: 12.5px; line-height: normal; }
.sc-lnk { padding: 9px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--screen); font: 600 13px var(--mono); line-height: normal; color: var(--primary-text); overflow-wrap: anywhere; }
.sc-sh5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.sc-sh5 button { min-height: 58px; padding: 1px 2px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: 600 11.5px var(--body); line-height: normal; color: var(--text); cursor: pointer; }

/* ---------- Handshake (docs/four-ideas.md, 1): the minutes' "What you agreed · N" card (js/agreed.js), its sheet,
   and the other side's page (js/handshake.js). Anthony's card, button and pill shapes; the purple spark only on the
   heading, since the lines come from the AI; the answers in the green of done; the actions blue. ---------- */
.hs-card { gap: 12px; }
.hs-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
/* His AI heading, the same on every page (11 px, 0.07em), not the item pages' smaller kicker (checkpoint). */
.hs-head .kicker.ai-k { font-size: 11px; letter-spacing: 0.07em; line-height: normal; }
.hs-change { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; font: 600 13.5px var(--body); color: var(--primary-text); align-self: center; }
.hs-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hs-line { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; }
.hs-n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--mono); line-height: normal; background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.hs-lmain { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hs-text { display: flex; align-items: baseline; gap: 10px; font-size: 15px; line-height: 1.4; font-weight: 500; }
.hs-text > span:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.hs-at { flex: none; font: 500 11.5px var(--mono); color: var(--text-muted); white-space: nowrap; }
.hs-st { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.35; color: var(--text-muted); }
.hs-st .ico { margin-top: 1px; }
.hs-st.ok { color: var(--success); font-weight: 600; }
.hs-st.muted { color: var(--text-muted); }
.hs-sugg { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--primary-soft); }
.hs-sugg .hs-st { color: var(--text); font-weight: 600; }
.hs-sugg .row-btns { gap: 8px; }
.hs-orig { font-size: 12.5px; line-height: 1.35; color: var(--text-muted); }
.hs-erow { display: grid; grid-template-columns: 24px minmax(0, 1fr) 40px; gap: 8px; align-items: center; }
.hs-erow textarea { min-height: 0; padding: 9px 12px; font-size: 15px; line-height: 1.4; resize: none; overflow: hidden; }
.hs-drop { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--text-muted); cursor: pointer; }
/* His main button: 52 px, radius 14, 16 px, with his blue glow. */
.hs-ask { width: 100%; min-height: 52px; padding: 1px 12px; border: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px var(--body); line-height: normal; background: var(--primary); color: var(--on-primary); box-shadow: 0 6px 18px var(--primary-glow); cursor: pointer; }
.hs-fine { margin: -4px 0 0; text-align: center; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.hs-more { align-self: center; min-height: 40px; font: 600 14px var(--body); color: var(--primary-text); }
.hs-people { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.hs-person { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hs-people .hs-person:last-child { border-bottom: 0; }
.hs-person .row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.hs-person b { font: 600 14.5px var(--body); line-height: normal; overflow-wrap: anywhere; }
.hs-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--body); line-height: normal; background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.hs-pst { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; line-height: 1.35; color: var(--text-muted); }
.hs-pst.ok { color: var(--success); font-weight: 600; }
.hs-person .btn { flex: none; min-height: 38px; }
/* The sheet: who confirms, then sending (the waiting room's invite sheet, his 04b, for the shapes). */
.hs-pick { display: flex; flex-direction: column; gap: 8px; }
.hs-prow { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.gl-ck.hs-ck { align-items: center; width: 100%; min-height: 40px; }
.hs-ck .row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.hs-ck b { font: 600 14.5px var(--body); line-height: normal; }
.hs-langs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-left: 32px; }
.hs-lang { min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--pill-border); background: var(--card); font: 600 12.5px var(--body); line-height: normal; color: var(--text); cursor: pointer; }
.hs-lang[aria-pressed="true"] { border-color: var(--primary-line); background: var(--soft-fill); color: var(--primary-text); }
.hs-prev { padding: 12px; border-radius: 14px; background: var(--screen); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; }
.hs-prev .mr-from { color: var(--text-muted); }
.hs-prev ol { margin: 4px 0 6px; padding-left: 20px; }
.hs-sent { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--tag-good-bg); color: var(--success); font: 600 13.5px var(--body); line-height: normal; }
.hs-srow { display: flex; flex-direction: column; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.hs-srow .hs-person { border-bottom: 0; min-height: 0; }
/* One person's two tiles spread over the width, as his invite sheet's four are. */
.mr-grid4.hs-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hs-sbtns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hs-sbtn { min-height: 44px; padding: 4px; border-radius: 12px; border: 0; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--primary-soft); color: var(--primary-text); font: 600 12.5px var(--body); line-height: normal; text-decoration: none; cursor: pointer; }
.hs-sbtn.wa { background: var(--whatsapp); color: var(--on-primary); }
/* The other side's page: the call link guest page's look (03d). */
.gl-from.hs-pill { background: var(--soft-fill); color: var(--primary-text); }
.gl-from.hs-pill.ok { background: var(--tag-good-bg); color: var(--success); }
.hs-gcard { gap: 10px; padding: 14px; }
.hs-glines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hs-glines li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; }
.hs-glines .hs-n { background: var(--primary-soft); color: var(--primary-text); }
.hs-gtext { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 15px; line-height: 1.4; font-weight: 500; overflow-wrap: anywhere; }
.hs-gorig { font-size: 12.5px; line-height: 1.35; font-weight: 400; color: var(--text-muted); }
.hs-gok { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--success); color: var(--on-success); }
.hs-gsugg { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.35; font-weight: 600; color: var(--text); }
.hs-gsugg .ico { margin-top: 1px; }
.hs-gwhat { font-size: 12.5px; line-height: 1.35; font-weight: 400; color: var(--text-muted); }
.hs-gwhat.ok { color: var(--success); font-weight: 600; }
textarea.hs-gbox { min-height: 0; padding: 10px 12px; font-size: 15px; font-weight: 400; line-height: 1.4; resize: none; overflow: hidden; }
.hs-gtr { padding-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.4; color: var(--text-muted); }
.hs-glink { min-height: 32px; padding: 0 2px; border: 0; background: none; font: 600 12.5px var(--body); color: var(--primary-text); cursor: pointer; }
.hs-gdone { margin-top: -4px; text-align: center; font-size: 13.5px; line-height: 1.45; color: var(--text-muted); }
.gl-decline.hs-gsecond { margin-top: -4px; display: inline-flex; align-items: center; gap: 6px; }
.gl-fine.hs-gfine { margin-top: 4px; }

/* ---------- Waiting on others (docs/four-ideas.md, 2; js/waiting.js): in Tasks, under the person's own tasks, what
   other people said they'd do. Anthony's card, tag, chip and button shapes and his tokens; the purple spark only
   on the heading, since the list comes from the minutes' AI; the buttons blue; red only for a date that passed;
   green for a promise a handshake confirmed. ---------- */
.wo { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; scroll-margin-top: 12px; }
.wo-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wo-top .kicker.ai-k { font-size: 11px; letter-spacing: 0.07em; line-height: normal; }
.wo-sub { margin: -4px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }
.wo-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-card); }
.wo-card.late { border-color: var(--danger); box-shadow: inset 4px 0 0 var(--danger); }
.wo-who { display: flex; align-items: center; gap: 10px; }
.wo-who .row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.wo-who b { font: 600 14.5px var(--body); line-height: normal; overflow-wrap: anywhere; }
.wo-src { min-height: 24px; font-size: 12.5px; line-height: normal; color: var(--primary-text); }
.wo-ok { display: inline-flex; align-items: center; gap: 4px; text-transform: uppercase; }
.wo-said { font-size: 15px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.wo-what { margin-top: -4px; font-size: 12.5px; line-height: 1.4; color: var(--text-muted); overflow-wrap: anywhere; }
.wo-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.wo-meta .due-chip { display: inline-flex; align-items: center; gap: 4px; }
.wo-nodate, .wo-asked { font-size: 12.5px; line-height: normal; color: var(--text-muted); }
/* Waiting on others' checkpoint (14 Nov 2026), F5: his avatar, light blue with the initials in blue, as his 12g rows
   and our Call page have it. F6: his row pills, not full-width buttons (his Tasks has one primary button, and it
   isn't on a card): at the card's foot on the right, "Got it" on his grey line, "Ask {name}" on his blue line, as
   the chat's "+ Add people"; a long name is cut with "…". */
.wo-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--body); line-height: normal; background: var(--primary-soft); color: var(--primary-text); }
.wo-btns { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; min-width: 0; }
.wo-pill { min-height: 40px; max-width: 100%; min-width: 0; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border: 1px solid var(--pill-border); border-radius: 999px; background: transparent; font: 600 13px var(--body); line-height: normal; color: var(--text); cursor: pointer; }
.wo-pill.ask { border: 1.5px solid var(--logo-blue); color: var(--primary-text); }
.wo-pill:hover, .wo-pill.ask:hover { background: var(--primary-soft); }
.wo-pill .ico { flex: none; }
.wo-pill span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The Ask sheet: the note in a box the person can change, then his invite sheet's ways of sending. */
textarea.wo-note { min-height: 0; padding: 12px; font-size: 15px; line-height: 1.45; resize: none; background: var(--input-field); border: 1px solid var(--field-line); border-radius: 14px; }
.wo-sheet .mr-fine { margin-top: -4px; }
.wo-sheet .hs-ask { flex: none; }
/* A reminder while it rings (docs/four-ideas.md, 3): the "Remember" card on the calling screen, his status card's
   glass (white at 12% on the gradient), under it. Shown, never said. */
.cl-rem { align-self: stretch; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 14px; padding: 10px 12px; }
.cl-rem-k { display: inline-flex; align-items: center; gap: 5px; font: 600 11px var(--body); line-height: normal; letter-spacing: 0.07em; text-transform: uppercase; color: var(--on-call-muted); }
.cl-rem p { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }

/* ---------- The minutes: one page for every conversation (docs/minutes-step4.md, Part A; js/minutes.js) ----------
   As his prototype's minutes module draws them (10a, 10b, 03f, 04h), value for value through the tokens: the top
   row, the four tabs, the numbered cards, the foot, the share sheet, comments, Ask Blue to add, Listen and Ask. */
#v-meeting.mn-on > .bar, #v-meeting.mn-on #meeting-email-form { display: none !important; }
/* Only while a minutes page is the one showing: a hidden view that still holds one keeps nothing (checkpoint A1). */
body:has(section:not([hidden]) .mn-foot) #ptabbar, body:has(section:not([hidden]) .mn-ask) #ptabbar { display: none !important; }
body:has(section:not([hidden]) .mn-foot), body:has(section:not([hidden]) .mn-ask) { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
body:has(section:not([hidden]) .mn-foot) .toast, body:has(section:not([hidden]) .mn-ask) .toast { left: 14px; right: 14px; transform: none; max-width: 572px; margin: 0 auto; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); border-radius: 14px; padding: 11px 14px; font-size: 13.5px; font-weight: 600; line-height: normal; text-align: left; color: var(--toast-text); box-shadow: 0 12px 30px var(--toast-shadow); }
.mn { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; color: var(--text); }
:where(.mn, .mn-sheet) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.mn-top { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.mn-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font: 600 14px var(--body) !important; color: var(--text) !important; }
.mn-shb { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; border-radius: 10px; font: 600 13px var(--body) !important; color: var(--text) !important; }
.mn-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.mn-tabs button { min-height: 44px; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: 600 12.5px var(--body) !important; color: var(--text-muted) !important; }
.mn-tabs button.on { background: var(--primary-soft) !important; color: var(--primary-text) !important; box-shadow: inset 0 0 0 1.5px var(--primary); }
.mn-tchip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px !important; border-radius: 999px; background: var(--primary-soft) !important; color: var(--primary-text) !important; font: 600 13px var(--body) !important; }
.mn-title { display: flex; align-items: center; gap: 10px; }
.mn-title h1 { flex: 1; min-width: 0; margin: 0; font: 600 24px/1.15 var(--display); letter-spacing: normal; overflow-wrap: anywhere; }
.mn-edit { flex: none; display: flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 12px !important; border-radius: 12px; background: var(--primary-soft) !important; color: var(--primary-text) !important; font: 600 13px var(--body) !important; }
.mn-sent { display: flex; margin-top: -4px; }
.mn-n { flex: none; width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); font: 600 11px var(--mono); }
.mn-n.big { width: 26px; height: 26px; border-radius: 13px; }
.mn-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); min-width: 0; }
.mn-card.appr { border-color: var(--primary); }
.mn-card.ai { background: var(--ai-soft); border-color: var(--ai-border); }
.mn-card.ai .mn-n { background: var(--card); color: var(--ai); }
.mn-card.ai .mn-h b { color: var(--ai); }
.mn-h { display: flex; align-items: center; gap: 8px; }
.mn-h b { font: 600 15px var(--display); }
.mn-kv { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13.5px; }
.mn-kv small { font-size: 12px; color: var(--text-muted); }
.mn-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; font: 600 11.5px var(--body); white-space: nowrap; }
.mn-pill.grey { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.mn-pill.ok { background: var(--success-soft); color: var(--success); }
.mn-pill.soft { background: var(--primary-soft); color: var(--primary-text); }
.mn-pill.no { background: var(--danger-soft); color: var(--danger); }
.mn-att { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mn-ap { display: flex; align-items: center; gap: 7px; min-width: 0; }
.mn-ap > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.mn-ap b { font-size: 13px; font-weight: 700; line-height: 1.5; }
.mn-ap small { font-size: 11px; line-height: 1.5; color: var(--text-muted); }
.mn-ap .mn-av { width: 28px; height: 28px; }
.mn-av { flex: none; width: 32px; height: 32px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); font: 600 11px var(--body); }
.mn-av.me { background: var(--primary); color: var(--on-primary); }
.mn-av.g { background: var(--whatsapp-soft); color: var(--guest-av-text); }
.mn-tx { margin: 0; font-size: 13.5px; line-height: 1.5; }
.mn-tx.muted { color: var(--text-muted); }
.mn-sub { font: 600 11.5px var(--body); letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
.mn-pts { margin: -4px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; }
.mn-tk { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 0; }
.mn-tkm { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mn-tkm b { font-size: 14px; font-weight: 700; line-height: 1.5; }
.mn-tkm small { font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.mn-tk.done .mn-tkm b { text-decoration: line-through; color: var(--text-muted); }
.mn-cbx { flex: none; width: 44px; height: 44px; display: grid; place-items: center; color: var(--primary-text) !important; }
.mn-cmb { flex: none; position: relative; display: flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 9px !important; border-radius: 999px; border: 1px solid var(--line) !important; color: var(--primary-text) !important; white-space: nowrap; }
.mn-cmb em { font: 600 12px var(--body); font-style: normal; }
.mn-cmb.has { background: var(--primary) !important; border-color: var(--primary) !important; color: var(--on-primary) !important; }
.mn-apv { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-text); }
.mn-apv > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; color: var(--text); }
.mn-apv b { font-size: 13.5px; line-height: 1.5; }
.mn-apv small { font-size: 11.5px; line-height: 1.5; color: var(--text-muted); }
.mn-apv .mn-pill { white-space: normal; text-align: right; }
.mn-wait { font: 600 11.5px var(--body); color: var(--text-muted); text-align: right; }
.mn-two2 { display: flex; gap: 4px; flex: none; }
.mn-ok3, .mn-no3 { min-height: 34px; padding: 0 9px !important; border-radius: 9px; display: flex; align-items: center; font: 600 12px var(--body) !important; }
.mn-ok3 { background: var(--primary) !important; color: var(--on-primary) !important; }
.mn-no3 { background: var(--card) !important; color: var(--text) !important; box-shadow: inset 0 0 0 1px var(--input-border); }
.mn-nt { font-size: 13.5px; line-height: 1.5; }
.mn-nt small { display: block; margin-left: 10px; font-size: 11.5px; color: var(--text-muted); }
.mn-rc { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.45; }
.mn-rc > .ico { color: var(--ai); }
.mn-rc > span { flex: 1; min-width: 0; }
.mn-mini { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px !important; border-radius: 10px; background: var(--primary-soft) !important; color: var(--primary-text) !important; font: 600 12.5px var(--body) !important; text-decoration: none; white-space: nowrap; }
.mn-askn { display: flex; align-items: center; gap: 10px; padding: 12px !important; border-radius: 14px; border: 1.5px dashed var(--ai-border) !important; background: var(--ai-soft) !important; text-align: left; }
.mn-askn > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.mn-askn b { font-size: 14.5px; color: var(--ai); }
.mn-askn small { font-size: 12.5px; color: var(--text-muted); }
.mn-askn > .ico, .mn-askn > span:last-child { color: var(--ai); font-size: 18px; }
.mn-bar { height: 8px; border-radius: 4px; background: var(--ai-border); overflow: hidden; }
.mn-bar i { display: block; height: 100%; background: var(--primary); }
.mn-fine { font-size: 12px; color: var(--text-muted); }
.mn-extra { margin-top: 4px; }
/* Who spoke, Filed under and Delete under the cards, in the cards' own family (checkpoint L12). */
.mn-extra > .card { padding: 12px; border-radius: 14px; }
.mn-extra > .card h2 { font: 600 15px var(--display); }
.mn-kept .card > h2, .mn-kept [data-kept-play] { display: none; }
/* The foot: Follow up and Share minutes. */
.mn-foot, .mn-ask { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 8; width: min(600px, 100%); display: flex; flex-direction: column; gap: 8px; padding: 10px 14px max(26px, calc(env(safe-area-inset-bottom, 0px) + 12px)); border-top: 1px solid var(--line); background: var(--screen); }
.mn-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mn-b1, .mn-b2, .mn-go { min-height: 48px; padding: 0; border: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 15px var(--body); cursor: pointer; }
.mn-b1, .mn-go { background: var(--primary); color: var(--on-primary); }
.mn-b2 { background: var(--primary-soft); color: var(--primary-text); }
.mn-go { width: 100%; min-height: 52px; font-size: 16px; gap: 8px; box-shadow: 0 6px 18px var(--primary-glow); }
/* Listen */
.mn-player { gap: 10px; }
.mn-pl { display: flex; align-items: center; gap: 10px; }
.mn-pb { flex: none; width: 44px; height: 44px; border-radius: 22px; display: grid; place-items: center; background: var(--primary) !important; color: var(--on-primary) !important; }
.mn-range { flex: 1; min-width: 0; accent-color: var(--primary); }
.mn-time { flex: none; min-width: 72px; text-align: right; font: 600 12px var(--mono); letter-spacing: 0.84px; color: var(--text-muted); }
.mn-parts { display: flex; gap: 6px; flex-wrap: wrap; }
.mn-parts button { min-height: 36px; padding: 0 12px !important; border-radius: 999px; border: 1px solid var(--line) !important; font: 600 12px var(--body) !important; }
.mn-parts button.on { background: var(--primary-soft) !important; color: var(--primary-text) !important; border-color: var(--primary) !important; }
.mn-perm { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.mn-perm .ico { flex: none; }
.mn-search { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 6px 0 12px; border-radius: 12px; border: 1.5px solid var(--ai-border); background: var(--ai-soft); color: var(--text); }
.mn-search input, .mn-askbar input, .mn-addrow input { all: unset; flex: 1; min-width: 0; font: 14.5px var(--body); color: var(--text); }
/* The app's own boxes (body.v35-step) don't draw inside these. */
.mn .mn-search input, .mn-inp textarea { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
.mn .mn-search input { min-height: 0 !important; }
.mn-search input::placeholder, .mn-addrow input::placeholder { color: var(--ai); }
.mn-agl, .mn-trl { display: flex; flex-direction: column; gap: 2px; }
.mn-trline { display: flex; align-items: flex-start; gap: 10px; width: 100%; height: auto; min-height: 44px; padding: 6px 8px !important; border-radius: 10px; text-align: left; font-size: 14px !important; line-height: 1.45; }
.mn-trline:disabled { cursor: default; opacity: 1; }
.mn-trline .tt { flex: none; min-width: 44px; padding-top: 2px; font: 600 12px var(--mono); color: var(--primary-text); }
.mn-trline b { font-weight: 600; }
.mn-trline.cur { background: var(--primary-soft) !important; box-shadow: inset 3px 0 0 var(--primary); }
.mn-lbl { font: 600 11.5px var(--body); letter-spacing: 0.07em; color: var(--text-muted); }
/* Ask */
.mn-chat { display: flex; flex-direction: column; gap: 10px; }
.mn-me { align-self: flex-end; max-width: 85%; padding: 9px 12px; border-radius: 16px 16px 4px 16px; background: var(--primary); color: var(--on-primary); font-size: 14px; }
.mn-aim { display: flex; flex-direction: column; gap: 8px; }
.mn-aiw { display: flex; align-items: center; gap: 6px; font: 600 12px var(--body); letter-spacing: 0.04em; color: var(--ai); }
.mn-aim p { margin: 0; font-size: 14px; line-height: 1.5; }
.mn-qc { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.mn-src { font-size: 12.5px; color: var(--text-muted); }
.mn-src b { font-size: 13.5px; color: var(--text); }
.mn-qc blockquote { margin: 0; padding-left: 10px; border-left: 3px solid var(--primary); font: 500 15px/1.5 var(--body); }
.mn-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.mn-acts button { min-height: 40px; padding: 0 12px !important; border-radius: 10px; display: flex; align-items: center; gap: 5px; background: var(--primary-soft) !important; color: var(--primary-text) !important; font: 600 12.5px var(--body) !important; }
.mn-empty { padding: 16px; border-radius: 14px; border: 1.5px dashed var(--input-border); text-align: center; font-size: 13.5px; color: var(--text-muted); }
.mn-typing { display: flex; gap: 4px; padding: 6px 0; }
.mn-typing i { width: 7px; height: 7px; border-radius: 4px; background: var(--ai-border); animation: mn-bl 1s infinite; }
.mn-typing i:nth-child(2) { animation-delay: 0.15s; }
.mn-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes mn-bl { 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .mn-typing i { animation: none; } }
.mn-sugs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.mn-sugs button { flex: none; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; white-space: nowrap; background: var(--ai-soft); color: var(--ai); font: 600 12.5px var(--body); cursor: pointer; }
.mn-askbar { display: flex; align-items: center; gap: 8px; min-height: 48px; margin: 0; padding: 0 6px 0 12px; border-radius: 14px; border: 1.5px solid var(--ai-border); background: var(--card); color: var(--ai); }
.mn-askbar input { font-size: 15px; }
/* The ring on the rounded box, not a square one on the field inside it (checkpoint F17). */
.mn-askbar input:focus-visible, .mn-search input:focus-visible, .mn-addrow input:focus-visible { outline: none; }
.mn-askbar:focus-within, .mn-search:focus-within, .mn-addrow:focus-within { box-shadow: 0 0 0 3px var(--ai-soft); border-color: var(--ai); }
.mn-snd { flex: none; width: 40px; height: 40px; border: 0; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); cursor: pointer; }
.mn-mic { flex: none; width: 40px; height: 40px; border: 0; border-radius: 12px; display: grid; place-items: center; background: var(--ai-soft); color: var(--ai); cursor: pointer; }
.mn-mic.on { background: var(--danger-fill); color: var(--on-primary); }
/* The sheets */
.mn-shade { position: fixed; inset: 0; z-index: 30; background: var(--shade); }
.mn-sheet { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 31; width: min(600px, 100%); max-height: 88%; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 8px 16px max(28px, calc(env(safe-area-inset-bottom, 0px) + 12px)); border-radius: 24px 24px 0 0; background: var(--card); color: var(--text); box-shadow: none; }
.mn-grab { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--line); }
.mn-sh-h { display: flex; align-items: center; gap: 8px; }
.mn-sh-h b { flex: 1; font: 600 18px var(--display); }
.mn-x { width: 44px; height: 44px; display: grid; place-items: center; color: var(--text) !important; }
.mn-hint { font-size: 13.5px; color: var(--text-muted); }
.mn-link { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; border-radius: 12px; border: 1px dashed var(--input-border); background: var(--card); font: 12.5px var(--mono); }
.mn-link b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.mn-cp { width: 44px; height: 44px; display: grid; place-items: center; color: var(--primary-text) !important; }
.mn-seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.mn-seg button { flex: 1; min-height: 44px; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 5px; font: 600 13px var(--body) !important; color: var(--text-muted) !important; }
.mn-seg button.on { background: var(--primary-soft) !important; color: var(--primary-text) !important; box-shadow: inset 0 0 0 1.5px var(--primary); }
.mn-live { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); }
.mn-live span { flex: 1; }
.mn-stop { min-height: 36px; padding: 0 12px !important; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--input-border); font: 600 12.5px var(--body) !important; color: var(--danger) !important; }
.mn-tglr { display: flex; align-items: center; gap: 10px; }
.mn-tglr > span { flex: 1; display: flex; flex-direction: column; }
.mn-tglr b { font-size: 14px; }
.mn-tglr small { font-size: 12px; color: var(--text-muted); }
.mn-tgl { position: relative; flex: none; width: 52px; height: 44px; }
.mn-tgl::before { content: ""; position: absolute; left: 4px; right: 4px; top: 9px; height: 26px; border-radius: 13px; background: var(--input-border); }
.mn-tgl i { position: absolute; left: 7px; top: 12px; width: 20px; height: 20px; border-radius: 10px; background: var(--switch-knob); transition: left 0.15s; }
.mn-tgl.on::before { background: var(--primary); }
.mn-tgl.on i { left: 25px; }
.mn-sendg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mn-sendg button { min-height: 60px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--primary-soft) !important; color: var(--primary-text) !important; font: 600 12px var(--body) !important; }
.mn-wa { display: flex; flex-direction: column; gap: 6px; }
.mn-war { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.mn-war span { flex: 1; min-width: 0; }
.mn-email { display: flex; flex-direction: column; gap: 8px; }
.mn-email input, .mn-editf input, .mn-editf textarea, .mn-addf input[type="date"] { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--input-border); background: var(--input-field); color: var(--text); font: 15px var(--body); }
.mn-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mn-chips button { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 6px 10px !important; border-radius: 999px; border: 1px solid var(--line) !important; background: var(--card) !important; font: 600 12px var(--body) !important; color: var(--text) !important; }
.mn-chips button.on, .mn-chips button.ai { background: var(--ai-soft) !important; color: var(--ai) !important; border-color: var(--ai-border) !important; }
.mn-cmitem { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-text); }
.mn-cmitem span { display: flex; flex-direction: column; }
.mn-cmitem b { font-size: 14px; color: var(--text); }
.mn-cmitem small { font-size: 12px; color: var(--text-muted); }
.mn-cmt { display: flex; align-items: flex-start; gap: 8px; }
.mn-cmt > span:last-child { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 14px; line-height: 1.45; }
.mn-cmt b { font-size: 13px; }
.mn-cmt i { font-style: normal; font-weight: 500; font-size: 12px; color: var(--text-muted); }
.mn-ment { display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.mn-ment button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px !important; border-radius: 10px; font: 600 14px var(--body) !important; text-align: left; }
.mn-addrow { display: flex; align-items: center; gap: 8px; min-height: 48px; margin: 0; padding: 0 6px 0 12px; border-radius: 12px; border: 1.5px dashed var(--ai-border); background: var(--ai-soft); color: var(--text); }
.mn-addrow button { min-height: 36px; padding: 0 12px !important; border-radius: 10px; background: var(--primary) !important; color: var(--on-primary) !important; font: 600 13px var(--body) !important; }
.mn-seg3 { display: flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.mn-seg3 button { flex: 1; min-height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 5px; font: 600 13px var(--body) !important; color: var(--text-muted) !important; }
.mn-seg3 button.on { background: var(--ai-soft) !important; color: var(--ai) !important; box-shadow: inset 0 0 0 1.5px var(--ai-border); }
.mn-addf, .mn-editf { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.mn-inp { display: flex; align-items: flex-start; gap: 8px; min-height: 70px; padding: 10px 6px 6px 14px; border-radius: 12px; border: 1px solid var(--input-border); background: var(--input-field); }
.mn-inp textarea { all: unset; flex: 1; min-width: 0; min-height: 48px; font: 15px/1.4 var(--body); color: var(--text); white-space: pre-wrap; }
.mn-inp textarea::placeholder { color: var(--text-muted); }
.mn-el { display: flex; flex-direction: column; gap: 6px; }
.mn-erow { display: flex; align-items: center; gap: 6px; }
.mn-erow input { flex: 1; min-width: 0; }
.mn-etask { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 12px; border: 1px solid var(--line); }
.mn-link2 { align-self: flex-start; min-height: 40px; color: var(--primary-text) !important; font: 600 13.5px var(--body) !important; }
.mn-editf textarea { min-height: 96px; resize: vertical; }
/* The thread */
.mn-tl { display: flex; flex-direction: column; }
.mn-ti { display: flex; align-items: stretch; gap: 12px; }
.mn-rail { flex: none; width: 28px; display: flex; flex-direction: column; align-items: center; }
.mn-num { flex: none; width: 28px; height: 28px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); font: 600 12px var(--mono); }
.mn-ti.now .mn-num { background: var(--primary); color: var(--on-primary); }
.mn-line { flex: 1; width: 2px; margin: 4px 0; background: var(--line); }
.mn-ticard { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; padding: 12px !important; border-radius: 14px; border: 1px solid var(--line) !important; background: var(--card) !important; text-align: left; }
.mn-ti.now .mn-ticard { border-color: var(--primary) !important; box-shadow: inset 0 0 0 1px var(--primary); }
.mn-ticard small { font-size: 13px; color: var(--text-muted); }
.mn-ticard b { font-size: 15px; }
.mn-tisum { font-size: 13.5px; line-height: 1.5; }
.mn-chs { display: flex; gap: 6px; flex-wrap: wrap; }
.mn-chp { padding: 3px 9px; border-radius: 999px; background: var(--neutral-tag-soft); color: var(--text); font: 600 12px var(--body); }
.mn-chp.ok { background: var(--success-soft); color: var(--success); }
.mn-chp.late { background: var(--danger-soft); color: var(--danger); }
/* The page behind a share link (js/minutes-link.js): the app's cards, framed as the guest's pages are. */
main.mn-page { max-width: 600px; margin: 0 auto; padding: 4px 0 30px; }
.ml-top { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.ml-top img { border-radius: 8px; }
.ml-get { text-decoration: none; margin-top: 6px; }
.mn-lsn { gap: 10px; padding: 10px 12px; }
.mn-lh { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.mn-lh > span:last-child { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mn-lh b { font-size: 14.5px; }
.mn-lh small { font-size: 12px; color: var(--text-muted); }
.mn-num2 { flex: none; width: 28px; height: 28px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); }
.mn-wv { position: relative; flex: 1; min-width: 0; height: 28px; display: flex; align-items: center; }
.mn-bars { flex: 1; height: 28px; display: flex; gap: 2px; align-items: center; }
.mn-bars i { flex: 1; border-radius: 2px; background: var(--ai-border); opacity: 0.45; }
.mn-bars i.on { background: var(--primary); opacity: 1; }
.mn-wv .mn-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mn-trl { max-height: 360px; overflow-y: auto; }
.mn-tkc { display: block; padding: 4px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.mn-tkc .mn-tk { min-height: 48px; }
.mn-addrow.solid { border-style: solid; }
.mn-addrow input::placeholder { color: var(--ai); }
.ml-from { align-self: center; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--whatsapp-soft); color: var(--whatsapp-text); font: 600 12.5px var(--body); }
.mn-go.s46 { min-height: 46px; }
.mn-sh-h b .ico { vertical-align: -2px; }

/* ---------- Tasks as 11a and its pop-up, 11b (docs/minutes-step4.md, Part B) ----------
   As his prototype draws them (its Tasks page and the meeting pop-up), value by value, through the tokens. */
.view-title.tk-title { font: 600 26px var(--display); letter-spacing: normal; margin: 0 0 10px; }
.tk-top { display: flex; flex-direction: column; gap: 10px; }
.tk-bar { display: flex; gap: 6px; }
input.tk-q { flex: 1; min-width: 0; min-height: 40px; height: 40px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--input-border); background: var(--input-bg); box-shadow: inset 0 2px 4px var(--input-inset); font: 16px var(--body); line-height: normal; color: var(--text); }
input.tk-q::placeholder { font-size: 13.5px; color: var(--text-muted); opacity: 1; }
.tk-dd { flex: none; display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 600 12.5px var(--body); white-space: nowrap; cursor: pointer; }
.tk-ini { flex: none; width: 22px; height: 22px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--soft-fill); color: var(--primary-text); font: 700 9px var(--body); }
.tk-ini.big, .tk-menu .tk-ini { width: 26px; height: 26px; border-radius: 13px; font-size: 10px; }
.tk-menu { border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; box-shadow: 0 10px 24px var(--menu-shadow); }
.tk-menu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--text); font: 600 13px var(--body); text-align: left; cursor: pointer; }
.tk-menu button:first-child { border-top: 0; }
.tk-menu button[aria-pressed="true"] { background: var(--soft-fill); color: var(--primary-text); }
.tk-menu .grow { flex: 1; min-width: 0; }
.tk-cnt { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.tk-late { font-size: 12px; color: var(--danger); }
.tk-new { width: 100%; min-height: 40px; border: 0; border-radius: var(--radius-button); background: var(--primary); color: var(--on-primary); font: 600 15px var(--body); cursor: pointer; }
.tk-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 3px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.tk-seg button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--text-muted); font: 600 12px var(--body); cursor: pointer; }
.tk-seg button[aria-pressed="true"] { background: var(--soft-fill); color: var(--primary-text); font-weight: 700; }
.tk-list { display: flex; flex-direction: column; margin-top: 10px; padding-bottom: 8px; }
.tk-group { display: flex; flex-direction: column; }
.tk-group + .tk-group, .tk-group + .wo, .tk-list > .wo { margin-top: 14px; }
.tk-ghead { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-left: 4px solid var(--pill-border); border-radius: 14px 14px 0 0; background: var(--primary-soft); color: var(--text); font: 400 13.33px var(--body); text-align: left; }
button.tk-ghead { cursor: pointer; }
.tk-ghead.t-meeting { border-left-color: var(--ai); }
.tk-ghead.t-call, .tk-ghead.t-groupcall, .tk-ghead.t-debrief { border-left-color: var(--text-muted); }
.tk-ghead.t-matter { border-left-color: var(--neutral-tag); }
.tk-ghead.hot { border: 1.5px solid var(--danger); border-left: 4px solid var(--ai); }
.tk-ghead.hot:not(.t-meeting) { border-left-color: var(--text-muted); }
.tk-gico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--screen); color: var(--text); }
.tk-gmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tk-gey { font: 700 10.5px var(--body); letter-spacing: 0.08em; color: var(--text-muted); }
.tk-gtl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tk-gtl b { font-size: 15px; font-weight: 700; letter-spacing: -0.1px; }
.tk-gpr { display: flex; align-items: center; gap: 8px; }
.tk-gbar { flex: 1; display: block; max-width: 140px; height: 4px; border-radius: 2px; background: var(--task-track); overflow: hidden; }
.tk-gbar span { display: block; height: 100%; background: var(--primary); }
.tk-gn { font-size: 13px; color: var(--text-muted); }
.tk-gmin { flex: none; display: flex; flex-direction: column; align-items: center; color: var(--primary-text); font: 600 10.5px var(--body); }
.tk-gmin span { font-size: 18px; line-height: 1; }
.tk-tag { flex: none; padding: 4px 8px; border-radius: var(--radius-tag); background: var(--neutral-tag-soft); color: var(--neutral-tag); font: 600 11.5px var(--body); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.tk-tag.late { background: var(--tag-bad-bg); color: var(--tag-bad); }
.tk-tag.done { background: var(--tag-good-bg); color: var(--success); }
.tk-row { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px 9px 18px; border: 1px solid var(--line); border-top: 0; background: var(--card); box-shadow: inset 3px 0 0 var(--line); color: var(--text); font: 400 13.33px var(--body); text-align: left; }
button.tk-row { cursor: pointer; }
.tk-row.late { border-left: 3px solid var(--danger); }
.tk-row.last { border-radius: 0 0 14px 14px; }
.tk-rmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tk-what { font-size: 13px; font-weight: 600; }
.tk-row.is-done .tk-what { text-decoration: line-through; opacity: 0.6; }
.tk-who { font-size: 13px; color: var(--text-muted); }
.tk-st.seen { color: var(--primary-text); }
.tk-st.on, .tk-st.done { color: var(--success); }
.tk-st.none { color: var(--neutral-tag); }
.tk-pct { flex: none; min-width: 30px; text-align: right; font: 700 13px var(--mono); color: var(--text-muted); }
.tk-none { margin: 0; padding: 16px 8px; text-align: center; line-height: 1.5; font-size: 13px; color: var(--text-muted); }
.ts-cm { align-self: flex-start; margin-top: 8px; }
/* The pop-up (11b): over the page and the tab bar, 12 px above the tab bar. */
.tk-shade { position: fixed; inset: 0; z-index: 20; background: var(--shade-light); }
.tk-pop { position: fixed; z-index: 21; left: 50%; transform: translateX(-50%); width: calc(min(600px, 100%) - 24px); bottom: calc(var(--tabbar-h, 76px) + env(safe-area-inset-bottom, 0px) + 12px); max-height: calc(100% - 150px); overflow: auto; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: var(--card); color: var(--text); box-shadow: 0 18px 44px var(--pop-shadow); font: 14px/1.45 var(--body); }
.tk-pr { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tk-pr .grow { flex: 1; }
.tk-pey { font: 700 11px var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.tk-pti { font: 600 18px/1.25 var(--display); }
.tk-pmu { font-size: 13px; color: var(--text-muted); }
.tk-pst { padding: 3px 8px; border-radius: 7px; background: var(--primary-soft); color: var(--primary-text); font: 600 11px var(--body); letter-spacing: 0.05em; }
.tk-pst.sent { background: var(--tag-good-bg); color: var(--success); }
.tk-plb { margin-top: 2px; font: 600 11px var(--body); letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
.tk-pul { margin: 0; padding-left: 18px; }
.tk-pul li { margin: 2px 0; }
.tk-ptk { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; }
.tk-ptk i { flex: none; width: 14px; color: var(--success); font-style: normal; }
.tk-ptk i .ico { vertical-align: -2px; }
.tk-ptk:not(.done) i::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--pill-border); vertical-align: -1px; }
.tk-px { flex: none; width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--line); background: transparent; color: var(--text-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tk-pfoot { margin-top: 6px; }
.tk-pok { flex: 1; min-height: 46px; border: 0; border-radius: 12px; background: var(--primary); color: var(--on-primary); font: 600 15px var(--body); cursor: pointer; }
.tk-plk { min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--primary-text); font: 600 14px var(--body); cursor: pointer; }

/* ---------- Step 5 (docs/signin-step5.md): the way in, the tour, the sounds' switch ----------
   As Anthony's v2.150 prototype draws them (01-signup-11 and his first-time page, the tour module, his Settings'
   "Show me around again"), compared value by value with its computed styles, light and dark. His buttons there are
   .pb (blue, 52 px) and .pb2 (outlined, 1.5 px, 48 px); his rendered .pb2 shows a 1 px line and 1 px 6 px padding
   because the prototype's generic button reset wins over them: his written CSS is followed here. */
@keyframes sheetup { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.wb-pb, .wb-pb2 { width: 100%; border-radius: 12px; font-family: var(--body); gap: 10px; padding: 0 16px; }
.wb-pb { min-height: 52px; border: 0; background: var(--primary); color: var(--on-primary); font-size: 15px; font-weight: 600; }
.wb-pb:hover { background: var(--primary); filter: brightness(1.07); }
.wb-pb2 { min-height: 48px; border: 1.5px solid var(--pill-border); background: transparent; color: var(--text); font-size: 14px; font-weight: 400; }
.wb-pb2:hover { background: var(--sunk); }

/* The first-time page: the brand gradient, the mark, the wordmark, the wave and the line; the sheet with the way in. */
.wf { position: fixed; inset: 0; z-index: 5; display: flex; flex-direction: column; overflow-y: auto; background: var(--sign-in-gradient); color: var(--on-gradient); }
.wf-top { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: calc(24px + env(safe-area-inset-top, 0px)) 24px 24px; text-align: center; }
.wf-mark { display: block; width: 76px; height: 76px; }
.wf-wm { font: 700 30px var(--display); letter-spacing: 0; color: var(--on-gradient); }
.wf-wm b { background: var(--wm-dot-on-gradient); }
.wf-wm i { color: var(--wm-blue-on-gradient); }
.wf-wave { display: flex; align-items: center; gap: 4px; height: 56px; }
.wf-wave i { width: 5px; border-radius: 3px; background: var(--on-gradient); opacity: 0.85; }
.wf-tg { margin: 0; max-width: 300px; font: 400 14px/1.4 var(--body); letter-spacing: 0; opacity: 0.9; }
.wf-sheet { width: 100%; max-width: 600px; margin: 0 auto; box-sizing: border-box; background: var(--screen); color: var(--text); border-radius: 28px 28px 0 0; padding: 22px 22px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 -10px 30px var(--wf-sheet-shadow); animation: sheetup 0.35s ease-out; }
.wf-sheet .welcome-ticks { gap: 8px; margin-bottom: 4px; font-size: 14px; line-height: 1.45; }
.wf-sheet .welcome-ticks li { color: var(--text-muted); }
.wf-note { margin: 0; font-size: 13px; line-height: 1.45; text-align: center; color: var(--text-muted); }
.wf-note a { color: var(--primary-text); }
.wf-sheet .lang-switch { align-self: center; }

/* Welcome back (01-signup-11): the wordmark, the initials with the phone badge, the greeting; the way in at the foot. */
/* Sign in on a new device (step 8's checkpoint, F5): his DEMO's "Sign in to TalkBlue" sheet on the first-time page's
   look: the title 24 px in the display face, his 14 px line, his 50 px box (16 px words on a phone, so it doesn't zoom),
   Send me a code, his 12.5 px note under it. */
.si .wf-top { position: relative; }
.si-back { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); left: 12px; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: transparent; color: var(--on-gradient); font: 600 14px var(--body); cursor: pointer; }
.si-t { margin: 0; font: 600 24px/1.25 var(--display); letter-spacing: 0; color: var(--text); }
.si-s { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.si-fi { width: 100%; box-sizing: border-box; min-height: 50px; border-radius: 10px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--text); padding: 10px 12px; font: 400 15px var(--body); box-shadow: inset 0 2px 4px var(--input-inset); }
.si-fi:focus { outline: none; border-color: var(--accent-line); box-shadow: inset 0 2px 4px var(--input-inset), 0 0 0 2px var(--accent-line); }
.si-fi[readonly] { color: var(--text-muted); }
.si-note { margin: 0; font-size: 12.5px; line-height: 1.45; text-align: center; color: var(--text-muted); }
@media (max-width: 600px) { .si-fi { font-size: 16px; } }
.wb { position: fixed; inset: 0; z-index: 5; display: flex; flex-direction: column; overflow-y: auto; background: var(--screen); color: var(--text); }
.wb-mid { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: calc(24px + env(safe-area-inset-top, 0px)) 24px 24px; text-align: center; }
.wb-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; }
.wb-brand img { display: block; width: 28px; height: 28px; }
.wb-brand .wordmark { font: 700 17px var(--display); letter-spacing: 0; }
.wb-me { position: relative; width: 88px; height: 88px; border-radius: 44px; background: var(--wb-avatar); color: var(--primary-text); display: grid; place-items: center; font: 600 28px var(--body); margin-bottom: 6px; }
.wb-badge { position: absolute; right: -6px; bottom: -6px; display: block; width: 30px; height: 30px; }
.wb-title { margin: 0; font: 600 26px/normal var(--display); letter-spacing: 0; color: var(--text); }
.wb-sub { margin: 0; font-size: 14px; line-height: normal; color: var(--text-muted); overflow-wrap: anywhere; }
.wb-co { text-transform: uppercase; }
.wb-acts { width: 100%; max-width: 600px; margin: 0 auto; box-sizing: border-box; padding: 0 22px calc(26px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.wb-way { display: flex; flex-direction: column; gap: 10px; }
.wb-sent { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-muted); text-align: center; }
.wb-fi { width: 100%; box-sizing: border-box; min-height: 50px; border-radius: 10px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--text); padding: 10px 12px; font: 400 16px var(--mono); letter-spacing: 0.3em; text-align: center; box-shadow: inset 0 2px 4px var(--input-inset); }
.wb-fi:focus { outline: none; border-color: var(--accent-line); box-shadow: inset 0 2px 4px var(--input-inset), 0 0 0 2px var(--accent-line); }
.wb-lk { min-height: 44px; border: 0; background: transparent; color: var(--primary-text); font: 600 14px var(--body); cursor: pointer; }
.wb-new { margin: 0; display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; font-size: 13px; color: var(--text-muted); }
.wb-new button { min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--primary-text); font: 600 13px var(--body); cursor: pointer; }

/* Sign-up in four steps (docs/website-step8.md, part B; js/create.js): Anthony's 01-signup-35, with his journey
   prototype's stage 2 values (#st2, .su and what's in it): his split card on a computer, one column on a phone. */
.cr { position: fixed; inset: 0; z-index: 5; overflow-y: auto; display: flex; justify-content: center; align-items: flex-start; padding: calc(30px + env(safe-area-inset-top, 0px)) 16px calc(30px + env(safe-area-inset-bottom, 0px)); background: var(--page); color: var(--text); font: 15px/1.5 var(--body); }
.cr-su { flex: none; width: min(980px, 100%); display: grid; grid-template-columns: 0.85fr 1.15fr; border-radius: 24px; overflow: hidden; background: var(--card); box-shadow: 0 18px 50px var(--signup-shadow); min-height: 600px; }
.cr-lft { background: var(--sign-in-gradient); color: var(--on-gradient); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.cr-lft img { display: block; width: 40px; height: 40px; }
.cr-lft h2 { font: 700 28px/1.15 var(--display); letter-spacing: -0.01em; }
.cr-lft ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.cr-lft li { display: flex; gap: 8px; align-items: flex-start; }
.cr-lft li .ico { vertical-align: 0; }
.cr-sp { flex: 1; }
.cr .cr-home { color: var(--on-gradient); align-self: flex-start; display: block; text-decoration: none; }
.cr-rgt { padding: 30px 34px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
/* The EN/FR switch, as the website's (.lang in site.css), at the end of the step's line (step 8's checkpoint). */
.cr-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block: -7px; }
.cr-lang { flex: none; display: inline-flex; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--input-border); padding: 2px; }
.cr-lang button { min-height: 26px; min-width: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font: 600 12px var(--body); padding: 0 8px; cursor: pointer; }
.cr-lang button[aria-pressed="true"] { background: var(--primary-soft); color: var(--primary-text); cursor: default; }
.cr-gap { flex: 1; }
/* An invite waiting for this email (F2): the app's blue, not the AI's purple (it's no suggestion of the AI's). */
.cr-aib.cr-inv { background: var(--primary-soft); border-color: transparent; }
.cr-aib.cr-inv b, .cr-aib.cr-inv .ico { color: var(--primary-text); }
.cr-rgt h3 { font: 700 26px/1.5 var(--display); letter-spacing: -0.01em; }
.cr-sl { display: flex; gap: 6px; }
.cr-sl i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.cr-sl i.on { background: var(--primary); }
.cr-sll { font: 600 12px var(--body); letter-spacing: 0.07em; text-transform: uppercase; color: var(--primary-text); }
.cr-hint { color: var(--text-muted); font-size: 14px; margin-top: -8px; }
.cr-hint.cr-flat, .cr-have { margin: 0; }
.cr-q { font: 600 16px var(--display); display: flex; gap: 6px; }
.cr-q b { color: var(--primary-text); }
.cr .cr-fi { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--input-border); background: var(--input-field); color: var(--text); padding: 0 14px; font: 15px var(--body); }
.cr .cr-fi:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--input-border); }
.cr .cr-fi[readonly] { color: var(--text-muted); }
.cr .cr-code { font-family: var(--mono); letter-spacing: 0.2em; }
.cr-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-muted); }
.cr-agree input { margin-top: 2px; accent-color: var(--primary); width: 18px; height: 18px; flex: none; }
.cr-agree a { color: var(--primary-text); }
.cr-sent { font-size: 14px; }
.cr-ok { display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--success); }
.cr-err { color: var(--hang); font-size: 14px; font-weight: 500; }
.cr-ch { display: flex; gap: 8px; flex-wrap: wrap; }
.cr-ch button { min-height: 42px; border-radius: 999px; border: 1.5px solid var(--input-border); background: transparent; color: var(--text); padding: 0 14px; font: 600 13.5px var(--body); cursor: pointer; }
.cr-ch button.on { background: var(--primary-soft); color: var(--primary-text); border-color: var(--primary); }
.cr-tm { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cr-tm .r { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.cr-tm .r:last-child { border-bottom: 0; }
.cr-tm .r.bad { background: var(--danger-soft); }
.cr-tm select { min-height: 40px; border-radius: 10px; border: 1px solid var(--input-border); background: var(--input-field); color: var(--text); font: 600 13px var(--body); padding: 0 8px; }
.cr-tm .cr-add .cr-fi { min-height: 40px; }
.cr-tm .cr-out { grid-template-columns: 1fr auto; }
/* A person's row: the name, the contact under it, the role menu and ✕ (step 8's checkpoint, L9: placed by area, so on a
   phone the contact can take a line of its own and nothing is broken mid-word). */
.cr-tm .r.cr-p { grid-template-areas: "nm role x" "reach role x"; row-gap: 0; }
.cr-p .cr-nm { grid-area: nm; font-size: 14px; font-weight: 600; min-width: 0; }
.cr-p .cr-reach { grid-area: reach; font-size: 12px; color: var(--text-muted); min-width: 0; overflow-wrap: anywhere; }
.cr-p select { grid-area: role; }
.cr-p .cr-x { grid-area: x; }
.cr-agree input[data-locked] { cursor: default; }
.cr-nm2 { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; min-width: 0; overflow-wrap: break-word; }
.cr-nm2 > span { min-width: 0; }
.cr-nm2 small { display: block; font-weight: 400; color: var(--text-muted); font-size: 12px; }
.cr-x { padding: 0 4px; }
.cr-done { display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--body); color: var(--success); }
.cr-not { font-size: 12.5px; color: var(--text-muted); text-align: right; }
.cr .cr-wa { min-height: 40px; padding: 0 12px; font-size: 13.5px; background: var(--whatsapp); color: var(--on-primary); }
.cr .cr-wa.opened { background: transparent; color: var(--whatsapp-text); box-shadow: inset 0 0 0 1.5px var(--whatsapp); }
.cr-aib { border-radius: 14px; background: var(--ai-soft); border: 1.5px solid var(--ai-border); padding: 12px 14px; font-size: 13.5px; line-height: 1.5; display: flex; gap: 8px; }
.cr-aib b { color: var(--ai); }
.cr-aib .ico { vertical-align: 0; }
/* What went, after Send: done, so green (his colours: purple is the AI's only). */
.cr-aib.cr-went { background: var(--success-soft); border-color: transparent; }
.cr-aib.cr-went b, .cr-aib.cr-went .ico { color: var(--success); }
.cr-rb { border-radius: 12px; background: var(--primary-soft); padding: 10px 12px; font-size: 13px; }
.cr-rb b { display: block; font-size: 13.5px; }
.cr-rb ul { margin: 4px 0 0; padding-left: 18px; color: var(--text-muted); }
.cr-row2 { display: flex; gap: 10px; margin-top: auto; padding-top: 6px; }
.cr-row2 .cr-b { flex: 1; }
.cr-b { min-height: 46px; border-radius: 12px; border: 0; font: 600 15px var(--body); padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; }
.cr-b:disabled { opacity: 0.55; cursor: default; }
.cr-b1 { background: var(--primary); color: var(--on-primary); }
.cr-b2 { background: var(--primary-soft); color: var(--primary-text); }
.cr-b3 { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--input-border); }
.cr-lk { border: 0; background: transparent; color: var(--primary-text); font: 600 14px var(--body); cursor: pointer; min-height: 40px; padding: 0; }
.cr-lk:disabled { opacity: 0.55; cursor: default; }
.cr-again, .cr-top { align-self: flex-start; }
.cr-qr { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.cr-qrbox { width: 150px; height: 150px; border-radius: 16px; background: var(--qr-paper); color: var(--qr-ink); padding: 10px; border: 1px solid var(--line); display: block; }
.cr-qrbox svg { display: block; width: 100%; height: 100%; }
.cr-qrbox.gone { display: grid; place-items: center; background: var(--page); text-align: center; }
.cr-col, .cr-open { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 900px) {
  .cr-su { grid-template-columns: 1fr; }
  .cr-lft { display: none; }
}
@media (max-width: 600px) {
  /* A phone: 16 px in the boxes, or the phone zooms into the page when one is tapped. */
  .cr .cr-fi { font-size: 16px; }
  .cr-tm .cr-add { grid-template-columns: 1fr auto; }
  .cr-tm .cr-add #cr-add-reach { grid-row: 2; }
  /* L8, L9: the role menu 16 px (an iPhone doesn't zoom) and narrower; the contact on its own line under the name,
     across the row, so names, numbers and emails wrap only where they have a space. */
  .cr-tm select { font-size: 16px; }
  .cr-tm .r.cr-p { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "nm role x" "reach reach reach"; row-gap: 2px; }
  .cr-p .cr-nm { overflow-wrap: normal; }
  .cr-p .cr-reach { overflow-wrap: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cr-p select { max-width: 132px; }
  .cr-lang { box-shadow: none; padding: 0; }
  .cr-lang button { box-shadow: inset 0 0 0 1.5px var(--input-border); }
  .cr-lang button[aria-pressed="true"] { display: none; }
  .cr-tm .cr-out { grid-template-columns: 1fr; gap: 8px; }
  .cr-tm .cr-out > :last-child { justify-self: start; }
}

/* "Use Face ID next time?" after a code from Welcome back (A2), as his sheet for turning it on on the spot (f129). */
.faceask { position: fixed; inset: 0; z-index: 40; background: var(--shade-hub); display: flex; align-items: flex-end; justify-content: center; }
.fa-bx { width: 100%; max-width: 600px; background: var(--card); color: var(--text); border-radius: 24px 24px 0 0; padding: 0 0 calc(26px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; overflow: hidden; animation: sheetup 0.25s ease-out; }
.fa-bx > :not(.fa-hd) { margin-left: 22px; margin-right: 22px; width: auto; }
.fa-hd { height: 120px; display: grid; place-items: center; background: var(--face-gradient); }
.fa-ic { width: 76px; height: 76px; border-radius: 22px; background: var(--face-square); color: var(--on-gradient); display: grid; place-items: center; box-shadow: 0 0 0 1.5px var(--face-square-line); }
.fa-t { margin: 18px 22px 0; font: 600 20px/1.3 var(--display); letter-spacing: 0; }
.fa-s { margin: 8px 22px 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.fa-bx > .wb-pb { margin-top: 16px; }
.fa-bx > .wb-pb2 { margin-top: 10px; min-height: 46px; }

/* The tour (his tour module): the welcome card, a tip beside the lit button, "You're all set". Over the tab bar and
   the TalkBlue sheet, under the ring (z-index 30). */
.tour { position: fixed; inset: 0; z-index: 25; font-family: var(--body); color: var(--text); }
.tu-shade { position: absolute; inset: 0; background: var(--tour-shade); }
.tour[data-step="w"] { display: flex; align-items: flex-end; justify-content: center; }
.tu-wel { position: relative; width: 100%; max-width: 600px; box-sizing: border-box; background: var(--screen); border-radius: 24px 24px 0 0; padding: 22px 18px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; animation: sheetup 0.3s ease-out; }
.tu-wel img { display: block; width: 40px; height: 40px; }
.tu-wt { font: 800 21px/1.25 var(--body); }
.tu-ws { font-size: 13.5px; line-height: 1.45; color: var(--text-muted); }
.tu-wi { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.tu-n { flex: none; width: 32px; height: 32px; border-radius: 16px; background: var(--soft-fill); color: var(--primary-text); display: flex; align-items: center; justify-content: center; font: 700 12.5px var(--body); }
.tu-foot { display: flex; align-items: center; gap: 8px; }
.tu-wel .tu-foot { margin-top: 4px; }
.tu-sp { flex: 1; }
.tu-skip { min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--text-muted); font: 600 13.5px var(--body); cursor: pointer; }
.tu-next { min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--primary-deep); color: var(--on-primary-deep); font: 700 14px var(--body); cursor: pointer; }
.tu-out { position: absolute; inset: 0; border: 0; background: transparent; cursor: default; }
.tu-hole { position: absolute; border: 0; border-radius: 18px; background: transparent; cursor: pointer; box-shadow: 0 0 0 2.5px var(--accent-line), 0 0 0 2000px var(--tour-dim); transition: all 0.4s cubic-bezier(0.3, 0.9, 0.3, 1); }
.tu-tip { position: absolute; left: 14px; right: 14px; max-width: 572px; margin: 0 auto; box-sizing: border-box; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 16px 40px var(--tour-shadow); animation: sheetup 0.3s ease-out; }
.tu-arr { position: absolute; top: -7px; width: 16px; height: 16px; background: var(--card); transform: rotate(45deg); }
.tu-arr.low { top: auto; bottom: -7px; }
/* The step's line, as his v2.150 draws steps: one bar a step, filled blue as you go, then "Step 1 of 4 · …". */
.tu-pg { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; padding-top: 2px; }
.tu-ln { display: flex; gap: 6px; }
.tu-ln i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.tu-ln i.on { background: var(--primary); }
.tu-k { font: 600 12px var(--body); letter-spacing: 0.07em; text-transform: uppercase; color: var(--primary-text); }
.tu-h { font: 800 17px/1.3 var(--body); }
.tu-p { font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.tu-li { font-size: 13px; line-height: 1.4; } /* his 12.5 px, drawn at 13 px by his phone-size rule */
.tu-li b { color: var(--done-dot); }
.tu-dots { flex: 1; display: flex; gap: 6px; }
.tu-dots span { width: 8px; height: 8px; border-radius: 4px; background: var(--line); }
.tu-dots span.on { width: 22px; background: var(--primary-deep); }
.tu-done { position: absolute; left: 14px; right: 14px; bottom: 120px; max-width: 572px; margin: 0 auto; box-sizing: border-box; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; animation: sheetup 0.3s ease-out; }
.tu-dt { font: 800 18px/1.3 var(--body); }
.tu-ds { font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.tu-go { min-height: 48px; }

/* Settings: "Show me around again", first under the title, as his .pc row. */
.set-row.set-tour { border-width: 1px; border-color: var(--card-line); padding: 10px 30px 10px 12px; min-height: 56px; }
.set-tour-ic { flex: none; width: 40px; height: 40px; border-radius: 20px; background: var(--soft-fill); color: var(--primary-text); display: flex; align-items: center; justify-content: center; }
.set-row.set-tour b { font-size: 14px; font-weight: 600; }
.set-row.set-tour .muted.small { font-size: 13px; }
.set-row.set-tour .set-arrow { font-size: 13.33px; }
@media (prefers-reduced-motion: reduce) { .wf-sheet, .fa-bx, .tu-wel, .tu-tip, .tu-done { animation: none; } .tu-hole { transition: none; } }

/* ---------- Step 6 (docs/team-step6.md): the Hub's Team tab, as his 08d and his prototype's Team view (v140css) ----------
   His colours are the tokens above, light and dark: the ring's blue and track (--accent-line, --line), the card's
   blue-to-purple wash (--primary-soft to --ai-card), a lead's blue band, the status tags' green, grey and red. */
.hub-tabs { grid-template-columns: repeat(var(--tabs, 3), 1fr); }
.qhub-body.qhub-team { gap: 0; padding-top: 4px; }
.t140 { display: flex; flex-direction: column; gap: 10px; color: var(--text); font: 16px/normal var(--body); }
.t140 > * { flex-shrink: 0; }
.t140 .tv-row { display: flex; align-items: center; gap: 8px; }
.t140 h4 { font: 600 18px var(--display); margin: 4px 0 0; }
.t140 .sm { font-size: 12.5px; color: var(--text-muted); }
.t140 .tv-seg { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); margin-left: auto; }
.t140 .tv-seg button { position: relative; border: 0; background: transparent; color: var(--text-muted); font: 600 12px var(--body); padding: 6px 9px; border-radius: 7px; cursor: pointer; min-height: 32px; }
.t140 .tv-seg button::after { content: ""; position: absolute; inset: -7px -4px; } /* his v142fix: a 44 px reach */
.t140 .tv-seg .on { background: var(--soft-fill); color: var(--primary-text); }
.t140 .eag { display: flex; gap: 14px; align-items: center; border-radius: 18px; padding: 14px; background: linear-gradient(135deg, var(--primary-soft), var(--ai-card)); border: 1px solid var(--line); }
.t140 .tv-ring { width: 76px; height: 76px; border-radius: 38px; display: grid; place-items: center; flex-shrink: 0; background: conic-gradient(var(--accent-line) 0 var(--pct, 0%), var(--line) 0); }
.t140 .tv-ring span { width: 60px; height: 60px; border-radius: 30px; background: var(--card); display: grid; place-items: center; font: 600 20px var(--mono); }
.t140 .tv-ring.big { width: 64px; height: 64px; }
.t140 .tv-ring.big span { width: 50px; height: 50px; font-size: 17px; }
.t140 .mid { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.t140 .mid b { font-size: 14.5px; }
.t140 .mid small { font-size: 12px; color: var(--text-muted); }
.t140 .kk { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12.5px; margin-top: 4px; }
.t140 .kk b { font: 600 14px var(--mono); }
.t140 .up { color: var(--success); font-weight: 600; }
.t140 .dn { color: var(--tag-bad); font-weight: 600; }
.t140 .ai { border-radius: 14px; background: var(--ai-card); border: 1.5px solid var(--ai-line); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.45; }
.t140 .ai b { color: var(--ai); }
.t140 .lk { border: 0; background: transparent; color: var(--primary-text); font: 600 13.5px var(--body); padding: 0; min-height: 44px; cursor: pointer; align-self: flex-start; text-align: left; }
.t140 .list { border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.t140 .pr { display: flex; align-items: center; gap: 10px; padding: 9px 12px; min-height: 44px; border: 0; border-bottom: 1px solid var(--line); background: transparent; width: 100%; text-align: left; color: var(--text); font-family: var(--body); cursor: pointer; }
.t140 .pr:last-child { border-bottom: 0; }
.t140 .pr.sup { background: var(--primary-soft); }
.t140 .pr.ind { padding-left: 28px; }
.t140 .pr .mid b { font-size: 14.5px; font-weight: 700; }
.t140 .av { width: 32px; height: 32px; border-radius: 16px; background: var(--tag-good-bg); color: var(--success); display: grid; place-items: center; font: 600 11px var(--body); flex-shrink: 0; }
.t140 .av.big { width: 52px; height: 52px; border-radius: 26px; font-size: 17px; }
.t140 .mb { display: block; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 4px; width: 90%; }
.t140 .mb i { display: block; height: 100%; background: var(--accent-line); }
.t140 .mb i.ok { background: var(--success); }
.t140 .mb i.bad { background: var(--tag-bad); }
.t140 .num { display: flex; flex-direction: column; align-items: center; min-width: 30px; font-family: var(--mono); } /* as his computed: the small words in the numbers' font too */
.t140 .num b { font: 600 14px var(--mono); }
.t140 .num small { font-size: 10.5px; color: var(--text-muted); }
.t140 .st { font: 600 11px var(--body); padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.t140 .st.ok { background: var(--tag-good-bg); color: var(--success); }
.t140 .st.w { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.t140 .st.bad { background: var(--tag-bad-bg); color: var(--tag-bad); }
.t140 .st.st-row { align-self: flex-start; margin-top: 3px; }
.t140 .st.st-lead { align-self: flex-start; margin-top: 4px; }
.t140 .tv-prow { gap: 12px; }
.t140 .mid b.pname { font: 600 21px var(--display); }
.t140 .kp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.t140 .kp > div { border-radius: 12px; background: var(--card); border: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; min-width: 0; }
.t140 .kp b { font: 600 20px var(--mono); white-space: nowrap; }
.t140 .kp small { font-size: 11.5px; color: var(--text-muted); }
.t140 .kp b.long { font-size: 15px; line-height: 23px; } /* a long talk time ("3 h 26 min" in French) fits its box */
.t140 .tv-card { border-radius: 14px; background: var(--card); border: 1px solid var(--line); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.t140 .tv-card svg { display: block; overflow: visible; }
.t140 .tv-card polyline { fill: none; stroke: var(--accent-line); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.t140 .tv-card circle { fill: var(--accent-line); }
.t140 .ln { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; padding: 3px 0; }
.t140 .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t140 .two button { min-height: 46px; border-radius: 12px; border: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 14px var(--body); cursor: pointer; }
.t140 .b1 { background: var(--primary-deep); color: var(--on-primary-deep); }
.t140 .b2 { background: var(--soft-fill); color: var(--primary-text); }
.t140 .fi { width: 100%; box-sizing: border-box; min-height: 44px; border-radius: 12px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--text); padding: 10px 12px; font: 14px var(--body); }
.t140 .tv-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.t140 .tv-chips button { position: relative; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px; min-height: 34px; padding: 0 12px; font: 600 12.5px var(--body); cursor: pointer; }
.t140 .tv-chips button::after { content: ""; position: absolute; inset: -5px 0; }
.t140 .tv-chips .on { background: var(--soft-fill); color: var(--primary-text); border-color: var(--primary-line); }
.t140 .compose { border-radius: 14px; border: 1.5px solid var(--accent-line); background: var(--card); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.t140 .compose > b { font-size: 14px; }
.t140 .tv-empty { border: 1px dashed var(--field-line); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; color: var(--text-muted); margin: 0; }

/* Step 6, Part B: teams in Settings → Roles (the owner) and Settings → Teams (a Supervisor), as his Teams page's team
   band and "New team" card draw them on the computer, in a phone's width: the soft blue band, the blue square, his
   dashed blue line round the new team, the picked chip's soft fill and blue ring. */
.tm-teams-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; }
.tm-teams-head .kicker { margin: 0; }
.tm-teams-head .btn-sm { min-height: 40px; padding: 0 16px; margin-left: auto; }
.tm-team { border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.tm-team-hd, .tm-new-hd { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--primary-soft); }
.tm-team-hd .row-main > b, .tm-new-hd .row-main > b { font-size: 18px; }
.tm-team-hd .row-main, .tm-new-hd .row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tm-team-hd .small { font-size: 12.5px; color: var(--text-muted); }
.tm-team-hd .tm-lead { color: var(--primary-text); font-size: 12.5px; }
.tm-team-ic, .tm-new-plus { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--primary); color: var(--on-primary); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.tm-team-bd, .tm-new-bd { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.tm-people { display: flex; flex-wrap: wrap; gap: 6px; }
.tm-person { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px 0 4px; border-radius: 999px; background: var(--task-track); font-size: 13px; }
.tm-person .avatar { width: 26px; height: 26px; min-width: 26px; font-size: 10.5px; }
.tm-team-ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tm-team-ft .btn { min-height: 44px; }
.tm-new { border: 2px dashed var(--accent-line); border-radius: 18px; overflow: hidden; background: var(--card); }
.tm-new .fi { width: 100%; box-sizing: border-box; min-height: 44px; border-radius: 12px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--text); padding: 10px 12px; font: 14px var(--body); }
.tm-new .pl { font: 600 12px var(--body); letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
.tm-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.tm-chip { position: relative; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; font: 600 13px var(--body); cursor: pointer; background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.tm-chip::after { content: ""; position: absolute; inset: -4px 0; }
.tm-chip.on { background: var(--soft-fill); color: var(--primary-text); box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.tm-target { display: flex; align-items: center; gap: 8px; }
.tm-target .small { flex: 1; min-width: 0; color: var(--text-muted); font-size: 13px; }
.tm-step { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--soft-fill); color: var(--primary-text); font: 600 18px var(--body); cursor: pointer; }
.tm-target b { min-width: 28px; text-align: center; font: 600 16px var(--mono); }
.tm-new-go { display: flex; gap: 8px; flex-wrap: wrap; }
.tm-new-go .btn { min-height: 44px; padding: 0 18px; }
.tm-new-go .tm-cancel { background: var(--soft-fill); color: var(--primary-text); border: 0; }
.tm-del { align-self: flex-start; min-height: 44px; }
.tm-none { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 22px; border: 1px dashed var(--field-line); border-radius: 14px; background: var(--card); }
/* His fields as the prototype draws them (the same as Schedule's, step 3): sunk, and a blue ring while typing. */
.t140 .fi, .tm-new .fi { box-shadow: inset 0 2px 4px var(--input-inset); outline: none; }
.t140 .fi:focus, .tm-new .fi:focus { border-color: var(--accent-line); box-shadow: inset 0 2px 4px var(--input-inset), 0 0 0 2px var(--accent-line); }

/* ---------- Step 6, Part C (docs/team-step6.md): the Hub's Center tab and call tasks, as his prototype (v2.150) ----------
   Values as his computed styles, light and dark, through the tokens: his 19 px Space Grotesk titles with a 13 px muted
   line under ("My call tasks / To do"), the blue-lined task card, the soft tags, the round call buttons, the outcome grid. */
.cc .cc-head { display: flex; align-items: center; gap: 8px; }
.cc .t, .ct-page .t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cc .t b, .ct-page .t b { font: 600 19px/23.75px var(--display); color: var(--text); }
.cc .t small, .ct-page .t small { font: 13px/18.2px var(--body); color: var(--text-muted); }
.cc .cc-new { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--primary-deep); color: var(--on-primary-deep); font: 700 13px var(--body); cursor: pointer; white-space: nowrap; }
.cc .sm { font-size: 13px; }
.cc-card { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; border: 1px solid var(--accent-line); background: var(--card); }
.cc-card-top { display: flex; align-items: center; gap: 8px; }
.cc-card-top b { flex: 1; min-width: 0; font: 700 14.5px var(--body); }
.cc-tag { font: 600 11.5px var(--body); letter-spacing: 0.04em; padding: 4px 8px; border-radius: 6px; white-space: nowrap; background: var(--role-tag-bg); color: var(--primary-text); }
.cc-tag.new { background: var(--ai-violet); color: var(--on-primary); }
.cc-tag.paused { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.cc-line, .cc-from { font-size: 13px; color: var(--text-muted); }
.cc-cta { min-height: 44px; border-radius: 12px; border: 0; background: var(--primary-deep); color: var(--on-primary-deep); font: 700 13.5px var(--body); display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.cc-note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--note-fill); border: 1px solid var(--line); font-size: 13px; line-height: 1.45; color: var(--neutral-tag); }
.cc-note .ico { flex: none; margin-top: 2px; }
.cc-h { display: flex; align-items: center; font: 600 19px/23.75px var(--display); padding-top: 8px; color: var(--text); }
.cc-h i { font: normal 600 12px var(--body); padding: 2px 8px; margin-left: 6px; border-radius: 999px; background: var(--soft-fill); color: var(--primary-text); }
.cc-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 2px 10px; }
.cc-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; min-height: 56px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; font-family: var(--body); cursor: pointer; width: 100%; }
.cc-row .av { width: 36px; height: 36px; border-radius: 18px; background: var(--soft-fill); color: var(--primary-text); font: 700 11.5px var(--body); }
.cc-row .mid { gap: 3px; }
.cc-row .mid b { font: 600 13.5px var(--body); }
.cc-row .mid small { font-size: 13px; }
.cc-bar { display: block; height: 4px; border-radius: 2px; background: var(--sc-foot-line); overflow: hidden; }
.cc-bar i { display: block; height: 100%; background: var(--done-dot); }
.cc .st, .ct-page .st { font: 600 11.5px var(--body); letter-spacing: 0.04em; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.ct-page .st.ok, .cc .st.ok { background: var(--tag-good-bg); color: var(--success); }
.ct-page .st.w, .cc .st.w { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.ct-page .st.bad, .cc .st.bad { background: var(--tag-bad-bg); color: var(--tag-bad); }
.cc .cc-foot { text-align: center; }
/* Home's card (his "Call center task · To do"). */
.cc-home { display: flex; flex-direction: column; gap: 8px; }
.cc-home .t { display: flex; flex-direction: column; gap: 2px; }
.cc-home .t b { font: 600 19px/23.75px var(--display); }
.cc-home .t small { font: 13px/18.2px var(--body); color: var(--text-muted); }
.cc-hcard { text-align: left; border: 1px solid var(--accent-line); border-radius: 16px; padding: 12px 13px; background: var(--task-card); color: var(--text); font-family: var(--body); cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.cc-hcard .cc-card-top b { font: 600 15px var(--body); }
.cc-hcard .cc-tag { font-size: 13px; }
.cc-hdesc { font-size: 13px; line-height: 18.2px; color: var(--neutral-tag); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cc-hfrom { font-size: 13px; color: var(--ai); }
.cc-hgo { text-align: center; padding: 9px; border-radius: 10px; background: var(--primary); color: var(--on-primary); font: 600 14px var(--body); }

/* A call task's page, New call task and the after-call view: his page (18 px sides, 10 px apart). */
.ct-page { display: flex; flex-direction: column; gap: 10px; padding: 0 0 16px; /* his 18 px sides (F11), with the page’s own 18 */ color: var(--text); font: 16px var(--body); }
.ct-page > * { flex-shrink: 0; }
.ct-page .ps { font-size: 13px; color: var(--text-muted); }
.ct-page .num { font-family: var(--mono); }
.ct-page .pl { font: 600 12px var(--body); letter-spacing: 0.07em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 5px; }
.ct-back { align-self: flex-start; min-height: 44px; border: 0; background: transparent; color: var(--primary-text); font: 14px var(--body); padding: 0; border-radius: 8px; cursor: pointer; }
.ct-page .pt { font: 600 22px/1.2 var(--display); }
.ct-page .pt.ct-mt { font-size: 20px; }
.ct-instr { display: flex; flex-direction: column; gap: 4px; border-radius: 14px; border: 1px solid var(--ai-soft-line); background: var(--card); padding: 12px 14px; }
.ct-instr .pl { color: var(--ai); text-transform: none; }
.ct-instr .tx { font-size: 13.5px; line-height: 1.45; }
.ct-next { display: flex; flex-direction: column; gap: 6px; border-radius: 14px; border: 1px solid var(--primary-soft-line); background: var(--card); padding: 12px 14px; }
.ct-next .nm { font: 600 17px var(--body); }
.ct-next .co { font-size: 13px; color: var(--row-num); }
.ct-next .num { font-size: 14px; }
.ct-next .how { display: block; font-size: 13px; line-height: 1.4; }
.ct-next .how .ico { vertical-align: -3px; margin-right: 4px; }
.ct-two { display: flex; gap: 8px; padding-top: 4px; }
.ct-two .pb { flex: 2; }
.ct-two .pb2 { flex: 1; }
.ct-page .pb, .ct-page .pb2 { min-height: 44px; border-radius: 12px; font: 14px var(--body); display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; padding: 1px 6px; }
.ct-page .pb { min-height: 50px; border: 0; background: var(--primary); color: var(--on-primary); font: 600 15px var(--body); }
.ct-page .pb.off { background: var(--neutral-tag-soft); color: var(--text-muted); }
.ct-page .pb2 { border: 1px solid var(--pill-border); background: transparent; color: var(--text); }
.ct-page .ct-two .pb2 { min-height: 50px; }
.ct-page .pb2.done, .ct-page .pb2:disabled { color: var(--text-muted); border-color: var(--line); cursor: default; }
.ct-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ct-tiles.seven { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ct-tile { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 14px; border: 1px solid var(--card-line); background: var(--card); min-width: 0; }
.ct-tile > span { font-size: 13px; color: var(--text-muted); overflow-wrap: anywhere; }
.ct-tile b { font: 600 17px var(--mono); color: var(--text); white-space: nowrap; }
.ct-tile b.long { font-size: 14px; line-height: 20.5px; } /* "123/450" fits its tile at 375 px, as the Team tab's long values do (A13) */
.ct-tiles.seven b.long { font-size: 13px; }
.ct-tile small { font-size: 13px; color: var(--text-muted); }
.ct-tile .blue { color: var(--primary-text); }
.ct-tile .green { color: var(--success); }
.ct-tile .ai { color: var(--ai); }
.ct-tile .ink2 { color: var(--neutral-tag); }
.ct-listh { display: flex; align-items: baseline; gap: 8px; } /* "N left to call" on the heading's baseline, as his (F11) */
.ct-listh .r { font: 700 13px var(--body); color: var(--neutral-tag); }
/* His section headings have 8 px above them (F11). */
.ct-page .ct-h, .ct-listh, .cc .cc-head { padding-top: 8px; }
.ct-prog { height: 6px; border-radius: 3px; background: var(--sc-foot-line); overflow: hidden; }
.ct-prog i { display: block; height: 100%; background: var(--done-dot); }
.ct-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.ct-filters button { min-height: 44px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line); background: transparent; color: var(--text-muted); font: 13px var(--body); cursor: pointer; }
.ct-filters .on { background: var(--filter-on); color: var(--primary-line); border-color: var(--accent-line); }
.ct-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 4px 8px; }
.ct-row { display: flex; align-items: center; gap: 8px; padding: 7px 6px; border-bottom: 1px solid var(--card-line); min-height: 44px; } /* his rows' dividers (F11): #1C2640 dark */
.ct-row:last-child { border-bottom: 0; }
.ct-row.next { background: var(--role-tag-bg); border-radius: 10px; }
.ct-row .mid, .ct-mrow .mid { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ct-row .mid b, .ct-mrow .mid b { font: 600 13.5px var(--body); }
.ct-row .co, .ct-mrow .co { font-size: 13px; color: var(--text-muted); }
.ct-row .num, .ct-mrow .num { font-size: 13px; color: var(--row-num); }
.ct-row .num .ps { font-family: var(--body); }
.ct-row .note { font-size: 13px; line-height: 1.35; color: var(--ai); }
.ct-row .fu { font-size: 12.5px; color: var(--ai); }
.ct-tag { font: 600 12px var(--body); letter-spacing: 0.04em; padding: 4px 8px; border-radius: 6px; white-space: nowrap; flex: none; }
.ct-tag.sale { background: var(--tag-good-bg); color: var(--success); }
.ct-tag.int { background: var(--ai-tile); color: var(--ai); }
.ct-tag.cb { background: var(--role-tag-bg); color: var(--primary-text); }
.ct-tag.no { background: var(--neutral-tag-soft); color: var(--text-muted-on-tag); }
.ct-tag.na, .ct-tag.called { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.ct-tag.wr { background: var(--tag-bad-bg); color: var(--tag-bad); }
.ct-tag.next { background: var(--primary); color: var(--on-primary); }
.ct-tag.todo { background: transparent; color: var(--text-muted); box-shadow: inset 0 0 0 1px var(--line); }
.ct-tag.wait { background: var(--ai-tile); color: var(--ai); }
/* A link waiting: Send on WhatsApp, when the phone didn't open it from the tap (A2). */
.ct-wa { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; min-height: 44px; margin: -6px 0 -8px; color: var(--success); font: 600 13px var(--body); text-decoration: none; }
.ct-callic:disabled { opacity: 0.5; cursor: default; }
.ct-page .pb:disabled { opacity: 0.6; cursor: default; }
.ct-callic { width: 44px; height: 44px; flex: none; border-radius: 22px; border: 0; background: var(--primary-deep); color: var(--on-primary-deep); display: grid; place-items: center; cursor: pointer; }
.ct-add { display: flex; flex-direction: column; gap: 8px; border-radius: 14px; border: 1.5px solid var(--accent-line); background: var(--card); padding: 12px; }
.ct-add > b { font-size: 14px; }
.ct-page .fi { width: 100%; box-sizing: border-box; min-height: 44px; border-radius: 10px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--text); padding: 10px 12px; font: 14px var(--body); box-shadow: inset 0 2px 4px var(--input-inset); outline: none; }
.ct-page .fi:focus { border-color: var(--accent-line); box-shadow: inset 0 2px 4px var(--input-inset), 0 0 0 2px var(--accent-line); }
.ct-page textarea.fi { resize: vertical; line-height: 19.6px; min-height: 64px; }
/* A team task's page: its list in its own scroll, as his, and the daily brief. */
.ct-given { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ct-mlist { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 2px 10px; max-height: 346px; overflow-y: auto; }
.ct-mrow { display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; border: 0; border-bottom: 1px solid var(--card-line); background: transparent; color: var(--text); text-align: left; font-family: var(--body); width: 100%; }
button.ct-mrow { cursor: pointer; }
.ct-mrow:last-child { border-bottom: 0; }
.ct-mrow .note { font-size: 13px; line-height: 1.35; color: var(--text-muted); }
.ct-mrow .end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.ct-mrow .end .ct-tag { letter-spacing: 0.04em; }
.ct-mrow .end .num { font-size: 13px; color: var(--text-muted); }
.ct-brief { display: flex; flex-direction: column; gap: 7px; border-radius: 14px; border: 1px solid var(--primary-soft-line); background: var(--card); padding: 12px 14px; }
.ct-brief-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ct-brief-top .pl { color: var(--primary-text); }
.ct-days { display: flex; gap: 4px; }
.ct-days button { position: relative; min-height: 28px; padding: 0 8px; border-radius: 8px; font: 13px var(--body); cursor: pointer; background: transparent; color: var(--text-muted); border: 1px solid var(--line); }
.ct-days button::after { content: ""; position: absolute; inset: -8px 0; } /* a 44 px reach, as his v142fix does */
.ct-days .on { background: var(--primary); color: var(--on-primary); border: 0; font-weight: 600; }
.ct-brief-t { font-size: 13.5px; font-weight: 600; }
.ct-bl { display: flex; gap: 8px; font-size: 13px; line-height: 1.45; }
.ct-bl > span:first-child { width: 18px; flex: none; color: var(--text-muted); }
.ct-bnext { border-radius: 10px; background: var(--role-tag-bg); color: var(--primary-text); font-size: 13px; line-height: 1.45; padding: 8px 10px; }
.ct-fus { display: flex; flex-direction: column; }
.ct-fu { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--card-line); font-size: 13px; color: var(--text-muted); }
.ct-fu b { color: var(--text); font-weight: 600; }
.ct-fu .num { color: var(--ai); }
.ct-manage { display: flex; flex-direction: column; gap: 8px; }
.ct-page .compose { border-radius: 14px; border: 1.5px solid var(--accent-line); background: var(--card); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ct-page .compose > b { font-size: 14px; }
.ct-page .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ct-page .two button { min-height: 46px; border-radius: 12px; border: 0; font: 600 14px var(--body); cursor: pointer; }
.ct-page .b1 { background: var(--primary-deep); color: var(--on-primary-deep); }
.ct-page .b2 { background: var(--soft-fill); color: var(--primary-text); }
.ct-page .tv-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ct-page .tv-chips button { min-height: 44px; border: 1px solid var(--pill-border); background: transparent; color: var(--text); border-radius: 10px; padding: 0 12px; font: 13px var(--body); cursor: pointer; }
.ct-page .tv-empty { border: 1px dashed var(--field-line); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--text-muted); margin: 0; }
.ct-page .sm { font-size: 13px; color: var(--text-muted); }
/* After a call. */
.ct-page.ct-after { min-height: calc(100dvh - 40px); }
.ct-grow { flex: 1 0 8px; }
.ct-score { display: flex; gap: 12px; align-items: center; border-radius: 14px; border: 1px solid var(--ai-soft-line); background: linear-gradient(135deg, var(--pick-card) 0%, var(--ai-tile) 100%); padding: 12px 14px; }
.ct-ring { width: 64px; height: 64px; border-radius: 32px; display: grid; place-items: center; flex: none; background: var(--role-tag-bg); color: var(--primary-text); font: 600 24px var(--mono); }
.ct-sc { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ct-sc .pl { color: var(--ai); }
.ct-sc b { font: 600 15px var(--body); }
.ct-sc small { font-size: 13px; color: var(--text-muted); }
.ct-score.wait .ct-ring { color: var(--ai); background: var(--card); }
.ct-min { display: flex; flex-direction: column; gap: 5px; border-radius: 14px; border: 1px solid var(--card-line); background: var(--card); padding: 10px 12px; }
.ct-min .pl { color: var(--primary-text); }
.ct-min > span:not(.pl) { font-size: 13px; line-height: 1.45; }
.ct-link { align-self: flex-start; min-height: 44px; border: 0; background: transparent; color: var(--primary-text); font: 600 13px var(--body); padding: 0; cursor: pointer; }
.ct-oc { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ct-oc button { min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 13px var(--body); cursor: pointer; padding: 4px 6px; }
.ct-oc .on { border: 2px solid currentColor; font-weight: 600; }
.ct-oc .on.sale { background: var(--tag-good-bg); color: var(--success); }
.ct-oc .on.int { background: var(--ai-tile); color: var(--ai); }
.ct-oc .on.cb { background: var(--role-tag-bg); color: var(--primary-text); }
.ct-oc .on.no { background: var(--neutral-tag-soft); color: var(--text-muted-on-tag); }
.ct-oc .on.na { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.ct-oc .on.wr { background: var(--tag-bad-bg); color: var(--tag-bad); }
/* New call task. */
.cn-seg { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; border-radius: 12px; background: var(--screen); box-shadow: inset 0 0 0 1px var(--line); }
.cn-seg button { min-height: 44px; padding: 0 16px; border-radius: 9px; border: 0; background: transparent; color: var(--text-muted); font: 700 13px var(--body); display: flex; align-items: center; gap: 6px; cursor: pointer; }
.cn-seg .on { background: var(--soft-fill); color: var(--primary-text); box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.cn-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cn-chips button { min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--pill-border); background: transparent; color: var(--text); font: 13px var(--body); display: flex; align-items: center; gap: 6px; cursor: pointer; position: relative; }
.cn-chips button::after { content: ""; position: absolute; inset: -2px 0; }
.cn-chips .on { background: var(--primary); color: var(--on-primary); border-color: transparent; font-weight: 600; }
.cn-src { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cn-src button { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; text-align: left; min-height: 56px; padding: 9px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-family: var(--body); cursor: pointer; }
.cn-src button b { font: 600 13px var(--body); }
.cn-src button span { font-size: 13px; color: var(--text-muted); }
.cn-src .on { border: 2px solid var(--accent-line); background: var(--pick-card); }
.cn-file { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 1.5px dashed var(--pill-border); border-radius: 12px; font-size: 14px; color: var(--text); cursor: pointer; padding: 0 12px; text-align: center; }
.cn-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cn-map { display: flex; flex-direction: column; gap: 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); padding: 10px 12px; }
.cn-head { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; }
.cn-head input { width: 20px; height: 20px; }
.cn-col { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 2px 8px; align-items: center; font-size: 13px; }
.cn-col select { min-height: 44px; border-radius: 10px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--text); font: 13px var(--body); padding: 0 8px; }
.cn-col small { grid-column: 1 / -1; color: var(--text-muted); font-size: 12.5px; }
.cn-two { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.cn-two.goal { grid-template-columns: 1fr 90px; }
.cn-two label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cn-two label > span { font-size: 13px; color: var(--text-muted); }


/* ---------- The computer pages' frame (docs/computer-step7.md, Part A; js/desk.js) ----------
   His web back end (3-Screens/12a…12l, his prototype's frame): the left rail (68 px folded, 210 px open), the page
   with the Ask Blue bar on top, the bell and chat column on the right (56 px folded, 310 px open), the floating
   Ask Blue button. His values, read from his prototype's computed styles, light and dark, through the tokens.
   The app (.app) moves into the middle column; its phone tab bars aren't drawn here (the rail is the menu). */
body.desk-on { padding: 0; background: var(--screen); }
body.desk-on .tabbar { display: none !important; }
.desk { --dk-side: 56px; display: flex; align-items: flex-start; min-height: 100vh; background: var(--screen); }
.desk .app { max-width: none; margin: 0; }
/* The app's own pages keep a phone's width in the middle; the console's and the frame's own pages use it all. */
.desk .app > section:not(#v-admin):not(#v-desk) { max-width: 600px; margin-inline: auto; }
.desk #v-admin .console { display: block; }
.desk #v-admin .side { display: none; }

.dk-rail { position: sticky; top: 0; flex: none; width: 68px; height: 100vh; overflow-y: auto; box-sizing: border-box; padding: 22px 12px; display: flex; flex-direction: column; gap: 4px; background: var(--tabbar-bg); border-right: 1px solid var(--line); transition: width 0.18s ease; }
.dk-rail.open { width: 210px; }
.dk-rail button { font-family: var(--body); cursor: pointer; }
.dk-burger { align-self: center; width: 44px; height: 40px; margin-bottom: 6px; border: 0; border-radius: 10px; background: transparent; color: var(--text-muted); display: grid; place-items: center; padding: 0; }
.dk-icon { position: relative; align-self: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--text-muted); display: grid; place-items: center; padding: 0; }
.dk-icon.on { background: var(--primary-soft); box-shadow: inset 0 0 0 1.5px var(--accent-line); color: var(--text); }
.dk-num { position: absolute; top: 2px; right: 2px; font-family: var(--mono); font-size: 10px; line-height: 1.4; color: var(--primary-text); }
.dk-tagdot { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 4px; background: var(--primary); }
.dk-top { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.dk-search { flex: 1; min-width: 0; margin: 0; }
.dk-search input { width: 100%; box-sizing: border-box; min-height: 40px; padding: 10px 12px; font-family: var(--body); font-size: 13px; color: var(--text); background: var(--input-bg); border: 1.5px solid var(--pill-border); border-radius: 10px; box-shadow: inset 0 2px 4px var(--input-inset); }
.dk-fold { flex: none; width: 32px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--text-muted); display: grid; place-items: center; padding: 0; }
.dk-head { min-height: 34px; margin-top: 6px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-align: left; color: var(--rail-head); }
.dk-head.on { color: var(--text); }
.dk-sum { font-family: var(--mono); font-size: 11px; letter-spacing: 0; color: var(--primary-text); }
.dk-item { min-height: 40px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 12px 0 32px; border: 0; border-radius: 10px; background: transparent; color: var(--text-muted); font-size: 14px; text-align: left; }
.dk-item.on { background: var(--primary-soft); color: var(--text); }
.dk-item:hover:not(.on), .dk-head:hover, .dk-soon:hover { background: var(--filter-on); }
.dk-item > span:first-child { min-width: 0; }
/* A tag as his: mono, muted, as narrow as its longest word, so it wraps under itself ("SET" over "UP") before the entry's name does. */
.dk-badge { flex: none; width: min-content; font-family: var(--mono); font-size: 12px; color: var(--text-muted); text-align: right; }
.dk-chev { display: inline-grid; transition: transform 0.15s ease; }
.dk-chev.open { transform: rotate(90deg); }
.dk-foot { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; }
.dk-foot .lang-switch button { font-size: 12px; padding: 5px 8px; }
.dk-soon { min-height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text-muted); font-size: 13px; text-align: left; }

.dk-main { flex: 1; min-width: 0; box-sizing: border-box; padding: 24px 28px 96px; display: flex; flex-direction: column; gap: 16px; }
.dk-ask { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 10px 12px 10px 14px; border-radius: 14px; border: 2px solid var(--ai-violet); background: var(--ai-card); box-shadow: 0 10px 30px var(--ask-glow); color: var(--text-muted); font-family: var(--body); cursor: text; }
.dk-ask-mic { flex: none; width: 34px; height: 34px; border-radius: 17px; background: var(--talk-gradient); color: var(--on-primary); display: grid; place-items: center; }
.dk-ask-t { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-ask kbd { font: 600 11px var(--mono); border: 1.5px solid var(--field-line); border-radius: 6px; padding: 2px 6px; color: var(--text-muted); }
.dk-host { min-width: 0; }
.dk-later { max-width: 720px; }

.dk-fab { position: fixed; z-index: 30; bottom: 22px; right: calc(var(--dk-side) + 28px); height: 52px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.dk-fab-c { height: 50px; display: flex; align-items: center; gap: 8px; padding: 0 18px 0 14px; border-radius: 25px; background: var(--talk-gradient); color: var(--on-primary); box-shadow: 0 10px 24px var(--ask-fab-glow); font: 600 14px var(--body); white-space: nowrap; }

/* Step 8, part C (docs/website-step8.md): the computer's tour, as his DEMO's back-end tour (bt116), light and dark through
   the tokens: his card 16 px from the rail's edge and 20 px up (330 px inside, a 1.5 px blue line, 16 px corners, 12/14 px
   in, his shadow), the 9999 px dim round the lit spot (14 px corners, his 2 px blue outline 2 px out), the tip 300 px
   inside (18 px corners, 16 px in, 8 px between), his 11 px step line, 16 px title, 13.5 px words, 7 px dots (18 px for this one) and
   40 px buttons (700 13 px, 10 px corners, a 1.5 px line; the main one filled), and his Tour button (36 px, 12 px, 0.85). */
.dtr { font-family: var(--body); color: var(--text); }
.dtr button { font: 700 13px var(--body); min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--field-line); background: transparent; color: var(--text); cursor: pointer; }
.dtr .dtr-p { background: var(--primary-deep); border-color: var(--primary-deep); color: var(--on-primary-deep); }
.dtr .dtr-sk { border: 0; color: var(--text-muted); font-weight: 600; padding: 0 6px; }
.dtr-btn, .dtr-ban { position: fixed; z-index: 50; left: 84px; bottom: 20px; }
.desk:has(.dk-rail.open) .dtr-btn, .desk:has(.dk-rail.open) .dtr-ban { left: 226px; }
/* Only on the frame's own pages: a page of the app opened in the middle (the six questions, a call, minutes) has its own foot. */
.desk:has(#v-desk[hidden]) .dtr-btn, .desk:has(#v-desk[hidden]) .dtr-ban { display: none; }
.dtr .dtr-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 12px; background: var(--card); opacity: 0.85; }
.dtr .dtr-btn:hover { opacity: 1; }
.dtr-ban { width: 330px; max-width: calc(100vw - 132px); box-sizing: content-box; background: var(--card); border: 1.5px solid var(--accent-line); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 30px var(--dtour-card-shadow); }
.dtr-bt { font-size: 14.5px; }
.dtr-bs { font-size: 12.5px; color: var(--neutral-tag); }
.dtr-row { display: flex; align-items: center; gap: 8px; }
.dtr-tip .dtr-row { gap: 6px; margin-top: 4px; }
.dtr-catch { position: fixed; inset: 0; z-index: 70; }
.dtr-spot { position: fixed; z-index: 71; border-radius: 14px; box-shadow: 0 0 0 9999px var(--dtour-dim); outline: 2px solid var(--accent-line); outline-offset: 2px; transition: all 0.35s ease; pointer-events: none; }
.dtr-tip { position: fixed; z-index: 72; width: 300px; box-sizing: content-box; background: var(--card); border: 1px solid var(--field-line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 18px 40px var(--tour-shadow); transition: all 0.35s ease; }
.dtr-k { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-text); }
.dtr-h { font-size: 16px; }
.dtr-dh { font-size: 17px; }
.dtr-tip p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--neutral-tag); }
.dtr-ai { display: inline-block; vertical-align: 1px; font-size: 10px; font-weight: 700; line-height: normal; background: var(--ai-fill); color: var(--on-primary); border-radius: 5px; padding: 2px 6px; margin-left: 6px; letter-spacing: 0; text-transform: none; }
.dtr-dots { display: flex; gap: 5px; flex: 1; }
.dtr-dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--field-line); }
.dtr-dots i.on { width: 18px; background: var(--primary-deep); }
.dtr-dim { position: fixed; inset: 0; z-index: 70; background: var(--dtour-dim); display: grid; place-items: center; }
.dtr-tip.dtr-end { position: static; width: 340px; }
.desk.dtr-nofab .dk-fab { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .dtr-spot, .dtr-tip { transition: none; } }

.dk-side { position: sticky; top: 0; flex: none; width: 56px; height: 100vh; box-sizing: border-box; background: var(--tabbar-bg); border-left: 1px solid var(--card-line); display: flex; flex-direction: column; color: var(--text); font-family: var(--body); }
.dk-side.closed { align-items: center; gap: 10px; padding-top: 16px; overflow-y: auto; }
.dk-side.chat, .dk-side.bell { width: 310px; }
.dk-side button { font-family: var(--body); cursor: pointer; }
.dk-plain, .dk-bell { position: relative; border: 0; background: transparent; color: var(--text-muted); padding: 2px; display: grid; place-items: center; min-width: 30px; min-height: 30px; }
.dk-bell { color: var(--text); }
.dk-red { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; box-sizing: border-box; padding: 0 4px; border-radius: 9px; background: var(--danger-fill); color: var(--on-primary); font: 700 11px/18px var(--body); text-align: center; }
.dk-face { border: 0; background: transparent; padding: 0; }
.dk-av { flex: none; width: var(--av); height: var(--av); border-radius: 50%; display: grid; place-items: center; background: var(--soft-fill); color: var(--primary-text); font: 700 12px var(--body); }
.dk-av.team { background: var(--ai-tile); color: var(--ai); }
.dk-side-hd { display: flex; align-items: center; gap: 8px; padding: 16px 14px 8px; }
.dk-side-hd b { font-size: 16px; font-weight: 600; }
.dk-side-hd .dk-bell { margin-right: 12px; }
.dk-line { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dk-chats { display: flex; flex-direction: column; gap: 2px; padding: 0 8px 8px; border-bottom: 1px solid var(--line); max-height: 40vh; overflow-y: auto; }
.dk-chat { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 0; border-radius: 10px; background: transparent; color: var(--text); text-align: left; }
.dk-chat.on { background: var(--primary-soft); }
.dk-chat-m { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dk-chat-n { font-size: 12.5px; font-weight: 600; }
.dk-chat-s { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-un { color: var(--primary); font-size: 18px; line-height: 1; }
.dk-chat-hd { display: flex; align-items: center; gap: 8px; padding: 10px 14px 6px; }
.dk-chat-hd b { font-size: 14px; font-weight: 600; }
.dk-call { flex: none; min-height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--call-pill); color: var(--on-primary); font-size: 12.5px; font-weight: 600; }
.dk-scroll { flex: 1; min-height: 0; overflow-y: auto; }
.dk-msgs { padding: 4px 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.dk-msg { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.dk-msg.mine { align-items: flex-end; }
.dk-msg-at { font-size: 12px; color: var(--text-muted); }
.dk-bub { max-width: 240px; padding: 8px 10px; border-radius: 12px; font-size: 12.5px; line-height: 1.4; background: var(--note-fill); border: 1px solid var(--card-line); color: var(--text); overflow-wrap: anywhere; }
.dk-msg.mine .dk-bub { background: var(--task-card); border-color: var(--primary-soft-line); }
.dk-sys { margin: 0; font-size: 12px; color: var(--text-muted); text-align: center; }
.dk-say { display: flex; gap: 6px; margin: 0; padding: 10px 12px 14px; border-top: 1px solid var(--line); }
.dk-say input { flex: 1; min-width: 0; min-height: 38px; box-sizing: border-box; padding: 10px 12px; font: 12.5px var(--body); color: var(--text); background: var(--input-bg); border: 1.5px solid var(--input-border); border-radius: 10px; box-shadow: inset 0 2px 4px var(--input-inset); }
.dk-send { min-height: 38px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--primary); color: var(--on-primary); font-size: 12.5px; font-weight: 600; }
.dk-empty { padding: 14px 8px; margin: 0; }
.dk-link { border: 0; background: transparent; color: var(--primary-text); font-size: 12.5px; font-weight: 600; padding: 4px 0; }
.dk-notes { padding: 6px 8px; display: flex; flex-direction: column; gap: 2px; }
.dk-note { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border: 0; border-radius: 10px; background: transparent; color: var(--text); text-align: left; font-family: var(--body); }
.dk-note > .ico { width: 22px; flex: none; margin-top: 1px; }
.dk-note.fresh { background: var(--primary-soft); }
.dk-note-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dk-note-t { font-size: 13px; line-height: 1.35; }
.dk-note-at { font-size: 12px; color: var(--text-muted); }
.dk-dot { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 4px; background: var(--primary); visibility: hidden; }
.dk-note.fresh .dk-dot { visibility: visible; }
.dk-side-ft { padding: 10px 14px; border-top: 1px solid var(--line); }
.dk-back { width: 100%; min-height: 38px; font-size: 14px; font-weight: 400; border: 1.5px solid var(--pill-border); background: transparent; }

.dk-panel { position: fixed; inset: 0; z-index: 55; }
.dk-dim { position: absolute; inset: 0; border: 0; padding: 0; background: var(--shade-hub); cursor: default; }
.dk-sheet { position: absolute; top: 12px; bottom: 12px; right: 0; width: 440px; max-width: 100%; box-sizing: border-box; padding: 8px 14px 16px; display: flex; flex-direction: column; gap: 10px; border-radius: 22px 0 0 22px; background: var(--screen); color: var(--text); box-shadow: 0 -10px 30px var(--sheet-shadow); font-family: var(--body); }
.dk-sheet p { margin: 0; font-size: 14px; line-height: 1.5; }
.dk-sheet-hd { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.dk-sheet-hd b { font-size: 16px; font-weight: 700; }
.dk-sheet-ic { width: 30px; height: 30px; border-radius: 15px; display: grid; place-items: center; background: var(--soft-fill); color: var(--primary-text); }
.dk-x { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line); background: transparent; color: var(--text-muted); display: grid; place-items: center; cursor: pointer; padding: 0; }
/* Step 7, Part B: Ask Blue's panel, as his prototype's Ask sheet (a105ov) draws it, value by value: the chips, the
   feed (the question on the deep blue, the answer's card, its sources on the soft blue), the actions, the tasks to
   check, the box, listening and a source read-only with its lines marked. */
.dk-bk { display: inline-flex; align-items: center; gap: 2px; border: 0; background: transparent; color: var(--primary-text); font: 600 14px var(--body); min-height: 44px; padding: 0 4px; cursor: pointer; }
.dk-talk { font-size: 13px; padding: 0 4px; min-height: 44px; cursor: pointer; }
.dk-chips { display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.dk-chips button { font: 500 12.5px var(--body); min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-muted); background: transparent; cursor: pointer; text-align: left; }
.dk-chips button.on { background: var(--soft-fill); color: var(--primary-text); border-color: transparent; font-weight: 600; }
.dk-feed { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; }
.dk-feed > .dk-chips { margin-bottom: 2px; }
.dk-lbl { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--text-muted); text-transform: uppercase; }
.dk-feed > .dk-lbl { margin-top: 4px; }
.dk-me { align-self: flex-end; background: var(--primary-deep); color: var(--on-primary-deep); border-radius: 16px 16px 4px 16px; padding: 9px 12px; font-size: 14px; max-width: 86%; line-height: 1.4; overflow-wrap: anywhere; }
.dk-me .ico { vertical-align: -2px; }
.dk-ai { display: flex; gap: 8px; align-items: flex-start; }
.dk-ai-ic { flex: none; width: 28px; height: 28px; border-radius: 14px; }
.dk-abub { background: var(--card); border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; padding: 10px 12px; font-size: 13.5px; line-height: 1.45; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.dk-sheet .dk-abub p { font-size: inherit; line-height: inherit; }
.dk-wait { color: var(--text-muted); }
.dk-src { display: inline-flex; align-items: center; gap: 5px; margin: 7px 4px 0 0; font: 600 12px var(--body); color: var(--primary-text); background: var(--soft-fill); border-radius: 8px; padding: 0 9px; min-height: 32px; border: 0; cursor: pointer; text-align: left; }
.dk-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.dk-acts button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 600 13px var(--body); min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--field-line); background: transparent; color: var(--text); cursor: pointer; }
.dk-acts button.p { background: var(--primary-deep); border-color: var(--primary-deep); color: var(--on-primary-deep); }
.dk-acts button:disabled { cursor: default; }
.dk-acts.dk-mid { justify-content: center; flex-shrink: 0; margin-top: 0; }
.dk-ok { display: inline-flex; align-items: center; gap: 5px; color: var(--success); font-weight: 600; font-size: 13px; }
.dk-conf { border: 1.5px solid var(--accent-line); border-radius: 14px; background: var(--screen); padding: 4px 12px; margin-top: 8px; }
.dk-conf div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.dk-conf div:last-child { border: 0; }
.dk-conf span + span { color: var(--text-muted); text-align: right; flex: none; max-width: 45%; }
.dk-inp { display: flex; align-items: center; gap: 8px; border: 1px solid var(--field-line); background: var(--card); border-radius: 14px; padding: 6px 6px 6px 12px; flex-shrink: 0; }
.dk-inp input { flex: 1; min-width: 0; border: 0; background: transparent; font: 14px var(--body); color: var(--text); min-height: 36px; outline: none; padding: 0; box-shadow: none; }
.dk-go { width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--primary-deep); color: var(--on-primary-deep); display: grid; place-items: center; flex-shrink: 0; cursor: pointer; padding: 0; }
.dk-go.soft { background: var(--soft-fill); color: var(--primary-text); }
.dk-listen { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; align-items: center; text-align: center; }
.dk-big { width: 88px; height: 88px; border-radius: 44px; background: var(--primary-deep); color: var(--on-primary-deep); display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; animation: dk-pulse 1.2s ease-out infinite; }
.dk-wave { display: flex; gap: 4px; align-items: center; height: 56px; }
.dk-wave i { width: 5px; height: 8px; border-radius: 3px; background: var(--primary); animation: dk-wv 0.9s ease-in-out infinite; }
.dk-live { font-size: 17px; line-height: 1.4; font-weight: 600; padding: 0 8px; min-height: 48px; }
.dk-live em { color: var(--text-muted); font-style: normal; font-weight: 500; }
.dk-lst { display: inline-flex; align-items: center; gap: 6px; color: var(--danger); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; }
.dk-lst-dot { width: 8px; height: 8px; border-radius: 4px; background: currentColor; }
.dk-ps { color: var(--text-muted); font-size: 13px; line-height: 1.45; }
.dk-ps.dk-mid { text-align: center; }
.dk-min { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; font-size: 13.5px; line-height: 1.5; display: flex; flex-direction: column; gap: 8px; }
.dk-min b { font-size: 16px; }
.dk-min mark { background: var(--soft-fill); color: var(--text); border-radius: 4px; padding: 0 3px; }
@keyframes dk-pulse { 0% { box-shadow: 0 0 0 0 var(--ask-pulse); } 100% { box-shadow: 0 0 0 16px transparent; } }
@keyframes dk-wv { 0%, 100% { height: 8px; } 50% { height: 48px; } }
@media (prefers-reduced-motion: reduce) { .dk-big, .dk-wave i { animation: none; } }

/* Step 7, Part C: the computer's Overview and Team performance (docs/computer-step7.md, js/desk-overview.js), value by
   value as his prototype's back end computes them, light and dark: "What Blue noticed today" (vai-ins), the Team
   performance card (.t140link), the title and LIVE tag, the team card (st147, s147), "Get your team calling", Needs
   attention, Who reports to whom, the Supervisor's work, and Team performance (t140-desk). It sits in .t140 for the
   Team tab's own pieces (the period switch, the person's panel, the box). */
.t140.dko { gap: 16px; }
.dko button { font-family: var(--body); cursor: pointer; }
.dko .grow { flex: 1; min-width: 0; }
.dko-quiet { margin: 0; font-size: 12.5px; color: var(--text-muted); }
.dko-ps { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.dko-ins { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.dko-h { font: 600 12px var(--body); letter-spacing: 0.07em; text-transform: uppercase; color: var(--ai); display: flex; align-items: center; gap: 6px; }
.dko-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dko-c { border-radius: 14px; background: var(--card); border: 1.5px solid var(--line); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.dko-c > b { font-size: 14px; font-weight: 700; }
.dko-c > span:not(.dko-tg) { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
.dko-tg { align-self: flex-start; font: 600 12.5px/1.45 var(--body); letter-spacing: 0.04em; padding: 3px 7px; border-radius: 6px; }
.dko-tg.COACH, .dko-tg.TIP { background: var(--ai-card); color: var(--ai); }
.dko-tg.TREND, .dko-tg.READY { background: var(--primary-soft); color: var(--primary-text); }
.dko-tg.OVERDUE { background: var(--tag-bad-bg); color: var(--tag-bad); }
.dko-tg.GOOD { background: var(--tag-good-bg); color: var(--success); }
.dko-c > button { align-self: flex-start; margin-top: auto; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--field-line); background: transparent; color: var(--text); font: 600 12.5px var(--body); }
.dko-c > button.is-done { border-color: var(--tag-good-bg); color: var(--success); cursor: default; }
.dko-compose { margin-top: 4px; }
.dko-link { display: flex; align-items: center; gap: 12px; border-radius: 16px; border: 1.5px solid var(--accent-line); background: var(--card); padding: 14px 16px; margin-bottom: 14px; color: var(--text); width: 100%; text-align: left; }
.dko-link-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--soft-fill); color: var(--primary-text); display: grid; place-items: center; flex-shrink: 0; }
.dko-link b { font-size: 15px; font-weight: 700; }
.dko-link small { display: block; color: var(--text-muted); font-size: 12.5px; }
.dko-go { margin-left: auto; color: var(--primary-text); font-weight: 600; font-size: 13.5px; }
.dko-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dko-top > span:first-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dko-title { font: 600 26px var(--display); margin: 0; color: var(--text); }
.dko-sub { font-size: 13px; color: var(--text-muted); }
.dko-tag { font: 600 12px var(--body); letter-spacing: 0.04em; border-radius: 6px; padding: 4px 7px; white-space: nowrap; flex-shrink: 0; }
.dko-tag.lv-ok { background: var(--tag-good-bg); color: var(--success); }
.dko-tag.lv-mid { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.dko-tag.lv-bad { background: var(--tag-bad-bg); color: var(--tag-bad); }
.dko-tag.lv-none { background: var(--neutral-tag-soft); color: var(--text-muted-on-tag); }
.dko-pc { background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; }
.dko-pc.blue { border: 1.5px solid var(--accent-line); }
.dko-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.dko-col { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.dko-col2 { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dko-col0 { display: flex; flex-direction: column; min-width: 0; }
.dko-pl { font: 600 12px var(--body); letter-spacing: 0.07em; color: var(--primary-text); }
.dko-b18 { font-size: 18px; font-weight: 700; }
.dko-ps13 { font-size: 13px; color: var(--text-muted); }
.dko-btns { display: flex; gap: 8px; flex-shrink: 0; }
.dko-b1 { min-height: 44px; border-radius: 12px; border: 0; background: var(--primary); color: var(--on-primary); font: 600 14px var(--body); padding: 0 18px; }
.dko-b2 { min-height: 44px; border-radius: 12px; border: 1.5px solid var(--pill-border); background: transparent; color: var(--text); font: 400 13.5px var(--body); padding: 0 16px; white-space: nowrap; }
.dko-b2.s36 { min-height: 36px; padding: 0 14px; font-size: 13px; }
.dko-b2.xs { min-height: 32px; padding: 0 10px; font-size: 12px; flex-shrink: 0; }
.dko-b2.xh { min-height: 36px; padding: 0 10px; font-size: 12.5px; flex-shrink: 0; margin-left: 6px; }
.dko-b2.xr { min-height: 34px; padding: 0 12px; font-size: 12.5px; }
.dko-b1.s36 { min-height: 36px; font-size: 13px; padding: 0 10px; margin-top: auto; }
.dko-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dko-steps > span { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 12px; font: 600 13.5px var(--body); border: 1px solid var(--line); color: var(--text-muted); box-sizing: border-box; }
.dko-steps i { font-style: normal; width: 24px; height: 24px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; font: 600 12px var(--mono); background: var(--primary-soft); color: var(--primary-text); }
.dko-steps > span.is-done { color: var(--success); }
.dko-steps > span.is-done i { background: var(--success-soft); color: var(--success); }
.dko-steps > span.cur { border-color: var(--primary); color: var(--text); background: var(--primary-soft); }
.dko-steps > span.cur i { background: var(--primary); color: var(--on-primary); }
.dko-calling { gap: 10px; }
.dko-bar { height: 6px; border-radius: 3px; background: var(--card-line); overflow: hidden; }
.dko-bar > i { display: block; height: 100%; background: var(--primary); }
.dko-emp .dko-bar > i.lv-ok { background: var(--done-dot); }
.dko-emp .dko-bar > i.lv-mid { background: var(--neutral-tag); }
.dko-emp .dko-bar > i.lv-bad, .dko-emp .dko-bar > i.lv-none { background: var(--danger); }
.dko-gs { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 10px; }
/* Too narrow for four in a row with their buttons on one line (French at 1024 px): two by two (step 8's checkpoint). */
.dko-calling { container-type: inline-size; }
@container (max-width: 1080px) { .dko-gs { grid-template-columns: repeat(min(var(--n, 4), 2), minmax(0, 1fr)); } }
.dko-gstep .dko-b1.s36 { white-space: nowrap; }
.dko-gstep { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; background: var(--note-fill); }
.dko-gstep > b { font-size: 14px; font-weight: 700; line-height: 1.3; }
.dko-gstep.is-done > b { text-decoration: line-through; opacity: 0.6; }
.dko-mark { width: 28px; height: 28px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font: 700 13px var(--body); background: var(--soft-fill); color: var(--primary-text); }
.dko-gstep.is-done .dko-mark { background: var(--tag-good-bg); color: var(--success); }
.dko-fresh { padding: 34px; gap: 10px; align-items: center; text-align: center; border-style: dashed; }
.dko-fresh > b { font-size: 18px; }
.dko-fresh .dko-ps { max-width: 520px; line-height: 1.5; font-size: 13px; }
.dko-fresh-ic { color: var(--text-muted); }
.dko-fresh .dko-b1 { padding: 0 22px; margin-top: 6px; }
.dko-att { padding: 16px 18px; gap: 6px; border-color: var(--field-line); }
.dko-ahd { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dko-atitle { font-size: 17px; font-weight: 600; }
.dko-flag { display: flex; gap: 6px; align-items: center; }
.dko-flag button { min-height: 36px; padding: 0 12px; border-radius: 999px; font: 400 12.5px var(--body); border: 1.5px solid var(--pill-border); background: transparent; color: var(--text); }
.dko-flag button.on { background: var(--primary); border: 0; color: var(--on-primary); font-weight: 600; }
.dko-agrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.dko-arow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--card-line); }
.dko-aic { color: var(--text-muted); display: grid; place-items: center; flex-shrink: 0; }
.dko-am { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dko-at { font-size: 13.5px; font-weight: 600; }
.dko-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.dko-cols.one { grid-template-columns: minmax(0, 1fr); }
.dko-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dko-ohd { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dko-adm { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--note-fill); }
.dko-av { width: 34px; height: 34px; border-radius: 17px; background: var(--soft-fill); color: var(--primary-text); display: flex; align-items: center; justify-content: center; font: 700 12px var(--body); flex-shrink: 0; }
.dko-av.big { width: 40px; height: 40px; border-radius: 20px; font-size: 16px; }
.dko-av.pri { background: var(--primary); color: var(--on-primary); }
.dko-nm { font-size: 15px; font-weight: 600; }
.dko-stem { margin-left: 30px; width: 2px; height: 14px; background: var(--org-stem); }
.dko-sup { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; border: 1.5px solid var(--accent-line); background: var(--lead-card); }
.dko-r { display: flex; align-items: center; gap: 12px; }
.dko-emp .dko-r { gap: 10px; }
.dko-end { display: flex; justify-content: flex-end; }
.dko-lk { border: 0; background: transparent; color: var(--primary-text); font: 600 13px var(--body); min-height: 32px; padding: 1px 6px; text-align: left; }
.dko-emps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-left: 30px; padding-left: 16px; border-left: 2px solid var(--org-stem); }
.dko-emp { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: var(--note-fill); }
.dko-en { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dko-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dko-nums > span { display: flex; flex-direction: column; min-width: 0; }
.dko-nums b { font: 600 16px var(--mono); white-space: nowrap; }
.dko-work { gap: 10px; }
.dko-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.dko-tiles > span { display: flex; flex-direction: column; padding: 8px; border-radius: 10px; background: var(--note-fill); }
.dko-tiles b { font: 600 18px var(--mono); }
.dko-wrow { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; border-top: 1px solid var(--card-line); font-size: 13px; }
/* Team performance (his t140-desk). */
.dko-perf .dko-lk.back { font-size: 13.5px; min-height: 36px; align-self: flex-start; }
.dko-perf > .tv-row { gap: 8px; }
.dko-perf .tv-seg button { min-height: 36px; }
.dko-kp5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.dko-kp5 > div { border-radius: 14px; background: var(--card); border: 1px solid var(--line); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dko-kp5 b { font: 600 22px var(--mono); white-space: nowrap; }
.dko-kp5 small { font-size: 12px; color: var(--text-muted); }
.dko-kp5 small.chg { font-weight: 600; }
/* The Overview's tiles, his (step 7's checkpoint, L3): 14 px corners, 10 × 12 padding, the number in mono 20/600. */
.dko-kp4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; }
.dko-kp4 > div { border-radius: 14px; background: var(--card); border: 1px solid var(--card-line); padding: 10px 12px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.dko-kp4 b { font: 600 20px var(--mono); color: var(--text); white-space: nowrap; }
.dko-pcols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.dko-box { border-radius: 16px; background: var(--card); border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dko-bhd { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dko-bhd b { font: 600 18px var(--display); }
.dko-bhd small { color: var(--text-muted); font-size: 12.5px; }
.dko-tw { overflow-x: auto; }
.dko-perf table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dko-perf th { text-align: left; font: 600 11px var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.dko-perf td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dko-perf tr:last-child td { border-bottom: 1px solid var(--line); }
.dko-perf tr.sup td { background: var(--primary-soft); }
.dko-perf tr.ind td:first-child { padding-left: 28px; }
.dko-perf tbody tr { cursor: pointer; }
.dko-perf tr.sel td { box-shadow: inset 0 0 0 9999px var(--row-pick); }
.dko-perf tr:focus-visible { outline: 2px solid var(--accent-line); outline-offset: -2px; }
.dko-perf td.mono { font-family: var(--mono); font-weight: 600; }
.dko-perf .dko-mb { width: 90px; }
.dko-perf .dko-box .ai .dko-lk { font-size: 13.5px; min-height: 36px; align-self: flex-start; }
.dko-perf .dko-box .pr .num small { font-family: var(--mono); }

/* ---------- step 7, Part D: Roles, seats and Teams on the computer (js/desk-roles.js, js/desk-teams.js) ----------
   As Anthony's 12c and his prototype's Roles and Teams, through the tokens. */
.dkr, .dkt { display: flex; flex-direction: column; gap: 16px; }
.dkr-mono { font: 400 13px var(--mono); color: var(--text-muted); white-space: nowrap; }
.dkr-mono.blue { color: var(--primary-text); font-size: 12.5px; }
.dkr-h { font-size: 17px; font-weight: 600; }
.dkr-add { border: 1.5px solid var(--accent-line); gap: 14px; }
.dkr-add .dkr-h { font-size: 18px; font-weight: 700; }
/* His Roles' help lines: 13 px, 1.45, and the role's line in the darker grey (checkpoint L14). */
.dkr .dko-ps, .dkr .dko-ps13 { font-size: 13px; line-height: 1.45; }
.dkr .dko-pl { letter-spacing: 0.08em; }
.dkr-c > .dko-ps.role { color: var(--neutral-tag); }
.dkr-addhd { align-items: flex-start; }
.dkr-g { display: grid; grid-template-columns: 1.25fr 1fr 0.9fr; gap: 18px; align-items: start; }
.dkr-c { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dkr-n { display: flex; align-items: center; gap: 8px; font: 600 14px var(--body); color: var(--text); }
.dkr-n i { font-style: normal; width: 24px; height: 24px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; font: 600 12px var(--mono); background: var(--primary-soft); color: var(--primary-text); }
.dkr-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dkr-roles button { min-height: 46px; border-radius: 12px; border: 1px solid var(--pill-border); background: transparent; color: var(--text); font: 600 13.5px/1.2 var(--body); padding: 1px 6px; cursor: pointer; }
.dkr-roles button.on { background: var(--soft-fill); color: var(--primary-text); border-color: transparent; box-shadow: inset 0 0 0 1px var(--accent-line); }
.dkr-send { min-height: 48px; font-size: 15px; width: 100%; }
.dkr-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dkr-chips button { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--field-line); background: transparent; color: var(--text); font: 400 12.5px var(--body); cursor: pointer; }
.dkr-chips button.on { border-color: transparent; background: var(--soft-fill); color: var(--primary-text); box-shadow: inset 0 0 0 1.5px var(--accent-line); font-weight: 600; }
.dkr-chips button:disabled { opacity: 0.5; cursor: default; }
.dkr-chips .dkr-del, .dkr-del { color: var(--danger-text); }
.dkr-plan { gap: 10px; padding: 14px; border-color: var(--sub-card-line); }
.dkr-st { font: 700 12px var(--body); letter-spacing: 0.06em; border-radius: 999px; padding: 3px 9px; border: 1px solid currentColor; }
.dkr-st.ok { color: var(--success); background: var(--tag-good-bg); }
.dkr-st.blue { color: var(--primary-text); background: var(--primary-soft); }
.dkr-st.bad { color: var(--tag-bad); background: var(--tag-bad-bg); }
.dkr-st.mid { color: var(--neutral-tag); background: var(--neutral-tag-soft); }
.dkr-big { display: flex; align-items: baseline; gap: 8px; }
.dkr-big b { font: 700 28px var(--body); }
.dkr-bar { height: 8px; border-radius: 4px; background: var(--card-line); overflow: hidden; }
.dkr-bar i { display: block; height: 100%; background: var(--accent-line); }
.dkr-bar.full i { background: var(--pill-border); }
.dkr-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dkr-tiles > span { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--note-fill); }
.dkr-tiles b { font: 700 18px var(--body); color: var(--neutral-tag); }
.dkr-tiles b.ok { color: var(--success); }
.dkr-tiles b.blue { color: var(--free-seat); }
.dkr-note { display: block; padding: 8px 10px; border-radius: 8px; background: var(--note-fill); font-size: 13px; color: var(--text); line-height: 1.45; }
/* Roles' "All seats are used" (his, checkpoint L19), and a Supervisor's billing line (his grey note). */
.dkr-plan .dkr-note { border-radius: 10px; background: var(--seat-note); font-size: 12.5px; color: var(--neutral-tag); }
.dkr > .dkr-note { border-radius: 10px; color: var(--text-muted); }
.dkr-pbtns .dko-b1 { min-height: 36px; font-size: 15px; padding: 0 16px; }
.dkr-pbtns .dko-b2 { min-height: 36px; font-size: 14px; padding: 0 14px; border-width: 1px; }
.dkr-pbtns { flex-wrap: wrap; }
.dkr-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.dkr-left, .dkr-right { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dkr-team { gap: 8px; padding: 12px; }
.dkr-team .dkr-h { font-size: 15px; }
.dkr-seat { border: 1px solid var(--field-line); background: var(--note-fill); gap: 8px; padding: 12px 14px; }
.dkr-seat > b { font-size: 14px; font-weight: 700; line-height: 1.35; display: flex; align-items: center; gap: 6px; }
/* The seat cards' picks (1 · 2 · 3 · 5 · 10, a Supervisor's +1 · +2 · +5) and buttons, his (checkpoint L22, L17). */
.dkr-seat .dkr-chips button { min-width: 44px; min-height: 38px; padding: 1px 6px; border-radius: 999px; border: 1px solid var(--field-line); background: transparent; color: var(--neutral-tag); font: 600 14px var(--body); }
.dkr-seat .dkr-chips button.on { border-color: transparent; background: var(--soft-fill); color: var(--primary-text); box-shadow: inset 0 0 0 1.5px var(--accent-line); font-weight: 700; }
.dkr-seat .dko-btns .dko-b1 { flex: 2; min-height: 40px; font-size: 15px; }
.dkr-seat .dko-btns .dko-b2 { flex: 1; min-height: 40px; font-size: 14px; }
/* One card a Supervisor, her requests inside it (step 7's checkpoint): a line between them. */
.dkr-seat-sep { display: block; height: 1px; margin: 4px 0; background: var(--field-line); }
.dkr-row { padding: 10px 12px; gap: 6px; }
.dkr-row.wait { border-style: dashed; }
.dkr-who { display: flex; align-items: center; gap: 10px; }
.dkr-who > .dko-col0 { flex: 1; }
.dkr-who b { font-size: 14px; font-weight: 600; }
.dkr-av { width: 34px; height: 34px; border-radius: 17px; flex-shrink: 0; display: grid; place-items: center; font: 600 12px var(--body); background: var(--neutral-tag-soft); color: var(--text); }
.dkr-av.sm { width: 30px; height: 30px; border-radius: 15px; font-size: 11px; }
.dkr-tag { font: 600 12px var(--body); border-radius: 6px; padding: 4px 8px; background: var(--neutral-tag-soft); color: var(--neutral-tag); white-space: nowrap; flex-shrink: 0; }
.dkr-since { font-size: 12px; color: var(--text-muted); }
.dkr-since.on { color: var(--success); }
.dkr-vis { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--neutral-tag); line-height: 1.4; }
/* A person's role chips (his: grey when picked) and Send again (44 px, 600, blue), checkpoint L20, L21. */
.dkr-row .dkr-chips button[data-dkr-setrole] { min-height: 34px; font-size: 12px; color: var(--text-muted); }
.dkr-row .dkr-chips button[data-dkr-setrole].on { background: var(--neutral-tag-soft); color: var(--neutral-tag); box-shadow: none; }
.dkr-chips button.dkr-again { min-height: 44px; padding: 0 14px; border-color: var(--field-line); color: var(--again-text); font: 600 12.5px var(--body); }
.dkr-alloc { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 10px; background: var(--note-fill); font-size: 12.5px; }
.dkr-alloc > span { flex: 1; font-weight: 600; }
.dkr-alloc button { width: 32px; height: 32px; border-radius: 16px; border: 1px solid var(--field-line); background: transparent; color: var(--text); font: 700 15px var(--body); cursor: pointer; }
.dkr-alloc button[data-dkr-approve] { border-color: var(--accent-line); background: var(--role-tag-bg); color: var(--primary-text); }
.dkr-alloc button:disabled { opacity: 0.45; cursor: default; }
/* Teams */
.dkt-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.dkt-tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dkt-tiles > span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--card-line); font-size: 12.5px; color: var(--text-muted); }
.dkt-tiles b { font: 600 22px var(--mono); color: var(--text); }
/* Teams: his page's computed values (the soft-blue head, 18 px corners, the white total tiles, the person cards). */
.dkt-sum { display: flex; flex-wrap: wrap; gap: 8px; }
/* Teams as his (step 7's checkpoint, L7 to L12): his lines are --line (#E2E8F0, dark #22304D), the first card's 2 px. */
.dkt-sum > span { display: flex; flex-direction: column; padding: 8px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 12px; color: var(--text-muted); }
.dkt-sum b { font: 700 18px var(--body); color: var(--text); }
.dkt .dko-top .dko-btns { align-items: center; }
.dkt .dko-btns .dko-b1[data-dkt-new] { min-height: 40px; font-size: 15px; padding: 0 16px; }
.dkt .dko-top .dko-b2[data-dkt-view] { min-height: 40px; }
.dkt-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.dkt-card.blue { border: 2px solid var(--accent-line); }
.dkt-card.new { border: 1.5px dashed var(--accent-line); }
.dkt-hd { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--primary-soft); }
.dkt-mark { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); }
.dkt-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dkt-name b { font: 700 18px var(--body); }
.dkt-name .dko-tag { font-size: 10.5px; letter-spacing: 0.04em; }
.dkt-lead { font-size: 12.5px; color: var(--text-muted); }
.dkt-lead b { color: var(--primary-text); font-weight: 700; }
.dkt-tots { display: flex; gap: 8px; flex-shrink: 0; }
.dkt-tots > span, .dkt-efft { display: flex; flex-direction: column; align-items: flex-start; padding: 6px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font: 400 12px var(--body); color: var(--text-muted); }
.dkt-tots b { font: 700 16px var(--body); color: var(--text); }
.dkt-efft { cursor: pointer; }
.dkt-efft .dkt-eff { font: 700 16px var(--body); }
.dkt-ppl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px 18px; }
.dkt-p { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); min-width: 0; }
.dkt-phd .dkr-av { font-weight: 700; background: var(--soft-fill); color: var(--primary-text); }
.dkt-phd { display: flex; align-items: center; gap: 8px; }
.dkt-phd > .dko-col0 { flex: 1; }
.dkt-phd b { font: 700 13.5px var(--body); }
.dkt-phd .dko-tag { font-size: 10.5px; letter-spacing: 0.04em; }
.dkt-pnums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.dkt-pnums > span { display: flex; flex-direction: column; padding: 5px 6px; border-radius: 8px; background: var(--task-track); font-size: 11px; color: var(--text-muted); min-width: 0; }
.dkt-pnums b { font: 700 13.5px var(--body); color: var(--text); white-space: nowrap; }
.dkt-pbar { height: 6px; border-radius: 3px; background: var(--card-line); overflow: hidden; }
.dkt-pbar i { display: block; height: 100%; background: var(--primary); }
.dkt-pbar i.lv-mid { background: var(--neutral-tag); }
.dkt-pbar i.lv-bad { background: var(--danger); }
.dkt-acks { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.dkt-ol { font: 700 11px var(--body); letter-spacing: 0.06em; color: var(--text-muted); margin-right: 2px; }
.dkt-ack { display: inline-flex; align-items: center; gap: 3px; font: 600 10.5px var(--body); letter-spacing: 0.04em; border-radius: 6px; padding: 4px 7px; background: var(--neutral-tag-soft); color: var(--text-muted-on-tag); }
.dkt-ack.on { background: var(--tag-good-bg); color: var(--success); }
.dkt-ack.seen { background: var(--role-tag-bg); color: var(--primary-text); }
.dkt-ack.none { color: var(--neutral-tag); }
.dkt-pft { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
.dkt-pft .dko-ps { display: inline-flex; align-items: center; gap: 4px; }
.dkt-link { border: 0; background: transparent; color: var(--primary-text); font: 600 12.5px var(--body); padding: 0 6px; min-height: 28px; cursor: pointer; white-space: nowrap; }
.dkt-addp { border: 1px dashed var(--org-stem); /* his #C5CEDC, dark #3B4F78 */ border-radius: 14px; background: transparent; color: var(--primary-text); font: 600 13.5px var(--body); min-height: 120px; cursor: pointer; }
.dkt-ft { display: flex; justify-content: flex-end; padding: 0 18px 12px; }
.dkt-effbox { display: flex; align-items: center; gap: 8px; }
.dkt-eff { font: 700 22px var(--mono); }
.dkt-effbox.big .dkt-eff { font-size: 30px; }
.dkt-eff.lv-ok { color: var(--success); }
.dkt-eff.lv-watch { color: var(--neutral-tag); }
.dkt-eff.lv-behind { color: var(--danger); }
.dkt-eff.lv-none { color: var(--text-muted); }
.dko-tag.lv-inv { background: var(--ai-tile); color: var(--ai); }
.dkt-loose { display: flex; align-items: center; gap: 8px; }
.dkt-loose b { font-weight: 700; }
.dkt-cmp { gap: 12px; overflow-x: auto; }
.dkt-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dkt-table th { text-align: left; font: 600 11px var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dkt-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dkt-table .dkt-eff { font-size: 15px; }
.dkt-late { color: var(--danger-text); }
.dkt-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 10px 0 4px; border: 0; background: transparent; color: var(--primary-text); font: 600 13.5px var(--body); cursor: pointer; }
.dkt-acts { flex-wrap: wrap; }
.dkt-compose { max-width: 560px; }
.dkt-mng { gap: 10px; }
.dkt-did { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid var(--card-line); font-size: 13px; }
.dkt-form { gap: 16px; max-width: 760px; }
.dkt-fl { display: flex; flex-direction: column; gap: 8px; }
.dkt-pool { display: flex; flex-direction: column; gap: 6px; }
.dkt-pick { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--card-line); background: var(--card); color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.dkt-pick > .dko-col0 { flex: 1; }
.dkt-pick.on { background: var(--primary-soft); border-color: var(--accent-line); }
.dkt-pick.inv { border-style: dashed; border-color: var(--input-border); }
.dkt-pick.inv.on { border-style: solid; border-color: var(--accent-line); }
.dkt-box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--field-line); display: grid; place-items: center; flex-shrink: 0; color: var(--on-primary); }
.dkt-pick.on .dkt-box { background: var(--primary); border-color: var(--primary); }
.dkt-invf { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dkt-step { display: flex; align-items: center; gap: 10px; }
.dkt-step b { font: 600 18px var(--mono); min-width: 32px; text-align: center; }
@media (max-width: 1240px) { .dkr-g { grid-template-columns: 1fr 1fr; } .dkr-cols { grid-template-columns: minmax(0, 1fr); } .dkt-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dkt-ppl { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dkt-hd { flex-wrap: wrap; } }
/* Teams · {company}: his efficiency view and a team's page (computed values from his prototype's back end). */
.dkt-att { gap: 4px; }
.dkt-att .dko-tag { font-size: 11px; }
.dkt-effg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dkt-ecard { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 16px; border-radius: 16px; border: 1px solid var(--card-line); background: var(--card); color: var(--text); text-align: left; font: inherit; cursor: pointer; }
.dkt-ecard.lv-behind { border-color: var(--danger); }
.dkt-ecard > .dko-tag { align-self: flex-start; }
.dkt-ehd { display: flex; align-items: center; gap: 14px; }
.dkt-ehd b { font: 700 16.5px var(--body); }
.dkt-circ { width: 56px; height: 56px; border-radius: 28px; flex-shrink: 0; display: grid; place-items: center; font: 600 22px var(--display); background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.dkt-circ.big { width: 72px; height: 72px; border-radius: 36px; font-size: 28px; }
.dkt-circ.lv-ok { background: var(--tag-good-bg); color: var(--success); }
.dkt-circ.lv-behind { background: var(--tag-bad-bg); color: var(--tag-bad); }
.dkt-circ.lv-none { background: var(--ai-tile); color: var(--ai); }
.dkt-erow { display: flex; justify-content: space-between; gap: 8px; }
.dkt-ebar { height: 6px; border-radius: 3px; background: var(--card-line); overflow: hidden; }
.dkt-ebar i { display: block; height: 100%; background: var(--neutral-tag); }
.dkt-ebar i.lv-ok { background: var(--success); }
.dkt-ebar i.lv-behind { background: var(--danger); }
.dkt-ebar i.lv-none { background: var(--pill-border); }
.dkt-etiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dkt-etiles > span { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border-radius: 10px; background: var(--note-fill); font-size: 12px; color: var(--text-muted); }
.dkt-etiles b { font: 700 15px var(--mono); color: var(--text); }
.dkt-addt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 16px; color: var(--text-muted); min-height: 220px; }
.dkt-addt b { font: 700 15px var(--body); color: var(--text); }
.dkt-plus { font-size: 26px; color: var(--text-muted); }
.dkt-effpill { display: inline-block; min-width: 28px; text-align: center; padding: 2px 6px; border-radius: 6px; font: 600 12.5px var(--mono); background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.dkt-effpill.lv-ok { background: var(--tag-good-bg); color: var(--success); }
.dkt-effpill.lv-behind { background: var(--tag-bad-bg); color: var(--tag-bad); }
.dkt-effpill.lv-none { background: var(--ai-tile); color: var(--ai); }
.dkt-cmp .dkt-table th { font: 600 12px var(--body); letter-spacing: 0.07em; }
.dkt .dkr-chips b.dkr-h { font: 600 18px var(--display); margin-right: 6px; }
.dkt .dkr-chips button[data-dkt-sort] { min-height: 36px; padding: 0 14px; font-size: 13px; }
.dkt .dkr-chips button[data-dkt-sort].on { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.dkt-allb { align-self: flex-start; min-height: 38px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--pill-border); background: transparent; color: var(--text); font: 400 14px var(--body); cursor: pointer; }
.dkt-thd { display: flex; align-items: center; gap: 14px; }
.dkt-thd .dko-title { margin: 0; }
.dkt-parts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.dkt-parts > span { padding: 4px 10px; border-radius: 999px; background: var(--note-fill); font-size: 12.5px; color: var(--text); }
.dkt-parts b { font-weight: 700; }
.dkt-two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.dkt-ptab th { font: 600 12px var(--body); letter-spacing: 0.07em; }
.dkt-ptab td { vertical-align: middle; }
.dkt-ptab tr[data-dkt-row] { cursor: pointer; }
.dkt-ptab tr[data-dkt-row]:hover td { background: var(--row-pick); }
.dkt-ptab .dkt-pbar { width: 90px; margin-top: 4px; }
.dkt-ptab .dkt-pbar i { background: var(--success); }
.dkt-ptab .dkt-pbar i.lv-mid { background: var(--neutral-tag); }
.dkt-ptab .dkt-pbar i.lv-bad { background: var(--danger); }
.dkt-mrows > div { display: grid; grid-template-columns: minmax(0, 1fr) 80px minmax(0, 0.8fr); gap: 8px; padding: 9px 0; border-top: 1px solid var(--card-line); font-size: 13.5px; align-items: baseline; }
.dkt-mrows b { font: 600 14px var(--mono); }
.dkt-at { font: 400 12px var(--mono); color: var(--text-muted); min-width: 44px; }
@media (max-width: 1240px) { .dkt-effg { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dkt-two { grid-template-columns: minmax(0, 1fr); } }
.dkr-ph { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.dkr-ph b { font: 600 18px/1.25 var(--display); }

/* ---------- Minutes and Tasks on the computer (docs/computer-step7.md, Part E; js/desk-minutes.js, js/desk-tasks.js) ----------
   His 12d (the minutes list), 12e (the brief), 12f (the full page) and 12g (Tasks with its pane), read from his
   prototype's computed styles, light and dark, through the tokens. The tasks' groups and rows are the phone's own
   (.tk-…, step 4). */
.dkm, .dkk { display: flex; flex-direction: column; gap: 14px; }
.dkm-hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.dkm-hd > span:first-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dkm-n { font: 400 12px var(--mono); color: var(--text-muted); white-space: nowrap; }
.dkm-flt { display: flex; flex-direction: column; gap: 8px; }
.t140 .fi.dkm-q { max-width: 420px; min-height: 40px; font-size: 13.5px; border-radius: 10px; }
#dkm-chips { display: flex; flex-direction: column; gap: 8px; }
.dkm-types { display: flex; gap: 6px; flex-wrap: wrap; }
.dkm-types button { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--pill-border); background: transparent; color: var(--text); font: 600 12.5px var(--body); }
.dkm-types button.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.dkm-who { position: relative; align-self: flex-start; }
.dkm-dd { display: flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 600 13px var(--body); white-space: nowrap; }
.dkm-menu { position: absolute; top: 42px; left: 0; z-index: 30; width: 300px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; box-shadow: 0 14px 30px var(--menu-shadow); }
.dkm-menu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; border: 0; border-top: 1px solid var(--line); background: var(--card); color: var(--text); font: 600 13px var(--body); text-align: left; }
.dkm-menu button:first-child { border-top: 0; }
.dkm-menu button.on { background: var(--soft-fill); color: var(--primary-text); }
.dko-tag.lv-blue, .dkm-ty.meeting { background: var(--soft-fill); color: var(--primary-text); }
.dko-tag.lv-ai { background: var(--ai-tile); color: var(--ai); }
.dkm-ty.call { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.dkm-need { gap: 0; padding: 12px 16px; }
.dkm-nh { display: flex; align-items: center; gap: 10px; padding-bottom: 4px; min-height: 36px; }
.dkm-nh .dko-ps { font-size: 12.5px; }
.dkm-tg { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--primary-text); font: 600 13px var(--body); white-space: nowrap; }
.dkm-nr { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.dkm-nr b { font-size: 13.5px; font-weight: 700; }
.dkm .dko-b2.xr { border-width: 1px; padding: 0 14px; }
.dkm-list { position: relative; gap: 8px; padding: 12px; }
.dkm-day { font: 600 12px var(--body); letter-spacing: 0.07em; color: var(--text-muted); padding-top: 4px; }
.dkm-none { padding: 12px 4px; }
.dkm-row { display: flex; align-items: flex-start; gap: 10px; width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-family: var(--body); text-align: left; }
.dkm-row.on { background: var(--primary-soft); border-color: var(--primary-line); }
.dkm-rm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dkm-rt { font-size: 14px; font-weight: 600; }
.dkm-ra { display: flex; align-items: center; gap: 6px; margin-top: 3px; min-height: 22px; }
.dkm-avs { display: flex; }
.dkm-avs .tk-ini { margin-right: -5px; box-shadow: 0 0 0 2px var(--card); }
.dkm-pg { font-size: 11.5px; color: var(--text-muted); }
.dkm-bar { display: block; height: 4px; margin-top: 4px; border-radius: 2px; background: var(--task-track); overflow: hidden; }
.dkm-bar i { display: block; height: 100%; background: var(--primary); }
.dkm-rr { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
/* The brief on a click (12e, his pop-up): under its row, as wide as the row. */
.dkm-pop { position: absolute; z-index: 20; box-sizing: border-box; border-radius: 16px; background: var(--card); color: var(--text); border: 1.5px solid var(--primary); box-shadow: 0 18px 44px var(--pop-shadow); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; font: 14px/1.45 var(--body); animation: dkm-pop 0.16s ease-out; }
@keyframes dkm-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dkm-pop { animation: none; } }
.dkm-pr { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dkm-ptg { font: 600 11px var(--body); letter-spacing: 0.06em; padding: 3px 8px; border-radius: 7px; background: var(--primary-soft); color: var(--primary-text); }
.dkm-pti { font: 600 17px var(--display); }
.dkm-pmu { color: var(--text-muted); font-size: 13px; }
.dkm-psc { font: 600 12px var(--mono); padding: 3px 8px; border-radius: 7px; background: var(--success-soft); color: var(--success); }
.dkm-psc.s-mid { background: var(--primary-soft); color: var(--primary-text); }
.dkm-psc.s-bad { background: var(--danger-soft); color: var(--danger-text); }
.dkm-pst { font: 600 11px var(--body); letter-spacing: 0.05em; padding: 3px 8px; border-radius: 7px; border: 1px solid var(--line); color: var(--text-muted); }
.dkm-pop ul { margin: 0; padding-left: 18px; }
.dkm-pop li { margin: 2px 0; }
.dkm-plb { font: 600 11px var(--body); letter-spacing: 0.07em; color: var(--text-muted); text-transform: uppercase; }
.dkm-ptk { display: flex; gap: 8px; align-items: center; font-size: 13.5px; }
.dkm-ptk i { flex: none; width: 14px; height: 14px; display: grid; place-items: center; font-style: normal; color: var(--success); }
.dkm-ptk:not(.done) i::before { content: ""; width: 10px; height: 10px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--pill-border); }
.dkm-prv { align-self: flex-start; font-size: 12.5px; padding: 8px 10px; border-radius: 10px; background: var(--tag-good-bg); color: var(--success); }
.dkm-prv .ico { vertical-align: -2px; }
.dkm-pacts { margin-top: 4px; }
.dkm-pacts button { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--primary-text); font: 600 14px var(--body); }
.dkm-pacts button.p { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.dkm-px { width: 40px; height: 40px; padding: 0; border-radius: 20px; border: 1px solid var(--line); background: transparent; color: var(--text-muted); display: grid; place-items: center; }

/* The full page (12f): the phone's minutes page inside the frame, as wide as the page, under the page's own title.
   Only a page that holds minutes takes the width; any other page of the app keeps a phone's. */
.dk-main:not(:has(.dk-host .app > section:not([hidden]) .mn)) > .dk-over { display: none; }
.desk.dk-wide .app > section:not(#v-admin):not(#v-desk):has(.mn) { max-width: none; margin: 4px; padding: 4px 18px 0; background: var(--screen); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 0 0 3px var(--card), 0 0 0 4px var(--card-line); }
.desk.dk-wide .app > section:has(.mn) .mn { padding-bottom: 16px; }
.desk.dk-wide .app > section:has(.mn) .mn-foot, .desk.dk-wide .app > section:has(.mn) .mn-ask { position: sticky; left: auto; transform: none; width: auto; margin: 0 -18px; padding: 10px 14px 26px; border-radius: 0 0 14px 14px; }
.desk.dk-wide .app > section:has(.mn) .mn-foot .mn-b1, .desk.dk-wide .app > section:has(.mn) .mn-foot .mn-b2 { min-height: 36px; }

/* The review on a conversation's minutes (js/minutes.js): "Reviewed by {name}" and the feedback, on the phone too;
   on the computer, "Your review" for whoever may review. His chips, his green line, his box. */
.mn-card.rev .grow { flex: 1; }
.mn-chp { font: 600 12px var(--body); padding: 3px 9px; border-radius: 999px; background: var(--neutral-tag-soft); color: var(--text); white-space: nowrap; }
.mn-chp.ok { background: var(--tag-good-bg); color: var(--success); }
.mn-chp.late { background: var(--tag-bad-bg); color: var(--tag-bad); }
.mn-rvd { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 8px 10px; border-radius: 10px; background: var(--tag-good-bg); color: var(--success); }
.mn-fb { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border-radius: 12px; background: var(--note-fill); }
.mn-fb small { font-size: 12px; color: var(--text-muted); }
.mn-fb p { margin: 0; font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.mn-wt { align-self: flex-start; font-size: 12.5px; padding: 8px 10px; border-radius: 10px; background: var(--soft-fill); color: var(--primary-text); }
.mn-rvf { display: flex; flex-direction: column; gap: 6px; margin: 0; padding-top: 10px; border-top: 1px solid var(--line); }
.mn-rvf input { width: 100%; box-sizing: border-box; min-height: 44px; border-radius: 10px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--text); padding: 10px 12px; font: 14px var(--body); box-shadow: inset 0 2px 4px var(--input-inset); outline: none; }
.mn-rvf input:focus { border-color: var(--accent-line); box-shadow: inset 0 2px 4px var(--input-inset), 0 0 0 2px var(--accent-line); }
.mn-rv2 { display: flex; gap: 6px; }
.mn-rvb { flex: 1; min-height: 42px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--pill-border); background: transparent; color: var(--text); font: 400 14px var(--body); display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.mn-rvb.p { flex: 2; border: 0; background: var(--primary); color: var(--on-primary); font-weight: 600; font-size: 15px; }

/* Tasks (12g): the people, the filter, the search and + New task; the groups on the left, the pane on the right. */
.dkk-top { display: flex; flex-direction: column; gap: 8px; }
.t140 .fi.dkk-pq { max-width: 340px; min-height: 40px; height: 41px; border-radius: 10px; }
.dkk-ppl { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 2px; }
.dkk-chip { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 13px 4px 6px; border: 0; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--text); font: 600 13.5px var(--body); }
.dkk-chip.on { background: var(--soft-fill); color: var(--primary-text); box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.dkk-cn { padding-left: 4px; }
.dkk-late { color: var(--danger); }
.dkk-bar { display: flex; align-items: center; gap: 8px; }
.dkk .tk-seg { display: flex; flex: none; }
.dkk .tk-seg button { min-height: 32px; padding: 0 12px; font-size: 12.5px; }
.t140 .fi.dkk-q { flex: 1; width: auto; min-width: 0; min-height: 38px; height: 40px; font-size: 13.5px; border-radius: 10px; }
.dkk-new { flex: none; min-height: 38px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--primary); color: var(--on-primary); font: 600 15px var(--body); white-space: nowrap; }
.dkk-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.dkk-list { margin-top: 0; }
.dkk .tk-row, .dkk .tk-ghead { cursor: pointer; }
/* His sizes on the computer, a touch apart from the phone's: the head, the row, its words, the chips and the %. */
.dkk .tk-ghead { padding: 11px 14px; border-left-width: 2px; }
.dkk .tk-row { gap: 10px; padding: 9px 14px 9px 24px; box-shadow: none; }
.dkk .tk-row.late { border-left: 1px solid var(--danger); }
.dkk-chip .tk-ini.big { font-size: 12px; }
.dkk .tk-row .tk-ini.big { width: 28px; height: 28px; border-radius: 14px; font-size: 11px; }
.dkk .tk-what { font-size: 13.5px; }
.dkk .tk-who { font-size: 12px; }
.dkk .tk-gn { font-size: 11.5px; }
.dkk .tk-list .tk-tag { font-size: 10.5px; padding: 4px 7px; }
/* A deadline after today, his lighter grey tag (dark #1C2640, #9AABC8): step 7's checkpoint, L6. */
.dkk .tk-tag.later { background: var(--card-line); color: var(--text-muted-on-tag); }
.dkk .tk-pct { font-size: 12.5px; min-width: 38px; }
.dkk .tk-row.on { background: var(--lead-card); box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.dkk-side { position: sticky; top: 16px; min-width: 0; }
.dkk-card { padding: 18px; gap: 11px; margin: 0; }
.dkk-empty { padding: 26px; gap: 8px; align-items: center; text-align: center; border-style: dashed; }
.dkk-eic { color: var(--text); }
.dkk-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.dkk-lb { font: 600 12px var(--body); letter-spacing: 0.07em; color: var(--text-muted); }
.dkk-lb.blue { color: var(--primary-text); }
.dkk-lbm { font-weight: 500; }
.dkk-lbv { color: var(--text); }
.dkk-x { flex: none; width: 44px; height: 44px; padding: 0; border-radius: 22px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: grid; place-items: center; }
.dkk-card .tk-tag { display: inline-block; font-size: 12px; padding: 4px 7px; }
.dkk-ti { font-size: 20px; font-weight: 700; letter-spacing: -0.2px; overflow-wrap: anywhere; }
.dkk-min { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--primary-soft); color: var(--primary-text); font: 600 13px var(--body); text-align: left; }
.dkk-st { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.dkk-st .dko-col0 { gap: 4px; align-items: flex-start; }
.dkk-stt { display: inline-flex; align-items: center; gap: 4px; font: 600 11px var(--body); letter-spacing: 0.04em; padding: 4px 7px; border-radius: 6px; background: var(--primary-soft); color: var(--primary-text); }
.dkk-stt.on { background: var(--tag-good-bg); color: var(--success); }
.dkk-stt.none { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.dkk-sm { font-size: 12px; line-height: 1.4; color: var(--text-muted); }
.dkk-sm.blk { display: block; }
.dkk-b1 { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--primary); color: var(--on-primary); font: 600 13px var(--body); white-space: nowrap; }
.dkk-b1.wide { flex: 2; min-height: 36px; font-size: 15px; }
.dkk-late-box { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--late-line); background: var(--tag-bad-bg); }
.dkk-dl, .dkk-gv { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dkk-opt { min-height: 36px; padding: 8px 12px; border: 0; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--text); font: 600 13px var(--body); }
.dkk-opt.on { background: var(--soft-fill); color: var(--primary-text); box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.dkk-opt.pp { display: flex; align-items: center; gap: 6px; min-height: 38px; padding: 4px 12px 4px 5px; font-size: 12.5px; }
.dkk-opt .tk-ini.big { font-size: 12px; }
.t140 .fi.dkk-date { width: auto; max-width: 170px; min-height: 38px; font-size: 13.5px; border-radius: 10px; }
.dkk-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.dkk-steps .dkk-opt { min-height: 44px; padding: 1px 6px; border-radius: 10px; font-weight: 700; }
.dkk-range { width: 100%; margin: 2px 0; accent-color: var(--primary); }
.dkk-pbar { height: 7px; border-radius: 4px; background: var(--task-track); overflow: hidden; }
.dkk-pbar i { display: block; height: 100%; border-radius: 4px; background: var(--primary); }
.t140 .fi.dkk-note { min-height: 68px; resize: none; line-height: 1.4; border-radius: 10px; }
.t140 .dkk-card > .fi { border-radius: 10px; }
.dkk-hr { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.dkk-hr i { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 4px; background: var(--primary); }
.dkk-ft { display: flex; gap: 8px; padding-top: 6px; }
.dkk-ft .dko-b2 { flex: 1; min-height: 36px; border-width: 1px; font-size: 14px; }
@media (max-width: 1180px) { .dkk-grid { grid-template-columns: minmax(0, 1fr); } .dkk-side { position: static; } }

/* ---------- The computer's Call Center (docs/computer-step7.md, Part F; js/desk-center.js), as his 12h and his
   prototype's computed values, light and dark, through the tokens: the six tiles, the table of call tasks, a task's
   page (the seven tiles, the people on the list, the call's minutes, the daily brief, calls by hour, follow-ups) and
   New Call Center task (his numbered form, the list's checks). ---------- */
.dkc { gap: 14px; }
.dkc-top { align-items: flex-end; gap: 16px; }
.dkc .dkt-back { font: 400 14px var(--body); padding: 0; gap: 2px; border-radius: 8px; }
.dkc .dko-b1 { min-height: 36px; font-size: 15px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.dkc .dko-b2 { min-height: 36px; border-width: 1px; font-size: 13px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; cursor: pointer; }
.dkc .dko-b2.xs { min-height: 32px; padding: 0 10px; font-size: 12px; }
.dkc .dko-b2:disabled, .dkc .dko-b1:disabled { opacity: 0.55; cursor: default; }
.dkc .dko-b2.done { border-color: var(--tag-good-bg); color: var(--success); opacity: 1; }
.dkc .dko-pl { letter-spacing: 0.07em; display: inline-flex; align-items: center; gap: 5px; }
.dkc .dko-pl.vio { color: var(--ai); }
.dkc .dko-pl.mu { color: var(--text-muted); }
.dkc-ps { font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }
.dkc-ps.n125 { line-height: 1.4; }
.dkc-mono { font: 400 12px var(--mono); font-variant-numeric: tabular-nums; }
.dkc-mono.n13 { font-size: 13px; }
.dkc-mono.fu { color: var(--ai); }
.dkc-card { background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; box-sizing: border-box; color: var(--text); min-width: 0; }
.dkc-kp { display: grid; gap: 12px; }
.dkc-kp.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.dkc-kp.seven { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.dkc-kp > div { background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dkc-kp.seven > div { padding: 12px; }
.dkc-kl { font-size: 12px; color: var(--text-muted); min-height: 15px; }
.dkc-kp b { font: 600 24px var(--mono); font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dkc-kp.seven b { font-size: 21px; }
.dkc-kp b.blue, .dkc-kp b.sc-blue { color: var(--primary-text); }
.dkc-kp b.green, .dkc-kp b.sc-ok { color: var(--success); }
.dkc-kp b.vio { color: var(--ai); }
.dkc-kp b.ink2, .dkc-kp b.sc-mid { color: var(--neutral-tag); }
.dkc-kp b.sc-bad { color: var(--tag-bad); }
.dkc-kp b.sc-none { color: var(--text-muted-on-tag); }
/* the table of tasks */
.dkc-table { padding: 0; gap: 0; overflow: hidden; }
.dkc-cols { display: grid; grid-template-columns: 2.2fr 1fr 0.8fr 1.3fr 0.8fr 0.7fr 1.3fr 84px; gap: 12px; }
.dkc-th { padding: 12px 16px; border-bottom: 1px solid var(--card-line); font: 600 12px var(--body); letter-spacing: 0.07em; color: var(--text-muted); }
/* French words are longer (step 7's checkpoint, L24): the heads and the tags wrap, the score and activity columns are wider. */
.dkc-th > span { min-width: 0; overflow: hidden; overflow-wrap: anywhere; }
.dkc-tr { display: grid; grid-template-columns: 2.2fr 1fr 0.8fr 1.3fr 0.8fr 0.7fr 1.3fr 84px; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--note-fill); align-items: center; }
.dkc-tr > * { min-width: 0; }
.dkc-tr .dko-tag { justify-self: start; max-width: 100%; white-space: normal; line-height: 1.3; }
.dkc-tn { display: flex; flex-direction: column; gap: 3px; }
.dkc-tn b { font-size: 14.5px; font-weight: 600; }
.dkc-tn span, .dkc-who span { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.dkc-who { font-size: 13.5px; }
/* The who line wraps like the tags ("Propriétaire · créée pour soi" at 1060 px: the re-check's R10). */
.dkc-who span { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: break-word; line-height: 1.3; }
.dkc .dko-tag.dkc-up { background: var(--role-tag-bg); color: var(--primary-text); }
.dkc .dko-tag.dkc-open { background: var(--ai-tile); color: var(--ai); }
.dkc-prog { display: flex; flex-direction: column; gap: 4px; }
.dkc-prog .dkc-mono { color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dkc-bar { height: 7px; border-radius: 4px; background: var(--card-line); overflow: hidden; display: block; }
.dkc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-line), var(--ai-violet)); }
.dkc .dko-tag.dkc-sc { font-family: var(--mono); font-variant-numeric: tabular-nums; justify-self: start; }
.dkc .sc-ok.dko-tag, .dkc-ring.sc-ok { background: var(--tag-good-bg); color: var(--success); }
.dkc .sc-blue.dko-tag, .dkc-ring.sc-blue { background: var(--role-tag-bg); color: var(--primary-text); }
.dkc .sc-mid.dko-tag, .dkc-ring.sc-mid { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.dkc .sc-bad.dko-tag, .dkc-ring.sc-bad { background: var(--tag-bad-bg); color: var(--tag-bad); }
.dkc .sc-none.dko-tag, .dkc-ring.sc-none { background: var(--card-line); color: var(--text-muted-on-tag); }
.dkc .dko-tag.lv-none { background: var(--card-line); }
.dkc-none { padding: 18px 16px; font-size: 13px; color: var(--text-muted); }
.dkc-how { flex-direction: row; gap: 14px; align-items: center; border-color: var(--ai-soft-line); font-size: 13px; line-height: 1.5; color: var(--row-num); }
.dkc-how > span:first-child { display: grid; place-items: center; color: var(--text); flex-shrink: 0; }
/* inside a task */
.dkc-hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dkc-hl { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dkc-hn { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dkc-hl .dko-sub b { color: var(--text); font-weight: 700; }
.dkc-mbtns { flex-wrap: wrap; justify-content: flex-end; }
.dkc .dko-tag.dkc-own { background: var(--neutral-tag-soft); color: var(--text); }
.dkc-instr { gap: 4px; border-color: var(--ai-soft-line); font-size: 14px; line-height: 1.45; }
.dkc-box { border: 1.5px solid var(--accent-line); padding: 14px; gap: 10px; }
.dkc-box > b { font-size: 14px; }
.dkc-two { display: flex; gap: 8px; justify-content: flex-end; }
.dkc-chips, .dkc-whos { display: flex; gap: 8px; flex-wrap: wrap; }
.dkc-chips button, .dkc-whos button { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--pill-border); background: transparent; color: var(--text); font: 400 13.5px var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.dkc-whos button.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); font-weight: 600; }
.dkc-work { border-color: var(--primary-soft-line); padding: 14px 16px; gap: 12px; }
.dkc-wrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dkc-wn { font-size: 16px; font-weight: 600; }
.dkc-wn span { font-weight: 400; color: var(--row-num); font-size: 13.5px; }
.dkc-wn .dkc-mono { font-size: 12.5px; }
.dkc-wnote { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-muted); min-width: 200px; }
.dkc-wend { display: flex; gap: 8px; margin-left: auto; }
.dkc-numf { display: grid; grid-template-columns: 1.2fr 1.2fr 1.2fr auto auto; gap: 8px; align-items: center; }
.dkc-numf .dko-b1, .dkc-numf .dko-b2 { min-height: 44px; }
.dkc-ahd { display: flex; gap: 14px; align-items: flex-start; }
.dkc-ahd b { font-size: 16px; font-weight: 600; }
.dkc-said { font-size: 13px; line-height: 1.45; }
.dkc-och { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.dkc-ocs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.dkc-ocs button { min-height: 44px; border-radius: 12px; border: 1px solid var(--card-line); background: var(--card); color: var(--text); font: 400 13px var(--body); padding: 4px 8px; cursor: pointer; }
.dkc-ocs button.on { border: 2px solid currentColor; font-weight: 600; }
.dkc-ocs button.on.sale { background: var(--tag-good-bg); color: var(--success); }
.dkc-ocs button.on.int { background: var(--ai-tile); color: var(--ai); }
.dkc-ocs button.on.cb { background: var(--role-tag-bg); color: var(--primary-text); }
.dkc-ocs button.on.no { background: var(--card-line); color: var(--text-muted-on-tag); }
.dkc-ocs button.on.na { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.dkc-ocs button.on.wr { background: var(--tag-bad-bg); color: var(--tag-bad); }
.dkc-fud { display: flex; align-items: center; gap: 10px; }
.dkc-fud .fi { width: 200px; border-radius: 10px; }
.dkc-wbtns { display: flex; gap: 8px; }
.dkc-wbtns .dko-b1, .dkc-wbtns .dko-b2 { min-height: 44px; font-size: 14px; padding: 0 18px; }
/* the people on the list */
.dkc-lhd { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--card-line); }
.dkc-lf, .dkc-days { display: flex; gap: 6px; flex-shrink: 0; }
.dkc-lf button, .dkc-days button { min-height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--text-muted); font: 400 12px var(--body); cursor: pointer; white-space: nowrap; }
.dkc-lf button.on { background: var(--filter-on); color: var(--primary-line); border-color: var(--accent-line); }
.dkc-days button { min-height: 32px; }
.dkc-days button.on { background: var(--primary); border: 0; color: var(--on-primary); font-weight: 600; }
/* his columns, with ours a little wider for TIME: a call before today says its day too (his 1.8fr 0.5fr) */
.dkc-pcols { display: grid; grid-template-columns: 1.2fr 1.2fr 1.4fr 1.1fr 0.5fr 1.6fr 0.7fr 0.8fr 92px; gap: 10px; }
.dkc-th.dkc-pcols { padding: 10px 16px; border-bottom-color: var(--note-fill); }
.dkc-rows { max-height: 380px; overflow-y: auto; }
.dkc-pr { position: relative; padding: 9px 16px; border-bottom: 1px solid var(--note-fill); font-size: 13px; align-items: center; cursor: pointer; }
.dkc-pr > * { min-width: 0; overflow-wrap: anywhere; }
.dkc-pr.sel { background: var(--primary-soft); }
.dkc-pick { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; padding: 0; }
.dkc-pick:focus-visible { outline: 2px solid var(--accent-line); outline-offset: -2px; }
.dkc-pr .dko-tag { justify-self: start; white-space: normal; }
.dkc .dko-tag.dkc-added { margin-left: 6px; padding: 2px 5px; background: var(--ai-tile); color: var(--ai); white-space: nowrap; }
.dkc .dko-tag.dkc-oc.sale { background: var(--tag-good-bg); color: var(--success); }
.dkc .dko-tag.dkc-oc.int { background: var(--ai-tile); color: var(--ai); }
.dkc .dko-tag.dkc-oc.cb { background: var(--role-tag-bg); color: var(--primary-text); }
.dkc .dko-tag.dkc-oc.no { background: var(--card-line); color: var(--text-muted-on-tag); }
.dkc .dko-tag.dkc-oc.na { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.dkc .dko-tag.dkc-oc.wr { background: var(--tag-bad-bg); color: var(--tag-bad); }
.dkc .dko-tag.dkc-oc.todo { background: transparent; color: var(--text-muted); border: 1px solid var(--line); }
.dkc-when span { white-space: nowrap; }
.dkc-note { font-size: 12.5px; color: var(--text-muted); }
.dkc-callb { position: relative; z-index: 1; min-height: 32px !important; padding: 0 10px !important; font-size: 12px !important; white-space: nowrap; }
.dkc-more { width: 100%; min-height: 40px; border: 0; background: transparent; color: var(--primary-text); font: 600 13px var(--body); cursor: pointer; }
/* the minutes of the person picked */
.dkc-min { flex-direction: row; gap: 18px; padding: 16px; border-color: var(--ai-soft-line); align-items: flex-start; }
.dkc-ring { width: 70px; height: 70px; border-radius: 35px; display: flex; align-items: center; justify-content: center; font: 600 26px var(--mono); flex-shrink: 0; }
.dkc-ring.s52 { width: 52px; height: 52px; border-radius: 26px; font-size: 19px; }
.dkc-m1 { display: flex; flex-direction: column; gap: 5px; flex: 1.1; min-width: 0; }
.dkc-m1 > b { font-size: 16px; font-weight: 600; }
.dkc-m1 .dkc-ps { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; line-height: normal; }
.dkc-how1 { font-size: 13.5px; }
.dkc-m2 { display: flex; flex-direction: column; gap: 4px; flex: 1.4; min-width: 0; font-size: 13px; line-height: 1.45; }
.dkc-m3 { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; align-items: flex-start; }
.dkc-tagb { border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-family: var(--body); }
/* the daily brief, calls by hour, follow-ups */
.dkc-two-col { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: start; }
.dkc-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dkc-brief { gap: 10px; border-color: var(--primary-soft-line); padding: 16px; }
.dkc-bhd { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dkc-bt { font-size: 15px; font-weight: 600; }
.dkc-bl { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.45; }
.dkc-bl > span:first-child { width: 20px; flex-shrink: 0; color: var(--text-muted); display: grid; place-items: start center; padding-top: 2px; }
.dkc-bnext { background: var(--role-tag-bg); border-radius: 10px; padding: 10px 12px; font-size: 13px; line-height: 1.45; color: var(--primary-text); }
.dkc-bnext svg { vertical-align: -2px; }
.dkc-act { gap: 8px; padding: 16px; }
.dkc-hours { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding-top: 6px; }
.dkc-hours > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; min-width: 0; }
.dkc-hours .v { color: var(--row-num); min-height: 16px; }
.dkc-hours .h { color: var(--text-muted); }
.dkc-hours i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--card-line); }
.dkc-hours i.on { background: linear-gradient(180deg, var(--accent-line), var(--ai-violet)); }
.dkc-fus { gap: 6px; padding: 16px; }
.dkc-fu { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; padding: 4px 0; border-top: 1px solid var(--card-line); }
.dkc-fu > span:first-child { min-width: 0; flex: 1; }
.dkc-fu .dkc-ps { display: block; }
.dkc-fu .dkc-mono { font-size: 13px; white-space: nowrap; }
/* New Call Center task */
.dkc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.dkc-fc { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dkc-fl { display: flex; flex-direction: column; gap: 4px; }
.dkc-fh { display: flex; align-items: center; gap: 8px; }
.dkc-fh i { font-style: normal; width: 26px; height: 26px; border-radius: 13px; display: grid; place-items: center; font: 700 13px var(--body); background: var(--primary-deep); color: var(--on-primary-deep); flex-shrink: 0; }
.dkc-fh b { font: 600 18px/1.25 var(--display); }
.dkc-fh small { font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.dkc .fi { border-radius: 10px; }
.dkc-form textarea.fi { min-height: 80px; resize: none; line-height: 1.45; }
.dkc-seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--screen); box-shadow: inset 0 0 0 1px var(--line); align-self: flex-start; }
.dkc-seg button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 9px; font: 600 13px var(--body); cursor: pointer; background: transparent; color: var(--text-muted); box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; gap: 6px; }
.dkc-seg button.on { background: var(--soft-fill); color: var(--primary-text); box-shadow: inset 0 0 0 1.5px var(--accent-line); font-weight: 700; }
.dkc-goal { display: grid; grid-template-columns: 1fr 1fr 1fr 1.3fr; gap: 10px; }
.dkc-goal label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dkc-goal .dkc-ps { font-size: 12px; line-height: normal; }
.dkc-src { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dkc-src button { cursor: pointer; padding: 14px; text-align: left; font-family: var(--body); align-items: stretch; }
.dkc-src button b { font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.dkc-src button.on.csv { border: 2px solid var(--accent-line); background: var(--pick-card); }
.dkc-src button.on.open { border: 2px solid var(--ai-violet); background: var(--ai-card); }
.dkc-drop { min-height: 110px; border-radius: 14px; border: 2px dashed var(--switch-off); background: var(--tabbar-bg); color: var(--text-muted); font-size: 14px; cursor: pointer; display: grid; place-items: center; text-align: center; padding: 8px 14px; box-sizing: border-box; position: relative; }
.dkc-drop.over { border-color: var(--accent-line); background: var(--pick-card); }
.dkc-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dkc-drop:focus-within { outline: 2px solid var(--accent-line); outline-offset: 2px; }
.dkc-file { gap: 8px; border-color: var(--got-line); }
.dkc-fhd { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dkc-fhd b { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.dkc-fhd b svg { color: var(--success); flex-shrink: 0; }
.dkc-lk { background: transparent; border: 0; color: var(--primary-text); font: 400 12.5px var(--body); min-height: 28px; padding: 0; cursor: pointer; border-radius: 8px; white-space: nowrap; }
.dkc-lk.in { min-height: 0; text-decoration: underline; }
.dkc-file > .dkc-ps { font-size: 12px; }
.dkc-checks { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--neutral-tag-soft); color: var(--neutral-tag); font-size: 12.5px; line-height: 1.45; }
.dkc-checks b { font-weight: 700; }
.dkc-prev { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 8px; padding: 4px 0; border-top: 1px solid var(--card-line); }
.dkc-prev span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dkc-map { display: flex; flex-direction: column; gap: 6px; }
.dkc-mh { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.dkc-mc { display: grid; grid-template-columns: 1fr 150px 1.4fr; gap: 8px; align-items: center; font-size: 12.5px; }
.dkc-mc select { min-height: 34px; border-radius: 8px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--text); font: 13px var(--body); padding: 0 8px; }
.dkc-mc small { color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dkc-openc { font-size: 14px; }
.dkc-next { gap: 4px; border-color: var(--ai-soft-line); font-size: 13px; line-height: 1.5; }
.dkc .dkc-go { min-height: 36px; width: 100%; white-space: normal; padding: 6px 14px; }
.dkc .dkc-go.off { background: var(--note-fill); color: var(--rail-head); }
/* The box New Call Center task still needs, once Create was pressed (step 7's checkpoint, F11). */
.dkc .fi[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
@media (max-width: 1250px) {
  .dkc-kp.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dkc-kp.seven { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dkc-two-col, .dkc-form { grid-template-columns: minmax(0, 1fr); }
  .dkc-min { flex-wrap: wrap; }
  .dkc-ocs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dkc-cols, .dkc-tr { grid-template-columns: 2fr 1fr 0.9fr 1.2fr 0.7fr 0.7fr 1.3fr 78px; gap: 8px; }
  .dkc-pcols { grid-template-columns: 1.2fr 1.1fr 1.3fr 1.1fr 0.5fr 1.5fr 0.6fr 0.8fr 84px; gap: 8px; }
  .dkc-numf { grid-template-columns: 1fr 1fr; }
}

/* ---------- the computer's Settings and Company profile (step 7, Part G; his 12j and 12k, his prototype's values) ---------- */
.dks { gap: 14px; }
.dks .grow { flex: 1; min-width: 0; }
.dks-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.dks-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dks-h { display: flex; align-items: flex-end; gap: 10px; padding-top: 8px; }
.dks-ht { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.dks-ht b { font: 600 18px/22.5px var(--display); }
.dks-ht small { font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.dks-card { padding: 12px; gap: 8px; }
.dks-me { display: flex; align-items: center; gap: 10px; }
.dks-av { width: 44px; height: 44px; border-radius: 22px; background: var(--soft-fill); color: var(--primary-text); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.dks-me b { font-size: 15px; font-weight: 700; }
.dks .fi { min-height: 40px; border-radius: 10px; }
.dks .fi[readonly] { color: var(--text-muted); }
.dks-sub { gap: 4px; }
.dks-sub > b { font-size: 14px; font-weight: 700; }
.dks-13 { font-size: 13px; }
.dks-135 { font-size: 13.5px; }
.dks-l14 { line-height: 1.4; }
.dks .dko-b1 { font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.dks .dko-b1.s38 { min-height: 38px; padding: 0 16px; }
.dks .dko-b2 { border-width: 1px; }
.dks .dks-plan { align-self: flex-start; min-height: 38px; padding: 0 16px; margin-top: 6px; }
.dks-asks { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.dks-asks button { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--role-tag-bg); color: var(--primary-text); font: 600 12.5px var(--body); cursor: pointer; }
.dks-wait { font-size: 12px; color: var(--neutral-tag); display: inline-flex; gap: 4px; align-items: center; }
.dks-priv { gap: 6px; }
.dks-priv .dko-ps { font-size: 12.5px; line-height: 1.45; }
.dks-list { padding: 0 12px; gap: 0; }
.dks-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; min-height: 52px; box-sizing: border-box; }
.dks-row + .dks-row { border-top: 1px solid var(--card-line); }
.dks-sw { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--text); font-family: var(--body); text-align: left; cursor: pointer; }
.dks-sw:disabled { cursor: default; opacity: 0.6; }
.dks-knob { padding: 0; border: 0; background: transparent; display: flex; cursor: pointer; flex-shrink: 0; }
.dks-rm { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dks-rl { font-size: 13.5px; font-weight: 600; }
.dks .fi.dks-time { width: auto; min-height: 32px; padding: 4px 8px; font-size: 13px; flex-shrink: 0; }
.dks-look .seg { align-self: center; flex-shrink: 0; }
.dks-look .seg button { min-height: 32px; padding: 4px 12px; font-size: 12.5px; }
.dks-wh { gap: 6px; }
.dks-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dks-hours { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; border-top: 1px solid var(--card-line); margin-top: 2px; }
.dks-code { display: flex; flex-direction: column; gap: 6px; }
.dks-code .fi { width: 120px; }
.dks-ok { color: var(--success); font-size: 13px; display: inline-flex; gap: 4px; align-items: center; }
.dks-foot { display: flex; gap: 8px; }
.dks .dks-help { flex: 1; min-height: 42px; display: flex; align-items: center; justify-content: center; font-size: 14px; text-decoration: none; padding: 0 6px; box-sizing: border-box; }
.dks-out { flex: 1; min-height: 42px; border-radius: 12px; border: 1px solid var(--signout-line); background: transparent; color: var(--tag-bad); font: 600 14px var(--body); cursor: pointer; }
.dks-ver { text-align: center; }
.dks-co { max-width: 820px; }
.dks-top { display: flex; flex-direction: column; gap: 4px; }
.dks-unset { padding: 12px 14px; gap: 6px; border-color: var(--field-line); }
.dks-unset > b { font-size: 15px; font-weight: 700; }
.dks-prow { display: flex; align-items: flex-end; gap: 10px; }
.dks-prow .dks-h, .dks-prow .dks-ht { flex: none; }
.dks .dko-tag { display: inline-flex; align-items: center; gap: 4px; }
.dks-table { padding: 4px 16px; gap: 0; }
.dks-tr { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } /* his #22304D in dark (checkpoint L25) */
.dks-tr b { font-size: 13px; font-weight: 700; }
.dks-tr span { font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.dks-more { padding: 12px 14px; gap: 10px; }
.dks-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.dks-more label, .dks-lab { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dks-more .fi { min-height: 42px; font-size: 13.5px; }
.dks-more textarea.fi { min-height: 84px; resize: vertical; }
.dks-mods { display: flex; flex-wrap: wrap; gap: 8px; }
.dks-mods .dko-tag { padding: 6px 10px; gap: 5px; }
@media (max-width: 1150px) {
  .dks-cols, .dks-grid { grid-template-columns: minmax(0, 1fr); }
}
/* Work hours' small form: from and to, and a chip a day (the computer's Settings and Company profile, and the app's Settings). */
.wh-form { display: flex; flex-direction: column; gap: 8px; }
.wh-times { display: flex; align-items: center; gap: 8px; }
.wh-times select.wh-time { width: auto; flex: 0 1 112px; min-width: 0; }
.wh-days { display: flex; gap: 6px; flex-wrap: wrap; }
.wh-day { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 600 12.5px var(--body); cursor: pointer; }
.wh-day.on { background: var(--soft-fill); color: var(--primary-text); border-color: var(--primary-line); }

/* Work hours over midnight (Khaled, RC966): the small line under the times. */
.wh-next { margin: 0; font-size: 12px; line-height: 1.4; color: var(--primary-text); }

/* Roles: the owner changes a person's name and mobile (RC966): the small form in a person's row, on the computer and in the app. */
.dkr-edit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto; gap: 8px; align-items: center; margin: 0; }
.dkr-edit .fi { min-height: 40px; }
.dkr-edit .dko-b1 { min-height: 38px; padding: 0 16px; }
.dkr-edit .dko-ps { grid-column: 1 / -1; }
.tm-edit { margin: 6px 0 2px; }

/* Help (RC966): the questions, the search and "Email us", on the computer (inside Settings) and in the app. */
.hp { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-top: 6px; }
.hp-search { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--input-border); background: var(--input-field); color: var(--text-muted); }
.hp-search input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 16px var(--body); min-height: 42px; padding: 0; box-shadow: none; }
.hp-search:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 2px var(--accent-line); }
.hp-ps { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }
.hp-list { display: flex; flex-direction: column; gap: 14px; }
.hp-topic { display: flex; flex-direction: column; gap: 6px; }
.hp-th { margin: 0; font: 600 12px var(--body); letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
.hp-q { border: 1px solid var(--card-line); border-radius: 12px; background: var(--card); }
.hp-q summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 12px; cursor: pointer; list-style: none; font: 600 14px var(--body); color: var(--text); }
.hp-q summary::-webkit-details-marker { display: none; }
.hp-chev { flex: none; width: 7px; height: 7px; margin: 0 4px 3px; border-right: 1.5px solid var(--text-muted); border-bottom: 1.5px solid var(--text-muted); transform: rotate(45deg); transition: transform 0.12s; }
.hp-q[open] .hp-chev { transform: rotate(-135deg); margin-bottom: -3px; }
.hp-q p { margin: 0; padding: 0 12px 12px; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.hp-mail { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--accent-line); background: var(--card); }
.hp-mh { margin: 0; display: flex; align-items: center; gap: 8px; font: 600 16px var(--display); color: var(--text); }
.hp-form { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.hp-lab { font: 600 12.5px var(--body); color: var(--text); margin-top: 4px; }
/* On a phone the boxes are 16 px, as every box in the app (a smaller one makes an iPhone zoom in); 14 px on the computer. */
input.hp-in, textarea.hp-in { width: 100%; box-sizing: border-box; min-height: 44px; border-radius: 10px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--text); padding: 10px 12px; font: 16px var(--body); box-shadow: inset 0 2px 4px var(--input-inset); }
input.hp-in:focus, textarea.hp-in:focus { outline: 0; border-color: var(--accent-line); box-shadow: inset 0 2px 4px var(--input-inset), 0 0 0 2px var(--accent-line); }
.desk-on input.hp-in, .desk-on textarea.hp-in, .desk-on .hp-search input[type="search"] { font-size: 14px; }
textarea.hp-in { resize: vertical; line-height: 1.45; }
.hp-err { margin: 0; font-size: 12.5px; color: var(--danger-text); }
.hp-send { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.hp-b1 { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--primary); color: var(--on-primary); font: 600 14px var(--body); cursor: pointer; }
.hp-b2 { min-height: 38px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--pill-border); background: transparent; color: var(--text); font: 400 13.5px var(--body); cursor: pointer; }
.hp-ok { margin: 0; display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px; background: var(--tag-good-bg); color: var(--success); font-size: 13.5px; }
.hp-ver { align-self: flex-start; }
.dks-helpp .dks-top { display: flex; flex-direction: column; gap: 4px; }
.set-row.set-help { border-width: 1px; border-color: var(--card-line); }

/* Step 7, Part I (docs/computer-step7.md): the Daily report, as his 12l and prototype: the page 980 px wide at most,
   the e-mail's card (14 px corners, a 70 px column for From · To · Subject), the six tiles (10 px corners, the label
   12 px, the number 700 20 px in the titles' font), the table (13.5 px, heads 12 px) and today's line (13 px). */
.dkp { max-width: 980px; gap: 14px; }
.dkp-top, .dka-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; }
.dkp-tt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dkp-sw { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; font-size: 13px; flex-shrink: 0; }
.dkp-sw.off { color: var(--text-muted); }
span.dkp-sw { cursor: default; }
.dkp-mail { background: var(--card); color: var(--text); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.dkp-hd { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-muted); display: grid; grid-template-columns: 70px 1fr; gap: 4px; }
.dkp-hd b { font-weight: 700; }
.dkp-hd span { overflow-wrap: anywhere; }
.dkp-subj { font-weight: 600; color: var(--text); }
.dkp-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.dkp-hello { font-size: 14px; color: var(--text-muted); }
.dkp-k { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 8px; }
.dkp-k > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; min-width: 0; }
.dkp-kl { font-size: 12px; color: var(--text-muted); }
.dkp-kv { font: 700 20px var(--display); }
.dkp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dkp-table th, .dkp-table td { text-align: left; border: 0; background: transparent; letter-spacing: 0; text-transform: none; }
.dkp-table th { color: var(--text-muted); font-size: 12px; font-weight: 700; padding: 1px; }
.dkp-table th:first-child { padding: 6px; }
.dkp-table tbody tr { border-top: 1px solid var(--line); }
.dkp-table td { padding: 1px; }
.dkp-table td.dkp-n { padding: 8px 6px; font-weight: 600; }
.dkp-st { font-weight: 600; }
.dkp-st.ok { color: var(--success); }
.dkp-st.flag { color: var(--neutral-tag); }
.dkp-st.none { color: var(--text-muted); } /* nothing to judge yet: the muted colour, not his green (checkpoint L4) */
.dkp-st svg { vertical-align: -2px; }
.dkp-today { font-size: 13px; color: var(--text-muted); }

/* Activities, as his prototype: the chips (36 px, 10 px corners), the two cards (1.3 : 1, 16 px inside, 6 px between
   rows), a row (7 px over and under, the title 14 px 600, the line 12 px), the pop-up under it (16 px corners, 14 px
   inside, its small arrow, his shadow), the buttons 36 px, and a task's Nudge (30 px, 12 px). */
.dka { gap: 14px; }
.dka-chips button { border-radius: 10px; font-size: 13px; }
.dka-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.dka-card { gap: 6px; padding: 16px; }
.dka-pl, .dky-pl, .dkq-pl { color: var(--text-muted); }
.dka-row { display: flex; gap: 10px; align-items: center; min-height: 36px; padding: 7px 6px; border: 0; border-top: 1px solid var(--card-line); background: transparent; color: var(--text); font-family: var(--body); text-align: left; cursor: pointer; width: 100%; border-radius: 0; }
.dka-m { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dka-t { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.dka-go { color: var(--primary-text); font-size: 15px; }
.dka-ty.meeting, .dka-tg.open { background: var(--role-tag-bg); color: var(--primary-text); }
.dka-ty.call, .dka-ty.task { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.dka-tg.done { background: var(--tag-good-bg); color: var(--success); }
.dka-task { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--card-line); }
.dka-late { color: var(--danger-text); }
.dka-nudge { min-height: 30px; padding: 0 10px; font-size: 12px; }
.dka-none { padding: 8px 0; }
.dka-pop { position: relative; margin: 4px 0 8px 24px; padding: 14px; border-radius: 16px; background: var(--pop-card); border: 1px solid var(--line); box-shadow: 0 14px 34px var(--sheet-shadow); display: flex; flex-direction: column; gap: 6px; }
.dka-pop::before { content: ""; position: absolute; top: -7px; left: 26px; width: 12px; height: 12px; background: var(--pop-card); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.dka-ph { display: flex; gap: 8px; align-items: center; }
.dka-ph .dko-tag, .dka-pk .dko-tag { font-size: 10.5px; }
.dka-pk .dko-tag { font-size: 10px; }
.dka-x { border: 0; background: transparent; color: var(--text-muted); min-height: 28px; min-width: 28px; display: grid; place-items: center; cursor: pointer; }
.dka-pt { font-size: 15.5px; }
.dka-lb { font: 600 10.5px var(--body); letter-spacing: 0.07em; color: var(--text-muted); margin-top: 4px; }
.dka-p { font-size: 12.5px; line-height: 1.45; }
.dka-pk { display: flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 5px 0; border-top: 1px solid var(--card-line); }
.dka-btns { display: flex; gap: 6px; margin-top: 6px; }
.dka-b { flex: 1; min-height: 36px; padding: 1px 6px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.dka-b.g2 { flex: 2; font-size: 15px; }

/* My stats, as his prototype: the card (18 px inside, 14 px between), the 46 px initials, the name 18 px 600, the 8 px
   bar, the four tiles on the grey fill (12 px corners, the number 600 20 px in the numbers' font), the five days'
   bars (92 px high, today's in blue) and the recent rows (70 px for the tag, 8 px over and under). */
.dky { gap: 14px; }
.dky-card { padding: 18px; gap: 14px; min-width: 0; }
/* My stats in his two columns (step 7's checkpoint, L27, L28): 330 px for the person's own card, picked as his
   (the soft blue, the 1 px blue line), 34 px initials, the day's numbers as small chips; the detail on the right. */
.dky-cols { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 16px; align-items: start; }
.dky-mine { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--primary-soft); border: 1px solid var(--primary-line); }
.dky-av.sm { width: 34px; height: 34px; border-radius: 17px; font-size: 12px; }
.dky-mn { font-size: 13.5px; font-weight: 600; }
.dky-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.dky-chips > span { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; padding: 2px 7px; border-radius: 999px; background: var(--task-track); color: var(--neutral-tag); white-space: nowrap; }
@media (max-width: 1100px) { .dky-cols { grid-template-columns: minmax(0, 1fr); } }
.dky-me { display: flex; align-items: center; gap: 12px; }
.dky-av { width: 46px; height: 46px; border-radius: 23px; background: var(--soft-fill); color: var(--primary-text); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.dky-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dky-name { font-size: 18px; font-weight: 600; }
.dky-pace { display: flex; flex-direction: column; gap: 4px; }
.dky-bar { height: 8px; border-radius: 4px; background: var(--card-line); overflow: hidden; }
.dky-bar i { display: block; height: 100%; }
.dky-bar i.lv-ok { background: var(--success); }
.dky-bar i.lv-mid { background: var(--neutral-tag); }
.dky-bar i.lv-bad, .dky-bar i.lv-none { background: var(--danger); }
.dky-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dky-tiles > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--note-fill); min-width: 0; }
.dky-ic { color: var(--text-muted); display: flex; height: 21px; align-items: center; }
.dky-v { font: 600 20px var(--mono); font-variant-numeric: tabular-nums; }
.dky-week { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: var(--note-fill); }
.dky-bars { display: flex; align-items: flex-end; gap: 10px; height: 92px; }
.dky-bars > span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.dky-n { font: 12px var(--mono); font-variant-numeric: tabular-nums; }
.dky-bars i { display: block; width: 100%; border-radius: 4px; background: var(--org-stem); }
.dky-bars i.now { background: var(--accent-line); }
.dky-recs { display: flex; flex-direction: column; gap: 0; }
.dky-recs .dky-pl { padding-bottom: 4px; }
.dky-rec { display: grid; grid-template-columns: 70px 1fr auto; gap: 8px; align-items: center; min-height: 36px; padding: 8px 4px; border: 0; border-top: 1px solid var(--card-line); background: transparent; color: var(--text); font-family: var(--body); text-align: left; cursor: pointer; }
.dky-rec > .dko-tag:first-child { justify-self: start; }
.dky-rm { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.dky-rt { font-size: 13px; font-weight: 600; }
.dky-rev { color: var(--success); }

/* An Employee's My tasks: his comments block on top (1.6 : 1; a row 8 px over and under, the words 13.5 px, the
   buttons 36 px and 12.5 px; a done row at half strength), and his note about who sees what, its line a little darker. */
.dkq { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.dkq-card { padding: 14px 16px; gap: 4px; }
.dkq-pl { color: var(--primary-text); }
.dkq-row { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--card-line); }
.dkq-row.is-done { opacity: 0.5; }
.dkq-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dkq-t { font-size: 13.5px; overflow-wrap: anywhere; }
.dkq-b { min-height: 36px; padding: 0 12px; font-size: 12.5px; flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; }
.dkq-pri.high, .mn-pri.high { background: var(--tag-bad-bg); color: var(--tag-bad); }
.dkq-pri.medium, .mn-pri.medium { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.dkq-pri.low, .mn-pri.low { background: var(--card-line); color: var(--text-muted-on-tag); }
.dkq-none { padding: 6px 0; }
.dkq-see { border-color: var(--org-stem); }
.dkq-see b { font-size: 14px; display: flex; align-items: center; gap: 6px; }
.dkq-see .dko-ps { font-size: 12.5px; line-height: 1.45; }
/* The priority a senior picks where feedback or a comment is written (the minutes page), and its tag once sent. */
.mn-pris { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mn-prib { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--pill-border); background: transparent; color: var(--text); font: 400 12.5px var(--body); cursor: pointer; }
.mn-prib.on { border-color: currentColor; font-weight: 600; }
.mn-prib.on.high { background: var(--tag-bad-bg); color: var(--tag-bad); }
.mn-prib.on.medium { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.mn-prib.on.low { background: var(--card-line); color: var(--text-muted-on-tag); }
.mn-pri { align-self: flex-start; display: inline-block; font: 600 10.5px var(--body); letter-spacing: 0.04em; padding: 2px 6px; border-radius: 6px; }

/* The chat's "Looks like a task … Create it?" under a line, as his prototype: the dashed purple card (12 px corners,
   9 px and 10 px inside), its words 600 12 px, the box 34 px, Create task and Not a task 32 px; once made, the green line. */
.ct-ask { width: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; padding: 9px 10px; border-radius: 12px; border: 1.5px dashed var(--ai-line); background: var(--ai-card); }
.ct-q { font-size: 12px; font-weight: 600; color: var(--ai); display: flex; align-items: flex-start; gap: 5px; line-height: 1.35; }
.ct-q svg { flex: none; margin-top: 2px; }
.ct-ask input.ct-in { width: 100%; box-sizing: border-box; height: 34px; min-height: 34px; border-radius: 10px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--text); padding: 0 8px; font: 12px var(--body); box-shadow: inset 0 2px 4px var(--input-inset); }
.ct-ask input.ct-in:focus { outline: 0; border-color: var(--accent-line); box-shadow: inset 0 2px 4px var(--input-inset), 0 0 0 2px var(--accent-line); }
.ct-due { font-size: 12px; color: var(--text-muted); }
.ct-btns { display: flex; gap: 6px; }
.ct-b1 { min-height: 32px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--primary); color: var(--on-primary); font: 600 12px var(--body); cursor: pointer; }
.ct-b2 { min-height: 32px; padding: 0 10px; border-radius: 12px; border: 1.5px solid var(--pill-border); background: transparent; color: var(--text); font: 400 12px var(--body); cursor: pointer; }
.ct-made { max-width: 260px; font-size: 12px; padding: 5px 8px; border-radius: 8px; background: var(--tag-good-bg); color: var(--success); overflow-wrap: anywhere; }
.ct-made svg { vertical-align: -1px; }
.msg-wrap .ct-ask { margin-top: 4px; max-width: 320px; }
.msg-wrap .ct-ask input.ct-in { height: 40px; font-size: 16px; } /* the app's chat, on a phone: 16 px, so an iPhone doesn't zoom in */
.msg-wrap .ct-made { margin-top: 4px; }
.msg-wrap.mine .ct-ask, .msg-wrap.mine .ct-made { align-self: flex-end; }
.dk-say { flex-wrap: wrap; }
.dk-hint { flex-basis: 100%; font-size: 12px; line-height: 1.35; color: var(--text-muted); }
@media (max-width: 1180px) {
  .dka-grid, .dkq { grid-template-columns: minmax(0, 1fr); }
  .dkp-k { grid-template-columns: repeat(3, 1fr); }
}

/* Step 7, Part H: Plan & billing on the computer (desk-billing.js), as his prototype's computed values: the 26 px title
   with the line on the right, the cards (.pc: 14 px corners, his paddings), the timeline (8 px bars, 4 px apart, mono
   12 px words, today's white ring), the four plans (16 px names, the mine in blue on the soft blue), the red Payment
   failed card, the subscription (30 px seats, the 12 px bar, the three tiles, the 40 px stepper, Monthly | Annual,
   the cancel row), Who is on the plan (34 px faces), Invoices, How you pay (the method, the four tabs, the gates, the
   currency pills) and Billing details. "Pricing coming soon" is his .soon. */
.dkb { gap: 14px; }
.dkb button { font-family: var(--body); cursor: pointer; }
.dkb button:disabled { cursor: default; }
.dkb-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dkb-pc { background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; box-sizing: border-box; color: var(--text); min-width: 0; }
.dkb-pc.p18 { padding: 18px; gap: 12px; }
.dkb-pc.g8 { gap: 8px; }
.dkb-pl { font: 600 12px var(--body); letter-spacing: 0.07em; color: var(--text-muted); }
.dkb-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dkb-tag { font: 600 12px var(--body); letter-spacing: 0.04em; border-radius: 6px; padding: 4px 7px; white-space: nowrap; flex-shrink: 0; }
.dkb-tag.ok { background: var(--tag-good-bg); color: var(--success); }
.dkb-tag.blue { background: var(--role-tag-bg); color: var(--primary-text); }
.dkb-tag.bad { background: var(--tag-bad-bg); color: var(--tag-bad); }
.dkb-tag.grey { background: var(--neutral-tag-soft); color: var(--neutral-tag); }
.dkb-soon { align-self: flex-start; font: 12px var(--mono); letter-spacing: 1px; border-radius: 6px; padding: 4px 7px; background: var(--ai-tile); color: var(--ai); white-space: nowrap; }
.dkb-st { gap: 10px; }
.dkb-st.ok { border-color: var(--tag-good-bg); }
.dkb-st.near { border-color: var(--field-line); }
.dkb-st.bad { border-color: var(--logo-red-dot); background: var(--fail-card); }
.dkb-st > .dkb-row > b { font-size: 17px; font-weight: 600; }
.dkb-tl { display: grid; gap: 4px; }
.dkb-tl > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dkb-tl i { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.dkb-tl i.trial { background: var(--accent-line); }
.dkb-tl i.grace { background: var(--neutral-tag); }
.dkb-tl i.pause { background: var(--logo-red-dot); }
.dkb-tl i.paid { background: var(--done-dot); }
.dkb-tl i.now { box-shadow: 0 0 0 2px var(--today-ring); }
.dkb-tl small { font: 12px var(--mono); font-variant-numeric: tabular-nums; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dkb-tl small.now { color: var(--primary-text); font-weight: 700; }
.dkb-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dkb-tier { padding: 14px; }
.dkb-tier.mine { border-color: var(--primary-line); background: var(--lead-card); }
.dkb-tier > .dkb-row { gap: 6px; } /* his 6 px (checkpoint L26) */
.dkb-tier > .dkb-row > b { font-size: 16px; font-weight: 600; }
.dkb-fail { gap: 8px; border: 2px solid var(--danger); background: var(--fail-card); }
.dkb-fail > b { font-size: 16px; color: var(--tag-bad); display: flex; align-items: center; gap: 6px; }
.dkb-fail > span:not(.dko-ps) { font-size: 13.5px; }
.dkb-fail > .dko-ps { font-size: 13px; line-height: 1.5; }
.dkb-b1 { min-height: 50px; border-radius: 12px; border: 0; background: var(--primary); color: var(--on-primary); font: 600 15px var(--body); padding: 0 18px; }
.dkb-b2 { min-height: 44px; border-radius: 12px; border: 1.5px solid var(--pill-border); background: transparent; color: var(--text); font: 400 14px var(--body); padding: 0 14px; }
.dkb-b2:disabled { color: var(--text-muted); border: 1px solid var(--line); }
.dkb-b2.s36 { min-height: 36px; padding: 0 10px; font-size: 12.5px; }
.dkb-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.dkb-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.dkb-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dkb-sub > .dkb-row > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dkb-sub > .dkb-row b { font-size: 20px; }
.dkb-seats { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dkb-seats b { font: 700 30px var(--mono); font-variant-numeric: tabular-nums; }
.dkb-seats .dko-ps { font-size: 14px; }
.dkb-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--card-line); }
.dkb-bar i.a { background: var(--done-dot); }
.dkb-bar i.v { background: var(--neutral-tag); }
.dkb-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dkb-tiles > span { padding: 10px 12px; border-radius: 12px; background: var(--note-fill); display: flex; flex-direction: column; min-width: 0; }
.dkb-tiles > span > span:first-child { display: flex; align-items: center; gap: 6px; }
.dkb-tiles i { width: 10px; height: 10px; border-radius: 5px; background: var(--org-stem); flex-shrink: 0; }
.dkb-tiles i.a { background: var(--done-dot); }
.dkb-tiles i.v { background: var(--neutral-tag); }
.dkb-tiles b { font: 700 22px var(--mono); font-variant-numeric: tabular-nums; }
.dkb-step { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 4px; border-top: 1px solid var(--card-line); }
.dkb-step > * { margin-top: 8px; }
/* His − and + (checkpoint L26): a 1 px outline; when no seat can go, the same button faded, never another one. */
.dkb-step > button { width: 40px; min-height: 40px; border-radius: 12px; border: 1px solid var(--pill-border); background: transparent; color: var(--text); font-size: 14px; padding: 0; display: grid; place-items: center; }
.dkb-step > button:disabled { opacity: 0.45; cursor: default; }
.dkb-step > b { font: 700 20px var(--mono); font-variant-numeric: tabular-nums; }
.dkb-step > .grow { flex: 1; min-width: 160px; }
.dkb-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.dkb-seg button { min-height: 40px; border: 0; border-radius: 9px; font-size: 13px; background: transparent; color: var(--text-muted); }
.dkb-seg button.on { background: var(--soft-fill); color: var(--primary-text); box-shadow: inset 0 0 0 1px var(--accent-line); font-weight: 600; }
.dkb-next { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dkb-next > .dko-ps { font-size: 13px; }
.dkb-cx { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.dkb-cx .dko-ps { font-size: 12.5px; }
.dkb-cx button { min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--field-line); background: transparent; color: var(--tag-bad); font: 600 12.5px var(--body); flex-shrink: 0; }
.dkb-cxd { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--late-line); background: var(--fail-card); }
.dkb-cxd > b { font-size: 13.5px; color: var(--tag-bad); }
.dkb-cxd > .dko-ps { font-size: 12.5px; line-height: 1.45; }
.dkb-cxd > button { align-self: flex-start; min-height: 40px; padding: 0 14px; }
.dkb-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dkb-h > b { font-size: 16px; }
.dkb-p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 8px 0; border-top: 1px solid var(--card-line); }
.dkb-av { width: 34px; height: 34px; border-radius: 17px; background: var(--soft-fill); color: var(--primary-text); display: grid; place-items: center; font: 700 12px var(--body); flex-shrink: 0; }
.dkb-pn { flex: 1 1 170px; min-width: 170px; display: flex; flex-direction: column; gap: 2px; }
.dkb-pn > span:first-child { font-size: 14px; font-weight: 600; }
.dkb-pn > span:first-child .dko-ps { font-weight: 400; }
.dkb-pr { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.dkb-pr .cost { min-width: 64px; text-align: right; white-space: nowrap; font-family: var(--mono); }
.dkb-pr .dkb-b2.ask { border-color: var(--danger); color: var(--tag-bad); }
.dkb-pask { flex-basis: 100%; font-size: 12.5px; color: var(--tag-bad); line-height: 1.4; }
.dkb-inv { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--card-line); }
.dkb-inv > span:first-child { flex: 1; font-size: 13.5px; min-width: 0; }
.dkb-pm { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--note-fill); border: 1.5px solid var(--accent-line); }
.dkb-pm > i { width: 40px; height: 40px; border-radius: 10px; background: var(--screen); display: grid; place-items: center; flex-shrink: 0; color: var(--text); }
.dkb-pm > span:not(.dkb-tag) { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dkb-pm b { font-size: 14.5px; }
.dkb-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.dkb-tabs button, .dkb-pills button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; font: 600 12.5px var(--body); background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.dkb-tabs button { display: inline-flex; align-items: center; justify-content: center; }
.dkb-tabs button svg { margin-right: 6px; flex-shrink: 0; }
.dkb-tabs button.on, .dkb-pills button.on { background: var(--soft-fill); color: var(--primary-text); box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.dkb-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.dkb-pills button { border-radius: 999px; font-size: 13px; }
.dkb-pills button:disabled { opacity: 0.55; }
.dkb-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.dkb-card > .dkb-row > b { font-size: 17px; font-weight: 600; }
.dkb-cv { border-radius: 16px; padding: 18px; background: linear-gradient(135deg, var(--role-tag-bg), var(--ai-tile)); border: 1px solid var(--accent-line); display: flex; flex-direction: column; gap: 14px; }
.dkb-cv > span:first-child { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.dkb-cv .num { font: 22px var(--mono); letter-spacing: 2px; }
.dkb-cv > span:last-child { font-size: 14px; color: var(--neutral-tag); }
.dkb-note { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--note-fill); font-size: 13px; line-height: 1.45; }
.dkb-wallet { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dkb-wallet button { min-height: 48px; border-radius: 12px; font: 600 16px var(--body); }
.dkb-wallet .apple { border: 0; background: var(--wallet-black); color: var(--wallet-white); }
.dkb-wallet .google { border: 1.5px solid var(--line); background: var(--wallet-white); color: var(--wallet-black); }
.dkb-lh { line-height: 1.5; }
.dkb-safe { font-size: 12px; line-height: 1.45; }
.dkb-f { display: flex; flex-direction: column; gap: 4px; }
.dkb .fi { border-radius: 10px; }
.dkb-13 { font-size: 13px; }
.dkb .b16 { font-size: 16px; }
.dkb .b17 { font-size: 17px; }
.dkb .dkb-s38 { align-self: flex-start; min-height: 38px; padding: 0 16px; }
.dkb-ok { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--success); }
@media (max-width: 1150px) {
  .dkb-cols { grid-template-columns: minmax(0, 1fr); }
  .dkb-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dkb-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
