/* Skipify Command Center (the Console, v4; v3's six-step flow is kept in ui-v3/). A sibling of skipify.com: the same Bricolage Grotesque headlines with the
   mint swipe, Figtree text, ink, mint, periwinkle and sand, pill buttons with the mint arrow dot, the logo's slant on
   the step numbers. It's a tool, not a page: big type, big targets, one job per screen.
   Light and flat (Nov 18): a paper rail beside a paper page, no dark bands, no cards. Sections are set apart by space and
   a hairline above them, lists are rows on the page, numbers sit in a line with their words. Only what floats (a
   dropdown's list, a dialog, a toast) has a surface and a shadow.
   Rules from the site: mint is a fill, never small text on white (teal carries text accents); no red or green UI
   (attention is amber, waiting is periwinkle); calm motion, none with reduced motion.
   v1 is kept in ui-v1/ (/v1/), v2 in ui-v2/ (/v2/). */
@font-face { font-family: 'Figtree'; src: url(/fonts/figtree-latin-wght-normal.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Bricolage'; src: url(/fonts/bricolage-grotesque-latin-opsz-normal.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
:root {
  --mint: #01ead3; --mint-soft: #a6f8f0; --mint-wash: #e2f7f2; --mint-mist: #f1fbf9; --teal: #1f7f79; --teal-deep: #155b57;
  --ink: #22222e; --ink-deep: #17171f; --ink-2: #3c3c50; --ink-3: #5c5c6c; --ink-4: #6b6b79; --ink-line: #34344a;
  --peri: #97a1ff; --peri-soft: #d9dcff; --peri-wash: #eef0ff; --peri-ink: #3d45a8;
  --amber: #8a5a00; --amber-wash: #fdf1dc; --amber-line: #f1d7a6;
  /* the page is white (Nov 19); the rail and the quiet fills keep the warm paper */
  --page: #fff; --paper: #faf8f5; --sand: #f4efeb; --sand-2: #ebe3db; --clay: #dbd1c9; --white: #fff; --line: #e9e3dc; --line-2: #dcd4cb;
  --imsg: #1f8bff;
  --display: 'Bricolage', ui-sans-serif, system-ui, sans-serif;
  --body: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 14px; --r: 20px; --r-lg: 26px; --r-xl: 34px;
  --sh-sm: 0 1px 2px rgba(34, 34, 46, .06), 0 2px 8px rgba(34, 34, 46, .04);
  --sh-md: 0 2px 6px rgba(34, 34, 46, .06), 0 12px 32px -8px rgba(34, 34, 46, .14);
  --sh-lg: 0 4px 12px rgba(34, 34, 46, .06), 0 32px 64px -20px rgba(34, 34, 46, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --slant: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
  --rail: 284px; --top: 84px; --pad: 52px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 16px/1.55 var(--body); color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; font-feature-settings: 'ss01', 'cv11'; }
a { color: var(--teal); text-decoration: none; }
@media (hover: hover) { a:hover { text-decoration: underline; text-underline-offset: 3px; } }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; font-weight: 700; text-wrap: balance; }
h1 { font-size: 48px; line-height: 1; letter-spacing: -0.042em; font-weight: 760; }
h2 { font-size: 24px; line-height: 1.15; letter-spacing: -0.026em; }
h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.014em; }
p { margin: 0; }
ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
/* type scale, in whole pixels: 13 · 14 · 15 · 16 · 17 · 20 · 24 · 32 · 48 (pictures and thumbnails may go down to 10).
   Weights: 400 text, 500 a field's value, 650 labels and controls, 700 strong and headings, 760 page titles and figures */
b, strong { font-weight: 700; }
small { font-size: 14px; }
code { font-size: 14px; padding: 2px 7px; border-radius: 7px; background: var(--sand); }
.small code, .tiny code { font-size: 13px; }
:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--mint-soft); color: var(--ink); }
[hidden] { display: none !important; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--ink-3); }
.faint { color: var(--ink-4); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.grow { flex: 1; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.nowrap { white-space: nowrap; }
.amber-t { color: var(--amber); margin-top: 6px; }
kbd { font: 650 13px/1 var(--body); padding: 4px 6px; border-radius: 6px; background: rgba(255, 255, 255, .16); color: inherit; }
.btn:not(.primary) kbd { background: var(--sand); color: var(--ink-3); }
@media (hover: none) { kbd, .keys { display: none; } }

/* the signature: a mint parallelogram swipe behind a phrase, cut at the logo's slant */
.hl { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,26 100,4 100,78 0,100' fill='%2301EAD3'/%3E%3C/svg%3E") no-repeat 0 88% / 100% .58em; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: .08em; margin-inline: -.04em; }
.hl--dark { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,26 100,4 100,78 0,100' fill='%2301EAD3' fill-opacity='0.4'/%3E%3C/svg%3E"); }

/* ---------- shell: a paper rail beside the page ---------- */
.app { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: 100vh; background: var(--page); }
.rail { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 22px 16px 18px; background: var(--paper); border-right: 1px solid var(--line); color: var(--ink-2); z-index: 30; }
.brand { display: flex; align-items: center; gap: 14px; padding: 4px 12px 20px; color: var(--ink); }
@media (hover: hover) { .brand:hover { text-decoration: none; } }
.brand img { width: 58px; height: auto; }
.brand span { font: 700 17px/1.05 var(--display); letter-spacing: -0.01em; }
.nav__label { padding: 14px 14px 6px; font-size: 13px; font-weight: 650; color: var(--ink-4); }
.nav-a { display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 0 14px; border-radius: 14px; color: var(--ink-2); font-size: 16px; font-weight: 650; }
@media (hover: hover) { .nav-a:hover { background: var(--sand); color: var(--ink); text-decoration: none; } }
.nav-a[aria-current] { background: var(--mint-wash); color: var(--ink); }
.nav-a[aria-current] .ic { color: var(--teal); }
.nav-a em { margin-left: auto; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 99px; background: var(--mint); color: var(--ink); font: 700 13px/26px var(--body); text-align: center; font-style: normal; }
.flownav { list-style: none; padding: 0; position: relative; display: grid; gap: 2px; }
.flownav::before { content: ''; position: absolute; left: 30px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; background: linear-gradient(var(--peri), var(--mint)); opacity: .45; }
.flownav a { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: center; padding: 11px 14px; border-radius: 16px; color: var(--ink-3); }
@media (hover: hover) { .flownav a:hover { background: var(--sand); text-decoration: none; } }
.flownav a[aria-current] { background: var(--mint-wash); }
.flownav .n { width: 34px; height: 30px; display: grid; place-items: center; clip-path: var(--slant); background: var(--sand-2); color: var(--ink); font: 760 15px var(--display); transition: background .2s var(--ease); }
.flownav a[aria-current] .n { background: var(--mint); color: var(--ink); }
@media (hover: hover) { .flownav a:hover .n { background: var(--mint); color: var(--ink); } }
.flownav b { display: block; font-size: 16px; font-weight: 650; color: var(--ink); line-height: 1.25; }
.flownav small { display: block; font-size: 13px; line-height: 1.35; margin-top: 2px; }
.rail__foot { margin-top: auto; display: grid; gap: 10px; padding: 16px 14px 4px; border-top: 1px solid var(--line); font-size: 13px; }
.me { display: flex; align-items: center; gap: 12px; }
.me i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--ink); font: 760 15px var(--display); font-style: normal; flex: none; }
.me b { display: block; color: var(--ink); font-size: 15px; }
.me button, .rail__foot a { background: none; border: 0; padding: 0; color: var(--ink-3); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .me button:hover, .rail__foot a:hover { color: var(--ink); } }
.page { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; height: var(--top); flex: none; display: flex; align-items: center; gap: 16px; padding: 0 var(--pad); background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.menu-b { display: none; }
.find { position: relative; flex: 1; max-width: 640px; }
.find .ic { position: absolute; left: 20px; top: 50%; translate: 0 -50%; color: var(--ink-3); pointer-events: none; }
.find input { width: 100%; height: 48px; padding: 0 64px 0 54px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white); font-size: 16px; color: var(--ink); }
.find input::placeholder { color: var(--ink-4); }
.find input:focus { outline: none; border-color: var(--ink); }
.find kbd { position: absolute; right: 18px; top: 50%; translate: 0 -50%; background: var(--sand); color: var(--ink-3); }
/* Home has one line to type on, its own: it answers a question and finds a company or a person. The top bar's Find is
   every other page's; on Home it was a second search right above the first, so there it steps back (it keeps its
   room, so nothing in the bar moves) */
.page:has(.home3 .askbar) .top .find { visibility: hidden; }
.status { display: flex; align-items: center; gap: 10px; margin-left: auto; }
/* a newer version of these pages is ready (app.js newer): one quiet line under the top bar, in the page's own flow */
.newer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 14px var(--pad); background: var(--peri-wash); color: var(--peri-ink); font-size: 16px; }
.newer[hidden] { display: none; }
.newer p { margin: 0; }
.dl-oncall .newer { display: none; } /* (the call screen has the page to itself) */
main { padding: 44px var(--pad) 120px; }
main.flush { padding: 0; }
.wrap { max-width: 1240px; }
.wrap.roomy { max-width: 1480px; }
.wrap.narrow { max-width: 920px; }
.wrap.set-wrap { max-width: 900px; }
.wrap.add-wrap { max-width: 980px; }

/* ---------- page header: where this page sits in the flow ---------- */
.ph { display: flex; align-items: flex-end; gap: 24px 32px; flex-wrap: wrap; margin-bottom: 34px; }
.ph > div:first-child { flex: 1; min-width: min(100%, 420px); }
.ph h1 { margin-top: 18px; }
.ph .lede { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 66ch; text-wrap: pretty; }
.ph__act { display: flex; gap: 10px; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-2); font-size: 14px; font-weight: 650; color: var(--ink-2); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(1, 234, 211, .2); }
.eyebrow b { color: var(--ink-4); font-weight: 650; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; color: var(--ink-2); }
.back .ic { width: 18px; height: 18px; }
/* the carried-over screens (Settings, Activity, the editor) use .head */
.head { display: flex; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; margin: 18px 0 24px; }
.head > div { flex: 1; min-width: min(100%, 420px); }
.head h1 { font-size: 48px; }
.head .row h1 { margin-right: 6px; }
.head p { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--ink-3); max-width: 72ch; }
/* the closer: the next step in the flow */
.next-step { display: flex; align-items: center; gap: 22px; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-3); }
@media (hover: hover) { .next-step:hover { text-decoration: none; background: var(--mint-mist); } }
.next-step .n { width: 46px; height: 40px; flex: none; display: grid; place-items: center; clip-path: var(--slant); background: var(--mint); color: var(--ink); font: 760 20px var(--display); }
.next-step div { flex: 1; }
.next-step small { display: block; font-size: 14px; font-weight: 650; color: var(--ink-4); }
.next-step b { display: block; font: 700 24px/1.2 var(--display); color: var(--ink); letter-spacing: -0.02em; margin-top: 2px; }
.next-step p { margin-top: 4px; font-size: 16px; }

/* ---------- pieces ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 16px; font-weight: 650; letter-spacing: -0.005em; white-space: nowrap; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
@media (hover: hover) { .btn:hover { border-color: var(--ink); text-decoration: none; } }
.btn:active { transform: translateY(1px) scale(.99); }
/* The primary action looks the same everywhere: an ink pill, white words, its icon (if it has one) on the left.
   A card's main action (.mint, from cards/card.js) is that same button. Under the pointer it lightens and lifts. */
.btn.primary, .btn.mint { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (hover: hover) { .btn.primary:not([disabled]):hover, .btn.mint:not([disabled]):hover { background: var(--ink-2); border-color: var(--ink-2); transform: translateY(-1px); } }
.btn.primary:not([disabled]):active, .btn.mint:not([disabled]):active { background: var(--ink-deep); border-color: var(--ink-deep); transform: translateY(1px) scale(.99); }
.btn.primary .ic, .btn.mint .ic { color: inherit; }
.btn.quiet { background: none; border-color: transparent; color: var(--ink-2); }
@media (hover: hover) { .btn.quiet:hover { background: var(--sand); } }
.btn.dot { padding-right: 6px; }
.btn .d { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--ink); transition: transform .3s var(--ease); }
.btn:not(.primary) .d { background: var(--sand); }
.btn .d .ic { width: 18px; height: 18px; }
@media (hover: hover) { .btn:hover .d { transform: translateX(3px); } }
.btn.sm { height: 40px; padding: 0 16px; font-size: 15px; gap: 8px; }
.btn.sm .ic { width: 18px; height: 18px; }
.btn.lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn[disabled] { opacity: .45; cursor: default; transform: none; }
.pill, .chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--sand); color: var(--ink-2); font-size: 14px; font-weight: 650; line-height: 1; white-space: nowrap; }
.pill .ic, .chip .ic { width: 16px; height: 16px; }
.pill.mint, .chip.mint { background: var(--mint-wash); color: var(--teal-deep); }
.pill.fill, .chip.fill { background: var(--mint); color: var(--ink); }
.pill.peri, .chip.peri { background: var(--peri-wash); color: var(--peri-ink); }
.pill.peri2, .chip.peri2 { background: var(--peri-soft); color: var(--peri-ink); }
.pill.amber, .chip.amber { background: var(--amber-wash); color: var(--amber); }
.pill.ink, .chip.ink { background: var(--peri-soft); color: var(--peri-ink); }
.pill.line, .chip.line { background: none; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
/* A chip that opens something is a link or a button, and shows it under the pointer: its ring and its words turn ink.
   A chip that only says something is a span and stays still. */
a.pill, a.chip, button.pill, button.chip { cursor: pointer; border: 0; font-family: inherit; transition: box-shadow .15s var(--ease), color .15s var(--ease); }
@media (hover: hover) { a.pill:hover, a.chip:hover, button.pill:hover, button.chip:hover { text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); } }
/* a name inside a sentence that opens what it names (a step, a sequence): the sentence's own colour, a quiet line under it */
.il { color: inherit; font-weight: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
@media (hover: hover) { .il:hover { text-decoration-color: var(--teal); } }
/* the part of a page its address names (app.js lands there): clear of the bar that stays on top */
[data-land] { scroll-margin-top: 104px; }
.card { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 24px 0 4px; }
.card > h2 + p, .card-h + p { margin-top: 6px; color: var(--ink-3); }
.card-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-h h2 { font-size: 24px; }
.card-h .more { margin-left: auto; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); background: linear-gradient(var(--mint), var(--mint)) no-repeat 0 100% / 100% 2px; padding-bottom: 2px; }
@media (hover: hover) { .more:hover { text-decoration: none; background-size: 100% 100%; } }
.more .ic { width: 17px; height: 17px; }
.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 80px 24px; color: var(--ink-3); }
.empty .ic { width: 40px; height: 40px; color: var(--teal); }
.empty h2 { margin-top: 6px; }
.empty p { max-width: 460px; font-size: 17px; }
.empty .btn { margin-top: 14px; }
.note { padding: 14px 18px; border-radius: var(--r-sm); background: var(--peri-wash); color: var(--peri-ink); font-size: 16px; }
.note.amber { background: var(--amber-wash); color: var(--amber); }
/* a link inside a note takes the note's own ink and an underline: teal on the tinted band measured 4.24:1 (Nov 26) */
.note a:not(.btn, .chip, .pill) { color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
/* what someone was typing here when a call took the screen, where it could not be put back in its place for certain
   (kept.js): each piece as it was typed, with Copy */
.kept { display: grid; gap: 12px; margin: 0 0 32px; justify-items: start; }
.kept > p { margin: 0; max-width: 78ch; }
.kept__f { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: start; width: 100%; max-width: 78ch; }
.kept__w { grid-column: 1 / -1; font-size: 14px; font-weight: 650; }
.kept > .btn.quiet { margin-left: -16px; } /* (its words line up with the words above it) */
.kept__v { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--white); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 180px; overflow: auto; }
.toasts { position: fixed; left: calc(50% + var(--rail) / 2); top: calc(var(--top) + 16px); translate: -50% 0; display: grid; gap: 8px; z-index: 60; justify-items: center; }
.toast { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 20px; border-radius: 999px; background: var(--white); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--sh-md); font-size: 16px; font-weight: 500; animation: up .25s var(--ease); }
.toast button { height: 40px; padding: 0 16px; font-size: 15px; border: 0; border-radius: 999px; background: var(--mint); color: var(--ink); font-weight: 700; }
@keyframes up { from { opacity: 0; translate: 0 -8px; } }
.field { display: grid; gap: 8px; font-size: 15px; font-weight: 650; color: var(--ink-2); }
.field small { font-weight: 500; color: var(--ink-4); font-size: 14px; }
.field input, .field select, .field textarea, .input { height: 48px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); font-size: 16px; font-weight: 500; color: var(--ink); }
.field textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; line-height: 1.55; }
/* A control is as wide as its column, never as wide as what it holds: a dropdown is otherwise as wide as its longest
   choice (Settings › Calling, "When a call ends, its write-up is": 399px in a 326px column, lying over the next
   field at 1440 and scrolling the page sideways at 1024). The open list still shows every choice whole. */
.field input, .field select, .field textarea { min-width: 0; }
.field select { text-overflow: ellipsis; }
/* a date or time field in the Console's own look, where the browser lets a page draw it: the Console's calendar and
   clock icons in place of the browser's, even figures, and the part being typed marked in mint, not blue */
input[type='date'], input[type='datetime-local'], input[type='time'] { font-variant-numeric: tabular-nums; }
input[type='date']::-webkit-calendar-picker-indicator, input[type='datetime-local']::-webkit-calendar-picker-indicator, input[type='time']::-webkit-calendar-picker-indicator { width: 18px; height: 18px; padding: 4px; margin: 0 -6px 0 0; border-radius: 8px; cursor: pointer; opacity: 1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5c6c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") no-repeat center / 18px; }
input[type='time']::-webkit-calendar-picker-indicator { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5c6c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
@media (hover: hover) { input::-webkit-calendar-picker-indicator:hover { background-color: var(--sand); } }
input::-webkit-datetime-edit-month-field:focus, input::-webkit-datetime-edit-day-field:focus, input::-webkit-datetime-edit-year-field:focus, input::-webkit-datetime-edit-hour-field:focus, input::-webkit-datetime-edit-minute-field:focus, input::-webkit-datetime-edit-ampm-field:focus { background: var(--mint-soft); color: var(--ink); border-radius: 4px; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--ink); }
select.input, .field select { padding-right: 40px; appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5c6c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.tabs { display: flex; gap: 2px 22px; padding: 0; border-radius: 0; background: none; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs a, .tabs button { flex: none; height: 42px; padding: 0 2px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; color: var(--ink-3); font-weight: 650; font-size: 15px; }
@media (hover: hover) { .tabs a:hover, .tabs button:hover { text-decoration: none; color: var(--ink); border-bottom-color: var(--line-2); } }
.tabs [aria-current], .tabs [aria-pressed='true'] { color: var(--ink); border-bottom-color: var(--mint); }
.tabs small { color: var(--ink-4); font-weight: 650; font-size: 14px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sand); flex: none; }
.seg button { height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font-weight: 650; font-size: 15px; color: var(--ink-3); }
.seg button[aria-pressed='true'] { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg button.live[aria-pressed='true'] { background: var(--ink); color: #fff; }
.big { font: 760 32px/1 var(--display); letter-spacing: -0.04em; color: var(--ink); }
.st-tag { display: inline-grid; place-items: center; width: 44px; height: 38px; flex: none; clip-path: var(--slant); background: var(--sand-2); color: var(--ink); font: 760 14px var(--display); letter-spacing: .02em; }
.st-tag.lite { background: var(--sand-2); color: var(--ink); }

/* a big table: every row opens the company */
.tbl { background: none; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; box-shadow: none; overflow: hidden; }
.tbl table { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; padding: 14px 16px; font-size: 14px; font-weight: 650; color: var(--ink-3); border-bottom: 1px solid var(--line); background: none; white-space: nowrap; }
.tbl td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 16px; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { cursor: pointer; transition: background .15s; }
@media (hover: hover) { .tbl tbody tr:hover td { background: var(--mint-mist); } }
.tbl td a { color: inherit; }
.tbl .nm { font-weight: 700; font-size: 17px; line-height: 1.3; }
.tbl .sub { display: block; font-size: 14px; color: var(--ink-3); margin-top: 3px; line-height: 1.35; }
.tbl .sub.faint { color: var(--ink-4); }
.found { display: flex; flex-wrap: wrap; gap: 6px; }
.found .chip { height: 30px; }
.found .site { background: var(--mint-wash); color: var(--teal-deep); max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.pager { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--ink-3); font-size: 15px; }
/* a search's matches in the states' filings that are not companies in the CRM yet: under what the CRM has, never over it */
.reg-hits { margin-top: 32px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 16px 0 16px; }
.filters .q { position: relative; flex: 1; min-width: 260px; max-width: 440px; }
.filters .q .ic { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--ink-4); }
.filters .q input { width: 100%; padding-left: 46px; }
.filters select.input { flex: none; max-width: 260px; text-overflow: ellipsis; } /* (a long choice, a sequence's name, ends in … instead of mid-letter) */
.tog { position: relative; }
.tog input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tog span { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white); font-weight: 650; font-size: 15px; color: var(--ink-2); }
.tog .ic { width: 18px; height: 18px; color: var(--ink-4); }
.tog input:checked + span { background: var(--mint-wash); border-color: var(--teal); color: var(--teal-deep); }
.tog input:checked + span .ic { color: var(--teal); }
.tog input:focus-visible + span { outline: 2.5px solid var(--teal); outline-offset: 3px; }

/* ---------- Home: the command center ---------- */
.hello { margin-bottom: 34px; }
.hello h1 { font-size: 48px; margin-top: 18px; }
.hello .lede { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 62ch; }
/* the flow, left to right, on the page */
.flow { position: relative; padding: 24px 0 8px; border-top: 1px solid var(--line); color: var(--ink-3); }
.flow::after { content: none; }
.flow__h { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 0 6px 26px; }
.flow__h h2 { color: var(--ink); font-size: 24px; }
.flow__h p { flex: 1; min-width: 260px; font-size: 16px; }
.stages { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.stages::before { content: ''; position: absolute; left: 34px; right: 34px; top: 38px; height: 2px; background: linear-gradient(90deg, var(--peri), var(--mint)); opacity: .55; }
.stage { position: relative; display: grid; align-content: start; gap: 4px; padding: 20px 16px 20px; border-radius: 22px; color: var(--ink-3); }
@media (hover: hover) { .stage:hover { background: var(--mint-mist); text-decoration: none; } }
.stage .n { width: 38px; height: 34px; display: grid; place-items: center; clip-path: var(--slant); background: var(--mint); color: var(--ink); font: 760 16px var(--display); margin-bottom: 14px; }
.stage .k { font-size: 15px; font-weight: 650; color: var(--ink-2); }
.stage b { font: 760 32px/1.05 var(--display); letter-spacing: -0.04em; color: var(--ink); }
.stage small { font-size: 14px; line-height: 1.4; }
.stage .go { position: absolute; right: 14px; top: 22px; opacity: 0; color: var(--teal); transition: opacity .2s; }
@media (hover: hover) { .stage:hover .go { opacity: 1; } }
.held-row { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; margin-top: 14px; padding: 18px 16px 4px; border-top: 1px solid var(--line); font-size: 15px; }
.held-row > b { color: var(--ink); font-weight: 650; margin-right: 4px; }
.held-row a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--sand); color: var(--ink-2); font-size: 14px; font-weight: 650; }
@media (hover: hover) { .held-row a:hover { background: var(--sand-2); text-decoration: none; } }
.held-row a i { font-style: normal; color: var(--ink); font-weight: 700; } /* (ink: teal on the sand chip measured 4.21:1) */
.held-row > b span { color: var(--ink-3); font-weight: 500; }
.now-row { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; padding: 14px 16px 4px; font-size: 15px; }
.now-row > b { color: var(--ink); font-weight: 650; margin-right: 4px; }
.now-row a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; font-weight: 650; }
@media (hover: hover) { .now-row a:hover { background: var(--sand); text-decoration: none; } }
.now-row a i { font-style: normal; color: var(--ink); font-weight: 700; }
.now-row a.amber { border-color: var(--amber-line); color: var(--amber); }
.stage em { font-style: normal; font-size: 13px; font-weight: 650; color: var(--teal); min-height: 1.3em; }
.flow__h .tabs { margin-left: auto; }
.flow__h .tabs a { height: 38px; font-size: 14px; }
@media (hover: hover) { .flow__h .tabs a:hover { color: var(--ink); } }
.flow__h .tabs [aria-current] { color: var(--ink); }
.needs { display: grid; gap: 12px; margin-top: 28px; }
.need { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r); background: var(--amber-wash); border: 1px solid var(--amber-line); font-size: 16px; }
.need > .ic { color: var(--amber); width: 24px; height: 24px; }
.need p { flex: 1; color: var(--ink-2); }
.need p b { color: var(--ink); }
.calm { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--mint-wash); color: var(--teal-deep); font-weight: 650; font-size: 15px; }
.calm .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--mint); color: var(--ink); stroke-width: 2.6; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 24px; margin-top: 28px; align-items: start; }
.home-grid > div { display: grid; gap: 24px; }
.feed-list { display: grid; margin-top: 14px; }
.fi { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink); }
@media (hover: hover) { .fi:hover { text-decoration: none; } }
@media (hover: hover) { .fi:hover .fi__n { color: var(--teal); } }
.fi .st-tag { grid-row: span 2; }
.fi__n { font-weight: 700; font-size: 17px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi__s { grid-column: 2; font-size: 14px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi__r { grid-column: 3; grid-row: 1 / span 2; display: grid; justify-items: end; gap: 6px; font-size: 14px; color: var(--ink-4); }
.today-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.tt { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
a.tt { color: var(--ink); }
@media (hover: hover) { a.tt:hover { background: var(--mint-mist); box-shadow: -8px 0 0 var(--mint-mist), 8px 0 0 var(--mint-mist); text-decoration: none; } }
a.tt > div { flex: 1; min-width: 0; }
a.tt > .go { width: 18px; height: 18px; padding: 0; border-radius: 0; background: none; color: var(--ink-4); transition: transform .2s var(--ease), color .2s var(--ease); }
@media (hover: hover) { a.tt:hover > .go { transform: translateX(3px); color: var(--ink); } }
.tt .ic { width: 42px; height: 42px; padding: 10px; border-radius: 14px; background: var(--mint-wash); color: var(--teal-deep); }
.tt.c-call .ic { background: var(--sand); color: var(--ink); }
.tt.c-sms .ic { background: var(--peri-wash); color: var(--peri-ink); }
.tt b { display: block; font: 760 32px/1 var(--display); letter-spacing: -0.03em; }
.tt span { font-size: 14px; color: var(--ink-3); }
.bars { display: grid; gap: 10px; margin-top: 18px; }
.bar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 64px; gap: 14px; align-items: center; font-size: 15px; color: var(--ink-2); }
@media (hover: hover) { .bar:hover { text-decoration: none; color: var(--ink); } }
.bar span:first-child { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar i { height: 14px; border-radius: 8px; background: linear-gradient(90deg, var(--peri), var(--mint)); min-width: 4px; }
.bar b { text-align: right; font-weight: 700; }
.upc { display: grid; gap: 4px; margin-top: 14px; }
.upc a { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
@media (hover: hover) { .upc a:hover { text-decoration: none; color: var(--teal); } }
.upc .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--mint-wash); color: var(--teal-deep); }
.upc b { display: block; }
.upc span { font-size: 14px; color: var(--ink-3); }
.sys { margin-top: 30px; display: flex; gap: 8px 22px; flex-wrap: wrap; align-items: center; color: var(--ink-4); font-size: 14px; }
.sys button { background: none; border: 0; padding: 0; color: var(--teal); font-weight: 650; font-size: 14px; }
@media (hover: hover) { .sys button:hover { text-decoration: underline; } }

/* ---------- one company ---------- */
.co-head { display: flex; align-items: flex-start; gap: 20px 28px; flex-wrap: wrap; margin: 18px 0 24px; }
.co-head > div:first-child { flex: 1; min-width: 300px; }
.co-head h1 { font-size: 48px; }
.co-head .row { margin-top: 16px; }
.journey { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-bottom: 32px; padding: 4px 0 0; }
.jstep { position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; font-size: 14px; font-weight: 650; color: var(--ink-4); }
.jstep::before { content: ''; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.jstep:first-child::before { display: none; }
.jstep i { position: relative; z-index: 1; width: 34px; height: 30px; display: grid; place-items: center; clip-path: var(--slant); background: var(--sand-2); color: var(--ink-3); font: 760 14px var(--display); font-style: normal; }
.jstep.done { color: var(--ink-2); }
.jstep.done::before, .jstep.now::before { background: var(--mint); }
.jstep.done i { background: var(--mint-wash); color: var(--teal-deep); }
.jstep.now { color: var(--ink); }
.jstep.now i { background: var(--mint); color: var(--ink); }
.jstep.stop i { background: var(--amber-wash); color: var(--amber); }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 24px; align-items: start; }
.co-grid > div { display: grid; gap: 24px; }
.nextc { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nextc > .ic { width: 48px; height: 48px; padding: 12px; border-radius: 16px; background: var(--mint-wash); color: var(--teal-deep); }
.nextc p { flex: 1; min-width: 220px; font-size: 16px; }
.nextc.person > .ic { background: var(--peri-wash); color: var(--peri-ink); }
.nextc.person p { flex-basis: calc(100% - 66px); }
.nextc__go { display: flex; gap: 8px; flex-wrap: wrap; margin-left: 66px; }
@media (max-width: 600px) { .nextc__go { margin-left: 0; } }
.form-x { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 6px 0 0; }
.form-x dt { color: var(--ink-3); }
.form-x dd { margin: 0; overflow-wrap: anywhere; }
.unfit-f { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.unfit-f[hidden] { display: none; }
.unfit-f .input { height: 40px; max-width: 100%; font-size: 15px; }
.nextc .acts2 { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; padding-top: 16px; border-top: 1px solid var(--line); }
.people { display: grid; gap: 4px; margin-top: 14px; }
.person { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.person > i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--peri-wash); color: var(--peri-ink); font: 760 15px var(--display); font-style: normal; flex: none; }
.person b { display: block; font-size: 17px; }
.person span { font-size: 14px; color: var(--ink-3); }
.reach { display: grid; gap: 0; margin-top: 8px; }
/* removing (engine/remove.js): a person's row keeps its line, with a quiet button at its end; a press asks once more */
.person-w { display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--line); }
.person-w > .person { flex: 1; min-width: 0; border-top: 0; }
.rm-b { flex: none; min-width: 40px; height: 40px; padding: 0; display: inline-grid; place-items: center; border: 0; border-radius: 12px; background: none; color: var(--ink-4); cursor: pointer; font: inherit; font-size: 13px; font-weight: 650; }
.rm-b .ic { width: 18px; height: 18px; }
.rm-b[data-sure] { padding: 0 12px; background: var(--sand); color: var(--ink); }
@media (hover: hover) { .rm-b:hover { background: var(--sand); color: var(--ink); } }
.gone-l { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.gone-l > span:first-child { font-weight: 650; color: var(--ink-2); }
.gone { display: inline-flex; align-items: center; gap: 8px; }
.removed-c > div { flex: 1; }
.removed-c p { margin: 0 0 6px; }
.removed-c .btn { margin-top: 10px; }
.gone-link { margin: 18px 0 0; }
.gone-link a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); }
.gone-link .ic { width: 16px; height: 16px; }
.rc { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.rc > .ic { grid-row: span 3; width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--sand); color: var(--ink-2); }
.rc .v { font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.rc .v a { color: var(--ink); }
.rc .row { gap: 6px; }
.rc .src { font-size: 14px; color: var(--ink-3); }
.kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px 18px; margin-top: 16px; font-size: 16px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.kv dd .sub { display: block; font-size: 14px; color: var(--ink-4); margin-top: 2px; }
.tl { display: grid; margin-top: 10px; }
.tl > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; }
.tl > div:first-child, .feed-list > :first-child { border-top: 0; }
.tl > div > .ic { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--sand); color: var(--ink-3); }
.tl > div.c-email > .ic { background: var(--mint-wash); color: var(--teal-deep); }
.tl > div.c-call > .ic { background: var(--sand-2); color: var(--ink); }
.tl > div.c-sms > .ic { background: var(--peri-wash); color: var(--peri-ink); }
.tl time { display: block; font-size: 13px; color: var(--ink-4); margin-bottom: 2px; }
.tl .small { color: var(--ink-3); }
.tl details summary { cursor: pointer; font-size: 14px; font-weight: 650; color: var(--teal); margin-top: 6px; }
.tl pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 15px/1.6 var(--body); color: var(--ink-2); background: var(--paper); padding: 14px 16px; border-radius: 14px; margin: 10px 0 0; }
.logs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
/* "A call": a call made outside the pool, said from the company's page with the wrap-up's own choices */
.call-add { display: grid; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.call-add .fieldchips { margin-top: 0; gap: 8px; }
.call-add__q { font-size: 14px; font-weight: 650; color: var(--ink-2); }
.call-add__q:not(:first-child) { margin-top: 4px; }
.call-add__new { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px; }
.call-add .input { min-width: 0; }
.call-add textarea.input { height: auto; min-height: 72px; padding: 12px 16px; line-height: 1.5; resize: vertical; }
.call-add .btn[aria-disabled='true'] { background: var(--sand); border-color: var(--sand); color: var(--ink-4); cursor: default; }
@media (max-width: 640px) { .call-add__new { grid-template-columns: minmax(0, 1fr); } }
@media (pointer: coarse) { .call-add .fieldchips button { height: 44px; } }

/* ---------- Contacts ---------- */
.ct-person { display: flex; align-items: center; gap: 14px; }
.ct-person > i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--peri-wash); color: var(--peri-ink); font: 760 15px var(--display); font-style: normal; flex: none; }
.ct-person > i.none { background: var(--sand); color: var(--ink-4); }
.cv { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 650; }
.cv .chip { height: 26px; font-size: 13px; padding: 0 10px; }
.cv.off { color: var(--ink-4); text-decoration: line-through; }

/* ---------- States ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { padding: 16px 0; border-top: 1px solid var(--line); }
a.stat { color: var(--ink); }
@media (hover: hover) { a.stat:hover { background: var(--mint-mist); box-shadow: -10px 0 0 var(--mint-mist), 10px 0 0 var(--mint-mist); text-decoration: none; } }
a.stat .ic { width: 16px; height: 16px; vertical-align: -3px; color: var(--ink-4); transition: transform .2s var(--ease), color .2s var(--ease); }
@media (hover: hover) { a.stat:hover .ic { transform: translateX(3px); color: var(--ink); } }
.stat b { display: block; font: 760 32px/1 var(--display); letter-spacing: -0.04em; }
.stat span { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-3); }
.map-card { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 28px; align-items: center; }
.usmap { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); gap: 6px; }
.usmap a { aspect-ratio: 1.1; display: grid; place-items: center; border-radius: 12px; font: 760 14px var(--display); color: var(--ink-2); background: var(--sand); transition: transform .15s var(--ease), opacity .2s; }
@media (hover: hover) { .usmap a:hover { text-decoration: none; filter: brightness(.96); } }
.usmap a.dim { opacity: .22; }
.m-open-data { background: var(--mint) !important; color: var(--ink) !important; }
.m-secondary { background: var(--mint-soft) !important; color: var(--ink) !important; }
.m-bulk-paid { background: var(--peri-soft) !important; color: var(--peri-ink) !important; }
.m-manual { background: var(--white) !important; color: var(--peri-ink) !important; box-shadow: inset 0 0 0 2px var(--peri); }
.m-search-only { background: var(--sand-2) !important; color: var(--ink-3) !important; }
.m-blocked { background: var(--ink) !important; color: #fff !important; }
.m-missing { background: var(--paper) !important; color: var(--ink-4) !important; box-shadow: inset 0 0 0 1.5px dashed var(--line-2); }
.legend { display: grid; gap: 6px; }
.legend button { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 48px; padding: 0 16px; border: 0; border-radius: 14px; background: none; text-align: left; font-size: 15px; font-weight: 650; color: var(--ink-2); }
@media (hover: hover) { .legend button:hover { background: var(--sand); } }
.legend button[aria-pressed='true'] { background: var(--sand-2); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.legend .swatch { width: 22px; height: 22px; border-radius: 7px; }
.legend b { font: 760 20px var(--display); }
/* the key says how each group's data is gotten, under its name, without a click */
.legend button:has(small) { padding-block: 10px; align-items: start; }
.legend button:has(small) .swatch { margin-top: 1px; }
.legend__l { display: grid; gap: 2px; min-width: 0; }
.legend__l small { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ink-3); text-wrap: pretty; }
.legend p { padding: 8px 16px 0; font-size: 14px; color: var(--ink-3); min-height: 44px; }
.st-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.stc { display: grid; gap: 10px; padding: 20px 4px; border-top: 1px solid var(--line); color: var(--ink); transition: background .2s; }
@media (hover: hover) { .stc:hover { text-decoration: none; background: var(--mint-mist); } }
.stc__h { display: flex; align-items: center; gap: 12px; }
.stc__h h3 { flex: 1; font-size: 20px; }
.stc__n { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
/* which record a state is read from: the state's own filings, or the other public record, by name */
.stc__src { margin: -4px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-3); text-wrap: pretty; }
/* (a row's cards are as tall as its tallest: the record's line takes the slack, so the figures line up across the row) */
.stc { grid-template-rows: auto 1fr auto auto auto; }
.stc__n b { font: 760 32px/1 var(--display); letter-spacing: -0.04em; }
.stc__n span { font-size: 15px; color: var(--ink-3); }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 48px; }
.spark i { flex: 1; min-height: 3px; border-radius: 4px 4px 2px 2px; background: var(--mint); }
.spark i.z { background: var(--sand-2); }
.stc__f { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 12px; }
.og { margin-top: 32px; }
.og__h { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.og__h .swatch { width: 22px; height: 22px; border-radius: 7px; flex: none; margin-top: 2px; }
.og__h h3 { font-size: 20px; }
.og__h h3 .faint { font-weight: 650; margin-left: 4px; }
.og__h p { margin-top: 4px; font-size: 16px; color: var(--ink-3); max-width: 72ch; }
.og__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.ost { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 4px; border-top: 1px solid var(--line); color: var(--ink); transition: background .2s; }
@media (hover: hover) { .ost:hover { text-decoration: none; background: var(--mint-mist); } }
.ost__t b { display: block; font-size: 17px; font-weight: 700; }
.ost__t span { display: block; font-size: 14px; color: var(--ink-3); line-height: 1.4; }
.ost__t .ost__p { color: var(--peri-ink); font-weight: 650; }
.ost__n { text-align: right; font-size: 13px; color: var(--ink-4); line-height: 1.2; }
.ost__n b { display: block; font: 760 20px var(--display); color: var(--ink); }
.ost__n i { font-style: normal; }
.sec-h { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 48px 0 8px; }
.sec-h > div { flex: 1; min-width: 280px; }
.sec-h p { margin-top: 6px; color: var(--ink-3); font-size: 16px; max-width: 70ch; }
.days { display: flex; align-items: flex-end; gap: 5px; height: 160px; margin-top: 18px; padding-bottom: 26px; position: relative; }
.days div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.days i { width: 100%; min-height: 3px; border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--mint), #5be8d7); }
.days i.z { background: var(--sand-2); }
.days span { position: absolute; bottom: -24px; font-size: 13px; color: var(--ink-4); white-space: nowrap; }
.how { display: grid; gap: 12px; margin-top: 14px; padding: 0; list-style: none; font-size: 16px; color: var(--ink-2); }
.how li { padding-left: 18px; position: relative; }
.how li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.runs { display: grid; margin-top: 10px; }
.runs div { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.runs div span { flex: 1; color: var(--ink-3); }
/* why a pull failed, under its line (it used to be a tooltip on the Failed chip) */
.runs__why { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 2px; font-size: 14px; color: var(--amber); overflow-wrap: anywhere; }
.st-tag--title { width: 64px; height: 54px; font-size: 24px; vertical-align: middle; margin-right: 14px; }
.st-tag--chip { width: 32px; height: 20px; font-size: 13px; margin-left: -6px; }
/* a company's Front Door Score, beside its buttons and as tall as they are */
.co-score { height: 48px; padding: 0 18px; font-size: 16px; }

/* ---------- Results ---------- */
.funnel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 26px; }
.funnel div { padding: 16px 0; border-top: 1px solid var(--line); }
.funnel b { display: block; font: 760 32px/1 var(--display); letter-spacing: -0.04em; }
.funnel span { display: block; margin-top: 8px; color: var(--ink-3); font-size: 15px; line-height: 1.4; }
.funnel span i { display: block; font-style: normal; font-weight: 700; color: var(--teal); margin-top: 4px; }
.res { margin-bottom: 24px; padding: 32px 0 12px; }
.res__head { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.res__head > div { flex: 1; min-width: 260px; }
.res__head .small { margin-top: 8px; }
.rs { border-top: 1px solid var(--line); }
.rs > summary { list-style: none; display: grid; grid-template-columns: 64px 46px minmax(200px, 1.1fr) minmax(0, 2fr) 22px; gap: 16px; align-items: center; padding: 18px 0; cursor: pointer; }
.rs > summary::-webkit-details-marker { display: none; }
.rs .day { font: 700 14px var(--body); color: var(--ink-4); }
.bub { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); flex: none; }
.bub.c-call { background: var(--sand-2); color: var(--ink); }
.bub.c-sms { background: var(--peri-wash); color: var(--peri-ink); }
.bub.c-email { background: var(--mint-wash); color: var(--teal-deep); }
.bub.c-task { background: var(--peri-wash); color: var(--peri-ink); }
.pane .did { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--mint-wash); color: var(--ink); font-weight: 500; }
.pane .did .ic { flex: none; margin-top: 3px; color: var(--teal-deep); }
.person-note { display: flex; gap: 8px; align-items: flex-start; margin: -4px 0 4px; }
.person-note .ic { flex: none; margin-top: 3px; }
.rs__name b { display: block; font-weight: 700; font-size: 17px; }
.rs__name .small { display: block; margin-top: 2px; }
.rs__m { display: flex; flex-wrap: wrap; gap: 6px; }
.mc { display: inline-flex; gap: 6px; align-items: baseline; height: 30px; padding: 0 12px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; color: var(--ink-3); line-height: 28px; white-space: nowrap; }
.mc b { color: var(--ink); font-weight: 700; }
.mc.warn { background: var(--amber-wash); border-color: var(--amber-line); color: var(--amber); }
.mc.warn b { color: var(--amber); }
.rs .chev { color: var(--ink-4); transition: rotate .2s; }
.rs[open] .chev { rotate: 90deg; }
/* (one column that is never wider than the step: a sample message with a long link in it made the page scroll
   sideways at 1024, by 61 to 108px) */
.rs__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0 0 24px 126px; justify-items: start; }
.rs__in h3 { font-size: 17px; }
.vt { border-collapse: collapse; font-size: 15px; }
.vt th { text-align: left; font-weight: 650; font-size: 13px; color: var(--ink-4); padding: 8px 22px 8px 0; }
.vt td { padding: 10px 22px 10px 0; border-top: 1px solid var(--line); }
/* A test's two sides (Sequence results). Its note wraps inside the card instead of setting the card's width, and its
   table has no spare room after its last column, so six columns fit beside the menu at 1024. (Its own class names:
   "tt" is the Home tiles', a row with a 32px figure, and the table was once drawn as one of those.) */
.wv.twrap { grid-template-columns: minmax(0, 1fr); }
.vt.tsides th, .vt.tsides td { padding-right: 18px; }
.vt.tsides th:last-child, .vt.tsides td:last-child { padding-right: 0; }
.vt.tsides td:not(:first-child) { white-space: nowrap; }
.vt.tsides .tn, .vt.tsides .ts { font-variant-numeric: tabular-nums; }
.vt.tsides .ts { margin-left: 6px; }
/* on a narrow screen each side is its own block, every figure with its name: the counts in one column, the shares in
   the next */
@media (max-width: 760px) {
  .vt.tsides thead { display: none; }
  .vt.tsides, .vt.tsides tbody, .vt.tsides tr { display: block; width: 100%; }
  .vt.tsides tr { padding: 12px 0; border-top: 1px solid var(--line); }
  .vt.tsides td, .vt.tsides td:last-child { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; padding: 4px 0; border: 0; }
  .vt.tsides tr.pct td { grid-template-columns: minmax(0, 1fr) auto 40px; }
  .vt.tsides td::before { content: attr(data-l); color: var(--ink-3); white-space: normal; }
  .vt.tsides .tn { text-align: right; }
  .vt.tsides .ts { margin-left: 0; text-align: right; }
  .vt.tsides td:first-child { display: block; padding-bottom: 6px; font-weight: 650; white-space: normal; }
  .vt.tsides td:first-child::before { content: none; }
  .wv.twrap { justify-items: stretch; }
}
.smps { display: grid; gap: 10px; width: 100%; }
.smp { padding: 16px 20px; border-radius: 16px; background: var(--paper); font-size: 16px; color: var(--ink-2); }
.smp__h { display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; margin-bottom: 4px; }
.smp__h a { font-weight: 700; }
.smp__h span { font-size: 13px; color: var(--ink-4); }
.smp p { white-space: pre-line; margin-top: 4px; overflow-wrap: anywhere; }
.bks { margin-bottom: 24px; display: grid; gap: 8px; }
.bk { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; }
.bk > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--mint-wash); color: var(--teal-deep); }
.bk span { display: block; }

/* ---------- Sequences ---------- */
.seq { margin-bottom: 24px; padding: 32px 0; }
/* a header's buttons take the room they need, at the right, and its words get the rest (the two were sharing the row
   half and half, which wrapped a title and its description in half a page); the chips sit under the title */
.head > .row:last-child, .seq__head > .row:last-child, .res__head > .row:last-child { flex: 0 1 auto; min-width: 0; margin-left: auto; }
@media (max-width: 720px) { .head > .row:last-child, .seq__head > .row:last-child, .res__head > .row:last-child { margin-left: 0; } }
.head:has(> .row:last-child) { align-items: flex-start; }
.head .row > h1, .seq__head .row > h2, .res__head .row > h2 { flex: 1 1 100%; }
.seq__head { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.seq__head > div { flex: 1; min-width: 300px; }
.seq__head p { color: var(--ink-3); margin-top: 10px; max-width: 70ch; font-size: 16px; }
.seq__head .row { margin-top: 12px; }
.steps { margin-top: 22px; display: grid; }
.st { display: grid; grid-template-columns: 64px 46px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
/* a step on Sequences opens itself: the whole row is its name's link (the counts on it are links of their own, above it) */
.st.go { position: relative; grid-template-columns: 64px 46px minmax(0, 1fr) auto 20px; }
@media (hover: hover) { .st.go:hover { background: var(--mint-mist); box-shadow: -10px 0 0 var(--mint-mist), 10px 0 0 var(--mint-mist); } }
.st__a { color: var(--ink); }
.st__a::after { content: ''; position: absolute; inset: 0; }
@media (hover: hover) { .st__a:hover { text-decoration: none; } }
.st.go .counts a { position: relative; z-index: 1; }
.st.go > .chev { width: 20px; height: 20px; color: var(--ink-4); transition: transform .2s var(--ease), color .2s var(--ease); }
@media (hover: hover) { .st.go:hover > .chev { transform: translateX(3px); color: var(--ink); } }
.seq__head h2 a, .res__head h2 a { color: inherit; }
.seq__n a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
@media (hover: hover) { .seq__n a:hover { text-decoration-color: var(--teal); } }
.st .day { font: 700 14px var(--body); color: var(--ink-4); }
.st b { font-size: 17px; font-weight: 700; }
.st .line { font-size: 15px; color: var(--ink-3); margin-top: 2px; }
.st.off { opacity: .55; }
.who2 { text-align: right; }
.counts { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; margin-top: 6px; }
.stops { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-3); }
/* Sequences is a list: one row per sequence (the page used to draw each one's steps in full, so the first filled the
   screen and read as the only one). A row says its name, who goes into it, how many are in it and its steps; it opens
   in place, so what is open is always under its own name. Under 960px a row's facts go under its name, each named */
.seq-count { margin: 0 0 16px; }
.seq-count p a, .seq__facts dd a:not([class]) { color: var(--teal); font-weight: 650; }
.sqs { border-bottom: 1px solid var(--line); }
.sqs__h, .sq > summary { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) 22px; gap: 8px 24px; align-items: center; }
.sqs__h { padding: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.sq { border-top: 1px solid var(--line); }
.sq > summary { list-style: none; padding: 20px 0; cursor: pointer; }
.sq > summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .sq > summary:hover { background: var(--mint-mist); box-shadow: -10px 0 0 var(--mint-mist), 10px 0 0 var(--mint-mist); } }
.sq__name h2 { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.sq__name .row { margin-top: 8px; gap: 6px; }
.sq__f { display: grid; gap: 2px; min-width: 0; }
.sq__f b { font-size: 16px; font-weight: 700; }
.sq__f small { font-size: 14px; line-height: 1.35; color: var(--ink-3); }
.sq > summary > .chev { width: 22px; height: 22px; color: var(--ink-3); transition: rotate .2s var(--ease); }
.sq[open] > summary > .chev { rotate: 180deg; }
@media (prefers-reduced-motion: reduce) { .sq > summary > .chev { transition: none; } }
.sq__body { padding: 4px 0 32px; }
.sq__body .seq__head p { margin-top: 0; }
.sq__body .seq__head .row { margin-top: 0; }
.seq__facts { display: grid; gap: 12px; margin-top: 22px; max-width: 960px; }
.seq__facts > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 2px 24px; align-items: baseline; }
.seq__facts dt { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.seq__facts dd { font-size: 16px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.seq__facts dd b { font-weight: 700; color: var(--ink); }
@media (max-width: 960px) {
  .sqs__h { display: none; }
  .sq > summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 22px; align-items: start; }
  .sq__name { grid-column: 1 / 4; }
  .sq > summary > .chev { grid-column: 4; grid-row: 1; }
  .sq__f::before { content: attr(data-l); font-size: 13px; font-weight: 700; color: var(--ink-3); }
}
@media (max-width: 720px) {
  .sq > summary { grid-template-columns: minmax(0, 1fr) 22px; }
  .sq__name { grid-column: 1; }
  .sq > summary > .chev { grid-column: 2; }
  .sq__f { grid-column: 1; grid-template-columns: 104px minmax(0, 1fr); column-gap: 12px; align-items: baseline; }
  .sq__f small { grid-column: 2; }
  .seq__facts > div { grid-template-columns: minmax(0, 1fr); }
}
.enroll { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.enroll input { width: 72px; height: 40px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white); text-align: center; }
/* the editor */
.ed { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; }
.ed__steps { position: sticky; top: calc(var(--top) + 20px); display: grid; gap: 4px; }
.es { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 16px; background: none; text-align: left; color: var(--ink-2); }
@media (hover: hover) { .es:hover { background: var(--sand); } }
.es[aria-current] { background: var(--mint-wash); color: var(--ink); }
.es > .ic { width: 40px; height: 22px; color: var(--ink-3); }
.es .bub { width: 40px; height: 40px; border-radius: 12px; }
.es .bub .ic { width: 18px; height: 18px; }
.es b { display: block; font-weight: 650; font-size: 15px; line-height: 1.25; }
.es small { color: var(--ink-4); font-size: 13px; }
.es.off b { color: var(--ink-4); text-decoration: line-through; }
.es .dirty { margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: var(--peri); flex: none; }
.ed__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ed__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
/* (a choice with long words, like "By itself, as a test of another sequence", narrows with its column instead of
   pushing the page wider) */
.ed__form .field, .ed__form .ed__grp { grid-template-columns: minmax(0, 1fr); }
.ed__form select { min-width: 0; max-width: 100%; }
.ed__form .field .row { font-weight: 500; color: var(--ink-3); }
.ed__form textarea { font-size: 16px; min-height: 140px; }
.ed__prev { position: sticky; top: calc(var(--top) + 20px); display: grid; gap: 14px; }
.ed__prev .input { max-width: 280px; }
.ed__prev .phone { margin: 0 auto; }
.sw { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; color: var(--ink-2); cursor: pointer; }
/* (a group of switches under its own label, in the sequence editor's "Who starts it") */
.ed__grp { display: grid; gap: 10px; }
.ed__lbl { font-size: 15px; font-weight: 650; color: var(--ink-2); }
.ed__sws { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.ed__sws .sw { min-height: 44px; font-weight: 500; }
.ed__picked { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ed__picked li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 2px 0 2px 16px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; color: var(--ink); }
.ed__picked li:first-child { border-top: 1px solid var(--line); }
.ed__picked .btn { min-height: 44px; }
.sw input { appearance: none; width: 46px; height: 28px; border-radius: 99px; background: var(--line-2); position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.sw input::after { content: ''; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--sh-sm); transition: translate .15s; }
.sw input:checked { background: var(--teal); }
.sw input:checked::after { translate: 18px 0; background: var(--mint); }
.fieldchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -6px; }
.fieldchips button { height: 40px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white); font-weight: 650; font-size: 15px; color: var(--ink-2); }
@media (hover: hover) { .fieldchips button:hover { border-color: var(--ink); color: var(--ink); } }
.fieldchips button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--page); }
.ok { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--teal-deep); }
.ok .ic { color: var(--teal); }
#probs ul { margin: 6px 0 0; padding-left: 20px; }
.brief { padding: 18px 0; border-top: 1px solid var(--line); }
.brief__k { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.brief__k .ic { color: var(--teal); }
.brief__goal { margin-top: 12px; font: 700 20px/1.35 var(--display); }
.brief ol, .script ol { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 8px; }
.brief li, .script li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--paper); color: var(--ink-2); font-size: 16px; }
.brief li::before, .script li::before { content: counter(s); width: 28px; height: 26px; display: grid; place-items: center; clip-path: var(--slant); background: var(--mint-wash); font: 760 13px/1 var(--display); color: var(--teal-deep); }
.savebar { position: sticky; bottom: 16px; z-index: 5; margin-top: 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 12px 12px 22px; border-radius: 999px; background: var(--white); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--sh-md); }
.savebar > span { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; }
.savebar > span .ic { color: var(--teal); }
/* which steps stop the save (it used to be a tooltip on the Save button) */
.savebar__why { font-style: normal; font-weight: 500; font-size: 15px; color: var(--amber); }
.savebar .input { min-width: 220px; height: 48px; border-color: var(--line-2); background: var(--white); color: var(--ink); border-radius: 999px; }
.savebar .input::placeholder { color: var(--ink-4); }
.savebar .btn.quiet { color: var(--ink-2); }
@media (hover: hover) { .savebar .btn.quiet:hover { background: var(--sand); } }
.savebar .btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.versions { margin-top: 28px; }
.versions h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; }
.versions h2 .ic { color: var(--teal); }
.versions > p { margin: 6px 0 12px; }
.vr { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.vr > b { width: 44px; font: 760 20px var(--display); }
.vr > span:not(.pill) { flex: 1; color: var(--ink-3); }
.vr em { display: block; font-style: normal; color: var(--ink-2); }
/* on a phone the row's buttons go under its words (side by side they reached past the edge of the page) */
@media (max-width: 640px) { .vr { flex-wrap: wrap; row-gap: 8px; } .vr > span:not(.pill) { flex-basis: calc(100% - 60px); } }

/* an email, as it will arrive */
.mail { border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.mail__head { padding: 16px 24px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 12px; font-size: 14px; background: var(--paper); }
.mail__head dt { color: var(--ink-4); }
.mail__head dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.mail__subj { padding: 22px 26px 0; font: 700 20px/1.3 var(--display); letter-spacing: -0.015em; }
.mail__body { padding: 14px 26px 28px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.mail__body p + p { margin-top: 12px; }
.mail__body a { overflow-wrap: anywhere; }
.mail__body .foot { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-4); }
.mail__body .foot a { color: var(--ink-4); text-decoration: underline; }
/* a text, as it will arrive */
.phone { max-width: 400px; border-radius: 32px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); padding: 20px 18px 26px; }
.phone__to { text-align: center; font-size: 13px; color: var(--ink-4); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.phone__to b { display: block; color: var(--ink); font-size: 15px; }
.bubble { margin-left: auto; width: fit-content; max-width: 86%; padding: 11px 15px; border-radius: 20px 20px 6px 20px; background: var(--imsg); color: #fff; font-size: 16px; line-height: 1.42; overflow-wrap: anywhere; white-space: pre-wrap; }
.bubble a { color: #fff; text-decoration: underline; }
.phone__meta { text-align: right; font-size: 13px; color: var(--ink-4); margin-top: 4px; }

/* ---------- Settings and Activity ---------- */
.sets { padding: 6px 0; }
.set { display: flex; align-items: center; gap: 14px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.set:last-child { border-bottom: 0; }
.set > div:first-child { flex: 1; min-width: 260px; }
.set h3 { font-size: 20px; }
.set p { color: var(--ink-3); font-size: 16px; margin-top: 4px; max-width: 66ch; }
.gaps { margin-top: 12px; padding: 12px 16px; border-radius: 14px; background: var(--amber-wash); color: var(--amber); font-size: 14px; }
.gaps ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 3px; }
.group-h { margin: 48px 0 16px; }
/* Settings is long: a strip under the top bar jumps to each part and marks the one on the screen. One row at every
   width (it rolls sideways on a narrow screen, never the page); the parts stop below it when the page lands on them */
.set-jump { position: sticky; top: var(--top); z-index: 10; display: flex; align-items: center; margin: 24px 0 28px; padding: 10px 0; background: var(--page); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.set-jump::-webkit-scrollbar { display: none; }
/* (the fades are the page's own color laid over the strip's two ends, so nothing under the strip shows through them) */
.set-jump::before, .set-jump::after { content: ''; position: sticky; flex: none; width: 48px; height: 40px; pointer-events: none; z-index: 1; opacity: 0; }
.set-jump::before { left: 0; margin-right: -48px; background: linear-gradient(to right, var(--page) 20%, transparent); }
.set-jump::after { right: 0; margin-left: -48px; background: linear-gradient(to left, var(--page) 20%, transparent); }
.set-jump.more-l::before, .set-jump.more-r::after { opacity: 1; }
.set-jump a { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 999px; color: var(--ink-3); font-size: 15px; font-weight: 600; text-decoration: none; }
.set-jump a:hover { color: var(--ink); }
.set-jump a[aria-current="true"] { background: var(--mint-wash); color: var(--ink); }
.set-wrap :is(.group-h, #set-switches, #dlScriptBox), .set-wrap [data-land] { scroll-margin-top: calc(var(--top) + 84px); }
@media (pointer: coarse) { .set-jump a { height: 44px; } }
.group-h h2 { font-size: 24px; }
.group-h p { color: var(--ink-3); font-size: 16px; margin-top: 6px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; align-items: end; }
.feed { padding: 8px 32px; }

/* ---------- Review and Calls (shown only when a step asks for a person, or a teammate dials) ---------- */
.split { display: grid; grid-template-columns: 360px minmax(0, 1fr); height: calc(100vh - var(--top)); }
.queue { overflow: auto; border-right: 1px solid var(--line); background: var(--page); padding-bottom: 24px; }
.queue__head { position: sticky; top: 0; z-index: 1; padding: 26px 20px 12px; background: var(--page); }
.queue__head h1 { font-size: 32px; }
/* where Review is, over its heading (Home > To do > Review): one click from each page above it */
.queue__head .trail { margin: -10px 0 8px; }
.rv-up { padding-top: 26px; }
.pane .backq .trail { margin: -6px 0 14px; }
.queue__head p { font-size: 14px; color: var(--ink-3); margin-top: 6px; }
.queue h2 { display: flex; align-items: center; gap: 8px; padding: 16px 22px 8px; font: 700 14px var(--body); color: var(--ink-4); }
.queue h2 button { margin-left: auto; }
.qi { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; margin: 2px 10px; padding: 12px 14px; border-radius: 16px; cursor: pointer; color: var(--ink); }
@media (hover: hover) { .qi:hover { background: var(--sand); text-decoration: none; } }
.qi[aria-current] { background: var(--mint-wash); }
.qi .ic { grid-row: span 2; color: var(--ink-4); }
.qi[aria-current] .ic { color: var(--teal); }
.qi b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qi span { grid-column: 2; font-size: 14px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qi time { grid-row: 1; grid-column: 3; font-size: 13px; color: var(--ink-4); white-space: nowrap; }
.qi.held .ic { color: var(--amber); }
.pane { overflow: auto; display: flex; flex-direction: column; background: var(--white); }
.pane__in { padding: 32px 44px 36px; max-width: 920px; width: 100%; }
.pane .backq { display: none; }
.who { display: flex; align-items: flex-start; gap: 12px 16px; flex-wrap: wrap; }
.who > div { flex: 1; min-width: 240px; }
.who h1 { font-size: 32px; }
.who h1 a { color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; color: var(--ink-3); font-size: 15px; }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.facts .ic { width: 16px; height: 16px; color: var(--ink-4); }
.why { margin: 24px 0 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; color: var(--ink-3); }
.acts { position: sticky; bottom: 0; margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 44px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.progress { font-size: 14px; color: var(--ink-4); margin-left: auto; }
.edit { display: grid; gap: 10px; }
.edit input, .edit textarea { width: 100%; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--white); font: 16px/1.6 var(--body); color: var(--ink); padding: 12px 16px; }
.edit input { font: 700 20px var(--display); }
/* THE EDIT BOXES ARE THE HEIGHT OF THEIR WORDS (views/review.js fits them, and again whenever their width changes),
   so neither scrolls by itself or is dragged shorter than what is in it: the page is the one thing that scrolls */
.edit textarea { resize: none; overflow: hidden; min-height: 300px; }
/* the subject, read whole: it wraps onto as many lines as it needs */
.edit textarea.subj { min-height: 0; font: 700 20px/1.3 var(--display); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.edit textarea.sms { min-height: 150px; max-width: 480px; }
.edit textarea:focus, .edit input:focus { outline: none; border-color: var(--ink); }
.edit .problems { font-size: 14px; color: var(--amber); }
.held-note { margin: 18px 0 0; }
/* Review: what a draft written for one company was written from (closed until asked for) */
.wrote { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.wrote > summary { cursor: pointer; width: fit-content; padding: 12px 0; font-size: 14px; font-weight: 650; color: var(--teal); }
.wrote p { margin: 8px 0; max-width: 68ch; }
.wrote__why { margin: 0 0 2px; max-width: 68ch; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.wrote .btn.sm { min-height: 44px; }
.wrote__told { margin: 6px 0 12px; padding-left: 22px; max-width: 72ch; }
.wrote__told li { margin: 6px 0; }
.wrote__fixed { margin: 6px 0 12px; padding: 2px 0 2px 14px; border-left: 2px solid var(--line-2); max-width: 68ch; }
.wrote__fixed, .wrote__told li { overflow-wrap: anywhere; } /* (a link in the words is one long word: it breaks where the pane ends) */
.num { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.num a.tel { font: 760 32px/1 var(--display); color: var(--ink); letter-spacing: -0.03em; }
@media (hover: hover) { .num a.tel:hover { color: var(--teal); text-decoration: none; } }
.src { font-size: 14px; color: var(--ink-4); margin-top: 8px; }
.open { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.script { margin-top: 26px; }
.script > p { font-weight: 650; color: var(--ink-2); }
.script > p span { font-weight: 500; color: var(--ink-3); }
.outcome { margin-top: 28px; }
.outcome h2 { margin-bottom: 12px; }
.big2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.big2 .btn { height: 58px; font-size: 17px; }
.more-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.yes { margin-top: 14px; padding: 20px; border-radius: var(--r); background: var(--mint-mist); box-shadow: inset 0 0 0 1px var(--mint-soft); display: grid; gap: 14px; }
.yes p { font-weight: 650; }
.yes p span { display: block; font-weight: 500; font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle { position: relative; }
.toggle input { position: absolute; opacity: 0; inset: 0; }
.toggle span { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 650; font-size: 15px; cursor: pointer; }
.toggle span::before { content: ''; width: 18px; height: 18px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--ink-4); }
.toggle input:checked + span { box-shadow: inset 0 0 0 2px var(--teal); color: var(--teal-deep); }
.toggle input:checked + span::before { background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: none; }
.cb { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin-top: 12px; }
.callnote { margin-top: 14px; }
.callnote textarea { width: 100%; min-height: 70px; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 12px 14px; font: 15px/1.5 var(--body); resize: vertical; }
.callbar { flex-direction: column; align-items: stretch; gap: 12px; }
.callbar .yes, .callbar .cb { margin: 0; }
.callbar__row { gap: 10px; flex-wrap: wrap; }
.callbar__q { margin-right: 6px; font-family: var(--display); font-weight: 700; font-size: 17px; }
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary .chev { rotate: -90deg; width: 16px; height: 16px; }
.menu ul { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 10; min-width: 260px; margin: 0; padding: 6px; list-style: none; background: var(--white); border-radius: 16px; box-shadow: var(--sh-md), inset 0 0 0 1px var(--line); }
.menu li button { width: 100%; height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: none; text-align: left; font-weight: 650; }
.menu li button:focus-visible { background: var(--sand); }
@media (hover: hover) { .menu li button:hover { background: var(--sand); } }
.only-narrow { display: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1280px) {
  :root { --pad: 36px; }
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; }
  .stages::before { display: none; }
  .st-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed__grid { grid-template-columns: 1fr; }
  .ed__prev { position: static; }
  .funnel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .home-grid, .co-grid, .map-card { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 300px minmax(0, 1fr); }
  .tbl .hide-md { display: none; }
  /* tables become one card per row (from 1100 down: beside the rail a table at 1024 has about 670px, and its last
     column was cut; touch.css lays the cards two across while there is room) */
  .tbl { background: none; border: 0; box-shadow: none; overflow: visible; }
  .tbl thead, .tbl colgroup { display: none; }
  .tbl table, .tbl tbody { display: grid; gap: 10px; }
  .tbl tr { display: grid; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .tbl td { padding: 0; border: 0; font-size: 16px; min-width: 0; }
  .tbl tr { min-width: 0; }
  .cv { white-space: normal; overflow-wrap: anywhere; }
  .tbl td[data-l]::before { content: attr(data-l); display: block; font-size: 13px; font-weight: 650; color: var(--ink-4); }
  .tbl .hide-sm, .tbl .hide-md { display: none; }
  @media (hover: hover) { .tbl tbody tr:hover td { background: none; } }
}
@media (max-width: 960px) {
  :root { --top: 72px; --pad: 18px; }
  .app { grid-template-columns: 1fr; background: var(--page); }
  /* the rail becomes a drawer */
  .toasts { left: 50%; width: calc(100vw - 32px); }
  .rail { position: fixed; left: 0; top: 0; bottom: 0; width: min(320px, 86vw); height: auto; transform: translateX(-100%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s .25s; }
  .app.open .rail { transform: none; visibility: visible; box-shadow: var(--sh-lg); transition: transform .25s var(--ease); }
  .app.open::after { content: ''; position: fixed; inset: 0; background: rgba(23, 23, 31, .4); z-index: 25; }
  .menu-b { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: 1px solid var(--line-2); border-radius: 14px; background: var(--white); color: var(--ink); }
  .menu-b .ic { width: 22px; height: 22px; }
  .find input { height: 48px; padding-right: 16px; }
  .find kbd { display: none; }
  .status .pill:not(.amber) { display: none; }
  .toasts { left: 50%; top: 12px; width: calc(100% - 32px); }
  main { padding: 26px var(--pad) 80px; }
  .ph .lede, .hello .lede { font-size: 17px; }
  .card { padding: 20px 0 4px; }
  .flow { padding: 26px 16px 20px; border-radius: var(--r-lg); }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage { padding: 14px 10px; }
  .stage b { font-size: 32px; }
  .stats, .funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-cards { grid-template-columns: 1fr; }
  .journey { grid-template-columns: repeat(6, 72px); overflow-x: auto; max-width: 100%; min-width: 0; padding: 12px 0; scrollbar-width: none; }
  .jstep { font-size: 13px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dt { margin-top: 10px; }
  /* (tables become one card per row in the 1100px block above) */
  .filters .q { min-width: 100%; }
  .filters select.input { max-width: none; flex: 1 1 140px; min-width: 0; width: 0; }
  .tog span { height: 44px; padding: 0 14px; }
  .fi { grid-template-columns: 44px minmax(0, 1fr); }
  .fi__n, .fi__s { white-space: normal; }
  .fi__r { grid-column: 2; grid-row: auto; display: flex; align-items: center; gap: 10px; justify-items: start; margin-top: 4px; }
  .og__grid { grid-template-columns: 1fr; }
  .rs > summary { grid-template-columns: 46px minmax(0, 1fr) 22px; }
  .rs .day { display: none; }
  .rs__m { grid-column: 2 / 3; }
  .rs__in { padding-left: 0; }
  .st { grid-template-columns: 46px minmax(0, 1fr); }
  .st.go { grid-template-columns: 46px minmax(0, 1fr) 20px; }
  .st.go > .chev { grid-column: 3; grid-row: 1; }
  .st .day { display: none; }
  .st .who2 { grid-column: 2; text-align: left; }
  .counts { justify-content: flex-start; }
  .ed { grid-template-columns: 1fr; }
  .ed__steps { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .es { width: auto; flex: none; }
  .es small { display: none; }
  .savebar { border-radius: var(--r); }
  .split { grid-template-columns: 1fr; height: auto; }
  .split.has-sel .queue { display: none; }
  .split:not(.has-sel) .pane { display: none; }
  .pane .backq { display: block; }
  .pane, .queue { overflow: visible; }
  .queue { border-right: 0; }
  .pane__in, .acts { padding-left: 16px; padding-right: 16px; }
  .acts .progress { width: 100%; margin-left: 0; order: -1; }
  .big2 { grid-template-columns: 1fr; }
  .need { flex-wrap: wrap; }
  .bar { grid-template-columns: 110px minmax(0, 1fr) 54px; }
  .next-step { padding: 22px; }
  .only-wide, .callbar__q { display: none; }
  .only-narrow { display: inline; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- a company's website as a small browser window (core.js siteFrame; pictures from engine/shots.js) ---------- */
.sf { --w: 84px; width: var(--w); aspect-ratio: 16 / 11; flex: none; display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; background: var(--white); }
.sf__bar { height: 10px; flex: none; display: flex; gap: 3px; align-items: center; padding: 0 6px; background: var(--sand); border-bottom: 1px solid var(--line); }
.sf__bar i { width: 4px; height: 4px; border-radius: 50%; background: var(--clay); }
.sf__pic { flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; background: var(--peri-wash); }
/* until the picture is taken: a small frame shows the website's first letter (its name, cut mid-word at 10px, read
   as noise) and keeps the name for a screen reader; the large frame on a company's page has room for the name */
.sf__i { font: 760 20px/1 var(--display); font-style: normal; color: var(--peri-ink); }
.sf:not(.lg) .sf__pic b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sf.lg .sf__i { display: none; }
.sf__pic b { font: 650 13px/1.2 var(--body); color: var(--peri-ink); padding: 0 6px; text-align: center; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sf__pic img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.sf.shown .sf__pic img { animation: sf-in .4s var(--ease); }
/* a company with no website on record: a plain tile with its first letter, no browser frame (an empty frame read as
   a preview that had failed to load) */
.sf.none { border-color: transparent; box-shadow: none; background: var(--sand); display: grid; place-items: center; color: var(--ink-4); }
.sf.none .sf__i { color: var(--ink-3); }
.sf.none svg { width: 18px; height: 18px; }
/* the line above the Companies table that says what order it is in, with the other order one tap away */
.lst-order { margin: -4px 0 14px; }
.note + .lst-order { margin-top: 12px; }
.lst-order a { color: var(--teal); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.sf.lg { --w: 100%; border-radius: var(--r-sm); }
.sf.lg .sf__bar { height: 26px; gap: 7px; padding: 0 14px; }
.sf.lg .sf__bar i { width: 9px; height: 9px; }
.sf.lg .sf__pic b { font-size: 15px; }
.site-card { display: block; padding: 0; overflow: hidden; color: inherit; text-decoration: none; }
.site-card .sf { border: 0; border-radius: 0; box-shadow: none; }
.site-card .site-cap { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; font-weight: 650; border-top: 1px solid var(--line); }
.site-card .site-cap span { color: var(--teal); display: inline-flex; gap: 6px; align-items: center; }
@media (hover: hover) { .site-card:hover .site-cap span { text-decoration: underline; } }
.site-card .site-cap svg { width: 16px; height: 16px; }
@keyframes sf-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sf.shown .sf__pic img { animation: none; } }
@media (max-width: 960px) { .sf { --w: 64px; } .sf.lg { --w: 100%; } }

/* ---------- Mailboxes and numbers ---------- */
.snd-sec { margin-top: 48px; }
.snd-sec:first-of-type, .ph + .snd-sec { margin-top: 0; }
.snd-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.snd-h h2 { display: flex; align-items: center; gap: 12px; }
.snd-h h2 svg { width: 26px; height: 26px; color: var(--teal); }
.snd-h p { max-width: 640px; }
.snd-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 16px; color: var(--ink-3); font-size: 15px; }
.snd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 0 32px; }
.snd { padding: 24px 0; display: flex; flex-direction: column; gap: 16px; }
.snd.off header > i { background: var(--sand); color: var(--ink-4); } /* paused: a quiet icon beside its "Paused" chip, not a grey band */
.snd header { display: flex; align-items: flex-start; gap: 14px; }
.snd header > i { width: 44px; height: 44px; border-radius: 12px; background: var(--mint-wash); color: var(--teal-deep); display: grid; place-items: center; flex: none; }
.snd.off header > i { background: var(--sand); color: var(--ink-4); }
.snd header > div { flex: 1; min-width: 0; }
.snd header b { display: block; font: 700 20px/1.25 var(--display); overflow-wrap: anywhere; }
.snd header span { color: var(--ink-3); font-size: 14px; }
.meter > div { font-size: 15px; margin-bottom: 8px; }
.meter > span { display: block; height: 10px; border-radius: 6px; background: var(--sand); overflow: hidden; }
.meter > span i { display: block; height: 100%; background: var(--mint); border-radius: 6px; }
.snd-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; }
.snd-nums dt { font-size: 13px; color: var(--ink-3); }
.snd-nums dd { margin: 2px 0 0; font: 700 20px var(--display); }
.checks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.checks .chip svg { width: 14px; height: 14px; }
/* what a mailbox's domain is missing, in words (the chips alone name the check, not what to do about it) */
.checks > p { flex: 1 1 100%; margin: 2px 0 0; }
.snd-miss { color: var(--amber); font-weight: 650; }
.snd-h p a { color: var(--teal); font-weight: 650; }
.snd-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.snd-acts .cap { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; color: var(--ink-3); }
.snd-acts .cap .input { width: 90px; height: 40px; }
.snd-empty { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-style: dashed; background: transparent; box-shadow: none; }
.snd-empty > svg { width: 30px; height: 30px; color: var(--ink-4); flex: none; }
.snd-empty > div { flex: 1; }
.snd-empty p { margin: 4px 0 0; color: var(--ink-3); }
.add-snd { padding: 24px; margin-bottom: 18px; display: grid; gap: 14px; }
.add-snd h3 { margin: 0; }
.add-snd .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; padding: 0; box-shadow: none; border: 0; }
@media (max-width: 960px) { .snd-grid { grid-template-columns: 1fr; } .snd-h { flex-direction: column; align-items: flex-start; } .snd-nums { grid-template-columns: repeat(2, 1fr); } .snd-empty { flex-wrap: wrap; } }

/* ---------- Activity ---------- */
.act-today { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 24px; } /* (one row, shared evenly: four tiles, or five where Calling is shown) */
.act-tile { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background .2s var(--ease); }
.act-tile b { font: 760 32px/1 var(--display); letter-spacing: -.02em; }
.act-tile span { color: var(--ink-3); font-size: 15px; }
.act-tile::before { content: ''; width: 28px; height: 6px; border-radius: 3px; margin-bottom: 10px; background: var(--tone, var(--sand-2)); }
.act-tile.t-back { --tone: var(--mint); } .act-tile.t-out { --tone: var(--peri); } .act-tile.t-stop { --tone: var(--amber-line); } .act-tile.t-person { --tone: var(--ink); } .act-tile.t-call { --tone: var(--clay); }
.act-tile.on { border-color: var(--ink); }
@media (hover: hover) { .act-tile:hover { border-color: var(--ink); } }
@media (hover: hover) { .act-tile:hover { transform: translateY(-1px); } }
.act-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; }
.act-bar .tabs { flex: 0 1 auto; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.act-bar .q { position: relative; flex: 1 1 240px; max-width: 340px; }
.act-bar .q svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-4); }
.act-bar .q .input { width: 100%; padding-left: 44px; }
.act-note { margin: 12px 0 0; }
.act-day { margin-top: 32px; }
.act-day h2 { position: sticky; top: var(--top); z-index: 2; margin: 0 0 6px; padding: 10px 0; background: var(--page); font: 700 24px/1.15 var(--display); }
.act-day h2 span { font: 500 15px var(--body); color: var(--ink-3); margin-left: 8px; }
.act-day ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.act { position: relative; display: grid; grid-template-columns: 76px 40px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 22px; border-top: 1px solid var(--line); }
.act:first-child { border-top: 0; }
/* a row leads somewhere: the first link of its sentence (.act-go, views/activity.js) takes a click or a tap anywhere on
   the row, and whatever else can be pressed in it (another name, its sequence, what there is to open) sits over that */
.act[data-go] { cursor: pointer; }
@media (hover: hover) { .act[data-go]:hover { background: var(--paper); } }
.act a.act-go { position: static; }
.act a.act-go::after { content: ''; position: absolute; inset: 0; }
.act a:not(.act-go), .act details { position: relative; z-index: 1; }
.act time { color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.act > i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--ink-3); }
.act > i svg { width: 19px; height: 19px; }
.act.t-back > i { background: var(--mint); color: var(--ink); }
.act.t-out > i { background: var(--peri-wash); color: var(--peri-ink); }
.act.t-stop > i { background: var(--amber-wash); color: var(--amber); }
.act.t-person > i { background: var(--peri-wash); color: var(--peri-ink); }
.act.t-call > i { background: var(--sand-2); color: var(--ink); } /* (a call, as the company's own page marks one) */
.act.t-eng > i { background: var(--sand); color: var(--ink-3); }
.act.t-quiet { color: var(--ink-3); }
.act.t-quiet > i { background: transparent; border: 1px dashed var(--line-2); color: var(--ink-4); }
.act p { margin: 0; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.act p a { color: var(--ink); font-weight: 650; text-decoration-color: var(--line-2); }
@media (hover: hover) { .act p a:hover { text-decoration-color: var(--teal); } }
.act p i { font-style: normal; font-weight: 650; }
.act p q { display: block; margin-top: 6px; padding: 8px 12px; border-left: 3px solid var(--mint); background: var(--mint-mist); border-radius: 0 10px 10px 0; color: var(--ink-2); quotes: '“' '”'; }
.act small { display: block; margin-top: 3px; color: var(--ink-3); font-size: 13px; }
.act small .chip { height: 26px; font-size: 13px; padding: 0 10px; }
/* what a row has to open, in place: what was said on a call, an email's words, a text */
.act details { width: fit-content; max-width: min(100%, 68ch); margin-top: 6px; font-size: 15px; color: var(--ink-2); cursor: auto; } /* (no wider than its words: the rest of the row still opens the company) */
.act details summary { width: fit-content; color: var(--teal); font-weight: 650; font-size: 14px; cursor: pointer; }
.act details > div { margin-top: 8px; }
.act details > div:has(+ pre) { color: var(--ink-3); font-size: 13px; }
.act details pre { margin: 4px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--sand); font: 15px/1.6 var(--body); color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
/* a row with something open is tall: its time, its mark and the website's picture stay at the top, beside the
   sentence they belong to (the time and the sentence keep the middle of the mark, as in a row that is closed) */
@media (min-width: 961px) {
  .act:has(details[open]) { align-items: start; }
  .act:has(details[open]) > time { padding-top: 10px; }
  .act:has(details[open]) > div { padding-top: 8px; }
}
.act .sf { --w: 64px; }
.act-more { display: flex; justify-content: center; margin-top: 22px; }
@media (max-width: 960px) {
  .act { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 14px 16px; }
  .act time { grid-column: 2; grid-row: 2; font-size: 13px; }
  .act > i { grid-row: 1 / span 2; align-self: start; }
  .act .sf { display: none; }
  .act-bar .q { max-width: none; }
}
@media (max-width: 640px) {
  .act-today { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .act-tile:last-child:nth-child(odd) { grid-column: 1 / -1; } /* (a fifth tile takes the last row whole: no half row left empty) */
}

/* Settings: a switch that reaches real people asks once more */
.confirm { margin: 0 0 4px; padding: 18px 22px; display: grid; gap: 14px; background: var(--amber-wash); border: 1px solid var(--amber-line); border-radius: var(--r-sm); }
.confirm p { display: flex; gap: 12px; margin: 0; font-weight: 650; color: var(--ink); }
.confirm p svg { width: 20px; height: 20px; color: var(--amber); flex: none; margin-top: 2px; }

/* ---------- Sources ---------- */
.src-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.src-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 22px 24px; color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); }
@media (hover: hover) { .src-card:hover { border-color: var(--ink); transform: translateY(-1px); } }
.src-card > i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-wash); color: var(--teal-deep); margin-bottom: 12px; }
.src-card > b { font: 760 32px/1 var(--display); letter-spacing: -.02em; }
.src-card h3 { margin: 6px 0 0; font-size: 20px; }
.src-card p { margin: 2px 0 0; color: var(--ink-3); font-size: 14px; }
.src-card .go { position: absolute; top: 22px; right: 20px; color: var(--ink-4); }
.src-card .go svg { width: 20px; height: 20px; }
.tbl td.nc, .tbl th.nc { text-align: right; font-variant-numeric: tabular-nums; }
.imp-drop { padding: 0; overflow: hidden; border-style: dashed; border-width: 2px; }
.imp-drop.over { border-color: var(--teal); background: var(--mint-mist); }
.imp-file { display: block; cursor: pointer; }
.imp-file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.imp-file > span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 44px 24px; text-align: center; }
.imp-file > span svg { width: 34px; height: 34px; color: var(--teal); }
.imp-file b { font: 700 20px var(--display); }
.imp-file small { color: var(--ink-3); font-size: 15px; }
.imp-file input:focus-visible + span { outline: 3px solid var(--peri); outline-offset: -6px; border-radius: var(--r); }
.imp-paste { border-top: 1px dashed var(--line-2); padding: 14px 24px 20px; }
.imp-paste summary { cursor: pointer; font-weight: 650; color: var(--teal); }
.imp-paste textarea { width: 100%; margin: 12px 0; font: 14px/1.5 ui-monospace, monospace; }
.imp-sum { display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap; padding: 22px 24px; margin-top: 24px; }
.imp-sum > div { flex: 1 1 260px; }
.imp-counts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; font-size: 16px; }
.imp-counts b { font: 760 24px var(--display); margin-right: 2px; }
/* a list's summary: its name and its sequence side by side, what the sequence will do under them the whole width,
   then the count and the button that does it (.imp-sum > div is a field's column: these two are whole rows) */
.imp-sum > .imp-plan, .imp-sum > .imp-go { flex: 1 1 100%; }
.imp-go { display: flex; align-items: center; justify-content: space-between; gap: 16px 22px; flex-wrap: wrap; }
.imp-plan { display: grid; gap: 14px 48px; padding: 18px 0 4px; border-top: 1px solid var(--line); }
.imp-plan--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.imp-plan p { margin: 0; font-size: 16px; }
.imp-plan p + p { margin-top: 8px; }
.imp-plan b { font-variant-numeric: tabular-nums; }
.imp-plan .plan__why { margin-top: 6px; }
/* (a reason that runs to a second line starts under the reason, never under its number) */
.imp-plan .plan__why li { display: grid; grid-template-columns: minmax(34px, max-content) minmax(0, 1fr); column-gap: 4px; }
.imp-plan .plan__why b { min-width: 0; }
@media (max-width: 900px) { .imp-plan--two { grid-template-columns: minmax(0, 1fr); } }
.imp-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; padding: 22px 24px; }
/* an export of opportunities in the same box (views/sources.js oppsBody): the band that says what the file is read
   as, the sentences under the counts, and a stage with nothing to choose. Tokens only, so dark follows by itself. */
.imp-kind { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; }
.imp-kind .ic { flex: none; margin-top: 3px; }
.imp-kind + .imp-sum, .imp-kind + .imp-need { margin-top: 14px; }
.imp-says { display: grid; gap: 6px; margin-top: 16px; padding-left: 22px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.imp-need { margin-bottom: 14px; }
.imp-map .field small { display: block; }
.imp-shut { display: flex; align-items: center; min-height: 48px; font-weight: 500; color: var(--ink-3); }
.imp-says a, .imp-deals .sub a { text-decoration: underline; text-underline-offset: 3px; }
.add-co { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 26px; }
@media (max-width: 1100px) { .src-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .src-cards, .add-co { grid-template-columns: 1fr; } }
.src-list { list-style: none; margin: 0; padding: 0; }
.src-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.src-list li:first-child { border-top: 0; }
.src-list li > svg { width: 20px; height: 20px; color: var(--teal); margin-top: 3px; flex: none; }
.src-list a { color: var(--ink); }
.st-tag.src svg { width: 18px; height: 18px; }
.src-list .sub { display: block; font-size: 14px; color: var(--ink-3); margin-top: 2px; }

/* ---------- making and shaping a sequence ---------- */
.new-seq { padding: 24px 26px; margin-bottom: 26px; }
.new-seq h2 { margin: 0 0 14px; font-size: 24px; }
.new-seq .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.es-add { margin-top: 10px; padding: 14px 12px 4px; border-top: 1px dashed var(--line-2); }
.es-add .row { gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.step-order { gap: 6px; align-items: center; flex-wrap: wrap; margin: -4px 0 4px; }
.step-order > span { margin-right: auto; }
@media (max-width: 960px) { .new-seq .fields { grid-template-columns: 1fr; } }

/* ---------- choosing companies ---------- */
.tbl th.pick, .tbl td.pick { width: 44px; padding-right: 0; }
.tbl td.pick input, .tbl th.pick input { width: 18px; height: 18px; accent-color: var(--ink); cursor: pointer; }
.tbl tr.on td { background: var(--mint-mist); }
.pickbar { position: sticky; bottom: 18px; z-index: 30; margin-top: 18px; }
.pickbar__bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px 12px 22px; background: var(--white); color: var(--ink); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--sh-md); }
.pickbar__bar b { font: 760 20px var(--display); }
.pickbar__bar .grow { flex: 1; }
.pickbar__bar select { min-width: 240px; }
.pickbar__bar .tog span { color: var(--ink-2); border-color: var(--line-2); background: transparent; }
.pickbar__bar .btn.quiet { color: var(--ink-2); }
.plan { padding: 22px 0; margin-bottom: 10px; }
.plan__cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-bottom: 16px; }
.plan h3 { margin: 0 0 8px; font-size: 20px; }
.plan__why { list-style: none; margin: 0; padding: 0; }
.plan__why li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
.plan__why li:first-child { border-top: 0; }
.plan__why b { display: inline-block; min-width: 34px; font-variant-numeric: tabular-nums; }
.note.peri { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: var(--r-sm); background: var(--peri-wash); color: var(--peri-ink); }
.new-seq p.small { margin: 10px 0 16px; }
@media (max-width: 960px) { .plan__cols { grid-template-columns: 1fr; } .pickbar__bar { border-radius: var(--r); } }

/* ---------- Pipeline ---------- */
.pipe-note { margin: -6px 0 18px; }
.board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: start; }
.col { min-width: 0; }
.col h2 { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 20px; }
.col h2 span { font: 650 15px var(--body); color: var(--ink-3); }
.col > p.small { margin: 2px 0 12px; min-height: 44px; line-height: 1.45; }
.col__none { padding: 18px 12px; border: 1.5px dashed var(--line-2); border-radius: var(--r); color: var(--ink-4); text-align: center; font-size: 14px; margin: 0; }
.dl { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 12px 2px; margin: 0; cursor: pointer; transition: background .15s var(--ease); }
@media (hover: hover) { .dl:hover { border-color: var(--ink); } }
.dl.unowned { border-left: 4px solid var(--amber-line); }
.dl header { display: flex; gap: 10px; align-items: center; }
.dl header .sf { width: 46px; flex: none; }
.dl header .sf__i, .tbl.dense .sf__i, .act .sf__i { font-size: 17px; }
.dl header > div { min-width: 0; }
.dl .nm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.dl header small { color: var(--ink-3); font-size: 13px; }
.dl__last { margin: 10px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-2, var(--ink)); }
.dl__last q { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; padding: 6px 8px 0; border-bottom: 6px solid var(--sand); background: var(--sand); border-radius: var(--r-sm); color: var(--ink); quotes: none; }
.dl__last small { display: block; margin-top: 4px; color: var(--ink-4); font-size: 13px; }
.dl footer { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.dl footer select { width: 100%; min-width: 0; font-size: 13px; padding: 4px 26px 4px 10px; min-height: 34px; height: 36px; border-radius: 999px; background-position: right 8px center; background-size: 14px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.dl__last small { display: inline; margin-left: 6px; }
.deal-card .deal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 1280px) { .board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .board, .deal-card .deal-row { grid-template-columns: 1fr; } }

.deal-card .deal-row { margin-top: 14px; }

/* ---------- Results: a step's words compared ---------- */
.wv { display: grid; gap: 10px; justify-items: start; }
.wdiff { display: grid; gap: 6px; max-width: 760px; }
.wdiff p { margin: 0; padding: 8px 12px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.45; display: grid; grid-template-columns: 64px 1fr; gap: 10px; }
.wdiff p span { font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.wdiff .out { background: var(--sand); color: var(--ink-3); }
.wdiff .out s { text-decoration-color: var(--ink-4); }
.wdiff .in { background: var(--mint-wash, #e6fbf3); color: var(--ink); }

/* ---------- Companies and Contacts: dense lists (wide screens; from 1100 down each row is a card) ---------- */
@media (min-width: 1101px) {
  .tbl.dense { overflow: clip; }
  .tbl.dense table { table-layout: fixed; }
  /* (the heading stays under the top bar while the list scrolls, so it is filled: with `background: none` from .tbl th
     the rows passing under it showed through its words. The line under it is a shadow: a collapsed border stays
     behind with the table when the cell sticks) */
  .tbl.dense thead th { position: sticky; top: var(--top); z-index: 3; padding: 11px 16px; background: var(--page); box-shadow: 0 1px 0 var(--line); }
  .tbl.dense td { padding: 9px 16px; font-size: 15px; }
  .tbl.dense td, .tbl.dense .nm, .tbl.dense .sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tbl.dense .nm { display: block; font-size: 16px; }
  /* the states' filings: the name gets the room, so "Nightingale Heating & Air" isn't cut beside an empty column */
  .fl-tbl th:first-child { width: 32%; }
  .fl-tbl th:nth-child(3) { width: 150px; }
  .fl-tbl th:last-child { width: 216px; }
  .fl-tbl td:last-child { text-overflow: clip; }
  .tbl.dense .sub { margin-top: 1px; font-size: 13px; }
  .tbl.dense .ct-person { gap: 12px; min-width: 0; }
  .tbl.dense .ct-person > div { min-width: 0; }
  .tbl.dense .sf { --w: 56px; border-radius: 7px; }
  .tbl.dense .sf__bar { height: 8px; }
  .tbl.dense .found { flex-wrap: nowrap; overflow: hidden; }
  .tbl.dense .found .chip { height: 26px; padding: 0 9px; gap: 5px; font-size: 13px; flex: none; }
  .tbl.dense .found .site .h { display: none; }
  .tbl.dense .row { min-width: 0; }
  .tbl.dense th.pick, .tbl.dense td.pick { padding-right: 0; }
}
.held-row a, .now-row a { height: auto; min-height: 36px; padding-top: 6px; padding-bottom: 6px; line-height: 1.3; }

/* ================= v4: a CRM's shape (Home, To do, records, outreach, admin) ================= */
/* the rail: plain entries in four groups, a count beside each (To do's is a badge) */
.nav__label { padding: 18px 14px 6px; }
.nav-a { min-height: 46px; }
.nav-a small { margin-left: auto; font-size: 13px; font-weight: 650; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.nav-a[aria-current] small { color: var(--ink-3); }
/* the six places: the one you're in lists its other screens under it */
.nav-a { margin-top: 2px; }
.nav-a[aria-current='true'] { background: none; }
.nav-a[aria-current='true'] .ic { color: var(--teal); }
.nav-kids { display: grid; gap: 1px; margin: 2px 0 8px 27px; padding-left: 12px; border-left: 1.5px solid var(--line); }
.nav-kids a { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 12px; border-radius: 11px; color: var(--ink-3); font-size: 15px; font-weight: 650; }
@media (hover: hover) { .nav-kids a:hover { background: var(--sand); color: var(--ink); text-decoration: none; } }
.nav-kids a[aria-current] { background: var(--mint-wash); color: var(--ink); }
.nav-kids a em { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; background: var(--mint); color: var(--ink); font: 700 13px/24px var(--body); text-align: center; font-style: normal; }
.nav-kids a small { margin-left: auto; font-size: 13px; font-weight: 650; color: var(--ink-4); font-variant-numeric: tabular-nums; }

/* the page header: title and actions on one line, one short sentence under it */
/* spacing, on one scale (4 · 8 · 12 · 16 · 24 · 32 · 48): a page's header to its content 24, one section to the next
   24, a headed group to the one before it 32, a major group 48 */
.ph { display: block; margin-bottom: 24px; }
.ph__eb { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 650; color: var(--ink-4); }
.ph__eb a { color: var(--teal); }
.ph__row { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.ph__row h1 { flex: 1; min-width: min(100%, 300px); margin: 0; font-size: 48px; }
.ph .lede { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--ink-3); max-width: 72ch; }
.ph__act { margin-left: auto; }

/* Home */
.hello2 { margin-bottom: 24px; }
.hello2 .date { font-size: 15px; font-weight: 650; color: var(--ink-4); }
.hello2 h1 { margin-top: 6px; font-size: 48px; }
.hello2 .lede { margin-top: 10px; font-size: 17px; color: var(--ink-2); max-width: 68ch; }
.needs { margin: 0 0 22px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpi { display: grid; align-content: start; gap: 4px; padding: 24px 24px 22px; color: var(--ink-3); border-left: 1px solid var(--line); transition: background .2s var(--ease); }
.kpi:first-child { border-left: 0; padding-left: 0; }
@media (hover: hover) { .kpi:hover { background: var(--mint-mist); text-decoration: none; } }
.kpi__i { width: 40px; height: 36px; display: grid; place-items: center; margin-bottom: 12px; clip-path: var(--slant); background: var(--mint); color: var(--ink); }
.kpi__k { font-size: 15px; font-weight: 650; color: var(--ink-2); }
.kpi b { font: 760 32px/1.05 var(--display); letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi small { font-size: 14px; line-height: 1.4; }
.home2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; align-items: start; }
.home2 .card, .week { padding: 24px 0 4px; }
.week { margin-top: 24px; }
.week .card-h .muted { font-size: 15px; }
.week__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.week__row a { display: grid; gap: 2px; padding: 4px 18px; border-left: 1px solid var(--line); color: var(--ink-3); }
.week__row a:first-child { border-left: 0; padding-left: 0; }
@media (hover: hover) { .week__row a:hover { background: var(--mint-mist); text-decoration: none; } }
.week__row span { font-size: 15px; font-weight: 650; color: var(--ink); }
.week__row b { font: 760 32px/1.1 var(--display); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.week__row small { font-size: 13px; line-height: 1.4; }
.quiet-empty { display: flex; align-items: flex-start; gap: 14px; margin-top: 16px; padding: 4px 0; color: var(--ink-3); font-size: 16px; }
.quiet-empty > .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--teal); }
.quiet-empty p { flex: 1; }
.quiet-empty b { color: var(--ink); }
.dbars { display: grid; gap: 6px; margin-top: 14px; }
.dbar { display: grid; grid-template-columns: 110px minmax(0, 1fr) 48px; align-items: center; gap: 14px; padding: 8px 4px; border-radius: 10px; color: var(--ink-2); font-size: 15px; font-weight: 650; }
@media (hover: hover) { .dbar:hover { background: var(--paper); text-decoration: none; } }
.dbar i { height: 12px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.dbar s { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--peri), var(--mint)); }
.dbar b { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }

/* To do: one list of what needs a person */
.pad-s { padding: 18px 20px; }
.todo-add { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.todo-add input[name=title] { min-width: min(100%, 320px); }
.todo-add input[type=date] { width: 168px; }
.todo-add select { width: 180px; }
.todo-add.compact { margin-top: 14px; }
.todo-add.compact input[name=title] { flex-basis: 100%; }
.pick-co { position: relative; min-width: 220px; }
.pick-co .input { width: 100%; }
.pick-co__l { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; min-width: 260px; padding: 6px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-md); }
.pick-co__l button { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; text-align: left; font-weight: 650; }
@media (hover: hover) { .pick-co__l button:hover { background: var(--sand); } }
.pick-co__l small { color: var(--ink-4); font-weight: 500; }
.pick-co__l p { padding: 10px 12px; color: var(--ink-4); }
/* where a page is: the trail over a page that was drilled into (core.js trail) */
.trail { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 15px; color: var(--ink-4); }
.trail a { color: var(--ink-3); font-weight: 600; padding: 6px 0; }
.trail a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.trail b { color: var(--ink); font-weight: 650; }
.trail__s { display: inline-grid; place-items: center; color: var(--ink-4); }
.trail__s .ic { width: 14px; height: 14px; }
@media (max-width: 960px), (pointer: coarse) { .trail a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0; } }
/* To do: the one to do first leads the list, as one line and one button; the rows under it are the whole list */
.td-page { max-width: 1120px; }
.td-first { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 28px; margin-top: 8px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.td-first__eb { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.td-first__eb .ic { width: 16px; height: 16px; }
.td-first__b { font-size: 17px; line-height: 1.5; color: var(--ink-3); text-wrap: pretty; }
.td-first__b b { color: var(--ink); font-weight: 700; }
.td-first .btn { grid-row: 2 / span 2; grid-column: 2; align-self: center; }
.td-first__n { grid-column: 1; }
.td-group__h { display: flex; align-items: baseline; gap: 6px 18px; flex-wrap: wrap; }
.td-group__h > p { font-size: 15px; }
/* one at a time: one thing on the screen, where it stands in the list, and the way to the ones on either side */
.td-one { max-width: 860px; }
.td-one__bar { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.td-one__n { margin-right: auto; font-size: 16px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.td-one__n b { font: 700 24px/1 var(--display); color: var(--ink); margin-right: 2px; }
.td-one__nav { display: flex; gap: 8px; }
.td-one__nav .btn[aria-disabled='true'] { background: none; border-color: var(--line); color: var(--ink-4); cursor: default; opacity: .6; }
.td-one__card { padding: 30px 0 6px; }
.td-one__card h1 { margin-top: 16px; font-size: 32px; line-height: 1.12; letter-spacing: -0.02em; }
.td-one__card h1 a { color: inherit; text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.td-one__card h1 small { font: 500 17px var(--body); letter-spacing: 0; }
.td-one__meta { display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; margin-top: 10px; font-size: 15px; color: var(--ink-4); }
.td-one__meta a { color: var(--ink-3); font-weight: 600; }
.td-one__meta .due { margin: 0; }
.td-one__say { margin: 24px 0 0; padding: 20px 24px; border-radius: var(--r-sm); background: var(--paper); font-size: 20px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; white-space: pre-wrap; }
.td-one__say small { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 650; color: var(--ink-4); white-space: normal; }
.td-one__line { margin-top: 22px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.td-one__card > .small { margin-top: 10px; }
.td-one__acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.td-one .reply-c { margin-top: 26px; scroll-margin-top: calc(var(--top) + 12px); }
/* (while it is being written, their words are in the composer itself: said once) */
.td-one--writing .td-one__say { display: none; }
.td-one__about { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.td-one__abouth { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.td-one__abouth h2 { font-size: 20px; }
.td-one__sum { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.td-one__hist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; }
.td-one__hist li { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.td-one__hist time { color: var(--ink-4); font-variant-numeric: tabular-nums; }
.td-one__hist span { color: var(--ink-2); overflow-wrap: anywhere; }
.td-one__keys { margin-top: 28px; }
.td-one__keys kbd { background: var(--sand); color: var(--ink-3); }
.td-one__end .row { justify-content: center; margin-top: 8px; }
@media (max-width: 720px) {
  .td-first { grid-template-columns: minmax(0, 1fr); }
  .td-first .btn { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 8px; }
  .td-one__card h1 { font-size: 24px; }
  .td-one__say { font-size: 17px; }
  .td-one__hist li { grid-template-columns: minmax(0, 1fr); }
  .td-one__nav { width: 100%; }
  .td-one__nav .btn { flex: 1; }
  .td-one__keys { display: none; }
}
.td-group { margin-top: 32px; }
.td-group h2 { font-size: 24px; display: flex; align-items: baseline; gap: 10px; }
.td-group h2 small { font: 650 15px var(--body); color: var(--ink-4); }
.td-group > p { margin-top: 4px; font-size: 15px; }
.td-list.card { margin-top: 12px; padding: 4px 0; }
.td-list.flat { margin-top: 10px; }
.td { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink); }
.td:first-child { border-top: 0; }
@media (hover: hover) { a.td:hover { text-decoration: none; } }
@media (hover: hover) { a.td:hover b { text-decoration: underline; text-underline-offset: 3px; } }
.td__i { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--mint-wash); color: var(--teal-deep); }
.td__i.peri { background: var(--peri-wash); color: var(--peri-ink); }
.td__i.amber { background: var(--amber-wash); color: var(--amber); }
.td__b { flex: 1; min-width: 0; display: grid; gap: 2px; }
.td__b b { font-size: 17px; font-weight: 700; }
.td__b b a { color: var(--ink); }
.td__b > span { font-size: 15px; color: var(--ink-3); overflow-wrap: anywhere; }
.td__m { display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; font-size: 14px !important; color: var(--ink-4) !important; }
.td__m b { font-size: inherit; }
.td__go { color: var(--ink-4); }
.td .btn { flex: none; }
/* To do: whose it is, then the form that adds a task, both on the page's own left edge */
.td-tabs { margin-bottom: 20px; }
.td-addc { padding: 20px 0 0; }
.td-st--at_risk { color: var(--amber); font-weight: 650; }
.td-st--blocked { color: var(--ink); font-weight: 700; }
.td__c { position: relative; flex: none; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; }
.td__c input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.td__c span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line-2); color: transparent; transition: background .15s var(--ease), border-color .15s var(--ease); }
.td__c span .ic { width: 16px; height: 16px; stroke-width: 2.6; }
@media (hover: hover) { .td__c:hover span { border-color: var(--ink); } }
.td__c input:checked + span { background: var(--mint-wash); border-color: var(--teal); color: var(--teal-deep); }
.td__c input:focus-visible + span { outline: 2.5px solid var(--teal); outline-offset: 3px; }
.td.done b { color: var(--ink-4); text-decoration: line-through; text-decoration-color: var(--line-2); }
.due { display: inline-flex; align-items: center; gap: 5px; font-weight: 650; }
.due .ic { width: 15px; height: 15px; }
.due.late { color: var(--amber); }
.due.today { display: inline-flex; margin-top: 0; gap: 5px; color: var(--teal); } /* Home's .today (a grid, set far below) must not reach this one */
.amber-t2 { color: var(--amber); font-weight: 650; }
.td-done { margin-top: 30px; }
.td-done > summary { cursor: pointer; font: 700 20px var(--display); color: var(--ink-2); list-style: none; }
.td-done > summary::-webkit-details-marker { display: none; }
.td-done > summary small { font: 650 14px var(--body); color: var(--ink-4); margin-left: 6px; }
.td-done.sm { margin-top: 16px; }
.td-done.sm > summary { font-size: 15px; }

/* the company page: a note, a person */
.note-add { display: grid; gap: 10px; margin-top: 14px; }
.note-add textarea { height: auto; min-height: 70px; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.note-add .btn { justify-self: start; }
.person-add { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.person-add .input { min-width: 0; }
.person-add .row { grid-column: 1 / -1; }

/* Deals: adding one */
.deal-add { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }

/* Lead sources: why the states' filings aren't ready */
.hold-list { padding: 6px 10px; }
.hold-list a { display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 650; }
.hold-list a:first-child { border-top: 0; }
@media (hover: hover) { .hold-list a:hover { background: var(--mint-mist); border-radius: 12px; text-decoration: none; } }
.hold-list span { flex: 1; }
.hold-list b { font-variant-numeric: tabular-nums; }
.hold-list .ic { color: var(--ink-4); }

@media (max-width: 1180px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:nth-child(3) { border-left: 0; padding-left: 0; }
  .kpi:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .home2 { grid-template-columns: minmax(0, 1fr); }
  .week__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .kpi { padding: 20px 18px; }
  .kpi b { font-size: 32px; }
  .home2 .card, .week { padding: 20px 0 4px; }
  .todo-add input[type=date], .todo-add select, .todo-add .btn, .pick-co { width: 100%; flex: 1 1 100%; }
  .person-add { grid-template-columns: minmax(0, 1fr); }
  .td { flex-wrap: wrap; }
  .td .btn { margin-left: 56px; }
  .dbar { grid-template-columns: 92px minmax(0, 1fr) 40px; }
}

/* v4: one row of filters on a wide screen */
@media (min-width: 1280px) {
  .filters .q { min-width: 190px; max-width: 340px; }
  .filters select.input { width: 168px; }
  /* with the three "has a…" switches (Companies): the search takes what's left of the first row, so the switches
     go to the next row together instead of one up and two down */
  .filters:has(.tog) .q { min-width: 300px; max-width: none; }
}
.todo-add input[name=title] { min-width: min(100%, 260px); }
.todo-add input[type=date] { width: 168px; }
.todo-add select { width: 166px; }
.pick-co { min-width: 200px; }
@media (max-width: 640px) {
  .quiet-empty { flex-wrap: wrap; }
  .quiet-empty .btn { margin-left: 36px; }
  .todo-add input[name=title] { min-width: 100%; }
}
@media (max-width: 640px) {
  .td { align-items: flex-start; }
  .td__b { flex: 1 1 calc(100% - 56px); }
  .td-list.card { padding: 4px 0; }
}

.site-add { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.site-add .input { height: 40px; min-width: 200px; font-size: 15px; }
.site-add p { flex-basis: 100%; }
.seq-start { display: flex; gap: 8px; flex: 1 1 100%; flex-wrap: wrap; }
.seq-start .input { height: 40px; flex: 1; min-width: 200px; font-size: 15px; }
.chipb { cursor: pointer; border: 0; font: inherit; font-size: 13px; font-weight: 650; color: var(--ink-2); }
@media (hover: hover) { .chipb:hover { background: var(--sand); } }

/* v4: writing to a company from its page */
.reply-c .card-h { flex-wrap: wrap; gap: 10px; }
.reply-c { scroll-margin-top: 104px; }
.reply-said { margin: 0; padding: 14px 18px; border-left: 4px solid var(--peri); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--peri-wash); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 220px; overflow: auto; }
.reply-said small { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 650; color: var(--peri-ink); }
.reply-f { display: grid; gap: 16px; margin-top: 16px; }
.reply-from { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: baseline; padding: 12px 16px; border-radius: var(--r-sm); background: var(--sand); }
.reply-from span { font-size: 14px; font-weight: 650; color: var(--ink-3); }
.reply-from b { font-weight: 650; overflow-wrap: anywhere; }
.reply-from small { grid-column: 2; font-size: 14px; color: var(--ink-3); }
.reply-f input[readonly] { background: var(--paper); color: var(--ink-2); }
.reply-f textarea { min-height: 220px; }
.reply-foot { display: grid; gap: 6px; }
.reply-foot small { font-size: 14px; color: var(--ink-3); }
.reply-foot pre { margin: 0; padding: 12px 16px; border: 1.5px dashed var(--line-2); border-radius: var(--r-sm); font: 500 14px/1.5 var(--body); color: var(--ink-3); white-space: pre-wrap; overflow-wrap: anywhere; }
.reply-blocked { display: flex; gap: 8px; align-items: center; margin: 14px 0 12px; }
.td__acts { display: flex; gap: 8px; flex: none; flex-wrap: wrap; }
/* in a half-width column (The day in numbers) a row's buttons go under its words: beside them they left the words a
   strip 140px wide */
.home2 .td { flex-wrap: wrap; }
.home2 .td__b { flex: 1 1 calc(100% - 56px); }
.home2 .td__acts, .home2 .td > .btn { margin-left: 56px; }
.home2 .td__acts .btn { margin-left: 0; }
@media (max-width: 640px) {
  .td__acts { margin-left: 56px; }
  .td__acts .btn { margin-left: 0; }
}

/* v4: a company's name and address, edited on its page */
.det-f { display: grid; grid-template-columns: minmax(0, 1fr) 96px 132px; gap: 14px 16px; margin: 0 0 24px; }
.det-f h2 { grid-column: 1 / -1; font-size: 24px; }
.det-f .wide { grid-column: 1 / -1; }
.det-f .field .input { width: 100%; }
@media (max-width: 640px) {
  .det-f { grid-template-columns: minmax(0, 1fr) 84px; }
  .det-f label:has(input[name=zip]) { grid-column: 1 / -1; }
}
/* a long industry name wraps in the company header instead of widening the page */
.co-head .chip { max-width: 100%; height: auto; min-height: 30px; padding-block: 5px; white-space: normal; line-height: 1.25; }
/* which it is, in words under the name: a customer (since when, who looks after them), or where it is short of one */
.co-is { margin: 10px 0 0; max-width: 40em; font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.co-is b { color: var(--ink); font-weight: 700; }
/* a company's header: the name beside its buttons, then its chips across the whole page under both (they were held to
   the name's narrow column, where five chips took three rows and the long one two lines) */
@media (min-width: 961px) {
  .co-head:has(> .ph__act) > div:first-child { display: contents; }
  .co-head:has(> .ph__act) h1 { flex: 1; min-width: 300px; }
  .co-head:has(> .ph__act) > div:first-child > .co-head__n { flex: 1; min-width: 300px; } /* (the name and the line that says which it is, together) */
  .co-head:has(> .ph__act) > div:first-child > .row { order: 3; flex: 1 1 100%; margin-top: -4px; }
}

/* v4: possible duplicates, and a merged company */
.dg { margin-bottom: 20px; }
.dg__h { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; }
.dg__h > .ic { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--peri-wash); color: var(--peri-ink); }
.dg__h b { display: block; font-size: 17px; }
.dg__h small { display: block; color: var(--ink-3); font-size: 14px; overflow-wrap: anywhere; }
.dg__cos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.dg__co { position: relative; display: grid; gap: 6px; align-content: start; padding: 16px 18px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); cursor: pointer; }
.dg__co:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.dg__co input { position: absolute; opacity: 0; pointer-events: none; }
.dg__co b { font-size: 17px; }
.dg__co b a { color: var(--ink); }
.dg__m { font-size: 14px; color: var(--ink-3); overflow-wrap: anywhere; }
.dg__keep { display: inline-flex; align-items: center; gap: 6px; width: fit-content; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--sand); color: var(--ink-3); font-size: 13px; font-weight: 650; }
.dg__keep .ic { width: 14px; height: 14px; display: none; }
.dg__co:has(input:checked) .dg__keep { background: var(--mint); color: var(--ink); }
.dg__co:has(input:checked) .dg__keep .ic { display: block; }
.dg__co:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.dg__act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.dg__all { margin: -8px 0 20px; }
.pp-note { margin-top: 14px; }
.dupe-note, .merged-to { display: flex; gap: 14px; align-items: center; color: var(--ink); }
.dupe-note > .ic, .merged-to > .ic:first-child { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--peri-wash); color: var(--peri-ink); }
.dupe-note p, .merged-to p { flex: 1; margin: 0; }
.dupe-note .more { flex: none; }
.merge-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.merge-row p { flex-basis: 100%; margin: 0; color: var(--ink-2); }
.merge-row .pick-co { flex: 1 1 240px; }
@media (max-width: 640px) {
  .dupe-note { flex-wrap: wrap; }
  .dupe-note .more { margin-left: 58px; }
}

/* signing in (auth.js), and who can */
body.signin { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--page); }
.signin__box { width: min(420px, 100%); display: grid; gap: 16px; justify-items: center; text-align: center; padding: 40px 0; }
.signin__box img { border-radius: 18px; }
.signin__box h1 { font-size: 32px; }
.signin__box .note { width: 100%; text-align: left; }
.signin__g { width: 100%; justify-content: center; gap: 10px; }
.signin__box p { margin: 0; }
.signin__pw { width: 100%; display: grid; gap: 10px; text-align: left; }
.signin__pw label { font-size: 15px; font-weight: 650; color: var(--ink-2); }
/* "Who's here?" (app.js whoView): the one question, flat on the page like every other screen */
.who-page { max-width: 560px; margin: 8vh auto 0; padding: 0 24px; }
.who-page h1 { margin-top: 16px; font-size: 48px; }
.who-page .lede { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--ink-3); }
.who-page__f { margin-top: 24px; flex-wrap: nowrap; }
@media (max-width: 520px) { .who-page__f { flex-wrap: wrap; } .who-page__f .btn { width: 100%; justify-content: center; } }
.signin__pw .btn { width: 100%; justify-content: center; margin-top: 6px; }
/* on a phone the box sits in the upper part of the screen, so the field and its button stay above the keyboard (this
   page links app.css alone, so its phone rules are here and not in touch.css) */
@media (max-width: 560px) { body.signin { place-items: start center; padding: max(24px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); } .signin__box { padding-top: 6vh; } }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.people-l { display: grid; padding: 4px 24px; }
.pl { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.pl:first-child { border-top: 0; }
.pl > i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--peri-wash); color: var(--peri-ink); font: 700 14px var(--display); font-style: normal; }
.pl > div { flex: 1; min-width: 0; display: grid; }
.pl span { font-size: 14px; color: var(--ink-3); overflow-wrap: anywhere; }
.pl.off { opacity: .6; }
.pl__acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
/* People and roles (Settings, ui/views/people.js): each person's role, the form that adds one, the link just made for
   them, and what each role may do */
.pl__role { flex: none; font: 650 14px var(--body); color: var(--ink-2); }
.pl__role select { min-width: 128px; }
.pl-add { margin-top: 12px; }
@media (min-width: 761px) { .pl-add { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(150px, .7fr) auto; align-items: end; } }
.pl-add > p { grid-column: 1 / -1; margin: 0; }
.pl-link { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--peri-wash); color: var(--peri-ink); font-size: 15px; }
.pl-link > span { flex: 1 1 100%; }
.pl-link input { flex: 1 1 280px; min-width: 0; }
.pl-roles { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink-3); }
.pl-roles b { color: var(--ink); font-weight: 650; }
@media (max-width: 760px) { .pl { flex-wrap: wrap; } .pl > div { flex: 1 1 60%; } .pl__acts { justify-content: flex-start; flex: 1 1 100%; padding-left: 54px; } .pl__role { padding-left: 54px; } }
.tl-text { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
/* whose words a quoted note is (a rep's note under their call): its name sits on the note, not a line away */
/* what a saved call changed, under the call's own row; and the one line a link led to (it is tinted, nothing moves) */
.tl-did { display: grid; gap: 4px; margin: 8px 0 0; padding-left: 20px; font-size: 15px; color: var(--ink-2); }
.tl > div.tl-here { background: var(--paper); box-shadow: 0 0 0 12px var(--paper); border-radius: 4px; border-top-color: transparent; }
.tl > div.tl-here + div { border-top-color: transparent; }
.tl .tl-lbl { margin-top: 8px; }
.tl .tl-lbl + pre { margin-top: 4px; }
.text-c__count { margin-top: -4px; }
.reply-f#textF textarea { min-height: 120px; }
.set-admins { margin-bottom: 16px; }

/* Ready for them: what we made for a company (its agent, its score) and what they did with it (engine/signals.js) */
.td__i.mint { background: var(--mint); color: var(--ink); }
/* a step a person does in a sequence (To do, Your steps) */
.td__i.ink { background: var(--peri-wash); color: var(--peri-ink); }
.td-step .td__b > b small { font-weight: 500; }
.ready-c { display: grid; gap: 0; }
.ready-c > .small { margin-top: 14px; }
.rf { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.ready-c .card-h + .rf { border-top: 0; padding-top: 4px; }
.rf__i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--mint-wash); color: var(--teal-deep); }
.rf__t { display: grid; gap: 2px; min-width: 0; }
.rf__t > span { color: var(--ink-3); font-size: 15px; }
.rf__t .rf__s { margin-top: 6px; font-size: 14px; color: var(--ink-4); }
.rf__t .rf__s.on { color: var(--teal-deep); font-weight: 650; }
.rf__a { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.rf__more { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--mint-mist); color: var(--teal-deep); font-size: 14px; font-weight: 650; }
.rf__more .ic { flex: none; margin-top: 2px; }
.tl > div.c-sig > .ic { background: var(--mint); color: var(--ink); }
@media (max-width: 640px) {
  .rf { grid-template-columns: 40px 1fr; }
  .rf__a { grid-column: 2; justify-content: flex-start; }
}

/* a dropdown's list (picker.js): what floats has a surface; the one you're on is a soft mint, the chosen one has a check */
.picker { position: fixed; inset: auto; margin: 0; z-index: 80; min-width: 160px; max-width: min(420px, calc(100vw - 16px)); overflow-y: auto; overscroll-behavior: contain;
  padding: 6px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: var(--sh-md); font: 500 16px/1.35 var(--body); animation: pk .14s var(--ease); }
@keyframes pk { from { opacity: 0; translate: 0 -4px; } }
.picker__o { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px 8px 10px; border-radius: 10px; cursor: pointer; }
.picker__o .ic { width: 16px; height: 16px; stroke-width: 2.4; color: var(--teal); visibility: hidden; }
.picker__o[aria-selected='true'] { font-weight: 650; }
.picker__o[aria-selected='true'] .ic { visibility: visible; }
.picker__o.on { background: var(--mint-wash); }
.picker__o.blank { color: var(--ink-3); }
.picker__o[aria-disabled='true'] { color: var(--ink-4); cursor: default; }
.picker__group { padding: 10px 14px 4px 36px; font-size: 13px; font-weight: 650; color: var(--ink-4); }
select.is-open { border-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .picker { animation: none; } }


/* ---------- Home: the place to ask (views/home.js) ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home3 .hello2 { margin-bottom: 24px; }
.askbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; max-width: 860px; height: 68px; padding: 0 12px 0 22px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.askbar:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--mint-soft); }
.askbar label { display: grid; place-items: center; color: var(--teal); }
.askbar label .ic { width: 22px; height: 22px; }
.askbar input { min-width: 0; height: 100%; border: 0; background: none; font-size: 20px; outline: none; }
.askbar input::placeholder { color: var(--ink-4); }
.askbar__mic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px dashed var(--line-2); color: var(--ink-4); }
.askbar__mic .ic { width: 18px; height: 18px; }
.askbar .btn { height: 48px; padding: 0 24px; font-size: 16px; }
/* mint marks one step: in the conversation the card you're at, under it the top story. The other cards' first buttons go plain */
.talk .cd:not(.is-lead) > .cd__a .btn.mint, .today > section:not(.today__top) .cd__a .btn.mint { background: var(--white); border-color: var(--line-2); color: var(--ink); }
@media (hover: hover) { .talk .cd:not(.is-lead) > .cd__a .btn.mint:hover, .today > section:not(.today__top) .cd__a .btn.mint:hover { background: var(--white); border-color: var(--ink); transform: none; } }
/* one ink button on the page: once the conversation has the card you're at, the top story's button goes plain too
   (Ask is a plain button: its line already carries the ring) */
.home3:has(.talk .cd.is-lead) .today__top .cd__a .btn.mint { background: var(--white); border-color: var(--line-2); color: var(--ink); }
@media (hover: hover) { .home3:has(.talk .cd.is-lead) .today__top .cd__a .btn.mint:hover { background: var(--white); border-color: var(--ink); transform: none; } }
/* a line's title wraps to a second line before it is cut ("…is waiting on an an…" hid the point) */
.home3 .cd--line .cd__lt b { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.tries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; max-width: 980px; }
.tries button { height: 40px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: none; font-size: 15px; font-weight: 650; color: var(--ink-2); transition: border-color .15s, background .15s; }
@media (hover: hover) { .tries button:hover { border-color: var(--ink); color: var(--ink); background: var(--white); } }
.talk { display: grid; gap: 34px; }
.talk:not(:empty) { margin-top: 34px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.mo { display: grid; gap: 10px; min-width: 0; }
.mo__q { display: flex; align-items: baseline; gap: 8px; font-size: 15px; color: var(--ink-3); }
.mo__q span { font-weight: 650; color: var(--ink-4); }
.mo__q q { quotes: '“' '”'; color: var(--ink-2); font-weight: 650; min-width: 0; overflow-wrap: anywhere; }
.mo__x { margin-left: 6px; align-self: center; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: var(--ink-4); }
@media (hover: hover) { .mo__x:hover { background: var(--sand); color: var(--ink); } }
.mo__x .ic { width: 15px; height: 15px; }
.mo__s { font: 700 32px/1.2 var(--display); letter-spacing: -0.015em; max-width: 30ch; text-wrap: balance; }
.mo__s .hl { background-size: 100% .42em; background-position: 0 94%; }
.mo.is-pending .mo__s { color: var(--ink-4); }
.mo.is-lost .mo__s { color: var(--ink-2); }
.mo__from { font-size: 14px; color: var(--ink-4); }
.mo__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 18px; align-items: start; margin-top: 8px; max-width: 1080px; }
.mo__stack > .cd:not(.cd--line) { max-width: 560px; }
.mo__stack { display: grid; gap: 14px; min-width: 0; align-content: start; }
.mo__stack > .cd + .cd:not(.cd--line) { position: relative; }
.mo__cards--list { grid-template-columns: minmax(0, 560px); }
.mo__cards--list > .mo__stack { gap: 0; }
.mo__cards--list > .mo__stack > .cd:first-child { margin-bottom: 12px; }
.today { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 40px; align-items: start; margin-top: 38px; }
.today > section { min-width: 0; }
.today .cd:not(.cd--line) { max-width: 600px; }
.st-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.st-h h2 { font-size: 24px; }
.st-h h2 small { margin-left: 6px; font: 650 15px var(--body); color: var(--ink-4); }
.st-h .more { margin-left: auto; font-size: 15px; }
.today__top { padding-top: 2px; }
.lines { border-top: 1px solid var(--line); }
.lines:has(> .quiet-empty) { border-top: 0; }
.home3 .sys a { color: var(--teal); font-weight: 650; }
@media (max-width: 1100px) { .today { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .askbar { height: 58px; padding: 0 8px 0 16px; gap: 8px; grid-template-columns: auto minmax(0, 1fr) auto; }
  .askbar__mic { display: none; }
  .askbar input { font-size: 17px; }
  .askbar .btn { height: 42px; padding: 0 16px; }
  .tries { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .tries button { flex: none; }
  .mo__s { font-size: 24px; }
  .mo__cards { grid-template-columns: minmax(0, 1fr); }
  /* a line in a list: its words get two lines each, so the name and what they said can be read */
  .home3 .cd--line { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
  .home3 .cd--line .cd__lt b, .home3 .cd--line .cd__lt small { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .home3 .cd--line > .btn.sm { height: 36px; padding: 0 12px; font-size: 14px; }
}

/* ---------- A person (views/person.js), people that open, and a sequence version to read ---------- */
.pp-head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 18px; }
.pp-face { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--peri-wash); color: var(--peri-ink); font: 760 24px var(--display); font-style: normal; margin-top: 6px; }
.pp-face .ic { width: 30px; height: 30px; }
/* a person's name and the line about them stay together: the buttons sit beside the name on a wide screen and under
   both on a narrower one (when the row wrapped, they used to come between the name and the line about them) */
.pp-head .ph { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 24px; align-items: center; }
.pp-head .ph__row { display: contents; }
.pp-head .ph__row h1 { grid-column: 1; min-width: 0; }
.pp-head .ph .lede { grid-column: 1; grid-row: 2; }
.pp-head .ph__act { grid-column: 2; grid-row: 1; margin-left: 0; }
@media (max-width: 1240px) {
  .pp-head .ph { grid-template-columns: minmax(0, 1fr); }
  .pp-head .ph__act { grid-column: 1; grid-row: 3; margin-top: 16px; }
}
.pp-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 48px; }
.pp-cos { margin-top: 14px; border-bottom: 1px solid var(--line); }
.pp-cos > .pp-co:first-child { border-top: 0; }
.pp .card:not(:last-child) > .pp-cos { border-bottom: 0; } /* (the next part's own line closes the list: never two lines a hair apart) */
/* a company (or a namesake) this person is at: the whole row is its name's link */
.pp-co { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr) auto minmax(max-content, .9fr) 20px; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); } /* (the line about the company gets the room: a long kind of business took three lines) */
@media (hover: hover) { .pp-co:hover { background: var(--mint-mist); box-shadow: -10px 0 0 var(--mint-mist), 10px 0 0 var(--mint-mist); } }
.pp-co__a { color: var(--ink); font-size: 17px; }
.pp-co__a::after { content: ''; position: absolute; inset: 0; }
@media (hover: hover) { .pp-co__a:hover { text-decoration: none; } }
.pp-co__m { color: var(--ink-3); font-size: 15px; }
.pp-co__s { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pp-co__s a { position: relative; z-index: 1; }
.pp-co__l { text-align: right; white-space: nowrap; } /* (the last call or message and its date: one line, and its column is never narrower than it) */
.pp-co > .chev { width: 20px; height: 20px; color: var(--ink-4); transition: transform .2s var(--ease), color .2s var(--ease); }
@media (hover: hover) { .pp-co:hover > .chev { transform: translateX(3px); color: var(--ink); } }
a.person { color: var(--ink); }
a.person > div { flex: 1; min-width: 0; }
@media (hover: hover) { a.person:hover { background: var(--mint-mist); box-shadow: -10px 0 0 var(--mint-mist), 10px 0 0 var(--mint-mist); text-decoration: none; } }
a.person > .chev { width: 18px; height: 18px; color: var(--ink-4); transition: transform .2s var(--ease), color .2s var(--ease); }
@media (hover: hover) { a.person:hover > .chev { transform: translateX(3px); color: var(--ink); } }
.vw { padding: 4px 0 18px 60px; }
.vw__s { display: grid; grid-template-columns: 64px 46px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px 0; border-top: 1px dashed var(--line); }
.vw__s:first-child { border-top: 0; }
.vw__s.off { opacity: .55; }
.vw__s .day { font: 700 14px var(--body); color: var(--ink-4); padding-top: 12px; }
.vw__s b { font-size: 17px; font-weight: 700; }
.vw__subj { margin-top: 4px; font-size: 15px; color: var(--ink-2); font-weight: 650; }
.vw__s pre { white-space: pre-wrap; font: 15px/1.6 var(--body); color: var(--ink-2); background: var(--paper); padding: 14px 16px; border-radius: 14px; margin: 8px 0 0; }
/* beside the rail, half the page is too narrow for an email address (it broke before its last letter): how to reach
   them, then where we know them from, one under the other */
@media (max-width: 1100px) { .pp-grid { grid-template-columns: 1fr; } }
@media (max-width: 1400px) {
  /* beside the rail, a company's row has no room for five columns: it reads top to bottom, as it does on a tablet */
  .pp-co { grid-template-columns: minmax(0, 1fr) 20px; gap: 6px 12px; }
  .pp-co > :not(.chev) { grid-column: 1; }
  .pp-co > .chev { grid-column: 2; grid-row: 1; }
  .pp-co__l { text-align: left; }
}
@media (max-width: 960px) {
  .pp-head { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .pp-face { width: 56px; height: 56px; font-size: 20px; }
  .pp-grid { grid-template-columns: 1fr; }
  .pp-co { grid-template-columns: minmax(0, 1fr) 20px; gap: 6px 12px; }
  .pp-co > :not(.chev) { grid-column: 1; }
  .pp-co > .chev { grid-column: 2; grid-row: 1; }
  .pp-co__l { text-align: left; }
  .vw { padding-left: 0; }
  .vw__s { grid-template-columns: 46px minmax(0, 1fr); }
  .vw__s .day { grid-column: 1 / -1; padding-top: 0; }
}

/* ---------- Reports: the list of reports, one a row (views/reports.js) ---------- */
.reps { border-bottom: 1px solid var(--line); }
.rep { display: grid; grid-template-columns: 52px minmax(0, 1.25fr) minmax(0, 1fr) 22px; gap: 20px; align-items: center; padding: 22px 6px; border-top: 1px solid var(--line); color: var(--ink-3); }
@media (hover: hover) { .rep:hover { background: var(--mint-mist); text-decoration: none; } }
.rep__i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--mint-wash); color: var(--teal-deep); }
.rep__i .ic { width: 24px; height: 24px; }
.rep__t b { display: block; font: 700 24px/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.rep__t > span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.5; max-width: 60ch; }
.rep__n { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
.rep__n b { margin-right: 4px; font: 760 20px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.rep .go { width: 20px; height: 20px; color: var(--ink-4); transition: transform .2s var(--ease), color .2s var(--ease); }
@media (hover: hover) { .rep:hover .go { transform: translateX(3px); color: var(--ink); } }
@media (max-width: 960px) {
  .rep { grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 14px; }
  .rep__i { width: 44px; height: 44px; }
  .rep__n { grid-column: 2 / -1; }
}

/* ---------- Reports: By source, What we made for them, Time to answer (views/bysource.js, made.js, answers.js) ---------- */

/* rows that open a company or a teammate's part of the log, shared by the three */
.md__l a, .ta__list a, .ta__who a { display: grid; grid-template-columns: minmax(0, 1fr) 18px; align-items: center; column-gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink); }
.md__l a b, .ta__list a b, .ta__who a b { display: block; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.md__l a span, .ta__list a span, .ta__who a span { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-3); }
.md__l a .go, .ta__list a .go, .ta__who a .go { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--ink-4); transition: transform .2s var(--ease), color .2s var(--ease); }
@media (hover: hover) { .md__l a:hover, .ta__list a:hover, .ta__who a:hover { background: var(--mint-mist); box-shadow: -10px 0 0 var(--mint-mist), 10px 0 0 var(--mint-mist); text-decoration: none; } }
@media (hover: hover) { .md__l a:hover .go, .ta__list a:hover .go, .ta__who a:hover .go { transform: translateX(3px); color: var(--ink); } }

/* By source: one row a source; the bar under a number is its share of that source's companies */
.bs__say { margin: 0 0 20px; max-width: 72ch; font-size: 17px; line-height: 1.5; color: var(--ink-3); }
.bs__say b { color: var(--ink); font-weight: 700; }
.bs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bs__head, .bs__row { display: grid; grid-template-columns: minmax(230px, 1.9fr) repeat(6, minmax(0, 1fr)); gap: 20px; align-items: start; }
.bs__head { padding: 14px 0 12px; font-size: 13px; font-weight: 700; color: var(--ink-4); }
.bs__row { padding: 20px 0; border-top: 1px solid var(--line); }
.bs__src { display: flex; align-items: center; gap: 14px; min-width: 0; color: var(--ink); }
@media (hover: hover) { a.bs__src:hover { text-decoration: none; } }
@media (hover: hover) { a.bs__src:hover b { text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 3px; } }
.bs__i, .md__i { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--mint-wash); color: var(--teal-deep); }
.bs__i .ic, .md__i .ic { width: 22px; height: 22px; }
.bs__src b { display: block; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.bs__src small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.bs__c { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 7px 8px; min-width: 0; padding-top: 3px; }
.bs__k { display: none; }
.bs__v { font: 760 24px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.bs__v b { font: inherit; }
a.bs__v { text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
@media (hover: hover) { a.bs__v:hover { text-decoration-color: var(--teal); } }
.bs__c em { font-style: normal; font-size: 13px; font-weight: 650; color: var(--teal); }
.bs__c.plain em { color: var(--ink-4); font-weight: 650; }
.bs__c.none .bs__v { color: var(--ink-4); }
.bs__bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--sand); overflow: hidden; }
.bs__bar i { display: block; height: 100%; border-radius: 3px; background: var(--mint); }
.bs__row.total { border-top: 2px solid var(--line-2); }
.bs__row.total .bs__i { background: var(--sand); color: var(--ink-3); }
.bs__note { margin-top: 14px; max-width: 92ch; }
.bs__more { margin-top: 24px; }

/* What we made for them: a field of squares, one a company, filled by how far its owner got; the key says each fill */
.md { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.md__h { display: flex; align-items: flex-start; gap: 16px; }
.md__h h2 { font-size: 24px; }
.md__h p { margin-top: 4px; max-width: 72ch; font-size: 16px; color: var(--ink-3); }
.md__b { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; margin-top: 22px; }
.md__f { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 4px; }
.msq { display: inline-block; flex: none; width: 14px; height: 14px; border-radius: 4px; }
.msq.kept { background: var(--ink); }
.msq.tried { background: var(--mint); }
.msq.opened { background: var(--mint-soft); }
.msq.sent { background: var(--sand-2); }
.msq.wait { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.md__k ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.md__k li { display: grid; grid-template-columns: 14px 46px minmax(0, 1fr); align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.md__k li b { font: 760 20px/1 var(--display); text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.md__k li.none, .md__k li.none b { color: var(--ink-4); }
.md__say { margin-top: 20px; max-width: 84ch; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.md__l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 20px; }
.md__l h3 { grid-column: 1 / -1; margin-bottom: 6px; font: 650 14px/1.4 var(--body); letter-spacing: 0; color: var(--ink-3); }
.md__then { display: flex; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.md__then .ic { flex: none; width: 22px; height: 22px; color: var(--teal); }
.md__then b { color: var(--ink); }

/* Time to answer: a line of time, a dot a conversation, stacked where they fall; the line marked Half is the middle one */
.ta { padding: 26px 0 8px; border-top: 1px solid var(--line); }
.ta__say { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin: 0; }
.ta__say b { font: 760 32px/1 var(--display); letter-spacing: -0.04em; color: var(--ink); }
.ta__say span { font-size: 16px; color: var(--ink-3); }
.ta__plot { position: relative; display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); align-items: end; height: 232px; margin-top: 34px; border-bottom: 2px solid var(--line-2); }
.ta__col { position: relative; z-index: 1; display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; padding-bottom: 6px; }
.ta__col small { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.ta__dot { display: block; flex: none; width: min(16px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--mint); box-shadow: inset 0 0 0 1.5px var(--teal); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.ta__dot.late { background: var(--amber-line); box-shadow: inset 0 0 0 1.5px var(--amber); }
@media (hover: hover) { a.ta__dot:hover { transform: scale(1.35); box-shadow: inset 0 0 0 2px var(--ink); } }
.ta__mid { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed var(--ink-4); }
.ta__mid em { position: absolute; top: -26px; left: 0; transform: translateX(-50%); padding: 0 6px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.ta__mid.first em { transform: none; padding-left: 0; }
.ta__mid.last em { transform: translateX(-100%); padding-right: 0; }
.ta__axis { position: relative; height: 30px; margin-top: 8px; font-size: 13px; font-weight: 650; color: var(--ink-3); }
.ta__axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.ta__axis span::before { content: ''; position: absolute; left: 50%; top: -12px; height: 8px; border-left: 2px solid var(--line-2); }
.ta__axis span:first-child { transform: none; }
.ta__axis span:first-child::before { left: 0; }
.ta__key { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 14px 0 0; font-size: 14px; color: var(--ink-3); }
.ta__key span { display: inline-flex; align-items: center; gap: 8px; }
.ta__key .ta__dot { width: 14px; }
.ta__bands { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin: 26px 0 0; padding: 0; }
.ta__bands li { padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.ta__bands b { display: block; margin-bottom: 4px; font: 760 32px/1 var(--display); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ta__bands li.none b { color: var(--ink-4); }
.ta__cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 30px; }
.ta__list, .ta__who { margin-top: 12px; }
.ta__list a:first-child, .ta__who a:first-child { border-top: 0; }

@media (max-width: 960px) {
  .bs__head { display: none; }
  .bs__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
  .bs__src { grid-column: 1 / -1; }
  .bs__k { display: block; grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--ink-4); }
  .md__b { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .md__l { grid-template-columns: minmax(0, 1fr); }
  .msq { width: 11px; height: 11px; border-radius: 3px; }
  .md__f { gap: 3px; }
  .ta__plot { height: 190px; }
  .ta__col { gap: 3px; }
  .ta__axis span:nth-child(even) { display: none; }
  .ta__mid em { font-size: 13px; }
  .ta__bands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
  .ta__cols { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* A page's name is 48 on a wide screen and 32 from a tablet down: both on the type scale, and the same on every page.
   (Last in the file, so it is not undone by a page's own 48 further up.) */
@media (max-width: 960px) { h1, .ph h1, .ph__row h1, .co-head h1, .hello h1, .hello2 h1, .who-page h1 { font-size: 32px; } }

/* Cards (Settings › Appearance, Dec 1). Flat stays the default: each section a hairline and space (Nov 18). Cards
   puts each section in its own box, for whoever finds it clearer that way where each thing lives (a teammate's note,
   Nov 30: "put the sections into cards … so it becomes clear where each information lives"). The page takes the
   warm paper and a section is a white box with a hairline: no shadow and no fill of colour, the same light look,
   bounded. Boxed: a page's sections (.card), its tables, and the lists that are a page's one section (Sequences,
   Reports, a day's lines in the Activity log, Conversations, Implementations, Home's parts). Every rule here is under
   :root[data-look='cards'] (ui/theme.js puts it on the page), so flat is untouched. A box inside a box stays flat, and
   so does a table inside a box (their rules come later and weigh more). Dark (dark.css, last): the page near-black, a
   box a shade lighter. */
:root[data-look='cards'] { --page: var(--paper); --look-card: var(--white); }
:root[data-look='cards'] .top { background: rgb(250 248 245 / .92); }
:root[data-look='cards'] .card,
:root[data-look='cards'] .tbl,
:root[data-look='cards'] .sqs,
:root[data-look='cards'] .reps,
:root[data-look='cards'] .cv-lead,
:root[data-look='cards'] .cv-list,
:root[data-look='cards'] .gant,
:root[data-look='cards'] .impl-list,
:root[data-look='cards'] .act-day ol,
:root[data-look='cards'] .today > section:not(.today__top) { background: var(--look-card); border: 1px solid var(--line); border-radius: var(--r); }
:root[data-look='cards'] .card { padding: 22px 26px 20px; }
:root[data-look='cards'] .cv-lead, :root[data-look='cards'] .today > section:not(.today__top) { padding: 22px 26px; }
:root[data-look='cards'] :is(.sqs, .reps, .cv-list, .gant, .impl-list, .act-day ol) { padding: 0 24px; }
:root[data-look='cards'] .sqs { padding-top: 16px; }
/* (inside a box, the box is the first line and the last) */
:root[data-look='cards'] :is(.reps, .cv-list, .impl-list, .act-day ol) > :first-child { border-top: 0; }
:root[data-look='cards'] .cv-list > :last-child, :root[data-look='cards'] .tbl tbody tr:last-child td { border-bottom: 0; }
:root[data-look='cards'] .tbl.dense thead th { background: var(--look-card); }
/* the person page's parts, one under another and side by side: room between the boxes */
:root[data-look='cards'] .pp > .card + :is(.card, .pp-grid) { margin-top: 20px; }
:root[data-look='cards'] .pp-grid { gap: 20px; }
/* a box inside a box, and a table inside one: flat, as everywhere in the flat look */
:root[data-look='cards'] .card .card { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 24px 0 4px; }
:root[data-look='cards'] .card .tbl { background: none; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; }
@media (max-width: 700px) {
  :root[data-look='cards'] .card, :root[data-look='cards'] .cv-lead, :root[data-look='cards'] .today > section:not(.today__top) { padding: 18px 18px 16px; border-radius: var(--r-sm); }
  :root[data-look='cards'] :is(.tbl, .sqs, .reps, .cv-list, .gant, .impl-list, .act-day ol) { border-radius: var(--r-sm); }
  :root[data-look='cards'] :is(.sqs, .reps, .cv-list, .gant, .impl-list, .act-day ol) { padding: 0 16px; }
  :root[data-look='cards'] .sqs { padding-top: 14px; }
}
