/* Impact integration wireframes, advertiser console (2026-11-08).

   This stylesheet reproduces the Impact advertiser console's chrome as seen
   at demo.impact.com on 2026-11-08 (dark theme, a 64px icon rail, a 252px
   section nav, a 64px top bar, filter chips, cards, drawers) closely enough
   that a reviewer reads a page as a screen inside Impact, and then styles
   only what we add inside it: Licensed Quotes and its drawer, the Creative
   step of the Amplify flow, the Quote and Partner columns on Amplified
   Content, the by Quote report and the quotes under AI Source
   Opportunities. It is self contained: no web fonts, no remote assets, no
   reference to any other surface in the repo (the one sanctioned exception
   is the favicon lookup for a partner's logo, see CLAUDE.md). It shares
   nothing with the Geodesix design system on purpose: the pink, the lined
   tables and the icon rail do not carry into Impact (proposal, section 4,
   point 8).

   Unchanged Impact pages are not redrawn; the nav links them to
   demo.impact.com. */

:root {
  --bg: #1a1e25;
  --bar: #242931;
  --nav: #1e2329;
  --card: #222830;
  --card-2: #283039;
  --line: #2f3741;
  --line-2: #3a434f;
  --ink: #e8ebef;
  --ink-2: #c9d0d8;
  --muted: #9aa3ad;
  --faint: #6f7883;
  --blue: #3f86f0;
  --blue-dark: #2e6fd1;
  --blue-ink: #86b4ff;
  --active: #333c4b;
  --chip: #2b323b;
  --chip-on: #1f3a66;
  --ok: #2fbf71;
  --bad: #e35b5b;
  --warn: #e0a23a;
  --radius: 8px;
  --rail-w: 64px;
  --sec-w: 252px;
  --top-h: 64px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.45;
}
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }
button { font: inherit; }
q { quotes: none; }

/* The wireframe's own strip above Impact's chrome: which build is on screen.
   Drawn by nav.js on every page. */
.versionbar { background: #0f1216; color: #b9c2cc; font-size: 12px; padding: 6px 16px; border-bottom: 1px solid #000; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.versionbar b { color: #fff; }
.versionbar a { color: #b9c2cc; text-decoration: underline; }

/* Shell: rail, section nav, main. */
.shell { display: grid; grid-template-columns: var(--rail-w) var(--sec-w) minmax(0, 1fr); min-height: calc(100vh - 29px); }
.shell.no-sec { grid-template-columns: var(--rail-w) minmax(0, 1fr); }
.rail { background: var(--bar); border-right: 1px solid var(--line); padding: calc(var(--top-h) + 10px) 0 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; position: sticky; top: 0; height: calc(100vh - 29px); }
.rail .collapse { width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); border-radius: 8px; margin-bottom: 8px; }
.rail .collapse::after { content: ""; display: block; width: 20px; height: 20px; border: 1.6px solid currentColor; border-radius: 4px; box-shadow: inset 6px 0 0 -4.5px currentColor; }
.rail hr { width: 28px; border: 0; border-top: 1px solid var(--line-2); margin: 4px 0 10px; }
.rail a { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 60px; padding: 8px 2px 7px; border-radius: 10px; color: var(--muted); font-size: 10.5px; line-height: 1.15; text-align: center; text-decoration: none; }
.rail a svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rail a:hover { color: var(--ink); text-decoration: none; }
.rail a.active { color: var(--ink); }
.rail a.active .ic { background: var(--active); color: var(--blue-ink); }
.rail a .ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }

.secnav { background: var(--nav); border-right: 1px solid var(--line); padding: calc(var(--top-h) + 26px) 12px 26px; position: sticky; top: 0; height: calc(100vh - 29px); overflow: auto; }
.secnav a, .secnav .grp { display: block; padding: 9px 16px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none; }
.secnav a:hover { background: #262c35; text-decoration: none; }
.secnav a.active { background: var(--active); color: var(--blue-ink); }
.secnav .grp { cursor: default; }
.secnav .sub { margin: 0 0 4px; padding: 0; list-style: none; }
.secnav .sub a { font-size: 14px; font-weight: 600; padding: 7px 16px 7px 32px; }
.secnav .sub .sub a { padding-left: 48px; font-size: 13.5px; }
.secnav .sub .grp { padding-left: 32px; font-size: 14px; }
.secnav .sub .grp.caret::before { margin-left: -14px; }
.secnav a.new::after { content: "New"; margin-left: 8px; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 9px; background: var(--chip-on); color: var(--blue-ink); vertical-align: middle; }
.secnav .caret::before { content: "\203A"; display: inline-block; width: 14px; margin-left: -14px; color: var(--muted); transform: rotate(90deg); transform-origin: 40% 55%; }

.main { min-width: 0; }
.topbar { height: var(--top-h); background: var(--bar); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 0 16px 0 18px; position: sticky; top: 0; z-index: 5; margin-left: calc(-1 * (var(--rail-w) + var(--sec-w))); padding-left: 18px; width: calc(100% + var(--rail-w) + var(--sec-w)); }
.shell.no-sec .topbar { margin-left: calc(-1 * var(--rail-w)); width: calc(100% + var(--rail-w)); }
.topbar .program { display: inline-flex; align-items: center; gap: 10px; background: #12161b; border-radius: 22px; padding: 6px 14px 6px 8px; color: var(--ink); }
.topbar .program .mk { width: 28px; height: 28px; border-radius: 50%; background: #2b323b; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.topbar .program b { display: block; font-size: 14px; line-height: 1.1; }
.topbar .program small { display: block; color: var(--muted); font-size: 11px; }
.topbar .program .dd { color: var(--muted); margin-left: 4px; }
.topbar .spacer { flex: 1; }
.topbar .icons { display: flex; gap: 6px; align-items: center; }
.topbar .icons span { position: relative; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink-2); }
.topbar .icons svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.topbar .icons i { position: absolute; top: 4px; right: 3px; background: var(--bad); color: #fff; font-style: normal; font-size: 9.5px; font-weight: 700; min-width: 15px; height: 15px; border-radius: 8px; display: grid; place-items: center; padding: 0 3px; }
.topbar .balance { background: #12161b; border-radius: 22px; padding: 9px 14px; font-weight: 700; font-size: 14.5px; display: inline-flex; gap: 10px; align-items: center; }
.topbar .balance .dd { color: var(--muted); font-weight: 400; }
.topbar .avatar { width: 40px; height: 40px; border-radius: 50%; background: #12161b; display: grid; place-items: center; font-weight: 700; }

.content { padding: 28px 32px 60px; }
.content > h1, .pagehead h1 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.pagehead { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.pagehead .help { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--muted); color: var(--muted); font-size: 10px; display: inline-grid; place-items: center; font-weight: 700; margin-left: -6px; }
.pagehead .acts { margin-left: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.subtitle { color: var(--muted); font-size: 13px; margin: -16px 0 22px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 22px; padding: 10px 18px; font-size: 14px; font-weight: 600; border: 1px solid transparent; background: var(--chip); color: var(--ink); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #343c47; text-decoration: none; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); }
.btn.ghost { background: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--chip); }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn.link { background: none; color: var(--blue-ink); padding: 0; font-weight: 600; }
.btn .dd { font-size: 11px; opacity: .8; }

/* Account select (Recommended by Meta's ad account dropdown) */
.acctsel { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 240px; background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.acctsel .dd { color: var(--muted); }

/* Filter chips row, as Impact draws it */
.filterrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.filterrow .search { background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 14px; color: var(--muted); min-width: 240px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--chip); border-radius: 22px; padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; cursor: pointer; }
.chip.on { background: var(--chip-on); color: var(--blue-ink); }
.chip .n { font-weight: 500; color: inherit; opacity: .85; }
.chip .x { font-weight: 400; opacity: .7; }
.chip.date { background: var(--card); border: 1px solid var(--line-2); padding: 8px 12px; gap: 12px; }
.chip.date .cal { opacity: .7; }
.clear { color: var(--ink); font-weight: 600; font-size: 14px; padding: 0 6px; }

/* Pill tabs (Campaigns | Ad Sets | Ads) */
.pills { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 4px; gap: 2px; }
.pills a { padding: 8px 22px; border-radius: 20px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.pills a.active { background: var(--active); color: var(--ink); }
.pills a:hover { text-decoration: none; color: var(--ink); }
.pillbar { display: flex; justify-content: center; margin-bottom: 22px; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card h3 { margin: 0 0 14px; font-size: 16px; font-weight: 700; }
.card h3 small { color: var(--muted); font-weight: 500; font-size: 12.5px; margin-left: 8px; }
.card.pad0 { padding: 0; }
.cardrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 16px; }

/* Stat tiles (the report pages') */
.tiles { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tile { flex: 1 1 130px; background: var(--card-2); border-radius: 8px; padding: 14px 12px; text-align: center; }
.tile.sel { background: var(--active); }
.tile .l { color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.tile .v { font-size: 22px; font-weight: 700; margin-top: 2px; }
.tile .s { display: block; height: 10px; margin: 8px auto 0; width: 60%; border-radius: 3px; background: linear-gradient(90deg, transparent 0 20%, var(--blue) 20% 100%); clip-path: polygon(0 100%, 15% 30%, 35% 60%, 55% 20%, 75% 50%, 100% 10%, 100% 100%); }
.bigtile { background: var(--card-2); border-radius: 8px; padding: 16px 18px; }
.bigtile .l { color: var(--ink); font-weight: 700; font-size: 15px; }
.bigtile .sub { color: var(--muted); font-size: 12px; }
.bigtile .v { font-size: 30px; font-weight: 700; margin-top: 8px; }

/* Tables, as Impact's: flat, a hairline per row, muted header */
.rows { display: flex; align-items: center; gap: 14px; color: var(--ink-2); font-size: 14px; margin: 0 0 8px; }
.rows .right { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.rows .colpick { width: 18px; height: 14px; border: 1.6px solid var(--ink-2); border-radius: 2px; box-shadow: inset 6px 0 0 -4.5px var(--ink-2); }
.tablewrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th { text-align: left; font-weight: 700; color: var(--ink); padding: 14px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
table.data td { padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data th.num, table.data td.num { text-align: right; }
table.data tr.totals td { font-weight: 700; border-top: 1px solid var(--line-2); border-bottom: 0; }
table.data tr.sub td { background: var(--card); color: var(--muted); font-weight: 600; }
table.data a.row { color: var(--blue-ink); font-weight: 600; }
table.data .muted { color: var(--muted); }
table.data .under { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
table.data q { font-weight: 600; color: var(--ink); }
table.data td.quote { min-width: 260px; }
table.data .qtext { font-weight: 600; }
table.data .qtext a { color: var(--ink); }
.ent { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.ent .logo { width: 28px; height: 28px; border-radius: 50%; background: #39424e; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: var(--ink); position: relative; overflow: hidden; flex: none; }
.ent .logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.ent .logo.sq { border-radius: 6px; }
.ent .logo.lg { width: 44px; height: 44px; font-size: 13px; }
.thumb { width: 40px; height: 40px; border-radius: 6px; background: #39424e; object-fit: cover; display: block; }

/* Badges and states */
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; background: var(--chip); color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: rgba(47,191,113,.16); color: #6fdca0; }
.badge.warn { background: rgba(224,162,58,.16); color: #f0c46a; }
.badge.bad { background: rgba(227,91,91,.16); color: #f28b8b; }
.badge.dim { background: transparent; border: 1px solid var(--line-2); color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: middle; }
.dot.off { background: var(--faint); }
.dot.draft { background: transparent; border: 1.5px solid var(--muted); }
.dot.wait { background: #e0a23a; }
.dot.bad { background: #e35b5b; }
.badge.wait { background: rgba(224,162,58,.16); color: #f0c46a; }
.heat { border-radius: 4px; padding: 2px 6px; display: inline-block; min-width: 54px; text-align: right; }
.heat.h1 { background: rgba(47,191,113,.32); }
.heat.h2 { background: rgba(47,191,113,.16); }
.heat.h3 { background: transparent; }
.heat.h4 { background: rgba(227,91,91,.16); }
.heat.h5 { background: rgba(227,91,91,.32); }

/* Switch (Impact's is a plain iOS style toggle) */
.switch { display: inline-block; width: 40px; height: 22px; border-radius: 11px; background: #4a5461; position: relative; cursor: pointer; vertical-align: middle; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.switch[aria-checked="true"] { background: var(--blue); }
.switch[aria-checked="true"]::after { left: 21px; }

/* The empty-state illustration slot, as Recommended by Meta's */
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty b { display: block; color: var(--ink); font-size: 20px; margin-bottom: 8px; }

/* Setup strip (ours, dismissable, the shape of Impact's banners) */
.strip { display: flex; gap: 14px; align-items: center; background: var(--card-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px; }
.strip .ic { width: 36px; height: 36px; border-radius: 50%; background: var(--active); display: grid; place-items: center; color: var(--blue-ink); flex: none; }
.strip b { display: block; font-size: 14.5px; }
.strip span { color: var(--muted); font-size: 13px; }
.strip .acts { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.strip .close { color: var(--muted); font-size: 18px; line-height: 1; padding: 4px 6px; cursor: pointer; }

/* Drawer (the partner drawer's shape: a close button at the top left,
   prev and next at the right, a left column of identity and a right
   column with pill tabs) */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 20; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(980px, 92vw); background: var(--card); border-left: 1px solid var(--line-2); z-index: 21; display: flex; flex-direction: column; }
.drawer .dhead { height: 68px; display: flex; align-items: center; padding: 0 28px; border-bottom: 1px solid var(--line); gap: 10px; }
.drawer .dhead .close, .drawer .dhead .nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); font-size: 18px; background: transparent; cursor: pointer; }
.drawer .dhead .right { margin-left: auto; display: flex; gap: 8px; }
.drawer .dbody { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(380px, 1.2fr); flex: 1; min-height: 0; overflow: auto; }
.drawer .dleft { padding: 30px 32px; border-right: 1px solid var(--line); }
.drawer .dright { padding: 30px 32px; }
.drawer .qbig { font-size: 22px; font-weight: 700; line-height: 1.3; margin: 18px 0 10px; }
.drawer .qbig::before { content: "\201C"; color: var(--muted); }
.drawer .qbig::after { content: "\201D"; color: var(--muted); }
.drawer .arttitle { color: var(--ink-2); font-weight: 600; }
.drawer .arturl { color: var(--blue-ink); font-size: 13px; word-break: break-all; display: block; margin: 4px 0 18px; }
.drawer .dacts { display: flex; gap: 10px; margin: 16px 0 22px; flex-wrap: wrap; }
.drawer .facts { display: grid; grid-template-columns: 150px 1fr; gap: 14px 12px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.drawer .facts dt { color: var(--ink); font-weight: 700; margin: 0; }
.drawer .facts dd { margin: 0; color: var(--ink-2); }
.drawer .stat3 { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 8px; margin: 18px 0; }
.drawer .stat3 div { padding: 14px 16px; border-right: 1px solid var(--line); }
.drawer .stat3 div:last-child { border-right: 0; }
.drawer .stat3 .l { color: var(--muted); font-size: 12.5px; }
.drawer .stat3 .v { font-size: 20px; font-weight: 700; margin-top: 2px; }
.drawer .feature { width: 100%; aspect-ratio: 16/9; border-radius: 8px; object-fit: cover; background: #39424e; display: block; }
.drawer .pills { display: flex; width: 100%; }
.drawer .pills a { flex: 1; text-align: center; }
.drawer .sect { margin-top: 24px; }
.drawer .sect h4 { margin: 0 0 10px; font-size: 15px; }

/* Chart placeholder (Clicks vs Actions, the report charts) */
.chart { height: 220px; position: relative; }
.chart svg { width: 100%; height: 100%; display: block; }
.chart .axis { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.chart .leg { position: absolute; top: 0; right: 0; display: flex; gap: 16px; font-size: 12px; color: var(--muted); }
.chart .leg i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

/* The Amplify flow (Create Campaign): Campaign, Ad set and Ad, with the quotes offered in the Ad step. */
.flow { position: fixed; inset: 29px 0 0 var(--rail-w); background: var(--bg); z-index: 10; display: grid; grid-template-rows: 70px minmax(0, 1fr) 72px; }
.flow .fhead { display: flex; align-items: center; padding: 0 32px; border-bottom: 1px solid var(--line); position: relative; }
.flow .fhead .close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 18px; background: transparent; color: var(--ink); }
.flow .fhead h1 { position: absolute; left: 0; right: 0; text-align: center; font-size: 19px; margin: 0; pointer-events: none; }
.flow .fbody { display: grid; grid-template-columns: 240px minmax(320px, 1fr) minmax(360px, 1.1fr); min-height: 0; }
.flow .steps { padding: 20px 18px; border-right: 1px solid var(--line); }
.flow .steps a { display: block; padding: 10px 16px; border-radius: 8px; color: var(--ink); text-decoration: none; margin-bottom: 4px; }
.flow .steps a.active { background: var(--active); }
.flow .steps a.done { color: var(--muted); }
.flow .steps a.done::after { content: "\2713"; float: right; color: var(--ok); }
.flow .form { padding: 24px 28px; overflow: auto; border-right: 1px solid var(--line); }
.flow .form h2 { font-size: 15px; margin: 0 0 6px; }
.flow .form .hint { color: var(--muted); font-size: 12.5px; margin: 0 0 14px; }
.flow .preview { padding: 24px 28px; overflow: auto; }
.flow .preview h2 { font-size: 15px; margin: 0 0 12px; }
.flow .ffoot { border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 0 32px; }
.flow .ffoot .right { margin-left: auto; display: flex; gap: 10px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.field label small { color: var(--muted); font-weight: 500; margin-left: 8px; }
.field .in, .field select, .field input[type=text] { width: 100%; background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; color: var(--ink); font-size: 14px; min-height: 42px; }
.field .in.ph { color: var(--muted); }
.field .in.dd { display: flex; justify-content: space-between; align-items: center; }
.field .in.dd::after { content: "\2304"; color: var(--muted); }
.field input[type=range] { width: 100%; accent-color: var(--blue); }
.field input[type=color] { width: 36px; height: 30px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--card); padding: 2px; vertical-align: middle; }
.radios label, .checks label { display: flex; gap: 10px; align-items: center; font-weight: 500; margin: 8px 0; }
.radios input, .checks input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sep { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.ratios { display: flex; gap: 8px; margin-top: 12px; }
.ratios button { padding: 5px 10px; border-radius: 14px; background: var(--chip); font: inherit; font-size: 12px; color: var(--ink-2); border: 0; cursor: pointer; }
.ratios button.sel { background: var(--active); color: var(--ink); }

/* The rendered creative: the product photo with a plate of the quote and
   the publisher's mark (the Ads build's placement designer, in miniature). */
.creative { position: relative; aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; background: #39424e; max-width: 440px; }
.creative img { width: 100%; height: 100%; object-fit: cover; display: block; }
.creative .plate { position: absolute; left: 7%; right: 7%; bottom: 7%; padding: 14px 16px; border-radius: 8px; background: rgba(28,22,20,.68); backdrop-filter: blur(6px); color: #fff; }
.creative .plate q { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }
.creative .plate q::before { content: "\201C"; }
.creative .plate q::after { content: "\201D"; }
.creative .plate .src { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; opacity: .92; }
.creative .plate .src .mk { width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: 9px; font-weight: 800; }
.creative .plate .src .mk { position: relative; overflow: hidden; }
.creative .plate .src .mk img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.creative .plate .src .wordmark { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.creative.sm .plate .src .wordmark { font-size: 5.5px; letter-spacing: .1em; }
/* The credit in a corner of the advertiser's own image: nothing else is drawn over it. */
.creative .credit { position: absolute; right: 5%; bottom: 5%; display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 6px; background: rgba(20,16,14,.6); backdrop-filter: blur(4px); color: #fff; }
.creative .credit .src { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 12px; font-weight: 600; }
.creative .credit .src .mk { width: 18px; height: 18px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: 8px; font-weight: 800; position: relative; overflow: hidden; }
.creative .credit .src .mk img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.creative .credit .src .wordmark { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.creative.sm .credit { padding: 3px 5px; border-radius: 3px; }
.creative.sm .credit .src { font-size: 6px; gap: 3px; }
.creative.sm .credit .src .mk { width: 9px; height: 9px; font-size: 4px; }
.creative.sm .credit .src .wordmark { font-size: 6px; letter-spacing: .1em; }
.creative.sm { max-width: 160px; border-radius: 6px; }
.creative.sm .plate { padding: 6px 7px; border-radius: 4px; left: 6%; right: 6%; bottom: 6%; }
.creative.sm .plate q { font-size: 7.5px; }
.creative.sm .plate .src { font-size: 6px; margin-top: 3px; gap: 4px; }
.creative.sm .plate .src .mk { width: 9px; height: 9px; font-size: 4px; }
.variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 14px; }
.variants figcaption { color: var(--muted); font-size: 12px; margin-top: 6px; }
.variants figure { margin: 0; }
.variants figure.sel .creative { outline: 2px solid var(--blue); }

/* Report page chrome (Reports > Performance, AI Search Visibility) */
.reporthead { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.reporthead h1 { margin: 0; font-size: 26px; }
.reporthead .acts { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.what { color: var(--ink-2); font-size: 14px; margin: 0 0 18px; }
.what b { color: var(--ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.grid2 > .card { min-width: 0; }
.sect-title { font-size: 20px; font-weight: 700; text-decoration: underline; text-underline-offset: 6px; margin: 26px 0 14px; }

/* Small bar list (Top publishers by articles) */
.bars { display: grid; gap: 10px; }
.bars .b { display: grid; grid-template-columns: 150px 1fr 50px; gap: 12px; align-items: center; font-size: 13px; }
.bars .b .bar { height: 10px; border-radius: 5px; background: var(--chip); position: relative; }
.bars .b .bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--blue); }
.bars .b .n { text-align: right; }

/* Drawn against inert (2026-11-08, Evan: "highlight the pages that are
   clickable"). A nav item that opens a drawn page carries a dot and full
   ink; one whose page is Impact's and not drawn is muted and goes nowhere.
   Inside a page, a link to "#" (an Impact page we did not draw) reads as
   plain text rather than a link. */
.secnav a.inert, .rail a.inert { color: var(--faint); cursor: default; }
.secnav a.inert:hover, .rail a.inert:hover { background: transparent; color: var(--faint); text-decoration: none; }
.rail a.inert .ic { color: var(--faint); }
.secnav a.drawn { position: relative; }
.secnav a.drawn::before { content: ""; position: absolute; left: 5px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--blue-ink); }
.secnav .sub a.drawn::before { left: 20px; }
.secnav .sub .sub a.drawn::before { left: 36px; }
.rail a .ic { position: relative; }
.rail a.drawn .ic::after { content: ""; position: absolute; top: 1px; right: 1px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-ink); border: 2px solid var(--bar); }
.content td a[href="#"], .content dd a[href="#"], .content .under a[href="#"] { color: inherit; text-decoration: none; cursor: default; }
.content table.data a.row[href="#"] { color: var(--ink); }
.pthumb { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; background: #39424e; display: inline-block; vertical-align: middle; flex: none; }
.pthumb.lg { width: 44px; height: 44px; }
.ent .pthumb { margin-right: 0; }

/* Partner cards (Partners you'll love on the advertiser Dashboard; the pre-approved brands on the partner Home) */
.brandcards { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.brandcard { flex: 0 0 210px; border: 1px solid var(--line-2); border-radius: 8px; padding: 12px; }
.brandcard .pic { height: 120px; border-radius: 6px; background: #fff; display: grid; place-items: center; color: #222; font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.brandcard b { display: block; }
.brandcard span { display: block; color: var(--muted); font-size: 12px; }
.brandcard .pre { display: inline-block; background: var(--chip); border-radius: 12px; padding: 3px 10px; font-size: 11.5px; font-weight: 600; margin-bottom: 8px; }
.brandcard .pic img { width: 64px; height: 64px; }
a.tile { display: block; text-decoration: none; color: inherit; }
a.tile:hover { background: var(--active); text-decoration: none; }

/* Code boxes (the MCP server snippets) */
.codebox { background: #12161b; border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: var(--ink-2); overflow-x: auto; white-space: pre; margin: 8px 0 12px; }
.codehead { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.codehead b { font-size: 13.5px; }
.codehead .btn { margin-left: auto; }
.facts.conn { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; font-size: 14px; }
.facts.conn dt { font-weight: 700; margin: 0; }
.facts.conn dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.facts.conn code { overflow-wrap: anywhere; }
@media (max-width: 720px) { .facts.conn { grid-template-columns: 1fr; gap: 2px 0; } .facts.conn dd { margin-bottom: 10px; } }

/* Working filters (Impact batch 1): the chips are buttons, the search is a
   real input, and a chip opens a panel under it. */
button.chip { border: 0; font: inherit; font-weight: 600; font-size: 14px; color: var(--ink); }
button.chip .dd { font-size: 11px; opacity: .7; font-weight: 400; }
button.clear { background: none; border: 0; font: inherit; font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; padding: 0 6px; }
.filterrow { position: relative; }
.filterrow input.search { background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 14px; color: var(--ink); min-width: 240px; font-size: 14px; font: inherit; }
.filterrow input.search::placeholder { color: var(--muted); }
.fpanel { position: absolute; z-index: 15; min-width: 230px; max-width: 320px; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.fpanel .ftitle { font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 8px 6px; text-transform: uppercase; letter-spacing: .04em; }
.fpanel label { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px; border-radius: 6px; font-size: 14px; cursor: pointer; flex-direction: row-reverse; }
.fpanel label:hover { background: var(--active); }
.fpanel input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.fpanel .fact { display: flex; justify-content: space-between; border-top: 1px solid var(--line-2); margin-top: 6px; padding: 8px 8px 2px; }
.fpanel .fact button { background: none; border: 0; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
tr.opens { cursor: pointer; }
tr.opens:hover td { background: rgba(255,255,255,.03); }

/* A partner or brand mark anywhere (inside an entity cell the .ent rules refine it) */
.logo { width: 28px; height: 28px; border-radius: 50%; background: #39424e; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 700; color: var(--ink); position: relative; overflow: hidden; flex: none; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.logo.sq { border-radius: 6px; }

/* A variation's creative, small, beside its quote (the campaign page) */
.vthumb { width: 52px; flex: none; }
.vthumb .creative { display: block; width: 52px; }
.vthumb .creative .plate { display: block; }
.quote .qpub { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.ent.small .logo { width: 20px; height: 20px; font-size: 8px; }
.vthumb .creative.sm { max-width: 52px; border-radius: 6px; }
.vthumb .creative.sm .plate { padding: 3px 4px; left: 5%; right: 5%; bottom: 5%; border-radius: 3px; }
.vthumb .creative.sm .plate q { font-size: 3.5px; line-height: 1.2; }

/* A page with a second state (campaign-detail.html?new=1, a campaign just published) */
body.is-new .if-saved { display: none !important; }
body:not(.is-new) .if-new { display: none !important; }
/* The Ad step's Creative setup (Impact batch 1, after demo.geodesix.com/meta/creative-setup.html):
   extensions as switch rows, Publisher quotes opening its table, the Add
   quote to image panel, media groups and the feed preview. */
.extlist { border: 1px solid var(--line); border-radius: 8px; margin: 6px 0 12px; }
.ext { border-bottom: 1px solid var(--line); padding: 12px 14px; }
.ext:last-child { border-bottom: 0; }
.exthead { display: flex; align-items: center; gap: 14px; }
.exthead > span:first-child { flex: 1; min-width: 0; }
.exthead b { display: block; font-size: 14px; }
.exthead > span:first-child > span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.newtag { display: inline-block; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 9px; background: var(--chip-on); color: var(--blue-ink); vertical-align: middle; margin-left: 6px; }
.extnote { color: var(--ink-2); font-size: 13px; margin: 12px 0 10px; }
.qtabs { display: inline-flex; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 3px; margin-bottom: 10px; }
.qtabs button { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 16px; cursor: pointer; }
.qtabs button.active { background: var(--active); color: var(--ink); }
.qtable td.qcell { min-width: 0; }
.qtable .qtext2 { display: block; font-weight: 600; }
.qtable .qpub { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.qtable .qpub .logo { width: 20px; height: 20px; font-size: 8px; }
.qtable .ent { white-space: normal; }
.flow .fbody { grid-template-columns: 200px minmax(0, 1.25fr) minmax(340px, 1fr); }
.qtable tr.added td { background: rgba(63,134,240,.07); }
.qtable tr.added .qadd { background: var(--chip-on); color: var(--blue-ink); }
.qtable tr.added .qadd::before { content: "\2713  "; }
.assetcount { display: flex; justify-content: space-between; align-items: center; padding: 10px 2px; font-size: 14px; }
.assetcount span { font-weight: 700; }
.medgroup { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 8px; }
.medgroup b { font-size: 13.5px; }
.medgroup span { color: var(--muted); font-size: 12px; }
.medgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin-bottom: 14px; }
.med { display: block; aspect-ratio: 1/1; border-radius: 6px; overflow: hidden; background: #39424e; border: 2px solid transparent; }
.med.sel { border-color: var(--blue); }
.med img { width: 100%; height: 100%; object-fit: cover; display: block; }
.med.q .creative.sm { max-width: none; border-radius: 0; }
.med.q .creative.sm .plate { display: none; }
.med.q .creative.sm .credit { display: none; }
.med.q { display: grid; grid-template-rows: auto auto; aspect-ratio: auto; }
.medgrid.assets { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.med.q .creative.sm { aspect-ratio: 1/1; }
.med.q .medcap { display: block; padding: 7px 9px; text-align: left; font-size: 11.5px; line-height: 1.35; color: var(--ink); background: var(--card-2); }
.med.q .medcap b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.med.q .medcap span { display: block; color: var(--muted); font-size: 10.5px; margin-top: 2px; }
.med.q .medcap .wait { color: #f0c46a; }
.fbad { background: #fff; color: #1c1e21; border-radius: 8px; overflow: hidden; max-width: 440px; }
.fbad .fbhead { display: flex; gap: 10px; align-items: center; padding: 10px 12px; }
.fbad .fbhead b { display: block; font-size: 13.5px; }
.fbad .fbhead span span { display: block; font-size: 11.5px; color: #65676b; }
.fbad .fbtext { margin: 0; padding: 0 12px 10px; font-size: 13.5px; }
.fbad .creative { border-radius: 0; max-width: none; }
.fbad .fbfoot { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f0f2f5; }
.fbad .fbfoot > span:first-child { flex: 1; min-width: 0; }
.fbad .fbfoot .muted { display: block; font-size: 11px; color: #65676b; text-transform: uppercase; }
.fbad .fbfoot b { display: block; font-size: 13.5px; }
.fbad .fbfoot .btn { background: #e4e6eb; color: #1c1e21; }
.qpanel .qphead { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.qpanel .qphead h2 { margin: 0; flex: 1; }
.segpick { display: flex; gap: 6px; flex-wrap: wrap; }
.segpick button { border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 16px; cursor: pointer; }
.segpick button.sel { border-color: var(--blue); color: var(--ink); background: var(--chip-on); }
/* The four quote designs, three colors and three positions */
.creative { --qsize: 1; }
.creative .plate q { font-size: calc(17px * var(--qsize)); }
.creative.pos-top .plate { top: 7%; bottom: auto; }
.creative.pos-middle .plate { top: 50%; bottom: auto; transform: translateY(-50%); }
.creative.design-band .plate { left: 0; right: 0; border-radius: 0; }
.creative.design-band.pos-bottom .plate { bottom: 0; }
.creative.design-band.pos-top .plate { top: 0; }
.creative.design-minimal .plate { background: transparent; backdrop-filter: none; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.creative.design-sticker .plate { left: auto; right: 6%; max-width: 58%; transform: rotate(-3deg); border-radius: 12px; }
.creative.design-sticker.pos-middle .plate { transform: translateY(-50%) rotate(-3deg); }
.creative.col-light .plate { background: rgba(255,255,255,.86); color: #1c1614; }
.creative.col-light .plate .src .mk { background: #1c1614; color: #fff; }
.creative.col-brand .plate { background: rgba(200,16,46,.86); }
.creative.design-minimal.col-light .plate { background: transparent; color: #fff; }
.creative.sm .plate q { font-size: 7.5px; }

/* Create Campaign, working end to end (2026-11-09) */
span.creative { display: block; }
button.switch { border: 0; padding: 0; }
.flow .steps a.locked { color: var(--faint); cursor: default; }
.flow .steps a.done.locked::after { content: none; }
.flow .form section > h2:first-child { font-size: 17px; margin-bottom: 14px; }
.field textarea, .field input[type=number], .field input[type=date] { width: 100%; background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; color: var(--ink); font: inherit; font-size: 14px; min-height: 42px; color-scheme: dark; }
.field textarea { resize: vertical; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.field .invalid, .checks input.invalid { border-color: #e35b5b; }
.err { color: #f28b8b; font-size: 12.5px; margin: 6px 0 0; }
.radios { margin: 0 0 14px; }
.radios.inline { display: flex; gap: 22px; flex-wrap: wrap; margin: 0; }
.radios.inline label { margin: 4px 0; }
.objgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.field .objgrid label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; margin: 0; font-weight: 500; cursor: pointer; }
.objgrid label:has(input:checked) { border-color: var(--blue); background: var(--chip-on); }
.objgrid input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.objgrid b { display: block; font-size: 14px; }
.objgrid small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.summary .facts { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px 14px; margin: 0; font-size: 14px; }
.summary .facts dt { color: var(--muted); margin: 0; }
.summary .facts dd { margin: 0; overflow-wrap: anywhere; }
button.med { padding: 0; cursor: pointer; width: 100%; }
.qtable tr.running td { opacity: .7; }
.qtable button[disabled] { opacity: .6; cursor: default; }
.variants figure > button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.variants figure.old .creative { opacity: .6; }
.fbad[data-ratio="4:5"] .creative { aspect-ratio: 4/5; }
.fbad[data-ratio="9:16"] .creative { aspect-ratio: 9/16; max-height: 560px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.flowdone { position: absolute; inset: 70px 0 0; background: var(--bg); display: grid; place-items: start center; overflow: auto; padding: 48px 20px; z-index: 2; }
.donebox { width: 100%; max-width: 640px; text-align: center; }
.donebox h2 { font-size: 20px; margin: 14px 0 8px; }
.donebox .facts { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 14px; text-align: left; margin: 20px 0; font-size: 14px; }
.donebox .facts dt { color: var(--muted); margin: 0; }
.donebox .facts dd { margin: 0; }
.donebox .variants { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); text-align: left; }
.doneacts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.spin { width: 34px; height: 34px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tick { width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; background: rgba(47,191,113,.16); color: #6fdca0; display: grid; place-items: center; font-size: 24px; }
.toast { position: absolute; left: 50%; bottom: 88px; transform: translateX(-50%); background: var(--card-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 16px; font-size: 13.5px; box-shadow: 0 12px 30px rgba(0,0,0,.45); z-index: 3; white-space: nowrap; }
.newrow td { background: rgba(63,134,240,.07); }
table.data td.status { white-space: nowrap; }
.vthumb .creative .plate .src { display: none; }

/* The advertiser's own image on a quote ad, and its approval (2026-11-09) */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.upload { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; padding: 12px 14px; border: 1.5px dashed var(--line-2); border-radius: 8px; cursor: pointer; font-weight: 500; }
.upload:hover, .upload.over { border-color: var(--blue); background: var(--chip-on); }
.upload .upicon { width: 34px; height: 34px; border-radius: 8px; background: var(--chip); display: grid; place-items: center; font-size: 18px; flex: none; }
.upload b { display: block; font-size: 14px; }
.upload .muted { display: block; font-size: 12px; }
.approvenote { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; background: rgba(224,162,58,.1); color: var(--ink-2); font-size: 12.5px; line-height: 1.45; }
.wait { color: #f0c46a; }
.variants figcaption .wait, .donebox figcaption .wait { display: block; font-size: 11.5px; }
.segpick button[disabled] { opacity: .45; cursor: default; }
.reason { display: block; margin: 6px 0 0; padding: 6px 10px; border-left: 2px solid #e35b5b; color: var(--ink-2); font-size: 12.5px; line-height: 1.4; }

/* Phone and tablet */
@media (max-width: 1100px) {
  .shell { grid-template-columns: var(--rail-w) minmax(0, 1fr); }
  .secnav { display: none; }
  .topbar { margin-left: calc(-1 * var(--rail-w)); width: calc(100% + var(--rail-w)); }
  .flow .fbody { grid-template-columns: 200px minmax(0, 1fr); }
  .flow .preview { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .flow .fbody { overflow: auto; align-items: start; }
  .flow .form, .flow .preview { overflow: visible; }
  .flow .steps { position: sticky; top: 0; align-self: start; }
  .drawer .dbody { grid-template-columns: 1fr; }
  .drawer .dleft { border-right: 0; border-bottom: 1px solid var(--line); }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .shell, .shell.no-sec { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .topbar, .shell.no-sec .topbar { margin-left: 0; width: 100%; padding: 0 12px; gap: 8px; }
  .topbar .icons, .topbar .balance { display: none; }
  .content { padding: 18px 14px 50px; }
  .pagehead .acts { margin-left: 0; width: 100%; }
  .flow { left: 0; }
  .flow .fbody { grid-template-columns: minmax(0, 1fr); }
  .flow .steps { display: flex; gap: 6px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .flow .steps a { white-space: nowrap; margin: 0; }
  .flow .form { border-right: 0; }
  .flow .ffoot { padding: 0 14px; gap: 8px; }
  .flow .steps { background: var(--bg); z-index: 1; }
  .qtable th:nth-child(2), .qtable td:nth-child(2) { display: none; }
  .flow .ffoot [data-footnote] { display: none; }
  .summary .facts, .donebox .facts { grid-template-columns: 1fr; gap: 2px; }
  .summary .facts dd, .donebox .facts dd { margin-bottom: 8px; }
  .toast { white-space: normal; width: calc(100% - 28px); }
  .row2 { grid-template-columns: 1fr; }
  .drawer { width: 100vw; }
  .drawer .facts { grid-template-columns: 1fr; gap: 4px 0; }
  .drawer .facts dd { margin-bottom: 10px; }
  .btn, .chip, .acctsel, .filterrow .search { min-height: 44px; }
  .filterrow .search, .filterrow input.search { min-width: 0; flex: 1 1 140px; }
  .fpanel { max-width: calc(100vw - 28px); }
}

/* Impact batch 10 (2026-11-11): creators, and Content > On-site Quotes.
   A creator's avatar is initials on a warmer ground (no domain to look a
   logo up by). On-site Quotes draws the brand's own product page in
   light, as a shopper sees it, with the quotes in the five styles V1's
   Install tab offered (Plain, Card, Rule, Pull, Inline), the carousel as a
   row of them; the Installation ladder; and the page's own tabs. */
.ent .logo.creator { background: #5b3f6e; }
.tabpanel[hidden], .pickprod[hidden], .oq[hidden] { display: none; }
.pillbar.left { justify-content: flex-start; }
.utt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 20px; font-size: 14px; }
.utt code { font-size: 12.5px; }
.utt .muted { margin-left: auto; font-size: 13px; }
.ladder { display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin: 0 0 20px; overflow-x: auto; }
.ladder .rung { flex: 1 1 0; min-width: 150px; padding: 14px 16px; border-right: 1px solid var(--line); }
.ladder .rung:last-of-type { border-right: 0; }
.ladder .rung b { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ladder .rung span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.ladder .rung .ok { width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #0c1a12; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }
.ladder .when { flex: none; padding: 14px 16px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12.5px; white-space: nowrap; align-self: center; }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.choice label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; cursor: pointer; background: var(--card); }
.choice label:has(input:checked) { border-color: var(--blue); background: var(--chip-on); }
.choice input { margin-top: 3px; accent-color: var(--blue); }
.choice b { display: block; font-size: 14px; }
.choice span span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.pickprod { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin-top: 10px; }
.pickprod label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.pickprod input { accent-color: var(--blue); }

.formcard .field select, .formcard .field input[type=text] { max-width: 520px; }
.formacts { display: flex; gap: 10px; margin-top: 8px; }
.formacts .primary { margin-left: auto; }

/* The mock product page, light, as the shopper sees it. */
.pdp { background: #fff; color: #1d2026; border-radius: 8px; padding: 20px; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
.pdp .pimg { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: #eee; }
.pdp h5 { margin: 0 0 4px; font-size: 18px; font-family: Georgia, serif; }
.pdp .price { color: #555; font-size: 14px; margin-bottom: 14px; }
.pdp .buy { display: inline-block; background: #1d2026; color: #fff; border-radius: 20px; padding: 7px 16px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.oqrow { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.oq { flex: 0 0 210px; font-size: 13px; line-height: 1.4; color: #1d2026; }
.oq q { display: block; quotes: none; }
.oq .by { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #555; }
.oq .by img { width: 16px; height: 16px; border-radius: 50%; }
.single .oq { flex-basis: auto; max-width: 420px; }
.st-plain .oq { padding: 0; }
.st-card .oq { background: #f6f4f1; border: 1px solid #e6e1da; border-radius: 8px; padding: 12px 14px; }
.st-rule .oq { border-left: 3px solid #1d2026; padding: 2px 0 2px 12px; }
.st-pull .oq { font-family: Georgia, serif; font-size: 16px; font-style: italic; text-align: center; padding: 6px 10px; }
.st-pull .oq .by { justify-content: center; font-style: normal; }
.st-inline .oq { display: flex; gap: 8px; align-items: baseline; flex-basis: 300px; }
.st-inline .oq .by { margin: 0; white-space: nowrap; }
@media (max-width: 720px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp .pimg { max-width: 180px; }
  .utt .muted { margin-left: 0; width: 100%; }
}

/* Impact batch 11 (2026-11-11): the Create menu, use tags, partner marks,
   the product typeahead and list, the per product quote picker, and the
   on-site preview by type (a placement beside the buy box, a carousel on a
   row of its own under the product), with its styles and controls. */
details.menubtn { position: relative; display: inline-block; }
details.menubtn > summary { list-style: none; cursor: pointer; }
details.menubtn > summary::-webkit-details-marker { display: none; }
details.menubtn .menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px; z-index: 30; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
details.menubtn .menu a, details.menubtn .menu span { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); font-size: 14px; text-decoration: none; white-space: nowrap; }
details.menubtn .menu a:hover { background: var(--chip); }
details.menubtn .menu span { color: var(--muted); cursor: default; }
details.menubtn .menu small { display: block; color: var(--muted); font-size: 12px; }
.usetags { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.usetag { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11.5px; font-weight: 600; background: var(--chip); color: var(--ink-2); white-space: nowrap; }
.marks { display: inline-flex; align-items: center; }
.marks .logo { width: 24px; height: 24px; font-size: 9px; border: 2px solid var(--bg); margin-left: -6px; }
.marks .logo:first-child { margin-left: 0; }
.marks b { margin-left: 8px; font-weight: 600; }
.ta { position: relative; max-width: 520px; }
.ta input { width: 100%; background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; color: var(--ink); font-size: 14px; }
.ta .sugg { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; padding: 4px; z-index: 20; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.ta .sugg button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.ta .sugg button:hover, .ta .sugg button.on { background: var(--chip); }
.ta .sugg .none { padding: 8px 10px; color: var(--muted); font-size: 13px; }
.prodlist { margin: 10px 0 0; max-width: 520px; border: 1px solid var(--line); border-radius: 8px; }
.prodlist:empty { display: none; }
.prodlist .pr { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line); font-size: 14px; }
.prodlist .pr:first-child { border-top: 0; }
.prodlist .pr button { margin-left: auto; }
.qpick { border: 1px solid var(--line); border-radius: 8px; margin-top: 10px; }
.qpick details { border-top: 1px solid var(--line); }
.qpick details:first-child { border-top: 0; }
.qpick summary { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; font-size: 14px; font-weight: 600; }
.qpick summary .n { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 13px; }
.qpick .ql { padding: 4px 12px 12px 54px; }
.qpick .ql label { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 13.5px; }
.qpick .ql input { accent-color: var(--blue); margin-top: 3px; }
.qpick .ql .k { color: var(--muted); font-size: 12px; display: block; }
.qpick .ql h6 { margin: 8px 0 2px; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ctlgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 18px; margin: 14px 0 18px; }
.ctlgrid .field { margin: 0; }
.ctlgrid select { width: 100%; background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 10px; color: var(--ink); font-size: 14px; }

/* The preview: a placement sits under the buy button; a carousel is a row
   of its own under the product. */
.pdp2 { background: #fff; color: #1d2026; border-radius: 8px; padding: 20px; --acc: #1d2026; font-size: 13px; }
.pdp2 .top { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
.pdp2 .pimg { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: #eee; }
.pdp2 h5 { margin: 0 0 4px; font-size: 18px; font-family: Georgia, serif; }
.pdp2 .desc { color: #555; font-size: 12.5px; line-height: 1.5; margin: 0 0 12px; }
.pdp2 .buy { display: inline-block; background: #1d2026; color: #fff; border-radius: 20px; padding: 7px 16px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.pdp2 .row { border-top: 1px solid #eee; margin-top: 18px; padding-top: 16px; }
.pdp2 .row h6 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #555; }
.pdp2.font-serif .q { font-family: Georgia, serif; }
.pdp2.font-sans .q { font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; }
.q { color: #1d2026; line-height: 1.45; }
.q q { display: block; quotes: none; }
.q .by { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; color: #555; }
.q .by .wm { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.q .by img { width: 16px; height: 16px; border-radius: 50%; background: #ddd; }
.q[hidden] { display: none; }
/* Placement styles */
.ps-plain .q { padding: 0; }
.ps-card .q { background: #f6f4f1; border: 1px solid #e6e1da; border-radius: 8px; padding: 12px 14px; }
.ps-rule .q { border-left: 3px solid var(--acc); padding: 2px 0 2px 12px; }
.ps-pull .q { font-style: italic; font-size: 1.15em; text-align: center; padding: 6px 10px; }
.ps-pull .q .by { justify-content: center; font-style: normal; }
.ps-inline .q { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ps-inline .q .by { margin: 0; }
/* Carousel styles */
.crow { display: flex; align-items: center; gap: 10px; }
.crow .arr { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #ddd; display: grid; place-items: center; color: #555; font-size: 16px; }
.crow .track { display: grid; grid-template-columns: repeat(var(--per, 3), minmax(0, 1fr)); gap: 12px; flex: 1; min-width: 0; }
.cs-cards .q { background: #f6f4f1; border: 1px solid #e6e1da; border-radius: 8px; padding: 12px 14px; }
.cs-quotes .track { gap: 0; }
.cs-quotes .q { padding: 4px 14px; border-left: 1px solid #e6e1da; }
.cs-quotes .q:first-child { border-left: 0; padding-left: 0; }
.cs-spot .track { grid-template-columns: 1fr; text-align: center; }
.cs-spot .q { font-family: Georgia, serif; font-style: italic; font-size: 1.3em; padding: 6px 30px; }
.cs-spot .q .by { justify-content: center; font-style: normal; font-size: 11px; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #ccc; }
.dots i:first-child { background: var(--acc); }
@media (max-width: 720px) {
  .pdp2 .top { grid-template-columns: 1fr; }
  .pdp2 .pimg { max-width: 160px; }
  .crow .track { grid-template-columns: 1fr; }
  .qpick .ql { padding-left: 14px; }
}
.xbtn { width: 22px; height: 22px; border-radius: 5px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--ink); font: inherit; font-size: 14px; line-height: 1; cursor: pointer; flex: none; display: inline-grid; place-items: center; padding: 0; }
tr.subrow > td { background: var(--card-2); padding: 6px 12px 12px; }
table.data.sub { margin: 0; }
table.data.sub th, table.data.sub td { font-size: 13px; }

/* Impact batch 12 (2026-11-11): a nav group holding no drawn page reads as
   inert, as its items do (Evan: "Why is Amplification bolded?"); a menu in
   the quote drawer's action row opens from the button's left edge, since
   the drawer's left column has no room to its left (Evan: "the dropdown is
   being cut off on the left side"). */
.secnav .grp.inert { color: var(--faint); font-weight: 500; }
.drawer .dacts details.menubtn .menu { left: 0; right: auto; }
@media (max-width: 720px) {
  .drawer .dacts { position: relative; }
  .drawer .dacts details.menubtn { position: static; }
  .drawer .dacts details.menubtn .menu { left: 0; right: auto; max-width: 100%; }
  .drawer .dacts details.menubtn .menu a, .drawer .dacts details.menubtn .menu span { white-space: normal; }
}
/* The drawer's columns take no more than their share, so a wide table in
   them scrolls inside its own wrapper rather than widening the drawer past
   the screen (Impact batch 12: on a phone the quote drawer was 964px wide). */
.drawer .dleft, .drawer .dright { min-width: 0; }
.drawer .tablewrap { overflow-x: auto; }

/* Impact batch 13: the quote picker's group headings name what a quote is related to, so they read as written rather than in capitals, and the product's own quotes come first with no heading. */
.qpick .ql h6 { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 600; }

/* Impact batch 15: Partial, a campaign with an ad held for a partner's approval. */
.dot.part { background: linear-gradient(90deg, var(--ok) 50%, #e0a23a 50%); }
