/* Raashi Lathiya — portfolio. Plain CSS, no framework.
   Braun direction, from Raashi's Claude Design canvas ("Homepage, Braun"), flattened on 2026-10-16 at Raashi's
   request: flat tone blocks, no bevels, wells, drop shadows, textures, graph paper or yellow. Green means on
   (after the ET 66); the red needle is the tuner's. One light theme; no purple. */
:root{
  color-scheme:light;
  --paper:#efede8;      /* ground */
  --sheet:#f8f7f3;      /* white lacquered steel */
  --card:#ffffff;
  --ink:#161616;
  --ink-2:#3a3d39;
  --muted:#57554f;
  --line:#d9d6ce;
  --accent:#0b5a43;     /* bottle green: on */
  --accent-soft:#dcebe2;
  --needle:#e2492b;     /* tuner needle */
  --on-accent:#ffffff;
  --ease:cubic-bezier(.45,0,.2,1);
  --font:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif;
  --display:var(--font);--text:var(--font);--mono:var(--font);
}
:root[data-font="jost"]{--font:'Jost','Futura','Century Gothic',system-ui,sans-serif}
:root[data-font="redhat"]{--font:'Red Hat Display',system-ui,-apple-system,'Segoe UI',sans-serif}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
img{max-width:100%}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:8px 12px;border-radius:8px;z-index:20}
.skip:focus{left:16px;color:#fff}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
html{-webkit-tap-highlight-color:transparent}
.key:active{background:#d8d5cd}.kw:active{background:rgba(22,22,22,.085)}.btn-green:active{background:#094a37}
a{color:#161616;text-decoration:none}
@media (hover:hover) and (pointer:fine){a:hover{color:#0b5a43}}
:focus-visible{outline:2px solid #0b5a43;outline-offset:3px;border-radius:10px}
.wrap{max-width:1280px;margin:0 auto;padding-left:max(32px,env(safe-area-inset-left,0px));padding-right:max(32px,env(safe-area-inset-right,0px))}
.nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding-top:24px;padding-bottom:24px}
.brand{display:inline-flex;align-items:center;gap:12px;font-size:19px;font-weight:600;letter-spacing:-.01em}
.brand-mark{width:28px;height:28px;border-radius:14px;background:#161616;display:inline-flex;align-items:center;justify-content:center}
.navlinks{display:flex;flex-wrap:wrap;gap:8px}
.key{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:22px;background:#e6e3dc;color:#161616;font-size:15px;font-weight:500;transition:background-color .2s ease}
@media (hover:hover) and (pointer:fine){.key:hover{background:#d8d5cd;color:#161616}}

.sk4{border-radius:22px;overflow:hidden}
/* The portrait fills the full height of the text column, inside the card's padding, with the dial open or closed
   (Raashi, 2026-10-19: full height, keeping the padding). */
.sk4-body{background:#f8f7f3;padding:52px 56px 56px;min-width:0}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,300px);gap:0 56px;align-items:stretch}
.hero-left{grid-column:1;grid-row:1;min-width:0}
.hero-right{grid-column:2;grid-row:1;position:relative}
/* The dial opens in its own row under the text, so the photo keeps its size and crop (Raashi, 2026-10-19), and is
   only as wide as the sentence above it. */
#tuner-fold{grid-column:1;grid-row:2;max-width:600px}
.lede{margin:24px 0 0;max-width:560px;font-size:21px;line-height:1.45;color:#3a3d39}
.story{margin:20px 0 0;max-width:600px;font-size:18px;line-height:1.85}
.kw{appearance:none;border:0;font:inherit;background:rgba(22,22,22,.045);color:var(--ink);padding:0 7px 1px;margin:0 1px;border-radius:999px;cursor:pointer;line-height:1.5;transition:background-color .2s ease,color .2s ease}
@media (hover:hover) and (pointer:fine){.kw:hover{background:rgba(22,22,22,.085)}}

.window,.pane{position:absolute;inset:0;overflow:hidden;border-radius:14px}
.photo{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 30%}

.bento{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}
.tile{position:relative;border-radius:22px;min-width:0}
.face{background:#f8f7f3}
.panel{background:#e4e2dc}
.alu{background:#dfdfda}
.ink{background:#1e1e1c;color:#f2f0ea}

.t-habits{padding:36px 40px 40px}
.habit-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 40px}
.habit-list li{display:grid;gap:16px;align-content:start}
.dial{width:56px;height:56px;border-radius:28px;background:#efede8;display:flex;align-items:center;justify-content:center}
.ht{margin:6px 0 0;font-size:19px;font-weight:600;line-height:1.3}
.hd{margin:4px 0 0;font-size:16px;line-height:1.55;color:#2f322e}

.h2{font-size:clamp(32px,4vw,50px);font-weight:500;letter-spacing:-.02em;line-height:1.1;margin:0 0 28px}
/* Each project gets its own full-width row, image side alternating (Raashi, 2026-10-19: no card should look like
   part of another, and no row should pair projects, e.g. the two Intuit ones). Same image size on every row. */
.t-ms,.t-cw,.t-ch,.t-gen{grid-column:span 12;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:0 32px;align-items:center;padding:14px}
@media (max-width:860px){
  .t-ms,.t-cw,.t-ch,.t-gen{grid-template-columns:minmax(0,1fr)}
  .t-cw .paper,.t-gen .paper{order:0}
}
.tile:has(.card-link:focus-visible){outline:2px solid #0b5a43;outline-offset:4px}
.card-link:focus-visible{outline:none}
.paper{border-radius:12px;background:#ecebe6;aspect-ratio:3/2;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(22,22,22,.05)}
.paper svg{display:block;width:100%;height:100%}
/* Each project's image speaks its own material (Raashi, 2026-10-17: the cards shouldn't look like one project) */
.t-ms .paper{background:#dcebe2}
.plate-sand{background:#ebe4d6}
.plate-genai{background:#eef0f3}   /* the cool grey of the GenAI Studio app itself; type in the plate is Inter, as in the design */
.plate-chetak{position:relative;background:#e4e8eb}
.paper .plate-photo{display:block;width:100%;height:100%}
/* Chetak: three of the audit's lenses as chips scattered around the scooter, off any shared line
   (Raashi, 2026-10-19: "abstract places around the scooter", not a row at the bottom) */
.plate-tags{position:absolute;inset:0;list-style:none;margin:0;padding:0;pointer-events:none}
.plate-tags li{position:absolute;display:inline-flex;align-items:center;gap:7px;padding:5px 12px 5px 8px;border-radius:999px;background:#ffffff;color:#161616;font-size:14px;font-weight:500;line-height:1.2;white-space:nowrap}
.paper .plate-tags svg{width:17px;height:17px;flex:none;fill:none;stroke:#0b5a43;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tag-1{left:13%;top:13%}
.tag-2{right:5%;top:33%}
.tag-3{left:40%;bottom:9%}
.ctext{padding:20px 12px 10px}
#work .ctext{padding:24px 28px}
.meta{margin:0;font-size:15px;color:#57554f}
.ctitle{margin:6px 0 8px;font-size:24px;font-weight:600;line-height:1.2;letter-spacing:-.01em}
#work .ctitle{font-size:clamp(26px,2.4vw,34px);font-weight:500;letter-spacing:-.02em}
.ckeys{margin:0 0 10px;font-size:15px;font-weight:500;line-height:1.4;color:var(--accent)}
.cdesc{margin:0;font-size:16px;line-height:1.6;color:#2a2d29}
#work .cdesc{font-size:17px}
.role{margin:12px 0 0;font-size:16px;line-height:1.5;color:#57554f}
.card-link{display:inline-flex;align-items:center;gap:12px;margin-top:18px;font-size:16px;font-weight:500}
.card-link::after{content:"";position:absolute;inset:0;border-radius:22px}
.go{flex:none;width:40px;height:40px;border-radius:20px;background:var(--accent-soft);color:var(--accent);display:inline-flex;align-items:center;justify-content:center;transition:background-color .2s ease,color .2s ease}
@media (hover:hover) and (pointer:fine){
.tile:has(.card-link:hover) .go,.next-link:hover .go{background:var(--accent);color:#fff}
.card-link:hover{color:#161616}}

.t-hello{grid-column:span 7;padding:44px 48px 48px}
.t-recog{grid-column:span 5;padding:40px 40px 44px}
.hello{margin:0;font-size:clamp(52px,6.5vw,96px);font-weight:500;letter-spacing:-.03em;line-height:1}
.email{margin:26px 0 0;font-size:clamp(22px,2.4vw,30px);font-weight:500;overflow-wrap:anywhere;user-select:all}
.pills{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.pills .key{min-height:48px;padding:0 22px;font-size:16px}
.recog-list{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-direction:column;gap:22px}
.recog-list li{display:grid;grid-template-columns:10px minmax(0,1fr);gap:14px}
.rdot{width:8px;height:8px;border-radius:4px;background:#0b5a43;margin-top:9px}
.rt{margin:0;font-size:18px;font-weight:500;line-height:1.4}
.rd{margin:2px 0 0;font-size:16px;line-height:1.5;color:#4a4e49}

.t-quote{grid-column:span 12;padding:56px 56px 52px;margin:0;display:flex;flex-direction:column;justify-content:center}
.quote-mark{display:block;width:40px;height:6px;border-radius:3px;background:#2fa85a;margin-bottom:28px}
.foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;padding-top:28px;padding-bottom:44px;font-size:15px;color:#57554f}

@media (max-width:1180px){
.t-hello,.t-recog{grid-column:span 12}}
@media (max-width:980px){
.hero-grid{grid-template-columns:minmax(0,1fr)}
.hero-left,.hero-right,#tuner-fold{grid-column:auto;grid-row:auto}
.hero-right{max-width:440px;aspect-ratio:4/5;margin-top:40px}
}
@media (max-width:520px){
.plate-tags li{font-size:12px;gap:5px;padding:3px 9px 3px 6px}
.paper .plate-tags svg{width:14px;height:14px}
.tag-3{left:35%;bottom:7%}
}
@media (max-width:760px){
.wrap{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.bento{gap:12px}
.sk4{border-radius:18px}
.sk4-body{padding:28px 20px 30px}
.t-habits{padding:28px 22px 30px}
.habit-list{grid-template-columns:minmax(0,1fr);gap:24px}
.habit-list li{grid-template-columns:50px minmax(0,1fr);gap:14px}
.dial{width:50px;height:50px}
#work .ctext{padding:20px 12px 10px}
.t-hello{padding:30px 22px 32px}
.t-recog{padding:28px 22px 32px}
.t-quote{padding:32px 22px 30px}
}

/* Hero hierarchy: the name leads, the line comes second (Raashi: "my name's not coming up front") */
.name{margin:0 0 0 -.06em;font-size:clamp(48px,6.4vw,96px);line-height:.95;font-weight:500;letter-spacing:-.035em}  /* optical: pulls the R's side bearing back to the text edge */
.role-line{margin:14px 0 0;font-size:18px;color:var(--muted)}
.statement{margin:32px 0 0 -.02em;max-width:18em;font-size:clamp(24px,2.4vw,34px);line-height:1.22;letter-spacing:-.015em;text-wrap:balance}
/* One language for "selected" in the sentence and on the dial: soft green, green text. Hover: a neutral tint. */
.kw[aria-pressed="true"],.kw[aria-pressed="true"]:hover{background:var(--accent-soft);color:var(--accent)}

/* The tuner: a radio dial. The needle sits at the left, on the same edge as the note below it; the scale
   slides so the picked keyword lands under the needle and heads the note (the note has no title of its own). */
.tuner-fold{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s var(--ease)}
.tuner-fold.open{grid-template-rows:1fr}
.tuner-fold-in{min-height:0;overflow:hidden}
.tuner-fold .tuner{opacity:0;transition:opacity .35s ease}
.tuner-fold.open .tuner{opacity:1}
.tuner{position:relative;margin-top:28px;background:var(--paper);border-radius:16px;padding:0 0 16px}
.strip{position:relative;height:68px;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 10px,#000 70%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 10px,#000 70%,transparent 100%)}
.track{position:absolute;left:0;top:0;z-index:1;display:flex;gap:22px;width:max-content;padding:22px 0 4px;
  transform:translateX(var(--tx,0px));transition:transform .8s var(--ease);
  background-image:repeating-linear-gradient(90deg,#cfccc4 0 1px,transparent 1px 10px);background-size:100% 9px;background-repeat:no-repeat;background-position:0 7px}
.track.instant{transition:none}
.st{position:relative;flex:none;appearance:none;border:0;background:transparent;font:inherit;font-size:15px;font-weight:500;color:#6b6862;min-height:44px;padding:0 14px;border-radius:22px;cursor:pointer;white-space:nowrap;transition:color .6s var(--ease),background-color .25s ease}
.st[aria-pressed="true"]{color:var(--ink);font-weight:600}
@media (hover:hover) and (pointer:fine){.st:not([aria-pressed="true"]):hover{color:var(--ink);background:rgba(22,22,22,.04)}}
.st.filler{pointer-events:none}
.needle{position:absolute;left:22px;top:5px;z-index:2;width:2px;height:16px;margin-left:-1px;border-radius:1px;background:var(--needle);opacity:.35;transition:opacity .4s ease}
.tuner.tuned .needle{opacity:1}
.needle{transform-origin:50% 0;transition:opacity .4s ease,transform .26s var(--ease)}
/* While the scale moves, the needle shrinks to exactly one tick (1px by 9px, from 7px down), travels as a
   tick, then grows back once the scale has landed (main.js removes .moving on the track's transitionend). No overshoot. */
.needle.moving{transform:translateY(2px) scale(.5,.5625);transition:opacity .4s ease,transform .16s var(--ease)}
.readout{position:relative;padding:0 22px 0;transition:opacity .25s ease}
.readout.fading{opacity:0}
.readout p{margin:0}
.readout-text{padding-right:40px;font-size:16px;line-height:1.6;color:var(--ink-2)}
.readout-seen{margin-top:6px!important;font-size:14px;color:var(--muted)}
.readout-seen a{text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:3px}
.readout-hint{font-size:15px;line-height:1.6;color:var(--muted)}
.readout-x{position:absolute;top:28px;right:12px;z-index:3;width:32px;height:32px;border:0;background:var(--paper);border-radius:16px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--muted)}
@media (hover:hover) and (pointer:fine){.readout-x:hover{color:var(--ink)}}
.readout-x[hidden]{display:none}
@media (hover:hover) and (pointer:fine){.readout-x:hover{background:#e2dfd8}}

/* "Now" tile */
.tile-title{margin:0;font-size:22px;font-weight:600}
.hd a{text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:3px}
.rt a{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:1.5px;text-underline-offset:4px}
.access{margin:22px 0 0;font-size:15px;color:var(--muted)}

/* Review-only typeface switcher (a slim bar above the nav) */
.font-review{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;padding:6px 16px;background:var(--ink);color:#fff;font-size:14px}
.font-review span{margin-right:6px;opacity:.7}
.font-review button{font-size:14px;color:#fff;background:transparent;border:0;border-radius:999px;padding:3px 12px;cursor:pointer}
.font-review [data-font="figtree"]{font-family:'Figtree',sans-serif}
.font-review [data-font="jost"]{font-family:'Jost',sans-serif}
.font-review [data-font="redhat"]{font-family:'Red Hat Display',sans-serif}
.font-review [aria-pressed="true"]{background:#fff;color:var(--ink)}
.font-review .review-sep{width:1px;height:16px;margin:0 10px;background:rgba(255,255,255,.3);opacity:1}

/* Password pages for the confidential case studies */
.locked{max-width:820px;margin:0 auto;padding:24px 32px 96px}
.back{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:16px;color:var(--muted)}
@media (hover:hover) and (pointer:fine){.back:hover{color:var(--accent)}}
.locked .meta{margin:24px 0 0}
.locked h1{margin:8px 0 0;font-size:clamp(40px,5vw,60px);line-height:1.05;font-weight:500;letter-spacing:-.02em}
.locked-hook{margin:18px 0 0;font-size:19px;line-height:1.6;color:#2a2d29;max-width:36em}
.lock-panel{margin-top:32px;border-radius:22px;background:var(--sheet);padding:36px 40px 40px}
.lock-panel h2{margin:0;font-size:26px;line-height:1.35;font-weight:500}
.lock-panel p{margin:10px 0 0;font-size:18px;line-height:1.6;color:#2a2d29}
.lock-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:24px}
.btn-green{display:inline-flex;align-items:center;gap:10px;min-height:50px;padding:0 24px;border-radius:25px;background:var(--accent);color:#fff;font-size:16px;font-weight:500}
@media (hover:hover) and (pointer:fine){.btn-green:hover{background:#094a37;color:#fff}}
.lock-email{font-size:16px;color:var(--muted);overflow-wrap:anywhere;user-select:all}
.lock-form{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:22px}
.lock-form label{font-size:16px;font-weight:500}
.lock-row{display:flex;flex-wrap:wrap;gap:10px}
.lock-row input{flex:1 1 220px;min-width:0;min-height:50px;padding:0 18px;border:1px solid #cfccc4;border-radius:25px;background:var(--card);font:inherit;font-size:16px;color:var(--ink)}
.lock-row input:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-color:var(--accent)}
.lock-row .btn-green{border:0;cursor:pointer;font:inherit;font-size:16px;font-weight:500}
.lock-row .btn-green:disabled{opacity:.7;cursor:progress}
.lock-error{margin:4px 0 0!important;font-size:15px!important;color:#a3321c!important}
.lock-form+.lock-ask{margin-top:28px!important;font-size:16px!important;color:var(--muted)!important}
@media (max-width:760px){.locked{padding:16px 16px 72px}.lock-panel{padding:26px 22px 28px}}

/* ---------- Case study pages (Braun) ----------
   Hero and a spec sheet on white lacquer; sections separated by space, not rules or numbers; figures on
   green engineering paper inside a white frame; tiles in the homepage's materials. */
.cs-hero{padding-top:8px;padding-bottom:24px}
.cs-hero .meta{margin:24px 0 0}
.cs-hero h1{margin:8px 0 0 -.04em;font-size:clamp(48px,7vw,96px);line-height:.95;font-weight:500;letter-spacing:-.035em}
.cs-hook{margin:20px 0 0;max-width:30em;font-size:clamp(20px,2vw,26px);line-height:1.35;color:var(--ink-2);text-wrap:pretty}
.draft-note{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;max-width:820px;margin:0 0 28px;padding:12px 16px;border-radius:14px;background:#e6e3dc;color:var(--ink-2);font-size:15px}
.draft-note b{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--ink)}
.draft-note b::before{content:"";width:10px;height:10px;border-radius:5px;background:var(--needle)}
mark.tbc{background:transparent;color:var(--muted);font-size:.82em;border:1px dashed #a8a49a;border-radius:6px;padding:0 6px;white-space:normal}

/* Spec sheet (the summary): a lacquered panel, label above value, no lines */
.cs-tldr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 32px;margin:36px 0 0;padding:32px 36px;border-radius:22px;background:var(--sheet)}
.cs-tldr .tb-cell{display:grid;align-content:start;gap:4px;padding:0;background:none;font-size:16px;line-height:1.5;min-width:0}
.cs-tldr .tb-2{grid-column:span 2}
.cs-tldr dt,.cs-tldr .tb-k{font-size:14px;color:var(--muted)}
.cs-tldr dd{margin:0}
.cs-tldr .tb-out dd{display:flex;gap:10px}
.cs-tldr .tb-out dd::before{content:"";flex:none;width:10px;height:10px;margin-top:7px;border-radius:5px;background:#2fa85a;box-shadow:0 0 0 3px #d4ead9}

/* Sections */
.cs-sec{padding-top:88px}
.cs-body{display:grid;gap:22px;max-width:1040px;--measure:43rem}   /* one text column: every block of text shares this width and the left edge; figures and tables run wider (Raashi, 2026-10-30: "check grids") */
.cs-body>*{margin:0;min-width:0}
.cs-body h2{font-size:clamp(30px,3.4vw,44px);font-weight:500;letter-spacing:-.02em;line-height:1.1;text-wrap:balance;max-width:22em}
.cs-body h3{font-size:20px;font-weight:600;line-height:1.3}
/* A sub-heading belongs to what follows it: more room above than below (Raashi, 2026-11-11: "spacing?", on a heading
   that sat as near the figure above as its own paragraph). The grid's 22px gap is added to both margins. */
.cs-body>h3{margin-top:22px}
.cs-body>h2+h3{margin-top:0}
.cs-body>h3+:is(p,ul,ol){margin-top:-12px}
.cs-body p,.cs-body li,.cs-body dd{max-width:var(--measure);text-wrap:pretty}
.cs-body>p:not(.cs-lead):not(.my-part):not(.draft-note){font-size:16px;line-height:1.65;color:var(--ink-2)}
.cs-body>p b{color:var(--ink)}
.cs-lead{font-size:clamp(20px,1.9vw,24px);line-height:1.45;color:var(--ink);max-width:var(--measure)!important}
.cs-list{display:grid;gap:18px;max-width:var(--measure)}
.cs-list>div{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}   /* label above its text, so the list keeps the column's edges */
.cs-list dt{font-weight:600}
.cs-list dd{margin:0;color:var(--ink-2);line-height:1.6}
.cs-steps{margin:0;padding:0 0 0 1.4em;display:grid;gap:12px;color:var(--ink-2);line-height:1.6}
.cs-steps li::marker{color:var(--accent);font-weight:600}
.cs-steps b,.cs-tiles b{color:var(--ink)}
.cs-tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cs-tiles li{max-width:none;padding:24px 26px;border-radius:22px;background:var(--sheet);color:var(--ink-2);line-height:1.55;display:grid;gap:6px;align-content:start}
.cs-tiles li:nth-child(4n+2),.cs-tiles li:nth-child(4n+3){background:#e4e2dc}
.cs-tiles li b{display:block;font-size:18px}
.cs-blocks{display:grid;gap:32px}
.cs-block{display:grid;gap:10px}
.cs-block>*{margin:0}
.cs-block p{color:var(--ink-2);line-height:1.65}
/* One run of text: the label is an inline block, so the bold keywords inside the sentence stay inline (as flex items
   they each became a block, with a gap before every full stop) */
.my-part{display:block;font-size:16px;line-height:1.6}
.my-part>span{display:inline-block;margin-right:10px;color:var(--muted)}

/* Figures: green engineering paper in a white frame (the homepage's project images) */
.fig{margin:8px 0 0;padding:10px;border-radius:22px;background:var(--card);
  --paper:#ffffff;--card:#ffffff;--line:#d3d0c8}
.fig-art{padding:clamp(14px,3vw,32px);border-radius:14px;background:#f1f0ec}
.fig-art svg{display:block;width:100%;height:auto}
.fig .narrow{display:none}
.fig figcaption{padding:14px 8px 6px;font-size:15px;line-height:1.5;color:var(--ink-2)}
.fig figcaption p{margin:0}
.fig-src{display:inline-block;font-size:13px;color:var(--muted)}   /* no left margin: when it wraps to its own line it starts level with the caption (Raashi, 2026-11-11: "alignment issue"); the space before it in the markup separates it mid-line */
.fig-split{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:10px 24px;align-items:start}
.fig-split figcaption{display:grid;gap:14px;padding:12px 12px 12px 0}
.fig-pins{list-style:none;margin:0;padding:0;display:grid;gap:10px;counter-reset:pin}
.fig-pins li{counter-increment:pin;position:relative;padding-left:32px;color:var(--ink-2);line-height:1.5}
/* the audit deck's own pins are black, so the legend matches them */
.fig-pins li::before{content:counter(pin);position:absolute;left:0;top:1px;display:grid;place-items:center;width:24px;height:24px;border-radius:12px;background:#161616;color:#fff;font-size:13px;font-weight:600}

/* Chetak's buyers, in the latest card language: white cards on the page, a sketch-kit avatar, the quote in the page font,
   what they weigh as tags, and the gaps marked with the brief's red "!" (Raashi, 2026-11-10). The three cards share
   their five rows (subgrid), so the quote, Weighs, the let-downs and the brainstorm line start level across all three
   (Raashi, 2026-11-11: "alignment issue"). */
.buyers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(5,auto);column-gap:12px;margin-top:8px}
.cs-body .buyer{display:grid;grid-row:span 5;grid-template-rows:subgrid;align-content:start;gap:18px;max-width:none;padding:22px;border-radius:16px;background:#fff}
.buyer-h{display:flex;align-items:center;gap:14px}
.cs-body .buyer-av{flex:none;width:56px;height:56px}
.cs-body .buyer-n{margin:0;font-size:13px;font-weight:600;color:var(--muted)}
.cs-body .buyer-h h3{margin:2px 0;font-size:18px;font-weight:600;line-height:1.3;color:var(--ink)}
.cs-body .buyer-s{margin:0;font-size:14.5px;line-height:1.4;color:var(--ink-2)}
.cs-body .buyer-q{margin:0;padding:14px 16px;border-radius:12px;background:#f4f3f0;font-size:17px;font-weight:500;line-height:1.45;color:var(--ink);text-wrap:pretty}
.cs-body .buyer-k{margin:0 0 8px;font-size:13px;font-weight:600;color:var(--muted)}
.buyer-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.cs-body .buyer-chips li{max-width:none;padding:3px 10px;border-radius:999px;background:#f1efea;color:var(--ink);font-size:13.5px;font-weight:500;line-height:1.5}   /* neutral, not lavender (Raashi, 2026-11-10: "see contrast and colours") */
.buyer-gaps ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.cs-body .buyer-gaps li{display:flex;align-items:flex-start;gap:10px;max-width:none;font-size:15px;line-height:1.45;color:var(--ink)}
.buyer-gaps li::before{content:"!";flex:none;display:grid;place-items:center;width:20px;height:20px;margin-top:1px;border-radius:10px;background:#fde3ec;color:#e5383b;font-size:13px;font-weight:800;line-height:1}
.cs-body .buyer-p{margin:0;padding-top:14px;border-top:1px solid #ececf2;font-size:14px;line-height:1.5;color:var(--ink-2)}
.cs-body .buyer-p b{color:var(--ink);font-weight:600}
/* Chetak's task flow (Raashi, 2026-11-11: the boxed diagram with pins 1 to 9 "doesn't make sense", but "important
   things need to be highlighted and some legends are always helpful"; then "I also asked to richen this too"; then, on
   five narrow boxes across, "Does not appear to be the best layout approach"). One column per goal: its steps run down
   a line, each with every issue found there and the red "!" the buyer cards use (a solid one for the goal's biggest
   blocker), to an ending that says what it costs. The endings sit level. A last card holds the issues met on any page.
   Written by drafts/case-studies/chetak-rfp/build_flow.py. */
.tf-art{padding:22px}
.tf{display:grid;gap:12px}
.tf p,.tf ul,.tf ol{margin:0;max-width:none;padding:0;list-style:none}
.tf-goals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tf-col,.tf-any{padding:18px;border:1px solid #e3e1da;border-radius:14px;background:#fff}
.tf-col{display:flex;flex-direction:column}
.tf-goal{font-size:20px;font-weight:700;line-height:1.25;color:var(--ink)}
.tf-goal span,.tf-end span{display:block;margin-bottom:3px;font-size:13px;font-weight:500;color:var(--muted)}
.tf-goal small{display:block;margin-top:4px;font-size:13px;font-weight:600;color:#c22a2d}
.tf-steps{flex:1;display:grid;grid-template-rows:auto auto 1fr;margin-top:18px!important}
.cs-body .tf-step{position:relative;max-width:none;padding:0 0 20px 24px;font-size:15px;line-height:1.35}
.tf-step::before{content:"";position:absolute;left:0;top:4px;width:12px;height:12px;border:2px solid var(--ink);border-radius:6px;background:#fff;box-sizing:border-box}
.tf-step::after{content:"";position:absolute;left:5px;top:19px;bottom:-1px;width:2px;border-radius:1px;background:#d9d6cd}
.tf-step:last-child{padding-bottom:22px}
.tf-step:last-child::after{bottom:9px}
.tf-steps{position:relative}
.tf-steps::after{content:"";position:absolute;left:-1px;bottom:4px;width:14px;height:10px;background:no-repeat center/14px 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10' fill='none' stroke='%238a877f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l5 5 5-5'/%3E%3C/svg%3E")}
.tf-step b{display:block;font-weight:600;color:var(--ink)}
.tf-step ul{display:grid;gap:8px;margin-top:8px}
.cs-body .tf li li,.cs-body .tf-any li{max-width:none;font-size:14px;line-height:1.4;color:var(--ink-2)}
.tf-bad{position:relative;padding-left:26px}
.tf-bad::before,.tf-key .k-bad,.tf-key .k-main{content:"!";display:grid;place-items:center;width:18px;height:18px;border-radius:9px;background:#fde3ec;color:#e5383b;font-size:12px;font-weight:800;font-style:normal;line-height:1}
.tf-bad::before{position:absolute;left:0;top:1px}
.cs-body .tf .tf-bad.main{font-weight:600;color:var(--ink)}
.tf-bad.main::before,.tf-key .k-main{background:#e5383b;color:#fff}
.cs-body .tf .tf-note{color:var(--muted)}
.tf .tf-end{padding:12px 14px;border:1px solid #e3e1da;border-radius:10px;font-size:15px;font-weight:600;line-height:1.35;color:var(--ink)}
.tf-end small{display:block;margin-top:10px;padding-top:9px;border-top:1px solid #ecebe6;font-size:14px;font-weight:400;line-height:1.4;color:var(--ink-2)}
.tf-end small i{display:block;margin-bottom:2px;font-size:13px;font-style:normal;font-weight:500;color:var(--muted)}
.tf-end.stop{border:1.5px dashed #e5383b;background:#fff6f8}
.tf-end.stop span{color:#c22a2d}
.tf-end.stop small{border-top-color:#f6cdd3}
.tf-any{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 36px;align-items:start}
.tf-any .tf-goal{grid-column:1/-1;margin-bottom:4px}   /* stacked like the goal cards: one style a line */
.tf-any ul{display:contents}
.tf-key{display:flex;flex-wrap:wrap;gap:8px 28px;margin:18px 0 0;padding:0;list-style:none}
.cs-body .tf-key li{display:flex;align-items:center;gap:8px;max-width:none;font-size:14px;color:var(--ink-2)}
.tf-key .k-stop{width:26px;height:18px;border:1.5px dashed #e5383b;border-radius:5px;background:#fff6f8}
@media (max-width:900px){
  .tf-goals,.tf-any{grid-template-columns:minmax(0,1fr)}
  .tf-any{gap:10px}
  .tf-steps{grid-template-rows:none}
  .tf-art{padding:14px}
  .tf-col,.tf-any{padding:16px}
}
@media (max-width:960px){.buyers{grid-template-columns:minmax(0,1fr);grid-template-rows:none;row-gap:12px}.cs-body .buyer{grid-row:auto;grid-template-rows:none}}
/* A short list of extras in a case study ("Also in the audit", "What set the audit apart") */
.cs-also{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.cs-also li{position:relative;padding-left:18px;color:var(--ink-2);line-height:1.6}
.cs-also li::before{content:"";position:absolute;left:2px;top:.72em;width:6px;height:6px;border-radius:3px;background:var(--ink)}
.cs-also b{color:var(--ink);font-weight:600}

/* Tables: a lacquered panel; real tables may keep light row lines */
.cs-table-wrap{overflow-x:auto;border-radius:22px;background:var(--sheet)}
.cs-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5}
.cs-table th,.cs-table td{text-align:left;vertical-align:top;padding:14px 18px;border-bottom:1px solid #e6e3dc}
.cs-table tr:last-child>*{border-bottom:0}
.cs-table thead th{font-size:14px;font-weight:500;color:var(--muted)}
.cs-table tbody th{font-weight:600;white-space:nowrap}
.cs-table td{color:var(--ink-2)}
.cs-table td:last-child{color:var(--ink)}

/* Close of the page */
.cs-next{display:grid;gap:22px;padding-top:88px;padding-bottom:24px}
.cs-credit{margin:0;max-width:68ch;font-size:15px;color:var(--muted)}
.cs-next-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.next-link{display:inline-flex;align-items:center;gap:14px;padding:14px 22px 14px 14px;border-radius:999px;background:var(--sheet)}
.next-link .go{width:44px;height:44px;border-radius:22px}
.next-k{display:block;font-size:14px;color:var(--muted)}
.next-t{display:block;font-size:20px;font-weight:500}

@media (max-width:980px){
  .cs-tldr{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
  .fig .wide{display:none}
  .fig .narrow{display:block}
  .fig .narrow svg{max-width:480px;margin-inline:auto}
  .fig-split{grid-template-columns:1fr}
}
@media (max-width:720px){
  .cs-tldr{grid-template-columns:1fr;padding:24px 22px}
  .cs-tldr .tb-2{grid-column:auto}
  .cs-sec{padding-top:64px}
  .cs-list>div{grid-template-columns:1fr}
  .cs-tiles{grid-template-columns:1fr}
  .cs-tiles li:nth-child(n){background:var(--sheet)}
  .cs-tiles li:nth-child(even){background:#e4e2dc}
  .cs-table-wrap{overflow:visible;background:transparent;box-shadow:none;border-radius:0}
  .cs-table thead{display:none}
  .cs-table,.cs-table tbody,.cs-table tr,.cs-table th,.cs-table td{display:block}
  .cs-table tr{margin-bottom:12px;border-radius:18px;background:var(--sheet)}
  .cs-table th,.cs-table td{border-bottom:0}
  .cs-table tbody th{white-space:normal;padding-bottom:4px}
  .cs-table td{display:grid;grid-template-columns:6.5em minmax(0,1fr);gap:10px;padding-top:6px;padding-bottom:6px}
  .cs-table td::before{content:attr(data-label);font-size:13px;color:var(--muted)}
  .cs-table td:last-child{padding-bottom:16px}
}

/* Case-study components added for GenAI Studio (2026-10-16) */
.cs-cta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:24px 0 0}
.label-note{display:inline-block;margin-left:4px;padding:0 8px;border-radius:999px;background:#e6e3dc;color:var(--ink-2);font-size:.8em;font-weight:500;white-space:nowrap}
.cs-map{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1.3fr);gap:16px 24px;align-items:center;padding:26px 28px;border-radius:22px;background:var(--sheet)}
.cs-map-k{margin:0 0 10px;font-size:14px;color:var(--muted)}
.cs-map ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.cs-map li{line-height:1.45}
.cs-map li span{color:var(--muted);font-size:14px;margin-left:6px}
.cs-map-arrow{color:var(--accent)}
/* Task flow as live HTML: a spine of steps; diamonds are decisions; dashed branches are gaps */
.flow{list-style:none;margin:0 auto;padding:0;max-width:720px;display:grid;gap:0}
.flow-step{position:relative;padding:0 0 22px 40px}
.flow-step::before{content:"";position:absolute;left:8px;top:5px;width:14px;height:14px;border-radius:7px;background:var(--card);border:2.5px solid #0b84d8}
.flow-step::after{content:"";position:absolute;left:15px;top:23px;bottom:2px;width:2px;background:#d9d9e3}
.flow-step:last-child::after{display:none}
.flow-start::before,.flow-end::before{background:#0b84d8}
.flow-decide::before{border-radius:2px;transform:rotate(45deg);left:9px;top:6px;width:13px;height:13px;background:#e7defc;border-color:#9b85e0}
.flow-t{margin:0;font-size:17px;font-weight:600;line-height:1.4}
.flow-d{margin:4px 0 0;color:var(--ink-2);line-height:1.5}
.flow-br{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.flow-br li{padding:6px 12px;border-radius:6px;background:#cfe8fc;color:#0b3f6e;font-size:15px;line-height:1.4}
.flow-br li.gap{border:2px dashed #cdb8f3;background:#fbf9ff;color:var(--ink-2)}
.flow-br li.gap span{color:var(--muted);margin-left:4px}
.flow-br li.gap span::before{content:"· "}
.risk-scale{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;counter-reset:risk}
/* risk reads from yellow to red, the same red as the illustrations' friction marks; only actions that change a live campaign */
.risk-scale>li{--risk:#f2c230;display:grid;gap:14px;align-content:start;padding:20px 20px 22px;border-radius:18px;background:#fff;border-top:5px solid var(--risk);line-height:1.5}
.risk-scale>li:nth-child(2){--risk:#f28b3c}.risk-scale>li:nth-child(3){--risk:#e5383b}
.risk-scale b{font-size:18px}
/* Hard cases as three outcomes (Raashi, 2026-11-02): what the agent does, with the cases under each. The same white
   cards and coloured top edge as the risk scale: red stops, yellow pauses, blue tells you first. */
/* scoped off .cs-tiles: GenAI Studio's outcome tiles share the class name and keep their own 2-column grid */
.outcomes:not(.cs-tiles){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.oc{--oc:#e5383b;padding:18px 20px 8px;border-radius:18px;background:#fff;border-top:5px solid var(--oc)}
.oc.pause{--oc:#f2c230}.oc.tell{--oc:#6bb6f5}
.oc .oc-h{display:flex;align-items:center;gap:10px;margin:0 0 6px;font-size:18px;line-height:1.3}
.oc-h svg{flex:none;width:28px;height:28px;fill:var(--ink)}
.oc-h .oc-dot{fill:var(--oc)}
.oc-n{margin-left:auto;min-width:26px;padding:1px 8px;border-radius:999px;background:#f1efe9;font-size:14px;font-weight:600;text-align:center}
.oc ul{list-style:none;margin:0;padding:0}
.oc li{display:grid;gap:2px;padding:12px 0;border-top:1px solid #eeece6;max-width:none}
.oc li:first-child{border-top:0}
.oc li b{font-size:16px;line-height:1.35}
.oc li span{font-size:15px;line-height:1.45;color:var(--ink-2)}
@media (max-width:860px){.outcomes:not(.cs-tiles){grid-template-columns:1fr}}
/* the same four safeguards on every card; the ones that apply are lit in the card's colour with a tick */
.rs-pts{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.rs-pts li{display:flex;align-items:center;gap:10px;font-size:16px;line-height:1.35;color:var(--muted,#5d5b55)}
.rs-pts li::before{content:"";flex:none;width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 1.5px #cfccc3}
.rs-pts li.on{color:var(--ink);font-weight:600}
.rs-pts li.on::before{box-shadow:none;background:var(--risk,#6bb6f5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.4' fill='none' stroke='%23141413' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}
.cs-timeline{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.cs-timeline li{display:grid;grid-template-columns:4.5em minmax(0,1fr);gap:16px;max-width:none}
.cs-timeline .when{font-weight:600;color:var(--accent);font-variant-numeric:tabular-nums}
.cs-timeline .what{color:var(--ink-2);line-height:1.6;max-width:68ch}
.cs-timeline b{color:var(--ink)}
/* Design-system plate (the concept's own system, shown in its own typeface) */
.ds-plate{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px 36px;padding:28px 30px;border-radius:22px;background:var(--card)}
.ds-k{margin:0 0 12px!important;font-size:14px;color:var(--muted)}
.ds-type p{margin:0 0 10px;font-family:'Inter',system-ui,sans-serif;line-height:1.3;color:#000}
.ds-type p span{margin-left:8px;font-family:var(--font);font-size:13px;font-weight:400;color:var(--muted)}
.ds-sw{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ds-sw li{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:12px;align-items:center;font-weight:500;line-height:1.3}
.ds-sw li span{grid-row:span 2;width:36px;height:36px;border-radius:18px;box-shadow:inset 0 0 0 1px rgba(22,22,22,.08)}
.ds-sw small{grid-column:2;font-weight:400;font-size:13px;color:var(--muted)}
.ds-note{margin:12px 0 0!important}
.fig .cap svg{max-width:720px;margin-inline:auto}
.fig-cap-pins{display:grid;gap:14px}
.fig-pins.cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 32px}
/* Real screenshots (public websites only), framed like the figures */
.shot-one img{display:block;width:100%;height:auto;border-radius:10px}
/* Chetak's journey map as text (Raashi, 2026-11-11: "recreate this… accurately with improvements so that people can
   actually read it"). build_journey.py writes it. It keeps the map's own layout: stages across, rows down, buyer tags
   in its two colours. It scrolls sideways in its frame, with the stage names and row labels held in view. */
.jm-art{padding:0!important;background:#fff!important;overflow:hidden}
.jm p{margin:0;max-width:none}
.jm-head{padding:22px 24px 16px}
.jm-title{font-size:20px;font-weight:700;line-height:1.3;color:var(--ink)}
.jm-goal{margin-top:4px!important;font-size:14px;line-height:1.5;color:var(--ink-2)}
.jm-who{padding:1px 4px;border-radius:3px;background:#fdebdc;color:#9a4508;font-weight:600}
.jm-who.dukandaar{background:#e3ebfb;color:#1746a2}
.jm-scroll{max-height:min(82vh,920px);overflow:auto;border-top:1px solid #ecebe6}
.jm-scroll:focus-visible{outline:3px solid #1f5fd6;outline-offset:-3px}
.jm-t{width:100%;min-width:1380px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:14px;line-height:1.5;color:var(--ink)}
.jm-t thead td,.jm-t tbody th{width:118px}
.jm-t th,.jm-t td{padding:14px 16px;vertical-align:top;text-align:left;border-bottom:1px solid #ecebe6}
.jm-t thead th,.jm-t thead td{position:sticky;top:0;z-index:2;background:#f6f6f4;text-align:center}
.jm-t thead th b{display:block;font-size:15px;font-weight:700}
.jm-t thead th span{display:block;font-size:13px;font-weight:400;color:var(--muted)}
.jm-t tbody th{position:sticky;left:0;z-index:1;background:#fff;font-size:13.5px;font-weight:700;color:var(--ink)}
.jm-t thead td{left:0;z-index:3}
.jm-t tbody th span{display:block;position:sticky;top:108px}   /* the row's name follows you down a long row */
.jm-t tr:last-child>*{border-bottom:0}
.jm-feel td{text-align:center;font-weight:600}
.jm-t ul{display:grid;gap:10px;margin:0;padding:0 0 0 16px;list-style:disc}
.cs-body .jm-t li{max-width:none;font-size:14px;line-height:1.5;color:var(--ink)}
.jm-t li::marker{color:#a8a59c}
.jm-t li b{font-weight:700}
.jm-n{margin-bottom:10px!important;font-size:13px;font-weight:600;color:var(--muted)}
.jm-pain .jm-n{color:#c22a2d}
@media (max-width:760px){
  .jm-head{padding:16px 16px 12px}
  .jm-t{min-width:1180px}
  .jm-t thead td,.jm-t tbody th{width:84px}
  .jm-t th,.jm-t td{padding:12px}
}
.persona-grid{display:grid;gap:12px;max-width:900px;margin-inline:auto}
.persona-grid img{display:block;width:100%;height:auto;border-radius:8px}
.shot-duo{display:grid;gap:14px}
.shot-navs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.shot-navs .fig{margin:0}
.shot-navs img{max-height:560px;width:auto!important;max-width:100%;margin-inline:auto}
.shot-duo .fig{margin:0}
.cs-bullets{list-style:disc}
.shot-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.2fr);gap:16px;align-items:start}
.shot-stack{display:grid;gap:16px;justify-items:center}
.shot-stack img:nth-child(2){max-width:68%}
.shot-stack.even img:nth-child(2){max-width:100%}   /* two frames of the same screen, same width (Marketing Studio 2025) */
.shot-pair img,.shot-stack img{display:block;width:100%;height:auto;border-radius:10px;box-shadow:inset 0 0 0 1px rgba(22,22,22,.06)}
@media (max-width:720px){
  .cs-map{grid-template-columns:1fr;padding:22px}
  .cs-map-arrow{transform:rotate(90deg);justify-self:start}
  .ds-plate{grid-template-columns:1fr;padding:22px}
  .cs-timeline li{grid-template-columns:3.8em minmax(0,1fr);gap:12px}
  .fig-pins.cols{grid-template-columns:1fr}
  .risk-scale{grid-template-columns:1fr}
  .shot-duo{grid-template-columns:1fr}
  .shot-pair{grid-template-columns:1fr}
  .shot-pair img:first-child{max-width:70%;justify-self:center}
  .shot-stack img:nth-child(2){max-width:100%}
}

/* "On this page": a rail beside the case study on wide screens; a Sections button and sheet on narrow ones */
.cs-sec h2[id]{scroll-margin-top:28px}
.cs-toc,.cs-toc-btn{display:none}
.cs-toc-k{margin:0 0 12px;font-size:14px;color:var(--muted)}
.cs-toc ol{list-style:none;margin:0;padding:0;border-left:1px solid var(--line)}
.cs-toc a{display:block;margin-left:-1px;padding:6px 0 6px 16px;border-left:2px solid transparent;font-size:15px;line-height:1.35;color:var(--muted)}
@media (hover:hover) and (pointer:fine){.cs-toc a:hover{color:var(--ink)}}
.cs-toc a[aria-current="true"]{color:var(--ink);font-weight:600;border-left-color:var(--accent)}
@media (min-width:1180px){
  .cs .cs-sec .cs-body{margin-left:228px}
  /* In the flow beside the sections: starts level with the first heading, ends with the last section. */
  .cs-secs{position:relative}
  .cs-toc{display:block;position:absolute;z-index:5;top:88px;bottom:0;left:max(32px,calc((100% - 1280px) / 2 + 32px));width:184px}
  .cs-toc-in{position:sticky;top:124px;max-height:calc(100vh - 168px);overflow:auto}
}
@media (max-width:1179px){
  .cs-toc-btn{display:inline-flex;position:fixed;z-index:30;left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);align-items:center;gap:8px;max-width:calc(100vw - 32px);min-height:44px;padding:0 18px;border:0;border-radius:22px;background:var(--ink);color:#fff;font:inherit;font-size:15px;font-weight:500;cursor:pointer;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease}
  .cs-toc-btn.show{opacity:1;visibility:visible}
  .cs-toc-now{color:#bdbab2;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .cs-toc-now::before{content:"· ";color:#8a877f}
  .cs-toc.open{display:block;position:fixed;z-index:31;left:max(16px,env(safe-area-inset-left,0px));right:max(16px,env(safe-area-inset-right,0px));bottom:calc(72px + env(safe-area-inset-bottom,0px));max-height:min(60svh,520px);overflow:auto;overscroll-behavior:contain;padding:18px 20px 14px;border-radius:18px;background:var(--card);border:1px solid var(--line)}
  .cs-toc a{padding-top:9px;padding-bottom:9px}
}

/* Sticky header (Raashi, 2026-10-19: "why is the header not sticky?"). Flat: the page colour runs edge to edge
   behind it (box-shadow spread + clip-path, no visible shadow). Phones keep it in the flow: there it wraps to two
   rows and would cover too much of a small screen. In-page jumps and the case-study rail clear it. */
@media (min-width:761px){
  .nav{position:sticky;top:0;z-index:20;background:var(--paper);box-shadow:0 0 0 100vmax var(--paper);clip-path:inset(0 -100vmax)}
  html{scroll-padding-top:108px}
  .cs-sec h2[id]{scroll-margin-top:16px}   /* with the header's 108px, a jump lands the heading level with the list (124px) */
}


/* Case-study hero v2 (Raashi, 2026-10-19, after a reference hero): a result-led headline with the project name as
   the small label, three context lines (company, where it lives, this project), four short facts, tools as icons.
   Icons are Simple Icons (CC0), one colour, each with its name. */
.cs-label{margin:24px 0 0;font-size:15px;color:var(--muted)}
.cs-label b{color:var(--ink);font-weight:600}
.cs-hero h1.cs-claim{margin:10px 0 0 -.02em;max-width:19em;font-size:clamp(34px,4.6vw,62px);line-height:1.06;letter-spacing:-.03em;text-wrap:balance}
.cs-intro{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px 56px;margin-top:40px;align-items:start}
.cs-context{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.cs-context li{position:relative;padding-left:22px;font-size:18px;line-height:1.6;color:var(--ink-2);max-width:40em}
.cs-context li::before{content:"";position:absolute;left:2px;top:.72em;width:7px;height:7px;border-radius:4px;background:var(--accent)}
.cs-context b{color:var(--ink);font-weight:600}
.cs-facts{margin:0;padding:6px 28px;border-radius:22px;background:var(--sheet)}
.cs-facts>div{display:grid;grid-template-columns:7em minmax(0,1fr);gap:4px 20px;padding:16px 0;border-top:1px solid #e6e3dc}
.cs-facts>div:first-child{border-top:0}
.cs-facts dt{font-size:15px;line-height:1.5;color:var(--muted)}
.cs-facts dd{margin:0;font-size:16px;line-height:1.5}
.cs-note{margin:16px 0 0;font-size:14px;line-height:1.5;color:var(--muted);max-width:68ch}
.cs-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-top:28px}
.cs-tools-k{font-size:15px;color:var(--muted)}
.cs-tools ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.tool{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px 0 12px;border-radius:20px;background:#e6e3dc;font-size:15px;font-weight:500;color:var(--ink)}
.tool svg{width:18px;height:18px;flex:none;fill:currentColor}
.tool-more{font-size:15px;color:var(--muted)}
@media (max-width:900px){.cs-intro{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){
  .cs-facts{padding:4px 20px}
  .cs-facts>div{grid-template-columns:minmax(0,1fr);gap:2px}
  .cs-context li{font-size:17px}
}

/* Persona card (Raashi, 2026-10-19: "give this persona format") */
.persona{border-radius:22px;background:var(--sheet);padding:clamp(20px,3vw,32px);display:grid;gap:24px}
.persona-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
.persona-av{width:64px;height:64px;border-radius:32px;overflow:hidden;flex:none}
.persona-av svg{display:block;width:100%;height:100%}
.persona-id{flex:1 1 260px;min-width:0}
.persona-name{margin:0;font-size:22px;font-weight:600}
.persona-role{margin:2px 0 0;font-size:16px;line-height:1.5;color:var(--ink-2)}
/* Hierarchy (Raashi: "all of the points are at the same level"): who she is, then the core problem in large type, then each
   obstacle paired with what good looks like, then her day as a small timeline. */
.persona-core{margin:0;max-width:30em;font-size:clamp(20px,2vw,26px);line-height:1.35;font-weight:500;color:var(--ink);text-wrap:balance}
.persona-core span,.persona-k,.needs-head{display:block;margin:0 0 8px;font-size:14px;font-weight:600;color:var(--muted)}
.needs-head{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:12px;margin:0;padding:16px 22px 12px;border-radius:16px 16px 0 0;background:var(--card);border-bottom:1px solid #ecebe6}
.needs-head+.needs{margin-top:0;border-radius:0 0 16px 16px}
.cs-body>.needs-head+.needs{margin-top:-22px}   /* the body is a grid with a 22px gap; the headings sit on the card */
.needs{list-style:none;margin:0;padding:0;border-radius:16px;background:var(--card)}
.needs li{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:6px 12px;align-items:center;max-width:none;padding:15px 22px;border-top:1px solid #ecebe6;font-size:16px;line-height:1.45}
.needs li:first-child{border-top:0}
.needs .pain{color:var(--ink-2)}
.needs .arrow{color:var(--accent);text-align:center}
.needs .good{color:var(--ink);font-weight:500}
/* GenAI Studio: where the first version broke, as white tiles with the route cards' red "!" (Raashi, 2026-11-12: "showing
   challenges to the obvious approach and then show why we changed it"), then each break against what the change does. */
.cs-body .brk-h{margin:clamp(36px,4vw,52px) 0 14px}
.cs-tiles.brk li,.cs-tiles.brk li:nth-child(n){background:var(--card)}
.cs-tiles.brk li b{display:flex;align-items:flex-start;gap:10px}
.cs-tiles.brk li b::before{content:"!";flex:none;display:grid;place-items:center;width:22px;height:22px;margin-top:1px;border-radius:11px;background:#fde3ec;color:#e5383b;font-size:13px;font-weight:800;line-height:1}
.cs-body .brk-keep{margin-top:26px}
/* The #moc request report: a thread as it was, the coding scheme, the verdict split, the stats (redrawn; build_figs.py) */
.cs-tiles li.wide{grid-column:1/-1}
.cs-body>p.mr-q:not(.cs-lead):not(.my-part):not(.draft-note){margin:0 0 26px;max-width:30em;font-size:clamp(22px,2.4vw,30px);line-height:1.3;font-weight:600;color:var(--ink);text-wrap:balance}
.thr{max-width:620px;margin-inline:auto;padding:18px 20px 16px;border:1px solid #e3e1da;border-radius:14px;background:#fff;font-size:15px;line-height:1.45}
.thr p{margin:0;max-width:none}
.thr-h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;padding-bottom:12px;border-bottom:1px solid #efede7;color:var(--muted);font-size:14px}
.thr-h b{color:var(--ink);font-size:15px}
.thr-list{list-style:none;margin:0;padding:6px 0 0;display:grid;gap:2px}
.thr-m{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:8px 0;color:var(--ink-2)}
.thr-av{width:30px;height:30px;border-radius:8px;background:var(--c)}
.thr-n{font-size:13.5px;font-weight:600;color:var(--ink)}
.thr-m.fix{margin-top:4px;padding:10px;border-radius:10px;background:#eaf6ee}
.thr-gap{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 0 12px 40px;color:var(--muted);font-size:14px;border-block:1px dashed #e3e1da;margin:6px 0}
.thr-tag{display:inline-block;padding:3px 10px;border-radius:999px;font-size:13px;font-weight:600;line-height:1.4}
.thr-tag.own{background:#fde3ec;color:#b3261e}.thr-tag.fix{background:#dff3e6;color:#0b6b3a}.thr-tag.rep{background:#f1efea;color:var(--ink-2)}
.thr-foot{display:flex;flex-wrap:wrap;gap:8px;padding-top:12px;margin-top:6px;border-top:1px solid #efede7}
.sch{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.15fr) minmax(0,1.3fr);gap:14px;align-items:start;font-size:14.5px;line-height:1.4}
.sch p,.sch ol{margin:0;max-width:none}
.sch-col{display:grid;gap:10px;padding:16px;border-radius:14px;background:#fff}
.sch-k{font-size:13.5px;font-weight:600;color:var(--muted);display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px}
.sch-key{display:inline-flex;align-items:center;gap:6px;font-weight:500}
.sch-keys{display:flex;flex-wrap:wrap;gap:4px 16px;margin:-4px 0 2px;font-size:13.5px;color:var(--muted)}
.sch-keys span{display:inline-flex;align-items:center;gap:7px}
.sch-keys i{width:14px;height:5px;border-radius:3px;background:#d9d7cf}
.sch-keys .cand i,.sch-pats li.cand i{background:var(--accent)}
.sch-bucket{display:grid;gap:6px;padding:16px;border-radius:12px;background:#f4f3f0}
.sch-bucket b{font-size:30px;line-height:1;font-weight:700;color:var(--ink)}
.sch-bucket span{font-weight:600;color:var(--ink)}
.sch-bucket small{font-size:13.5px;color:var(--muted)}
.sch-cats,.sch-pats{list-style:none;padding:0;display:grid;gap:7px}
.sch-cats,.sch-pats{gap:11px!important}
.sch-cats li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;color:var(--ink)}
.sch-cats li i{grid-column:1/-1;width:var(--w);height:5px;border-radius:3px;background:#d9d7cf}
.sch-cats li b{font-variant-numeric:tabular-nums}
.sch-pats li{color:var(--ink-2)}.sch-pats li.cand{color:var(--ink)}
.vd{display:grid;gap:14px;max-width:760px;margin-inline:auto}
.vd-bar{display:flex;height:22px;border-radius:11px;overflow:hidden;gap:4px}
.vd-bar span{flex:var(--n) 1 0}
.vd .fix,.vd-bar .fix{--vc:#108000}.vd .dx,.vd-bar .dx{--vc:#6f5ade}.vd .out,.vd-bar .out{--vc:#b9b6ad}
.vd-bar span{background:var(--vc)}
.vd-key{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,41fr) minmax(0,65fr) minmax(0,84fr);gap:4px}   /* the same proportions and gap as the bar above, so each label sits under its own segment */
.vd-key li{display:grid;gap:2px;padding:10px 16px 0 0;border-top:3px solid var(--vc);font-size:14.5px;line-height:1.4;color:var(--ink-2)}
.vd-key b{font-size:26px;line-height:1.1;color:var(--ink)}
.ms .vd-chip{justify-self:start;margin:0 0 10px;padding:4px 12px;border-radius:999px;font-size:13px;font-weight:600}
.ms .vd-chip.fix{background:#e5f4d9;color:#0b6b00}.ms .vd-chip.dx{background:#efebfd;color:#4b36b8}
.ms .ho{margin:0;padding:12px 14px;border-left:3px solid #c7c9d1;border-radius:6px;background:#fff;font-size:14px;font-weight:400;line-height:1.5;color:#393a3d}
/* the no-fix hand-off, as the prototype runs it: a Slack-style draft you can edit or copy, then the posted note */
.ms .ms-slack{border:1px solid #e3e4e8;border-radius:12px;background:#fff;overflow:hidden}
.ms .ms-slack-h{display:flex;align-items:center;gap:8px;margin:0;padding:10px 14px;border-bottom:1px solid var(--ms-line);font-size:14px;color:var(--ms-time)}
.ms .ms-slack-h b{color:var(--ms-ink);font-weight:600}
.ms .ms-slack-i{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#4a154b;color:#fff;font-size:13px;font-weight:700}
.ms .ms-slack-b{position:relative;display:grid;gap:8px;padding:12px 14px 40px;font-size:14px;line-height:1.5;color:#393a3d}
.ms .ms-slack-b p{margin:0}.ms .ms-slack-b b{color:var(--ms-ink)}
.ms .ms-slack-copy{position:absolute;right:10px;bottom:10px;display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border:1px solid #dcdde2;border-radius:8px;font-size:13px;color:var(--ms-ink2)}
.mr-stats{list-style:none;margin:0 0 26px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.mr-stats li{display:grid;gap:6px;align-content:start;max-width:none;padding:20px;border-radius:18px;background:var(--card);color:var(--ink-2);line-height:1.5}
.mr-stats b{font-size:clamp(30px,3vw,42px);line-height:1;font-weight:700;color:var(--ink)}
@media (max-width:960px){.sch{grid-template-columns:minmax(0,1fr)}.mr-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* UI Convergence × Claude Code: one button six ways, the three options, the system in layers (redrawn; build_figs.py) */
.uc-btn{display:grid;gap:18px}
.uc-btn p,.uc-btn ul,.uc-sys p,.uc-sys ol,.uc-opts{margin:0;max-width:none}
.uc-row{list-style:none;padding:18px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;border-radius:14px;background:#fff}
.uc-row li{display:grid;justify-items:center;gap:8px;max-width:none}
.uc-row small{font-size:12.5px;color:var(--muted)}
.uc-b{display:inline-block;line-height:1.2}
.uc-math{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
/* the scale as a node diagram (Raashi, 2026-11-14): select a node to see its share; "With the system" shows the funnel */
.uc-mesh{display:grid;gap:14px;padding:18px 18px 20px;border-radius:14px;background:#fff}
.uc-mesh p{margin:0;max-width:none}
.uc-mesh-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px}
.uc-seg{display:inline-flex;padding:3px;border-radius:999px;background:#f1f0ec}
.uc-seg button{min-height:36px;padding:0 14px;border:0;border-radius:999px;background:none;font:inherit;font-size:14px;font-weight:500;color:var(--muted);cursor:pointer}
.uc-seg button[aria-checked="true"]{background:#fff;color:var(--ink);box-shadow:0 0 0 1px #e3e1da}
.uc-mesh-art{min-width:0}
.uc-mesh-svg{display:block;width:100%;height:auto;font-family:inherit;overflow:visible}
.uc-mh{font-size:13px;font-weight:600;fill:var(--ink);paint-order:stroke;stroke:#fff;stroke-width:5px;stroke-linejoin:round}
.uc-more{font-size:12px;fill:var(--muted)}
.uc-e{fill:none;stroke:#d9d7cf;stroke-width:.6;transition:stroke .15s ease,opacity .15s ease}
.uc-mesh[data-mode="system"] .uc-e{stroke:#bdb9ae;stroke-width:1.1}
.uc-mesh.has-sel .uc-e{opacity:.25}
.uc-mesh.has-sel .uc-e.on{opacity:1;stroke:var(--accent);stroke-width:1}
.uc-n rect{fill:#f6f5f1;stroke:#e3e1da;transition:fill .15s ease,stroke .15s ease}
.uc-n text{font-size:12px;fill:var(--ink-2);pointer-events:none}
.uc-n[tabindex]{cursor:pointer;outline:none}
.uc-n[tabindex]:focus-visible rect{stroke:var(--ink);stroke-width:1.5}
.uc-n.hub rect{fill:#2b2a33;stroke:none}.uc-n.hub text{fill:#fff;font-weight:600}
.uc-n.off{opacity:.3}
.uc-n .sw{stroke:rgba(0,0,0,.12)}
.uc-mesh.has-sel .uc-n:not(.on):not(.hub) text{fill:var(--muted)}
.uc-n.on rect{fill:color-mix(in srgb,var(--accent) 12%,#fff);stroke:color-mix(in srgb,var(--accent) 45%,#fff)}
.uc-n.me rect{fill:var(--accent);stroke:var(--accent)}.uc-n.me text{fill:#fff;font-weight:600}
.uc-mesh-out{display:grid;gap:4px;min-height:84px;padding-top:12px;border-top:1px solid #efede7}
.uc-mesh-out .uc-eq{font-size:16px;line-height:1.45;color:var(--ink-2)}
.uc-mesh-out .uc-res{font-size:18px;line-height:1.35;color:var(--ink)}
.uc-mesh-out .uc-res b{font-size:clamp(22px,2.4vw,30px);font-weight:700}
.uc-hint{font-size:13.5px;color:var(--muted)}
@media (prefers-reduced-motion:reduce){.uc-e,.uc-n rect{transition:none}}
.uc-math>div{display:grid;gap:6px;padding:18px;border-radius:14px;background:#fff}
.uc-k{font-size:13px;font-weight:600;color:var(--muted)}
.uc-eq{font-size:15px;line-height:1.5;color:var(--ink-2)}
.uc-res{font-size:16px;color:var(--ink)}
.uc-res b{font-size:26px;font-weight:700}
.uc-opts{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cs-body .uc-opts li{position:relative;display:grid;gap:8px;align-content:start;max-width:none;padding:20px;border-radius:16px;background:var(--card);color:var(--ink-2);line-height:1.5}
.uc-opts li.no{background:transparent;border:1.5px dashed #cfcac0}
.uc-opts li.yes{box-shadow:inset 0 0 0 2px var(--accent)}
.uc-opts b{font-size:17px;line-height:1.35;color:var(--ink)}
.uc-on{display:grid;place-items:center;width:26px;height:26px;border-radius:13px;background:#ecebe6;color:var(--ink);font-size:13px;font-weight:700}
.uc-opts li.yes .uc-on{background:var(--accent);color:#fff}
.uc-opts em{justify-self:start;padding:3px 10px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-style:normal;font-size:13px;font-weight:600}
.uc-sys{display:grid;gap:14px}
.uc-layers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 28px}   /* the same columns and gap as the skills row below, so the two rows line up */
.uc-l{display:grid;gap:6px;align-content:start;padding:18px;border-radius:14px;background:#fff;font-size:15px;line-height:1.5;color:var(--ink-2)}
.uc-l b{font-size:17px;color:var(--ink)}
.uc-gates{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;counter-reset:none}
.uc-gates li{position:relative;display:flex;flex-wrap:wrap;align-content:start;gap:8px;padding:16px;border-radius:14px;background:#1d1c22;color:#e9e8ee}
.uc-gates li+li::before{content:"→";position:absolute;left:-21px;top:50%;transform:translateY(-50%);color:var(--muted);font-weight:700}
.uc-gates .uc-k{flex-basis:100%;color:#b9b7c4}
.uc-gates code{padding:3px 8px;border-radius:6px;background:#3b2f5e;color:#d9ccff;font:600 13px ui-monospace,SFMono-Regular,Menlo,monospace}
.uc-gates .build code{background:#3a3a44;color:#e4e3ea}.uc-gates .exit code{background:#1f4a37;color:#a8ecc6}
.uc-gates span{flex-basis:100%;font-size:13.5px;color:#c9c7d3}
@media (max-width:960px){.uc-row{grid-template-columns:repeat(3,minmax(0,1fr))}.uc-opts,.uc-layers,.uc-math{grid-template-columns:minmax(0,1fr)}.uc-gates{grid-template-columns:minmax(0,1fr);gap:22px}.uc-gates li+li::before{content:"↓";left:50%;top:-19px;transform:none}}
@media (max-width:560px){.vd-key{grid-template-columns:minmax(0,1fr)}.mr-stats{grid-template-columns:minmax(0,1fr)}.thr-gap{padding-left:0}}
/* Chetak's proposals (Raashi, 2026-11-11, on the plain before→after table: "Try a better style for this"). One white
   card per place, in the flow figure's language: each issue with its red "!", an arrow, and the proposal for it on a
   soft green panel with a tick. The panels of one place join into a single block. */
.px-art{padding:22px}
.px{display:grid;gap:10px}
.px p,.px ul{margin:0;max-width:none}
.px-head,.px-row{display:grid;grid-template-columns:8.5rem minmax(0,1fr);gap:0 20px}
.px-head{grid-template-columns:8.5rem minmax(0,1fr) minmax(0,1fr);gap:0 20px;padding:0 15px 2px;font-size:13px;font-weight:600;color:var(--muted)}
.px-head span:nth-child(2){padding-left:40px}
.px-head span:last-child{padding-left:57px}
.px-row{align-items:center;padding:14px;border:1px solid #e3e1da;border-radius:12px;background:#fff}
.px-where{font-size:17px;font-weight:700;line-height:1.25;color:var(--ink)}
.px ul{display:grid;padding:0;list-style:none}
.cs-body .px li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 34px;max-width:none;font-size:15px;line-height:1.4}
.px-was{display:grid;gap:8px;align-content:center;padding:10px 14px;background:#f6f5f1;color:var(--ink-2)}
.px-was>span:not(.sr-only){position:relative;padding-left:26px}
.px-was>span:not(.sr-only)::before{content:"!";position:absolute;left:0;top:1px;display:grid;place-items:center;width:18px;height:18px;border-radius:9px;background:#fde3ec;color:#e5383b;font-size:12px;font-weight:800;line-height:1}
.px-now{position:relative;display:flex;align-items:center;padding:10px 14px 10px 43px;background:#eef8f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%230b7a40'/%3E%3Cpath d='M5.2 9.3l2.5 2.5 5.1-5.4' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 14px 50%/18px;font-weight:600;color:var(--ink)}
.px-now::before{content:"";position:absolute;left:-26px;top:50%;width:18px;height:18px;transform:translateY(-50%);background:no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%238a877f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9h11M10 5l4 4-4 4'/%3E%3C/svg%3E")}
/* both sides are containers (Raashi, 2026-11-12: "One on the left uses line separator, whereas the one on the right uses container") */
.px li:first-child :is(.px-was,.px-now){border-radius:10px 10px 0 0}
.px li:last-child :is(.px-was,.px-now){border-radius:0 0 10px 10px}
.px li:only-child :is(.px-was,.px-now){border-radius:10px}
.px li+li .px-was{box-shadow:inset 0 1px 0 #e6e4dc}
.px li+li .px-now{box-shadow:inset 0 1px 0 #d9eee2}
@media (max-width:760px){
  .px-art{padding:14px}
  .px-head{display:none}
  .px-row{grid-template-columns:minmax(0,1fr);gap:8px}
  .cs-body .px li{grid-template-columns:minmax(0,1fr);gap:0}
  .px li+li{margin-top:10px}
  .px li+li :is(.px-was,.px-now){box-shadow:none}
  .cs-body .px li .px-was{border-radius:10px 10px 0 0}
  .cs-body .px li .px-now{border-radius:0 0 10px 10px}
  .px-now::before{display:none}
}
.day-line{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 16px}
.day-line li{max-width:none;padding-top:10px;border-top:2px solid #d3d0c8;font-size:15px;line-height:1.45;color:var(--ink-2)}
.day-line b{display:block;margin-bottom:2px;font-size:14px;color:var(--ink)}
@media (max-width:760px){
  .needs-head{display:none}.needs-head+.needs{border-radius:16px}.cs-body>.needs-head+.needs{margin-top:0}
  .needs li{grid-template-columns:minmax(0,1fr)}
  .needs .arrow{display:none}
  .needs .good::before{content:"→ ";color:var(--accent)}
  .day-line{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* My approach as three beats: the first version (with its sidebar), where it broke (one stated moment), the reframe (with the
   new sidebar). Raashi, 2026-10-19: the section had too much going on. */
.cs-body .ap-k{margin:0;font-size:14px;font-weight:600;color:var(--accent)}

/* Illustrated journey: Maya at each of five steps, left to right, saying what she does (Raashi, 2026-10-19: a human avatar,
   not the same screens again). Earlier: five small screens (Raashi, 2026-10-19: the vertical flow was hard to follow).
   On narrow screens it scrolls sideways inside its own box. */
.journey-wrap{overflow-x:auto}
.journey{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:14px}
.journey li{display:grid;gap:8px;align-content:start;min-width:0;max-width:none}
.j-art svg{display:block;width:100%;height:auto}
.cs-body .j-t{margin:18px 0 0;display:flex;gap:8px;align-items:baseline;font-size:15px;font-weight:600;line-height:1.35}
.j-n{flex:none;width:20px;height:20px;border-radius:10px;background:#161616;color:#fff;font-size:12px;display:inline-flex;align-items:center;justify-content:center;transform:translateY(3px)}
.cs-body .j-d{margin:0;font-size:15px;line-height:1.5;color:var(--ink-2)}
@media (max-width:900px){.journey{grid-template-columns:repeat(5,190px)}}

/* Last, so it wins over every transition above. */
@media (prefers-reduced-motion: reduce){
.track,.st,.kw,.key,.go,.readout,.cs-toc,.cs-toc-btn,.tuner-fold,.tuner-fold .tuner{transition:none}
html{scroll-behavior:auto}
.needle.moving{animation:none}
}

/* ── Case-study pass, 2026-10-22 (Raashi: consistent grouping, two levels of detail, infographics, clips) ──────────
   Parallel items (approach steps, challenges): the text first, then the figure at full width below. Never a figure
   beside text, never text floating mid-height. */
.beats{display:grid;gap:56px}
.beat{display:grid;gap:18px}
.beat>.fig{margin:0}
.beat-text{display:grid;gap:10px;max-width:44em}
.beat-text>*{margin:0}
.beat-text p:not(.ap-k){color:var(--ink-2);line-height:1.65}

/* Two levels of detail: the whole screen, then a zoom on the part that matters. The mark on the whole shows where. */
.zoom-art{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:clamp(16px,3vw,40px);align-items:center}
.zoom-tall{grid-template-columns:minmax(0,.62fr) minmax(0,1fr)}
.zoom-taller{grid-template-columns:minmax(0,240px) minmax(0,340px);justify-content:center}
.zoom-full{position:relative;align-self:center}
.zoom-full img{display:block;width:100%;height:auto;border-radius:10px}
.zoom-mark{position:absolute;border:2px solid var(--accent);border-radius:8px;box-shadow:0 0 0 3px rgba(11,90,67,.14)}
.zoom-crop{display:grid;gap:8px}
.zoom-crop img{display:block;width:100%;height:auto;border-radius:10px;border:2px solid var(--accent)}
.zoom-k{margin:0;font-size:14px;font-weight:600;color:var(--accent)}
/* The collage (GenAI Studio, Raashi 2026-11-24, treatment D): the whole screen with the rest lightly dimmed around the mark,
   the close-up laid over it on the side the mark isn't, joined by a light curved line (drawn by the page's script). */
.zoom-collage{display:block;position:relative;--fw:74%;--cw:42%;--ct:20%}
.zoom-collage .zoom-full{width:var(--fw);overflow:hidden;border-radius:10px}
.zoom-collage.zoom-flip .zoom-full{margin-left:auto}
.zoom-collage .zoom-mark{border:0;border-radius:4px;box-shadow:0 0 0 9999px rgba(20,20,19,.22)}
.zoom-collage .zoom-crop{position:absolute;right:clamp(14px,3vw,32px);top:calc(var(--ct) + clamp(14px,3vw,32px));width:calc(var(--cw) - clamp(14px,3vw,32px));z-index:2}   /* inside the panel's padding, like the screen */
.zoom-collage.zoom-flip .zoom-crop{right:auto;left:clamp(14px,3vw,32px)}
.zoom-collage .zoom-crop img{border:5px solid #fff;border-radius:12px;box-shadow:0 0 0 1px #d9d5cb,0 14px 32px -14px rgba(20,20,19,.4)}
.zoom-line{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1}
.zoom-line .u{fill:none;stroke:rgba(20,20,19,.12);stroke-width:2.75;stroke-linecap:round}   /* lighter (Raashi, 2026-11-24: "the connector is too hefty"); was .28 at 4px over a 2px line */
.zoom-line .t{fill:none;stroke:#fff;stroke-width:1.25;stroke-linecap:round}
.zoom-line circle{fill:#fff;stroke:rgba(20,20,19,.22);stroke-width:1}
.zoom-tallc{max-width:620px;margin-inline:auto}
@media (max-width:700px){
  /* a wide screen and its close-up stack, the close-up overlapping the screen's foot; no line */
  .zoom-collage:not(.zoom-tallc) .zoom-full{width:100%}
  .zoom-collage:not(.zoom-tallc) .zoom-crop{position:relative;top:auto;width:80%;margin:-12% 0 0 auto}
  .zoom-collage.zoom-flip:not(.zoom-tallc) .zoom-crop{margin:-12% auto 0 0}
}
@media (max-width:760px){
  .zoom-art,.zoom-tall,.zoom-taller{grid-template-columns:minmax(0,1fr)}
  .zoom-tall .zoom-full,.zoom-taller .zoom-full{max-width:260px;margin-inline:auto;width:100%}
  .zoom-taller .zoom-crop{max-width:340px;margin-inline:auto;width:100%}
}

/* GenAI Studio's first version (the PoC v1 sidebar), redrawn in the app's own type (Inter) on its cool grey plate.
   Modality colours as everywhere on the page: image #c97bf4, clip #2ba8ff, video #ff932a, voice #38d189. */
.gs{font-family:'Inter',system-ui,sans-serif;color:#111827;font-size:14px;line-height:1.45}
.gs p,.gs ul,.gs ol{margin:0}
.gs ul{list-style:none;padding:0}
.gs-crumb{font-size:12.5px;line-height:1.5;color:#6b7280}
.gs-crumb span{white-space:nowrap}
.gs-crumb i{display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:4px;background:var(--m);vertical-align:.5px}
.v1{display:grid;grid-template-columns:minmax(0,250px) minmax(0,400px);justify-content:center;align-items:center;gap:clamp(20px,4vw,56px)}
.v1-nav{display:grid;gap:14px;padding:20px 14px 22px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}
.v1-top{padding:0 10px;font-size:14.5px;color:#374151}
.v1-top+.v1-grp{margin-top:4px;padding-top:16px;border-top:1px solid #eceef2}
.v1-h{display:flex;align-items:center;gap:9px;padding:0 10px;font-size:14.5px;font-weight:500}
.v1-h::before{content:"";flex:none;width:8px;height:8px;border-radius:4px;background:var(--m)}
.v1-grp ul{display:grid;gap:2px;margin-top:6px}
.v1-grp li{padding:4px 10px 4px 27px;border-radius:8px;font-size:13.5px;color:#6b7280}
.v1-grp li.on{position:relative;background:color-mix(in srgb,var(--m) 16%,#fff);color:#111827;font-weight:500}
.v1-grp li.on::after{content:"";position:absolute;left:100%;top:50%;width:calc(15px + clamp(20px,4vw,56px));border-top:2px solid color-mix(in srgb,var(--m) 75%,#fff)}
.v1-open{display:grid;gap:12px;align-self:end}
.v1-screen{display:grid;gap:12px;padding:18px;border:1px solid #e5e7eb;border-top:3px solid var(--m);border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(17,24,39,.04)}
.v1-title{font-size:19px;font-weight:600;letter-spacing:-.01em}
.v1-form{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;min-height:72px;padding:10px 10px 10px 12px;border:1px solid #e5e7eb;border-radius:10px;color:#9ca3af;font-size:13.5px}
.v1-form span:first-child{align-self:flex-start}
.v1-go{flex:none;padding:6px 12px;border-radius:8px;background:#1d46b0;color:#fff;font-weight:500;font-size:13px}
.v1-k{margin-top:2px!important;font-size:12.5px;font-weight:500;color:#6b7280}
.v1-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.v1-thumbs span{aspect-ratio:1;border-radius:8px;background:
  radial-gradient(circle at 30% 32%,#fff 0 9%,transparent 10%),
  linear-gradient(160deg,transparent 58%,color-mix(in srgb,var(--m) 55%,#fff) 59%),
  color-mix(in srgb,var(--m) 22%,#fff)}
.v1-more{font-size:14px;color:#4b5563;line-height:1.5}
.v1-more b{color:#111827;font-weight:600}
/* the four cards share their rows (title, breadcrumb, file, notes) so each starts level across them (Raashi, 2026-11-11) */
.r4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;padding:0;list-style:none;counter-reset:none}
.r4>li{position:relative;display:grid;grid-row:span 4;grid-template-rows:subgrid;gap:10px;padding:16px;border:1px solid #e5e7eb;border-top:3px solid var(--m);border-radius:14px;background:#fff}
.r4>li+li::before{content:"";position:absolute;left:-23px;top:50%;width:18px;height:18px;transform:translateY(-50%);background:no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%239ca3af' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9h11M10 5l4 4-4 4'/%3E%3C/svg%3E")}
.r4-t{display:flex;align-items:center;gap:9px;font-size:15.5px;font-weight:600;letter-spacing:-.005em}
.r4-t b{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:11px;background:#111827;color:#fff;font-size:12px;font-weight:600}
.r4-out{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;background:color-mix(in srgb,var(--m) 15%,#fff);font-size:13px;color:#374151}
.r4-out svg{flex:none;width:22px;height:22px;fill:none;stroke:color-mix(in srgb,var(--m) 70%,#111827);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.r4-out span{min-width:0;overflow-wrap:anywhere}
.r4-notes{display:grid;gap:7px;align-content:start;padding-top:4px!important;border-top:1px solid #f0f1f4}
.r4-notes li{position:relative;padding-left:24px;font-size:13.5px;line-height:1.45;color:#374151}
.r4-notes li::before{content:"!";position:absolute;left:0;top:1px;display:grid;place-items:center;width:16px;height:16px;border-radius:8px;background:#fde3ec;color:#e5383b;font-size:11px;font-weight:700}
.r4-notes li.ok::before{content:"";background:#eef0f3 no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5.2l2 2 4-4.4'/%3E%3C/svg%3E")}
/* Renders that take minutes: two bars on one time scale (Raashi, 2026-11-11: "can be better"). A unit of time is the
   same width in both rows: --w is the row's minutes (of 30), --k its markers, each a fixed 22px. The longest row
   (30 min and one marker) fills the width. */
.rn{display:grid;gap:22px;padding:clamp(16px,2.4vw,24px);border:1px solid #e5e7eb;border-radius:14px;background:#fff;container-type:inline-size}
.rn-row{display:grid;gap:10px}
.rn-row+.rn-row{padding-top:22px;border-top:1px solid #f0f1f4}
.rn-h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 16px}
.rn-h b{font-size:15.5px;font-weight:600;letter-spacing:-.005em}
.rn-h span{font-size:13.5px;color:#6b7280;font-variant-numeric:tabular-nums}
.rn-bar{display:flex;align-items:stretch;width:calc((100% - 22px) * var(--w) / 30 + var(--k) * 22px);height:40px}
.rn-s{flex:var(--t) 1 0;min-width:0;display:grid;place-items:center;border:1px solid #fff;border-radius:7px;background:color-mix(in srgb,var(--m) 78%,#fff);font-size:13px;font-weight:500;color:#111827;white-space:nowrap;overflow:hidden}
.rn-s.again{background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--m) 46%,#fff) 0 5px,color-mix(in srgb,var(--m) 20%,#fff) 5px 10px);color:#374151}
.rn-m{flex:0 0 22px;display:grid;place-items:center}
.rn-m::before{content:"";display:block;width:18px;height:18px;border-radius:9px}
.rn-m.ok::before{background:#dcfce7 no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='%2315803d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5.2l2 2 4-4.4'/%3E%3C/svg%3E")}
.rn-m.bad::before{content:"!";background:#fde3ec;color:#e5383b;font-size:12px;font-weight:800;line-height:18px;text-align:center}
.rn-note{font-size:14px;line-height:1.5;color:#4b5563}
.rn-key{display:flex;flex-wrap:wrap;gap:8px 20px;padding-top:16px;border-top:1px solid #f0f1f4;font-size:13px;color:#6b7280}
.rn-key span{display:inline-flex;align-items:center;gap:8px}
.rn-key .rn-m{width:18px;height:18px}
.rn-key .rn-ph{display:none}
.rn-key .rn-ph i{width:14px;height:14px;border-radius:4px;background:color-mix(in srgb,var(--m) 78%,#fff)}
.rn-sw{display:block;width:22px;height:14px;border-radius:4px;background:repeating-linear-gradient(135deg,#d1d5db 0 4px,#f3f4f6 4px 8px)}
@container (max-width:520px){
  .rn-s{font-size:0}
  .rn-bar{height:32px}
  .rn-key .rn-ph{display:inline-flex}
}
@media (max-width:960px){
  .r4{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .r4>li+li::before{display:none}
}
@media (max-width:640px){
  .v1{grid-template-columns:minmax(0,1fr)}
  .v1-nav,.v1-open{width:100%;max-width:340px;margin-inline:auto}
  .v1-grp li.on::after{display:none}
}
@media (max-width:480px){
  .r4{grid-template-columns:minmax(0,1fr)}
}

/* Illustrations (the vibrant kit) sit on a white plate, like the canvas of Raashi's FigJam board; outcome tiles carry one icon each. */
.cs-tiles.outcomes li{font-size:16px}
.cs-tiles.outcomes li:nth-child(n){background:#fff}
.ot-ic{display:block;width:56px;height:56px;margin-bottom:8px}
.ot-ic svg{display:block;width:100%;height:100%}
/* how each expected outcome would be measured (the concept wasn't, so it says how) */
.ot-m{display:block;margin-top:8px;padding-top:12px;border-top:1px solid #eeece6;font-size:15px;line-height:1.45;color:var(--ink-2)}
.ot-m .ot-k{display:block;margin-bottom:2px;font-size:14px;font-weight:600;color:var(--ink-2)}
.fig-art.sketch{background:#fff;padding-inline:clamp(8px,2vw,24px)}
.fig-art.sketch svg{max-width:1000px;margin-inline:auto}
@media (max-width:640px){.fig-art.sketch{padding-inline:0}}

/* The brief, as five module tiles and the extra asks. */
.brief-mods{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.brief-mods li{display:grid;align-content:start;gap:6px;padding:18px 16px;border-radius:16px;background:var(--sheet);font-size:15px;line-height:1.45;color:var(--ink-2)}
.brief-mods b{font-size:16px;font-weight:600;color:var(--ink)}
.bm-n{display:grid;place-items:center;width:26px;height:26px;border-radius:13px;background:var(--accent);color:#fff;font-size:13px;font-weight:700}
.brief-asks{display:grid;gap:8px}
.brief-asks-k{margin:0;font-size:14px;font-weight:600;color:var(--muted)}
.brief-asks ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.brief-asks li{padding:6px 12px;border-radius:16px;background:var(--card);border:1px solid var(--line);font-size:15px;color:var(--ink-2)}
.brief-note{margin:0}
@media (max-width:980px){.brief-mods{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.brief-mods{grid-template-columns:minmax(0,1fr)}}


/* Clips under the hero: muted, looping, paused off screen and for reduced motion; a button pauses it. */
.cs-clip{margin-top:40px}
.clip-art{position:relative;padding:clamp(8px,1.6vw,16px);container-type:inline-size}
/* One player for every product video (cs-clip.js): it plays by itself while on screen, with pause and expand in the
   corner; expanded, it opens over the page with a bar to move back and forth. */
video.clip,video.demo{display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:12px;background:#fff}
.clip-ui{position:absolute;right:clamp(18px,2.6vw,30px);top:clamp(18px,2.6vw,30px);display:flex;gap:6px}
.clip-btn{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px;border:0;border-radius:18px;background:rgba(22,22,22,.78);color:#fff;font:500 14px/1 var(--font,Figtree,sans-serif);cursor:pointer}
@media (hover:hover) and (pointer:fine){.clip-btn:hover{background:#161616}}
.clip-btn:focus-visible{outline:2px solid #fff;outline-offset:2px;box-shadow:0 0 0 4px #161616}
.clip-btn svg{width:14px;height:14px;flex:none}
@container (max-width:460px){.clip-ui .clip-btn{width:36px;padding:0;justify-content:center}.clip-ui .clip-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
.clip-overlay{position:fixed;inset:0;z-index:2147483000;display:grid;grid-template-rows:auto minmax(0,1fr) auto;justify-items:center;align-items:center;gap:12px;padding:clamp(12px,3vw,32px);background:#0c0c0e}
.clip-overlay video{width:100%;height:100%;aspect-ratio:auto;object-fit:contain;border-radius:0;cursor:pointer;background:none}
.clip-overlay .clip-min{justify-self:end}
.clip-bar{display:flex;align-items:center;gap:14px;width:min(100%,960px);color:#fff}
.clip-bar input[type=range]{flex:1;min-width:0;height:28px;margin:0;background:none;appearance:none;-webkit-appearance:none;cursor:pointer}
.clip-bar input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(90deg,#fff var(--at,0%),rgba(255,255,255,.28) var(--at,0%))}
.clip-bar input[type=range]::-moz-range-track{height:4px;border-radius:2px;background:rgba(255,255,255,.28)}
.clip-bar input[type=range]::-moz-range-progress{height:4px;border-radius:2px;background:#fff}
.clip-bar input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;margin-top:-5px;border-radius:7px;background:#fff}
.clip-bar input[type=range]::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:7px;background:#fff}
.clip-bar input[type=range]:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:4px}
.clip-bar .clip-btn{background:rgba(255,255,255,.14)}
.clip-time{font:500 14px/1 var(--font,Figtree,sans-serif);font-variant-numeric:tabular-nums;white-space:nowrap;color:rgba(255,255,255,.86)}
html.clip-open{overflow:hidden}

/* ── Marketing Studio product skin. Only for redrawn Marketing Studio UI inside figures (Raashi, 2026-10-22: show
   product UI "in their original product visual design", not the portfolio's green). Values taken exactly from Raashi's
   prototype (raashilathiya-intuit/marketingstudio-tenzingnorgay, list-management-oct12: its :root tokens and its
   conversation-widget rules), 2026-10-22: colours, corners, type sizes and spacing only. No files, Intuit fonts,
   icons or logos copied; invented data everywhere. */
.ms{--ms-ink:#000729;--ms-ink2:#393a3d;--ms-muted:#6b6c72;--ms-tert:#5d686f;--ms-time:#8d91a5;--ms-line:#dddee3;--ms-line2:#e5e5ec;
  --ms-bubble:#f1f1f4;--ms-user:#f5f3ff;--ms-canvas:#f6f6f6;--ms-accent:#5d47d5;--ms-purple:#7b61ff;--ms-agent:#5d47d5;
  --ms-blue:#0365ac;--ms-ok:#108000;--ms-ok-bg:#e5f4d9;--ms-info:#6f5ade;--ms-warn:#c9500f;--ms-red:#d52b1e;--ms-lav:#f5f3ff;
  /* Avenir Next where the system has it (the prototype's family, without Intuit's own cut), else Figtree */
  font-family:"Avenir Next",Figtree,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:14px;line-height:1.5;
  letter-spacing:.01em;color:var(--ms-ink);text-align:left}
.ms *,.ms *::before,.ms *::after{box-sizing:border-box}
.ms p{margin:0;max-width:none}
/* the conversation pane: white-ish panel, 1px #dddee3, 20px corners */
.ms-panel{display:grid;gap:16px;align-content:start;padding:20px;border:1px solid var(--ms-line);border-radius:20px;background:#fdfdfd}
/* messages: the agent's reply is a full-width grey bubble; the person's is lilac, on the right. No avatars or names. */
.ms-row{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.ms-row:has(>.ms-msg.user){align-items:flex-end}
.ms .ms-bot,.ms .ms-uav,.ms .ms-who{display:none}
.ms-msg{display:grid;gap:12px;width:100%;min-width:0;padding:16px;border-radius:12px;background:var(--ms-bubble);font-size:14px;font-weight:500;line-height:1.5;color:var(--ms-ink)}
.ms-msg>*{min-width:0}
.ms-msg.user{width:auto;max-width:80%;background:var(--ms-user);font-size:16px;font-weight:400;line-height:1.65}
.ms-strong{font-weight:600}
/* From/To table: 125px key column, 16px cells, regular keys, medium values, 12px corners */
.ms-ft{display:grid;grid-template-columns:125px minmax(0,1fr);margin:0;border:1px solid #e8e8ec;border-radius:12px;overflow:hidden;background:#fff;font-size:16px;line-height:1.5}
.ms-ft dt{padding:16px;color:var(--ms-ink2);font-weight:400;border-right:1px solid #d4d7dc;border-bottom:1px solid var(--ms-line)}
.ms-ft dd{margin:0;padding:16px;color:var(--ms-ink2);font-weight:500;border-bottom:1px solid var(--ms-line)}
.ms-ft dt:last-of-type,.ms-ft dd:last-of-type{border-bottom:0}
/* reply pills (Approve, Looks good): white, 1px purple, fully round */
.ms-btns{display:flex;flex-wrap:wrap;gap:8px}
.ms-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 16px;border:1px solid var(--ms-purple);border-radius:999px;background:#fff;color:var(--ms-purple);font-size:14px;font-weight:500;line-height:1.4;white-space:nowrap}
.ms-btn svg{width:14px;height:14px;flex:none}
.ms-btn.danger{border-color:var(--ms-red);color:var(--ms-red)}
.ms-btn.dead{border-color:var(--ms-line);color:#babec5;background:#fff}
/* a recorded reply: grey, beside its mark */
.ms-done{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:400;color:var(--ms-time)}
.ms-done svg{width:16px;height:16px;color:var(--ms-ok)}
.ms-done .ms-av{flex:none;border-radius:50%}   /* the person's avatar on a recorded reply (the build's .cardReply__avatar) */
/* object card: white, 1px purple, 12px corners, the icon on a pale tile, a purple eye */
.ms-obj{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:4px 9px;align-items:center;padding:16px;border:1px solid var(--ms-purple);border-radius:12px;background:#fff}
.ms-obj>svg:first-child{box-sizing:content-box;width:20px;height:20px;padding:8px;border:1px solid #eee;border-radius:6px;background:#fbfbfb;color:#656a81}
.ms-obj>p{min-width:0}
.ms-obj .ms-h{display:block;font-size:16px;font-weight:500;letter-spacing:.16px;color:var(--ms-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}   /* one line, cut with an ellipsis (the build's .objectCard__name) */
.ms-obj small{display:block;font-size:14px;font-weight:400;color:var(--ms-tert)}
.ms-obj>span svg{width:20px;height:20px;color:var(--ms-purple)}
.ms-obj.accepted small{color:var(--ms-ok)}
/* status chips: 12px, medium, 4px corners */
.ms-badge,.ms-beta{display:inline-flex;align-items:center;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;line-height:1.4;vertical-align:1px}
.ms-badge{background:#d6ebff;color:#0a73dc}
.ms-badge.live{background:#e5f4d9;color:#108000}
.ms-badge.edited{background:#ffff80;color:#393a3d}   /* the build's badge--edited */
.ms-beta{margin-left:6px;background:#d9f6f5;color:#008481}
/* the prompt box: 1.5px blue-purple, 16px corners; a selection rides along as a band across its top */
.ms-composer{display:grid;gap:8px;padding:14px 16px;border:1.5px solid #5358f8;border-radius:16px;background:#fff;font-size:16px;font-weight:400;line-height:1.5}
.ms-chip{justify-self:stretch;display:flex;align-items:center;gap:8px;margin:-14px -16px 2px;padding:10px 16px;border-radius:14.5px 14.5px 0 0;background:#f4f5f8;color:#3a393d;font-size:14px;font-weight:400}
.ms-chip{justify-content:space-between}   /* the count on the left, a clear × on the right (the build's .selBar) */
.ms-chip svg{width:14px;height:14px;flex:none;color:#6b6c72}
.ms-ph{color:#656a81}
.ms-send{justify-self:end;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:transparent;color:var(--ms-ink2)}
.ms-send svg{width:16px;height:16px}
/* the plan's step bar and its task list */
.ms-tracker{display:grid;grid-template-columns:20px minmax(0,1fr) 16px;gap:10px;align-items:center;padding:14px 20px;border:1px solid var(--ms-line);border-radius:12px;background:#fff;font-size:14px;font-weight:500;color:var(--ms-ink)}
.ms-tracker b{font-weight:600}
.ms-tasks{list-style:none;margin:0;padding:6px 0 0;display:grid;gap:4px;grid-column:1 / -1;border-top:1px solid var(--ms-line)}
.ms-tasks li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:6px;align-items:center;font-size:14px;font-weight:400;color:var(--ms-tert)}
.ms-tasks li:has(.ms-ok){color:#3a393d}
.ms-spin{display:inline-block;width:16px;height:16px;border-radius:50%;border:2px solid #d4d7dc;border-top-color:var(--ms-accent)}
/* the build's loading state (.agentTasks): no bubble; the loader icon and the label, then sub-steps with bare ticks */
.ms-load{display:grid;gap:6px;padding:2px 4px;font-size:14px;line-height:1.5}
.ms .ms-load p{margin:0}
.ms-load-h{display:flex;align-items:center;gap:6px;font-weight:500;color:var(--ms-ink)}
.ms .ms-prop{flex:none;width:16px;height:16px}   /* .ms: ".fig-art svg" (width:100%) would otherwise stretch it */
.ms-load ul{list-style:none;margin:0;padding:2px 0 0 20px;display:grid;gap:4px}
.ms-load li{display:flex;align-items:center;gap:6px;color:#5d686f}
.ms .ms-load li svg{flex:none;width:14px;height:14px;color:#d4d7dc}
.ms-load li.done{color:#3a393d}.ms .ms-load li.done svg{color:#393a3d}
.ms .ms-load li.now svg{color:#6b6c72}
.ms-num{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;border:1px dashed #c7c9d1;font-size:11px;color:#656a81}
.ms-ok{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--ms-ok);color:#fff}
.ms-ok svg{width:12px;height:12px}
/* the plan: white, 1px #e5e5ec, 8px corners, 16px rows */
.ms-plan{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e5e5ec;border-radius:8px;overflow:hidden;background:#fff;font-size:16px;line-height:1.5}
.ms-plan th{padding:16px;text-align:left;font-weight:400;color:#656a81;border-bottom:1px solid #f0f0f2}
.ms-plan td{padding:16px;font-weight:500;color:var(--ms-ink);border-bottom:1px solid #f0f0f2;vertical-align:middle}
.ms-plan th:first-child,.ms-plan td:first-child{width:56px}   /* the marker column: number, spinner or check */
.ms-plan .ms-num{width:22px;height:22px;font-size:12px}
.ms-plan .ms-ok{width:22px;height:22px;background:#029900}
/* the sticky step bar under the tabs (the build's .ai__step): marker, "n.  Task", chevron, stop; rounded at the foot */
.ms-step{display:flex;align-items:center;gap:10px;padding:14px 20px;border-bottom:1px solid var(--ms-line);border-radius:0 0 12px 12px;background:#fdfdfd;font-size:14px;font-weight:500;line-height:1.4;color:var(--ms-ink)}
.ms-step>span:nth-child(2){flex:1;display:inline-flex;align-items:center;gap:6px;white-space:pre}
.ms-step svg{width:16px;height:16px;color:#6b6c72;flex:none}
.ms-step>svg{width:18px;height:18px}
.ms-panel>.ms-step:first-child{margin:-20px -20px 0;border-radius:19px 19px 12px 12px}
.ms-step.open{flex-wrap:wrap}
.ms-step.open .ms-tasks{flex-basis:100%;margin-top:4px;padding:12px 0 2px;gap:10px}
/* the expanded list's marks: all 20 px, the tick white and small (.ms-step svg would make it 16 px and grey) */
.ms-step :is(.ms-ok,.ms-num,.ms-spin){box-sizing:border-box;width:20px;height:20px}
.ms-step .ms-ok svg{width:12px;height:12px;color:#fff}
/* the step bar's three states, side by side as separate bars */
.ms-panel.ms-states>.ms-step,.ms-panel.ms-states>.ms-step:first-child{margin:0;border:1px solid var(--ms-line);border-radius:12px}
/* the settled record above a task's message (the build's disclosure): the task's name and a chevron */
.ms-disc{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:400;line-height:1.5;color:var(--ms-ink)}
.ms-disc svg{width:16px;height:16px;color:var(--ms-ink2)}
.ms-plan tr:last-child td{border-bottom:0}
/* fields: 14px grey label, 16px input, 1px #dddee3, 8px corners; focus in the purple */
.ms-field{display:grid;gap:4px}
.ms-field>span{font-size:14px;font-weight:400;line-height:1.3;color:var(--ms-muted)}
.ms-input{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;padding:6px 8px;border:1px solid var(--ms-line);border-radius:8px;background:#fff;font-size:16px;font-weight:400;line-height:1.3;color:var(--ms-ink)}
.ms-input.focus{border-color:var(--ms-purple);outline:3px solid rgba(123,97,255,.14)}
.ms-input svg{width:14px;height:14px;color:var(--ms-ink2)}
.ms-menu{list-style:none;margin:2px 0 0;padding:4px;border:1px solid var(--ms-line);border-radius:8px;background:#fff;display:grid;gap:2px}
.ms-menu li{display:flex;justify-content:space-between;align-items:center;padding:8px;border-radius:4px;font-size:16px}
.ms-menu li.on{background:var(--ms-lav);font-weight:500}
.ms-menu svg{width:14px;height:14px;color:var(--ms-accent)}
/* notes: white, 8px corners, 16px padding, 14px grey text; warnings and blockers carry a 1px border in their colour */
.ms-note{display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px;padding:16px;border-radius:8px;background:#fff;font-size:14px;font-weight:400;line-height:1.5;color:var(--ms-muted)}
.ms-note svg{width:16px;height:16px;margin-top:2px}
.ms-note.info svg{color:var(--ms-info)}
.ms-note.warn{border:1px solid var(--ms-warn)} .ms-note.warn svg{color:var(--ms-warn)}
.ms-note.block{border:1px solid var(--ms-red)} .ms-note.block svg{color:var(--ms-red)}
.ms-link{display:inline-flex;align-items:center;gap:6px;color:var(--ms-blue);font-weight:500;font-size:14px}
.ms-link svg{width:13px;height:13px}
/* the canvas table: grey header #f4f5f8, 1px #e9e9ec, 12px corners, 16px/20px cells */
.ms-table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;background:#fff;border:1px solid #e9e9ec;border-radius:12px;overflow:hidden}
.ms-table th{padding:12px 20px;text-align:left;font-weight:400;line-height:1.5;color:#656a81;background:#f4f5f8;border-bottom:1px solid #e9e9ec;white-space:nowrap}
.ms-table td{padding:16px 20px;font-weight:400;line-height:1.3;color:var(--ms-ink);border-bottom:1px solid #f1f1f3}
.ms-table tr:last-child td{border-bottom:0}
.ms-table tr.sel td{background:#f2f0ff}
.ms-table tr.new td{background:#fff8d9}
.ms-table td:first-child,.ms-table .ms-hl{white-space:nowrap}   /* an ID or a changed value never breaks mid-word in a figure-sized table */
.ms-table.compact th,.ms-table.compact td{padding-left:10px;padding-right:10px;white-space:nowrap}   /* five columns in a half-width panel */
/* The playback's canvas: the table sits flush under the panel's header (one frame, not a card in a card), rows stay on
   one line, and both panels of the figure are the same height (Raashi, 2026-11-02). */
.ms-canvas>.ms-table,.ms-canvas>.ms-ft{border:0;border-radius:0}
.ms-canvas>.ms-ft{font-size:15px}
.ms-canvas>.ms-ft :is(dt,dd){padding:10px 14px}
.ms-cols:has(>div>.ms-canvas){align-items:stretch}
.ms-cols:has(>div>.ms-canvas)>div{display:flex;flex-direction:column}
.ms-cols:has(>div>.ms-canvas)>div>:is(.ms-panel,.ms-canvas){flex:1}
.ms-canvas{container-type:inline-size}
/* The prototype is a desktop app (its conversation pane is never under 360px). On a phone the figures step down a little,
   so a From/To value or a table row still fits: tighter padding, a narrower key column, 15px text. Desktop stays exact. */
@media (max-width:560px){
  .ms-panel{padding:12px;border-radius:16px}
  .ms-msg{padding:12px}
  .ms-ft{grid-template-columns:88px minmax(0,1fr);font-size:15px}
  .ms-ft dt,.ms-ft dd{padding:10px 12px}
  .ms-plan,.ms-table,.ms-composer{font-size:15px}
  .ms-plan th,.ms-plan td{padding:12px}
  .ms-table th,.ms-table td{padding:10px 12px}
  .ms-table td:first-child,.ms-table .ms-hl{white-space:normal}
  .ms-table.compact th,.ms-table.compact td{padding-left:8px;padding-right:8px}
  .ms-table.compact td:first-child{white-space:nowrap}
}
/* after the phone rules, so they win: the compact table sizes to its panel, not the screen */
@container (max-width:480px){.ms-table .opt{display:none}}   /* too narrow for five columns: the unchanged Button column drops */
@container (max-width:300px){.ms-table.compact{font-size:14px}.ms-table.compact th,.ms-table.compact td{padding-left:6px;padding-right:6px}}   /* the smallest phones */
.ms-cb{display:inline-block;width:16px;height:16px;border:1.5px solid #6b6c72;border-radius:4px;vertical-align:-3px}
.ms-cb.on{background:var(--ms-accent);border-color:var(--ms-accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:100%}

/* Figures built from the skin: product UI on the figure plate, laid out per figure. */
.ms-fig{display:grid;gap:16px}
.ms-cols{display:grid;grid-template-columns:repeat(var(--cols,2),minmax(0,1fr));gap:16px;align-items:start}
/* .ms .ms-k / .ms .ms-tag: ".ms p{margin:0}" above outranks a lone class and was zeroing these gaps (Raashi: "spacing between title and card is too tight") */
.ms .ms-k{margin:0 0 16px;font:600 15px/1.3 var(--font);color:var(--ink)}
.ms .ms-tag{font:400 15px/1.45 var(--font);color:var(--ink-2);margin:14px 0 0}
/* the agent's purple robot, a user's initials, and the small parts the redraws share */
.ms-bot{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#9c72e4,#6036a8)}
.ms-bot svg{width:18px;height:18px}
/* the transcript's selection line (the build's .selCtx): a corner arrow, a rule above */
.ms-sel{display:flex;align-items:center;gap:10px;padding-top:10px;border-top:1px solid var(--ms-line);font-size:14px;color:#3a393d}
.ms-sel svg{width:18px;height:18px;flex:none;color:#6b6c72}
.ms-h{font-weight:600}
.ms-quiet{opacity:.45}
.ms-scroll{display:grid;gap:12px;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}
.ms-faded{-webkit-mask-image:linear-gradient(transparent,#000 60%);mask-image:linear-gradient(transparent,#000 60%)}
.fig-art.ms-plate{background:#fff;padding:16px}
/* Conversation widgets, the main path as stages: what happens and what you do, beside one product panel
   (Raashi, 2026-11-09: "no grouping on why we are doing what we're doing and what are we even looking at") */
.cw-stages{list-style:none;margin:8px 0 0;padding:0;display:grid}
.cs-body .cw-stage{max-width:none;display:grid;grid-template-columns:minmax(0,16rem) minmax(0,1fr);gap:16px 36px;align-items:start;padding:32px 0;border-top:1px solid var(--line)}
.cs-body .cw-stage:first-child{border-top:0;padding-top:8px}
.cw-st-text{position:sticky;top:96px}
.cs-body .cw-st-h{display:flex;align-items:center;gap:10px;margin:0 0 10px;font:600 20px/1.3 var(--font);color:var(--ink)}
.cw-st-n{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:14px;background:#0b84d8;color:#fff;font-size:15px;font-weight:700}
.cs-body .cw-st-d{margin:0 0 12px;font-size:16px;line-height:1.55;color:var(--ink-2)}
.cs-body .cw-st-you{margin:0 0 12px;font-size:16px;line-height:1.5;color:var(--ink)}
/* the widgets a stage uses, as plain text like the homepage cards' tags (Raashi, 2026-11-10: lavender pills on the
   greige page, "see contrast and colours") */
.cs-body .cw-st-w{margin:0;font-size:16px;line-height:1.5;color:var(--ink-2)}
.cw-st-w b{color:var(--ink)}
.cw-st-ui{display:grid;gap:30px;min-width:0}
/* each widget carries its own label: number, name · what it does, then what you do (Raashi, 2026-11-10) */
.cw-w{display:grid;gap:8px;min-width:0}
.cs-body .cw-w-h{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:16px;line-height:1.45;color:var(--ink-2)}
.cw-w-h b{color:var(--ink)}
.cw-w-n{flex:none;display:grid;place-items:center;width:22px;height:22px;margin-top:0;border-radius:11px;border:1.5px solid #0b84d8;color:#0b5fa5;font-size:12.5px;font-weight:700}
.cs-body .cw-w-you{margin:-2px 0 2px 32px;font-size:15px;line-height:1.45;color:var(--ink-2)}
.cw-w-you b{color:var(--ink)}
.cw-w-ui{min-width:0}
/* each widget on the main path is a short video of itself at work (cs-clip.js gives it the same player as the others) */
.cw-clip{padding:0;border-radius:14px;overflow:hidden;background:#fafafa;box-shadow:0 0 0 1px #e3e1da}
.cw-clip video.clip{border-radius:14px;background:#fafafa}
.cw-now{margin:0;font-size:13px;font-weight:600;color:var(--ms-muted)}
.cw-clip .clip-ui{right:10px;top:10px}
.cw-bar>.ms-step{border:1px solid var(--ms-line);border-radius:12px;background:#fff}
@media (max-width:760px){.cs-body .cw-stage{grid-template-columns:minmax(0,1fr)}.cw-st-text{position:static}}
/* the decisions: every comparison labelled the same way, what we didn't do (grey, dashed) beside what we did */
.cw-vs{min-width:0}
.ms .ms-k.no,.ms .ms-k.yes,.ms .ms-k.lvl{display:flex;align-items:center;gap:8px}
.ms-k.no::before,.ms-k.yes::before{content:"";flex:none;width:20px;height:20px;border-radius:10px;background-position:center;background-repeat:no-repeat;background-size:12px}
.ms .ms-k.no{color:var(--ink-2)}
.ms-k.no::before{background-color:#e6e4dd;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%236b6a63' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")}
.ms-k.yes::before{background-color:#5d47d5;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.cw-vs.no .ms-panel{border-style:dashed;background:#f7f7f5}
.cw-vs.no .ms-panel>*{opacity:.75}
.cw-vs.l1{--lvl:#9b85e0}.cw-vs.l2{--lvl:#f28b3c}.cw-vs.l3{--lvl:#e5383b}
.cw-vs.lvl .ms-panel{border-top:5px solid var(--lvl)}
.ms-k.lvl::before{content:"";flex:none;width:10px;height:10px;border-radius:5px;background:var(--lvl)}
.cs-body .cw-dec-at{margin:0;font-size:15px;font-weight:600;color:#0b5fa5}   /* sentence case, never all caps (Raashi, 2026-11-10) */
.cw-dec{display:grid;gap:12px}
.cw-dec>*{margin:0}
.cw-dec p{color:var(--ink-2);line-height:1.65}
.cw-decs{display:grid;gap:56px;margin-top:8px}
.ms-stack{display:grid;gap:22px;align-content:start}
/* the main path as frames: four, then three; numbers in the same deep blue as the drawn routes */
.ms-story{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 20px}
.ms-frame{display:grid;grid-template-rows:auto auto 1fr;gap:8px;align-content:start;min-width:0;max-width:none}
.sf-t{display:flex;align-items:center;gap:8px;margin:0;font:600 16px/1.3 var(--font);color:var(--ink)}
.sf-n{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:13px;background:#0b84d8;color:#fff;font-size:14px;font-weight:700}
.sf-ui{display:grid;align-content:start;gap:12px;min-width:0}
.sf-d{margin:0 0 8px;font:400 16px/1.5 var(--font);color:var(--ink-2)}
@media (max-width:760px){.ms-story{grid-template-columns:minmax(0,1fr)}}
/* Marketing Studio: the product's canvas table, its "Highlight changes" switch and its changed-value highlight */
.ms-canvas{border:1px solid var(--ms-line);border-radius:12px;background:#fff;overflow:hidden}
.ms-canvas-h{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:12px 14px;border-bottom:1px solid var(--ms-line)}
.ms-toggle{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--ms-ink)}
.ms-toggle i{position:relative;width:30px;height:18px;border-radius:9px;background:#d4d7dc}
.ms-toggle i::after{content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#fff}
.ms-toggle.on i{background:var(--ms-agent)}
.ms-toggle.on i::after{left:14px}
.ms-hl{padding:1px 5px;border-radius:3px;background:#ffff80;color:inherit}
.ms-foot{padding:16px 20px;font-size:14px;color:var(--ms-muted)}
/* Marketing Studio: three prototypes, then the release (wireframes in the product's palette) */
/* three prototypes on top; the 2025 release and today's design side by side below */
.evo{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:28px 18px}
.evo li{display:grid;gap:6px;align-content:start;max-width:none;grid-column:span 2}
.evo li.rel,.evo li.now{grid-column:span 3}
.evo-t{display:flex;align-items:center;gap:8px;margin:0;font-size:16px;font-weight:600;color:var(--ink)}
.evo-n{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 8px;border-radius:13px;background:#e7defc;color:#3d2d75;font-size:14px;font-weight:700}
.evo li.rel .evo-n{background:#ececec;color:#3d3d3d}
.evo li.now .evo-n{background:#cfe8fc;color:#0b5fa5}
.evo-d{margin:0;font-size:15px;line-height:1.45;color:var(--ink-2);min-height:2.9em}
.evo-art svg{display:block;width:100%;height:auto;margin-top:4px}
.evo li.now .evo-art svg>rect:first-child{stroke:#1aa3f5;stroke-width:3}
@media (max-width:900px){.evo{grid-template-columns:repeat(2,minmax(0,1fr))}.evo li,.evo li.rel,.evo li.now{grid-column:auto}}
@media (max-width:480px){.evo{grid-template-columns:minmax(0,1fr)}.evo-d{min-height:0}}
/* Marketing Studio: impact as a timeline, in the illustration style (stage pills, as in Raashi's FigJam diagram) */
.tl{display:grid;gap:20px}
.tl .ship{--c:#1aa3f5;--bg:#cfe8fc}.tl .star{--c:#f2b705;--bg:#fdf0c4}.tl .me{--c:#9b85e0;--bg:#efe9fc}
.tl-key{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px;font-size:15px;color:var(--ink-2)}
.tl-key li{display:inline-flex;align-items:center;gap:8px}
.tl-key li::before{content:"";width:14px;height:14px;border-radius:50%;background:var(--c)}
.tl-list{list-style:none;margin:0;padding:0;display:grid}
.tl-list li{position:relative;display:grid;grid-template-columns:7.5em 22px minmax(0,1fr);gap:0 14px;max-width:none;padding-bottom:20px}
.tl-list li::before{content:"";position:absolute;left:calc(7.5em + 24px);top:10px;bottom:-10px;width:2px;background:#dcdce6}
.tl-list li:last-child::before{display:none}
.tl-when{padding-top:3px;font-size:15px;font-weight:600;color:var(--ink-2);text-align:right}
.tl-dot{position:relative;width:18px;height:18px;margin:5px auto 0;border-radius:50%;background:var(--c);box-shadow:0 0 0 4px #fff}
.tl-what{margin:0;font-size:16px;line-height:1.5;color:var(--ink-2)}
.tl-what b{display:table;margin-bottom:4px;padding:2px 10px;border-radius:5px;background:var(--bg);color:var(--ink);font-weight:600}
@media (max-width:560px){
  .tl-list li{grid-template-columns:22px minmax(0,1fr);gap:2px 12px}
  .tl-list li::before{left:10px}
  .tl-dot{grid-row:1 / 3;grid-column:1}
  .tl-when{grid-column:2;text-align:left;padding-top:0}
  .tl-what{grid-column:2}
}
/* Marketing Studio impact as a Gantt: workstreams as rows, bars for design work, diamonds for launches.
   Positions are % across the track (build_ms_figs.py); 46–54% is the break between the two years. */
.gt{--w:#9b85e0;--est:repeating-linear-gradient(135deg,#9b85e0 0 3px,#ddd4f6 3px 7px);--live:#1aa3f5;--star:#f2b705;--rule:#ececf2;display:grid;gap:18px;color:var(--ink-2)}
.gt-key{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 20px;font-size:15px}
.gt .gt-key li{display:inline-flex;align-items:center;gap:8px;max-width:none}
.gt-key li::before{content:"";flex:none}
.gt-key .bar::before{width:24px;height:10px;border-radius:5px;background:var(--w)}
.gt-key .est::before{width:24px;height:10px;border-radius:5px;background:var(--est)}
.gt-key .doc::before{width:11px;height:14px;border-radius:2px;background:var(--ink)}
.gt-key .live::before{width:11px;height:11px;margin:0 2px;border-radius:2px;background:var(--live);transform:rotate(45deg)}
.gt-key .star::before{width:16px;height:16px;background:var(--star);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
.gt-head,.gt-row{display:grid;grid-template-columns:16.5rem minmax(0,1fr);gap:0 18px;align-items:start}
.gt-axis{position:relative;height:46px;border-bottom:1px solid #dcdce6}
.gt-yr{position:absolute;top:0;font-size:14px;font-weight:600;color:var(--ink)}
.gt-mo{position:absolute;bottom:6px;transform:translateX(-50%);font-size:14px;color:var(--ink-2)}
.gt-now{position:absolute;right:0;top:0;font-size:14px;font-weight:600;color:var(--ink)}
.gt-rows{list-style:none;margin:0;padding:0;display:grid}
.gt .gt-row{max-width:none;padding:10px 0;border-bottom:1px solid var(--rule)}
.gt .gt-grp{max-width:none;padding:22px 0 8px;border-bottom:1px solid #dcdce6;font-size:15px;font-weight:700;color:var(--ink-2)}   /* one heading per group of rows */
.gt-name{margin:0;font-size:15px;line-height:1.4}
.gt-name b{display:block;font-size:16px;font-weight:600;color:var(--ink)}
.gt-track{position:relative;height:52px}
.gt-track.bare{height:24px}   /* a row with no launch: no label line */
.gt-ml{position:absolute;top:-12px;bottom:-12px;width:1px;background:var(--rule)}   /* a line at each month's start */
.gt-track::after{content:"";position:absolute;right:0;top:-12px;bottom:-12px;border-right:2px dashed #b7b9c6}
.gt-bar{position:absolute;top:6px;height:14px;border-radius:7px;background:var(--w)}
.gt-bar.on{border-radius:7px 0 0 7px}
.gt-bar.est{background:var(--est)}
.gt-mk{position:absolute;top:13px;width:16px;height:16px;margin:-8px 0 0 -8px}
.gt-mk.live{width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:2px;background:var(--live);box-shadow:0 0 0 3px #fff;transform:rotate(45deg)}
.gt-mk.star{width:22px;height:22px;margin:-11px 0 0 -11px;background:var(--star);filter:drop-shadow(0 0 1.5px #fff);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
.gt-mk.doc{width:12px;height:15px;margin:-7.5px 0 0 -6px;border-radius:2px;background:var(--ink);box-shadow:0 0 0 3px #fff}
.gt-lab{position:absolute;top:28px;margin-right:-8px;white-space:nowrap;font-size:15px;font-weight:600;color:var(--ink)}
.gt-lab.l{margin:0 0 0 -8px}
.gt-lab.end{margin:0}
.gt-track.two{height:74px}
.gt-lab.l2{top:50px}   /* a second line, where two launches sit close together */
.gt-mk.live{z-index:1}
@media (max-width:640px){
  .gt-head,.gt-row{grid-template-columns:minmax(0,1fr)}
  .gt-head>span{display:none}
  .gt-name{margin-bottom:8px}
  .gt-mo,.gt-yr,.gt-now{font-size:13px}
  .gt-yr.y0{display:none}   /* 2024 is only November and December: no room for its label on a phone */
}
/* Chetak: the audit's own annotation language (black pins, purple dashed marks) */
.audit-ink{--accent:#161616}
.fig-art.cert img{max-width:560px;margin-inline:auto}
.anat{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;align-items:center}
.anat-shot{position:relative;align-self:start}
.anat-shot img{display:block;width:100%;height:auto;border-radius:8px;border:1px solid #e1e3ea}
.anat-mark{position:absolute;border:2.5px dashed #8b5cf6;border-radius:6px}
.anat-parts{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.anat-parts li{max-width:none;display:grid;gap:4px;padding:12px 14px;border-radius:6px;font-size:16px;line-height:1.5;color:var(--ink)}
.anat-parts p{margin:0}
.anat-k{font-size:15px;font-weight:600;color:var(--ink-2)}
.anat-parts .where{padding-inline:0}
.anat-tag{display:inline-block;margin:2px 8px 0 0;padding:4px 12px;border-radius:5px;background:#cfe8fc;color:#0b3f6e;font-size:15px;font-weight:500}
.anat-parts .saw{border:2px dashed #cdb8f3;background:#fbf9ff}
.anat-parts .cost{position:relative;border:2px solid #f2a0bf;background:#fde3ec}
.anat-parts .cost::after{content:"!";position:absolute;right:12px;top:4px;font-size:24px;font-weight:800;color:#e5383b;transform:rotate(-12deg)}
.anat-parts .fix{border:1.5px solid #9fd6b8;background:#effaf3}
@media (max-width:760px){.anat{grid-template-columns:minmax(0,1fr)}}
/* Conversation widgets, where it stands: a status board in the illustration style (lilac dashed columns, status tabs) */
.sb{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:16px;align-items:start}
.sb-col{display:grid;gap:12px;padding:16px;border:2px dashed #cdb8f3;border-radius:8px;background:#fbf9ff}
.sb-h{justify-self:start;margin:0;padding:4px 12px;border-radius:4px;font-size:16px;font-weight:600;line-height:1.4}
.sb-col.shipped .sb-h{background:#d7f5e4;color:#0f5c38}
.sb-col.beta .sb-h{background:#fff1c7;color:#6b4a00}
.sb-col.none .sb-h{background:#e7defc;color:#3d2d75}
.sb ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.sb-col.shipped ul{grid-template-columns:repeat(2,minmax(0,1fr))}
.sb li{max-width:none;padding:9px 12px;border:1px solid #e1e3ea;border-radius:6px;background:#fff;font-size:16px;line-height:1.35;color:var(--ink)}
.sb-col.none li{border:1.5px dashed #9b85e0}
.sb-note{margin:0;font-size:15px;line-height:1.5;color:var(--ink-2)}
@media (max-width:860px){.sb{grid-template-columns:minmax(0,1fr)}}
@media (max-width:420px){.sb-col.shipped ul{grid-template-columns:minmax(0,1fr)}}
@media (max-width:860px){.ms-cols{grid-template-columns:minmax(0,1fr)}}
@media (max-width:480px){.ms-btn{white-space:normal;padding:5px 12px;text-align:left}}

/* Conversation widgets "What made it hard": four tensions as white cards, the case study's colour on the top edge
   (Marketing Studio's outcome cards). Two ways to get it wrong (x), then what we chose (tick). Raashi, 2026-11-10. */
.tensions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tn{padding:18px 22px 6px;border-radius:18px;background:#fff}
.cs-body .tn-h{margin:0 0 4px;font-size:18px;font-weight:700;line-height:1.35;color:var(--ink)}
.tn ul{list-style:none;margin:0;padding:0}
.cs-body .tn li{max-width:none;display:grid;grid-template-columns:22px minmax(0,1fr);gap:2px 12px;padding:12px 0;border-top:1px solid #eeece6}
.cs-body .tn li:first-child{border-top:0}
.tn li svg{grid-row:span 2;width:22px;height:22px}
.tn li b{font-size:16px;line-height:1.35;color:var(--ink)}
.tn li span{font-size:15px;line-height:1.45;color:var(--ink-2)}
@media (max-width:760px){.tensions{grid-template-columns:1fr}}

/* Campaign Diagnostics: an idea for next, under the partners' asks (Raashi, 2026-11-14: the assignee drop-down) */
.cs-body>p.mr-next{margin:4px 0 0;padding:16px 20px;border-radius:14px;background:var(--card);border:1px dashed #d9d7cf}
.mr-next b{color:var(--ink)}
/* Campaign Diagnostics, "What people were missing": three numbers in a row (Raashi, 2026-11-18) */
.mr-stats.mr-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:760px){.mr-stats.mr-3{grid-template-columns:minmax(0,1fr)}}
/* Continuous discovery (drafts/case-studies/continuous-discovery): redrawn figures, invented data (2026-11-22; reworked the
   same day after Raashi's review: show the sessions and what they produced, with real before/after screens) */
.cd-stats,.cd-trace,.cd-loop,.cd-ba,.cd-words{font-size:14.5px;line-height:1.4;color:var(--ink-2);text-align:left}
.fig-art .cd-arr{width:16px;height:16px;max-width:16px;flex:none;color:var(--muted)}
/* the hero numbers */
.cd-stats{list-style:none;margin:0;padding:clamp(14px,2vw,24px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}   /* three cards fill the row (Raashi, 2026-11-24: an empty quarter at 5 columns) */
.cd-stats li{display:grid;gap:4px;align-content:start;padding:18px;border-radius:14px;background:var(--card);max-width:none}
.cd-stats b{font-size:clamp(34px,3.6vw,52px);line-height:1;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.cd-stats span{font-weight:600;color:var(--ink)}
.cd-stats small{font-size:13px;color:var(--muted)}
/* every session, traced */
.cd-trace{padding:clamp(14px,2vw,24px)}
.cd-trace-key{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;margin:0 0 12px;font-size:13px;color:var(--muted)}
.cd-trace-key p{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.cd-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--ink)}
.cd-dot.w{background:#b9b6ad;margin-left:8px}
.cd-trace-h,.cd-trace li{display:grid;grid-template-columns:4.2rem 9.5rem minmax(0,1fr) 15rem;gap:14px;align-items:start}
.cd-trace-h{padding:0 14px 6px;font-size:12px;font-weight:700;color:var(--muted)}
.cd-trace ol{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.cd-trace li{padding:11px 14px;border-radius:10px;background:var(--card);box-shadow:inset 3px 0 0 var(--ink);max-width:none}
.cd-trace li.w{box-shadow:inset 3px 0 0 #b9b6ad}
.cd-d{color:var(--ink);white-space:nowrap}
.cd-t{font-weight:600;color:var(--ink)}
.cd-trace q{quotes:"\201C" "\201D";color:var(--ink-2)}
.cd-chips{display:flex;flex-wrap:wrap;gap:4px}
.cd-chip{display:inline-block;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.35;white-space:nowrap}
.cd-chip.ship{background:#13a35a;color:#fff}
.cd-chip.req{background:#e2e9fb;color:#1c3f9e}
.cd-chip.word{background:#fff0c2;color:#6b4e00}
.cd-chip.cut{background:#ecebe6;color:#4b4a45}
.cd-chip.des{background:#fff;color:#4b4a45;box-shadow:inset 0 0 0 1px #cfccc3}
/* before and after: two redrawn screens, then the users' words */
.cd-ba{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:clamp(14px,2vw,24px) clamp(14px,2vw,24px) 0}
.cd-pane{display:grid;gap:8px;align-content:start;min-width:0}
.cd-when{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:13px;color:var(--muted)}
.cd-when b{font-size:12px;color:var(--ink)}
.cd-pane.now .cd-when b{color:#0b7a40}
.cd-scr{border-radius:12px;background:var(--card);border:1px solid #e3e1da;overflow:hidden}
.cd-pane.now .cd-scr{border-color:#9fd6b6;box-shadow:0 0 0 3px #dcf1e4}
.cd-bar{margin:0;display:flex;align-items:center;gap:5px;padding:8px 12px;border-bottom:1px solid #eeece6;font-size:12px;color:var(--muted)}
.cd-bar i{width:7px;height:7px;border-radius:50%;background:#dcdad3}
.cd-bar span{margin-left:8px}
.cd-in{display:grid;gap:10px;padding:14px 16px 16px;font-size:13.5px}
.cd-h{margin:0;font-weight:700;color:var(--ink);font-size:14.5px}
.cd-sub{margin:-6px 0 0;font-size:12.5px;color:var(--muted)}
.cd-map,.cd-rows,.cd-plain{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.cd-map li{display:grid;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr);align-items:center;gap:8px;max-width:none}
.cd-map span,.cd-map em{padding:6px 9px;border-radius:7px;background:#f2f1ed;font-style:normal}
.cd-map em{background:#fff;box-shadow:inset 0 0 0 1px #d6d3ca;color:var(--muted)}
.cd-rows li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 9px;border-radius:7px;background:#f2f1ed;max-width:none}
.cd-rows b{color:var(--ink)}
.cd-rows span{color:var(--muted)}
.cd-rows em{font-style:normal;font-size:12px;font-weight:600;padding:2px 8px;border-radius:999px;background:#dcf1e4;color:#0b5a30}
.cd-rows li.fix em{background:#fff1cf;color:#6b4e00}
.cd-plain li{display:flex;flex-wrap:wrap;gap:4px 10px;padding:8px 9px;border-radius:7px;background:#f2f1ed;max-width:none}
.cd-plain b{color:var(--ink)}
.cd-plain span{color:var(--muted)}
.cd-foot{margin:2px 0 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:12.5px;color:var(--muted)}
.cd-btn{padding:6px 12px;border-radius:999px;background:var(--ink);color:#fff;font-weight:600;font-size:12.5px}
.cd-btn.off{background:#dcdad3;color:#8d8b84}
.cd-btn.line{background:none;color:var(--ink);box-shadow:inset 0 0 0 1px #cfccc3}
.cd-field{display:grid;gap:2px;padding:8px 10px;border-radius:7px;box-shadow:inset 0 0 0 1px #d6d3ca}
.cd-field span{font-size:12px;color:var(--muted)}
.cd-field b{color:var(--ink);font-weight:600}
.cd-log{list-style:none;margin:0;padding:0;display:grid;gap:3px}
.cd-log li{display:grid;grid-template-columns:6.4rem 5.6rem minmax(0,1fr);gap:8px;align-items:baseline;padding:7px 9px;border-radius:7px;max-width:none}
.cd-log li.on{background:#e8eefc;box-shadow:inset 3px 0 0 var(--blue,#2952e3)}
.cd-log li.sys b{color:var(--muted)}
.cd-ev{font-size:11.5px;font-weight:700;color:var(--muted)}
.cd-log b{color:var(--ink)}
.cd-tabs{display:flex;flex-wrap:wrap;gap:2px;border-bottom:1px solid var(--line);font-size:12.5px}
.cd-tabs span{padding:5px 9px;color:var(--muted)}
.cd-tabs .on{color:var(--ink);font-weight:600;box-shadow:inset 0 -2px 0 var(--ink)}
.cd-diff{width:100%;border-collapse:collapse;font-size:13px}
.cd-diff th,.cd-diff td{padding:6px 8px;text-align:left;vertical-align:top;border-bottom:1px solid #eeece6}
.cd-diff th{font-weight:600;color:var(--muted);width:26%}
.cd-diff thead td{font-size:11.5px;font-weight:700;color:var(--muted)}
.cd-diff tr.chg td{background:#fff3c4;color:var(--ink)}
.cd-diff tr.chg td+td{font-weight:600}
.cd-nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.cd-nums div{display:grid;gap:2px;padding:10px;border-radius:8px;background:#f2f1ed}
.cd-nums span{font-size:12px;color:var(--muted)}
.cd-nums b{font-size:clamp(17px,1.6vw,22px);line-height:1.1;color:var(--ink)}
.cd-nums .d{background:#dcf1e4}.cd-nums .d b{color:#0b5a30}
.cd-rule{display:grid;gap:4px}
.cd-rule p{margin:0;display:flex;gap:10px;padding:6px 9px;border-radius:7px;background:#f2f1ed;color:var(--muted)}
.cd-rule p.on{background:#fff3c4;color:var(--ink);font-weight:600}
.cd-rule span{min-width:3.4rem;font-size:12px;font-weight:600;color:var(--muted)}
.cd-say{display:flex;align-items:flex-end;gap:10px;margin:14px clamp(14px,2vw,24px) clamp(14px,2vw,24px)}   /* a speech bubble beside a person (2026-11-24) */
.cd-av{flex:none;width:40px;height:40px}
.cd-bub{position:relative;flex:1;min-width:0;margin:0 0 6px;padding:14px 18px;border-radius:16px 16px 16px 6px;background:var(--card)}
.cd-bub::before{content:"";position:absolute;left:-7px;bottom:0;width:14px;height:14px;background:var(--card);clip-path:polygon(100% 0,100% 100%,0 100%)}
.cd-say p{margin:0;font-size:16px;line-height:1.45;color:var(--ink)}
.cd-say cite{display:block;margin-top:4px;font-style:normal;font-size:12.5px;color:var(--muted)}
.cd-says{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;padding:0}
.cd-says .cd-say{margin-right:0}.cd-says .cd-say+.cd-say{margin-left:0;margin-right:clamp(14px,2vw,24px)}
/* the loop */
.cd-loop{padding:clamp(14px,2vw,24px)}
.cd-loop ol{list-style:none;margin:0;padding:0;display:flex;align-items:stretch;gap:6px}
.cd-loop li{flex:1 1 0;min-width:0;display:grid;gap:6px;align-content:start;padding:14px;border-radius:12px;background:var(--card);max-width:none}
.cd-loop li.cd-gap{flex:0 0 18px;padding:0;background:none;align-content:center;justify-items:center}
.cd-loop b{color:var(--ink)}
.cd-loop li:not(.cd-gap) span{font-size:13.5px}
.cd-branch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 0}
.cd-branch span{padding:10px 14px;border-radius:12px;border:1px dashed #c9c5ba;font-size:13.5px}
/* the words */
.cd-words{padding:clamp(14px,2vw,24px)}
.cd-words-h,.cd-words li{display:grid;grid-template-columns:minmax(0,8.5rem) 16px minmax(0,9rem) minmax(0,1fr) auto;align-items:center;gap:14px}
.cd-words-h{margin:0;padding:0 16px 6px;font-size:12px;font-weight:700;color:var(--muted)}
.cd-words ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.cd-words li{padding:12px 16px;border-radius:12px;background:var(--card);max-width:none}
.cd-was{color:var(--muted)}
.cd-words b{font-size:16px;color:var(--ink)}
.cd-words em{font-style:normal;font-size:12.5px;color:var(--muted);white-space:nowrap}
@media (max-width:1100px){.cd-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.cd-trace-h,.cd-trace li{grid-template-columns:4rem 8rem minmax(0,1fr)}.cd-chips{grid-column:3}}
@media (max-width:980px){.cd-ba,.cd-says{grid-template-columns:minmax(0,1fr)}.cd-says .cd-say,.cd-says .cd-say+.cd-say{margin:14px clamp(14px,2vw,24px) 0}.cd-says .cd-say:last-child{margin-bottom:clamp(14px,2vw,24px)}}
@media (max-width:760px){
  .cd-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cd-stats li:first-child{grid-column:1/-1}
  .cd-trace-h{display:none}
  .cd-trace li{grid-template-columns:auto minmax(0,1fr);gap:4px 10px}.cd-trace q,.cd-chips{grid-column:1/-1}
  .cd-loop ol{flex-direction:column}.cd-loop li.cd-gap{flex-basis:auto;padding:2px 0}.cd-loop .cd-arr{transform:rotate(90deg)}
  .cd-branch{grid-template-columns:minmax(0,1fr)}
  .cd-words-h{display:none}
  .cd-words li{grid-template-columns:auto 16px minmax(0,1fr);gap:6px 10px}.cd-why,.cd-words em{grid-column:1/-1}
  .cd-log li{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.cd-log li>span:last-child{grid-column:1/-1}
  .cd-rows li{grid-template-columns:minmax(0,1fr) auto}.cd-rows span{display:none}
}
/* the figure frame (.fig-art) already pads; the continuous discovery figures sit flush inside it */
.fig-art :is(.cd-stats,.cd-trace,.cd-loop,.cd-words){padding:0}
.fig-art .cd-ba{padding:0}
.fig-art .cd-say,.fig-art .cd-says .cd-say,.fig-art .cd-says .cd-say+.cd-say{margin:14px 0 0}
.fig-art .cd-says{gap:0 16px}
@media (max-width:980px){.fig-art .cd-says .cd-say:last-child{margin-bottom:0}}
/* continuous discovery, round 3 (2026-11-22): the outcome board, the change log as list + detail, the clone rows aligned */
.cd-rows li{grid-template-columns:minmax(0,7.5rem) minmax(0,1fr) 7.6rem}
.cd-rows em{justify-self:end}
.cd-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;font-size:14px;line-height:1.4;color:var(--ink-2);text-align:left}
.cd-col{display:grid;gap:10px;align-content:start;padding:14px;border-radius:14px;background:var(--card)}
.cd-col-h{margin:0;display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-bottom:10px;border-bottom:3px solid var(--cc,#cfccc3)}
.cd-col-h span{font-weight:700;color:var(--ink)}
.cd-col-h b{font-size:28px;line-height:1;color:var(--ink)}
.cd-col.ship{--cc:#13a35a}.cd-col.req{--cc:#2952e3}.cd-col.cut{--cc:#8d8b84}.cd-col.des{--cc:#ffd23f}
.cd-col ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.cd-col li{display:grid;gap:3px;padding:10px 11px;border-radius:9px;background:#f4f3ef;max-width:none}
.cd-col.ship li{background:#e9f6ee}
.cd-col li b{color:var(--ink);font-weight:600}
.cd-dates{font-size:12.5px;color:var(--muted)}
.cd-col li em{font-style:normal;font-size:12.5px;font-weight:600;color:#0b5a30}
.cd-ba.cd-stack{grid-template-columns:minmax(0,1fr)}
.cd-ba.cd-stack .cd-pane.was .cd-scr{max-width:34rem}
.cd-split{display:grid;grid-template-columns:minmax(0,15rem) minmax(0,1fr);gap:0;margin:-14px -16px -16px}
.cd-split-l{padding:14px 12px 16px 16px;border-right:1px solid #eeece6;background:#fbfaf8;display:grid;gap:8px;align-content:start}
.cd-split-r{padding:14px 16px 16px;display:grid;gap:10px;align-content:start;min-width:0}
.cd-k2{margin:0;font-size:11.5px;font-weight:700;color:var(--muted)}
.cd-split .cd-log li{grid-template-columns:minmax(0,1fr) auto;row-gap:1px}
.cd-split .cd-log .cd-ev{grid-column:1/-1}
.cd-split .cd-log li>span:last-child{font-size:12px;color:var(--muted)}
.cd-meta{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px}
.cd-meta div{display:grid;gap:1px}
.cd-meta div:last-child{grid-column:1/-1}
.cd-meta dt{font-size:11.5px;color:var(--muted)}
.cd-meta dd{margin:0;color:var(--ink);font-weight:600}
.cd-diff mark{background:#fff0a8;color:var(--ink);font-weight:600;padding:0 2px;border-radius:3px}
/* the share chart (drafts/case-studies/_shared/share_chart.py): one series, percent only */
.sc{font-size:13px;color:var(--ink-2);text-align:left}
.sc-plot{position:relative;height:clamp(200px,24vw,280px);margin:28px 0 30px}
.sc-grid span{position:absolute;left:0;right:0;bottom:calc(var(--y) * 1%);border-top:1px solid #e6e4dd;font-size:11.5px;color:var(--muted)}
.sc-grid span{text-indent:0}.sc-grid span::before{content:none}
.sc-bands{position:absolute;inset:0 0 0 2.6rem;display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:2px}
.sc-band{grid-row:1;background:#eef6f1;border-radius:8px 8px 0 0;position:relative}
.sc-band i{position:absolute;top:-20px;left:0;font-style:normal;font-size:12px;font-weight:600;color:#0b7a40;white-space:nowrap}
.sc-bars{position:absolute;inset:0 0 0 2.6rem;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:2px;align-items:end}
.sc-bars li{position:relative;height:100%;display:flex;align-items:flex-end;justify-content:center;max-width:none;outline:none}
.sc-bar{display:block;width:min(70%,44px);height:calc(var(--v) * 1%);border-radius:4px 4px 0 0;background:#13a35a;opacity:.55}
.sc-bars li.hi .sc-bar{opacity:1}
.sc-bars li.p .sc-bar{background:repeating-linear-gradient(135deg,#13a35a 0 6px,#5cc28a 6px 9px)}
.sc-bars b{position:absolute;bottom:calc(var(--v) * 1% + 4px);font-size:13px;color:var(--ink)}
.sc-bars b.sc-tip{opacity:0;transition:opacity .15s ease;color:var(--muted)}
.sc-bars li:hover b.sc-tip,.sc-bars li:focus-visible b.sc-tip{opacity:1}
.sc-m{position:absolute;top:calc(100% + 6px);font-size:12px;color:var(--muted)}
.sc-note{position:absolute;right:0;top:-24px;margin:0;font-size:12.5px;font-weight:600;color:var(--ink)}
.sc-foot{margin:0;font-size:12px;color:var(--muted)}
@media (max-width:980px){.cd-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .cd-board{grid-template-columns:minmax(0,1fr)}
  .cd-split{grid-template-columns:minmax(0,1fr)}.cd-split-l{border-right:0;border-bottom:1px solid #eeece6}
  .cd-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cd-rows li{grid-template-columns:minmax(0,1fr) auto}
  .sc-m{font-size:10.5px}.sc-bars b{font-size:11px}.sc-band i{font-size:10.5px}
}
/* Marketing Studio Impact: the 2025 and 2026 designs under the adoption chart (2026-11-22) */
.ms-eras{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}
.ms-eras div{display:grid;gap:8px;min-width:0}
.ms-eras img{display:block;width:100%;height:auto;border-radius:10px;border:1px solid #e3e1da}
.ms-eras p{margin:0;font-size:13px;color:var(--muted)}
.ms-eras b{color:var(--ink)}
@media (max-width:760px){.ms-eras{grid-template-columns:minmax(0,1fr)}}
/* continuous discovery, round 4 (2026-11-22): the redrawn screens use the Marketing Studio product skin (.ms); these few
   rules only lay them out (labels, footers, the change log's two panes, the quotes under each pair) */
.cd-ms .ms-k .cd-when2{font-weight:400;color:var(--muted)}
.cd-foot2{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--ms-line)}
.cd-pad{display:grid;gap:12px;padding:16px 20px}
.cd-pick{color:var(--ms-muted);font-size:14px}
.ms-badge.warn{background:#fff1d6;color:#8a4b00}
.cd-plus{color:var(--ms-ok);font-weight:600}
.cd-stack2{display:grid;gap:20px}
.cd-stack2>div:first-child .ms-canvas{max-width:30rem}
.cd-split2{display:grid;grid-template-columns:minmax(0,15rem) minmax(0,1fr)}
.cd-split2 .cd-list{border:0;border-right:1px solid var(--ms-line);border-radius:0}
.cd-split2 .cd-list td{white-space:normal}
.cd-ev2{display:block;font-size:12px;font-weight:600;color:var(--ms-muted)}
.cd-detail{display:grid;gap:14px;padding:16px;min-width:0}
.cd-detail .ms-ft{font-size:14px;grid-template-columns:110px minmax(0,1fr)}
.cd-detail .ms-ft :is(dt,dd){padding:9px 12px}
.cd-ms + .cd-say,.cd-ms + .cd-says{margin-top:16px}
@media (max-width:760px){.cd-split2{grid-template-columns:minmax(0,1fr)}.cd-split2 .cd-list{border-right:0;border-bottom:1px solid var(--ms-line)}}
.cd-stats span,.cd-stats small{text-wrap:balance}   /* no one-word last lines (Raashi, 2026-11-22) */
/* continuous discovery, round 5 (2026-11-23): screens redrawn from Raashi's own builds (validation summary, change log, nested audience) */
.cd-col-f{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
.ms-badge.bad{background:#fde3df;color:#b3261e}
.cd-err{display:block;margin-top:4px;font-size:12px;font-weight:600;color:#b3261e}
.cd-err::before{content:"";display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:50%;background:#d52b1e;vertical-align:-1px}
.cd-flag{display:inline-block;padding:2px 8px;border-radius:4px;background:#fff1d6;color:#8a4b00;font-size:12px;font-weight:500;white-space:nowrap}
.cd-gone{color:#a3a6ad}
.cd-conj{display:inline-block;padding:1px 8px;border-radius:999px;background:#eef0f4;color:#4b4e57;font-size:11.5px;font-weight:600;letter-spacing:.03em}
.cd-cmp tr.cd-join td{padding-top:4px;padding-bottom:4px;background:#fafbfc}
.cd-cmp td:first-child{color:var(--ms-muted)}
.cd-or{margin:10px 0;text-align:center}
.cd-grp{margin:0 12px 12px;padding:10px 10px 4px;border-left:2px solid #d4d7dc;border-radius:0 8px 8px 0;background:#fbfbfc}
.cd-grp-h{margin:0 0 8px;font-size:13px;font-weight:600;color:var(--ms-ink2)}
.cd-grp .ms-table{border:1px solid #e9e9ec}
.cd-drill{display:grid;gap:10px;padding:14px;border-top:1px solid var(--ms-line);background:#fcfcfd}
.cd-drill-h{margin:0;font-size:13px;font-weight:600;color:var(--ms-ink)}
.cd-logpair{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.cd-logpair .ms-table td{white-space:normal}
.cd-one{display:grid;gap:10px;padding:14px}
.cd-one-h{margin:0;font-size:15px;font-weight:600;color:var(--ms-ink)}
.cd-one-m{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:12.5px;color:var(--ms-muted)}
.cd-one-m i{width:1px;height:12px;background:#d4d7dc}
.cd-tabs2{display:flex;flex-wrap:wrap;gap:2px 4px;border-bottom:1px solid var(--ms-line);font-size:12.5px}
.cd-tabs2 span{position:relative;padding:6px 8px;color:var(--ms-muted)}
.cd-tabs2 span.on{color:var(--ms-ink);font-weight:600;box-shadow:inset 0 -2px 0 var(--ms-agent)}
.cd-tabs2 b{display:inline-block;width:6px;height:6px;margin-left:4px;border-radius:50%;background:#e8c400;vertical-align:2px}
/* before validation: two browser tabs, the workbook and Marketing Studio, switching (a slow loop; still under reduced motion) */
.cd-tabsw{border:1px solid var(--ms-line);border-radius:12px;background:#fff;overflow:hidden}
.cd-tabbar{display:flex;gap:4px;padding:8px 10px 0;background:#eef0f4}
.cd-tabbar span{padding:6px 12px;border-radius:8px 8px 0 0;font-size:12.5px;color:var(--ms-muted)}
.cd-tabpages{display:grid}
.cd-tabpages>div{grid-area:1/1;min-width:0;overflow:hidden}
.cd-sheet{width:100%;border-collapse:collapse;font:12.5px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;color:#202124}
.cd-sheet th,.cd-sheet td{padding:6px 8px;border:1px solid #e2e3e5;text-align:left;white-space:nowrap}
.cd-sheet th{background:#f8f9fa;color:#5f6368;font-weight:500}
.cd-sheet thead tr:last-child td{font-weight:600;background:#e8f0e9}
@keyframes cd-sw1{0%,44%{opacity:1}50%,94%{opacity:0}100%{opacity:1}}
@keyframes cd-sw2{0%,44%{opacity:0}50%,94%{opacity:1}100%{opacity:0}}
@keyframes cd-tb1{0%,44%{background:#fff;color:#202124}50%,94%{background:transparent;color:var(--ms-muted)}100%{background:#fff;color:#202124}}
@keyframes cd-tb2{0%,44%{background:transparent;color:var(--ms-muted)}50%,94%{background:#fff;color:#202124}100%{background:transparent;color:var(--ms-muted)}}
.cd-tabpages .p1{animation:cd-sw1 6s ease infinite}.cd-tabpages .p2{animation:cd-sw2 6s ease infinite}
.cd-tabbar .t1{animation:cd-tb1 6s ease infinite}.cd-tabbar .t2{animation:cd-tb2 6s ease infinite}
@media (prefers-reduced-motion:reduce){
  .cd-tabpages .p1,.cd-tabpages .p2,.cd-tabbar .t1,.cd-tabbar .t2{animation:none}
  .cd-tabpages .p2{opacity:0}.cd-tabbar .t1{background:#fff;color:#202124}
}
@media (max-width:980px){.cd-logpair{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){.cd-tabpages>div{overflow-x:auto}}
.cd-stack2>div:first-child .cd-tabsw{max-width:36rem}
.cd-drill .ms-btns{flex-wrap:wrap}
@media (max-width:560px){.cd-grp{margin:0 4px 10px;padding:8px 4px 2px}.cd-grp .ms-table td,.cd-grp .ms-table th{padding-left:6px;padding-right:6px;white-space:normal}}

/* Continuous discovery figures, corrected (Raashi, 2026-11-24): each shipped flow shown on its own surfaces, the conversation
   and the canvas labelled, so nothing on one is drawn on the other. */
.cd-surf{margin:0 0 6px;font-size:12.5px;font-weight:600;color:var(--ms-tert,#6b6c72)}
.cd-cc{align-items:stretch}
.cd-cc>div{display:flex;flex-direction:column}
.cd-cc>div>:is(.ms-panel,.ms-canvas){flex:1}
.cd-one .ms-note{margin:4px 0 10px}
/* the audience as the builder draws it: attribute, operator, value; AND and OR; an attribute group */
.cd-expr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:14px}
.cd-ex{display:grid;gap:6px;align-content:start;min-width:0}
.cd-ex-h{margin:0 0 2px;font-size:13px;font-weight:600;color:var(--ms-ink,#16161a)}
/* the audience as Raashi's builder draws it (audit-change-log-oct06 .ab-row): one row per condition, the operator in a chip,
   AND/OR as chips on the left, OR with a rule; the first version's changes marked yellow (Raashi, 2026-11-24) */
.cd-ab{display:grid;grid-template-columns:minmax(0,1fr) 7.5rem minmax(0,1fr);gap:16px;align-items:start;padding:8px 0;font-size:14px;color:#3a393d}
.cd-ab p{margin:0;min-width:0;overflow-wrap:break-word}
.cd-ab small{display:block;margin-bottom:4px;font-size:10.5px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:#787e94}
.cd-ab .op{align-self:center;justify-self:start;padding:5px 10px;border:1px solid #e5e5ec;border-radius:8px;background:#f6f7f9;font-size:13px;white-space:nowrap}
.cd-abj{margin:2px 0;display:flex;align-items:center;gap:12px}
.cd-abj .cd-conj{padding:4px 11px;border:1px solid #e5e5ec;border-radius:8px;background:#f6f7f9;color:#3a393d;font-size:12px;font-weight:500;letter-spacing:0}
.cd-ex>.cd-abj:has(+.cd-grp)::after{content:"";flex:1;height:1px;background:#e9e9ec}
.cd-ex{padding:4px 14px 10px;border:1px solid #e9e9ec;border-radius:12px;background:#fff}
.cd-ex .cd-grp{display:grid;gap:6px;margin:0}
.cd-tabs2.bad b{background:#d52b1e}   /* a mismatch dot is red, a change dot yellow */
@media (max-width:700px){.cd-expr{grid-template-columns:minmax(0,1fr)}.cd-ab{grid-template-columns:minmax(0,1fr)}}
.cd-stack2.cd-wide>div:first-child .ms-canvas{max-width:none}   /* full-width panes: the log table, the audience */

/* Pictures and clips hold their space while they load (Raashi, 2026-11-24): the build gives each its width and height; here
   they stay fluid, with a soft fill until the file arrives. */
.cs-page img[src^="media/"],.cs-page video[poster^="media/"],.cs-page video[data-src^="media/"]{height:auto;max-width:100%;background:#eceae5}
.cd-vid :is(video,img){display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--ms-line,#e3e4e8);background:#fafafa}   /* the validation clip (2026-11-24) */

/* the opened row of the verification summary, as rich as Raashi's build (cd_parts.py, 2026-11-24) */
.vdr{padding:18px 22px 22px;font-family:inherit;color:#16161a}
.vdr-h{display:flex;align-items:center;gap:10px;font-size:17px}
.vdr-h b{font-weight:600}
.vback{display:inline-grid;place-items:center;color:#6b6c72}
.vb{display:inline-flex;padding:2px 8px;border-radius:6px;font-size:13px;font-weight:500}
.vb.ok{background:#e7f6ec;color:#16793a}.vb.bad{background:#fdecea;color:#c4302b}
.vdr-s{margin:6px 0 0;font-size:14px;color:#5d686f}
.vdr-t{display:flex;flex-wrap:wrap;gap:2px 6px;margin:14px 0 16px;border-bottom:1px solid #e6e6ea;font-size:14px;color:#6b6c72}
.vdr-t span{padding:8px 10px}
.vdr-t span.on{color:#16161a;font-weight:600;box-shadow:inset 0 -2px 0 #7b61ff}
.vdr-t b{display:inline-block;width:7px;height:7px;margin-left:5px;border-radius:50%;background:#d52b1e;vertical-align:2px}
.vnote{margin:0 0 16px;padding:12px 16px;border:1px solid #f3c1be;border-radius:10px;background:#fff3f2}
.vnote-h{display:flex;align-items:center;gap:6px;margin:0 0 6px;font-size:15px;font-weight:600;color:#d52b1e}
.vnote p:last-child{margin:0;font-size:14px;line-height:1.5;color:#16161a}
.vdr-sec{margin:6px 0 16px;font-size:15px;font-weight:600}   /* room between the audience's name and its table (Raashi, 2026-11-24: "too stuck") */
.vcnd b{font-weight:600}
.vtbl td .vconj{margin-right:8px}
.vtbl{border:1px solid #e9e9ec;border-radius:12px;overflow:hidden;background:#fff}
.vtbl table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:1.5}
.vtbl th{padding:10px 14px;background:#f4f5f8;color:#6b6c72;font-weight:500;text-align:left}
.vtbl td{padding:9px 14px;border-top:1px solid #eeeef1;vertical-align:top;overflow-wrap:anywhere}
.vtbl td:first-child{color:#6b6c72}
.vtbl tr.vj td{padding:6px 14px;background:#fafafb}
.vconj{display:inline-block;padding:1px 8px;border-radius:999px;background:#eef0f4;color:#4b4e57;font-size:11.5px;font-weight:600;letter-spacing:.03em}
.verr{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:13px;font-weight:600;color:#c4302b}
/* phones: bubbles and comparison tables stay inside the page (2026-11-24) */
.cd-say{min-width:0;max-width:100%;box-sizing:border-box}.cd-bub{overflow-wrap:break-word}
@media (max-width:700px){.cd-say{margin-left:0;margin-right:0}.cd-cmp{table-layout:fixed;width:100%}.cd-cmp th,.cd-cmp td{white-space:normal;overflow-wrap:anywhere}}
.cd-say .cd-av{flex:0 0 40px;width:40px!important;height:40px!important;max-width:none}   /* not stretched by the figure image rules */
/* the drill's small icons keep their size (the figure rule .fig-art svg makes every drawing full width; 2026-11-24, phone) */
.fig-art .vdr svg{display:inline-block;flex:none;width:16px;height:16px}
.fig-art .vdr .vback svg{width:18px;height:18px}
/* loading state: a soft shimmer in the reserved box until the picture arrives (land.js adds .is-loading; 2026-11-24) */
img.is-loading,video.is-loading{background:linear-gradient(100deg,#ecebe6 35%,#f7f6f2 50%,#ecebe6 65%) 0 0/300% 100% #ecebe6!important;animation:is-loading 1.3s linear infinite}
@keyframes is-loading{from{background-position:100% 0}to{background-position:0 0}}
@media (prefers-reduced-motion:reduce){img.is-loading,video.is-loading{animation:none}}
@media (max-width:700px){.vdr{padding:14px 12px 16px}.vtbl table{font-size:13px}.vtbl th,.vtbl td{padding:8px 9px}.vtbl col:first-child{width:31%!important}.vtbl td:first-child{overflow-wrap:normal}}
/* 2026-11-24: Before/After labels above their boxes; speech bubbles as wide as their words */
.cd-exw{display:grid;gap:8px;align-content:start;min-width:0}
.cd-exw>.cd-ex-h{margin:0}
.cd-bub{flex:0 1 auto;max-width:min(100%,62ch)}

/* Continuous discovery: each shipped feature as five labelled lines, label beside text; label above it on phones
   (Raashi, 2026-11-24: "too difficult to understand"; the same labels in every feature so they scan alike). */
.cd-five{display:grid;gap:10px;margin:4px 0 0}
.cd-five>div{display:grid;grid-template-columns:9.5em minmax(0,1fr);gap:4px 16px;align-items:baseline;padding-top:10px;border-top:1px solid var(--line)}
.cd-five>div:first-child{border-top:0;padding-top:0}
.cd-five dt{font-weight:600;color:var(--ink)}
.cd-five dd{margin:0;color:var(--ink-2);line-height:1.6}
@media (max-width:560px){.cd-five>div{grid-template-columns:minmax(0,1fr)}}
.cs-body .cd-bub p,.cd-bub p{text-wrap:pretty}   /* no one-word last line in a quote (Raashi, 2026-11-24: "orphan") */

/* Continuous discovery, audience: the four options behind a switcher, one view at a time (Raashi, 2026-11-24). CSS-only
   radios; the second option's own Before/After toggle works the same way. */
.cd-opts>input,.cd-tg>input{position:absolute;opacity:0;pointer-events:none}
.cd-opt-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.cd-opt-tabs label{display:inline-flex;align-items:center;gap:8px;padding:7px 14px 7px 8px;border:1px solid var(--line);border-radius:999px;background:var(--paper,#fff);color:var(--ink-2);font-size:14px;font-weight:500;cursor:pointer;user-select:none}
.cd-opt-tabs label span{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#efeee9;font-size:12px;font-weight:600}
.cd-opt{display:none}
#cd-aud-1:checked~.cd-opt-panels .o1,#cd-aud-2:checked~.cd-opt-panels .o2,#cd-aud-3:checked~.cd-opt-panels .o3,#cd-aud-4:checked~.cd-opt-panels .o4{display:block}
#cd-aud-1:checked~.cd-opt-tabs label[for=cd-aud-1],#cd-aud-2:checked~.cd-opt-tabs label[for=cd-aud-2],#cd-aud-3:checked~.cd-opt-tabs label[for=cd-aud-3],#cd-aud-4:checked~.cd-opt-tabs label[for=cd-aud-4]{background:var(--ink);border-color:var(--ink);color:#fff}
#cd-aud-1:checked~.cd-opt-tabs label[for=cd-aud-1] span,#cd-aud-2:checked~.cd-opt-tabs label[for=cd-aud-2] span,#cd-aud-3:checked~.cd-opt-tabs label[for=cd-aud-3] span,#cd-aud-4:checked~.cd-opt-tabs label[for=cd-aud-4] span{background:rgba(255,255,255,.18)}
#cd-aud-1:focus-visible~.cd-opt-tabs label[for=cd-aud-1],#cd-aud-2:focus-visible~.cd-opt-tabs label[for=cd-aud-2],#cd-aud-3:focus-visible~.cd-opt-tabs label[for=cd-aud-3],#cd-aud-4:focus-visible~.cd-opt-tabs label[for=cd-aud-4]{outline:2px solid var(--ink);outline-offset:2px}
.cd-opt-panels>.cd-opt>div{max-width:none}
.cd-seg{display:inline-flex;margin-left:auto;padding:3px;border-radius:10px;background:#f1f1f4}
.cd-seg label{padding:4px 12px;border-radius:8px;font-size:13px;color:#5d5f68;cursor:pointer}
#cd-tg-b:checked~.ms-canvas .cd-seg label[for=cd-tg-b],#cd-tg-a:checked~.ms-canvas .cd-seg label[for=cd-tg-a]{background:#fff;color:#14151a;font-weight:600;box-shadow:0 1px 2px rgba(0,7,41,.12)}
.cd-tg .ms-canvas-h{display:flex;align-items:center;gap:12px}
.cd-tg-body{display:none}
#cd-tg-b:checked~.ms-canvas .cd-tg-body.b,#cd-tg-a:checked~.ms-canvas .cd-tg-body.a{display:block}
.cd-expr.cd-expr1{grid-template-columns:minmax(0,1fr)}
.cd-opt-eb .ms-k{margin-bottom:12px}
.cd-opt-eb .ek-s,#cd-aud-4:checked~.cd-opt-eb .ek-b{display:none}
#cd-aud-4:checked~.cd-opt-eb .ek-s{display:block}   /* the label line names what the picked option is (Raashi, 2026-11-24) */
/* Continuous discovery, 2026-11-25. Raashi: "What I brought and then my screen and what shipped have equal amount of space".
   Proximity on the 4px grid: a label sits 12px from its own screen, and the pairs sit 48px apart. And the videos' pause and
   expand buttons belong on each video: .cd-vid is their positioned box (they had stacked at the top of the figure). */
.cd-stack2{gap:48px}
.cd-stack2 .ms-k,.cd-opt-eb .ms-k{margin-bottom:12px}
.cd-vid{position:relative}
.cd-vid .clip-ui{right:14px;top:14px}
/* The password error (Raashi, 2026-11-26: "give error icon too and error outline"): a red ! icon before the message, and the
   field gets a red outline while the error shows. CSS only (:has), so the locked pages need no rebuild. */
.lock-error{display:flex;align-items:flex-start;gap:8px}
.lock-error::before{content:"";flex:none;width:18px;height:18px;margin-top:2px;border-radius:50%;background:#c4302b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Crect x='8' y='4' width='2' height='7' rx='1' fill='%23fff'/%3E%3Ccircle cx='9' cy='13.6' r='1.2' fill='%23fff'/%3E%3C/svg%3E") center/18px 18px no-repeat}
.lock-form:has(.lock-error:not([hidden])) .lock-row input{border-color:#c4302b;box-shadow:0 0 0 1px #c4302b}
.lock-form:has(.lock-error:not([hidden])) .lock-row input:focus-visible{outline-color:#c4302b}
