/* fonts.css is linked from base.html, ahead of this file, with the two latin faces preloaded */
:root{
  --bg:#060607;--bg2:#101012;--card:#1A1A1D;--line:#26262B;--line2:#3A3A40;--ink:#F5F4F2;--ink2:#9A9893;--ink3:#8A8884;
  --tile:#101012;--acc:#FF6238;--acc-tint:#FF8A66;--acc-deep:#B8371A;--acc-surface:rgba(255,98,56,.26);
  /* --ink3 was #6A6862: 3.1:1 on a card, below AA at the 11-12.5px it is used at. */
  --control:#63636D;      /* an unchecked control is identified by its outline alone, so it carries the 3:1 floor (WCAG 1.4.11) */
  --unsure:#8AA6CC;       /* the one cool hue: the judge was not certain. Never used for anything else, and never alone - a word always says the same thing. */
  /* Delivery intensity, not a verdict: how concentrated winners are in a matrix field. Warm, because it is the accent thickening - green/red here would read as performance, which this data cannot support. */
  --heat5:#8F3A24;--heat4:#6E2C1D;--heat3:#3D1912;--heat2:#1A1A1D;--heat1:#0C0C0E;--heat-thin-a:#141416;--heat-thin-b:#0A0A0B;
  --display:'Manrope','Inter',system-ui,sans-serif;--ui:'Inter',system-ui,sans-serif;--mono:ui-monospace,'SF Mono',Menlo,monospace;
  --pad:77px;--max:1442px;
}
*{box-sizing:border-box}
html{background:var(--bg);color:var(--ink);font:400 15px/1.55 var(--ui);-webkit-font-smoothing:antialiased}
body{margin:0;min-height:100vh}
h1,h2,h3,p{margin:0}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}
input,textarea,select{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--acc);outline-offset:3px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--pad)}
/* the keyboard's way past the nav and the scope bar: off-screen until it is focused, then it sits over the header */
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--acc);color:var(--bg);font:600 14px/1 var(--ui);padding:14px 20px}
.skip:focus{left:0}
.muted{color:var(--ink2)}.dim{color:var(--ink3)}.acc{color:var(--acc)}.small{font-size:12.5px}.tiny{font-size:11.5px}
.num{font-family:var(--display);font-weight:700;letter-spacing:-.02em}
.kicker{font-size:13px;color:var(--ink2)}.kicker b{color:var(--ink);font-weight:600}.kicker:before{content:"/";color:var(--ink3);margin-right:7px}.kicker i{font-style:normal;font-weight:400;color:var(--ink3);margin:0 8px}.kicker b a:hover{color:var(--acc)}
.display{font:800 56px/1.06 var(--display);letter-spacing:-.025em}
.display-lg{font:700 32px/1.15 var(--display);letter-spacing:-.02em}
.h2{font:700 24px/1.2 var(--display);letter-spacing:-.015em}
.lede{font-size:16px;line-height:1.6;color:var(--ink2);max-width:640px}
hr.rule{border:0;border-top:1px solid var(--line);margin:0}

/* ---- top nav + scope bar */
.nav{border-bottom:1px solid var(--line);position:sticky;top:0;z-index:36;background:var(--bg)}  /* 36 > .panel (35): the nav's menus (settings, account) open over the creative detail */
.nav .wrap{display:flex;align-items:center;height:61px;gap:24px}
/* wordmark 10a: Manrope 800, -0.045em; square 0.15em, its top 0.15em below the box top (= the b's top), on the e's right edge. Below 20px the square is solid 3px (2px below 16px); from 20px up letters and square carry 1px/3px scanlines at 32 % */
.logo{display:inline-flex;font:800 18px/1 var(--display);letter-spacing:-.045em;color:var(--ink)}
.logo .e{position:relative;display:inline-block;padding-right:.2em}.logo .e i{position:absolute;right:0;top:3px;width:3px;height:3px;background:var(--acc)}
.logo.sm{font-size:14px;letter-spacing:-.04em}.logo.sm .e i{top:2px;width:2px;height:2px}
.logo.lg{letter-spacing:-.055em;color:transparent;-webkit-background-clip:text;background-clip:text;background-color:var(--ink);background-image:repeating-linear-gradient(0deg,rgba(6,6,7,.32) 0 1px,transparent 1px 3px)}
.logo.lg .e i{right:.01em;top:.15em;width:.15em;height:.15em;background-color:var(--acc);background-image:repeating-linear-gradient(0deg,rgba(6,6,7,.32) 0 1px,transparent 1px 3px)}
/* template: nav items 14px/600, same size as Account and the scope bar; the current screen is marked by colour alone (the template's accent underline was dropped) */
.nav nav{display:flex;flex:1;margin-left:16px;gap:28px;align-self:stretch;font:600 14px/1 var(--ui)}
.nav .navend{display:flex;align-items:center;gap:24px;margin-left:auto;padding-left:24px;font-weight:400;font-size:14px;color:var(--ink2)}
.nav .navend a{display:flex;align-items:center;gap:8px;color:var(--ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(22vw,260px)}.nav .navend a:hover{color:var(--ink)}.nav .navend b{color:var(--ink);font-weight:600}
.nav nav a{display:flex;align-items:center;color:var(--ink2)}.nav nav a:hover{color:var(--ink)}
.nav nav a.on{color:var(--ink)}
.nav .right{margin-left:auto;display:flex;align-items:center;gap:24px;padding-left:0;font-size:14px;color:var(--ink2)}.nav .right b{color:var(--ink);font-weight:500}.nav .right .caret{font-size:9px;color:var(--ink3);margin-left:3px}
.btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px;font:600 15px/1.2 var(--ui);padding:12px 24px;border:1px solid var(--line2);transition:.15s;white-space:nowrap}
.btn:hover{background:var(--acc);border-color:var(--acc);color:var(--bg)}
.btn.primary{background:var(--acc);border-color:var(--acc);color:var(--bg)}.btn.primary:hover{background:var(--ink);border-color:var(--ink)}
.btn.sm{padding:8px 18px;font-size:14px}
.link{color:var(--acc);font-weight:600;white-space:nowrap}
/* One hover for every orange link: white. A lighter orange reads as the same colour at 12px, so it did not say "this   is under the cursor" - and .acc links said nothing at all. */
.link:hover,a.acc:hover,.allads:hover{color:var(--ink)}.link:after{content:"\00a0→"}   /* a non-breaking space: the arrow belongs to the last word, never alone on the next line */
.link.ext:after{content:"\00a0↗"}.link.plain:after{content:""}
/* scope bar as in template 13: a row of cells divided by hairlines - label grey, value white, a thin chevron - and the search as the last cell on the right, no pill */
.scope{border-bottom:1px solid var(--line);background:var(--bg);position:sticky;top:61px;z-index:29}  /* 61 = the menu row's height without its border: 1px of overlap, so no sub-pixel gap can show the page through the seam */
.scope .wrap{display:flex;align-items:stretch;height:54px;gap:0;font-size:14px}
.scope details{position:relative;display:flex;border-right:1px solid var(--line)}.scope details:first-child summary{padding-left:0}
.scope details:last-of-type{border-right:0}   /* the search cell's own left border is the divider here; both would show as a double line once the row fills up */
.scope summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:0 22px;font:400 14px/1 var(--ui);color:var(--ink2);white-space:nowrap;transition:color .15s}
.scope summary::-webkit-details-marker{display:none}.scope summary b{color:var(--ink);font-weight:600;margin-left:1px}
.scope summary:after{content:"";width:6px;height:6px;margin:-4px 2px 0 8px;border-right:1.5px solid var(--ink2);border-bottom:1.5px solid var(--ink2);transform:rotate(45deg);transition:transform .15s,border-color .15s,margin .15s}
.scope summary:hover{color:var(--ink)}.scope summary:hover:after,.scope details[open] summary:after{border-color:var(--ink)}.scope details[open] summary:after{transform:rotate(-135deg);margin-top:3px}
.scope details[open]{background:var(--bg2)}.scope details[open]:first-child{box-shadow:-22px 0 0 var(--bg2)}
.scope .menu{position:absolute;top:calc(100% + 6px);left:0;background:var(--card);border:1px solid var(--line2);border-radius:0;padding:6px;min-width:230px;max-height:420px;overflow:auto;z-index:40;box-shadow:0 18px 40px rgba(0,0,0,.5)}
.scope details:first-child .menu{left:-10px}
.scope .menu a{display:flex;justify-content:space-between;gap:16px;padding:7px 10px;border-radius:0;color:var(--ink2);white-space:nowrap}.scope .menu a:hover{background:var(--line);color:var(--ink)}.scope .menu a.on{color:var(--ink);font-weight:600}
.scope .menu a span{color:var(--ink3);font-size:12px}
.search{margin-left:auto;display:flex;align-items:center;gap:12px;border:0;border-left:1px solid var(--line);border-radius:0;height:auto;padding:0 0 0 24px;flex:1 1 400px;min-width:150px;max-width:400px;font-size:14px;box-shadow:inset 0 -1px 0 transparent;transition:box-shadow .15s}
.search:focus-within{box-shadow:inset 0 -2px 0 var(--acc)}.search .ico{width:15px;height:15px;flex:none;color:var(--ink2);transition:color .15s}
.search:focus-within .ico{color:var(--acc)}
.search input{flex:1;background:none;border:0;outline:0;min-width:0;height:100%}.search input::placeholder{color:var(--ink2)}
.search label{display:flex;align-items:center;gap:5px;color:var(--ink2);font-size:12px;white-space:nowrap;cursor:pointer}.search input[type=checkbox]{accent-color:var(--acc);margin:0}

/* ---- page head */
.head{padding:56px 0 28px}.head .display{margin:22px 0 22px;max-width:760px}
/* Brands: the heading and "missing a brand?" share the top line, so the form is the first thing a
   reader sees rather than something they find after scrolling a long table. */
.headrow{display:flex;gap:56px;align-items:flex-start;justify-content:space-between}
.headrow .head{flex:1 1 auto;min-width:0}
/* Closed it is one line on the breadcrumb's baseline; open it drops the explanation and the field
   beneath itself without moving the heading. */
.headrow .addbrand{flex:0 0 320px;margin:56px 0 0;padding-top:0;border-top:0;max-width:320px}
.headrow .addbrand>summary{display:flex;align-items:center;justify-content:flex-end;gap:14px;cursor:pointer;list-style:none;font-size:13px;color:var(--ink)}
.headrow .addbrand>summary::-webkit-details-marker{display:none}
.headrow .addbrand>summary b{font-weight:600;color:var(--ink)}
.headrow .addbrand>summary .btn{transition:.15s}
/* No hover rule of its own: `.btn:hover` already lights this button when the pointer is on IT. What was here
   fired from the whole summary, so hovering the question lit the button and read as if the words were the
   control. The summary still toggles on click - only the highlight is narrower. */
/* Open, the form below carries its own "Add brand", so the one in the summary would be the second button
   for the same thing - and the one that does not submit. The question stays as the way to fold it back. */
.headrow .addbrand[open]>summary .btn{display:none}
.headrow .addbrand>p{margin:14px 0 14px}
.meta{font-size:13px;color:var(--ink2);margin-top:14px}
.notice{border:1px solid var(--line2);border-radius:0;padding:18px 20px;display:flex;gap:18px;max-width:800px;margin-top:24px;font-size:14.5px;color:var(--ink2)}.notice b{color:var(--ink);white-space:nowrap;font-weight:600}
/* The second free report (_report_existing.html): solid orange, the page's loudest block, because it is the offer. Dark ink on
   the accent is 6.9:1; the button turns dark so it reads as the one action on orange. */
.rx-existing{display:flex;justify-content:space-between;align-items:end;gap:28px 48px;margin-top:32px;padding:36px 40px;background:var(--acc);color:var(--bg)}
.rx-existing-kicker{font-size:13px}.rx-existing-kicker b{font-weight:700}.rx-existing-kicker i{font-style:normal;margin:0 8px;opacity:.6}
.rx-existing h2{font:800 clamp(28px,3.4vw,44px)/1.05 var(--display);letter-spacing:-.03em;margin:12px 0 14px;max-width:760px}
.rx-existing p{font-size:17px;line-height:1.5;max-width:680px;font-weight:500}
.rx-existing ul{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:6px;font-size:14.5px}
.rx-existing li:before{content:"/";margin-right:9px;opacity:.6}
.rx-existing-act{display:flex;flex-direction:column;align-items:start;gap:14px;flex:none}
.rx-existing .btn{background:var(--bg);border-color:var(--bg);color:var(--ink);font-size:16px;padding:15px 28px}.rx-existing .btn:hover{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.rx-existing-more{font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.rx-existing a:focus-visible{outline-color:var(--bg)}
@media (max-width:760px){.rx-existing{flex-direction:column;align-items:start;padding:26px 22px}}
.tabs{display:flex;gap:44px;border-bottom:1px solid var(--line);align-items:flex-end;margin-top:22px}
.tabs a{padding:0 0 12px;color:var(--ink2);font-weight:500;font-size:16px;border-bottom:1px solid transparent;margin-bottom:-1px}
/* Full-strength ink is the pointer's feedback, so the selected tab does not wear it: it is already marked by weight and the accent rule under it, and a permanently bright label made hovering the others look like nothing happened. */
.tabs a.on{font-weight:600;border-color:var(--acc)}.tabs a:hover{color:var(--ink)}
.tabs a small{color:var(--ink3);font-weight:400;margin-left:8px;font-size:12.5px}.tabs .note{margin-left:auto;font-size:12.5px;color:var(--ink2);padding-bottom:12px}

/* ---- layout with facet rail */
.railtoggle{display:none}   /* only the narrow layout folds the rail; see the small-screen section */
.cols{display:grid;grid-template-columns:212px minmax(0,1fr);gap:48px;padding:34px 0 80px}
main.swapping .results,main.swapping .grid,main.swapping .band{opacity:.5;transition:opacity .12s .08s}main.swapping{cursor:progress}
.rail{font-size:13px;position:sticky;top:130px;align-self:start;max-height:calc(100vh - 150px);overflow:auto;padding-right:6px}
.rail .top{display:flex;justify-content:space-between;align-items:baseline;padding-bottom:14px;border-bottom:1px solid var(--line)}.rail .top a{color:var(--ink2);font-size:12px}.rail .top a:hover{color:var(--acc)}
.facet{border-bottom:1px solid var(--line);padding:12px 0}.facet summary{list-style:none;cursor:pointer;font-weight:600;display:flex;justify-content:space-between}.facet summary::-webkit-details-marker{display:none}
.facet summary:after{content:"▼";color:var(--ink3);font-size:9px;transform:rotate(-90deg);transition:transform .15s}.facet[open] summary:after{transform:none}.facet summary:hover:after{color:var(--ink)}.facet[open] summary{margin-bottom:8px}
/* Collapsed groups retain their selected values as removable chips. */
.facet summary .ft{display:inline-flex;align-items:center;gap:8px}
.facet summary{flex-wrap:wrap;align-items:center}.facet summary .ft{order:1}.facet summary:after{order:2}
.facet summary .sel{order:3;flex-basis:100%;display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.facet[open] summary .sel{display:none}
.facet summary .sel a{display:inline-flex;align-items:center;gap:6px;padding:3px 8px 3px 10px;border:1px solid var(--acc);background:var(--acc);border-radius:999px;font-size:12px;font-weight:600;color:var(--bg);transition:.15s}
.facet summary .sel a b{font-weight:500;color:var(--bg);opacity:.7}.facet summary .sel a:hover{background:var(--ink);border-color:var(--ink)}.facet summary .sel a:hover b{opacity:1}
.facet a{display:flex;align-items:center;gap:9px;padding:3px 0;color:var(--ink2);white-space:nowrap}.facet a:hover{color:var(--ink)}.facet a i{width:11px;height:11px;border:1px solid var(--control);flex:none;display:block}
.facet a.on{color:var(--ink)}.facet a.on i{border-color:var(--ink2);background:linear-gradient(var(--ink2),var(--ink2)) center/5px 5px no-repeat}

/* ---- angle bands */
.band{--bleed:min(32px,var(--pad));--headtop:10px;display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:0 40px;padding:34px var(--bleed) 40px;margin:0 calc(-1 * var(--bleed))}   /* the striped background reaches a little past its column, never past the page: capped by the gutter, or it scrolls sideways once the gutter shrinks */.band:nth-child(even){background:var(--bg2)}
/* The kicker spans the card so the score block and the previews start on the same grid row: aligning them with a pixel   offset held only while the kicker stayed on one line. Both then drop by the same --headtop, so they cannot drift. */
.band > .kicker{grid-column:1/-1}
/* The first angle reads level with "Filters". The column already carries the distance from the tabs; the card's
   own top padding added another 34px, so the rail heading sat above the first headline instead of beside it. Only
   the first card drops it - the rest keep the space that separates one angle from the next - and the first card is
   never the striped one (the stripe is nth-child(even)), so no band changes height. */
.cols > div > .band:first-child,.cols > div > [data-grid] > .band:first-child{padding-top:0}
.bandhead{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin-top:var(--headtop)}
.band h2{font:700 32px/1.12 var(--display);letter-spacing:-.02em;margin:0 0 18px;max-width:440px}
/* The score is the reason to read the card, so it is read first: a block of colour beside the headline rather than
   the third of three equal numbers. The label keeps its dotted underline - the number is derived, not measured. */
.tracbadge{flex:none;text-align:center;cursor:help}
.tracbadge b{display:block;background:var(--acc);color:#0a0a0b;font:700 36px/1 var(--display);letter-spacing:-.02em;padding:12px 20px 9px}
.tracbadge .dots{display:flex;justify-content:center;gap:4px;background:var(--acc);padding:0 20px 10px}
.tracbadge .dots i{border-color:#0a0a0b}.tracbadge .dots i.f{background:#0a0a0b}.band h2 a:hover{color:var(--acc)}
.band .desc{color:var(--ink2);max-width:560px}
.band .quote{border-left-width:3px;max-width:none}
.stats{display:flex;gap:30px;align-items:baseline;margin:22px 0 6px;flex-wrap:wrap}.stats .num{font-size:26px}.stats span span{font-size:12px;color:var(--ink2);margin-left:6px;font-family:var(--ui);font-weight:400;letter-spacing:0}
.coverage{font-size:12px;color:var(--ink2);text-align:right;max-width:460px;margin-bottom:12px}
.band .using{margin:18px 0 20px;font-size:15px;color:var(--ink2)}.band .using b{color:var(--ink);font-weight:600}
.mix{display:grid;grid-template-columns:194px 1fr 48px;gap:9px 16px;align-items:center;font-size:12.5px;color:var(--ink2);max-width:none}.mix .pct{text-align:left;font-variant-numeric:tabular-nums}   /* the percentage starts right after the bar: the same 16px the value keeps to the bar's left, instead of 16px plus the slack of a right-aligned column */
.mix>span:not(.bar):not(.pct){display:flex;justify-content:space-between;gap:8px;text-align:right}   /* "Scene:" stays at the left edge; the value sits against the bar with the same 16px the bar keeps to its percentage */
.mix b{font-weight:500;color:var(--ink3);opacity:.55}   /* the facet and its colon, quieter than its value: the grey at half strength */
.bar{height:3px;background:var(--line);position:relative}.bar i{position:absolute;left:0;top:0;bottom:0;background:var(--ink2);display:block}.bar i.a{background:var(--acc)}
.bar2{display:grid;gap:2px}.bar2 .bar{height:3px}
.quote{border-left:1px solid var(--acc);padding:2px 0 2px 20px;margin:26px 0 24px;max-width:470px}.quote p{font:600 21px/1.35 var(--display);letter-spacing:-.01em}.quote .en{font:400 14px/1.5 var(--ui);color:var(--ink2);margin-top:6px}.quote .src{font-size:11.5px;color:var(--ink2);margin-top:6px}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 22px}
.tiles3{display:grid;grid-template-columns:repeat(3,132px);gap:12px;align-content:start}
.tilecol{display:grid;gap:14px;align-content:start;margin-top:var(--headtop)}
.allads{justify-self:end;color:var(--acc);font-size:12.5px;font-weight:700}

/* ---- ad tile (9:16) */
.tile{position:relative;display:block;aspect-ratio:9/16;background:var(--tile);border:1px solid var(--line2);overflow:hidden;cursor:pointer}
.tile:hover{border-color:var(--acc)}
/* a tile stands for one creative; this says when that creative runs as more than one ad. Top-right,
   away from .foot, so it never competes with the brand and the rating along the bottom edge. */
.tile .runs{position:absolute;top:8px;right:8px;z-index:1;padding:2px 6px;background:var(--bg);color:var(--ink2);border:1px solid var(--line2);font:500 10px/1.4 var(--ui);letter-spacing:.02em}
.tile.sel{border-color:var(--acc);background:var(--acc-surface)}   /* the ad open in the panel: hover is a border, selection is a surface, so they never read alike */
.tile img,.tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tile .txt{position:absolute;inset:12px 12px auto;font:600 12px/1.3 var(--display);letter-spacing:-.005em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical}
.tile.has-img .txt{display:none}
.tile .foot{position:absolute;left:0;right:0;bottom:0;padding:18px 12px 8px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10.5px;color:var(--ink);background:linear-gradient(transparent,rgba(6,6,7,.85))}
/* A long brand ran under the mark at the other end of the foot: a flex item will not shrink past its own text unless
   it is told it may. The name takes the slack and ends in an ellipsis; the mark keeps its size and its place. */
.tile .foot>:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tile .foot>:last-child,.tile .foot .kind{flex:none}
.tile.lg .txt{font-size:16.5px;inset:16px 16px auto}.tile.lg .foot{font-size:11.5px;padding:24px 14px 11px}
/* The kind mark. A video is the play glyph, with its length when known. A still is four crop corners: "a frame,
   captured" without drawing a picture, hollow like nothing else on the line, at the dots' height so the two
   ends of the foot weigh the same. Eight one-pixel strokes, one gradient each, no extra markup. */
.kind{display:inline-flex;align-items:center;gap:5px;line-height:1;white-space:nowrap}
.kind.carousel svg{display:block;width:11px;height:11px}
.kind.static i{--s:linear-gradient(var(--ink),var(--ink));display:block;width:10px;height:10px;background:
  var(--s) left top/3px 1px,var(--s) left top/1px 3px,var(--s) right top/3px 1px,var(--s) right top/1px 3px,
  var(--s) left bottom/3px 1px,var(--s) left bottom/1px 3px,var(--s) right bottom/3px 1px,var(--s) right bottom/1px 3px;background-repeat:no-repeat}
.dots{display:inline-flex;gap:2.5px}.dots i{width:7px;height:7px;border-radius:50%;border:1px solid var(--acc);display:block}.dots i.f{background:var(--acc)}
.dots.none i{border-color:var(--ink3)}

/* ---- creatives grid */
.resultline{display:flex;justify-content:space-between;align-items:end;gap:24px;border-bottom:1px solid var(--line);padding-bottom:16px}
.resultline .display-lg{font-size:40px}.resultline h1 span{color:var(--ink2)}
.sortbar{display:flex;gap:18px;font-size:13px;color:var(--ink2);white-space:nowrap}.sortbar a.on{color:var(--ink);font-weight:600}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(222px,1fr));gap:34px 16px;margin-top:32px}
.card .cap{padding-top:12px;font-size:13.5px}.card .cap .row{display:flex;justify-content:space-between;align-items:center;gap:8px}
/* The score ends the row, the running time reads into it. As three separate children under space-between the score was
   stranded mid-row, tied to neither edge, so the pair on the right is one child and the brand takes the slack. */
.card .cap .row .who{display:flex;align-items:center;gap:10px;flex:none}
.card .cap .row > b:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card .cap b{font-weight:600}.card .cap .an{color:var(--ink2);margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card .cap .tg{color:var(--ink3);font-size:12px;margin-top:3px}
.more{display:flex;justify-content:center;align-items:center;gap:12px;min-height:60px;margin-top:36px;color:var(--ink3);font-size:13px}.more a{color:var(--acc);font-weight:600}
/* while the next page is on its way: the raster and the word a fifth larger than the line's own type, the word breathing slowly */
.more.busy{font-size:15.6px}.more.busy .mb-raster{--u:3.6px;--g:2.4px}
.more .mb-more-text{animation:mb-breathe 2.4s ease-in-out infinite}
@keyframes mb-breathe{0%,100%{opacity:1}50%{opacity:.3}}

/* ---- ad panel */
.panel{position:fixed;top:113px;right:0;bottom:0;width:562px;max-width:100vw;background:var(--card);border-left:1px solid var(--line2);z-index:35;overflow:auto;transform:translateX(100%);transition:transform .18s ease}
.panel.open{transform:none}.panel .in{padding:22px 28px 60px}
/* a page without the scope bar (front page, Angle detail, settings, briefs): the panel starts right under the menu row's line, not 51px below it */
@media (min-width:901px){body:not(:has(.scope)) .panel{top:62px}}
/* the panel waits in the middle of its own column, not against its top edge:
   the creative that is coming will fill the whole panel, so the indicator sits
   where the eye already is rather than under the header it just read. */
.panel .ploading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:52vh;color:var(--ink3);font-size:13px;text-align:center}
/* the panel scrolls; its header stays, so Copy link and the close button are always reachable.
   The negative margins cancel .in's padding so the bar covers the full width and nothing scrolls past it at the sides. */
.panel .ph{position:sticky;top:0;z-index:3;background:var(--card);display:flex;align-items:baseline;gap:12px;margin:-22px -28px 22px;padding:18px 28px 14px;border-bottom:1px solid var(--line)}.panel .ph .x{margin-left:auto;display:flex;gap:18px;color:var(--ink2);font-size:16px}.panel .ph .x button:hover{color:var(--acc)}.panel .ph a.dim:hover{color:var(--acc)}
.pmedia{display:grid;grid-template-columns:210px minmax(0,1fr);gap:22px}.pmedia .stage{aspect-ratio:9/16;background:var(--tile);border:1px solid var(--line2);position:relative;overflow:hidden}
.pmedia .stage img,.pmedia .stage video{width:100%;height:100%;object-fit:contain;background:#000;display:block}.pmedia .stage .txt{position:absolute;inset:18px;font:700 19px/1.25 var(--display)}
/* The score leads the panel from its top right corner; the dots and the rank stay in the facts, where the rest of the   evidence is. It is the first thing worth knowing about an ad, so it should not be the ninth row of a table. */
.pmedia .ptop{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
/* A carousel's cards on the picture (docs/execplans/1030): round controls over the stage, unlike the header's ‹ ›,
   which step between ads. Dots up to ten cards, a count above. */
.pmedia .stage.cards .card{position:absolute;inset:0;margin:0}
.pmedia .stage.cards .card[hidden]{display:none}
.pmedia .stage.cards .nolink{position:absolute;left:18px;right:18px;bottom:40px}
.pmedia .stage .cstep{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:30px;height:30px;border-radius:50%;border:0;
  background:rgba(6,6,7,.62);color:#fff;font:600 17px/1 var(--ui);display:grid;place-items:center;cursor:pointer}
.pmedia .stage .cstep.prev{left:8px}.pmedia .stage .cstep.next{right:8px}
.pmedia .stage .cstep:disabled{opacity:0;pointer-events:none}
.pmedia .stage .cstep:focus-visible,.pmedia .stage.cards:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
.pmedia .stage .cpos{position:absolute;left:0;right:0;bottom:10px;z-index:2;display:flex;justify-content:center;pointer-events:none}
.pmedia .stage .cdots{display:flex;gap:5px;padding:4px 6px;border-radius:9px;background:rgba(6,6,7,.5)}
.pmedia .stage .cdots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.45)}
.pmedia .stage .cdots i.on{background:#fff}
.pmedia .stage .ccount{padding:3px 8px;border-radius:9px;background:rgba(6,6,7,.62);color:#fff;font:500 12px/1.2 var(--ui)}
.pmedia .stage .ccount.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.cardlist{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:13.5px}
.cardlist li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:baseline}
.cardlist button{color:var(--ink2);font-variant-numeric:tabular-nums}
.cardlist small{color:var(--ink2)}
.cardlist p{margin:0}.cardlist p+p{margin-top:3px}
.cardlist .cwords{color:var(--ink2);font-size:13px}
.pmedia .ptop h2{min-width:0}
.tchip.big{font-size:23px;padding:9px 13px 8px;flex:none}
.pmedia h2{font:700 22px/1.22 var(--display);letter-spacing:-.015em}
/* who ran it, directly under the line they ran: the label recedes, the brand carries the weight and the click */
.pmedia .pfrom,.pmedia .pdesc{font-size:14px;line-height:1.5;margin-top:9px}   /* one size under the headline, the same the facts below it use */
.pmedia .pfrom{color:var(--ink2)}
.pmedia .pdesc{color:var(--ink2)}
.pmedia .pfrom a{color:var(--ink);font-weight:600}
.pmedia .pfrom a:hover{color:var(--acc)}
/* the facts read as a table: the label in its own quiet column, the value against it, so the eye runs down one edge */
.pmedia .facts{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:15px 26px;margin:20px 0 26px;padding-top:20px;border-top:1px solid var(--line);font-size:14px;color:var(--ink)}
.pmedia .facts .k{color:var(--ink2);font-size:13px}
.pmedia .facts b{color:var(--ink);font-weight:600;font-size:15px;margin-left:4px}
.pmedia .facts small{display:block;margin-top:6px;color:var(--ink2);font-size:12.5px}
.pmedia .facts .live{font-style:normal;color:var(--acc)}
.pmedia .facts .dots{vertical-align:-1px}
/* brief and board sit under the preview, each as wide as it - the creative and what you do with it read as one column */
.pmedia .pacts{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.pmedia .pacts .btn{width:100%;justify-content:center;padding-left:12px;padding-right:12px}
.pmedia .pacts .btn .ava-orb{margin-right:-3px}   /* the orb sits close to "Create brief from ad", one mark with the words */
.psec{border-top:1px solid var(--line);margin-top:26px;padding-top:20px}.psec h3{font:400 12px/1.4 var(--ui);color:var(--ink2);display:flex;justify-content:space-between;margin-bottom:12px}
.timeline{display:flex;gap:2px;height:22px}.timeline a{display:block;min-width:6px;background:#57554F;padding:0;margin:0;border:0}.timeline a.r-hook{background:var(--acc)}.timeline a.r-cta{background:var(--acc-deep)}.timeline a.r-problem{background:#6b6963}.timeline a.r-solution{background:#9A9893}.timeline a.r-demo{background:#57554F}.timeline a.r-proof{background:#3A3A40}.timeline a.r-offer{background:#8a4a35}.timeline a:hover{filter:brightness(1.25)}
.tl-lab{display:flex;gap:2px;font-size:11px;color:var(--ink2);margin-top:6px}.tl-lab span{overflow:hidden;white-space:nowrap}
.transcript{display:grid;grid-template-columns:52px 1fr;gap:9px 0;font-size:14px}.transcript .t{color:var(--ink3);font-size:12px;padding-top:2px}
.kv{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px 10px;font-size:14px}.kv .k{color:var(--ink2);font-size:12.5px;padding-top:2px}.kv>:not(.k){min-width:0;overflow-wrap:anywhere}
/* ---- translation of the ad's own words. The original is the product, so a translation never takes its place for
   good: the way back sits in the same spot as the way in, and beside it the line that says where the words came from
   opens the only two settings there are. The model runs in the reader's browser, so none of this touches a server. */
.tprov{display:block;margin-top:8px;font:400 11.5px/1.45 var(--ui);letter-spacing:normal;color:var(--ink3)}
.tprov .sep{margin:0 7px;color:var(--line2)}
.tlink{font:500 12.5px/1.4 var(--ui);color:var(--ink2);border-bottom:1px solid var(--line2);padding-bottom:1px;transition:.15s}
.tlink:hover{color:var(--ink);border-bottom-color:var(--acc)}
.tprov .from{font:400 11.5px/1.45 var(--ui);color:var(--ink3);border-bottom:1px solid var(--line);padding-bottom:1px;transition:.15s}
.tprov .from:hover{color:var(--ink2);border-bottom-color:var(--line2)}
.tprov .wait{color:var(--ink3)}
/* the pack arriving, on the bar the traction signals already use - a spinner would be a second vocabulary for waiting */
.tmeter{display:inline-block;width:34px;height:3px;background:var(--line2);vertical-align:middle;margin-left:7px}
.tmeter i{display:block;height:100%;background:var(--acc);transition:width .2s}
.pop .pophead{font:500 11.5px/1.4 var(--ui);color:var(--ink3);padding:4px 10px 8px;margin:0}
.pop button[data-tr-pref]{display:flex;align-items:baseline;justify-content:space-between;gap:14px;width:100%;text-align:left;padding:8px 10px;color:var(--ink2)}
.pop button[data-tr-pref]:hover{background:var(--line);color:var(--ink)}
.pop button[data-tr-pref] i{font-style:normal;font-size:11.5px;color:var(--acc)}
.labels{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.labels div{display:grid;grid-template-columns:104px minmax(0,1fr);gap:10px;align-items:baseline;border-bottom:1px solid var(--line);padding:12px 0;font-size:14px}.labels .k{color:var(--ink2);font-size:12px}.labels span{min-width:0;overflow-wrap:anywhere}.labels .c{color:var(--unsure);font-size:11.5px;font-style:normal;white-space:nowrap}
/* How sure the judge was, on the value itself. High confidence gets no mark at all - certainty is the
   default and marking it would spend attention on the ordinary. Observed facets carry no confidence and stay plain. */
.labels .v.medium{border-bottom:1px dotted var(--ink3)}
.labels .v.low,.labels .v.unverified{border-bottom:1px dotted var(--unsure)}
.labels .v.unverified{color:var(--unsure)}
.signal{display:grid;grid-template-columns:104px 92px minmax(0,1fr) 40px;gap:10px;align-items:center;font-size:13.5px}.signal .k{color:var(--ink2)}.signal .p{text-align:right;color:var(--ink2);font-size:12px}
.factgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px 28px;font-size:13.5px}.factgrid div{display:grid;grid-template-columns:104px minmax(0,1fr);gap:10px;align-items:baseline}.factgrid .k{color:var(--ink2);font-size:12px}.factgrid div>:last-child{min-width:0;overflow-wrap:anywhere}
.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{border:1px solid var(--line2);padding:3px 9px;font-size:12px;color:var(--ink)}

/* ---- cards, tables, lists */
.cardbox{background:var(--card);border:1px solid var(--line);padding:28px 30px}
.hooklist{padding:0}   /* the hook lines carry themselves on the page's own background: no card, no frame, just the rules between them */
/* The angle header reads left to right: what the angle is, how hard it lands, how big it is. The kicker spans, so the   score block and the stat box start on the headline's own row instead of being pushed down by it. */
.anglehead{display:grid;grid-template-columns:minmax(0,1fr) 392px;gap:26px 64px;align-items:start}   /* the same two columns as the hook lines / execution mix row below, so the stat figures sit over the mix */
.anglehead .main{display:flex;justify-content:space-between;align-items:start;gap:44px}.anglehead .tracbadge{margin-top:14px}   /* one row gap, so headline, score and stat box drop together and cannot drift apart */
.anglehead > .kicker{grid-column:1/-1}
.anglehead .display{margin-top:0}
.anglehead .statbox{padding-top:33px}.anglehead .statbox .g{grid-template-columns:repeat(3,1fr);gap:24px}
.tracbadge.lg b{font-size:46px;padding:15px 26px 11px}.tracbadge.lg .dots{gap:5px;padding:0 26px 14px}.tracbadge.lg .dots i{width:9px;height:9px}
.statbox{padding-top:20px}.statbox .g{display:grid;grid-template-columns:1fr 1fr;gap:24px 40px}.statbox .num{font-size:34px;line-height:1}.statbox small{display:block;color:var(--ink2);font-size:12px;margin-top:6px}
.two{display:grid;grid-template-columns:minmax(0,1fr) 392px;gap:64px;align-items:start}
.hookline{display:grid;grid-template-columns:44px minmax(0,1fr) 150px 24px;gap:18px;padding:17px 0;border-top:1px solid var(--line);align-items:start}.hookline p{font:600 16.5px/1.35 var(--display)}.hookline .en{font:400 13px/1.45 var(--ui);color:var(--ink2);margin-top:4px}.hookline .by{font-size:12px;color:var(--ink2)}
.hookline button{color:var(--ink3);cursor:pointer}.hookline button:hover{color:var(--acc)}
.adrow{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:18px 14px}.adrow .lbl{font-size:12px;color:var(--ink2);margin-top:8px;display:flex;justify-content:space-between;gap:8px}
/* dots and the number they stand for, together - the dots scan, the number compares. The number always stays: a long brand name is cut instead */
.tr{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;flex:none}
/* A score on its own reads as a block of colour, the same one the angle card and header use - a white number beside
   grey text looked like any other figure on the row. */
.tchip{display:inline-block;background:var(--acc);color:#0a0a0b;font:700 14px/1 var(--display);letter-spacing:-.01em;padding:5px 8px 4px}
.adrow .lbl > span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.adrow-8{grid-template-columns:repeat(8,minmax(0,1fr))}   /* the angle page: one full row of eight, the rest behind "Browse all" */
@media(max-width:1100px){.adrow-8{grid-template-columns:repeat(4,minmax(0,1fr))}}
.browse-all{margin:14px 0 0;text-align:right;font-size:13px}
.browse-all.busy{display:flex;justify-content:center;align-items:center;gap:12px;min-height:60px;margin-top:36px;color:var(--ink3);font-size:15.6px}   /* the same loader as the creatives list: centred, one size */
.browse-all.busy .mb-raster{--u:3.6px;--g:2.4px}.browse-all .mb-more-text{animation:mb-breathe 2.4s ease-in-out infinite}
/* staff-only numbers carry their own tint, so nobody mistakes an internal figure for something a customer sees */
.adminstats{margin:12px 0 0;padding-top:10px;border-top:1px solid var(--line)}.adminstats>span{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:3px 0}.adminstats p{margin:7px 0 0;line-height:1.35}
.staffcol{color:var(--acc-tint)}th.staffcol{color:var(--acc-tint);opacity:.8}
/* Category-relative creative velocity: compact list meter and detail readout. */
.velocity-meter{color:var(--ink)}
.velocity-compact{width:76px;margin-left:auto}
.velocity-value{display:flex;align-items:baseline;gap:12px}
.velocity-compact .velocity-segments{margin-top:0}
.velocity-level{font:600 11px/1.3 var(--ui);white-space:nowrap}
.velocity-segments{display:flex;gap:3px;height:4px;margin-top:6px}
.velocity-segments i{flex:1;display:block;background:var(--line2)}
.velocity-segments i.on{background:var(--acc)}
.velocity-detail{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.velocity-heading{font-size:12px;color:var(--ink2);margin-bottom:12px}
.velocity-number{font:700 30px/1 var(--display);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.velocity-detail .velocity-level{font-size:13px}
.velocity-unit,.velocity-context,.velocity-ends{font-size:11px;line-height:1.5;color:var(--ink2)}
.velocity-unit{margin:7px 0 14px}
.velocity-detail .velocity-segments{height:7px;gap:4px}
.velocity-ends{display:flex;justify-content:space-between;margin-top:5px}
.velocity-context{margin-top:12px}
/* Brand detail header: reference layout, isolated from other stat cards. */
.brand-head{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:60px;align-items:start}
.brand-intro{min-width:0}
.brand-head .display{font-size:48px;margin:14px 0 12px}
.brand-head .lede{max-width:660px;font-size:15px;line-height:1.6;margin-top:14px}
.brand-creatives-head{flex-wrap:wrap}
.brand-creatives-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:0}
/* An angle name wraps to two lines where a brand name never does, so the traction chip sits at the top of the caption, level with the first line - the same place the eye finds it in every other grid. */
.brand-creatives-grid .cap .row{align-items:flex-start}
.brand-creatives-grid .cap .row > span:first-child{flex:1 1 auto;min-width:0}   /* an unclustered creative has no angle to name: the empty label still holds the chip at the right edge */
.brand-creatives-grid .cap .row .tchip{flex:none}
@media(max-width:820px){.brand-creatives-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.brand-browse{font-weight:700;font-size:13px}
.brand-insights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;margin-top:70px}
.brand-insights>div{min-width:0}
/* The field chart (M.field): the category's brands as dots, one column of the audience row. The report's copy of
   these rules lives in report.css, because a public report page never loads app.css. */
.rx-field{margin:0}.rx-field svg{width:100%;height:auto;display:block}
.rx-field .grid{stroke:var(--line);stroke-width:1}.rx-field .med{stroke:var(--ink3);stroke-dasharray:4 4;stroke-width:1}
.rx-field .tick{fill:var(--ink3);font:11px var(--ui)}.rx-field .ql{fill:var(--ink3);font:italic 11px var(--ui)}
.rx-field .pt{fill:#3a3a41;stroke:var(--bg);stroke-width:1}
.rx-field .pt.rival{fill:var(--ink)}.rx-field .pt.lookalike{fill:var(--ink2)}.rx-field .pt.you{fill:var(--acc);stroke-width:2}
.rx-field .pl{fill:var(--ink2);font:600 11.5px var(--ui)}.rx-field .pl.you{fill:var(--acc);font-size:13px}.rx-field .pl.rival{fill:var(--ink)}
.rx-field figcaption{margin-top:8px}
.brand-audience h3{font:600 12.5px/1.4 var(--ui);color:var(--ink2);margin:0 0 10px;text-transform:uppercase;letter-spacing:.04em}
/* The audience row's top cells (audience | field chart) share one grid row and pin their closing line - the pyramid
   note left, the chart caption right - to its bottom edge, so the two sit level whatever the columns' own heights.
   !important: the macro note carries its 12px spacing as an inline style, which the pin has to beat. */
.brand-insights.brand-audience{row-gap:34px}
.brand-audience .au-top{display:flex;flex-direction:column}
.brand-audience .au-top>:last-child{margin-top:auto!important;padding-top:12px}
.brand-insights .listrow{grid-template-columns:minmax(0,1fr) auto}
.brand-insights .listrow:has(> [data-ava]){grid-template-columns:minmax(0,1fr) auto auto}
.brand-insights .brand-gap{grid-template-columns:minmax(0,1fr) 60px 150px 60px 60px}
.brand-insights .brand-gap:has(> [data-ava]){grid-template-columns:minmax(0,1fr) 60px 150px 60px 110px 60px}
.brand-insights button.link{background:none;border:0;padding:0;cursor:pointer;font-family:inherit;font-size:inherit}   /* "Brief with Ava": a row action, drawn like the Open link beside it */

/* Men against women overall, above the bands. The thick ring is the brand or angle; the thin rim inside it is the category,
   so the two are read as one dial rather than as two charts. Both halves leave twelve o'clock, men to the left (the men arc
   is the mirrored group in the macro) and women to the right, which is the geometry the bands below repeat. */
.donut{display:flex;align-items:center;gap:24px;margin:4px 0 28px}
.donut svg{flex:none}
/* Each segment is filled and stroked in the same colour: the stroke's round join is what rounds the four corners, and it is
   narrow, so they are corners rather than the half-circle a round line cap would give a ring this thick. */
.donut path{stroke-linejoin:round;stroke-width:3}
.donut .f{fill:var(--acc);stroke:var(--acc)}
.donut .m{fill:var(--acc-deep);stroke:var(--acc-deep)}
/* The rim keeps a narrower rounding stroke than the ring: the stroke spills half its width past the path, so sharing the
   ring's would have made the thin rim as thick as the ring it sits inside. */
.donut .cf{fill:var(--ink2);stroke:var(--ink2);stroke-width:1.6}    /* the category is grey here as it is everywhere else */
.donut .cm{fill:var(--line2);stroke:var(--line2);stroke-width:1.6}  /* its men darker than its women, as the ring above is */
.donut .key{display:flex;gap:34px}
.donut .key div{display:grid;gap:5px}
.donut .key b{font:400 23px/1 var(--display);color:var(--acc-deep)}
.donut .key .women b{color:var(--acc)}
.donut .key i{font-style:normal;font-size:12.5px;color:var(--ink2)}
@media(max-width:560px){.donut{gap:16px}.donut .key{gap:20px}}

/* The audience pyramid: age bands around a centre line, men left and women right, so a skew shows as a shape rather than as
   two lists to compare by eye. Each half is the same thin pair the other mixes on the page use - this brand or angle in
   orange over the category in grey - so the block reads like its neighbours. Bars are drawn against the longest half in
   the chart (`peak`), never against their own row, or every band would look equally wide. */
.pyramid{display:grid;grid-template-columns:30px minmax(0,1fr) 46px minmax(0,1fr) 30px;gap:10px 6px;align-items:center}
.pyramid .ax{grid-column:span 2;font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--ink3)}
.pyramid .ax.r{text-align:right}
.pyramid .k{text-align:center;font-size:12.5px;color:var(--ink2)}
/* The per-band figures sit on the outer edges, under the two headings they belong to, not against the bars they vary with. */
.pyramid .n{font-size:12px;color:var(--ink2);font-variant-numeric:tabular-nums}
.pyramid .n.r{text-align:right}
.pyramid .bar i{min-width:1px}                      /* a band with a sliver of reach still shows as a mark, not as nothing */
.pyramid .bar2.l .bar i{left:auto;right:0}          /* the men's half grows away from the centre, mirroring the women's */
@media(max-width:560px){.pyramid{grid-template-columns:24px minmax(0,1fr) 42px minmax(0,1fr) 24px;gap:9px 4px}}
@media(max-width:1180px){.brand-insights{grid-template-columns:minmax(0,1fr);gap:40px;margin-top:40px}}
@media(max-width:820px){.brand-insights .listrow{grid-template-columns:minmax(0,1fr) auto}}
.btn.on[data-follow]:hover,.btn.on[data-follow]:focus-visible{background:var(--acc);border-color:var(--acc);color:#0a0a0b}
.brand-actions{margin-top:24px;gap:14px}
.brand-admin{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 24px;margin-top:24px;padding:10px 0;border-top:1px dotted var(--line2);border-bottom:1px dotted var(--line2);font-size:11.5px;line-height:1.5;color:var(--ink2)}
.brand-admin>span{display:inline-flex;flex-wrap:wrap;gap:7px}
.brand-admin b{font-weight:600;color:var(--ink)}
.brand-admin-label{font-size:11px}
.brand-rename .link{font-size:11.5px;background:none;border:0;padding:0;cursor:pointer;font-family:inherit}
.brand-rename-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.brand-rename-form[hidden]{display:none}   /* an author display beats the user agent's [hidden], so the form has to hide itself */
.brand-rename-form input{flex:0 1 320px;min-width:0;padding:7px 10px;background:var(--card);border:1px solid var(--line);color:var(--ink);font:inherit;font-size:13px}
.brand-rename-form p{flex:1 0 100%;margin:0}
/* Staff: the brand's Pipedrive organization (plan 0125). The strip entry is drawn like the rename beside it; the panel
   below it like the rename form, with one row per organization the live search found. */
.brand-crm .link{font-size:11.5px}
.brand-crm button.link{background:none;border:0;padding:0;cursor:pointer;font-family:inherit}
.brand-crm-panel{display:grid;gap:12px;margin-top:12px;max-width:640px}
.brand-crm-panel[hidden],.brand-crm-panel [hidden]{display:none}
.brand-crm-choice{display:flex;flex-wrap:wrap;gap:8px}
.brand-crm-choice .btn[aria-pressed=true]{border-color:var(--ink);color:var(--ink)}
.brand-crm-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1.6fr) auto;gap:14px;align-items:center;padding:9px 0;border-top:1px solid var(--line);font-size:13px}
.brand-crm-row:last-child{border-bottom:1px solid var(--line)}
.brand-crm-row .link{white-space:normal;overflow-wrap:anywhere}
.brand-crm-row .muted{font-size:12.5px;overflow-wrap:anywhere}
.brand-crm-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.brand-crm-form label{flex:1 0 100%;font-size:11.5px;color:var(--ink2)}
.brand-crm-form input,.brand-crm-form select{flex:0 1 320px;min-width:0;padding:7px 10px;background:var(--card);border:1px solid var(--line);border-radius:0;color:var(--ink);font:inherit;font-size:13px}
.brand-crm-form select{flex-basis:160px}
.brand-crm-panel p{margin:0}
@media(max-width:560px){.brand-crm-row{grid-template-columns:minmax(0,1fr) auto}.brand-crm-row .muted{grid-column:1/-1;grid-row:2}}
.brand-stats{padding:20px 22px 12px;background:var(--card);border:1px solid var(--line);min-width:0}
.velocity-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;margin:0;padding:0;border:0}
.velocity-summary .velocity-heading{margin:0;font-size:13px;font-weight:600;color:var(--ink)}
.velocity-summary .velocity-number{font-size:30px}
.velocity-summary .velocity-segments,.velocity-summary .velocity-ends,.velocity-summary .velocity-context{grid-column:1/-1}
.velocity-summary .velocity-segments{height:5px;margin-top:10px;gap:3px}
.velocity-summary .velocity-ends{margin-top:4px;font-size:11px}
.brand-activity{margin-top:14px;padding-top:12px;border-top:1px solid var(--line2)}
.brand-activity h2{font:600 13px/1.4 var(--ui)}
.brand-activity .weeks{height:60px;gap:4px;margin:10px 0 16px}
.brand-activity-counts{margin:0;font-size:13px;color:var(--ink2)}
.brand-activity-counts>div{display:flex;justify-content:space-between;gap:20px;padding:8px 0;border-top:1px solid var(--line2)}
.brand-activity-counts dd{margin:0;color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
@media(max-width:1180px){.brand-head{grid-template-columns:minmax(0,1fr) 320px;gap:36px}.brand-head .display{font-size:42px}}
@media(max-width:820px){.brand-head{grid-template-columns:minmax(0,1fr);gap:28px}.brand-head .display{font-size:36px}.brand-admin{gap:8px 18px}.brand-stats{width:100%}}
.brandtable th{white-space:nowrap}.brandtable th a{color:inherit;text-decoration:none}.brandtable th a:hover{color:var(--ink)}
.brandtable th.sorted{color:var(--ink);font-weight:600}
/* The brand list's internal columns stay grey like the rest of the table: the hover note on the header says they are
   internal, so the orange staff tint (and the orange velocity bars) would only shout. One line per cell: "≥12", never "≥" over "12". */
.brandtable .staffcol,.brandtable th.staffcol{color:var(--ink2);opacity:1}.brandtable th.sorted.staffcol{color:var(--ink)}
.brandtable td.staffcol{white-space:nowrap}.brandtable .velocity-meter{color:var(--ink2)}.brandtable .velocity-segments i.on{background:var(--ink2)}
.brandtable th [data-hint]{text-decoration:none}
.brandtable th.sorted a:after{margin-left:4px;font-weight:400}.brandtable th.down a:after{content:"\2193"}.brandtable th.up a:after{content:"\2191"}
table.t{width:100%;border-collapse:collapse;font-size:14px}
.rowmeta{display:none}   /* on a phone the count columns fold into this line; see the small-screen section */
.acctcols{padding:56px var(--pad) 90px;display:grid;grid-template-columns:1fr 1fr;gap:80px}
.rulegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.rulegrid label{min-width:0}table.t th{font-weight:400;font-size:12px;color:var(--ink2);text-align:left;padding:10px 0;border-bottom:1px solid var(--line)}table.t td{padding:13px 0;border-bottom:1px solid var(--line)}table.t td.b{font-weight:600}table.t .r{text-align:right}
/* a row that is itself a link: the whole line highlights and clicks through (app.js), while the links inside it keep their own targets.
   Cells get side padding so the tint is a band rather than text with a stripe behind it. */
table.t.rows tr[data-href]{cursor:pointer;transition:background .12s}
table.t.rows tr[data-href]:hover{background:var(--bg2)}table.t.rows tr[data-href]:hover td.b a{color:var(--acc)}
table.t.rows th,table.t.rows td{padding-left:12px;padding-right:12px}table.t.rows th:first-child,table.t.rows td:first-child{padding-left:12px}
table.t.rows{margin-left:-12px;width:calc(100% + 24px)}
.listrow{display:grid;grid-template-columns:minmax(0,1fr) 120px 80px 170px 70px;gap:16px;align-items:center;padding:15px 0;border-top:1px solid var(--line);font-size:14px}.listrow .n{font:600 16.5px/1.3 var(--display)}
.sectionhead{display:flex;justify-content:space-between;align-items:end;gap:20px;border-bottom:1px solid var(--line);padding-bottom:14px;margin:64px 0 22px}
.sectionhead + .listrow{border-top:0;padding-top:4px}   /* the head already draws the rule; the first row would double it */
.sectionhead span.busy{opacity:.5;transition:opacity .2s}   /* the angle page while its "one per brand" switch fetches the other row */
.mixrow{display:grid;grid-template-columns:150px 1fr 84px;gap:10px 14px;align-items:center;font-size:13.5px;color:var(--ink2)}.mixrow .v{text-align:right;font-size:12.5px}
.legend{font-size:12px;color:var(--ink2);margin:6px 0 18px}.legend i{display:inline-block;width:6px;height:6px;margin-right:6px;background:var(--acc);vertical-align:middle}.legend i.g{background:var(--ink2)}.legend i.dot{border-radius:50%}   /* keys a dot chart: the marker is the mark */

/* ---- groups (small category) */
.group{background:var(--card);border-bottom:1px solid var(--line);padding:30px 32px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px}.group h2{font:700 25px/1.2 var(--display);letter-spacing:-.015em}.group h2 a:hover{color:var(--acc)}.group .desc{color:var(--ink2);margin-top:8px}.group .stats{margin:0}.group .quote{margin:20px 0 0}.group .quote p{font-size:17px}

/* ---- matrix */
.mscroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.matrix{display:grid;gap:4px;align-items:stretch;font-size:13px}.matrix .ch{color:var(--ink2);font-size:12.5px;padding:0 0 12px 2px;align-self:end}.matrix .rh{font-weight:600;font-size:14px;display:flex;align-items:center;padding-right:12px}.matrix .tot{display:flex;align-items:center;padding-left:14px;color:var(--ink2);font-size:12.5px}
.cell{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:8px;min-height:76px;padding:9px 10px;background:var(--bg2);border:1px solid transparent}
/* The star marks the top fields by observed win rate; it does not change any creative's winner status. */
.cell .star{position:absolute;top:11px;right:10px;font-style:normal;font-size:11px;line-height:1;color:var(--ink)}   /* on the score's line: its middle, and flush with the cell's own right padding */
.mlegend i.nobox{width:auto;height:auto;font-style:normal;color:var(--ink);margin-right:7px}.cell b{font:700 17px/1 var(--display)}.cell small{font-size:11px;color:var(--ink)}
.cell.i5{background:var(--heat5)}.cell.i4{background:var(--heat4)}.cell.i3{background:var(--heat3)}.cell.i2{background:var(--heat2)}.cell.i1{background:var(--heat1)}.cell:hover{border-color:var(--acc)}.cell.white{border-color:var(--acc)}
/* Where the field is going, not how it is doing: the arrow is about share of launches, the number about delivery. */
.cell b .trup,.cell b .trdown{font-style:normal;font-size:10px;margin-left:5px;vertical-align:2px}
.cell b .trup{color:var(--ink)}.cell b .trdown{color:rgba(245,244,242,.32)}
.cell-rate{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 5px;padding-right:10px}
.cell.thin{background:repeating-linear-gradient(135deg,var(--heat-thin-a) 0 5px,var(--heat-thin-b) 5px 10px)}.cell.thin small{color:var(--ink3)}
/* matrix hover: the best creatives in the cell. pointer-events none - it never gets between the mouse and the cell */
.cellpop{position:fixed;z-index:70;background:var(--card);border:1px solid var(--line2);border-radius:0;padding:12px 12px 10px;box-shadow:0 18px 44px rgba(0,0,0,.6);pointer-events:none;opacity:0;transform:translateY(4px);transition:opacity .12s,transform .12s}
.cellpop.on{opacity:1;transform:none}.cellpop .hd{font-size:12px;color:var(--ink2);margin-bottom:3px}.cellpop .hd b{color:var(--ink);font-weight:600}.cellpop .sub{font-size:11px;color:var(--ink3);margin-bottom:10px}.cellpop .im em{position:absolute;right:5px;top:5px;font-style:normal;font-size:10px;line-height:1;color:var(--acc);background:rgba(6,6,7,.75);padding:3px 4px;border-radius:0}.cellpop .ft{font-size:11px;color:var(--ink3);margin-top:9px}
.cellpop .preview-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:8px;max-width:552px}.cellpop .cell-stats{font-size:11px;line-height:1.45;color:var(--ink2);margin-top:5px}.cellpop .win-rate-summary{flex-shrink:0;text-align:center}.cellpop .win-rate-badge{display:flex;align-items:center;justify-content:center;background:var(--acc);color:var(--bg);padding:8px 10px;min-width:64px}.cellpop .win-rate-badge b{display:block;font:700 24px/1 var(--display)}.cellpop .win-rate-label{display:block;font-size:10px;line-height:1.2;color:var(--ink3);margin-top:4px}
/* five tiles wide whatever the count, and every tile keeps its two hook lines: the loading state and the preview are one size */
.cellpop .row{position:relative;display:flex;gap:8px;width:552px}.cellpop .pv{width:104px;display:flex;flex-direction:column;gap:3px;min-width:0}.cellpop .pv-title{display:flex;align-items:center;gap:5px;margin-top:4px}.cellpop .pv-title b{flex:1;min-width:0;font-size:11.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cellpop .creative-score{flex:none;transform:translateY(-1px);background:var(--acc);color:var(--bg);padding:3px 4px;font:700 11.5px/1 var(--display);font-variant-numeric:tabular-nums}
.cellpop .pv .hk{min-height:2.6em;font-size:10.5px;line-height:1.3;color:var(--ink2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cellpop .im{position:relative;aspect-ratio:4/5;background:var(--bg2);border:1px solid var(--line);border-radius:0;overflow:hidden;display:flex;align-items:center;justify-content:center}
.cellpop .im img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cellpop .im .tx{font-size:10px;line-height:1.3;color:var(--ink3);padding:8px;text-align:center;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
/* waiting: the tiles are laid out but unseen - they hold the final size, nothing of them shows - and the loader sits in the middle */
.cellpop .row.waiting .pv{visibility:hidden}
.cellpop .wait{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:11px;color:var(--ink3);text-align:center}
.cellpop .im i{position:absolute;left:5px;bottom:5px;font:500 10px/1 var(--ui);font-style:normal;background:rgba(6,6,7,.7);padding:3px 5px;border-radius:0}
/* an explanation that stays out of the way: a small "?" pill that opens a note */
.hint{position:relative;font-size:13px}.hint summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;color:var(--ink2);padding:6px 14px 6px 8px;border:1px solid var(--line2);border-radius:999px;transition:.15s}.hint summary::-webkit-details-marker{display:none}
.hint summary:before{content:"?";display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:var(--line2);color:var(--ink);font:700 11px/1 var(--ui)}
/* the pill is a hover target, not a click target: pointing at it turns it solid white and drops the note underneath; it stays lit while the pointer is in the note, and the details still opens on Enter for the keyboard */
.hint:hover summary,.hint[open] summary{background:var(--ink);border-color:var(--ink);color:var(--bg)}.hint:hover summary:before,.hint[open] summary:before{background:var(--bg);color:var(--ink)}
.hintbox{position:absolute;left:0;top:calc(100% + 10px);z-index:45;width:min(520px,calc(100vw - 2*var(--pad,32px)));background:var(--card);border:1px solid var(--line2);border-radius:0;padding:20px 22px;box-shadow:0 18px 44px rgba(0,0,0,.6);display:grid;gap:12px;color:var(--ink2);font-size:13.5px;line-height:1.55}
.hintbox:before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}   /* bridges the gap under the pill so the pointer can travel into the note without it closing */
.hint:not([open]):not(:hover) .hintbox{display:none}.hintbox p{margin:0}.hintbox b{color:var(--ink);font-weight:600}
.mlegend{display:flex;gap:16px;font-size:12px;color:var(--ink2);align-items:center;flex-wrap:wrap}
.mlegend.below{margin-top:20px;justify-content:flex-end}   /* the key reads as a footnote to the grid above it, not as a control */.mlegend i{display:inline-block;width:11px;height:11px;margin-right:6px;vertical-align:-1px}
.axis{display:flex;gap:14px;font-size:13.5px;color:var(--ink2)}.axis a:before{content:"▢ "}.axis a.on{color:var(--ink)}.axis a.on:before{content:"▣ "}

/* ---- brand, compare, boards */
.weeks{display:flex;gap:6px;align-items:end;height:78px;margin:14px 0 12px}.weeks i{flex:1;background:var(--line2);display:block;min-height:2px}.weeks i:last-child{background:var(--acc)}
.test{background:var(--card);border:1px solid var(--line);padding:26px 28px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;margin-bottom:12px}.test h3{font:700 20px/1.25 var(--display);letter-spacing:-.01em}.test p{color:var(--ink2);font-size:13.5px;margin:8px 0}.test .s{font-size:12.5px;color:var(--ink2);display:flex;align-items:center;gap:9px;flex-wrap:wrap}.test .ac{text-align:right;display:grid;gap:8px;align-content:start;font-size:14px}
.boards{display:grid;grid-template-columns:240px minmax(0,1fr) 360px;gap:48px;padding:48px 0 80px}
.blist a{display:block;padding:18px 12px;border-bottom:1px solid var(--line);color:var(--ink2);font-weight:600}.blist a small{display:block;font-weight:400;font-size:12px;color:var(--ink3);margin-top:4px}.blist a.on{color:var(--ink);border-left:1px solid var(--acc);border-top:1px solid var(--line)}
.items{display:grid;grid-template-columns:1fr 1fr;gap:16px}.item{background:var(--card);border:1px solid var(--line);padding:22px}.item .ih{display:flex;justify-content:space-between;color:var(--ink2);font-size:13px;margin-bottom:12px}.item .ih button:hover{color:var(--acc)}
.item h3{font:600 17.5px/1.3 var(--display)}.item .s{font-size:12.5px;color:var(--ink2);margin:12px 0}.item textarea{width:100%;background:none;border:1px solid var(--line2);border-radius:0;padding:11px 12px;resize:vertical;min-height:62px;font-size:14px}.item textarea:focus{border-color:var(--acc);outline:0}
.brief{background:#F7F6F3;color:#101012;padding:30px;font-size:12.5px}.brief h2{font:700 22px/1.2 var(--display);margin:12px 0 4px}.brief h3{font:600 17px/1.3 var(--display);margin:6px 0}.brief .muted{color:#57554F}.brief hr{border:0;border-top:1px solid rgba(6,6,7,.12);margin:18px 0}.brief .ref{display:grid;grid-template-columns:44px 1fr;gap:10px;margin-top:10px}.brief .ref i{display:block;aspect-ratio:9/12;background:#101012}.brief .ref img{width:44px;aspect-ratio:9/12;object-fit:cover;display:block}
.pop{position:absolute;background:var(--card);border:1px solid var(--line2);border-radius:0;padding:8px;z-index:60;min-width:240px;box-shadow:0 18px 40px rgba(0,0,0,.55);font-size:14px}.pop a,.pop button[data-b]{display:block;width:100%;text-align:left;padding:8px 10px;border-radius:0;color:var(--ink2)}.pop a:hover,.pop button[data-b]:hover{background:var(--line);color:var(--ink)}
.pop button[data-b]{display:flex;align-items:baseline;justify-content:space-between;gap:14px}
.pop button[data-b] b{font-weight:500;color:var(--ink);min-width:0;overflow-wrap:anywhere}
.pop button[data-b] i{font-style:normal;font-size:12px;color:var(--ink2);white-space:nowrap;font-variant-numeric:tabular-nums}
.pop button[data-b]:disabled{opacity:.45}.pop input{width:100%;background:none;border:1px solid var(--line2);border-radius:0;padding:8px 10px;margin-top:6px}
.navigation-error{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:80;display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100% - 32px);padding:14px 18px;background:var(--card);color:var(--ink);border:1px solid var(--line2);box-shadow:0 8px 30px rgba(0,0,0,.25)}
.navigation-error .btn{flex-shrink:0;min-height:44px}.navigation-error .btn:disabled{opacity:.6;cursor:wait}
@media(max-width:640px){.navigation-error{flex-wrap:wrap;bottom:max(16px,env(safe-area-inset-bottom))}.navigation-error span{flex-basis:100%}}
.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:10px 18px;border-radius:999px;font-size:13.5px;font-weight:600;z-index:80;opacity:0;transition:opacity .2s;pointer-events:none}.toast.show{opacity:1}
.form{display:grid;gap:18px;max-width:560px}.form label{display:grid;gap:6px;font-size:13px;color:var(--ink2)}.form input,.form select{background:none;border:1px solid var(--line2);border-radius:0;padding:10px 12px;color:var(--ink)}.form select option{background:var(--card)}
.empty{padding:70px 0;color:var(--ink2);max-width:560px}.empty h2{color:var(--ink);margin-bottom:10px}
@media (max-width:1180px){.anglehead{grid-template-columns:1fr;gap:26px}.anglehead .main{flex-direction:column}:root{--pad:28px}.nav nav{gap:20px}.nav .navend{gap:16px;padding-left:0}.nav .navend a{max-width:min(16vw,150px)}.band{grid-template-columns:1fr}.two{grid-template-columns:1fr}.boards{grid-template-columns:1fr}.search{flex-basis:230px;max-width:230px}.scope summary{padding:0 14px;gap:7px}.display{font-size:42px}}
@media print{.nav,.scope,.noprint{display:none!important}html,body{background:#fff}.brief{padding:0}}

/* hook lines: the ad each line comes from - small thumb always, larger preview on hover or keyboard focus.
   The preview is anchored to the row's right edge so it never covers the line being read. */
.hookline{position:relative;cursor:pointer}     /* the whole row opens the ad; the copy button keeps its own job */
.hookad{display:block;width:44px}
.hookad .th{position:relative;display:block;width:44px;aspect-ratio:9/16;background:var(--tile);border:1px solid var(--line2);overflow:hidden}
.hookad .th img{width:100%;height:100%;object-fit:cover;display:block}
.hookad .th i{position:absolute;left:4px;bottom:3px;font:normal 9px/1 var(--ui);color:#fff;text-shadow:0 0 3px #000}
.hookad .peek{display:none;position:fixed;left:0;top:0;z-index:60;width:188px;background:var(--card);border:1px solid var(--line2);border-radius:0;overflow:hidden;box-shadow:0 14px 40px rgba(0,0,0,.55);pointer-events:none}
.hookad .peek img{width:100%;aspect-ratio:9/16;object-fit:cover;display:block}
.hookad .peek .nomedia{display:grid;place-items:center;aspect-ratio:9/16;font-size:11px;color:var(--ink3)}
.hookad .peek .cap{display:flex;justify-content:space-between;gap:8px;padding:7px 9px;font-size:11.5px;color:var(--ink2)}
.hookad .peek .cap b{color:var(--ink);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hookad .peek.on{display:block}                 /* app.js places it at the cursor */
@media (hover:none){.hookad .peek{display:none!important}}

/* boards look like the Creatives view: the creative is the card; brand, angle, note and tools sit around it */
.boards{grid-template-columns:240px minmax(0,1fr)}
.items.bgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(222px,1fr));gap:34px 16px}
.bgrid .item{background:none;border:0;padding:0;min-width:0;position:relative}
.bgrid .item textarea{margin-top:10px;min-height:0;font-size:13px;padding:8px 10px;border-radius:0;border-color:var(--line)}
.bgrid .item textarea:focus,.bgrid .item textarea:not(:placeholder-shown){border-color:var(--line2)}
.bgrid .item .note{margin-top:10px;font-size:13px;color:var(--ink2);border-left:1px solid var(--acc);padding-left:10px}
.bgrid .tools{position:absolute;top:8px;right:8px;z-index:3;display:flex;gap:6px;align-items:center;padding:3px 8px;border-radius:99px;background:rgba(6,6,7,.72);color:var(--ink);font-size:13px;opacity:0;transition:opacity .12s}
.bgrid .tools span{cursor:grab;color:var(--ink2)}
.bgrid .item:hover>.tools,.bgrid .item:focus-within>.tools{opacity:1}
.bgrid .tools.static{position:static;opacity:1;background:none;padding:0;color:var(--ink2)}
.bgrid .agroup{grid-column:1/-1;border-top:1px solid var(--line);padding-top:22px}
.bgrid .agroup:first-child{border-top:0;padding-top:0}
.bgrid .agroup .ah{display:flex;justify-content:space-between;gap:24px;align-items:start;margin-bottom:16px}
.bgrid .agroup h3{font:600 22px/1.25 var(--display);margin-top:8px}
.bgrid .agroup .s{font-size:12.5px;color:var(--ink2);margin:6px 0 0}
.bgrid .agrid{margin-top:0;grid-template-rows:auto;grid-auto-rows:0;row-gap:0;overflow:hidden}   /* one row of creatives per angle: whatever does not fit is clipped, the angle page has them all */
.briefbox{margin-top:56px;border-top:1px solid var(--line);padding-top:18px}
.briefbox summary{cursor:pointer;font-weight:600;color:var(--ink2);list-style:none}
.briefbox summary::before{content:"+ ";color:var(--acc)}
.briefbox[open] summary::before{content:"– "}
.briefbox .brief{max-width:520px;margin-top:18px}
@media (hover:none){.bgrid .tools{opacity:1}}
@media (max-width:1180px){.boards{grid-template-columns:1fr}}

/* Moonbase by admetrics - lockup 14b (stacked). Size via --size (wordmark height in px); everything else scales from it. */
.moonbase-logo{--size:56;--ink:#F5F4F2;--accent:#FF6238;--lines:repeating-linear-gradient(0deg,rgba(6,6,7,.32) 0 1px,transparent 1px 3px);
  display:inline-flex;flex-direction:column;align-items:flex-end;gap:calc(var(--size) * .18px);text-decoration:none;color:var(--ink);flex:none}
.moonbase-logo .mb-word{display:inline-flex;font:800 calc(var(--size) * 1px)/1 Manrope,Inter,system-ui,sans-serif;letter-spacing:-.045em;
  color:transparent;-webkit-background-clip:text;background-clip:text;background-color:var(--ink);background-image:var(--lines)}
.moonbase-logo .mb-e{position:relative;display:inline-block;padding-right:.2em;
  background:inherit;-webkit-background-clip:text;background-clip:text}   /* WebKit leaves a positioned child out of its parent's text clip: the e clips its own */
.moonbase-logo .mb-sq{position:absolute;right:0;top:calc(var(--size) * .143px);width:calc(var(--size) * .143px);height:calc(var(--size) * .143px);background-color:var(--accent);background-image:var(--lines)}
.moonbase-logo .mb-by{display:inline-flex;align-items:flex-end;gap:calc(var(--size) * .14px);margin-right:calc(var(--size) * .155px);
  font:400 calc(var(--size) * .27px)/.8 Inter,system-ui,sans-serif;color:var(--ink);white-space:nowrap}
.moonbase-logo .mb-by img{height:calc(var(--size) * .285px);display:block}
.moonbase-logo.paper{--ink:#101012}
.moonbase-logo.paper .mb-word,.moonbase-logo.paper .mb-sq{background-image:none}
.moonbase-logo.paper .mb-by{filter:invert(1) brightness(.06)}

/* ---- waiting ------------------------------------------------------------
   Three states, all made of what the lockup already owns, so a wait never
   introduces a shape the brand does not have.
   · the square on the e blinks   - the whole page is fetching
   · sixteen of that square       - one region or one control is fetching
   · the seam under the chrome    - the page-level one again, readable from
                                    across the room, and it costs no layout
   html.busy is set by app.js around any navigation-sized fetch; the first
   and the third share its clock, so they read as one thing, not two. */
@keyframes mb-blink{0%,100%{opacity:1}50%{opacity:.16}}
html.busy .nav .moonbase-logo .mb-sq{animation:mb-blink 1.15s ease-in-out infinite}

/* the seam: absolute inside the sticky header, so it can never move a row.
   Idle it is transparent and its segment does not animate - nothing runs
   while nothing is loading. */
.nav .mb-transit{position:absolute;left:0;right:0;bottom:-1px;height:2px;z-index:2;background:transparent;opacity:0;transition:opacity .12s linear}
html.busy .nav .mb-transit{opacity:1;background:var(--line)}
.mb-transit{position:relative;height:2px;background:var(--line);overflow:hidden}
.mb-transit i{position:absolute;inset:0 auto 0 0;width:30%;background-color:var(--acc);
  background-image:repeating-linear-gradient(90deg,rgba(6,6,7,.42) 0 1px,transparent 1px 3px);   /* the wordmark's scanlines, turned a quarter */
  animation:mb-cross 1.15s cubic-bezier(.75,.03,.28,.98) infinite}
@keyframes mb-cross{0%{transform:translateX(-105%)}100%{transform:translateX(438%)}}
html:not(.busy) .nav .mb-transit i{animation:none}
/* determinate: the same element with a width. For a job with a known total. */
.mb-transit.det i{position:relative;animation:none;transition:width .3s cubic-bezier(.4,0,.2,1)}

/* the square, multiplied: sixteen lit in scan order with a decaying tail.
   --u is the cell, --g the gap; 3/2 is the inline size, 9/3 the panel size. */
.mb-raster{display:inline-grid;grid-template-columns:repeat(4,var(--u,3px));gap:var(--g,2px);vertical-align:-.15em;flex:none}
.mb-raster b{display:block;width:var(--u,3px);height:var(--u,3px);background:var(--line2);
  animation:mb-cell 1.25s linear infinite;animation-delay:calc(var(--i) * .078s)}
.mb-raster b:nth-child(1){--i:0}.mb-raster b:nth-child(2){--i:1}.mb-raster b:nth-child(3){--i:2}.mb-raster b:nth-child(4){--i:3}
.mb-raster b:nth-child(5){--i:4}.mb-raster b:nth-child(6){--i:5}.mb-raster b:nth-child(7){--i:6}.mb-raster b:nth-child(8){--i:7}
.mb-raster b:nth-child(9){--i:8}.mb-raster b:nth-child(10){--i:9}.mb-raster b:nth-child(11){--i:10}.mb-raster b:nth-child(12){--i:11}
.mb-raster b:nth-child(13){--i:12}.mb-raster b:nth-child(14){--i:13}.mb-raster b:nth-child(15){--i:14}.mb-raster b:nth-child(16){--i:15}
@keyframes mb-cell{0%,14%{background:var(--acc)}34%{background:var(--acc-deep)}56%,100%{background:var(--line2)}}
/* on a filled accent button the cells invert to the button's ink, or the comet disappears into the fill */
.btn.primary .mb-raster b{animation-name:mb-cell-inv}
@keyframes mb-cell-inv{0%,14%{background:var(--bg)}34%{background:rgba(6,6,7,.6)}56%,100%{background:rgba(6,6,7,.24)}}
/* determinate: the count is the only thing that changes, the grid never moves */
.mb-raster.det b{animation:none;background:var(--line);transition:background .22s linear}
.mb-raster.det b.on{background:var(--acc)}

@media (prefers-reduced-motion:reduce){
  /* each one keeps its idea and drops the travel: one slow breath instead of a run */
  html.busy .nav .moonbase-logo .mb-sq,.mb-raster b,.nav .mb-transit i{animation:mb-fade 2.6s ease-in-out infinite}
  .mb-raster b{background:var(--acc);animation-delay:calc(var(--i) * .04s)}
  .nav .mb-transit i{transform:none;width:100%}
  @keyframes mb-fade{0%,100%{opacity:.3}50%{opacity:1}}
}
.sitefoot{border-top:1px solid var(--line);margin-top:96px}
.sitefoot .wrap{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;padding-top:40px;padding-bottom:56px}
.sitefoot p{font-size:12.5px;color:var(--ink3);text-align:right}.sitefoot p i{font-style:normal;color:var(--line2);margin:0 10px}
.sitefoot p a{color:var(--ink2)}.sitefoot p a:hover{color:var(--acc)}

/* ---- front page */
/* every selector below starts with .home - keep it that way */.home .hero{display:grid;grid-template-columns:minmax(0,1fr) 452px;gap:64px;align-items:center;padding:64px 0 56px;border-bottom:1px solid var(--line)}
.home .hero .display{font-size:68px;line-height:1.02;margin:24px 0 24px;max-width:700px}.home .hero .lede{max-width:600px}
.home .cta{display:flex;align-items:center;gap:12px 16px;margin-top:30px;flex-wrap:wrap}
.home .herostats{display:flex;gap:34px;margin-top:40px;flex-wrap:wrap;color:var(--ink2);font-size:13px}.home .herostats .num{display:block;font-size:26px;color:var(--ink);margin-bottom:2px}
/* the plane: eleven lanes on a sheet tilted back from the header line, so the far tiles are small and the near ones larger; it
   runs from that line to the hero's bottom line and ends hard at the content's right edge. The sheet is wider and longer than
   the window onto it, so no edge of it ever shows. The copy side fades out on the sheet itself, so
   the fade leans with the perspective like the lanes do; a fine interlace lies over it like a screen. A lane's track holds its tiles twice; moving it by half its own height is one full pass, so the end lands exactly on
   the beginning - one copy (six tiles, ~0.98 x the sheet's width) must stay longer than the sheet (0.9 x its width).
   Lanes take turns rising and sinking, at three speeds; the pointer over the plane holds it still. */
.home .hero{position:relative}.home .hero>:first-child{position:relative;z-index:1}   /* the copy stays above the plane where the fade reaches under it */
/* the window reaches 100px under the copy, so the leaning fade ends inside it; the sheet and its vanishing point stay
   centred on the window's right 560px. At the content's right edge the plane fades out over 100px instead of ending hard. */
.home .wall{position:absolute;top:0;bottom:0;left:calc(100% - 660px);right:0;overflow:hidden;
  perspective:1300px;perspective-origin:calc(50% + 50px) 0;-webkit-mask-image:linear-gradient(270deg,transparent,#000 100px);mask-image:linear-gradient(270deg,transparent,#000 100px)}
.home .wall:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(180deg,rgba(6,6,7,.3) 0 1px,transparent 1px 3px)}
.home .plane{position:absolute;top:-90px;left:calc(50% + 50px);width:max(1040px,100%);margin-left:calc(max(1040px,100%) / -2);aspect-ratio:10/9;min-height:0;
  display:grid;grid-template-columns:repeat(11,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:10px;transform-origin:50% 0;transform:rotateX(44deg);
  -webkit-mask-image:linear-gradient(90deg,transparent 28%,#000 41%);mask-image:linear-gradient(90deg,transparent 28%,#000 41%)}
.home .lane{min-width:0;overflow:hidden}.home .lane .track,.home .lane .again{display:flex;flex-direction:column}   /* flex: a tile's margin never collapses out, so half the track is exactly one copy */
.home .lane .track{will-change:transform;animation:mb-lane-up 64s linear infinite}
.home .lane .tile{margin-bottom:10px;flex:none}.home .lane .tile .foot{padding:14px 7px 6px;gap:4px}   /* a narrow tile: the play or still mark alone, then the rating */
.home .lane.down .track{animation-name:mb-lane-down}
.home .lane:nth-child(3n+1) .track{animation-duration:52s}.home .lane:nth-child(3n) .track{animation-duration:80s}   /* three speeds, so the plane never reads as one sheet sliding */
.home .wall:hover .track{animation-play-state:paused}
/* the film sits on the plane, centred in its height and right of the faded edge, above the interlace; hovered, the pill
   turns orange with black type and a black play button */
.home .film{position:absolute;z-index:2;left:calc(100% - 228px);top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:14px;padding:8px 24px 8px 8px;
  background:var(--ink);color:var(--bg);border-radius:999px;font:600 15px/1 var(--ui);white-space:nowrap;box-shadow:0 12px 40px rgba(0,0,0,.55);transition:background .15s}
.home .film i{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--bg)}
.home .film i:before{content:"";margin-left:3px;border-style:solid;border-width:6px 0 6px 10px;border-color:transparent transparent transparent var(--ink);transition:border-color .15s}
.home .film span{font-weight:500;color:rgba(6,6,7,.55);transition:color .15s}
.home .film:hover{background:var(--acc)}.home .film:hover span{color:var(--bg)}.home .film:hover i:before{border-left-color:var(--acc)}
/* the player over the page: the page behind dark and blurred, the film in the middle at the largest 16:9 that fits, the
   close button top right. A click beside the film, Esc or the X closes it (app.js), and closing unloads the player. */
.home .filmbox{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:var(--ink)}
.home .filmbox[open]{display:grid;place-items:center}
.home .filmbox::backdrop{background:rgba(6,6,7,.78);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.home .filmbox .player{width:min(1180px,calc(100vw - 48px),calc((100vh - 140px) * 16 / 9));aspect-ratio:16/9;background:#000;box-shadow:0 30px 90px rgba(0,0,0,.6)}
.home .filmbox iframe{display:block;width:100%;height:100%;border:0}
.home .filmbox form{position:fixed;top:18px;right:22px}   /* out of the grid: the film alone is centred */
.home .filmbox .x{width:48px;height:48px;display:grid;place-items:center;font:300 34px/1 var(--ui);color:var(--ink);background:none;border:0;cursor:pointer}
.home .filmbox .x:hover{color:var(--acc)}
@keyframes mb-lane-up{0%{transform:translateY(0)}100%{transform:translateY(-50%)}}
@keyframes mb-lane-down{0%{transform:translateY(-50%)}100%{transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){.home .lane .track{animation:none}.home .lane.down .track{transform:translateY(-50%)}}
.home .hsec{padding:56px 0 8px}.home .hsec .sectionhead{margin:0 0 22px}
.home .lenses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home .lens{background:var(--bg2);border:1px solid var(--line);padding:26px 26px 22px;display:flex;flex-direction:column;min-width:0}
.home .lens h3{font:700 23px/1.2 var(--display);letter-spacing:-.015em;margin:16px 0 6px}.home .lens h3 a:hover{color:var(--acc)}
.home .lens .nums{display:flex;gap:22px;margin:18px 0 18px;font-size:12px;color:var(--ink2);flex-wrap:wrap}.home .lens .nums .num{font-size:22px;color:var(--ink);margin-right:5px}.home .lens .nums .acc{color:var(--acc)}
.home .lens .minis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:auto}
.home .lens .more{display:flex;justify-content:flex-end;align-items:baseline;margin-top:18px;font-size:13px}
.home .hooks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}
.home .firstline{position:relative;display:block;padding:22px 0 22px 20px;border-left:2px solid transparent;margin-left:-22px;transition:.15s}
/* The row hangs 22px into the page gutter so the hover bar sits outside the text and the text still lines up with the   section head. The rule on top must not come with it, or every line runs past the page edge: draw it from the text. */
.home .firstline:after{content:"";position:absolute;left:20px;right:0;top:0;border-top:1px solid var(--line)}.home .firstline:hover{border-left-color:var(--acc)}
/* The top row opens the list: no rule above it, and no padding held back to clear one. Two of them while the hooks are in
   two columns, one once they stack (below). */
.home .firstline:nth-child(-n+2){padding-top:0}.home .firstline:nth-child(-n+2):after{content:none}
.home .firstline p{font:600 21px/1.3 var(--display);letter-spacing:-.01em;margin:0}.home .firstline:hover p{color:var(--acc)}.home .firstline .en{display:block;color:var(--ink2);font-size:14px;margin-top:6px}
.home .firstline .src{display:block;color:var(--ink3);font-size:12px;margin-top:10px}.home .firstline .src b{color:var(--ink2);font-weight:600}
.home .shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.home .shortcuts a{display:flex;flex-direction:column;gap:6px;padding:20px 20px 18px;border:1px solid var(--line);background:var(--bg2);min-height:136px;transition:.15s}.home .shortcuts a:hover{border-color:var(--acc)}
.home .shortcuts b{font:700 16px/1.25 var(--display);letter-spacing:-.01em}.home .shortcuts span{color:var(--ink2);font-size:12.5px;line-height:1.4}.home .shortcuts em{font-style:normal;margin-top:auto;padding-top:10px;font-size:12.5px;color:var(--acc)}
.home .two3{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:56px}.home .pulse td a:hover{color:var(--acc)}.home .pulse .r+td,.home .pulse .r+th{padding-left:22px}
.home .gaps{display:grid;gap:8px}.home .gaps a{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 16px;background:var(--bg2);border:1px solid var(--line);transition:.15s}.home .gaps a:hover{border-color:var(--acc)}
.home .gaps .num{font-size:22px}.home .gaps span b{display:block;font-weight:600;font-size:14px}.home .gaps small{color:var(--ink2);font-size:12px}.home .gaps em{font-style:normal;color:var(--ink3)}
.home .movers{display:grid}.home .movers a{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;padding:10px 0;border-top:1px solid var(--line);font-size:14px;align-items:baseline}.home .movers a:hover b{color:var(--acc)}.home .movers span{font-size:12px}.home .movers em{font-style:normal;font-size:12.5px}
.home .trend{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:56px}.home .trend .kicker{margin-bottom:16px}
.home .fresh{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.home .fresh .cap{display:flex;flex-direction:column;gap:1px;margin-top:8px;font-size:12px;min-width:0}.home .fresh .cap b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.home .fresh .cap span{font-size:11px}
.home .shifts{display:grid}.home .shifts a{display:grid;grid-template-columns:86px minmax(0,1fr) auto;gap:14px;align-items:baseline;padding:10px 0;border-top:1px solid var(--line);font-size:14px}.home .shifts a:hover b{color:var(--acc)}
.home .shifts em{font-style:normal;font:700 13px/1 var(--display);white-space:nowrap}.home .shifts .up{color:var(--acc)}.home .shifts .down{color:var(--ink3)}.home .shifts b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home .shifts span{font-size:12px;color:var(--ink2);white-space:nowrap}
.home .closing{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-top:64px;padding:34px 36px;background:var(--bg2);border:1px solid var(--line);flex-wrap:wrap}.home .closing p{margin:6px 0 0;max-width:620px}
@media (max-width:1180px){.home .trend{grid-template-columns:1fr;gap:34px}.home .fresh{grid-template-columns:repeat(3,1fr)}.home .hero{grid-template-columns:1fr;gap:40px}.home .hero .display{font-size:46px}.home .plane{left:50%;-webkit-mask-image:none;mask-image:none}.home .wall{position:relative;inset:auto;height:460px;perspective-origin:50% 0;-webkit-mask-image:linear-gradient(transparent,#000 22%);mask-image:linear-gradient(transparent,#000 22%)}.home .film{left:50%}.home .lenses{grid-template-columns:1fr}.home .shortcuts{grid-template-columns:repeat(2,1fr)}.home .two3{grid-template-columns:1fr}.home .hooks{grid-template-columns:1fr}.home .firstline:nth-child(2){padding-top:22px}.home .firstline:nth-child(2):after{content:""}}
@media (max-width:640px){.home .wall{height:380px}.home .shortcuts{grid-template-columns:1fr}.home .hero .display{font-size:38px}}

/* ---- hints: a dotted underline says "hover me"; the note itself is one floating element (app.js), so no scrolling container can clip it */
[data-hint]{text-decoration:underline dotted var(--ink3);text-underline-offset:4px;text-decoration-thickness:1px;cursor:help}
/* except on the traction chip: the box is already its own mark, and a dotted rule under a number reads as part of the number.
   The hint and the help cursor stay - only the underline goes. */
.tchip[data-hint],.tracbadge[data-hint]{text-decoration:none}
.tracbadge[data-hint] small{text-decoration:underline dotted var(--ink3);text-underline-offset:4px;text-decoration-thickness:1px}   /* the score badge: the caption under it carries the hover mark instead */
.tip{position:fixed;z-index:95;max-width:260px;background:var(--card);border:1px solid var(--line2);border-radius:0;padding:8px 11px;font:400 12.5px/1.45 var(--ui);color:var(--ink);box-shadow:0 12px 30px rgba(0,0,0,.55);pointer-events:none;opacity:0;transform:translateY(3px);transition:opacity .1s,transform .1s}
.tip.on{opacity:1;transform:none}

/* ---- sign-in */
.signin{min-height:100vh;display:grid;place-items:center;padding:40px 20px}
.signin .box{width:min(400px,100%);display:grid;gap:18px}
.signin h1{font:700 30px/1.15 var(--display);letter-spacing:-.02em;margin-top:22px}
.signin label{display:grid;gap:8px;font-size:13px;color:var(--ink2)}
.signin input[type=email]{background:none;border:1px solid var(--line2);border-radius:0;padding:12px 14px;font-size:15px;color:var(--ink)}
.signin input[type=email]:focus{outline:none;border-color:var(--acc)}
.signin form{display:grid;gap:12px}
.signin .btn.wide{width:100%;justify-content:center;display:flex;align-items:center;gap:10px;padding:12px 16px}
.signin .btn.google{background:#fff;color:#1f1f1f;border-color:#fff;font-weight:600}
.signin .or{display:flex;align-items:center;gap:12px;color:var(--ink3);font-size:12px}
.signin .or::before,.signin .or::after{content:"";flex:1;height:1px;background:var(--line)}
.signin .warn{border-left:2px solid var(--acc);padding-left:12px;font-size:14px}
/* ---- alerts + following */
/* the unread count on the Alerts tab. Ink on the accent, like .skip: white on this orange is 3.0:1, below AA at 11px; the near-black is 6.9:1. */
.badge{display:inline-block;margin-left:7px;padding:1px 7px;border-radius:99px;background:var(--acc);color:var(--bg);font:600 11px/1.5 var(--ui);vertical-align:2px}
.avatar{width:20px;height:20px;border-radius:50%;vertical-align:-5px;margin-right:7px}
.btn.on{border-color:var(--acc);color:var(--acc)}
.alertcols{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:56px;padding-top:34px}
.agroup2{border-top:1px solid var(--line);padding:26px 0 38px}
.agroup2:first-child{border-top:0;padding-top:0}
.agroup2 .ah{margin-bottom:18px}
.agroup2 .h2{margin-top:8px}
.agroup2 .s{font-size:12.5px;color:var(--ink2);margin-top:6px}
.card.unread .tile{border-color:var(--acc)}
.atype{font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.atype.new_winner{color:var(--acc)}
.atype.ended{color:var(--ink2)}
.frow{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.frow a{font-weight:600}
.frow small{display:block;font-size:12px;color:var(--ink3);margin-top:3px}
@media (max-width:1180px){.alertcols{grid-template-columns:1fr}}
.signin .moonbase-logo{justify-self:start}
/* account: API keys */
.keyform{display:flex;gap:8px;align-items:center;max-width:460px}.keyform input{flex:1;min-width:0;background:none;border:1px solid var(--line2);border-radius:0;padding:10px 12px;color:var(--ink);font:inherit;font-size:14px}.keyform input:focus{outline:none;border-color:var(--ink2)}.keyform .btn{width:auto;white-space:nowrap}
/* brands: add a brand we miss */
.addbrand{margin:56px 0 0;padding-top:28px;border-top:1px solid var(--line);max-width:760px}.addbrand .cand{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid var(--line)}.addbrand .cand b{font-weight:600}.addbrand .cand .btn{width:auto;white-space:nowrap}

@media (max-width:820px){.scope{position:static}.scope .wrap{flex-wrap:wrap;height:auto}.scope details{height:46px}.scope summary{padding:0 12px}.search{flex-basis:100%;max-width:none;height:46px;border-left:0;border-top:1px solid var(--line);padding-left:0;margin-left:0}}

/* /apidocs: the API reference - a sticky index on the left, endpoint cards on the right */
.apidocs{display:grid;grid-template-columns:238px minmax(0,1fr);gap:64px;max-width:var(--max);margin:0 auto;padding:0 var(--pad) 100px}
.apinav{position:sticky;top:61px;align-self:start;max-height:calc(100vh - 61px);overflow:auto;padding:34px 0 40px;font-size:13px;scrollbar-width:thin}
.apinav .kicker{margin-bottom:16px}
.apinav a{display:block;padding:4px 0;color:var(--ink2)}
.apinav a:hover{color:var(--acc)}
.apinav a.lead{margin-top:18px;color:var(--ink);font-weight:600;font-size:13.5px}
.apinav a.lead:first-of-type{margin-top:0}
.apinav a.ep{display:flex;gap:7px;align-items:baseline;padding:3px 0 3px 2px;font-family:var(--mono);font-size:11.5px;color:var(--ink3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.apinav a.ep .apidocs .verb{flex:none}
.apinav a.ep:hover{color:var(--ink)}
.apimain{padding:34px 0 0;max-width:860px}
.apimain section{padding:0 0 46px;margin-bottom:46px;border-bottom:1px solid var(--line);scroll-margin-top:78px}
.apimain section:last-child{border-bottom:0}
.apimain .head{border-bottom:1px solid var(--line)}
.apimain h1.display{font-size:52px;margin:14px 0 0}
.apimain h2.h2{font-size:27px;margin:0 0 16px}
.apimain h3.h3{font-size:15px;font-weight:600;margin:24px 0 8px}
.apimain p{margin:0 0 12px;color:var(--ink2);max-width:74ch}
.apimain p.lede{font-size:18px;line-height:1.5;color:var(--ink);margin:18px 0 26px;max-width:70ch}
.apimain p.lede.sm{font-size:15.5px;color:var(--ink2);margin:0 0 26px}
.apimain code{font-family:var(--mono);font-size:12.5px;background:var(--bg2);border:1px solid var(--line);border-radius:0;padding:1px 5px;color:var(--ink)}
.apimain pre{margin:0 0 14px;padding:14px 16px;background:var(--bg2);border:1px solid var(--line);border-radius:0;overflow:auto}
.apimain pre code{background:none;border:0;padding:0;font-size:12.5px;line-height:1.6;color:var(--ink2);white-space:pre-wrap;word-break:break-word}
.apimain table.t{margin:6px 0 18px}
.apimain table.t td,.apimain table.t th{padding:9px 14px 9px 0;vertical-align:top}
.apimain table.t.sm{font-size:13px}
.apimain .two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}
.apimain .quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px;margin:30px 0 8px}
.apidocs .verb{font-family:var(--ui);font-size:10px;font-weight:700;letter-spacing:.06em;padding:3px 6px;border-radius:0;border:1px solid var(--line2);color:var(--ink2);background:var(--bg2)}
.apidocs .v-get{color:#7FD1A6;border-color:rgba(127,209,166,.35)}
.apidocs .v-post{color:var(--acc-tint);border-color:rgba(255,138,102,.4)}
.apidocs .v-put,.apidocs .v-patch{color:#E2C275;border-color:rgba(226,194,117,.35)}
.apidocs .v-delete{color:#E28A8A;border-color:rgba(226,138,138,.35)}
.apidocs article.ep{padding:22px 0 4px;border-top:1px solid var(--line)}
.apidocs article.ep:first-of-type{border-top:0}
.apidocs article.ep .eph{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.apidocs article.ep .sig{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.apidocs article.ep .sig code{font-size:13.5px;background:none;border:0;padding:0;color:var(--ink)}
.apidocs article.ep h3.h3{margin:10px 0 8px;font-size:17px}
.apidocs article.ep .tags{display:flex;gap:6px;flex-wrap:wrap}
.apidocs article.ep .tag{font-size:11px;padding:3px 8px;border-radius:999px;border:1px solid var(--line);color:var(--ink3)}
.apidocs article.ep .tag.tenant{color:var(--acc-tint);border-color:rgba(255,138,102,.3)}
.apidocs article.ep .code{position:relative;margin-top:12px}
.apidocs article.ep .code .cl{position:absolute;right:12px;top:9px;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink3)}
.apidocs article.ep ul.notes{margin:8px 0 4px;padding-left:18px;color:var(--ink2);font-size:13.5px;max-width:74ch}
.apidocs article.ep ul.notes li{margin:5px 0}
.apidocs .facets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:12px 0 16px}
.apidocs .facet{padding:14px 16px;border:1px solid var(--line);border-radius:0;background:var(--bg2)}
.apidocs .facet .fh{display:flex;justify-content:space-between;align-items:center;gap:10px}
.apidocs .facet .fh code{background:none;border:0;padding:0;font-size:13px;color:var(--ink)}
.apidocs .facet .by{font-size:10.5px;color:var(--ink3);text-transform:uppercase;letter-spacing:.05em}
.apidocs .facet .as{flex:1;font-family:var(--mono);font-size:11px;color:var(--ink3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.apidocs .facet p.q{margin:6px 0 9px;font-size:12px}
.apidocs .facet .vals{display:flex;flex-wrap:wrap;gap:5px;margin:0}
.apidocs .facet .vals code{font-size:11.5px;padding:2px 6px;color:var(--ink2)}
@media (max-width:1100px){.apidocs{grid-template-columns:1fr;gap:0}.apinav{display:none}.apimain .two,.apimain .quick,.apidocs .facets{grid-template-columns:1fr}}

/* ============================================================================
   Small screens. The scene: someone was sent a link — an angle, a brand, a board —
   and opens it on a phone. Nothing is hidden behind a menu; the same screens, the
   same scope, re-laid for one thumb and one column.
   Breakpoints are where this layout actually breaks, not device sizes:
     900  the header's three groups stop fitting on one line
     820  the 212px filter rail stops leaving a usable content column
     560  two tiles per row stop fitting comfortably
   ========================================================================== */

/* Headlines stop being a fixed 56px and scale with the viewport: at 375px the
   Creatives count used to break into three lines ("40 / 413 / ads"). */
@media (max-width:900px){
  .display{font-size:clamp(30px,7.6vw,56px)}
  .display-lg{font-size:clamp(24px,5.4vw,32px)}
  .h2{font-size:clamp(19px,3.4vw,24px)}
  .head{padding:34px 0 22px}
  .resultline{flex-direction:column;align-items:flex-start;gap:12px}
  .resultline .display-lg{font-size:clamp(26px,7.2vw,40px)}
  .resultline .sortbar{max-width:100%}
  .head .display{margin:16px 0 16px}

  /* Header: logo, share, inbox and settings on the first line, the sections on a
     strip below. Every section stays one tap away — no hamburger. The strip's first
     word starts under the logo, and it scrolls from screen edge to screen edge. */
  .nav .wrap{--edge:max(var(--pad),env(safe-area-inset-left,0px),env(safe-area-inset-right,0px));display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"logo right" "nav nav";height:auto;gap:0 14px;padding-top:13px;padding-left:var(--edge);padding-right:var(--edge)}
  .nav .moonbase-logo{grid-area:logo;align-self:center}
  .nav .right{grid-area:right;justify-self:end;gap:12px;min-width:0;padding-left:0}
  .nav .wrap:has(.navend) .right{margin-right:70px}
  /* Inbox and settings live inside the strip in the markup. Out of its flow they stay on the first line, and the
     settings menu escapes the strip's overflow, which cut it off completely. Their containing block is the header. */
  .nav .navend{position:absolute;top:11px;right:calc(var(--edge) - 10px);margin:0;padding:0;gap:0}
  .nav .navend a{flex:none;max-width:44vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:13px 0}
  .nav nav{grid-area:nav;gap:0;margin:11px calc(-1*var(--edge)) 0;padding:0 var(--edge);scroll-padding-inline:var(--edge);border-top:1px solid var(--line);overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-x:contain}
  .nav nav::-webkit-scrollbar{display:none}
  .nav nav a{flex:none;padding:13px 15px;font-size:14px}
  .nav nav > a:first-child{padding-left:0}
  .nav nav > a:last-of-type{padding-right:0}
  .nav .right .btn.sm{padding:9px 15px;font-size:13.5px}

  /* The header is two rows now, so the scope bar can no longer stick under a
     fixed 61px; it scrolls with the page. */
  .scope{position:static}

  /* The ad detail is the whole screen on a phone, not a 562px drawer over one. */
  .panel{top:0;width:100%;max-width:none;border-left:0;z-index:60}
  .panel .in{padding:18px 18px 60px}
  .panel .ph{margin:-18px -18px 18px;padding:16px 18px 12px;gap:8px}
  .panel .ph .kicker{min-width:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .panel .ph .tiny{flex:none;white-space:nowrap}   /* Copy link keeps its words; the brand name gives way first */
  .panel .ph .x{flex:none;gap:6px}          /* previous / next / close keep their place at the end of the row */
  /* the detail stacks: the creative first at a size worth looking at, then what we read off it */
  .pmedia{grid-template-columns:minmax(0,1fr);gap:18px}
  .pmedia .stage,.pmedia .pcol{width:100%;max-width:260px;margin:0 auto}
  .pmedia > *{min-width:0}
  .panel .kv{grid-template-columns:86px minmax(0,1fr);gap:11px 10px}   /* label beside value still scans; just a narrower label */

  /* The matrix is a wide table by nature: it scrolls inside its own frame with
     the row labels pinned, instead of pushing the page sideways. */
  .matrix{min-width:700px}
  .matrix .rh{position:sticky;left:0;z-index:2;background:var(--bg);padding-right:10px}
  .matrix .ch{font-size:11.5px}
  .axis{flex-wrap:wrap;gap:10px 14px}         /* the second-axis choices wrap instead of running off the edge */
  .axis,.mlegend{justify-content:flex-start}
  .matrix + p,.mscroll + p{text-align:left}
}

/* Scope bar: five filters as an even two-column block instead of a ragged wrap,
   so the current scope stays readable without eating the screen. */
@media (max-width:820px){
  .scope .wrap{display:grid;grid-template-columns:1fr 1fr;height:auto;gap:0;padding-left:var(--pad);padding-right:var(--pad)}
  .scope details{min-width:0;height:44px;border-top:1px solid var(--line);border-right:1px solid var(--line)}
  .scope details:nth-child(2n),.scope details:last-of-type{border-right:0}
  .scope summary{flex:1;padding:0 12px;min-width:0;gap:4px}
  .scope details:nth-child(2n+1) summary{padding-left:0}   /* the left column starts where the page does, every row of it */
  .scope details:nth-child(2n) summary{padding-right:0}    /* and the right one ends where it does: "Last 90 days" needs those 12px */
  .scope summary b{min-width:0;margin-right:auto;overflow:hidden;text-overflow:ellipsis}   /* the chevrons line up at the end of each column */
  .scope summary:after{flex:none;margin-left:2px;margin-right:0}
  /* The sort strip runs off the screen edge, not off the page's margin: a word cut there reads as "more this way". */
  .resultline .sortbar{width:calc(100% + var(--pad));max-width:none;margin-right:calc(-1*var(--pad));padding-right:var(--pad)}
  .scope details[open]:first-child{box-shadow:none}
  .scope details:nth-child(2n) .menu{left:auto;right:0}
  .scope .menu{max-width:calc(100vw - 2*var(--pad))}
  .search{grid-column:1/-1;flex-basis:auto;max-width:none;height:46px;border-left:0;border-top:1px solid var(--line);padding-left:0;margin-left:0}

  /* One column: filters first and compact, then the results. */
  .cols{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:20px 0 60px}
  .rail{position:static;max-height:none;overflow:visible;display:grid;grid-template-columns:1fr 1fr;gap:0 26px;align-items:start;
        padding:0 0 4px;margin-bottom:24px;border-bottom:1px solid var(--line);font-size:13px}
  .rail .top{grid-column:1/-1;gap:10px;padding-bottom:0;border-bottom:0;align-items:center;justify-content:flex-start}
  .rail.folded{border-bottom:1px solid var(--line);margin-bottom:18px;padding-bottom:0}
  .rail.folded .facet{display:none}
  .facet{padding:11px 0}
  .railtoggle{display:inline-block;margin-left:auto;padding:12px 0 12px 16px;color:var(--acc);font-size:13px;font-weight:600}

  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 10px;margin-top:22px}
  .two{gap:34px}
  .tabs{gap:26px;overflow-x:auto;scrollbar-width:none}
  .tabs::-webkit-scrollbar{display:none}
  .tabs a{flex:none}
  .tabs .note{display:none}      /* the same sentence is repeated under the list */
  .sortbar{overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
  .sortbar::-webkit-scrollbar{display:none}
  .hookline{grid-template-columns:38px minmax(0,1fr);gap:12px}
  .hookline .by{grid-column:2;font-size:11.5px}
  .hookline button{grid-column:2;justify-self:start}
  .group{padding:22px 20px;grid-template-columns:minmax(0,1fr)}
  .listrow{grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;padding:14px 0}
  .listrow .n{grid-column:1/-1}
  .sitefoot .wrap{flex-direction:column;align-items:flex-start;gap:18px;padding-bottom:40px}
  .sitefoot p{text-align:left}
  .cardbox{padding:20px}

  /* Anything still carrying a desktop width: the three thumbnails on an angle card,
     the settings form, and the API reference's tables. */
  .tiles3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .acctcols{grid-template-columns:minmax(0,1fr);gap:44px;padding-top:32px;padding-bottom:60px}
  .acctcols > *{min-width:0}      /* a grid item defaults to min-width:auto and pushes past its track */
  .form{max-width:100%;min-width:0}
  .form > *{min-width:0}
  .form input,.form select{max-width:100%}
  .apidocs{min-width:0}
  .apimain{max-width:100%;min-width:0}
  .apidocs table.t{table-layout:fixed}
  .apidocs table.t td,.apidocs table.t th{word-break:break-word}
  .apidocs .apimain h1.display{font-size:clamp(30px,8vw,52px)}
}

/* The brands table keeps what a phone can act on: who, how much, and the way in.
   Category, price band, analysed and angle counts stay on the brand's own page. */
@media (max-width:820px){
  .brandtable th:nth-child(2),.brandtable td:nth-child(2),
  .brandtable th:nth-child(3),.brandtable td:nth-child(3),
  .brandtable th:nth-child(7),.brandtable td:nth-child(7),
  .brandtable th:nth-child(8),.brandtable td:nth-child(8){display:none}
}

@media (max-width:560px){
  :root{--pad:20px}      /* the 28px gutter took 15% of a phone's width */
  /* All six sections fit on one line from 360px, flush with the logo on the left and the settings icon on the right. */
  .nav nav{justify-content:space-between}
  .nav nav a{padding:13px 1.35vw;font-size:clamp(12.5px,3.6vw,13.5px)}
  /* The copyright on its own line, so a wrap cannot leave a separator hanging at the end of one. */
  .sitefoot p{display:flex;flex-wrap:wrap;align-items:center}
  .sitefoot p i:first-of-type{flex-basis:100%;height:0;margin:0;overflow:hidden}
  /* A phone has room for who and the way in. The counts move under the brand name
     rather than being dropped or squeezed into columns that cut the link off. */
  .brandtable th:nth-child(4),.brandtable td:nth-child(4),
  .brandtable th:nth-child(5),.brandtable td:nth-child(5),
  .brandtable th:nth-child(6),.brandtable td:nth-child(6){display:none}
  .brandtable th:nth-child(n+10),.brandtable td:nth-child(n+10),.brandtable th:last-child,.brandtable td:last-child{display:none}
  table.brandtable{table-layout:fixed}
  .brandtable th:nth-child(9){width:100px}
  .brandtable td.b{overflow-wrap:anywhere;padding-right:12px}
  .brandtable .rowmeta{display:block;margin-top:5px;font-size:12px;color:var(--ink2)}
  .brandtable td{padding:12px 0}
  .grid{gap:20px 8px}
  .nav .right > a{max-width:26vw}
  .hookline{grid-template-columns:34px minmax(0,1fr)}
  .boards{gap:26px}
}

/* Too narrow for logo, share and icons on one line, and a phone's browser has its own share button. */
@media (max-width:359px){.nav .right:has([data-copy-url]){display:none}}

/* Touch: the rail, the footer and the small text links are 14–22px tall on a
   pointer device. Under a finger they get a real target without moving on desktop. */
@media (max-width:900px){.headrow{display:block}
  .headrow .addbrand{margin:32px 0 0;max-width:none;flex:none;padding-top:28px;border-top:1px solid var(--line)}}
@media (max-width:820px),(pointer:coarse){
  .facet a{padding:10px 0}
  .facet summary{padding:5px 0}
  .scope .menu a{padding:11px 12px}
  .rail .top a,.sitefoot p a,.crumbs a,.sortbar a,.axis a{display:inline-flex;align-items:center;min-height:40px}
  .link{display:inline-flex;align-items:center;min-height:38px}
  table.t td .link{min-height:44px}
  .hookline button,.panel .ph .x button{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  .dots{padding:6px 0}
}

/* Notched phones: never let the page or the full-screen panel sit under a corner. */
@supports (padding:max(0px)){
  @media (max-width:900px){
    .wrap{padding-left:max(var(--pad),env(safe-area-inset-left));padding-right:max(var(--pad),env(safe-area-inset-right))}
    .panel .in{padding-bottom:max(60px,env(safe-area-inset-bottom))}
  }
}

.nav .nav-crumb{margin-left:16px}
/* The public pages' bar (logo and a crumb, public_base.html) is one line, 61px at every width: the height the report's and
   the briefing's section bar sticks under. The product's two-row phone bar (header: logo and account, sections below) is
   not for it: there the crumb wrapped to two lines in a 54px bar with no room below it, and the section bar stuck 61px
   down left a 7px gap. Selector outranks the phone rule's `.nav .wrap`, so the order does not matter. */
.nav .wrap:has(> .nav-crumb){display:flex;height:61px;padding-top:0;padding-bottom:0}
.nav .nav-crumb{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* ==== Public benchmark (/competitor-benchmark, its email steps and /report): the brand and angle page vocabulary.
   Only what those pages have no piece for is defined here - square edges, the same tokens, no sizes of its own. */
.lead-page{padding-bottom:90px}
.lead-page .brand-head .display{max-width:760px}
.lead-page .notice a.link{margin-left:6px}
.lead-steps h2,.lead-score h2{font:600 13px/1.4 var(--ui)}
.lead-steps ol{list-style:none;margin:12px 0 4px;padding:0;font-size:13.5px;color:var(--ink2)}
.lead-steps li{display:grid;grid-template-columns:28px 1fr;gap:8px;padding:10px 0;border-top:1px solid var(--line2)}
.lead-steps li b{font:700 15px/1.3 var(--display);color:var(--acc)}
.lead-steps dl{margin-top:12px}
/* forms: the sign-in page's field (square, one hairline, orange on focus) */
.lead-form label{display:block;font-size:13px;color:var(--ink2);margin:14px 0 8px}
/* fields as on admetrics.io (book a demo): a light pill with dark text, no visible border until focus */
.lead-form input,.lead-form select{display:block;width:100%;background:var(--ink);border:1px solid var(--ink);border-radius:999px;padding:9px 16px;font:400 14.5px/1.3 var(--ui);color:var(--bg)}
.lead-form input::placeholder{color:#6A6862}
.lead-form select{appearance:none;-webkit-appearance:none;padding-right:40px;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,#060607 50%),linear-gradient(135deg,#060607 50%,transparent 50%);background-position:calc(100% - 20px) 55%,calc(100% - 15px) 55%;background-size:5px 5px;background-repeat:no-repeat}
.lead-form input:focus,.lead-form select:focus{outline:none;border-color:var(--acc);box-shadow:0 0 0 2px var(--acc-surface)}
/* the builder: one field per step, each a pill with its own short list underneath */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.lead-step .sectionhead{margin-top:40px}
.lead-pick{position:relative;max-width:520px;margin-top:12px}
.lead-pick input,.lead-pick select{font-size:16px;padding:12px 20px}
.lead-hint{max-width:520px;margin-top:12px}.lead-hint b{color:var(--ink);font-weight:600}
.lead-suggestions button span{color:var(--ink3);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lead-suggestions{position:absolute;left:0;right:0;z-index:5;box-shadow:0 14px 40px rgba(0,0,0,.55);margin-top:6px;border:1px solid var(--line2);border-radius:18px;background:var(--bg);overflow:hidden}
.lead-suggestions button{display:flex;justify-content:space-between;align-items:baseline;gap:16px;width:100%;padding:11px 18px;text-align:left;font-size:14.5px;border-top:1px solid var(--line)}.lead-suggestions button b{font-weight:500}
.lead-suggestions button:first-child{border-top:0}
.lead-suggestions button:hover,.lead-suggestions button:focus-visible{background:var(--bg2);color:var(--acc)}
.lead-submit{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-top:24px;padding-top:6px}
.lead-submit>div{flex:1;max-width:420px}.lead-submit p{margin-top:8px}
.lead-page [role=status]:not(.notice):not(.lead-progress){min-height:20px;margin-top:10px}
.lead-page button:disabled{opacity:.55;cursor:wait}
.lead-card{margin-top:30px;max-width:560px}
.lead-inline{display:flex;gap:10px}.lead-inline input{flex:1}
/* the step buttons span the field above them: Back under its left edge, Next under its right */
.lead-nav{max-width:520px;margin-top:24px;justify-content:space-between}.lead-nav .btn{margin-left:auto}
.lead-form [data-google]{margin-top:14px}
.lead-form .lead-consent{display:flex;gap:10px;align-items:flex-start;margin-top:18px;line-height:1.45;cursor:pointer}
.lead-form .lead-consent input{width:18px;height:18px;flex:none;margin:1px 0 0;padding:0;border-radius:4px;accent-color:var(--acc)}
.lead-or{display:flex;align-items:center;gap:12px;color:var(--ink3);font-size:12px;margin:18px 0 0}.lead-or:before,.lead-or:after{content:"";flex:1;border-top:1px solid var(--line2)}
.lead-row{grid-template-columns:minmax(0,1fr) auto}
.lead-what,.brand-insights .lead-what{grid-template-columns:190px minmax(0,1fr)}
.lead-progress{height:2px;max-width:640px;margin-top:28px;background:var(--line);overflow:hidden}
.lead-progress i{display:block;width:30%;height:100%;background:var(--acc);animation:lead-go 1.4s ease-in-out infinite}
@keyframes lead-go{from{transform:translateX(-100%)}to{transform:translateX(340%)}}
@media (prefers-reduced-motion:reduce){.lead-progress i{animation:none;width:100%}}
/* the report */
.lead-report .lead-score{display:flex;justify-content:space-between;align-items:start;gap:16px;padding-bottom:14px}
.lead-report .lead-score .tracbadge b{font-size:30px;padding:10px 16px 8px}
.lead-toc{flex-wrap:wrap;gap:8px 28px;margin-top:34px}.lead-toc a{font-size:14px}
.lead-section{scroll-margin-top:80px}
.lead-note{font-size:13.5px;color:var(--ink2);max-width:760px;margin:-6px 0 22px}
.lead-h3{font:600 13.5px/1.4 var(--ui);margin:26px 0 12px}.lead-h3 .small{font-weight:400;margin-left:6px}
.lead-tight{margin-top:0}
.lead-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.lead-metrics>div{background:var(--card);padding:22px 24px;display:grid;gap:6px}
.lead-metrics .num{font-size:34px;line-height:1}.lead-metrics b{font-weight:600;font-size:14px;margin-top:6px}.lead-metrics small{color:var(--ink2);font-size:12px}
.lead-metrics .bar{margin-top:10px}
.lead-table{overflow-x:auto}
.lead-table table.t{min-width:720px}
table.t th.r,table.t td.r{text-align:right;padding-left:16px;font-variant-numeric:tabular-nums}
table.t td.b{font-weight:600}
table.t tr.mine td{color:var(--ink)}table.t tr.mine td.b{color:var(--acc)}
table.t .chip{font-weight:400;margin-left:6px;border-color:var(--acc-deep);color:var(--acc)}
.lead-table table.t th+th,.lead-table table.t td+td{padding-left:20px}
.lead-heat td.r>span:first-child{display:block}.lead-heat td .bar{display:block;width:90px;margin:6px 0 0 auto}
.lead-heat th.mine,.lead-heat td.mine{color:var(--acc)}.lead-heat td.cat{color:var(--ink2)}
.lead-strips{display:grid;grid-template-columns:170px minmax(0,1fr) 190px;gap:14px 20px;align-items:center;font-size:13.5px;color:var(--ink2)}
.lead-strips .v{text-align:right;color:var(--ink);font-size:12.5px;font-variant-numeric:tabular-nums}
.lead-strip{position:relative;height:14px}
.lead-strip:before{content:"";position:absolute;left:0;right:0;top:6px;height:1px;background:var(--line2)}
.lead-strip em{position:absolute;top:4px;height:5px;background:var(--ink3);opacity:.55}
.lead-strip i{position:absolute;top:1px;width:1px;height:12px;background:var(--ink)}
.lead-strip b{position:absolute;top:3px;width:8px;height:8px;background:var(--acc);transform:translateX(-4px)}
.lead-mix{grid-template-columns:minmax(0,1fr) 38% 84px}.lead-mix .n{color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lead-kinds{margin-top:34px}.lead-kinds .listrow{grid-template-columns:180px minmax(0,1fr) minmax(0,1fr);align-items:start}
.lead-kinds .listrow>span:not(.n){display:grid;gap:6px}
.lead-winners{display:grid;grid-template-columns:repeat(auto-fill,minmax(222px,1fr));gap:34px 16px}
.lead-tile{cursor:default}.lead-tile:hover{border-color:var(--line2)}
.lead-summary{margin-top:6px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
/* plan 0054: angle bands (the angles page's), opportunities and a brief with references */
.lead-bands .band:nth-child(even){background:var(--bg2)}
.lead-bands .band h2{font-size:26px;max-width:520px}
.lead-bands .band{grid-template-columns:minmax(0,1fr) 452px}
.lead-tiles4{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.lead-tiles3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}
.lead-usedby{margin-top:16px}
.lead-opps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.lead-opps .cardbox{display:flex;flex-direction:column;gap:10px;padding:24px}
.lead-opps .display-lg{font-size:22px;margin:4px 0 0}
.lead-desc{font-size:14px;color:var(--ink2)}
.lead-facts{display:flex;flex-wrap:wrap;gap:6px 16px;color:var(--ink2)}.lead-facts b{color:var(--ink);font-weight:600}
.lead-opps .lead-tiles3{margin-top:auto;padding-top:8px}
.lead-brief{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px}
.lead-brief-refs .lead-tiles3{margin-top:14px}
.lead-gap{grid-template-columns:minmax(0,1fr) 170px 170px 140px auto}
.lead-brief .display-lg{margin:12px 0 22px}
.lead-brief dl{margin:0;display:grid;gap:0}.lead-brief dl>div{display:grid;grid-template-columns:160px 1fr;gap:20px;padding:14px 0;border-top:1px solid var(--line2)}
.lead-brief dt{color:var(--ink2);font-size:13px}.lead-brief dd{margin:0}.lead-brief ol{margin:0;padding-left:18px}
.lead-cta{display:flex;justify-content:space-between;align-items:center;gap:40px;margin-top:80px}
.lead-cta .display-lg{margin:12px 0 10px}
.lead-method{margin-top:22px;max-width:760px}
@media (max-width:1180px){.lead-bands .band{grid-template-columns:1fr}.lead-bands .tilecol{margin-top:20px}.lead-opps{grid-template-columns:1fr}.lead-brief{grid-template-columns:1fr}.lead-strips{grid-template-columns:140px minmax(0,1fr) 150px}.lead-gap{grid-template-columns:minmax(0,1fr) auto}.lead-gap>span:not(.n):not(.chip){display:none}}
@media (max-width:700px){.lead-metrics{grid-template-columns:1fr}.lead-page .brand-head{display:block}.lead-page .brand-stats{margin-top:28px}.lead-page .brand-insights{grid-template-columns:1fr}
  .lead-submit,.lead-cta,.lead-inline{flex-direction:column;align-items:stretch}.lead-strips{grid-template-columns:1fr;gap:4px}.lead-strips .v{text-align:left;margin-bottom:12px}
  .lead-kinds .listrow,.lead-brief dl>div{grid-template-columns:1fr;gap:6px}}

/* ---- Organization settings and Ava briefings (plan 0093) ---- */
.usermenu{position:relative}.usermenu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;color:var(--ink2);white-space:nowrap;max-width:min(22vw,260px);overflow:hidden;text-overflow:ellipsis}
.usermenu summary::-webkit-details-marker{display:none}.usermenu summary:hover,.usermenu[open] summary{color:var(--ink)}
.usermenu .menu{position:absolute;right:0;top:calc(100% + 14px);background:var(--card);border:1px solid var(--line2);padding:6px;min-width:220px;z-index:40;box-shadow:0 18px 40px rgba(0,0,0,.5);display:grid}
.usermenu .menu a,.usermenu .menu button{display:block;width:100%;text-align:left;padding:8px 10px;color:var(--ink2);max-width:none;font-size:14px}.usermenu .menu a:hover,.usermenu .menu button:hover{background:var(--line);color:var(--ink)}
.usermenu .menu form{border-top:1px solid var(--line);margin-top:4px;padding-top:4px}
/* the header's icons: Inbox (with what is new) and Settings, whose menu names who is signed in */
.nav .navend .navicon{position:relative;display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;color:var(--ink2);overflow:visible;max-width:none}
.nav .navend .navicon .ico{width:20px;height:20px}.nav .navend .navicon:hover,.usermenu[open] .navicon{color:var(--ink)}.nav .navend a.navicon+.usermenu{margin-left:-10px}
@media (max-width:900px){   /* a finger's target, the icon's own size unchanged. The header's other phone rules are further up; these have to follow the ones above */
  .nav .navend .navicon{width:40px;height:40px}
  .nav .navend a.navicon+.usermenu{margin-left:-6px}
  .usermenu summary{max-width:none}
  .nav .navend .navicon .badge{top:3px;left:22px}   /* the box grew 5px on each side around the same icon */
  .usermenu .menu{right:10px;top:calc(100% + 6px);max-width:calc(100vw - 2*var(--pad))}
}
.navicon .badge{position:absolute;top:-2px;left:17px;margin:0;padding:0 5px;min-width:16px;text-align:center;font-size:10px;line-height:16px;vertical-align:0}
.usermenu .menu .who{display:flex;align-items:center;gap:10px;padding:8px 10px 12px;margin-bottom:4px;border-bottom:1px solid var(--line);color:var(--ink);font-size:14px}
.usermenu .menu .who span{display:grid;min-width:0}.usermenu .menu .who b{font-weight:600;overflow:hidden;text-overflow:ellipsis}.usermenu .menu .who small{color:var(--ink3);font-size:12px;overflow:hidden;text-overflow:ellipsis}.usermenu .menu .who .avatar{margin:0;flex:none}
/* a brand field: names from the lookup as someone types, never the full list */
.brand-pick{position:relative;display:block}.brand-pick input[type=search]{width:100%}
.bp-list{position:absolute;left:0;right:0;top:calc(100% - 1px);z-index:30;display:grid;max-height:330px;overflow:auto;background:var(--card);border:1px solid var(--line2);box-shadow:0 18px 40px rgba(0,0,0,.5)}.bp-list[hidden]{display:none}
.bp-list button{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:9px 12px;text-align:left;color:var(--ink);font-size:14px}.bp-list button small{color:var(--ink3);font-size:12px;white-space:nowrap}
.bp-list button:hover,.bp-list button[aria-selected=true]{background:var(--line)}.bp-list .bp-none{padding:9px 12px;color:var(--ink3);font-size:13px}
.st{padding-top:48px;padding-bottom:96px}.st-head{max-width:760px}.st-head h1{margin:12px 0 10px}
.st-team-members{margin-top:24px}
.st-notice{color:var(--ink2);font-size:14px}.st-flash{margin-top:14px;font-size:13.5px;color:var(--ink);border-left:2px solid var(--acc);padding:6px 12px;background:var(--bg2)}.st-flash.err{border-color:#ff4d4d}
.st-toc,.st-tabs{display:flex;flex-wrap:wrap;gap:4px 26px;margin:30px 0 8px;border-bottom:1px solid var(--line);font-size:14px}
.st-toc a,.st-tabs a{color:var(--ink2);padding:0 0 12px;border-bottom:2px solid transparent;margin-bottom:-1px}.st-toc a:hover,.st-tabs a:hover{color:var(--ink)}.st-tabs a.on{color:var(--ink);border-color:var(--acc)}
.st-sec{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:20px 64px;padding:40px 0;border-bottom:1px solid var(--line);scroll-margin-top:90px}
.st-side p{margin-top:10px;max-width:34ch}.st-form{max-width:640px}.st-sec>.st-form+.st-form{grid-column:2}
.st-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.st-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.form textarea{background:none;border:1px solid var(--line2);border-radius:0;padding:10px 12px;color:var(--ink);resize:vertical;font-size:14px}.form textarea:focus,.form input:focus,.form select:focus{border-color:var(--acc);outline:0}
.form select:disabled,.form input:disabled,.form textarea:disabled{opacity:.65}
.st-fs{border:1px solid var(--line);padding:12px 14px 14px;display:grid;gap:10px}.st-fs legend{padding:0 6px;color:var(--ink2)}
.st-fs select{background:none;border:1px solid var(--line2);padding:8px 10px;color:var(--ink)}.st-fs select option,.st-filter select option{background:var(--card)}
.st-brands{display:grid;gap:10px}.st-brand-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;border:1px solid var(--line);background:var(--bg2)}.st-brand-row:hover{border-color:var(--line2)}
.st-brand{display:grid;gap:4px;padding:16px 18px;min-width:0}.st-brand-rm{display:flex;align-items:center;padding:0 18px;border-left:1px solid var(--line)}.st-brand-rm .link-plain{color:var(--ink2)}.st-brand-rm .link-plain:hover{color:#ff4d4d}
.st-picks .link-plain[aria-pressed=true]{color:var(--ink)}.st-picks .link-plain[aria-pressed=true]::before{content:"✓ ";color:var(--acc)}
.st-add,.st-item{border-top:1px solid var(--line);padding:14px 0}.st-add summary,.st-item summary{cursor:pointer;display:flex;gap:14px;align-items:baseline;flex-wrap:wrap}.st-add summary{color:var(--acc);font-weight:600;font-size:14px}
.st-add[open]>summary,.st-item[open]>summary{margin-bottom:18px}.st-item:last-of-type{border-bottom:1px solid var(--line)}
.st-picks{list-style:none;display:flex;flex-wrap:wrap;gap:8px 18px;margin:8px 0 18px}.link-plain{color:var(--acc);font-weight:600;font-size:13.5px;background:none;border:0;padding:0;cursor:pointer}.link-plain:hover{color:var(--ink)}
.st-inline{display:inline-flex;gap:8px;align-items:center;margin:8px 10px 0 0}.st-inline select{background:none;border:1px solid var(--line2);padding:6px 8px;color:var(--ink)}
.st-links{margin-top:14px}
.st-balance .st-big{font:700 22px/1.25 var(--display)}.st-balance .st-big b{color:var(--acc)}.st-balance p.small{margin-top:6px;display:flex;flex-wrap:wrap;gap:0 2px}.st-balance p i{font-style:normal;color:var(--ink3);margin:0 8px}
.st-meter{display:flex;height:6px;background:var(--line);margin-top:14px;max-width:420px}.st-meter .used{background:var(--acc)}.st-meter .held{background:var(--acc-tint);opacity:.55}
.st-filter{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin:30px 0 22px}.st-filter label{display:grid;gap:6px;color:var(--ink2)}.st-filter select{background:none;border:1px solid var(--line2);padding:8px 10px;color:var(--ink);min-width:200px}
.st-usage-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;margin:26px 0 30px;align-items:start}
.st-jobs td{vertical-align:top}.st-jobs details summary{cursor:pointer;color:var(--acc);font-weight:600}.st-briefs{list-style:none;margin-top:6px;display:grid;gap:4px}
.st-state{font-size:12.5px;color:var(--ink2)}.st-state.s-completed{color:var(--ink)}.st-state.s-failed,.st-state.s-cancelled{color:var(--ink3)}.st-state.s-generating,.st-state.s-reserved{color:var(--acc)}
.st-pager{display:flex;gap:8px;margin-top:20px}.st-pager a{padding:6px 10px;border:1px solid var(--line);font-size:13px}.st-pager a.on{border-color:var(--acc);color:var(--acc)}
@media (max-width:900px){.st-sec{grid-template-columns:1fr;gap:16px}.st-sec>.st-form+.st-form{grid-column:auto}.st-usage-top{grid-template-columns:1fr}.st-three{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.st-two,.st-three{grid-template-columns:1fr}.st{padding-top:28px}}

/* the Ava panel: a side panel that keeps the source page in view (desktop), a full-height sheet with Back (mobile) */
.av-sheet{position:fixed;top:0;right:0;bottom:0;width:480px;max-width:100vw;background:var(--card);border-left:1px solid var(--line2);z-index:70;overflow:auto;transform:translateX(100%);transition:transform .2s ease;box-shadow:-24px 0 60px rgba(0,0,0,.45)}
.av-sheet.open{transform:none}.av-sheet:focus{outline:0}
.av-loading{padding:24px 26px}
.av{padding:0 26px 40px}.av-head{position:sticky;top:0;z-index:2;background:var(--card);display:flex;align-items:center;gap:12px;margin:0 -26px 18px;padding:16px 26px;border-bottom:1px solid var(--line)}
.av-who{display:flex;align-items:center;gap:10px}
.av-head [data-av-close]{min-width:44px;min-height:44px}
.av-x{margin-left:auto;font-size:22px;line-height:1;color:var(--ink2);background:none;border:0;cursor:pointer}.av-x:hover{color:var(--acc)}.av-back{display:none;font-size:18px;color:var(--ink2);background:none;border:0;cursor:pointer}
.av-src{padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:18px}.av-title{font:700 20px/1.25 var(--display);margin:8px 0 6px}.av-angles{margin:6px 0 0 18px;font-size:13.5px;color:var(--ink2)}
.av-hello h3{font:800 26px/1.15 var(--display);letter-spacing:-.02em}.av-hello p{color:var(--ink2);margin:8px 0 18px;font-size:14.5px}
.av-card{display:grid;gap:14px;background:var(--bg2);border:1px solid var(--line);padding:18px}.av-card[hidden]{display:none}
.av-f{display:grid;gap:6px;font-size:13px;color:var(--ink2);border:0;padding:0;margin:0;min-width:0}.av-f legend{margin-bottom:6px}.av-f>span{color:var(--ink2)}
.av select,.av input:not([type=radio]):not([type=checkbox]),.av textarea{width:100%;background:var(--card);border:1px solid var(--line2);border-radius:0;padding:9px 11px;color:var(--ink);font-size:14px}.av textarea{resize:vertical}
.av select:focus,.av input:focus,.av textarea:focus{border-color:var(--acc);outline:0}.av select option{background:var(--card)}
.av-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.av-more{display:grid;gap:8px}.av-more[hidden]{display:none}
.av-opt{display:flex;gap:8px;align-items:baseline;color:var(--ink);font-size:13.5px;cursor:pointer}.av-opt input{accent-color:var(--acc)}
.av-src-note{font-style:normal;font-size:11.5px;color:var(--ink3)}.av-saveto{font-size:12.5px;color:var(--ink2)}
.av-tone summary{cursor:pointer;font-size:13px;color:var(--ink2)}.av-tone[open] summary{margin-bottom:8px}.av-tone{display:grid;gap:6px}
.av-err{font-size:13px;color:#ff8a8a}.av-go{justify-self:stretch;justify-content:center}
/* a button that is off while its click is being saved or sent ("Saving your change…", "Submitting answer…"): grey, not orange */
.av .btn.primary:disabled,.av .btn.primary:disabled:hover{background:var(--line2);border-color:var(--line2);color:var(--ink2);cursor:default}
.av textarea:disabled{opacity:.6}.av-chip:disabled,.av-chip:disabled:hover{opacity:.5;cursor:default;border-color:var(--line2);color:var(--ink)}
.av-h{font:700 17px/1.2 var(--display)}.av-sum{display:grid;gap:8px;font-size:14px}.av-sum div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px}.av-sum dt{color:var(--ink2)}.av-sum dd{margin:0}
.av-edit{background:none;border:0;padding:0;margin-left:6px;color:var(--acc);font-size:12.5px;font-weight:600;cursor:pointer}.av-edit:hover{color:var(--ink)}
.av-lvl{font-size:11px;color:var(--ink3);border:1px solid var(--line2);padding:1px 6px;margin-left:4px;white-space:nowrap}.av-lvl.lvl-request{color:var(--acc);border-color:var(--acc-deep)}.av-lvl.lvl-suggestion{color:var(--acc-tint)}
.av-override{color:var(--ink2)}.av-editors{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:12px}.av-editors[hidden],.av-editor[hidden]{display:none}.av-editor{display:grid;gap:8px}
.av-briefs{list-style:none;display:grid;gap:8px;border-top:1px solid var(--line);padding-top:12px}.av-briefs li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;font-size:14px}
.av-mode{display:inline-flex;border:1px solid var(--line2);border-radius:999px;overflow:hidden;font-size:14px}.av-mode label{padding:9px 18px;cursor:pointer;color:#fff;font-weight:700;text-decoration:none;white-space:nowrap}.av-mode input{position:absolute;opacity:0;pointer-events:none}.av-mode label:has(input:checked){background:var(--acc);color:var(--bg)}.av-mode label:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:-2px;border-radius:999px}
.av-what{color:var(--ink2)}.av-details summary{cursor:pointer;color:var(--ink2)}.av-details[open]{display:grid;gap:10px}
.av-cost{color:var(--ink2);text-align:center;margin-top:-6px}.av-short{font-size:13.5px;color:var(--ink);border-left:2px solid var(--acc);padding-left:10px}
.av-done-before{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin-bottom:14px}
.av-phases{list-style:none;display:grid;gap:10px;font-size:14px}.av-phases li{color:var(--ink3);padding-left:22px;position:relative}.av-phases li:before{content:"";position:absolute;left:0;top:.45em;width:9px;height:9px;border:1.5px solid var(--line2)}
.av-phases li.now{color:var(--ink)}.av-phases li.now:before{border-color:var(--acc);animation:avpulse 1.2s ease-in-out infinite}.av-phases li.done{color:var(--ink2)}.av-phases li.done:before{background:var(--acc);border-color:var(--acc)}
@keyframes avpulse{50%{background:var(--acc)}}@media (prefers-reduced-motion:reduce){.av-phases li.now:before{animation:none;background:var(--acc-surface)}}
.av-open-brief{display:flex;width:100%;justify-content:center;margin-top:24px;padding:16px 24px;font-size:16px}.av-credits{text-align:center;margin-top:10px}
.av-job [data-av-retry]{margin-top:14px}
.av-pick{display:inline-flex;gap:6px;align-items:center;color:var(--ink2);margin-top:10px;cursor:pointer}.av-pick input{accent-color:var(--acc)}
.av-selectbar{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin:14px 0 0}
.rx-ava{margin-top:22px;padding-top:18px;border-top:1px solid var(--line);display:grid;gap:8px;justify-items:start}
.av-page{display:grid;grid-template-columns:minmax(0,1fr) 480px;gap:48px;padding-top:40px;padding-bottom:80px}.av-page-src h1{margin:10px 0 14px}
.av-page-panel{background:var(--card);border:1px solid var(--line2);align-self:start;position:sticky;top:80px}.av-page-panel .av-head{position:static}
.av-refs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:20px;max-width:620px}
@media (max-width:900px){.av-page{grid-template-columns:1fr}.av-page-panel{position:static}}
@media (max-width:640px){.av-sheet{width:100%;border-left:0}.av-back{display:block}.av-head .av-x{display:none}.av{padding:0 18px 40px}.av-head{margin:0 -18px 16px;padding:14px 18px}.av-two{grid-template-columns:1fr}}
.st-form .btn,.st-add .btn{justify-self:start}.av-briefs{padding:12px 0 0;margin:0}.av-briefs li{padding:0}

/* plan 0093, after the first user test: Ava opens as a centred modal over the blurred page, a full-screen sheet on a phone */
.av-modal{position:fixed;inset:0;z-index:90;display:none;align-items:center;justify-content:center;padding:24px}
.av-modal.open{display:flex}
/* the page under the blur stays still: scrolled, it reloaded images behind the backdrop filter and the dialog flickered
   (2026-10-07); the gutter keeps it from shifting sideways where scrollbars take space */
html.av-open{overflow:hidden;scrollbar-gutter:stable}
.av-backdrop{position:absolute;inset:0;background:rgba(6,6,7,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);animation:avfade .15s ease}
.av-dialog{position:relative;width:min(760px,100%);max-height:calc(100vh - 48px);overflow:auto;background:var(--card);border:1px solid var(--line2);box-shadow:0 30px 80px rgba(0,0,0,.6);animation:avrise .18s ease}
.av-dialog:focus{outline:0}.av-dialog .av-head{border-bottom:1px solid var(--line)}
@keyframes avfade{from{opacity:0}}@keyframes avrise{from{opacity:0;transform:translateY(10px)}}
@media (prefers-reduced-motion:reduce){.av-backdrop,.av-dialog{animation:none}}
.av-hi{margin-bottom:16px}.av-hi h3{font:800 22px/1.2 var(--display);letter-spacing:-.015em}.av-hi p{color:var(--ink2);margin-top:6px;font-size:14px}
@media (max-width:640px){.av-modal{padding:0}.av-dialog{width:100%;height:100%;max-height:none;border:0}.av-loading{padding:20px 18px}}

.av-hello,.av-hi{display:flex;gap:14px;align-items:center}.av-hello p,.av-hi p{margin-bottom:0}.av-hello{margin-bottom:18px}
.av-hello[hidden],.av-hi[hidden],.av-done-before[hidden]{display:none}   /* display:flex beats the user agent's [hidden]: the greeting stayed up while the brief was writing */

/* the working line: Ava's orb turning and breathing, the step it is on, three dots that keep time - at the size of her messages */
.av-working{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.5;color:var(--ink)}.av-working[hidden]{display:none}
.av-dots{display:inline-flex;margin-left:-8px;color:var(--ink2)}.av-dots i{font-style:normal;animation:avdot 1.4s infinite both}.av-dots i:nth-child(2){animation-delay:.2s}.av-dots i:nth-child(3){animation-delay:.4s}
@keyframes avdot{0%,80%,100%{opacity:.15}40%{opacity:1}}
.av-step-in{animation:avstep .35s ease}@keyframes avstep{from{opacity:0;transform:translateY(4px)}}
@media (prefers-reduced-motion:reduce){.av-dots i,.av-step-in{animation:none}.av-dots i{opacity:.6}}
.av-card.av-job{background:none;border:0;padding:8px 0 0}

/* Ava's orb (design handoff 34j, 2026-10-14): a white ring straight on the panel, no tile - idle beside her name in the header
   and by the first hello, thinking at 22px on the working line and under the line she is typing. ava-orb.js sizes the bitmap
   from the CSS width, so every orb sets both sides */
.av-avatar{width:32px;height:32px;display:block;flex:none}.av-avatar.lg{width:52px;height:52px}
.av-orb{width:22px;height:22px;display:block;flex:none}
/* on a button: the orb opens "Create a brief with Ava" - black on the terracotta primary (tone accent), a little in from the edge */
.btn .ava-orb{width:22px;height:22px;display:block;flex:none;margin:-3px 2px -3px -8px}

/* Ava asks before writing (plan 0106): her questions on the left, the user's answers on the right, the reply box below */
.av-chat{background:none;border:0;padding:0}
.av-thread{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.av-msg{max-width:88%;padding:10px 13px;font-size:14px;line-height:1.5;border:1px solid var(--line);background:var(--bg2);color:var(--ink);overflow-wrap:anywhere}
/* Ava speaks as plain text from the left edge, no frame - only your messages are bubbles (2026-10-07) */
.av-msg.ava{justify-self:stretch;max-width:none;background:none;border:0;border-radius:0;padding:2px 0}
.av-msg.ava b{font-weight:700}   /* her name in bold, the same size as the line it opens */
/* your messages: a light orange glass with an orange edge - the 26% fill alone read brown on the dark panel (2026-10-07) */
.av-msg.you{justify-self:end;border-radius:14px 2px 14px 14px;background:rgba(255,98,56,.12);border-color:rgba(255,98,56,.6);white-space:pre-line}
.av-thread.av-open{margin-bottom:16px}
.av-replies{display:flex;flex-wrap:wrap;gap:8px}
.av-chip{border:1px solid var(--line2);border-radius:999px;padding:7px 13px;font:500 13px/1.2 var(--ui);color:var(--ink);background:none;cursor:pointer}
.av-chip:hover,.av-chip[aria-pressed=true]{border-color:var(--acc);color:var(--acc)}
.av-reply{display:grid;gap:6px}
/* sending: the thread stays, the composer and the forms step aside, Ava's status is her next message (ava.js follow) */
.av-sending .av-card:not(.av-job):not(.av-chat),.av-sending .av-chat>:not(.av-thread),.av-sending .av-hello,.av-sending .av-done-before{display:none}
.av-thread.av-run{margin-top:4px}
.av-msg.av-status{background:none;border:0;padding:2px 0;max-width:100%;width:100%}
.av-msg.av-status .av-card.av-job{padding:0}
/* the conversation goes on where it was (ava.js speak): her new messages come in one after another and fill word by word;
   what follows them - the reply box, the button to open the brief - waits until she has finished, then rises in */
.av-later{display:none!important}
.av-pen{list-style:none;padding:2px 0;line-height:0}   /* her orb, turning under the line she is writing */
.av-in{animation:avin .28s ease both}@keyframes avin{from{opacity:0;transform:translateY(6px)}}
@media (prefers-reduced-motion:reduce){.av-in{animation:none}}


/* ---- a button that opens a short menu: the brand page's Compare (docs/execplans/0142). The settings menu's surface, under the button */
.dropmenu{position:relative;display:inline-block}
.dropmenu>summary{list-style:none;cursor:pointer}.dropmenu>summary::-webkit-details-marker{display:none}
.dropmenu>summary:after{content:"";width:6px;height:6px;margin:-4px 0 0 4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .15s,margin .15s}
.dropmenu[open]>summary:after{transform:rotate(-135deg);margin-top:3px}
.dropmenu[open]>summary.btn{border-color:var(--ink);background:none;color:var(--ink)}
.dropmenu .menu{position:absolute;top:calc(100% + 8px);left:0;background:var(--card);border:1px solid var(--line2);padding:6px;min-width:260px;max-width:360px;z-index:40;box-shadow:0 18px 40px rgba(0,0,0,.5);display:grid}
.dropmenu .menu a{display:flex;justify-content:space-between;align-items:baseline;gap:18px;padding:9px 12px;color:var(--ink);font-size:14px;font-weight:500;white-space:nowrap}
.dropmenu .menu a span{color:var(--ink3);font-size:12px;font-weight:400;overflow:hidden;text-overflow:ellipsis}
.dropmenu .menu a:hover{background:var(--line)}
.admin-nav .wrap{display:flex;height:auto;min-height:61px;justify-content:space-between}
.admin-nav .admin-menu{margin-left:auto}
.admin-nav .admin-menu .menu{margin:0;left:auto;right:0;display:grid;gap:0;align-items:stretch;min-width:270px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 90px);overflow-y:auto}
.admin-nav .admin-menu .menu a{padding:9px 12px;border:0;white-space:normal}
.admin-nav .menu a[aria-current=page]{background:var(--line);font-weight:700}
.dropmenu .menu a.note{white-space:normal;color:var(--ink2);font-size:12.5px;font-weight:400;border-top:1px solid var(--line);margin-top:4px;padding-top:11px}.dropmenu .menu a.note:hover{color:var(--ink)}

/* ---- compare: brand against brand (docs/execplans/0142). The side the page is about is the accent, the other brand white -
   the field chart's "rival" - and the category, where it appears, keeps its grey. */
.vs .bar2 .bar i:not(.a),.vs .legend i.g{background:var(--ink)}
.vs .donut .cf{fill:var(--ink);stroke:var(--ink)}.vs .donut .cm{fill:var(--ink2);stroke:var(--ink2)}
.vs-head .display{max-width:none;overflow-wrap:anywhere}
.vs-head .display .vs-a{color:var(--acc)}
.vs-head .display .vs-x{font-weight:400;font-size:.55em;color:var(--ink3);vertical-align:.14em;margin:0 .12em}
.vs-actions{margin-top:26px}
.vs-actions .btn span{font-size:16px;line-height:1}
.vs-board{margin-top:34px;background:var(--card);border:1px solid var(--line);padding:28px 32px 16px}
.vs-board-head{display:grid;grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);align-items:start;gap:0 24px;padding-bottom:22px;border-bottom:1px solid var(--line2)}
.vs-who{min-width:0}.vs-who.b{text-align:right}
.vs-who h2{font:800 30px/1.1 var(--display);letter-spacing:-.02em;margin:8px 0 8px;overflow-wrap:anywhere}
.vs-who.a h2{color:var(--acc)}.vs-who h2 a:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}
.vs-who .kicker{font-size:12.5px}
.vs-role{font:600 11px/1 var(--ui);letter-spacing:.06em;text-transform:uppercase;color:var(--ink3)}
.vs-sum{font-size:13px;line-height:1.5;color:var(--ink2);margin-top:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vs-mid{align-self:center;justify-self:center;width:56px;height:56px;border:1px solid var(--line2);border-radius:50%;display:flex;align-items:center;justify-content:center;font:800 18px/1 var(--display);color:var(--ink3)}
.vs-board-note{margin:14px 0 4px;text-align:center}
.vs-row{display:grid;grid-template-columns:minmax(0,1fr) 190px minmax(0,1fr);align-items:center;gap:0 20px;padding:12px 0;border-top:1px solid var(--line)}
.vs-board-note+.vs-row,.vs-gaps .vs-row:first-child{border-top:0}
.vs-side{display:flex;align-items:center;gap:16px;min-width:0}
.vs-val{flex:0 0 200px;display:grid;gap:3px;min-width:0}
.vs-side.b .vs-val{text-align:right}
.vs-val b{font:700 21px/1.1 var(--display);letter-spacing:-.01em;color:var(--ink2);font-variant-numeric:tabular-nums}
.vs-side.a.lead .vs-val b{color:var(--acc)}.vs-side.b.lead .vs-val b{color:var(--ink)}
.vs-val small{font-size:11.5px;line-height:1.35;color:var(--ink3)}
.vs-bar{flex:1;height:6px;background:var(--line);position:relative;min-width:40px}
.vs-bar i{position:absolute;top:0;bottom:0;display:block;min-width:1px}
.vs-side.a .vs-bar i{right:0;background:var(--acc-deep)}.vs-side.a.lead .vs-bar i{background:var(--acc)}
.vs-side.b .vs-bar i{left:0;background:var(--ink2)}.vs-side.b.lead .vs-bar i{background:var(--ink)}
.vs-label{text-align:center;font-size:13.5px;line-height:1.35;font-weight:500;color:var(--ink)}
.vs-label .vs-facet{display:block;font-size:11px;margin-bottom:3px}.vs-label .vs-facet:before{content:none}
.vs-row.slim{padding:9px 0}.vs-row.slim .vs-val{flex-basis:56px}.vs-row.slim .vs-val b{font-size:16px}
.vs-admin{margin-top:16px;border-bottom:0}
.vs-weeks{display:flex;gap:8px;align-items:end;height:132px;margin:4px 0 8px;border-bottom:1px solid var(--line2)}
.vs-weeks .wk{flex:1;display:flex;gap:2px;align-items:end;height:100%}
.vs-weeks .wk i{flex:1;display:block;min-height:1px}.vs-weeks .wk i.a{background:var(--acc)}.vs-weeks .wk i.b{background:var(--ink)}
.vs-weeks-axis{display:flex;justify-content:space-between}
.brand-insights .vs-rank{grid-template-columns:180px minmax(0,1fr)}
.vs-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px}
.vs-two>div{min-width:0}
.vs-tiles{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0;gap:26px 12px}
.vs-tiles .cap .row>span:first-child{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vs-h3{font:700 18px/1.3 var(--display);letter-spacing:-.01em}
.vs-desc{margin:6px 0 14px}
.vs-meet{margin-bottom:50px}
.vs-meet-row{display:grid;grid-template-columns:minmax(0,1.3fr) 200px minmax(100px,1fr) 200px;gap:18px;align-items:center;padding:12px 0;border-top:1px solid var(--line);font-size:13px}
.vs-meet-row .n{font:600 15.5px/1.3 var(--display);min-width:0}.vs-meet-row .n:hover{color:var(--acc)}
.vs-meet-side{display:flex;align-items:center;gap:10px;color:var(--ink2)}.vs-meet-side.a{justify-content:flex-end}
.vs-meet-side.a.lead span{color:var(--acc)}.vs-meet-side.b.lead span{color:var(--ink)}
.vs-split{display:flex;gap:2px;height:6px}
.vs-split i{display:block;height:100%;min-width:2px}.vs-split i.a{background:var(--acc)}.vs-split i.b{background:var(--ink)}
.vs-edge{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}
.vs-edge .tile .txt,.vs-edge .tile .foot,.vs-edge .tile .runs{display:none}
.vs-edge-main{display:grid;gap:6px;min-width:0}
.vs-edge-main .n{font:600 15.5px/1.3 var(--display)}.vs-edge-main .n:hover{color:var(--acc)}
.vs-edge-main .s{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:12.5px;color:var(--ink2)}
.vs-edge-act{display:grid;gap:6px;justify-items:end;font-size:13px}
.vs-edge-act button.link{background:none;border:0;padding:0;cursor:pointer;font-family:inherit;font-size:inherit}
.vs-none{padding:14px 0;border-top:1px solid var(--line)}
.vs-gaps{margin-bottom:10px}
.vs-mixes{margin-top:44px;row-gap:46px}
.vs-overlap{display:flex;align-items:center;gap:16px;margin:4px 0 22px}
.vs-overlap b{font:800 46px/1 var(--display);letter-spacing:-.02em;color:var(--ink)}
.vs-overlap span{display:grid;gap:4px;font-weight:600;font-size:14px}.vs-overlap small{font-weight:400;font-size:12px;line-height:1.45;color:var(--ink2);max-width:380px}
.vs-audience{margin-top:24px}
.vs-method{margin-top:60px;max-width:860px}.vs-method summary{cursor:pointer;list-style:none}.vs-method summary::-webkit-details-marker{display:none}
.vs-method summary:before{content:"+ ";color:var(--acc)}.vs-method[open] summary:before{content:"– "}.vs-method p{margin-top:10px;line-height:1.6}
@media(max-width:1180px){.vs-two{grid-template-columns:minmax(0,1fr);gap:20px}.vs-val{flex-basis:150px}.vs-meet-row{grid-template-columns:minmax(0,1fr) 170px minmax(80px,.8fr) 170px}}
@media(max-width:820px){.vs-board{padding:20px 16px 10px}.vs-board-head{grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);gap:0 10px}.vs-who h2{font-size:21px}.vs-sum{display:none}.vs-mid{width:36px;height:36px;font-size:13px}
  .vs-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 12px}.vs-row .vs-label{grid-column:1/-1;grid-row:1}.vs-row .vs-val,.vs-row.slim .vs-val{flex:1 1 auto}.vs-side .vs-bar{display:none}.vs-side.a .vs-val{text-align:left}.vs-who .kicker{font-size:11.5px}
  .vs-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vs-meet-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px}.vs-meet-row .n{grid-column:1/-1}.vs-split{grid-column:1/-1;grid-row:3}.vs-meet-side.a{justify-content:flex-start}.vs-meet-side.b{justify-content:flex-end}
  .vs-edge{grid-template-columns:44px minmax(0,1fr)}.vs-edge-act{grid-column:2;justify-items:start;display:flex;flex-wrap:wrap;gap:14px}}

/* ==== The access gate (plan 0169, design handoff turn 24): /login signed out and /access signed in without Moonbase.
   The signed-in access gate uses a compact frame. The login page shares the app frame. */
.ag{--ink-body:#C9C7C2;--slash:#6A6862;--plan-line:#1f1f23;--tint:rgba(255,98,56,.14);--tint-line:rgba(255,98,56,.45);--soft:rgba(245,244,242,.62)}
.ag-frame .wrap{--max:1288px;--pad:36px}
.ag-page{padding-top:72px;padding-bottom:96px}
.ag-gap-56{margin-top:56px}.ag-gap-72{margin-top:72px}.ag-gap-88{margin-top:88px}.ag-gap-96{margin-top:96px}
.ag-dimmed{opacity:.18}
.ag i.sq{flex:none;width:6px;height:6px;background:var(--ink)}
.btn.tertiary{border-color:transparent;color:var(--acc);padding:12px 4px}.btn.tertiary:hover{background:transparent;border-color:transparent;color:var(--acc-tint)}
.btn.lg{padding:14px 26px}
.btn.xs{padding:7px 14px;font-size:13.5px}
/* header: the lockup, and cells between hairlines on the right */
.ag-nav{border-bottom:1px solid var(--line);background:var(--bg)}
.ag-nav .wrap{display:flex;align-items:center;height:60px}
.ag-cells{margin-left:auto;display:flex;align-self:stretch}
.ag-cell{display:flex;align-items:center;gap:10px;padding:0 20px;border-left:1px solid var(--line);font:500 14px/1 var(--ui);color:var(--ink2);white-space:nowrap}
.ag-cell:last-child{padding-right:0}.ag-cell:hover{color:var(--ink)}
.ag-who{font:400 13.5px/1 var(--ui);color:var(--ink)}.ag-who span{color:var(--ink2)}.ag-who b{font-weight:600;overflow:hidden;text-overflow:ellipsis;max-width:32ch}
.ag-cell button{font:500 14px/1 var(--ui);color:var(--ink2);background:none;border:0;padding:0;cursor:pointer}.ag-cell button:hover{color:var(--ink)}
/* hero */
.ag-kicker{font:600 13.5px/1.4 var(--ui);color:var(--ink2)}.ag-kicker i{font-style:normal;font-weight:400;color:var(--slash);margin:0 7px}
.ag-h1{margin-top:16px;max-width:16ch;font:800 56px/1.04 var(--display);letter-spacing:-.032em;text-wrap:balance}
.ag-h1.lg{font-size:60px}.ag-h1.w18{max-width:18ch}
.ag-lede{margin-top:22px;max-width:58ch;font:400 17px/1.55 var(--ui);color:var(--ink-body);text-wrap:pretty}.ag-lede.w60{max-width:60ch}.ag-lede b{color:var(--ink);font-weight:600}
.ag-act{margin-top:30px}.ag-act.row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.ag-error{margin:0 0 32px}
.ag-hero2{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:72px;align-items:start}
.ag-box{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);margin-top:34px}
.ag-box>div{background:var(--card);padding:24px}
.ag-box>div b{display:block;font:800 64px/.9 var(--display);letter-spacing:-.04em}
.ag-box>div span{display:block;margin-top:10px;font:500 14px/1.4 var(--ui)}
.ag-box-foot{grid-column:1/-1;display:flex;align-items:center;gap:10px;background:var(--bg2);padding:14px 22px;font:400 13px/1.5 var(--ui);color:var(--ink-body)}
.ag-box-head{grid-column:1/-1;background:var(--bg2);padding:14px 24px;font:600 13px/1.4 var(--ui);color:var(--ink2)}
/* member: the link for the admin */
.ag-link{margin-top:26px;max-width:640px;display:flex;align-items:stretch;border:1px solid var(--line2)}
.ag-link input{flex:1;min-width:0;min-height:52px;padding:0 18px;background:var(--bg2);border:0;color:var(--ink);font:400 15px/1 var(--ui)}
.ag-link input:focus{outline:none}.ag-link:focus-within{border-color:var(--ink2)}
.ag-link>span{display:flex;align-items:center;padding:0 14px;border-left:1px solid var(--line2);background:var(--card)}
.ag-hint{margin-top:12px;display:flex;align-items:center;gap:10px;font:400 13px/1.5 var(--ui);color:var(--ink2)}.ag-hint i.sq{background:var(--ink2)}
/* signed out: three doors */
.ag-doors{margin-top:48px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.ag-door{display:flex;flex-direction:column;gap:14px;padding:28px 30px 30px;background:var(--bg2)}.ag-door.first{background:var(--card)}
.ag-door h2{font:700 24px/1.15 var(--display);letter-spacing:-.02em}
.ag-door p{font:400 14.5px/1.55 var(--ui);color:var(--ink-body);text-wrap:pretty}
.ag-door-act{margin-top:auto;padding-top:10px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
/* the price list */
.ag-plans{display:flex;flex-direction:column;gap:22px;scroll-margin-top:24px}
.ag-plans-head{display:flex;flex-direction:column;gap:8px}
.ag-badge{font:600 13px/1.4 var(--ui);color:var(--ink2)}.ag-badge:before{content:"/";font-weight:400;color:var(--slash);margin-right:7px}
.ag-plans-h{font:800 40px/1.05 var(--display);letter-spacing:-.032em;max-width:22ch;text-wrap:balance}
.ag-plans-sub{max-width:58ch;font:400 17px/1.55 var(--ui);color:var(--ink-body);text-wrap:pretty}.ag-plans-sub b{color:var(--ink);font-weight:600}
.ag-plans-addon{max-width:58ch;font:400 15px/1.5 var(--ui);color:var(--ink-body)}
.ag-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--plan-line);background:#0b0b0d}
.ag-plan{display:flex;flex-direction:column;min-width:0;padding:34px 32px 32px}
.ag-plan.core{background:rgba(245,244,242,.018)}
.ag-plan.plus{background:rgba(245,244,242,.038);border-left:1px solid var(--plan-line)}
.ag-plan.pro{background:rgba(255,98,56,.045);border-left:1px solid var(--plan-line);box-shadow:inset 0 1px 0 var(--acc)}
.ag-chip{align-self:flex-start;white-space:nowrap;padding:6px 11px;font:600 13px/1 var(--ui);border:1px solid var(--line);background:var(--line);color:var(--ink)}
.ag-plan.plus .ag-chip{background:transparent;border-color:var(--acc);color:var(--acc)}
.ag-plan.pro .ag-chip{background:var(--acc);border-color:var(--acc);color:var(--bg)}
.ag-price{margin-top:22px;display:flex;align-items:baseline;gap:6px}
.ag-price b{font:800 44px/1 var(--display);letter-spacing:-.035em}.ag-price span{font:400 13px/1.5 var(--ui);color:var(--soft)}
.ag-price.sm{margin-top:0}.ag-price.sm b{font-size:32px;letter-spacing:-.03em}.ag-price.sm span{color:var(--ink2)}
.ag-feats{list-style:none;margin:22px 0 0;padding:20px 0 0;border-top:1px solid var(--line);flex:1;display:flex;flex-direction:column;gap:12px}
.ag-feats li{display:flex;align-items:flex-start;gap:10px}
.ag-feats li>span+span{flex:1;min-width:0}
.ag-feats .t{display:block;font:500 14px/1.45 var(--ui);color:var(--ink)}.ag-feats .t b{font-weight:800}
.ag-feats .s{display:block;margin-top:2px;font:400 13px/1.45 var(--ui);color:var(--soft);text-wrap:pretty}
.ag-tick{flex:none;display:inline-flex;align-items:center;justify-content:center;width:var(--s,20px);height:var(--s,20px);margin-top:1px;border:1px solid var(--tint-line);background:var(--tint);color:var(--acc)}
.ag-tick svg{width:calc(var(--s,20px) * .55);height:calc(var(--s,20px) * .55)}
.ag-trial-label{margin-top:24px;font:800 20px/1.1 var(--display);letter-spacing:-.02em}
.ag-cta{margin-top:20px;display:grid}.ag-cta form{display:grid}.ag-cta .btn{justify-content:center}
.ag-note{margin-top:10px;font:400 12.5px/1.45 var(--ui);color:rgba(245,244,242,.5)}
.ag-launch{display:flex;align-items:center;gap:20px;margin-top:-22px;padding:20px 26px;background:rgba(255,98,56,.1);border:1px solid rgba(255,98,56,.4);border-top:0}
.ag-launch-tag{flex:none;display:inline-flex;align-items:center;gap:8px;padding:7px 12px;background:var(--acc);color:var(--bg);font:700 13px/1 var(--ui);white-space:nowrap}
.ag-launch-tag:before{content:"";width:6px;height:6px;background:var(--bg)}
.ag-launch-t{font:700 20px/1.25 var(--display);letter-spacing:-.015em;color:var(--ink)}
.ag-launch-r{margin-left:auto;font:400 13.5px/1.4 var(--ui);color:var(--ink-body);white-space:nowrap}
/* agency plans: one line, opened on demand - a native disclosure, no script */
.ag-agency{border:1px solid var(--line);background:rgba(245,244,242,.018)}
.ag-agency>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 22px;cursor:pointer;list-style:none}
.ag-agency summary::-webkit-details-marker{display:none}
.ag-agency>summary .l{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.ag-agency>summary .l b{font:600 14.5px/1.3 var(--ui);white-space:nowrap}.ag-agency>summary .l span{font:400 14px/1.4 var(--ui);color:var(--ink2)}
.ag-agency>summary .r{font:600 13.5px/1 var(--ui);color:var(--acc);white-space:nowrap}
.ag-agency>summary .hide,.ag-agency[open]>summary .show{display:none}.ag-agency[open]>summary .hide{display:inline}
.ag-agency-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line)}
.ag-agency-plan{display:flex;flex-direction:column;gap:12px;padding:22px 24px}.ag-agency-plan+.ag-agency-plan{border-left:1px solid var(--line)}
.ag-agency-plan .ag-chip{padding:5px 10px}
.ag-agency-plan .ag-feats{margin-top:0;padding-top:14px;gap:10px}
.ag-agency-request>summary{list-style:none}.ag-agency-request p{padding-top:10px;color:var(--ink2);line-height:1.5}
.ag-foot{display:flex;align-items:baseline;gap:10px;font:400 13px/1.5 var(--ui);color:var(--ink2)}.ag-foot b{flex:none;font-weight:600;color:var(--ink)}
/* the free benchmark */
.ag-bench{display:grid;grid-template-columns:minmax(0,1fr) 480px;border:1px solid var(--line);background:var(--bg2)}
.ag-bench-main{display:flex;flex-direction:column;gap:16px;padding:36px 40px 38px}
.ag-bench-main h3{max-width:22ch;font:800 34px/1.08 var(--display);letter-spacing:-.03em;text-wrap:balance}
.ag-bench-main p{max-width:52ch;font:400 15px/1.55 var(--ui);color:var(--ink-body);text-wrap:pretty}
.ag-bench-ticks{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px 28px}
.ag-bench-ticks li{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;font:500 14px/1.4 var(--ui)}.ag-bench-ticks .ag-tick{margin-top:0}
.ag-bench-act{display:flex;align-items:center;gap:18px;margin-top:12px;flex-wrap:wrap}.ag-bench-act span{font:400 13px/1.4 var(--ui);color:var(--ink3)}
.ag-bench-sample{display:flex;flex-direction:column;gap:14px;padding:30px 32px;background:var(--card);border-left:1px solid var(--line)}
.ag-bench-sample .h{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font:600 13px/1.4 var(--ui);color:var(--ink2)}.ag-bench-sample .h span+span{font:400 12px/1.4 var(--ui);color:var(--ink3)}
.ag-bench-sample .row{display:grid;grid-template-columns:96px minmax(0,1fr) 40px;gap:12px;align-items:center;font:400 13.5px/1 var(--ui);color:var(--ink2)}
.ag-bench-sample .row>i{display:block;height:10px;background:var(--line)}.ag-bench-sample .row>i>i{display:block;height:10px;background:var(--ink2)}
.ag-bench-sample .row>span:last-child{font:500 13px/1 var(--ui);text-align:right}
.ag-bench-sample .row.me{color:var(--ink);font-weight:600}.ag-bench-sample .row.me>i>i{background:var(--ink)}.ag-bench-sample .row.cat>i>i{background:#57554F}
.ag-bench-sample p{margin-top:4px;padding-top:14px;border-top:1px solid var(--line);font:400 13px/1.5 var(--ui);color:var(--ink-body);text-wrap:pretty}.ag-bench-sample p b{color:var(--ink);font-weight:600}
/* the plan dialog: never acts on the first click */
.ag-overlay{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(6,6,7,.62);--ink-body:#C9C7C2;--slash:#6A6862}
.ag-dialog{width:520px;max-width:100%;max-height:100%;overflow:auto;background:var(--card);border:1px solid var(--line2);display:flex;flex-direction:column}
.ag-dialog-head{padding:28px 32px 0;display:flex;flex-direction:column;gap:14px}
.ag-dialog-head .ag-kicker{font-size:13px}
.ag-dialog-head h2{font:700 26px/1.15 var(--display);letter-spacing:-.02em;text-wrap:balance}
.ag-dialog-head p{font:400 15px/1.55 var(--ui);color:var(--ink-body)}
.ag-facts{margin:22px 32px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.ag-facts>div{background:var(--bg2);padding:14px 16px}.ag-facts b{display:block;font:800 20px/1 var(--display)}.ag-facts span{display:block;margin-top:6px;font:400 12.5px/1.3 var(--ui);color:var(--ink2)}
.ag-billing{margin:14px 32px 0;display:flex;gap:12px;padding:14px 16px;background:rgba(255,98,56,.08);border:1px solid rgba(255,98,56,.35)}
.ag-billing i.sq{margin-top:7px;background:var(--acc)}
.ag-billing>div{display:flex;flex-direction:column;gap:4px}.ag-billing b{font:600 14px/1.4 var(--ui);color:var(--ink)}.ag-billing span{font:400 13.5px/1.5 var(--ui);color:var(--ink-body);text-wrap:pretty}
.ag-dialog-foot{margin-top:26px;padding:18px 32px;border-top:1px solid var(--line);display:flex;align-items:center;gap:14px}
.st-subscription-plans{margin:36px 0 20px}
.st-organization-heading{max-width:none}
.st-subscription-organizations{margin-top:20px}
.st-subscription-organizations .link{display:block;padding:12px 0;border-bottom:1px solid var(--line);white-space:normal;overflow-wrap:anywhere}
.st-subscription-overview{display:grid;grid-template-columns:1fr minmax(230px, .55fr);margin-top:28px;border:1px solid var(--line2);background:var(--card)}
.st-subscription-summary,.st-subscription-credit{padding:24px 28px;display:grid;align-content:center;justify-items:start;gap:9px;min-width:0}
.st-subscription-credit{border-left:1px solid var(--line);background:var(--bg2)}
.st-subscription-state,.ag-managed-label{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}
.st-subscription-state h2,.st-subscription-credit-label{color:var(--ink2);font:600 14px/1.4 var(--ui)}
.st-subscription-badge{padding:4px 9px;border:1px solid var(--line2);border-radius:999px;color:var(--ink2);font:700 12px/1.3 var(--ui)}
.st-subscription-badge.is-active{background:rgba(255,98,56,.10);border-color:rgba(255,98,56,.36);color:var(--acc)}
.st-subscription-name,.st-subscription-credit-count{font:800 30px/1.15 var(--display);letter-spacing:-.025em}
.st-subscription-credit-count span{color:var(--ink2);font-size:18px}
.st-subscription-period{color:var(--ink2);font:400 14px/1.45 var(--ui)}
.st-subscription-schedule{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px}
.st-subscription-cancel{margin-top:5px;padding:8px 15px;font-size:13px}
.st-subscription-credit meter{width:min(100%,320px);height:8px;appearance:none}
.st-subscription-credit meter::-webkit-meter-bar{height:8px;background:var(--line2);border:0;border-radius:8px}
.st-subscription-credit meter::-webkit-meter-optimum-value{background:var(--acc);border-radius:8px}
.st-subscription-credit meter::-moz-meter-bar{background:var(--acc);border-radius:8px}
.st-subscription-plans .ag-plan.is-current{box-shadow:inset 0 0 0 1px var(--acc)}
.st-subscription-plans .ag-grid:has(.is-current)>.ag-plan.pro:not(.is-current){box-shadow:none}
.st-subscription-plans .ag-cta .btn{min-height:44px;white-space:normal;text-align:center}
@media (max-width:640px){
  .st-subscription-overview{grid-template-columns:1fr}
  .st-subscription-summary,.st-subscription-credit{padding:20px}
  .st-subscription-credit{border-left:0;border-top:1px solid var(--line)}
}
.subscription-toast{width:max-content;max-width:min(520px,calc(100% - 32px));display:flex;align-items:center;gap:4px 16px;flex-wrap:wrap;padding:12px 18px;border-radius:12px;background:var(--acc);color:var(--bg);z-index:81}
.subscription-toast.show{pointer-events:auto}
.subscription-toast #review-again{padding:4px 0;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px}
#review-again[hidden]{display:none}
.st-subscription-review{max-width:calc(100% - 32px);height:min(400px,calc(100dvh - 32px));margin:auto;padding:0;overflow:hidden;color:var(--ink);--ink-body:#c9c7c2}
.st-subscription-review:not([open]){display:none}.st-subscription-review::backdrop{background:rgba(6,6,7,.62)}
.st-subscription-review .ag-dialog-head{flex:1;min-height:0;overflow:auto;padding-bottom:16px}
.st-subscription-review .ag-dialog-head>*{flex-shrink:0}
.st-subscription-review .ag-dialog-foot{flex:none;flex-wrap:wrap;margin-top:0}
.st-subscription-review #quote-details{display:grid;gap:8px}.st-subscription-review #quote-status:empty{display:none}
.ag-overlay i.sq{flex:none;width:6px;height:6px}
@media (max-width:1100px){
  .ag-hero2{grid-template-columns:minmax(0,1fr);gap:0}
  .ag-bench{grid-template-columns:minmax(0,1fr)}.ag-bench-sample{border-left:0;border-top:1px solid var(--line)}
}
@media (max-width:900px){
  .ag-frame .wrap{--pad:16px}
  .ag-page{padding-top:40px;padding-bottom:64px}
  .ag-h1,.ag-h1.lg{font-size:clamp(34px,9vw,56px)}
  .ag-doors,.ag-grid,.ag-agency-grid{grid-template-columns:minmax(0,1fr)}
  .ag-plan.plus,.ag-plan.pro{border-left:0;border-top:1px solid var(--plan-line)}
  .ag-agency-plan+.ag-agency-plan{border-left:0;border-top:1px solid var(--line)}
  .ag-launch{flex-wrap:wrap;gap:12px}.ag-launch-r{margin-left:0;white-space:normal}.ag-launch-t{font-size:18px}
  .ag-gap-72,.ag-gap-88,.ag-gap-96{margin-top:64px}
  .ag-plans-h{font-size:32px}
  .ag-bench-main{padding:28px 22px}.ag-bench-sample{padding:24px 22px}.ag-bench-main h3{font-size:28px}
  .ag-who>span{display:none}
}
@media (max-width:560px){
  .ag-cell{padding:0 12px}.ag-who b{max-width:16ch}
  .ag-box>div b{font-size:48px}
  .ag-bench-sample .row{grid-template-columns:76px minmax(0,1fr) 36px}
  .ag-dialog-head,.ag-dialog-foot{padding-left:20px;padding-right:20px}.ag-facts,.ag-billing{margin-left:20px;margin-right:20px}
  .ag-agency>summary{flex-wrap:wrap}
}

.addbrand .candinfo{min-width:0}.addbrand .candchoice{display:flex;align-items:center;gap:10px;cursor:pointer}.addbrand .candchoice input{width:16px;height:16px;flex:0 0 auto}.addbrand [data-brand-saved-status]{max-width:45%}.addbrand [data-selection-error]:empty,.addbrand [data-selection-note]:empty{display:none}

/* Ava questions stay reachable after the writing dialog is closed. */
.av-attention{position:fixed;right:24px;bottom:24px;z-index:85;width:min(390px,calc(100vw - 32px));padding:20px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 36px #0002}
.av-attention[hidden]{display:none}.av-attention strong{font-size:15px}.av-attention p{font-size:13px;line-height:1.5;margin:7px 0 16px;overflow-wrap:anywhere;color:var(--ink2)}
.av-attention-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.av-attention-actions .link{font-size:12px;margin-left:auto}.st-state.s-needs-input{color:var(--acc)}
@media(max-width:600px){.av-attention{right:16px;bottom:max(16px,env(safe-area-inset-bottom));padding:16px}}

@media(max-width:700px){
  table.st-brief-list,table.st-brief-list tbody{display:block;width:100%}table.st-brief-list thead{display:none}
  table.st-brief-list tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 18px;padding:20px 0;border-bottom:1px solid var(--line)}
  table.st-brief-list td{display:block;border:0;padding:0;min-width:0;overflow-wrap:anywhere}table.st-brief-list td:nth-child(-n+4),table.st-brief-list td[colspan]{grid-column:1/-1}
  table.st-brief-list td[data-label]::before{content:attr(data-label);display:block;color:var(--ink3);font-size:11px;margin-bottom:3px}
  table.st-brief-list td.r{align-self:end}table.st-brief-list td.r a{display:inline-block;padding:8px 0}
}

.av:has(> .av-leave:not([hidden])){display:flex;flex-direction:column;min-height:min(620px,calc(100dvh - 50px));padding-bottom:24px}
.av-leave{flex:none;margin:auto 0 0;padding-top:40px;color:var(--ink2);text-align:center}
@media (max-width:640px){.av-dialog > .av:has(> .av-leave:not([hidden])){min-height:100dvh;padding-bottom:max(24px,env(safe-area-inset-bottom))}}
