/* Inter, self-hosted (SIL OFL, see fonts/inter/LICENSE.txt): cyrillic and latin subsets. */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/inter/inter-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/inter/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/inter/inter-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/inter/inter-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/inter/inter-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/inter/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/inter/inter-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/inter/inter-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Page base (the artifact host used to provide it). */
:root { padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
body { margin: 0; font: 14px system-ui; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Layout: one calm column of work lists; the lead card opens as a side panel, full screen on a phone.
   Kinagura tokens. Light theme only, by brand rule. The slide type scale is reduced for an app. */
:root {
  --surface: #f3f3f4;
  --surface-card: #f8f6f9;
  --surface-white: #ffffff;
  --surface-grey: #e6e6e9;
  --ink: #1c1c21;
  --ink-body: #4b4b53;
  --ink-muted: #6e6e78;
  --magenta: #c10acb;
  --magenta-deep: #a807b2;
  --pink-border: #dfa6e4;
  --pink-line: #e9c3ec;
  --pink-soft: #f7e4f9;
  --pink-glow: #fbe3fc;
  --on-magenta: #ffffff;
  --scale-1: #fbf1fc;
  --scale-2: #f1d2f4;
  --scale-3: #ebc0ee;
  --scale-4: #e5aee9;
  --status-amber: #f2a93b;
  --status-red: #e5484d;
  --scrim: rgba(28, 28, 33, 0.42);
  --font-sans: Inter, Arial, Helvetica, sans-serif;
  --radius-card: 14px;
  --radius-row: 10px;
  --radius-pill: 999px;
  color-scheme: light;
}

* { box-sizing: border-box; }
body {
  background: var(--surface);
  color: var(--ink-body);
  font: 400 14px/1.45 var(--font-sans);
}
body.has-sheet { overflow: hidden; }
p, h1, h2, h3, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: var(--magenta-deep); text-underline-offset: 2px; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 1px; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 56px;
}
.boot { padding-block: 40px; display: flex; flex-direction: column; gap: 8px; }

/* type */
.eyebrow { font-size: 11.5px; line-height: 1.3; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--magenta); }
.h1 { font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -0.4px; color: var(--ink); text-wrap: balance; }
.h2 { font-size: 18px; line-height: 1.25; font-weight: 700; color: var(--ink); }
.accent { color: var(--magenta); }
.muted { color: var(--ink-muted); }
.small { font-size: 12.5px; }
.strong { color: var(--ink); font-weight: 600; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.wrap-any { overflow-wrap: anywhere; min-width: 0; }

/* top */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 16px 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--ink); }
.brand img { width: 32px; height: 32px; display: block; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 0; font: inherit; font-weight: 500; color: var(--ink-body); cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--magenta); }
.top-action { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.user-menu { position: relative; }
.user-menu > summary { list-style: none; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--ink); background: var(--surface-white); border: 1px solid var(--pink-border); border-radius: var(--radius-row); padding: 5px 10px; }
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu[open] > summary { margin-bottom: 0; border-color: var(--magenta); }
.user-menu-list { position: absolute; z-index: 15; right: 0; top: calc(100% + 6px); width: min(240px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 8px; background: var(--surface-white); border: 1px solid var(--pink-border); border-radius: var(--radius-row); padding: 12px; }

/* entry screens */
.auth { max-width: 420px; padding-block: 48px; display: flex; flex-direction: column; gap: 20px; }
.auth-card { padding: 20px; display: flex; flex-direction: column; gap: 14px; }

.strip { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.strip button { display: inline-flex; gap: 6px; align-items: baseline; font: inherit; font-size: 12.5px; color: var(--ink); padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid transparent; cursor: pointer; }
.strip b { font-weight: 700; font-variant-numeric: tabular-nums; }
.strip .st-none { background: none; border-color: var(--surface-grey); color: var(--ink-muted); }
.strip button:hover { border-color: var(--magenta); }

/* pills and flags */
.pill { display: inline-flex; align-items: center; font-size: 12px; line-height: 1.3; font-weight: 600; padding: 2px 9px; border-radius: var(--radius-pill); color: var(--ink); white-space: nowrap; }
.st-0 { background: var(--surface-grey); }
.st-1 { background: var(--scale-1); border: 1px solid var(--pink-line); }
.st-2 { background: var(--scale-2); }
.st-3 { background: var(--scale-3); }
.st-4 { background: var(--scale-4); }
.st-5 { background: var(--magenta); color: var(--on-magenta); }
.st-6, .st-7 { background: var(--surface-white); border: 1px solid var(--surface-grey); color: var(--ink-muted); }
.tag { font-size: 12px; font-weight: 500; color: var(--ink-body); padding: 1px 8px; border: 1px solid var(--pink-border); border-radius: var(--radius-pill); background: var(--surface-white); white-space: nowrap; }
.prio { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; border-radius: 50%; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.prio-1 { background: var(--magenta); color: var(--on-magenta); }
.prio-2 { background: var(--pink-soft); color: var(--ink); }
.prio-3, .prio-0 { background: var(--surface-grey); color: var(--ink-body); }
.flag { display: inline-flex; align-items: baseline; gap: 5px; font-size: 12.5px; color: var(--ink-body); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--status-amber); flex: none; align-self: center; }
.dot-red { background: var(--status-red); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 500; color: var(--ink); background: var(--surface-white); border: 1px solid var(--pink-border); border-radius: var(--radius-row); padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--magenta); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-primary { background: var(--magenta); border-color: var(--magenta); color: var(--on-magenta); font-weight: 600; }
.btn-primary:hover { background: var(--magenta-deep); border-color: var(--magenta-deep); }
.btn-small { padding: 3px 9px; font-size: 12.5px; border-radius: 8px; }
.btn-danger { color: var(--ink); border-color: var(--status-red); }
.btn-text { background: none; border: 0; padding: 3px 0; color: var(--magenta-deep); font: inherit; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.seg { display: inline-flex; border: 1px solid var(--pink-border); border-radius: var(--radius-row); overflow: hidden; background: var(--surface-white); }
.seg button { font: inherit; font-size: 13px; font-weight: 500; border: 0; background: none; color: var(--ink-body); padding: 6px 12px; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--pink-line); }
.seg button[aria-pressed="true"] { background: var(--pink-soft); color: var(--ink); font-weight: 600; }

/* today */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 8px; }
.page-head > div:first-child { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.group-head { display: flex; align-items: baseline; gap: 8px; margin: 28px 0 8px; }
.group-head button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; display: flex; gap: 8px; align-items: baseline; }
.card { background: var(--surface-card); border: 1px solid var(--pink-border); border-radius: var(--radius-card); overflow: hidden; }
.empty { padding: 20px 16px; color: var(--ink-muted); }

.row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 16px; border-top: 1px solid var(--pink-line); cursor: pointer; }
.row:first-child { border-top: 0; }
.row:hover { background: var(--scale-1); }
.row-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.row-name { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; text-align: left; overflow-wrap: anywhere; }
.row-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.row-why { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-muted); }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; justify-content: flex-end; }
.row-extra { grid-column: 2 / -1; padding-top: 8px; }
.reason { color: var(--ink); font-weight: 500; }

.snooze { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.snooze input[type="date"] { width: auto; padding: 3px 8px; font-size: 12.5px; }

/* leads list */
.toolbar { display: grid; grid-template-columns: minmax(180px, 2fr) repeat(4, minmax(110px, 1fr)); gap: 8px; margin: 16px 0 12px; }
.lt-head, .lt-row { display: grid; grid-template-columns: 38px minmax(0, 1.5fr) 70px 138px minmax(0, 1.5fr) 120px; gap: 4px 12px; padding: 10px 16px; align-items: center; }
.lt-head { font-size: 12px; font-weight: 600; color: var(--ink-muted); border-bottom: 1px solid var(--pink-border); }
.lt-row { border-top: 1px solid var(--pink-line); cursor: pointer; }
.lt-head + .lt-row { border-top: 0; }
.lt-row:hover { background: var(--scale-1); }
.lt-num { font-variant-numeric: tabular-nums; }

/* forms */
input, select, textarea { font: inherit; color: var(--ink); background: var(--surface-white); border: 1px solid var(--pink-border); border-radius: var(--radius-row); padding: 7px 10px; width: 100%; min-width: 0; }
textarea { resize: vertical; line-height: 1.45; }
input[type="checkbox"] { width: 16px; height: 16px; flex: none; accent-color: var(--magenta); padding: 0; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field > label, .field-label { font-size: 12.5px; font-weight: 500; color: var(--ink-body); }
.check { display: flex; gap: 8px; align-items: center; color: var(--ink); font-size: 13.5px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.err { display: flex; gap: 6px; align-items: baseline; color: var(--ink); font-weight: 500; }
.warn { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--pink-soft); color: var(--ink); border-radius: var(--radius-row); padding: 8px 12px; }
details > summary { cursor: pointer; font-weight: 500; color: var(--ink); }
details[open] > summary { margin-bottom: 10px; }

/* sheets */
.backdrop { position: fixed; inset: 0; z-index: 20; display: flex; background: var(--scrim); }
.sheet { background: var(--surface); display: flex; flex-direction: column; min-width: 0; overflow-y: auto; }
.sheet:focus { outline: none; }
.sheet-panel { margin-left: auto; width: min(680px, 100%); height: 100%; border-left: 1px solid var(--pink-border); }
.sheet-dialog { margin: auto; width: min(560px, 100%); max-height: 100%; border: 1px solid var(--pink-border); border-radius: 16px; }
.sheet-head { position: sticky; top: 0; z-index: 1; background: var(--surface); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: calc(14px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 12px max(20px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--pink-line); }
.sheet-head > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sheet-body { padding: 16px max(20px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 22px; }
.section { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.close { background: none; border: 1px solid var(--pink-border); border-radius: var(--radius-row); padding: 5px 10px; font: inherit; font-size: 12.5px; color: var(--ink); cursor: pointer; flex: none; }

.lead-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.lead-meta .field { flex: 1 1 130px; }
.person { background: var(--surface-card); border: 1px solid var(--pink-line); border-radius: var(--radius-row); padding: 12px 14px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.person-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.person-name { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.person-off { opacity: 0.62; }
.chan { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; }
.kv { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 6px 12px; }
.kv dt { color: var(--ink-muted); font-size: 12.5px; }
.kv dd { min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.touch { padding: 10px 0; border-top: 1px solid var(--pink-line); display: flex; flex-direction: column; gap: 3px; }
.touch:first-child { border-top: 0; padding-top: 0; }
.touch-head { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: center; justify-content: space-between; }
.draft { background: var(--surface-card); border: 1px solid var(--pink-border); border-radius: var(--radius-card); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.thinking { color: var(--ink-muted); }
.ch-tabs { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.ch-tab { font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-body); background: var(--surface-white); border: 1px solid var(--pink-border); border-radius: var(--radius-row); padding: 5px 10px; cursor: pointer; }
.ch-tab[aria-selected="true"] { background: var(--pink-soft); color: var(--ink); font-weight: 600; border-color: var(--magenta); }
.work { max-width: 760px; }
.stat-line { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.stat { display: flex; flex-direction: column; gap: 2px; background: var(--surface-card); border: 1px solid var(--pink-line); border-radius: var(--radius-row); padding: 10px 12px; min-width: 0; }
.stat-value { font-size: 22px; line-height: 1.1; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-cuts { margin-bottom: 12px; flex-wrap: wrap; }
.stat-table-wrap { overflow-x: auto; }
.stat-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.stat-table th, .stat-table td { padding: 9px 12px; text-align: right; white-space: nowrap; border-top: 1px solid var(--pink-line); font-weight: 400; }
.stat-table thead th { border-top: 0; font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.stat-table th:first-child { text-align: left; color: var(--ink); font-weight: 600; white-space: normal; min-width: 130px; }
.stat-table .text-left { text-align: left; }
.budget { display: flex; flex-direction: column; gap: 6px; }
.budget-track { height: 8px; background: var(--surface-grey); border-radius: var(--radius-pill); overflow: hidden; }
.budget-fill { height: 100%; background: var(--magenta); border-radius: var(--radius-pill); }
.budget-near .budget-fill { background: var(--status-amber); }
.budget-over .budget-fill { background: var(--status-red); }
.kpi { margin-top: 24px; }
.kpi-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.kpi-week { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.kpi-label { min-width: 0; }
.kpi-table .kpi-team th, .kpi-table .kpi-team td { font-weight: 700; color: var(--ink); }
@media (max-width: 640px) { .stat-line { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact-list { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; list-style: disc; font-size: 13px; }

/* misc screens */
.event { padding: 14px 16px; border-top: 1px solid var(--pink-line); display: flex; flex-direction: column; gap: 3px; }
.event:first-child { border-top: 0; }
.event.past { opacity: 0.62; }
.event-plan { margin-top: 8px; gap: 8px; align-items: flex-start; }
.event-targets { display: flex; flex-direction: column; gap: 2px; }
.setup { display: flex; flex-direction: column; gap: 16px; max-width: 680px; margin-top: 16px; }
.setup-part { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tag-list { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.check-row { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 6px 0; }

.banner { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--surface-white); border: 1px solid var(--pink-border); border-radius: var(--radius-row); padding: 8px 12px; margin-bottom: 16px; color: var(--ink); }
.toast { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: min(520px, calc(100% - 32px)); background: var(--ink); color: var(--surface-white); border-radius: var(--radius-row); padding: 9px 14px; font-weight: 500; }

/* owners: filter, tags, bulk bar, company cell with a checkbox */
.owner-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 4px; }
.owner-filter select { width: auto; max-width: 100%; padding: 5px 10px; font-size: 13px; }
.owner-tag { max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
.owner-panel { display: flex; flex-direction: column; gap: 8px; }
.bulk-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--pink-soft); border-radius: var(--radius-row); padding: 8px 12px; margin: 8px 0; }
.bulk-bar select { width: auto; max-width: 100%; padding: 5px 10px; font-size: 13px; }
.lt-company { display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
.lt-check { margin-top: 2px; }
.lt-owner { display: block; }
.handoff-row .row-name { margin-left: 4px; }
.touch.owner-change { border-left: 2px solid var(--pink-border); padding-left: 10px; }

@media (max-width: 760px) {
  .toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar .field:first-child { grid-column: 1 / -1; }
  .lt-head { display: none; }
  .lt-row { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .lt-row > .lt-product { display: none; }
  .lt-row > .lt-person, .lt-row > .lt-next { grid-column: 2 / -1; }
}
@media (max-width: 640px) {
  input, select, textarea { font-size: 16px; }
  .h1 { font-size: 22px; }
  .top-action { margin-left: 0; }
  .brand { flex: 1 1 auto; }
  .tabs { order: 3; width: 100%; }
  .row { grid-template-columns: auto minmax(0, 1fr); }
  .row-actions { grid-column: 2; justify-content: flex-start; padding-top: 6px; }
  .row-extra { grid-column: 2; }
  .sheet-dialog { margin: 0; width: 100%; height: 100%; max-height: none; border: 0; border-radius: 0; }
  .sheet-panel { border: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .tab, .row { transition: background-color 0.12s ease, border-color 0.12s ease; }
}

.gap-list ul { margin: 0; padding: 0 0 0 18px; flex-basis: 100%; }
.gap-list li { margin: 0; }

/* demo participants in settings */
.demo-people { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.demo-people li { justify-content: space-between; align-items: center; }
