:root {
  /* Theme tokens (spec 2026-11-26-klive-stable-release 4.4 T1). Dark = default and today's look; the light
     block below overrides the same names. /theme.js sets <html data-theme> before first paint. Every colour
     on a stable page comes from here; the Studio (dashboard.html) uses the same names. */
  --bg: #121116;
  /* the AI Home's own palette (specs/2026-11-28-klive-ai-home mockup), dark */
  --home-bg: #121116; --home-surface: #1a1920; --home-ink: #f3f1f6; --home-ink2: #b3adc0; --home-ink3: #958fa3;
  --home-rule: #2e2b37; --home-berry: #ff6fa3; --home-ok: #9be3b4; --home-warn: #ffd58a;
  --panel: #1b1a21;
  --panel-2: #25232d;
  --ink: #f1eff5;
  --muted: #9a94a8;
  --line: #322f3c;
  /* the border of a control (button, field): 3:1 against panel, panel-2, bg and the sidebar (T4, WCAG 1.4.11);
     --line stays the quiet divider. 37% line + 63% muted = #746f80, 3.19:1 on panel-2 (the worst case). */
  --control-line: color-mix(in srgb, var(--line) 37%, var(--muted));
  --berry: #ff4d8d;
  --ok: #b6f24d;
  --blue: #5aa9ff;
  --amber: #ffb84d;
  --danger: #ff6b6b;
  --gold: #ffd24d;
  --pink: #ff9ecf;
  --on-berry: #ffffff;
  --berry-btn: #cb2963;                   /* filled berry button under white text (4.5:1) */
  --danger-btn: #c0392b;                  /* filled danger button under white text */
  --berry-dim: #5c2c40;
  --video: #000000;
  --preview-bg: #0c0b0f;
  --sidebar-bg: #0f0e13;
  --topbar-bg: rgba(18, 17, 22, .8);
  --nav-active: #25232d;
  --chip-bg: rgba(0, 0, 0, .2);
  --dot-off: #6c6878;
  --shadow: rgba(0, 0, 0, .5);           /* a colour: box-shadow: 0 20px 60px var(--shadow) */
  --scrim: rgba(0, 0, 0, .55);
  --caption-bg: rgba(0, 0, 0, .72);       /* captions over the live video (always on dark video) */
  --caption-ink: #ffffff;
  /* Console agent panel: its own blue so it never melts into the page (Yu); agent.js maps --ka-* to these */
  --agent-bg: #15202e;
  --agent-head: #0f1823;
  --agent-bubble: #1f2d40;
  --agent-field: #0f1722;
  --agent-code: #0c131c;
  --agent-line: #2b3c53;
  --agent-accent: #5aa9ff;
  --agent-ink: #e8eef7;
  --agent-muted: #93a3b8;
  --agent-link: #7cbcff;
  /* the report "paper" (CM report view, file preview, print): white in both themes */
  --paper: #ffffff;
  --paper-ink: #161616;
  --paper-muted: #555555;
  --paper-line: #dddddd;
  /* old names, kept so older rules and inline styles keep working */
  --lime: var(--ok);
  --accent: var(--berry);
  --panel2: var(--panel-2);
  --border: var(--line);
  --radius: 14px;
  --sidebar: var(--sidebar-w, 220px);   /* the user can drag it: 160-360 px (theme.js) */
  --gap: clamp(10px, 1vw, 18px);         /* panel gaps grow with the window (L1) */
  color-scheme: dark;
}
:root[data-theme="light"] {
  /* Spec T1 values; muted, berry, ok and amber are one step darker than the spec so text keeps 4.5:1 (T4). */
  --bg: #f3f4f7;
  /* the AI Home's own palette, light: warm, as the design (not the Console's cool grey) */
  --home-bg: #fbfaf9; --home-surface: #ffffff; --home-ink: #17161b; --home-ink2: #55515e; --home-ink3: #6c6776;
  --home-rule: #e4e1e8; --home-berry: #b81f57; --home-ok: #17683b; --home-warn: #8a5200;
  --panel: #ffffff;
  --panel-2: #eef0f4;
  --ink: #1a1c23;
  --muted: #636d82;
  --line: #dde1e8;
  /* 22% line + 78% muted = #7e8798: 3.17:1 on panel-2, 3.62:1 on white */
  --control-line: color-mix(in srgb, var(--line) 22%, var(--muted));
  --berry: #cb2963;
  --ok: #167d42;
  --blue: #2b66d0;
  --amber: #986010;
  --danger: #c0392b;
  --gold: #8a6100;
  --pink: #b02a68;
  --on-berry: #ffffff;
  --berry-btn: #cb2963;
  --danger-btn: #c0392b;
  --berry-dim: #8f1f47;
  --video: #000000;
  --preview-bg: #e9ebf0;
  --sidebar-bg: #ffffff;
  --topbar-bg: rgba(243, 244, 247, .85);
  --nav-active: #eef0f4;
  --chip-bg: rgba(16, 24, 40, .06);
  --dot-off: #9aa1ad;
  --shadow: rgba(16, 24, 40, .18);
  --scrim: rgba(16, 24, 40, .35);
  --caption-bg: rgba(0, 0, 0, .72);       /* the same in light: captions sit on the video, not the page */
  --caption-ink: #ffffff;
  --agent-bg: #eef3fa;
  --agent-head: #dfe8f4;
  --agent-bubble: #f8fbff;
  --agent-field: #ffffff;
  --agent-code: #e3eaf3;
  --agent-line: #c6d4e7;
  --agent-accent: #2f74d0;
  --agent-ink: #1b2533;
  --agent-muted: #5b6b80;
  --agent-link: #1f5fb8;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}
a { color: var(--berry); }

/* ---------- app shell ---------- */
.shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar {
  background: var(--sidebar-bg); border-right: 1px solid var(--line);
  padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh;
}
.sb-brand { font-size: 20px; font-weight: 800; padding: 6px 8px 16px; }
.sb-brand .live { color: var(--berry); }
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px;
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px;
}
.nav-item .ico { font-size: 17px; width: 20px; text-align: center; }
.nav-item:hover { background: var(--panel-2); color: var(--ink); }
.nav-item.active { background: var(--nav-active); color: var(--ink); box-shadow: inset 3px 0 0 var(--berry); }
/* the search button sits in the menu like a link: no fill, no border; its text is what you see (T4) */
.sb-foot { font-size: 12px; color: var(--muted); padding: 8px; }
.sb-status { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 13px; color: var(--muted); }
.sb-lang { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.sb-lang .ico { font-size: 15px; }
.sb-lang select { flex: 1; padding: 7px 9px; font-size: 13px; }
/* Theme switch, sidebar foot (spec 4.4 T2): System / Light / Dark. */
.sb-theme { display: flex; margin: 0 12px 4px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.sb-theme button { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 600; padding: 5px 4px; border: 0; border-radius: 0;
  background: transparent; color: var(--muted); }
.sb-theme button + button { border-left: 1px solid var(--line); }
.sb-theme button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.content { display: flex; flex-direction: column; min-width: 0; }
.topbar, .tb-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 26px; border-bottom: 1px solid var(--line); position: sticky; top: 0;
  background: var(--topbar-bg); backdrop-filter: blur(8px); z-index: 5;
}
.page-title { font-size: 18px; font-weight: 700; }
/* The page fills the width beside the sidebar (spec 4.4 L1, Yu: "use the screen, like Backstage"). No max-width;
   padding grows with the window. Long text keeps its own line length (L3), not the page. */
.page { padding: clamp(14px, 1.6vw, 28px) clamp(14px, 2vw, 36px); width: 100%; min-width: 0; }

/* Shared layout parts (spec 4.4, site-mockup.html). No fixed break points: the width decides (L2). */
.kpis { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: baseline; }
.strip { padding: 10px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.kpi { display: flex; align-items: baseline; gap: 6px; }
.kpi b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.kpi span { color: var(--muted); font-size: 12px; }
/* list + detail: side by side when both fit, stacked when not */
.md { display: flex; flex-wrap: wrap; gap: var(--gap); align-items: flex-start; margin-top: var(--gap); }
.md > .md-main { flex: 3 1 560px; min-width: 0; }
.md > .md-side { flex: 1 1 320px; min-width: 0; }
/* panels flow by width: as many columns as fit (Settings, System) */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--flow-min, 380px)), 1fr));
  gap: var(--gap); align-items: start; }
.flow > *, .grid2 > * { min-width: 0; }
.field input, .field select { min-width: 0; }
/* L3: long text keeps about 80 characters per line (the block, not the page) */
.panel > p, .prose { max-width: 80ch; }
/* L4: a wide table scrolls inside its panel; the first (name) column stays on the left */
.tbl-scroll { overflow-x: auto; max-width: 100%; }
.tbl-scroll th:first-child, .tbl-scroll td:first-child { position: sticky; left: 0; z-index: 1; background: var(--panel); }
/* L5: the sidebar collapses to a narrow rail (nav.js button, kept in localStorage; theme.js sets it before paint) */
:root[data-sidebar="rail"] { --sidebar: 60px; }
:root[data-sidebar="rail"] .sidebar { padding-left: 6px; padding-right: 6px; }
/* hidden: the content takes the whole width; the top-bar toggle brings the menu back */
:root[data-sidebar="hidden"] .shell { grid-template-columns: minmax(0, 1fr); }
:root[data-sidebar="hidden"] .sidebar { display: none; }
/* drag handle on the sidebar's right edge (also focusable: arrow keys) */
.sb-resize { position: absolute; top: 0; right: -3px; width: 6px; height: 100%; cursor: col-resize; z-index: 6;
  background: transparent; border: 0; padding: 0; touch-action: none; }
.sb-resize:hover, .sb-resize:focus-visible, .sb-resize.drag { background: color-mix(in srgb, var(--berry) 40%, transparent); outline: none; }
.sb-toggle { flex: none; padding: 4px 9px; font-size: 15px; line-height: 1; background: transparent; color: var(--muted);
  border: 1px solid var(--control-line); border-radius: 8px; margin-right: 10px; }
.sb-toggle:hover { color: var(--ink); }
/* no .topbar on the page: the toggle floats at the top left */
.sb-toggle-float { position: fixed; top: 10px; left: 10px; z-index: 20; margin: 0; background: var(--panel); }
:root[data-sidebar="rail"] .sb-brand .live, :root[data-sidebar="rail"] .sb-lang, :root[data-sidebar="rail"] .sb-theme,
:root[data-sidebar="rail"] .sb-foot, :root[data-sidebar="rail"] .sb-build,
:root[data-sidebar="rail"] #sbStatus { display: none; }
:root[data-sidebar="rail"] .nav-item, :root[data-sidebar="rail"] .sb-brand { font-size: 0; justify-content: center; padding-left: 0; padding-right: 0; }
:root[data-sidebar="rail"] .nav-item span::first-letter, :root[data-sidebar="rail"] .sb-brand::first-letter { font-size: 15px; }
:root[data-sidebar="rail"] .nav-item span { display: block; }
.sb-rail { margin: 0 12px 6px; padding: 4px 8px; font-size: 12px; font-weight: 600; background: transparent; color: var(--muted);
  border: 1px solid var(--control-line); border-radius: 8px; }
:root[data-sidebar="rail"] .sb-rail { margin: 0 0 6px; }

.badge { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--panel-2); }
.badge.ok { color: var(--lime); }
.badge.warn { color: var(--amber); }
.badge.muted { color: var(--muted); }
.topbar .acct, .tb-row .acct { display: flex; gap: 10px; align-items: center; }

/* ---------- components ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.panel h2 { margin: 0 0 14px; font-size: 16px; }
.panel h3 { margin: 18px 0 8px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }   /* 2 columns when they fit (L2) */
/* Inline per-event viewer intel (#347) */
.evt .body { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.vintel { font-size: 11px; color: var(--muted); background: var(--chip-bg); border-radius: 999px; padding: 0 6px; white-space: nowrap; }
.hint { color: var(--muted); font-size: 12px; }

input, select, button { font: inherit; }
input, select, textarea { background: var(--panel-2); border: 1px solid var(--control-line); color: var(--ink); border-radius: 10px; padding: 11px 13px; font-size: 14px; }
button { cursor: pointer; border: 1px solid var(--control-line); border-radius: 10px; padding: 11px 16px; font-weight: 600; font-size: 14px; background: var(--panel-2); color: var(--ink); }
button.primary { background: var(--berry-btn); color: var(--on-berry); border-color: transparent; }   /* the fill stands out */
button.primary:hover { filter: brightness(1.08); }
button.primary.connected { background: var(--berry-dim); }
button.ghost { background: transparent; border: 1px solid var(--control-line); }

.connect-row { display: flex; gap: 10px; }
.connect-row input { flex: 1; }
.status { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot-off); }
.dot.on { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.dot.warn { background: var(--amber); box-shadow: 0 0 10px var(--amber); }   /* connecting / waiting */
.room-info { margin-left: auto; font-size: 12px; }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stat { background: var(--panel-2); border-radius: 10px; padding: 14px 6px; text-align: center; }
.stat span { display: block; font-size: 22px; font-weight: 800; }
.stat label { font-size: 11px; color: var(--muted); }

.toggle { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 14px; }
.toggle input { width: 16px; height: 16px; accent-color: var(--berry); }
.field { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.field label { min-width: 84px; color: var(--muted); font-size: 13px; }
.field select, .field input { flex: 1; }

.overlay-link { display: flex; gap: 8px; margin-bottom: 8px; }
.overlay-link input { flex: 1; font-size: 12px; color: var(--muted); }

.feed-list { flex: 1; overflow-y: auto; max-height: 72vh; display: flex; flex-direction: column; gap: 8px; }
.evt { display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border-radius: 10px; background: var(--panel-2); animation: pop .25s ease; }
.evt .who { font-weight: 700; }
.evt .what { color: var(--muted); }
.evt.gift { border-left: 3px solid var(--berry); }
.evt.follow { border-left: 3px solid var(--lime); }
.evt.comment { border-left: 3px solid var(--blue); }
.evt.share { border-left: 3px solid var(--amber); }
.evt .tag { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--chip-bg); color: var(--muted); margin-left: auto; }
/* Watch-on-TikTok link (#343) — replaces the embedded video panel */
.watch-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700;
  text-decoration: none; color: var(--on-berry); background: var(--berry-btn); padding: 5px 12px; border-radius: 999px;
  white-space: nowrap; transition: filter .15s; }
.watch-link:hover { filter: brightness(1.1); }
/* Event-feed color legend (#340) */
.feed-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 6px 4px 10px; font-size: 11px; color: var(--muted); }
.feed-legend .lg { display: inline-flex; align-items: center; gap: 5px; }
.feed-legend .sw { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
@keyframes pop { from { transform: translateY(-4px); opacity: 0; } to { transform: none; opacity: 1; } }

/* overlay manager cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card h3 { margin: 0 0 4px; font-size: 15px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.card .desc { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.card .preview { height: 120px; border-radius: 10px; background: repeating-conic-gradient(color-mix(in srgb, var(--ink) 5%, var(--preview-bg)) 0 25%, var(--preview-bg) 0 50%) 0 0 / 20px 20px; overflow: hidden; position: relative; margin-bottom: 12px; border: 1px solid var(--line); }
.card .preview iframe { width: 200%; height: 240px; border: 0; transform: scale(.5); transform-origin: top left; }
.row-actions { display: flex; gap: 8px; }
.row-actions button, .row-actions a.btn { flex: 1; text-align: center; text-decoration: none; }
a.btn { display: inline-block; text-decoration: none; padding: 10px 14px; border-radius: 10px; background: var(--panel-2); color: var(--ink); font-weight: 600; font-size: 14px; }

@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; }
  /* Sidebar becomes a fixed bottom tab bar (icons + labels). */
  .sidebar {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; height: auto;
    flex-direction: row; flex-wrap: nowrap; justify-content: space-around;
    gap: 2px; padding: 4px 2px env(safe-area-inset-bottom, 4px); z-index: 40;
    border-top: 1px solid var(--line); background: var(--sidebar-bg);
  }
  .sb-brand, .sb-foot, .sb-status, .sb-lang, .sb-theme, .sb-build { display: none; }
  .nav-item { flex: 1; flex-direction: column; gap: 2px; padding: 6px 2px; font-size: 10px; text-align: center; min-width: 0; }
  .nav-item .ico { font-size: 20px; width: auto; }
  .nav-item.active { box-shadow: inset 0 3px 0 var(--berry); }
  .content { padding-bottom: 64px; }
  :root[data-shell="top"] .content { padding-bottom: 0; }   /* check 12: no bottom tab bar in the top-bar shell: the footer is last */
  :root[data-sidebar="rail"] .nav-item { font-size: 10px; }        /* the phone bar keeps its labels */
  :root[data-sidebar="hidden"] .sidebar { display: flex; }          /* the phone always has its bottom bar */
  .sb-toggle, .sb-resize { display: none; }
  .sb-rail { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}

/* Status dot inline in text and tables (no emoji, Yu 2026-11-26): on = live, warn = waiting, err = error,
   hold = paused, plain = off. */
.dot.i { display: inline-block; width: 8px; height: 8px; vertical-align: middle; margin-right: 4px; box-shadow: none; }
.dot.err { background: var(--berry); }
.dot.hold { background: transparent; border: 1.5px solid var(--muted); box-sizing: border-box; }

/* Console v2 K1, design v4: owner / admin / manager have ONE top bar (no left sidebar). nav.js sets
   data-shell="top" (theme.js already before paint, from the last visit). The creator audience keeps the sidebar. */
:root[data-shell="top"] .shell { grid-template-columns: minmax(0, 1fr); }
:root[data-shell="top"] .sidebar, :root[data-shell="top"] .sb-toggle, :root[data-shell="top"] .sb-resize { display: none !important; }
:root[data-shell="top"] .topbar, .tb-row { padding: 8px clamp(12px, 1.6vw, 20px); gap: 10px; }
.tb-row { position: relative; flex-wrap: nowrap; }
.tb-row + .topbar { position: static; }
:root[data-shell="top"] .topbar .page-title { display: none; }
.tb-nav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tb-nav::-webkit-scrollbar { display: none; }
.tb-logo { font-size: 16px; font-weight: 800; margin-right: 12px; white-space: nowrap; color: var(--ink); text-decoration: none; }
.tb-logo .live { color: var(--berry); }
/* Yu 11-29: the logo is the way home: it must read as a link */
.tb-logo { border-radius: 8px; padding: 4px 6px; }
.tb-logo:hover { background: var(--panel-2); }
.tb-logo:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }
.tb-logo[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--berry); }
/* 新機能: a small chip with a dot, and its list */
.tb-new-wrap { position: relative; display: inline-flex; }
.tb-new { position: relative; font-size: 12.5px; }
.tb-new-dot { position: absolute; top: 4px; right: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--berry); }
.tb-new-list { position: fixed; top: 56px; right: 8px; z-index: 300; width: min(340px, calc(100vw - 16px)); max-height: 60vh; overflow-y: auto;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; box-shadow: 0 8px 28px var(--shadow); }
.tb-new-list[hidden] { display: none; }
.tb-new-list h2 { font-size: 13px; margin: 0 0 6px; color: var(--muted); }
.tb-new-list h3 { font-size: 13.5px; margin: 10px 0 2px; }
.tb-new-list ul { margin: 0; padding-left: 18px; font-size: 13px; }
.tb-note-sec + .tb-note-sec { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 8px; }
.tb-new-list .nt-row { display: flex; align-items: baseline; gap: 8px; padding: 8px 6px; margin: 0 -6px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 13.5px; min-height: 36px; box-sizing: border-box; }
.tb-new-list .nt-row:hover, .tb-new-list .nt-row:focus-visible { background: var(--panel-2); }
.tb-new-list .nt-text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.tb-new-list .nt-age { flex: none; color: var(--muted); font-size: 12px; white-space: nowrap; }
.tb-new-list .nt-new { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--berry); align-self: center; }
.tb-new-list .nt-new.off { visibility: hidden; }
.tb-new-list .nt-empty { margin: 4px 0; color: var(--muted); font-size: 13px; }
@media (max-width: 820px) {
  .tb-new-list.sheet { left: 0 !important; right: 0; top: auto !important; bottom: 0; width: 100%; max-height: 75vh; border-radius: 14px 14px 0 0; padding-bottom: max(14px, env(safe-area-inset-bottom, 0px)); }
}
/* the E2 mark (Yu 11-29): one source, /logo.svg, drawn in the berry through a mask (the seed is a real hole) */
/* check 11: 1.2em, centred on the text's middle, so beside large text (login, pending, the pricing heading) it scales;
   the bar and the sidebar keep the measured 22 px */
.brand-mark { display: inline-block; width: 1.2em; height: 1.2em; margin-right: .32em; vertical-align: -.22em; color: var(--berry); background: currentColor;
  -webkit-mask: url(/logo.svg?v=1) center / contain no-repeat; mask: url(/logo.svg?v=1) center / contain no-repeat; }
.tb-logo .brand-mark, .sb-brand .brand-mark { width: 22px; height: 22px; margin-right: 7px; vertical-align: -5px; }
.tb-item { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px; white-space: nowrap;
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; line-height: 20px; background: transparent; border: 0; font-family: inherit; cursor: pointer; }
.tb-item:hover { background: var(--panel-2); color: var(--ink); }
.tb-item.active { background: var(--ink); color: var(--bg); }
.tb-gap { flex: 1 1 auto; min-width: 8px; }
.tb-nav .cm-req-badge[hidden] { display: none; }
/* (A): the warning dot on システム (Backstage not connected / recording errors) */
.tb-menu-btn { position: relative; }
.tb-menu-dot { position: absolute; top: 3px; right: 3px; width: 8px; height: 8px; border-radius: 50%; }
.tb-menu-dot.warn { background: var(--amber); } .tb-menu-dot.new { background: var(--berry); }
.tb-menu-new { position: relative; display: block; width: 100%; text-align: left; font: inherit; background: none; border: 0; cursor: pointer; }
.tb-menu-new .tb-new-dot { position: static; display: inline-block; margin-left: 6px; vertical-align: 2px; }
/* 通知 in the sidebar layout (pdm 11-30): an entry in the sidebar's account area; the Studio and a phone use the account menu */
.sb-notify { padding: 0 8px; }
.sb-notify .tb-new-wrap { display: flex; }
.sb-notify .tb-new { width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; font: inherit; color: inherit; }
.sb-notify .tb-new-dot { position: static; display: inline-block; margin-left: 6px; vertical-align: 2px; }
.sb-notify.sb-notify-off { display: none; }
.acct-wn { display: none; width: 100%; text-align: left; margin-bottom: 4px; cursor: pointer; font: inherit; }
.acct-wn.always { display: block; }
.acct-wn .tb-new-dot { position: static; display: inline-block; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 820px) { .sb-notify { display: none; } .acct-wn { display: block; } }
.tb-warn { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-left: 4px; vertical-align: 2px; }
.tb-menu .tb-why { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; white-space: normal; }   /* ☰: the dot's reason in words */
.sys-why { margin: 0 0 12px; padding: 8px 12px; border-left: 3px solid var(--amber); background: var(--panel-2); border-radius: 6px; font-size: 13.5px; }
/* check 10: every [hidden] stays hidden (a display rule like .tb-new-wrap's beat it: a dead 新機能 chip on every page) */
[hidden] { display: none !important; }
/* check 10 S3: a count badge sits on its entry's corner, out of the bar's width budget (the bar must not change per page) */
.tb-nav .tb-item[data-entry] { position: relative; }
.tb-nav .tb-item[data-entry]:has(.cm-req-badge) { padding-right: 28px; }       /* the slot is there on every page */
.tb-nav .tb-item .cm-req-badge { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); }
.tb-more a { display: block; text-align: left; margin-bottom: 4px; }
.tb-more .tb-narrow { display: none; }
.tb-menu-part { margin: 8px 0 4px; padding: 0; }
/* No width breakpoint (L2, fluid): when the bar runs out of room, nav.js marks it .tb-tight and Studio / Settings
   move into the account menu (that happens a little under 1024 px in en and ja). */
.tb-tight .tb-nav .tb-wide { display: none; }
.tb-tight .tb-item { padding-left: 6px; padding-right: 6px; }          /* tight: compact */
/* check 6: at laptop widths (the 1100 px step) the account shows an initial and the Backstage badge a dot (full text in the tooltip and the
   accessible name), so the Owner's bar does not scroll at 1024 with a real-length e-mail */
.acct-ini { display: none; }
.tb-item .lbl-short, .tb-menu-item .lbl-short { display: none; }
@media (max-width: 1100px) {
  .tb-item .lbl-full { display: none; } .tb-item .lbl-short { display: inline; }   /* check 7: the Owner's bar fits from 821 px */
  #acctBtn .acct-full { display: none; }
  #acctBtn .acct-ini { display: inline-flex; width: 1.6em; height: 1.6em; align-items: center; justify-content: center; font-weight: 700; }
  #acctBtn { padding: 2px; border-radius: 50%; }
  #tbNav [data-mirror="bsBadge"]:not([hidden]) { font-size: 0; width: 9px; height: 9px; padding: 0; border-radius: 50%; display: inline-block; vertical-align: middle; }
}
.tb-tight .tb-nav { gap: 0; }
/* check 6: phones: the current entry + a menu of all entries, never a sideways strip */
.tb-menu-btn { display: none; align-items: center; padding: 7px 10px; border-radius: 9px; background: none; border: 0; color: var(--ink); cursor: pointer; }
.tb-menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 70; background: var(--panel-2); border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px var(--shadow); padding: 6px 12px 10px; display: flex; flex-direction: column; }
.tb-menu[hidden] { display: none; }
.tb-menu { max-height: calc(100dvh - 64px); overflow-y: auto; }
.tb-menu .tb-menu-item { min-height: 44px; display: flex; align-items: center; padding: 0 6px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.tb-cur { display: none; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tb-menu-open #kaHandle { visibility: hidden; }
.tb-menu .tb-menu-item.active { background: var(--panel); font-weight: 700; }
@media (max-width: 820px) {
  .tb-menu-btn { display: inline-flex; } .tb-cur { display: block; }
  /* check 15: ☰ is a 44 px target (no background, so it looks the same); the bar's row fits it (it hides overflow) */
  .tb-menu-btn { min-width: 44px; min-height: 44px; justify-content: center; } .tb-nav { min-height: 44px; }
  .tb-nav a.tb-item[data-entry]:not(.active) { display: none; }
  .tb-nav { overflow-x: hidden; }
  .tb-nav .tb-wide { display: none; } .tb-more .tb-narrow { display: block; }   /* Studio / Settings: in the account menu */
  .tb-nav .tb-item { padding-left: 6px; padding-right: 6px; }                     /* and one size, tight or not */
  .tb-nav > .tb-new-wrap { display: none !important; }                           /* check 13: 新機能 is a row in ☰ */
  /* check 11 (1): with a wider font (a Mac's) the current entry pushed ⌘K under the avatar: only the current entry
     (or the page name) may shrink, with "…"; the logo, ☰, 新機能, ⌘K and the account never move */
  .tb-nav > * { flex-shrink: 0; }
  .tb-nav > .tb-gap { flex: 1 1 0; min-width: 4px; }
  .tb-nav > a.tb-item[data-entry].active, .tb-nav > .tb-cur { display: block; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tb-nav > .tb-name-off { display: none !important; }   /* check 12: under 3 characters, no text at all (nav.js) */
}
 .tb-tight .tb-logo { margin-right: 6px; }  /* room for "Home" as the first entry (A-1) */
.tb-tight .tb-more .tb-narrow { display: block; }   /* the hide switch (!important) still wins */

/* A badge, pill or chip is one unit: it never wraps inside (Yu 11-28, prod: "マネー / ジャー" in the members table).
   Its column takes its width instead (td.nw). */
.badge, .cm-pill, .cm-chip, .cm-req-badge, .bs-badge, .ka-badge, .tag, .onto-tag, .mic-chip { white-space: nowrap; }
td.nw { white-space: nowrap; width: 1%; }
.nw-i { white-space: nowrap; }

/* the slim footer (footer.js, Yu 11-29): at the end of the page content, not fixed; wraps by itself on a phone */
.k-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 28px; padding: 14px 0 6px;
  border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
/* check 11: on a page without a content box (login, pending, pricing) the footer sits on the body: give it the
   page's side room, or its text touches the window edges */
.content > .k-foot, main > .k-foot, body > .k-foot { padding-left: clamp(14px, 2vw, 36px); padding-right: clamp(14px, 2vw, 36px); }   /* = .page */
body > .k-foot { margin-top: 0; padding-bottom: 10px; }
/* check 12: the AI tab sits on the right edge (30 px): the footer's end keeps clear of it on every page */
.content > .k-foot, main > .k-foot, body > .k-foot { padding-right: 38px; }
.ah > .k-foot { padding-right: 14px; }                                               /* + .ah's own 24 px */
/* check 12: on a short page the footer sits at the bottom of the window, not mid-page: the content box is at least one
   window tall and the footer is its last item */
.content:has(> .k-foot), main:has(> .k-foot) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.kf-space { flex: 1 0 28px; }                            /* grows to push the footer down; 28 px at least */
.ah > .kf-space { display: none; }                        /* the Home's scroll area already fills its column */
.content > .k-foot, main > .k-foot, .ah > .k-foot, body > .k-foot { margin-top: 0; }
.content > .k-foot, main > .k-foot { box-sizing: border-box; width: 100%; }
.k-foot .kf-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.k-foot .kf-links a { color: inherit; }
.k-foot .kf-end { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.k-foot .kf-lang { font: inherit; color: inherit; background: transparent; border: 1px solid var(--muted); border-radius: 6px; padding: 3px 6px; min-height: 30px; }
.k-foot .kf-theme:empty { display: none; }
.k-foot .kf-end { flex-wrap: wrap; justify-content: flex-end; }   /* at 390: lang, theme and version wrap */
.k-foot #sbTheme { display: inline-flex; margin: 0; }                 /* in the footer (Yu 11-30): beats the sidebar's hide rules */
.k-foot #sbTheme button { flex: none; min-height: 30px; padding: 4px 10px; }
.k-foot .kf-ver-btn { font: inherit; color: inherit; background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* check 9: the retry under a failed read is a 44 px target */
.kfail [data-kretry] { min-height: 44px; padding-inline: 14px; }


/* the job levels on a co-host line (cohost-release.js, pdm 11-29) */
.rel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.rel-ask .rel-q { font-weight: 700; color: var(--ink); }
.rel-say { min-height: 44px; min-width: 64px; font-weight: 700; }
.rel-left { font-variant-numeric: tabular-nums; }
.rel-state.rel-said { color: var(--ink); font-weight: 700; }
.rel-gone { opacity: .55; }
/* Console › メンバーと事務所 (people.js, spec 2026-11-29): the list and the person panel */
.pp-cols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); gap: var(--gap, 16px); align-items: start; }
.pp-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pp-tools input { flex: 1; min-width: 200px; min-height: 40px; }
.pp-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.pp-chips .chip { border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; min-height: 32px; font: inherit; font-size: 13px; color: var(--muted); background: none; cursor: pointer; }
.pp-chips .chip.on { border-color: var(--berry); color: var(--ink); background: var(--panel-2); }
.pp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.pp-table th { font-size: 12.5px; font-weight: 500; color: var(--muted); text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pp-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pp-table tbody tr[data-id] { cursor: pointer; }
.pp-table tr.sel td { background: var(--panel-2); }
.pp-who b { display: block; } .pp-who small { color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.pp-role { display: inline-block; border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; margin: 0 4px 4px 0; font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.pp-role.r-owner, .pp-role.r-admin { border-color: var(--berry); }
.pp-role.r-ag { border-color: var(--amber); } .pp-role.r-mgr { border-color: var(--muted); }
.pp-role.r-inv { border-style: dashed; font-weight: 500; } .pp-role.r-none { color: var(--muted); font-weight: 500; }
.pp-panel h2 { margin: 0; } .pp-blk { border-top: 1px solid var(--line); padding: 12px 0; }
.pp-self { margin: 8px 0 4px; padding: 8px 10px; border-left: 3px solid var(--amber); background: var(--panel-2); border-radius: 6px; font-size: 13px; }   /* Yu 11-30: no self-removal */
.pp-blk h3 { font-size: 14px; margin: 0 0 2px; display: flex; justify-content: space-between; gap: 10px; }
.pp-state { font-weight: 500; color: var(--muted); }
.pp-opts { list-style: none; margin: 0; padding: 0; } .pp-opts li { display: flex; gap: 8px; align-items: center; padding: 3px 0; }
.pp-box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--muted); display: inline-grid; place-items: center; font-size: 12px; }
.pp-opts li.on .pp-box { background: var(--berry-btn); border-color: var(--berry-btn); color: var(--on-berry); }
.pp-tags { display: flex; gap: 6px; flex-wrap: wrap; } .pp-tag { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 1px 8px; font-size: 13px; }
.pp-hist { list-style: none; margin: 0; padding: 0; } .pp-hist li { padding: 3px 0; }
.pp-req { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pp-req:first-child { border-top: 0; } .pp-req b { display: block; } .pp-req .btn { min-height: 44px; display: inline-flex; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 820px) { .pp-cols { grid-template-columns: minmax(0, 1fr); } }

/* check 18: the 「AI に聞く」 side tab (#kaHandle, about 36 px, fixed at the right edge) must not cover a co-host card */
body:has(#kaHandle) #aiFeed .evt { margin-right: 40px; }
@media (max-width: 820px) { body:has(#kaHandle) #aiFeed .evt { margin-right: 0; } }

/* the Agencies invite: a manager's Creators (P5 #824) */
.ag-crpick { border: 0; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ag-crpick legend { padding: 0; margin-bottom: 4px; width: 100%; }
.ag-cr { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

/* people PR 2: the person panel's controls, the in-page confirmation, the request approval */
.pp-ask { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; max-width: min(520px, calc(100vw - 32px)); background: var(--panel); color: var(--ink); }
.pp-ask::backdrop { background: var(--scrim); }
.pp-ask h3 { margin: 0 0 8px; font-size: 16px; } .pp-ask ul { margin: 0 0 12px; padding-left: 20px; }
.pp-ask.danger h3 { color: var(--danger); }
.pp-ask-acts { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.pp-ask-acts button, .pp-add button, .pp-add select, #ppAdmin, #ppAgSave, #ppRevokeAll { min-height: 44px; }
.pp-tag { display: inline-flex; align-items: center; gap: 2px; }
.pp-x { min-width: 44px; min-height: 44px; padding: 0; }
.pp-add { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pp-opt { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
#ppRevokeAll { color: var(--danger); }
.pp-approve { flex-direction: column; align-items: stretch; }
.pp-approve-form { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.pp-approve-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 14px; }
.pp-approve-form fieldset[hidden] { display: none; }
.pp-approve-form legend { width: 100%; padding: 0; }
.pp-approve-form select { min-height: 44px; }

/* check 19: the people list at phone width: the chips under the name, the panel as a sheet over the list, 44 px chips */
.pp-who-roles { display: none; } .pp-close { display: none; }
@media (max-width: 820px) {
  .pp-list .pp-table { min-width: 0; }
  .pp-list .pp-table th:not(:first-child), .pp-list .pp-table td:not(:first-child) { display: none; }
  .pp-who-roles { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
  .pp-chips .chip { min-height: 44px; }
  .pp-panel { display: none; }
  .pp-panel.open { display: block; position: fixed; left: 0; right: 0; bottom: 0; max-height: 85vh; overflow: auto; z-index: 60;
                   border-radius: 14px 14px 0 0; box-shadow: var(--shadow); }
  .pp-close { display: inline-flex; float: right; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
}

/* 収集, redesigned (harvest-page.js; pdm's mockup, Yu 11-30) */
.hv2 { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.hv2-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.hv2-head h1 { margin: 0; font-size: 22px; } .hv2-sp { flex: 1; }
.hv2-head button, .hv2-addform button, .hv2-week button, .hv2-tools button, .hv2-tools select, .hv2-need .btn, #hv2More { min-height: 44px; }
.hv2-state { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.hv2-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); } .hv2-dot.ok { background: var(--ok); }
.hv2-addform { display: flex; gap: 8px; flex-wrap: wrap; } .hv2-addform[hidden] { display: none; }
.hv2-week { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; border: 1px solid var(--berry); border-radius: 12px; padding: 10px 16px; background: var(--panel-2); }
.hv2-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.hv2-fact { padding: 14px 18px; border-right: 1px solid var(--line); min-width: 0; } .hv2-fact:last-child { border-right: 0; }
.hv2-fact .k, .hv2-fact .s { font-size: 13px; color: var(--muted); } .hv2-fact .v { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hv2-fact .v small { font-size: 14px; font-weight: 500; color: var(--muted); } .hv2-fact.att .v { color: var(--warn); }
.hv2-need { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.hv2-need:first-of-type { border-top: 0; } .hv2-need b { display: block; } .hv2-need small { color: var(--muted); }
.hv2-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.hv2-tools input { flex: 1; min-width: min(100%, 200px); min-height: 44px; } .hv2-tools .chip { min-height: 44px; }
.hv2-bulk { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.hv2-table select { min-height: 36px; } .hv2-who small { display: block; color: var(--muted); font-size: 12.5px; }
.hv2-st { font-size: 13px; font-weight: 700; white-space: nowrap; } .hv2-st.live { color: var(--berry); } .hv2-st.err { color: var(--danger); }
.hv2-st.wait { color: var(--warn); } .hv2-st.off { color: var(--muted); font-weight: 500; }
.hv2 .ok { color: var(--ok); } .hv2 .warn { color: var(--warn); } .hv2 .err { color: var(--danger); }
.hv2-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--gap, 16px); }
.hv2-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; height: 150px; margin-top: 8px; }
.hv2-day { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; min-width: 0; }
.hv2-bar { width: 100%; max-width: 64px; background: var(--berry); border-radius: 4px 4px 0 0; min-height: 2px; }
.hv2-day span { font-size: 12px; color: var(--muted); white-space: nowrap; } .hv2-day b { font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.hv2-kv { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 16px; margin-top: 8px; }
.hv2-old > summary, .hv2-tbl > summary, .hv2-others > summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
@media (max-width: 820px) { .hv2-fact { border-right: 0; border-bottom: 1px solid var(--line); } .hv2-kv { grid-template-columns: 1fr auto; } .hv2-kv .hint { grid-column: 2; } }
/* People › Creators view (request 64 part 3) */
.pp-view { display: flex; gap: 6px; margin-bottom: 10px; }
.pp-view .chip { border: 1px solid var(--line); border-radius: 99px; padding: 4px 14px; min-height: 32px; font: inherit; font-size: 13px; color: var(--muted); background: none; cursor: pointer; }
.pp-view .chip.on { border-color: var(--berry); color: var(--ink); background: var(--panel-2); }
.pp-cr-bulk { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.pp-cr-mgrs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pp-cr-mgrs .pp-tag { display: inline-flex; align-items: center; gap: 2px; }
.pp-nomgr { border: 1px solid currentColor; border-radius: 99px; padding: 0 9px; font-size: 12.5px; color: var(--warn); white-space: nowrap; }
.pp-cr-add { min-width: 32px; min-height: 28px; border-style: dashed; }
.pp-seat[data-seat="no"] { color: var(--warn); }
.pp-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: calc(100vw - 32px); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; box-shadow: var(--shadow); z-index: 50; }
/* creator requests (creq.js; self sign-up PR C): Home and Console › Members › Waiting */
.creq-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.creq-what { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .creq-acts { display: flex; gap: 8px; }
.creq-row button { min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; }
.creq-ask { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; max-width: min(480px, calc(100vw - 32px)); background: var(--panel); color: var(--ink); }
.creq-ask::backdrop { background: var(--scrim); } .creq-ask p { margin: 0 0 12px; }
/* People › invitation links (request 64) */
.pp-inv { margin-bottom: 12px; display: flex; flex-direction: column; gap: 8px; } .pp-inv h3 { margin: 0; font-size: 15px; }
.pp-inv-acts { display: flex; gap: 8px; flex-wrap: wrap; } .pp-inv p { margin: 0; } #ppInvUrl { width: 100%; box-sizing: border-box; }
