/* Atlas front end, Option D (20 Oct 2026), ported exactly from the approved prototype ("Atlas UI directions",
   project doc 19): same structure, sizes, spacing, colours and motion. Loaded after app.css and scoped to body.u,
   so pages not yet ported still render in the new shell. No inline styles (the CSP forbids them): sizes that
   depend on data arrive as data attributes and ui.js sets them through the CSSOM. */

@font-face { font-family: "Geist"; src: url("/static/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/static/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

body.u { --ease: cubic-bezier(.22, 1, .36, 1); --ease-in: cubic-bezier(.55, 0, 1, .45); --t-micro: 180ms; --t-move: 420ms; --t-enter: 640ms;
  margin: 0; background: #E4E5E8; color: #18181B; font-family: "Geist", system-ui, sans-serif; font-size: 13px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body.u a { color: #2563EB; text-decoration: none; } body.u a:hover { color: #1D4ED8; }
body.u .u-m { font-family: "Geist Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
body.u h1, body.u h2, body.u h3, body.u p { font-family: inherit; }
body.u :focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }

/* ---- the frame: grey page, one rounded shell holding the menu card and the page */
.u-frame { min-height: 100vh; box-sizing: border-box; padding: 16px; }
.u-shell { background: #F3F3F4; border-radius: 18px; display: flex; flex-wrap: wrap; min-height: calc(100vh - 32px); padding: 8px; box-sizing: border-box; gap: 8px; }
.u-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 6px 6px 16px; }
body.u main.u-main { max-width: none; margin: 0; width: auto; }
body.u .u-main > * { margin: 0; }

/* ---- the menu */
/* The menu stays on screen as the page scrolls and is never taller than the window, so its foot is always in reach
   (Ollie, 23 Oct 2026: "you have to scroll to get to the bottom"). Only the list scrolls, and only on a short window.
   Pill items with the open page in black, after Cadra's tabs (Ollie: "take some inspiration from cadra"). */
.u-nav { flex: 0 0 190px; box-sizing: border-box; padding: 10px 6px 8px; display: flex; flex-direction: column; gap: 1px; background: #FFFFFF; border: 1px solid #EDEDEF; border-radius: 12px;
  align-self: flex-start; position: sticky; top: 24px; height: auto; max-height: calc(100vh - 48px); animation: u-slide 520ms var(--ease) backwards; }
.u-navlist { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 2px; margin: 0 -2px; padding: 0 2px;
  scrollbar-width: thin; scrollbar-color: transparent transparent; }
.u-navlist:hover, .u-navlist:focus-within { scrollbar-color: #D4D4D8 transparent; }
.u-navlist::-webkit-scrollbar { width: 6px; } .u-navlist::-webkit-scrollbar-thumb { background: transparent; border-radius: 6px; }
.u-navlist:hover::-webkit-scrollbar-thumb { background: #D4D4D8; }
.u-navfoot { flex: none; display: flex; flex-direction: column; gap: 2px; margin-top: 10px; padding-top: 8px; border-top: 1px solid #F3F3F4; }
.u-brandrow { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 14px; }
.u-brand { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13.5px; color: #18181B !important; }
.u-mark { width: 18px; height: 18px; border-radius: 5px; border: 1.4px solid #18181B; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.u-mark svg { width: 10px; height: 10px; fill: none; stroke: #18181B; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.u-collapse { width: 24px; height: 24px; border: 1px solid #E4E4E7; background: #FFFFFF; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #71717A; padding: 0; cursor: pointer; }
.u-collapse svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.u-ws { margin: 0 2px 8px; }
.u-ws select { width: 100%; border: 1px solid #E4E4E7; border-radius: 8px; background: #FFFFFF; font: inherit; font-size: 12px; color: #18181B; padding: 5px 8px; }
.u-nv { display: flex; align-items: center; gap: 9px; padding: 0 10px; min-height: 32px; border-radius: 999px; text-decoration: none; font-size: 12.5px; color: #3F3F46 !important; transition: background-color .15s ease; }
.u-nv:hover { background: #ECECEE; }
.u-nv svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.u-nv.open { color: #18181B !important; font-weight: 500; }
.u-nv[aria-current="page"], .u-nv.kid[aria-current="page"] { background: #18181B; color: #FFFFFF !important; font-weight: 500; }
.u-nv.kid { padding: 0 10px 0 33px; min-height: 28px; font-size: 12px; color: #52525B !important; }
.u-navfoot .u-nv { min-height: 30px; }
.u-ng:not(.open):not(.is-peek) .u-ngk { display: none; } .u-ngk { display: grid; gap: 1px; } .u-ng { display: grid; gap: 1px; }
/* the old .side and button rules in app.css stay for the other pages; inside the new nav they're reset */
body.u nav.u-nav { margin: 0; }
body.u .u-nav button { min-height: 0; box-shadow: none; }
body.u .u-collapse { height: 24px; }
/* folded menu: icons only */
body.u-mini .u-nav { flex-basis: 52px; }
body.u-mini .u-nv { font-size: 0; justify-content: center; padding: 0; } body.u-mini .u-brand { font-size: 0; }
body.u-mini .u-brandrow { flex-direction: column; gap: 8px; padding: 2px 0 12px; }
body.u-mini .u-collapse svg { transform: rotate(180deg); }
body.u-mini .u-nv.kid, body.u-mini .u-ws, body.u-mini .u-status, body.u-mini .u-signout { display: none; }
.u-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 8px 10px 2px; margin-top: 4px; font-size: 11.5px; color: #71717A; }
.u-status i { width: 6px; height: 6px; border-radius: 9px; background: #22A55B; display: inline-block; }
.u-status .gap { color: #B42318 !important; } .u-status .gap i { background: #B42318; }
.u-status form { display: inline; margin: 0; }
body.u .u-status button, body.u .u-signout { width: auto; height: auto; border: 0; border-radius: 0; background: transparent; }
.u-status button, .u-status .u-ask { border: 0; background: transparent; padding: 0; font: inherit; font-size: 11.5px; color: #2563EB; cursor: pointer; }
.u-status select { border: 0; background: transparent; font: inherit; font-size: 11.5px; color: #52525B; padding: 0; }
.u-signout { border: 0; background: transparent; font: inherit; font-size: 11.5px; color: #71717A; text-align: left; padding: 2px 10px; cursor: pointer; }
.u-signout:hover { color: #18181B; }

/* ---- header: title, one line, pills on the right */
.u-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 6px 2px 4px; }
body.u .u-head { margin: 0; max-width: none; width: auto; } .u-head > div:first-child { flex: 1 1 0; min-width: 280px; } .u-pills { flex: none; display: flex; gap: 6px; }
.u-head h1 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.u-head p { margin: 2px 0 0; font-size: 12.5px; color: #52525B; max-width: 820px; }
.u-pills { display: flex; gap: 6px; position: relative; }
.u-pill-btn { display: flex; align-items: center; gap: 6px; border: 1px solid #E4E4E7; background: #FFFFFF; border-radius: 999px; padding: 0 12px; min-height: 30px; font: inherit; font-size: 12px; color: #18181B !important;
  cursor: pointer; list-style: none; transition: background-color var(--t-micro) ease; white-space: nowrap; }
.u-pill-btn::-webkit-details-marker { display: none; }
.u-pill-btn:hover { background: #F7F7F8; }
.u-pill-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.u-pill-btn svg.chev { width: 11px; height: 11px; stroke-width: 2; }
.u-pop { position: relative; }
.u-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 200px; max-width: calc(100vw - 24px); background: #FFFFFF; border: 1px solid #EDEDEF; border-radius: 12px; padding: 6px;
  box-shadow: 0 18px 40px rgba(24, 24, 27, .12); display: flex; flex-direction: column; gap: 1px; animation: u-pop 220ms var(--ease) both; }
.u-menu a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: 12.5px; color: #18181B !important; }
.u-menu a:hover { background: #F7F7F8; } .u-menu a[aria-current="true"] { background: #F1F1F3; font-weight: 500; }
.u-menu hr { border: 0; border-top: 1px solid #F3F3F4; margin: 4px 2px; }
.u-datestep { display: flex; gap: 4px; align-items: center; } .u-arr { padding: 0; width: 30px; justify-content: center; flex: none; } .u-arr svg { width: 14px; height: 14px; stroke-width: 2; } .u-arr.off { opacity: .4; }

/* ---- cards and grids */
body.u .u-main section { margin-block: 0; }
.u-c { background: #FFFFFF; border: 1px solid #EDEDEF; border-radius: 12px; min-width: 0; box-sizing: border-box; }
.u-p { padding: 14px 16px; } .u-pr { padding: 14px 14px 6px; }
.u-g { display: grid; gap: 8px; }
.u-k5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .u-k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.u-h2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.u-hr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr); }
.u-span2 { grid-row: span 2; }
.u-col { display: flex; flex-direction: column; }
.u-ct h2 { margin: 0; font-size: 12px; font-weight: 400; color: #52525B; }
.u-ct p { margin: 3px 0 0; font-size: 12.5px; }
.u-ct-h { margin: 0; font-size: 12px; font-weight: 400; color: #52525B; }
.u-row-sb { display: flex; justify-content: space-between; gap: 10px; }
.u-bigs { display: flex; flex-wrap: wrap; gap: 8px 16px; } /* wraps on phones: Sales' "heading for" pair ran the page 427px wide, so the orb sat off the edge (23 Oct 2026) */
.u-bigl { font-size: 11.5px; color: #52525B; display: flex; align-items: center; gap: 5px; }
.u-bigl i { width: 6px; height: 6px; border-radius: 9px; background: #2563EB; display: inline-block; } .u-bigl i.cmp { background: #C4C4CC; }
.u-bigv { font-size: 24px; font-weight: 500; white-space: nowrap; }
a.u-c { color: #18181B !important; text-decoration: none; } a.u-c:not(.u-cd) { display: block; }
.u-chg { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; border-radius: 5px; padding: 1px 5px; color: #52525B; background: #F1F1F3; white-space: nowrap; }
.u-chg.up { color: #156B3A; background: #DCF5E5; } .u-chg.down { color: #A1261F; background: #FDE3E1; }
.u-bigv .u-chg { vertical-align: 4px; }

/* ---- figure cards (KPI) */
.u-kpi { padding: 12px 14px; display: block; color: #18181B !important; }
.u-kpi-top { display: flex; justify-content: space-between; align-items: center; gap: 4px; font-size: 12px; color: #52525B; }
.u-kpi-mid { display: flex; align-items: center; gap: 6px; margin: 8px 0 4px; }
.u-kpi-v { font-size: 25px; font-weight: 500; }
.u-dot { width: 14px; height: 14px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; color: #FFFFFF; background: #22A55B; }
.u-dot.bad { background: #E5484D; }
.u-kpi-s { font-size: 12px; color: #52525B; }

/* ---- charts */
.u-chart { position: relative; margin-top: 12px; }
.u-chart svg { display: block; width: 100%; }
.u-chart .grid { stroke: #EDEDEF; stroke-dasharray: 3 4; }
.u-chart .cmp { fill: none; stroke: #C4C4CC; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.u-chart .now { fill: none; stroke: #2563EB; stroke-width: 2; vector-effect: non-scaling-stroke; }
.u-chart .area { fill: #2563EB; opacity: .07; }
.u-chart .cursor { stroke: #D4D4D8; vector-effect: non-scaling-stroke; }
.u-pt { position: absolute; width: 9px; height: 9px; margin-left: -4.5px; margin-top: -4.5px; border-radius: 9px; background: #2563EB; border: 2px solid #FFFFFF; box-shadow: 0 0 0 1px #2563EB; box-sizing: border-box; }
.u-tip { position: absolute; transform: translate(-50%, -100%); margin-top: -10px; background: #FFFFFF; border: 1px solid #E4E4E7; border-radius: 7px; padding: 4px 8px; font-size: 11px; white-space: nowrap; width: max-content; box-shadow: 0 4px 10px rgba(24, 24, 27, .06); }
.u-tip.tip-end { transform: translate(-100%, -100%); } .u-tip.tip-start { transform: translate(0, -100%); }
/* a point near the top of the chart: the label goes under it, so it never covers the totals above the chart */
.u-tip.tip-below { transform: translate(-50%, 0); margin-top: 10px; } .u-tip.tip-below.tip-end { transform: translate(-100%, 0); } .u-tip.tip-below.tip-start { transform: translate(0, 0); }
.u-tip div:first-child { color: #71717A; } .u-tip div:last-child { font-weight: 500; }
.u-xlab { display: flex; justify-content: space-between; font-size: 11px; color: #71717A; margin-top: 6px; }
.u-funnel { display: flex; align-items: flex-end; gap: 2px; height: 120px; margin-top: 14px; }
.u-funnel span { flex: 1; border-radius: 2px; min-height: 3px; background: #E4E4E7; height: 0; }
.u-funnel span.on { background: #2563EB; }
.u-stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 8px; font-size: 11px; color: #71717A; }
.u-stages b { display: block; color: #18181B; font-size: 12.5px; font-weight: 400; }
.u-foot { font-size: 11px; color: #71717A; margin-top: 6px; }
.u-asof { margin: -4px 0 12px; font-size: 11.5px; color: #71717A; } .u-asof-old { color: #92400E; }
.u-conv { text-align: right; } .u-conv span { font-size: 11.5px; color: #52525B; display: block; } .u-conv b { font-size: 24px; font-weight: 500; }

/* ---- Ready for you */
.u-rhead { display: flex; justify-content: space-between; align-items: center; }
.u-count { font-size: 11px; background: #18181B; color: #FFFFFF; border-radius: 5px; padding: 0 6px; }
.u-feed { display: flex; gap: 9px; padding: 10px 0; border-bottom: 1px solid #F3F3F4; color: #18181B !important; }
.u-feed > i { width: 7px; height: 7px; flex: none; margin-top: 4px; border-radius: 9px; background: #2563EB; }
.u-feed > i.marketing, .u-feed > i.ads { background: #8B5CF6; } .u-feed > i.stock { background: #D97706; } .u-feed > i.seo { background: #22A55B; } .u-feed > i.profit, .u-feed > i.data { background: #E5484D; }
.u-feed > span { display: flex; flex: 1 1 auto; flex-direction: column; gap: 1px; min-width: 0; }
.u-feed .meta { display: flex; justify-content: space-between; font-size: 11px; color: #71717A; }
.u-feed .t { font-size: 12.5px; font-weight: 500; line-height: 1.35; }
.u-feed .n { font-size: 11.5px; color: #2563EB; }
.u-ask { margin-top: auto; display: flex; align-items: center; gap: 6px; border: 1px solid #E4E4E7; border-radius: 9px; padding: 3px 3px 3px 10px; margin-bottom: 8px; cursor: text; }
.u-ask svg.spark { width: 12px; height: 12px; fill: none; stroke: #2563EB; stroke-width: 2; stroke-linejoin: round; flex: none; }
.u-ask input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 12px; background: transparent; }
.u-ask button { width: 26px; height: 26px; min-height: 0; padding: 0; flex: none; border: 0; border-radius: 7px; background: #18181B; color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.u-ask button svg { width: 11px; height: 11px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---- gauge (where the year is heading) and the profit bars */
.u-gauge { position: relative; flex: 1; min-height: 130px; display: flex; justify-content: center; align-items: flex-end; }
.u-gauge svg { position: absolute; bottom: 4px; fill: none; stroke-width: 9; stroke-linecap: round; }
.u-gauge.s { min-height: 120px; } .u-gauge.s svg { bottom: 2px; } .u-gauge.s > div { padding-bottom: 6px; } .u-gauge.s .u-gv { font-size: 24px; } .u-gauge.s .u-gs { font-size: 11px; }
.u-gauge .trk { stroke: #EDEDEF; } .u-gauge .val { stroke: #2563EB; }
.u-gauge > div { position: relative; text-align: center; padding-bottom: 8px; }
.u-gauge .u-gv { font-size: 26px; font-weight: 500; } .u-gauge .u-gs { font-size: 11.5px; color: #71717A; }
.u-line2 { display: flex; justify-content: space-between; border-top: 1px solid #F3F3F4; padding-top: 9px; font-size: 12px; }
.u-line2 > span:first-child { color: #52525B; }
.u-bad { color: #A1261F; } .u-good { color: #156B3A; }
.u-kept { font-size: 24px; font-weight: 500; }
.u-wf { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; font-size: 12px; }
.u-wf > div { display: grid; grid-template-columns: 90px 1fr 52px; gap: 8px; align-items: center; }
.u-wf > div > span:first-child { color: #52525B; } .u-wf > div.total > span:first-child { color: #18181B; }
.u-wf .bar { position: relative; height: 7px; }
.u-wf .bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: #18181B; }
.u-wf .bar i.minus { background: #F2A9A5; } .u-wf .bar i.kept { background: #2563EB; }
.u-wf b { text-align: right; font-weight: 400; }
.u-warn { margin-top: auto; padding-top: 10px; font-size: 11.5px; color: #92400E !important; }

/* ---- Sales (and any page that keeps its side panels: the wrapper is dash.js's root) */
.u-page { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.u-page > * { animation: u-rise var(--t-enter) var(--ease) backwards; }
.u-page > *:nth-child(2) { animation-delay: 70ms; } .u-page > *:nth-child(3) { animation-delay: 140ms; } .u-page > *:nth-child(4) { animation-delay: 210ms; }
.u-page > *:nth-child(5) { animation-delay: 280ms; } .u-page > *:nth-child(6) { animation-delay: 350ms; } .u-page > *:nth-child(n+7) { animation-delay: 420ms; }
.u-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.u-chip { display: flex; align-items: center; gap: 6px; border: 1px solid #E4E4E7; background: #FFFFFF; border-radius: 999px; padding: 0 12px; min-height: 28px; font-size: 12px; color: #3F3F46 !important; text-decoration: none; }
.u-chip.on { border-color: #18181B; background: #18181B; color: #FFFFFF !important; } .u-chip.lab { padding: 0 10px; color: #18181B !important; }
.u-chip svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
button.u-kpi { width: 100%; text-align: left; font: inherit; cursor: pointer; }
.u-click { cursor: pointer; transition: border-color .15s ease; } .u-click:hover { border-color: #DCDCE0; }
.u-right { text-align: right; } .u-dim { color: #52525B; } .small { font-size: 11.5px; }
.u-row-sb.wrap { flex-wrap: wrap; }
.u-cols { display: flex; align-items: flex-end; gap: 3px; height: 150px; margin-top: 14px; }
.u-cols span { flex: 1; border-radius: 3px; min-height: 4px; height: 0; background: #E4E4E7; transform-origin: bottom; animation: u-growy 640ms var(--ease) both; }
.u-cols span.on { background: #2563EB; }
.u-chart .now.dash { stroke-dasharray: 6 4; }
.u-gap4 { margin-bottom: 4px !important; } .u-gap10 { margin-bottom: 10px; }
.u-unit { font-family: "Geist", system-ui, sans-serif; font-size: 11.5px; color: #71717A; letter-spacing: 0; }
.u-split { display: flex; gap: 3px; height: 6px; margin-bottom: 12px; } .u-split.thin { height: 5px; gap: 4px; margin: 16px 0 6px; }
.u-split i { flex: 1; border-radius: 9px; background: #2563EB; }
.t1 { --tone: #2563EB; } .t2 { --tone: #60A5FA; } .t3 { --tone: #A5B4FC; } .ink { --tone: #18181B; }
.c1 { --tone: #3B82F6; } .c2 { --tone: #14B8A6; } .c3 { --tone: #D97706; } .c4 { --tone: #8B5CF6; } .c5 { --tone: #DB2777; } .c0 { --tone: #D4D4D8; }
.u-split i[class], .u-rows i[class], .u-t i[class] { background: var(--tone, #2563EB); }
.u-rows { display: flex; flex-direction: column; gap: 7px; font-size: 12px; }
.u-rows > div { display: flex; justify-content: space-between; gap: 8px; } .u-rows > div > span:first-child { display: flex; align-items: center; gap: 6px; }
.u-rows i { width: 7px; height: 7px; border-radius: 9px; flex: none; }
.u-line2.flat { border-top: 0; padding-top: 4px; }
.u-pw { padding: 16px 18px; }
.u-stores { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 12px; } .u-bigv.l { font-size: 26px; }
.u-tw { overflow-x: auto; }
.u-t { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 520px; }
.u-t th, .u-t td { font-weight: 400; font-size: 12px; color: #18181B; padding: 8px 0; text-align: left; background: none; border: 0; } .u-t thead th { color: #52525B; }
.u-t tbody tr { border-top: 1px solid #F3F3F4; cursor: pointer; } .u-t tbody tr:hover { background: #FAFBFC; }
.u-t th span { display: flex; align-items: center; gap: 8px; } .u-t i { width: 7px; height: 7px; border-radius: 9px; flex: none; }

/* ---- tones (stage, source, severity) */
.purple { --tone: #8B5CF6; } .red { --tone: #E5484D; } .amber { --tone: #D97706; } .teal { --tone: #14B8A6; } .green { --tone: #22A55B; } .blue { --tone: #2563EB; } .grey { --tone: #A1A1AA; }

/* ---- Orders */
.u-note { margin: 0; font-size: 12px; color: #52525B; background: #FFFFFF; border: 1px solid #EDEDEF; border-radius: 12px; padding: 10px 14px; }
.u-pipe { padding: 6px; display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 4px; }
.u-pipe a { display: flex; flex-direction: column; gap: 6px; border-radius: 9px; padding: 10px 12px; color: #18181B !important; text-decoration: none; transition: background-color .15s ease; }
.u-pipe a:hover { background: #FAFAFA; } .u-pipe a[aria-current="true"] { background: #F4F4F5; box-shadow: inset 0 0 0 1px #E4E4E7; }
.u-pipe .n { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #52525B; } .u-pipe .n i { width: 7px; height: 7px; border-radius: 9px; background: var(--tone, #18181B); flex: none; }
.u-pipe b { font-size: 20px; font-weight: 500; font-family: "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; } .u-pipe small { font-size: 11px; color: #71717A; margin-top: -4px; } .u-pipe .bar { display: block; height: 3px; border-radius: 9px; background: #F1F1F3; overflow: hidden; }
.u-pipe .bar i { display: block; height: 100%; min-width: 3%; border-radius: 9px; background: var(--tone, #18181B); width: 0; }
.ink { --tone: #18181B; }
.u-split2 { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.u-feedcard { flex: 999 1 620px; min-width: 0; overflow: hidden; }
.u-fh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px 10px; }
.u-fh h2, .u-lh h2 { margin: 0; font-size: 14px; font-weight: 500; } .u-fh p { margin: 1px 0 0; font-size: 12px; color: #71717A; }
.u-search { display: flex; align-items: center; gap: 7px; background: #F4F4F5; border-radius: 9px; padding: 0 12px; min-height: 34px; width: 240px; box-sizing: border-box; margin: 0; }
.u-search svg { width: 13px; height: 13px; fill: none; stroke: #71717A; stroke-width: 2; stroke-linecap: round; flex: none; }
body.u .u-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 12.5px; background: transparent; padding: 0; min-height: 0; box-shadow: none; }
.u-orows { display: flex; flex-direction: column; padding: 0 8px 8px; }
body.u .u-orow { box-shadow: none; display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(0, .8fr) 92px 112px; gap: 14px; align-items: center; padding: 10px 8px; border: 0; border-radius: 10px; background: transparent; color: #18181B; text-align: left; font: inherit; cursor: pointer; width: 100%; min-height: 0; transition: background-color .15s ease; }
body.u .u-orow:hover { background: #FAFBFC; }
.u-thumb { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--tone); background: color-mix(in srgb, var(--tone) 8%, transparent); }
.u-o1, .u-o2, .u-o3 { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.u-o1 b { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-o1 small { font-size: 11.5px; color: #71717A; display: flex; gap: 8px; align-items: center; }
.u-o2 { font-size: 12px; } .u-o2 > span { display: flex; align-items: center; gap: 6px; } .u-o2 i { width: 6px; height: 6px; border-radius: 9px; background: var(--tone); flex: none; }
.u-o2 small { font-size: 11px; color: #71717A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-o3 { text-align: right; } .u-o3 b { font-size: 13px; font-weight: 500; } .u-o3 small { font-size: 11px; color: #71717A; }
.u-o4 { display: flex; justify-content: flex-end; }
.u-stage { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: #3F3F46; background: #F4F4F5; border-radius: 999px; padding: 3px 10px 3px 8px; white-space: nowrap; }
.u-stage i { width: 6px; height: 6px; border-radius: 9px; background: var(--tone); }
.u-empty { padding: 28px; text-align: center; font-size: 12.5px; color: #71717A; margin: 0; }
.u-ff { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-top: 1px solid #F3F3F4; font-size: 12px; color: #71717A; }
.u-pager { display: flex; gap: 6px; } .u-pager > * { width: 28px; height: 28px; border: 1px solid #E4E4E7; background: #FFFFFF; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #52525B !important; text-decoration: none; }
.u-pager span { color: #D4D4D8 !important; }
.u-look { flex: 1 1 280px; max-width: 340px; padding: 14px 14px 8px; }
.u-lh { display: flex; justify-content: space-between; align-items: baseline; } .u-lh span { font-size: 12px; color: #71717A; }
.u-look > .u-foot { margin: 2px 0 10px; }
body.u .u-chk { box-shadow: none; display: flex; align-items: center; gap: 10px; padding: 9px 8px; margin: 0 -6px; width: calc(100% + 12px); border: 0; border-radius: 10px; background: transparent; color: #18181B; text-align: left; font: inherit; cursor: pointer; min-height: 0; }
body.u .u-chk:hover { background: #FAFBFC; }
.u-chk > span { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.35; } .u-chk small { font-size: 11px; color: #71717A; }
.u-chk svg { width: 14px; height: 14px; fill: none; stroke: #A1A1AA; stroke-width: 2; stroke-linecap: round; flex: none; }
.u-badge { width: 28px; height: 28px; flex: none; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 500; color: var(--tone); background: color-mix(in srgb, var(--tone) 10%, transparent); }
.u-btn, body.u button.u-btn { display: flex; align-items: center; justify-content: center; flex: 1; border: 0; background: #18181B; color: #FFFFFF !important; border-radius: 10px; min-height: 42px; padding: 0 16px; font: inherit; font-size: 13.5px; font-weight: 500; text-decoration: none; cursor: pointer; width: 100%; }
body.u .u-col > .u-btn { flex: none; } body.u .u-c .u-m.u-badge { display: flex; } body.u .u-btn.wide { margin-top: 8px; min-height: 36px; border-radius: 9px; font-size: 12.5px; }
body.u .u-btn2 { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 1px solid #E4E4E7; background: #FFFFFF; color: #18181B; border-radius: 10px; padding: 0 16px; min-height: 42px; font: inherit; font-size: 13.5px; cursor: pointer; }
.u-grow { flex: 1; display: flex; margin: 0; }

/* ---- segmented switch: the white pill slides to the chosen option (ui.js) */
.u-seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #F1F1F3; border-radius: 9px; padding: 2px; height: fit-content; isolation: isolate; }
.u-seg-pill { position: absolute; top: 2px; bottom: 2px; left: 2px; border-radius: 7px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(24, 24, 27, .08), 0 1px 6px rgba(24, 24, 27, .05); transition: transform 420ms var(--ease), width 420ms var(--ease); z-index: -1; }
.u-seg > a, .u-seg > button { position: relative; border: 0; background: transparent; border-radius: 7px; padding: 0 12px; min-height: 28px; display: flex; align-items: center; justify-content: center; font: inherit; font-size: 12px; color: #52525B !important; white-space: nowrap; text-decoration: none; cursor: pointer; }
.u-seg > [aria-current="true"], .u-seg > [aria-pressed="true"] { color: #18181B !important; font-weight: 500; }
.u-seg:not(.js) > [aria-current="true"] { background: #FFFFFF; box-shadow: 0 1px 2px rgba(24, 24, 27, .08); }

/* ---- Products */
.u-imp { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 12px 16px; }
.u-logo { width: 34px; height: 34px; border-radius: 9px; background: #18181B; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; letter-spacing: .06em; flex: none; }
.u-imp .t { display: flex; flex-direction: column; gap: 1px; min-width: 200px; } .u-imp .t b { font-size: 13px; font-weight: 500; } .u-imp .t small { font-size: 11.5px; color: #71717A; }
.u-impbar { flex: 1; min-width: 160px; height: 4px; background: #F1F1F3; border-radius: 9px; overflow: hidden; } .u-impbar i { display: block; height: 100%; width: 0; background: #22A55B; border-radius: 9px; transition: width 820ms var(--ease); }
.u-imp .n { font-size: 12px; color: #52525B; min-width: 120px; text-align: right; }
.u-shop { display: flex; flex-direction: column; gap: 10px; } .u-shop h2 { margin: 0; font-size: 15px; font-weight: 500; } .u-shop > .u-row-sb { padding: 4px 2px 0; align-items: center; }
.u-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.u-pcard { padding: 8px; cursor: pointer; display: flex; flex-direction: column; }
.u-stage-art { position: relative; height: 210px; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(160deg, #F6F1EA, #EEE6DA); }
.u-stage-art.tablet, .u-stage-art.notion { background: linear-gradient(160deg, #EEF3FF, #E3EAFB); } .u-stage-art.pad { background: linear-gradient(160deg, #F4F4F5, #ECECEE); }
.u-stage-art .tag { position: absolute; top: 10px; left: 10px; font-size: 10.5px; font-weight: 500; background: #FFFFFF; color: #18181B; border-radius: 999px; padding: 2px 8px; box-shadow: 0 1px 2px rgba(24, 24, 27, .08); z-index: 1; }
.u-stage-art .book { position: relative; width: 112px; height: 150px; border-radius: 4px 9px 9px 4px; background: #27272A; box-shadow: 0 16px 30px rgba(0, 0, 0, .18), 0 2px 4px rgba(0, 0, 0, .12); display: flex; align-items: center; justify-content: center; }
.u-stage-art .book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; background: rgba(0, 0, 0, .18); border-radius: 4px 0 0 4px; }
.u-stage-art .book::after { content: ""; position: absolute; right: 14px; top: 0; bottom: 0; width: 5px; background: rgba(0, 0, 0, .22); }
.u-stage-art .u-lbl { border: 1px solid rgba(232, 200, 120, .8); color: rgba(232, 200, 120, .95); font: 500 11px/1.1 Georgia, serif; letter-spacing: .08em; padding: 7px 8px; text-align: center; }
.u-stage-art .yr { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: 7px; letter-spacing: .2em; color: rgba(232, 200, 120, .9); }
.u-stage-art .tab, .u-stage-art .tablet { width: 112px; height: 150px; border-radius: 14px; background: #18181B; padding: 7px; box-sizing: border-box; box-shadow: 0 16px 30px rgba(0, 0, 0, .18), 0 2px 4px rgba(0, 0, 0, .12); display: block; }
.u-stage-art .tab { position: absolute; width: 70px; height: 96px; border-radius: 9px; padding: 5px; right: calc(50% - 92px); bottom: 22px; }
.u-stage-art .tablet i, .u-stage-art .tab::before { display: block; height: 100%; border-radius: 8px; background: repeating-linear-gradient(#FFFFFF 0 9px, #E4E4E7 9px 10px); }
.u-stage-art .tab::before { content: ""; border-radius: 5px; }
.u-stage-art .pad { width: 150px; height: 112px; background: #FFFFFF; border-radius: 4px; box-shadow: 0 14px 26px rgba(0, 0, 0, .14), 0 2px 4px rgba(0, 0, 0, .08); padding: 14px 12px 10px; box-sizing: border-box; border-top: 8px solid #3F3F46; display: block; }
.u-stage-art .pad i { display: block; height: 100%; background: repeating-linear-gradient(#FFFFFF 0 8px, #E4E4E7 8px 9px); }
.u-stage-art .box { position: relative; width: 120px; height: 120px; border-radius: 14px; background: linear-gradient(160deg, #FFFFFF, #F1F1F3); box-shadow: 0 14px 26px rgba(0, 0, 0, .12), 0 0 0 1px #E4E4E7; display: flex; align-items: center; justify-content: center; }
.u-stage-art .box .u-lbl { border-color: #D4D4D8; color: #52525B; font-family: inherit; }
.u-stage-art.box { background: linear-gradient(160deg, #F4F4F5, #ECECEE); }
.u-stage-art .win { width: 160px; height: 112px; background: #FFFFFF; border-radius: 9px; box-shadow: 0 14px 26px rgba(0, 0, 0, .12), 0 0 0 1px #E4E4E7; overflow: hidden; display: block; border-top: 16px solid #F4F4F5; }
.u-stage-art .win i { display: grid; height: 100%; background: linear-gradient(90deg, #F4F4F5 0 22%, transparent 22%), linear-gradient(#EEF3FF 0 45%, #FEF3C7 45%); margin: 8px; border-radius: 4px; height: calc(100% - 16px); }
.u-pinfo { display: flex; flex-direction: column; gap: 6px; padding: 12px 4px 4px; flex: 1; }
.u-pinfo .nm { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13.5px; font-weight: 500; }
.u-pinfo .sub { font-size: 11.5px; color: #71717A; }
.u-sw { display: flex; gap: 6px; margin-top: 2px; flex-wrap: wrap; } .u-sw span { width: 18px; height: 18px; border-radius: 9px; background: #D4D4D8; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.u-sw span.on { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3.5px #18181B; }
.u-pinfo .stat { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 9px; border-top: 1px solid #F3F3F4; font-size: 12px; color: #52525B; }
.u-pinfo .stat .u-m { font-size: 11px; border-radius: 5px; padding: 1px 5px; color: #156B3A; background: #DCF5E5; white-space: nowrap; }
.u-pinfo .stat .down { color: #A1261F; background: #FDE3E1; } .u-pinfo .stat .new { color: #156B3A; background: #DCF5E5; }
.u-pr2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.u-pw2 { padding: 18px 20px; } .u-ct p.big { font-size: 14px; }
.u-legend { display: flex; gap: 14px; font-size: 11.5px; color: #52525B; } .u-legend span { display: flex; align-items: center; gap: 5px; }
.u-legend i { width: 8px; height: 8px; border-radius: 3px; background: #2563EB; } .u-legend i.k0 { background: #D4D4D8; }
.u-top { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.u-top > div { display: grid; grid-template-columns: 14px 150px minmax(0, 1fr) 64px 58px; gap: 10px; align-items: center; font-size: 12.5px; }
.u-top > div > i { width: 12px; height: 12px; border-radius: 4px; background: #D4D4D8; }
.u-top a, .u-top > div > span:nth-child(2) { color: #18181B !important; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-top .bars { display: flex; flex-direction: column; gap: 2px; } .u-top .bars b, .u-top .bars s { display: block; height: 6px; border-radius: 9px; background: #2563EB; width: 0; transform-origin: 0 50%; animation: u-growx 820ms var(--ease) 200ms backwards; }
.u-top .bars s { height: 4px; background: #D4D4D8; }
.u-top .v { text-align: right; } .u-top .d { text-align: right; font-size: 11px; } .u-top .d.up { color: #156B3A; } .u-top .d.down { color: #A1261F; }
@keyframes u-growx { from { transform: scaleX(0); } to { transform: none; } }
.u-looks { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.u-lk { display: flex; align-items: center; gap: 12px; padding: 9px 6px; margin: 0 -6px; border-radius: 10px; color: #18181B !important; text-decoration: none; }
.u-lk:hover { background: #FAFBFC; } .u-lk .u-badge { width: auto; min-width: 38px; height: 38px; padding: 0 6px; border-radius: 10px; font-size: 12px; }
.u-lk > span { display: flex; flex-direction: column; min-width: 0; font-size: 13px; } .u-lk small { font-size: 11.5px; color: #71717A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-more { margin-top: auto; padding-top: 14px; font-size: 12.5px; color: #2563EB !important; text-decoration: none; }

/* ---- Customers */
.pale { --tone: #C7D7FE; } .u-legend i.k2 { background: #93B4FD; }
.u-c2 { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
/* who they are, by sex and age (217, ui/demographics.ts) */
.u-dm { display: flex; flex-direction: column; gap: 8px; } .u-months.u-ages { height: 130px; margin-top: 18px; }
.u-dm-why { display: block; margin-top: 4px; } .u-dm-why b { font-weight: 500; }
.u-months { display: flex; align-items: flex-end; gap: 8px; height: 190px; margin-top: 24px; padding-bottom: 14px; border-bottom: 1px solid #F3F3F4; }
.u-months > span { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 5px; font-size: 10.5px; color: #71717A; min-width: 0; }
.u-months i { width: 100%; border-radius: 4px 4px 2px 2px; background: #E4E4E7; height: 0; min-height: 4px; transform-origin: bottom; animation: u-growy 640ms var(--ease) backwards; }
.u-months .next i { background: #93B4FD; } .u-months .on i { background: #2563EB; } .u-months .on small { color: #2563EB; font-weight: 600; }
.u-months b { font-weight: 400; font-size: 11px; white-space: nowrap; }
.u-months .now::before { content: ""; position: absolute; top: 4px; bottom: 22px; left: 50%; border-left: 1px dashed #18181B; }
.u-months em { position: absolute; top: -14px; left: 50%; transform: translateX(-30%); font-style: normal; font-size: 10.5px; color: #FFFFFF; background: #18181B; border-radius: 4px; padding: 1px 6px; z-index: 1; }
.u-pw2 .u-legend { margin-top: 14px; }
.u-split.mt { margin: 22px 0 18px; height: 10px; } .u-split.mt i { border-radius: 3px; min-width: 6px; }
.u-rows.big { gap: 16px; font-size: 12.5px; } .u-rows.big i { width: 8px; height: 8px; border-radius: 2px; }
.u-end, body.u .u-btn.u-end { margin-top: auto; } .u-end { padding-top: 16px; } body.u .u-btn.u-end { margin-top: auto; }
.u-due { display: flex; align-items: flex-end; gap: 14px; height: 190px; margin-top: 18px; }
.u-due > a { flex: 1; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; height: 100%; gap: 6px; text-align: center; color: #71717A !important; text-decoration: none; font-size: 11px; }
.u-due small { font-size: 12px; color: #18181B; } .u-due b { font-weight: 400; } .u-due .late b { color: #B42318; }
.u-due .stack { display: flex; flex-direction: column; gap: 2px; height: 0; min-height: 6px; transform-origin: bottom; animation: u-growy 640ms var(--ease) backwards; }
.u-due .stack i { display: block; min-height: 3px; background: #93B4FD; border-radius: 2px; } .u-due .stack i.a { background: #2563EB; border-radius: 4px 4px 2px 2px; }
.u-due .late .stack i.a { background: #E5484D; } .u-due .late .stack i.b { background: #F7A9A5; }
.u-seasons { gap: 6px; } .u-seasons b { font-size: 10.5px; }
.u-h14 { margin: 0; font-size: 14px; font-weight: 500; } .u-lnk { font-size: 12.5px; color: #2563EB !important; text-decoration: none; }
.u-grps { margin-top: 10px; }
.u-grp { display: grid; grid-template-columns: minmax(0, 2.4fr) 70px 70px 120px 110px minmax(120px, 1fr); gap: 12px; align-items: center; padding: 10px 0; }
.u-grp + .u-grp { border-top: 1px solid #F7F7F8; }
.u-grp .n { display: flex; flex-direction: column; min-width: 0; } .u-grp .n b { font-size: 13px; font-weight: 500; } .u-grp .n small { font-size: 11.5px; color: #71717A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-grp .c, .u-grp .s { text-align: right; font-size: 12.5px; } .u-grp .w { font-size: 12px; color: #52525B; } .u-grp .a { display: flex; justify-content: flex-end; }
.u-pilltag { align-self: flex-start; line-height: 1.5; font-size: 11px; border-radius: 999px; padding: 2px 8px; background: #F4F4F5; color: #52525B; white-space: nowrap; } .u-pilltag.late { background: #FEF2F2; color: #B42318; }
body.u .u-btn.sm, body.u .u-btn2.sm { min-height: 30px; padding: 0 12px; font-size: 12px; border-radius: 8px; width: auto; flex: none; }

/* ---- the old pages' header, until each is ported: the prototype's title and one line */
body.u .page-head:not(.u-head) { margin: 0; padding: 6px 2px 4px; max-width: none; }
body.u .page-head:not(.u-head) .page-name, body.u .page-head:not(.u-head) h1.lede:first-child { margin: 0; font: 500 22px/1.25 "Geist", system-ui, sans-serif; letter-spacing: -0.02em; color: #18181B; }
body.u .page-head:not(.u-head) .page-name + h1.lede, body.u .page-head:not(.u-head) .intro { margin: 2px 0 0; font: 400 12.5px/1.5 "Geist", system-ui, sans-serif; letter-spacing: 0; color: #52525B; max-width: 820px; }

/* ---- Promotions */
.u-gap16 { gap: 16px; } .u-big26 { margin: 4px 0 0; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.u-mk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: #3F3F46; }
.u-mk .t { font-size: 11px; font-weight: 500; background: #F4F4F5; border-radius: 6px; padding: 2px 7px; }
.k { font-size: 11px; font-weight: 500; border-radius: 6px; padding: 2px 7px; color: #52525B; background: #F4F4F5; } .k.big { color: #1D4ED8; background: #EEF3FF; }
.u-cd.big { display: block; padding: 0; } .u-cd.big .units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.u-cd.big .units > span { border-radius: 14px; padding: 14px 10px 12px; } .u-cd.big .units b { font-size: 38px; letter-spacing: -0.03em; line-height: 1; } .u-cd.big .units small { font-size: 11.5px; margin-top: 6px; }
.u-tl li.done i { background: #22A55B; } .u-tl li.done b { color: #52525B; font-weight: 400; }
.u-acts { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.u-picks { display: flex; flex-wrap: wrap; gap: 6px; } .u-picks span { display: flex; align-items: center; gap: 6px; border: 1px solid #E4E4E7; border-radius: 999px; padding: 0 12px; min-height: 32px; font-size: 12.5px; }
.u-picks span.on { border-color: #2563EB; box-shadow: inset 0 0 0 1px #2563EB; background: #F7F9FF; } .u-picks small { font-size: 10.5px; color: #2563EB; }
.u-own { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #F4F4F5; font-size: 13px; }
.u-own > span:first-child { display: flex; flex-direction: column; } .u-own small { font-size: 11.5px; color: #71717A; } .u-own .u-m { font-size: 12px; color: #52525B; white-space: nowrap; }
.u-track { position: relative; height: 46px; margin-top: 18px; }
.u-track .line { position: absolute; left: 0; right: 0; top: 18px; height: 4px; border-radius: 9px; background: #F1F1F3; }
.u-track i { position: absolute; top: 15px; width: 10px; height: 10px; margin-left: -5px; border-radius: 9px; background: #A1A1AA; box-shadow: 0 0 0 2px #FFFFFF; }
.u-track i.big { background: #2563EB; } .u-track i.on { background: #18181B; width: 14px; height: 14px; top: 13px; margin-left: -7px; }
.u-track small { position: absolute; top: 30px; font-size: 11px; color: #71717A; }
.u-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; margin-top: 10px; }
.u-dates a { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; border: 1px solid #EDEDEF; border-radius: 12px; padding: 12px; background: #FAFAFA; color: #18181B !important; text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.u-dates a:hover { background: #FFFFFF; } .u-dates a.on { border-color: #2563EB; box-shadow: inset 0 0 0 1px #2563EB; background: #F7F9FF; }
.u-dates .top { display: flex; justify-content: space-between; align-items: baseline; width: 100%; } .u-dates .top b { font-size: 22px; font-weight: 500; } .u-dates .top small, .u-dates > a > small { font-size: 11px; color: #71717A; }
.u-dates > a > b { font-size: 13px; font-weight: 500; } .u-dates .when { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 11.5px; color: #52525B; }
.u-ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin-top: 14px; }
body.u .u-idea { box-shadow: none; display: flex; flex-direction: column; gap: 6px; align-items: stretch; text-align: left; border: 1px solid #EDEDEF; border-radius: 12px; padding: 14px; background: #FAFAFA; font: inherit; color: #18181B; cursor: pointer; min-height: 0; }
body.u .u-idea:hover { background: #FFFFFF; border-color: #DCDCE0; }
.u-idea > b { font-size: 13.5px; font-weight: 500; } .u-idea > span { font-size: 12px; color: #52525B; }
.u-idea .p { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; padding-top: 10px; border-top: 1px solid #F1F1F3; } .u-idea .p small { font-size: 11.5px; color: #71717A; } .u-idea .p b { font-size: 18px; font-weight: 500; color: #156B3A; }
.u-idea .c { font-size: 11.5px; color: #71717A; text-align: right; }
.u-links { margin-top: 12px; } body.u .u-links button { border: 0; background: none; color: #2563EB; font: inherit; font-size: 11.5px; padding: 0 0 0 10px; cursor: pointer; min-height: 0; box-shadow: none; }
.u-note.good { border-color: #BBE7CB; background: #F3FBF6; color: #156B3A; } .u-note.bad { border-color: #F5C2BE; background: #FEF6F5; color: #A1261F; }
.sd-pb .promo-list { list-style: none; margin: 0; padding: 0; }

/* ---- Marketing */
.u-camp { position: relative; } .u-spans { position: absolute; inset: 0 0 0 0; pointer-events: none; }
.u-spans span { position: absolute; top: 0; bottom: 0; background: #EEEAFD; border-radius: 3px; }
.u-cols.tall { position: relative; height: 170px; gap: 2px; margin-top: 14px; } .u-cols span.mid { background: #93B4FD; }
.u-chans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.u-chan { display: flex; flex-direction: column; gap: 4px; border: 1px solid #EDEDEF; border-radius: 12px; padding: 12px; background: #FAFAFA; color: #18181B !important; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.u-chan:hover { background: #FFFFFF; border-color: #DCDCE0; }
.u-chan .h { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #3F3F46; }
.u-chan .h i { width: 18px; height: 18px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-style: normal; color: #FFFFFF; background: var(--tone); }
.u-chan b { font-size: 20px; font-weight: 500; } .u-chan small { font-size: 11.5px; color: #71717A; }
.u-hr3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.u-split.mt2 { margin: 18px 0 16px; height: 8px; } .u-rows small.w { display: inline-block; min-width: 52px; text-align: right; margin-left: 10px; }
.u-busy { display: flex; flex-direction: column; margin-top: 12px; } .u-busy > div { padding: 12px 0; border-bottom: 1px solid #F3F3F4; }
.u-busy b { font-size: 13px; font-weight: 500; } .u-busy .u-m { font-size: 12px; color: #3F3F46; } .u-busy small { display: block; font-size: 11.5px; color: #71717A; margin-top: 2px; }
.u-busy .spike-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; } .u-busy .spike-quick > span { display: none; } .u-busy .spike-quick form { margin: 0; }
body.u .u-busy .spike-quick button { border: 1px solid #E4E4E7; background: #FFFFFF; color: #18181B; border-radius: 999px; padding: 0 11px; min-height: 28px; font: inherit; font-size: 12px; box-shadow: none; cursor: pointer; }
body.u .u-lnkbtn { border: 0; background: none; color: #2563EB; font: inherit; font-size: 12px; padding: 10px 0 0; cursor: pointer; box-shadow: none; min-height: 0; }

/* ---- Email */
[data-views] .v { display: none; } [data-views="sales"] .v-sales, [data-views="oc"] .v-oc { display: block; }
.u-edot { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 9px; background: #A1A1AA; border: 2px solid #FFFFFF; box-sizing: border-box; animation: u-pop 300ms var(--ease) 600ms backwards; }
.u-edot.good { background: #22A55B; }
.u-legend i.k3 { background: #22A55B; border-radius: 9px; } .u-legend i.kt { background: #14B8A6; }
.u-oc { display: flex; align-items: flex-end; gap: 6px; height: 190px; margin-top: 14px; } .u-oc > span { flex: 1; display: flex; align-items: flex-end; gap: 2px; height: 100%; }
.u-oc i { flex: 1; border-radius: 3px 3px 1px 1px; height: 0; min-height: 2px; background: #2563EB; } .u-oc i.c { background: #14B8A6; }
.u-mt { margin-top: 14px; width: fit-content; }
.u-et { min-width: 760px; margin-top: 10px; table-layout: fixed; } .u-et th:nth-child(2) { width: 96px; } .u-et th:nth-child(3), .u-et th:nth-child(4) { width: 170px; padding-left: 16px; } .u-et td:nth-child(3), .u-et td:nth-child(4) { padding-left: 16px; } .u-et th:nth-child(5) { width: 110px; } .u-et th b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .u-et th.r, .u-et td.r { text-align: right; } .u-et tbody tr { cursor: default; }
.u-et th[scope="row"] > span > span:not(.u-elogo) { display: block; min-width: 0; } .u-et th[scope="row"] > span { display: flex; align-items: center; gap: 10px; } .u-et th b { display: block; font-size: 13px; font-weight: 500; } .u-et th small { font-size: 11.5px; color: #71717A; }
.u-elogo { width: 28px; height: 28px; border-radius: 8px; flex: none; box-shadow: inset 0 0 0 1px #EDEDEF; } .u-elogo.m { display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: #52525B; background: #F4F4F5; }
.u-et td .u-bar { display: inline-block; vertical-align: middle; width: calc(100% - 52px); max-width: 110px; height: 5px; border-radius: 9px; background: #F1F1F3; overflow: hidden; }
.u-et td .u-bar i { display: block; height: 100%; width: 0; border-radius: 9px; background: #2563EB; } .u-et td .u-bar i.c { background: #14B8A6; }
.u-et td .n { display: inline-block; min-width: 44px; text-align: right; font-size: 12px; }
/* the lift figure in a table (email.ts); a card with class u-lift only rises on hover (below) */
span.u-lift { font-size: 11.5px; border-radius: 999px; padding: 2px 8px; background: #F4F4F5; color: #52525B; } span.u-lift.up { background: #DCF5E5; color: #156B3A; } span.u-lift.down { background: #FDE3E1; color: #A1261F; }
.u-ff.flat { border-top: 0; padding: 10px 0 0; } .u-ff a { color: #2563EB !important; text-decoration: none; }
.u-flows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.u-flows > div { border: 1px solid #EDEDEF; border-radius: 12px; padding: 12px 14px; background: #FAFAFA; } .u-flows b { font-size: 13px; font-weight: 500; } .u-flows small { font-size: 11.5px; color: #71717A; }
.u-flows dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 10px 0 0; } .u-flows dt { font-size: 11px; color: #71717A; } .u-flows dd { margin: 2px 0 0; font-size: 14px; }
.u-pilltag.green { background: #DCF5E5; color: #156B3A; } .u-pilltag.amber { background: #FEF3C7; color: #92400E; } .u-pilltag.red { background: #FEF2F2; color: #B42318; } .u-pilltag.blue { background: #EEF3FF; color: #1D4ED8; }
.u-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.u-tools a { display: flex; flex-direction: column; gap: 6px; border: 1px solid #EDEDEF; border-radius: 12px; padding: 12px 14px; color: #18181B !important; text-decoration: none; }
.u-tools a:hover { border-color: #DCDCE0; } .u-tools img { border-radius: 6px; } .u-tools b { font-size: 13px; font-weight: 500; margin-top: 4px; } .u-tools small { font-size: 11.5px; color: #71717A; }

/* ---- Traffic and visitors */
.u-live { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #2563EB !important; text-decoration: none; padding: 0 8px; } .u-live i { width: 7px; height: 7px; border-radius: 9px; background: #22A55B; animation: u-breathe 2s ease-in-out infinite; }
@keyframes u-breathe { 50% { opacity: .4; } }
.u-path { display: flex; align-items: flex-end; gap: 10px; height: 210px; margin-top: 18px; }
.u-path > div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 6px; min-width: 0; }
.u-path i { display: block; height: 0; min-height: 4px; border-radius: 4px; background: #93B4FD; transform-origin: bottom; animation: u-growy 640ms var(--ease) backwards; } .u-path .first i { background: #C7D7FE; } .u-path .on i { background: #2563EB; }
.u-srcs { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 12px; } .u-srcs th, .u-srcs td { text-align: right; padding: 6px 0 6px 10px; border-top: 1px solid #EDEDEF; font-weight: 400; white-space: nowrap; }
.u-srcs thead th { color: #71717A; font-size: 11px; border-top: 0; white-space: normal; vertical-align: bottom; } .u-srcs th[scope="row"], .u-srcs thead th:first-child { text-align: left; padding-left: 0; white-space: normal; }
.u-srcs th[scope="row"] small { display: block; font-size: 11px; color: #71717A; } .u-srcs tr.tot th, .u-srcs tr.tot td { font-weight: 500; }
.u-path small { font-size: 11px; color: #52525B; } .u-path b { font-size: 15px; font-weight: 500; } .u-path span { font-size: 11.5px; color: #71717A; }
.u-ai { display: flex; gap: 8px; align-items: baseline; border-top: 1px solid #F3F3F4; padding-top: 12px; font-size: 12.5px; color: #3F3F46; } .u-ai i { font-style: normal; color: #2563EB; }
body.u button.u-lk { display: flex; justify-content: flex-start; color: #18181B; box-shadow: none; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; width: calc(100% + 12px); min-height: 0; }
.u-h2s { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.u-leave { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; } .u-leave > div { font-size: 12.5px; } .u-leave small { font-size: 11px; color: #71717A; }
.u-leave .bar { position: relative; display: block; height: 6px; margin-top: 6px; border-radius: 9px; background: #F1F1F3; }
.u-leave .bar i { display: block; height: 100%; width: 0; border-radius: 9px; background: #2563EB; transition: width 820ms var(--ease); } .u-leave .bar i.hi { background: #F07A70; }
.u-leave .bar s { position: absolute; left: 47.5%; top: -4px; bottom: -4px; border-left: 1px dashed #71717A; }
.u-leave .bar + small { display: block; margin-top: 5px; }
/* an ad network's row in "Where visits come from" opens on where its ads were showing (ad-sources.ts) */
.u-leave > details { font-size: 12.5px; }
.u-leave .ads-src-d > summary { list-style: none; cursor: pointer; border-radius: 8px; padding: 0; font-size: inherit; font-weight: inherit; color: inherit; }
.ads-src-d > summary::-webkit-details-marker { display: none; }
.ads-src-d > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.u-leave .ads-src-o { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--accent); }
.ads-src-o::after { content: " \25BE"; } .ads-src-d[open] .ads-src-o::after { content: " \25B4"; }
.ads-src { margin: 10px 0 4px; padding: 4px 0 0 12px; border-left: 2px solid #E4E4E7; }
.ads-src h4 { margin: 12px 0 4px; font-size: 12.5px; font-weight: 600; color: #18181B; }
.ads-src-t { font-size: 13px; }
.ads-src-n { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: #71717A; max-width: 78ch; }
/* Email sign-ups (visitors.ts): who signed up, a quiet line each, what they did after under it and orders on the right */
.u-sus { list-style: none; margin: 14px 0 0; padding: 0; font-size: 12.5px; } .u-sus li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-top: 1px solid #F1F1F3; }
.u-sus small { display: block; margin-top: 2px; font-size: 11px; color: #71717A; } .u-sus b { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.u-prows { margin-top: 14px; } .u-prow { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F7F7F8; }
.u-prow > span { display: flex; flex-direction: column; min-width: 0; } .u-prow > span:last-child { text-align: right; align-items: flex-end; }
.u-prow small, .u-prow b { display: block; } .u-prow b { font-size: 13px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .u-prow small { font-size: 11.5px; color: #71717A; } .u-prow small.u-good { color: #156B3A; }
/* ---- Traffic and visitors: progress week by week, and the pages in one table */
.u-trs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.u-trs a { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 10px; border-radius: 10px; border: 1px solid #F1F1F3; color: #18181B !important; text-decoration: none; }
.u-trs a:hover { background: #FAFBFC; } .u-trs a[aria-current="true"] { border-color: #2563EB; box-shadow: inset 0 0 0 1px #2563EB; }
.u-trs span { font-size: 11.5px; line-height: 1.3; color: #52525B; } .u-trs b { font-size: 17px; font-weight: 500; }
.u-trs small { font-size: 11px; color: #71717A; } .u-trs small.u-good { color: #156B3A; } .u-trs small.u-bad { color: #A1261F; }
.u-trc { margin-top: 12px; } .u-trc svg.chart { width: 100%; height: auto; display: block; }
.u-ptab { margin-top: 12px; min-width: 640px; } .u-ptab tbody tr { cursor: default; } .u-ptab th.r, .u-ptab td.r { text-align: right; padding-left: 12px; } .u-ptab th:nth-child(4), .u-ptab td:nth-child(4) { padding-left: 28px; } .u-ptab thead th:first-child { width: 34%; }
.u-ptab th[scope="row"] b, .u-ptab td b { display: block; font-weight: 400; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.u-ptab .u-wk { padding-left: 24px; } .u-ptab td.u-wk a { color: inherit; text-decoration: underline; text-decoration-color: #D4D4D8; text-underline-offset: 3px; } .u-ptab td b { display: inline; } .u-ptab small { display: block; font-size: 11.5px; color: #71717A; white-space: nowrap; } .u-ptab small span { display: inline; } .u-ptab small .u-bad { color: #A1261F; } .u-ptab td.u-good { color: #156B3A; }
@media (max-width: 640px) { .u-trs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .u-trs a:first-child { grid-column: 1 / -1; } }
/* Visitors (23 Oct 2026, the design rules): the day switch and the live view in a row under the header; a pill that
   says a word (High, Low) is set in Geist, not the figures' mono; a phone's labels for a table's values too */
.u-vbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -2px 2px 2px; }
.u-chg.w { font-family: "Geist", system-ui, sans-serif; letter-spacing: 0; }
@media (max-width: 600px) { body.u table.as-cards [data-label]::before { font-family: "Geist", system-ui, sans-serif; letter-spacing: 0; font-weight: 400; color: #71717A; }
  body.u table.as-cards.u-ptab tr { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; } body.u table.as-cards.u-ptab td.u-to { grid-column: 1 / -1; } body.u table.as-cards.u-ptab td.u-nil { display: none; } }
@media (max-width: 600px) { .u-ptab th, .u-ptab td, .u-ptab td.r, .u-ptab th:nth-child(4), .u-ptab td:nth-child(4), .u-ptab .u-wk { padding-left: 0; } .u-ptab th[scope="row"] b, .u-ptab td b { max-width: none; white-space: normal; overflow-wrap: anywhere; } .u-ptab small { white-space: normal; } }
.u-pad { padding: 0 2px; }

/* ---- Connections */
.u-need { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; margin-top: 14px; }
.u-need > div { border: 1px solid #EDEDEF; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #FAFAFA; }
.u-need .h { display: flex; align-items: center; gap: 10px; } .u-need .h b { display: block; font-size: 13.5px; font-weight: 500; } .u-need .h b small { font-weight: 400; color: #71717A; } .u-need .h small { font-size: 11.5px; }
.u-need p { margin: 0; font-size: 12.5px; color: #3F3F46; line-height: 1.5; } .u-need .u-btn { align-self: flex-start; margin-top: auto; } .u-warn2 { color: #92400E; }
.u-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin-top: 14px; }
body.u .u-app { box-shadow: none; display: flex; flex-direction: column; align-items: stretch; gap: 6px; text-align: left; border: 1px solid #EDEDEF; border-radius: 12px; padding: 14px; background: #FFFFFF; font: inherit; color: #18181B; cursor: pointer; min-height: 0; transition: border-color .15s ease, transform 300ms var(--ease); }
body.u .u-app:hover { border-color: #DCDCE0; transform: translate3d(0, -2px, 0); }
.u-app b { font-size: 13.5px; font-weight: 500; margin-top: 4px; } .u-app small { font-size: 11.5px; color: #71717A; line-height: 1.45; } .u-app .w { margin-top: auto; padding-top: 6px; font-size: 11.5px; color: #52525B; }
.u-gg { min-width: 0; margin-top: 10px; } .u-gg thead th { font-size: 11.5px; text-align: center; } .u-gg thead th:first-child { text-align: left; } .u-gg td { text-align: center; } .u-gg tbody tr { cursor: default; }
.u-tick { display: inline-flex; width: 24px; height: 24px; border-radius: 7px; align-items: center; justify-content: center; font-size: 12px; background: #F4F4F5; color: #A1A1AA; } .u-tick.on { background: #DCF5E5; color: #156B3A; }
.u-end2 { margin-top: 14px; align-self: flex-start; }
body.u .u-drop { box-shadow: none; flex: 1; min-height: 180px; margin-top: 14px; border: 1.5px dashed #D4D4D8; border-radius: 12px; background: #FAFAFA; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font: inherit; color: #18181B; cursor: pointer; }
body.u .u-drop:hover { border-color: #2563EB; background: #F7F9FF; } .u-drop span { font-size: 18px; } .u-drop b { font-size: 13px; font-weight: 500; } .u-drop small { font-size: 11.5px; color: #71717A; }
.u-col .u-chips { margin-top: 12px; } body.u button.u-chip { box-shadow: none; font: inherit; font-size: 12px; cursor: pointer; min-height: 28px; }

/* ---- Settings: the sections as the prototype's cards, one at a time */
.u-setg { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 8px; align-items: start; }
.u-setnav { padding: 6px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 16px; }
.u-setnav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 10px; min-height: 40px; border-radius: 8px; font-size: 13px; color: #18181B !important; text-decoration: none; }
.u-setnav a:hover { background: #F7F7F8; } .u-setnav a[aria-current] { background: #F1F1F3; font-weight: 500; }
.u-setnav small { font-size: 11px; color: #71717A; font-weight: 400; } .u-setnav a.out { margin-top: 4px; border-top: 1px solid #F3F3F4; border-radius: 0 0 8px 8px; }
body.u .u-setbody { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
body.u .u-setbody .set-sheet { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
body.u .u-setbody .set-sheet[hidden] { display: none; }
body.u .u-setbody .set-head { display: none; } body.u .u-setbody .set-head h2 { margin: 0; font-size: 14px; font-weight: 500; } body.u .u-setbody .set-head p { margin: 2px 0 0; font-size: 12.5px; color: #52525B; }
body.u .u-setbody .set-sheet > form, body.u .u-setbody .set-sheet > .set-part, body.u .u-setbody .set-sheet > div, body.u .u-setbody .set-sheet > section, body.u .u-setbody .set-sheet > p.set-note, body.u .u-setbody .set-sheet > ul, body.u .u-setbody .set-sheet > table {
  background: #FFFFFF; border: 1px solid #EDEDEF; border-radius: 12px; padding: 16px 18px; margin: 0; box-shadow: none; }
body.u .u-setbody .biz-form { display: flex; flex-direction: column; gap: 18px; }
body.u .u-setbody .chip-q { border: 0; padding: 0; margin: 0; min-width: 0; }
body.u .u-setbody .chip-q legend { font-size: 12px; color: #52525B; padding: 0; margin-bottom: 10px; font-weight: 400; }
body.u .u-setbody .chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
body.u .u-setbody .chips .chip { position: relative; display: flex; border: 1px solid #EDEDEF; border-radius: 10px; padding: 11px 12px; background: #FAFAFA; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; min-height: 0; }
body.u .u-setbody .chips .chip:hover { background: #FFFFFF; } body.u .u-setbody .chips .chip:has(input:checked) { border-color: #2563EB; box-shadow: inset 0 0 0 1px #2563EB; background: #F7F9FF; }
body.u .u-setbody .chips .chip input { position: absolute; opacity: 0; pointer-events: none; }
body.u .u-setbody .chips .chip > span { border: 0; background: none; padding: 0; box-shadow: none; min-width: 0; border-radius: 0; color: inherit; } body.u .u-setbody .chips .chip span { display: flex; flex-direction: column; gap: 3px; } body.u .u-setbody .chips .chip strong { font-size: 13px; font-weight: 500; } body.u .u-setbody .chips .chip strong, body.u .u-setbody .chips .chip em { white-space: normal; overflow-wrap: anywhere; } body.u .u-setbody .chips .chip em { font-style: normal; font-size: 11.5px; color: #71717A; }
body.u .u-setbody .chip-out { margin: 10px 0 0; background: #F4F7FF; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: #18181B; }
body.u .u-setbody .set-sub { font-size: 12.5px; color: #52525B; margin: 2px 0 10px; } body.u .u-setbody h3 { margin: 0 0 4px; font-size: 12px; font-weight: 400; color: #52525B; }
body.u .u-setbody .set-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #F3F3F4; padding-top: 14px; }
body.u .u-setbody .set-scope { margin: 0; font-size: 11.5px; color: #71717A; }
body.u .u-setbody button[type="submit"]:not(.ghost):not(.secondary):not(.link) { border: 0; background: #18181B; color: #FFFFFF; border-radius: 9px; padding: 0 16px; min-height: 36px; font: inherit; font-size: 12.5px; font-weight: 500; box-shadow: none; }
body.u .u-setbody .note-list { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
body.u .u-setbody .note-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid #F1F1F3; background: #FAFAFA; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
body.u .u-setbody .note-list small { color: #71717A; font-size: 11px; } body.u .u-setbody .note-list form { margin: 0; }
body.u .u-setbody .note-add { display: flex; gap: 8px; margin-top: 10px; } body.u .u-setbody .note-add input { flex: 1; min-width: 0; border: 1px solid #E4E4E7; border-radius: 9px; padding: 0 12px; min-height: 40px; font: inherit; font-size: 12.5px; }
body.u .u-setbody .set-learn { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
body.u .u-setbody .set-learn .set-links { margin: 0; display: flex; gap: 10px; align-items: center; } body.u .u-setbody .set-learn .set-scope { flex-basis: 100%; }
body.u .u-setbody .set-note { display: flex; gap: 8px; align-items: center; font-size: 12.5px; background: #FFFBEB; border-color: #FDE68A; }
/* phones: every settings section in view, wrapped, not a row running off the edge (21 Oct 2026: "Plan and privacy" couldn't be found) */
@media (max-width: 900px) { .u-setg { grid-template-columns: minmax(0, 1fr); } .u-setnav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; } .u-setnav a { white-space: nowrap; min-height: 36px; border: 1px solid #E4E4E7; border-radius: 999px; padding: 0 12px; } .u-setnav a.out { margin-top: 0; border-top: 1px solid #E4E4E7; border-radius: 999px; } .u-setnav a[aria-current] { background: #18181B; color: #FFFFFF !important; border-color: #18181B; } .u-setnav small { display: none; } }

/* ---- the pop-up's content (kit drawer): sections slide in one after another */
body.u .sd-panel:has(.u-dw) > .sd-ph { display: none; }
body.u .sd-panel:has(.u-dw) .sd-pb { padding: 22px 0; }
.u-dw { display: flex; flex-direction: column; gap: 22px; min-height: 100%; }
.u-dw > * { padding: 0 22px; animation: u-dwin 520ms var(--ease) backwards; }
.u-dw > *:nth-child(2) { animation-delay: 145ms; } .u-dw > *:nth-child(3) { animation-delay: 200ms; } .u-dw > *:nth-child(4) { animation-delay: 255ms; } .u-dw > *:nth-child(5) { animation-delay: 310ms; } .u-dw > *:nth-child(n+6) { animation-delay: 365ms; }
.u-dw > *:first-child { animation-delay: 90ms; }
@keyframes u-dwin { from { opacity: 0; transform: translate3d(14px, 0, 0); } to { opacity: 1; transform: none; } }
.u-dw-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; } .u-dw-h > div { min-width: 0; }
.u-kind { font-size: 11.5px; font-weight: 500; color: #52525B; background: #F4F4F5; border-radius: 999px; padding: 2px 9px; display: inline-block; }
.u-kind.order { color: #1D4ED8; background: #EEF3FF; } .u-kind.product { color: #156B3A; background: #DCF5E5; } .u-kind.customer, .u-kind.customers { color: #6D28D9; background: #EDE9FE; } .u-kind.check { color: #92400E; background: #FEF3C7; }
.u-kind.j { font-size: 11px; color: #1D4ED8; background: #EEF3FF; } .u-kind.search { color: #1D4ED8; background: #EEF3FF; }
body.u :is(.sd-pb, .u-dwpage) .u-dw-t { margin: 10px 0 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; color: #18181B; }
body.u :is(.sd-pb, .u-dwpage) .u-dw-s { margin: 3px 0 0; font-size: 12.5px; color: #71717A; }
body.u .u-dw-x { box-shadow: none; width: 32px; height: 32px; flex: none; border: 0; border-radius: 9px; background: #F4F4F5; color: #3F3F46; display: flex; align-items: center; justify-content: center; padding: 0; min-height: 0; cursor: pointer; }
.u-dw-x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
body.u :is(.sd-pb, .u-dwpage) .u-dw-say { margin: -8px 0 0; font-size: 15px; line-height: 1.5; color: #18181B; }
.u-dw-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.u-dw-tiles > div { background: #FAFAFA; border: 1px solid #F1F1F3; border-radius: 12px; padding: 11px 13px; min-width: 0; display: flex; flex-direction: column; }
.u-dw-tiles span { font-size: 11.5px; color: #52525B; } .u-dw-tiles b { font-size: 20px; font-weight: 500; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-dw-tiles b.w { font-size: 16px; line-height: 1.5; letter-spacing: -0.01em; }
.u-dw-tiles small { font-size: 11.5px; margin-top: 2px; color: #71717A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .u-dw-tiles small.up { color: #156B3A; } .u-dw-tiles small.down { color: #B42318; }
.u-dw-l { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 12px; color: #52525B; }
.u-jr { border: 1px solid #EDEDEF; border-radius: 12px; overflow: hidden; }
.u-jr-src { display: grid; grid-template-columns: 1fr 1fr; background: #FAFAFA; } .u-jr-src > div { padding: 10px 13px; border-bottom: 1px solid #F1F1F3; min-width: 0; }
.u-jr-src small { display: block; font-size: 11px; color: #71717A; } .u-jr-src span { display: block; font-size: 12.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-jr-steps, .u-tl { list-style: none; margin: 0; padding: 14px 13px 4px; }
.u-jr-steps li, .u-tl li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; position: relative; padding-bottom: 12px; }
.u-jr-steps li:not(:last-child)::after, .u-tl li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 25px; bottom: 3px; width: 2px; border-radius: 2px; background: #E4E4E7; }
.u-jr-steps i { width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; font-style: normal; color: #FFFFFF; background: #A1A1AA; }
.u-jr-steps i.ad { background: #2563EB; } .u-jr-steps i.search { background: #14B8A6; } .u-jr-steps i.email { background: #D97706; } .u-jr-steps i.social { background: #D9467E; } .u-jr-steps i.buy { background: #22A55B; }
.u-jr-steps b, .u-tl b { display: block; font-size: 13px; font-weight: 500; } .u-jr-steps small, .u-tl small { display: block; font-size: 11.5px; color: #71717A; }
.u-jr-steps time, .u-tl time { font-size: 11px; color: #71717A; white-space: nowrap; padding-top: 3px; }
body.u .sd-pb .u-jr-sum { margin: 0; padding: 10px 13px; border-top: 1px solid #F1F1F3; font-size: 12px; color: #3F3F46; }
body.u :is(.sd-pb, .u-dwpage) .u-dw-note { margin: 8px 0 0; font-size: 11px; color: #92400E; }
.u-tl { padding: 0; } .u-tl li { grid-template-columns: 18px minmax(0, 1fr) auto; gap: 12px; padding-bottom: 14px; } .u-tl li:not(:last-child)::after { left: 8px; top: 20px; background: #E4E4E7; }
.u-tl i { width: 12px; height: 12px; margin: 3px; border-radius: 9px; box-sizing: border-box; background: #22A55B; }
.u-tl li.now i { background: #FFFFFF; border: 3px solid #2563EB; } .u-tl li.next i { background: #FFFFFF; border: 2px solid #D4D4D8; } .u-tl li.next b { color: #A1A1AA; font-weight: 400; }
.u-dw-bars { display: flex; align-items: flex-end; gap: 6px; height: 130px; }
.u-dw-bars > span { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 5px; font-size: 10.5px; color: #71717A; }
.u-dw-bars i { width: 100%; max-width: 30px; border-radius: 5px 5px 2px 2px; background: #E4E4E7; height: 0; } .u-dw-bars i.on { background: #2563EB; }
.u-dw-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #F3F3F4; font-size: 13px; color: #18181B !important; text-decoration: none; font-weight: 400 !important; }
.u-dw-row > span:first-child { min-width: 0; display: flex; flex-direction: column; } .u-dw-row > span:first-child > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-dw-row small { font-size: 11.5px; color: #71717A; } .u-dw-row .u-m { font-size: 12.5px; white-space: nowrap; }
.u-dw-act { margin-top: auto; padding-top: 4px; display: flex; gap: 8px; }
body.u :is(.sd-pb, .u-dwpage) .u-dw-full { margin: -10px 0 0; font-size: 12px; } body.u :is(.sd-pb, .u-dwpage) .u-dw-full a { font-weight: 400; }

/* ---- side panels (dash.js), as the prototype's pop-up: a floating card on the right over a blurred backdrop */
body.u .sd-scrim { background: rgba(24, 24, 27, .22); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); transition: opacity 380ms var(--ease); }
body.u .sd-panel { top: 16px; right: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); border-radius: 18px; background: #FFFFFF; color: #18181B; opacity: 0;
  box-shadow: 0 30px 80px rgba(24, 24, 27, .18), 0 0 0 1px rgba(24, 24, 27, .04); transform: translate3d(36px, 0, 0); transition: transform 560ms var(--ease), opacity 360ms var(--ease); }
body.u .sd-panel.on { transform: none; opacity: 1; }
body.u .sd-panel.closing { transition: transform 260ms cubic-bezier(.55, 0, 1, .45), opacity 200ms cubic-bezier(.55, 0, 1, .45); }
body.u .sd-ph { padding: 22px 22px 12px; border-bottom: 0; } body.u .sd-ph h2 { font: 500 18px/1.3 "Geist", system-ui, sans-serif; letter-spacing: -0.01em; }
body.u .sd-ph button { width: 28px; height: 28px; background: #F4F4F5; }
body.u .sd-pb { padding: 0 22px 22px; font-family: inherit; grid-template-columns: minmax(0, 1fr); overflow-x: hidden; } body.u .sd-pb * { max-width: 100%; box-sizing: border-box; } body.u .sd-pb > * { animation: u-rise 420ms var(--ease) backwards; }
body.u .sd-pb > *:nth-child(2) { animation-delay: 55ms; } body.u .sd-pb > *:nth-child(3) { animation-delay: 110ms; } body.u .sd-pb > *:nth-child(n+4) { animation-delay: 165ms; }
body.u .sd-lead { font: 500 26px/1.1 "Geist Mono", ui-monospace, monospace; letter-spacing: -0.04em; }
/* blocks from the old pages, read in the narrow panel: the phone layout of Atlas AI's cards */
body.u .sd-pb .nt-group .nt, body.u .sd-pb .think-card.nt { grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; padding: 14px 16px; grid-template-areas: "tile top" "tile h" "tile b" ". act" ". fx"; }
body.u .sd-pb .block, body.u .sd-pb .think { margin: 0; padding: 0; box-shadow: none; background: none; }
body.u .sd-pb p { font-size: 12.5px; color: #52525B; } body.u .sd-pb a { color: #2563EB; font-weight: 500; }

/* ---- countdown widget (Home, Marketing), as on the prototype */
.u-cd { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 16px; color: #18181B !important; }
.u-cd .lab { font-size: 12px; color: #52525B; }
.u-cd .nm { font-size: 16px; font-weight: 500; display: block; margin-top: 6px; } .u-cd .nm small { font-size: 12.5px; font-weight: 400; color: #52525B; }
.u-cd .after { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.u-cd .after span { font-size: 11.5px; color: #3F3F46; background: #F4F4F5; border-radius: 999px; padding: 2px 9px; }
.u-cd .units { display: flex; gap: 6px; }
.u-cd .units span { min-width: 54px; background: #F7F8FF; border-radius: 10px; padding: 8px 6px; text-align: center; }
.u-cd .units b { display: block; font-size: 22px; font-weight: 500; line-height: 1; } .u-cd .units small { display: block; font-size: 10.5px; color: #52525B; margin-top: 4px; }

/* ---- motion (one easing family; transform and opacity only) */
.u-main > * { animation: u-rise var(--t-enter) var(--ease) backwards; }
.u-main > *:nth-child(2) { animation-delay: 70ms; } .u-main > *:nth-child(3) { animation-delay: 140ms; } .u-main > *:nth-child(4) { animation-delay: 210ms; }
.u-main > *:nth-child(5) { animation-delay: 280ms; } .u-main > *:nth-child(6) { animation-delay: 350ms; } .u-main > *:nth-child(n+7) { animation-delay: 420ms; }
.u-main > .nofx, .u-main > dialog { animation: none !important; }
.u-c svg[role="img"] { animation: u-wipe 1100ms var(--ease) 240ms both; }
.u-c .u-m:not(td) { display: inline-block; animation: u-num 520ms var(--ease) 380ms both; }
.u-funnel span { transform-origin: 50% 100%; animation: u-growy 760ms var(--ease) both; }
a.u-c, .u-c.u-lift { position: relative; transition: transform 300ms var(--ease); }
a.u-c::after, .u-c.u-lift::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 10px 28px rgba(24, 24, 27, .08); opacity: 0; transition: opacity 300ms var(--ease); pointer-events: none; }
a.u-c:hover, .u-c.u-lift:hover { transform: translate3d(0, -2px, 0); } a.u-c:hover::after, .u-c.u-lift:hover::after { opacity: 1; }
.u-b { cursor: pointer; transition: transform 160ms var(--ease), background-color var(--t-micro) ease, color var(--t-micro) ease; } .u-b:active { transform: scale(.97); }
@keyframes u-rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes u-slide { from { opacity: 0; transform: translate3d(-12px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes u-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes u-num { from { opacity: 0; transform: translate3d(0, 6px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes u-growy { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes u-pop { from { opacity: 0; transform: translate3d(0, -4px, 0) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .u-main > *, .u-nav, .u-c svg, .u-c .u-m, .u-funnel span, .u-menu { animation: none !important; }
  a.u-c, .u-c.u-lift, a.u-c::after, .u-c.u-lift::after, .u-b, .u-nv, .u-pill-btn { transition: none !important; } a.u-c:hover, .u-c.u-lift:hover { transform: none; } .u-b:active { transform: none; }
}

/* ---- narrower screens (as the prototype) and phones (the menu becomes the tab bar app.css draws) */
@media (max-width: 1150px) { .u-k5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .u-k4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .u-h2, .u-hr, .u-pr2, .u-c2, .u-hr3, .u-h2s { grid-template-columns: minmax(0, 1fr); } .u-span2 { grid-row: auto; } .u-look { max-width: none; } }
@media (max-width: 900px) { .u-grp { grid-template-columns: minmax(0, 1fr) auto auto; } .u-grp .s, .u-grp .w, .u-grp > span:nth-child(5) { display: none; } .u-frame { padding: 0; } .u-shell { border-radius: 0; min-height: 100vh; } .u-nav { display: none; } .u-main { padding-bottom: 96px; } }
@media (max-width: 640px) { .u-k5, .u-k4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .u-cd { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 901px) { body.u .tabbar { display: none; } }
/* phones: the open section's pages as a row at the top, and a quiet tab bar (21 Oct 2026: every tab was link blue) */
body.u .u-sub { display: none; }
@media (max-width: 900px) {
  body.u .u-sub { display: block; margin: 0 0 14px; padding: 0 0 2px; overflow-x: auto; scrollbar-width: none; }
  /* the date and store pills wrap rather than push the page wider than the phone (Sales ran 430px wide, 21 Oct 2026) */
  body.u .u-pills { flex-wrap: wrap; max-width: 100%; } body.u .u-head > div:first-child { min-width: 0; flex-basis: 100%; }
  body.u .u-sub::-webkit-scrollbar { display: none; }
  body.u .u-sub ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; width: max-content; }
  body.u .u-sub a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; white-space: nowrap; font-size: 13px; font-weight: 500; color: #3F3F46; background: #FFFFFF; border: 1px solid #E4E4E7; }
  body.u .u-sub a[aria-current="page"] { color: #FFFFFF; background: #18181B; border-color: #18181B; }
  body.u .tabbar { display: block; background: rgba(255, 255, 255, 0.92); box-shadow: 0 -1px 0 #E4E4E7; }
  body.u .tabbar a { color: #71717A; font-weight: 500; }
  body.u .tabbar a:hover { color: #3F3F46; }
  body.u .tabbar a[aria-current="true"] { color: #18181B; font-weight: 600; }
  body.u .tabbar a[aria-current="true"] .icon { stroke-width: 2; }
}

/* ---- Atlas AI (ui/agent.ts): the to-do list beside the one picked, as the prototype */
.u-ag-ic { width: 20px; height: 20px; flex: none; border-radius: 6px; background: linear-gradient(135deg, #2563EB, #8B5CF6); display: inline-flex; align-items: center; justify-content: center; }
.u-ag-ic svg { width: 11px; height: 11px; fill: none; stroke: #FFFFFF; stroke-width: 2.4; stroke-linejoin: round; } .u-ag-ic.big { width: 26px; height: 26px; border-radius: 8px; } .u-ag-ic.big svg { width: 14px; height: 14px; stroke-width: 2.2; }
.u-agp .u-head { align-items: flex-end; } .u-agp .u-head h1 { display: flex; align-items: center; gap: 9px; } .u-head p.u-big { margin-top: 6px; font-size: 15px; color: #18181B; }
.u-checked { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #52525B; } .u-checked i { width: 7px; height: 7px; border-radius: 9px; background: #22A55B; box-shadow: 0 0 0 3px #DCF5E5; }
.u-ag { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
.u-ag-list { padding: 14px 10px 8px; display: flex; flex-direction: column; } .u-ag-list > .u-row-sb { padding: 0 6px 8px; align-items: center; } .u-ag-list h2 { margin: 0; font-size: 14px; font-weight: 500; }
.u-ag-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.u-ag-items li { display: flex; align-items: center; gap: 11px; border-radius: 10px; padding: 0 0 0 10px; transition: background-color 220ms ease; } .u-ag-items li:hover { background: #F7F7F8; } .u-ag-items li.on { background: #F4F4F5; }
.u-ag-list[data-views="sales"] li:not([data-area="sales"]), .u-ag-list[data-views="marketing"] li:not([data-area="marketing"]), .u-ag-list[data-views="operations"] li:not([data-area="operations"]) { display: none; }
.u-inl { display: contents; margin: 0; }
body.u .u-tick-b { width: 18px; height: 18px; min-height: 0; flex: none; padding: 0; border: 0; border-radius: 6px; background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--ag, #2563EB); cursor: pointer; transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease); }
body.u button.u-tick-b:hover { background: #DCF5E5; box-shadow: inset 0 0 0 2px #22A55B; }
.u-ag-items li[data-area="marketing"] { --ag: #8B5CF6; } .u-ag-items li[data-area="operations"] { --ag: #D97706; }
body.u .u-ag-pick { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 11px 10px 11px 0; margin: 0; font: inherit; color: #18181B; text-align: left; cursor: pointer; box-shadow: none; }
.u-ag-pick > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .u-ag-pick b { font-size: 13px; font-weight: 400; line-height: 1.35; } li.on .u-ag-pick b { font-weight: 500; }
.u-ag-pick small { font-size: 11.5px; color: #71717A; } .u-ag-pick em { margin-left: 8px; font-style: normal; color: #156B3A; }
.u-ag-pick svg { width: 14px; height: 14px; flex: none; fill: none; stroke: #A1A1AA; stroke-width: 2; stroke-linecap: round; opacity: 0; transform: translate3d(-4px, 0, 0); transition: transform 300ms var(--ease), opacity 300ms ease; } li.on .u-ag-pick svg { opacity: 1; transform: none; }
.u-ag-thread { position: relative; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; padding: 0; } .u-ag-ths { flex: 1; }
.u-ag-th { padding: 24px 26px; display: flex; flex-direction: column; gap: 16px; animation: rise 460ms var(--ease) backwards; } .u-ag-th[hidden] { display: none; }
.u-ag-by { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #71717A; }
.u-ag-th h3 { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; } .u-ag-why { margin: 0; font-size: 14px; line-height: 1.55; color: #3F3F46; }
.u-ag-ready { background: #FAFAFA; border: 1px solid #F1F1F3; border-radius: 12px; padding: 14px 16px; } .u-ag-ready p { margin: 0 0 8px; font-size: 12px; color: #52525B; }
.u-ag-ready ol { list-style: none; margin: 0; padding: 0; } .u-ag-ready li { display: flex; gap: 10px; padding: 6px 0; font-size: 13.5px; }
.u-ag-ready li .u-m { width: 20px; height: 20px; flex: none; border-radius: 6px; background: #EEF3FF; color: #1D4ED8; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.u-ag-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } body.u .u-ag-acts .u-btn { flex: none; width: auto; min-height: 40px; padding: 0 18px; font-weight: 500; }
body.u .u-btn.lite { background: #FFFFFF; color: #18181B !important; border: 1px solid #E4E4E7; font-weight: 400; padding: 0 16px; } body.u .u-btn.lite:hover { background: #F7F7F8; }
.u-ag-sure { font-size: 12px; color: #71717A; margin-left: 4px; }
.u-ag-ask { border-top: 1px solid #F1F1F3; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; } body.u .u-ag-ask .u-chip { min-height: 30px; }
.u-ag-in { display: flex; align-items: center; gap: 10px; background: #F4F4F5; border-radius: 12px; padding: 5px 5px 5px 14px; margin: 0; }
body.u .u-ag-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; box-shadow: none; padding: 0; margin: 0; font: inherit; font-size: 14px; color: #18181B; min-height: 0; }
body.u .u-ag-in button { width: 36px; height: 36px; min-height: 0; flex: none; padding: 0; border: 0; border-radius: 9px; background: #18181B; color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.u-ag-in button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; } .u-ag-in:focus-within { box-shadow: 0 0 0 2px #2563EB; }
.u-ag-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 4px 4px 0; font-size: 12px; color: #71717A; }
body.u .u-linkb { border: 0; background: none; padding: 0; margin: 0; min-height: 0; box-shadow: none; font: inherit; color: #2563EB; cursor: pointer; } body.u .u-linkb:hover { color: #1D4ED8; }
/* the page opens with what to do first and what Atlas found (ui/agent.ts prioritiesBlock, 11 Nov 2026) */
.u-ag-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; align-items: start; margin-bottom: 16px; }
.u-ag-pri { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; } .u-ag-pri h2 { margin: 0; font-size: 14px; font-weight: 500; } .u-ag-pri > .u-row-sb { flex-wrap: wrap; gap: 2px 12px; align-items: baseline; } .u-ag-pri .u-ag-sure { margin-left: 0; }
.u-ag-pris { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } .u-ag-pris > li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid #F1F1F3; }
.u-ag-pris .u-m { width: 22px; height: 22px; flex: none; border-radius: 7px; background: #EEF3FF; color: #1D4ED8; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.u-ag-pris li > div { min-width: 0; display: flex; flex-direction: column; gap: 6px; } .u-ag-pris h3 { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.35; }
.u-ag-top3 { margin-bottom: 16px; } .u-ag-top3 .u-ag-pris { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 28px; }
.u-ag-pris .u-ag-from { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; font-size: 12px; line-height: 1.55; color: #71717A; overflow-wrap: anywhere; } body.u .u-ag-from .u-linkb { font-size: 12px; min-height: 24px; }
.u-ag-pris p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #3F3F46; overflow-wrap: anywhere; } .u-ag-pris p b { font-weight: 500; color: #18181B; }
@media (max-width: 900px) { .u-ag { grid-template-columns: minmax(0, 1fr); } .u-ag-thread { min-height: 0; } }
/* the picked item stays in view beside a long list (Ollie, 23 Oct 2026: scrolling the list lost "what to do"); the
   item scrolls inside, the ask box stays at the bottom */
@media (min-width: 901px) { .u-ag-thread { position: sticky; top: 16px; max-height: calc(100vh - 32px); min-height: min(560px, calc(100vh - 32px)); } .u-ag-ths { min-height: 0; overflow-y: auto; overscroll-behavior: contain; } }
body.u .u-seg > button { box-shadow: none; background: transparent; width: auto; margin: 0; } body.u .u-seg > button[aria-pressed="true"] { color: #18181B !important; font-weight: 500; }

/* ---- Atlas SEO's app bar and tool heads, as the prototype (seo-app-views.ts) */
body.u .seo-app-bar { margin: 0; gap: 14px; background: #FFFFFF; border: 1px solid #EDEDEF; border-radius: 12px; padding: 6px 8px 6px 12px; flex-wrap: wrap; overflow: visible; }
body.u .seo-app-name { display: flex; align-items: center; gap: 8px; font: 600 13px/1 "Geist", system-ui, sans-serif; padding: 0; color: #18181B; }
.seo-app-ic { width: 24px; height: 24px; border-radius: 7px; background: #18181B; color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.seo-app-ic svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
body.u .seo-app-bar ul { flex: 1; flex-wrap: wrap; } body.u .seo-app-bar a { min-height: 30px; padding: 0 10px; border-radius: 8px; font-size: 13px; color: #3F3F46 !important; }
body.u .seo-app-bar a:hover { background: #F4F4F5; } body.u .seo-app-bar a[aria-current="page"] { background: #EEF3FF; color: #1D4ED8 !important; font-weight: 500; }
body.u .seo-app-bar a[data-state="off"], body.u .seo-app-bar a[data-state="not-needed"] { color: #71717A !important; }
body.u .seo-tool-head { margin: 0; padding: 4px 2px 0; } body.u .seo-tool-head h1 { margin: 0; font: 500 19px/1.3 "Geist", system-ui, sans-serif; letter-spacing: -0.01em; color: #18181B; }
body.u .seo-tool-what { margin: 3px 0 0; font-size: 14px; color: #3F3F46; max-width: 820px; } body.u .seo-tool-state { margin: 4px 0 0; font-size: 12px; color: #71717A; }

/* ---- Atlas SEO's dashboard (ui/seo.ts), as the prototype */
.u-seo .u-head h1 .u-dim2 { color: #71717A; font-weight: 400; } .u-sstores { align-items: center; gap: 14px; } .u-sstores p { margin: 0; font-size: 12px; }
.u-sec { margin: 10px 2px 0; font-size: 14px; font-weight: 500; color: #18181B; }
.u-sfig { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; overflow: hidden; }
.u-sf { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; border-right: 1px solid #F1F1F3; color: #18181B !important; text-decoration: none; min-width: 0; transition: background-color 220ms ease; }
.u-sf:last-child { border-right: 0; } a.u-sf:hover { background: #FAFBFC; } .u-sf .l { font-size: 12px; color: #52525B; }
.u-sf .v { display: flex; align-items: baseline; gap: 8px; } .u-sf .v b { font-size: 24px; font-weight: 500; }
.u-sf .v em { font-style: normal; font-size: 11px; } .u-sf .v em.up { color: #156B3A; } .u-sf .v em.down { color: #A1261F; }
.u-sf .v em.tag { border-radius: 5px; padding: 1px 6px; background: #EEF3FF; color: #1D4ED8; } .u-sf .v em.tag.down { background: #FDE3E1; color: #A1261F; }
.u-sf .r { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #3F3F46; } .u-sf .r b { font-weight: 400; color: #2563EB; } .u-sf .r b.u-bad { color: #A1261F; }
.u-sf small { font-size: 11px; color: #71717A; }
.u-sai { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; } .u-sai li { display: flex; justify-content: space-between; font-size: 12px; color: #3F3F46; } .u-sai b { font-weight: 400; color: #71717A; }
.u-sai b.on { color: #18181B; } .u-sai b.w { font-weight: 400; color: #71717A; } .u-sf small.u-warn2 { color: #92400E; } .u-sf small + small { margin-top: 4px; }
.u-sspark { display: block; width: 100%; height: 34px; margin-top: auto; } .u-sspark .l { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; } .u-sspark .a { opacity: .12; }
.u-sspark.blue .l { stroke: #2563EB; } .u-sspark.blue .a { fill: #2563EB; } .u-sspark.green .l { stroke: #22A55B; } .u-sspark.green .a { fill: #22A55B; } .u-sspark.red .l { stroke: #E5484D; } .u-sspark.red .a { fill: #E5484D; }
.u-chart .teal { fill: none; stroke: #14B8A6; stroke-width: 2; vector-effect: non-scaling-stroke; }
.u-sgrid1 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .u-sgrid1 > .u-c, .u-h2s > .u-c { display: flex; flex-direction: column; gap: 14px; }
.u-srank { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; } .u-sbands { display: flex; flex-direction: column; gap: 18px; }
.u-sbands > div { display: flex; flex-direction: column; gap: 2px; } .u-sbands .l, .u-lbl { font-size: 12px; color: #52525B; margin: 0; } .u-sbands b { font-size: 22px; font-weight: 500; }
.u-sbands .d { font-size: 12px; color: #3F3F46; } .u-sbands em { font-style: normal; } .u-sbands .u-sspark { height: 26px; margin-top: 4px; }
.u-st { min-width: 0; } .u-st th a { color: #2563EB !important; text-decoration: none; } .u-st .n { text-align: right; } .u-st em { font-style: normal; font-size: 11px; } .u-st tbody tr { cursor: default; }
.u-sgrid1 .u-btn.sm, .u-h2s .u-btn.sm, .u-seo > .u-c .u-btn.sm { align-self: flex-start; margin-top: auto; }
.u-plain { list-style: none; margin: 4px 0 0; padding: 0; font-size: 13px; line-height: 1.5; }
.u-seo .u-c > .u-row-sb .u-dim { font-size: 12px; }
.u-scomp { list-style: none; margin: 0; padding: 0; } .u-scomp li { border-top: 1px solid #F3F3F4; } .u-scomp li:first-child { border-top: 0; }
.u-scomp a, .u-scomp li > span { display: flex; flex-direction: column; gap: 2px; padding: 11px 0; color: #18181B !important; text-decoration: none; font-size: 13px; } .u-scomp a:hover b { color: #2563EB; }
.u-scomp b { font-weight: 400; } .u-scomp small { font-size: 11.5px; color: #71717A; }
.u-sideas { display: flex; align-items: center; gap: 28px; } .u-donut { position: relative; width: 112px; height: 112px; flex: none; }
.u-donut svg circle { fill: none; stroke-width: 16; } .u-donut .trk { stroke: #F1F1F3; } .u-donut .blue { stroke: #2563EB; } .u-donut .teal { stroke: #14B8A6; } .u-donut .amber { stroke: #D97706; }
.u-donut > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; } .u-donut b { font-size: 20px; font-weight: 500; } .u-donut small { font-size: 10.5px; color: #71717A; }
.u-legend2 { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 10px; } .u-legend2 li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.u-legend2 span { flex: 1; } .u-legend2 b { font-weight: 400; color: #2563EB; } .u-legend2 i, .u-slist i { width: 7px; height: 7px; border-radius: 9px; flex: none; display: inline-block; }
.u-legend2 i.blue { background: #2563EB; } .u-legend2 i.teal { background: #14B8A6; } .u-legend2 i.amber { background: #D97706; }
.u-slist { list-style: none; margin: 0; padding: 0; } .u-slist li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #F3F3F4; font-size: 12.5px; }
.u-slist li > :first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 8px; } .u-slist a { color: #2563EB !important; text-decoration: none; }
.u-swin { margin: 0; font-size: 12.5px; color: #52525B; } .u-swin b { font-size: 26px; font-weight: 500; margin-right: 6px; vertical-align: -3px; }
.u-sbar { display: flex; gap: 3px; height: 8px; } .u-sbar i { flex: 1 1 0; border-radius: 3px; }
.u-sbar .t0, .u-slist i.t0 { background: #2563EB; } .u-sbar .t1, .u-slist i.t1 { background: #4F8BF0; } .u-sbar .t2, .u-slist i.t2 { background: #93B7F5; } .u-sbar .t3, .u-slist i.t3 { background: #C7D9FA; }
@media (max-width: 1150px) { .u-sfig { grid-template-columns: repeat(3, minmax(0, 1fr)); } .u-sgrid1 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .u-sfig { grid-template-columns: minmax(0, 1fr); } .u-srank { grid-template-columns: minmax(0, 1fr); } .u-sf { border-right: 0; border-bottom: 1px solid #F1F1F3; } }
.u-seo .u-gauge { flex: none; min-height: 84px; width: 140px; margin-top: 8px; } .u-seo .u-gauge.s .u-gv { font-size: 18px; } .u-seo .u-gauge.s > div { padding-bottom: 0; text-align: center; }
body.u .u-seo .u-btn.sm { display: inline-flex; align-self: flex-start; } .u-scomp li > span .u-pilltag { display: inline; margin-left: 6px; } .u-scomp li > span > b + .u-pilltag { vertical-align: 1px; }
.u-seo > .u-c:not(.u-sfig) { display: flex; flex-direction: column; gap: 10px; }

/* ---- The pages and parts still built from app.css (tool pages, forms, ?layout=v2) wear the prototype's palette, type
   and cards inside the new frame: app.css's own tokens, redefined (no component changed) */
body.u { --sheet: #FFFFFF; --raised: #FFFFFF; --paper: #FAFAFA; --ink: #18181B; --ink-2: #52525B; --ink-3: #71717A; --rule: #EDEDEF; --rule-soft: #F3F3F4; --rule-strong: #E4E4E7;
  --tint: #F4F4F5; --r-lg: 12px; --r: 9px; --display: "Geist", system-ui, sans-serif; --text: "Geist", system-ui, sans-serif; --shadow-sm: none; --bevel: none; }
body.u main .panel, body.u main .block { border: 1px solid #EDEDEF; border-radius: 12px; padding: 18px 20px; box-shadow: none; }
body.u main .panel h2, body.u main .ag-h, body.u main .tk-head h2 { font: 500 14px/1.35 "Geist", system-ui, sans-serif; letter-spacing: 0; margin: 0; }
body.u main a.btn:not(.secondary) { color: #FFFFFF !important; } body.u main a.btn.secondary { color: #18181B !important; }
/* a link drawn as a dark pill keeps its own light text: body.u a's blue on --ink was unreadable (tester, 20 Oct 2026) */
body.u main a.pl-go, body.u main a.pl-go:hover, body.u dialog a.pl-go, body.u dialog a.pl-go:hover { color: var(--paper) !important; }
body.u main button, body.u main .btn { font-size: 13px; border-radius: 9px; } body.u main input, body.u main select { border-radius: 9px; font-size: 13px; }
body.u main .panel + .panel { margin-top: 8px; } body.u .seo-view { display: flex; flex-direction: column; gap: 8px; }
body.u main .split-panels > .panel + .panel { margin-top: 0; }
/* chart pairs (the search and page pages) are cards like the rest, not half-cards on the grey page */
body.u main .split-panels > .panel { background: var(--sheet); padding: 18px 20px; border-radius: 12px; border: 1px solid #EDEDEF; }

/* ---- Atlas SEO's tools (seo-app-views.ts), as the prototype */
.u-tool { display: flex; flex-direction: column; gap: 12px; min-width: 0; } .u-tool .u-ct p.big { font-size: 12.5px; color: #52525B; }
.u-strip { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } .u-strip .u-sf .v b { font-size: 22px; }
.u-kwbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; margin: 0; }
.u-kwbar label { flex: 1 1 320px; display: flex; align-items: center; gap: 8px; background: #F4F4F5; border-radius: 10px; padding: 0 14px; min-height: 42px; }
.u-kwbar label svg { width: 15px; height: 15px; flex: none; fill: none; stroke: #71717A; stroke-width: 2; stroke-linecap: round; }
body.u .u-kwbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; box-shadow: none; padding: 0; min-height: 0; font-size: 14px; }
.u-kwbar .u-kw-go { order: 9; } body.u .u-kwbar button.u-chip { border-radius: 8px; min-height: 30px; background: #FFFFFF; color: #18181B !important; } body.u .u-kwbar button.u-chip.on { background: #EEF3FF; border-color: #C9D8FB; color: #1D4ED8 !important; }
.u-kwg { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.u-h3 { margin: 6px 0 0; font-size: 13px; font-weight: 500; } .u-h3 small { display: block; font-weight: 400; font-size: 12px; color: #71717A; margin-top: 2px; }
.u-diff { display: inline-block; width: 44px; height: 5px; border-radius: 3px; background: #F1F1F3; margin-right: 6px; vertical-align: middle; overflow: hidden; } .u-diff i { display: block; height: 100%; background: #D97706; border-radius: 3px; }
.u-more2 summary { cursor: pointer; font-size: 12.5px; color: #52525B; } .u-lead { margin: 0 2px; font-size: 14px; color: #3F3F46; }
.u-veil { position: relative; min-height: 360px; overflow: hidden; padding: 0; } .u-veil-bg { position: absolute; inset: 0; padding: 22px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 70px; gap: 12px; opacity: .55; filter: blur(2px); }
.u-veil-bg i { background: #F4F4F5; border-radius: 10px; } .u-veil-bg b { grid-column: span 4; height: 14px; align-self: center; background: #F4F4F5; border-radius: 6px; } .u-veil-bg b:first-of-type { background: linear-gradient(90deg, #FDE3E1, #FDF0D5 40%, #DCF5E5); }
.u-veil-box { position: relative; margin: 110px auto 0; max-width: 420px; background: #FFFFFF; border: 1px solid #EDEDEF; border-radius: 14px; padding: 20px 22px; box-shadow: 0 10px 28px rgba(24, 24, 27, .08); text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.u-veil-box p { margin: 0; font-size: 12.5px; color: #52525B; line-height: 1.5; }
.u-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 46px 20px; } .u-center p { margin: 0; max-width: 440px; font-size: 12.5px; color: #52525B; line-height: 1.5; }
.u-center-ic { width: 44px; height: 44px; border-radius: 99px; background: #F4F4F5; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; } .u-center-ic svg { width: 22px; height: 22px; fill: none; stroke: #52525B; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.u-form { display: flex; flex-direction: column; gap: 12px; margin: 0; } .u-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: #52525B; } .u-form label small { color: #A1A1AA; }
body.u .u-form input:not([type=checkbox]), body.u .u-form select { width: 100%; min-height: 38px; background: #F4F4F5; border: 1px solid transparent; box-shadow: none; color: #18181B; }
.u-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; } .u-form legend { font-size: 12px; color: #52525B; margin-bottom: 6px; padding: 0; }
.u-form label.u-check { flex-direction: row; align-items: center; gap: 8px; font-size: 13px; color: #18181B; } body.u .u-check input { width: 15px; height: 15px; min-height: 0; margin: 0; accent-color: #2563EB; }
.u-aig td { vertical-align: top; } .ai-mark { font-size: 12px; } .ai-mark[data-mark="named"] { color: #156B3A; } .ai-mark[data-mark="rival"] { color: #A1261F; } .ai-mark[data-mark="not-asked"], .ai-mark[data-mark="failed"] { color: #A1A1AA; }
@media (max-width: 1000px) { .u-kwg { grid-template-columns: minmax(0, 1fr); } }
.u-seot-h { align-items: flex-start; gap: 12px; } .u-seot-h > .seo-tool-head { flex: 1 1 420px; } .u-seot-h .u-pill-btn { white-space: nowrap; }

/* ---- Atlas Ads (ui/ads.ts), as the prototype */
.seo-app-ic.cv svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.cv-app { display: grid; gap: 14px; }
.seo-app-ic.ads svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.u .u-paidbar a[aria-current="page"] { background: #18181B; color: #FFFFFF !important; }
body.u .u-paidbar .ac-count { margin-left: 6px; } body.u .u-paidbar a[aria-current="page"] .ac-count { background: rgba(255, 255, 255, .22); color: #FFFFFF; }
.u-astale { border: 1px solid #FECACA; background: #FEF2F2; } .u-astale h2 { color: #B91C1C; } .u-astale p.big { max-width: 820px; }
.u-arow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 12px 0 0; }
.u-paid .u-head p.u-big { margin-top: 6px; font-size: 15px; color: #18181B; max-width: 780px; }
.u-asmall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; overflow: hidden; }
.u-asm { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-right: 1px solid #F1F1F3; min-width: 0; } .u-asm:last-child { border-right: 0; }
.u-asm .l { font-size: 12px; color: #52525B; } .u-asm .v { display: flex; align-items: baseline; gap: 8px; } .u-asm .v b { font-size: 17px; font-weight: 500; } .u-asm .v em { font-style: normal; font-size: 11px; } .u-asm small { font-size: 11px; color: #71717A; }
.u-aov { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .u-aov > .u-c, .u-awhat { display: flex; flex-direction: column; gap: 14px; }
.u-paid .u-ct p.big { font-size: 14px; color: #18181B; margin-top: 4px; }
.u-abars { display: flex; align-items: flex-end; gap: 3px; height: 92px; } .u-abars i { flex: 1 1 0; background: #E4E4E7; border-radius: 2px 2px 0 0; transform-origin: 50% 100%; animation: growY 760ms var(--ease) backwards; }
.u-abars i.busy { background: #93B7F5; } .u-abars i.peak { background: #2563EB; }
.u-abl { display: flex; gap: 3px; margin-top: 6px; } .u-abl span { flex: 1 1 0; font-size: 11px; color: #71717A; white-space: nowrap; overflow: visible; }
.u-afacts { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; font-size: 12px; color: #3F3F46; } .u-afacts b { font-weight: 500; margin-right: 3px; }
.u-atd { list-style: none; margin: 0; padding: 0; } .u-atd li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F3F3F4; }
.u-atd li > .u-m { width: 24px; height: 24px; flex: none; border-radius: 7px; background: #F4F4F5; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.u-atd b { display: block; font-size: 13.5px; font-weight: 500; } .u-atd small { display: block; font-size: 12.5px; color: #52525B; margin-top: 2px; line-height: 1.45; }
.u-awhat .u-chart svg { height: 130px; } .u-awhat .best { stroke: #2563EB; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; stroke-width: 1.5; } .u-awhat .cur { stroke: #18181B; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; stroke-width: 1.5; }
.u-awl { position: relative; display: flex; justify-content: space-between; margin-top: 6px; height: 16px; font-size: 11.5px; color: #52525B; } .u-awl span[data-left] { position: absolute; transform: translateX(-50%); white-space: nowrap; } .u-awl .best { color: #2563EB; }
.u-amore { margin-top: 2px; }
@media (max-width: 1000px) { .u-aov, .u-asmall { grid-template-columns: minmax(0, 1fr); } .u-asm { border-right: 0; border-bottom: 1px solid #F1F1F3; } }
body.u .u-c.u-pw > .u-btn.sm, body.u .u-c.u-pw > form > .u-btn.sm { align-self: flex-start; }

/* ---- the Ad Studio (ui/studio.ts), as the prototype */
.u-steps2 { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; } .u-steps2 a { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 9px; font-size: 12.5px; color: #52525B !important; text-decoration: none; }
.u-steps2 a .u-m { width: 22px; height: 22px; border-radius: 7px; background: #F4F4F5; display: flex; align-items: center; justify-content: center; font-size: 11px; } .u-steps2 a:hover { background: #F7F7F8; }
.u-steps2 a.done .u-m { background: #DCF5E5; color: #156B3A; } .u-steps2 a[aria-current="step"] { background: #18181B; color: #FFFFFF !important; } .u-steps2 a[aria-current="step"] .u-m { background: rgba(255, 255, 255, .16); color: #FFFFFF; }
.u-bn { margin-top: 2px; }
.u-ad { position: relative; width: 100%; max-width: 360px; margin: 0 auto; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: #F4F1EA; container-type: size; box-shadow: inset 0 0 0 1px rgba(24, 24, 27, .06); }
.u-ad.r916 { aspect-ratio: 9 / 16; max-width: 280px; } .u-ad.r11 { aspect-ratio: 1; } .u-ad.r1911 { aspect-ratio: 1.91 / 1; max-width: 100%; }
.u-ad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.u-ad-prod { position: absolute; left: 30%; right: 30%; bottom: 10%; height: 42%; border-radius: 6px; background: linear-gradient(160deg, rgba(255, 255, 255, .7), rgba(24, 24, 27, .12)); box-shadow: 0 12px 30px rgba(24, 24, 27, .18); }
.u-ad-wash { position: absolute; left: 0; right: 0; top: 0; height: 55%; background: linear-gradient(rgba(255, 255, 255, .78), rgba(255, 255, 255, .45) 55%, rgba(255, 255, 255, 0)); } .u-ad-wash.tall { height: 62%; }
.u-ad-l { position: absolute; line-height: 1.15; color: #18181B; font-weight: 500; letter-spacing: -0.01em; } .u-ad-l.kicker { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; opacity: .75; }
.u-ad-l.headline { font-weight: 600; } .u-ad-l.cta { width: auto !important; padding: .5em 1em; border-radius: 99px; color: #FFFFFF; background: #18181B; }
.u-ad-brand { position: absolute; right: 6%; bottom: 4%; font-size: 3.2cqh; font-weight: 600; color: #18181B; opacity: .8; }
.u-ad-safe { position: absolute; border: 1.5px dashed #E5484D; border-radius: 4px; display: none; } .u-tool:has(#ad-safe:checked) .u-ad-safe { display: block; }
.u-adwrap { background: #F4F4F5; border-radius: 12px; padding: 18px; } .u-check2 { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #3F3F46; } body.u .u-check2 input { width: 15px; height: 15px; min-height: 0; margin: 0; accent-color: #2563EB; }
.u-kit { margin: 0; display: flex; flex-direction: column; } .u-kit > div { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid #F3F3F4; font-size: 13px; }
.u-kit dt { color: #71717A; font-size: 12px; } .u-kit dd { margin: 0; } .u-kit dd.src { font-size: 11px; color: #A1A1AA; } .u-kit-logo { max-height: 28px; max-width: 140px; }
.u-sw2 { display: flex; gap: 6px; } .u-sw2 i { width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(24, 24, 27, .1); }
.u-cat { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.u-catp { display: flex; flex-direction: column; gap: 3px; padding: 12px; border: 1px solid #EDEDEF; border-radius: 12px; color: #18181B !important; text-decoration: none; transition: border-color 200ms ease, box-shadow 200ms ease; }
a.u-catp:hover { border-color: #D4D4D8; } .u-catp.on { border-color: #2563EB; box-shadow: 0 0 0 1px #2563EB; } .u-catp.held { opacity: .55; } .u-catp b { font-size: 13px; font-weight: 500; } .u-catp small { font-size: 11.5px; color: #71717A; }
.u-catp-i { width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; background: #F4F4F5; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #A1A1AA; margin-bottom: 6px; }
.u-catp-i { overflow: hidden; } .u-catp-i img { width: 100%; height: 100%; object-fit: contain; display: block; }
.u-kform { gap: 0; } body.u .u-kform textarea { width: 100%; font: inherit; font-size: 13px; line-height: 1.5; padding: 10px 12px; background: #F4F4F5; border: 1px solid transparent; border-radius: 8px; color: #18181B; resize: vertical; }
body.u .u-kform textarea:focus-visible { outline: 2px solid #2563EB; outline-offset: 1px; } .u-krow { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-top: 1px solid #F3F3F4; }
.u-krow-h { display: flex; align-items: center; gap: 8px; } .u-krow-h label { font-size: 13px; font-weight: 500; color: #18181B; } .u-krow-h small { margin-left: auto; font-size: 11.5px; color: #A1A1AA; }
.u-krow-h small.u-kmiss { color: #92400E; } .u-krow-h small + small.u-kmiss { margin-left: 8px; }
.u-kmark { width: 18px; height: 18px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #D4D4D8; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; }
.u-kmark.ok { background: #22A55B; box-shadow: none; }
.u-klogo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .u-klogo .u-kit-logo { max-height: 40px; max-width: 160px; padding: 6px 10px; border-radius: 8px; background: #F4F4F5; }
body.u .u-klogo input[type=file] { flex: 1; min-width: 0; font-size: 12px; background: none; min-height: 0; }
.u-kcols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-width: 360px; }
.u-kcol { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px !important; color: #52525B; }
body.u .u-kcol input[type=color] { width: 100%; aspect-ratio: 1; height: auto; min-height: 0; padding: 0; border: 0; border-radius: 10px; background: none; box-shadow: inset 0 0 0 1px rgba(24, 24, 27, .1); cursor: pointer; }
.u-kcol input[type=color]::-webkit-color-swatch-wrapper { padding: 0; } .u-kcol input[type=color]::-webkit-color-swatch { border: 0; border-radius: 10px; } .u-kcol input[type=color]::-moz-color-swatch { border: 0; border-radius: 10px; }
.u-kcol:has(input[type=checkbox]:not(:checked)) input[type=color] { opacity: .3; } .u-kcol:has(input[type=checkbox]:not(:checked)) span { color: #A1A1AA; }
.u-kcol span { display: flex; align-items: center; gap: 4px; } body.u .u-kcol input[type=checkbox] { width: 14px; height: 14px; min-height: 0; margin: 0; accent-color: #2563EB; }
.u-kfonts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } @media (max-width: 520px) { .u-kfonts { grid-template-columns: 1fr; } }
.u-kact { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #F3F3F4; } .u-kact .u-btn { flex: none; }
.u-kread { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 12px; } .u-kread small { font-size: 11.5px; }
@media (max-width: 640px) { .u-cat { grid-template-columns: repeat(2, minmax(0, 1fr)); } .u-cat .u-catp-i { aspect-ratio: 1; } }
.u-catadd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 12px; } .u-catadd small { font-size: 11.5px; }
.u-pics { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.u-pics li { display: flex; flex-direction: column; gap: 6px; } .u-pics img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: #F4F4F5; }
.u-pics small { font-size: 11.5px; color: #71717A; } .u-pics-f { display: flex; gap: 6px; } .u-pics-f select { min-width: 0; flex: 1; font-size: 12px; }
.u-goals { display: flex; flex-wrap: wrap; gap: 8px; } .u-goal { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border: 1px solid #E4E4E7; border-radius: 10px; color: #18181B !important; text-decoration: none; font-size: 13px; }
.u-goal small { font-size: 11.5px; color: #71717A; } .u-goal.on { border-color: #18181B; background: #18181B; color: #FFFFFF !important; } .u-goal.on small { color: #D4D4D8; }
.u-cc { gap: 14px; } .u-cc-h { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; } .u-pilltag.blue { background: #EEF3FF; color: #1D4ED8; }
.u-ev { background: #F6F8FF; border-radius: 10px; padding: 12px 14px; } .u-ev p { margin: 0; font-size: 13.5px; display: grid; grid-template-columns: 16px 1fr; } .u-ev span { color: #2563EB; font-weight: 600; } .u-ev small { grid-column: 2; font-size: 11.5px; color: #71717A; }
.u-cc-act { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; } body.u .u-cc-act .u-btn { min-height: 40px; }
.u-call a { display: flex; flex-direction: column; gap: 2px; color: #18181B !important; text-decoration: none; } .u-call a[aria-current] b { color: #2563EB; } .u-call b { font-weight: 500; } .u-call small { color: #71717A; font-size: 11.5px; } .u-call li > :first-child { white-space: normal; }
.u-checks { list-style: none; margin: 0; padding: 0; } .u-checks li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid #F3F3F4; font-size: 13px; }
.u-checks li > span:first-child { width: 20px; height: 20px; flex: none; border-radius: 99px; display: flex; align-items: center; justify-content: center; font-size: 11px; background: #DCF5E5; color: #156B3A; }
.u-checks li.no > span:first-child { background: #FDE3E1; color: #A1261F; } .u-checks b { display: block; font-weight: 500; } .u-checks small { color: #71717A; font-size: 12px; }
.u-code { margin: 0; background: #F6F8FF; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: #3F3F46; }
.u-fr ol { list-style: none; margin: 0; padding: 0; } .u-fr li { display: grid; grid-template-columns: 30px 1fr; gap: 6px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #F3F3F4; }
.u-fr li > .u-m { width: 26px; height: 26px; border-radius: 8px; background: #F4F4F5; display: flex; align-items: center; justify-content: center; font-size: 12px; } .u-fr li.ok > .u-m { background: #DCF5E5; color: #156B3A; }
.u-fr b { display: block; font-size: 13.5px; font-weight: 500; } .u-fr small { font-size: 12px; color: #71717A; } .u-fr li > i { grid-column: 2; height: 3px; border-radius: 3px; background: #F1F1F3; } .u-fr li.ok > i { background: #22A55B; }
.u-concepts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; } .u-concept { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid #EDEDEF; border-radius: 12px; background: #FAFAFA; color: #18181B !important; text-decoration: none; }
.u-concept b { font-size: 13.5px; font-weight: 500; } .u-concept small { font-size: 12px; color: #71717A; }
.u-bar2 { display: block; height: 6px; border-radius: 4px; background: #F1F1F3; overflow: hidden; } .u-bar2 i { display: block; height: 100%; background: #2563EB; }
.u-call li { display: block; } .u-call li a { text-align: left; }
.u-page > .u-btn.sm, .u-page > a.u-btn { align-self: flex-start; }
.u-dwpage { padding: 22px 0; max-width: 760px; min-height: 0; } .u-custp > .u-c.u-pw, .u-custp > section { max-width: 760px; }
body.u .u-custp > section:not(.u-dw) h2 { font: 500 14px/1.35 "Geist", system-ui, sans-serif; letter-spacing: 0; margin: 0 0 4px; }
/* phones: the app bars' tabs scroll in one row under the name; card heads wrap their buttons */
.u-tool > .u-row-sb, .u-ag-list > .u-row-sb { flex-wrap: wrap; gap: 10px; } .u-ag-list h2 { white-space: nowrap; }
@media (max-width: 700px) {
  /* nowrap: a wrapping column sizes its line to the tabs' full width, and the page ran 670px wide on a phone (21 Oct 2026) */
  body.u .seo-app-bar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 6px; padding: 8px; }
  body.u .seo-app-bar ul { min-width: 0; } body.u .seo-app-bar { min-width: 0; max-width: 100%; }
  body.u .seo-app-bar ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  body.u .seo-app-bar ul::-webkit-scrollbar { display: none; } body.u .seo-app-bar li { flex: none; }
  .u-steps2 { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .u-steps2 a { flex: none; }
  /* segmented controls with more choices than fit (Connections' groups ran the page 406px wide, so the orb and tab bar
     sat off the screen's edge) scroll in their own row instead */
  .u-seg { max-width: 100%; overflow-x: auto; grid-auto-columns: max-content; scrollbar-width: none; } .u-seg::-webkit-scrollbar { display: none; }
}
.u-slist.u-call li > a { align-items: flex-start; white-space: normal; overflow: visible; }
/* the SEO dashboard's "Start here": the one next step, then up to two more */
.u-next, .u-seo > .u-c.u-next { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 18px 20px; margin-bottom: 12px; box-shadow: inset 3px 0 0 #2563EB; }
.u-next::before, .u-next::after { content: none; }
.u-next-main { flex: 1 1 420px; display: grid; gap: 4px; min-width: 0; }
body.u .u-next > .u-btn { flex: none; width: auto; padding: 0 22px; }
.u-next-h { margin: 0; font: 600 17px/1.35 "Geist", system-ui, sans-serif; color: #18181B; }
.u-next-then { flex: 1 1 100%; border-top: 1px solid #F0F0F1; padding-top: 10px; display: grid; gap: 4px; }
.u-next-then ul { display: grid; gap: 4px; margin: 0; }
.u-logo-x { display: inline-grid; place-items: center; border-radius: 6px; background: #F4F4F5; color: #52525B; font-size: 12px; font-weight: 600; flex: none; }

/* ---- Atlas's character (21 Oct 2026, Ollie: "i want this bot, the blue thing"; then "needs to be like the one on the
   video"): a glossy indigo orb with a cyan rim and two white eyes that blink, look towards the pointer and smile. It
   greets once a visit in the middle of the page, then flies down to rest in the corner as the Ask Atlas button. */
.atlas-bot { --s: 36px; --ex: 0px; --ey: 0px; position: relative; display: inline-block; flex: none; width: var(--s); height: var(--s); border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .25) 9%, transparent 22%),
    radial-gradient(ellipse 70% 38% at 50% 100%, rgba(103, 232, 249, .95) 0%, rgba(96, 165, 250, .55) 45%, transparent 75%),
    radial-gradient(circle at 42% 38%, #6D6BFF 0%, #4F3DF5 42%, #3420D8 72%, #2A17B8 100%);
  box-shadow: inset 0 -2px 6px rgba(186, 230, 253, .55), inset 0 3px 8px rgba(255, 255, 255, .25), 0 6px 18px rgba(67, 56, 202, .45), 0 0 28px rgba(99, 102, 241, .45); }
.atlas-bot i { position: absolute; top: 37%; width: 11%; height: 25%; border-radius: 99px; background: #FFFFFF; box-shadow: 0 0 5px rgba(255, 255, 255, .9);
  transform-origin: 50% 60%; animation: bot-blink 5.2s infinite; translate: var(--ex) var(--ey); transition: translate .25s cubic-bezier(.22, 1, .36, 1), height .2s ease, top .2s ease; }
.atlas-bot i:first-child { left: 34%; } .atlas-bot i:last-child { right: 34%; animation-delay: .04s; }
/* smiling: the eyes turn to arcs, as the video's "^ ^" */
.atlas-bot.happy i { top: 40%; width: 17%; height: 11%; background: none; box-shadow: none; border: max(2px, calc(var(--s) * .06)) solid #FFFFFF; border-bottom: 0; border-radius: 99px 99px 0 0; animation: none; }
.atlas-bot.happy i:first-child { left: 28%; } .atlas-bot.happy i:last-child { right: 28%; }
.atlas-bot.big { --s: 72px; }
.atlas-bot.float { animation: bot-float 3.2s ease-in-out infinite; }
@keyframes bot-blink { 0%, 90%, 100% { transform: scaleY(1); } 93% { transform: scaleY(.12); } }
@keyframes bot-float { 50% { transform: translateY(-6px); } }
@keyframes bot-think { 50% { box-shadow: inset 0 -2px 6px rgba(186, 230, 253, .7), inset 0 3px 8px rgba(255, 255, 255, .3), 0 6px 22px rgba(67, 56, 202, .6), 0 0 44px rgba(99, 102, 241, .75); transform: scale(1.07); } }
.ask-bubble.thinking .atlas-bot { animation: bot-think 1.3s ease-in-out infinite; }
.ask-bubble.thinking .atlas-bot i { height: 12%; top: 44%; }
/* resting: the orb alone in the corner, glowing (the bubble takes its place while a conversation is kept; hidden while Ask is open) */
body.u .atlas-dock { position: fixed; right: 22px; bottom: 22px; z-index: 59; display: block; width: 56px; height: 56px; padding: 0; margin: 0; border: 0; border-radius: 50%;
  background: none; box-shadow: none; cursor: pointer; min-height: 0; }
body.u .atlas-dock .atlas-bot { --s: 56px; }
body.u .atlas-dock > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.u .atlas-dock:hover .atlas-bot { scale: 1.06; } body.u .atlas-dock .atlas-bot { transition: scale .25s cubic-bezier(.22, 1, .36, 1); }
body.u .atlas-dock:focus-visible { outline: 2px solid #4F46E5; outline-offset: 3px; }
body.u:has(.ask:not([hidden])) .atlas-dock, body.u:has(.ask-bubble:not([hidden])) .atlas-dock { display: none; }
/* while the next page is built it stays in its corner and pulses (23 Oct 2026, Ollie: "every time the page loads the
   mascot goes to the middle and it looks weird"): it used to leave the corner for a big orb in the middle, then pop
   back in on the new page; now it is in the same spot from the first frame of every page */
html.nav-wait body.u .atlas-dock .atlas-bot { animation: bot-think 1.3s ease-in-out infinite; }
html.bot-greeting body.u .atlas-dock { visibility: hidden; }
/* where the page already shows the orb as its face (connect your shop, /start), a second one in the corner only covers
   the page's own buttons */
body.u:has(main .atlas-bot, [data-connect-gate]) .atlas-dock { display: none; }
/* the tour offer card and the orb shared the bottom right corner on phones, the orb over the card's buttons */
body.u:has(.atlas-dock) .tour-offer { bottom: calc(150px + env(safe-area-inset-bottom)); }
@media (min-width: 901px) { body.u:has(.atlas-dock) .tour-offer { bottom: 92px; } }
/* its button wore link blue on the dark fill ("Take the tour" was blue on black) */
body.u .tour-offer .btn { color: #FFFFFF !important; background: #18181B; border-radius: 10px; }
/* the day's welcome (bot.js), redesigned 21 Oct 2026 (Ollie: "want it like apple. all these designs age bad"): an opaque
   sheet in the shell's grey with the orb, one large line in Geist and one quiet line under it. No blur, glass or
   gradient text, nothing that dates; only the orb carries colour. Motion is DESIGN.md's: one easing, transform and
   opacity, 640ms entrances; the title rises out of its own line. The first visit ever is Apple's welcome sheet: three
   rows of what Atlas does and a Continue button; after that a greeting that passes on its own. */
.orb-welcome { --ease: cubic-bezier(.22, 1, .36, 1); position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  padding: 32px 24px calc(32px + env(safe-area-inset-bottom)); background: #F3F3F4; color: #18181B; cursor: default; overflow-y: auto;
  animation: orbw-fade 420ms var(--ease) both; }
.orb-welcome.out { animation: orbw-out 420ms var(--ease) both; pointer-events: none; }
.orb-welcome.out .orb-welcome-in { animation: orbw-lift 420ms var(--ease) both; }
.orb-welcome-in { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; max-width: 520px; }
.orb-welcome .atlas-bot { --s: 72px; margin-bottom: 32px; animation: orbw-orb 640ms var(--ease) both; }
.orb-welcome h1 { margin: 0; overflow: hidden; padding-bottom: .08em; font: 500 56px/1.05 "Geist", system-ui, sans-serif; letter-spacing: -0.045em; }
.orb-welcome h1 > span { display: block; animation: orbw-rise 640ms var(--ease) 120ms both; }
.orb-welcome-sub { margin: 14px 0 0; font-size: 17px; line-height: 1.45; color: #71717A; animation: orbw-up 640ms var(--ease) 240ms both; }
/* setup, as a line of progress rather than a badge */
.orb-welcome-setup { width: min(280px, 100%); margin-top: 36px; animation: orbw-up 640ms var(--ease) 360ms both; }
.orb-welcome-setup p { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 13px; color: #52525B; text-align: left; }
.orb-welcome-setup p b { font-weight: 500; color: #18181B; }
.orb-welcome-setup > span, .orb-card-bar { display: block; height: 3px; border-radius: 3px; background: #E4E4E7; overflow: hidden; }
.orb-welcome-setup > span i, .orb-card-bar i { display: block; height: 100%; border-radius: inherit; background: #2563EB; transform-origin: left; transform: scaleX(0);
  transition: transform 640ms var(--ease, cubic-bezier(.22, 1, .36, 1)) 480ms; }
/* the first visit: what Atlas does, in three rows, then Continue */
.orb-welcome-rows { display: grid; gap: 20px; width: 100%; margin: 40px 0 0; padding: 0; list-style: none; text-align: left; }
.orb-welcome-rows li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; animation: orbw-up 640ms var(--ease) both; }
.orb-welcome-rows li:nth-child(1) { animation-delay: 320ms; } .orb-welcome-rows li:nth-child(2) { animation-delay: 380ms; } .orb-welcome-rows li:nth-child(3) { animation-delay: 440ms; }
.orb-welcome-rows .t { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #18181B; color: #FFFFFF; }
.orb-welcome-rows svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.orb-welcome-rows b { display: block; font-size: 15px; font-weight: 500; line-height: 1.35; }
.orb-welcome-rows span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: #71717A; }
body.u .orb-welcome .orb-welcome-go { flex: none; width: min(280px, 100%); min-height: 48px; margin-top: 44px; border-radius: 12px; font-size: 15px; animation: orbw-up 640ms var(--ease) 520ms both; }
.orb-welcome-go:focus-visible { outline: 2px solid #2563EB; outline-offset: 3px; }
/* the greeting passes on its own; a quiet Continue for those who want it gone sooner */
.orb-welcome-skip { margin-top: 40px; padding: 8px 14px; border: 0; background: none; font: inherit; font-size: 13px; color: #A1A1AA; cursor: pointer; animation: orbw-up 640ms var(--ease) 600ms both; }
.orb-welcome-skip:hover { color: #52525B; } .orb-welcome-skip:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; border-radius: 8px; }
.orb-flying { position: fixed; z-index: 91; translate: -50% -50%; pointer-events: none; }
@keyframes orbw-fade { from { opacity: 0; } }
@keyframes orbw-out { to { opacity: 0; } }
@keyframes orbw-lift { to { opacity: 0; transform: translateY(-12px); } }
@keyframes orbw-orb { from { opacity: 0; transform: scale(.82); } }
@keyframes orbw-rise { from { transform: translateY(105%); } }
@keyframes orbw-up { from { opacity: 0; transform: translateY(10px); } }
/* the next setup step, beside the orb: one slim line to its left, lifted because it floats, never over the page's cards */
.orb-card { position: fixed; right: 90px; bottom: 30px; z-index: 58; display: flex; align-items: center; gap: 2px; max-width: min(340px, calc(100vw - 120px)); padding: 4px 4px 4px 14px;
  border-radius: 999px; background: #FFFFFF; border: 1px solid #EDEDEF; box-shadow: 0 8px 24px rgba(24, 24, 27, .10), 0 1px 2px rgba(24, 24, 27, .05); animation: bubble-in 420ms cubic-bezier(.22, 1, .36, 1) both; }
body.u .orb-card-n, .orb-card-n { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 32px; color: #18181B; text-decoration: none; font-size: 13px; }
.orb-card-k { display: flex; gap: 6px; flex: none; color: #71717A; font-size: 12px; }
.orb-card-k b { font: 500 12px/1.4 "Geist Mono", ui-monospace, monospace; letter-spacing: -0.04em; color: #18181B; }
.orb-card-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.orb-card-n .orb-card-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.orb-card-x { display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #71717A; cursor: pointer; }
.orb-card-x:hover { background: #F4F4F5; color: #18181B; }
.orb-card-x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
body.u:has(.ask:not([hidden])) .orb-card { display: none; }
@media (max-width: 900px) {
  body.u .atlas-dock { right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); width: 52px; height: 52px; }
  body.u .atlas-dock .atlas-bot { --s: 52px; }
  .ask-bubble { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .orb-card { right: 74px; bottom: calc(90px + env(safe-area-inset-bottom)); max-width: calc(100vw - 96px); }
  /* on a phone only how far, beside the orb: the next step is a tap away */
  .orb-card-t { display: none; }
  .orb-welcome.first { place-items: start center; padding-top: calc(10vh + env(safe-area-inset-top)); }
  .orb-welcome h1 { font-size: 38px; }
  .orb-welcome .atlas-bot { --s: 64px; margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) { .atlas-bot, .atlas-bot.float, .atlas-bot i, .ask-bubble.thinking .atlas-bot, body.u .atlas-dock, html.nav-wait body.u .atlas-dock .atlas-bot, .orb-card { animation: none; }
  .orb-welcome-setup > span i, .orb-card-bar i { transition: none; } }
@media print { .atlas-dock, .orb-welcome, .orb-card { display: none !important; } }
/* every other Atlas mark in the app (Ask panel, Atlas AI, the agent, tours, the guide, "Ask Atlas" rows) is the same
   orb, not the old rainbow one (Ollie, 21 Oct 2026: "it's in the whole app"): its one <i> is the left eye, ::before the right */
body.u .ai-orb { isolation: isolate; animation: none;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .25) 9%, transparent 22%),
    radial-gradient(ellipse 70% 38% at 50% 100%, rgba(103, 232, 249, .95) 0%, rgba(96, 165, 250, .55) 45%, transparent 75%),
    radial-gradient(circle at 42% 38%, #6D6BFF 0%, #4F3DF5 42%, #3420D8 72%, #2A17B8 100%);
  box-shadow: inset 0 -1px 4px rgba(186, 230, 253, .55), 0 3px 10px rgba(67, 56, 202, .35), 0 0 14px rgba(99, 102, 241, .35); }
body.u .ai-orb::after { content: none; }
body.u .ai-orb i, body.u .ai-orb::before { content: ""; position: absolute; inset: auto; top: 37%; width: 11%; height: 25%; min-width: 2px; border-radius: 99px;
  background: #FFFFFF; box-shadow: 0 0 4px rgba(255, 255, 255, .8); filter: none; opacity: 1; transform-origin: 50% 60%; animation: bot-blink 5.2s infinite; }
body.u .ai-orb i { left: 34%; } body.u .ai-orb::before { right: 34%; animation-delay: .04s; }
body.u .ask.thinking .ai-orb, body.u .ask-bubble.thinking .ai-orb { animation: bot-think 1.3s ease-in-out infinite; }
body.u .ask.thinking .ai-orb i, body.u .ask.thinking .ai-orb::before { height: 12%; top: 44%; }
@media (prefers-reduced-motion: reduce) { body.u .ai-orb, body.u .ai-orb i, body.u .ai-orb::before { animation: none !important; } }
/* dragged onto the page: the orb follows the finger, and the piece it would read is outlined */
.bot-ghost { position: fixed; z-index: 80; translate: -50% -50%; pointer-events: none; animation: bot-think 1.3s ease-in-out infinite; }
html.bot-dragging, html.bot-dragging * { cursor: grabbing !important; user-select: none; }
html.bot-dragging .atlas-dock { opacity: .4; }
.bot-target { outline: 2px solid #4F46E5 !important; outline-offset: 3px; border-radius: 10px; background-color: rgba(79, 70, 229, .04) !important; }
body.u .atlas-dock { touch-action: none; }
/* What to track: each search's reason under it, wrapping (21 Oct 2026) */
.tk-picks th .tk-why { display: block; white-space: normal; max-width: 52ch; font-weight: 400; margin-top: 2px; }
/* ---- A new workspace's first minutes (connect-gate.ts, 21 Oct 2026): /start until the shop's orders are in, and the
   Ads and fulfilment pages blurred behind the steps to connect them when there's nothing to show yet. The same setup
   assistant look as the welcome: the orb, a centred title, the steps as one grouped list, one dark button. */
.cg-start, .cg-sheet { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cg-start { max-width: 520px; padding: 0 4px 40px; animation: cg-rise 640ms cubic-bezier(.22, 1, .36, 1) both; }
body.u .u-main > .cg-start, .cg-start { margin: 7vh auto 0; }
.cg-start .atlas-bot, .cg-sheet .atlas-bot { --s: 88px; margin-bottom: 24px; }
.cg-sheet .atlas-bot { --s: 64px; margin-bottom: 16px; }
.cg-start h1, .cg-sheet h2 { margin: 0; font: 600 34px/1.12 "Geist", system-ui, sans-serif; letter-spacing: -0.03em; color: #18181B; text-wrap: balance; }
.cg-sheet h2 { font-size: 22px; letter-spacing: -0.02em; }
.cg-lede { margin: 12px 0 0; max-width: 44ch; font-size: 16px; line-height: 1.5; color: #52525B; text-wrap: pretty; }
.cg-sheet .cg-lede { font-size: 14.5px; }
.cg-small { margin: 14px 0 0; max-width: 46ch; font-size: 13px; line-height: 1.5; color: #71717A; } .cg-small a { color: #2563EB; }
.cg-steps { counter-reset: cg; list-style: none; margin: 28px 0 0; padding: 0; width: 100%; text-align: left; background: #FFFFFF; border-radius: 14px; box-shadow: 0 0 0 1px #E9E9EC; overflow: hidden; }
.cg-sheet .cg-steps { margin-top: 20px; box-shadow: 0 0 0 1px #EDEDEF; }
.cg-steps li { counter-increment: cg; position: relative; padding: 14px 16px 14px 50px; font-size: 14px; line-height: 1.5; color: #52525B; }
.cg-steps li + li { border-top: 1px solid #F1F1F3; }
.cg-steps li::before { content: counter(cg); position: absolute; left: 16px; top: 14px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: #F4F4F5; color: #52525B; font: 500 12px/1 "Geist Mono", ui-monospace, monospace; }
.cg-steps strong { color: #18181B; font-weight: 500; }
.cg-acts { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 28px; width: 100%; }
.cg-sheet .cg-acts { margin-top: 20px; }
body.u .cg-acts .u-btn { flex: none; width: auto; min-width: 240px; min-height: 50px; padding: 0 28px; border-radius: 14px; font-size: 15.5px; }
body.u .cg-acts .u-btn2 { flex: none; min-height: 44px; border: 0; background: none; color: #2563EB; font-size: 14.5px; }
body.u .cg-acts .u-btn2:hover { color: #1D4ED8; }
.cg-count { margin: 28px 0 0; font-size: 14px; color: #52525B; } .cg-count span { display: block; margin-bottom: 4px; font: 500 44px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: -0.04em; color: #18181B; }
.cg-bar { position: relative; width: min(280px, 100%); height: 4px; margin-top: 18px; border-radius: 99px; background: #E4E4E7; overflow: hidden; }
.cg-bar i { position: absolute; inset: 0 auto 0 0; width: 35%; border-radius: 99px; background: #18181B; animation: cg-slide 1.4s cubic-bezier(.65, 0, .35, 1) infinite; }
.cg-wrap { position: relative; min-height: 680px; }
.cg-under { filter: blur(8px) saturate(.6); opacity: .5; pointer-events: none; user-select: none; max-height: 1200px; overflow: hidden; }
.cg-sheet { position: absolute; z-index: 5; top: 56px; left: 50%; translate: -50% 0; width: min(460px, calc(100% - 32px)); padding: 28px 24px 20px; border-radius: 20px; background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(24, 24, 27, .06), 0 24px 64px rgba(24, 24, 27, .16); animation: cg-rise 420ms cubic-bezier(.22, 1, .36, 1) both; }
.cg-sheet .cg-small { margin-top: 8px; }
@keyframes cg-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes cg-slide { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
@media (max-width: 900px) { body.u .u-main > .cg-start, .cg-start { margin-top: 24px; } .cg-start h1 { font-size: 28px; } .cg-sheet { top: 12px; padding: 24px 18px 16px; }
  body.u .cg-acts .u-btn { width: 100%; min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .cg-start, .cg-sheet, .cg-bar i { animation: none; } }
/* ---- The roadmap to results (roadmap.ts, 18 Nov 2026, from the 10/10 order-confirmation email in Ollie's reels): the
   five stops from a new account to the daily read, as one grouped list down a line, ticked when done, the current one
   blue with "You're here", each with its honest timing on the right. Then "We're here to help" under it. */
.rm { width: 100%; margin: 32px 0 0; text-align: left; }
.rm-h { margin: 0 0 10px; font: 500 14px/1.4 "Geist", system-ui, sans-serif; color: #18181B; }
.rm-list { list-style: none; margin: 0; padding: 4px 16px; background: #FFFFFF; border-radius: 14px; box-shadow: 0 0 0 1px #EDEDEF; }
.rm-stop { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; padding: 12px 0; }
.rm-stop::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: #E4E4E7; }
.rm-stop:first-child::before { top: 24px; } .rm-stop:last-child::before { bottom: calc(100% - 24px); }
.rm-stop.done::before { background: #18181B; }
.rm-dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #F4F4F5; color: #52525B; font: 500 12px/1 "Geist Mono", ui-monospace, monospace; }
.rm-dot svg { width: 14px; height: 14px; }
.rm-stop.done .rm-dot { background: #18181B; color: #FFFFFF; }
.rm-stop.now .rm-dot { background: #2563EB; color: #FFFFFF; box-shadow: 0 0 0 4px #EEF3FF; }
.rm-t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 2px 0 0; }
.rm-t b { font-size: 14px; font-weight: 500; line-height: 1.4; color: #18181B; }
.rm-stop.next .rm-t b { color: #52525B; }
.rm-when { flex: none; font-size: 12.5px; line-height: 1.4; color: #71717A; white-space: nowrap; }
.rm-here { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: #EEF3FF; color: #2563EB; font-size: 11.5px; font-weight: 500; line-height: 1.5; }
.rm-what { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #52525B; text-wrap: pretty; }
.rm-stop.done .rm-what, .rm-stop.next .rm-what { color: #71717A; }
.rm.compact .rm-stop { padding: 9px 0; }
.rm.compact .rm-stop:first-child::before { top: 21px; } .rm.compact .rm-stop:last-child::before { bottom: calc(100% - 21px); }
.rm-help { margin: 20px 0 0; max-width: 46ch; font-size: 13px; line-height: 1.5; color: #71717A; text-wrap: pretty; }
.rm-help b { font-weight: 500; color: #18181B; } .rm-help a { color: #2563EB; }
body.u .u-main .rm { margin-block: 32px 0; } body.u .u-main .rm.compact { margin-top: 28px; }
.wz-body .rm { margin-top: 34px; } .wz-body .rm-help { margin: 22px auto 0; }
.wz-body .wz-ready .rm { margin-top: 28px; }
/* ---- The welcome as a chat (welcome.js, 18 Nov 2026, Ollie: "the codex video": you get in and the orb asks you
   questions). The orb speaks each question in a white bubble on the left; your answers sit in dark bubbles on the right
   in the conversation above; the choices stay one grouped list under the question. Without scripts: the plain form. */
.wz-chat .wz-log { display: flex; flex-direction: column; gap: 10px; max-width: 560px; margin: 0 auto; padding: 8px 20px 0; }
.wz-chat .wz-ex { display: flex; flex-direction: column; gap: 8px; animation: wz-msg-in 320ms cubic-bezier(.23, 1, .32, 1) both; }
.wz-chat .wz-ex.old { display: none; }
.wz-chat .wz-msg { display: flex; align-items: flex-end; gap: 8px; }
.wz-chat .wz-msg.you { justify-content: flex-end; }
.wz-chat .wz-bubble { margin: 0; max-width: 80%; padding: 9px 14px; border-radius: 18px 18px 18px 6px; background: #FFFFFF; box-shadow: 0 0 0 1px #EDEDEF;
  font-size: 15px; line-height: 1.45; color: #18181B; text-align: left; text-wrap: pretty; }
.wz-chat .wz-msg.you .wz-bubble { border-radius: 18px 18px 6px 18px; background: #18181B; box-shadow: none; color: #FFFFFF; }
.wz-chat .wz-ava { --s: 28px; flex: none; }
/* the question being asked: the orb speaking, left-aligned like the rest of the chat */
.wz-body.wz-chat .wz-step:not(.wz-hello):not(.wz-ready) { text-align: left; }
.wz-body.wz-chat .wz-step:not(.wz-hello):not(.wz-ready) .wz-h { margin-top: 22px; text-align: center; font: 500 12.5px/1.4 "Geist", system-ui, sans-serif; letter-spacing: 0; color: #71717A; }
.wz-body.wz-chat .wz-step:not(.wz-hello):not(.wz-ready) .wz-lede { margin: 4px 0 0; max-width: none; font-size: 14px; color: #71717A; }
.wz-body.wz-chat .wz-q legend, .wz-body.wz-chat.wz-js .wz-step .wz-q[data-sub] legend { display: flex; align-items: flex-end; gap: 8px; width: 100%; text-align: left;
  font: 400 16px/1.45 "Geist", system-ui, sans-serif; letter-spacing: 0; color: #18181B; }
.wz-body.wz-chat .wz-q legend > .wz-ava { order: -1; }
.wz-body.wz-chat .wz-q legend { padding: 0; }
.wz-body.wz-chat .wz-q legend::after { content: none; }
.wz-body.wz-chat .wz-help { margin: 6px 0 0 36px; text-align: left; }
.wz-body.wz-chat .wz-subbar { display: none; }
.wz-body.wz-chat .wz-top { background: #F3F3F4; }
.wz-body.wz-chat .wz-step > .wz-msg { margin-top: 10px; }
.wz-body.wz-chat .wz-q legend .wz-bubble { max-width: 86%; font-weight: 500; }
.wz-body.wz-chat .wz-target { justify-content: flex-start; margin-left: 36px; }
.wz-body.wz-chat .wz-opts, .wz-body.wz-chat .wz-presets { margin-left: 36px; }
.wz-body.wz-chat .wz-effect { margin-left: 36px; text-align: left; }
@keyframes wz-msg-in { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 640px) { .wz-chat .wz-bubble { max-width: 86%; } .wz-body.wz-chat .wz-opts, .wz-body.wz-chat .wz-presets, .wz-body.wz-chat .wz-help, .wz-body.wz-chat .wz-effect, .wz-body.wz-chat .wz-target { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .wz-chat .wz-ex { animation: none; } }
/* ---- The chat, made to feel like one (18 Nov 2026, Ollie: "needs to be an exceptional experience"): the orb types for a
   moment before each question, its answers then rise in; after you answer, the orb says what that changes (a quieter
   bubble). A suggested answer is marked on each question; services carry their own logos; keys say how they're kept. */
.wz-chat .wz-dots { display: none; gap: 4px; align-items: center; height: 22px; }
.wz-chat .wz-dots i { width: 6px; height: 6px; border-radius: 50%; background: #A1A1AA; animation: wz-dot 900ms ease-in-out infinite; }
.wz-chat .wz-dots i:nth-child(2) { animation-delay: 150ms; }
.wz-chat .wz-dots i:nth-child(3) { animation-delay: 300ms; }
@keyframes wz-dot { 0%, 80%, 100% { opacity: .4; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.wz-chat .wz-q.typing .wz-dots { display: inline-flex; }
.wz-chat .wz-q.typing .wz-said { display: none; }
.wz-chat .wz-q > :not(legend) { transition: opacity 280ms cubic-bezier(.23, 1, .32, 1), transform 280ms cubic-bezier(.23, 1, .32, 1); }
.wz-chat .wz-q.typing > :not(legend) { opacity: 0; transform: translateY(6px); pointer-events: none; }
.wz-chat .wz-msg.ack .wz-bubble { background: #FFFFFF; box-shadow: 0 0 0 1px #EDEDEF; color: #52525B; font-size: 14px; }
.wz-chat .wz-msg.ack .wz-ava { visibility: hidden; }
.wz-chat .wz-ex.quiet { animation: none; }
.wz-body .wz-sug { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #DCF5E5; color: #156B3A; font: 500 11.5px/1.6 "Geist", system-ui, sans-serif; font-style: normal; vertical-align: 1px; }
.bm { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; background: #FFFFFF; box-shadow: 0 0 0 1px #EDEDEF; }
.bm svg { width: 15px; height: 15px; }
.wz-body .wz-opt.has-mark .wz-opt-in, .wz-body.wz-js .wz-q.single[data-sub] .wz-opt.has-mark .wz-opt-in, .wz-body.wz-js .wz-q.multi[data-sub] .wz-opt.has-mark .wz-opt-in { grid-template-columns: 24px 1fr 22px; }
.wz-body .wz-opt.has-mark .wz-opt-in > .bm, .wz-body.wz-js .wz-q.single[data-sub] .wz-opt.has-mark .wz-opt-in > .bm, .wz-body.wz-js .wz-q.multi[data-sub] .wz-opt.has-mark .wz-opt-in > .bm,
.wz-body .wz-opt.has-mark .wz-opt-in > .logo, .wz-body.wz-js .wz-q.single[data-sub] .wz-opt.has-mark .wz-opt-in > .logo, .wz-body.wz-js .wz-q.multi[data-sub] .wz-opt.has-mark .wz-opt-in > .logo { display: inline-grid; grid-column: 1; grid-row: 1 / span 2; justify-self: start; }
.wz-body .wz-opt.has-mark .wz-opt-in strong { grid-column: 2; }
.wz-body .wz-opt.has-mark .wz-opt-in > span:not(.wz-check):not(.bm):not(.logo) { grid-column: 2; }
.wz-body .wz-opt.has-mark .wz-check, .wz-body.wz-js .wz-q.single[data-sub] .wz-opt.has-mark .wz-opt-in .wz-check { grid-column: 3; }
.wz-body .wz-panel h3 { display: flex; align-items: center; gap: 8px; }
.wz-body .wz-panel h3 .bm + .bm, .wz-body .wz-panel h3 .bm + .logo, .wz-body .wz-panel h3 .logo + .bm { margin-left: -4px; }
.wz-body .wz-safe { display: flex; gap: 8px; align-items: center; justify-content: center; max-width: 560px; margin: 14px auto 0; font-size: 13px; color: #71717A; }
.wz-body .wz-safe svg { flex: none; width: 14px; height: 14px; fill: none; stroke: #156B3A; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wz-body .wz-safe a { color: #52525B; }
/* connections as rows: logo, name and status, one Connect button (18 Nov 2026, Ollie: "this looks overloading") */
.wz-body .wz-conns { max-width: 560px; margin: 16px auto 0; padding: 0; list-style: none; border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px #EDEDEF; overflow: hidden; text-align: left; }
.wz-body .wz-conn { display: flex; align-items: center; gap: 12px; min-height: 56px; margin: 0; padding: 8px 12px 8px 16px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.wz-body .wz-conn + .wz-conn { border-top: 1px solid #F4F4F5; }
.wz-body .wz-conn[hidden] { display: none; }
.wz-body .wz-conn-n { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; font-size: 15px; font-weight: 500; color: #18181B; }
.wz-body .wz-conn-n .wz-live { font-size: 12.5px; }
.wz-body .wz-conn .btn { flex: none; min-height: 40px; }
.bm-dot svg { fill: none; stroke: #52525B; stroke-width: 1.5; }
/* Connect Claude, at the end: the address and one tap; how-to folds */
.wz-body .wz-claude { max-width: 560px; margin: 28px auto 0; padding: 20px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px #EDEDEF; text-align: left; }
.wz-body .wz-claude-top { display: flex; gap: 12px; align-items: center; }
.wz-body .wz-claude-top .bm { width: 36px; height: 36px; border-radius: 10px; }
.wz-body .wz-claude-top .bm svg { width: 22px; height: 22px; }
.wz-body .wz-claude h2 { margin: 0; font: 600 17px/1.3 "Geist", system-ui, sans-serif; color: #18181B; }
.wz-body .wz-claude-sub { margin: 2px 0 0; font-size: 13.5px; color: #71717A; }
.wz-body .wz-claude .copy-row { margin: 16px 0 0; align-items: center; }
.wz-body .wz-claude .copy-src { font: 400 13px/1.4 "Geist Mono", ui-monospace, monospace; min-height: 40px; }
.wz-body .wz-claude .copy-row .btn { flex: none; min-height: 40px; }
.wz-body .wz-claude-how { margin-top: 12px; font-size: 14px; color: #52525B; }
.wz-body .wz-claude-how summary { cursor: pointer; font-weight: 500; color: #18181B; }
.wz-body .wz-claude-how ol { margin: 10px 0 0; padding-left: 20px; line-height: 1.6; }
.wz-body .wz-claude code { font-size: 12.5px; overflow-wrap: anywhere; }
@media (max-width: 640px) { .wz-body .wz-claude .copy-row { flex-wrap: wrap; } .wz-body .wz-claude .copy-row .copy-src { flex-basis: 100%; } }
/* type to the orb: a composer pinned to the bottom of the welcome, like any chat */
.wz-body .wz-ask { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 5; display: flex; gap: 8px; align-items: center;
  width: min(560px, calc(100% - 32px)); padding: 6px 6px 6px 16px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 0 0 1px #E4E4E7; transform: translateX(-50%); }
.wz-body .wz-ask input, .wz-body .wz-ask input:hover, .wz-body .wz-ask input:focus { flex: 1; min-width: 0; min-height: 40px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; font: 400 16px/1.4 "Geist", system-ui, sans-serif; color: #18181B; outline: 0; }
.wz-body .wz-ask input::placeholder { color: #A1A1AA; }
.wz-body .wz-ask button { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #18181B; color: #FFFFFF; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.wz-body .wz-ask button:active { transform: scale(.97); }
.wz-body .wz-ask button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wz-body .wz-ask.busy button { opacity: .5; }
.wz-body .wz-ask:focus-within { box-shadow: 0 0 0 2px #2563EB; }
.wz-body.wz-has-ask form.wz { padding-bottom: 96px; }
.wz-chat .wz-wait .wz-dots { display: inline-flex; }
/* The welcome's first moment, like the code.xr video (18 Nov 2026, Ollie: "does the onboarding look as good as the
   video?"): Atlas's Home, blurred, wakes up behind the orb; the orb pops in and speaks in a bubble; "Let's go" and the
   orb glides off into the chat. Only on the first step; the outline is drawing, never figures. */
.wz-stage { display: none; }
.wz-body.wz-js[data-step="0"] .wz-stage { position: fixed; inset: 64px 0 0; z-index: 0; display: flex; gap: 20px; padding: 24px 32px; pointer-events: none;
  filter: blur(7px); opacity: .75; animation: wz-wake 1400ms cubic-bezier(.23, 1, .32, 1) both; }
@keyframes wz-wake { from { filter: blur(18px); opacity: 0; transform: scale(1.02); } }
.wz-sk-side { display: flex; flex-direction: column; gap: 14px; width: 48px; padding: 14px 0; border-radius: 24px; background: #FFFFFF; align-items: center; }
.wz-sk-side i { width: 18px; height: 18px; border-radius: 6px; background: #E4E4E7; }
.wz-sk { flex: 1; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.wz-sk-hi { display: flex; flex-direction: column; gap: 8px; } .wz-sk-hi i { width: 180px; height: 16px; border-radius: 8px; background: #E4E4E7; } .wz-sk-hi i + i { width: 260px; height: 10px; }
.wz-sk-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wz-sk-tiles i { height: 84px; border-radius: 16px; background: #FFFFFF; } .wz-sk-tiles i.g { background: #DCF5E5; }
.wz-sk-row { flex: 1; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; max-height: 320px; }
.wz-sk-row b { border-radius: 16px; background: #FFFFFF; }
.wz-sk-chart { display: flex; align-items: flex-end; padding: 24px; } .wz-sk-chart svg { width: 100%; height: 60%; fill: none; stroke: #A1A1AA; stroke-width: 2; }
.wz-body.wz-js .wz-hello { position: relative; z-index: 1; justify-content: center; min-height: calc(100dvh - 240px); }
.wz-body .wz-hi { display: flex; align-items: flex-end; gap: 14px; max-width: 560px; margin: 0 auto; text-align: left; }
.wz-body .wz-hi .wz-orb { --s: 72px; flex: none; margin: 0; animation: wz-pop 520ms cubic-bezier(.34, 1.4, .64, 1) 200ms both; }
@keyframes wz-pop { from { opacity: 0; transform: scale(.4); } }
.wz-body .wz-hi-said { display: flex; flex-direction: column; gap: 8px; }
.wz-body .wz-hi .wz-h, .wz-body .wz-hi .wz-lede { margin: 0; padding: 12px 16px; border-radius: 20px 20px 20px 6px; background: #FFFFFF; box-shadow: 0 0 0 1px #EDEDEF; text-align: left; }
.wz-body .wz-hi .wz-h { font: 600 20px/1.35 "Geist", system-ui, sans-serif; letter-spacing: -0.01em; color: #18181B; animation: wz-msg-in 360ms cubic-bezier(.23, 1, .32, 1) 600ms both; }
.wz-body .wz-hi .wz-lede { max-width: none; font-size: 15px; line-height: 1.5; color: #52525B; animation: wz-msg-in 360ms cubic-bezier(.23, 1, .32, 1) 1100ms both; }
.wz-body .wz-hello .wz-nav { animation: wz-msg-in 360ms cubic-bezier(.23, 1, .32, 1) 1400ms both; }
.wz-body .wz-plan-fold { max-width: 560px; margin: 24px auto 0; text-align: left; font-size: 14px; color: #52525B; }
.wz-body .wz-plan-fold summary { width: fit-content; margin: 0 auto; cursor: pointer; font-weight: 500; color: #52525B; }
.wz-body .wz-plan-fold .rm { margin-top: 12px; }
.wz-body .wz-hello .rm-help, .wz-body .wz-hello .wz-plan { position: relative; font-size: 13px; color: #71717A; }
/* "Let's go": the outline and the welcome step back as the chat takes over */
.wz-body .wz-hello.leaving .wz-hi .wz-orb { transform: translate(-40px, -40px) scale(.4); opacity: 0; transition: transform 380ms cubic-bezier(.23, 1, .32, 1), opacity 380ms; }
.wz-body .wz-hello.leaving > :not(.wz-hi), .wz-body .wz-hello.leaving .wz-hi-said { opacity: 0; transform: translateY(-8px); transition: opacity 240ms, transform 240ms cubic-bezier(.23, 1, .32, 1); }
.wz-body.leaving-hello .wz-stage { opacity: 0; transition: opacity 380ms; }
@media (max-width: 640px) { .wz-body.wz-js[data-step="0"] .wz-stage { padding: 16px; } .wz-sk-side { display: none; } .wz-sk-tiles { grid-template-columns: repeat(2, 1fr); } .wz-sk-row { grid-template-columns: 1fr; }
  .wz-body .wz-hi { flex-direction: column; align-items: flex-start; } .wz-body .wz-hi .wz-h { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .wz-body.wz-js[data-step="0"] .wz-stage, .wz-body .wz-hi .wz-orb, .wz-body .wz-hi .wz-h, .wz-body .wz-hi .wz-lede, .wz-body .wz-hello .wz-nav { animation: none; } }
@media (prefers-reduced-motion: reduce) { .wz-chat .wz-dots i { animation: none; } .wz-chat .wz-q > :not(legend) { transition: none; } }
@media (max-width: 640px) { .rm-t { flex-direction: column; gap: 1px; } .rm-list { padding: 2px 14px; } }
/* ---- The welcome (welcome-views.ts), as a setup assistant (21 Oct 2026, Ollie: "want it like apple. all these designs
   age bad"): a quiet grey page, one column in the middle, the Atlas orb instead of the rainbow, large Geist titles,
   choices as one grouped list with a tick (not a wall of outlined tiles), one dark button, Back and Skip as plain text. */
.wz-body { --wz-ink: #18181B; --wz-ink2: #52525B; --wz-ink3: #71717A; --wz-line: #E9E9EC; --wz-blue: #2563EB;
  color-scheme: light; background: #F3F3F4; color: var(--wz-ink); font-family: "Geist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.wz-body ::selection { background: #DBE6FE; }
.wz-body .wz-top { grid-template-columns: 1fr minmax(0, 360px) 1fr; padding: 14px clamp(16px, 4vw, 32px); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.wz-body .wz-brand { font: 600 15px/1 "Geist", system-ui, sans-serif; letter-spacing: -0.01em; }
.wz-body .wz-top-back, .wz-body .wz-skip { min-height: 40px; padding: 0 10px; border: 0; box-shadow: none; background: none; border-radius: 10px; color: var(--wz-blue); font: 500 15px/1 "Geist", system-ui, sans-serif; }
.wz-body .wz-top-back:hover, .wz-body .wz-skip:hover { background: rgba(37, 99, 235, .07); color: #1D4ED8; }
.wz-body .wz-skip { justify-self: end; color: #71717A; }
.wz-body .wz-skip:hover { background: #F4F4F5; color: #18181B; }
.wz-body .wz-hello .wz-plan { display: none; }
.wz-body .wz-progress { gap: 4px; width: 100%; }
.wz-body .wz-progress li { height: 4px; background: #E4E4E7; }
.wz-body .wz-progress li.done, .wz-body .wz-progress li.now { background: var(--wz-ink); }
.wz-body .wz { max-width: 560px; margin: 0 auto; padding: 4vh 20px 72px; }
/* every step reads down the middle: title, one line, then the list */
.wz-body .wz-step { text-align: center; }
/* the bar at the top already says where you are: no "Step 2 of 7" label over the title */
.wz-body.wz-js .wz-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wz-body .wz-step:not(.wz-hello):not(.wz-ready) .wz-h { margin-top: 3vh; }
.wz-body .wz-h { font: 600 clamp(30px, 4.4vw, 40px)/1.1 "Geist", system-ui, sans-serif; letter-spacing: -0.03em; text-wrap: balance; }
.wz-body .wz-lede { margin: 12px auto 0; max-width: 46ch; font-size: 17px; line-height: 1.5; color: var(--wz-ink2); text-wrap: pretty; }
.wz-body .wz-orb { --s: 96px; margin: 2vh auto 26px; animation: wz-orb-in 900ms cubic-bezier(.22, 1, .36, 1) both; }
@keyframes wz-orb-in { from { opacity: 0; transform: scale(.7); filter: blur(10px); } }
.wz-body .wz-hello, .wz-body .wz-ready { gap: 0; padding-top: 0; }
.wz-body .wz-promise { margin: 34px 0 0; gap: 18px; max-width: 440px; }
.wz-body .wz-promise li { padding: 0; background: none; box-shadow: none; border-radius: 0; font-size: 15px; line-height: 1.5; color: var(--wz-ink2); }
.wz-body .wz-promise strong { display: block; font-weight: 600; color: var(--wz-ink); }
.wz-body .wz-honest { margin: 30px auto 0; max-width: 48ch; font-size: 13px; color: var(--wz-ink3); }
.wz-body .wz-plan { margin-top: 8px; font-size: 13px; color: var(--wz-ink3); } .wz-body .wz-plan a { color: var(--wz-blue); text-decoration: none; }
/* questions: the question large and centred, its answers as one white grouped list, a tick on the chosen row */
.wz-body .wz-q, .wz-body.wz-js .wz-step .wz-q[data-sub] { max-width: none; margin: 34px 0 0; text-align: left; }
.wz-body .wz-q legend, .wz-body.wz-js .wz-step .wz-q[data-sub] legend { width: 100%; text-align: center; font: 600 20px/1.3 "Geist", system-ui, sans-serif; letter-spacing: -0.015em; }
.wz-body .wz-help { margin: 6px 0 0; text-align: center; font-size: 14px; color: var(--wz-ink3); }
.wz-body .wz-subbar { justify-content: center; gap: 6px; margin: 26px auto 0; }
.wz-body .wz-subbar i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #D4D4D8; }
.wz-body .wz-subbar i.done { background: #A1A1AA; } .wz-body .wz-subbar i.now { background: var(--wz-ink); }
.wz-body .wz-opts, .wz-body .wz-q.compact .wz-opts, .wz-body.wz-js .wz-q.single[data-sub] .wz-opts, .wz-body.wz-js .wz-q.multi[data-sub] .wz-opts, .wz-body .wz-presets, .wz-body.wz-js .wz-step .wz-presets {
  display: block; margin-top: 18px; background: #FFFFFF; border-radius: 14px; box-shadow: 0 0 0 1px var(--wz-line); overflow: hidden; }
.wz-body .wz-opt + .wz-opt, .wz-body .wz-preset + .wz-preset { border-top: 1px solid #F1F1F3; }
.wz-body .wz-opt-in, .wz-body.wz-js .wz-q.single[data-sub] .wz-opt-in, .wz-body.wz-js .wz-q.multi[data-sub] .wz-opt-in, .wz-body .wz-preset {
  display: grid; grid-template-columns: 1fr 22px; align-items: center; column-gap: 12px; row-gap: 1px; width: 100%; min-height: 52px; margin: 0; padding: 13px 16px;
  border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: 0; transform: none; text-align: left; font: 400 16px/1.35 "Geist", system-ui, sans-serif; color: var(--wz-ink); transition: background-color 180ms ease; }
.wz-body .wz-opt-in strong, .wz-body .wz-preset strong { grid-column: 1; grid-row: 1; font-weight: 500; font-size: 16px; }
.wz-body .wz-opt-in > span:not(.wz-check), .wz-body.wz-js .wz-q.multi[data-sub] .wz-opt-in > span:not(.wz-check), .wz-body.wz-js .wz-q.single[data-sub] .wz-opt-in > span:not(.wz-check), .wz-body .wz-preset span {
  display: block; grid-column: 1; grid-row: 2; justify-self: start; text-align: left; font-size: 13.5px; color: var(--wz-ink3); }
.wz-body .wz-check, .wz-body.wz-js .wz-q.single[data-sub] .wz-opt-in .wz-check { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; margin: 0; border: 0; border-radius: 0; background: none; }
.wz-body .wz-opt:hover .wz-opt-in, .wz-body .wz-preset:hover { background: #F7F7F8; box-shadow: none; transform: none; }
.wz-body .wz-opt input:checked + .wz-opt-in, .wz-body .wz-preset.on { background: #F5F8FF; box-shadow: none; outline: 0; }
.wz-body .wz-opt input:checked + .wz-opt-in strong, .wz-body .wz-preset.on strong { color: var(--wz-blue); }
.wz-body .wz-opt input:checked + .wz-opt-in .wz-check, .wz-body.wz-js .wz-q.single[data-sub] .wz-opt input:checked + .wz-opt-in .wz-check, .wz-body .wz-preset.on::after { border: 0; background: center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E"); }
.wz-body .wz-preset.on::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; }
.wz-body .wz-opt input:focus-visible + .wz-opt-in, .wz-body .wz-preset:focus-visible { outline: 2px solid var(--wz-blue); outline-offset: -2px; }
.wz-body .wz-opt.unsure .wz-opt-in, .wz-body .wz-opt.unsure input:checked + .wz-opt-in { outline: 0; }
.wz-body .wz-opt.unsure .wz-opt-in strong { font-weight: 400; color: var(--wz-ink2); }
.wz-body .wz-opt-tag { background: none; padding: 0; font-weight: 400; }
.wz-body .wz-effect { margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--wz-line); text-align: left; }
.wz-body .wz-target { justify-content: center; }
.wz-body .wz-target input, .wz-body .wz-target select, .wz-body .wz-launch input { min-height: 50px; border-radius: 12px; box-shadow: 0 0 0 1px var(--wz-line); background: #FFFFFF; font: 400 16px "Geist", system-ui, sans-serif; }
.wz-body .wz-target input:focus, .wz-body .wz-launch input:focus, .wz-body .wz-target select:focus { outline: 2px solid var(--wz-blue); outline-offset: 0; }
/* the connection panels: one white sheet each, the steps numbered quietly */
.wz-body .wz-panels { margin-top: 18px; gap: 10px; }
.wz-body .wz-panel { padding: 20px; border-radius: 14px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--wz-line); text-align: left; }
.wz-body .wz-panel h3 { font: 600 17px/1.3 "Geist", system-ui, sans-serif; letter-spacing: -0.01em; }
.wz-body .wz-panel p, .wz-body .wz-howto { font-size: 15px; color: var(--wz-ink2); }
.wz-body .wz-howto { padding-left: 18px; gap: 8px; } .wz-body .wz-howto li::marker { color: var(--wz-ink3); font-variant-numeric: tabular-nums; }
.wz-body .wz-acts .btn { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 0; background: var(--wz-ink); color: #FFFFFF; font: 500 15px/44px "Geist", system-ui, sans-serif; box-shadow: none; text-decoration: none; }
.wz-body .wz-acts .btn.secondary { background: #FFFFFF; color: var(--wz-ink); box-shadow: 0 0 0 1px #E4E4E7; }
.wz-body .wz-live { padding: 0; background: none; font-weight: 500; font-size: 13.5px; }
.wz-body .wz-live::before { width: 7px; height: 7px; background: #D4D4D8; } .wz-body .wz-live.on { background: none; color: #156B3A; } .wz-body .wz-live.on::before { background: #22A55B; }
/* one dark button in the middle; Back lives at the top */
.wz-body .wz-nav, .wz-body .wz-hello .wz-nav { margin-top: 40px; justify-content: center; max-width: none; }
.wz-body.wz-js .wz-nav .wz-back { display: none; }
.wz-body .wz-nav > span:empty { display: none; }
.wz-body .wz-next, .wz-body .wz-back { min-width: 240px; min-height: 50px; padding: 0 28px; border-radius: 14px; font: 500 16px/1 "Geist", system-ui, sans-serif; letter-spacing: -0.005em; }
.wz-body .wz-next { background: var(--wz-ink); color: #FFFFFF; box-shadow: none; transition: background-color 180ms ease, transform 180ms ease; }
.wz-body .wz-next:hover { background: #27272A; } .wz-body .wz-next:active { transform: scale(.98); }
.wz-body .wz-next:focus-visible, .wz-body .wz-back:focus-visible { outline: 2px solid var(--wz-blue); outline-offset: 3px; }
.wz-body .wz-ready .wz-learn { margin: 36px auto 0; }
.wz-body .wz-check-row { text-align: center; }
.wz-body .wz-confirm { border-radius: 18px; font-family: "Geist", system-ui, sans-serif; box-shadow: 0 24px 60px rgba(24, 24, 27, .18); }
.wz-body .wz-preview { max-width: 560px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--wz-line); color: var(--wz-ink2); }
.wz-body.wz-js .wz-step.on { animation: wz-step-in 420ms cubic-bezier(.22, 1, .36, 1) both; }
@keyframes wz-step-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 640px) {
  .wz-body .wz-top { grid-template-columns: 1fr auto; } .wz-body .wz-progress { grid-column: 1 / -1; grid-row: 2; }
  .wz-body .wz { padding: 12px 16px 48px; } .wz-body .wz-orb { --s: 80px; }
  .wz-body .wz-next { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .wz-body .wz-orb, .wz-body.wz-js .wz-step.on { animation: none; } }

/* ---- Home: across the business (ui/across.ts, 23 Oct 2026): ad campaigns, traffic, SEO and stock, each a lead figure,
   the change and one line on what it means; the tone dot says good, worth a look, or bad */
.u-axs { display: flex; flex-direction: column; gap: 8px; }
.u-ax-head { align-items: baseline; flex-wrap: wrap; margin-top: 6px; }
.u-ax-head h2 { margin: 0; font-size: 14px; font-weight: 500; color: #18181B; }
.u-ax-head p { margin: 0; font-size: 12px; color: #52525B; }
.u-axg { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.u-c.u-ax { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.u-ax h3 { margin: 0; font-size: 12px; font-weight: 400; color: #52525B; display: flex; align-items: center; gap: 6px; }
.u-ax h3::before { content: ""; width: 6px; height: 6px; border-radius: 9px; background: #C4C4CC; flex: none; }
.u-ax.good h3::before { background: #22A55B; } .u-ax.bad h3::before { background: #E5484D; }
.u-ax-l { margin: 6px 0 0; font-size: 11.5px; color: #52525B; }
.u-ax .u-kpi-v { line-height: 1.15; }
.u-ax-say { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: #18181B; }
.u-ax.is-empty .u-ax-say { color: #52525B; }
.u-ax-f { margin: auto 0 0; padding-top: 8px; border-top: 1px solid #F3F3F4; display: flex; flex-direction: column; gap: 3px; }
.u-ax-f div { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; } .u-ax-f dt { color: #52525B; } .u-ax-f dd { margin: 0; text-align: right; white-space: nowrap; }
/* average a day (ui/daily.ts): twelve weeks as columns, the latest four dark; on Home it is one full-width row (figure
   left, weeks right) above the other cards in equal columns (24 Oct 2026, Ollie: "more orderly"); on Sales it sits beside
   Revenue and Forecast */
.u-axg:has(> .u-dvc) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.u-axg > .u-dvc.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; }
.u-dv-t, .u-dv-c { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .u-dv-c .u-dv-k { margin: 0; padding-top: 0; }
.u-dv { display: flex; align-items: flex-end; gap: 4px; height: 96px; margin-top: 8px; }
.u-dv span { flex: 1; min-width: 0; border-radius: 4px 4px 2px 2px; background: #E4E4E7; }
.u-dv span.on { background: #18181B; }
.u-dvc .u-xlab { color: #52525B; }
.u-dv-k { margin: auto 0 0; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: #52525B; }
.u-dv-k span { display: inline-flex; align-items: center; gap: 5px; } .u-dv-k span:last-child { margin-left: auto; }
.u-dv-k i { width: 8px; height: 8px; border-radius: 2px; background: #E4E4E7; } .u-dv-k i.on { background: #18181B; }
.u-axg > .u-dvc .u-dv { height: 110px; }
@media (max-width: 1150px) { .u-axg:has(> .u-dvc) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .u-axg > .u-dvc .u-dv { height: 96px; } }
.u-ax-r { list-style: none; margin: 6px 0 0; padding: 8px 0 0; border-top: 1px solid #F3F3F4; display: flex; flex-direction: column; gap: 6px; }
.u-ax-r li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; }
.u-ax-r li > span:first-child { min-width: 0; display: flex; flex-direction: column; } .u-ax-r b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-ax-r small { color: #52525B; font-size: 11.5px; } .u-ax-r li > span.u-m { white-space: nowrap; }
@media (max-width: 640px) { .u-axg, .u-axg:has(> .u-dvc) { grid-template-columns: minmax(0, 1fr); } .u-axg > .u-dvc.wide { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
/* ---- The results screen (connect-gate.ts resultsPage, 24 Oct 2026): the setup list, the orb beside the next step with
   what to do in a speech bubble, then the results button, locked until setup is complete. */
.cg-results { max-width: 560px; }
.cg-setup { list-style: none; margin: 28px 0 0; padding: 0; width: 100%; text-align: left; background: #FFFFFF; border-radius: 14px; box-shadow: 0 0 0 1px #E9E9EC; }
.cg-setup li { display: grid; grid-template-columns: 22px 1fr auto; align-items: start; gap: 12px; padding: 14px 16px; }
.cg-setup li + li { border-top: 1px solid #F1F1F3; }
.cg-setup b { display: block; font-weight: 500; font-size: 14px; color: #18181B; } .cg-setup li > div > span { display: block; font-size: 12.5px; color: #71717A; }
.cg-setup li.done b { color: #71717A; }
.cg-dot { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #D4D4D8; display: grid; place-items: center; color: #FFFFFF; }
.cg-setup li.done .cg-dot { background: #22A55B; box-shadow: none; } .cg-dot svg { width: 14px; height: 14px; }
.cg-setup li.now { background: #F7F9FF; } .cg-setup li.now .cg-dot { box-shadow: inset 0 0 0 1.5px #2563EB; }
body.u .cg-do { width: auto; flex: none; min-height: 36px; font-size: 13px; padding: 0 12px; white-space: nowrap; }
.cg-say { display: flex; align-items: flex-end; gap: 10px; margin: 12px 0 2px; }
.cg-guide { --s: 34px; animation: cg-guide-in 640ms cubic-bezier(.22, 1, .36, 1) 120ms both; }
.cg-bubble { position: relative; padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: #18181B; color: #FFFFFF; font-size: 13.5px; line-height: 1.45;
  transform-origin: 0 100%; animation: cg-bubble-in 420ms cubic-bezier(.22, 1, .36, 1) 520ms both; }
/* the orb glides down from the face at the top to the step, then speaks */
@keyframes cg-guide-in { from { opacity: 0; transform: translate(40px, -120px) scale(1.6); } 60% { opacity: 1; } }
@keyframes cg-bubble-in { from { opacity: 0; transform: scale(.94) translateY(4px); } }
.cg-unlock { flex-direction: column; align-items: center; margin-top: 24px; }
.cg-unlock .cg-small { margin-top: 8px; text-align: center; } .cg-unlock .cg-small b { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 500; }
body.u .cg-go { gap: 8px; min-height: 48px; font-size: 15px; } .cg-go svg { width: 15px; height: 15px; }
body.u .cg-go.locked { background: #E4E4E7; color: #71717A !important; cursor: not-allowed; }
@media (max-width: 640px) { .cg-setup li { grid-template-columns: 22px 1fr; } .cg-do { grid-column: 2; justify-self: start; } }
@media (prefers-reduced-motion: reduce) { .cg-guide, .cg-bubble { animation: none; } }
.stock-sheet-steps { margin: 12px 0; padding-left: 20px; display: grid; gap: 10px; }
.stock-sheet-up { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
/* the shop step's platforms, as logos (setup-guide.ts, 24 Oct 2026): one opens at a time */
.sg-plats { display: grid; gap: 8px; margin: 18px 0 0; }
.sg-plat { border-radius: 14px; background: #FFFFFF; box-shadow: 0 0 0 1px #E9E9EC; }
.sg-plat[open] { box-shadow: 0 0 0 2px #2563EB; }
.sg-plat > summary { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; cursor: pointer; list-style: none; }
.sg-plat > summary::-webkit-details-marker { display: none; }
.sg-plat > summary b { display: block; font-weight: 500; font-size: 15px; color: #18181B; } .sg-plat > summary span span { font-size: 13px; color: #71717A; }
.sg-logo svg { display: block; width: 40px; height: 40px; }
.sg-plat-b { padding: 0 16px 16px; }
.sg-shopify { display: grid; gap: 8px; margin: 12px 0; max-width: 420px; }
.sg-shop-in { display: flex; align-items: center; border-radius: 10px; box-shadow: 0 0 0 1px #E4E4E7; background: #FFFFFF; overflow: hidden; }
.sg-shop-in input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; } .sg-shop-in span { padding: 0 12px; color: #71717A; font-size: 14px; }
.sg-or { margin: 18px 0 4px; font-size: 14px; font-weight: 600; }
.sg-say { margin: 14px 0 6px; }
.sh-own { display: grid; gap: 10px; max-width: 420px; margin-top: 12px; text-align: left; }
.sh-own label { display: grid; gap: 4px; font-size: 13.5px; color: #52525B; }
.sh-own-how { text-align: left; }
.wz-body .wz-panel .cg-say { margin: 0 0 14px; }
/* the countdown, days only (24 Oct 2026): the label, the days as a card figure, the day's name */
.u-cd.u-cd1 { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.u-cd1-v { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; } .u-cd1-v b { font-size: 26px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; } .u-cd1-v small { font-size: 13px; color: #52525B; }
.u-cd.u-cd1 .nm { margin-top: 0; font-size: 14px; }
.u-cd1-after { align-self: stretch; margin-top: auto; padding-top: 10px; border-top: 1px solid #F3F3F4; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: #52525B; }
.u-cd1-after > span { display: flex; justify-content: space-between; gap: 10px; } .u-cd1-after .u-m { color: #18181B; }
/* ---- Home (25 Oct 2026, Ollie: "so so unaesthetic"): the figures, then an even two-column grid of the business on the
   left (the chart across both) and a side column on the right (Atlas AI's reads, the next big day, Ready for you), all on
   the page's 8px gap. On a phone: the reads, the grid, then the countdown and Ready for you. */
.u-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 8px; align-items: start; }
.u-hm { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.u-hm > :first-child { grid-column: 1 / -1; }
.u-hm1 { grid-template-columns: minmax(0, 1fr); } .u-k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .u-k3 { grid-template-columns: minmax(0, 1fr); } }
.u-hm > .u-dvc .u-dv { height: 72px; } .u-hm > .u-dvc .u-dv-k span:last-child { display: none; }
.u-hs { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
body.u .u-hs > .day-read, body.u .u-hs > .sum { margin: 0; }
.u-hs .u-cd.u-cd1 { padding: 14px 16px; }
.u-menu a small { font-size: 11.5px; font-weight: 400; color: #71717A; }
@media (max-width: 1150px) {
  .u-home { display: flex; flex-direction: column; }
  .u-hs { display: contents; } .u-hs > * { align-self: stretch; width: auto; }
  .u-hs > .day-read, .u-hs > .sum { order: -1; } .u-hm { order: 0; } .u-hs > .u-cd { order: 1; } .u-hs > .u-pr { order: 2; }
}
@media (max-width: 640px) { .u-hm { grid-template-columns: minmax(0, 1fr); } }
/* Sales (26 Oct 2026, "clean up our app"): Average a day keeps to the height of Revenue and Forecast beside it, as on Home */
.u-hr3 > .u-dvc .u-dv { height: 72px; } .u-hr3 > .u-dvc .u-dv-k span:last-child { display: none; }

/* the pages list as bars (Ollie, 28 Oct 2026: "these numbers don't add up do they"): each page's views as a bar against the
   busiest, split into views that ended the visit (started here, dark grey; came from another page, light grey) and views
   that went on (blue), so the parts visibly make the whole */
.u-ptv th, .u-ptv td { vertical-align: middle; } .u-ptv td.u-pv { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.u-pvb { display: block; flex: none; width: 150px; }
.u-pvt { display: flex; height: 12px; border-radius: 3px; overflow: hidden; min-width: 2px; }
.u-pvt u { display: block; height: 100%; flex: none; text-decoration: none; } .u-pvt u.s, .u-pkey i.s { background: #71717A; } .u-pvt u.o, .u-pkey i.o { background: #C4C4CC; } .u-pvt u.g, .u-pkey i.g { background: #3B82F6; }
.u-pv .u-m { font-size: 13px; color: #18181B; }
.u-pkey { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0; font-size: 12px; color: #71717A; }
.u-pkey span { display: inline-flex; align-items: center; gap: 6px; } .u-pkey i { display: inline-block; width: 12px; height: 8px; border-radius: 2px; }
.u-ptv td.u-wk a { text-decoration: none; } .u-ptv td.u-wk a.u-good { color: #156B3A; } .u-ptv td.u-wk a.u-bad { color: #A1261F; }
/* the simple-page standard (docs/DESIGN.md, 28 Oct 2026): the answer card, figures with both values as bars, row lists */
.u-ans { display: flex; gap: 16px; align-items: flex-start; padding: 18px 22px; }
.u-ans-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 8px; flex: none; background: #D97706; }
.u-ans-dot.good { background: #22A55B; } .u-ans-dot.bad { background: #E5484D; }
/* "nothing wrong" is the neutral call, never the warning amber (DESIGN.md colour rule 2; integration, 18 Nov 2026) */
.u-ans-dot.flat { background: #A1A1AA; }
.u-ans h2 { margin: 0; font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: #18181B; }
.u-ans p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: #52525B; }
.u-pf .u-kpi-mid { margin: 6px 0 10px; }
body.u a.u-li { color: #18181B; text-decoration: none; }
.u-fbtn { all: unset; display: block; cursor: pointer; border-radius: 12px; } .u-fbtn > .u-kpi { height: 100%; } .u-fbtn:hover > .u-kpi { box-shadow: 0 0 0 1px #D4D4D8; } .u-fbtn:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }
.u-pair { display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; gap: 6px 8px; align-items: center; font-size: 11.5px; color: #71717A; }
.u-pair i { display: block; height: 8px; } .u-pair b { display: block; height: 8px; border-radius: 4px; background: #2563EB; min-width: 2px; } .u-pair b.p { background: #C4C4CC; }
.u-pair .u-m { text-align: right; color: #52525B; font-size: 12px; }
.u-lst { padding: 16px 20px; } .u-lst-h { margin: 0 0 4px; font-size: 15px; font-weight: 500; }
.u-li { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 0; border: 0; border-top: 1px solid #F1F1F3; background: none; font: inherit; font-size: 14px; color: #18181B; text-align: left; cursor: pointer; list-style: none; }
.u-lst-h + .u-li, .u-lst-h + .u-mr > .u-li { border-top: 0; }
.u-li::-webkit-details-marker { display: none; }
.u-li:hover .u-li-t { color: #1D4ED8; } .u-li:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; border-radius: 6px; }
.u-li-i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none; font-size: 12px; background: #F1F1F3; color: #52525B; font-family: "Geist Mono", ui-monospace, monospace; }
.u-li-i.hi { background: #FDE3E1; color: #A1261F; }
.u-li-t { flex: 1; min-width: 0; } .u-li-t small { display: block; margin-top: 2px; font-size: 12px; color: #71717A; }
.u-li-go { color: #A1A1AA; font-size: 18px; line-height: 1; transition: transform var(--t-micro) var(--ease); }
.u-mr[open] > .u-li .u-li-go { transform: rotate(90deg); }
.u-mr-b { padding: 4px 0 16px; display: flex; flex-direction: column; gap: 12px; }
.u-mr-b > .u-c { border: 0; padding: 0; box-shadow: none; }
@media (max-width: 640px) { .u-ans { padding: 16px; gap: 12px; } .u-ans h2 { font-size: 18px; } .u-lst { padding: 14px 16px; } }
@media (prefers-reduced-motion: reduce) { .u-li-go { transition: none; } }
.u-mr-b > .u-c .u-ct > h2:first-child { display: none; } .u-mr-b > .u-c .u-ct > .big { margin-top: 0; }
.u-mr-b .u-trc { max-width: 760px; }
/* Atlas AI's suggestion under the Visitors answer: where to improve, and what to do next (28 Oct 2026) */
.vsg { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.vsg-k { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: #18181B; }
.vsg-g { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 28px; }
.vsg-l { margin: 0 0 8px; font-size: 12px; color: #71717A; }
.vsg-ps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vsg-ps li { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 3px 12px; align-items: center; font-size: 14px; color: #18181B; }
.vsg-ps li > span { grid-column: 1 / -1; font-size: 12.5px; color: #52525B; }
.vsg-bar { display: block; height: 8px; border-radius: 4px; background: #F1F1F3; overflow: hidden; } .vsg-bar s { display: block; height: 100%; background: #E5484D; text-decoration: none; }
.vsg-t { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.4; color: #18181B; }
.vsg-why { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: #52525B; }
/* the priority (4 Nov 2026): what's lost and its orders at stake, then the one thing to do first */
.vsg-stake { font-weight: 600; color: #B42318; }
.vsg-do { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; background: #F4F4F5; font-size: 14px; font-weight: 500; line-height: 1.4; color: #18181B; }
.vsg-do span { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 400; color: #71717A; }
.vsg .vf-tag { margin-top: 6px; }
.vsg-go { display: inline-block; margin-top: 10px; font-size: 13px; }
/* answering "Check this first" (29 Oct 2026: "it doesn't actually let you say if it's a problem or not") */
.vsg-f { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.vsg-fl { font-size: 12px; color: #71717A; }
.vsg-f input[name="said"] { min-height: 36px; padding: 8px 10px; border: 1px solid #E4E4E7; border-radius: 8px; font: 400 13px/1.3 inherit; color: #18181B; background: #FFFFFF; }
.vsg-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.vsg-b1, .vsg-b2 { min-height: 36px; padding: 8px 12px; border: 0; border-radius: 8px; font: 500 13px/1 inherit; cursor: pointer; }
.vsg-b1 { background: #18181B; color: #FFFFFF; } .vsg-b1:hover { background: #3F3F46; }
.vsg-b2 { background: #FFFFFF; color: #18181B; box-shadow: inset 0 0 0 1px #E4E4E7; } .vsg-b2:hover { background: #FAFAFA; }
.vsg-b1:focus-visible, .vsg-b2:focus-visible, .vsg-f input:focus-visible { outline: 2px solid #3B82F6; outline-offset: 2px; }
.vsg-ans { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: #3F3F46; }
.vsg-ans b { font-weight: 500; } .vsg-ans.ok b { color: #15803D; } .vsg-ans.bad b { color: #B42318; }
.vsg-ans span { display: block; font-size: 12px; color: #71717A; }
@media (max-width: 760px) { .vsg-g { grid-template-columns: minmax(0, 1fr); } .vsg { padding: 14px 16px; } }
.u-lst-h small { font-size: 13px; font-weight: 400; color: #71717A; }
/* Visits in Google Analytics: the longer view, counted the same way each time (28 Oct 2026) */
.u-ga { padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.u-ga h2 { margin: 0; font-size: 14px; font-weight: 500; color: #18181B; } .u-ga h2 small { font-size: 12px; font-weight: 400; color: #71717A; }
.u-ga-s { margin: 0; font-size: 13px; color: #52525B; line-height: 1.45; }
.u-pair3 { grid-template-columns: 140px minmax(0, 1fr) auto; max-width: 640px; }
.u-ga-q { margin: 0; font-size: 12px; color: #71717A; line-height: 1.45; }
@media (max-width: 640px) { .u-pair3 { grid-template-columns: 110px minmax(0, 1fr) auto; } }

/* Sales (1 Nov 2026): the figures as strips in one card each, the headline five larger, and one lead chart beside two
   short lists, so one thing leads instead of seventeen boxes of the same size */
.u-fs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); overflow: hidden; }
.u-fs > .u-kpi { border: 0; border-radius: 0; background: transparent; box-shadow: none; height: 100%; transition: background-color 180ms var(--ease); }
.u-fs > .u-kpi + .u-kpi { border-left: 1px solid #F1F1F3; }
.u-fs > button.u-kpi:hover { background: #FAFAFA; }
.u-fs > button.u-kpi:focus-visible { outline: 2px solid #2563EB; outline-offset: -2px; }
.u-fs.lead > .u-kpi { padding: 16px 18px; } .u-fs.lead .u-kpi-v { font-size: 28px; }
.u-fs:not(.lead) .u-kpi-v { font-size: 20px; } .u-fs:not(.lead) .u-kpi-mid { margin: 6px 0 2px; }
.u-lead { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.u-stack { display: flex; flex-direction: column; gap: 8px; min-width: 0; } .u-stack > * { flex: 1 1 auto; }
.u-cols.lead { height: 240px; }
@media (max-width: 1150px) { .u-lead { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .u-fs { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u-fs > .u-kpi + .u-kpi { border-left: 0; } .u-fs > .u-kpi:nth-child(even) { border-left: 1px solid #F1F1F3; }
  .u-fs > .u-kpi:nth-child(n + 3) { border-top: 1px solid #F1F1F3; }
  .u-fs > .u-kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Mentions in AI answers (2 Nov 2026, ui/seo.ts aiCard): an answer sentence, each question against each assistant as
   marks, a few notes, one action. Two of the strip's columns wide, so the grid has room. */
.u-sfig:has(.aic) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.u-sf.aic { grid-column: span 2; gap: 8px; }
.aic-say { margin: 0; font-size: 14px; line-height: 1.4; color: #18181B; text-wrap: pretty; }
table.aig2 { width: 100%; border-collapse: collapse; table-layout: fixed; }
.aig2 thead th { width: 30px; padding: 0 0 6px; text-align: center; font-weight: 400; } .aig2 thead th:first-child { width: auto; }
.aig2 thead .logo { margin: 0 auto; }
.aig2 tbody th { font-weight: 400; font-size: 12px; line-height: 1.35; color: #3F3F46; text-align: left; padding: 6px 8px 6px 0; border-top: 1px solid #F3F3F4; }
.aig2 tbody th span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
@media (max-width: 700px) { .aig2 tbody th span { -webkit-line-clamp: 2; } }
.aig2 td { text-align: center; padding: 6px 0; border-top: 1px solid #F3F3F4; }
.aim { display: inline-flex; } .aim svg { width: 16px; height: 16px; display: block; }
.aim .f { fill: #22A55B; } .aim .t { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aim .o { fill: none; stroke: #8E8E99; stroke-width: 1.5; } .aim[data-m="neither"] .o { stroke-dasharray: 2 2.2; }
.aim .w { stroke: #C4C4CC; stroke-width: 1.6; stroke-linecap: round; }
.aig2-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font-size: 11px; color: #71717A; }
.aig2-key .aim svg { width: 12px; height: 12px; margin-right: 4px; } .aig2-key a { margin-left: auto; }
.aic-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 12px; line-height: 1.4; color: #52525B; }
.aic-notes b { font-weight: 500; color: #18181B; } .aic-notes .warn { color: #92400E; }
.aic-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.aic-foot small { font-size: 11px; color: #71717A; }
@media (max-width: 1150px) { .u-sfig:has(.aic) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .u-sf.aic { grid-column: 1 / -1; order: 9; border-top: 1px solid #F1F1F3; } }
@media (max-width: 700px) { .u-sfig:has(.aic) { grid-template-columns: minmax(0, 1fr); } .u-sf.aic { order: 0; border-top: 0; } }

/* The questions Atlas asks (seo-app-views.ts questionChooser) */
.aiq-form { display: flex; flex-direction: column; }
.aiq-sec + .aiq-sec { border-top: 1px solid #F1F1F3; padding-top: 14px; margin-top: 14px; }
.aiq-h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 500; color: #18181B; }
.aiq-h3 .u-m { font-size: 12px; font-weight: 400; color: #71717A; }
.aiq-now, .aiq-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.aiq-now li { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 10px; background: #F7F7F8; font-size: 13px; }
.aiq-now li > span { flex: 1; min-width: 0; }
.aiq-twin { font-style: normal; font-size: 11px; color: #92400E; background: #FEF3C7; border-radius: 5px; padding: 1px 6px; white-space: nowrap; }
.aiq-x { border: 0; background: none; font: inherit; font-size: 12px; color: #52525B; padding: 4px 8px; border-radius: 7px; cursor: pointer; transition: color 160ms ease, background-color 160ms ease; }
.aiq-x:hover { color: #A1261F; background: #FEF6F5; } .aiq-x:focus-visible { outline: 2px solid #2563EB; outline-offset: 1px; }
.aiq-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aiq-opts label { display: flex; align-items: flex-start; gap: 10px; height: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #EDEDEF; border-radius: 10px; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease; }
.aiq-opts label:hover { border-color: #D4D4D8; } .aiq-opts label:has(input:checked) { border-color: #2563EB; background: #EEF3FF; }
.aiq-opts label:has(input:focus-visible) { outline: 2px solid #2563EB; outline-offset: 1px; }
.aiq-opts label:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }
.aiq-opts input { flex: none; margin: 2px 0 0; accent-color: #2563EB; }
.aiq-opts b { display: block; font-size: 13px; font-weight: 500; color: #18181B; line-height: 1.35; } .aiq-opts small { display: block; margin-top: 3px; font-size: 11.5px; color: #71717A; }
.aiq-own { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.aiq-own input { width: 100%; box-sizing: border-box; font: inherit; font-size: 13px; padding: 9px 12px; border: 1px solid #E4E4E7; border-radius: 10px; background: #fff; color: #18181B; }
.aiq-own input::placeholder { color: #71717A; } .aiq-own input:focus { outline: 2px solid #2563EB; outline-offset: 0; border-color: transparent; }
.aiq-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.aiq-wait { margin: 0 0 8px; padding: 8px 10px; border-radius: 8px; font-size: 12px; color: #1D4ED8; background: #EEF3FF; }
@media (max-width: 700px) { .aiq-opts, .aiq-own { grid-template-columns: minmax(0, 1fr); } }

/* How a figure is worked out (7 Nov 2026, calm pass): a quiet line that opens the long explanation on a tap, so the
   page keeps its plain words and the essays wait until asked for. Not scoped to body.u: the older pages use it too. */
.u-how { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: #71717A; }
.u-how > summary { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; list-style: none; color: #71717A; border-radius: 6px; }
.u-how > summary::-webkit-details-marker { display: none; }
.u-how > summary::before { content: "i"; display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 9px; box-shadow: inset 0 0 0 1px #D4D4D8; font: 600 9px/1 "Geist", system-ui, sans-serif; color: #71717A; }
@media (hover: hover) and (pointer: fine) { .u-how > summary { transition: color 150ms ease; } .u-how > summary:hover { color: #18181B; } }
.u-how > summary:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }
.u-how > div { max-width: 65ch; margin-top: 4px; color: #52525B; }

/* Big figures in Geist, not Geist Mono (Ollie, 8 Nov 2026, after the information-overload audit): mono on every headline
   number read like a terminal and made each one shout at the same pitch. Tabular figures still line them up; mono stays
   for figures inside tables and lists. */
body.u .u-kpi-v, body.u .u-bigv, body.u .u-kept, body.u .u-conv b, body.u .u-gauge .u-gv, body.u .u-big26 {
  font-family: "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* Home and Marketing (8 Nov 2026): the first three figures lead, the other two sit quieter beside them, as on Sales */
.u-hk { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 8px; }
.u-hk > .u-fs:not(.lead) > .u-kpi { padding: 16px 14px; }
@media (max-width: 900px) { .u-hk { grid-template-columns: minmax(0, 1fr); } }

/* a folded list's "Show all" (ui.js fold): quiet, full width, under the rows it opens */
body.u .u-showall { display: block; width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--rule-strong); border-radius: 10px;
  background: transparent; color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { body.u .u-showall:hover { background: var(--tint); color: var(--ink); } }
body.u .u-showall:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }
/* phones: the date, comparison and store pills sit in one row (8 Nov 2026, audit step 3): no calendar icon, tighter
   pills. They still wrap if a page adds a button of its own, so the page never runs wider than the phone. */
@media (max-width: 640px) {
  body.u .u-pills { gap: 4px; } body.u .u-datestep { gap: 2px; }
  body.u .u-pills .u-pill-btn { padding: 0 8px; gap: 2px; min-height: 34px; white-space: nowrap; }
  body.u .u-pills .u-arr { width: 28px; padding: 0; }
  body.u .u-pills summary.u-pill-btn > svg:not(.chev) { display: none; }
}
/* phones: an order row is two lines (what, then where it came from) beside its amount and stage; the five desktop
   columns overlapped at 390px wide ("Not tracked" ran over the date). Nothing is dropped: the source line runs on. */
@media (max-width: 640px) {
  body.u .u-orow { grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "t a m" "t b s"; gap: 2px 10px; padding: 10px 6px; }
  body.u .u-orow > .u-thumb { grid-area: t; align-self: start; } body.u .u-orow > .u-o1 { grid-area: a; } body.u .u-orow > .u-o2 { grid-area: b; }
  body.u .u-orow > .u-o3 { grid-area: m; } body.u .u-orow > .u-o4 { grid-area: s; }
  body.u .u-o1 small { white-space: nowrap; overflow: hidden; }
  body.u .u-o2 { flex-direction: row; gap: 6px; min-width: 0; } body.u .u-o2 > span { white-space: nowrap; flex: none; }
  body.u .u-o2 small { min-width: 0; }
}

/* Marketing's next big days as one line, and short stacked cards that don't stretch (calm pass, 8 Nov 2026) */
body.u .u-cdline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 12px 16px; font-size: 13px; color: var(--ink) !important; text-decoration: none; }
body.u .u-cdline .lab { color: var(--ink-3); font-size: 12px; }
body.u .u-cdline .u-dim { color: var(--ink-3); }
body.u .u-stack-top > * { flex: 0 0 auto; }

/* Ads: the call is an answer, not a poster (calm pass, 8 Nov 2026) */
body.u .ax .vx-t { font-size: 30px; line-height: 1.12; max-width: 30ch; }
@media (max-width: 640px) { body.u .ax .vx-t { font-size: 24px; } }
body.u div.vx-legend { margin-top: 10px; }
body.u .vx-legend .u-how > summary, body.u .axb figcaption .u-how > summary { font-size: 12px; }
/* Promotions (8 Nov 2026, readiness loop): the countdown days and each idea's profit are figures, so Geist tabular like
   every big figure (DESIGN.md "Type"), not Mono. On phones the 12 date tiles sit two across (they ran 12 tiles tall)
   and every other month label on the line is dropped, so "Nov" and "Dec" no longer print on top of each other. */
body.u .u-fig { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
@media (max-width: 640px) {
  body.u .u-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.u .u-dates .when { font-size: 11px; }
  body.u .u-track small:nth-of-type(even) { display: none; }
}
/* an app's "More" tabs (kit.ts appTabs, 8 Nov 2026): Ads and SEO show their everyday tabs; the rest open from here */
body.u .u-tabmore { position: relative; flex: none; }
body.u .u-tabmore > summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 0 10px; border-radius: 8px; font-size: 13px; color: #3F3F46; cursor: pointer; user-select: none; }
body.u .u-tabmore > summary::-webkit-details-marker { display: none; }
body.u .u-tabmore > summary .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .16s ease; }
body.u .u-tabmore[open] > summary .chev { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { body.u .u-tabmore > summary:hover { background: #F4F4F5; } }
body.u .u-tabmore > summary:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }
body.u .seo-app-bar .u-tabmore > ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; flex-direction: column; flex-wrap: nowrap; gap: 0; min-width: 190px; padding: 6px;
  background: #FFFFFF; border: 1px solid #EDEDEF; border-radius: 12px; box-shadow: 0 10px 30px -12px rgba(24, 24, 27, .22); overflow: visible; -webkit-mask-image: none; mask-image: none; }
body.u .seo-app-bar .u-tabmore > ul a { display: flex; width: 100%; box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { body.u .u-tabmore[open] > ul { animation: u-tabmore-in .14s ease-out; } }
@keyframes u-tabmore-in { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 640px) {
  body.u .seo-app-bar:has(.u-tabmore) { flex-direction: row; flex-wrap: wrap; align-items: center; }
  body.u .seo-app-bar:has(.u-tabmore) > .seo-app-name { flex-basis: 100%; }
  body.u .seo-app-bar:has(.u-tabmore) > ul { flex: 1 1 0; }
}
@media (min-width: 641px) {
  body.u .seo-app-bar:has(.u-tabmore) > ul { flex: 0 1 auto; }
}
/* an empty card as one quiet line (DESIGN.md "Calm, not less" rule 4): its name, one sentence, its one button */
body.u .u-c1line, body.u .u-seo > .u-c.u-c1line { display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding-block: 14px; }
body.u .u-c1line > h2 { margin: 0; } body.u .u-c1line > p { margin: 0; flex: 1 1 260px; } body.u .u-c1line > .u-btn { margin: 0; }
@media (max-width: 640px) {
  /* phones: the four or five everyday tabs and More fit across without scrolling (Studio was cut off at 390px);
     SEO's five wrap to a second line rather than scroll out of sight */
  body.u .seo-app-bar:has(.u-tabmore) > ul a, body.u .seo-app-bar .u-tabmore > summary { padding: 0 7px; font-size: 12.5px; }
  body.u .seo-app-bar:has(.u-tabmore) > ul { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
}
/* Ads Audiences (8 Nov 2026): the audiences not ready yet, one line each with what unlocks them */
body.u .ac-wait { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; align-self: stretch; }
body.u .ac-wait li { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding: 10px 0; border-top: 1px solid #F1F1F3; font-size: 13px; }
body.u .ac-wait li:first-child { border-top: 0; } body.u .ac-wait b { font-weight: 500; } body.u .ac-wait a { font-size: 12.5px; }
/* SEO "What to do" first, the figures behind a tap (9 Nov 2026, Ollie: "easy to get lost in the data") */
.u-seo > .u-c.u-todo { box-shadow: inset 3px 0 0 #2563EB; padding: 18px 20px; margin-bottom: 12px; }
.u-todo-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.u-todo-l > li { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid #F0F0F1; }
.u-todo-l > li:first-child { border-top: 0; padding-top: 4px; }
.u-todo-l h3 { margin: 0; font: 600 15px/1.4 "Geist", system-ui, sans-serif; color: #18181B; }
.u-todo-text { margin: 0; padding: 8px 12px; border-radius: 8px; background: #F4F4F5; color: #18181B; font-size: 14px; overflow-wrap: anywhere; user-select: all; }
.u-todo-text.pre { white-space: pre-line; }
/* code to paste (codeBox): a mono block that keeps its indents and scrolls sideways, the parts to fill in marked, one copy button */
.u-code-h { margin: 8px 0 0; display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; font-size: 13px; color: #52525B; } .u-code-h > span:first-child { flex: 1 1 auto; }
.u-code-h mark, .u-code-p mark { background: #FEF3C7; color: #92400E; border-radius: 3px; padding: 0 2px; }
.u-code-b { min-height: 36px; padding: 0 14px; border: 1px solid #D4D4D8; border-radius: 8px; background: #FFF; color: #18181B; font: 500 13px/1 "Geist", system-ui, sans-serif; cursor: pointer; }
.u-code-b:focus-visible, .u-code-p:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .u-code-b:hover { background: #F4F4F5; } }
.u-codebox { min-width: 0; } .u-todo-l > li { min-width: 0; }
.u-codebox .ag-copied { font-size: 13px; color: #156B3A; font-weight: 500; }
.u-code-p { margin: 8px 0 0; padding: 12px 14px; border-radius: 8px; background: #F4F4F5; color: #18181B; font: 12.5px/1.6 "Geist Mono", ui-monospace, monospace; white-space: pre; overflow: auto; max-height: 360px; tab-size: 2; }
/* the steps for AI assistants: a second short list inside the one card, under a hairline (never a card of its own) */
.u-todo-sub { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid #F1F1F3; display: grid; gap: 2px; } .u-todo-sub > .u-sec { margin: 0; }.u-todo-d > summary { cursor: pointer; font-size: 13px; color: #52525B; width: fit-content; border-radius: 6px; }
.u-todo-d > summary:focus-visible, .u-sall > summary:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }
.u-todo-d > p, .u-todo-d > ul { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; } .u-todo-d > ul { display: grid; gap: 6px; }
.u-sall { margin-top: 4px; } .u-sall > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 14px; font-weight: 500; color: #3F3F46; border-radius: 8px; }
@media (hover: hover) and (pointer: fine) { .u-todo-d > summary:hover, .u-sall > summary:hover { color: #18181B; } }
.aic-weeks { margin: 0; font-size: 12.5px; color: #3F3F46; } .aic-weeks em { font-style: normal; font-weight: 500; }
.u-sall > summary { list-style: none; gap: 8px; } .u-sall > summary::-webkit-details-marker { display: none; }
.u-sall > summary::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .16s ease; }
.u-sall[open] > summary::before { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .u-sall > summary::before { transition: none; } }
.u-todo > .u-row-sb { flex-wrap: wrap; gap: 2px 12px; } .u-todo > .u-row-sb > h2 { flex: none; }

/* ---- The shipping map (shipping-views.ts, static/ship.js) in the workbench (4 Nov 2026, Ollie: "fix design too"). The
   map was still wearing V2: a black rule over the steps and the panel, the yellow highlighter, display-face figures and a
   bordered table inside the bordered panel. Now: the steps one card, the map and its key one card, the panel one card;
   figures in Geist Mono; the regions a segmented control on the map, zoom in its corner; the accent is the one blue. */
body.u .ship-app { --mark: #2563EB; --mark-soft: #EEF3FF; --accent: #2563EB; --sea: #FFFFFF; gap: 8px; }
body.u .ship-note { background: #FEF3C7; border: 0; color: #92400E; border-radius: 12px; font-size: 13px; padding: 10px 14px; }
body.u .ship-steps ol { background: #FFFFFF; border: 1px solid #EDEDEF; border-radius: 12px; padding: 4px; gap: 2px; overflow: hidden; }
body.u .ship-step { border-left: 0; border-radius: 9px; min-height: 48px; padding: 8px 12px; color: #52525B; transition: background-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease); }
body.u .ship-step:hover { background: #F4F4F5; color: #18181B; }
body.u .ship-step-n { width: 22px; height: 22px; border: 0; background: #F1F1F3; color: #71717A; font: 500 11.5px/1 "Geist Mono", ui-monospace, monospace; }
body.u .ship-step-t { font-size: 13px; font-weight: 500; }
body.u .ship-step.is-on { background: #EEF3FF; color: #18181B; box-shadow: none; }
body.u .ship-step.is-on .ship-step-n { background: #2563EB; color: #FFFFFF; }
body.u .ship-body { gap: 8px; grid-template-columns: minmax(0, 1fr) 400px; }
body.u .ship-stage { background: #FFFFFF; border: 1px solid #EDEDEF; border-radius: 12px; padding: 6px; gap: 0; }
body.u .ship-tools:not(:empty) { padding: 10px 10px 12px; }
body.u .ship-map { border: 0; border-radius: 8px; background: #FFFFFF; }
body.u .ship-map:focus-visible { box-shadow: inset 0 0 0 2px #2563EB; }
body.u .ship-legend { padding: 12px 12px 8px; gap: 6px; }
body.u .ship-leg-t { font-size: 12px; font-weight: 400; color: #52525B; }
body.u .ship-ramp li { font: 400 11.5px/1.3 "Geist Mono", ui-monospace, monospace; letter-spacing: -0.04em; color: #52525B; }
body.u .ship-ramp .sw { height: 8px; }
body.u .ship-legend .small { font-size: 11.5px; color: #71717A; }
/* on the map: the regions top left, a segmented control; zoom stacked bottom right */
body.u .ship-zoom { position: absolute; inset: 12px; max-width: none; display: block; overflow: visible; pointer-events: none; z-index: 4; }
body.u .ship-zoom button { all: unset; box-sizing: border-box; cursor: pointer; }
body.u .ship-regions { pointer-events: auto; display: inline-flex; flex-wrap: nowrap; gap: 0; padding: 2px; border-radius: 9px; background: rgba(241, 241, 243, .92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 0 0 1px #E4E4E7; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
body.u .ship-regions::-webkit-scrollbar { display: none; }
body.u .ship-regions button { min-height: 30px; padding: 0 12px; border-radius: 7px; font-size: 12px; color: #52525B; white-space: nowrap; display: inline-flex; align-items: center;
  transition: background-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease); }
body.u .ship-regions button:hover { color: #18181B; }
body.u .ship-regions button[aria-pressed="true"] { background: #FFFFFF; color: #18181B; font-weight: 500; box-shadow: 0 1px 2px rgba(24, 24, 27, .08), 0 1px 6px rgba(24, 24, 27, .05); }
body.u .ship-zoomer { pointer-events: auto; position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; background: #FFFFFF; border-radius: 9px;
  box-shadow: 0 0 0 1px #E4E4E7, 0 2px 8px -2px rgba(24, 24, 27, .10); overflow: hidden; }
body.u .ship-zoomer button { width: 36px; height: 36px; display: grid; place-items: center; font-size: 17px; line-height: 1; color: #18181B; }
body.u .ship-zoomer button + button { border-top: 1px solid #F1F1F3; }
body.u .ship-zoomer button:hover { background: #F4F4F5; }
body.u .ship-zoom button:focus-visible { outline: 2px solid #2563EB; outline-offset: -2px; }
body.u .ship-zoom button:active { transform: scale(.97); }
/* the panel */
body.u .ship-panel { top: 16px; max-height: calc(100vh - 32px); border: 1px solid #EDEDEF; border-radius: 12px; padding: 16px 18px 18px; gap: 12px; background: #FFFFFF; }
body.u .ship-h { font: 500 19px/1.25 "Geist", system-ui, sans-serif; letter-spacing: -0.01em; }
body.u .ship-h-region { vertical-align: 2px; margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: #EEF3FF; color: #1D4ED8; font: 500 12px/1.35 "Geist", system-ui, sans-serif; }
body.u .ship-panel h3 { margin: 6px 0 -4px; font: 500 14px/1.35 "Geist", system-ui, sans-serif; }
body.u .ship-panel > p { font-size: 13px; color: #52525B; }
body.u .ship-panel > p.ship-lead { font-size: 15px; line-height: 1.5; color: #18181B; }
body.u .ship-lead b { font: 500 15px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: -0.04em; word-spacing: -0.12em; }
body.u .ship-back { font-size: 13px; font-weight: 500; min-height: 32px; color: #2563EB; }
body.u .ship-figs { border: 1px solid #F1F1F3; border-radius: 10px; overflow: hidden; }
body.u .ship-figs > div { padding: 10px 12px; border-bottom: 1px solid #F1F1F3; }
body.u .ship-figs > div:nth-child(even) { padding-left: 12px; border-left: 1px solid #F1F1F3; }
body.u .ship-figs > div:nth-last-child(-n + 2):nth-child(odd), body.u .ship-figs > div:last-child { border-bottom: 0; }
body.u .ship-figs dt { font-size: 12px; color: #52525B; }
body.u .ship-figs dd { margin-top: 4px; font: 500 18px/1.2 "Geist Mono", ui-monospace, monospace; letter-spacing: -0.04em; word-spacing: -0.12em; }
body.u .ship-figs dd .ship-sub { font: 400 11.5px/1.3 "Geist", system-ui, sans-serif; letter-spacing: 0; margin-top: 2px; color: #71717A; }
body.u .ship-panel .table-scroll { border: 0; box-shadow: none; border-radius: 0; background: transparent; max-height: 360px; }
body.u .ship-panel table.data th, body.u .ship-panel table.data td { padding: 8px 6px; font-size: 13px; border-color: #F1F1F3; }
body.u .ship-panel table.data thead th { font-size: 11.5px; font-weight: 400; color: #71717A; background: #FFFFFF; }
body.u .ship-panel table.data th:first-child, body.u .ship-panel table.data td:first-child { padding-left: 0; }
body.u .ship-panel table.data th:last-child, body.u .ship-panel table.data td:last-child { padding-right: 0; }
body.u .ship-panel table.data tbody th { font-weight: 500; }
body.u .ship-panel table.data td.num { font-family: "Geist Mono", ui-monospace, monospace; letter-spacing: -0.04em; word-spacing: -0.12em; white-space: nowrap; }
body.u .ship-panel tr[data-pick]:hover > *, body.u .ship-panel tr[data-scope]:hover > * { background: #FAFAFA; }
body.u .ship-sub { font-size: 11.5px; color: #71717A; }
body.u .ship-within li { grid-template-columns: 4em 1fr 3.2em; font-size: 12px; }
body.u .ship-within-bar { height: 8px; border-radius: 4px; background: #F1F1F3; }
body.u .ship-within-bar i { border-radius: 4px; background: #2563EB; transform-origin: left; animation: ship-grow var(--t-move) var(--ease) backwards; }
body.u .ship-within-n { font: 500 12px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: -0.04em; }
@keyframes ship-grow { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { body.u .ship-within-bar i { animation: none; } }
body.u .ship-tip { border-radius: 9px; font-size: 12px; background: #18181B; color: #FFFFFF; }
body.u .ship-credit { font-size: 11.5px; color: #A1A1AA; padding: 0 4px; }
body.u .ship-opts { border-top: 1px solid #F1F1F3; }
body.u .pin-box { fill: #FFFFFF; }
@media (max-width: 1100px) { body.u .ship-body { grid-template-columns: minmax(0, 1fr); } body.u .ship-panel { position: static; max-height: none; } body.u .ship-panel .table-scroll { max-height: none; } }
@media (max-width: 700px) {
  body.u .ship-steps ol { display: flex; overflow-x: auto; scrollbar-width: none; } body.u .ship-steps ol::-webkit-scrollbar { display: none; }
  body.u .ship-steps li { flex: none; } body.u .ship-step { min-height: 44px; }
  body.u .ship-map { height: clamp(300px, 48vh, 420px); aspect-ratio: auto; min-height: 0; }
  body.u .ship-zoom { inset: 8px; }
  body.u .ship-regions button { min-height: 36px; padding: 0 11px; }
  body.u .ship-zoomer button { width: 40px; height: 40px; }
}

/* ---- Ads, Campaigns: every campaign in one table (ads-score-views.ts campaignTable, 10 Nov 2026). Sorted from its headings,
   one platform at a time from the chips; the totals row is the scorecard's own. */
body.u .asc-sd { display: grid; gap: 8px; }
body.u .asc-plats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 auto 0 12px; }
body.u .asc-plats .u-pill-btn { min-height: 28px; cursor: pointer; }
body.u .asc-plats .u-pill-btn.on { background: #18181B; border-color: #18181B; color: #FFFFFF !important; }
body.u .asc-tbl { min-width: 860px; }
body.u .asc-tbl th, body.u .asc-tbl td { padding: 10px 8px; vertical-align: top; }
body.u .asc-tbl th:first-child, body.u .asc-tbl td:first-child { padding-left: 0; } body.u .asc-tbl th:last-child, body.u .asc-tbl td:last-child { padding-right: 0; }
body.u .asc-tbl thead th { white-space: nowrap; font-size: 11.5px; }
body.u .asc-tbl thead th.n .th-sort { justify-content: flex-end; width: 100%; }
body.u .asc-tbl thead th[aria-sort] { color: #18181B; }
body.u .asc-tbl thead th[aria-sort="descending"] .th-sort::after { content: "↓"; margin-left: 2px; } body.u .asc-tbl thead th[aria-sort="ascending"] .th-sort::after { content: "↑"; margin-left: 2px; }
body.u .asc-tbl .th-sort:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; border-radius: 4px; }
body.u .asc-tbl tbody th { font-size: 13px; font-weight: 500; max-width: 420px; }
body.u .asc-tbl td.n { white-space: nowrap; font-size: 12.5px; }
body.u .asc-tbl td.good { color: #156B3A; } body.u .asc-tbl td.bad { color: #A1261F; }
body.u .asc-open { all: unset; cursor: pointer; color: #18181B; font-weight: 500; border-bottom: 1px solid #D4D4D8; }
body.u .asc-open:hover { color: #2563EB; border-color: #2563EB; } body.u .asc-open:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; border-radius: 3px; }
body.u .asc-tw { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 400; line-height: 1.45; color: #52525B; text-wrap: pretty; }
body.u .asc-tw b { font-weight: 500; color: #18181B; }
body.u .asc-on { margin-left: 6px; font-size: 11.5px; font-weight: 400; color: #71717A; white-space: nowrap; }
body.u .asc-tbl .asc-tot tr { border-top: 1px solid #E4E4E7; cursor: default; } body.u .asc-tbl .asc-tot tr:hover { background: none; } body.u .asc-tbl .asc-tot th, body.u .asc-tbl .asc-tot td { font-weight: 500; padding-top: 12px; }
body.u .asc-tbl th .asc-on, body.u .asc-tbl th .asc-nm { display: inline; }
body.u .asc-tbl tr[hidden] { display: none; }
body.u .asc-buys { margin-top: 14px; display: grid; gap: 6px; } body.u .asc-buy-row { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr); gap: 12px; font-size: 12px; }
body.u .asc-buy-n { color: #52525B; }
body.u .asc-pic .asc-h { margin-bottom: 8px; }
@media (max-width: 600px) { body.u .asc-plats { margin-left: 0; width: 100%; } body.u .asc-buy-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  body.u .asc-tbl { min-width: 0; } body.u .asc-tbl tbody th { max-width: none; }
  body.u table.as-cards.asc-tbl tr { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; padding: 14px 0; } body.u table.as-cards.asc-tbl td:empty { display: none; } body.u table.as-cards.asc-tbl td, body.u table.as-cards.asc-tbl th { padding: 0; }
  body.u table.as-cards.asc-tbl td.n { font-size: 13px; } body.u table.as-cards.asc-tbl .asc-tot tr { border-top: 0; } }

/* SEO dashboard: the chart first, one measure at a time on a real axis (10 Nov 2026 audit) */
.u-schm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.u-schm label { display: flex; flex-direction: column; gap: 2px; min-width: 0; min-height: 44px; padding: 8px 10px; border-radius: 10px; border: 1px solid #F1F1F3; cursor: pointer; }
.u-schm label > span { font-size: 11.5px; line-height: 1.3; color: #52525B; } .u-schm b { font-size: 17px; font-weight: 500; color: #18181B; }
.u-schm small { font-size: 11px; color: #71717A; } .u-schm small.u-good { color: #156B3A; } .u-schm small.u-bad { color: #A1261F; }
.u-schm label:has(input:checked) { border-color: #2563EB; box-shadow: inset 0 0 0 1px #2563EB; }
.u-schm label:has(input:focus-visible) { outline: 2px solid #2563EB; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .u-schm label:hover { background: #FAFAFA; } }
.u-schc { display: none; margin-top: 12px; } .u-schc svg.chart { width: 100%; height: auto; display: block; }
.u-sch:has(#schm-c:checked) .u-schc-c, .u-sch:has(#schm-i:checked) .u-schc-i, .u-sch:has(#schm-r:checked) .u-schc-r, .u-sch:has(#schm-p:checked) .u-schc-p { display: block; }
.u-schn { display: none; } .u-sch:has(#schm-p:checked) .u-schn { display: block; }
body.u .u-todo0 > details { flex: 1 1 100%; }
@media (max-width: 640px) { .u-schm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Ads Overview: spend against reported sales through the dates */
.ax-days svg.chart { width: 100%; height: auto; display: block; margin-top: 8px; }
/* ---- Ads, Daily budgets (ui/ad-budgets.ts, 10 Nov 2026): campaigns with what each spends a day and a box for the new amount,
   the confirmation with the two amounts side by side, and the log. Figures in Geist Mono in rows, Geist tabular when big. */
.abg { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.abg-l { list-style: none; margin: 10px 0 0; padding: 0; }
.abg-r, .abg-lr { display: grid; align-items: center; gap: 6px 20px; padding: 12px 0; border-top: 1px solid #F1F1F3; min-width: 0; }
.abg-r { grid-template-columns: minmax(0, 1fr) 110px minmax(0, 250px); }
.abg-lr { grid-template-columns: minmax(0, 1fr) minmax(0, 190px) minmax(0, 200px) 64px; }
.abg-r.on { background: #EEF3FF; margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 10px; border-top-color: transparent; }
.abg-r.on + .abg-r { border-top-color: transparent; }
.abg-n { display: flex; flex-direction: column; min-width: 0; } .abg-n b { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; } .abg-n small, .abg-now small, .abg-st small { font-size: 11.5px; color: #71717A; }
.abg-now { display: flex; flex-direction: column; align-items: flex-end; } .abg-now .u-m { font-size: 14px; color: #18181B; }
.abg-no { font-size: 12px; color: #52525B; }
.abg-f { display: flex; gap: 8px; align-items: center; margin: 0; }
.abg-lab, .abg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.abg-money { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 0 10px; min-height: 40px; border-radius: 9px; background: #F4F4F5; border: 1px solid transparent; font-size: 13px; color: #52525B; }
.abg-money:focus-within { border-color: #2563EB; background: #FFFFFF; }
body.u .abg-money input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; box-shadow: none; padding: 0; min-height: 38px; font: 400 13px "Geist Mono", ui-monospace, monospace; letter-spacing: -0.04em; color: #18181B; caret-color: #2563EB; }
body.u .abg-money input::placeholder { color: #71717A; }
body.u .abg .u-btn2.sm { min-height: 40px; }
.abg-mv { font-size: 12.5px; color: #18181B; white-space: nowrap; } .abg-st { font-size: 12px; color: #52525B; display: flex; flex-direction: column; }
.abg-lr.failed .abg-st { color: #A1261F; } .abg-lr.checked .abg-mv, .abg-lr.failed .abg-mv { color: #71717A; } .abg-lr.pending .abg-st { color: #92400E; }
.abg-u { margin: 0; justify-self: end; }
.abg-call { grid-column: 1 / -1; padding: 10px 12px; border-radius: 10px; background: #F7F7F8; min-width: 0; }
.abg-call p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #3F3F46; max-width: 90ch; } .abg-call b { font-weight: 500; color: #18181B; }
.abg-call .abg-why { margin-top: 4px; font-size: 12px; color: #52525B; }
.abg-call.raise { background: #DCF5E5; } .abg-call.raise b { color: #156B3A; } .abg-call.lower { background: #FDE3E1; } .abg-call.lower b { color: #A1261F; }
.abg-after { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.5; color: #52525B; max-width: 90ch; } .abg-after b { font-weight: 500; color: #18181B; }
.abg-after.paid b { color: #156B3A; } .abg-after.not b { color: #A1261F; }
.abg-foot { margin: 12px 0 0; font-size: 12px; color: #52525B; max-width: 70ch; }
.abg-test b { font-weight: 500; color: #92400E; }
.abg-rules { margin: 14px 0 16px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; max-width: 820px; }
.abg-rules li { font-size: 12.5px; color: #52525B; line-height: 1.5; } .abg-rules b { display: block; font-weight: 500; color: #18181B; }
.abg-sw { margin: 0; } .abg-sw.end { padding: 0 2px; }
.abg-rv { max-width: 620px; }
.abg-camp { margin: 0; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; } .abg-camp small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: #52525B; }
.abg-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0 0; border: 1px solid #EDEDEF; border-radius: 12px; }
.abg-pair > div { padding: 14px 16px; min-width: 0; } .abg-pair > .to { border-left: 1px solid #EDEDEF; background: #EEF3FF; border-radius: 0 11px 11px 0; }
.abg-pair dt { font-size: 12px; color: #52525B; } .abg-pair dd { margin: 4px 0 0; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #18181B; overflow-wrap: anywhere; }
.abg-pair dd small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; letter-spacing: 0; color: #52525B; }
.abg-month { margin: 14px 0 0; font-size: 12.5px; color: #52525B; line-height: 1.5; max-width: 62ch; }
.abg-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; } .abg-acts form { margin: 0; flex: 1 1 260px; }
/* ---- Negative keywords (ui/ad-negatives.ts, 229): searches with no sale, ticked and reviewed */
.ang-r { display: grid; grid-template-columns: 20px minmax(0, 1fr) minmax(0, 90px) minmax(0, 120px); align-items: center; gap: 4px 16px; padding: 12px 0; border-top: 1px solid #F1F1F3; min-width: 0; }
.ang-r.rv { grid-template-columns: minmax(0, 1fr) minmax(0, 90px) minmax(0, 120px); }
.ang-r input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: #2563EB; cursor: pointer; }
.ang-r label.abg-n { cursor: pointer; } .ang-r.no label.abg-n { cursor: default; } .ang-r.no .abg-n b { color: #52525B; }
.ang-k { font-size: 12.5px; color: #18181B; text-align: right; white-space: nowrap; }
.ang-r.ang-b { grid-template-columns: minmax(0, 1fr) minmax(0, 90px) minmax(0, 80px) auto; }
.ang-r.ang-b .ang-why { grid-column: 1 / -1; }
/* why Atlas ranks the search where it does (search-intent.ts): the band in ink, the reason in grey, under the search */
.ang-int { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.5; color: #71717A; max-width: 80ch; }
.ang-int b { font-weight: 500; color: #3F3F46; margin-right: 6px; }
.ang-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .ang-all { margin: 0; }
.ang-x { min-height: 32px; }
.ang-r.are-b { grid-template-columns: minmax(0, 1fr) auto; } .ang-r.are-b .abg-n { display: grid; gap: 2px; } .ang-one { margin: 0; }
.ang-why { grid-column: 2 / -1; margin: 0; font-size: 12px; color: #71717A; line-height: 1.5; max-width: 80ch; }
.are-r { grid-template-columns: 20px minmax(0, 1fr); } .are-r.rv { grid-template-columns: minmax(0, 1fr); } .are-r.rv .ang-why { grid-column: 1 / -1; }
.are-h { margin: 18px 0 0; font-size: 13px; font-weight: 500; color: #18181B; } .are-h:first-of-type { margin-top: 6px; } .are-hp { margin: 2px 0 0; }
.are-est { color: #18181B; } .are-lr { grid-template-columns: minmax(0, 1fr) minmax(0, 200px); }
/* Ads, Account structure (account-structure.ts) */
.ast-l { list-style: none; margin: 0; padding: 0; }
.ast-c { display: grid; gap: 3px; padding: 12px 0; border-top: 1px solid #F1F1F3; min-width: 0; }
.ast-c small { font-size: 11.5px; color: #71717A; } .ast-c b { font-size: 13.5px; font-weight: 500; color: #18181B; line-height: 1.45; }
.ast-c p { margin: 0; font-size: 12px; color: #71717A; line-height: 1.5; max-width: 80ch; }
.ast-t td small { display: block; font-size: 11.5px; color: #71717A; } .ast-n { color: #18181B; }
.ast-t tr.flag .ast-n { font-weight: 500; }
/* Ads, Headlines (headline-tests.ts) */
.ahl-ad { padding: 14px 0; border-top: 1px solid #F1F1F3; min-width: 0; }
.ahl-ad h3 { margin: 0; font-size: 14px; font-weight: 500; color: #18181B; } .ahl-ad h3 small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: #71717A; }
.ahl-say { margin: 6px 0 8px; font-size: 13px; color: #3F3F46; line-height: 1.5; max-width: 80ch; }
.ahl-t td small { display: block; font-size: 11.5px; color: #71717A; } .ahl-t tr.ahl-low td:first-child { color: #A1261F; } .ahl-t tr.ahl-best td:first-child { color: #156B3A; }
.ahl-t th:nth-child(2), .ahl-t td:nth-child(2) { text-align: left; width: 50%; }
/* Ads, Studio: into Meta, paused (ad-launch.ts) */
.alc-ad { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px 24px; align-items: start; margin: 4px 0 16px; }
.alc-img { width: 100%; height: auto; border-radius: 10px; border: 1px solid #E4E4E7; }
.alc-dl { margin: 0; display: grid; gap: 2px; } .alc-dl dt { font-size: 12px; color: #71717A; margin-top: 8px; } .alc-dl dt:first-child { margin-top: 0; }
.alc-dl dd { margin: 0; font-size: 13.5px; color: #18181B; line-height: 1.45; overflow-wrap: anywhere; } .alc-dl code { font-size: 12px; }
.alc-f { display: grid; gap: 6px; max-width: 560px; } .alc-f label { font-size: 12.5px; color: #3F3F46; margin-top: 8px; }
.alc-f select, .alc-f input[type="url"] { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #D4D4D8; border-radius: 8px; font: inherit; font-size: 14px; background: #FFFFFF; color: #18181B; }
@media (max-width: 640px) { .alc-ad { grid-template-columns: minmax(0, 1fr); } .alc-img { max-width: 260px; } .alc-f select, .alc-f input[type="url"] { min-height: 44px; font-size: 16px; } }
.alb-f { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 2px; }
.alb-f input, .alb-f select { min-height: 40px; padding: 8px 12px; border: 1px solid #E4E4E7; border-radius: 10px; font: inherit; font-size: 14px; background: #FFFFFF; color: #18181B; }
.alb-f input { flex: 1 1 240px; min-width: 0; } .alb-f select { flex: 0 1 200px; } .alb-f .u-btn { flex: none; min-height: 40px; width: auto; }
.alb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px; } .alb-cn { color: #71717A; font-variant-numeric: tabular-nums; } .u-chip.on .alb-cn { color: #D4D4D8; } .u-chip.alb-none { color: #71717A !important; }
.alb-bars, .alb-run { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.alb-bars li { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr) 44px; gap: 12px; align-items: center; }
.alb-bl { font-size: 13px; color: #18181B; min-width: 0; } .alb-gap { font-style: normal; font-size: 11.5px; color: #A1261F; margin-left: 4px; white-space: nowrap; }
.alb-bt, .alb-rt { height: 10px; border-radius: 999px; background: #F4F4F5; overflow: hidden; } .alb-bt i, .alb-rt i { display: block; height: 100%; width: 0; border-radius: 999px; background: #2563EB; transition: width 640ms var(--ease); }
.alb-rt i { background: #A1A1AA; } .alb-rt i.long { background: #2563EB; }
.alb-bv, .alb-rv { font-size: 12.5px; color: #52525B; text-align: right; }
.alb-run li { display: grid; grid-template-columns: minmax(0, 1fr) 72px 40px; gap: 10px; align-items: center; }
.alb-rn { min-width: 0; } .alb-rn b { display: block; font-size: 13px; font-weight: 500; color: #18181B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .alb-rn small { display: block; font-size: 11.5px; color: #71717A; }
.alb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.alb-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.alb-card header { display: flex; align-items: center; gap: 10px; min-width: 0; }
.alb-av { flex: none; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: #EEF3FF; color: #1D4ED8; font-size: 13px; font-weight: 600; }
.alb-who { min-width: 0; flex: 1; } .alb-who b { display: block; font-size: 13px; font-weight: 500; color: #18181B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .alb-who small { display: block; font-size: 11.5px; color: #71717A; }
.alb-days { flex: none; font-size: 11.5px; padding: 3px 8px; border-radius: 999px; background: #F4F4F5; color: #52525B; font-variant-numeric: tabular-nums; } .alb-days.long { background: #EEF3FF; color: #1D4ED8; }
.alb-txt { margin: 0; font-size: 13.5px; line-height: 1.5; color: #18181B; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.alb-ttl { margin: 0; padding-top: 8px; border-top: 1px solid #F1F1F3; font-size: 13px; font-weight: 600; color: #18181B; }
.alb-card footer { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.alb-tag { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; border: 1px solid #E4E4E7; color: #52525B; } .alb-open { margin-left: auto; font-size: 12px; }
.avh-bars, .avh-tl { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.avh-bars li { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr) 52px; gap: 12px; align-items: center; }
.avh-bl, .avh-tn { font-size: 13px; color: #18181B; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avh-bt { position: relative; height: 12px; border-radius: 999px; background: #F4F4F5; } .avh-bt i { display: block; height: 100%; width: 0; border-radius: 999px; background: #2563EB; transition: width 640ms var(--ease); }
.avh-mk { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: #18181B; border-radius: 2px; }
.avh-bv { font-size: 12.5px; color: #52525B; text-align: right; }
.avh-tl li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #F1F1F3; } .avh-tl li:last-child { border-bottom: 0; padding-bottom: 0; }
.avh-k { flex: none; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: #F4F4F5; color: #3F3F46; white-space: nowrap; }
.avh-k.good { background: #DCF5E5; color: #156B3A; } .avh-k.bad { background: #FDE3E1; color: #A1261F; } .avh-k.warn { background: #FEF3C7; color: #92400E; }
.avh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.avh-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.avh-card header { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; } .avh-n { min-width: 0; } .avh-n b { display: block; font-size: 14px; font-weight: 500; color: #18181B; overflow-wrap: anywhere; } .avh-n small { display: block; margin-top: 2px; font-size: 12px; color: #71717A; }
.avh-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .avh-pair p { margin: 0; } .avh-pair span { display: block; font-size: 12px; color: #71717A; } .avh-pair b { font-size: 22px; font-weight: 500; color: #18181B; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.avh-curve { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; align-items: end; height: 84px; }
.avh-curve span { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 100%; gap: 4px; } .avh-curve i { display: block; height: 0; min-height: 2px; border-radius: 6px 6px 2px 2px; background: #3B82F6; transition: height 640ms var(--ease); }
.avh-curve small { font-size: 11px; color: #71717A; text-align: center; }
.avh-say { margin: 0; font-size: 13px; color: #3F3F46; line-height: 1.5; }
@media (max-width: 1150px) { .avh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .avh-grid { grid-template-columns: minmax(0, 1fr); } .avh-bars li { grid-template-columns: minmax(0, 110px) minmax(0, 1fr) 48px; } }
.acm-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; overflow: hidden; }
.acm-t { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; cursor: pointer; margin: 0; transition: background-color 180ms var(--ease); }
.acm-t + .acm-t { border-left: 1px solid #F1F1F3; } .acm-t input { position: absolute; opacity: 0; pointer-events: none; }
.acm-t:has(input:checked) { background: #EEF3FF; box-shadow: inset 0 -3px 0 #2563EB; } .acm-t:has(input:focus-visible) { outline: 2px solid #2563EB; outline-offset: -2px; }
.acm-t.few { cursor: default; } .acm-t.few .acm-tv { color: #A1A1AA; }
.acm-tl { font-size: 12px; color: #52525B; } .acm-tv { font-size: 34px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #18181B; line-height: 1.1; } .acm-ts { font-size: 12.5px; color: #71717A; }
@media (hover: hover) and (pointer: fine) { .acm-t:not(.few):hover { background: #FAFAFA; } .acm-t:has(input:checked):hover { background: #EEF3FF; } }
.acm-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .acm-row label { font-size: 13px; color: #3F3F46; }
.acm-row select { flex: 1 1 260px; min-height: 40px; padding: 8px 12px; border: 1px solid #E4E4E7; border-radius: 10px; font: inherit; font-size: 14px; background: #FFFFFF; color: #18181B; } body.u .acm-row .u-btn { flex: none; width: auto; min-height: 40px; }
.acm-ok { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13px; color: #3F3F46; line-height: 1.45; margin-top: 12px; } .acm-ok input { margin-top: 3px; }
.acm-log { list-style: none; margin: 4px 0 0; padding: 0; } .acm-log li { display: grid; grid-template-columns: minmax(0, 1fr) 80px auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #F1F1F3; } .acm-log li:first-child { border-top: 0; }
.acm-ln { min-width: 0; } .acm-ln b { display: block; font-size: 13px; font-weight: 500; color: #18181B; overflow-wrap: anywhere; } .acm-ln small { display: block; font-size: 11.5px; color: #71717A; } .acm-lp { font-size: 13px; text-align: right; color: #3F3F46; }
@media (max-width: 640px) { .acm-tiles { grid-template-columns: minmax(0, 1fr); } .acm-t + .acm-t { border-left: 0; border-top: 1px solid #F1F1F3; } .acm-row select, body.u .acm-row .u-btn { flex: 1 1 100%; min-height: 44px; font-size: 16px; } .acm-log li { grid-template-columns: minmax(0, 1fr) auto; } .acm-lp { display: none; } }
/* Scheduled checks (ui/owner-checks.ts): the week as day columns, one card per check with a segmented schedule */
.ach-days { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ach-days li { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 10px; background: #FAFAFA; min-height: 96px; }
.ach-days li.today { background: #EEF3FF; box-shadow: inset 0 3px 0 #2563EB; }
.ach-dn { font-size: 12px; font-weight: 500; color: #18181B; display: flex; flex-direction: column; } .ach-dn small { font-weight: 400; color: #71717A; font-size: 11.5px; }
.ach-dc { display: flex; flex-direction: column; gap: 4px; }
.ach-p { font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: #FFFFFF; border: 1px solid #E4E4E7; color: #3F3F46; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ach-p.done { color: #71717A; text-decoration: line-through; } .ach-none { color: #A1A1AA; }
.ach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ach-card { display: flex; flex-direction: column; gap: 12px; }
.ach-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; } .ach-card h3 { margin: 0; font-size: 14px; font-weight: 500; }
.ach-what { margin: 0; font-size: 12.5px; color: #71717A; }
.ach-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #F1F1F3; border-radius: 9px; padding: 2px; }
.ach-seg label { position: relative; margin: 0; cursor: pointer; } .ach-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ach-seg span { display: flex; align-items: center; justify-content: center; min-height: 28px; border-radius: 7px; font-size: 12px; color: #52525B; transition: background-color 180ms var(--ease), box-shadow 180ms var(--ease); }
.ach-seg input:checked + span { background: #FFFFFF; color: #18181B; font-weight: 500; box-shadow: 0 1px 2px rgba(24, 24, 27, .08), 0 1px 6px rgba(24, 24, 27, .05); }
.ach-seg input:focus-visible + span { outline: 2px solid #2563EB; outline-offset: -2px; } .ach-seg input:disabled + span { cursor: default; }
.ach-res { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 8px; background: #FAFAFA; font-size: 12.5px; } .ach-res b { font-weight: 500; }
.ach-card footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; } .ach-card footer small { color: #71717A; font-size: 11.5px; }
.ach-save { display: flex; justify-content: flex-end; margin-top: 8px; } body.u .ach-save .u-btn { flex: none; width: auto; padding: 0 20px; }
.ach-card footer .u-lnkbtn { flex: none; white-space: nowrap; }
@media (max-width: 960px) { .ach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ach-days { grid-template-columns: minmax(0, 1fr); } .ach-days li { flex-direction: row; align-items: center; min-height: 0; } .ach-dn { width: 64px; flex: none; } .ach-dc { flex-direction: row; flex-wrap: wrap; }
  .ach-grid { grid-template-columns: minmax(0, 1fr); } .ach-seg span { min-height: 40px; } body.u .ach-save .u-btn { width: 100%; min-height: 44px; } }
/* Page tests (ui/page-tests.ts): A (the page as it was, comparison grey) and B (lead blue) side by side, the sample's progress */
.apt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.apt-card { display: flex; flex-direction: column; gap: 14px; }
.apt-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; } .apt-card h3 { margin: 0; font-size: 14px; font-weight: 500; } .apt-card header small { color: #71717A; font-size: 11.5px; }
.apt-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #F1F1F3; border-radius: 10px; overflow: hidden; }
.apt-side { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; min-width: 0; } .apt-side + .apt-side { border-left: 1px solid #F1F1F3; }
.apt-side.win { background: #EEF3FF; }
.apt-l { font-size: 12px; color: #52525B; display: flex; gap: 6px; align-items: baseline; min-width: 0; } .apt-l b { font-weight: 600; color: #18181B; } .apt-l em { font-style: normal; color: #156B3A; white-space: nowrap; }
.apt-path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.apt-v { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #18181B; line-height: 1.1; } .apt-s { font-size: 12px; color: #71717A; }
.apt-bar { display: block; height: 6px; border-radius: 3px; background: #F4F4F5; overflow: hidden; } .apt-bar i { display: block; height: 100%; border-radius: 3px; background: #C4C4CC; width: 0; transition: width 600ms var(--ease); }
.apt-side.b .apt-bar i { background: #2563EB; }
.apt-prog { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 12px; color: #52525B; }
.apt-pt { display: block; height: 6px; border-radius: 3px; background: #F4F4F5; overflow: hidden; } .apt-pt i { display: block; height: 100%; background: #2563EB; border-radius: 3px; width: 0; transition: width 600ms var(--ease); }
.apt-pv { font-variant-numeric: tabular-nums; color: #71717A; }
.apt-say { margin: 0; font-size: 13px; color: #3F3F46; }
.apt-card footer { margin-top: auto; display: flex; justify-content: flex-end; }
.apt-f { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; margin-top: 8px; }
.apt-fl { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #52525B; margin: 0; } .apt-fl.wide { grid-column: 1 / -1; }
.apt-fl input, .apt-fl select { width: 100%; min-width: 0; }
body.u .apt-f .u-btn { justify-self: start; width: auto; flex: none; padding: 0 20px; }
@media (max-width: 960px) { .apt-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .apt-f { grid-template-columns: minmax(0, 1fr); } .apt-fl input, .apt-fl select { min-height: 44px; font-size: 16px; } body.u .apt-f .u-btn { width: 100%; min-height: 44px; } .apt-v { font-size: 26px; } .apt-side { padding: 12px; } }
/* Ad tests (ui/ad-tests.ts): one row per ad, the leader's bar in the lead blue, the others in the comparison grey */
.aat-card { display: flex; flex-direction: column; gap: 14px; }
.aat-card header small { color: #71717A; font-size: 11.5px; } .aat-card h3 { margin: 0; font-size: 14px; font-weight: 500; }
.aat-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.aat-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "n v k" "b b b" "s s s"; gap: 4px 10px; align-items: center; }
.aat-n { grid-area: n; font-size: 13px; color: #18181B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.aat-v { grid-area: v; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; color: #18181B; } .aat-rows .avh-k { grid-area: k; }
.aat-b { grid-area: b; display: block; height: 6px; border-radius: 3px; background: #F4F4F5; overflow: hidden; } .aat-b i { display: block; height: 100%; border-radius: 3px; background: #C4C4CC; width: 0; transition: width 600ms var(--ease); }
.aat-rows li.lead .aat-b i { background: #2563EB; }
.aat-s { grid-area: s; font-size: 12px; color: #71717A; }
@media (max-width: 1150px) { .alb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .alb-grid { grid-template-columns: minmax(0, 1fr); } .alb-f input, .alb-f select, .alb-f .u-btn { flex: 1 1 100%; min-height: 44px; font-size: 16px; } .alb-bars li { grid-template-columns: minmax(0, 120px) minmax(0, 1fr) 40px; } .u-chip { min-height: 40px; } }
.ang-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 14px 0 0; } .ang-go .abg-foot { margin: 0; }
@media (max-width: 720px) {
  .abg-r { grid-template-columns: minmax(0, 1fr) auto; } .abg-r .abg-f, .abg-r .abg-no { grid-column: 1 / -1; }
  .abg-lr { grid-template-columns: minmax(0, 1fr) auto; } .abg-lr .abg-st { grid-column: 1; } .abg-mv { justify-self: end; }
  .abg-rules { grid-template-columns: 1fr; } body.u .abg .u-btn2.sm, .abg-money { min-height: 44px; }
  .abg-pair dd { font-size: 22px; }
  .ang-r { grid-template-columns: 24px minmax(0, 1fr) auto; } .ang-r .ang-k:last-of-type { grid-column: 2 / -1; text-align: left; } .ang-r.rv { grid-template-columns: minmax(0, 1fr) auto; }
  .ang-r input[type="checkbox"] { width: 22px; height: 22px; }
  .ang-r.ang-b .ang-k:last-of-type { grid-column: auto; text-align: right; }
  .are-r { grid-template-columns: 24px minmax(0, 1fr); } .are-r.rv { grid-template-columns: minmax(0, 1fr); }
}
/* ---- Warehouse orders (ui/warehouse.ts, 194): the order workspace under Fulfilment, and one order's page */
.u-o4 { flex-direction: column; align-items: flex-end; gap: 3px; } .u-o4w { font-size: 11px; color: #71717A; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-wh-dry { border-color: #FEF3C7; background: #FEF3C7; color: #92400E; } .u-wh-dry b { font-weight: 500; }
.u-wh-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .u-wh-tools form { margin: 0; }
.u-wh a.u-chk { text-decoration: none; box-sizing: border-box; } .u-wh div.u-chk { cursor: default; } .u-wh .u-chk small { white-space: normal; }
.u-wh .u-look .u-note { margin: 0 0 8px; } .u-wh .u-look form { margin: 0; }
.u-wh-set, .u-wh-card { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; } .u-wh-set h2 { margin: 0; font-size: 14px; font-weight: 500; }
.u-wh-sum { margin: 0; font-size: 13px; line-height: 1.55; color: #3F3F46; max-width: 78ch; }
.u-wh-fold { border-top: 1px solid #F3F3F4; padding-top: 10px; } .u-wh-fold > summary { cursor: pointer; font-size: 13px; font-weight: 500; color: #18181B; list-style: none; display: flex; align-items: center; gap: 8px; min-height: 28px; }
.u-wh-fold > summary::-webkit-details-marker { display: none; } .u-wh-fold > summary::before { content: "+"; width: 14px; color: #71717A; font-weight: 400; } .u-wh-fold[open] > summary::before { content: "−"; }
.u-wh-fold > summary .u-m { font-size: 11.5px; color: #71717A; font-weight: 400; } .u-wh-fold > :not(summary) { margin-top: 10px; }
.u-wh-form { display: flex; flex-direction: column; gap: 12px; margin: 0; align-items: flex-start; }
.u-wh-tick { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; } .u-wh-tick input { margin-top: 3px; flex: none; }
.u-wh-tick span { display: flex; flex-direction: column; gap: 2px; } .u-wh-tick b { font-size: 13px; font-weight: 500; } .u-wh-tick small { font-size: 12px; color: #71717A; line-height: 1.45; max-width: 72ch; }
.u-wh-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin: 0; } .u-wh-row label, .u-wh-grid label, .u-wh-wide { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #52525B; }
.u-wh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 10px 14px; width: 100%; }
body.u .u-wh input:not([type="checkbox"]):not([type="hidden"]):not([type="search"]), body.u .u-wh select { min-height: 36px; border-radius: 9px; font-size: 13px; }
body.u .u-wh input[type="number"] { width: 84px; }
.u-wh-stores { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; } .u-wh-stores legend { font-size: 12px; color: #52525B; padding: 0; margin-bottom: 6px; }
.u-wh-stores label { display: flex; align-items: center; gap: 6px; }
.u-wh-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } .u-wh-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid #F3F3F4; font-size: 13px; }
.u-wh-list li:first-child { border-top: 0; } .u-wh-list small { font-size: 11.5px; color: #71717A; } .u-wh-list form { margin: 0; flex: none; }
.u-wh-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
.u-wh-card .u-lh { align-items: center; gap: 10px; } .u-wh-card .u-tl { padding: 6px 0 0; }
.u-wh-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .u-wh-inline { display: flex; gap: 6px; align-items: center; margin: 0; } body.u .u-wh-inline input { width: 180px; }
.u-wh-track { margin: 0; font-size: 13px; display: flex; gap: 8px; align-items: baseline; } .u-wh-track > span:first-child { color: #52525B; } .u-wh-track a { color: #2563EB; }
.u-wh-items { display: flex; flex-direction: column; gap: 8px; margin: 0; align-items: flex-start; } .u-wh-items > label:not(.u-wh-wide) { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; }
.u-wh-items > label > span { display: flex; flex-direction: column; gap: 1px; min-width: 0; } .u-wh-items b { font-size: 13px; font-weight: 500; } .u-wh-items small { font-size: 11.5px; color: #71717A; }
.u-wh-items .u-wh-wide { width: 100%; } .u-wh-addr { font-style: normal; display: flex; flex-direction: column; font-size: 13px; line-height: 1.5; }
.u-wh-hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } .u-wh-hist li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid #F3F3F4; }
.u-wh-hist li:first-child { border-top: 0; } .u-wh-hist time { font-size: 11.5px; color: #71717A; padding-top: 1px; } .u-wh-hist span { display: flex; flex-direction: column; gap: 1px; }
.u-wh-hist b { font-size: 13px; font-weight: 500; } .u-wh-hist small { font-size: 11.5px; color: #71717A; line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 900px) { .u-wh-cols { grid-template-columns: minmax(0, 1fr); } .u-wh .u-look { max-width: none; } body.u .u-wh-inline input { width: 130px; } .u-o4 { align-items: flex-end; } }
/* warehouse orders: follow links, notes and returns */
.u-wh-follow { font-size: 12px; color: #2563EB; margin-left: 4px; }
.u-wh-wide textarea { width: 100%; min-width: 0; font: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid #E4E4E7; border-radius: 8px; resize: vertical; box-sizing: border-box; }
.u-wh-form .u-wh-wide { width: 100%; max-width: 640px; }
.u-wh-rets { margin-top: 14px; }
@media (max-width: 900px) { .u-wh-holdf { flex-wrap: wrap; } body.u .u-wh-bulk input[name="reason"] { width: 100%; } .u-wh-bulk label { flex: 1 1 140px; } }
/* warehouse orders: the warehouse's key */
.u-wh-help { display: block; font-size: 11.5px; color: #71717A; line-height: 1.45; margin-top: 2px; }
.u-wh-keyset { flex-direction: column; gap: 8px; flex: 1 1 100%; max-width: 100%; } .u-wh-keyset .u-wh-grid label { font-size: 12px; color: #52525B; }
#whkey > summary .u-m { font-size: 11.5px; }

/* ---- Design rules the older app.css parts and today's pages missed (11 Nov 2026, Ollie: "your changes today dont follow our
   design rules"). Checked by server/test/design-rules.test.ts. */
/* Chart series and comparisons are DESIGN.md's (blue, teal, amber, violet; comparisons #C4C4CC dashed), not app.css's older
   orange and beige: every chart drawn by charts.ts inside the frame reads its colours from these tokens. */
body.u { --series1: #2563EB; --series2: #14B8A6; --series3: #D97706; --series4: #8B5CF6; --series1-soft: rgba(37, 99, 235, 0.1);
  --cmp: #E4E4E7; --cmp-line: #C4C4CC; --accent: #2563EB; }
body.u svg.chart .is-cmp { stroke-dasharray: 4 4; }
body.u .legend .key-line.sw-cmp-line { background: repeating-linear-gradient(90deg, #C4C4CC 0 4px, transparent 4px 7px); }
/* "How this is worked out" (kit.ts how) is a quiet 12px line everywhere: app.css's details summary rule made it 15px/500 */
body.u details.u-how > summary { font-size: inherit; font-weight: 400; padding: 0; }
body.u .u-lnkbtn.inl { padding: 0; font-size: inherit; }
/* touch targets on phones are 40px or more */
@media (max-width: 640px) {
  body.u .asc-plats .u-pill-btn, body.u .u-wh-filt > summary, body.u .u-wh-fold > summary { min-height: 40px; }
}
/* an empty card in a grid (DESIGN.md "Calm, not less" 4): its heading, then one quiet line under it, top-aligned like Home's
   "No ads ran today." */
body.u .u-sq { display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; } body.u .u-sq > p { margin: 0; font-size: 12.5px; }
/* warehouse orders: sending's own switch (off until the owner makes it live) */
.u-wh-live { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.u-wh-live-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .u-wh-live-h h2 { margin: 0; font-size: 15px; font-weight: 500; }
.u-wh-live-b { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px 28px; align-items: start; }
.u-wh-live .u-tl { padding: 2px 0 0; } .u-wh-live .u-tl small a { color: #2563EB; }
.u-wh-live-a { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding-top: 2px; } .u-wh-live-a .u-wh-sum { margin: 0; }
.u-wh-live.on { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; } .u-wh-live.on .u-wh-sum { margin: 0; flex: 1 1 320px; }
.u-wh-live.on form { margin: 0; }
@media (max-width: 900px) { .u-wh-live-b { grid-template-columns: minmax(0, 1fr); } }

/* warehouse orders: the order grid (the shipping-tool layout: tick, order, placed and age, ship to, items, qty, sales,
   stage), filters always in view, and the bar of bulk actions that rises once an order is ticked */
.u-wg { padding: 0; display: flex; flex-direction: column; min-width: 0; overflow: clip; }
.u-wg-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 16px 12px; }
.u-wg-h h2 { margin: 0; font-size: 14px; font-weight: 500; } .u-wg-h p { margin: 2px 0 0; font-size: 12px; color: #71717A; } .u-wg-h form { margin: 0; }
.u-wg-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; padding: 0 16px 12px; margin: 0; border-bottom: 1px solid #F1F1F3; }
.u-wg-q { flex: 1 1 260px; width: auto; max-width: 380px; min-height: 36px; }
.u-wg-f { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; color: #71717A; }
body.u .u-wh .u-wg-f input:not([type="checkbox"]), body.u .u-wh .u-wg-f select { min-height: 36px; font-size: 12.5px; }
body.u .u-wh .u-wg-f input[name="country"] { width: 64px; text-transform: uppercase; } body.u .u-wh .u-wg-f input[name="country"]::placeholder { text-transform: none; }
/* the assistant's button steps aside while the bulk bar is up, so the two never overlap */
body.u:has(.u-wg-bulk.float:not([data-empty])) .atlas-dock { opacity: 0; pointer-events: none; transform: scale(.9); transition: opacity .15s ease, transform .15s ease; }
.u-wg-bar .u-btn2.sm { min-height: 36px; }
.u-wg-clear { font-size: 12.5px; color: #2563EB; align-self: center; padding: 8px 2px 0; }
.u-wg-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.u-wg-t { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 860px; }
.u-wg-t th { position: sticky; top: 0; z-index: 1; background: #FAFAFA; font-size: 11.5px; font-weight: 500; color: #71717A; text-align: left; padding: 9px 12px; border-bottom: 1px solid #F1F1F3; white-space: nowrap; }
.u-wg-t td { padding: 10px 12px; vertical-align: top; border-bottom: 1px solid #F3F3F4; color: #18181B; }
.u-wg-t td > span:not(.u-stage), .u-wg-t td > b { display: block; } .u-wg-t td small { display: block; margin-top: 2px; font-size: 11.5px; color: #71717A; line-height: 1.4; }
.u-wg-t td small.late { color: #92400E; }
.u-wg-t tbody tr { cursor: pointer; transition: background-color .15s ease; }
@media (hover: hover) and (pointer: fine) { .u-wg-t tbody tr:hover { background: #FAFAFA; } }
.u-wg-t tbody tr:focus-visible { outline: 2px solid #2563EB; outline-offset: -2px; }
.u-wg-t tbody tr.picked { background: #EEF3FF; } .u-wg-t tbody tr:last-child td { border-bottom: 0; }
.u-wg-t .u-m { font-size: 12.5px; }
.u-wg-ord b { font-weight: 500; display: inline !important; } .u-wg-part { display: inline !important; margin-left: 6px; font-size: 11px; color: #52525B; background: #F4F4F5; border-radius: 6px; padding: 1px 6px; }
.u-wg-note { display: inline-block; width: 13px; height: 13px; margin-left: 6px; vertical-align: -2px; fill: none; stroke: #71717A; stroke-width: 1.3; stroke-linejoin: round; }
.u-wg-items { max-width: 320px; } .u-wg-items > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-wg-n { text-align: right !important; white-space: nowrap; } .u-wg-st { white-space: nowrap; } .u-wg-st small { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.u-wg-nil { color: #A1A1AA; }
.u-wg-pick { width: 36px; padding-right: 0 !important; } .u-wg-pick label { display: flex; align-items: center; justify-content: center; width: 24px; height: 20px; cursor: pointer; }
.u-wg-pick input { width: 15px; height: 15px; margin: 0; accent-color: #18181B; cursor: pointer; }
.u-wg-sort { display: inline-flex; align-items: center; gap: 4px; color: inherit !important; text-decoration: none; }
.u-wg-sort svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .35; transition: opacity .15s ease; }
.u-wg-sort:hover svg, .u-wg-sort.on svg { opacity: 1; } .u-wg-sort.on { color: #18181B !important; }
.u-wg-empty { padding: 28px 16px; margin: 0; }
.u-wg .u-ff { padding: 10px 16px; border-top: 1px solid #F1F1F3; }
.u-wg-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 16px; margin: 0; border-bottom: 1px solid #F1F1F3; }
.u-wg-count { font-size: 12.5px; color: #52525B; white-space: nowrap; } .u-wg-count b { color: #18181B; font-weight: 500; }
.u-wg-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.u-wg-why input { min-height: 30px !important; width: 170px; font-size: 12px !important; }
.u-wg-x { display: none; }
/* with ui.js: the bar floats at the bottom of the window, hidden until something is ticked */
.u-wg-bulk.float { position: fixed; z-index: 30; left: 50%; bottom: 20px; width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box;
  border: 0; border-radius: 14px; background: #18181B; color: #FFFFFF; padding: 8px 8px 8px 16px; flex-wrap: nowrap;
  box-shadow: 0 12px 32px -8px rgba(24, 24, 27, .35), 0 2px 6px rgba(24, 24, 27, .12);
  transform: translate(-50%, 0); opacity: 1; transition: transform .22s cubic-bezier(.23, 1, .32, 1), opacity .22s cubic-bezier(.23, 1, .32, 1); }
.u-wg-bulk.float[data-empty] { transform: translate(-50%, calc(100% + 28px)); opacity: 0; pointer-events: none; transition-duration: .15s; }
.u-wg-bulk.float .u-wg-count { color: #A1A1AA; } .u-wg-bulk.float .u-wg-count b { color: #FFFFFF; }
body.u .u-wg-bulk.float .u-btn2 { background: transparent; color: #FFFFFF; border-color: #3F3F46; }
body.u .u-wg-bulk.float .u-btn2:hover { background: #3F3F46; }
body.u .u-wg-bulk.float .u-btn { background: #FFFFFF; color: #18181B; }
body.u .u-wg-bulk.float .u-wg-why input { background: #3F3F46; border-color: #3F3F46; color: #FFFFFF; } .u-wg-bulk.float .u-wg-why input::placeholder { color: #A1A1AA; }
.u-wg-bulk.float .u-wg-x { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
body.u .u-wg-bulk.float .u-wg-x svg { width: 14px; height: 14px; flex: none; fill: none; stroke: #A1A1AA; stroke-width: 1.6; stroke-linecap: round; } .u-wg-bulk.float .u-wg-x:hover { background: #3F3F46; }
body.u .u-wg-bulk button:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .u-wg-bulk.float, .u-wg-bulk.float[data-empty] { transition: opacity .15s ease; transform: translate(-50%, 0); } }
/* what needs the owner: one card across the page, two columns of rows */
.u-wg-look { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.u-wg-lh { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; } .u-wg-lh h2 { margin: 0; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.u-wg-lh h2 .u-m { font-size: 11.5px; font-weight: 500; color: #A1261F; background: #FDE3E1; border-radius: 999px; padding: 1px 8px; }
.u-wg-lh p { margin: 0; flex: 1 1 200px; font-size: 12px; color: #71717A; } .u-wg-lh form { margin: 0; }
.u-wg-iss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.u-wg-iss > a, .u-wg-iss > div { display: grid; grid-template-columns: 8px minmax(0, 1fr) 14px; gap: 12px; align-items: start; padding: 10px 2px; border-top: 1px solid #F3F3F4; color: #18181B; text-decoration: none; border-radius: 6px; }
.u-wg-iss > :nth-child(-n+2) { border-top: 0; }
@media (hover: hover) and (pointer: fine) { .u-wg-iss > a:hover { background: #FAFAFA; } }
.u-wg-iss i { width: 8px; height: 8px; border-radius: 9px; background: var(--tone); margin-top: 5px; }
.u-wg-iss span { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .u-wg-iss b { font-weight: 500; font-size: 12.5px; } .u-wg-iss small { font-size: 12px; color: #52525B; line-height: 1.45; }
.u-wg-iss svg { width: 14px; height: 14px; fill: none; stroke: #A1A1AA; stroke-width: 2; margin-top: 3px; }
.u-wg-calm p { font-size: 13px; color: #52525B; } .u-wg-calm p b { color: #18181B; font-weight: 500; } .u-wg-calm form { margin: 0; }
@media (max-width: 900px) { .u-wg-iss { grid-template-columns: minmax(0, 1fr); } .u-wg-iss > :nth-child(2) { border-top: 1px solid #F3F3F4; } }
/* phones: each order a card (app.css table.as-cards), the tick on the right of its number */
@media (max-width: 600px) {
  .u-wg-t { min-width: 0; } .u-wg-scroll { overflow: visible; }
  body.u .u-wg-t.as-cards tr { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 14px 16px; position: relative; border-bottom: 1px solid #F3F3F4; }
  body.u .u-wg-t.as-cards td { border: 0; padding: 0; }
  body.u .u-wg-t.as-cards td.u-wg-pick { position: absolute; top: 6px; right: 8px; width: auto; }
  body.u .u-wg-t.as-cards .u-wg-pick label { width: 40px; height: 40px; }
  body.u .u-wg-t.as-cards td.u-wg-ord { grid-column: 1 / -1; padding-right: 44px; }
  body.u .u-wg-t.as-cards td.u-wg-items, body.u .u-wg-t.as-cards td.u-wg-st { grid-column: 1 / -1; max-width: none; }
  body.u .u-wg-t.as-cards td.u-wg-n { text-align: left !important; }
  body.u .u-wg-t.as-cards tr { gap: 8px 12px; } body.u .u-wg-t.as-cards td.u-wg-st { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } body.u .u-wg-t.as-cards td.u-wg-st::before { display: none; }
  body.u .u-wg-t.as-cards td.u-wg-st small { margin: 0; } body.u .u-wg-t.as-cards td.u-wg-items::before { display: none; }
  .u-wg-acts { flex: 1 1 100%; } .u-wg-acts .u-btn2, .u-wg-acts .u-btn { flex: 1 1 auto; }
  .u-wg-bulk.float .u-wg-count { flex: 1; } .u-wg-bulk.float .u-wg-x { order: 1; } .u-wg-bulk.float .u-wg-acts { order: 2; } .u-wg-bulk.float .u-wg-why { order: 3; }
  .u-wg-q { max-width: none; flex-basis: 100%; } .u-wg-f { flex: 1 1 40%; } body.u .u-wh .u-wg-f input, body.u .u-wh .u-wg-f select { width: 100%; min-height: 40px; }
  .u-wg-bar .u-btn2.sm { min-height: 40px; }
  .u-wg-bulk.float { left: 16px; right: 16px; bottom: 76px; width: auto; max-width: none; transform: none; flex-wrap: wrap; border-radius: 14px; padding: 10px 12px; }
  .u-wg-bulk.float[data-empty] { transform: translateY(calc(100% + 96px)); }
  body.u .u-wg-bulk button { min-height: 40px !important; } .u-wg-why { flex: 1 1 100%; } .u-wg-why input { width: 100%; min-height: 40px !important; }
  .u-wg-h { flex-wrap: wrap; }
}
/* the setup form's key fields: each label sits over its box, left-aligned, like every other field */
.u-wh-keyset .u-wh-grid label { align-items: stretch; } .u-wh-keyset .u-wh-grid { max-width: 820px; align-items: end; } .u-wh-keyset .u-wh-help { display: block; margin-top: 8px; font-size: 12px; color: #71717A; }

/* The Email sign-ups card (ui/signups.ts; 11 Nov 2026 redesign): three figures, a bar a day, where they came from. */
.u-su { gap: 0; }
.u-su-k { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 0; }
.u-su-k > div { min-width: 0; padding: 0 14px; } .u-su-k > div:first-child { padding-left: 0; } .u-su-k > div + div { border-left: 1px solid #F1F1F3; }
.u-su-k dt { font-size: 11.5px; color: #52525B; } .u-su-k dd { margin: 0; }
.u-su-v { margin-top: 4px; font-size: 25px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #18181B; }
.u-su-s { margin-top: 2px; font-size: 11.5px; line-height: 1.4; color: #52525B; }
.u-su-warn { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: #FEF3C7; color: #92400E; font-size: 12px; line-height: 1.45; } .u-su-warn span { font-weight: 600; }
.u-su-d { margin: 16px 0 0; }
.u-su-bars { display: flex; align-items: flex-end; gap: 2px; height: 48px; }
.u-su-bars span { flex: 1; min-height: 2px; height: 0; border-radius: 2px; background: #E4E4E7; transform-origin: 50% 100%; animation: u-growy 640ms var(--ease) both; }
.u-su-bars span.on { background: #2563EB; min-height: 4px; }
.u-su-d figcaption { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 11px; color: #71717A; }
.u-su-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; color: #18181B; max-width: 65ch; }
.u-su-w { margin-top: 16px; padding-top: 14px; border-top: 1px solid #F1F1F3; }
.u-su h3 { margin: 0; font-size: 12px; font-weight: 500; color: #18181B; }
.u-su-h { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; } .u-su-h span { font-size: 11.5px; color: #71717A; }
.u-su-src { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.u-su-src li { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) 2.5ch; align-items: center; gap: 12px; font-size: 12.5px; }
.u-su-n { min-width: 0; display: flex; align-items: baseline; gap: 8px; } .u-su-n b { font-weight: 400; white-space: nowrap; } .u-su-n small { font-size: 11px; color: #71717A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-su-bar { display: block; height: 6px; } .u-su-bar i { display: block; height: 100%; width: 0; min-width: 3px; border-radius: 3px; background: #3B82F6; }
.u-su-src li > b, .u-su-pl b { font-weight: 500; text-align: right; }
.u-su-pl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.u-su-pl ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.u-su-pl li { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: #52525B; } .u-su-pl li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .u-su-pl b { color: #18181B; }
.u-su > .u-sus { margin-top: 12px; } .u-su > .u-foot { margin-top: 12px; }
.u-su-f { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; } .u-su-f .u-how { margin: 0; }
@media (max-width: 640px) {
  .u-su-k > div { padding: 0 10px; } .u-su-v { font-size: 21px; }
  .u-su-pl { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .u-su-src li { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 2.5ch; } .u-su-n { flex-direction: column; align-items: stretch; gap: 0; }
  body.u .u-su-f .u-btn.sm { min-height: 40px; } .u-su-f .u-how > summary { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .u-su-bars span { animation: none; } }

/* AI visibility in depth (12 Nov 2026, ui/ai-visibility.ts): one view for every assistant and one each */
.aiv-seg { justify-self: start; width: fit-content; margin: 0 0 8px; }
.aiv-seg a .u-dim { margin-left: 5px; font-variant-numeric: tabular-nums; }
.aiv-each th a { color: #2563EB !important; text-decoration: none; } .aiv-each th small { display: block; font-size: 11.5px; font-weight: 400; }
.aiv-each td, .aiv-mini td { white-space: nowrap; }
.aiv-mini { width: 100%; } .aiv-mini th small { font-size: 11.5px; font-weight: 400; margin-left: 6px; }
.aiv-h3 { margin: 16px 0 6px; font-size: 13px; font-weight: 500; color: #18181B; }
.aiv-brands li > span:first-child, .aiv-sites li > span:first-child { flex-direction: column; align-items: flex-start; gap: 1px; }
.aiv-brands small, .aiv-sites small { font-size: 11.5px; }
.aiv-brands li > .u-dim { min-width: 3ch; text-align: right; }
.aiv-you > span:first-child { font-weight: 500; color: #18181B; }
.aiv-miss, .aiv-quotes { list-style: none; margin: 0; padding: 0; }
.aiv-miss li, .aiv-quotes li { padding: 10px 0; border-top: 1px solid #F3F3F4; }
.aiv-q { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; font-size: 13px; } .aiv-q b { font-weight: 500; color: #18181B; margin-right: 2px; }
.aiv-sub { margin: 4px 0 0; font-size: 12px; color: #52525B; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.aiv-tag { font-size: 11px; color: #52525B; background: #F4F4F5; border-radius: 5px; padding: 1px 6px; white-space: nowrap; }
.aiv-tag.good { color: #156B3A; background: #DCF5E5; } .aiv-tag.warn { color: #92400E; background: #FEF3C7; }
/* SEO app shell: the rail beside the page on a wide screen (seoRail); the bar above it on anything narrower */
.seo-rail { display: none; }
@media (min-width: 1100px) {
  .seo-shell { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 16px; align-items: start; }
  .seo-main { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
  .seo-main > .u-page { min-width: 0; }
  .seo-shell .seo-app-bar { display: none !important; }
  .seo-rail { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 16px; padding: 14px 10px; background: #FFFFFF; border: 1px solid #EDEDEF; border-radius: 12px; }
  .seo-rail-name { display: flex; align-items: center; gap: 8px; padding: 0 6px; font: 600 13px/1 "Geist", system-ui, sans-serif; color: #18181B; text-decoration: none; }
  .seo-rail-g ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
  .seo-rail-h { margin: 0 0 4px; padding: 0 8px; font-size: 11px; color: #71717A; }
  .seo-rail a:not(.seo-rail-name) { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 30px; padding: 0 8px; border-radius: 8px; font-size: 13px; color: #3F3F46; text-decoration: none; }
  .seo-rail a:not(.seo-rail-name):hover { background: #F4F4F5; }
  .seo-rail a[aria-current="page"] { background: #EEF3FF; color: #1D4ED8; font-weight: 500; }
  .seo-rail a[data-state="off"], .seo-rail a[data-state="not-needed"] { color: #71717A; }
  .seo-rail a:focus-visible { outline: 2px solid #2563EB; outline-offset: 1px; }
  .seo-rail-st { font-size: 11px; color: #92400E; background: #FEF3C7; border-radius: 5px; padding: 1px 5px; font-weight: 400; }
}
/* AI visibility: what to do (ai-plan.ts) */
.u-c.aip { box-shadow: inset 3px 0 0 #2563EB; padding: 18px 20px; margin-bottom: 12px; }
.aip-qs th, .aip-qs td { padding-right: 16px; } .aip-qs th:last-child, .aip-qs td:last-child { padding-right: 0; }
.aip-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; }
.aip-f { display: inline; margin: 0; }
.aip-res { font-size: 12px; color: #52525B; } .aip-res.good { color: #156B3A; } .aip-res.bad { color: #A1261F; }
.aip-foot { margin: 12px 0 0; font-size: 12px; }
.aip-qs th[scope="row"] { font-weight: 500; color: #18181B; } .aip-qs th[scope="row"] small { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; font-weight: 400; font-size: 12px; color: #52525B; }
.aip-qs .c { text-align: center; }
.aip-m { font-size: 13px; font-weight: 500; } .aip-m.y { color: #156B3A; } .aip-m.n { color: #A1261F; }
@media (max-width: 640px) { .aip-acts button { min-height: 40px; } }
.aiv-quotes blockquote { margin: 0; padding-left: 10px; border-left: 2px solid #E4E4E7; font-size: 13px; color: #18181B; }
.aiq-paste { margin-top: 8px; } .aiq-paste > summary { font-size: 12.5px; color: #2563EB; cursor: pointer; min-height: 28px; display: flex; align-items: center; }
.aiq-paste textarea { width: 100%; margin-top: 6px; font: inherit; font-size: 13px; }
@media (max-width: 640px) { .aiq-paste > summary { min-height: 40px; } .aiv-each th a { display: inline-flex; min-height: 40px; align-items: center; } }
.aiv-each th + th, .aiv-each td { padding-left: 16px; }

/* Warehouse orders, 12 Nov 2026 redesign (Ollie: "genuinely awful ui"). One worklist card: the stage tabs along its top, its
   head, search with the filters folded, the grid. Stages are tinted pills you can read across a column without the dots. */
.u-wh .u-stage { gap: 5px; padding: 3px 9px; font-weight: 500; }
.u-wh .u-stage.blue { background: #EEF3FF; color: #1D4ED8; } .u-wh .u-stage.amber { background: #FEF3C7; color: #92400E; }
.u-wh .u-stage.red { background: #FDE3E1; color: #A1261F; } .u-wh .u-stage.green { background: #DCF5E5; color: #156B3A; }
.u-wh .u-stage.grey { background: #F4F4F5; color: #52525B; } .u-wh .u-stage.teal { background: #F4F4F5; color: #18181B; }
.u-wh .u-stage.blue i, .u-wh .u-stage.amber i, .u-wh .u-stage.red i, .u-wh .u-stage.green i, .u-wh .u-stage.grey i { display: none; }
.u-wtabs { flex: 0 0 auto; display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid #F1F1F3; overflow-x: auto; scrollbar-width: none; }
.u-wtabs::-webkit-scrollbar { display: none; }
.u-wtabs a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 14px 8px 13px; font-size: 13px; color: #52525B !important; text-decoration: none; white-space: nowrap; transition: color .15s ease; }
.u-wtabs a::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; border-radius: 2px; background: transparent; transition: background-color .15s ease; }
@media (hover: hover) and (pointer: fine) { .u-wtabs a:hover { color: #18181B !important; } .u-wtabs a:hover::after { background: #E4E4E7; } }
.u-wtabs a[aria-current="true"] { color: #18181B !important; font-weight: 500; } .u-wtabs a[aria-current="true"]::after { background: #18181B; }
.u-wtabs b { min-width: 20px; box-sizing: border-box; text-align: center; font-size: 11.5px; font-weight: 500; font-family: "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: #3F3F46; background: #F4F4F5; border-radius: 999px; padding: 1px 7px; }
.u-wtabs b.amber { background: #FEF3C7; color: #92400E; } .u-wtabs b.red { background: #FDE3E1; color: #A1261F; }
.u-wtabs a.zero { color: #A1A1AA !important; } .u-wtabs a.zero b { background: transparent; color: #A1A1AA; }
.u-wtabs a:focus-visible { outline: 2px solid #2563EB; outline-offset: -4px; border-radius: 8px; }
.u-wg-hr { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; } .u-wg-hr form { margin: 0; }
.u-wg-calm { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #71717A; }
.u-wg-calm > svg { width: 16px; height: 16px; flex: none; padding: 2px; box-sizing: border-box; border-radius: 99px; background: #DCF5E5; fill: none; stroke: #156B3A; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.u-wg-calm p { margin: 0; font-size: 12.5px; color: #71717A; } .u-wg-calm p b { color: #18181B; font-weight: 500; }
.u-wg-again { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; color: #71717A; }
.u-wg-again svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .42s var(--ease, ease); }
@media (hover: hover) and (pointer: fine) { .u-wg-again:hover { background: #F4F4F5; color: #18181B; } .u-wg-again:hover svg { transform: rotate(90deg); } }
.u-wg-again:active { transform: scale(.94); } .u-wg-again:focus-visible { outline: 2px solid #2563EB; outline-offset: 1px; }
.u-wg-bar { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; padding: 12px 16px; }
.u-wg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.u-wg-sf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; flex: 1 1 420px; min-width: 0; }
.u-wg-q { flex: 0 1 380px; max-width: 380px; min-height: 34px; }
.u-wg-filt > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 9px; box-shadow: inset 0 0 0 1px #E4E4E7; background: #FFFFFF; font-size: 12.5px; font-weight: 500; color: #18181B; cursor: pointer; transition: background-color .15s ease; }
.u-wg-filt > summary::-webkit-details-marker { display: none; }
.u-wg-filt > summary svg { width: 14px; height: 14px; fill: none; stroke: #52525B; stroke-width: 1.6; stroke-linecap: round; }
.u-wg-filt > summary b { font-size: 11px; font-weight: 500; background: #18181B; color: #FFFFFF; border-radius: 99px; padding: 0 6px; }
@media (hover: hover) and (pointer: fine) { .u-wg-filt > summary:hover { background: #FAFAFA; } }
.u-wg-filt[open] > summary { background: #F4F4F5; } .u-wg-filt > summary:focus-visible { outline: 2px solid #2563EB; outline-offset: 1px; }
.u-wg-bar:has(.u-wg-filt:not([open])) .u-wg-fields { display: none; }
.u-wg-fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; padding: 12px; border-radius: 10px; background: #FAFAFA; box-shadow: inset 0 0 0 1px #F1F1F3; }
body.u .u-wh .u-wg-fields .u-wg-f input:not([type="checkbox"]), body.u .u-wh .u-wg-fields .u-wg-f select { min-height: 34px; background: #FFFFFF; }
.u-wg-fields .u-btn2.sm { min-height: 34px; }
.u-wg-chips { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.u-wg-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 26px; padding: 0 6px 0 10px; border-radius: 99px; background: #EEF3FF; color: #1D4ED8 !important; font-size: 12px; text-decoration: none; }
.u-wg-chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; opacity: .7; }
@media (hover: hover) and (pointer: fine) { .u-wg-chip:hover svg { opacity: 1; } }
.u-wg-clear { padding: 0 4px; align-self: center; }
.u-wg-bar + .u-wg-bulk, .u-wg-bar { border-bottom: 0; }
.u-wg-ewnote { margin: 0; padding: 14px 16px; font-size: 12.5px; line-height: 1.5; color: #52525B; max-width: 96ch; } .u-wg-ew tbody tr { cursor: default; }
/* the other warehouse's holds: totals by warehouse first, then why they're held as the filter; each row says it in words */
.u-wg-sites { list-style: none; margin: 0; padding: 16px 16px 4px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.u-wg-sites li > * { display: block; height: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #E4E4E7; border-radius: 10px; color: #18181B !important; text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.u-wg-sites b { display: block; font-size: 12.5px; font-weight: 500; color: #52525B; } .u-wg-sites span { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.u-wg-sites em { font-style: normal; font-family: "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; } .u-wg-sites small { display: block; margin-top: 4px; font-size: 12.5px; color: #71717A; }
.u-wg-sites a[aria-current="true"] { border-color: #18181B; background: #FAFAFA; }
@media (hover: hover) and (pointer: fine) { .u-wg-sites a:not([aria-current]):hover { border-color: #A1A1AA; } }
.u-wg-ck { display: flex; align-items: center; gap: 6px; margin: 0; padding: 10px 16px 0; font-size: 12.5px; color: #156B3A; }
.u-wg-ck svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.u-wg-ck.warn { margin: 12px 16px 0; padding: 10px 12px; border-radius: 8px; background: #FEF3C7; color: #92400E; }
.u-wg-why { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 14px; }
.u-wg-why a { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: 99px; background: #F4F4F5; color: #3F3F46 !important; font-size: 12.5px; text-decoration: none; transition: background-color .15s ease; }
.u-wg-why a b { font-weight: 500; font-variant-numeric: tabular-nums; color: #71717A; }
.u-wg-why a[aria-current="true"] { background: #18181B; color: #FFFFFF !important; } .u-wg-why a[aria-current="true"] b { color: #D4D4D8; }
@media (hover: hover) and (pointer: fine) { .u-wg-why a:not([aria-current]):hover { background: #E4E4E7; } }
.u-wg-ew .u-wg-items > span { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.u-wg-ew .u-wg-items { max-width: 380px; } .u-wg-ew .u-wg-whyt { color: #92400E; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .u-wg-ew td.u-wg-st { max-width: 260px; }
@media (max-width: 600px) { .u-wg-why { padding: 0 12px 12px; } .u-wg-why a { min-height: 40px; padding: 0 14px; } }
.u-wg-t td { padding: 12px; } .u-wg-t th { border-top: 1px solid #F1F1F3; }
.u-wg-st { white-space: normal !important; min-width: 200px; max-width: 280px; }
.u-wg-t td.u-wg-st small { max-width: 280px; margin-top: 5px; white-space: normal; overflow: hidden; display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.u-wg-items { max-width: 300px; }
/* the go-live card: the steps across it, then what it means and the switch */
.u-wh-live { gap: 14px; }
.u-wh-live-h h2 { flex: 1 1 auto; } .u-wh-live-n { font-size: 12px; color: #71717A; }
.u-wh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.u-wh-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.u-wh-steps li:not(:last-child)::after { content: ""; position: absolute; top: 11px; left: 30px; right: -6px; height: 2px; border-radius: 2px; background: #E4E4E7; }
.u-wh-steps li.done:not(:last-child)::after { background: #22A55B; }
.u-wh-steps i { width: 22px; height: 22px; border-radius: 99px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; font-weight: 500; color: #71717A; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #D4D4D8; font-variant-numeric: tabular-nums; }
.u-wh-steps li.done i { background: #22A55B; box-shadow: none; } .u-wh-steps li.done i svg { width: 14px; height: 14px; fill: none; stroke: #FFFFFF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.u-wh-steps li.now i { color: #FFFFFF; background: #2563EB; box-shadow: 0 0 0 4px #EEF3FF; }
.u-wh-steps span { display: flex; flex-direction: column; gap: 2px; padding-right: 8px; } .u-wh-steps b { font-size: 13px; font-weight: 500; color: #18181B; }
.u-wh-steps li.done b { color: #3F3F46; } .u-wh-steps li.next b { color: #71717A; font-weight: 400; }
.u-wh-steps small { font-size: 11.5px; color: #71717A; line-height: 1.45; } .u-wh-steps small a { color: #2563EB; }
.u-wh-live:not(.on) .u-wh-live-b { display: block; padding-top: 14px; border-top: 1px solid #F3F3F4; }
.u-wh-live:not(.on) .u-wh-live-a { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 0; }
.u-wh-live:not(.on) .u-wh-live-a > .u-wh-sum { flex: 1 1 320px; color: #52525B; font-size: 12.5px; }
.u-wh-live:not(.on) .u-wh-live-a > form { flex-direction: row; align-items: center; gap: 16px; flex: 0 1 auto; }
.u-wh-live:not(.on) .u-wh-tick small { max-width: 46ch; }
/* how orders are sent: what is set, read at a glance */
.u-wh-dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px #F1F1F3; }
.u-wh-dl > div { padding: 10px 14px; min-width: 0; } .u-wh-dl > div + div { box-shadow: -1px 0 0 #F1F1F3; }
.u-wh-dl dt { font-size: 11.5px; color: #71717A; } .u-wh-dl dd { margin: 3px 0 0; font-size: 13px; color: #18181B; line-height: 1.4; }
@media (max-width: 900px) {
  .u-wh-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .u-wh-steps li { flex-direction: row; gap: 12px; padding-bottom: 14px; }
  .u-wh-steps li:not(:last-child)::after { top: 26px; bottom: 2px; left: 10px; right: auto; width: 2px; height: auto; }
  .u-wh-steps i { flex: none; }
  .u-wh-live:not(.on) .u-wh-live-a > form { flex-direction: column; align-items: flex-start; }
  .u-wh-dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .u-wh-dl > div + div { box-shadow: none; } .u-wh-dl > div { box-shadow: 0 -1px 0 #F1F1F3 !important; } .u-wh-dl > div:nth-child(-n+2) { box-shadow: none !important; }
}
@media (max-width: 600px) {
  .u-wtabs { padding: 0 8px; } .u-wtabs a { padding: 12px 8px; min-height: 44px; box-sizing: border-box; }
  .u-wg-hr { justify-content: space-between; width: 100%; margin-left: 0; } .u-wg-sf { flex-basis: 100%; }
  .u-wg-again { width: 40px; height: 40px; }
  .u-wg-q { flex: 1 1 160px; max-width: none; min-height: 40px; }
  /* each order a compact card: number, what's in it, one line of facts, then its stage */
  body.u .u-wh .u-wg-t.as-cards tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 14px 16px; }
  body.u .u-wh .u-wg-t.as-cards td.u-wg-ord, body.u .u-wh .u-wg-t.as-cards td.u-wg-items, body.u .u-wh .u-wg-t.as-cards td.u-wg-st { flex: 0 0 100%; min-width: 0; box-sizing: border-box; }
  body.u .u-wh .u-wg-t.as-cards td[data-label]::before { display: none; }
  body.u .u-wh .u-wg-t.as-cards td.u-wg-ord { order: 0; } body.u .u-wh .u-wg-t.as-cards td.u-wg-items { order: 1; grid-column: 1 / -1; margin-top: 4px; }
  body.u .u-wh .u-wg-t.as-cards td[data-label="Placed"] { order: 2; } body.u .u-wh .u-wg-t.as-cards td[data-label="Ship to"] { order: 3; }
  body.u .u-wh .u-wg-t.as-cards td[data-label="Qty"] { order: 4; } body.u .u-wh .u-wg-t.as-cards td[data-label="Sales"] { order: 5; } body.u .u-wh .u-wg-t.as-cards td[data-label="Warehouse"] { order: 5; }
  body.u .u-wh .u-wg-t.as-cards td.u-wg-st { order: 6; margin-top: 6px; }
  body.u .u-wh .u-wg-t.as-cards td.u-wg-ord small { display: inline; margin-left: 6px; }
  body.u .u-wh .u-wg-t.as-cards td[data-label="Placed"], body.u .u-wh .u-wg-t.as-cards td[data-label="Ship to"], body.u .u-wh .u-wg-t.as-cards td[data-label="Warehouse"], body.u .u-wh .u-wg-t.as-cards td.u-wg-n { font-size: 12.5px; color: #52525B; }
  body.u .u-wh .u-wg-t.as-cards td[data-label="Placed"] > *, body.u .u-wh .u-wg-t.as-cards td[data-label="Ship to"] > * { display: inline; margin: 0 4px 0 0; font-size: 12.5px; }
  body.u .u-wh .u-wg-t.as-cards td[data-label="Qty"] > span { display: inline; }
  body.u .u-wh .u-wg-t.as-cards, body.u .u-wh .u-wg-t.as-cards tbody { display: block; width: 100%; } body.u .u-wh .u-wg-t.as-cards tr { box-sizing: border-box; width: 100%; }
  body.u .u-wh .u-wg-t.as-cards td[data-label="Qty"]::before { display: inline; content: "Qty "; color: #71717A; font-size: 12.5px; } .u-wg-filt > summary { min-height: 40px; } .u-wg-chip { min-height: 32px; }
  .u-wg-fields .u-wg-f { flex: 1 1 40%; } .u-wg-fields .u-btn2.sm { min-height: 40px; flex: 1 1 100%; }
  .u-wg-st { max-width: none; min-width: 0; } .u-wg-t td.u-wg-st small { max-width: none; flex: 1 1 100%; }
  .u-wh-dl { grid-template-columns: minmax(0, 1fr); } .u-wh-dl > div:nth-child(2) { box-shadow: 0 -1px 0 #F1F1F3 !important; }
  .u-wg-t th { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .u-wg-again svg, .u-wtabs a, .u-wtabs a::after { transition: none; } }

/* phones and the iPhone's edges (14 Nov 2026, Ollie: "the page looks wrong. overlapping etc", from an iPhone in
   Safari). The page now runs to the screen's edges (viewport-fit=cover in components.ts), so: a strip in the page's own
   colour under the clock and status bar, so cards scrolling up don't run under them; padding for the notch sides in
   landscape; and the Atlas AI orb steps aside while the page scrolls down (bot.js) instead of sitting on a figure. */
body.u .safe-top { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: env(safe-area-inset-top, 0px); background: #F3F3F4; pointer-events: none; }
/* Safari on iPhone (iOS 26) reports no top inset in a browser tab and still draws the page under the clock (15 Nov 2026,
   Ollie's screenshot: "MY PA Planner runs out..." under 10:13). It fills the status bar with the colour of a solid fixed
   bar touching the top of the page, so on a phone the strip is always there, a few pixels at least, in a solid colour. */
@media (max-width: 900px) and (pointer: coarse) { body.u .safe-top { height: max(env(safe-area-inset-top, 0px), 6px); } }
body.u { padding-top: env(safe-area-inset-top, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
body.u .atlas-dock { transition: transform 220ms cubic-bezier(.22, 1, .36, 1), opacity 220ms cubic-bezier(.22, 1, .36, 1); }
body.u .atlas-dock.away { transform: translateY(24px) scale(.6); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { body.u .atlas-dock { transition: opacity 120ms linear; } body.u .atlas-dock.away { transform: none; } }
/* phones: the date, comparison and store pills as tidy full-width rows (14 Nov 2026, Ollie's screenshot: "Each store"
   was left alone on a second row). The date with its two arrows takes the first row; every other pill shares the rows
   below, each growing to fill its row, so whatever pills a page has they line up edge to edge. */
@media (max-width: 640px) {
  body.u .u-pills { display: flex; flex-wrap: wrap; width: 100%; }
  body.u .u-pills > .u-datestep { flex: 1 1 100%; display: flex; min-width: 0; }
  body.u .u-pills > .u-datestep > .u-pop { flex: 1 1 auto; min-width: 0; }
  body.u .u-pills > :not(.u-datestep) { flex: 1 1 auto; min-width: 0; }
  body.u .u-pills .u-pop > summary.u-pill-btn { width: 100%; box-sizing: border-box; } body.u .u-pills .u-pill-btn:not(.u-arr) { justify-content: center; }
  body.u .u-pills .u-pop > summary.u-pill-btn { overflow: hidden; text-overflow: ellipsis; }
}

/* Email → who's warm, the same people, gone cold (ui/email-audience.ts, 15 Nov 2026) */
.u-ea-g > summary { list-style: none; cursor: pointer; } .u-ea-g > summary::-webkit-details-marker { display: none; }
.u-ea-g > summary > span > small { white-space: normal; }
.u-ea-do { margin: 2px 0 10px 50px; font-size: 12.5px; color: #52525B; } .u-ea-do > p { margin: 0 0 6px; }
.u-ea-do > .u-btn.sm { margin-top: 4px; display: inline-flex; }
.u-ct + .u-ea-do, .u-ea-bands + .u-ea-do { margin: 12px 0 0; }
.u-ea-bands { list-style: none; margin: 14px 0 0; padding: 0; font-size: 12.5px; }
.u-ea-bands li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 4.5em; align-items: center; gap: 12px; padding: 6px 0; border-top: 1px solid #F1F1F3; }
.u-ea-bands b { font-weight: 500; text-align: right; }
.u-ea-bar { display: block; height: 6px; border-radius: 9px; background: #F1F1F3; overflow: hidden; } .u-ea-bar i { display: block; height: 100%; width: 0; min-width: 3px; border-radius: 9px; background: #2563EB; }
.u-ea-t { margin-top: 14px; } .u-ea-t th[scope="row"] b { display: block; font-weight: 500; } .u-ea-t th[scope="row"] small { color: #71717A; font-size: 11px; }
@media (max-width: 640px) { .u-ea-do { margin-left: 0; } .u-ea-bands li { grid-template-columns: 8em minmax(0, 1fr) 3.5em; } }
/* Ads › Meta changes (meta-changes.ts): an ad's words and link, an ad set's end date and audience, one box each */
.abg-links { display: flex; gap: 12px; flex-wrap: wrap; }
.mc-edit .abg-r { display: block; }
.mc-ef { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: end; margin: 0; }
.mc-ef label { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 2px; }
.mc-ef label small { font-size: 12px; color: #52525B; }
.mc-ef textarea, .mc-ef input { width: 100%; min-width: 0; }
.abg-pair.mc-words dd { font-size: 15px; font-weight: 400; letter-spacing: 0; white-space: pre-wrap; }
@media (max-width: 640px) { .mc-ef { grid-template-columns: minmax(0, 1fr); } }

/* ---- Ads as pictures (ui/ads-visual.ts; Ollie, 17 Nov 2026: "it's all text", "beautiful ui", "needs to show creatives too").
   The approved prototype: Atlas's read on top, then figures, charts, the journey and the calls; the Creatives gallery. */
.avx-read { padding: 2px 2px 0; margin-bottom: 20px; }
.avx-rh { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.avx-eye { margin: 6px 0 0; font-size: 12px; color: #71717A; }
.avx-say { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid #E4E4E7; border-radius: 999px; background: #FFFFFF; color: #18181B; font: 500 12px/1 "Geist", system-ui, sans-serif; cursor: pointer; transition: background-color 180ms var(--ease), transform 160ms var(--ease); }
.avx-say:hover { background: #F4F4F5; } .avx-say:active { transform: scale(.97); }
.avx-say svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.avx-say[aria-pressed="true"] { background: #18181B; color: #FFFFFF; border-color: #18181B; }
.avx-lead { margin: 0; font: 600 22px/1.25 "Geist", system-ui, sans-serif; letter-spacing: -0.01em; color: #18181B; max-width: 62ch; text-wrap: balance; }
.avx-sub { margin: 0 0 4px; font-size: 14px; line-height: 1.5; color: #52525B; max-width: 80ch; }
.avx-read [data-say].avx-sub.on { background: #EEF3FF; }
.avx-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.avx-lines li { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid #F1F1F3; }
.avx-lines li p { margin: 0; font-size: 14px; line-height: 1.45; color: #18181B; }
.avx-kind { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #52525B; }
.avx-lines .avx-go { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 9px; border: 1px solid #E4E4E7; background: #FFFFFF; color: #18181B; font-weight: 500; text-decoration: none; transition: transform 160ms var(--ease), background-color 150ms ease; }
.avx-lines .avx-go:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .avx-lines .avx-go:hover { background: #F4F4F5; color: #18181B; } }
.avx-hero { padding: 0; margin-bottom: 14px; overflow: hidden; }
.avx-hero > .avx-figs { border: 0; border-radius: 0; box-shadow: none; background: transparent; margin: 0; border-bottom: 1px solid #F1F1F3; }
.avx-hero-b { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); }
.avx-hero-b:has(.avx-plat) .avx-money .legend { display: none; } /* the platforms table beside it carries the colours */
.avx-hero-b > :only-child { grid-column: 1 / -1; }
.avx-hero-b > .u-c { border: 0; border-radius: 0; box-shadow: none; background: transparent; margin: 0; }
.avx-hero-b > .avx-plat, .avx-hero-s { border-left: 1px solid #F1F1F3; }
.avx-hero-s { display: grid; align-content: start; min-width: 0; } .avx-hero-s > .u-c { border: 0; border-radius: 0; box-shadow: none; background: transparent; margin: 0; } .avx-hero-s > .u-c + .u-c { border-top: 1px solid #F1F1F3; }
.avx-split { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; margin: 2px 0 14px; }
.avx-split > i { display: block; height: 100%; background: #2563EB; } .avx-split > .sw-series2 { background: #14B8A6; } .avx-split > .sw-series3 { background: #D97706; } .avx-split > .sw-series4 { background: #8B5CF6; }
.avx-ptr { display: grid; grid-template-columns: minmax(0, 1fr) 56px 68px 68px; gap: 10px; align-items: center; padding: 15px 0; border-top: 1px solid #F1F1F3; font-size: 14px; font-variant-numeric: tabular-nums; color: #18181B; }
.avx-ptr > span:not(:first-child) { text-align: right; white-space: nowrap; }
.avx-pth { border-top: 0; padding: 0 0 6px; font-size: 11px; color: #71717A; }
.avx-ptn { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; min-width: 0; } .avx-ptn b { font-weight: 500; }
.avx-dot { width: 7px; height: 7px; border-radius: 50%; background: #C4C4CC; transform: translateY(-1px); }
.avx-lines .avx-t-good .avx-dot { background: #22A55B; } .avx-lines .avx-t-bad .avx-dot { background: #E5484D; } .avx-lines .avx-t-warn .avx-dot { background: #D97706; }
.avx-go { font-size: 13px; white-space: nowrap; }
.avx-read [data-say].on, .avx-todo [data-say].on { background: #EEF3FF; }
h2.avx-lead[data-say].on { background: transparent; color: #1D4ED8; }
.avx-figs { margin-bottom: 14px; }
.avx-two { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.avx-two > .avx-card { margin-bottom: 0; }
.avx-card { padding: 18px 20px; margin-bottom: 14px; min-width: 0; }
.avx-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.avx-h h3 { margin: 0; font: 500 14px/1.35 "Geist", system-ui, sans-serif; color: #18181B; }
.avx-hint, .avx-foot { font-size: 12px; color: #71717A; }
.avx-foot { margin: 12px 0 0; line-height: 1.45; }
.avx-aur { margin: 12px 0 16px; font-size: 13.5px; line-height: 1.5; color: #52525B; } .avx-aur b { font-weight: 500; color: #18181B; }
.avx-more { font-size: 13px; }
.avx-call { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font: 500 11px/1 "Geist", system-ui, sans-serif; white-space: nowrap; background: #F4F4F5; color: #52525B; }
.avx-call.c-scale, .avx-call.c-raise { background: #DCF5E5; color: #156B3A; } .avx-call.c-keep, .avx-call.c-hold { background: #F4F4F5; color: #52525B; }
.avx-call.c-fix { background: #FEF3C7; color: #92400E; } .avx-call.c-cut, .avx-call.c-lower { background: #FDE3E1; color: #A1261F; }
/* the platforms */
.avx-pr { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; align-items: center; }
.avx-pr svg.ring { width: 168px; height: 168px; }
.avx-prows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.avx-prows li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 8px; row-gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid #EDEDEF; border-radius: 12px; transition: background-color 180ms var(--ease); }
.avx-prows li.on, .avx-prows li:hover { background: #FAFAFA; }
.avx-prows li b { font-weight: 500; font-size: 14px; }
.avx-pks { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); gap: 8px; }
.avx-plat .avx-pr { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; } .avx-plat .avx-pr svg.ring { width: 140px; height: 140px; } .avx-plat .avx-prows { width: 100%; }
.avx-pk { display: grid; gap: 2px; white-space: nowrap; font: 500 14px/1.2 "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; color: #18181B; }
.avx-pk i { font-style: normal; font-weight: 400; font-size: 11px; color: #71717A; }
.avx-sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; background: #2563EB; }
.avx-sw.sw-series2 { background: #14B8A6; } .avx-sw.sw-series3 { background: #D97706; } .avx-sw.sw-series4 { background: #8B5CF6; }
/* the journey */
.avx-jt { display: grid; gap: 0; overflow-x: auto; }
.avx-jrow { display: grid; grid-template-columns: minmax(110px, 1.1fr) repeat(7, minmax(78px, 1fr)); gap: 0 4px; align-items: stretch; } .avx-jrow:not(.avx-jhead) { border-top: 1px solid #F1F1F3; }
.avx-jhead span { font-size: 11px; color: #71717A; padding: 0 8px 2px; }
.avx-jn { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #18181B; padding: 0 4px; }
.avx-js { display: grid; align-content: start; gap: 4px; padding: 10px 8px; min-height: 58px; }
.avx-js b { font: 500 15px/1.1 "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; color: #18181B; }
.avx-js em { font-style: normal; font-size: 11px; color: #71717A; }
.avx-js .avx-jc { display: block; font-size: 11px; color: #52525B; }
.avx-jbar { display: block; height: 4px; border-radius: 2px; background: #E4E4E7; overflow: hidden; }
.avx-jbar > i { display: block; height: 100%; border-radius: 2px; background: #2563EB; transition: width 640ms var(--ease); }
.avx-js.weak { background: #FDE3E1; border-radius: 6px; margin: 3px 0; padding: 7px 8px; } .avx-js.weak b { color: #A1261F; } .avx-js.weak em { color: #A1261F; } .avx-js.weak .avx-jbar > i { background: #E5484D; }
/* where the money went */
.avx-strip { display: flex; gap: 2px; height: 34px; border-radius: 9px; overflow: hidden; margin-bottom: 12px; }
.avx-strip i { display: block; min-width: 3px; background: #C4C4CC; transition: width 640ms var(--ease); }
.avx-strip .c-scale { background: #22A55B; } .avx-strip .c-keep { background: #A1A1AA; } .avx-strip .c-fix { background: #D97706; } .avx-strip .c-cut { background: #E5484D; }
.avx-wc li { grid-template-columns: 12px minmax(0, 1fr) 72px 40px; } .avx-wc li > span:nth-child(2) i { font-style: normal; color: #71717A; margin-left: 6px; }
.avx-wk { width: 10px; height: 10px; border-radius: 3px; background: #C4C4CC; } .avx-wk.c-scale { background: #22A55B; } .avx-wk.c-keep { background: #A1A1AA; } .avx-wk.c-fix { background: #D97706; } .avx-wk.c-cut { background: #E5484D; }
.avx-cbo { all: unset; cursor: pointer; min-width: 0; display: block; overflow: hidden; } .avx-cbo:hover b { color: #2563EB; } .avx-cbo:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; border-radius: 4px; }
.avx-cba { display: grid; gap: 4px; justify-items: start; } .avx-cba em { font-style: normal; font-size: 12px; color: #71717A; font-variant-numeric: tabular-nums; white-space: nowrap; } .avx-cba form { margin: 0; }
.avx-wl { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.avx-wl li { display: grid; grid-template-columns: minmax(0, 1fr) auto 72px 40px; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid #F3F3F4; font-size: 13px; }
.avx-wl li:first-child { border-top: 0; } .avx-wl a, .avx-wl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avx-wl b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; } .avx-wl em { font-style: normal; color: #71717A; text-align: right; font-variant-numeric: tabular-nums; }
.avx-sc svg.chart { width: 100%; height: auto; }
/* what moved the cost per order */
.avx-drh { margin: 0 0 12px; font-size: 14px; color: #52525B; } .avx-drh b { font-weight: 600; color: #18181B; }
.avx-drh b.bad { color: #A1261F; } .avx-drh b.good { color: #156B3A; }
.avx-dl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
.avx-dl li { display: grid; align-content: start; gap: 5px; padding: 0; }
.avx-dl p { flex-direction: column; } .avx-dl p b { font-size: 15px; }
.avx-dl p { margin: 0; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: #52525B; } .avx-dl p b { font-weight: 500; color: #18181B; font-variant-numeric: tabular-nums; }
.avx-db { display: block; height: 6px; border-radius: 3px; background: #F4F4F5; overflow: hidden; } .avx-db > i { display: block; height: 100%; border-radius: 3px; transition: width 640ms var(--ease); }
.avx-db.b > i { background: #C4C4CC; } .avx-db.n > i { background: #2563EB; } .avx-dl li.worse .avx-db.n > i { background: #E5484D; }
.avx-dl em { font-style: normal; font-size: 12px; color: #71717A; } .avx-dl li.main.worse em { color: #A1261F; }
.avx-dsub { margin: 16px 0 10px; padding-top: 14px; border-top: 1px solid #F1F1F3; font-size: 12px; font-weight: 500; color: #71717A; } .avx-drh + .avx-dsub { margin-top: 0; }
.avx-dc { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.avx-dc li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(56px, 28%) minmax(104px, auto); align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #F1F1F3; font-size: 13px; color: #18181B; } .avx-dc li b { text-align: right; }
.avx-dc li span { min-width: 0; overflow-wrap: anywhere; } .avx-dc li b { flex: none; font-weight: 500; font-variant-numeric: tabular-nums; color: #18181B; }
.avx-dc li.worse b { color: #A1261F; } .avx-dc li.better b { color: #156B3A; }
.avx-cbar { display: block; height: 8px; border-radius: 4px; background: #F4F4F5; overflow: hidden; } .avx-cbar > i { display: block; height: 100%; border-radius: 4px; transition: width 640ms var(--ease); }
.avx-dc li.worse .avx-cbar > i { background: #E5484D; } .avx-dc li.better .avx-cbar > i { background: #22A55B; }
@media (max-width: 560px) { .avx-dc li { grid-template-columns: minmax(0, 1fr) auto; } .avx-dc li .avx-cbar { grid-column: 1 / -1; grid-row: 2; } }
.avx-dev { margin: 10px 0 0; padding: 0 0 0 18px; display: grid; gap: 4px; font-size: 12px; line-height: 1.45; color: #52525B; }
.avx-ds { list-style: none; margin: 14px 0 0; padding: 0; display: grid; }
.avx-ds li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; padding: 9px 0; border-top: 1px solid #F1F1F3; font-size: 13px; color: #52525B; font-variant-numeric: tabular-nums; }
.avx-ds li b { font-weight: 500; color: #18181B; } .avx-ds li.worse span { color: #A1261F; }
/* raise or hold */
.avx-bv { margin: 0 0 14px; font: 600 20px/1.2 "Geist", system-ui, sans-serif; color: #18181B; } .avx-bv.good { color: #156B3A; } .avx-bv.bad { color: #A1261F; }
.avx-track { position: relative; height: 64px; margin: 0 8px 6px; }
.avx-tr { position: absolute; left: 0; right: 0; top: 14px; height: 8px; border-radius: 4px; background: #F4F4F5; }
.avx-pay { position: absolute; left: 0; top: 14px; height: 8px; border-radius: 4px; background: #DCF5E5; }
.avx-mk { position: absolute; top: 8px; transform: translateX(-50%); display: grid; justify-items: center; gap: 4px; }
.avx-mk > i { width: 4px; height: 20px; border-radius: 2px; background: #18181B; }
.avx-mk.best > i { background: #22A55B; } .avx-mk.lim > i { background: #C4C4CC; }
.avx-mk em { font-style: normal; font-size: 11px; color: #71717A; white-space: nowrap; display: grid; justify-items: center; }
.avx-mk em b { font: 500 13px/1.2 "Geist", system-ui, sans-serif; color: #18181B; font-variant-numeric: tabular-nums; }
.avx-bs { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: #52525B; }
.avx-rl { margin-top: 14px; display: grid; gap: 14px; } .avx-rj { margin: 0; font-size: 13px; color: #52525B; }
.avx-rg h4 { margin: 0 0 6px; font-size: 12px; font-weight: 500; letter-spacing: .02em; color: #71717A; }
.avx-rg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.avx-rg li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 10px 12px; border: 1px solid #E4E4E7; border-radius: 12px; }
.avx-rn { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; } .avx-rn b { font-weight: 500; overflow-wrap: anywhere; }
.avx-rp { font-size: 12px; color: #71717A; }
.avx-rb { font-size: 13px; font-variant-numeric: tabular-nums; color: #52525B; white-space: nowrap; } .avx-rb b { font-weight: 500; color: #18181B; }
.avx-rw { grid-column: 1 / -1; margin: 0; font-size: 12px; color: #71717A; }
.avx-rg li > .axv-bq { grid-column: 1 / -1; justify-self: start; }
.avx-rg.up li { border-color: #DCF5E5; } .avx-rg.down li { border-color: #FDE3E1; }
.avx-bc { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.avx-bc li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 13px; } .avx-bc b { font-weight: 500; } .avx-bc em { grid-column: 1 / -1; font-style: normal; color: #71717A; font-size: 12px; }
/* the words, folded */
details.avx-words { margin-top: 14px; } details.avx-words > summary { cursor: pointer; font-size: 13px; color: #52525B; padding: 10px 0; }
/* Creatives */
.avx-cvh { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.avx-cvt { margin: 0 0 4px; font: 600 20px/1.25 "Geist", system-ui, sans-serif; color: #18181B; }
.avx-n { color: #71717A; margin-left: 4px; font-variant-numeric: tabular-nums; }
.avx-gal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.avx-cr { display: grid; grid-template-rows: auto 1fr; border: 1px solid #EDEDEF; border-radius: 14px; background: #FFFFFF; overflow: hidden; transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
@media (hover: hover) { .avx-cr:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(24, 24, 27, .06), 0 10px 24px rgba(24, 24, 27, .08); } }
.avx-cv[data-views="meta"] .avx-cr:not(.p-meta), .avx-cv[data-views="google"] .avx-cr:not(.p-google), .avx-cv[data-views="video"] .avx-cr:not(.k-video) { display: none; }
.avx-crt { position: relative; aspect-ratio: 1 / 1; background: #F4F4F5; overflow: hidden; }
.avx-media { position: absolute; inset: 0; }
.avx-media img, .avx-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #F4F4F5; }
.avx-media.has-more img:first-of-type { height: 75%; }
.avx-thumbs { position: absolute; left: 0; right: 0; bottom: 0; height: 25%; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding-top: 2px; background: #FFFFFF; }
.avx-thumbs img { position: static; width: 100%; height: 100%; }
.avx-nopic { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 6px; padding: 18px; text-align: center; color: #52525B; }
.avx-nopic span { font-size: 11px; color: #71717A; } .avx-nopic p { margin: 0; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.avx-yt { position: absolute; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px; background: #18181B; color: #FFFFFF !important; font-size: 12px; text-decoration: none; }
.avx-serp { position: absolute; inset: 0; padding: 18px 16px; display: grid; align-content: center; gap: 6px; background: #FFFFFF; border-bottom: 1px solid #F3F3F4; }
.avx-sp { margin: 0; font-size: 12px; color: #52525B; } .avx-sp span { color: #18181B; }
.avx-st { margin: 0; font-size: 16px; line-height: 1.3; color: #1D4ED8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.avx-sd { margin: 0; font-size: 13px; line-height: 1.4; color: #52525B; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.avx-fmt { position: absolute; left: 10px; top: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(24, 24, 27, .72); color: #FFFFFF; font-size: 11px; pointer-events: none; }
.avx-cr .avx-crt > .avx-call { position: absolute; right: 10px; top: 10px; pointer-events: none; gap: 6px; height: 22px; background: rgba(24, 24, 27, .72); color: #FFFFFF; }
.avx-crt > .avx-call::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #C4C4CC; }
.avx-crt > .avx-call.c-scale::before { background: #22A55B; } .avx-crt > .avx-call.c-keep::before { background: #A1A1AA; } .avx-crt > .avx-call.c-fix::before { background: #D97706; } .avx-crt > .avx-call.c-cut::before { background: #E5484D; }
.avx-crb { display: grid; align-content: start; gap: 10px; padding: 12px 14px 14px; }
.avx-crn { margin: 0; font-size: 14px; font-weight: 500; color: #18181B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avx-crc { margin: -8px 0 0; font-size: 12px; color: #71717A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avx-ck { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)); gap: 8px; }
.avx-ck div { display: grid; gap: 2px; } .avx-ck dt { font-size: 11px; color: #71717A; }
.avx-ck dd { margin: 0; font: 500 15px/1.1 "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; color: #18181B; }
.avx-cs { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; align-items: end; }
.avx-cs li { display: grid; justify-items: center; gap: 2px; font-size: 11px; color: #71717A; }
.avx-cs li i { width: 100%; height: 0; max-height: 34px; border-radius: 4px 4px 2px 2px; background: #2563EB; opacity: .85; transition: height 640ms var(--ease); }
.avx-cs { height: 74px; } .avx-cs li { height: 100%; grid-template-rows: 34px auto auto; align-content: end; } .avx-cs li i { align-self: end; }
.avx-cs li b { font: 500 12px/1.1 "Geist", system-ui, sans-serif; color: #18181B; font-variant-numeric: tabular-nums; }
.avx-cs li.weak i { background: #E5484D; } .avx-cs li.weak span { color: #A1261F; }
.avx-why { margin: 0; font-size: 13px; line-height: 1.45; color: #52525B; }
.avx-cr.c-cut .avx-why { color: #A1261F; } .avx-cr.c-scale .avx-why { color: #156B3A; }
.avx-act { justify-self: start; }
.avx-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.avx-acts .axv-f { margin: 0; }
.avx-acts .avx-cbf { flex: 1 1 100%; display: flex; gap: 6px; align-items: center; margin: 2px 0 0; }
.avx-acts .avx-cbf .abg-money { flex: 1 1 auto; min-width: 0; }
.avx-acts .avx-cbf input { width: 100%; min-width: 0; }
.avx-empty { padding: 18px 20px; color: #52525B; }
@media (max-width: 1100px) { .avx-hero-b { grid-template-columns: minmax(0, 1fr); } .avx-hero-b > .avx-plat, .avx-hero-s { border-left: 0; border-top: 1px solid #F1F1F3; } }
@media (max-width: 900px) { .avx-two { grid-template-columns: minmax(0, 1fr); } .avx-dl { grid-template-columns: minmax(0, 1fr); gap: 14px 0; } .avx-pr { grid-template-columns: minmax(0, 1fr); justify-items: center; } .avx-prows { width: 100%; } }
@media (max-width: 640px) { .avx-read { padding: 0; } .avx-lead { font-size: 19px; } .avx-lines li { grid-template-columns: minmax(0, 1fr); gap: 8px; } .avx-lines .avx-go { justify-self: start; min-height: 40px; }
  .avx-gal { grid-template-columns: minmax(0, 1fr); } .avx-wl li { grid-template-columns: minmax(0, 1fr) auto 64px; } .avx-wl em { display: none; } }
@media (prefers-reduced-motion: reduce) { .avx-cr, .avx-strip i, .avx-jbar > i, .avx-db > i, .avx-cs li i, .avx-lines li { transition: none; } .avx-cr:hover { transform: none; } }
/* the Campaigns board */
.avx-cbt { display: grid; }
.avx-cbr { display: grid; grid-template-columns: minmax(0, 2.2fr) 92px minmax(110px, 1fr) minmax(140px, 1.2fr) 150px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #F3F3F4; }
.avx-cbhd { border-top: 0; padding: 0 0 4px; } .avx-cbhd span { font-size: 11px; color: #71717A; }
.avx-cbn { display: flex; gap: 10px; align-items: flex-start; min-width: 0; } .avx-cbn .avx-sw { margin-top: 4px; flex: none; }
.avx-cbn > span:last-child { display: grid; min-width: 0; } .avx-cbn b { font-weight: 500; font-size: 14px; color: #18181B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avx-cbn em { font-style: normal; font-size: 12px; color: #71717A; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.avx-cbn .avx-flag { justify-self: start; margin-top: 4px; }
.avx-cbs, .avx-cbg { display: grid; gap: 4px; } .avx-cbs b, .avx-cbg b { font: 500 14px/1.1 "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; color: #18181B; }
.avx-cbg em { font-style: normal; font-size: 12px; color: #71717A; }
.avx-gauge { position: relative; display: block; height: 6px; border-radius: 3px; background: #F4F4F5; }
.avx-gauge > i { display: block; height: 100%; border-radius: 3px; background: #C4C4CC; transition: width 640ms var(--ease); }
.avx-gauge.c-scale > i { background: #22A55B; } .avx-gauge.c-keep > i { background: #A1A1AA; } .avx-gauge.c-fix > i { background: #D97706; } .avx-gauge.c-cut > i { background: #E5484D; }
.avx-gauge > s { position: absolute; left: 50%; top: -3px; width: 2px; height: 12px; border-radius: 1px; background: #18181B; }
.avx-cb[data-views="google"] .avx-cbr.p-meta, .avx-cb[data-views="meta"] .avx-cbr.p-google { display: none; }
@media (max-width: 760px) { .avx-cbr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } .avx-cbhd { display: none; } .avx-cbn { grid-column: 1 / 3; } .avx-cbs { grid-column: 1; } .avx-cbg { grid-column: 2 / -1; } .avx-cbr > span:last-child { grid-column: 1 / -1; } }

/* A campaign's daily budget from its pop-up on Ads (18 Nov 2026): "Raise 20%", or another amount, each to the review page */
.axv-bud { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; }
.axv-bud .axv-bq { margin: 0; flex: none; }
.axv-bud .axv-ba { flex: 1 1 220px; min-width: 0; }
.axv-bn { flex-basis: 100%; margin: 0; font-size: 12px; color: #71717A; }

/* A campaign's pop-up on Ads (18 Nov 2026, Ollie: "this isn't user friendly. it's unclear"): four tiles, then what's inside
   it as one list whose figures line up in labelled columns */
.axp-do .axf, .axp-do > .axv-f { margin-top: 10px; }
.axp-k { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
.axp-k > div { padding: 10px 12px; border-radius: 12px; background: #F4F4F5; min-width: 0; }
.axp-k dt { font-size: 12px; color: #71717A; }
.axp-k dd { margin: 4px 0 0; font: 500 20px/1.1 Geist, system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: #18181B; overflow-wrap: anywhere; }
.axp-tr, .axp-rp { margin: 8px 0 0; font-size: 13px; color: #52525B; }
.axp-all { margin: 0; font-size: 13px; color: #52525B; }
.axp-cut ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.axp-cut li b { display: block; font-size: 14px; font-weight: 500; color: #18181B; }
.axp-cut li small { display: block; font-size: 13px; line-height: 1.45; color: #52525B; }
/* the one-button change on a tip (ad-device-bids.ts): under its evidence, quiet, opens the review */
.axp-cut .axp-dev { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
/* the review's before and after (ui/ad-device-bids.ts) */
.adb-ch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0; max-width: 420px; }
.adb-ch dt { font-size: 12px; color: #71717A; } .adb-ch dd { margin: 4px 0 0; font-size: 20px; font-weight: 500; color: #18181B; font-variant-numeric: tabular-nums; }
.axp-cut .axp-sv { font-variant-numeric: tabular-nums; color: #156B3A; white-space: nowrap; }
.axp-cut li .u-lnk { display: inline-block; margin-top: 4px; font-size: 13px; }
/* Conversion, Fixes: "Test this" under a change (ui/dropoff.ts) */
.dx-test { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 0; font-size: 13px; color: #52525B; }
.dx-test .u-btn2 { flex: none; width: auto; }
/* Ads settings: what Atlas may change (ui/ads-dig.ts helpersCard) */
.ahl-l { list-style: none; margin: 0; padding: 0; }
.ahl-r { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 8px 16px; align-items: center; padding: 12px 0; box-shadow: inset 0 1px 0 #E4E4E7; }
.ahl-r form { margin: 0; } .ahl-n b { display: block; font-size: 14px; font-weight: 500; color: #18181B; } .ahl-n small { display: block; font-size: 13px; color: #52525B; }
.ahl-log { font-size: 13px; white-space: nowrap; }
@media (max-width: 700px) { .ahl-r { grid-template-columns: minmax(0, 1fr) auto; } .ahl-n { grid-column: 1 / -1; } }
.u-part { margin: 24px 0 8px; } .u-part h2 { margin: 0; font-size: 19px; font-weight: 500; color: #18181B; } .u-part p { margin: 2px 0 0; font-size: 14px; color: #52525B; }
/* what Atlas found inside a campaign, in its pop-up (ui/ads-dig.ts) */
.axp-dig { display: grid; gap: 10px; }
.axp-dt { display: grid; gap: 10px; padding-top: 4px; }
.axp-dt + .axp-dt { padding-top: 14px; box-shadow: inset 0 1px 0 #E4E4E7; }
.axp-dh { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.axp-dh b { font-size: 14px; font-weight: 500; color: #18181B; } .axp-dh small { font-size: 13px; color: #52525B; }
.axp-say { margin: 0; font-size: 13px; line-height: 1.45; color: #3F3F46; }
.axp-dig .ang-r { grid-template-columns: 20px minmax(0, 1fr) auto auto; padding: 10px 0; }
.axp-dig .ang-r.ang-b { grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; } .axp-dig .ang-r.are-b { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 640px) { .axp-dig .ang-r.ang-b { gap: 4px 10px; } .axp-dig .ang-r.ang-b .ang-x { grid-column: auto; justify-self: end; min-height: 40px; } }
.axp-dig .ang-go { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.axp-dig .ang-go .u-btn, .axp-dig .ang-go .u-btn2 { flex: none; width: auto; }
.axp-hl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.axp-hl li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; }
.axp-hl b { display: block; font-size: 14px; font-weight: 500; color: #18181B; overflow-wrap: anywhere; } .axp-hl small { display: block; font-size: 13px; color: #52525B; }
@media (max-width: 700px) { .axp-hl li { grid-template-columns: minmax(0, 1fr); gap: 4px; } .axp-hl .avh-k { justify-self: start; } }
.axp-l { list-style: none; margin: 0; padding: 0; }
.axp-l > li { display: grid; grid-template-columns: minmax(96px, auto) repeat(3, minmax(0, 1fr)); gap: 6px 12px; align-items: center; padding: 10px 0; box-shadow: inset 0 1px 0 #E4E4E7; }
.axp-n { grid-column: 1 / -1; min-width: 0; } .axp-n b { display: block; font-size: 13.5px; font-weight: 500; color: #18181B; overflow-wrap: anywhere; }
.axp-n small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: #71717A; }
.axp-c { justify-self: start; }
.axp-v { display: flex; align-items: baseline; justify-content: flex-end; gap: 5px; text-align: right; } .axp-v b { font-size: 13px; font-weight: 400; color: #18181B; } .axp-v small { font-size: 11.5px; color: #A1A1AA; }
.axv-ba input::placeholder { font-family: Geist, system-ui, sans-serif; letter-spacing: 0; }
@media (max-width: 640px) { .axp-k { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.axp-done { padding: 12px 14px; border-radius: 12px; background: #F4F4F5; }
.axp-done h4 { margin-top: 0; } .axp-done p { color: #3F3F46; }
.axv-chip.axp-part { background: #F4F4F5; color: #52525B; }
/* Emil Kowalski's design-engineering rules on the pop-up (18 Nov 2026): a press gives way (scale .97, 160ms, strong ease-out),
   colour changes on hover only where there is a pointer, no entrance animation on something opened many times a day */
.axv-bud button, .axp .axv-f button { transition: transform 160ms cubic-bezier(.23, 1, .32, 1), background-color 180ms ease; }
.axv-bud button:active, .axp .axv-f button:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .axv-bud button, .axp .axv-f button { transition: none; } .axv-bud button:active, .axp .axv-f button:active { transform: none; } }
/* how a channel card's figures add up (18 Nov 2026) */
body.u .asc-ch-sum { margin: 2px 0 10px; font-size: 12px; line-height: 1.5; color: #71717A; }

/* Who saw your Meta ads (18 Nov 2026) */
.avx-auf { margin-bottom: 14px; }
.avx-aug2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.avx-aug h4 { margin: 0 0 6px; font: 500 13px/1.3 Geist, system-ui, sans-serif; color: #52525B; }
.avx-aul { list-style: none; margin: 0; padding: 0; }
.avx-aul li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(40px, 1fr) 64px 54px 50px; gap: 10px; align-items: center; padding: 6px 0; box-shadow: inset 0 1px 0 #E4E4E7; }
.avx-auk { font-size: 13px; color: #18181B; overflow-wrap: anywhere; }
.avx-aub { display: block; height: 6px; border-radius: 3px; background: #F4F4F5; overflow: hidden; } .avx-aub > i { display: block; height: 100%; border-radius: 3px; background: #2563EB; }
.avx-auv { display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; } .avx-auv b { font: 400 12.5px "Geist Mono", ui-monospace, monospace; letter-spacing: -0.04em; color: #18181B; } .avx-auv small { font-size: 11px; color: #A1A1AA; }
@media (max-width: 900px) { .avx-aug2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .avx-aul li { grid-template-columns: minmax(0, 1fr) 60px 52px 46px; } .avx-aub { display: none; } }
/* Meta guided change (/ads/meta/act): three numbered steps */
.mca { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.mca-s { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.mca-s h2 { margin: 4px 0 8px; font-size: 14px; font-weight: 500; color: #18181B; }
.mca-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: #F4F4F5; color: #18181B; font-variant-numeric: tabular-nums; }
.mca-f fieldset { border: 0; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mca-o { display: inline-flex; gap: 6px; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px #E4E4E7; font-size: 14px; color: #18181B; cursor: pointer; }
.mca-am { margin-top: 12px; max-width: 440px; }
.mca-alt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
body.u .mca button.u-btn { width: auto; flex: none; display: inline-flex; }
.mca .u-btn2.sm { min-height: 40px; }
.avx-acts .btn.small { min-height: 40px; }
@media (max-width: 640px) { .mca-s { grid-template-columns: minmax(0, 1fr); } .mca-n { display: none; } body.u .mca button.u-btn { width: 100%; } }
/* Ready for retargeting: Meta's warm audiences, their size and which ad sets use them */
.avx-rtl { list-style: none; margin: 12px 0 0; padding: 0; }
.avx-rtl li { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; align-items: center; padding: 8px 0; box-shadow: inset 0 1px 0 #E4E4E7; }
.avx-rtn b { display: block; font-size: 14px; font-weight: 500; color: #18181B; overflow-wrap: anywhere; }
.avx-rtn small { display: block; font-size: 12px; color: #71717A; }
.avx-rts { font-size: 13px; font-variant-numeric: tabular-nums; color: #18181B; }
.avx-rtu { font-size: 13px; color: #52525B; overflow-wrap: anywhere; }
.avx-rtc { margin-top: 14px; } .avx-rtc h4 { margin: 0 0 6px; font-size: 14px; font-weight: 500; color: #18181B; }
.avx-rtc ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13px; line-height: 1.5; color: #52525B; }
@media (max-width: 640px) { .avx-rtl li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---- Ads: every pop-up sits in the middle of the screen, never as a side bar (Ollie, 18 Nov 2026: "make that a pop up. not
   a side bar"). The campaign and figure panels (dash.js) and the budget review (paid.js) share the look. */
body.u .u-paid .sd-panel { top: 50%; left: 50%; right: auto; bottom: auto; width: min(560px, calc(100vw - 32px)); max-height: min(780px, calc(100dvh - 48px));
  transform: translate3d(-50%, -48%, 0) scale(.97); transition: transform 240ms var(--ease), opacity 200ms var(--ease); }
body.u .u-paid .sd-panel.on { transform: translate3d(-50%, -50%, 0); }
body.u .u-paid .sd-panel.closing { transition: transform 180ms var(--ease), opacity 160ms var(--ease); }
.avx-dlg { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 22px; border: 0; border-radius: 18px; background: #FFFFFF; color: #18181B;
  box-shadow: 0 30px 80px rgba(24, 24, 27, .18), 0 0 0 1px rgba(24, 24, 27, .04); overflow: auto; }
.avx-dlg[open] { animation: avx-dlg-in 220ms var(--ease); }
.avx-dlg::backdrop { background: rgba(24, 24, 27, .22); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
@keyframes avx-dlg-in { from { opacity: 0; transform: translate3d(0, 8px, 0) scale(.97); } to { opacity: 1; transform: none; } }
.avx-dlg-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.avx-dlg-h h2 { margin: 0; font: 600 19px/1.3 "Geist", system-ui, sans-serif; letter-spacing: -0.01em; }
.avx-dlg-x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 999px; background: #F4F4F5; color: #18181B; font: 400 20px/1 "Geist", system-ui, sans-serif; cursor: pointer; transition: transform 160ms var(--ease); }
.avx-dlg-x:active { transform: scale(.97); }
.avx-dlg-sub { margin: 0 0 14px; font-size: 14px; color: #52525B; }
.avx-dlg-k { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; margin-bottom: 8px; border-radius: 999px; background: #F4F4F5; color: #52525B; font-size: 12px; font-weight: 500; }
.avx-adj { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; border: 1px solid #EDEDEF; display: grid; gap: 12px; }
.avx-adj-bars { display: grid; gap: 8px; }
.avx-adj-b { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 12px; color: #52525B; }
.avx-adj-b > i { display: block; height: 10px; border-radius: 5px; background: #F4F4F5; overflow: hidden; }
.avx-adj-b > i > i { display: block; height: 100%; border-radius: 5px; background: #C4C4CC; transition: width 180ms var(--ease); }
.avx-adj-b.up > i > i, .avx-adj-b.same > i > i, .avx-adj-b.down > i > i { background: #2563EB; }
.avx-adj-b > b { font-weight: 500; color: #18181B; font-variant-numeric: tabular-nums; white-space: nowrap; }
.avx-adj-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.avx-adj-c { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid #E4E4E7; background: #FFFFFF; color: #18181B; font: 500 13px/1 "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; transition: transform 160ms var(--ease), background-color 180ms var(--ease); }
.avx-adj-c:active { transform: scale(.97); }
.avx-adj-c[aria-pressed="true"] { background: #2563EB; border-color: #2563EB; color: #FFFFFF; }
@media (hover: hover) and (pointer: fine) { .avx-adj-c:hover { background: #F4F4F5; } .avx-adj-c[aria-pressed="true"]:hover { background: #1D4ED8; } }
.avx-adj-r { width: 100%; margin: 0; accent-color: #2563EB; min-height: 28px; cursor: pointer; }
.avx-adj-ends { display: flex; justify-content: space-between; gap: 8px; margin: -6px 0 0; font-size: 11.5px; color: #71717A; font-variant-numeric: tabular-nums; }
.avx-adj-err { margin: 0; font-size: 13px; color: #A1261F; }
.avx-dlg-busy .abg-month, .avx-dlg-busy .abg-pair > .to { opacity: .55; transition: opacity 180ms var(--ease); }
@media (max-width: 640px) { .avx-adj-c { min-height: 40px; } }
.avx-dlg .abg-rv { margin: 0; padding: 0; border: 0; box-shadow: none; background: none; max-width: none; }
@media (prefers-reduced-motion: reduce) { .avx-dlg[open] { animation: none; } body.u .u-paid .sd-panel, body.u .u-paid .sd-panel.on { transform: translate3d(-50%, -50%, 0); } }

/* ---- Ask Atlas, to DESIGN.md (18 Nov 2026, Ollie on the Ask Atlas page: "looks like slop. look at design rules").
   app.css's older "Apple layer" gave Ask Atlas a spectrum glow round the panel, a rainbow ring on the question box, a
   gradient question bubble with a glow, gradient text and the system font. DESIGN.md: one accent, one grey family, no
   neon glows, no gradient text, Geist, cards with a 1px ring and no shadow at rest, inputs and buttons 9-10px corners.
   The orb stays: it is Atlas AI's mark. Pop-ups (the side panel) keep one soft shadow so they read as above the page. */
body.u .ask, body.u .ask-btn, body.u .ag-ask-bar, body.u .ask-form textarea, body.u .ask-tabs button, body.u .ask-kind span,
body.u .ask-step, body.u .ask-sug, body.u .ans-points p, body.u .ans-do-t, body.u .ans-do-w, body.u .ag-ask-t span { font-family: "Geist", system-ui, sans-serif; }
body.u .ask-head h2, body.u .ask-hi, body.u .ans-head, body.u .ag-ask-t b { font-family: "Geist", system-ui, sans-serif; font-weight: 500; letter-spacing: -0.02em; }
body.u .ask-head h2 { font-size: 19px; }
body.u .ask::before, body.u .ask::after, body.u .ask-btn::before, body.u .ask-btn::after, body.u .ask-box::before, body.u .ask-box::after,
body.u .ag-ask-bar::before, body.u .ag-ask-bar::after { display: none; }
body.u .ask { border-radius: 18px; }
body.u .ask-in { border-radius: 18px; background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 0 0 1px #EDEDEF, 0 12px 32px rgba(24, 24, 27, .10); }
body.u .ask.aa-inline .ask-in { box-shadow: 0 0 0 1px #EDEDEF; }
body.u .ask-btn { background: #FFFFFF; box-shadow: 0 0 0 1px #E4E4E7; } body.u .ask-btn:hover { box-shadow: 0 0 0 1px #D4D4D8; }
body.u .ag-ask-bar, body.u .ag-ask-bar:hover { border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px #EDEDEF; }
body.u .ask-hi { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #18181B; font-size: 22px; }
body.u .ask-ctx span, body.u .ask-tabs, body.u .ask-pill, body.u .ask-kind span, body.u .badge, body.u .rule summary { background: #F4F4F5; }
body.u button.ask-pill:hover { background: #E4E4E7; }
body.u .ask-pill svg, body.u .ans-saved svg { color: #2563EB; }
body.u .ask-icon { background: #F4F4F5; } body.u .ask-icon:hover { background: #E4E4E7; }
body.u .ask-sugs { border-radius: 12px; box-shadow: 0 0 0 1px #EDEDEF; }
body.u .ask-sug-i { border-radius: 9px; color: #2563EB; background: #EEF3FF; }
body.u .rule summary b { background: #2563EB; }
body.u .ans-q { background: #F4F4F5; color: #18181B; border-radius: 12px 12px 4px 12px; box-shadow: none; }
body.u .ans-card { border-radius: 12px; box-shadow: 0 0 0 1px #EDEDEF; }
body.u .ans-do { border-radius: 12px; background: #FAFAFA; }
body.u .ans-saved { border-radius: 10px; background: #F7F7F8; }
body.u .ask-step.now { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #52525B; animation: none; }
body.u .ask-step.now::before { border-color: #2563EB #2563EB transparent #2563EB; }
body.u .ask-box { border-radius: 10px; background: #FFFFFF; box-shadow: 0 0 0 1px #E4E4E7; }
body.u .ask-box:focus-within { box-shadow: 0 0 0 2px #2563EB; }
body.u .ask-form textarea:focus, body.u .ask-form textarea:focus-visible { outline: none; box-shadow: none; }
body.u .ask-send { border-radius: 9px; background: #18181B; color: #FFFFFF; box-shadow: none; }
body.u .ask-send:hover { background: #3F3F46; }
body.u .ask-send:disabled { background: #E4E4E7; color: #A1A1AA; }
body.u .ask-tabs button { white-space: nowrap; }
@media (max-width: 640px) { body.u .ask, body.u .ask-in { border-radius: 0; } body.u .ask-in { box-shadow: none; } }

/* the Ask Atlas page: chat beside a canvas (Ollie, 18 Nov 2026, direction C). The conversation on the left, what Atlas made
   on the right as tabs; on a phone the canvas is a sheet that rises over the chat when a result opens. */
body.u .aa-page { display: grid; grid-template-columns: minmax(340px, 400px) minmax(0, 1fr); gap: 8px; height: calc(100vh - 56px); min-height: 560px; }
body.u .aa-chat { min-width: 0; min-height: 0; display: flex; }
body.u .ask.aa-inline { position: relative; inset: auto; width: 100%; height: 100%; min-height: 0; border-radius: 12px; }
body.u .ask.aa-inline .ask-in { border-radius: 12px; box-shadow: 0 0 0 1px #EDEDEF; }
body.u .ask.aa-inline .ask-body > *, body.u .ask.aa-inline .ask-foot > * { max-width: none; }
body.u .ask.aa-inline .ask-head .ai-orb { width: 28px; height: 28px; }
body.u .aa-canvas { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #FFFFFF; border-radius: 12px; box-shadow: 0 0 0 1px #EDEDEF; overflow: hidden; }
body.u .aa-tabbar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid #F1F1F3; min-height: 32px; }
body.u .aa-tabs { flex: 1 1 auto; min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
body.u .aa-tabs:empty::before { content: "Nothing open yet"; padding: 0 4px; font-size: 12px; color: #71717A; line-height: 32px; }
body.u .aa-tabs [role="tab"] { flex: none; max-width: 240px; height: 32px; padding: 0 12px; border: 0; border-radius: 9px; background: none; box-shadow: none; color: #52525B;
  font: inherit; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; transition: background-color 160ms cubic-bezier(.23, 1, .32, 1); }
body.u .aa-tabs [role="tab"][aria-selected="true"] { background: #F4F4F5; color: #18181B; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { body.u .aa-tabs [role="tab"]:hover { color: #18181B; } }
body.u .aa-x { display: none; }
body.u .aa-stage { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 22px 26px 28px; }
body.u .aa-res { display: grid; gap: 14px; max-width: 920px; }
body.u .aa-res[hidden] { display: none; }
body.u .aa-res-h h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
body.u .aa-res-h p { margin: 4px 0 0; font-size: 13px; color: #52525B; }
body.u .aa-empty { max-width: 520px; margin: 48px auto 0; }
body.u .aa-empty[hidden] { display: none; }
body.u .aa-empty h2 { margin: 0; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
body.u .aa-empty > p { margin: 6px 0 0; font-size: 13px; color: #52525B; }
body.u .aa-empty h3 { margin: 28px 0 6px; font-size: 12px; font-weight: 400; color: #71717A; }
body.u .aa-empty .aa-convs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: static; max-height: none; background: none; box-shadow: none; }
body.u .aa-empty .aa-convs li + li { border-top: 1px solid #F1F1F3; }
body.u .aa-empty .aa-convs button { width: 100%; display: grid; justify-items: start; justify-content: stretch; grid-template-columns: minmax(0, 1fr); gap: 2px; text-align: left; min-height: 44px; padding: 9px 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: #18181B; font: inherit; font-size: 13px; cursor: pointer; }
body.u .aa-empty .aa-convs small { font-size: 11.5px; color: #71717A; }
@media (hover: hover) and (pointer: fine) { body.u .aa-empty .aa-convs button:hover span { color: #2563EB; } }
/* the chip an answer keeps in the conversation: opens its result on the canvas */
body.u .aa-chip { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; background: #FFFFFF; box-shadow: 0 0 0 1px #E4E4E7;
  color: #18181B; font: inherit; font-size: 13px; text-align: left; cursor: pointer; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
body.u .aa-chip svg { flex: none; width: 16px; height: 16px; color: #52525B; }
body.u .aa-chip .t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.u .aa-chip .o { flex: none; font-size: 11.5px; color: #71717A; }
body.u .aa-chip.is-open { background: #EEF3FF; box-shadow: 0 0 0 1px #2563EB; }
body.u .aa-chip.is-open svg, body.u .aa-chip.is-open .o { color: #2563EB; }
body.u .aa-chip:active { transform: scale(.97); }
/* in the panel on other pages the result isn't drawn: its chip opens the Ask page */
body.u .ask:not(.aa-inline) .aa-res { display: none; }
@media (max-width: 900px) {
  body.u .aa-page { grid-template-columns: minmax(0, 1fr); height: calc(100dvh - 150px); min-height: 440px; }
  body.u .aa-canvas { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; top: 56px; border-radius: 18px 18px 0 0; box-shadow: 0 -1px 0 #EDEDEF, 0 -12px 32px rgba(24, 24, 27, .10);
    transform: translateY(100%); visibility: hidden; transition: transform 320ms cubic-bezier(.23, 1, .32, 1), visibility 0s linear 320ms; }
  body.u .aa-canvas.is-open { transform: none; visibility: visible; transition: transform 360ms cubic-bezier(.23, 1, .32, 1); }
  body.u .aa-x { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: #F4F4F5; box-shadow: none; color: #18181B; cursor: pointer; }
  body.u .aa-x svg { width: 14px; height: 14px; }
  body.u .aa-tabs [role="tab"] { height: 40px; }
  body.u .aa-stage { padding: 16px 16px 32px; }
  body.u .aa-res-h h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { body.u .aa-canvas, body.u .aa-canvas.is-open { transition: none; } }
/* on a phone the mode tabs and who answers share the row without cutting off the picker */
@media (max-width: 640px) { body.u .ask-under { flex-wrap: wrap; } body.u .ask-who { flex: 1 1 120px; min-width: 0; } body.u .ask-who select { width: 100%; } }

/* ---- Benchmarks (ui/benchmarks.ts, 18 Nov 2026): each figure against the middle half of other Atlas shops, then the
   published benchmarks. The band is the middle half, the line the middle shop, the accent dot this shop. */
.u-c.u-bm, .u-c.u-bm-pub { padding: 18px 20px; }
.u-bm-rows { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 24px; }
.u-bm-r { padding: 12px 0; border-top: 1px solid #F1F1F3; display: flex; flex-direction: column; gap: 6px; }
.u-bm-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: #52525B; }
.u-bm-pl { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #F4F4F5; color: #52525B; white-space: nowrap; }
.u-bm-pl.better { background: #DCF5E5; color: #156B3A; } .u-bm-pl.worse { background: #FDE3E1; color: #A1261F; }
.u-bm-v { display: flex; align-items: baseline; gap: 8px; } .u-bm-v small { font-size: 11.5px; color: #71717A; }
.u-bm-own { font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: #18181B; }
.u-bm-bar { position: relative; height: 12px; margin: 4px 0 0; }
.u-bm-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; border-radius: 2px; background: #F1F1F3; }
.u-bm-bar i { position: absolute; display: block; }
.u-bm-band { top: 3px; height: 6px; border-radius: 3px; background: #D4D4D8; }
.u-bm-mid { top: 0; width: 2px; height: 12px; margin-left: -1px; border-radius: 1px; background: #71717A; }
.u-bm-dot { top: 1px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #2563EB; box-shadow: 0 0 0 2px #FFFFFF; }
.u-bm-s { margin: 0; font-size: 11.5px; color: #71717A; }
.u-bm-yes { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; font-size: 12.5px; }
body.u .u-bm-yes .u-btn { flex: none; width: auto; min-height: 40px; }
.u-bm-pub .u-ct p { color: #52525B; }
.u-bm-g { margin-top: 16px; } .u-bm-g h3 { margin: 0 0 6px; font-size: 14px; font-weight: 500; }
.u-bm-t { width: 100%; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; }
.u-bm-t th { text-align: left; box-sizing: border-box; font-weight: 400; font-size: 11.5px; color: #71717A; padding: 0 12px 6px 0; border-bottom: 1px solid #EDEDEF; }
.u-bm-t td { padding: 8px 12px 8px 0; border-bottom: 1px solid #F3F3F4; vertical-align: top; }
.u-bm-t td small { display: block; margin-top: 2px; font-size: 11.5px; color: #71717A; }
.u-bm-t .n { text-align: right; white-space: nowrap; }
.u-bm-t th:first-child { width: 45%; } .u-bm-t th.n { width: 96px; }
@media (max-width: 640px) {
  .u-bm-yes { flex-direction: column; align-items: stretch; }
  .u-bm-t thead { display: none; } .u-bm-t, .u-bm-t tbody, .u-bm-t tr, .u-bm-t td { display: block; width: auto; }
  .u-bm-t tr { padding: 8px 0; border-bottom: 1px solid #F3F3F4; } .u-bm-t td { border: 0; padding: 2px 0; }
  .u-bm-t .n { text-align: left; }
}
.u-typ { margin-top: 8px; display: flex; flex-direction: column; gap: 3px; }
.u-bm-bar.sm { height: 10px; margin: 0; } .u-bm-bar.sm .u-bm-mid { height: 10px; } .u-bm-bar.sm .u-bm-dot { top: 1px; width: 8px; height: 8px; margin-left: -4px; } .u-bm-bar.sm .u-bm-band { top: 2px; }
.u-typ-t { font-size: 11.5px; color: #71717A; }

/* The summary card's items as rows (summary-views.ts row, 18 Nov 2026, Ollie: "it's just a load of text!"): what it's
   about and its figure with the change, two bars (now in the accent, what it's set against in grey), the comparison and
   the action in a few words; the sentences fold under the row. */
.sum-l li.sm-r { display: block; padding: 0; }
.sm-d > summary { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 12px 0; list-style: none; cursor: pointer; min-height: 44px; border-radius: 8px; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.sm-d > summary::-webkit-details-marker { display: none; }
.sm-d > summary:active { transform: scale(.99); }
.sm-d > summary:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }
.sum-l li.sm-r:first-child .sm-d > summary { padding-top: 2px; }
.sm-b { display: grid; gap: 6px; min-width: 0; }
.sm-t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sm-s { font-size: 14px; font-weight: 500; color: #18181B; min-width: 0; overflow-wrap: anywhere; }
.sm-n { display: inline-flex; align-items: baseline; gap: 6px; flex: none; }
.sm-v { font-size: 15px; font-weight: 500; color: #18181B; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap; }
.sm-bars { display: grid; gap: 3px; }
.sm-bars i { display: block; height: 6px; border-radius: 3px; width: 0; transition: width 420ms cubic-bezier(.22, 1, .36, 1); }
.sm-bars .sm-now { background: #2563EB; } .sm-bars .sm-was { background: #C4C4CC; height: 4px; }
.sm-u { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; font-size: 12px; }
.sm-vs { color: #71717A; font-variant-numeric: tabular-nums; }
.sm-do { color: #2563EB; font-weight: 500; }
.sm-do::after { content: " ›"; }
.sm-d[open] .sm-do::after { content: " ⌄"; }
.sm-x { margin: 0 0 12px 30px; padding: 10px 12px; border-radius: 8px; background: #F7F7F8; }
@media (hover: hover) and (pointer: fine) { .sm-d > summary:hover .sm-s { color: #2563EB; } }
@media (prefers-reduced-motion: reduce) { .sm-bars i, .sm-d > summary { transition: none; } }
/* why sales moved, as three figures with the half that drove it marked (summary-views.ts splitStrip) */
.sm-w { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #F1F1F3; border-radius: 10px; margin: 6px 0 2px; overflow: hidden; }
.sm-wc { display: grid; gap: 3px; padding: 10px 12px; min-width: 0; }
.sm-wc + .sm-wc { border-left: 1px solid #F1F1F3; }
.sm-wc.lead { background: #F7F7F8; }
.sm-wl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12px; color: #71717A; }
.sm-wt { font-size: 11px; color: #2563EB; background: #EEF3FF; border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.sm-wv { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.sm-wv b { font-size: 17px; font-weight: 500; color: #18181B; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap; }
.sm-ws { font-size: 11.5px; color: #71717A; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---- panels open in the page, under what was clicked (Ollie, 18 Nov 2026: "i hate the side bars"; he picked "open in place
   under the figure"). dash.js moves the one panel there and adds .sd-inline: no overlay, no slide, a card in the flow. */
.sd-panel.sd-inline, body.u .sd-panel.sd-inline, body.u .u-paid .sd-panel.sd-inline { position: relative; inset: auto; top: auto; right: auto; bottom: auto; left: auto; z-index: auto;
  width: auto; max-width: none; max-height: none; margin: 8px 0; padding-top: 0; border-radius: 12px; background: #FFFFFF; color: #18181B;
  box-shadow: 0 0 0 1px #E4E4E7; transform: none; opacity: 1; transition: none; grid-column: 1 / -1; }
.sd-panel.sd-inline .sd-pb { overflow: visible; max-width: 820px; }
body.u .sd-panel.sd-inline .sd-pb > * { animation: none; }
li > .sd-panel.sd-inline { margin: 10px 0 4px; cursor: auto; }
tr.sd-inrow > td { padding: 0 0 8px; border: 0; }

/* Progress (DESIGN.md "Progress and loading", 18 Nov 2026): a bar with words, step dashes, a step ring, work steps */
.u-pg { display: grid; gap: 8px; padding: 14px 16px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px #E4E4E7; color: #18181B; }
.u-pg-h { margin: 0; display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; }
.u-pg-h b { color: #2563EB; font-weight: 600; font-variant-numeric: tabular-nums; }
.u-pg-doing { flex: 1; min-width: 0; font-weight: 500; }
.u-pg-left, .u-pg-s { color: #71717A; font-size: 12.5px; }
.u-pg-s { margin: 0; font-variant-numeric: tabular-nums; }
.u-pg-track { display: block; height: 6px; border-radius: 3px; background: #EDEDEF; overflow: hidden; }
.u-pg-fill { display: block; height: 100%; border-radius: 3px; background: #2563EB; transform-origin: left center; transform: scaleX(0); transition: transform .4s linear; }
.u-pg.done .u-pg-h b { color: #156B3A; } .u-pg.done .u-pg-fill { background: #22A55B; }
.u-sd { display: grid; gap: 8px; }
.u-sd-dash { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.u-sd-dash li { flex: 1; height: 4px; border-radius: 2px; background: #E4E4E7; transition: background-color .2s ease-out; }
.u-sd-dash li.done { background: #18181B; } .u-sd-dash li.on { background: #2563EB; }
.u-sd-h { margin: 0; font-size: 13.5px; font-weight: 500; color: #18181B; }
.u-sd-n { color: #71717A; font-weight: 400; margin-right: 4px; font-variant-numeric: tabular-nums; }
.u-sr { display: flex; align-items: center; gap: 12px; }
.u-sr-ring { position: relative; flex: none; width: 44px; height: 44px; display: grid; place-items: center; }
.u-sr-ring svg { position: absolute; inset: 0; }
.u-sr-ring b { position: relative; font-size: 10.5px; font-weight: 600; color: #18181B; font-variant-numeric: tabular-nums; }
.u-sr-bg { fill: none; stroke: #EDEDEF; stroke-width: 4; }
.u-sr-fg { fill: none; stroke: #2563EB; stroke-width: 4; stroke-linecap: round; transition: stroke-dasharray .4s linear; }
.u-sr.done .u-sr-fg { stroke: #22A55B; }
.u-sr-t { display: grid; gap: 2px; font-size: 13.5px; color: #18181B; } .u-sr-t b { font-weight: 600; } .u-sr-t span { color: #71717A; font-size: 12.5px; }
.u-ws { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: #18181B; }
.u-ws li { display: flex; align-items: center; gap: 10px; }
.u-ws li.todo { color: #A1A1AA; }
.u-ws i { flex: none; width: 16px; height: 16px; border-radius: 50%; box-sizing: border-box; border: 1.5px solid #D4D4D8; }
.u-ws li.done i { border: 0; background: #18181B; position: relative; }
.u-ws li.done i::after { content: ""; position: absolute; left: 5px; top: 3.5px; width: 4px; height: 7px; border-style: solid; border-color: #FFFFFF; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.u-ws li.now i { border-color: #2563EB; border-right-color: transparent; animation: u-spin .6s linear infinite; }
.u-ws li.now { font-weight: 500; }
@keyframes u-spin { to { transform: rotate(360deg); } }
.u-btn[aria-busy="true"], body.u button.u-btn[aria-busy="true"] { position: relative; color: transparent !important; pointer-events: none; }
.u-btn[aria-busy="true"]::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #FFFFFF; border-right-color: transparent; animation: u-spin .6s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .u-pg-fill, .u-sr-fg, .u-sd-dash li { transition: none; }
  .u-ws li.now i, .u-btn[aria-busy="true"]::after { animation: u-pulse 1.2s ease-in-out infinite alternate; }
  .u-ws li.now i { border-right-color: #2563EB; } .u-btn[aria-busy="true"]::after { border-right-color: #FFFFFF; }
}
@keyframes u-pulse { from { opacity: 1; } to { opacity: .4; } }

/* The loading card (19 Nov 2026): what the next page is doing, in words, over a bar that only moves forward (nav.js,
   page-progress.ts). A white card with the 1px ring, the heading and a line on why, then the bar and the work steps. */
.nsk-load { display: grid; gap: 14px; max-width: 640px; padding: 20px 22px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px #E4E4E7; color: #18181B;
  animation: nsk-load-in .42s cubic-bezier(.22, 1, .36, 1) both; }
.nsk-load-h { display: grid; gap: 4px; }
.nsk-load-t { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.nsk-load-sub { margin: 0; font-size: 13.5px; color: #71717A; line-height: 1.45; }
.nsk-load .u-pg { padding: 0; background: none; box-shadow: none; }
.nsk-load .u-pg-h { justify-content: space-between; }
.nsk-load .u-pg-left { white-space: nowrap; font-variant-numeric: tabular-nums; }
.nsk-load .u-pg-fill { transition: transform .6s linear; }
.nsk-load-steps li { animation: nsk-load-in .3s cubic-bezier(.22, 1, .36, 1) backwards; }
.nsk-load .nsk-slow { padding: 0; background: none; box-shadow: none; font-size: 13.5px; color: #71717A; }
@keyframes nsk-load-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .nsk-load { padding: 16px; } .nsk-load .u-pg-h { flex-wrap: wrap; } }
/* A kept page (page-snapshot.ts, nav.js): a quiet pill saying when its figures are from while new ones are worked out;
   out of the page's flow, so nothing moves when it goes. The dot breathes (opacity only) while it updates. */
.snap-note { position: fixed; left: 50%; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 8px 14px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 0 0 1px #E4E4E7, 0 6px 20px rgba(24, 24, 27, .08);
  color: #52525B; font-size: 12.5px; line-height: 1.3; translate: -50% 0; animation: snap-in var(--t-move, 420ms) var(--ease) backwards; }
.snap-dot { width: 7px; height: 7px; border-radius: 50%; background: #2563EB; }
.snap-note[aria-busy="true"] .snap-dot { animation: snap-breathe 1.4s ease-in-out infinite; }
.snap-note:not([aria-busy="true"]) .snap-dot { background: #A1A1AA; }
.snap-note.is-ready { padding: 0; background: transparent; box-shadow: none; }
.snap-show { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #2563EB; color: #FFFFFF; font: inherit; font-weight: 600; cursor: pointer; }
.snap-show:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }
@keyframes snap-breathe { 50% { opacity: .35; } }
@keyframes snap-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 640px) { .snap-note { left: 16px; bottom: 92px; translate: none; max-width: calc(100vw - 120px); } }
@media (prefers-reduced-motion: reduce) { .snap-note, .snap-note[aria-busy="true"] .snap-dot { animation: none; } }
@media (prefers-reduced-motion: reduce) { .nsk-load, .nsk-load-steps li { animation: none; } .nsk-load .u-pg-fill { transition: none; } }

/* ---- The day's why, drawn (18 Nov 2026, Ollie: "it's just a load of text! come on"): tiles, bars that add up to the
   gap, the step where shoppers stopped against its usual mark, numbered steps with one button each. ui/day-why.ts */
body.u .dw-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 10px 0 4px; border-radius: 12px; box-shadow: 0 0 0 1px #EDEDEF; }
body.u .dw-t { padding: 10px 12px; }
body.u .dw-t + .dw-t { border-left: 1px solid #F1F1F3; }
body.u .dw-tl { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 12px; color: #52525B; }
body.u .dw-tv { margin: 3px 0 0; font-family: "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; font-size: 22px; font-weight: 500; color: #18181B; }
body.u .dw-ts { margin: 0; font-size: 11.5px; color: #71717A; }
body.u .dw-pill { font-size: 11px; padding: 1px 6px; border-radius: 6px; font-variant-numeric: tabular-nums; }
body.u .dw-pill.up { background: #DCF5E5; color: #156B3A; }
body.u .dw-pill.down { background: #FDE3E1; color: #A1261F; }
body.u .dw-sec { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #F1F1F3; }
body.u .dw-k { margin: 0 0 4px; font-size: 11.5px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: #71717A; }
body.u .dw-rows, body.u .dw-do, body.u .dw-alerts { margin: 0; padding: 0; list-style: none; }
body.u .dw-rows li { padding: 7px 0; }
body.u .dw-rows li + li { border-top: 1px solid #F1F1F3; }
body.u .dw-rl { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; color: #18181B; }
body.u .dw-rl b { flex: 0 0 auto; font-weight: 500; font-variant-numeric: tabular-nums; }
body.u .dw-rl b.up { color: #156B3A; }
body.u .dw-rl b.down { color: #A1261F; }
body.u .dw-sub { margin: 2px 0 0; font-size: 12px; color: #71717A; }
body.u .dw-bar { display: block; width: 100%; height: 6px; margin-top: 6px; }
body.u .dw-tr { fill: #F4F4F5; }
body.u .dw-b.up { fill: #22A55B; }
body.u .dw-b.down { fill: #E5484D; }
body.u .dw-mid { stroke: #A1A1AA; stroke-width: .5; }
body.u .dw-mark { stroke: #18181B; stroke-width: .8; }
body.u .dw-alerts { display: grid; gap: 6px; margin: 10px 0 0; }
body.u .dw-alerts li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: #18181B; }
body.u .dw-mk { flex: 0 0 18px; height: 18px; margin-top: 1px; border-radius: 9px; display: grid; place-items: center; font-size: 11px; font-weight: 600; }
body.u .dw-mk.down { background: #FDE3E1; color: #A1261F; }
body.u .dw-do li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
body.u .dw-do li + li { border-top: 1px solid #F1F1F3; }
body.u .dw-do li > div { flex: 1 1 auto; min-width: 0; }
body.u .dw-n { flex: 0 0 22px; height: 22px; border-radius: 11px; background: #F4F4F5; display: grid; place-items: center; font-size: 11.5px; font-weight: 500; color: #18181B; }
body.u .dw-dt { margin: 0; font-size: 13.5px; font-weight: 500; color: #18181B; text-wrap: pretty; }
body.u .dw-go { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 9px; background: #F4F4F5; color: #18181B; font-size: 13px; text-decoration: none; white-space: nowrap; }
body.u .dw-go.is-main { background: #18181B; color: #FFFFFF; font-weight: 500; }
body.u .dw .sum-why { margin: 10px 0 0; }
body.u .dw-foot { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #F1F1F3; font-size: 12px; color: #71717A; }
@media (max-width: 900px) { body.u .dw-go { min-height: 40px; } }

/* ---- Atlas Agent's answer as one card (18 Nov 2026, Ollie: "look at ryze ... don't copy"): figures, what moved it, the
   judgement, then numbered steps with Atlas's own actions among them. ask-agent-views.ts; parts shared with the day's why */
body.u .aa-card { margin-top: 12px; border-radius: 14px; background: #FFFFFF; box-shadow: 0 0 0 1px #EDEDEF; overflow: hidden; }
body.u .aa-card > * + * { border-top: 1px solid #F1F1F3; }
body.u .aa-card .aa-figs { border-radius: 0; box-shadow: none; background: none; }
body.u .aa-card .aa-figs > div:first-child { box-shadow: none; }
body.u .aa-card .aa-figs > div { box-shadow: -1px 0 0 #F1F1F3; }
body.u .aa-card .aa-figs .v { font-family: "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
body.u .aa-card .aa-block { border-radius: 0; box-shadow: none; background: none; padding: 12px 16px; }
body.u .aa-card .aa-block .aa-bt { font-size: 11.5px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: #71717A; }
body.u .aa-card .aa-sec { padding: 12px 16px; }
body.u .aa-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 18px; }
body.u .aa-marks { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
body.u .aa-marks li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #18181B; }
body.u .dw-mk.up { background: #DCF5E5; color: #156B3A; }
body.u .aa-big { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #F7F7F8; box-shadow: 0 0 0 1px #EDEDEF; }
body.u .aa-big > p:last-child { margin: 0; font-size: 13.5px; color: #18181B; text-wrap: pretty; }
body.u .aa-verdict > .aa-big:first-child { margin-top: 0; }
body.u .aa-do { margin: 0; padding: 0; list-style: none; counter-reset: aa-do; }
body.u .aa-step { counter-increment: aa-do; display: flex; align-items: center; gap: 12px; padding: 10px 0; }
body.u .aa-step + .aa-step { border-top: 1px solid #F1F1F3; }
body.u .aa-step::before { content: counter(aa-do); flex: 0 0 22px; height: 22px; border-radius: 11px; background: #F4F4F5; display: grid; place-items: center; font-size: 11.5px; font-weight: 500; color: #18181B; }
body.u .aa-step > div:first-of-type { flex: 1 1 auto; min-width: 0; }
body.u .aa-step.aa-act { padding: 10px 0; border-radius: 0; background: none; box-shadow: none; }
body.u .aa-step.aa-act + .aa-step, body.u .aa-step + .aa-step.aa-act { border-top: 1px solid #F1F1F3; }
body.u .aa-step .aa-act-b { flex: 0 0 auto; display: flex; gap: 6px; }
body.u .aa-step .aa-btn { min-height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: #18181B; color: #FFFFFF; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
body.u .aa-step .aa-btn.sec { background: none; color: #52525B; font-weight: 400; }
body.u .aa-step .aa-act-note { margin: 2px 0 0; font-size: 12px; }
body.u .aa-st { margin-left: 4px; font-size: 11px; font-weight: 500; padding: 1px 6px; border-radius: 6px; background: #F4F4F5; color: #52525B; }
body.u .aa-act.st-done .aa-st { background: #DCF5E5; color: #156B3A; }
body.u .aa-act.st-failed .aa-st { background: #FDE3E1; color: #A1261F; }
body.u .aa-card .aa-act-never { margin: 8px 0 0; font-size: 11.5px; color: #71717A; }
@media (max-width: 900px) {
  body.u .aa-step { flex-wrap: wrap; }
  body.u .aa-step .aa-act-b { width: 100%; padding-left: 34px; }
  body.u .aa-step .aa-btn { min-height: 40px; }
}

/* Speak to Atlas (app.js, 18 Nov 2026): a quiet button beside Send; blue while listening; gone where the browser can't listen */
body.u .ask-mic { flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 9px; display: grid; place-items: center; background: #F4F4F5; color: #18181B; cursor: pointer; }
body.u .ask-mic svg { width: 16px; height: 16px; }
body.u .ask-mic.is-on { background: #2563EB; color: #FFFFFF; }
html.no-speech .ask-mic { display: none; }
@media (max-width: 900px) { body.u .ask-mic { width: 40px; height: 40px; } }

/* ---- Atlas Agent's page (18 Nov 2026): one conversation down the middle; today's insights are its first messages
   (app.js puts them inside the conversation); answers are one card each. main.ts GET /ask */
body.u .ag-page { width: 100%; max-width: 1180px; margin: 0 auto; height: calc(100vh - 56px); min-height: 560px; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; }
body.u .ag-main { min-height: 0; display: flex; flex-direction: column; gap: 8px; }
body.u .ag-side { min-height: 0; overflow-y: auto; padding: 2px 4px 16px 2px; }
/* its findings beside the chat (ui/agent-findings.ts): top three, then everything, each with Accept and Dismiss */
body.u .af { display: grid; gap: 10px; }
body.u .af-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 6px 2px 0; }
body.u .af-head h2 { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; color: #18181B; }
body.u .af-head span { font-size: 12px; color: #71717A; font-variant-numeric: tabular-nums; }
body.u .af-note { margin: 0; padding: 8px 12px; border-radius: 10px; background: #DCF5E5; color: #156B3A; font-size: 13px; }
body.u .af-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
body.u .af-i { padding: 12px 14px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px #EDEDEF; display: grid; gap: 4px; }
body.u .af-by { margin: 0; display: flex; gap: 8px; align-items: baseline; font-size: 11.5px; color: #71717A; }
body.u .af-by span::before { content: "·"; margin-right: 8px; }
body.u .af-m { margin-left: auto; font-weight: 500; color: #156B3A; font-variant-numeric: tabular-nums; }
body.u .af-i h3 { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.35; color: #18181B; text-wrap: pretty; }
body.u .af-i:not(.is-top) h3 { font-size: 13.5px; }
body.u .af-why { margin: 0; font-size: 13px; line-height: 1.45; color: #52525B; text-wrap: pretty; }
body.u .af-b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
body.u .af-f { display: contents; }
body.u .af-b button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 9px; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: transform 160ms cubic-bezier(.23, 1, .32, 1), background-color 160ms ease; }
body.u .af-b button:active { transform: scale(.97); }
body.u .af-yes { background: #18181B; color: #FFFFFF; }
body.u .af-no { background: #F4F4F5; color: #18181B; }
body.u .af-b .af-ask { background: transparent; color: #2563EB; margin-left: auto; padding: 0 4px; }
body.u .af-all { border-radius: 12px; }
body.u .af-all > summary { cursor: pointer; list-style: none; padding: 10px 14px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px #EDEDEF; font-size: 13px; font-weight: 500; color: #18181B; }
body.u .af-all > summary::-webkit-details-marker { display: none; }
body.u .af-all[open] > summary { margin-bottom: 8px; }
body.u .af-empty, body.u .af-more { margin: 0; font-size: 13px; color: #52525B; }
body.u .af-more a { color: #52525B; }
body.u .af-more a:hover { color: #18181B; }
body.u .agp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 0; position: relative; }
body.u .agp-head h1 { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; color: #18181B; }
body.u .ag-page .agp-head :is(details.ag-earlier > summary, .ag-new) { border: 0; font: inherit; font-size: 12.5px; list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 9px; background: #F4F4F5; color: #18181B; font-size: 12.5px; }
body.u .ag-earlier > summary::-webkit-details-marker { display: none; }
body.u .ag-earlier[open] > .aa-convs { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; width: min(420px, calc(100vw - 32px)); max-height: 60vh; overflow: auto; margin: 0; padding: 6px; list-style: none;
  border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px #EDEDEF, 0 8px 24px rgba(24, 24, 27, .08); }
body.u .ag-earlier .aa-convs button { width: 100%; display: grid; justify-items: start; gap: 2px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; text-align: left; font: inherit; font-size: 13px; color: #18181B; cursor: pointer; }
body.u .ag-earlier .aa-convs button:hover { background: #F4F4F5; }
body.u .ag-earlier .aa-convs small { font-size: 11.5px; color: #71717A; }
body.u .ag-page .aa-chat { flex: 1 1 auto; min-height: 0; display: flex; }
body.u .ag-page .ask.aa-inline .ask-head .ai-orb, body.u .ag-page .ask.aa-inline .ask-title { display: none; }
body.u .ag-page .ask.aa-inline .ask-head { display: none; }
body.u .ag-hb { display: flex; gap: 6px; align-items: center; }
body.u .ag-page .ask.aa-inline .ask-body { padding-top: 16px; }
body.u .ag-insights { display: grid; gap: 10px; margin: 0 0 16px; }
body.u .ag-when { margin: 0; text-align: center; font-size: 11.5px; color: #71717A; }
body.u .ag-ins { padding: 12px 14px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px #EDEDEF; display: grid; gap: 4px; }
body.u .ag-tone { margin: 0; font-size: 11.5px; font-weight: 500; color: #2563EB; }
body.u .ag-ins h2 { margin: 0; font-size: 14px; font-weight: 500; color: #18181B; text-wrap: pretty; }
body.u .ag-why { margin: 0; font-size: 13px; color: #52525B; text-wrap: pretty; }
body.u .ag-b { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
body.u .ag-btn { min-height: 32px; padding: 0 12px; border: 0; border-radius: 9px; background: #18181B; color: #FFFFFF; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
body.u .ag-b a { font-size: 13px; color: #52525B; text-decoration: none; }
body.u .ag-b a:hover { color: #18181B; }
@media (max-width: 900px) {
  body.u .ag-page { height: auto; min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.u .ag-side { overflow: visible; padding: 0; }
  body.u .ag-main { height: calc(100dvh - 150px); min-height: 440px; }
  body.u .ag-btn, body.u .af-b button { min-height: 40px; }
  body.u .ag-b a { min-height: 40px; display: inline-flex; align-items: center; }
}

/* ---- Customer service (ui/support.ts, 18 Nov 2026): the inbox sorted by Atlas AI, and "From your inbox" */
.u-cs-tabs { grid-auto-columns: auto; } .u-cs-tabs > a { gap: 6px; min-height: 32px; } .u-cs-n { font-size: 11px; color: #71717A; }
.u-cs-why { margin: -2px 2px 0; font-size: 13px; color: #52525B; }
.u-cs-note { padding: 12px 16px; margin: 0; font-size: 13px; } .u-cs-note.good { background: #DCF5E5; color: #156B3A; border-color: #DCF5E5; } .u-cs-note.bad { background: #FDE3E1; color: #A1261F; border-color: #FDE3E1; }
.u-cs-list { padding: 4px 0; } .u-cs-lh { padding: 12px 18px 8px; gap: 12px; } .u-cs-lh .u-dim { font-size: 11.5px; }
.u-cs-list ol, .u-cs-brief { list-style: none; margin: 0; padding: 0; }
.u-cs-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; padding: 12px 18px; border-top: 1px solid #F3F3F4; color: #18181B !important; text-decoration: none; min-height: 44px; box-sizing: border-box; }
@media (hover: hover) and (pointer: fine) { .u-cs-row:hover { background: #FAFAFA; } }
.u-cs-row:active { transform: scale(.995); transition: transform 160ms var(--ease); }
.u-cs-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; background: #A1A1AA; } .u-cs-dot.bad { background: #E5484D; } .u-cs-dot.warn { background: #D97706; }
.u-cs-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.u-cs-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .u-cs-top b { font-weight: 500; font-size: 13.5px; }
.u-cs-say { font-size: 13px; color: #18181B; } .u-cs-meta { font-size: 11.5px; color: #71717A; }
.u-cs-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 11.5px; white-space: nowrap; } .u-cs-end .u-m { color: #71717A; }
.u-cs-more summary { padding: 10px 18px; font-size: 12.5px; color: #2563EB; cursor: pointer; border-top: 1px solid #F3F3F4; list-style: none; }
.u-cs-group { padding: 16px 18px; background: #EEF3FF; border-color: #EEF3FF; display: flex; flex-direction: column; gap: 6px; }
.u-cs-group .u-pilltag.blue { background: #FFFFFF; } .u-cs-gt { margin: 0; font-size: 15px; font-weight: 500; } .u-cs-group p { margin: 0; }
.u-cs-gl { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.u-cs-gl a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: #FFFFFF; border: 1px solid #E4E4E7; font-size: 12px; color: #18181B !important; text-decoration: none; }
.u-cs-gl li.u-dim { align-self: center; font-size: 12px; }
.u-cs-two { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
.u-cs-brief { display: flex; flex-direction: column; gap: 8px; } .u-cs-brief > li { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.u-cs-bt { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 11.5px; }
.u-cs-brief h3 { margin: 2px 0 0; font-size: 15px; font-weight: 500; } .u-cs-brief p { margin: 0; font-size: 13px; color: #18181B; }
.u-cs-ba { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-top: 4px; } .u-cs-do { font-size: 12.5px; font-weight: 500; color: #18181B; }
.u-cs-inl { margin: 0 0 0 auto; }
.u-cs-keep ul { margin: 8px 0 12px; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: #52525B; font-size: 12.5px; } .u-cs-keep form { margin: 0; }
.u-cs-connect p { margin: 8px 0 12px; } .u-cs-connect .u-dim { font-size: 11.5px; margin-top: 8px; }
.u-cs-bars { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.u-cs-bars > div { display: grid; grid-template-columns: minmax(120px, 230px) minmax(0, 1fr) 44px 40px; gap: 12px; align-items: center; font-size: 12.5px; }
.u-cs-bars i { position: relative; height: 10px; border-radius: 5px; background: #F4F4F5; display: block; }
.u-cs-bars b { position: absolute; inset: 0 auto 0 0; border-radius: 5px; background: #2563EB; } .u-cs-bars em { position: absolute; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; background: #A1A1AA; left: 0; }
.u-cs-bars .u-m { text-align: right; }
.u-cs-ul { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.u-cs-set { display: flex; flex-direction: column; gap: 8px; } .u-cs-set > section, .u-cs-set > div { background: #FFFFFF; border: 1px solid #EDEDEF; border-radius: 12px; padding: 16px 18px; margin: 0; }
@media (max-width: 900px) { .u-cs-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .u-cs-row { padding: 12px 14px; } .u-cs-bars > div { grid-template-columns: minmax(0, 1fr) 40px 36px; } .u-cs-bars > div > i { grid-column: 1 / -1; grid-row: 2; } .u-cs-tabs { overflow-x: auto; } .u-cs-tabs > a { min-height: 40px; } }
.cs-read { background: #EEF3FF; border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; } .cs-read p { margin: 0; font-size: 13px; } .cs-read-h { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 4px !important; } .cs-read-h b { font-weight: 500; }
.avx-read + .avx-hero { margin-top: 16px; }

/* ---- the SEO app, reimagined (ui/seo-app.ts and kit.ts scoreRing, heatmap, actionRows; 19 Nov 2026). Colours from
   DESIGN.md only; glass-cards.css maps them (node server/web/glass-cards.mjs). */
body.u .sa-ans { font-size: 15px; line-height: 1.5; color: #3F3F46; margin: 6px 0 0; max-width: 760px; }
body.u .sa-ans b { color: #18181B; font-weight: 600; }
@media (min-width: 641px) { .u-schm.f4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.u-sch:has(#schm-s:checked) .u-schc-s { display: block; }
/* Atlas Sales (ui/sales.ts, 19 Nov 2026): the chart's other figure tabs, the bar's icon, and the Black Friday line under the pace */
.u-sch:has(#schm-o:checked) .u-schc-o, .u-sch:has(#schm-a:checked) .u-schc-a, .u-sch:has(#schm-v:checked) .u-schc-v { display: block; }
.seo-app-ic.sales svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.u .sl-pace .u-gauge { flex: none; margin: 18px 0 6px; } body.u .sl-pace .sl-bf { margin-top: auto; }
/* the Atlas Sales bar holds the five Sales pages, so the phone's row of Sales pages would say them twice */
body.u:has(.sales-app-bar) .u-sub { display: none; }
body.u .sl-bf { display: grid; gap: 2px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #E4E4E7; font-size: 13px; line-height: 1.45; }
body.u .sl-bf b { color: #18181B; font-weight: 600; } body.u .sl-bf span { color: #71717A; }
.sa-two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.sa-two:empty { display: none; }
/* rings */
body.u .u-c.sa-rings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 14px 6px; }
.sa-rr { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; padding: 2px 14px; border-left: 1px solid #F1F1F3; color: inherit; text-decoration: none; }
.sa-rr:first-child { border-left: 0; }
a.sa-rr { border-radius: 4px; transition: background-color .16s var(--ease); }
@media (hover: hover) and (pointer: fine) { a.sa-rr:hover { background: #FAFAFA; } }
.sa-ring { position: relative; width: 72px; height: 72px; display: block; }
.sa-ring svg { width: 72px; height: 72px; transform: rotate(-90deg); display: block; }
.sa-ring circle { fill: none; stroke-width: 7; }
.sa-ring .tr { stroke: #F1F1F3; }
.sa-ring .ar { stroke: #2563EB; stroke-linecap: round; }
.sa-ring .ar.good { stroke: #8FE0B0; } .sa-ring .ar.warn { stroke: #D97706; } .sa-ring .ar.bad { stroke: #E5484D; }
.sa-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 17px; font-weight: 600; color: #18181B; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sa-rt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sa-rl { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #71717A; }
.sa-rv { font-size: 13px; color: #18181B; }
.sa-rs { font-size: 12px; color: #71717A; }
/* what to do */
.sa-acts { width: 100%; border-collapse: collapse; margin-top: 10px; }
.sa-acts th { text-align: left; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #71717A; padding: 0 10px 8px 0; border-bottom: 1px solid #EDEDEF; }
.sa-acts td { padding: 11px 10px 11px 0; border-bottom: 1px solid #F1F1F3; vertical-align: middle; font-size: 13px; color: #3F3F46; }
.sa-acts tr:last-child td { border-bottom: 0; }
.sa-type { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 3px; background: #F4F4F5; color: #52525B; font-size: 11.5px; font-weight: 500; }
.sa-iss { color: #18181B !important; font-weight: 500; min-width: 140px; }
.sa-iss small { display: block; font-weight: 400; color: #71717A; font-size: 12px; }
.sa-chg { max-width: 420px; }
.sa-worth { white-space: nowrap; color: #52525B !important; } .sa-worth.good { color: #156B3A !important; }
.sa-go { text-align: right; white-space: nowrap; }
.sa-quiet { margin-left: 10px; font-size: 12px; color: #71717A !important; }
/* the heatmap: searches by weeks */
.sa-hmw { overflow-x: auto; margin: 8px 0 4px; }
.sa-hm { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 12px; }
.sa-hm thead th { background: none; font-size: 10px; font-weight: 500; letter-spacing: .06em; color: #71717A; text-align: center; padding: 0 0 4px; white-space: nowrap; }
.sa-hm thead th:first-child { text-align: left; }
.sa-hm tbody th { text-align: left; font-weight: 400; max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
.sa-hm tbody th a { color: #18181B; }
.sa-hm td.c { height: 28px; min-width: 30px; border-radius: 3px; text-align: center; font-variant-numeric: tabular-nums; font-size: 11px; }
.sa-hm .b1 { background: #2563EB; color: #FFFFFF; }
.sa-hm .b2 { background: #BFD3FF; color: #18181B; }
.sa-hm .b3 { background: #EEF3FF; color: #3F3F46; }
.sa-hm .b4 { background: #F4F4F5; color: #71717A; }
.sa-hm .b0 { background: transparent; box-shadow: inset 0 0 0 1px #F1F1F3; }
.sa-hm .bx { background: transparent; color: #A1A1AA; }
.sa-hm td.n, .sa-hm th.n { text-align: right; padding-left: 8px; white-space: nowrap; color: #52525B; font-variant-numeric: tabular-nums; }
.sa-key { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 11.5px; color: #71717A; margin: 6px 0 10px; }
.sa-key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: -6px; vertical-align: -1px; }
.sa-key i.b1 { background: #2563EB; } .sa-key i.b2 { background: #BFD3FF; } .sa-key i.b3 { background: #EEF3FF; } .sa-key i.b4 { background: #F4F4F5; } .sa-key i.b0 { box-shadow: inset 0 0 0 1px #D4D4D8; }
/* bar tables */
.sa-bt .sa-bc { width: 34%; }
.sa-bt .sa-bc .dw-bar { display: block; width: 100%; height: 6px; margin-top: 3px; }
.sa-bcn { font-variant-numeric: tabular-nums; }
.sa-bt th[scope="row"] { font-weight: 400; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-ib { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) 34% 40px; gap: 8px 12px; align-items: center; }
.sa-ib li { display: contents; }
.sa-ib .t { color: #18181B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-ib .dw-bar { width: 100%; height: 6px; display: block; }
.sa-ib .n { text-align: right; font-variant-numeric: tabular-nums; color: #52525B; }
.sa-ai .u-sf.aic { border: 0; padding: 0; background: none; }
@media (max-width: 760px) {
  body.u .u-c.sa-rings { grid-template-columns: minmax(0, 1fr); padding: 6px 4px; }
  .sa-rr { border-left: 0; border-top: 1px solid #F1F1F3; padding: 12px 6px; }
  .sa-rr:first-child { border-top: 0; }
  .sa-acts thead { display: none; }
  .sa-acts, .sa-acts tbody, .sa-acts tr, .sa-acts td { display: block; }
  .sa-acts tr { padding: 12px 0; border-bottom: 1px solid #F1F1F3; }
  .sa-acts tr:last-child { border-bottom: 0; }
  body.u .sa-acts td { padding: 2px 0; border: 0; }
  .sa-go { text-align: left; margin-top: 8px; }
  .sa-go .u-btn { min-height: 40px; }
  .sa-hm tbody th { max-width: 110px; }
  .sa-hm td.c { min-width: 0; width: 15%; height: 26px; font-size: 10px; }
  .sa-bt th:nth-child(2), .sa-bt td:nth-child(2) { display: none; }
  .sa-hm .n { display: none; }
  .sa-hm thead th:nth-child(-n+5):not(:first-child), .sa-hm tbody td.c:nth-child(-n+5) { display: none; }
  .sa-hm tbody th { max-width: 118px; }
  body.u .u-t.sa-bt { min-width: 0; }
  .sa-ib .t { white-space: normal; }
  .sa-bt th[scope="row"] a { display: block; overflow: hidden; text-overflow: ellipsis; }
  .sa-bt th:nth-child(5), .sa-bt td:nth-child(5) { display: none; }
  .sa-bt th[scope="row"] { max-width: 120px; }
}
body.u .sa-bt .dw-b, body.u .sa-ib .dw-b { fill: #CBD2DE; }
body.u .sa-bt tbody tr:first-child .dw-b { fill: #2563EB; }
body.u .sa-ib .dw-bar, body.u .sa-bt .dw-bar { margin-top: 3px; }

/* ---- the Blog tab and post editor (ui/blog.ts, 19 Nov 2026) */
body.u .u-c.bp-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 14px 6px; }
.bp-figs > div { display: flex; flex-direction: column; gap: 2px; padding: 2px 16px; border-left: 1px solid #F1F1F3; min-width: 0; }
.bp-figs > div:first-child { border-left: 0; }
.bp-figs .l { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #71717A; }
.bp-figs b { font-size: 22px; font-weight: 600; color: #18181B; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.bp-figs small { font-size: 12px; color: #71717A; }
.bp-fix, .bp-rows, .bp-ck { list-style: none; margin: 8px 0 0; padding: 0; }
.bp-fix li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 16px; align-items: center; padding: 11px 0; border-top: 1px solid #F1F1F3; }
.bp-fix li:first-child { border-top: 0; }
.bp-fix .t { margin: 0; color: #18181B; font-weight: 500; } .bp-fix .s { margin: 2px 0 0; color: #71717A; font-size: 12px; }
.bp-fix .n { color: #52525B; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bp-rows li { border-top: 1px solid #F1F1F3; } .bp-rows li:first-child { border-top: 0; }
.bp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 11px 2px; color: inherit !important; text-decoration: none; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .bp-row:hover { background: #FAFAFA; } }
.bp-row .t, .bp-idea .t { color: #18181B; font-weight: 500; } .bp-row .s, .bp-idea .s { color: #71717A; font-size: 12px; display: block; }
.bp-row .tags { grid-row: 1 / span 2; grid-column: 2; display: flex; gap: 6px; }
.bp-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 3px; background: #F4F4F5; color: #52525B; font-size: 11.5px; white-space: nowrap; }
.bp-tag.warn { background: #FEF3C7; color: #92400E; } .bp-tag.good { background: #DCF5E5; color: #156B3A; }
.bp-idea { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; }
.bp-idea form, .bp form { margin: 0; }
.bp-cad { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px !important; padding-top: 12px; border-top: 1px solid #F1F1F3; }
.bp-cad label { font-weight: 500; color: #18181B; } .bp-cad .u-dim { font-size: 12px; }
/* the editor */
.bp-edbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 4px 2px; }
.bp-edbar .grow { flex: 1; }
.bp-back { font-weight: 500; }
.bp-saved { display: inline-flex; align-items: center; gap: 6px; color: #156B3A; font-size: 12px; }
.bp-saved i { width: 7px; height: 7px; border-radius: 999px; background: #22A55B; }
.bp-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr) 330px; gap: 8px; align-items: start; }
.bp-grid > * { min-width: 0; }
.bp-mid, .bp-side { display: flex; flex-direction: column; gap: 8px; }
.bp-outline, .bp-side { position: sticky; top: 16px; }
.bp-outline ol { margin: 6px 0 10px; padding-left: 18px; color: #52525B; font-size: 12.5px; line-height: 1.5; }
.bp-outline li { padding: 3px 0; }
body.u .u-c.bp-sheet { padding: 0; overflow: hidden; }
.bp-sheet-h { margin: 0; padding: 10px 16px; border-bottom: 1px solid #EDEDEF; color: #71717A; font-size: 12px; }
body.u .bp-post { background: var(--bp-paper, #FFFFFF); color: var(--bp-ink, #18181B); font-family: var(--bp-text, system-ui, sans-serif); font-size: 16px; line-height: 1.65; padding: 36px 52px 44px; overflow-wrap: anywhere; }
body.u .bp-post h1 { font-family: var(--bp-head, Georgia, serif); font-weight: 600; font-size: 34px; line-height: 1.15; margin: 0 0 10px; color: var(--bp-ink, #18181B); letter-spacing: -.01em; }
body.u .bp-post h3 { font-family: var(--bp-head, Georgia, serif); font-weight: 600; font-size: 23px; line-height: 1.25; margin: 28px 0 8px; color: var(--bp-ink, #18181B); }
body.u .bp-post h4 { font-family: var(--bp-text, system-ui, sans-serif); font-weight: 600; font-size: 16px; margin: 14px 0 4px; color: var(--bp-ink, #18181B); }
body.u .bp-post p { margin: 0 0 14px; } .bp-post ul { margin: 0 0 14px; padding-left: 22px; }
body.u .bp-post a { color: var(--bp-ink, #18181B); text-decoration: underline; text-decoration-color: var(--bp-accent, #2563EB); text-underline-offset: 3px; }
body.u .bp-kick { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--bp-accent, #2563EB); margin: 0 0 10px !important; }
body.u .bp-by { font-size: 13px; opacity: .75; margin: 0 0 22px !important; }
body.u .bp-post mark.ct-check { background: #FEF3C7; color: #92400E; padding: 1px 4px; border-radius: 3px; }
.bp-edit form { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.bp-edit label { font-size: 12px; color: #52525B; margin-top: 6px; }
.bp-edit input, .bp-edit textarea { font: inherit; font-size: 13.5px; line-height: 1.55; border: 1px solid #E4E4E7; border-radius: 4px; padding: 8px 10px; background: #FFFFFF; color: #18181B; width: 100%; box-sizing: border-box; }
.bp-edit textarea#bp-b { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; }
.bp-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.bp-ckh { display: flex; justify-content: space-between; margin: 12px 0 2px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #71717A; }
.bp-ck li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-top: 1px solid #F1F1F3; align-items: start; }
.bp-ck li:first-child { border-top: 0; }
.bp-ic { width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; margin-top: 1px; }
.bp-ic.ok { background: #DCF5E5; color: #156B3A; } .bp-ic.bad { background: #FDE3E1; color: #A1261F; } .bp-ic.up { background: #FEF3C7; color: #92400E; }
.bp-ck .x { color: #18181B; font-size: 12.5px; } .bp-ck .x small { display: block; color: #71717A; font-size: 11.5px; margin-top: 1px; }
.bp-okd { margin-top: 10px; } .bp-okd summary { font-size: 12px; color: #52525B; cursor: pointer; }
.bp-spec .sa-rr { padding: 0; border: 0; }
.bp-serp { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; padding: 12px; border-radius: 4px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #EDEDEF; }
.bp-serp .u { font-size: 12px; color: #52525B; } .bp-serp .tt { font-size: 16px; color: #1D4ED8; } .bp-serp .dd { font-size: 12.5px; color: #52525B; }
.bp-where { display: flex; align-items: center; gap: 8px; color: #3F3F46; margin: 0 0 10px; }
.bp-where i { width: 22px; height: 22px; border-radius: 4px; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; color: #FFFFFF; font-style: normal; }
.bp-where i.sh { background: #14B8A6; } .bp-where i.wc { background: #8B5CF6; } .bp-where i.sq { background: #18181B; }
.bp .bp-wide { width: 100%; min-height: 42px; justify-content: center; }
.bp-pub .u-dim.small { margin: 10px 0 0; }
.bp-blocked { color: #A1261F; font-size: 12px; margin: 8px 0 0; }
.bp-pub button[disabled] { opacity: .5; cursor: not-allowed; }
.bp-wp { display: flex; flex-direction: column; gap: 4px; } .bp-wp label { font-size: 12px; color: #52525B; margin-top: 4px; }
.bp-wp input { font: inherit; border: 1px solid #E4E4E7; border-radius: 4px; padding: 7px 9px; background: #FFFFFF; color: #18181B; }
.bp-wp button { margin-top: 8px; align-self: flex-start; }
.bp-mark { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px !important; padding-top: 12px; border-top: 1px solid #F1F1F3; }
.bp-mark label { width: 100%; font-size: 12px; color: #71717A; }
.bp-mark input { flex: 1; min-width: 0; font: inherit; border: 1px solid #E4E4E7; border-radius: 4px; padding: 6px 8px; background: #FFFFFF; color: #18181B; }
@media (max-width: 1200px) { .bp-grid { grid-template-columns: minmax(0, 1fr) 320px; } .bp-outline { display: none; } }
@media (max-width: 900px) { .bp-grid { grid-template-columns: minmax(0, 1fr); } .bp-side { position: static; order: -1; } }
@media (max-width: 640px) {
  body.u .u-c.bp-figs { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .bp-figs > div:nth-child(3) { border-left: 0; }
  .bp-fix li { grid-template-columns: minmax(0, 1fr) auto; }
  .bp-fix .u-btn { grid-column: 1 / -1; justify-self: start; min-height: 40px; }
  .bp-row { grid-template-columns: minmax(0, 1fr); } .bp-row .tags { grid-row: auto; grid-column: 1; }
  body.u .bp-post { padding: 24px 18px 30px; font-size: 15.5px; } body.u .bp-post h1 { font-size: 27px; } body.u .bp-post h3 { font-size: 20px; }
  .bp-idea { flex-wrap: wrap; }
}

/* ---- Settings reimagined (19 Nov 2026, ui/settings.ts): an app bar over every settings page, the Overview, the switches */
.st { display: flex; flex-direction: column; gap: 8px; }
.st-fs { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row; }
.st-card { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.st-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.st-h h2 { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #71717A; }
.st-sub { font-size: 12px; color: #71717A; }
.st-link { margin-left: auto; font-size: 12.5px; color: #2563EB !important; text-decoration: none; }
.st-g2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: start; }
.st-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: start; }
.st-wide { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.st-col { display: flex; flex-direction: column; gap: 8px; }
.st-rows, .st-perm, .st-notes { list-style: none; margin: 0; padding: 0; }
.st-rows li, .st-perm li, .st-notes li { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 7px 0; border-top: 1px solid #F1F1F3; font-size: 13px; }
.st-rows li:first-child, .st-perm li:first-child, .st-notes li:first-child { border-top: 0; }
.st-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.st-name b { font-weight: 500; color: #18181B; } .st-name small { font-size: 11.5px; color: #71717A; line-height: 1.4; }
.st-logo, .st-av { width: 28px; height: 28px; border-radius: 4px; background: #F4F4F5; border: 1px solid #E4E4E7; color: #3F3F46; font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; }
.st-av { border-radius: 50%; }
.st-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; min-width: 82px; }
.st-state.good { color: #156B3A; } .st-state.bad { color: #A1261F; font-weight: 500; }
.st-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; } .st-dot.good { background: #22A55B; } .st-dot.bad { background: #E5484D; }
.st-when { font-size: 12px; color: #71717A; min-width: 140px; text-align: right; font-variant-numeric: tabular-nums; }
.st-role { font-size: 12px; color: #52525B; background: #F4F4F5; border-radius: 3px; padding: 2px 7px; }
.st-perm .u-seg { flex: none; }
.st-perm .u-seg > button[aria-pressed="true"] { background: #FFFFFF; box-shadow: 0 1px 2px rgba(24, 24, 27, .08); }
.st-dl { margin: 0; display: flex; flex-direction: column; }
.st-dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid #F1F1F3; font-size: 13px; }
.st-dl > div:first-child { border-top: 0; }
.st-dl dt { color: #71717A; font-size: 12px; } .st-dl dd { margin: 0; color: #18181B; }
.st-add { display: flex; gap: 8px; margin-top: 4px; } .st-add input { flex: 1; min-width: 0; min-height: 36px; border: 1px solid #E4E4E7; border-radius: 4px; padding: 0 10px; font: inherit; font-size: 13px; background: #FFFFFF; color: #18181B; }
.st-add input::placeholder { color: #71717A; }
.st-looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.st-look { display: flex; flex-direction: column; gap: 6px; align-items: stretch; border: 1px solid #E4E4E7; background: #FFFFFF; border-radius: 4px; padding: 6px 6px 8px; font: inherit; font-size: 12px; color: #3F3F46; cursor: pointer; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.st-look:active { transform: scale(.97); }
.st-look[aria-pressed="true"] { border-color: #2563EB; box-shadow: 0 0 0 1px #2563EB; color: #18181B; font-weight: 500; }
.st-thumb { height: 46px; border-radius: 3px; display: grid; grid-template-columns: 1fr 2fr; grid-template-rows: 1fr 1fr; gap: 3px; padding: 4px; box-sizing: border-box; }
.st-thumb i { border-radius: 2px; } .st-thumb i:first-child { grid-row: span 2; }
.st-thumb.light { background: #ECECEE; } .st-thumb.light i { background: #FFFFFF; }
.st-thumb.glass { background: #3F3F46; } .st-thumb.glass i { background: #A1A1AA; }
.st-thumb.mono { background: #E4E4E7; } .st-thumb.mono i { background: #18181B; } .st-thumb.mono i:first-child { background: #FFFFFF; }
.st-lbl { font-size: 12px; color: #52525B; flex: 1; }
.st-note { font-size: 11.5px; color: #71717A; margin: 0; }
.st-q { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-top: 1px solid #F1F1F3; }
.st-q:first-of-type { border-top: 0; padding-top: 2px; }
.st-qh { display: flex; flex-direction: column; gap: 2px; } .st-qh b { font-size: 13px; font-weight: 500; color: #18181B; } .st-qh small { font-size: 11.5px; color: #71717A; }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.st-chip { min-height: 32px; padding: 0 12px; border: 1px solid #E4E4E7; background: #FFFFFF; border-radius: 3px; font: inherit; font-size: 12.5px; color: #3F3F46; cursor: pointer; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.st-chip:active { transform: scale(.97); }
.st-chip[aria-pressed="true"] { background: #EEF3FF; border-color: #2563EB; color: #1D4ED8; font-weight: 500; }
.st-inline { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #52525B; } .st-inline select { margin-left: 6px; min-height: 32px; }
.st-foot { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid #F1F1F3; } .st-foot .st-note { flex: 1; }
.st-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.st-t th { text-align: left; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #71717A; padding: 0 8px 6px 0; border-bottom: 1px solid #EDEDEF; }
.st-t td { padding: 8px 8px 8px 0; border-bottom: 1px solid #F1F1F3; color: #3F3F46; vertical-align: top; } .st-t td b { display: block; font-weight: 500; color: #18181B; } .st-t td small { font-size: 11.5px; color: #71717A; }
.st-t .n { text-align: right; font-variant-numeric: tabular-nums; }
.st-notes li { font-size: 13px; color: #3F3F46; justify-content: space-between; }
.st-x { border: 0; background: transparent; color: #71717A; font: inherit; font-size: 12px; cursor: pointer; min-height: 32px; padding: 0 4px; flex: none; }
@media (max-width: 1100px) { .st-g3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 760px) {
  .st-g2, .st-g3, .st-wide { grid-template-columns: minmax(0, 1fr); }
  .st-fs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-fs > .u-kpi:nth-child(3) { border-left: 0 !important; } .st-fs > .u-kpi:nth-child(n+3) { border-top: 1px solid #F1F1F3; }
  .st-when { display: none; } .st-perm li { flex-wrap: wrap; } .st-perm .u-seg { width: 100%; } .st-perm .u-seg > button { min-height: 36px; }
  .st-chip, .st-x { min-height: 40px; } .st-rows li { min-height: 48px; }
}
body.u .st-h .st-sub, body.u .st-h .st-link { text-transform: none; letter-spacing: 0; font-weight: 400; }
body.u .st .sa-acts td { white-space: normal; overflow: visible; text-overflow: clip; }
body.u .st .sa-chg { max-width: none; } body.u .st .sa-acts td.sa-go { white-space: nowrap; }
body.u .st-rows .st-logo { background: transparent; border: 0; width: 32px; height: 32px; }
body.u .st-logo .bm { width: 32px; height: 32px; border-radius: 4px; } body.u .st-logo .bm svg { width: 18px; height: 18px; }
body.u .st-logo .logo { width: 32px; height: 32px; border-radius: 4px; font-size: 13px; }
body.u .st-logo .logo img { width: 100%; height: 100%; }
.st-grp + .st-grp { margin-top: 6px; }
body.u .st-gl { margin: 0; padding: 8px 0 2px; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #71717A; border-top: 1px solid #EDEDEF; }
.st-grp:first-child .st-gl { border-top: 0; padding-top: 0; }

.st-shell { display: flex; flex-direction: column; gap: 8px; }
.st-shell > .u-page, .st-shell > .page-head { margin-top: 0; }
.st-empty { margin: 0; font-size: 13px; color: #52525B; }
.st-unset { color: #71717A; }
.st-fixed { flex: none; font-size: 12px; color: #52525B; background: #F4F4F5; border-radius: 3px; padding: 4px 8px; }
.st-pair { flex: none; } .st-pair > form { display: contents; }
body.u .st-pair button { position: relative; border: 0; background: transparent; border-radius: 7px; padding: 0 12px; min-height: 28px; font: inherit; font-size: 12px; color: #52525B; cursor: pointer; }
body.u .st-pair button[aria-pressed="true"] { background: #FFFFFF; color: #18181B; font-weight: 500; box-shadow: 0 1px 2px rgba(24, 24, 27, .08); }
.st-looks form { margin: 0; display: flex; } .st-looks .st-look { width: 100%; }
.st-one { display: flex; flex-direction: column; gap: 8px; }
/* a Settings tab: each sheet keeps its heading, the cards are the old sheets' */
body.u .st .u-setbody .set-head { display: block; padding: 0 2px; }
body.u .st-business .u-setbody .chips { display: flex; flex-wrap: wrap; gap: 6px; }
body.u .st-business .u-setbody .chips .chip { padding: 0 12px; min-height: 34px; align-items: center; border-color: #E4E4E7; background: #FFFFFF; border-radius: 10px; }
body.u .st-business .u-setbody .chips .chip em { display: none; }
body.u .st-business .u-setbody .chips .chip strong { font-weight: 400; font-size: 12.5px; }
body.u .st-business .u-setbody .chips .chip:has(input:checked) { background: #EEF3FF; color: #1D4ED8; }
body.u .st-business .u-setbody .chips .chip:has(input:checked) strong { font-weight: 500; }
body.u .st-business .u-setbody .chips .chip:has(input:focus-visible) { outline: 2px solid #2563EB; outline-offset: 2px; }
body.u .seo-app-ic.st-ic { background: #18181B !important; color: #FFFFFF; }
body.u:has(.st-bar) .u-sub { display: none; }
/* ---- Ads pages (19 Nov 2026, "Design the Ads pages on Fable"): Campaigns as one table, the pictures side by side, the rest folded */
.apg-full .avx-cbr { grid-template-columns: minmax(0, 2.2fr) 92px minmax(96px, .9fr) 64px 72px minmax(130px, 1.1fr) 150px; }
.apg-n { text-align: right; } .apg-n b { font: 500 14px/1.1 "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; color: #18181B; } .apg-n em { display: none; font-style: normal; font-size: 12px; color: #71717A; }
.apg-camp { display: grid; gap: 8px; }
.apg-two { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 8px; align-items: start; }
.apg-two .asc-channels { grid-template-columns: minmax(0, 1fr); }
.apg-more { padding: 0; } .apg-more > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 44px; padding: 0 16px; font-size: 13px; color: #52525B; }
.apg-more > summary::-webkit-details-marker { display: none; }
.apg-more > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid #A1A1AA; border-bottom: 1.6px solid #A1A1AA; transform: rotate(-45deg); transition: transform 180ms var(--ease); flex: none; }
.apg-more[open] > summary::after { transform: rotate(45deg); } .apg-more[open] > summary { border-bottom: 1px solid #F1F1F3; }
.apg-more > :not(summary) { margin: 12px 16px; }
/* Campaigns: campaigns with nothing spent in the last 7 days fold under the running ones (21 Nov 2026) */
.apg-off { border-top: 1px solid #F3F3F4; } .apg-off > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 44px; font-size: 13px; color: #52525B; }
.apg-off > summary::-webkit-details-marker { display: none; }
.apg-off > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid #A1A1AA; border-bottom: 1.6px solid #A1A1AA; transform: rotate(45deg) translateY(-2px); transition: transform 180ms var(--ease); flex: none; order: 3; }
.apg-off[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.apg-off > summary span { font-weight: 500; color: #18181B; } .apg-off > summary em { font-style: normal; font-size: 12px; color: #71717A; order: 4; flex-basis: 100%; }
@media (min-width: 761px) { .apg-off > summary em { flex-basis: auto; order: 2; } }
.apg-off .avx-cbr { opacity: .72; } .apg-off > summary i { font-style: normal; } .apg-off[open] .apg-sh, .apg-off:not([open]) .apg-hd { display: none; }
@media (prefers-reduced-motion: reduce) { .apg-off > summary::after { transition: none; } }
@media (max-width: 900px) { .apg-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .apg-full .avx-cbr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } .apg-full .apg-n { text-align: left; grid-column: auto; } .apg-full .apg-n em { display: inline; margin-left: 4px; } .apg-full .avx-cbs { grid-column: 1 / -1; } .apg-full .avx-cbg { grid-column: 1 / -1; } }
.apg-page { gap: 8px; margin: 0; }
.apg-page .asc-answer, .apg-page .asc-answer.good, .apg-page .asc-answer.bad { background: none; box-shadow: none; padding: 2px 6px 4px; font-size: 15px; color: #3F3F46; }
.apg-page .asc-answer strong { font-size: inherit; font-weight: 600; color: #18181B; } .apg-page .asc-answer svg { display: none; }
.apg-two .asc-cell { border-radius: 12px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #EDEDEF; padding: 16px; }
.apg-two .asc-h { margin: 0 0 12px; font: 500 14px/1.35 "Geist", system-ui, sans-serif; color: #18181B; } .apg-two .asc-h small { font-weight: 400; font-size: 12px; color: #71717A; }
.apg-ch { padding: 12px 0; border-top: 1px solid #F1F1F3; } .apg-ch:first-of-type { border-top: 0; padding-top: 0; } .apg-ch:last-child { padding-bottom: 0; }
.apg-ch header { display: flex; align-items: center; gap: 8px; } .apg-ch h4 { margin: 0; font: 500 14px/1.3 "Geist", system-ui, sans-serif; color: #18181B; } .apg-share { margin-left: auto; font-size: 12px; color: #71717A; font-variant-numeric: tabular-nums; }
.apg-ch dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0; } .apg-ch dt { font-size: 11.5px; color: #71717A; }
.apg-ch dd { margin: 2px 0 0; font: 600 15px/1.2 "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; color: #18181B; } .apg-ch dd.good { color: #156B3A; } .apg-ch dd.bad { color: #A1261F; }
.apg-full .avx-cbo::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.6px solid #A1A1AA; border-bottom: 1.6px solid #A1A1AA; transform: rotate(-45deg) translateY(-2px); }
@media (max-width: 560px) { .apg-ch dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Creatives (19 Nov 2026): a gallery of the ads' own pictures, what each brought back on it; an ad's detail opens under its row */
.apg-gal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); gap: 20px 14px; grid-auto-flow: dense; }
.apg-cr { display: contents; }
.apg-cv[data-views="meta"] .apg-cr:not(.p-meta), .apg-cv[data-views="google"] .apg-cr:not(.p-google), .apg-cv[data-views="video"] .apg-cr:not(.k-video) { display: none; }
.apg-ad { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; min-width: 0; }
.apg-pic { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #F4F4F5; outline: 1px solid rgba(24, 24, 27, .08); outline-offset: -1px; transition: transform 160ms var(--ease); }
.apg-pic:active { transform: scale(.985); }
.apg-open { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: none; cursor: pointer; }
.apg-open:focus-visible { outline: 2px solid #2563EB; outline-offset: -2px; }
.apg-ret { position: absolute; right: 10px; top: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(24, 24, 27, .72); color: #FFFFFF; font-size: 11px; font-variant-numeric: tabular-nums; pointer-events: none; }
.apg-ret b { font-weight: 600; }
.apg-play { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(24, 24, 27, .72); color: #FFFFFF; pointer-events: none; }
.apg-play::after { content: ""; position: absolute; left: 16px; top: 13px; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.apg-adb { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0 2px; }
.apg-adn { margin: 0; display: flex; gap: 8px; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 500; color: #18181B; }
.apg-adn > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apg-adk { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.apg-adk dt { font-size: 11px; color: #71717A; } .apg-adk dd { margin: 2px 0 0; font: 500 14px/1.2 "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; color: #18181B; }
.apg-gal > .apg-cr > .sd-panel.sd-inline { grid-column: 1 / -1; margin: 0; }
.apg-crd { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 16px 28px; align-items: start; }
.apg-crm { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #F4F4F5; }
.apg-crx { display: grid; gap: 16px; align-content: start; min-width: 0; }
.apg-crw { margin: 0; display: flex; gap: 10px; align-items: baseline; font-size: 14px; line-height: 1.45; color: #3F3F46; }
.apg-crc { margin: 0; font-size: 12px; color: #71717A; }
.apg-crx .avx-cs { max-width: 420px; } .apg-crx .avx-ck { max-width: 420px; } .apg-crx .avx-acts { margin: 0; }
@media (max-width: 640px) { .apg-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; } .apg-pic .avx-fmt { display: none; } .apg-adk { gap: 6px; } .apg-adk dd { font-size: 13px; }
  .apg-crd { grid-template-columns: minmax(0, 1fr); } .apg-crm { max-width: 300px; } .apg-acts .btn { min-height: 40px; } }
@media (prefers-reduced-motion: reduce) { .apg-pic { transition: none; } .apg-pic:active { transform: none; } }
.apg-pic .avx-serp { padding: 44px 14px 12px; align-content: start; }
/* Budgets (19 Nov 2026): the planner, then each campaign's daily budget with its steps, on one page */
.apg-bud { margin-top: 8px; }
.apg-dh { padding: 12px 6px 2px; } .apg-dh h2 { margin: 0; font: 600 18px/1.3 "Geist", system-ui, sans-serif; color: #18181B; } .apg-dh p { margin: 2px 0 0; font-size: 13px; color: #71717A; }
.apg-bud .abg-r { grid-template-columns: minmax(0, 1fr) 110px minmax(0, 440px); }
.apg-bud .abg-f { flex-wrap: wrap; justify-content: flex-end; }
.apg-bud .abg-money { flex: 0 1 132px; }
.apg-pre { order: -1; display: inline-flex; gap: 2px; padding: 2px; border-radius: 9px; background: #F4F4F5; }
body.u .apg-pre button { min-height: 36px; min-width: 54px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; box-shadow: none; color: #3F3F46; font: 500 12.5px/1 "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color 140ms var(--ease), transform 140ms var(--ease); }
body.u .apg-pre button:hover, body.u .apg-pre button.on { background: #FFFFFF; color: #18181B; }
body.u .apg-pre button:active { transform: scale(.97); }
.apg-bud .abg-call, .apg-bud .abg-call.raise, .apg-bud .abg-call.lower { background: none; padding: 0; }
.apg-why > summary { cursor: pointer; width: fit-content; margin-top: 2px; font-size: 12px; color: #71717A; }
@media (max-width: 760px) { .apg-bud .abg-r { grid-template-columns: minmax(0, 1fr) auto; } .apg-pre { flex: 1 1 100%; } body.u .apg-pre button { flex: 1; min-height: 40px; } .apg-bud .abg-money { flex: 1 1 120px; } }
@media (prefers-reduced-motion: reduce) { body.u .apg-pre button { transition: none; } body.u .apg-pre button:active { transform: none; } }
.apg-bud .abg-call { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; } .apg-why > summary { margin-top: 0; } .apg-why[open] { flex: 1 1 100%; }
.apg-bud .abg-lr .abg-u { grid-row: 1; grid-column: 4; }
@media (max-width: 760px) { .apg-bud .abg-lr .abg-u { grid-row: auto; grid-column: 1 / -1; justify-self: start; } }

/* ---- Home as a snapshot of the whole business (ui/home-snap.ts, 19 Nov 2026). Colours from DESIGN.md only;
   glass-cards.css maps them (node server/web/glass-cards.mjs). */
.hs { display: flex; flex-direction: column; gap: 8px; }
.hs-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 10px; background: #F4F4F5; color: #52525B; font-size: 11.5px; font-weight: 500; font-variant-numeric: tabular-nums; vertical-align: 1px; }
/* the top three, as cards: a coloured edge for how urgent, one big figure, a small picture, what to do, one button */
.hs-needs { display: flex; flex-direction: column; gap: 8px; }
.hs-needs .hs-sh { margin-top: 2px; }
.hs-ncs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body.u .u-c.hs-nc { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-top: 3px solid #A1A1AA; }
body.u .u-c.hs-nc.bad { border-top-color: #E5484D; } body.u .u-c.hs-nc.warn { border-top-color: #D97706; } body.u .u-c.hs-nc.good { border-top-color: #22A55B; }
.hs-nh { display: flex; align-items: center; gap: 8px; }
.hs-nn { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 11px; background: #18181B; color: #FFFFFF; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hs-kind { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #71717A; }
.hs-nh .hs-flag { margin-left: auto; }
.hs-flag.good { background: #DCF5E5; color: #156B3A; }
.hs-nt { margin: 0; font-size: 15px; font-weight: 600; color: #18181B; line-height: 1.35; }
.hs-nbig { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hs-nbig b { font-size: 30px; font-weight: 600; color: #18181B; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.1; }
.hs-nbig span { font-size: 13px; color: #52525B; }
.hs-ndo { margin: auto 0 0; font-size: 13px; color: #3F3F46; line-height: 1.45; padding-top: 10px; border-top: 1px solid #F1F1F3; }
.hs-ndo span { display: block; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #71717A; margin-bottom: 2px; }
.hs-nd { margin: -6px 0 0; font-size: 11.5px; color: #71717A; }
.hs-nact { display: flex; align-items: center; gap: 8px; }
.hs-nact form { margin: 0; }
.hs-nwhy { margin: 0; font-size: 13px; color: #52525B; line-height: 1.45; }
.hs-nmore { margin-left: auto; font-size: 13px; color: #2563EB; text-decoration: none; }
.hs-nmore:hover { text-decoration: underline; }
/* today's small jobs: rows in one card (19 Nov 2026, "the top 3 needs to be way smaller") */
.hs-jobs { display: block; height: auto; padding: 10px 16px 8px; margin-bottom: 12px; }
.hs-jh { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 0; }
.hs-jl { list-style: none; margin: 0; padding: 0; }
.hs-j { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid #F1F1F3; }
.hs-j:first-child { border-top: 0; }
.hs-ja { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #71717A; }
.hs-ja i { width: 7px; height: 7px; border-radius: 9px; background: #2563EB; flex: none; }
.hs-ja i[data-a="ads"], .hs-ja i[data-a="marketing"] { background: #8B5CF6; } .hs-ja i[data-a="stock"] { background: #D97706; } .hs-ja i[data-a="seo"] { background: #14B8A6; } .hs-ja i[data-a="operations"], .hs-ja i[data-a="profit"] { background: #E5484D; }
.hs-ja b { font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #156B3A; background: #DCF5E5; border-radius: 5px; padding: 1px 6px; }
.hs-jt { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.hs-jt b { font-size: 14px; font-weight: 500; color: #18181B; line-height: 1.35; }
.hs-jt span { font-size: 12.5px; line-height: 1.4; color: #71717A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-jv { display: flex; flex-direction: column; text-align: right; }
.hs-jv b { font-size: 14px; font-weight: 600; color: #156B3A; font-variant-numeric: tabular-nums; }
.hs-jv span { font-size: 11.5px; color: #71717A; white-space: nowrap; }
.hs-jb { display: flex; align-items: center; gap: 4px; }
.hs-jb form { margin: 0; }
.hs-jgo { min-height: 32px; padding: 0 14px; font-size: 13px; }
.hs-jx { width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: none; border-radius: 8px; color: #A1A1AA; cursor: pointer; }
.hs-jx svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (hover: hover) { .hs-jx:hover { background: #F4F4F5; color: #52525B; } }
.hs-jmore { display: inline-block; margin-top: 2px; font-size: 12.5px; color: #2563EB; text-decoration: none; }
@media (max-width: 760px) {
  /* a phone (21 Nov 2026, Ollie: "smaller. too much white space"): the area beside what it's worth, the job, then its figure
     beside the button, so each job is three short lines */
  .hs-jh > .u-dim { display: none; }
  .hs-j { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "a v" "t t" "e b"; gap: 2px 10px; padding: 9px 0; }
  .hs-jt { display: contents; }
  .hs-ja { grid-area: a; } .hs-jt > b { grid-area: t; } .hs-jt > span { grid-area: e; align-self: center; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .hs-jv { grid-area: v; flex-direction: row; align-items: baseline; gap: 5px; } .hs-jb { grid-area: b; }
  .hs-jb .hs-jgo { width: auto; flex: none; min-height: 34px; padding: 0 12px; }
}
.hs-note { margin: 0 0 10px; font-size: 13px; color: #156B3A; }
.hs-nact .u-btn { flex: 0 1 auto; }
.hs-dots { display: flex; flex-direction: column; gap: 6px; }
.hs-dg { display: grid; grid-template-columns: repeat(auto-fill, 9px); gap: 3px; }
.hs-dg i, .hs-dots .hs-sl i { display: block; width: 9px; height: 9px; border-radius: 2px; background: #CBD2DE; }
.hs-dg i.m, .hs-dots .hs-sl i.m { background: #E5484D; }
.hs-dots .hs-sl { margin: 0; flex-direction: row; gap: 14px; font-size: 11.5px; }
.hs-day { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 8px; align-items: stretch; }
.hs-day > .sum { margin: 0; }
body.u .u-c.hs-dc { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.hs-dc > .u-fs { border-bottom: 1px solid #F1F1F3; }
.hs-dc > .u-fs.hs-more .u-kpi { padding: 12px 18px; }
.hs-dchart { padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hs-dchart .hs-mini { height: 96px; flex: 1; min-height: 72px; }
.hs-sh { margin: 10px 2px 0; align-items: baseline; }
.hs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
/* a tile: a button the size of its card, opening its detail in place */
body.u .u-c.hs-t { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 16px 14px; text-align: left; font: inherit; color: inherit; cursor: pointer;
  transition: background-color 150ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1); }
.hs-t:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { body.u .u-c.hs-t:hover { background: #FAFAFA; } }
.hs-t:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }
.hs-t[aria-expanded="true"] { border-color: #2563EB; }
.hs-tl { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #71717A; min-height: 20px; }
.hs-flag { font-size: 11px; letter-spacing: 0; text-transform: none; height: 20px; padding: 0 7px; border-radius: 3px; display: inline-flex; align-items: center; font-weight: 500; }
.hs-flag.bad { background: #FDE3E1; color: #A1261F; }
.hs-flag.warn { background: #FEF3C7; color: #92400E; }
.hs-tv { font-size: 24px; font-weight: 600; color: #18181B; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.15; margin-top: 2px; }
.hs-tv.neg { color: #A1261F; }
.hs-ts { font-size: 12.5px; color: #52525B; margin-bottom: 8px; }
.hs-tw { font-size: 12.5px; color: #3F3F46; line-height: 1.45; margin-top: auto; padding-top: 10px; border-top: 1px solid #F1F1F3; }
/* the small pictures */
.hs-mini { display: block; width: 100%; height: 56px; }
.hs-mini rect { fill: #CBD2DE; }
.hs-mini rect.on { fill: #2563EB; }
.hs-mini rect.nil { fill: #F1F1F3; }
.hs-bars { display: flex; flex-direction: column; gap: 5px; }
.hs-br { display: grid; grid-template-columns: 74px minmax(0, 1fr) 62px; gap: 8px; align-items: center; font-size: 11.5px; color: #52525B; }
.hs-br .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-br .n { text-align: right; font-variant-numeric: tabular-nums; color: #18181B; white-space: nowrap; }
.hs-br.total { padding-top: 4px; border-top: 1px solid #F1F1F3; font-weight: 500; }
.hs-trk { position: relative; display: block; height: 6px; border-radius: 1px; background: #F1F1F3; }
.hs-trk.big { height: 8px; }
.hs-trk i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 1px; background: #CBD2DE; }
.hs-trk i.on { background: #2563EB; }
.hs-trk i.cmp { background: #D4D4D8; }
.hs-trk i.minus { background: #E5484D; }
.hs-trk i.kept { background: #8FE0B0; }
.hs-trk i.bad { background: #E5484D; }
.hs-trk i.warn { background: #D97706; }
.hs-mk { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: #18181B; }
.hs-mkl { margin: 2px 0 0; font-size: 11px; color: #71717A; }
.hs-split { display: flex; flex-direction: column; gap: 8px; }
.hs-sb { display: flex; gap: 2px; height: 8px; }
.hs-sb i { display: block; border-radius: 1px; min-width: 4px; }
.hs-sb .a, .hs-sl i.a { background: #2563EB; } .hs-sb .b, .hs-sl i.b { background: #14B8A6; }
.hs-sl { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #52525B; }
.hs-sl span { display: flex; align-items: center; gap: 6px; }
.hs-sl i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
.hs-sl b { margin-left: auto; font-weight: 500; color: #18181B; font-variant-numeric: tabular-nums; }
.hs-goal { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.hs-gl { display: flex; justify-content: space-between; gap: 8px; margin: 0; font-size: 12px; color: #52525B; }
/* the end row */
.hs-end { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: stretch; }
.hs-ask { display: flex; flex-direction: column; gap: 8px; }
.hs-ask .u-ask { margin-top: auto; }
/* the detail opens under the tile's row, across the grid */
.hs-grid > .sd-inline { grid-column: 1 / -1; }
@media (max-width: 1100px) { .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hs-end { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hs-ask { grid-column: 1 / -1; } }
@media (max-width: 900px) { .hs-day, .hs-ncs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .hs-grid, .hs-end, .hs-ncs { grid-template-columns: minmax(0, 1fr); }
  .hs-nact .u-btn, .hs-nact .u-btn2 { min-height: 40px; }
  .hs-dc > .u-fs { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; }
  .hs-dc > .u-fs > .u-kpi + .u-kpi { border-left: 1px solid #F1F1F3; border-top: 0; }
  .hs-dc > .u-fs > .u-kpi:last-child:nth-child(odd) { grid-column: auto; }
  .hs-dc > .u-fs > .u-kpi, .hs-dc > .u-fs.hs-more .u-kpi { padding: 12px 10px; }
  .hs-dc .u-fs.lead .u-kpi-v { font-size: 21px; } .hs-dc .u-fs.hs-more .u-kpi-v { font-size: 17px; }
  .hs-dc .u-fs .u-kpi-s { font-size: 11px; }
  .hs-br { grid-template-columns: 70px minmax(0, 1fr) 58px; }
  body.u .u-c.hs-t { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .hs-t:active { transform: none; } }
/* Studio's front page (19 Nov 2026): one box, four ads, the library */
.apg-st { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.apg-sth { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 4px 2px 0; }
.apg-sth h1 { margin: 0; font: 600 24px/1.2 "Geist", system-ui, sans-serif; letter-spacing: -0.01em; color: #18181B; }
.apg-stl { display: flex; flex-wrap: wrap; gap: 4px; } body.u .apg-stl a { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; color: #3F3F46; text-decoration: none; transition: background-color 140ms var(--ease); }
body.u .apg-stl a:hover { background: #F4F4F5; color: #18181B; }
.apg-kit { display: inline-flex; } .apg-kit i { width: 12px; height: 12px; border-radius: 50%; margin-left: -4px; outline: 1.5px solid #FFFFFF; background: #E4E4E7; } .apg-kit i:first-child { margin-left: 0; }
.apg-brief { display: grid; gap: 12px; padding: 18px; margin: 0; max-width: 860px; }
.apg-bl { font: 500 16px/1.3 "Geist", system-ui, sans-serif; color: #18181B; }
.apg-bf { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px; }
body.u .apg-bf select, body.u .apg-bf input { width: 100%; min-width: 0; min-height: 44px; }
.apg-br { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.apg-shape { display: inline-flex; gap: 2px; padding: 2px; border-radius: 9px; background: #F4F4F5; }
.apg-shape label { position: relative; cursor: pointer; } body.u .apg-shape input { position: absolute; opacity: 0; width: 100%; height: 100%; min-height: 0; margin: 0; cursor: pointer; }
.apg-shape span { display: grid; place-items: center; min-height: 36px; min-width: 62px; padding: 0 12px; border-radius: 7px; font-size: 12.5px; font-weight: 500; color: #52525B; transition: background-color 140ms var(--ease); }
.apg-shape input:checked + span { background: #FFFFFF; color: #18181B; } .apg-shape input:focus-visible + span { outline: 2px solid #2563EB; outline-offset: -2px; }
.apg-ideas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; padding: 0 6px; font-size: 12.5px; color: #71717A; }
body.u .apg-ideas a { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border-radius: 999px; background: #F4F4F5; color: #3F3F46; text-decoration: none; } .apg-ideas a b { font-weight: 500; color: #18181B; font-variant-numeric: tabular-nums; }
body.u .apg-ideas a:hover { background: #E4E4E7; }
.apg-dr { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 14px; grid-auto-flow: dense; align-items: start; }
.apg-dr.s1911 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.apg-dr > .apg-cr > .sd-panel.sd-inline { grid-column: 1 / -1; margin: 0; }
.apg-sta { position: relative; transition: transform 160ms var(--ease); } .apg-sta:active { transform: scale(.985); }
.apg-sta .u-ad, .apg-stv .u-ad { max-width: none; }
.apg-std { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 16px 28px; align-items: start; }
.apg-stx { display: grid; gap: 14px; align-content: start; min-width: 0; }
.apg-stf { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 13px; color: #3F3F46; }
.apg-stp { margin: 0; font-size: 14px; line-height: 1.5; color: #3F3F46; max-width: 60ch; }
.apg-stm { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.apg-stn { margin: 0; font-size: 12px; line-height: 1.5; color: #71717A; max-width: 60ch; }
.apg-lib { margin-top: 28px; } body.u .apg-br .u-btn { flex: 0 0 auto; width: auto; min-width: 140px; }
.apg-lb { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 12px; }
.apg-lb li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-content: start; }
.apg-lb .apg-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.apg-lib[data-views="draft"] .apg-lb li:not(.k-draft), .apg-lib[data-views="approved"] .apg-lb li:not(.k-approved) { display: none; }
@media (max-width: 760px) { .apg-bf { grid-template-columns: minmax(0, 1fr); } .apg-br .u-btn { flex: 1 1 100%; } .apg-shape { flex: 1 1 100%; } .apg-shape label { flex: 1; } .apg-shape span { min-height: 40px; min-width: 0; }
  .apg-dr, .apg-dr.s1911 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; } .apg-dr.s1911 { grid-template-columns: minmax(0, 1fr); } .apg-std { grid-template-columns: minmax(0, 1fr); } .apg-stv { max-width: 300px; }
  .apg-lb { grid-template-columns: repeat(2, minmax(0, 1fr)); } body.u .apg-stl a { min-height: 40px; } }
@media (prefers-reduced-motion: reduce) { .apg-sta { transition: none; } .apg-sta:active { transform: none; } }

/* ---- Marketing, all of it in one place (ui/marketing-all.ts, 19 Nov 2026). Colours from DESIGN.md only; glass-cards.css
   maps them (node server/web/glass-cards.mjs). Tables are u-t; the What to do rows and kind pills are the SEO app's. */
.mk .u-t .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk .u-t th[scope="row"] { font-weight: 400; }
.mk-cn { display: block; color: #18181B; max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk .u-t th[scope="row"] small { display: block; font-size: 11.5px; }
.mk .u-t th + th, .mk .u-t td + td, .mk .u-t th + td { padding-left: 14px; }
.mk-sh, .mk-sp { display: flex; align-items: center; gap: 8px; min-width: 150px; white-space: nowrap; }
.mk-sh .dw-bar, .mk-sp .dw-bar { flex: 1; max-width: 140px; height: 6px; margin: 0; }
.mk-sh .n, .mk-sp .n { min-width: 48px; text-align: right; }
body.u .mk .dw-b { fill: #CBD2DE; }
/* back for each 1 spent: a thin bar, the even point marked */
.mk-bb { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.mk-bt { position: relative; display: inline-block; width: 96px; height: 6px; border-radius: 1px; background: #F1F1F3; }
body.u .mk-bt > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 1px; background: #8FE0B0; }
body.u .mk-bt > i.bad { background: #E5484D; }
.mk-even { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: #3F3F46; border-radius: 1px; }
.mk-bv { font-variant-numeric: tabular-nums; color: #18181B; min-width: 44px; }
/* a row that opens in place */
.mk-evt tr.mk-open { cursor: pointer; transition: background-color .16s var(--ease); }
.mk-evt tr.mk-open th[scope="row"] .mk-cn::after { content: " ›"; color: #71717A; }
@media (hover: hover) and (pointer: fine) { .mk-evt tr.mk-open:hover { background: #FAFAFA; } }
.mk-evt tr.mk-open:focus-visible { outline: 2px solid #2563EB; outline-offset: -2px; }
/* the detail */
.mk-det { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.mk-say { margin: 0; font-size: 14px; line-height: 1.5; color: #3F3F46; max-width: 760px; }
.mk-say b { color: #18181B; font-weight: 600; }
.mk-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; border: 1px solid #EDEDEF; border-radius: 4px; }
.mk-tiles > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-left: 1px solid #F1F1F3; min-width: 0; }
.mk-tiles > div:first-child { border-left: 0; }
.mk-tiles .l, .mk-mf .l { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #71717A; }
.mk-tiles b { font-size: 18px; font-weight: 600; color: #18181B; font-variant-numeric: tabular-nums; }
.mk-tiles small, .mk-mf small { font-size: 12px; color: #71717A; }
.mk-det .u-tw { width: 100%; }
.mk-acts { display: flex; flex-wrap: wrap; gap: 8px; }
/* Email, SEO and Visitors in short */
.mk-minis { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: stretch; }
.mk-mini { display: flex; flex-direction: column; gap: 10px; }
.mk-mini .u-row-sb a { font-size: 12.5px; }
.mk-mf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; align-items: baseline; padding-top: 8px; border-top: 1px solid #F1F1F3; }
.mk-mf b { grid-row: 1 / span 2; grid-column: 2; font-size: 18px; font-weight: 600; color: #18181B; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .mk-evt th:nth-child(5), .mk-evt td:nth-child(5), .mk-evt th:nth-child(7), .mk-evt td:nth-child(7), .mk-evt th:nth-child(2), .mk-evt td:nth-child(2) { display: none; }
  .mk-act th:nth-child(3), .mk-act td:nth-child(3), .mk-act th:nth-child(4), .mk-act td:nth-child(4) { display: none; }
  .mk-st th:nth-child(3), .mk-st td:nth-child(3), .mk-st th:nth-child(2), .mk-st td:nth-child(2) { display: none; }
  .mk-cn { max-width: 150px; }
  .mk-bt { width: 56px; }
  .mk-act .mk-bt { width: 32px; } .mk-act .mk-cn { max-width: 118px; } .mk-act .mk-bb { gap: 6px; }
  .mk-sp .dw-bar { display: none; } .mk-sp, .mk-sh { min-width: 0; }
  body.u .u-t.mk-evt, body.u .u-t.mk-act, body.u .u-t.mk-st { min-width: 0; }
  .mk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-tiles > div:nth-child(3) { border-left: 0; } .mk-tiles > div:nth-child(n + 3) { border-top: 1px solid #F1F1F3; }
}
/* ---- Email: sales for every 1,000 sent, by kind (ui/email.ts perThousandCard, 19 Nov 2026) */
.e-pk-say { margin: 6px 0 4px; font-size: 14px; line-height: 1.5; color: #3F3F46; } .e-pk-say b { color: #18181B; font-weight: 600; }
.e-pk-rows { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) 36% 72px; gap: 10px 14px; align-items: center; }
.e-pk-rows li { display: contents; }
.e-pk-rows .t { color: #18181B; min-width: 0; } .e-pk-rows .t small { display: block; font-size: 12px; }
.e-pk-rows .dw-bar { display: block; width: 100%; height: 6px; }
.e-pk-rows .n { text-align: right; font-variant-numeric: tabular-nums; color: #18181B; }
body.u .e-pk-rows .dw-b { fill: #CBD2DE; } body.u .e-pk-rows li:first-child .dw-b { fill: #2563EB; }
@media (max-width: 640px) { .e-pk-rows { grid-template-columns: minmax(0, 1fr) 72px; } .e-pk-rows .dw-bar { grid-column: 1 / -1; } }
