/* NineToFlow, dark round A, 3 November 2026. Loaded after style.css: the tokens flip to a black ground, then this
   file restyles the hero conversation for motion and adds the pixel loader, the Why dot panel and the How digit flow.
   Plan, his answers and the references: PLAN-dark.md. Same four fonts as the approved page. */

:root{
  --page:#050506;
  --ground:#050506;
  --ink:#f4f4f5;
  --ink-2:#b4b4bd;              /* body: 9.6:1 on the ground, 5.8:1 on a cloud's dots. Was #a1a1aa (4.6:1 on a cloud); Linal found grey text over the dots hard to read, 13 Nov */
  --ink-3:#a1a1aa;              /* second heading lines: 7.8:1, 4.6:1 on a cloud. Was #77777d: 4.4:1, 2.7:1 on a cloud, and as bright as a dot under the pointer's light */
  --ink-4:#b4b4bd;              /* small labels: 9.6:1. Was #8a8a94 (5.8:1); he found the facts strip hard to read, 4 Nov */
  --box:#0c0c0f;
  --rule:rgba(255,255,255,.1);
  --line:rgba(255,255,255,.08);
  --dot:#3a6bff;                /* NineToFlow blue lifted for dots on black; the 9 itself stays --nine */
  --ease-io:cubic-bezier(.65,0,.35,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
}
html{background:var(--ground);color-scheme:dark}
/* Type at supabase.com's scale (round 4, 4 Nov 2026): he found the text too big. Measured there at 1440: h1 46/46,
   section titles 34/38, body 16/24. The hero runs a touch larger so it can hold the cloth. */
.d1{font-size:clamp(36px,24px + 2vw,52px);line-height:1.04;letter-spacing:-.04em;font-weight:650}
.d2{font-size:clamp(30px,22px + 1.25vw,40px);line-height:1.06;letter-spacing:-.032em;font-weight:600}
.d2s{font-size:clamp(28px,21px + 1.1vw,36px);line-height:1.08;letter-spacing:-.03em;font-weight:600}
.lead{font-size:clamp(15.5px,15px + .15vw,17px);line-height:1.55}

/* Dot paper under everything (4 Nov 2026, after base44): ground.js draws it live; without script a CSS dot screen stands in.
   The body stays transparent with script on, or its own background would paint over the fixed canvas. */
body{background-color:var(--ground)}   /* plain black without script too (24 Nov 2026): the dots only ever show around the pointer */
.js body{background-color:transparent;background-image:none}
.ground{position:fixed;inset:0;z-index:-1;display:block;width:100%;height:100%;pointer-events:none}
::selection{background:var(--nine);color:#fff}
:focus-visible{outline-color:#7d9bff}
.skip{background:#fff;color:var(--ground)}

/* Header */
.hd.scrolled,.hd.open{background:rgba(5,5,6,.74);box-shadow:0 1px 0 var(--line)}
.brand{color:var(--ink)}
.nav a{color:#a1a1aa}
@media (hover:hover){.nav a:hover{color:#fff}}
.menu-btn i{background:var(--ink)}
.menu{background:#0b0b0d}
.btn-ink{background:#f4f4f5;color:var(--ground)}
.btn-soft{background:rgba(255,255,255,.08);color:var(--ink)}
.btn-white{background:#fff;color:var(--ground)}   /* the old .btn-white inks with --ink, which is white here */
@media (hover:hover) and (pointer:fine){
  .btn-ink:hover{background:#dcdce1}
  .btn-soft:hover{background:rgba(255,255,255,.14)}
}

/* ---------------------------------------------------------------- loader: Black Math's skeleton, NineToFlow's parts */
html.ldr-on body::before{background:var(--ground)}
html.ldr-on .hd .brand,html.pl-flying .hd .brand{opacity:0}
.ldr.ldr-px{background:transparent}
/* .ldr-skip went on 26 Nov 2026: nothing closes the loader any more (his rule). */
.ldr-px .pl-bg{position:absolute;inset:0;background:var(--ground)}
.ldr-px canvas{position:absolute;inset:0}
.pl-lock{position:absolute;display:flex;align-items:center;gap:.381em;font-size:clamp(34px,4.6vw,58px);white-space:nowrap;transform-origin:0 0;will-change:transform}
.pl-nine{width:.905em;height:1.095em;flex:none;overflow:visible;color:var(--nine)}
.pl-nine path{fill:none;stroke:currentColor;stroke-width:112;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1}
.pl-word{font-family:var(--font-accent);font-weight:650;line-height:1;letter-spacing:-.05625em;color:#f4f4f5}
.pl-word i{font-style:normal;opacity:0;transition:color .28s var(--ease-out)}
.pl-word i.on{opacity:1}

/* ---------------------------------------------------------------- hero */
.hero-glow,.hero-grid{display:none}
/* His reference of 3 Nov 2026: a dark app window resting on a bright sheet of glossy cloth (silk.js). The cloth is the
   hero's one burst of colour; the window keeps to quiet greys, as in the reference, so the job inside it reads first.
   The gradient is only what shows without WebGL. */
.hero-stage{margin-top:clamp(44px,4.4vw,64px)}
.stage{position:relative;isolation:isolate;max-width:1280px;margin:0 auto;padding:clamp(14px,5vw,64px) clamp(10px,5.6vw,72px);overflow:hidden;border-radius:clamp(16px,2vw,28px);background:#2f62ff linear-gradient(118deg,#0d1d73,#2f62ff 30%,#c9dcff 47%,#2f62ff 60%,#7b6cff)}
.silk{position:absolute;inset:0;z-index:-1;display:block;width:100%;height:100%}
.tools{border-top-color:var(--rule)}
.mq-set img[src*="notion"]{filter:invert(1)}

/* The window, sampled off the reference: a #1a1a1a title bar, a #0f0f0f frame, the main panel inset as a #1a1a1a card
   with a #272727 hairline, white text and #c2c2c2 under it. */
.win{--wl:#272727;--wt1:#f5f5f5;--wt2:#c2c2c2;--wt3:#8e8e8e;--wcard:#212121;grid-template-columns:clamp(220px,19vw,244px) minmax(0,1fr);grid-template-rows:40px minmax(0,1fr);max-width:none;height:clamp(540px,46vw,656px);border-radius:14px;background:#0f0f0f;box-shadow:0 0 0 1px rgba(0,0,0,.4),0 40px 90px -30px rgba(6,8,40,.6)}
.win-bar{grid-column:1/-1;position:relative;display:flex;align-items:center;gap:18px;padding:0 16px;background:#1a1a1a}
.win-bar .win-lights{gap:8px;height:auto;padding:0}
.win-bar .win-lights i{width:12px;height:12px}
.wb-nav{display:flex;gap:12px;color:#5c5c5c}
.wb-nav svg{width:15px;height:15px}
.wb-find{position:absolute;left:50%;top:7px;display:flex;align-items:center;gap:8px;width:min(340px,38%);height:26px;padding:0 10px;border-radius:8px;background:#262626;translate:-50% 0;font-size:12px;color:#a3a3a3;white-space:nowrap}
.wb-find svg{width:13px;height:13px;flex:none}
.wb-find kbd{margin-left:auto;font:500 11px/1 var(--font-body);color:#6b6b6b}

.win-side{gap:0;padding:14px 10px 12px 12px;background:#0f0f0f;border-right:0}
.ws-brand{display:flex;align-items:center;gap:10px;height:30px;margin-bottom:14px;padding:0 4px}
.ws-logo{display:grid;flex:none;place-items:center;width:26px;height:26px;border-radius:8px;background:#fff}
.ws-logo svg{width:12px;height:15px;color:var(--nine)}
.ws-brand strong{font-size:13.5px;font-weight:600}
.ws-tog{width:16px;height:16px;margin-left:auto;color:#6b6b6b}
.ws-nav{display:flex;flex-direction:column;gap:2px;margin-bottom:20px}
.ws-nav li{display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;border-radius:9px;font-size:13px;font-weight:500;color:#e8e8e8}
.ws-nav svg{width:16px;height:16px;flex:none;color:#b8b8b8}
.ws-nav li.on,.ws li.on{background:#1a1a1a;box-shadow:inset 0 0 0 1px #232323}
.ws-count{display:grid;place-items:center;min-width:18px;height:18px;margin-left:auto;padding:0 5px;border-radius:9px;background:#f5a623;color:#1c1303;font-size:10.5px;font-weight:700;opacity:0;scale:.5;transition:opacity .2s var(--ease-out),scale .42s var(--ease-spring)}
.ws-count.on{opacity:1;scale:1}
.ws-h{display:flex;align-items:center;justify-content:space-between;height:26px;margin-bottom:4px;padding:0 10px;font-size:12px;font-weight:500;color:#f2f2f2}
.ws-h svg{width:14px;height:14px;color:#8e8e8e}
.ws{gap:1px}
.ws li{grid-template-columns:24px minmax(0,1fr);gap:10px;padding:7px 10px;border-radius:9px}
.ws strong{font-size:12.5px;color:#ededed}
.ws em{font-size:11.5px;color:#8e8e8e}
.ws .av{width:24px;height:24px;font-size:9.5px}
.win .av{background:#262626;color:#c2c2c2}
.win .av-on{background:#2858ec;color:#fff}
.win .av-warm{background:#3b2a16;color:#f6c48b}
.win-foot{padding:0 8px;line-height:1.35;text-wrap:balance}
.tag-night{background:#1f1f1f;color:#c2c2c2}

.win-main{margin:2px 10px 10px 2px;overflow:hidden;border:1px solid #272727;border-radius:12px;background:#1a1a1a}
.win-top{height:54px;gap:10px;padding:0 14px;border-bottom:0;font-size:12.5px}
.wt-btn{display:grid;flex:none;place-items:center;width:28px;height:28px;border-radius:8px;box-shadow:inset 0 0 0 1px #2a2a2a}
.wt-btn svg{width:15px;height:15px}
.wt-pick{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 9px 0 12px;border-radius:8px;background:#1f1f1f;box-shadow:inset 0 0 0 1px #2c2c2c}
.win-top .wt-pick strong{font-size:12.5px;font-weight:600;color:var(--wt1)}
.wt-pick svg{width:13px;height:13px}
.chip{height:26px;padding:0 11px;background:#1f1f1f;box-shadow:inset 0 0 0 1px #2c2c2c;color:#d6d6d6}
.chip.is-done{background:#1f1f1f;color:#d6d6d6}

/* The conversation: a centred column. Your words in a grey bubble, the assistant's as plain text, its work on cards. */
.stack{left:0;right:0;max-width:720px;margin:0 auto;gap:12px;padding:16px 28px 14px}
.msg{font-size:13.5px;line-height:1.55}
.msg.me{padding:10px 15px;border-radius:18px;border-bottom-right-radius:6px;background:#2a2a2a;color:var(--wt1)}
.msg.ai{max-width:94%;padding:2px 0;border:0;border-radius:0;background:none;color:#ececec}
.card{width:min(470px,96%);padding:14px;border:1px solid #2a2a2a;border-radius:14px;background:#202020}
.card-h{color:var(--wt2)}
.rows li{background:#272727}
.checks li{color:var(--wt2)}
.pbtn{background:#2a2a2a}
.pbtn-go{background:#f5f5f5;color:#141414}
.reply{border-color:#2a2a2a;background:#202020}
.reply-h{color:#9a9a9a}
.done{gap:12px;padding:12px 16px;border:1px solid #2a2a2a;border-radius:14px;background:#202020}
.done b{color:var(--wt1)}
.done em{color:var(--wt2)}
.done>.ok{width:22px;height:22px;padding:4px;border-radius:50%;background:rgba(74,222,128,.14)}
.win-compose{width:calc(100% - 28px);max-width:692px;height:50px;margin:0 auto 14px;padding:0 8px 0 9px;border:1px solid #2c2c2c;border-radius:16px;background:#1f1f1f;color:#bdbdbd}
.win-compose>svg{box-sizing:content-box;width:13px;height:13px;padding:6px;border-radius:50%;box-shadow:inset 0 0 0 1px #343434}
.win-compose b{width:32px;height:32px;background:#3a3a3a}
.win-compose b svg{color:#8a8a8a}
.win-compose.typing b{background:#f5f5f5}
.win-compose.typing b svg{color:#141414}
.wc-text{text-overflow:ellipsis}

/* Every step is placed by script; motion is the Web Animations API, so nothing here transitions. */
.js .stack [data-step]{opacity:0;translate:none}
.stack [data-step].in{opacity:1;transition:none}
.stack [data-step].pend{display:none}

/* Status lines, one glyph per job, the way assistants show their work: the label shimmers while it runs, then settles
   into a quiet past-tense line ("Searched near Dandenong · 3 companies") and stays in the transcript. 4 Nov 2026. */
.st{display:flex;align-items:center;gap:9px;min-height:24px;font-size:12.5px;font-weight:500;color:#8c8c8c}
.st .tg{display:block;flex:none;width:20px;height:20px;transition:opacity .3s var(--ease-out)}
.st .tg canvas{display:block}
.st b{font-weight:500}
.js:not(.still) .st:not(.settled) b{background:linear-gradient(90deg,#7d7d7d 0 38%,#f4f4f4 50%,#7d7d7d 62% 100%) 0 0/260% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:shimmer 1.7s linear infinite}
@keyframes shimmer{from{background-position:100% 0}to{background-position:0 0}}
.st.settled{color:#6f6f6f}
.st.settled .tg{opacity:.38}
.st.settled b::after{content:"";display:inline-block;width:5px;height:5px;margin:0 0 1px 7px;border-right:1.4px solid currentColor;border-bottom:1.4px solid currentColor;rotate:-45deg}
/* A time stamp between turns, as chat apps mark a gap. */
.time{display:flex;align-items:center;gap:12px;font-size:11.5px;color:#6a6a6a}
.time::before,.time::after{content:"";flex:1;height:1px;background:#262626}
/* Streamed text arrives a few words at a time, each chunk fading up from nothing; no motion, as in a real chat. */
.stw{opacity:0;transition:opacity .22s var(--ease-out)}
.stw.on{opacity:1}

/* Rows land as results come back: they fade in, checks draw. */
.js .stack [data-tick]{opacity:0;translate:none}
.stack [data-tick].in{opacity:1;transition:opacity .3s var(--ease-out)}
.js .stack [data-tick] .ok{scale:1;stroke-dasharray:14;stroke-dashoffset:14}
.stack [data-tick].in .ok{stroke-dashoffset:0;transition:stroke-dashoffset .32s var(--ease-out) .12s}
@keyframes draw{from{stroke-dashoffset:14}to{stroke-dashoffset:0}}
/* "Send · waiting for your OK" holds an amber pulse until you approve. */
#sendLine .wait-dot{display:none;position:relative;width:15px;height:15px;flex:none;border:1.5px solid #f5a623;border-radius:50%}
#sendLine .wait-dot::after{content:"";position:absolute;inset:3px;border-radius:50%;background:#f5a623;animation:waitp 1.1s ease-in-out infinite}
@keyframes waitp{50%{scale:.45;opacity:.5}}
.js:not(.still) #sendLine:not(.sent) .ok{display:none}
.js:not(.still) #sendLine:not(.sent) .wait-dot{display:block}
#sendLine.sent .ok{stroke-dasharray:14;animation:draw .4s var(--ease-out) both}

/* Approve: the buttons fold up and away, the sent line rises in, a green light runs once round the card. */
.ap-swap{display:grid;margin-top:10px}
.ap-swap>*{grid-area:1/1}
.ap-actions{margin-top:0;transition:opacity .2s var(--ease-out),translate .34s var(--ease-quint)}
.ap-done{display:flex;align-self:center;margin-top:0;opacity:0;translate:0 9px;transition:opacity .3s var(--ease-out) .12s,translate .46s var(--ease-quint) .12s}
.approve.ok-state .ap-actions{display:flex;opacity:0;translate:0 -9px;pointer-events:none}
.approve.ok-state .ap-done{display:flex;opacity:1;translate:0 0}
html:not(.js) .approve .ap-actions{opacity:0}
html:not(.js) .approve .ap-done{opacity:1;translate:none}
@property --run{syntax:'<angle>';inherits:false;initial-value:0deg}
.approve{position:relative;transition:box-shadow .6s var(--ease-out) .7s}
.approve::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;background:conic-gradient(from var(--run),transparent 0 290deg,rgba(74,222,128,.25) 320deg,#4ade80 352deg,transparent 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);opacity:0;pointer-events:none}
.approve.ok-state::after{animation:runlight 1.15s var(--ease-io) forwards}
.approve.ok-state{box-shadow:inset 0 0 0 1px rgba(74,222,128,.3),0 12px 26px -16px rgba(0,0,0,.9)}
@keyframes runlight{0%{--run:0deg;opacity:1}82%{opacity:1}100%{--run:360deg;opacity:0}}
.pbtn.press{transform:scale(.93);filter:brightness(1.15)}

/* Ben's reply rings once as it lands. */
.reply .av-warm{position:relative}
.reply .av-warm::after{content:"";position:absolute;inset:-2px;border:1.5px solid #f5a623;border-radius:50%;opacity:0}
.reply.pinged .av-warm::after{animation:ringout .9s var(--ease-out) .3s}
@keyframes ringout{from{opacity:.9;scale:1}to{opacity:0;scale:2.2}}
.done.lit .ok{stroke-dasharray:14;animation:draw .42s var(--ease-out) .38s both}

/* The pointer that presses Approve. */
.ptr{position:absolute;left:0;top:0;z-index:6;width:22px;height:22px;opacity:0;pointer-events:none;filter:drop-shadow(0 4px 8px rgba(0,0,0,.55));transition:opacity .28s var(--ease-out)}

/* Status chip: a small striped globe while it works, then green. */
.chip{overflow:hidden}
.chip .chip-g{display:block;width:12px;height:12px;border-radius:0;background:none;animation:none}
.chip.is-done .chip-g{display:none}
.chip.is-done::before{content:"";width:6px;height:6px;border-radius:50%;background:#4ade80}

/* Your message is typed into the composer, then sent. */
.wc-text{position:relative;flex:1;min-width:0;overflow:hidden;white-space:nowrap}
.wc-typed{color:var(--wt1)}
.wc-typed:not(:empty)::after{content:"";display:inline-block;width:1.5px;height:14px;margin-left:2px;vertical-align:-2px;background:#fff;animation:caret 1s steps(1) infinite}
.win-compose.typing .wc-ph{display:none}
@keyframes caret{50%{opacity:0}}
.wc-send{transition:background-color .16s var(--ease-out),scale .14s var(--ease-out)}
.wc-send svg{transition:color .16s var(--ease-out)}
.win-compose .wc-send.press{scale:.86}

/* ---------------------------------------------------------------- 2 · Why: a Lighthouse-style dot panel */
.why-in{grid-template-columns:minmax(0,1fr) minmax(0,.92fr);align-items:center}
.why-copy .lead{max-width:440px;margin-top:28px}
.ctas-left{justify-content:flex-start;margin-top:30px}
.lpanel{position:relative;aspect-ratio:4/5;max-height:640px;overflow:hidden;border-radius:18px;background:#000;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.lp-field{position:absolute;inset:0;width:100%;height:100%}
.lp-cap{position:absolute;left:28px;right:28px;bottom:26px;max-width:15em;font-family:var(--font-display);font-size:clamp(17px,14px + .45vw,20px);font-weight:700;line-height:1.12;letter-spacing:-.025em;color:#fff}

/* ---------------------------------------------------------------- 3 · How we work: the digit flow over five steps */
.how{padding-top:var(--sec)}
.dflow-in{max-width:var(--content);margin:clamp(48px,5vw,72px) auto 0}
.dflow{position:relative;height:0}
.js .dflow{height:clamp(220px,26vw,330px)}
.dflow canvas{position:absolute;inset:0;width:100%;height:100%}
.dsteps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:28px;border-top:1px solid var(--rule)}
.dsteps li{position:relative;padding:24px 22px 0 0;transition:opacity .35s var(--ease-out)}
.dsteps li+li{padding-left:22px;border-left:1px solid var(--line)}
/* + marks where the column lines meet the top rule. */
.dsteps li::before{content:"";position:absolute;left:-6px;top:-6px;width:11px;height:11px;background:linear-gradient(rgba(255,255,255,.42),rgba(255,255,255,.42)) center/1px 100% no-repeat,linear-gradient(rgba(255,255,255,.42),rgba(255,255,255,.42)) center/100% 1px no-repeat}
.dsteps li:first-child::before{left:-5px}
.ds-n{display:inline-grid;place-items:center;min-width:30px;height:30px;padding:0 7px;border-radius:8px;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);font:500 12px/1 var(--font-mono);color:#fff}
.dsteps h3{margin-top:18px;font-family:var(--font-display);font-size:24px;font-weight:700;line-height:1.1;letter-spacing:-.025em}
.dsteps p{margin-top:10px;font-size:15px;line-height:1.55;color:var(--ink-2)}
.dsteps .ds-get{margin-top:14px;font-size:14px;color:#fff}
.dsteps .ds-get::before{content:"";display:inline-block;width:6px;height:6px;margin-right:8px;border-radius:50%;background:var(--dot);vertical-align:2px}
@media (hover:hover) and (pointer:fine){.dsteps:hover li:not(:hover){opacity:.45}}

.r-end{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;max-width:var(--content);margin:clamp(72px,8vw,120px) auto 0;padding:28px var(--gutter);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.r-end p{font-size:14px;color:var(--ink-4)}
.ft-dark{margin-top:clamp(56px,7vw,96px)}

@media (max-width:900px){
  .why-in{grid-template-columns:minmax(0,1fr)}
  .lpanel{width:100%;max-width:520px}
  .dsteps{grid-template-columns:minmax(0,1fr)}
  .dsteps li,.dsteps li+li{padding:20px 0;border-left:0;border-bottom:1px solid var(--line)}
  .dsteps li::before{display:none}
  .dsteps h3{margin-top:14px}
}
@media (max-width:700px){
  .st{font-size:12px}
}
@media (prefers-reduced-motion:reduce){
  .stw{opacity:1}
}

/* ================================================================ round B, 3 November 2026 */
.r-end{display:none}
.ft-dark{margin-top:0}

/* ---------------------------------------------------------------- 4 · Trust: held at the gate until you approve */
.trust{padding:var(--sec-tight) var(--gutter);background:transparent}
.trust-glow{display:none}
.tpanel{position:relative;isolation:isolate;max-width:var(--content);min-height:clamp(480px,44vw,560px);margin:0 auto;overflow:hidden;border-radius:20px;background:#000;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.tp-field{position:absolute;inset:0;z-index:-1;width:100%;height:100%}
.tp-copy{display:flex;flex-direction:column;justify-content:space-between;gap:48px;min-height:inherit;padding:clamp(28px,4vw,52px)}
.tp-copy .ln{white-space:nowrap}
.tp-foot{max-width:420px}
.tp-foot p{font-size:clamp(16px,15.6px + .1vw,17px);line-height:1.55;color:rgba(247,247,245,.74)}
.tp-foot .btn{margin-top:22px}
.tr-gate{position:absolute;left:62%;top:0;bottom:0;z-index:1;width:0;pointer-events:none}
.tr-gate>i{position:absolute;top:0;bottom:0;left:0;width:1px;background:repeating-linear-gradient(rgba(255,255,255,.5) 0 6px,transparent 6px 12px);transition:opacity .7s var(--ease-out)}
.tr-pill{position:absolute;left:0;top:50%;display:inline-flex;align-items:center;gap:9px;height:36px;padding:0 15px;border-radius:999px;background:#0b0b0d;box-shadow:0 0 0 1px rgba(245,166,35,.55),0 12px 30px -10px rgba(0,0,0,.9);translate:-50% -50%;color:#f7c36e;font-size:13px;font-weight:600;white-space:nowrap;transition:color .4s var(--ease-out),box-shadow .4s var(--ease-out)}
.tr-dot{width:8px;height:8px;flex:none;border-radius:50%;background:#f5a623;animation:waitp 1.1s ease-in-out infinite}
.tr-pill .a{display:none}
.tpanel.approved .tr-pill,html:not(.js) .tr-pill{color:#8fe6b4;box-shadow:0 0 0 1px rgba(74,222,128,.55),0 12px 30px -10px rgba(0,0,0,.9)}
.tpanel.approved .tr-pill .w,html:not(.js) .tr-pill .w{display:none}
.tpanel.approved .tr-pill .a,html:not(.js) .tr-pill .a{display:inline}
.tpanel.approved .tr-dot,html:not(.js) .tr-dot{background:#4ade80;animation:none}
.tpanel.approved .tr-gate>i{opacity:.12}

/* ---------------------------------------------------------------- 5 · Use cases: six Lighthouse cards */
.use{border-block:1px solid var(--line);background:transparent}
.uc{position:relative;display:block;width:clamp(280px,25vw,352px);aspect-ratio:4/5.2;overflow:hidden;border:0;border-radius:18px;background:#000;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.uc canvas{position:absolute;inset:0;width:100%;height:100%}
.uc-body{position:absolute;left:0;right:0;bottom:0;padding:48px 24px 24px;background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.62) 42%)}
.uc-k{font-family:var(--font-body);font-size:12.5px;letter-spacing:0;text-transform:none;color:rgba(247,247,245,.62)}
.uc h3{margin-top:8px;color:#fff}
.uc-body>p:last-child{margin-top:8px;font-size:14px;line-height:1.5;color:rgba(247,247,245,.68)}
.use-head p{color:var(--ink-2)}

/* ---------------------------------------------------------------- 6 · Services: hairline rows that draw themselves in */
.offer{padding:var(--sec) var(--gutter)}
.offer-in{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.offer-copy .lead{max-width:420px}
.svc-rows{border-top:1px solid var(--rule)}
.svc-rows li{position:relative}
.svc-rows li::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--rule);transform-origin:left}
.js .svc-rows:not(.in) li::after{transform:scaleX(0)}
.svc-rows.in li::after{transition:transform 1.1s cubic-bezier(.65,0,.35,1) calc(var(--i,0) * 70ms + .1s)}
.js .svc-rows:not(.in) a{opacity:0;translate:-14px 0}
.svc-rows.in a{transition:opacity .5s var(--ease-out) calc(var(--i,0) * 70ms),translate .7s var(--ease-quint) calc(var(--i,0) * 70ms)}
.svc-rows a{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px 0;text-decoration:none}
.sr-n{font:500 12px/1 var(--font-mono);color:var(--ink-4)}
.svc-rows b{font-family:var(--font-display);font-size:clamp(18px,15.4px + .6vw,22px);font-weight:700;letter-spacing:-.02em;transition:color .25s var(--ease-out)}
.svc-rows svg{width:16px;height:16px;color:var(--ink-4);transition:translate .25s var(--ease-out),color .25s var(--ease-out)}
@media (hover:hover) and (pointer:fine){
  .svc-rows a:hover svg{translate:4px 0;color:#fff}
  .svc-rows:hover a:not(:hover) b{color:var(--ink-3)}
}
.plans{grid-template-columns:1fr 1fr;gap:16px;max-width:var(--content);margin:clamp(48px,5vw,72px) auto 0;padding-top:0}
.plan{display:flex;flex-direction:column;min-height:0;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#0b0b0d;color:var(--ink)}
.plan-strip{display:block;width:100%;height:112px;border-bottom:1px solid var(--line);background:#000}
.plan-in{display:flex;flex-direction:column;flex:1;padding:24px 28px 28px}
.plan-k{font-size:12.5px;color:var(--ink-4)}
.plan h3{margin-top:12px;color:#fff}
.plan-in>p:not(.plan-k){margin-top:12px;font-size:15px;line-height:1.55;color:var(--ink-2)}
.plan .btn{margin-top:26px}
.plans-link{color:var(--ink)}

/* ---------------------------------------------------------------- 7 · Questions */
.faq{border-top:1px solid var(--line);background:transparent}
.faq-list details[open] .faq-a p{animation:qa .5s var(--ease-quint)}
@keyframes qa{from{opacity:0;translate:0 -6px}}
.faq-list summary{transition:color .2s var(--ease-out)}
@media (hover:hover) and (pointer:fine){.faq-list summary:hover{color:#fff}.faq-list summary:hover i::before,.faq-list summary:hover i::after{background:#fff}}

/* ---------------------------------------------------------------- 8 · Final call */
.final{padding:var(--sec) var(--gutter) calc(var(--sec) + 40px);background:transparent}
.final-glow{display:none}
.fin-field{position:absolute;inset:0;z-index:-1;width:100%;height:100%;-webkit-mask-image:linear-gradient(transparent,#000 40%);mask-image:linear-gradient(transparent,#000 40%)}
.fin-go{box-shadow:0 0 0 1px rgba(255,255,255,.4),0 14px 46px -8px rgba(58,107,255,.8)}   /* the page's one glow */

@media (max-width:900px){
  .offer-in{grid-template-columns:minmax(0,1fr)}
  .plans{grid-template-columns:minmax(0,1fr)}
  .tr-gate{left:70%}
}
@media (max-width:700px){
  .tpanel{min-height:600px}
  .tp-copy .ln{white-space:normal}
  .tr-pill{top:42%}
  .uc{width:min(300px,80vw)}
}
@media (prefers-reduced-motion:reduce){
  .js .svc-rows:not(.in) a,.js .svc-rows:not(.in) li::after{opacity:1;translate:none;transform:none}
  .tr-dot{animation:none}
}
.still .svc-rows li::after,.still .svc-rows a{transition:none}
@media (prefers-reduced-motion:reduce){.svc-rows li::after,.svc-rows a{transition:none}}

/* ---------------------------------------------------------------- hero window on narrow screens */
@media (max-width:1200px){.ws li:nth-child(5){display:none}}   /* the window gets shorter: four businesses keep the sample-data label in view */
@media (max-width:900px){
  .win{grid-template-columns:minmax(0,1fr)}
  .win-side{display:none}
  .win-main{margin:2px 8px 8px}
}
@media (max-width:700px){
  .wb-nav,.wb-find kbd{display:none}
  .wb-find{position:static;flex:1;width:auto;translate:none}
  .win .win-top>.wt-pick{display:inline-flex}
  .win-top{padding:0 10px}
  .stack{padding:14px 14px 12px}
  .win-compose{width:calc(100% - 20px);margin-bottom:10px}
}

/* Clarity pass, 4 Nov: "Discuss your project" is longer than the old label. Below 360px it would push the menu button off
   the screen, so the header shows only the menu, which carries the same link. */
@media (max-width:359px){.hd-cta{display:none}}
/* With the bar's button gone below 360 px, the menu lost the margin that pushed it right and sat mid-bar (phone audit, 26 Nov
   2026). */
@media (max-width:359px){html.nav-pill .menu-btn{margin-left:auto}}

/* iPhone and other touch screens, 7 Nov 2026. No grey box flashes over a tapped link or button (the site's own press
   dip and ring are the feedback; keyboard focus rings are untouched), and two quick taps never zoom the page. Four
   kinds of link were under 24 px tall on a phone: an invisible ::after reaches a few pixels past each, so the tap area
   grows and nothing on screen moves. */
a,button,summary,label,[role="button"]{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.brand,.j-bar a,.p-crumb a,.p-source{position:relative}
.brand::after,.j-bar a::after,.p-crumb a::after,.p-source::after{content:"";position:absolute;inset:-6px -4px}

/* ================================================================ phones, 11 Nov 2026
   His ask: "don't have it as like dot dot dots ... so you can see every text". On a phone nothing in the hero window
   cuts off with "…". The message box grows a line at a time as the message is typed, the way a phone chat app does,
   with + and send held at the bottom (the margins keep a one-line box exactly where the centred one sat). Long company
   names wrap. The picker drops its arrow so the status fits beside it; on the narrowest phones the status shows as its
   glyph alone. Before this, WebKit drew the typed message blank: the field scrolled past its own "…" (measured 11 Nov). */
@media (max-width:700px){
  .win-compose{height:auto;min-height:50px;padding-top:8px;padding-bottom:8px;align-items:flex-end}
  .win-compose>svg{margin-bottom:3.5px}
  .wc-text{overflow:visible;white-space:normal;margin-bottom:5.6px}
  .wc-dots{display:none}
  .wt-pick>svg{display:none}
  .rows span{white-space:normal}
}
/* 375 px, not 360: at exactly 360 the chip clipped its label (review, 26 Nov 2026). */
@media (max-width:374px){
  .chip b{display:none}
}

/* Solutions menu (25 Nov 2026): Workiva's Solutions panel in our dark box. By job (the five What we build cards), by trade,
   one featured piece and a rounded button to all ten services (he does not like straight-edged buttons, 25 Nov). Opens on click; Escape, a click outside or a link closes it.
   Phones get the same five groups at the top of the menu. */
.nav-sol{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;font:inherit;font-size:15px;font-weight:500;line-height:1.6;color:#a1a1aa;cursor:pointer;transition:color .2s}
.nav-sol svg{width:12px;height:12px;transition:rotate .25s var(--ease-out)}
.nav-sol[aria-expanded="true"]{color:#fff}
.nav-sol[aria-expanded="true"] svg{rotate:180deg}
@media (hover:hover){.nav-sol:hover{color:#fff}}
.hd.sol-open{background:#0b0b0d;box-shadow:0 1px 0 var(--line)}
.sol{position:absolute;inset:64px 0 auto;background:#0b0b0d;border-bottom:1px solid var(--line)}
.sol[hidden]{display:none}
.sol-in{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,.95fr);gap:clamp(28px,3.4vw,52px);max-width:var(--shell);margin:0 auto;padding:26px var(--gutter) 30px}
.sol-h{margin-bottom:6px;font:500 13px/1.3 var(--font-mono);color:var(--ink-4)}
.sol-col a{display:grid;grid-template-columns:12px minmax(0,1fr);column-gap:12px;padding:11px 0;border-top:1px solid var(--line);text-decoration:none}
.sol-col a b{font-size:15.5px;font-weight:600;line-height:1.35;color:#fff}
.sol-col a span{grid-column:2;font-size:13.5px;line-height:1.4;color:var(--ink-2)}
.sol-sw{width:12px;height:12px;margin-top:4px;border-radius:3px;background:var(--tone)}
@media (hover:hover){.sol-col a:hover b{color:#c9d5ff}}
.sol-feat{display:flex;flex-direction:column;text-decoration:none;color:#fff}
.sol-feat img{display:block;width:100%;height:auto;aspect-ratio:1180/738;object-fit:cover;border-radius:12px;box-shadow:0 0 0 1px rgba(255,255,255,.1)}
.sol-feat b{margin-top:14px;font-size:15.5px;font-weight:600}
.sol-feat span{margin-top:2px;font-size:13.5px;color:var(--ink-2)}
.sol-all{display:flex;align-items:center;justify-content:center;gap:8px;width:max-content;height:44px;margin:0 auto 26px;padding:0 22px;border-radius:999px;background:var(--nine);color:#fff;font-size:14.5px;font-weight:600;text-decoration:none}
.sol-all svg{width:15px;height:15px;transition:translate .2s var(--ease-out)}
@media (hover:hover){.sol-all:hover svg{translate:3px 0}}
@media (max-width:900px){.sol{display:none}}
.menu-h{padding:16px 0 4px;font:500 13px/1.3 var(--font-mono);color:var(--ink-4)}
.menu a.menu-sub{display:flex;align-items:center;gap:12px;padding:11px 0;font-size:17px;font-weight:500}
.menu a.menu-sub i{width:11px;height:11px;border-radius:3px;background:var(--tone,#2858ec)}
.menu a.menu-sub i.menu-all{background:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}

/* ================================================================ 2 · Why: the inbox that empties itself, 26 Nov 2026
   His pick from three working options (checks/why-woah-20261125/options.html: "go with 3, the inbox"), with business
   tools in place of Google's ("dont use drive, and calendar, gmail, use something more that people use for bsuiness").
   As written it is the sorted inbox, each email showing where it went; dark.mjs whyPanel runs it (.ib-run). Outlook has
   no logo we may use, so the inbox and Drafts carry our plain mail mark (logos/SOURCE.md). */
.lpanel.ib{display:flex;flex-direction:column}
/* One column in normal flow (review, 26 Nov: placed by separate offsets, the caption covered the app names below 360 px): the
   inbox takes what is left after the apps and the caption, so nothing can overlap at any width. */
.lpanel.ib .lp-cap{position:relative;left:auto;right:auto;bottom:auto;flex:none;max-width:22em;margin:22px 28px 26px}
.ib-in{position:relative;display:flex;flex:1;flex-direction:column;min-height:0;padding:20px 20px 0;font-family:var(--font-body);color:#1f2328;text-align:left}
.ib-box{position:relative;z-index:2;display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 26px 50px -22px rgba(0,0,0,.75)}
.ib-h{display:flex;align-items:center;gap:9px;flex:none;height:44px;padding:0 16px;border-bottom:1px solid #eceef2;font-size:14.5px;font-weight:600}
.ib-h img{width:18px;height:18px}
.ib-count{padding:2px 8px;border-radius:999px;background:#dbe8ff;color:#0b3a8c;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
.ib-list{flex:1;min-height:0;margin:0;padding:0;list-style:none;overflow:hidden}
.ib-row{display:grid;grid-template-rows:1fr;transition:grid-template-rows .3s cubic-bezier(.65,0,.35,1),background-color .2s ease}
.ib-row>div{min-height:0;overflow:hidden;padding:0 16px;border-bottom:1px solid #eceef2}
.ib-row p{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px}
.ib-row b{overflow:hidden;font-size:14px;font-weight:700;white-space:nowrap}
.ib-sub{display:block;overflow:hidden;padding:3px 0 11px;font-size:13.5px;line-height:1.3;color:#5a5f68;white-space:nowrap}
.ib-end{display:grid;flex:none;align-items:center;justify-items:end;font-style:normal}
.ib-end>*{grid-area:1/1}
.ib-row time{font-size:12.5px;font-weight:600;visibility:hidden}
.ib-lab{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px 0 6px;border-radius:7px;background:#fff;box-shadow:inset 0 0 0 1px #d6d9de;font-size:12.5px;font-weight:600;color:#3c4043;white-space:nowrap}
.ib-lab img{width:15px;height:15px}
.ib-run .ib-row:not(.sel) time{visibility:visible}
.ib-run .ib-row:not(.sel) .ib-lab{visibility:hidden}
.ib-run .ib-row.sel{background:#eaf1fd}
.ib-run .ib-row.sel .ib-lab{animation:ib-pop .32s cubic-bezier(.34,1.56,.64,1)}
.ib-row.gone{grid-template-rows:0fr}
.ib-row.gone>div{border-bottom-color:transparent}
@keyframes ib-pop{from{scale:.55}}
/* the flying copy travels behind the inbox card and comes out of its bottom edge above its own app (review: it crossed waiting
   rows and other apps' tiles) */
.ib-fly{position:absolute;z-index:1;left:0;top:0;pointer-events:none}
.ib-done{position:absolute;inset:44px 0 0;display:none;background:#fff;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}
.ib-zero .ib-done{display:flex;animation:ib-pop .5s cubic-bezier(.34,1.56,.64,1)}
.ib-done strong{font-family:var(--font-display);font-size:24px;font-weight:650;letter-spacing:-.02em}
.ib-done span{font-size:14px;color:#5a5f68}
.ib-dest{position:relative;z-index:1;flex:none;margin-top:24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));justify-items:center}
.ib-t{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px}
.ib-t i{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#fff;box-shadow:0 14px 34px -10px rgba(0,0,0,.7)}
.ib-t img{width:24px;height:24px}
.ib-t em{font-size:12.5px;font-style:normal;font-weight:600;color:#d4d4d8}
.ib-n{position:absolute;right:-10px;top:-9px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--nine);color:#fff;font:700 12px/22px var(--font-body);text-align:center;font-variant-numeric:tabular-nums;transition:scale .3s cubic-bezier(.34,1.8,.64,1)}
.ib-run .ib-n:not(.on){scale:0}
.ib-nine{position:absolute;right:10px;top:10px;z-index:3;display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#fff;box-shadow:0 14px 34px -10px rgba(0,0,0,.7)}
.ib-nine svg{width:21px;height:26px;color:var(--nine)}
@media (max-width:700px){
  .lpanel.ib{aspect-ratio:auto}
  .ib-in{padding:14px 14px 0}
  .ib-box{flex:none;height:clamp(230px,72vw,300px)}
  .ib-dest{margin-top:20px}
  .lpanel.ib .lp-cap{margin:18px 14px 14px}
  /* a long sender or subject takes a second line rather than being cut mid-word (his phone rule) */
  .ib-row b,.ib-sub{overflow:visible;white-space:normal}
  .ib-row p{align-items:flex-start}
  .ib-nine{right:6px;top:6px;width:44px;height:44px;border-radius:13px}
  .ib-nine svg{width:18px;height:22px}
}

/* ================================================================ 1 · Hero: the apps we build, 26 Nov 2026
   His ask: show the assistant "as a thing we built like a lead gen for a bit, then it slides to the left, and the background
   changes to another colour like pink instead of blue, and another app pops up like another CRM, and just other stuff like
   scaling", and "everything shown there, we have to mention them" (his NineToFlow map: lead gen by cold email, cold calling,
   social media, DMs and ads in Australia, New Zealand, the Middle East, Canada and the USA; more revenue and a better brand
   through website, SEO, social and ads; ERP, CRM and portals; custom software and quoting). Four apps, one per branch:
   Lead gen (blue), CRM and ERP (pink), Brand and growth (green), Custom software (amber). The cloth blends to each app's
   colour as it slides in (silk.js blendTo); the pills under the window name each app and switch to it; the caption names
   everything that app covers. dark.mjs heroSlides runs it. */
.slides{display:grid}
.slide{grid-area:1/1;min-width:0}
.slide:not(.is-on):not(.is-in){visibility:hidden}
.hero-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:clamp(16px,2vw,22px)}
.hp{display:inline-flex;align-items:center;height:38px;padding:0 18px;border:0;border-radius:999px;background:rgba(8,10,28,.36);color:#fff;font:600 13.5px/1 var(--font-body);white-space:nowrap;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:background-color .25s ease,color .25s ease,scale .16s var(--ease-out)}
.hp.is-on{background:#fff;color:#0b0b0d}
.hp:active{scale:.96}
@media (hover:hover){.hp:not(.is-on):hover{background:rgba(8,10,28,.52)}}
.hp:focus-visible{outline:2px solid #fff;outline-offset:3px}
.hero-cap{width:fit-content;max-width:min(100%,52em);margin:10px auto 0;padding:9px 16px;border-radius:16px;background:rgba(8,10,28,.42);color:#fff;font-size:14px;line-height:1.4;text-align:center;text-wrap:balance;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
/* if the cloth cannot draw, the stage's own gradient follows the app's colour */
.stage[data-tone="2"]{background:#e0457b linear-gradient(118deg,#5a1747,#e0457b 30%,#ffd9c7 47%,#e0457b 60%,#ff8a3d)}
.stage[data-tone="4"]{background:#14a37a linear-gradient(118deg,#063b2b,#14a37a 30%,#d3f6e8 47%,#14a37a 60%,#3cc9d6)}
.stage[data-tone="5"]{background:#f39a1e linear-gradient(118deg,#5c2a04,#f39a1e 30%,#ffe8c4 47%,#f39a1e 60%,#ff6a3d)}
html:not(.js) .hero-pager{display:none}
@media (max-width:700px){
  .hp{height:34px;padding:0 14px;font-size:13px}
  .hero-cap{font-size:13.5px}
}

/* 1 · Hero windows, one family (26 Nov 2026). The review of the four hero apps found the shared frame under the 12 px
   floor in 8 places, three button shapes that were not fully round (his rule: rounded buttons and bars only), and slide 1's
   cards rounder than the new windows'. Fixed once here for all four; the copies inside the apps were taken out. */
.win .ws em,.win .win-foot,.win .chip,.win .time,.win .wb-find kbd{font-size:12px}
.win .ws em{line-height:18px}
.win .ws li{grid-template-columns:26px minmax(0,1fr)}
.win .ws .av{width:26px;height:26px;font-size:12px}
.win .rows .av,.win .reply-h .av{width:24px;height:24px;font-size:12px;letter-spacing:0}
.win .ws-count{min-width:20px;height:20px;border-radius:10px;font-size:12px}
.win .wt-pick,.win .wt-btn,.win .pbtn,.win .wb-find{border-radius:999px}
.win .card,.win .done{border-radius:12px}
/* At 1201 to 1300 px the assistant's fifth business left 0 px above the window's footer line; it now drops out at 1300. */
@media (max-width:1300px){#win .ws li:nth-child(5){display:none}}

/* 1 · Hero chat, the lead card (his pick of three, 26 Nov 2026: "Leads pour in"; built as site/_lab/lead/l2). The rows read
   like the other cards (initials, the company in white, its trade in grey, a check on the right) plus why each one is a
   lead, right-aligned. The check waits for the sort, so it lands only on the 3 strong fits. The card is wider than the
   others, as a results list; narrower cards take the trade under the name, phones the reason under that, and every word
   shows (his rule, 11 Nov 2026). */
#win .l2-leads{width:min(600px,100%);container-type:inline-size}
#win .l2-leads .rows li{grid-template-columns:24px minmax(0,1fr) auto 15px;column-gap:10px}
#win .l2-leads .rows li>span{white-space:normal;text-overflow:clip}
#win .l2-leads .l2-why{font-size:12px;font-style:normal;color:#a6a6a6;text-align:right;white-space:nowrap}

/* "+ 9 more" sits under the names and counts with the search line. */
#win .l2-leads .rows li.l2-more{display:block;padding:2px 8px 0 42px;background:none;font-size:12px;font-weight:500;color:var(--wt3)}
#win .l2-leads .l2-more b{font-weight:inherit}

/* A row that has not come back yet takes no room: the card grows as the rows land. */
#win .l2-leads .rows li.l2-wait{display:none}

/* The sort: checks draw on the strong fits one after another, everything else dims to 45%. */
#win .l2-leads [data-tick] .ok{opacity:0;stroke-dasharray:14;stroke-dashoffset:14;transition:none}
#win .l2-leads [data-tick].l2-fit .ok{opacity:1;stroke-dashoffset:0;transition:stroke-dashoffset .34s var(--ease-out)}
#win .l2-leads.l2-sorted [data-tick].in:not(.l2-fit):not([data-fit]){opacity:.45;transition:opacity .5s var(--ease-out)}
#win.l2-calm .l2-leads [data-tick],#win.l2-calm .l2-leads [data-tick] .ok{transition:none}

/* Narrower cards (smaller laptops, tablets): the trade goes under the name. */
@container (max-width:559px){
  #win .l2-leads .rows li{padding:7px 10px 7px 8px}
  #win .l2-leads .rows li>span{line-height:1.3}
  #win .l2-leads .rows li>span em{display:block;margin:2px 0 0;line-height:1.3}
}
/* Phones: the reason takes its own line under the trade. */
@container (max-width:419px){
  #win .l2-leads .rows li{grid-template-columns:24px minmax(0,1fr) 15px;grid-template-areas:"av txt ok" "av why ok";align-items:start;row-gap:2px}
  #win .l2-leads .rows li>.av{grid-area:av}
  #win .l2-leads .rows li>span{grid-area:txt}
  #win .l2-leads .rows li>.l2-why{grid-area:why;line-height:1.3;text-align:left;white-space:normal}
  #win .l2-leads .rows li>.ok{grid-area:ok;align-self:center}
  /* only the 3 strong fits show here; "+ N more" counts the rest (feed() reads the same 420 px) */
  #win .l2-leads .rows li.l2-extra{display:none}
}

/* Nav: the bar gathers into a pill (his pick of three, 26 Nov 2026: "Change the Nav bar to flow and look better"; built as
   site/_lab/nav/n1). At the top the bar sits as it did, transparent on the black, full width. Past 8 px of scroll (header()'s
   .scrolled) the brand, the links and the button slide together on `translate` while one background layer (.np-cap) shrinks
   from the full shell into a floating capsule; nothing inside is laid out again while it moves. common.mjs pillNav()
   measures the slide distances once (and on resize or font load) into --np-bx, --np-nx, --np-cx, --np-capx, --np-capw,
   adds html.nav-pill, the shared hover highlight and the phone scrim. Rounded everything (his rule, 25 Nov). */

html.nav-pill{
  --np-ease:cubic-bezier(.22,1,.36,1);   /* spec: 420 ms on this curve (the site's own --ease-quint) */
  --np-dur:420ms;
  /* Spec was .82 with an 18 px blur. Over the pink and amber silk that still tinted maroon and brown (checks/hero-20261126/nav/n1/glass/round3.png, rows 1 and 3). .88 with the backdrop dimmed to .7 stays near-black on all four colours.
     No saturate either way. */
  --np-glass:rgba(16,16,19,.88);
  --np-blur:blur(18px) brightness(.7);
  --np-line:rgba(255,255,255,.09);        /* spec: 1 px inside line */
  --np-lift:0 14px 34px -14px rgba(0,0,0,.62),0 2px 8px -2px rgba(0,0,0,.34);
  --np-panel:#0d0d10;                     /* spec */
}

/* The old full-width band is gone in every state: no muddy glass over the silk. The header itself lets clicks through;
   only its parts take them, so the page beside the floating capsule stays clickable. */
html.nav-pill .hd,html.nav-pill .hd.scrolled,html.nav-pill .hd.open,html.nav-pill .hd.sol-open{
  background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;pointer-events:none}
html.nav-pill .hd-in{position:relative;z-index:1}
html.nav-pill .hd-in>:not(.np-cap),html.nav-pill .sol,html.nav-pill .menu{pointer-events:auto}
html.nav-pill .hd .brand,html.nav-pill .hd .nav,html.nav-pill .hd .hd-cta,html.nav-pill .hd .menu-btn{position:relative;z-index:1}

/* The capsule's one background layer. Its box moves; nothing inside it does. */
html.nav-pill .np-cap{position:absolute;z-index:0;left:0;top:0;width:100%;height:64px;border-radius:999px;
  background:var(--np-glass);-webkit-backdrop-filter:var(--np-blur);backdrop-filter:var(--np-blur);
  box-shadow:inset 0 0 0 1px var(--np-line),var(--np-lift);opacity:0;pointer-events:none;
  transition:left var(--np-dur) var(--np-ease),top var(--np-dur) var(--np-ease),width var(--np-dur) var(--np-ease),height var(--np-dur) var(--np-ease),opacity .12s ease-out}   /* the fill lands in 120 ms so a fast flick never shows the page through it (review, 26 Nov) */

/* ---------------------------------------------------------------- desktop, above 900 px */
@media (min-width:901px){
  html.nav-pill .hd{--np-pad:14px;--np-g:40px;--np-padl:20px;--np-padr:8px}
  /* Links get a pill box for the shared highlight. Padding 14 + gap 2 keeps the old 30 px between words, and the
     negative margin keeps every word where it sat. */
  html.nav-pill .nav{gap:2px;margin-inline:calc(var(--np-pad) * -1)}
  html.nav-pill .nav>a,html.nav-pill .nav-sol{position:relative;z-index:1;display:inline-flex;align-items:center;height:36px;padding:0 var(--np-pad);border-radius:999px;line-height:24px;white-space:nowrap}   /* 24 px line, as before: the words sit on the same pixel row */
  html.nav-pill .nav>a.np-lit,html.nav-pill .nav-sol.np-lit{color:#fff}
  html.nav-pill .nav-sol svg{transition:rotate .32s var(--np-ease)}

  /* Gathered: the items slide in on `translate` (the press dip owns `scale`, so they never fight) and sit 6 px lower,
     centred in a 56 px capsule 10 px from the top (64 px bar centre 32 -> capsule centre 38). */
  html.nav-pill .hd .brand,html.nav-pill .hd .nav{transition:translate var(--np-dur) var(--np-ease)}
  html.nav-pill .hd .hd-cta{transition:translate var(--np-dur) var(--np-ease),transform .16s var(--ease-out),background-color .2s var(--ease-out)}
  html.nav-pill .hd.scrolled .brand{translate:var(--np-bx,0px) 6px}
  html.nav-pill .hd.scrolled .nav{translate:var(--np-nx,0px) 6px}
  html.nav-pill .hd.scrolled .hd-cta{translate:var(--np-cx,0px) 6px}
  html.nav-pill .hd.scrolled .np-cap{left:var(--np-capx,0px);top:10px;width:var(--np-capw,100%);height:56px;opacity:1;pointer-events:auto}

  /* One highlight for all five items: it glides to the item under the pointer (or keyboard focus) and fades out when
     both leave. While Solutions is open it rests on Solutions. */
  html.nav-pill .np-hl{position:absolute;z-index:0;left:0;top:50%;width:var(--np-hlw,0px);height:36px;margin-top:-18px;translate:var(--np-hlx,0px) 0;border-radius:999px;background:rgba(255,255,255,.08);opacity:0;pointer-events:none;
    transition:translate .24s var(--ease-out),width .24s var(--ease-out),opacity .2s ease}
  html.nav-pill .np-hl.is-on{opacity:1}
  html.nav-pill .np-hl.is-jump{transition:opacity .2s ease}

  /* Solutions: a rounded panel 8 px under the bar, as wide as the capsule and centred under it, so the two read as one
     object. Same place open at the top (64 + 8) or gathered (10 + 56 + 8). */
  html.nav-pill .sol{position:absolute;inset:auto;top:72px;left:50%;z-index:1;width:var(--np-solw,min(1120px,calc(100vw - 40px)));margin-left:calc(var(--np-solw,min(1120px,calc(100vw - 40px))) / -2);
    max-height:calc(100vh - 92px);overflow:auto;overscroll-behavior:contain;border:0;border-radius:24px;background:var(--np-panel);
    box-shadow:inset 0 0 0 1px var(--np-line),0 34px 70px -26px rgba(0,0,0,.75),0 8px 22px -8px rgba(0,0,0,.45);
    transform-origin:50% 0;transition:top var(--np-dur) var(--np-ease),opacity .15s ease,display .15s allow-discrete}
  html.nav-pill .hd.scrolled .sol{top:74px}
  html.nav-pill .sol[hidden]{display:none;opacity:0;pointer-events:none}
  /* "All 10 services" sits at the foot of the By trade column, level with the last By job row, instead of adding a row
     under all three: the panel is 70 px shorter and has no empty strip. Column 2 starts after padding + 1.2 of 3.15 fr + gap. */
  html.nav-pill .sol{--sp:26px;--sg:30px;--spb:15px}   /* bottom 15 + the last row's own 11 = 26 under the text, as at the top */
  html.nav-pill .sol-in{gap:var(--sg);max-width:none;padding:22px var(--sp) var(--spb)}
  html.nav-pill .sol-feat img{border-radius:14px}
  html.nav-pill .sol-all{position:absolute;left:calc(var(--sp) + (100% - 2 * var(--sp) - 2 * var(--sg)) * 1.2 / 3.15 + var(--sg));bottom:calc(var(--spb) + 8px);margin:0}
  html.nav-pill .menu,html.nav-pill .np-scrim{display:none}
}
/* 901 to 1023 px: the bar must hold all five words on one line (the old one wrapped "How we work" to 3 lines at 901). */
@media (min-width:901px) and (max-width:1023px){
  html.nav-pill .hd{--np-pad:11px;--np-g:28px;--np-padl:18px}
  html.nav-pill .hd-in{gap:28px}
  html.nav-pill .sol{--sp:20px;--sg:22px;--spb:12px}
}

/* ---------------------------------------------------------------- phones and tablets, 900 px and under */
@media (max-width:900px){
  /* The capsule is there from the top: 10 px in from each side, 52 px tall, brand left, button and menu right. */
  html.nav-pill .hd-in{height:52px;margin:10px 10px 0;padding:0 8px 0 16px;gap:8px}
  html.nav-pill .np-cap{inset:0;width:auto;height:auto;opacity:1;pointer-events:auto;transition:none}
  html.nav-pill .hd-cta{height:36px;padding:0 14px;font-size:14px}
  html.nav-pill .menu-btn{flex:none;width:36px;height:36px;border-radius:999px;background:rgba(255,255,255,.07);transition:background-color .2s ease}
  html.nav-pill .menu-btn[aria-expanded="true"]{background:rgba(255,255,255,.13)}
  html.nav-pill .menu-btn i{width:16px}
  /* The site's X only ever turned one line: its first child is the "Menu" label, so i:first-child never matched. */
  html.nav-pill .menu-btn[aria-expanded="true"] i:first-of-type{translate:0 3.3px;rotate:45deg}

  /* The menu: a rounded sheet 8 px under the capsule (10 + 52 + 8), scrolling inside itself if a phone is short. */
  html.nav-pill .menu{position:absolute;top:70px;left:10px;right:10px;z-index:1;max-height:calc(100vh - 80px);max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain;
    padding:4px 20px 18px;border:0;border-radius:24px;background:var(--np-panel);
    box-shadow:inset 0 0 0 1px var(--np-line),0 30px 60px -20px rgba(0,0,0,.8);
    transform-origin:50% 0;transition:opacity .15s ease,display .15s allow-discrete}
  html.nav-pill .menu[hidden]{display:none;opacity:0;pointer-events:none}
  html.nav-pill .menu a{padding:13px 0}
  html.nav-pill .menu a.menu-sub{padding:10px 0}
  html.nav-pill .menu>a:nth-last-child(2){border-bottom:0}
  /* Its last line, "Discuss your project", is the same white pill as the bar's button. */
  html.nav-pill .menu>a:last-child{display:flex;align-items:center;justify-content:center;height:48px;margin-top:10px;padding:0 20px;border:0;border-radius:999px;background:#f4f4f5;color:#050506;font-size:16px}
  html.nav-pill .menu .ntf-snd-row{padding:13px 0}

  /* Tablets: a 420 px sheet under the menu button rather than a 750 px slab. */
  @media (min-width:600px){html.nav-pill .menu{left:auto;width:420px}}
  /* Behind the sheet: the page dims, and a tap there closes the menu. */
  html.nav-pill .np-scrim{position:fixed;inset:0;z-index:0;background:rgba(3,3,4,.62);opacity:0;pointer-events:none;touch-action:none;transition:opacity .2s ease}
  html.nav-pill .hd.open .np-scrim{opacity:1;pointer-events:auto}
}
/* Narrow phones: the brand, "Discuss your project" and the menu share 370 px (390 wide) or 340 px (360 wide). Nothing
   is cut and nothing ends in "...": the button's type steps down and, under 390, the brand by 2 px. */
@media (max-width:420px){
  html.nav-pill .hd-in{padding-left:14px;gap:6px}
  html.nav-pill .hd-cta{padding:0 13px;font-size:13.5px}
}
@media (max-width:389px){
  html.nav-pill .hd-in{gap:4px}
  html.nav-pill .hd .brand{gap:7px}
  html.nav-pill .hd .brand-nine{width:17px;height:21px}
  html.nav-pill .hd .wordmark{font-size:19px}
  html.nav-pill .hd-cta{padding:0 11px;font-size:13px}
}

/* Keyboard focus: the site's ring, shaped to the pills. */
html.nav-pill .hd :is(.nav>a,.nav-sol,.hd-cta,.menu-btn,.menu>a:last-child):focus-visible{outline:2px solid #7d9bff;outline-offset:2px;border-radius:999px}
html.nav-pill .hd .nav>a:focus-visible,html.nav-pill .hd .nav-sol:focus-visible{color:#fff}

/* Set-up and resize: no transitions while n1.js places things. */
html.nav-pill.np-init .hd,html.nav-pill.np-init .hd *{transition:none!important}

/* Reduced motion (and ?still): nothing moves. States change at once; the capsule and the highlight fade in 150 ms. */
html.nav-pill.np-calm .hd .brand,html.nav-pill.np-calm .hd .nav,html.nav-pill.np-calm .hd .hd-cta,html.nav-pill.np-calm .nav-sol svg,html.nav-pill.np-calm .menu-btn i,html.nav-pill.np-calm .sol{transition:none}
html.nav-pill.np-calm .np-cap,html.nav-pill.np-calm .np-hl,html.nav-pill.np-calm .np-scrim{transition:opacity .15s ease}
@media (prefers-reduced-motion:reduce){
  html.nav-pill .hd .brand,html.nav-pill .hd .nav,html.nav-pill .hd .hd-cta,html.nav-pill .nav-sol svg,html.nav-pill .menu-btn i,html.nav-pill .sol{transition:none}
  html.nav-pill .np-cap,html.nav-pill .np-hl,html.nav-pill .np-scrim{transition:opacity .15s ease}
}
/* Review fixes folded in with the pick (26 Nov 2026). */
@media (max-width:900px){
  /* The phone menu ends on its own "Discuss your project" pill, so the bar's one steps aside while the menu is open. */
  html.nav-pill .hd.open .hd-cta{visibility:hidden}
  /* Scrolled, the page no longer shows in the 10 px above the capsule: the ground fades back in over 72 px. */
  html.nav-pill .hd.scrolled::before{content:"";position:absolute;left:0;right:0;top:0;height:72px;background:linear-gradient(var(--ground) 10px,rgba(5,5,6,0));pointer-events:none}
}
/* 8 px, not 4, between "Discuss your project" and the menu button on small phones. */
@media (max-width:389px){html.nav-pill .hd-in{gap:8px}}

/* hero-apps:start */
/* The three hero apps after the assistant (26 Nov 2026), built in site/_lab/hero/ and copied here by
   checks/hero-20261126/integrate-apps.mjs. Each block is scoped under its window, .wx-<key>. */
/* Hero slide "ops", 26 Nov 2026: Fieldstone Projects' Operations app. A CRM pipeline board over an ERP strip, with
   Kara's client portal popping over the bottom-right corner. Same frame, greys and type as the Assistant window, so the
   four slides read as one family; the slide's pink (#e0457b) appears inside only as small accents (the lifted card's
   ring and the portal's avatar). Every selector sits under .wx-ops. His rules: no text under 12px, pills and buttons
   fully rounded, cards 8 to 12px corners, and on phones every word shows (wraps, never "…", never spills sideways).

   Layout follows the width the main panel actually gets (container queries), because the same window sits beside a
   sidebar on laptops and alone on phones:
     700px and up   four columns, the ERP strip under the first three, the portal's corner under Scheduled
     520 to 699px   three columns (Quoted, Won, Scheduled), the strip under the first two
     under 520px    two columns (Quoted, Won) with a "+1 more" line each, the parts order and the portal side by side
   and a short window (540px tall, every viewport under 1174px) drops the view toolbar and tightens the cards. */

.wx-ops{--wx-pink:#e0457b;--wx-ok:#4ade80;--wx-ok-ink:#8fe6b4;--wx-hair:#2a2a2a;--wx-card:#212121}

/* ---------------------------------------------------------------- shared window parts (sizes: dark.css, "one family") */
.wx-ops .wx-ops-sync{gap:7px}
.wx-ops .wx-ops-sync img{width:14px;height:14px;flex:none}
.wx-ops .wx-ops-sync b{font-weight:600}
/* Client portals: name, job, then a one-line status. They wrap rather than cut, as on the phone rule. */
.wx-ops .ws li{align-items:start}
.wx-ops .ws .av{margin-top:1px;letter-spacing:0}
.wx-ops .ws strong,.wx-ops .ws em{overflow:visible;white-space:normal;text-overflow:clip}
.wx-ops .ws strong{line-height:18px}
.wx-ops .ws em{line-height:16px}
.wx-ops-st{display:grid;overflow:hidden;margin-top:2px;font-size:12px;line-height:16px;color:#c2c2c2}
.wx-ops-st>span{grid-area:1/1;display:flex;align-items:center;gap:6px}
.wx-ops-dot{flex:none;width:6px;height:6px;border-radius:50%;background:var(--wx-ok)}
.wx-ops-dot.is-wait{background:#f5a623}

/* ---------------------------------------------------------------- the main panel */
.wx-ops .win-main{container:wxmain/inline-size}
.wx-ops-body{position:relative;flex:1 1 0;min-height:0;container:wxbody/size}
.wx-ops-in{position:absolute;inset:0;display:flex;flex-direction:column;gap:12px;padding:0 14px 14px}

/* Anything that changes value in place rolls: the old value rises out through the mask as the new one rises in. */
.wx-ops-roll{display:inline-grid;overflow:hidden;vertical-align:top}
.wx-ops-roll>*{grid-area:1/1}
.wx-ops-nw{white-space:nowrap}   /* "PO-118" and "fit-out" never break at the hyphen, and "arriving Fri" or "to supplier" never leave one word alone */

/* View toolbar, as a real board has one */
.wx-ops-tools{display:flex;flex:none;align-items:center;gap:8px}
.wx-ops-seg{display:inline-flex;padding:2px;border-radius:999px;background:#1f1f1f;box-shadow:inset 0 0 0 1px #2c2c2c}
.wx-ops-seg b{display:grid;place-items:center;height:24px;padding:0 12px;border-radius:999px;font-size:12.5px;font-weight:500;color:#9a9a9a}
.wx-ops-seg b.on{background:#2e2e2e;color:#f5f5f5}
.wx-ops-own{display:inline-flex;align-items:center;gap:6px;height:28px;margin-left:auto;padding:0 10px 0 13px;border-radius:999px;box-shadow:inset 0 0 0 1px #2c2c2c;font-size:12.5px;font-weight:500;color:#c2c2c2;white-space:nowrap}
.wx-ops-own svg{width:13px;height:13px;color:#8e8e8e}
.wx-ops-add{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 13px 0 10px;border-radius:999px;background:#2e2e2e;color:#f5f5f5;font-size:12.5px;font-weight:600;white-space:nowrap}   /* filled but quiet: the board's job reads first */
.wx-ops-add svg{width:14px;height:14px}

/* The pipeline board */
.wx-ops-board{display:grid;flex:1 1 0;min-height:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:start}
.wx-ops-col{display:flex;flex-direction:column;gap:8px;min-width:0}
.wx-ops-colh{display:flex;align-items:center;gap:8px;height:24px;padding:0 2px;font-size:13px;line-height:18px;color:#ededed}
.wx-ops-colh b{font-weight:600}
.wx-ops-n{min-width:22px;height:20px;padding:0 7px;border-radius:999px;background:#262626;font-size:12px;font-weight:600;line-height:20px;text-align:center;font-variant-numeric:tabular-nums;color:#c2c2c2}
.wx-ops-list{display:flex;flex-direction:column;gap:8px}
.wx-ops-card{position:relative;padding:10px 11px 10px;border:1px solid #2b2b2b;border-radius:10px;background:var(--wx-card)}
.wx-ops-cust{display:flex;align-items:flex-start;gap:6px;font-size:13px;font-weight:600;line-height:18px;color:#f5f5f5}
.wx-ops-cust .av{width:24px;height:24px;margin:-3px -2px 0 auto;font-size:12px;letter-spacing:0}
.wx-ops-job{margin-top:1px;font-size:12.5px;line-height:17px;color:#a8a8a8}
.wx-ops-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:8px}
.wx-ops-val{font-size:13px;font-weight:600;line-height:20px;font-variant-numeric:tabular-nums;color:#ededed}
.wx-ops-tag{display:inline-grid;overflow:hidden;height:20px;border-radius:999px;font-size:12px;font-weight:500;line-height:20px;white-space:nowrap}
.wx-ops-tag>span{grid-area:1/1;padding:0 8px;background:#2c2c2c;color:#bdbdbd;text-align:center}
.wx-ops-tag>.is-ok{background:rgba(74,222,128,.14);color:var(--wx-ok-ink)}

/* The ERP strip: three facts, lined up under the first three columns, so the corner under Scheduled is left for the portal */
.wx-ops-foot{display:grid;flex:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.wx-ops-erp{display:grid;grid-column:1/4;grid-template-columns:subgrid;border:1px solid var(--wx-hair);border-radius:12px;background:#1d1d1d}
.wx-ops-fact{position:relative;min-width:0;padding:10px 11px 11px}
.wx-ops-fact+.wx-ops-fact::before{content:"";position:absolute;left:-6px;top:12px;bottom:12px;width:1px;background:var(--wx-hair)}
.wx-ops-fl{font-size:12px;line-height:16px;color:#8e8e8e}
.wx-ops-fv{margin-top:2px;font-size:15px;font-weight:600;line-height:20px;font-variant-numeric:tabular-nums;color:#f5f5f5}
.wx-ops-fd{margin-top:3px;font-size:12px;line-height:16px;color:#c2c2c2}
.wx-ops-fd.wx-ops-roll{display:grid;min-height:32px}
.wx-ops-fd>span{display:block}
.wx-ops-ic{display:inline-block;width:14px;height:14px;margin:0 5px 0 -1px;vertical-align:-3px;color:#8e8e8e}
.wx-ops-ic.wx-ops-tick{color:var(--wx-ok)}
.wx-ops-tick path{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1}

/* Kara's client portal: what she sees, popped over the corner of the board */
.wx-ops-pslot{position:relative;grid-column:4;min-width:0}
.wx-ops-portal{position:absolute;right:0;bottom:0;z-index:3;width:100%;padding:12px 12px 13px;border:1px solid #343434;border-radius:12px;background:#242424;box-shadow:0 28px 52px -16px rgba(0,0,0,.85),0 10px 22px -12px rgba(0,0,0,.6);transform-origin:100% 100%}
.wx-ops-ph{display:flex;align-items:center;gap:9px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #313131}
.wx-ops .wx-ops-ph .av{width:28px;height:28px;background:var(--wx-pink);color:#fff;font-size:12px;letter-spacing:0}
.wx-ops-ph span{min-width:0}
.wx-ops-ph strong{display:block;font-size:13px;font-weight:600;line-height:18px;color:#f5f5f5}
.wx-ops-ph em{display:block;font-size:12px;font-style:normal;line-height:16px;color:#a8a8a8}
.wx-ops-pl{display:flex;flex-direction:column;gap:6px}
.wx-ops-pl li{display:flex;align-items:center;gap:8px;font-size:12.5px;line-height:18px;color:#e8e8e8}
.wx-ops-pl .wx-ops-tick{flex:none;width:15px;height:15px;color:var(--wx-ok)}

/* ---------------------------------------------------------------- narrower main panels */
/* every window under 1174px wide is 540px tall: the sidebar tightens a little so its foot keeps clear room */
@media (max-width:1173px){
  .wx-ops .ws-nav{margin-bottom:16px}
  .wx-ops .ws li{padding-top:6px;padding-bottom:6px}
}
@container wxmain (max-width:440px){.wx-ops .wx-ops-sync .wx-ops-wide{display:none}}   /* the Xero mark says "with Xero" */
@media (max-width:420px){.wx-ops .wb-find .wx-ops-wide{display:none}}

@container wxbody (max-width:699px){
  .wx-ops-board,.wx-ops-foot{grid-template-columns:repeat(3,minmax(0,1fr))}
  .wx-ops-col[data-stage="new"]{display:none}
  /* the strip has two columns' width here: the parts order keeps the room it needs, the other two show label and value */
  .wx-ops-erp{grid-column:1/3;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,1fr);column-gap:10px}
  .wx-ops-fact:not([data-fact="stock"]) .wx-ops-fd{display:none}
  .wx-ops-pslot{grid-column:3}
}
@container wxbody (max-width:519px){
  .wx-ops-in{gap:10px;padding:0 10px 10px}
  .wx-ops-tools{display:none}
  .wx-ops-board,.wx-ops-foot{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .wx-ops-col[data-stage="sched"]{display:none}
  /* two cards a column: the oldest in Quoted and in Won sit out of view, and the overflow line real boards use says
     so, so each count still adds up. Every list hides exactly one card at every moment, the move included. */
  .wx-ops-list>.wx-ops-card:first-child{display:none}
  .wx-ops-list::after{content:'+1 more';font-size:12px;line-height:16px;color:#8e8e8e;padding:0 2px}
  .wx-ops-card{padding:9px 9px 9px 10px}
  .wx-ops-foot{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}   /* the portal gets a little more, so its lines stay whole */
  .wx-ops-erp{grid-column:1;grid-template-columns:minmax(0,1fr)}
  .wx-ops-fact:not([data-fact="stock"]){display:none}
  .wx-ops-fact::before{display:none}
  .wx-ops-fact{padding:9px 9px 10px}
  .wx-ops-fd.wx-ops-roll{min-height:48px}
  .wx-ops-fd .wx-ops-ic{width:13px;height:13px;margin-right:4px}
  .wx-ops-pslot{grid-column:2}
  .wx-ops-portal{position:relative;padding:9px 9px 10px}
  .wx-ops-ph{margin-bottom:8px;padding-bottom:8px}
  .wx-ops .wx-ops-ph .av{display:none}
  .wx-ops-pl{gap:5px}
  .wx-ops-pl li{align-items:flex-start;gap:6px;font-size:12px;line-height:16px}
  .wx-ops-pl .wx-ops-tick{width:14px;height:14px;margin-top:1px}
}
/* phones: no tags, and the owner moves down beside the value, so names keep one line. Kara's tag stays, because its
   roll to Approved is the run's first beat; her value line wraps it onto a line of its own, clear of the initials. */
@container wxbody (max-width:439px){
  .wx-ops-tag{display:none}
  .wx-ops-card[data-wx="kara"] .wx-ops-tag{display:inline-grid}
  .wx-ops-card[data-wx="kara"] .wx-ops-meta{padding-right:28px}
  .wx-ops-cust .av{position:absolute;right:8px;bottom:8px;margin:0}
  /* that line costs Kara's card 24px, so her portal drops its job line (two lines here; her card above names the job) */
  .wx-ops-ph em{display:none}
}
/* a tall window (the 656px one on a 1440 screen) gives the cards a little more air */
@container wxbody (min-height:520px) and (min-width:700px){
  .wx-ops-list{gap:10px}
  .wx-ops-card{padding:12px 12px 11px}
  .wx-ops-job{margin-top:2px}
  .wx-ops-meta{margin-top:10px}
}
/* a shorter window tightens the cards, and the shortest (540px, every screen under 1174px) drops the toolbar, so three
   cards always fit in Won with room to spare */
@container wxbody (max-height:500px){
  .wx-ops-in{gap:10px}
  .wx-ops-list,.wx-ops-col{gap:6px}
  .wx-ops-card{padding-top:8px;padding-bottom:8px}
  .wx-ops-meta{margin-top:6px}
}
@container wxbody (max-height:480px){.wx-ops-tools{display:none}}

/* Growth: the brand and growth dashboard, the hero's third app (26 Nov 2026). It shares the assistant's frame (dark.css,
   "The window"): the same title bar, sidebar and inset main panel, so the four apps read as one family. Everything here
   is scoped to .wx-growth and its own classes start wx-growth-. The slide's green (#14a37a) is the stage; inside the
   window it marks only the data: the bars, the revenue line, the deltas and the live light. */

.wx-growth{--wg-line:#2cc392;--wg-ink:#86e3bf;--wg-soft:rgba(20,163,122,.2);--wg-bar:rgba(20,163,122,.4);--wg-card:#202020;--wg-edge:#2a2a2a}

/* The owner's floor (no text under 12px) is held for all four windows in dark.css, "one family". */

/* Sidebar: each channel carries a small mark where the assistant has initials. All five channels stay listed at
   every width (dark.css hides a fifth business below 1200px); the rows tighten instead, so the label still fits. */
.wx-growth .ws .av{color:#cfcfcf}
.wx-growth .ws .av svg{width:13px;height:13px}
@media (max-width:1200px){
  .wx-growth .ws li:nth-child(5){display:grid}
  .wx-growth .ws-brand{margin-bottom:10px}
  .wx-growth .ws-nav{margin-bottom:14px}
  .wx-growth .ws-nav li{height:30px}
  .wx-growth .ws li{padding:5px 10px}
  .wx-growth .ws strong,.wx-growth .ws em{line-height:1.45}
}

/* Status: syncing while the numbers load, then live. The label rolls inside the pill. */
.wx-growth .chip{gap:4px}   /* with the light's 2px inset: the same 6px dot and 6px gap as the assistant's "Up to date" */
.wx-growth .chip .wx-growth-led{display:block;flex:none;width:10px;height:10px;margin-left:-2px;border-radius:50%;background:radial-gradient(circle,#4ade80 0 3px,transparent 3.5px);animation:none}
.wx-growth .chip.is-sync .wx-growth-led{background:none;box-shadow:inset 0 0 0 1.5px #5a5a5a;border-top:1.5px solid #d6d6d6;animation:wx-growth-spin .8s linear infinite}
@keyframes wx-growth-spin{to{rotate:1turn}}
.wx-growth-roll{position:relative;display:block;overflow:hidden;line-height:18px}
.wx-growth-roll b{display:block;width:max-content;font-weight:600;white-space:nowrap}   /* max-content: each label measures its own words, whatever width the pill has at that moment */
.wx-growth-was{position:absolute;left:0;top:0;translate:0 -110%}

/* ---------------------------------------------------------------- the dashboard */
.wx-growth .win-main{container:wx-growth/inline-size}
.wx-growth-body{flex:1;min-height:0;display:grid;grid-template:"leads rev" minmax(0,1fr) "brand brand" auto/minmax(0,1fr) minmax(0,1.32fr);gap:12px;padding:0 14px 14px}
.wx-growth-card{display:flex;flex-direction:column;min-width:0;min-height:0;padding:14px 16px 16px;border:1px solid var(--wg-edge);border-radius:12px;background:var(--wg-card)}
.wx-growth-leads{grid-area:leads}
.wx-growth-rev{grid-area:rev}
.wx-growth-brand{grid-area:brand;display:grid;gap:8px;min-width:0}

.wx-growth-head{display:grid;grid-template-columns:minmax(0,1fr);row-gap:2px}
.wx-growth-title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;line-height:20px;color:var(--wt2)}
.wx-growth-title svg{width:14px;height:14px;flex:none;margin-left:auto;color:#6b6b6b}
.wx-growth-kpi{display:flex;align-items:center;gap:9px;margin-top:4px}
.wx-growth-num{font-size:24px;font-weight:600;line-height:1.2;letter-spacing:-.02em;color:var(--wt1);font-variant-numeric:tabular-nums}
.wx-growth-delta{display:inline-flex;flex:none;align-items:center;height:20px;padding:0 7px;border-radius:999px;background:var(--wg-soft);color:var(--wg-ink);font-size:12px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.wx-growth-note{font-size:12px;line-height:18px;color:var(--wt3)}
/* The headline change pops out of its figure, and the comparison line from its own left edge. */
.wx-growth-kpi .wx-growth-delta,.wx-growth-leads .wx-growth-note{transform-origin:0 50%}

/* Leads by channel: the analytics list. Each channel's bar sits behind its name; the count stands to the right. The
   list spans the same height as the revenue chart beside it (same top, same bottom), its rows 34px where there is
   room and down to 24px in a short window. */
.wx-growth-bars{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:space-between;gap:6px;padding-top:18px}
.wx-growth-bars li{flex:0 1 34px;min-height:24px;display:grid;grid-template-columns:minmax(0,1fr) 26px;align-items:stretch;gap:10px}
.wx-growth-row{position:relative;display:flex;align-items:center;min-width:0;border-radius:8px;background:#262626}
.wx-growth-fill{position:absolute;left:0;top:0;bottom:0;width:calc(var(--v) * 100%);border-radius:8px;background:var(--wg-bar);transform-origin:0 50%}
.wx-growth-name{position:relative;padding:0 11px;font-size:13px;font-weight:500;line-height:1.2;color:#ededed;white-space:nowrap}
.wx-growth-n{align-self:center;font-size:13px;font-weight:600;text-align:right;color:var(--wt1);font-variant-numeric:tabular-nums}

/* Revenue: six months, the last three (the quarter) on a faint band, the latest month marked. The scale runs $50k to
   $90k (y = (90 - $k) x 5 in the 600 x 200 box): June $58.2k to November $68.9k, the quarter +10% on Jun to Aug. */
.wx-growth-chart{flex:1;min-height:0;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;column-gap:10px;row-gap:8px;margin-top:18px}
.wx-growth-y{grid-area:1/1;display:flex;flex-direction:column;justify-content:space-between;font-size:12px;line-height:14px;color:#737373;text-align:right;font-variant-numeric:tabular-nums}
.wx-growth-y span:first-child{translate:0 -50%}
.wx-growth-y span:last-child{translate:0 50%}
.wx-growth-plot{grid-area:1/2;position:relative;min-height:64px;background:linear-gradient(#2c2c2c,#2c2c2c) 0 0/100% 1px no-repeat,linear-gradient(#2c2c2c,#2c2c2c) 0 50%/100% 1px no-repeat,linear-gradient(#2c2c2c,#2c2c2c) 0 100%/100% 1px no-repeat}
.wx-growth-plot svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.wx-growth-q{fill:rgba(255,255,255,.028)}
.wx-growth-area{fill:url(#wx-growth-fade)}
.wx-growth-line{fill:none;stroke:var(--wg-line);stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.wx-growth-dot{position:absolute;left:91.667%;top:52.75%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:var(--wg-line);box-shadow:0 0 0 3px var(--wg-card),0 0 0 6px rgba(44,195,146,.2)}
.wx-growth-tag{position:absolute;left:91.667%;top:52.75%;translate:calc(-100% + 16px) calc(-100% - 13px);transform-origin:calc(100% - 16px) 100%;padding:4px 9px;border-radius:999px;background:#f5f5f5;color:#141414;font-size:12px;font-weight:600;line-height:14px;white-space:nowrap;font-variant-numeric:tabular-nums}
.wx-growth-x{grid-area:2/2;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));font-size:12px;line-height:14px;color:var(--wt3);text-align:center}
.wx-growth-x .q{color:var(--wt2)}

/* Brand: three tiles. Each lands on its own faint slot, so the row holds its shape while it waits, and pops out of the
   slot's bottom-left corner. */
.wx-growth-sh{font-size:13px;font-weight:500;line-height:18px;color:var(--wt2)}
.wx-growth-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.wx-growth-tiles>li{min-width:0;border-radius:12px;background:#1f1f1f;box-shadow:inset 0 0 0 1px #232323}
.wx-growth-tile{display:flex;flex-direction:column;height:100%;padding:12px 14px 13px;border:1px solid var(--wg-edge);border-radius:12px;background:var(--wg-card);transform-origin:0 100%}
.wx-growth-tt{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12.5px;font-weight:500;line-height:20px;color:var(--wt2)}
.wx-growth-tile b{margin-top:4px;font-size:22px;font-weight:600;line-height:1.2;letter-spacing:-.02em;color:var(--wt1);font-variant-numeric:tabular-nums}
.wx-growth-tile em{font-size:12px;font-style:normal;line-height:17px;color:var(--wt3);text-wrap:balance}
.wx-growth-short{display:none}

/* ---------------------------------------------------------------- tight: two columns, main under 560px wide
   (a 901px laptop window, a 640px tablet). The words get shorter so nothing has to wrap into the bars. */
@container wx-growth (max-width:560px){
  .wx-growth-more,.wx-growth-long{display:none}
  .wx-growth-short{display:inline}
}

/* ---------------------------------------------------------------- narrow: the phone layout (main under 470px wide)
   One column: leads, revenue, brand. Headings and their figures share a line, the chart drops its scale and month tag,
   and the tiles keep their words by wrapping, never by cutting. */
@container wx-growth (max-width:470px){
  .wx-growth-body{grid-template:"leads" auto "rev" minmax(0,1fr) "brand" auto/minmax(0,1fr);gap:8px;padding:0 10px 10px}
  .wx-growth-card{padding:10px 12px 11px}
  .wx-growth-head{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px}
  .wx-growth-title svg{display:none}
  .wx-growth-kpi{margin-top:0;gap:6px}
  .wx-growth-num{font-size:15px}
  .wx-growth-note{grid-column:1/-1}
  .wx-growth-leads .wx-growth-note{display:none}
  .wx-growth-bars{flex:none;justify-content:flex-start;gap:3px;padding-top:8px}
  .wx-growth-bars li{flex:none;height:22px;min-height:0;grid-template-columns:minmax(0,1fr) 22px;gap:8px}
  .wx-growth-row{border-radius:6px}
  .wx-growth-fill{border-radius:6px}
  .wx-growth-name,.wx-growth-n{font-size:12px}
  .wx-growth-name{padding:0 8px}
  .wx-growth-chart{grid-template-columns:minmax(0,1fr);margin-top:8px;row-gap:5px}
  .wx-growth-y,.wx-growth-tag{display:none}
  .wx-growth-plot{grid-area:1/1;min-height:44px}
  .wx-growth-x{grid-area:2/1}
  .wx-growth-sh{display:none}
  .wx-growth-tiles{gap:8px}
  .wx-growth-tiles>li,.wx-growth-tile{border-radius:10px}
  .wx-growth-tile{padding:8px 9px 9px}
  .wx-growth-tt{font-size:12px;line-height:16px}
  .wx-growth-tt .wx-growth-delta{display:none}
  .wx-growth-tile b{margin-top:2px;font-size:16px}
  .wx-growth-tile em{line-height:15px}
}

/* Hero app 4 · Custom software: a quote builder (26 Nov 2026).
   Fieldstone Projects, a building and maintenance firm, prices Kara Nguyen's switchboard job from its price book, sends it for her
   approval, and she accepts. Same frame as the assistant (dark.css, "The window"); amber, this slide's colour, is only an
   accent in here: the Draft dot and Kara's avatar. The markup is the finished state; quote.js runs the motion.
   The owner's rules: text 12px and up, pills and buttons fully round, cards 12px, nothing cut off or ending in "…" on a
   phone. Every selector sits under .wx-quote. The main panel is a size container, so the layout follows the panel's own
   width and height (880 x 604 at 1440 on the homepage, 290 x 490 on a 390 phone), not the viewport's. */

.wx-quote{--q-amber:#f39a1e;--q-amber-ink:#1c1303;--q-ok:#4ade80;--q-ok-ink:#8fe6b4;--q-sent:#8ab4ff;--q-card:#202020;--q-line:#2a2a2a}

/* ---------------------------------------------------------------- the shared frame (sizes: dark.css, "one family") */
.wx-quote .ws .av-on,.wx-quote .wx-quote-cust .av{background:var(--q-amber);color:var(--q-amber-ink)}
/* The status dot follows the quote: amber Draft, blue Sent, green Accepted. It never pulses: nothing here is working. */
.wx-quote .chip i{width:6px;height:6px;flex:none;border-radius:50%;background:var(--q-dot,var(--q-ok));animation:none}
.wx-quote .chip[data-st="draft"]{--q-dot:var(--q-amber)}
.wx-quote .chip[data-st="sent"]{--q-dot:var(--q-sent)}

/* A word that rolls over in place: the old word rises out of the mask as the new one rises in (quote.js roll). */
.wx-quote .wx-quote-roll{display:inline-grid;overflow:hidden;vertical-align:top}
.wx-quote .wx-quote-roll>b{grid-area:1/1;justify-self:start;font-weight:inherit}

/* ---------------------------------------------------------------- the quote */
.wx-quote .win-main{container:wxq/size}
.wx-quote .wx-quote-body{position:relative;display:flex;flex-direction:column;gap:16px;flex:1;min-height:0;width:100%;max-width:792px;margin:0 auto;padding:4px 28px 22px;font-size:13px;line-height:1.4}
.wx-quote .wx-quote-body>*{flex-shrink:0}   /* a block never squeezes: a panel too short shows its overflow, never a half-cut card */
.wx-quote .wx-quote-body em{font-style:normal}
.wx-quote .wx-quote-num{font-variant-numeric:tabular-nums}

/* Who it is for */
.wx-quote .wx-quote-cust{display:flex;align-items:center;gap:12px;padding:12px 18px 12px 12px;border:1px solid var(--q-line);border-radius:12px;background:var(--q-card)}
.wx-quote .wx-quote-cust .av{width:34px;height:34px;font-size:12.5px}
.wx-quote .wx-quote-who{min-width:0}
.wx-quote .wx-quote-who strong{display:block;font-size:14px;font-weight:600;line-height:1.3;color:var(--wt1)}
.wx-quote .wx-quote-who em{display:block;margin-top:1px;font-size:12.5px;line-height:1.35;color:var(--wt3)}
.wx-quote .wx-quote-meta{display:flex;gap:28px;margin:0 0 0 auto}
.wx-quote .wx-quote-meta dt{font-size:12px;line-height:1.3;color:var(--wt3)}
.wx-quote .wx-quote-meta dd{margin:2px 0 0;font-size:13px;font-weight:500;line-height:1.3;color:#ececec;white-space:nowrap}

/* The lines, picked from the price book. Each line is its own mask; its row rises into it. */
.wx-quote .wx-quote-lines{border:1px solid var(--q-line);border-radius:12px;background:var(--q-card);overflow:hidden}
.wx-quote .wx-quote-head,.wx-quote .wx-quote-row{display:grid;grid-template-columns:minmax(0,1fr) 52px 92px 100px;column-gap:14px;align-items:center;padding:0 17px 0 12px}
.wx-quote .wx-quote-head{height:36px;border-bottom:1px solid var(--q-line);font-size:12px;color:var(--wt3)}
.wx-quote .wx-quote-head>span:not(:first-child),.wx-quote .wx-quote-row>span{text-align:right}
.wx-quote .wx-quote-line{overflow:hidden}
.wx-quote .wx-quote-line+.wx-quote-line .wx-quote-row{border-top:1px solid #272727}
.wx-quote .wx-quote-row{min-height:54px;padding-block:7px}
.wx-quote .wx-quote-line.is-out .wx-quote-row{transform:translateY(105%)}
.wx-quote .wx-quote-item{display:flex;align-items:center;gap:12px;min-width:0}
.wx-quote .wx-quote-ic{display:grid;flex:none;place-items:center;width:30px;height:30px;border-radius:9px;background:#262626;box-shadow:inset 0 0 0 1px #303030;color:#c2c2c2}
.wx-quote .wx-quote-ic svg{width:15px;height:15px}
.wx-quote .wx-quote-name{min-width:0}
.wx-quote .wx-quote-name strong{display:block;font-size:13.5px;font-weight:500;line-height:1.3;color:var(--wt1)}
.wx-quote .wx-quote-name em{display:block;margin-top:1px;font-size:12px;line-height:1.35;color:var(--wt3)}
.wx-quote .wx-quote-name .wx-quote-calc{display:none}
.wx-quote .wx-quote-row>span{font-size:13px;color:var(--wt2);font-variant-numeric:tabular-nums;white-space:nowrap}
.wx-quote .wx-quote-row>.wx-quote-amt{font-size:13.5px;font-weight:500;color:var(--wt1)}
.wx-quote .wx-quote-add{display:flex;align-items:center;padding:9px 12px;border-top:1px solid var(--q-line)}
.wx-quote .wx-quote-pill{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 14px 0 6px;border-radius:999px;box-shadow:inset 0 0 0 1px #333;font-size:12.5px;font-weight:500;color:#d4d4d4;white-space:nowrap}
.wx-quote .wx-quote-pill svg{box-sizing:content-box;width:12px;height:12px;padding:3px;border-radius:50%;background:#2e2e2e;color:#ececec}

/* Totals, under the Amount column. GST is 10% of the subtotal. */
.wx-quote .wx-quote-sum{align-self:flex-end;width:272px;padding-right:18px}
.wx-quote .wx-quote-sum p{display:flex;align-items:center;justify-content:space-between;gap:16px;height:24px;font-size:13px;color:var(--wt2)}
.wx-quote .wx-quote-sum b{font-weight:500;color:var(--wt1)}
.wx-quote .wx-quote-sum .wx-quote-total{height:auto;margin-top:6px;padding-top:9px;border-top:1px solid var(--q-line);font-size:14px;font-weight:600;color:var(--wt1)}
.wx-quote .wx-quote-total b{font-size:19px;font-weight:650;letter-spacing:-.01em;line-height:1.3}

/* The action bar sits on the panel's bottom edge, as in a real editor. */
.wx-quote .wx-quote-act{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:auto}
.wx-quote .wx-quote-note{display:flex;align-items:center;gap:8px;min-width:0;margin-right:auto;font-size:12.5px;line-height:1.35;color:var(--wt3)}
.wx-quote .wx-quote-note img{width:16px;height:16px;flex:none}
.wx-quote .wx-quote-ghost{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:999px;box-shadow:inset 0 0 0 1px #333;font-size:13px;font-weight:600;color:#e8e8e8;white-space:nowrap}
/* Send for approval: both labels share one cell and the pill is their mask. Finished state: sent. .is-ready: not yet. */
.wx-quote .wx-quote-send{display:inline-grid;height:36px;padding:0 18px;overflow:hidden;border-radius:999px;background:rgba(74,222,128,.14);box-shadow:inset 0 0 0 1px rgba(74,222,128,.28);color:var(--q-ok-ink);font-size:13px;font-weight:600;white-space:nowrap}
.wx-quote .wx-quote-send>span{grid-area:1/1;display:flex;align-items:center;justify-content:center;gap:7px}
.wx-quote .wx-quote-send svg{width:15px;height:15px;flex:none}
.wx-quote .wx-quote-send-a{transform:translateY(-110%)}
.wx-quote .wx-quote-send.is-ready{background:#f5f5f5;box-shadow:inset 0 0 0 1px rgba(74,222,128,0);color:#141414}
.wx-quote .wx-quote-send.is-ready .wx-quote-send-a{transform:none}
.wx-quote .wx-quote-send.is-ready .wx-quote-send-b{transform:translateY(110%)}

/* Kara's answer: a notification in the free space left of the totals, above the action bar (bottom left, where a
   snackbar sits). It pops in with a slight overshoot from its own corner. On a panel 560px or narrower there is no free
   space, only the customer card, so there it is brief (review of 26 Nov): hidden at rest (the Accepted chip tells the
   end of the story), and quote.js pops it, holds it about a second and lifts it out through the top of the quote. */
.wx-quote .wx-quote-toast{position:absolute;left:28px;bottom:72px;z-index:2;display:flex;align-items:center;gap:12px;width:max-content;max-width:min(360px,calc(100% - 356px));padding:11px 12px 11px 11px;border:1px solid #353535;border-radius:12px;background:#262626;box-shadow:0 22px 44px -18px rgba(0,0,0,.9),0 2px 6px rgba(0,0,0,.28);transform-origin:26px 100%}
.wx-quote .wx-quote-toast.is-out{visibility:hidden}
.wx-quote .wx-quote-tick{display:grid;flex:none;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(74,222,128,.14);color:var(--q-ok)}
.wx-quote .wx-quote-tick svg{width:16px;height:16px}
.wx-quote .wx-quote-toast p{min-width:0}
.wx-quote .wx-quote-toast strong{display:block;font-size:13.5px;font-weight:600;line-height:1.3;color:var(--wt1)}
.wx-quote .wx-quote-toast em{display:block;margin-top:1px;font-size:12px;line-height:1.35;color:#a3a3a3}
.wx-quote .wx-quote-view{display:inline-flex;flex:none;align-items:center;height:28px;margin-left:6px;padding:0 12px;border-radius:999px;background:#333;font-size:12.5px;font-weight:600;color:#ececec}

/* ---------------------------------------------------------------- shorter panels (the roomy spacing needs 544px) */
@container wxq (max-height:560px){
  .wx-quote .wx-quote-body{gap:10px;padding-bottom:14px}
  .wx-quote .wx-quote-cust{padding-block:9px}
  .wx-quote .wx-quote-cust .av{width:30px;height:30px}
  .wx-quote .wx-quote-head{height:30px}
  .wx-quote .wx-quote-row{min-height:46px;padding-block:5px}
  .wx-quote .wx-quote-add{padding-block:6px}
  .wx-quote .wx-quote-sum p{height:22px}
  .wx-quote .wx-quote-sum .wx-quote-total{margin-top:4px;padding-top:6px}
  .wx-quote .wx-quote-toast{bottom:60px}
}

/* ---------------------------------------------------------------- narrower panels (measured: the toast with View is
   296px and must clear the totals; the note, Preview and Send need 532px of bar) */
@container wxq (max-width:651px){
  .wx-quote .wx-quote-view{display:none}
}
@container wxq (max-width:589px){
  .wx-quote .wx-quote-note{display:none}
}

/* ---------------------------------------------------------------- tablets and phones: one column, every word shown */
@container wxq (max-width:560px){
  .wx-quote .wx-quote-body{gap:8px;padding:4px 12px 12px;--q-brief:1}   /* quote.js reads the flag: Kara's note is brief here */
  .wx-quote .wx-quote-cust{padding:9px 12px 9px 10px}
  .wx-quote .wx-quote-head,.wx-quote .wx-quote-row{grid-template-columns:minmax(0,1fr) auto;column-gap:10px;padding:0 12px}
  .wx-quote .wx-quote-head>span:nth-child(2),.wx-quote .wx-quote-head>span:nth-child(3),.wx-quote .wx-quote-qty,.wx-quote .wx-quote-rate{display:none}
  .wx-quote .wx-quote-row{padding-block:6px}
  .wx-quote .wx-quote-ic{display:none}
  .wx-quote .wx-quote-name .wx-quote-desc{display:none}
  .wx-quote .wx-quote-name .wx-quote-calc{display:block}
  .wx-quote .wx-quote-add{padding:5px 10px}
  .wx-quote .wx-quote-pill{height:28px}
  .wx-quote .wx-quote-sum{align-self:stretch;width:auto;padding:0 13px 0 12px}
  .wx-quote .wx-quote-sum p{height:21px}
  .wx-quote .wx-quote-toast{left:auto;right:12px;top:4px;bottom:auto;max-width:calc(100% - 24px);transform-origin:100% 0}
  .wx-quote .wx-quote-toast:not(.is-live){display:none}   /* shown only while quote.js plays it, never over the card at rest */
}
/* phones (panel under 420px): the toast spans the column, Send spans the bar */
@container wxq (max-width:420px){
  .wx-quote .wx-quote-meta{display:none}
  .wx-quote .wx-quote-ghost{display:none}
  .wx-quote .wx-quote-send{flex:1}
  .wx-quote .wx-quote-toast{left:12px;width:auto;max-width:none;transform-origin:50% 0}
}
/* hero-apps:end */
