/* =========================================================
   workbench.css — SIGNATURE 2, THE WORKBENCH (§5.2)
   One name in, four proofs out. Loads after site.css.
   Interface layer only: paper-hi panels, hairlines, mono
   labels. No yolk colour, nothing bounces.
   ========================================================= */

/* ---------- shared proof furniture ---------- */
.proof{position:relative}
.proof__h{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;overflow-wrap:anywhere;padding-bottom:12px;margin-bottom:clamp(18px,2vw,24px);border-bottom:1px solid var(--rule);color:var(--ink-3)}
.proof__h>span:first-child{color:var(--ink)}
.proof__act{margin-top:22px}

/* ---------- direction styles (every proof uses these) ---------- */
:is(.wb-mark,.wb-type)[data-dir="bold"]{font-family:var(--f-display);font-style:normal;font-weight:900;font-stretch:62%;letter-spacing:-.01em;text-transform:uppercase}
:is(.wb-mark,.wb-type)[data-dir="creative"]{font-family:var(--f-serif);font-style:italic;font-weight:400;font-stretch:100%;letter-spacing:0;text-transform:capitalize}
:is(.wb-mark,.wb-type)[data-dir="edgy"]{font-family:var(--f-display);font-style:normal;font-weight:700;font-stretch:125%;letter-spacing:.06em;text-transform:uppercase}
.wb-mark{display:inline-block;line-height:1;white-space:nowrap}
/* EDGY sits on a plate whose top-right corner is cut like the logo's D */
.wb-mark[data-dir="edgy"]{padding:.34em .44em .3em .5em;background:var(--wb-plate,var(--ink));color:var(--wb-plate-ink,var(--paper-hi));
  clip-path:polygon(0 0,calc(100% - .35em) 0,100% .35em,100% 100%,0 100%)}
.wb-type[data-dir="creative"]{font-size:1.12em;line-height:.9;text-transform:none}   /* JS title-cases it: capitalize breaks on SplitText chars */

/* ---------- A · construction sheet ---------- */
.sheet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2vw,24px)}
.sheet__panel{margin:0;display:flex;flex-direction:column;gap:10px;min-width:0}
.sheet__h{display:flex;justify-content:space-between;gap:12px;color:var(--ink-3)}
.sheet__h>span:first-child{color:var(--ink)}
.sheet__art{position:relative;aspect-ratio:270/250;color:var(--ink);overflow:hidden;background-color:var(--paper-hi);
  /* drafting paper: 12px hairline grid (hard stops, not a gradient look) */
  background-image:linear-gradient(rgb(17 18 18/.05) 1px,transparent 1px),linear-gradient(90deg,rgb(17 18 18/.05) 1px,transparent 1px);
  background-size:12px 12px;background-position:-1px -1px;box-shadow:inset 0 0 0 1px var(--rule)}
.sheet__svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.sheet__guides{opacity:.3}
.sheet__guides>*{vector-effect:non-scaling-stroke}
.g-dash{stroke-dasharray:5 4}
.g-dot{stroke-dasharray:1.5 4}
.sheet__dims{fill:none;stroke:var(--ink-3);stroke-width:1}
.sheet__dims path{vector-effect:non-scaling-stroke}
.sheet__dims text{fill:var(--ink-3);stroke:none;font-family:var(--f-mono);font-size:7.5px;letter-spacing:.06em}
.sheet__label{color:var(--ink-3);min-height:2.6em;text-transform:none}   /* source is already caps; keeps the 'u' unit */
/* YOURS: static fallback before workbench.js swaps in the measured SVG */
.sheet__yours{display:grid;place-items:center}
.sheet__yours>.wb-mark{font-size:clamp(1.5rem,3vw,2.5rem)}
.sheet__svg--yours .sheet__nm{fill:var(--ink)}
.sheet__svg--yours .sheet__plate{fill:var(--ink)}
.sheet__svg--yours[data-dir="edgy"] .sheet__nm{fill:var(--paper-hi)}
/* phones: stacked; YOURS starts at the ratio workbench.js gives the default name, so nothing jumps when it takes over */
@media (max-width:767px){.sheet{grid-template-columns:minmax(0,1fr)}.sheet__yours{aspect-ratio:2.4}}

/* ---------- B · viewport rig ---------- */
.rig{position:relative;--rig-h:360px;container:rig/inline-size}
.rig__frame{position:relative;width:100%;max-width:100%;border-radius:8px;overflow:hidden;background:var(--paper-hi);box-shadow:0 0 0 1px var(--ink);transition:box-shadow .2s var(--e-p3out)}
.rig__bar{display:flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-bottom:1px solid var(--ink);background:var(--paper)}
.rig__bar i{flex:none;width:8px;height:8px;border-radius:50%;background:var(--ink-3)}
.rig__url{min-width:0;max-width:calc(100% - 60px);height:18px;margin-inline:auto;padding:0 10px;display:inline-flex;align-items:center;border-radius:999px;background:var(--paper-hi);box-shadow:inset 0 0 0 1px var(--rule);color:var(--ink-2);text-transform:none;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rig__view{position:relative;overflow:hidden;contain:layout paint;height:clamp(280px,104cqi,440px)}
/* same heights relayoutRig() computes, so the page doesn't jump when the lazy module takes over (or without JS) */
@container rig (min-width:480px){.rig__view{height:clamp(280px,62cqi,440px)}}
@media (min-width:1024px){.rig__view{height:clamp(280px,56cqi,440px)}}
.rig__scale{transform-origin:0 0}
.js .rig__scale{will-change:transform}
.rig__grip{display:none;position:absolute;left:-6px;top:calc(28px + var(--rig-h) / 2 - 24px);z-index:2;width:12px;height:48px;border-radius:999px;background:var(--ink);box-shadow:0 0 0 3px var(--paper-hi);cursor:ew-resize;touch-action:none}
.rig__grip::before{content:"";position:absolute;inset:15px 4px;border-inline:1px solid rgb(247 244 233/.6)}
.rig__grip::after{content:"";position:absolute;inset:-10px -14px}                /* bigger hit area */
.rig.is-lg .rig__grip{display:block}
.rig.is-dragging .rig__frame,.rig:has(.rig__grip:hover) .rig__frame{box-shadow:0 0 0 1px var(--ink),0 0 0 5px rgb(17 18 18/.06)}
.rig__ctrl{display:grid;justify-items:start;gap:6px;margin-top:18px}
.rig__lbl{color:var(--ink-3)}
.rig__ctrl .wb-range{width:100%}
.rig__ticks{position:relative;display:block;width:100%;height:14px;margin-top:-8px;color:var(--ink-3)}
.rig__ticks span{position:absolute;top:0;transform:translateX(-50%)}
.rig__btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.rig__readout{margin-top:14px;color:var(--ink)}
@media (min-width:1024px){
  .rig__btns{display:none}
  .rig__ctrl{position:relative}
  /* only once workbench.js has laid the rig out (.is-lg): it narrows the range and places the ticks.
     Before that (or if the module fails) the label stacks above a full-width range and the ticks stay hidden. */
  .rig.is-lg~.rig__ctrl .rig__lbl{position:absolute;left:0;top:15px}   /* sits in the space left of the thumb's travel */
}
@media (max-width:1023px){.rig__ticks{display:none}}
.rig:not(.is-lg)~.rig__ctrl .rig__ticks{display:none}
@media (max-width:767px){.rig__readout{min-height:2.6em}}          /* "…12 COL · @CONTAINER LG" wraps on phones: keep the button below still */
/* main.js swaps "MEASURING…" for the measured line after load (2 lines, 3 on phones): reserve them */
.proof--rig .proof__spec{min-height:2.6em}
@media (max-width:767px){.proof--rig .proof__spec{min-height:3.9em}}
.rig__bpnote{display:none;position:absolute;right:0;top:-18px;z-index:81;padding:2px 6px;background:var(--paper-hi);color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);font-size:.625rem;white-space:nowrap}
html.bp .rig__bpnote{display:block}
/* where the proof is too narrow for both tags side by side, the note drops under the proof */
@media (max-width:767px),(min-width:1024px) and (max-width:1099px){.rig__bpnote{top:auto;bottom:-20px;right:auto;left:0}}

/* the mini-site: its own container, queried at its true virtual width */
.mini{--m-bg:var(--paper-hi);--m-fg:var(--ink);--m-rule:rgb(17 18 18/.14);--m-card:var(--paper-lo);--m-skel:rgb(17 18 18/.1);--m-grid:rgb(17 18 18/.07);
  position:relative;width:100%;container-type:inline-size;overflow:hidden;background:var(--m-bg);color:var(--m-fg);font-family:var(--f-text);font-size:16px;line-height:1.4;text-align:left}
.mini[data-dir="creative"]{--m-bg:var(--paper-lo);--m-card:var(--paper-hi);--m-skel:rgb(17 18 18/.12)}
.mini[data-dir="edgy"]{--m-bg:var(--ink);--m-fg:var(--paper-hi);--m-rule:rgb(255 254 250/.18);--m-card:var(--night-hi);--m-skel:rgb(255 254 250/.14);--m-grid:rgb(255 254 250/.08);--wb-plate:var(--paper-hi);--wb-plate-ink:var(--ink)}
.mini__nav{display:flex;align-items:center;gap:24px;height:64px;padding:0 max(16px,4.5cqi);border-bottom:1px solid var(--m-rule)}
.mini__mark{max-width:62%;overflow:hidden;text-overflow:ellipsis;font-size:22px}
.mini__mark[data-dir="creative"]{font-size:27px}
.mini__mark[data-dir="edgy"]{font-size:17px}
.mini__links{display:flex;gap:28px;margin-left:auto;font-size:15px;font-weight:500}
.mini__menu{display:none;align-items:center;height:36px;margin-left:auto;padding:0 16px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--m-fg);font-size:14px;font-weight:600}
.mini__hero{display:grid;justify-items:start;gap:max(22px,3cqi);padding:max(32px,8cqi) max(16px,4.5cqi) max(32px,6cqi)}
.mini__tag{max-width:11em;font-family:var(--f-display);font-size:clamp(34px,8cqi,108px);font-weight:900;font-stretch:62%;line-height:.9;letter-spacing:-.01em;text-transform:uppercase;text-wrap:balance}
.mini[data-dir="creative"] .mini__tag{font-family:var(--f-serif);font-style:italic;font-weight:400;font-stretch:100%;font-size:clamp(40px,9cqi,120px);line-height:.95;letter-spacing:0;text-transform:none}
.mini[data-dir="edgy"] .mini__tag{font-weight:700;font-stretch:125%;font-size:clamp(26px,6cqi,76px);line-height:1;letter-spacing:.02em}
.mini__btn{display:inline-flex;align-items:center;height:48px;padding:0 26px;border-radius:999px;background:var(--m-fg);color:var(--m-bg);font-size:16px;font-weight:600}
.mini[data-dir="creative"] .mini__btn{background:transparent;color:var(--m-fg);box-shadow:inset 0 0 0 1.5px var(--m-fg)}
.mini[data-dir="edgy"] .mini__btn{border-radius:0;font-size:14px;font-stretch:125%;letter-spacing:.08em;text-transform:uppercase;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%)}
.mini__cards{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:0 max(16px,4.5cqi) 40px}
.mini__card{display:grid;gap:10px}
.mini__card i{display:block;aspect-ratio:4/3;background:var(--m-card)}
/* product tiles: the §02 work images (same -sm files, usually already cached). Only once the rig is live
   (.is-on, set by workbench.js) so they never compete with the first paint; no-JS visitors get them too. */
:is(html:not(.js),.rig.is-on) .mini__card:nth-child(1) i{background:var(--m-card) url(../work/work-packaging-pouches-sm.webp) center/cover no-repeat}
:is(html:not(.js),.rig.is-on) .mini__card:nth-child(2) i{background:var(--m-card) url(../work/work-packaging-boxes-red-sm.webp) center/cover no-repeat}
:is(html:not(.js),.rig.is-on) .mini__card:nth-child(3) i{background:var(--m-card) url(../work/work-photo-black-bottle-sm.webp) center/cover no-repeat}
.mini__card b{display:block;width:72%;height:10px;border-radius:2px;background:var(--m-skel)}
.mini__card b+b{width:44%}
.mini[data-dir="creative"] .mini__card i{border-radius:999px 999px 0 0}
.mini[data-dir="edgy"] .mini__card i{clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,0 100%)}
.mini__grid{display:none;position:absolute;inset:0;z-index:3;pointer-events:none;--c:4;--g:12px;padding-inline:max(16px,4.5cqi);background-origin:content-box;background-clip:content-box;
  background-image:repeating-linear-gradient(90deg,var(--m-grid) 0 calc((100% - (var(--c) - 1) * var(--g)) / var(--c)),transparent 0 calc((100% - (var(--c) - 1) * var(--g)) / var(--c) + var(--g)))}
html.bp .mini__grid{display:block}
@container (max-width:599px){.mini__links{display:none}.mini__menu{display:inline-flex}}
@container (min-width:480px){.mini__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.mini__grid{--c:8;--g:16px}}
@container (min-width:1024px){.mini__cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.mini__grid{--c:12;--g:24px}}

/* ---------- shared range (rig width + funnel budget) ---------- */
.wb-range{--p:50%;-webkit-appearance:none;appearance:none;display:block;width:100%;height:44px;margin:0;padding:0;background:transparent;cursor:pointer}
.wb-range::-webkit-slider-runnable-track{height:2px;border-radius:2px;background:linear-gradient(90deg,var(--ink) var(--p),rgb(17 18 18/.16) var(--p))}
.wb-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;margin-top:-10px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 4px var(--paper-hi),0 0 0 5px var(--rule);transition:transform .2s var(--e-p3out)}
.wb-range::-moz-range-track{height:2px;border-radius:2px;background:rgb(17 18 18/.16)}
.wb-range::-moz-range-progress{height:2px;background:var(--ink)}
.wb-range::-moz-range-thumb{width:22px;height:22px;border:0;border-radius:50%;background:var(--ink);box-shadow:0 0 0 4px var(--paper-hi),0 0 0 5px var(--rule)}
.wb-range:active::-webkit-slider-thumb{transform:scale(1.1)}
.wb-range:focus{outline:none}
.wb-range:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px var(--paper-hi),0 0 0 5px var(--ink)}
.wb-range:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px var(--paper-hi),0 0 0 5px var(--ink)}

/* ---------- C · tone switcher ---------- */
.tone__chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 clamp(22px,3vw,36px);padding:0;border:0}
.tone__chips legend{float:left;margin-right:10px;padding:0;color:var(--ink-3)}
.tone__stage{position:relative;display:flex;align-items:center;min-height:calc(3 * 1.02 * clamp(1.5rem,2.4vw,2.25rem) + 24px);padding:12px 0 12px clamp(16px,2vw,24px);border-left:1px solid var(--ink)}
.tone__line{max-width:19em;text-wrap:pretty;overflow-wrap:anywhere}   /* a 28-letter name with no spaces must not push the page sideways */
.tone__ghost{position:absolute;left:clamp(16px,2vw,24px);right:0;top:50%;transform:translateY(-50%);pointer-events:none}

/* ---------- D · funnel ---------- */
.funnel__budget{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px}
.funnel__budget label{color:var(--ink-2)}
.funnel__out{font-family:var(--f-display);font-size:clamp(1.75rem,3vw,2.75rem);font-stretch:72%;font-weight:800;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.proof--funnel .wb-range{margin-top:6px}
.funnel__ends{display:flex;justify-content:space-between;margin-top:-6px;color:var(--ink-3)}
.funnel__assume{margin-top:16px;color:var(--ink-3)}
.funnel__assume span{color:var(--ink)}
.funnel__rows{margin-top:14px;border-top:1px solid var(--ink)}
.funnel__rows li{display:grid;grid-template-columns:minmax(9em,.9fr) minmax(0,1.6fr) minmax(6em,.7fr);align-items:center;gap:16px;min-height:54px;border-bottom:1px solid var(--rule)}
.funnel__rows .meta{color:var(--ink-2)}
.funnel__rows .num-s{justify-self:end;font-size:clamp(1.125rem,1.7vw,1.5rem);line-height:1}
.funnel__bar{display:block;height:10px;background:rgb(17 18 18/.06)}
.funnel__bar i{display:block;height:100%;background:var(--ink);transform-origin:0 50%;transform:scaleX(var(--s,.5))}
.funnel__cpl{border-top:1px solid var(--ink)}
.funnel__cpl .funnel__bar{background:transparent}
.funnel__cpl .funnel__bar i{background:transparent;box-shadow:inset 0 0 0 1px var(--ink)}   /* a ratio, not a stage of the funnel */
.funnel__note{margin-top:12px;color:var(--ink-3)}
@media (max-width:767px){
  .funnel__rows li{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding-block:12px}
  .funnel__rows .funnel__bar{grid-column:1/-1;grid-row:2}
}

/* ---------- E · Instagram grid, bio header + highlights ---------- */
.feed__chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 clamp(18px,2.4vw,28px);padding:0;border:0}
.feed__chips legend{float:left;margin-right:10px;padding:0;color:var(--ink-3)}
.feed{border:1px solid var(--rule);background:var(--paper-hi)}
.feed__bar{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--rule)}
.feed__dot{width:20px;height:20px;border-radius:50%;background:var(--ink);flex:none}
.feed__handle{color:var(--ink-3)}
.feed__profile{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;padding:16px 14px;border-bottom:1px solid var(--rule)}
.feed__avatar{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;border-radius:50%;background:var(--ink);color:var(--cream);font-family:var(--f-display);font-weight:800;font-size:1.125rem}
.feed__id{flex:1 1 12em;min-width:0}
.feed__name{margin:0;overflow-wrap:anywhere}
.feed__tagline{margin:2px 0 6px;color:var(--ink-2)}
.feed__link{display:inline-flex;align-items:center;gap:4px;margin:0;color:var(--ink-3);overflow-wrap:anywhere}
.feed__link .ico{width:11px;height:11px;flex:none}
.feed__follow{flex:none;display:inline-flex;align-items:center;min-height:30px;padding:0 16px;border-radius:999px;background:var(--ink);color:var(--cream);font-weight:600}
.feed__highlights{display:flex;gap:clamp(14px,2vw,22px);list-style:none;margin:0;padding:12px 14px;border-bottom:1px solid var(--rule);overflow-x:auto}
.feed__highlights li{display:flex;flex:none;flex-direction:column;align-items:center;gap:6px}
.feed__hcircle{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--ink);color:var(--ink-3)}
.feed__highlights .micro{color:var(--ink-3)}
.feed__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;list-style:none;margin:0;padding:2px;background:var(--rule)}
.feed__tile{position:relative;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:var(--paper-hi);overflow:hidden;transition:background-color .3s var(--e-p3out),color .3s var(--e-p3out)}
.feed__ico{width:clamp(18px,2.4vw,24px);height:clamp(18px,2.4vw,24px);color:var(--ink-3);transition:color .3s var(--e-p3out),transform .3s var(--e-p3out)}
.feed__cap{position:absolute;left:8px;right:8px;bottom:7px;text-align:left;line-height:1.15;color:var(--ink-3);overflow-wrap:anywhere;transition:color .3s var(--e-p3out)}
.feed__reel{position:absolute;left:7px;top:7px;width:13px;height:13px;padding:3px;border-radius:50%;background:var(--paper-hi);color:var(--ink);box-shadow:0 0 0 1px var(--rule)}
/* the "plays like a gif" loop: a muted progress bar, ~2.4s, so a reel reads as looping without faking real footage */
.feed__reelbar{position:absolute;left:0;right:0;top:0;height:3px;background:rgb(17 18 18/.12);overflow:hidden}
.feed__reelbar::after{content:"";position:absolute;inset:0;background:var(--ink-3);transform-origin:0 50%;animation:feedReel 2.4s linear infinite}
@keyframes feedReel{from{transform:scaleX(0)}to{transform:scaleX(1)}}
html[data-motion="off"] .feed__reelbar::after{animation:none;transform:scaleX(.6)}

/* premium: quiet, generous, a serif caption instead of mono */
.feed[data-feed-tone="premium"] .feed__cap{font-family:var(--f-serif);font-style:italic;text-transform:none;letter-spacing:0;font-size:.8125rem}

/* bold: high-contrast ink tiles, with exactly one yolk tile — the page's one yolk-coloured object while this tone is shown */
.feed[data-feed-tone="bold"] .feed__tile{background:var(--ink)}
.feed[data-feed-tone="bold"] .feed__ico{color:var(--cream)}
.feed[data-feed-tone="bold"] .feed__cap{color:var(--cream);font-weight:600}
.feed[data-feed-tone="bold"] .feed__reel{background:var(--cream)}
.feed[data-feed-tone="bold"] .feed__reelbar{background:rgb(247 244 233/.25)}
.feed[data-feed-tone="bold"] .feed__reelbar::after{background:var(--cream)}
.feed[data-feed-tone="bold"] .feed__tile:first-child{background:var(--yolk)}
.feed[data-feed-tone="bold"] .feed__tile:first-child .feed__ico,
.feed[data-feed-tone="bold"] .feed__tile:first-child .feed__cap{color:var(--ink)}

/* cheeky: hand-set angles on the icons, rounder frames, never on the interface itself (a static tilt, not a bounce) */
.feed[data-feed-tone="cheeky"] .feed__tile{border-radius:16px}
.feed[data-feed-tone="cheeky"] .feed__tile:nth-child(odd) .feed__ico{transform:rotate(-8deg)}
.feed[data-feed-tone="cheeky"] .feed__tile:nth-child(even) .feed__ico{transform:rotate(8deg)}
.feed[data-feed-tone="cheeky"] .feed__cap{font-weight:650}

/* ---------- F · LinkedIn card ---------- */
.li-form{display:grid;gap:14px;margin-bottom:clamp(18px,2.4vw,28px)}
@media (min-width:560px){.li-form{grid-template-columns:1fr 1.4fr;align-items:start}}
.li-card{display:flex;flex-wrap:wrap;gap:14px;padding:18px;border:1px solid var(--rule);background:var(--paper-hi)}
.li-card__avatar{display:flex;align-items:center;justify-content:center;width:52px;height:52px;flex:none;border-radius:50%;background:var(--ink);color:var(--cream);font-family:var(--f-display);font-weight:800;font-size:1.25rem}
.li-card__body{flex:1 1 16em;min-width:0}
.li-card__name{margin:0;overflow-wrap:anywhere}
.li-card__role{margin:2px 0 10px;color:var(--ink-2)}
.li-card__role span{color:var(--ink)}
.li-card__about{color:var(--ink-2);overflow-wrap:anywhere}

/* ---------- no JS: nothing below can update, so don't offer controls that do nothing ---------- */
html:not(.js) :is(.wb-bar,.svc-chip,.rig__hint,.rig__ctrl,.rig__readout,.proof--rig .proof__spec,.tone__chips,.feed__chips,.li-form,.proof--funnel .wb-range,.funnel__ends,.proof__act:has([data-send-plan],[data-grid-toggle])){display:none}

/* ---------- small screens: legends on their own line so the chips sit in one row ---------- */
@media (max-width:767px){
  .wb-bar__dirs legend,.tone__chips legend,.feed__chips legend{float:none;display:block;width:100%;margin:0 0 12px;padding:0}
}

@media (prefers-contrast:more){
  .sheet__guides{opacity:.7}
  .sheet__art{background-image:none}
}

/* ---------- forced colours (a11y-04) — kept last so it beats the base rules above ----------
   box-shadow and gradients are dropped and author colours become Canvas, so the thumb ring, the track and the
   thumb itself all vanished. A real outline for focus; system colours for the rest. */
@media (forced-colors:active){
  .wb-range:focus-visible{outline:2px solid Highlight;outline-offset:2px}
  .wb-range::-webkit-slider-runnable-track{forced-color-adjust:none;background:linear-gradient(90deg,CanvasText var(--p),GrayText var(--p))}
  .wb-range::-webkit-slider-thumb{forced-color-adjust:none;background:CanvasText;box-shadow:0 0 0 4px Canvas}
  .wb-range::-moz-range-track{forced-color-adjust:none;background:GrayText}
  .wb-range::-moz-range-progress{forced-color-adjust:none;background:CanvasText}
  .wb-range::-moz-range-thumb{forced-color-adjust:none;background:CanvasText;box-shadow:0 0 0 4px Canvas}
  .rig__frame{outline:1px solid CanvasText}
  .rig__grip{forced-color-adjust:none;background:CanvasText;box-shadow:0 0 0 3px Canvas}
  .funnel__bar i{forced-color-adjust:none;background:CanvasText}
  .funnel__cpl .funnel__bar i{background:transparent;box-shadow:none;outline:1px solid CanvasText;outline-offset:-1px}
  .feed__tile{outline:1px solid CanvasText}
  .feed__reel{forced-color-adjust:none;background:Canvas;box-shadow:0 0 0 1px CanvasText}
  .feed__reelbar{forced-color-adjust:none;background:Canvas;outline:1px solid CanvasText}
  .feed__reelbar::after{forced-color-adjust:none;background:CanvasText}
  .feed__avatar,.li-card__avatar{forced-color-adjust:none;background:CanvasText;color:Canvas}
  .feed__hcircle{forced-color-adjust:none;box-shadow:inset 0 0 0 1px CanvasText}
}
