/* static/pages/docs.css */
/* Docs & SOPs (pages/docs.js): the toolbar's Folder pick, the links, the system docs under their folder's name; then
   a doc, read. The toolbar, card, fields and buttons are app.css's. */
[data-page="docs"] > h2:first-of-type, [data-page="docs"] .docs-form + h2 { margin-top: var(--sp-2); }
.docs-list { background: var(--raise); border-radius: var(--r-card); box-shadow: var(--card); overflow: hidden; }
.docs-row { display: flex; align-items: center; gap: var(--sp-3); min-height: var(--row-h); padding: 10px var(--sp-4); color: inherit; text-decoration: none; min-width: 0; }
.docs-row + .docs-row { border-top: 1px solid var(--line); }
a.docs-row { transition: background var(--t-fast); }
a.docs-row:hover { background: var(--hover); }
a.docs-row:hover b { text-decoration: underline; text-underline-offset: 3px; }
.docs-row > svg.i { width: 18px; height: 18px; color: var(--text3); flex: none; }
.docs-row > svg.i:last-child { width: 16px; height: 16px; color: var(--text3); }
.docs-row > span:nth-of-type(1) { flex: 1; min-width: 0; display: grid; }
.docs-row b { font-weight: 600; color: var(--head); }
.docs-row span a { color: inherit; text-decoration: none; } .docs-row span a:hover b { text-decoration: underline; }
.docs-row small { color: var(--text3); font-size: var(--fs-small); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }  /* a second line before the cut */
/* a folder's name over its docs: a quiet band that names the group and counts it */
.docs-group { display: flex; align-items: baseline; gap: var(--sp-2); margin: 0; padding: 14px var(--sp-4) 6px; font-size: var(--fs-caption); font-weight: 600; color: var(--text2); background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.docs-group:first-child { border-top: 0; }
.docs-group span { color: var(--text3); font-weight: 500; }
.docs-group + .docs-row { border-top: 0; }
.docs-by { display: flex; align-items: center; gap: var(--sp-2); flex: none; }
.docs-by time { font-size: var(--fs-caption); color: var(--text3); }
.docs-drop:hover { color: var(--bad-ink); }
.docs-none { margin: 0; padding: var(--sp-4); color: var(--text3); font-size: var(--fs-small); }
.docs-form { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, .8fr) auto; gap: var(--sp-3); align-items: start; margin-bottom: var(--sp-2); }
.docs-form-acts { display: flex; gap: var(--sp-2); padding-top: 25px; }
.docs-read { max-width: 860px; padding: var(--sp-2) var(--sp-6) var(--sp-5); background: var(--raise); border-radius: var(--r-card); box-shadow: var(--card); overflow-wrap: anywhere; }
.docs-read h4 { margin: 22px 0 8px; font-size: 16px; color: var(--head); }
/* no link yet: one quiet line under the system docs */
.docs-hint { display: flex; align-items: center; gap: var(--sp-2); margin: var(--sp-4) 0 0; color: var(--text3); font-size: var(--fs-small); }
.docs-hint svg.i { width: 16px; height: 16px; flex: none; } .docs-hint b { color: var(--text2); font-weight: 600; }
/* a doc, read: its contents beside it from 1100 px, sticky; above it, folded, on a narrower screen */
.docs-reader.has-toc { display: grid; gap: var(--sp-4); }
.docs-toc { background: var(--raise); border-radius: var(--r-card); box-shadow: var(--card); padding: 10px var(--sp-4); align-self: start; }
.docs-toc summary { cursor: pointer; font-weight: 600; color: var(--head); display: flex; gap: var(--sp-2); align-items: baseline; }
.docs-toc summary small { color: var(--text3); font-weight: 500; }
.docs-toc nav { display: grid; margin-top: var(--sp-2); max-height: calc(100vh - 160px); overflow-y: auto; }
.docs-toc a { padding: 4px 8px; border-radius: 6px; color: var(--text2); text-decoration: none; font-size: var(--fs-small); line-height: 1.35; }
.docs-toc a:hover { background: var(--hover); color: var(--head); }
.docs-toc a.docs-l3 { padding-left: 20px; color: var(--text3); }
.docs-read h4 { scroll-margin-top: 72px; }
.docs-read h4.docs-l1, .docs-read h4.docs-l2 { font-size: 18px; margin-top: 28px; }
@media (min-width: 1100px) {
  .docs-reader.has-toc { grid-template-columns: minmax(0, 860px) 240px; align-items: start; }
  .docs-reader.has-toc .docs-toc { order: 2; position: sticky; top: var(--sp-4); }
}
@media (max-width: 900px) { .docs-form { grid-template-columns: minmax(0, 1fr); } .docs-form-acts { padding-top: 0; } .docs-by time { display: none; } }
@media (max-width: 760px) { .docs-fsel { width: 100%; } }

/* static/pages/domains.css */
/* Domains (pages/domains.js): its folding group headings, its rows of four fixed columns (domain, site, detail, action)
   with Connect on a line of its own under its row, and the Buy a domain card. Tokens of app.css only. */
/* room at the end, so the Clutchy widget never stands over the last row's action */
[data-page="domains"] .dm { padding-bottom: var(--sp-8); }
[data-page="domains"] .dm-grp + .dm-grp { margin-top: var(--sp-5); }
[data-page="domains"] .dm-grp > h2 { margin: var(--sp-5) 0 var(--sp-2); font: inherit; }
/* the heading is the kit's .label (app_frame.css): its arrow, size and turn are the kit's; only its padding sits in the h2's margin */
[data-page="domains"] .dm-gh { padding: 0 var(--sp-1); background: none; border: 0; cursor: pointer; }
[data-page="domains"] .dm-list { container: dm / inline-size; }
/* the four columns keep their place from row to row: the action column is as wide as its widest pair of buttons */
[data-page="domains"] .dm-row { grid-template-columns: minmax(calc(var(--sp-8) * 6.5), 1.25fr) minmax(0, 1fr) minmax(0, 1.4fr) calc(var(--sp-8) * 5); gap: var(--sp-4); padding: var(--sp-2) var(--sp-4); min-height: var(--row-h); }
[data-page="domains"] .dm-name { display: grid; min-width: 0; }
[data-page="domains"] .dm-name b { font-weight: 600; font-size: var(--fs-body); color: var(--head); overflow-wrap: anywhere; }  /* a narrow column: the domain, its site and its detail wrap whole, never cut */
[data-page="domains"] .dm-name small, [data-page="domains"] .dm-acts small { color: var(--text3); font-size: var(--fs-caption); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-page="domains"] .dm-site { min-width: 0; font-size: var(--fs-small); color: var(--blue); overflow-wrap: anywhere; text-decoration: none; }
[data-page="domains"] .dm-site:hover { text-decoration: underline; }
[data-page="domains"] .dm-site.none { color: var(--text3); }
[data-page="domains"] .dm-det { min-width: 0; font-size: var(--fs-small); color: var(--text2); text-wrap: pretty; }
[data-page="domains"] .dm-acts { display: flex; align-items: center; justify-content: flex-end; gap: var(--sp-2); min-width: 0; }
/* an open Connect: a line under its row across the whole width, so no column of any row moves */
[data-page="domains"] .dm-conn { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--sp-2); padding-top: var(--sp-2); border-top: 1px dashed var(--line); }
[data-page="domains"] .dm-conn small { margin-right: auto; color: var(--text2); font-size: var(--fs-small); }
[data-page="domains"] .dm-conn select { width: calc(var(--sp-8) * 8); max-width: 100%; height: var(--ctl-h-sm); }
@container dm (max-width: 640px) {
  [data-page="domains"] .dm-row { grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-1) var(--sp-3); }
  [data-page="domains"] .dm-name { grid-column: 1; }
  [data-page="domains"] .dm-acts { grid-column: 2; grid-row: 1; }
  [data-page="domains"] .dm-site, [data-page="domains"] .dm-det { grid-column: 1 / -1; white-space: normal; }
  /* the site's link keeps its line and takes a finger's height in an unseen area */
  [data-page="domains"] a.dm-site { position: relative; justify-self: start; } [data-page="domains"] a.dm-site::after { content: ""; position: absolute; left: 0; top: 50%; width: max(100%, 40px); height: 40px; transform: translateY(-50%); }
  [data-page="domains"] .dm-conn select { flex: 1 1 100%; width: auto; }
}
[data-page="domains"] .dm-err { display: flex; align-items: center; gap: var(--sp-2); margin: var(--sp-3) 0 0; }
[data-page="domains"] .dm-err svg.i { flex: none; color: var(--warn-ink); }
/* the card's head: its title keeps one line; the sub line goes under it where both do not fit; the close at its end */
[data-page="domains"] .dm-buy .dm-bt { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--sp-3); }
[data-page="domains"] .dm-buy .dm-bt b { font-weight: inherit; white-space: nowrap; }
[data-page="domains"] .dm-buy .dm-bt small { margin: 0; }
[data-page="domains"] .dm-buy .dm-x { margin-left: auto; flex: none; }
[data-page="domains"] .dm-buy { margin-top: var(--sp-4); container: dmbuy / inline-size; }
[data-page="domains"] .dm-buyf { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
[data-page="domains"] .dm-buyf select { width: calc(var(--sp-8) * 7); max-width: 100%; height: var(--ctl-h); }
[data-page="domains"] .dm-buyf .find { flex: 1 1 calc(var(--sp-8) * 6); }
[data-page="domains"] .dm-buyf .find .input { width: 100%; height: var(--ctl-h); }
[data-page="domains"] .dm-found { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin: var(--sp-3) 0 0; font-size: var(--fs-small); color: var(--text2); }
[data-page="domains"] .dm-found .grow { flex: 1; }
[data-page="domains"] .dm-say { margin: var(--sp-3) 0 0; font-size: var(--fs-small); color: var(--text3); }
@container dmbuy (max-width: 520px) { [data-page="domains"] .dm-buyf select { flex: 1 1 100%; width: auto; } }

/* static/pages/faceedit.css */
/* The photo editor (pages/faceedit.js): Report a problem's dialog box (feedback.css, .fb-scrim, .fb-box), wider, with
   the stage at the left and its controls beside it; on a phone a bottom sheet with the stage on top */
.fb-box.fe-box { width: min(620px, 100%); }
.fe-main { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--sp-5); align-items: start; }
/* the stage is the saved square at the profile card's corner (18 of 72 px); the veil outside the circle shows what
   the 26 px disc of most pages leaves out */
.fe-stage { position: relative; width: 280px; aspect-ratio: 1; border-radius: 25%; overflow: hidden; background: var(--chip); box-shadow: inset 0 0 0 1px var(--line); }
.fe-canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; border-radius: inherit; }
.fe-canvas:active { cursor: grabbing; }
.fe-canvas:focus-visible { outline: none; box-shadow: var(--ring); }
.fe-disc { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 200px rgb(10 12 16 / .38), inset 0 0 0 1.5px rgb(255 255 255 / .85); }
.fe-side { display: flex; flex-direction: column; gap: var(--sp-4); min-width: 0; padding-top: 2px; }
.fe-how { margin: 0; color: var(--text2); font-size: var(--fs-small); line-height: 1.5; }
.fe-zoom { display: flex; align-items: center; gap: 6px; }
.fe-zoom input { flex: 1; min-width: 0; accent-color: var(--head); cursor: pointer; }
.fe-zoom .icon:disabled { opacity: .4; }
.fe-pct { width: 4.2ch; text-align: right; color: var(--text3); font-size: var(--fs-caption); font-variant-numeric: tabular-nums; }
.fe-sizes { display: flex; align-items: center; gap: 12px; }
.fe-sizes small { color: var(--text3); font-size: var(--fs-caption); }
.fe-sm { width: 26px; height: 26px; border-radius: 50%; }
.fe-md { width: 52px; height: 52px; border-radius: 14px; }
.fe-reset { align-self: flex-start; }
.fe-pick { margin-left: auto; }
@media (max-width: 760px) {
  .fe-main { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .fe-stage { width: min(280px, 100%); }
  .fe-side { width: 100%; }
  .fe-pick { margin-left: 0; }
}

/* static/pages/feedback.css */
/* Report a problem (pages/feedback.js): its row at the sidebar's foot, its dialog, and a task's files in the task's drawer */
.fb-row { flex: none; display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 14px 9px 20px; border-top: 1px solid var(--line); color: var(--text3); font-weight: 500; text-align: left; }
.fb-row:hover { background: var(--raise); color: var(--text); }
.fb-row + .tour-row { border-top: 0; }

.fb-scrim { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(3, 7, 20, .6); }
.fb-box { width: min(560px, 100%); max-height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5) var(--sp-6) var(--sp-5); background: var(--raise); border: 1px solid var(--line2); border-radius: var(--r-card); box-shadow: var(--shadow); }
.fb-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.fb-head h2 { margin: 0; font: 800 20px/1.2 var(--title); color: var(--head); }
/* opened on an Updates card (Needs a change): the card's place, week and changes */
.fb-on ul { margin: 6px 0 0; padding: 0 0 0 18px; display: grid; gap: 2px; color: var(--text2); font-size: var(--fs-small); line-height: 1.45; }
.fb-on .fb-more { list-style: none; margin-left: -18px; color: var(--text3); }
.fb-seg { align-self: flex-start; }
.fb-seg button { height: var(--ctl-h-sm); padding: 0 14px; font-size: var(--fs-small); }
.fb-seg button[aria-checked="true"] { background: var(--raise); color: var(--head); font-weight: 600; box-shadow: var(--lift); }
.fb-label { font-weight: 600; color: var(--head); margin-bottom: -6px; }
.fb-box textarea.input { height: auto; min-height: 112px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.fb-box textarea.input[aria-invalid="true"]:focus-visible { box-shadow: var(--ring-bad); }
.fb-zone { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px dashed var(--line2); border-radius: 10px; color: var(--text2); cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast); }
.fb-zone:hover, .fb-zone.over { background: var(--hover); border-color: var(--faint); }
.fb-zone:focus-within { border-color: var(--blue); box-shadow: var(--ring); }
.fb-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fb-zone svg.i { width: 22px; height: 22px; flex: none; color: var(--text3); }
.fb-zone span, .fb-name { display: flex; flex-direction: column; min-width: 0; }
.fb-zone small, .fb-name small { color: var(--text3); font-size: 12px; }
.fb-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fb-file { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 6px 6px 10px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--panel); }
.fb-file:has(.fb-err) { border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.fb-kind svg.i { width: 18px; height: 18px; color: var(--text3); display: block; }
.fb-name { flex: 1; }
.fb-name b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-file progress { width: 96px; height: 6px; accent-color: var(--head); }
.fb-err { color: var(--bad-ink); font-size: 12px; font-weight: 600; }
.fb-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--ok-ink); font-size: 12px; font-weight: 600; } .fb-ok svg.i { width: 14px; height: 14px; }
.fb-auto { margin: 0; color: var(--text3); font-size: 12px; }
.fb-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.fb-done { display: flex; gap: 10px; margin: 0; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-ctl); background: var(--ok-bg); color: var(--text); } .fb-done > svg.i { flex: none; width: 20px; height: 20px; color: var(--ok-ink); }
@media (max-width: 760px) {
  .fb-scrim { padding: 0; align-items: end; }
  .fb-box { width: 100%; max-height: 92%; border-radius: 16px 16px 0 0; border-width: 1px 0 0; }
  .fb-acts .btn { flex: 1; justify-content: center; height: 40px; }
}

/* a task's files, under its name in the task's drawer (pages/tasks.js): an image small, a video that plays, each downloads */
.tasks-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.tasks-files li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tasks-files .tasks-shot { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--chip); }
.tasks-files img, .tasks-files video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--chip); }
.tasks-files video { aspect-ratio: 4 / 3; border-radius: 10px; object-fit: contain; background: #000; }
.tasks-files a.tasks-get { display: flex; align-items: center; gap: 4px; color: var(--text2); font-size: 12px; text-decoration: none; min-width: 0; }
.tasks-files a.tasks-get span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tasks-files a.tasks-get:hover { color: var(--text); } .tasks-files a.tasks-get svg.i { flex: none; width: 13px; height: 13px; }

/* static/pages/gbpcreate.css */
/* Create Google profile's dialog (pages/gbpcreate.js), inside the Action sheet's box (roster.css .fbox, .fhd, .fmeta)
   and with the in-house form's fields (ownforms.css .of-f, .of-opt): only what differs is here. */
.ro .fbox.gc-box { height: min(820px, calc(100% - 40px)); max-height: none; grid-template-rows: auto auto minmax(0, 1fr); }
.gc-body { overflow: auto; overscroll-behavior: contain; min-height: 0; padding: 14px 22px 24px; }
.gc-body > .sk-box { margin-top: 12px; }
.gc-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.gc-st { border-top: 1px solid var(--line); } .gc-st:first-child { border-top: 0; }
.gc-h { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 0; text-align: left; }
button.gc-h { border-radius: 8px; transition: background var(--t-fast); } button.gc-h:hover { background: var(--hover); }
button.gc-h > svg.i { margin-left: auto; color: var(--text3); transition: transform var(--t-fast); } button.gc-h[aria-expanded="true"] > svg.i { transform: rotate(180deg); }
.gc-n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line2); color: var(--text3); font: 800 12.5px/1 var(--title); }
.gc-n svg.i { width: 14px; height: 14px; }
.gc-st.now .gc-n { border-color: var(--head); background: var(--head); color: var(--raise); }
.gc-st.done .gc-n { border-color: transparent; background: var(--ok-bg); color: var(--ok-ink); }
.gc-t { display: grid; gap: 2px; min-width: 0; } .gc-t b { font-weight: 600; font-size: 14px; color: var(--text); }
.gc-t small { color: var(--text3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-st:not(.now):not(.done) .gc-t b { color: var(--text3); font-weight: 500; }
.gc-do { display: grid; gap: 14px; justify-items: start; padding: 2px 0 18px 38px; }
.gc-do > * { max-width: 100%; }
.gc-grid { width: 100%; padding: 0; }
.gc-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--text2); font-size: 13px; line-height: 1.5; max-width: 62ch; }
.gc-note svg.i { flex: none; width: 15px; height: 15px; margin-top: 2px; }
.gc-note.ok svg.i, .gc-ok svg.i { color: var(--ok); } .gc-note.warn { color: var(--text); } .gc-note.warn svg.i { color: var(--warn-ink); }
.gc-ok { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 13px; color: var(--text2); }
.gc-tick { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--text2); cursor: pointer; max-width: 62ch; }
.gc-tick input { flex: none; margin: 2px 0 0; }
.gc-tick b { color: var(--text); font-weight: 600; }
.gc-run { display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 8px; background: var(--wait-bg); color: var(--wait-ink); font-size: 13px; font-weight: 600; }
.gc-run svg.i { width: 15px; height: 15px; }
.gc-bad { margin: 0; align-items: flex-start; line-height: 1.45; } .gc-bad svg.i { margin-top: 2px; } .gc-bad b { color: inherit; }
.gc-do .farow { width: 100%; } .gc-do .farow .input { flex: 1; width: auto; min-width: 180px; }
.gc-code .input { flex: 0 1 180px; min-width: 120px; font: 600 16px/1 var(--mono, ui-monospace, monospace); letter-spacing: .12em; }
.gc-ways { display: grid; width: 100%; } .gc-ways .of-opt { justify-content: flex-start; } .gc-ways .of-opt span { overflow-wrap: anywhere; }
.gc-hit { display: flex; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 10px; background: var(--warn-bg); }
.gc-hit > svg.i { flex: none; width: 18px; height: 18px; color: var(--warn-ink); margin-top: 1px; }
.gc-hit b { display: block; font-weight: 600; } .gc-hit small { color: var(--text2); font-size: 12.5px; }
.gc-hit p { margin: 6px 0 0; font-size: 13px; color: var(--text); line-height: 1.45; } .gc-hit a { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; }
.gc-near { width: 100%; display: grid; gap: 8px; font-size: 13px; } .gc-near p { margin: 0; color: var(--text2); }
.gc-near ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; }
.gc-near li { display: grid; padding: 8px 12px; border-top: 1px solid var(--line); } .gc-near li:first-child { border-top: 0; } .gc-near li small { color: var(--text3); }
.gc-a { width: 100%; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.gc-a summary { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; font-weight: 600; list-style: none; }
.gc-a summary::-webkit-details-marker { display: none; } .gc-a summary > svg.i:last-child { margin-left: auto; color: var(--text3); }
.gc-a[open] summary > svg.i:last-child { transform: rotate(180deg); }
.gc-a ol { margin: 0; padding: 0 16px 12px 34px; display: grid; gap: 6px; color: var(--text2); line-height: 1.5; } .gc-a ol b { color: var(--text); font-weight: 600; }
.gc-fin { display: grid; gap: 14px; justify-items: start; padding: 16px 0 0; border-top: 1px solid var(--line); }
.gc-kv { width: 100%; } .gc-kv .kv .pill { margin-left: 6px; }
@media (max-width: 760px) {
  .gc-body { padding: 10px 16px 20px; } .gc-do { padding-left: 0; }
  .gc-do .primary { width: 100%; justify-content: center; } .gc-code .input { flex: 1 1 100%; }
  .ro .fbox.gc-box { height: 100%; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { button.gc-h, button.gc-h > svg.i { transition: none; } }

/* static/pages/inbox.css */
/* Inbox (Work): one card, its head row the tabs (Needs you's count red, Final QA's and Updates' quiet), Mark all as read and Archive
   read, then one row per task under Today and Earlier, and the keys at its foot. A row is a link to its task: its
   writer's picture with what the update did on its corner, the task's name over who did what, the client's chip and
   the time. An unread row has a blue dot and a bold name; a read one is quieter; the row of the task open beside the
   list takes the selection's tint. Its buttons (✓ and the archive box; Move to Inbox in Archived) show under the
   pointer (always on a touch screen). An approval's Approve and Reject always show. The rows follow the card's own
   width, so a list beside an open task folds as a phone's does */
/* its one column is the card's width, so a tab row wider than a phone scrolls inside itself, never widens the card */
.inbox-card { --pad-y: 0px; --pad-x: 0px; gap: 0; overflow: hidden; container: inbox / inline-size; grid-template-columns: minmax(0, 1fr); }
.inbox-tabs .n.quiet { background: var(--chip); color: var(--text2); box-shadow: inset 0 0 0 1px var(--line2); }
.inbox-item.open .inbox-open, .inbox-item.open:hover .inbox-open { background-color: var(--sel); }
.inbox-item.open::before, .inbox-item.open + .inbox-item::before { border-color: transparent; }
.inbox-keys { margin: 0; padding: var(--sp-2) var(--sp-5) var(--sp-3); border-top: 1px solid var(--line); font-size: var(--fs-caption); color: var(--text3); }
.inbox-keys kbd { display: inline-block; min-width: 18px; margin-right: 3px; padding: 0 4px; border: 1px solid var(--line2); border-radius: 5px; background: var(--raise); font-size: 11px; line-height: 17px; text-align: center; color: var(--text2); }
@media (hover: none) { .inbox-keys { display: none; } }
/* the open task's drawer (pages/tasks.js) docked beside the list while the room holds both (inboxDock): no scrim,
   the list stays live, and the list's scroll stops at the drawer's edge */
#tasks-over.docked { background: none; pointer-events: none; }
#tasks-over.docked .ro-drawer { width: var(--dock); pointer-events: auto; box-shadow: none; border-left: 1px solid var(--line2); }
body:has(#tasks-over.docked) #view > .scroll { margin-right: var(--dock); }
.inbox-bar { display: flex; align-items: center; gap: var(--sp-2); padding: 0 var(--sp-3) 0 var(--sp-2); border-bottom: 1px solid var(--line); }
.inbox-bar .inbox-tabs { flex: 1; min-width: 0; border-bottom: 0; }
.inbox-tabs > [role="tab"] { height: 46px; }
.inbox-tabs .n { min-width: 18px; }
.inbox-bar > .btn { flex: none; }
.inbox-feed { padding-bottom: var(--sp-2); }
/* a day's heading is a list's group heading (app_frame.css .label); its h2 keeps .label's type over .page h2's */
.inbox-feed .inbox-day { margin: 0; padding: var(--sp-4) var(--sp-5) var(--sp-1); font: 700 var(--fs-caption)/1.3 var(--sans); letter-spacing: .09em; color: var(--text3); }
.inbox-item { position: relative; display: flex; align-items: center; margin: 0 var(--sp-2); border-radius: 10px; }
.inbox-item + .inbox-item::before { content: ""; position: absolute; left: 56px; right: var(--sp-3); top: 0; border-top: 1px solid var(--line); }
.inbox-item:hover::before, .inbox-item:hover + .inbox-item::before { border-color: transparent; }
.inbox-open { flex: 1; min-width: 0; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 40px; gap: var(--sp-3); align-items: center;
  padding: 11px var(--sp-3); border-radius: inherit; color: var(--text2); text-decoration: none; transition: background-color var(--t-fast) var(--ease); }
.inbox-item:hover .inbox-open { background-color: var(--hover); }
.inbox-open:focus-visible { outline-offset: -2px; }
/* the writer's picture, and what the update did as a small mark on its corner */
.inbox-who { position: relative; width: 34px; height: 34px; }
.inbox-item .tasks-av { width: 34px; height: 34px; font-size: 11px; }
.inbox-bot { background: var(--chip); border: 1px solid var(--line2); color: var(--text2); }
.inbox-item .inbox-auto { display: grid; place-items: center; border-radius: 10px; }  /* an automation: a square tile, never a person's round face */
.inbox-auto svg.i { width: 16px; height: 16px; }
.inbox-act { position: absolute; right: -4px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--raise); color: var(--text2); box-shadow: 0 0 0 2px var(--raise), 0 1px 2px rgb(0 0 0 / .18); }
.inbox-act svg.i { width: 11px; height: 11px; stroke-width: 2.4; }
.inbox-act.ok { color: var(--ok-ink); }
.inbox-act.bad { color: var(--bad-ink); }
/* the task's name over who did what */
.inbox-main { min-width: 0; display: grid; gap: 2px; }
.inbox-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-title { overflow-wrap: anywhere; }  /* the title whole, on a second line where it needs one */
.inbox-title { position: relative; font-size: var(--fs-body); font-weight: 500; color: var(--text2); }
.inbox-line { font-size: var(--fs-small); color: var(--text3); }
.inbox-line b { font-weight: 600; color: var(--text2); }
.inbox-more { color: var(--text3); }
.inbox-item.unread .inbox-title { font-weight: 650; color: var(--head); }
.inbox-item.unread .inbox-title::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--blue); vertical-align: middle; }
/* the client and the time */
.inbox-client { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 9px; border-radius: 999px;
  background: var(--chip); border: 1px solid var(--line); font-size: var(--fs-caption); font-weight: 500; color: var(--text2); }
.inbox-item time { justify-self: end; font-size: var(--fs-caption); font-variant-numeric: tabular-nums; color: var(--text3); white-space: nowrap; }
.inbox-item.unread time { color: var(--text2); }
/* the row's buttons take the time's place under the pointer and on the keyboard; on a touch screen they stand after
   the row, so its time stays */
.inbox-acts { position: absolute; right: var(--sp-2); display: flex; gap: 2px; padding-left: 6px; background: var(--hover); border-radius: 8px;
  opacity: 0; transition: opacity var(--t-fast) var(--ease); }
.inbox-acts .btn { color: var(--text3); }
.inbox-acts .btn:hover { color: var(--head); }
.inbox-item:hover .inbox-acts, .inbox-item:has(:focus-visible) .inbox-acts { opacity: 1; }
.inbox-item:hover time, .inbox-item:has(:focus-visible) time { opacity: 0; }
@media (hover: none) {
  .inbox-acts { position: static; opacity: 1; background: none; padding-left: 0; }
  .inbox-item:focus-within time { opacity: 1; }
}
/* a wait on the person's go: Approve and Reject stand on the row, always shown, in the time's place; Reject opens one
   line under the row asking what should change. A decided one reads as any other row */
.inbox-item.approval { flex-wrap: wrap; }
.inbox-decide { flex: none; display: flex; gap: var(--sp-2); padding-right: var(--sp-3); }
.inbox-decide .btn svg.i { width: 14px; height: 14px; }
.inbox-act.wait { color: var(--wait-ink); }
.inbox-item.approval:focus-within time { opacity: 1; }
.inbox-reason { flex-basis: 100%; display: flex; align-items: center; gap: var(--sp-2); padding: 0 var(--sp-3) 11px calc(var(--sp-3) * 2 + 36px); }
.inbox-reason input { flex: 1; min-width: 0; }
/* an empty tab: the picture small and unframed, inside the card */
.inbox-none .empty.drawn { padding: var(--sp-8) var(--sp-5); }
.inbox-none .empty-art { width: 150px; background: none; }
/* a narrow card (a phone, or the list beside an open task): the tabs fit its width with tighter sides; Mark all as
   read and Archive read go under them; the client joins the second line */
@container inbox (max-width: 640px) {
  .inbox-bar { flex-wrap: wrap; padding: 0 var(--sp-2) var(--sp-2); }
  .inbox-bar .inbox-tabs { flex-basis: 100%; gap: 0; }
  .inbox-tabs > [role="tab"] { padding: 0 6px; gap: 4px; }
  .inbox-bar > [data-inbox-all] { margin-left: auto; }
  .inbox-feed .inbox-day { padding-inline: var(--sp-4); }
  .inbox-item { margin: 0 var(--sp-1); }
  .inbox-item + .inbox-item::before { left: 52px; }
  .inbox-open { grid-template-columns: 34px minmax(0, 1fr) 36px; grid-template-rows: auto auto; row-gap: 4px; padding: 10px var(--sp-2); }
  .inbox-who { grid-row: 1 / 3; align-self: start; }
  .inbox-noclient { display: none; }
  .inbox-client { grid-column: 2; grid-row: 2; justify-self: start; max-width: 100%; }
  .inbox-item time { grid-column: 3; grid-row: 1; }
  .inbox-decide { flex-basis: 100%; padding: 0 var(--sp-2) 10px 52px; }
  .inbox-reason { flex-wrap: wrap; padding: 0 var(--sp-2) 10px 52px; }
  .inbox-reason input { flex-basis: 100%; }
}
/* a phone's card: the four tabs and their counts fit its width in a smaller size */
@container inbox (max-width: 400px) { .inbox-tabs > [role="tab"] { font-size: var(--fs-small); } }

/* static/pages/integrations.css */
/* Integrations (pages/integrations.js): the groups Not connected, State not read, then Connected folded to one line,
   of app.css's cards, three to a row; a card's head is its monogram, name and state pill; the open card takes a row */
.page h2.integrations-label { display: flex; align-items: baseline; gap: var(--sp-2); margin: var(--sp-8) 0 var(--sp-1); font: 700 var(--fs-card)/1.3 var(--title); color: var(--head); }
.page h2.integrations-label:first-of-type { margin-top: 0; }
.integrations-label small { font: 600 var(--fs-caption) var(--sans); color: var(--text3); }
.integrations-line { margin: 0 0 var(--sp-3); color: var(--text3); font-size: var(--fs-small); }
.integrations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--sp-4); }
.integrations-card { --pad-y: var(--sp-4); --pad-x: var(--sp-4); gap: var(--sp-3); min-width: 0; grid-template-rows: 1fr auto; }
.integrations-wide { grid-column: 1 / -1; grid-template-rows: auto; }
.integrations-top { display: flex; align-items: flex-start; gap: var(--sp-3); min-width: 0; }
.integrations-top > div { flex: 1; min-width: 0; }
.integrations-top b { display: block; font: 700 var(--fs-card)/1.3 var(--title); color: var(--head); }
.integrations-top p { margin: 2px 0 0; color: var(--text2); font-size: var(--fs-small); }
.integrations-top .pill { flex: none; }
.integrations-ic { width: 36px; height: 36px; border-radius: var(--r-ctl); display: grid; place-items: center; flex: none; background: var(--chip); color: var(--text2); font-size: var(--fs-caption); font-weight: 700; }
.integrations-state { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.integrations-state:empty { display: none; }
.integrations-state > [data-integrations-open]:last-child { margin-left: auto; }
.integrations-state svg.i { width: 14px; height: 14px; }
.integrations-state button svg.i:last-child { width: 13px; height: 13px; transform: rotate(90deg); transition: transform var(--t-fast); }
.integrations-state button[aria-expanded="true"] svg.i:last-child { transform: rotate(-90deg); }
/* an open card: its state bar and divider run its whole width; the reading and the fields keep a line's measure */
.integrations-open { display: grid; gap: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.integrations-open > * { max-width: 680px; }
.integrations-open p { margin: 0; color: var(--text2); } .integrations-open p b { font-weight: 600; color: var(--text); }
/* Connected, folded to one line that opens on a click: its chevron turns as it opens */
.integrations-fold { margin-top: var(--sp-8); }
.integrations-fold > summary { list-style: none; cursor: pointer; border-radius: var(--r-ctl); padding: var(--sp-1) 0; }
.integrations-fold > summary::-webkit-details-marker { display: none; }
.integrations-fold > summary .integrations-label { margin: 0 0 var(--sp-1); align-items: center; }
.integrations-fold > summary .integrations-label svg.i { width: 16px; height: 16px; color: var(--text3); transform: rotate(90deg); transition: transform var(--t-fast); }
.integrations-fold[open] > summary .integrations-label svg.i { transform: rotate(-90deg); }
.integrations-fold > summary .integrations-line { display: block; }
.integrations-fold > summary:hover .integrations-label { color: var(--blue); }
.integrations-fold[open] > .integrations-grid { margin-top: var(--sp-3); }
.integrations-key { padding: var(--sp-1) 0; }
.integrations-key .field-l { display: flex; gap: var(--sp-2); align-items: baseline; }
.integrations-set { font-weight: 500; font-size: var(--fs-caption); color: var(--text3); }
.integrations-set.on { color: var(--ok-ink); }
.integrations-key > div { display: flex; gap: var(--sp-2); }
.integrations-key .input { flex: 1; font-family: var(--mono); }
.integrations-key .input::placeholder { font-family: var(--sans); }
/* the sign-in code card (Settings, Tech email code; Admin, Admin email code) and the set-up cards: the code large in
   the mono face, its seconds left and Copy beside it; under the card, the page's steps */
.integrations-code { --pad-y: var(--sp-4); --pad-x: var(--sp-4); gap: var(--sp-3); margin-bottom: var(--sp-6); max-width: 680px; }
.integrations-code .integrations-state > button { margin-left: auto; }
.integrations-code-digits { font: 700 28px/1 var(--mono); letter-spacing: .08em; color: var(--head); }
.integrations-code-left { color: var(--text3); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
[data-page="techcode"] h2, [data-page="admincode"] h2 { margin: 0 0 var(--sp-2); }
.integrations-steps { display: grid; gap: var(--sp-2); max-width: 680px; margin: 0 0 var(--sp-6); padding-left: var(--sp-5); color: var(--text2); line-height: 1.5; }
.integrations-steps b { color: var(--head); font-weight: 600; }

/* static/pages/leaderboard.css */
/* CSM Leaderboard (pages/leaderboard.js): the month's step, the hero and team tiles (sales.css's sa- classes), a ranked
   card per CSM with its commission, its four tiles and the bar toward the upsell goal, an owner's earlier sales. Only
   what differs from app.css's foundation; every size, colour and radius is a token of its :root. */
[data-page="leaderboard"] .lb-month { display: flex; align-items: center; gap: var(--sp-1); margin-left: auto; }
[data-page="leaderboard"] .lb-month b { min-width: 9.5em; text-align: center; font-size: var(--fs-body); color: var(--head); }
[data-page="leaderboard"] .lb-prev .i { transform: scaleX(-1); }
[data-page="leaderboard"] .lb-by-l { margin-right: var(--sp-2); color: var(--text3); font-size: var(--fs-small); }
[data-page="leaderboard"] .lb-grid { display: grid; gap: var(--sp-4); }
[data-page="leaderboard"] .lb-top { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
[data-page="leaderboard"] .sa { container-type: inline-size; }  /* the hero stacks its podium in sales.css's narrow room */
[data-page="leaderboard"] .lb-team { grid-template-columns: repeat(5, minmax(0, 1fr)); }
[data-page="leaderboard"] .lb-h { margin: var(--sp-5) 0 var(--sp-3); font: 800 var(--fs-card) var(--title); color: var(--head); }
[data-page="leaderboard"] .lb-h small { margin-left: var(--sp-2); font: 400 var(--fs-small) var(--sans); color: var(--text3); }
/* the place, a disc in the podium's medal for the top three */
[data-page="leaderboard"] .lb-rank { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line2); color: var(--text2); font: 800 var(--fs-card) var(--title); font-variant-numeric: tabular-nums; }
[data-page="leaderboard"] .lb-p1 { --medal: #f4c542; --medal-ink: #3d2c00; }
[data-page="leaderboard"] .lb-p2 { --medal: #cfd6e5; --medal-ink: #26324f; }
[data-page="leaderboard"] .lb-p3 { --medal: #e0a878; --medal-ink: #3c1f06; }
[data-page="leaderboard"] :is(.lb-p1, .lb-p2, .lb-p3) .lb-rank { border-color: var(--medal); background: var(--medal); color: var(--medal-ink); }
[data-page="leaderboard"] .lb-top .av { width: 40px; height: 40px; flex: none; }
/* the month's commission, the card's largest figure, and its four parts under it */
[data-page="leaderboard"] .lb-total { margin-left: auto; display: grid; justify-items: end; flex: none; }
[data-page="leaderboard"] .lb-total b { font: 800 28px/1.1 var(--title); color: var(--head); font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] [data-page="leaderboard"] :is(.lb-p1, .lb-p2, .lb-p3) .lb-total b { color: var(--medal); }
[data-page="leaderboard"] .lb-total small { color: var(--text3); font-size: var(--fs-small); }
[data-page="leaderboard"] .lb-pay { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-2); margin-bottom: var(--sp-3); }
[data-page="leaderboard"] .lb-part { display: grid; gap: 2px; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-ctl); background: var(--chip); }
[data-page="leaderboard"] .lb-part span { color: var(--text3); font-size: var(--fs-small); }
[data-page="leaderboard"] .lb-part b { font: 800 var(--fs-card) var(--title); color: var(--head); font-variant-numeric: tabular-nums; }
[data-page="leaderboard"] .lb-part small { color: var(--text2); font-size: var(--fs-small); }
[data-page="leaderboard"] .lb-id { display: grid; min-width: 0; }
[data-page="leaderboard"] .lb-id b { font: 800 var(--fs-card) var(--title); color: var(--head); }
[data-page="leaderboard"] .lb-id b small { font: 400 var(--fs-small) var(--sans); color: var(--text3); }
[data-page="leaderboard"] .lb-id > small { color: var(--text2); font-size: var(--fs-small); }
[data-page="leaderboard"] .lb-me { border-color: var(--blue); }
[data-page="leaderboard"] .lb-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* the bar toward the upsell goal: full at the goal (progress guide: custom fill, the track on the element) */
[data-page="leaderboard"] .lb-bar { appearance: none; border: 0 solid; overflow: clip; display: block; inline-size: 100%; block-size: 6px;
  margin: var(--sp-1) 0 var(--sp-2); border-radius: var(--r-pill); background: var(--line); --lb-fill: var(--wait); }
[data-page="leaderboard"] .lb-bar.met { --lb-fill: var(--ok); }
[data-page="leaderboard"] .lb-bar::-webkit-progress-bar { background: transparent; }
[data-page="leaderboard"] .lb-bar::-webkit-progress-value { background: var(--lb-fill); border-radius: var(--r-pill); }
[data-page="leaderboard"] .lb-bar::-moz-progress-bar { background: var(--lb-fill); border-radius: var(--r-pill); }
[data-page="leaderboard"] .lb-more { margin-top: var(--sp-3); font-size: var(--fs-small); color: var(--text2); }
[data-page="leaderboard"] .lb-more summary { cursor: pointer; color: var(--text2); }
[data-page="leaderboard"] .lb-who { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1); margin-top: var(--sp-2); }
[data-page="leaderboard"] .lb-who-l { margin-right: var(--sp-1); color: var(--text3); }
[data-page="leaderboard"] .lb-earlier { margin-top: var(--sp-4); }
[data-page="leaderboard"] .lb-earlier summary { cursor: pointer; } [data-page="leaderboard"] .lb-earlier summary small { color: var(--text3); }
[data-page="leaderboard"] .lb-et { margin: var(--sp-3) 0; }
[data-page="leaderboard"] .lb-add { display: flex; flex-wrap: wrap; align-items: end; gap: var(--sp-2); margin-top: var(--sp-3); }
[data-page="leaderboard"] .lb-add label { display: grid; gap: 4px; color: var(--text2); font-size: var(--fs-small); }
[data-page="leaderboard"] .lb-add .input { width: auto; min-width: 9em; }
[data-page="leaderboard"] .lb-foot { margin: var(--sp-4) 0 0; color: var(--text3); font-size: var(--fs-small); }
@media (max-width: 1100px) { [data-page="leaderboard"] :is(.lb-tiles, .lb-pay) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-page="leaderboard"] .lb-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  [data-page="leaderboard"] .lb-tiles { grid-template-columns: 1fr; }
  [data-page="leaderboard"] .lb-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-page="leaderboard"] .lb-total { margin-left: 0; width: 100%; justify-items: start; }
  [data-page="leaderboard"] .lb-top { flex-wrap: wrap; }
  [data-page="leaderboard"] .lb-month { margin-left: 0; width: 100%; justify-content: space-between; }
  [data-page="leaderboard"] .lb-month .btn.sq { width: 44px; height: 44px; }
}

/* static/pages/leadscore.css */
/* Lead scoring (pages/leadscore.js): only what differs from app.css's foundation */
[data-page="leadscore"] h2 small, [data-page="leadscore"] h3 small { color: var(--text3); font-size: var(--fs-small); font-weight: 400; margin-left: 6px; }
[data-page="leadscore"] h3 { font-size: var(--fs-body); margin: var(--sp-5) 0 var(--sp-2); }
[data-page="leadscore"] .ls-line, [data-page="leadscore"] .ls-age { margin: var(--sp-2) 0 0; color: var(--text3); font-size: var(--fs-small); }
[data-page="leadscore"] .ls-line .pill { margin-right: 6px; }
[data-page="leadscore"] .ls-sum ul { margin: 0; padding-left: 18px; line-height: 1.6; max-width: 80ch; }
[data-page="leadscore"] th small { display: block; color: var(--text3); font-size: var(--fs-caption); font-weight: 500; }
[data-page="leadscore"] td small { display: block; color: var(--text3); font-size: var(--fs-caption); }
[data-page="leadscore"] .ls-dim, [data-page="leadscore"] .ls-few { color: var(--text3); font-size: var(--fs-small); }

/* A feature's head row: a fold button over the whole row */
[data-page="leadscore"] .ls-fh td { background: var(--panel); padding: 0; }
[data-page="leadscore"] .ls-fh button { display: flex; align-items: center; gap: var(--sp-2); width: 100%; min-height: var(--row-h); padding: 0 var(--sp-3); border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; flex-wrap: wrap; }
[data-page="leadscore"] .ls-fh button[aria-expanded="true"] .i { rotate: 90deg; }
[data-page="leadscore"] .ls-fh small { color: var(--text3); font-size: var(--fs-small); margin-left: auto; }

/* A rate: its bar, the figure and its count */
[data-page="leadscore"] .ls-rate { display: inline-flex; align-items: center; gap: var(--sp-2); white-space: nowrap; }
[data-page="leadscore"] .ls-rate small { display: inline; }
[data-page="leadscore"] .ls-bar, [data-page="leadscore"] .ls-eff { width: 96px; height: 10px; flex: none; }
[data-page="leadscore"] .ls-t { fill: var(--line); }
[data-page="leadscore"] .ls-f { fill: var(--text3); }
[data-page="leadscore"] .ls-f.ok { fill: var(--ok); }
[data-page="leadscore"] .ls-f.bad { fill: var(--bad); }
[data-page="leadscore"] .ls-ci { stroke: var(--text); stroke-width: 1.5; }
[data-page="leadscore"] .ls-avg { stroke: var(--text); stroke-width: 2; }

/* A score 1 to 5: 4 and 5 good, 1 and 2 bad */
[data-page="leadscore"] .ls-sc { display: inline-grid; place-items: center; width: 24px; height: 22px; border-radius: var(--r-sm); font-weight: 600; font-size: var(--fs-small); background: var(--chip); color: var(--text2); }
[data-page="leadscore"] .ls-sc[data-s="4"], [data-page="leadscore"] .ls-sc[data-s="5"] { background: color-mix(in srgb, var(--ok) var(--chip-mix, 16%), transparent); color: var(--ok-ink); }
[data-page="leadscore"] .ls-sc[data-s="1"], [data-page="leadscore"] .ls-sc[data-s="2"] { background: color-mix(in srgb, var(--bad) var(--chip-mix, 16%), transparent); color: var(--bad-ink); }

[data-page="leadscore"] .ls-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--sp-4); }
[data-page="leadscore"] .ls-name { border: 0; background: none; padding: 0; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
[data-page="leadscore"] .ls-marks .tag + .tag { margin-left: 4px; }
[data-page="leadscore"] .ls-band { width: auto; }  /* its height is the toolbar's one size (app_pages.css) */
[data-page="leadscore"] #ls-leads th { white-space: normal; }  /* "Show score" breaks in two on a phone, so the table fits */

/* A lead's panel, under its row */
[data-page="leadscore"] .ls-open > td { height: auto; white-space: normal; background: var(--panel); }
[data-page="leadscore"] .ls-panel { display: grid; gap: var(--sp-3); padding: var(--sp-2) 0; }
[data-page="leadscore"] .ls-panel p { margin: 0; }
[data-page="leadscore"] .ls-why { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); max-width: 640px; }
[data-page="leadscore"] .ls-why li { display: grid; grid-template-columns: minmax(0, 1fr) 120px 48px; gap: var(--sp-3); align-items: center; }
[data-page="leadscore"] .ls-why li span small { display: inline; margin-left: 6px; }
[data-page="leadscore"] .ls-why .ls-eff { width: 120px; }
[data-page="leadscore"] .ls-why b { text-align: right; font-variant-numeric: tabular-nums; }
[data-page="leadscore"] .ls-up { color: var(--ok-ink); }
[data-page="leadscore"] .ls-down { color: var(--bad-ink); }
@media (max-width: 760px) {
  [data-page="leadscore"] .ls-bar { width: 56px; }
  [data-page="leadscore"] .ls-rate { display: inline-grid; grid-template-columns: auto auto; gap: 2px var(--sp-2); white-space: normal; }
  [data-page="leadscore"] .ls-rate small { grid-column: 1 / -1; display: block; }
  [data-page="leadscore"] .ls-why li { grid-template-columns: minmax(0, 1fr) 72px 44px; }
  [data-page="leadscore"] .ls-why .ls-eff { width: 72px; }
}
/* static/pages/marketing.css */
/* Marketing's period bar (both pages), its picker and Overview (pages/marketing.js). Its tiles, toolbar, buttons and
   fields are app.css's; its headings and connection line are sales.css's (sa-); the held line is gbp.css's .gline. */
.mk-line { margin: -4px 0 12px; color: var(--text2); font-size: var(--fs-small); font-weight: 600; font-variant-numeric: tabular-nums; }
.mk-held { margin: -8px 0 20px; }
/* How current the numbers are (mkFresh), beside each Refresh: a dot, the age, the read's Chicago time; amber when late */
.mk-fresh { display: inline-flex; align-items: center; gap: 6px; color: var(--text2); font-size: var(--fs-small); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-fresh .mk-fw { margin-right: -2px; }
.mk-fresh small { color: var(--text3); font-size: var(--fs-caption); font-weight: 500; }
.mk-fresh small::before { content: '·'; margin-right: 6px; }
.mk-fresh.late { color: var(--warn-ink); }
[data-mk-again][aria-busy="true"] { cursor: progress; }
.mk-held svg.i { width: 16px; height: 16px; color: var(--text3); }
.mk .tiles + .sa-h { margin-top: 32px; }
.mk-foot { margin: 16px 2px 0; max-width: 80ch; color: var(--text3); font-size: 12.5px; }
.mk-foot a { color: var(--blue); }
/* An ad's picture (mkThumb): a small square in a list, the kind's icon on a plain tile when none is stored. Its big
   size is laid out where it stands (addash.css, adsagent.css) */
.mk-thumb { display: block; width: 32px; height: 32px; flex: none; border-radius: var(--r-sm); object-fit: cover; background: var(--chip);
  outline: 1px solid color-mix(in srgb, var(--head) 8%, transparent); outline-offset: -1px; }
.mk-thumb.none { display: inline-grid; place-items: center; color: var(--text3); }
.mk-thumb.none svg.i { width: 16px; height: 16px; }
@media (max-width: 760px) {  /* a phone: the line wraps under the controls */
  .mk-bar .sa-grow { display: none; }
  .mk-line { flex-basis: 100%; }
  .mk-fresh .mk-fw, .mk-fresh small { display: none; }  /* the age alone, beside Refresh */
}

/* The period's picker (mkPickBtn, dpDraw), as Meta's Ads Manager has it: its button, then the picker, a layer fixed
   by the button as the filter menu is (app.css, .fm): the presets, two months, the first and last day, its foot */
.dp-btn { gap: 8px; font-weight: 500; font-variant-numeric: tabular-nums; }
.dp-btn b { font-weight: 700; color: var(--head); }
.dp-btn > svg.i:first-child { color: var(--text2); }
.dp-btn > svg.i:last-child { width: 14px; height: 14px; margin-left: 2px; color: var(--text3); transform: rotate(90deg); transition: transform var(--t-fast) var(--ease); }
.dp-btn[aria-expanded="true"] { border-color: var(--text3); }
.dp-btn[aria-expanded="true"] > svg.i:last-child { transform: rotate(-90deg); }
.dp { position: fixed; z-index: 60; display: grid; grid-template-columns: 188px auto; max-height: var(--dp-room, 80vh); overflow-y: auto; overscroll-behavior: contain;
  background: var(--raise); border: 1px solid var(--line2); border-radius: 12px; box-shadow: var(--shadow); color: var(--text); font-size: var(--fs-small); }
.dp-pre { display: flex; flex-direction: column; gap: 1px; padding: 8px; border-right: 1px solid var(--line); }
.dp-p { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: var(--r-sm); color: var(--text); text-align: left; white-space: nowrap; }
.dp-p:hover { background: var(--hover); }
.dp-p:focus-visible, .dp-d:focus-visible, .dp-nav:focus-visible { outline-offset: -2px; }
.dp-p i { width: 16px; height: 16px; flex: none; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--line2); }
.dp-p[aria-checked="true"] { color: var(--head); font-weight: 600; }
.dp-p[aria-checked="true"] i { border: 5px solid var(--head); }
.dp-pre hr { margin: 4px 2px; border: 0; border-top: 1px solid var(--line); }
.dp-main { padding: 16px 20px 0; }
.dp-months { position: relative; display: flex; gap: 28px; }
.dp-m h3 { height: 28px; margin: 0 0 6px; display: flex; align-items: center; justify-content: center; font: 700 var(--fs-body) var(--sans); color: var(--head); }
.dp-nav { position: absolute; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--text2); }
.dp-nav:hover:not(:disabled) { background: var(--hover); color: var(--text); }
.dp-nav:disabled { color: var(--faint); }
.dp-nav.prev { left: 0; } .dp-nav.prev svg.i { transform: rotate(180deg); } .dp-nav.next { right: 0; }
.dp-nav svg.i { width: 14px; height: 14px; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 36px); row-gap: 2px; }
.dp-wd { height: 26px; display: grid; place-items: center; font-size: var(--fs-caption); font-weight: 600; color: var(--text3); }
/* a day: its circle is ::before, the band of a range its own background, today a dot under its number */
.dp-d { position: relative; z-index: 0; height: 34px; display: grid; place-items: center; font: 500 var(--fs-small) var(--sans); font-variant-numeric: tabular-nums; color: var(--text); }
.dp-d::before { content: ''; position: absolute; z-index: -1; inset: 2px 3px; border-radius: 50%; }
.dp-d:hover:not(:disabled, .dp-a, .dp-z)::before { background: var(--hover); }
.dp-d:disabled { color: var(--faint); }
.dp-d.dp-in { background: var(--sel); }
.dp-d.dp-a { border-radius: 17px 0 0 17px; } .dp-d.dp-z { border-radius: 0 17px 17px 0; } .dp-d.dp-a.dp-z { border-radius: 17px; background: none; }
.dp-d.dp-a::before, .dp-d.dp-z::before { background: var(--head); }
.dp-d.dp-a, .dp-d.dp-z { color: var(--raise); font-weight: 700; }
.dp-d.dp-today::after { content: ''; position: absolute; bottom: 5px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
/* a range being drawn: the band follows the pointer, its last day a ring until it is clicked */
.dp.drawing .dp-d.dp-in { background: color-mix(in srgb, var(--sel) 55%, transparent); }
.dp.drawing .dp-d.dp-z:not(.dp-a)::before { background: var(--raise); box-shadow: inset 0 0 0 2px var(--head); }
.dp.drawing .dp-d.dp-z:not(.dp-a) { color: var(--head); }
.dp-days { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; }
.dp-days label { display: grid; gap: 4px; font-size: var(--fs-caption); font-weight: 600; color: var(--text3); }
.dp-days .input { width: 148px; height: var(--ctl-h-sm); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.dp-days > span { height: var(--ctl-h-sm); display: grid; place-items: center; color: var(--text3); }
.dp-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 52px; margin-top: 16px; padding: 8px 12px 8px 16px; border-top: 1px solid var(--line); }
.dp-note { color: var(--text3); font-size: var(--fs-caption); }
.dp-note b { color: var(--text2); font-weight: 600; }
.dp-note + .dp-note::before { content: '·'; margin-right: 8px; }
.dp-foot .btn:first-of-type { margin-left: auto; }
@media (max-width: 760px) {  /* a phone: the window's width, the presets wrapped over one month */
  .dp { left: 8px !important; right: 8px; grid-template-columns: 1fr; }
  .dp-pre { flex-flow: row wrap; border-right: 0; border-bottom: 1px solid var(--line); }
  .dp-pre hr { display: none; }
  .dp-main { padding: 12px 12px 0; }
  .dp-months { justify-content: center; }
  .dp-m:first-of-type { display: none; }
  .dp-days { display: grid; grid-template-columns: 1fr auto 1fr; }
  .dp-days .input { width: 100%; }
  .dp-note { flex-basis: 100%; } .dp-note + .dp-note::before { content: none; }
}

/* static/pages/messages.css */
/* Messages (pages/messages.js): one card of two panes, as Missive and Intercom have it: the threads, then the open
   thread (or the response times) with its composer at the foot. Each pane scrolls in itself; the box takes the
   window's height, so the composer stays in view. On a phone one pane at a time. The fields, buttons, pills and the
   empty state are app.css's. */
.page[data-page="messages"] { max-width: 1340px; }
.messages-box { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); height: calc(100dvh - 210px); min-height: 460px; border-radius: var(--r-card); overflow: hidden; background: var(--raise); box-shadow: var(--card); }  /* app.css's card box */
.messages-box > * { min-width: 0; min-height: 0; }

/* the threads: the tabs and the order at the column's top, the list scrolls under them */
.messages-col { display: flex; flex-direction: column; overflow: hidden; background: var(--panel); border-right: 1px solid var(--line); }
.messages-lh { flex: none; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); padding: var(--sp-3); border-bottom: 1px solid var(--line); }
.messages-lh select { width: auto; height: var(--ctl-h-sm); font-size: var(--fs-caption); padding-block: 0; }
.messages-tabs .n { margin-left: 2px; padding: 0 6px; min-width: 18px; border-radius: var(--r-pill); background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; font-variant-numeric: tabular-nums; }
.messages-threads { flex: 1; min-height: 0; overflow: auto; }
.messages-threads a { display: block; padding: 10px 14px 10px 16px; border-bottom: 1px solid var(--line); color: var(--text2); text-decoration: none; transition: background var(--t-fast); }
.messages-threads a:hover { background: var(--hover); color: var(--text); }
.messages-threads a:focus-visible { outline-offset: -2px; }
.messages-threads a[aria-current] { background: var(--sel); box-shadow: inset 2px 0 0 var(--head); }
.messages-t { display: flex; align-items: baseline; gap: 8px; }
.messages-t b { flex: 1; min-width: 0; font-size: var(--fs-small); font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.messages-t time { flex: none; font-size: var(--fs-caption); color: var(--text3); font-variant-numeric: tabular-nums; }
.messages-l { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.messages-l small { flex: 1; min-width: 0; color: var(--text3); font-size: var(--fs-caption); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.messages-l small svg.i { width: 12px; height: 12px; margin-right: 3px; vertical-align: -2px; }
.messages-l .pill { flex: none; font-variant-numeric: tabular-nums; }
/* an unread thread: bold, its time in the link's blue, a dot before its name */
.messages-threads a.unread b { font-weight: 700; color: var(--head); }
.messages-threads a.unread time { color: var(--blue); font-weight: 600; }
.messages-threads a.unread small { color: var(--text2); }
.messages-threads a.unread .messages-t::before { content: ""; flex: none; width: 7px; height: 7px; margin-left: -11px; border-radius: 50%; background: var(--blue); align-self: center; }
.messages-nomatch { margin: 0; padding: 14px 16px; color: var(--text3); font-size: var(--fs-small); }
.messages-read { flex: none; margin: 0; padding: 8px 16px; border-top: 1px solid var(--line); color: var(--text3); font-size: var(--fs-caption); }

/* the open thread: its head, the timeline, the composer */
.messages-chat { display: flex; flex-direction: column; overflow: hidden; }
.messages-th { flex: none; display: flex; align-items: center; gap: var(--sp-3); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.messages-th > div { min-width: 0; flex: 0 1 auto; display: grid; }
.messages-th b { font-size: var(--fs-card); font-weight: 600; color: var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.messages-th small { font-size: var(--fs-caption); color: var(--text3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.messages-th > .seg, .messages-th > .btn:last-child { margin-left: auto; }
.messages-th .btn svg.i { width: 14px; height: 14px; }
.messages-facts { display: flex; gap: 6px; margin-left: auto; min-width: 0; overflow: hidden; }
.messages-facts span { flex: none; padding: 0 10px; line-height: 24px; border: 1px solid var(--line2); border-radius: var(--r-pill); font-size: var(--fs-caption); color: var(--text2); white-space: nowrap; }
.messages-back { display: none; }
.messages-log { flex: 1; min-height: 0; overflow: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.messages-log:focus-visible { outline-offset: -2px; }
.messages-day { align-self: center; margin: 6px 0 2px; font-size: var(--fs-caption); font-weight: 600; color: var(--text3); }
/* a message: the client's on the left, the team's on the right; who and when under the words */
.messages-msg { max-width: min(68ch, 78%); padding: 8px 12px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); align-self: flex-start; }
.messages-msg.out { align-self: flex-end; background: var(--sel); box-shadow: none; }
.messages-msg p { margin: 0; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.messages-msg small, .messages-note small { display: block; margin-top: 3px; color: var(--text3); font-size: var(--fs-caption); font-variant-numeric: tabular-nums; }
.messages-msg.out small { text-align: right; }
.messages-msg.auto p { color: var(--text2); }
.messages-msg.failed, .messages-msg.unknown { box-shadow: inset 0 0 0 1px var(--bad); }
.messages-msg.failed small, .messages-msg.unknown small { color: var(--bad-ink); }
.messages-ok { color: var(--ok-ink); font-weight: 600; }
.messages-link { padding: 0; color: var(--blue); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.messages-kind { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 2px; font-size: var(--fs-caption); font-weight: 600; color: var(--text3); }
.messages-kind svg.i { width: 13px; height: 13px; }
.messages-react { margin: -6px 0 0; font-size: var(--fs-caption); color: var(--text3); align-self: flex-start; }
.messages-react.out { align-self: flex-end; }
/* a team note: in the note's amber, centred between the two sides, so it never reads as a text */
.messages-note { align-self: center; max-width: min(68ch, 82%); padding: 8px 12px; border: 1px solid var(--note-line); border-radius: 10px; background: var(--note-bg); }
.messages-note p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.messages-note small svg.i { width: 11px; height: 11px; margin-right: 3px; vertical-align: -1px; }
/* a run of workflow texts, folded into one line that opens in place */
.messages-auto { align-self: flex-end; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-width: 78%; }
.messages-auto summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 0 10px; line-height: 24px; border: 1px dashed var(--line2); border-radius: var(--r-pill); font-size: var(--fs-caption); color: var(--text2); }
.messages-auto summary::-webkit-details-marker { display: none; }
.messages-auto summary svg.i { width: 12px; height: 12px; transition: rotate var(--t-fast); }
.messages-auto[open] summary svg.i { rotate: 90deg; }
.messages-auto .messages-msg { max-width: 100%; }
/* an empty thread: the panel's empty state, at a pane's size */
.messages-none { margin: auto; max-width: 380px; }
.messages-none .empty.drawn { padding: 16px 12px; }
.messages-none .empty.drawn > svg.ill { width: 96px; height: 67px; margin-bottom: 6px; }
/* the composer: its mode, the words, then what a send does beside the button */
.messages-form { flex: none; margin: 0 16px 16px; padding: 8px 10px 10px; border: 1px solid var(--line2); border-radius: 12px; background: var(--raise); display: grid; gap: 6px; }
.messages-form:focus-within { border-color: var(--blue); }
.messages-form .seg { justify-self: start; }
.messages-form .seg svg.i { width: 12px; height: 12px; }
.messages-form textarea { border: 0; box-shadow: none; background: none; resize: none; min-height: 44px; max-height: 160px; field-sizing: content; padding: 4px 2px; font: inherit; }
.messages-form textarea:focus { box-shadow: none; }  /* the composer's own edge takes the focus */
.messages-form:focus-within { box-shadow: var(--ring); }
.messages-send { display: flex; align-items: center; gap: var(--sp-3); }
.messages-send small { flex: 1; min-width: 0; color: var(--text3); font-size: var(--fs-caption); }
.messages-send .btn svg.i { width: 15px; height: 15px; }

/* the toolbar's glance at the response times */
.messages-glance { font-size: var(--fs-small); color: var(--text2); white-space: nowrap; }
.messages-glance b { color: var(--head); font-weight: 700; font-variant-numeric: tabular-nums; }
.messages-glance b.slow { color: var(--bad-ink); }
.messages-trend { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; font-size: var(--fs-caption); font-weight: 600; }
.messages-trend.ok { color: var(--ok-ink); } .messages-trend.bad { color: var(--bad-ink); }
.messages-trend svg.i { width: 14px; height: 14px; }
.messages-glance + .btn { margin-left: var(--sp-3); }
/* the response times' pane: the table, its worst row first and in weight */
.messages-times .messages-log { display: block; }
.messages-times tr.worst td { font-weight: 600; color: var(--head); }
.messages-times td.num { white-space: nowrap; }
.messages-bar { position: relative; display: block; width: 140px; height: 8px; border-radius: 4px; background: var(--hover); }
.messages-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--text2); }
.messages-bar u { position: absolute; top: -3px; width: 2px; height: 14px; margin-left: -1px; background: var(--head); }
.messages-foot { margin: 12px 0 0; color: var(--text3); font-size: var(--fs-caption); max-width: 75ch; }

/* Clutchy's button stands at the window's bottom right (pages/clutchy.css): the box ends above it, so Send and Add note
   stay clear of it */
.app.cl-on .messages-box { height: calc(100dvh - 282px); }

@media (max-width: 1240px) { .messages-facts { display: none; } }
@media (max-width: 760px) {
  .messages-box { grid-template-columns: minmax(0, 1fr); height: calc(100dvh - 200px); min-height: 420px; }
  .messages-box.on-thread .messages-col, .messages-box:not(.on-thread) > .messages-chat { display: none; }
  /* a thread on a phone takes the screen: the head and the filters step aside, Back leads to the list */
  .page[data-page="messages"]:has(.on-thread) :is(.ph, .tb) { display: none; }
  .messages-box.on-thread { height: calc(100dvh - 104px); }
  .app.cl-on .messages-box { height: calc(100dvh - 272px); }
  .app.cl-on .messages-box.on-thread { height: calc(100dvh - 204px); }
  .messages-back { display: inline-flex; }
  .messages-log { padding: 12px; }
  .messages-msg, .messages-note { max-width: 88%; }
  .messages-form { margin: 0 8px 8px; }
  .messages-form textarea { font-size: 16px; }  /* a phone's browser zooms into a smaller field */
  .messages-send small { display: none; }
  .messages-glance { display: none; }
}

/* static/pages/milestones.css */
/* Milestones (pages/milestones.js): the month's step, a card per pod and its two columns. Only what differs from
   app.css's foundation; every size, colour and radius is a token of its :root. */
/* the month stands at the toolbar's right, as Churn's does */
[data-page="milestones"] .ms-month { display: flex; align-items: center; gap: var(--sp-1); margin-left: auto; }
[data-page="milestones"] .ms-month b { min-width: 9.5em; text-align: center; font-size: var(--fs-body); color: var(--head); }
[data-page="milestones"] .ms-prev .i { transform: scaleX(-1); }
[data-page="milestones"] .ms-grid { display: grid; gap: var(--sp-4); }
/* the pod's CSM follows its name, in the body's face, as Churn's "Pod 1 · Laura Reyes" */
[data-page="milestones"] .card-h .ms-csm { font: 500 var(--fs-body) var(--sans); letter-spacing: normal; color: var(--text2); }
[data-page="milestones"] .card-h .ms-csm::before { content: "·"; margin-right: var(--sp-2); color: var(--text3); }
[data-page="milestones"] .card-h .ms-csm.none { font-weight: 400; color: var(--text3); }
[data-page="milestones"] .ms-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
[data-page="milestones"] .ms-col-h { display: flex; align-items: baseline; gap: var(--sp-2); margin: 0 0 var(--sp-1);
  font-size: var(--fs-small); font-weight: 600; color: var(--text2); }
[data-page="milestones"] .ms-n { color: var(--text3); font-size: var(--fs-small); font-weight: 400; font-variant-numeric: tabular-nums; }
[data-page="milestones"] .ms-list { list-style: none; margin: 0; padding: 0; }
[data-page="milestones"] .ms-list li { border-top: 1px solid var(--line); }
/* the whole row opens the client: the name and the day, one hover */
[data-page="milestones"] .ms-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3);
  margin: 0 calc(-1 * var(--sp-2)); padding: var(--sp-2); border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-size: var(--fs-body); }
[data-page="milestones"] .ms-row:hover { background: var(--hover); }
[data-page="milestones"] .ms-row:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
[data-page="milestones"] .ms-row b { font-weight: 400; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-page="milestones"] .ms-day { flex: none; color: var(--text2); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
/* a day gone by this month steps back; today's stands out by weight */
[data-page="milestones"] .ms-row.past b, [data-page="milestones"] .ms-row.past .ms-day { color: var(--text3); }
[data-page="milestones"] .ms-row.today b, [data-page="milestones"] .ms-row.today .ms-day { font-weight: 600; color: var(--head); }
[data-page="milestones"] .ms-none { margin: 0; padding: var(--sp-2) 0; border-top: 1px solid var(--line); color: var(--text3); font-size: var(--fs-small); }
[data-page="milestones"] .ms-stale { margin: 0 0 var(--sp-3); }
[data-page="milestones"] .ms-left { margin: var(--sp-4) 0 0; color: var(--text3); font-size: var(--fs-small); }
[data-page="milestones"] .ms-left a { color: var(--text2); }
@media (max-width: 720px) {
  [data-page="milestones"] .ms-cols { grid-template-columns: 1fr; gap: 0; }
  [data-page="milestones"] .ms-col + .ms-col { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--line2); }
  [data-page="milestones"] .ms-month { margin-left: 0; width: 100%; justify-content: space-between; }
  [data-page="milestones"] .ms-month .btn.sq { width: 44px; height: 44px; }
}

/* static/pages/moreestimates.css */
/* ME: More Estimates's section (pages/moreestimates.js): Overview, Google Ads and Funnels.
   Follows the control panel's tokens, AdTracking's inline expandable tree and period picker, and tabular numbers. */

.me-page { container: me / inline-size; display: grid; gap: 20px; font-variant-numeric: tabular-nums; }
.me-page > * { min-width: 0; }
.me-page .mk-line { margin: -8px 0 -4px; }

/* Status & notices */
.me-notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: var(--r-card); background: var(--raise); box-shadow: var(--card); border: 1px solid var(--note-line); font-size: var(--fs-small); color: var(--text2); margin: 0; }
.me-notice svg.i { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; color: var(--warn-ink); }
.me-notice b { color: var(--head); }
.me-notice.bad { border-color: color-mix(in srgb, var(--bad) 35%, transparent); }
.me-notice.bad svg.i { color: var(--bad-ink); }

.me-feeds-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: -6px 0 -4px; font-size: var(--fs-small); color: var(--text2); }
.me-feed-item { display: inline-flex; align-items: center; gap: 6px; }
.me-feed-item b { color: var(--head); font-weight: 600; }
.me-feed-item small { color: var(--text3); font-size: var(--fs-caption); }
.me-feed-sep { color: var(--text3); font-style: normal; }

/* KPI strip: matches AdTracking's .ax-big cards with on-scale 30px figures */
.me-bigs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.me-bigs.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.me-big { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l d" "v v" "u u" "s s"; align-items: center; gap: 4px 8px;
  min-width: 0; padding: 14px 16px 0; border-radius: var(--r-card); background: var(--raise); box-shadow: var(--card); overflow: hidden; }
.me-big.plain { padding-bottom: 14px; }
.me-big-l { grid-area: l; color: var(--text3); font-size: var(--fs-caption); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; line-height: 1.25; }
.me-big-d { grid-area: d; justify-self: end; }
.me-big-v { grid-area: v; min-width: 0; font: 800 clamp(20px, 2.7cqi, 30px)/1.18 var(--title); letter-spacing: -.03em; color: var(--head); overflow-wrap: anywhere; }
.me-big-v.ok { color: var(--ok-ink); }
.me-big-v.warn { color: var(--warn-ink); }
.me-big-v.bad { color: var(--bad-ink); }
.me-big-u { grid-area: u; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-height: 22px; color: var(--text2); font-size: var(--fs-caption); }
.me-big-u .pill { line-height: 18px; padding: 0 8px; }
.me-big .ax-spark { grid-area: s; width: calc(100% + 32px); height: 32px; margin: 8px -16px 0; }

/* Unified expandable tree card on Overview and Google Ads */
.me-tree-card { --pad-y: 0px; --pad-x: 0px; padding: 0; overflow: hidden; gap: 0; }
.me-tree-card > .card-h { margin: 0; }
.me-tree-head-meta { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: 500 var(--fs-caption) var(--sans); color: var(--text3); letter-spacing: 0; }
.me-tw { overflow-x: auto; max-width: 100%; }
.me-tree { width: 100%; border-collapse: collapse; }
.me-tree thead th { font: 600 var(--fs-caption)/1.3 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--text3); text-align: right; vertical-align: bottom; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--raise); }
.me-tree thead th.me-c-name, .me-tree thead th.me-c-status { text-align: left; }
.me-tree thead th.tw-sort { position: relative; padding: 0; color: var(--text3); }
.me-tree thead th.tw-sort button { padding: 10px 12px; width: 100%; justify-content: flex-end; text-transform: uppercase; letter-spacing: .06em; }
.me-tree thead th.me-c-name.tw-sort button { justify-content: flex-start; }
.me-tree tbody td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: var(--fs-small); color: var(--text); white-space: nowrap; }
.me-tree tbody td.me-num, .me-tree tfoot td.me-num { text-align: right; font-family: var(--mono); font-size: var(--fs-small); }
.me-tree tbody tr.me-r { transition: background-color var(--t-fast) var(--ease); }
.me-tree tbody tr.me-lv-client { background: color-mix(in srgb, var(--chip) 38%, transparent); }
.me-tree tbody tr.me-lv-sub { background: transparent; }
.me-tree tbody tr.me-r:hover { background: color-mix(in srgb, var(--hover) 75%, transparent); }
.me-tree tbody tr.me-off .me-row-title { color: var(--text2); }

/* Tree name cell with expandable chevron & level indent */
.me-tree .me-name-cell { text-align: left; white-space: normal; min-width: 220px; font-weight: 400; }
.me-name-wrap { display: flex; align-items: center; gap: 8px; padding-left: calc(var(--depth, 0) * 26px); }
.me-lv-sub .me-name-wrap { position: relative; }
.me-row-btn { display: grid; gap: 2px; min-width: 0; flex: 1; text-align: left; }
button.me-row-btn { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.me-row-btn > span:last-child:not(.me-row-sub) { min-width: 0; }
.me-row-btn > span > :is(.me-row-title, .me-row-sub) { display: block; }
.me-row-btn[aria-expanded="true"] .ax-tg svg.i { transform: rotate(90deg); }
.me-row-btn:hover .ax-tg { background: var(--hover); color: var(--head); }
.me-row-btn:hover .me-row-title { color: var(--blue); }
.me-row-title { color: var(--head); font-weight: 700; font-size: var(--fs-body); line-height: 1.3; overflow-wrap: anywhere; }
.me-lv-sub .me-row-title { font-weight: 600; font-size: var(--fs-small); }
.me-row-sub { color: var(--text3); font-size: var(--fs-caption); line-height: 1.3; }
.me-sub-val { display: block; font-family: var(--sans); font-size: var(--fs-caption); color: var(--text3); margin-top: 2px; }
.me-zero { color: var(--text3); }
.me-row-link { flex: none; height: var(--ctl-h-sm); padding: 0 9px; border-radius: var(--r-sm); font-size: var(--fs-caption); font-weight: 600; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.me-row-link:hover { background: var(--info-bg); }
.me-row-link svg.i { width: 13px; height: 13px; }

/* CPL cell heat tint: strictly WCAG AA, matches AdTracking's ax-tint */
.me-tree tr > td.me-cpl-cell { font-weight: 700; }
.me-tree tr > td.me-cpl-cell.ok { background: var(--ok-bg); color: var(--ok-ink); }
.me-tree tr > td.me-cpl-cell.warn { background: var(--warn-bg); color: var(--warn-ink); }
.me-tree tr > td.me-cpl-cell.bad { background: var(--bad-bg); color: var(--bad-ink); }

/* Spend share hairline bar under spend values */
.me-share { display: block; width: var(--p, 0%); height: 3px; margin: 4px 0 -4px auto; border-radius: 2px; background: color-mix(in srgb, var(--blue) 55%, transparent); }

/* Attribution mismatch inline badge in Overview expanded sub-row */
.me-gap-note { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-caption); font-family: var(--sans); color: var(--text2); }
.me-gap-note.warn { color: var(--warn-ink); font-weight: 600; }

/* Totals footer */
.me-tree tfoot td { padding: 11px 12px; border-top: 1px solid var(--line2); border-bottom: 0; font-weight: 700; font-size: var(--fs-small); color: var(--head); background: var(--raise); }
.me-tree tfoot td.me-foot-label { text-align: left; }
.me-tree tfoot td.me-foot-label small { display: block; font-weight: 400; font-size: var(--fs-caption); color: var(--text3); }

/* Hosted Funnels grid */
.me-funnels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: var(--sp-4); }
.me-funnel { border-radius: var(--r-card); background: var(--raise); box-shadow: var(--card); padding: 18px 20px; display: grid; gap: 14px; align-content: start; }
.me-funnel-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.me-funnel-top > div { min-width: 0; }
.me-funnel-top h2 { margin: 0; font: 800 var(--fs-card)/1.3 var(--title); letter-spacing: -.01em; color: var(--head); overflow-wrap: anywhere; }
.me-funnel-top small { display: block; font: 500 var(--fs-caption) var(--mono); color: var(--text3); margin-top: 3px; }
.me-funnel-top .pill { flex: none; }
.me-funnel-links { display: grid; gap: 4px; padding: 6px 12px; border-radius: var(--r-ctl); background: var(--panel); border: 1px solid var(--line); }
.me-funnel-link { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: var(--fs-small); }
.me-funnel-link > svg.i { width: 15px; height: 15px; color: var(--text3); flex: none; }
.me-funnel-link > span { color: var(--text3); font-size: var(--fs-caption); font-weight: 600; flex: none; min-width: 48px; }
.me-funnel-link a { color: var(--head); font-family: var(--mono); font-size: var(--fs-caption); text-decoration: none; min-width: 0; flex: 1; min-height: 36px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.me-funnel-link a:hover { color: var(--blue); text-decoration: underline; }
.me-funnel-link .icon { flex: none; }
.me-funnel-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: var(--fs-caption); color: var(--text3); }
.me-funnel-meta span { display: inline-flex; align-items: center; gap: 5px; }
.me-funnel-meta svg.i { width: 14px; height: 14px; }
.me-funnel-acts { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Container-based responsive breakpoints (never relies on viewport alone, respects sidebar open/closed) */
@container me (max-width: 1040px) {
  .me-bigs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .me-bigs.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container me (max-width: 820px) {
  .me-tree .me-c-status, .me-tree .me-c-budget, .me-tree .me-c-clicks { display: none; }
  .me-name-wrap { padding-left: calc(var(--depth, 0) * 16px); }
}
@container me (max-width: 640px) {
  .me-page { gap: 16px; }
  .me-bigs, .me-bigs.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .me-bigs > .me-big:last-child:nth-child(odd) { grid-column: span 2; }
  .me-tree-hint { display: none; }
  .me-tree .me-c-leads, .me-tree .me-c-bookings, .me-tree .me-c-ctr { display: none; }
  .me-tree .me-name-cell { min-width: 112px; }
  button.me-row-btn { min-height: 40px; }
  .me-tree thead th { letter-spacing: .02em; }
  .me-tree thead th, .me-tree tbody td, .me-tree tfoot td { padding-inline: 5px; }
  .me-tree thead th.tw-sort button { padding: 10px 5px; letter-spacing: .02em; }
  .me-funnels { grid-template-columns: minmax(0, 1fr); }
  .me-funnel-link a { min-height: 44px; }
  .me-funnel-link .icon { width: 40px; height: 40px; }
}

/* static/pages/moreestimates.meta.css */
/* Layout, unified 4-level Client → Campaign → Ad Set → Ad tree, and drawer styles for ME Meta Ads.
   Shares AdTracking's chart, funnel, top-ads and tree tokens from addash.css with ME-scoped overrides. */

.mm-dashboard { container: ax / inline-size; display: grid; gap: 20px; font-variant-numeric: tabular-nums; }
.mm-dashboard > * { min-width: 0; }
.mm-dashboard .mk-line { margin: -8px 0 -4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* Scope chip shown when a single client is selected */
.mm-scope-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -8px 0 -4px; }

/* Account picker inside the page toolbar */
[data-page="me-meta"] .mm-account { width: auto; max-width: 240px; min-width: 170px; }

/* Keep the account tree in the first view on desktop. */
.mm-bigs, .mm-bigs > .ax-big:nth-child(n) { grid-column: auto; }
.mm-bigs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-bigs .ax-big { min-width: 0; grid-template-areas: "l d" "v v" "u u" "s s"; align-items: center; }
.mm-bigs .ax-bl { white-space: normal; }
.mm-bigs .ax-bv { font-size: clamp(20px, 2.5cqi, 28px); }
.mm-bigs .ax-vs { grid-area: d; }
.mm-bigs .ax-bv.ax-good { color: var(--ok-ink); }
.mm-bigs .ax-bv.ax-near { color: var(--warn-ink); }
.mm-bigs .ax-bv.ax-over { color: var(--bad-ink); }
.mm-bigs .ax-big:disabled { cursor: default; }
.mm-bigs .ax-big:disabled:hover { background: var(--raise); }
.mm-campaigns .mm-columns-delivery :is(th, td) { display: table-cell; }

/* Chart and Funnel cards */
.mm-dashboard .ax-chart .card-h, .mm-dashboard .ax-chain .card-h { margin: calc(-1 * var(--pad-y)) calc(-1 * var(--pad-x)) 0; }
.mm-dashboard .ax-opts .seg > button { font-size: var(--fs-caption); }
.mm-dashboard .ax-band .ax-sv { font-size: var(--fs-card); }
.mm-crm-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 10px 16px 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.mm-crm-foot .ax-sn { color: var(--text2); font-size: var(--fs-small); font-weight: 600; }
.mm-crm-foot .ax-sv { font: 800 var(--fs-card)/1.2 var(--title); color: var(--head); }
.mm-crm-foot .pill { margin-left: auto; }

/* Top Ads: sits directly on the page paper like AdTracking (no nested card) */
.mm-dashboard .ax-ad { font: inherit; text-align: start; cursor: pointer; }
.mm-dashboard .ax-ad dt { font-size: var(--fs-caption); }
.mm-dashboard .ax-ad dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-dashboard .ax-ad dl .on dd { font-size: var(--fs-card); }

/* Unified Client → Campaign → Ad Set → Ad tree */
.mm-campaigns { --pad-y: 0px; --pad-x: 0px; padding: 0; gap: 0; }
.mm-campaigns > .card-h { margin: 0; }
.mm-campaigns .ax-tb { top: 0; }
.mm-campaigns .ax-tb .seg > button { font-size: var(--fs-small); }
.mm-campaigns th.ax-c-name, .mm-campaigns td.ax-name { text-align: left; width: 380px; min-width: 310px; max-width: 480px; }
.mm-campaigns tfoot td.ax-foot-label { text-align: left; font-weight: 700; color: var(--head); }
.mm-campaigns tfoot td.ax-foot-label small { display: block; font-weight: 400; color: var(--text3); font-size: var(--fs-caption); }
.mm-campaigns td.num { font-size: var(--fs-small); }
.mm-campaigns td.ax-c-cpl.ax-tint { font-weight: 700; }

/* Hierarchy row shading across 4 levels (applied on tr so CPL td.ax-tint fills show cleanly on every level) */
.mm-campaigns tbody tr.ax-lv-client { background: color-mix(in srgb, var(--chip) 56%, transparent); }
.mm-campaigns tbody tr.ax-lv-client:hover { background: color-mix(in srgb, var(--hover) 85%, transparent); }
.mm-campaigns tbody tr.ax-lv-campaign { background: color-mix(in srgb, var(--chip) 22%, transparent); }
.mm-campaigns tbody tr.ax-lv-campaign:hover { background: color-mix(in srgb, var(--hover) 72%, transparent); }
.mm-campaigns tbody tr.ax-lv-adset, .mm-campaigns tbody tr.ax-lv-ad { background: transparent; }
.mm-campaigns tbody tr.ax-lv-adset:hover, .mm-campaigns tbody tr.ax-lv-ad:hover { background: color-mix(in srgb, var(--hover) 62%, transparent); }
.mm-campaigns tr.ax-lv-client .mm-row-name b { font-weight: 700; font-size: var(--fs-body); }
.mm-campaigns tr.ax-lv-campaign .mm-row-name b { font-weight: 600; }

/* Name cell inner layout: beats addash.css's .ax-name > div > span:last-child { display: grid } */
.mm-campaigns td.ax-name > div { display: flex; align-items: center; gap: 7px; padding-left: calc(var(--depth, 0) * 24px); }
.mm-row-name { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; min-height: 36px; padding: 2px 0; text-align: start; }
.mm-row-name > :is(.ax-tg, .dot, .mm-thumb) { flex: none; }
.mm-row-name > span:last-child { display: grid; gap: 2px; min-width: 0; }
.mm-row-name[aria-expanded="true"] .mm-chevron svg.i { transform: rotate(90deg); }
.mm-row-name:hover .mm-chevron { background: var(--hover); color: var(--head); }
.mm-row-name b { color: var(--head); font-weight: 600; font-size: var(--fs-small); line-height: 1.3; overflow-wrap: anywhere; }
.mm-row-name:hover b { color: var(--blue); }
.mm-row-name small { color: var(--text3); font-size: var(--fs-caption); line-height: 1.3; }
.mm-campaigns td.ax-name > div > .mm-row-acts { display: inline-flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 2px; flex: none; margin-inline-start: auto; }
.mm-row-acts .icon { width: 32px; height: 36px; color: var(--text3); }
.mm-row-acts .icon[aria-pressed="true"] { background: var(--sel); color: var(--head); }
.mm-row-acts .icon svg.i { width: 15px; height: 15px; }

/* Inline sub-row when an expanded client has no campaign snapshot loaded yet */
.mm-empty-row > td { height: auto; padding: 12px 16px 12px 54px; text-align: left; white-space: normal; background: var(--panel); }
.mm-empty-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: var(--fs-small); color: var(--text2); }

/* Status & thumbnails */
.mm-state { display: inline-flex; gap: 5px; align-items: center; }
.mm-state .dot { flex: none; }
.mm-thumb { position: relative; overflow: hidden; }
.mm-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* Native <dialog> right-side detail drawer: scroll containment per modern-web-guidance */
.mm-drawer { position: fixed; inset: 0 0 0 auto; border: 0; margin: 0; max-width: 100%; max-height: 100%; height: 100%; color: var(--text); overscroll-behavior: contain; }
.mm-drawer:not([open]) { display: none; }
.mm-drawer::backdrop { background: rgba(15, 23, 42, .45); overflow: hidden; overscroll-behavior: contain; }
.mm-drawer-body { display: flex; min-height: 100%; flex-direction: column; }
.mm-drawer .ax-pf { margin-top: auto; }
.mm-drawer .ax-ph h2:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.mm-drawer .ax-ph h2:focus:not(:focus-visible) { outline: 0; }
.mm-drawer .ax-crumb button { color: var(--text2); font: inherit; display: inline-flex; align-items: center; }
.mm-drawer .ax-crumb button:hover { color: var(--blue); text-decoration: underline; }
.mm-drawer .ax-stats dd { font-size: var(--fs-card); }
.mm-drawer .ax-stats dd.ax-good { color: var(--ok-ink); }
.mm-drawer .ax-stats dd.ax-near { color: var(--warn-ink); }
.mm-drawer .ax-stats dd.ax-over { color: var(--bad-ink); }
.mm-drawer .ax-kid { width: 100%; text-align: start; }
.mm-drawer :is(dd, dt) { overflow-wrap: anywhere; }

/* Creative variation editor inside drawer */
.mm-creative-card { margin: 16px 24px 0; padding: 14px 16px; border-radius: var(--r-ctl); background: var(--raise); border: 1px solid var(--line); display: grid; gap: 10px; }
.mm-creative-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.mm-creative-head h3 { margin: 0; font: 700 var(--fs-card)/1.3 var(--title); color: var(--head); }
.mm-creative form, .mm-creative fieldset, .mm-creative label, .mm-creative-media { display: grid; gap: 6px; min-inline-size: 0; }
.mm-creative fieldset { border: 0; margin: 0; padding: 0; gap: 12px; }
.mm-creative label { font-size: var(--fs-small); font-weight: 600; color: var(--text2); }
.mm-creative .input { width: 100%; }
.mm-creative textarea { resize: vertical; }
.mm-creative .ax-note { margin: 0; padding: 0; }
.mm-creative-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Container queries on .mm-dashboard (container: ax) */
@container ax (min-width: 980px) {
  .mm-bigs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@container ax (max-width: 1100px) {
  .mm-campaigns th.ax-c-name, .mm-campaigns td.ax-name { width: 280px; min-width: 240px; }
  .mm-campaigns td.ax-name > div { padding-left: calc(var(--depth, 0) * 18px); }
}
@container ax (max-width: 960px) {
  .mm-campaigns :is(.ax-c-cps, .ax-c-cpm, .ax-c-cpc) { display: none; }
}
@container ax (max-width: 780px) {
  .mm-campaigns :is(.ax-c-impressions, .ax-c-link_clicks) { display: none; }
}
@container ax (max-width: 650px) {
  .mm-bigs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mm-bigs .ax-big { padding: 10px 12px; grid-template-areas: "l d" "v v" "u u"; }
  .mm-bigs .ax-spark { display: none; }
  .mm-campaigns th.ax-c-name, .mm-campaigns td.ax-name { width: auto; min-width: 180px; }
  .mm-campaigns td.ax-name > div { padding-left: calc(var(--depth, 0) * 14px); gap: 5px; }
  .mm-campaigns .mm-columns-results :is(.ax-c-crm_bookings, .ax-c-leads) { display: none; }
  .mm-empty-row > td { padding-left: 16px; }
  .mm-creative-card { margin-inline: 16px; }
}
@container ax (max-width: 480px) {
  .mm-campaigns .ax-on { padding-inline: 4px; }
  .mm-row-name, .mm-row-acts .icon { min-height: 40px; }
  .mm-campaigns :is(.mm-thumb, .mm-account-context),
  .mm-campaigns .ax-lv-client td.ax-name > div > .mm-row-acts { display: none; }
  .mm-campaigns td.ax-name > div, .mm-row-name { gap: 4px; }
  .mm-row-name .ax-tg { width: 18px; }
}

/* The frame's filter strip scrolls on phones. Keep both top-level inputs visible here. */
[data-page="me-meta"] { container: me-meta-page / inline-size; }
@container me-meta-page (max-width: 650px) {
  .mm-dashboard { gap: 14px; }
  [data-page="me-meta"] .tb-end:has(> .mm-tools) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  [data-page="me-meta"] .mm-tools { display: contents; }
  [data-page="me-meta"] .mm-tools .dp-btn { grid-column: 1 / -1; justify-content: space-between; }
  [data-page="me-meta"] .mm-account { width: 100%; min-width: 0; max-width: none; }
  .mm-campaigns > .card-h small { display: none; }
  .mm-campaigns .ax-tb { padding: 8px; }
  .mm-campaigns .ax-tb .find { flex: 1 1 150px; min-width: 0; }
}

/* static/pages/moveout.css */
/* n8n move-out (pages/moveout.js): only what differs from app.css's card, table, pill and fold */
.moveout-top { display: flex; gap: var(--sp-4); align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.moveout-now { flex: 1 1 360px; min-width: 0; }
.moveout-now p { margin: var(--sp-2) 0 0; color: var(--text); }
.moveout-act { display: flex; gap: var(--sp-3); align-items: center; flex-wrap: wrap; justify-content: flex-end; flex: 0 1 auto; max-width: 100%; }
.moveout-warn, .moveout-ready, .moveout-dead-line { display: flex; gap: var(--sp-2); align-items: flex-start; margin: 0; font-size: var(--fs-small); }
.moveout-warn { color: var(--warn-ink); max-width: 360px; }
.moveout-ready { color: var(--warn-ink); margin-top: var(--sp-2); }
.moveout-ready a { color: var(--blue); }
.moveout-dead-line { color: var(--text2); margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.moveout-dead-line b { color: var(--text); }
.moveout-warn .i, .moveout-ready .i, .moveout-dead-line .i { flex: none; margin-top: 2px; }
.moveout-sum { margin: var(--sp-2) 0 0; color: var(--text2); font-size: var(--fs-small); }
.moveout-bar { height: 6px; margin-top: var(--sp-3); border-radius: var(--r-pill); background: var(--line); overflow: hidden; max-width: 420px; }
.moveout-bar i { display: block; height: 100%; background: var(--wait); }
.moveout-cancel { margin-top: var(--sp-4); }
.moveout-cancel p { margin: 0 0 var(--sp-3); color: var(--text2); }
.moveout-new { margin-left: var(--sp-2); color: var(--text3); font-size: var(--fs-caption); font-weight: 400; }
.moveout-title { display: flex; gap: var(--sp-2); align-items: baseline; margin: var(--sp-6) 0 var(--sp-3); }
.moveout-title small, .moveout-group small { color: var(--text3); font-weight: 400; }
.moveout-tw td small { display: block; white-space: normal; color: var(--text2); font-size: var(--fs-caption); max-width: 340px; }
.moveout-tw .moveout-ours small { color: var(--text3); }
.moveout-tw td:first-child { min-width: 220px; white-space: normal; }
.moveout-tw td.moveout-writes { white-space: normal; min-width: 150px; max-width: 220px; color: var(--text2); font-size: var(--fs-small); }
.moveout-name { display: inline-flex; gap: var(--sp-1); align-items: center; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-weight: 600; text-align: left; cursor: pointer; white-space: normal; }
.moveout-name .i { color: var(--text3); }
.moveout-row[aria-selected="true"] .moveout-name .i { rotate: 90deg; }
.moveout-row { cursor: pointer; }
.moveout-tw .moveout-group th { padding-top: var(--sp-4); color: var(--text); font-size: var(--fs-small); white-space: normal; }
.moveout-group th small { margin-left: var(--sp-2); }
.moveout-group th span { display: block; margin-top: 2px; color: var(--text3); font-weight: 400; }
.moveout-quiet { color: var(--text3); white-space: normal; }
.moveout-drawer-row > td { height: auto; white-space: normal; background: var(--panel); }
.moveout-drawer { display: grid; gap: var(--sp-4); padding: var(--sp-3) 0; }
.moveout-drawer > p { margin: 0; }
.moveout-two, .moveout-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.moveout-sample pre { margin: var(--sp-2) 0 0; padding: var(--sp-3); border-radius: var(--r-ctl); background: var(--raise); border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; font: var(--fs-small)/1.5 var(--mono); color: var(--text); }
.moveout-h { display: block; margin-bottom: var(--sp-1); }
.moveout-list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--sp-1); font-size: var(--fs-small); }
.moveout-list li { overflow-wrap: anywhere; }
.moveout-kind { display: inline-block; min-width: 132px; margin-right: var(--sp-2); color: var(--text3); }
.moveout-fold { margin-top: var(--sp-6); }
.moveout-fold summary { cursor: pointer; list-style: none; }
.moveout-fold summary::-webkit-details-marker { display: none; }
.moveout-fold summary h2 { display: inline-flex; gap: var(--sp-2); align-items: center; margin: 0; }
.moveout-fold[open] summary h2 .i { rotate: 90deg; }
.moveout-fold summary > span { display: block; color: var(--text2); font-size: var(--fs-small); margin-top: 2px; }
.moveout-fold .moveout-list { margin-top: var(--sp-3); }
@media (max-width: 760px) {
  .moveout-two, .moveout-cols { grid-template-columns: 1fr; }
  .moveout-act { justify-content: flex-start; }
  .moveout-warn { max-width: none; }
  .moveout-kind { min-width: 0; display: block; }
  .moveout-tw td:first-child { min-width: 0; }
  .moveout-tw td small { max-width: none; }
}

/* static/pages/myday.css */
/* My Day (Work): the day in one line under the date, Customize in the head, then the account's widgets, app.css's
   cards, as a bento that fits the screen under the head: two or three columns of cards each as tall as it holds,
   laid out by myday.js (mydayBento). Before that, and on a phone, a plain grid of cards, a list's extra rows hidden.
   Customize lays its panel beside the widgets, so each change shows at once. */
[data-page="myday"] .ph > svg.ill { width: 132px; height: 83px; margin: -14px 0 -8px; }
/* the day's line: each part a link in the line's own ink, underlined on hover */
.myday-sum a { color: var(--text); font-weight: 600; text-decoration: none; } .myday-sum a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.myday-customize { position: relative; }
.myday-dot { position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--wait); box-shadow: 0 0 0 2px var(--bg); }

.myday-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: var(--sp-4); align-items: start; }
/* a list's rows past its first few show in the bento alone; while it measures, every row shows and no link to the rest */
.myday-grid:not(.myday-measure, .myday-bento) .myday-extra { display: none; }
.myday-measure .myday-more { display: none; }
/* the bento: columns side by side, each a stack of cards that ends flush with the others */
.myday-grid.myday-bento { display: flex; align-items: stretch; }
.myday-col { display: flex; flex-direction: column; gap: var(--sp-4); flex: 1 1 0; min-width: 0; }
.page:has(.myday-bento) { padding-bottom: 24px; }
/* the room left under a list's last row, spread over its rows (myday.js, mydayShow) */
.myday-bento .myday-b > :is(.myday-row, .myday-check) { padding-block: calc(9px + var(--spread, 0px)); }
.myday-bento .myday-b > .myday-ev { padding-block: calc(var(--sp-2) + var(--spread, 0px)); }
/* a long row shortens, never widens its card; the head stays, the body takes the rest of the card */
.myday-card { --pad-y: 0px; --pad-x: 0px; gap: 0; min-width: 0; min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
.myday-bento .myday-card { overflow: hidden; container-type: inline-size; }
/* a narrow card keeps its name whole: its small words leave, and a row's progress bar leaves its chip the room */
@container (max-width: 400px) { .myday-card .card-h .myday-sub, .myday-meta .myday-prog { display: none; }
  .myday-meta:has(> :nth-child(2)) { flex-direction: column; align-items: flex-end; gap: 4px; } }  /* its pills stacked, so the name keeps the row */
.myday-bento .myday-card > .myday-b { min-height: 0; overflow: hidden; }
.myday-cut { display: none !important; }
/* a card folded to its head, where one row each still ran past the screen (myday.js, mydayBento): its count and its
   link stay */
.myday-bento .myday-folded > .myday-b { display: none; } .myday-bento .myday-folded > .card-h { border-bottom: 0; }
/* an empty widget says so in the middle of its card */
.myday-card > .myday-b:has(> .myday-quiet:only-child) { display: grid; place-content: center; }
.myday-card > .myday-b > .myday-quiet:only-child { justify-items: center; text-align: center; }
.myday-card.myday-editing { outline: 1px dashed var(--line2); outline-offset: 3px; }
/* a card's head: its icon, its name, what it counts (red where it waits on a person), its small words, and at its end
   the page it opens or its own controls */
.myday-card .card-h { min-height: 50px; padding-block: 10px; gap: var(--sp-2); }
.myday-card .card-h small { margin-left: 0; }
.myday-title { min-width: 0; overflow-wrap: break-word; text-wrap: balance; }  /* a long name takes a second line, never a cut */
.myday-card .card-h .n { flex: none; }
.myday-c { flex: none; min-width: 20px; padding: 0 6px; border-radius: 9px; background: var(--chip); border: 1px solid var(--line); font: 600 11px/16px var(--mono) !important; color: var(--text2) !important; text-align: center; }
.myday-sub { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.myday-open, .myday-nav { margin-left: auto; flex: none; }
.myday-open { display: inline-flex; align-items: center; gap: 2px; padding: 4px 4px 4px 8px; margin-right: -4px; border-radius: var(--r-ctl); font: 600 var(--fs-caption) var(--sans); letter-spacing: 0; color: var(--text3); text-decoration: none; }
.myday-open svg.i { width: 14px; height: 14px; color: inherit; }
.myday-open:hover { background: var(--hover); color: var(--head); }
@media (pointer: coarse) { .myday-open { min-height: 40px; } }  /* a finger's 40 px */
.myday-b { padding: var(--sp-2) var(--sp-4) var(--sp-3); }

/* the calendar widget's own day pick, at its head's end */
.myday-nav { display: inline-flex; gap: 2px; }
.myday-nav .btn.sq svg.i { width: 15px; height: 15px; }
.myday-prev svg.i { transform: rotate(180deg); }
.myday-nav .myday-today { background: var(--head); border-color: var(--head); color: var(--bg); }

/* a list's rows: the main line and a small line under it, what stands at its right; a hairline between rows */
.myday-row, .myday-check { display: flex; align-items: center; gap: 10px; padding: 9px 0; min-height: var(--row-h); }
.myday-row + .myday-row, .myday-check + .myday-check { border-top: 1px solid var(--line); }
.myday-check label { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; cursor: pointer; }
.myday-t { flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.myday-t small { display: block; margin-top: 1px; color: var(--text3); font-size: var(--fs-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.myday-t a { color: inherit; text-decoration: none; font-weight: 500; } .myday-t a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.myday-long .myday-t a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 400; }
.myday-meta { margin-left: auto; display: flex; gap: 8px; align-items: center; flex: none; max-width: 55%; }
.myday-meta > small { color: var(--text3); font-size: var(--fs-caption); font-variant-numeric: tabular-nums; white-space: nowrap; }
.myday-meta .pill { line-height: 20px; padding: 0 8px; }
/* a group's name inside a list: Overdue, Today, a launch call's day */
.myday-sh { margin: var(--sp-3) 0 2px; font: 700 12px/1.4 var(--sans); color: var(--text3); display: flex; align-items: center; gap: 6px; }
.myday-sh:first-child { margin-top: var(--sp-1); }
.myday-sh.bad { color: var(--bad-ink); }
.myday-sh small { font: 600 11px var(--mono); color: var(--text3); }
.myday-sh + :is(.myday-row, .myday-check, .myday-ev) { border-top: 0; box-shadow: none; }
.myday-more { display: inline-flex; align-items: center; gap: 2px; margin-top: var(--sp-2); font-size: var(--fs-small); font-weight: 600; color: var(--text2); text-decoration: none; }
.myday-more svg.i { width: 14px; height: 14px; }
.myday-more:hover { color: var(--blue); }
/* a quiet line where a list is empty: what it holds, and what leads on */
.myday-quiet { padding: var(--sp-1) 0; }  /* core.js empty({ill: ''}), the note with no picture */
.myday-quiet > .empty.drawn.empty-note { padding: 2px 0; }  /* the card's body holds the room: the note's own would add 20 px to the page */
.myday-note { margin: var(--sp-2) 0 0; color: var(--text3); font-size: var(--fs-caption); }

/* the calendar's and the launch calls' rows: the time, what it is, and at the right Now, how soon, Join, a site */
.myday-ev { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: var(--sp-3); align-items: center; min-height: var(--row-h); padding: var(--sp-2); margin: 0 calc(-1 * var(--sp-2)); border-radius: var(--r-ctl); }
.myday-ev + .myday-ev { box-shadow: 0 -1px 0 var(--line); }
.myday-ev time { font-size: var(--fs-small); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text2); white-space: nowrap; }
.myday-ev.myday-now { background: var(--ok-bg); box-shadow: none; }
.myday-ev.myday-now + .myday-ev { box-shadow: none; }
/* a past event reads quiet in --text3, at full strength; the next one, its pill how soon, reads strongest */
.myday-ev.myday-past :is(time, b) { color: var(--text3); font-weight: 400; }
.myday-ev:has(.pill.wait) :is(time, b) { color: var(--head); font-weight: 600; }
.myday-ev b { font-weight: 500; display: block; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.myday-ev small { display: block; color: var(--text3); font-size: var(--fs-caption); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.myday-end { display: flex; gap: 6px; align-items: center; }
.myday-end .pill { line-height: 20px; padding: 0 8px; }
.myday-launch b a { color: inherit; text-decoration: none; } .myday-launch b a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.myday-mine time, .myday-mine small { color: var(--head); }
.myday-mine small { font-weight: 600; }
/* the calendar read not at all: one calm row with Google's reason */
.myday-off { display: flex; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-3); margin-top: var(--sp-1); border-radius: var(--r-ctl); background: var(--chip); }
.myday-off > svg.i { flex: none; margin-top: 2px; color: var(--text3); }
.myday-off > div { flex: 1; min-width: 0; }
.myday-off b { font-weight: 600; color: var(--text); }
.myday-off p { margin: 2px 0 0; color: var(--text3); font-size: var(--fs-small); max-width: 62ch; }
.myday-off .btn { margin-top: var(--sp-2); }
.myday-off + .myday-ev { margin-top: var(--sp-2); }

/* Your booking links: a calendar's name, then Copy link and Book (calendar.js, calLinkParts); a narrow card keeps
   Copy link's icon alone */
.myday-link .myday-t { font-weight: 500; }
.myday-link .myday-meta { gap: 4px; max-width: none; }
@container (max-width: 400px) { .myday-link .lk-w { display: none; } }
@media (max-width: 520px) { .myday-link .lk-w { display: none; } }

/* Team right now: a face, the name and its line, the state */
.myday-person .av { width: 30px; height: 30px; font-size: 11px; }
/* Clients waiting for a reply: how long the client has waited */
.myday-wait { font: 600 var(--fs-caption) var(--sans); font-variant-numeric: tabular-nums; color: var(--warn-ink); white-space: nowrap; }
/* Onboarding clients: how far each one is */
.myday-prog { width: 54px; height: 6px; border-radius: 3px; background: var(--chip); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; flex: none; }
.myday-prog i { display: block; height: 100%; border-radius: inherit; background: var(--ok); }
/* Sales this month: four figures in a two by two strip */
.myday-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--sp-1); }
.myday-fig { display: grid; gap: 1px; padding: 10px 2px; min-width: 0; }
.myday-fig:nth-child(even) { padding-left: var(--sp-4); border-left: 1px solid var(--line); }
.myday-fig:nth-child(n + 3) { border-top: 1px solid var(--line); }
.myday-fig span { font-size: var(--fs-caption); font-weight: 600; color: var(--text3); }
.myday-fig b { font: 800 22px/1.2 var(--title); letter-spacing: -.02em; color: var(--head); font-variant-numeric: tabular-nums; }
.myday-fig small { font-size: var(--fs-caption); }

/* Pinned links: a tile per link, its letter, its name and its site; Unpin under the pointer */
.myday-pins { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--sp-2); padding-top: var(--sp-1); }
.myday-pin { position: relative; min-width: 0; }
.myday-pin > :is(a, span) { display: flex; align-items: center; gap: 10px; padding: 8px 30px 8px 8px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--panel); color: var(--text); text-decoration: none; min-width: 0; transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.myday-pin > a:hover { background: var(--hover); border-color: var(--line2); }
.myday-pin .myday-t { font-size: var(--fs-small); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.myday-pin .myday-t small { font-weight: 400; font-size: var(--fs-caption); }
.myday-mono { width: 28px; height: 28px; border-radius: 7px; flex: none; display: grid; place-items: center; color: #fff; font: 800 13px var(--title); }
.myday-pin .btn.sq { position: absolute; top: 50%; right: 3px; translate: 0 -50%; color: var(--text3); opacity: 0; }
.myday-pin:is(:hover, :focus-within) .btn.sq { opacity: 1; }
@media (hover: none) { .myday-pin .btn.sq { opacity: 1; } }
.myday-pinit { margin-top: var(--sp-2); margin-left: -10px; }
.myday-add { display: flex; gap: var(--sp-2); margin-top: var(--sp-3); }
.myday-add .input:first-child { flex: 0 1 38%; }
.myday-add .btn { flex: none; }

/* Customize: the widgets beside a panel of what is on My Day and what can be added */
.myday-editor { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--sp-4); align-items: start; }
.myday-custom { position: sticky; top: 0; max-height: calc(100vh - 140px); overflow: auto; --pad-y: 0px; --pad-x: 0px; gap: 0; grid-template-columns: minmax(0, 1fr); }
.myday-custom .card-h { position: sticky; top: 0; z-index: 1; background: var(--raise); }
.myday-done { margin-left: auto; }
.myday-ons, .myday-cat { list-style: none; margin: 0; padding: 0; }
.myday-ons li, .myday-cat li { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.myday-ons li + li, .myday-cat li + li { border-top: 1px solid var(--line); }
.myday-ons li > svg.i, .myday-cat li > svg.i { color: var(--text3); }
.myday-cat li { align-items: flex-start; padding: 10px 0; }
.myday-cat li > svg.i { margin-top: 2px; }
.myday-cat .myday-t b { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.myday-cat .myday-t b .pill { line-height: 18px; padding: 0 7px; }
.myday-cat .myday-t small { white-space: normal; margin-top: 2px; }
.myday-tools { margin-left: auto; display: inline-flex; gap: 2px; flex: none; }
.myday-down svg.i { transform: rotate(180deg); }
.myday-reset { margin: var(--sp-3) 0 0 -10px; }

/* two columns at most where Customize stands beside them; one column, Customize first, under 1100 px */
.myday-editor .myday-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
@media (max-width: 1100px) {
  .myday-editor { grid-template-columns: minmax(0, 1fr); }
  .myday-custom { position: static; max-height: none; order: -1; }
}
/* one column: a plain stack, each card as tall as what it holds */
@media (max-width: 900px) { .myday-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  [data-page="myday"] .ph > svg.ill { display: none; }
  .myday-add { flex-wrap: wrap; } .myday-add .input:first-child { flex-basis: 100%; }
  .myday-meta { max-width: 50%; }
}
/* a phone's card head keeps the name whole: its small words leave where it opens a page */
@media (max-width: 520px) { .myday-card .card-h:has(.myday-open) .myday-sub { display: none; } }

/* static/pages/newsite.css */
/* New client site (pages/newsite.js): the three steps across the top, the step's fields with its action under them,
   and beside them a card of what Clutchy will build, as the Studio mock's screen 4. Controls, the card and the
   radios are app.css's; this sheet holds the layout and the choice cards. */
[data-page="newsite"] { max-width: 1240px; }
[data-page="newsite"] .nw-steps { display: flex; align-items: center; gap: var(--sp-3); margin: 0 0 var(--sp-2); padding: 0; list-style: none; }
[data-page="newsite"] .nw-steps li { display: flex; align-items: center; gap: var(--sp-3); }
[data-page="newsite"] .nw-steps li + li::before { content: ""; width: 40px; height: 2px; border-radius: 1px; background: var(--line2); }
[data-page="newsite"] .nw-steps li.done + li::before, [data-page="newsite"] .nw-steps li.done + li.done::before { background: var(--ok); }
[data-page="newsite"] .nw-steps button { display: flex; align-items: center; gap: var(--sp-2); min-height: 32px; padding: 0 var(--sp-2) 0 0; border-radius: var(--r-pill); font-size: var(--fs-body); color: var(--text3); }
[data-page="newsite"] .nw-steps button:disabled { cursor: default; opacity: 1; }
[data-page="newsite"] .nw-steps .done button { color: var(--text2); } [data-page="newsite"] .nw-steps .done button:hover { color: var(--head); background: var(--hover); }
[data-page="newsite"] .nw-steps button > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line2); font-size: var(--fs-small); font-weight: 700; font-variant-numeric: tabular-nums; }
[data-page="newsite"] .nw-steps [aria-current] button { color: var(--head); font-weight: 600; }
[data-page="newsite"] .nw-steps [aria-current] button > span { background: var(--head); border-color: var(--head); color: var(--bg); }
[data-page="newsite"] .nw-steps .done button > span { border-color: var(--ok); background: var(--ok-bg); color: var(--ok-ink); }
[data-page="newsite"] .nw-steps .done svg.i { width: 14px; height: 14px; stroke-width: 2.4; }
[data-page="newsite"] .nw { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--sp-8); align-items: start; }
[data-page="newsite"] .nw-main { display: grid; align-content: start; gap: var(--sp-6); padding-top: var(--sp-5); min-width: 0; }
[data-page="newsite"] .nw-side { position: sticky; top: var(--sp-5); margin-top: var(--sp-5); }
[data-page="newsite"] .nw-plan { display: grid; gap: var(--sp-3); margin: var(--sp-1) 0 0; padding: 0; list-style: none; counter-reset: none; }
[data-page="newsite"] .nw-plan li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--sp-2); align-items: start; font-size: var(--fs-body); line-height: 1.45; color: var(--text); }
[data-page="newsite"] .nw-plan li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--chip); font-size: var(--fs-caption); font-weight: 600; color: var(--text2); font-variant-numeric: tabular-nums; }
[data-page="newsite"] .nw-note { display: flex; gap: var(--sp-2); margin: var(--sp-2) 0 0; padding-top: var(--sp-3); border-top: 1px solid var(--line); font-size: var(--fs-small); line-height: 1.5; color: var(--text2); }
[data-page="newsite"] .nw-note svg.i { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--text3); }
/* the step's action, under its fields: Back, the primary, and what it waits for */
[data-page="newsite"] .nw-go { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
[data-page="newsite"] .nw-go .primary { min-width: 180px; }
/* a step's button that waits is quiet, not a faded red: what it waits for stands beside it */
[data-page="newsite"] .nw-go .primary:disabled { background: var(--chip); border-color: var(--line); color: var(--text3); box-shadow: none; opacity: 1; cursor: not-allowed; }
[data-page="newsite"] .nw-go small { font-size: var(--fs-small); color: var(--text3); }
[data-page="newsite"] .nw-field { display: grid; gap: var(--sp-3); min-width: 0; }
[data-page="newsite"] .nw-lbl { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); margin: 0; font: 600 var(--fs-lead)/1.3 var(--sans); color: var(--head); }
[data-page="newsite"] .nw-lbl small { font-size: var(--fs-small); font-weight: 400; color: var(--text3); }
[data-page="newsite"] .nw-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--sp-2); max-height: 336px; overflow: auto; padding: 2px; }
[data-page="newsite"] .nw-row { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) 14px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--raise); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
[data-page="newsite"] .nw-row:hover:not(.has) { border-color: var(--text3); }
[data-page="newsite"] .nw-row:has(input:checked) { border-color: var(--head); background: var(--sel); box-shadow: inset 0 0 0 1px var(--head); }
[data-page="newsite"] .nw-row:has(input:focus-visible) { box-shadow: var(--ring); }
[data-page="newsite"] .nw-row > span:not(.nw-ki, .spkg, .tag) { flex: 1; display: grid; min-width: 0; }
[data-page="newsite"] .nw-row b { font-size: var(--fs-body); font-weight: 600; color: var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-page="newsite"] .nw-row small { font-size: var(--fs-caption); color: var(--text3); text-transform: capitalize; }
[data-page="newsite"] .nw-row > .spkg { flex: none; font-size: var(--fs-caption); }
[data-page="newsite"] .nw-row.has { cursor: default; } [data-page="newsite"] .nw-row.has > span { opacity: .6; }  /* a form submission that already made a site */
/* what to make: two large choice cards, each with its icon */
[data-page="newsite"] .nw-kinds { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-height: none; }
[data-page="newsite"] .nw-kind { align-items: flex-start; padding: var(--sp-4); }
[data-page="newsite"] .nw-kind > input { margin-top: 10px; }
[data-page="newsite"] .nw-ki { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-ctl); background: var(--chip); color: var(--head); }
[data-page="newsite"] .nw-kind:has(input:checked) .nw-ki { background: var(--head); color: var(--bg); }
[data-page="newsite"] .nw-kind b { font-size: var(--fs-lead); white-space: normal; }
[data-page="newsite"] .nw-kind .nw-help { margin: 4px 0 0; }
[data-page="newsite"] .nw-has { position: relative; display: flex; align-items: center; gap: 2px; font-size: var(--fs-caption); white-space: nowrap; } [data-page="newsite"] .nw-has svg.i { width: 12px; height: 12px; }
@media (pointer: coarse) { [data-page="newsite"] .nw-has::after { content: ""; position: absolute; left: 0; top: 50%; width: max(100%, 40px); height: 40px; transform: translateY(-50%); } }  /* a finger's height, its line unmoved */
/* step 1, under the list: the picked client has a site, and this build makes another */
[data-page="newsite"] :is(.nw-second, .nw-none) { display: flex; gap: var(--sp-2); margin: 0; padding: var(--sp-3) 14px; border-radius: var(--r-ctl); background: var(--chip); font-size: var(--fs-small); line-height: 1.55; color: var(--text2); }
[data-page="newsite"] .nw-second > svg.i { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--text3); }
[data-page="newsite"] .nw-second > span { min-width: 0; overflow-wrap: anywhere; } [data-page="newsite"] .nw-second b { display: block; font-weight: 600; color: var(--head); }
[data-page="newsite"] .nw-none { background: var(--warn-bg); color: var(--warn-ink); }
[data-page="newsite"] .nw-none svg.i { width: 15px; height: 15px; flex: none; margin-top: 2px; }
[data-page="newsite"] .nw-pkgs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
[data-page="newsite"] .nw-pkg { display: flex; align-items: center; gap: var(--sp-3); height: 44px; padding: 0 var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--raise); color: var(--text2); }
[data-page="newsite"] .nw-pkg i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line2); } [data-page="newsite"] .nw-pkg b { font-weight: 600; color: var(--head); } [data-page="newsite"] .nw-pkg small { color: var(--text3); }
[data-page="newsite"] .nw-pkg.on { border-color: var(--head); background: var(--sel); } [data-page="newsite"] .nw-pkg.on i { border: 4px solid var(--head); background: var(--raise); }
[data-page="newsite"] :is(.nw-list, .nw-forms) > .empty { grid-column: 1 / -1; }  /* an empty list spans the grid */
[data-page="newsite"] .nw-gives { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
[data-page="newsite"] .nw-gives span { display: flex; align-items: center; gap: var(--sp-2); height: var(--ctl-h); padding: 0 14px; border-radius: var(--r-pill); background: var(--chip); font-size: var(--fs-small); color: var(--text2); }
[data-page="newsite"] .nw-gives svg.i { width: 15px; height: 15px; color: var(--text3); }
[data-page="newsite"] .nw-sum { display: grid; grid-template-columns: 140px minmax(0, 1fr); margin: 0; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--raise); overflow: hidden; }
[data-page="newsite"] .nw-sum :is(dt, dd) { margin: 0; padding: var(--sp-3) var(--sp-4); font-size: var(--fs-body); border-top: 1px solid var(--line); }
[data-page="newsite"] .nw-sum dt:first-of-type, [data-page="newsite"] .nw-sum dt:first-of-type + dd { border-top: 0; }
[data-page="newsite"] .nw-sum dt { color: var(--text3); } [data-page="newsite"] .nw-sum dd { color: var(--head); overflow-wrap: anywhere; }
[data-page="newsite"] .nw-err { margin: 0; }
/* step 1's template line; step 2's typed id */
[data-page="newsite"] .nw-tpl { display: flex; align-items: center; gap: var(--sp-2); margin: 0; font-size: var(--fs-small); color: var(--text2); }
[data-page="newsite"] .nw-tpl > svg.i { width: 15px; height: 15px; flex: none; color: var(--text3); }
[data-page="newsite"] .nw-tpl > span { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--sp-2); } [data-page="newsite"] .nw-tpl b { color: var(--head); font-weight: 600; }
[data-page="newsite"] .nw-tpl small { font-size: var(--fs-small); color: var(--warn-ink); }
[data-page="newsite"] .nw-tpl a { display: flex; align-items: center; gap: 2px; white-space: nowrap; } [data-page="newsite"] .nw-tpl a svg.i { width: 12px; height: 12px; }
[data-page="newsite"] .nw-forms { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
[data-page="newsite"] .nw-form small { text-transform: none; } [data-page="newsite"] .nw-form .tag { flex: none; }
[data-page="newsite"] .nw-help { margin: 0; font-size: var(--fs-small); line-height: 1.5; color: var(--text2); max-width: 72ch; }
[data-page="newsite"] .nw-other .nw-help { margin: var(--sp-2) 0 0; }
[data-page="newsite"] .nw-other summary { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; font-size: var(--fs-small); color: var(--text2); cursor: pointer; list-style: none; border-radius: var(--r-sm); }
[data-page="newsite"] .nw-other summary::-webkit-details-marker { display: none; }
[data-page="newsite"] .nw-other summary svg.i { width: 12px; height: 12px; transition: transform var(--t-fast); } [data-page="newsite"] .nw-other[open] summary svg.i { transform: rotate(90deg); }
[data-page="newsite"] .nw-other summary:hover { color: var(--head); } [data-page="newsite"] .nw-other .nw-sub { width: min(100%, 420px); margin-top: var(--sp-2); }
@media (max-width: 900px) {
  [data-page="newsite"] .nw { grid-template-columns: minmax(0, 1fr); gap: 0; } [data-page="newsite"] .nw-side { position: static; }
  [data-page="newsite"] .nw-pkgs { grid-template-columns: minmax(0, 1fr); }
  [data-page="newsite"] .nw-steps, [data-page="newsite"] .nw-steps li { gap: var(--sp-2); } [data-page="newsite"] .nw-steps li + li::before { width: 16px; }
  [data-page="newsite"] .nw-sum { grid-template-columns: 110px minmax(0, 1fr); }
  [data-page="newsite"] .nw-go .primary { flex: 1 1 auto; } [data-page="newsite"] .nw-go small { flex-basis: 100%; }
}

/* static/pages/notifications.css */
/* Notifications (pages/notifications.js): a settings column like Profile's: each section's name and line at the left,
   its card (app.css's `.card`) at the right. Sounds and pop-ups are rows with a switch (`.sw`) at their end; the kinds
   of news are one table, a column per way (Sound, Pop-up, Email), which a phone stacks with each cell's name */
.nt-page { container: nt-page / inline-size; display: grid; gap: var(--sp-6); max-width: 1040px; }  /* it follows the room it has, not the window's width */
.notifications-sec { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
.notifications-sec + .notifications-sec { padding-top: var(--sp-6); border-top: 1px solid var(--line); }
.notifications-sec-h h2 { margin: 0 0 var(--sp-1); font: 700 var(--fs-card)/1.3 var(--title); color: var(--head); }
.notifications-sec-h > p { margin: 0; color: var(--text3); font-size: var(--fs-small); max-width: 34ch; }
.notifications-card { --pad-y: 0px; --pad-x: 0px; gap: 0; }
.notifications-row { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); }
.notifications-row + .notifications-row { border-top: 1px solid var(--line); }
.notifications-row > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.notifications-row b, .nt-what b { font-weight: 600; color: var(--head); }
.notifications-row small, .nt-what small { color: var(--text2); font-size: var(--fs-small); }
.notifications-row small.notifications-today { color: var(--text3); }
.nt-volume[data-off] > :not(div) { opacity: .45; }
.nt-vol { display: flex; align-items: center; gap: 8px; color: var(--text3); }
.nt-vol svg.i { width: 14px; height: 14px; }
.nt-vol input { width: 160px; accent-color: var(--head); cursor: pointer; }
.nt-vol input:disabled { cursor: default; }

/* the kinds of news: a row each, its cells under the head's columns; the table follows its own card's width */
.nt-table { container: nt-kinds / inline-size; }
.nt-row { display: grid; grid-template-columns: minmax(0, 1fr) 196px 72px 96px; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); }
.nt-row + .nt-row { border-top: 1px solid var(--line); }
.nt-head { padding-block: 10px; color: var(--text3); font-size: var(--fs-caption); font-weight: 600; }
.nt-what { display: grid; gap: 2px; min-width: 0; }
.nt-cell { display: flex; align-items: center; gap: 8px; min-width: 0; }
.nt-cue { width: 100px; height: var(--ctl-h-sm); padding-block: 0; font-size: var(--fs-small); }
.nt-play svg.i { width: 14px; height: 14px; }
.nt-cell :disabled { opacity: .45; }
.nt-none { color: var(--text3); font-size: var(--fs-caption); line-height: 1.3; }
.nt-later { margin-top: var(--sp-3); }
.nt-later > summary { display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; color: var(--text2); font-size: var(--fs-small); font-weight: 600; cursor: pointer; list-style: none; border-radius: var(--r-ctl); }
.nt-later > summary::-webkit-details-marker { display: none; }
.nt-later > summary:hover { color: var(--text); }
.nt-later > summary:focus-visible { outline: 0; box-shadow: var(--ring); }
.nt-later > summary svg.i { width: 13px; height: 13px; transition: transform var(--t-fast); }
.nt-later[open] > summary svg.i { transform: rotate(90deg); }
.nt-later > .card { margin-top: var(--sp-2); }
/* under 920 px of room each section's name stands over its card, so the card takes the whole width */
@container nt-page (max-width: 919px) {
  .notifications-sec { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
  .notifications-sec-h > p { max-width: none; }
  .notifications-row, .nt-row { padding: var(--sp-3) var(--sp-4); }
}
@container nt-page (max-width: 520px) {
  .nt-volume { flex-wrap: wrap; }
  .nt-volume > div { flex-basis: 100%; }
  .nt-vol { flex: 1; }
  .nt-vol input { width: auto; flex: 1; }
}
/* a card under 660 px, as on a phone (its name would get under 200 px): each kind of news a block, its three ways
   under it, each named */
@container nt-kinds (max-width: 659px) {
  .nt-head { display: none; }
  .nt-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .nt-row + .nt-row { border-top: 1px solid var(--line); }
  .nt-cell::before { content: attr(data-label); width: 64px; flex: none; color: var(--text3); font-size: var(--fs-caption); font-weight: 600; }
}

/* static/pages/onboarding.css */
/* Onboarding (pages/onboarding.js): the clients' list as one card of rows (mock A's Onboarding), the phase bars,
   the checklist's groups and steps (the drawer and the client drawer's card), and the checklist's editor in
   Settings, Templates (pages/templates.js). The drawer's frame is roster.css's .ro-scrim and .way. */
/* the list's toolbar is app.css .tb (.find, .tb-s, .tb-meta) */
.onb-tools { display: contents; }  /* who onboards and the count, redrawn apart from the shared filters, sit in the toolbar's row */
.onb-who { max-width: 240px; }  /* a long name ends in … inside the select, never past the row */
.onb { border-radius: var(--r-card); background: var(--raise); box-shadow: var(--card); overflow: hidden; }
.onb-h, .onb-r { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr) 64px minmax(0, 1.4fr) 16px; gap: var(--sp-4); align-items: center; padding: var(--sp-3) var(--sp-4); }
.onb-h { font-size: var(--fs-caption); font-weight: 600; color: var(--text3); border-bottom: 1px solid var(--line); }
.onb-r > svg.i { width: 15px; height: 15px; color: var(--text3); }
.onb-r { color: inherit; text-decoration: none; transition: background var(--t-fast); }
.onb-r + .onb-r { border-top: 1px solid var(--line); }
.onb-r:hover { background: var(--hover); } .onb-r[aria-current] { background: var(--sel); }
.onb-r:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.onb-name { min-width: 0; display: grid; }
.onb-name b, .onb-now { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onb-name small { font-size: var(--fs-caption); color: var(--text3); }
.onb-n { font-size: var(--fs-body); font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; } .onb-n small { color: var(--text3); font-weight: 400; font-size: var(--fs-caption); }
.onb-now { font-size: var(--fs-small); font-weight: 600; color: var(--text); } .onb-now small { display: block; color: var(--text3); font-size: var(--fs-caption); font-weight: 400; white-space: normal; overflow-wrap: anywhere; }  /* Next: whole, on two lines where it needs them */

/* the phases: a done one green, the open one blue with a ring, the rest an empty track that reads on both themes */
.onb-ph6 { display: grid; gap: 4px; align-items: center; min-width: 0; }
.onb-ph6 > span { height: 10px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--text) 10%, transparent); overflow: hidden; }
.onb-ph6 > span i { display: block; height: 100%; background: var(--wait); }
.onb-ph6 > span.full { background: var(--ok); } .onb-ph6 > span.full i { background: var(--ok); }
.onb-ph6 > span.cur { background: color-mix(in srgb, var(--wait) 24%, transparent); }

/* a phase: its head folds it; its steps in two columns where there is room */
.onb-phase { border-bottom: 1px solid var(--line); } .onb-phase:last-child { border-bottom: 0; }
.onb-ph-h { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: var(--sp-2) 4px; text-align: left; color: var(--head); border-radius: var(--r-ctl); }
button.onb-ph-h:hover { background: var(--hover); }
.onb-ph-h b { font-size: var(--fs-lead); font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onb-ph-h small { color: var(--text3); font-size: var(--fs-caption); font-variant-numeric: tabular-nums; flex: none; }
.onb-ph-h svg.i { width: 14px; height: 14px; color: var(--text3); flex: none; transition: transform var(--t-fast); }
.onb-ph-h[aria-expanded="true"] svg.i { transform: rotate(90deg); }
.onb-ph-h .pill { margin-left: auto; flex: none; }
.onb-items { list-style: none; margin: 0 0 8px; padding: 0 0 0 28px; display: grid; gap: 0 24px; }
/* a step: the whole row is the tick target (40 px tall), its name at the left and who does it at the right */
.onb-li { font-size: var(--fs-body); min-width: 0; }
.onb-li + .onb-li { border-top: 1px solid var(--line); }
.onb-tick { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 6px 8px 6px 4px; text-align: left; color: var(--text); border-radius: var(--r-sm); min-width: 0; }
.onb-tick:not(:disabled):hover { background: var(--hover); }
/* a Schedule step: its Book beside the tick, and under it each CSM's calendar of the call (onbBook) */
.onb-row { display: flex; align-items: center; gap: 8px; }
.onb-book { flex: none; }
.onb-evidence { display: grid; gap: 4px; margin: 0 8px 10px 32px; font-size: var(--fs-body); }
.onb-evidence .input { width: 100%; min-width: 0; }
.onb-evidence .btn { justify-self: start; }
.onb-cals { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 8px 10px 32px; }
.onb-cals > small { font-size: var(--fs-caption); color: var(--text2); width: 100%; }
.onb-cals .of-opt { text-decoration: none; color: var(--text); }
.onb-cals .of-you { padding: 1px 7px; border-radius: 999px; background: var(--chip); color: var(--text2); font-size: 11px; font-weight: 600; }
.onb-tx { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; min-width: 0; line-height: 20px; }
.onb-tick:not(:disabled):hover .onb-bx { border-color: var(--text3); }
.onb-tick:disabled { cursor: default; }
.onb-tick[aria-busy="true"] { opacity: .6; }
.onb-tick:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.onb-bx { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid var(--line2); flex: none; display: grid; place-items: center; background: var(--raise); transition: border-color var(--t-fast); }
.onb-bx svg.i { width: 11px; height: 11px; stroke-width: 3; }
.onb-li.done .onb-bx { background: var(--ok); border-color: var(--ok); color: #fff; }
.onb-li.done .onb-t { color: var(--text2); } .onb-li:not(.done) .onb-t { font-weight: 600; }
.onb-by { font-size: var(--fs-caption); color: var(--text2); white-space: nowrap; }
.onb-auto { font: 600 10.5px/16px var(--sans); padding: 0 6px; border-radius: 4px; background: var(--ok-bg); color: var(--ok-ink); white-space: nowrap; }

/* the drawer: narrower than a client's, the checklist under the client's name */
#onb-over { z-index: 28; }  /* keep the modal checklist above the floating Clutchy launcher and card */
.onb-drawer { width: min(760px, 100%); }
.onb-dh { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; margin-bottom: 14px; }
.onb-dh h2 { margin: 0; font: 800 22px/1.2 var(--title); letter-spacing: -.02em; color: var(--head); }
.onb-dh p { margin: 0; grid-column: 1; font-size: 13.5px; color: var(--text2); } .onb-dh p b { color: var(--text); }
.onb-dh .btn { grid-column: 2; grid-row: 1 / span 2; }
.onb-drawer > .onb-ph6 { margin-bottom: 10px; }
.onb-phases { border-radius: 14px; background: var(--raise); box-shadow: var(--card); padding: 4px 14px; }

/* the client drawer's card */
.onb-card .onb-ph6 { margin: 12px 0 4px; }
.onb-card .onb-items { padding-left: 4px; }
.onb-card .onb-ph-h { padding: 8px 0 4px; min-height: 0; }
.onb-card .onb-ph-h b { font-size: var(--fs-body); font-weight: 600; }
.onb-card .onb-tick { min-height: 32px; padding: 4px 6px 4px 0; }  /* the narrow card keeps its rows compact */
.onb-more { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 6px; margin-top: 4px; }
.onb-more .sub { flex: none; padding-left: 0; }
.onb-more a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.onb-more a svg.i { width: 13px; height: 13px; }
.onb-wait { margin: 6px 0; font-size: 13px; }

/* the editor (Settings, Templates, #/templates/onboarding) */
.templates-link { color: inherit; text-decoration: none; transition: box-shadow var(--t-fast); }
.templates-link:hover { box-shadow: var(--shadow); } .templates-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.templates-link .templates-go { margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--blue); }
.templates-link .templates-go svg.i { width: 13px; height: 13px; }
.onb-ed { display: grid; gap: 16px; max-width: 920px; }
.onb-ed-way { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.onb-ed-way > a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text3); text-decoration: none; }
.onb-ed-way > a:hover { color: var(--text); }
.onb-ed-acts { display: flex; gap: 8px; }
.onb-ed .card { gap: 4px; }
.onb-ed ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.onb-ed-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 3px 0; }
.onb-ed-row > span:first-child { font: 12px var(--mono); color: var(--text3); text-align: right; font-variant-numeric: tabular-nums; }
.onb-ed-row input { width: 100%; height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; background: var(--raise); color: var(--text); font-size: 13.5px; min-width: 0; }
.onb-ed-row input:focus { outline: 0; border-color: var(--blue); }
.onb-ed-tools { display: flex; align-items: center; gap: 2px; }
.onb-ed-tools .icon svg.i { width: 15px; height: 15px; }
.onb-ed-tools .down svg.i { transform: rotate(180deg); }
.onb-ed-tools .icon:disabled { opacity: .35; cursor: default; }
.onb-ed-auto { grid-column: 2 / -1; margin: -2px 0 2px; }
.onb-ed-add { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; margin-top: 4px; border-radius: 8px; font-size: 13px; color: var(--text2); }
.onb-ed-add:hover { background: var(--hover); color: var(--text); } .onb-ed-add svg.i { width: 14px; height: 14px; }

@media (max-width: 760px) {
  .onb-h { display: none; }
  .onb-r { grid-template-columns: minmax(0, 1fr) 56px 16px; gap: 6px 10px; }
  .onb-r .onb-ph6 { grid-column: 1 / -1; grid-row: 2; } .onb-r .onb-now { grid-column: 1 / -1; grid-row: 3; }
  .onb-r > svg.i { grid-column: 3; grid-row: 1; }
  .onb-said { display: none; }
  .onb-items { padding-left: 6px; }
  .onb-dh { grid-template-columns: 1fr; } .onb-dh .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
  .onb-phases { padding: 2px 10px; }
}

/* static/pages/ownforms.css */
/* The in-house client form in the Action sheet (pages/ownforms.js): the incumbent .fbox.own sheet grown to hold a long
   form: head, meta, a body that scrolls, a foot that stays. Tokens only; motion is core.js's enter and arrive. */
.ro .fbox.of-box { height: min(860px, calc(100% - 40px)); max-height: none; grid-template-rows: auto auto minmax(0, 1fr) auto; }
.ro .fbox.of-box.fin { height: auto; max-height: calc(100% - 40px); grid-template-rows: auto minmax(0, 1fr); }  /* a tall calendar scrolls in .of-done */
.of-body { overflow: auto; overscroll-behavior: contain; padding: 4px 22px 24px; min-height: 0; }
.of-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; padding: 6px 0 10px; }
.of-grid[hidden], .of-err[hidden] { display: none; }
.of-shelp { grid-column: 1 / -1; margin: 0; }
.of-body > .farea { margin: 14px 0 6px; }
.of-pregrid { padding-top: 16px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
/* a field: its label in sentence case, the box, a help line, its error under it */
.of-f { grid-column: 1 / -1; display: grid; gap: 6px; min-width: 0; align-content: start; } .of-f.half { grid-column: auto; }
.of-l { font-size: var(--fs-small); font-weight: 600; color: var(--text); } .of-l small { font-weight: 400; color: var(--text3); margin-left: 6px; }
.of-l .of-from { display: inline-flex; align-items: center; gap: 3px; color: var(--ok-ink); } .of-l .of-from svg.i { width: 12px; height: 12px; }
.of-f .of-ta { height: auto; min-height: 76px; padding: 8px 12px; resize: vertical; line-height: 1.45; }
/* What Submit starts (ofStarts): two lines, the rest on a click; the sheets of GoHighLevel's forms use it too */
.ro .fmeta details.fstart summary { display: flex; align-items: flex-start; gap: 9px; list-style: none; cursor: pointer; color: var(--text); font-weight: 500; font-size: var(--fs-small); line-height: 1.45; }
.ro .fmeta details.fstart summary::-webkit-details-marker { display: none; }
.ro .fmeta details.fstart summary svg.i { color: var(--head); }
.ro .fmeta details.fstart:not([open]) summary span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.of-addr.ok svg.i { color: var(--ok-ink); } .of-addr.no svg.i { color: var(--warn-ink); }
.of-help { color: var(--text3); font-size: var(--fs-small); line-height: 1.4; display: flex; gap: 5px; align-items: center; } .of-help svg.i { width: 13px; height: 13px; flex: none; }
.of-f.bad .of-file, .of-f.bad .of-opt { border-color: var(--bad); }  /* a field takes app.css's aria-invalid edge */
/* kept only for gbpcreate.js:98 and :105 (.ro-in, .ro-pick inside .of-f) until the GBP lane moves them to .input */
.of-f .ro-in { width: 100%; height: 36px; color: var(--text); background: var(--bg); }
.of-f .ro-pick { width: 100%; height: 36px; border-radius: var(--r-ctl); background: var(--bg); } .of-f .ro-pick select { width: 100%; max-width: none; field-sizing: fixed; padding-left: 12px; border-radius: var(--r-ctl); }
.of-f.bad .ro-in, .of-f.bad .ro-pick { border-color: var(--bad); }
.of-err { display: flex; align-items: center; gap: 6px; color: var(--bad-ink); font-size: var(--fs-small); font-weight: 600; } .of-err svg.i { width: 14px; height: 14px; flex: none; }
/* a single choice: each option a box with its ring, the chosen one charcoal (a selection is never red) */
.of-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.of-opt { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: var(--ctl-h); padding: 6px 12px; border: 1px solid var(--line2); border-radius: var(--r-ctl); background: var(--raise); font-size: var(--fs-small); cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast); }
.of-opt:hover { background: var(--hover); border-color: var(--text3); }
.of-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.of-opt:has(input:focus-visible) { border-color: var(--blue); box-shadow: var(--ring); }
.of-opt i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--text3); flex: none; }
.of-opt.on { border-color: var(--head); background: var(--sel); font-weight: 600; } .of-opt.on i { border: 4px solid var(--head); }
.of-file { display: flex; align-items: center; gap: 8px; width: 100%; height: 40px; padding: 0 6px 0 12px; border: 1px dashed var(--line2); border-radius: var(--r-ctl); font-size: var(--fs-small); color: var(--text); text-align: left; min-width: 0; }
.of-file b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .of-file small { color: var(--text3); white-space: nowrap; } .of-file .icon { margin-left: auto; }
.of-file svg.i { width: 15px; height: 15px; color: var(--text3); flex: none; }
button.of-file { transition: background var(--t-fast), border-color var(--t-fast); } button.of-file:hover { background: var(--hover); border-color: var(--text3); }
.of-many { grid-column: 1 / -1; display: grid; gap: 10px; }
.of-files { display: grid; gap: 6px; }  /* a "multiple" file field: each upload, then its pick */
.of-files span.of-file { border-style: solid; }  /* an upload in; the dashed pick under it takes the next */
/* a section: its heading folds it, the arrow at the end; its count in its state's ink */
.of-sec + .of-sec { border-top: 1px solid var(--line); }
.of-sh { display: flex; align-items: center; gap: 10px; width: 100%; padding: 16px 0 10px; text-align: left; }
.of-sh b { font: 800 15px/1.3 var(--title); letter-spacing: -.01em; color: var(--head); }
.of-sh small { font-size: var(--fs-small); color: var(--text3); } .of-sh small.bad { color: var(--bad-ink); font-weight: 600; } .of-sh small.ok { color: var(--ok-ink); }
.of-sh svg.i { margin-left: auto; width: 14px; height: 14px; color: var(--text3); transform: rotate(-90deg); transition: transform var(--t-fast); } .of-sh[aria-expanded="false"] svg.i { transform: rotate(90deg); }
/* the meta's lines: what the panel filled in, folded to one line; what it could not find; the restored draft */
.ro .fmeta .of-pre { display: flex; align-items: flex-start; gap: 9px; width: 100%; text-align: left; color: var(--ok); font-size: var(--fs-small); line-height: 1.45; }
.ro .fmeta .of-pre svg.i { color: var(--ok); }
.of-pre span { flex: 1; color: var(--text2); } .of-pre span b { color: var(--ok-ink); font-weight: 600; }
.of-pre small { display: inline-flex; align-items: center; gap: 3px; color: var(--blue); font-weight: 600; font-size: var(--fs-small); }
.ro .fmeta .of-pre small svg.i { transform: rotate(90deg); width: 12px; height: 12px; color: var(--blue); margin: 0; transition: transform var(--t-fast); } .ro .fmeta .of-pre[aria-expanded="true"] small svg.i { transform: rotate(-90deg); }
.ro .fmeta .of-miss { color: var(--warn-ink); } .ro .fmeta .of-miss svg.i { color: var(--warn-ink); }
.ro .fmeta .of-draft { color: var(--wait-ink); } .ro .fmeta .of-draft svg.i { color: var(--wait); }
/* the foot: what still blocks Submit, the draft's save, Close and Submit; it never scrolls away */
.of-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 22px 14px; border-top: 1px solid var(--line); background: var(--raise); }
.of-sum { flex: 1 1 220px; display: flex; align-items: center; gap: 6px; margin: 0; color: var(--bad-ink); font-size: var(--fs-small); font-weight: 600; } .of-sum svg.i { width: 14px; height: 14px; flex: none; } .of-sum a { color: inherit; }
p.ro-bad.of-sum { flex-wrap: wrap; margin: 0; } .of-sum .btn { margin-left: 4px; }
.of-saved { display: inline-flex; align-items: center; gap: 5px; color: var(--text3); font-size: var(--fs-small); } .of-saved svg.i { width: 13px; height: 13px; color: var(--ok); }
.of-foot .btn, .of-foot .primary { white-space: nowrap; }
/* after Submit: the sent line, what started (the offboarding card's steps), the next booking */
.of-done { overflow: auto; padding: 18px 22px 0; display: grid; gap: 14px; align-content: start; }
.of-ok { display: flex; gap: 12px; align-items: center; } .of-ok > svg.i { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); flex: none; }
.of-ok b { display: block; font: 800 17px/1.3 var(--title); color: var(--head); } .of-ok small { color: var(--text3); font-size: var(--fs-small); }
.of-done .ro-steps { margin: 0; } .of-done > p { margin: 0; font-size: var(--fs-small); }
.of-next { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 12px; }
.of-nh { flex: 1 1 100%; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; } .of-nh > div { flex: 1 1 240px; }
.of-next b { display: block; font-weight: 600; } .of-next small { color: var(--text2); font-size: var(--fs-small); }
/* the next call's calendar in place: GoHighLevel's widget at its own height (its message, ownforms.js), a quiet wait
   line under it until it draws, "Open in a new tab" beside the heading */
.of-next.cal { padding: 14px 16px 16px; gap: 12px; }
.of-nh .btn.ghost { margin-left: auto; color: var(--blue); } .of-nh .btn.ghost svg.i { width: 14px; height: 14px; }
/* one button per CSM's calendar (ofWho): the form's own choice chips; the picked one stands as a picked answer */
.of-who { flex: 1 1 100%; } .of-who .of-opt svg.i { width: 15px; height: 15px; color: var(--text3); flex: none; }
.of-who .of-opt.on svg.i { color: var(--head); } .of-who .of-opt:focus-visible { border-color: var(--blue); box-shadow: var(--ring); outline: none; }
.of-next .of-you { padding: 1px 7px; border-radius: 999px; background: var(--chip); color: var(--text2); font-size: 11px; font-weight: 600; }
.of-cal { position: relative; flex: 1 1 100%; min-width: 0; border-radius: 10px; overflow: hidden; background: var(--chip); }
.of-wait { position: absolute; inset: 0 0 auto; display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0; padding: 48px 16px; color: var(--text3); font-size: var(--fs-small); }
.of-wait svg.i { width: 15px; height: 15px; } .of-cal.in .of-wait { display: none; }
#ro-form .fbox .of-cal iframe, #ro-form.full .fbox .of-cal iframe { grid-area: auto; display: block; width: 100%; height: 1000px; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; opacity: 0; transition: opacity var(--t-fast); }
#ro-form .fbox .of-cal.in iframe, #ro-form.full .fbox .of-cal.in iframe { opacity: 1; }
#ro-form.full .fbox.of-box.fin { height: 100%; min-height: 0; }  /* the tall calendar scrolls inside the done screen, the head stays */
@media (prefers-reduced-motion: reduce) { #ro-form .fbox .of-cal iframe, #ro-form.full .fbox .of-cal iframe { transition: none; } }
.of-done .ffoot { margin: 0 -22px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .of-grid { grid-template-columns: minmax(0, 1fr); } .of-f.half { grid-column: 1 / -1; }
  .of-body { padding: 4px 16px 20px; } .of-foot { padding: 10px 16px 12px; } .of-foot .of-saved:not(:has([data-of-again])) { display: none; }
  .of-foot .of-sum { flex-basis: 100%; } .of-foot .primary { flex: 1; }
  .of-opt { flex: 1 1 100%; min-height: 40px; } .of-f .input:not(.of-ta), .of-f .ro-in, .of-f .ro-pick { height: 40px; }
  .of-done { padding: 16px 16px 0; } .of-done .ffoot { margin: 0 -16px; }
  .ro .fbox.of-box, .ro .fbox.of-box.fin { height: 100%; max-height: none; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .of-sh svg.i, .ro .fmeta .of-pre small svg.i, .of-opt, button.of-file { transition: none; } }

.of-checks { min-width: 0; margin: 0; padding: 0; border: 0; }
.of-checks legend { padding: 0; margin-bottom: 7px; }
.of-checks .of-opt input { position: static; opacity: 1; width: 16px; height: 16px; margin: 0; pointer-events: auto; }
.of-checks .of-opt:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }

/* Full screen (ownforms.js ofFull): the sign-in page's composition, for the client on a call. A charcoal side in both
   themes (the logo, the form's title, the client, the form's parts, the sign-in art at its foot) beside the work on
   the page's ground: the form as one scroll, the foot always in view. The head's button: */
.ro .fhd .of-fs { flex: none; height: 32px; gap: 6px; padding: 0 10px; font-size: var(--fs-small); }
.of-fs svg.i { width: 15px; height: 15px; color: var(--text3); }
.of-fs kbd { font: 600 11px var(--mono); color: var(--text3); border: 1px solid var(--line2); border-radius: 5px; padding: 1px 5px; margin-left: 2px; }
.of-left { display: none; }
#ro-form.full { grid-template-columns: clamp(340px, 31vw, 460px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: stretch; background: var(--bg); z-index: 40; }
.of-side { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 0; padding: 32px 36px; background: var(--rail); color: #c9ced6; }
.of-side::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: url(/static/art/signin.webp?v=95018459ef65) center 70% / cover no-repeat; -webkit-mask: linear-gradient(transparent, #000 55%); mask: linear-gradient(transparent, #000 55%); opacity: .9; pointer-events: none; }
@media (max-height: 760px) { .of-side::after { height: 34%; } }  /* a 1280x720 shared screen: the art stays under the index */
.of-side > * { position: relative; z-index: 1; }
.of-brand { display: flex; align-items: center; gap: 11px; font: 800 19px/1 var(--title); letter-spacing: -.02em; color: #fff; }
.of-brand img { width: 40px; height: 40px; }
:root:not([data-logo="bare"]) .of-brand img { background: #fff; border-radius: 11px; padding: 4px; }  /* the logo's ground (app.css) */
.of-side h1 { margin: clamp(28px, 7vh, 56px) 0 0; font: 800 clamp(32px, 3vw, 42px)/1.06 var(--title); letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.of-for { margin: 14px 0 0; font-size: 17px; color: #a3a9b1; } .of-for b { color: #fff; font-weight: 600; }
.of-toc { margin-top: clamp(24px, 5vh, 40px); display: grid; gap: 2px; }
.of-toc button { display: flex; align-items: center; gap: 12px; padding: 9px 12px; margin: 0 -12px; border-radius: 9px; color: #a3a9b1; font-size: var(--fs-lead); font-weight: 500; text-align: left; transition: background var(--t-fast), color var(--t-fast); }
.of-toc button:hover { background: rgba(255,255,255,.05); color: #fff; }
.of-toc button[aria-current] { background: rgba(255,255,255,.08); color: #fff; font-weight: 600; }
.of-toc small { margin-left: auto; font-size: var(--fs-small); color: #8d949e; font-weight: 500; white-space: nowrap; }
.of-st { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #4a525c; display: grid; place-items: center; flex: none; }
.of-st.ok { background: var(--ok); border-color: var(--ok); color: #fff; } .of-st svg.i { width: 11px; height: 11px; stroke-width: 3; }
.of-toc button[aria-current] .of-st:not(.ok) { border-color: var(--red); box-shadow: inset 0 0 0 3px var(--rail), inset 0 0 0 9px var(--red); }
.full:has(.fin) .of-toc { display: none; }
/* the work: the head is a bar with Exit full screen; the CSM's lines (what Submit starts, filled in for you, the
   next-page note, Close) are hidden; a filled-in field the panel could not find still shows, alone */
#ro-form.full .fbox { width: auto; height: auto; max-height: none; border: 0; border-radius: 0; box-shadow: none; background: var(--bg); grid-template-rows: auto 0 auto minmax(0, 1fr); }
#ro-form.full .fbox.of-box { grid-template-rows: auto minmax(0, 1fr) auto; } #ro-form.full .fbox.of-box.fin { grid-template-rows: auto minmax(0, 1fr); }
#ro-form.full .fhd { justify-content: flex-end; align-items: center; padding: 18px 32px 6px; border: 0; }
#ro-form.full :is(.fhd .ftl, .fhd [data-ro-shut], .fhd a.icon, .fmeta, .of-foot [data-ro-shut]) { display: none; }
#ro-form.full .fhd .of-fs { height: 36px; padding: 0 12px; font-size: var(--fs-small); gap: 8px; border-radius: 9px; }
#ro-form.full .of-pregrid:not(:has(.ask)), #ro-form.full .of-pregrid > :not(.ask) { display: none; }
#ro-form.full .of-pregrid { border: 0; padding: 0 0 8px; }
.full .of-body { padding: 4px 32px 48px; }
.full .of-body > *, .full .of-done > * { width: min(780px, 100%); margin-inline: auto; }
.full .of-sec + .of-sec { border-top: 0; } .full .of-sec { scroll-margin-top: 8px; }
.full .of-sh { padding: 30px 0 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.full .of-sec:first-of-type .of-sh { padding-top: 14px; }
.full .of-sh b { font-size: 22px; letter-spacing: -.02em; } .full .of-sh small { font-size: var(--fs-small); }
.full .of-grid { gap: 22px 20px; padding: 0 0 14px; }
.full .of-l { font-size: var(--fs-body); } .full .of-l small { font-size: var(--fs-small); } .full .of-help, .full .of-err { font-size: var(--fs-small); }
.full .of-f .input { height: 46px; border-radius: 10px; padding: 0 14px; font-size: var(--fs-lead); }  /* a shared screen: the fields at a size the client reads */
.full .of-f .of-ta { min-height: 96px; padding: 11px 14px; font-size: var(--fs-lead); }
.full .of-opts { gap: 10px; } .full .of-opt { min-height: 46px; padding: 8px 16px; border-radius: 10px; background: var(--raise); font-size: var(--fs-body); gap: 10px; }
.full .of-opt i { width: 16px; height: 16px; } .full .of-opt.on { background: var(--sel); } .full .of-opt.on i { border-width: 5px; }
.full .of-file { height: 46px; border-radius: 10px; background: var(--raise); font-size: var(--fs-body); }
.full .of-foot { gap: 16px; padding: 14px 32px; }
.full .of-left { display: block; flex: 1 1 220px; margin: 0; font-size: var(--fs-body); color: var(--text2); } .full .of-left b { color: var(--head); font-weight: 600; }
.full .of-left svg.i { color: var(--ok); vertical-align: -3px; margin-right: 7px; }
.full .of-foot:has(.of-sum:not(:empty)) .of-left { display: none; }
.full .of-foot .primary { height: 46px; padding: 0 28px; border-radius: 10px; font-size: var(--fs-lead); }
.full .of-done { padding: 14px 32px 0; } .full .of-done .ffoot { width: auto; margin: 0 -32px; padding: 14px 32px; }
/* the Upsell: our target area and Ads answers as one card, GoHighLevel's form below as a card of its own */
#ro-form.full .farea { width: min(780px, calc(100% - 64px)); justify-self: center; margin-top: 6px; padding: 22px 24px; gap: 12px; border: 0; border-radius: var(--r-card); background: var(--raise); box-shadow: var(--card); }
.full .farea .fah b { font: 800 18px/1.3 var(--title); letter-spacing: -.02em; gap: 9px; } .full .farea .fah b svg.i { width: 16px; height: 16px; }
.full .farea .input { height: 46px; border-radius: 10px; padding: 0 14px; font-size: var(--fs-lead); } .full .farea .farow .btn { height: 46px; padding: 0 16px; border-radius: 10px; font-size: var(--fs-body); }
.full .farea .cf-ads { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
#ro-form.full .fbox iframe, #ro-form.full .fwait { width: min(780px, calc(100% - 64px)); justify-self: center; align-self: start; height: calc(100% - 40px); margin-top: 16px; border-radius: var(--r-card); box-shadow: var(--card); }
#ro-form.full .fwait { display: grid; place-items: center; background: var(--raise); } #ro-form.full .fbox.in .fwait { display: none; }
@media (max-width: 760px) {
  #ro-form.full { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .of-side { padding: 14px 16px; } .of-side::after, .of-toc { display: none; }
  .of-brand { font-size: var(--fs-lead); } .of-brand img { width: 30px; height: 30px; } :root:not([data-logo="bare"]) .of-brand img { border-radius: var(--r-ctl); padding: 3px; }
  .of-side h1 { margin-top: 12px; font-size: 22px; } .of-for { margin-top: 4px; font-size: var(--fs-body); }
  .full .of-body { padding: 4px 16px 24px; } .full .of-foot { padding: 10px 16px 12px; } #ro-form.full .fhd { padding: 10px 16px 4px; }
  #ro-form.full .farea, #ro-form.full .fbox iframe, #ro-form.full .fwait { width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) { .of-toc button { transition: none; } }

/* static/pages/ownforms.map.css */
/* Target circles editor, below the onboarding sheet's radius answer. */
.ro .of-body > .farea:has(.of-map-editor) { max-height: none; overflow: visible; }
.of-map-editor { margin: 12px 0 18px; padding: 14px; border: 1px solid var(--line, #dbe0e6); border-radius: 10px; }
.of-map-title { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.of-map-title small, .of-map-status { color: var(--muted); font-size: 13px; }
.of-map-search { display: grid; grid-template-columns: minmax(0, 1fr) 105px auto; align-items: end; gap: 8px; margin-bottom: 10px; }
.of-map-search label { display: grid; gap: 4px; font-size: 13px; }
.of-map-editor .input { width: 100%; min-width: 0; }
.of-map-canvas { height: clamp(210px, 32vh, 330px); isolation: isolate; border-radius: 8px; background: #e5edf0; color: #1a2830; }
.of-map-status { margin: 8px 0 0; }
.of-map-list { padding: 0; margin: 0; list-style: none; }
.of-map-list li { display: flex; align-items: center; gap: 8px; padding-top: 8px; flex-wrap: wrap; font-size: 13px; }
.of-map-point { flex: 1 1 170px; overflow-wrap: anywhere; }
.of-map-list label { display: flex; align-items: center; gap: 5px; }
.of-map-list label .input { width: 66px; }
@media (max-width: 560px) {
  .of-map-search { grid-template-columns: minmax(0, 1fr) auto; }
  .of-map-search label:first-child { grid-column: 1 / -1; }
  .of-map-point { flex-basis: 100%; }
}
