/* ==== from style.css ==== */
:root {--bg:#f5f6ef;--paper:#fff;--ink:#20231f;--muted:#596153;--accent:#dfff70;--line:#d9ded2;--radius:20px;--display:'Arial Black',Arial,sans-serif}
* {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:30px}
body {margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 'Segoe UI',Arial,sans-serif}
button, input, textarea, select {font:inherit}
button, a, input, select, textarea {touch-action:manipulation}
a {color:inherit;text-decoration:none}
button {cursor:pointer;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);padding:11px 18px;font-weight:600}
/* Hover darkening only on real pointers: on phones :hover sticks after a tap. */
@media(hover:hover){button:hover, a.button:hover {filter:brightness(.94)}}
button:focus-visible, a:focus-visible {outline:3px solid #748e28;outline-offset:4px}
button.primary, .button {background:var(--ink);color:var(--bg);border:1px solid var(--ink);display:inline-block;padding:12px 22px;border-radius:10px;font-weight:650}
button.accent {background:var(--accent);color:var(--ink)}
button.small {padding:7px 12px;font-size:14px}
h1, h2, h3, p {margin-top:0}
h1, h2 {font-family:var(--display);letter-spacing:-.055em;line-height:1.04}
h1 {font-size:clamp(40px,5vw,76px);max-width:800px;margin-bottom:18px}
h2 {font-size:clamp(32px,4vw,48px);margin-bottom:16px}
h3 {font-size:22px;line-height:1.2;margin-bottom:10px}
p {color:var(--muted)}
small, .meta {font-size:14px;color:var(--muted)}
header {max-width:1320px;margin:auto;padding:28px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand {font-size:25px;font-weight:850;letter-spacing:-1px}
nav {display:flex;gap:30px;font-size:15px}
main {max-width:1240px;margin:auto;padding:24px 40px 60px}
section {margin-bottom:84px}
.code {background:transparent;border:1px dashed var(--ink);font-family:monospace;font-size:15px}
.disclosure {margin-top:14px;font-size:13px;max-width:850px}
.sectionheading {display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:26px}
.sectionheading h2 {margin:0}
.badge {font-size:12px;padding:5px 10px;border-radius:5px;background:var(--bg);color:var(--muted)}
.videos {display:grid;grid-template-columns:1fr 1fr;gap:24px}
.video {background:var(--paper);border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}
.video img {width:100%;height:330px;object-fit:cover}
.video>div {padding:22px}
.stats {display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:28px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:30px}
.stats strong {font-size:34px;letter-spacing:-1px;display:block}
.stats small {display:block}
.socials {display:flex;gap:14px;flex-wrap:wrap;margin-top:22px}
.contact {display:grid;grid-template-columns:1fr 1fr;gap:60px}
.form {display:grid;gap:16px}
label {display:block;font-size:14px;font-weight:600}
input, select, textarea {width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);margin-top:5px}
input[type=checkbox] {width:18px;height:18px;margin:0;accent-color:#738c22}
textarea {min-height:100px;resize:vertical}
.check {display:flex;align-items:center;gap:10px}
.check input {flex-shrink:0}
.check label {font-size:14px;font-weight:400}
.two {display:grid;grid-template-columns:1fr 1fr;gap:16px}
footer {border-top:1px solid var(--line);padding:30px 5%;display:flex;align-items:center;gap:20px;justify-content:space-between;font-size:13px;color:var(--muted)}
#studio, #client {max-width:1380px}
.studiohead {display:flex;justify-content:space-between;align-items:center;gap:20px;margin:20px 0 25px}
.studiohead h1 {font-size:42px}
.studiohead p {margin-bottom:0}
.tabs {display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:30px}
.tabs button.active {background:var(--ink);color:var(--bg)}
.panel {background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:28px;margin-bottom:22px}
.workgrid {display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.sticky {position:sticky;top:20px}
.kit {padding:35px;background:var(--paper);border:1px solid var(--line);border-radius:12px}
.kit .kitcover {display:flex;gap:25px;align-items:center;margin:25px 0}
.kitcover img {width:130px;height:160px;object-fit:cover;border-radius:12px}
.kit h2 {font-size:40px}
.kit h3 {margin-top:25px}
.kit .stats {gap:12px;margin:20px 0}
.kit .stats strong {font-size:25px}
.kit .stats small {font-size:12px}
.service {display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.service>label {flex:1}
.service input[type=number] {width:100px;margin:0}
.service .currency {font-size:14px}
.kitservice {display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.kitservice p {margin:3px 0;font-size:14px}
.kitservice strong {white-space:nowrap}
.row {display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:15px}
.row h3 {margin:0}
.row .actions {display:flex;gap:8px;flex-wrap:wrap}
.metricgrid {display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.metricgrid .panel {margin:0}
.metricgrid strong {font-size:32px;display:block}
.bar {height:8px;border-radius:4px;background:var(--line);overflow:hidden;margin:12px 0}
.bar span {display:block;background:var(--ink);height:100%}
.libraryitem {padding:18px 0;border-bottom:1px solid var(--line)}
.libraryitem p {margin:5px 0;font-size:14px}
.empty {padding:35px;text-align:center;color:var(--muted)}
dialog {background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:35px;max-width:620px;width:calc(100% - 28px);max-height:90dvh;overflow:auto}
dialog::backdrop {background:#0009}
.close {position:absolute;right:12px;top:10px;padding:3px 10px;font-size:24px;border:0}
#toast {position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--bg);border-radius:10px;padding:14px 22px;display:none;z-index:100;max-width:90%;text-align:center}
[hidden] {display:none!important}
@media(max-width:800px) {
header {padding:22px 20px}
nav {gap:15px;font-size:14px}
main {padding:20px}
.contact, .workgrid {grid-template-columns:1fr}
.videos {gap:16px}
.video img {height:230px}
.video>div {padding:18px}
.stats strong {font-size:28px}
.contact {gap:25px}
.sticky {position:static}
section {margin-bottom:60px}
.studiohead {align-items:start}
footer {flex-direction:column;align-items:start}
.metricgrid {grid-template-columns:1fr}
.panel {padding:20px}
.kit {padding:22px}
.kit h2 {font-size:32px}
.sectionheading {align-items:start;flex-direction:column}
.studiohead h1 {font-size:32px}
.two {gap:10px}
.row {align-items:start;flex-wrap:wrap}
}
@media(max-width:480px) {
header {flex-direction:column;align-items:start;gap:14px}
.brand {font-size:24px}
nav {width:100%;justify-content:space-between}
h1 {font-size:44px}
.videos {grid-template-columns:1fr}
.video img {height:330px}
.stats {gap:12px}
.stats strong {font-size:25px}
.stats small {font-size:12px}
.kitcover img {width:100px}
.kit .kitcover {gap:15px}
.service {gap:8px}
.service>label {font-size:14px}
}
@media(prefers-reduced-motion:reduce) {
html {scroll-behavior:auto}
}
@media print {
body {background:white!important;color:#111!important}
header, footer, #studio, #public, #modal, #toast, .clientcontrols {display:none!important}
#client {display:block!important;max-width:none;padding:0}
.kit {border:0;box-shadow:none;color:#111;background:white}
.kit p, .kit small {color:#555}
.kitservice, .kitcover, .stats {break-inside:avoid}
.kit h2 {font-size:38px}
button {display:none!important}
}
:root {color-scheme:light;--accent-ink:#20231f}
:root[data-mode=dark] {color-scheme:dark;--bg:#161a15;--paper:#222820;--ink:#f3f6ee;--muted:#b6c1ae;--accent:#dfff70;--line:#424c3b;--accent-ink:#20231f}
button.accent {color:var(--accent-ink)}
input[type=checkbox] {accent-color:#708922}
:root[data-mode=dark] input[type=checkbox] {accent-color:var(--accent)}
:root[data-mode=dark] button:focus-visible, :root[data-mode=dark] a:focus-visible {outline-color:var(--accent)}
#modeToggle {min-width:110px}

/* ==== from catalogue.css ==== */
.catalogue {margin-top:42px}
.cataloguehead {display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}
.cataloguehead h2 {font-size:36px;margin-bottom:8px}
.cataloguehead p {margin:0}
.productsearch {width:280px;font-size:14px}
.productfilters {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.productfilters button {font-weight:500}
.productfilters button.active {background:var(--ink);color:var(--bg);border-color:var(--ink)}
.productgrid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.productcard {display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:transform .15s}
.productcard:hover {transform:translateY(-3px)}
.productimage {display:grid;place-items:center;aspect-ratio:1;background:#fff;padding:22px;border-bottom:1px solid var(--line)}
.productimage img {width:100%;height:100%;max-height:220px;object-fit:contain}
.imagefallback {color:#555;font-size:14px}
.productdetails {display:flex;flex:1;flex-direction:column;padding:18px;gap:10px}
.productdetails>small {font-size:12px}
.productdetails h3 {font-size:17px;line-height:1.35;margin:0;font-weight:700;letter-spacing:-.2px;min-height:46px}
.productdetails p {font-size:14px;margin:0}
.productbuy {margin-top:auto;width:100%;text-align:center;font-size:14px;padding:11px 8px}
.productdetails .code {margin-bottom:4px}
.adminproductgrid {display:grid;grid-template-columns:1fr 1fr;gap:18px}
.adminproduct {display:grid;grid-template-columns:110px 1fr;gap:20px;align-items:center;margin:0}
.adminproduct img {width:110px;height:110px;object-fit:contain;background:white;border-radius:10px}
.adminproduct h3 {font-size:18px}
.productlinkstatus {font-size:13px;margin:7px 0 15px}
.adminproduct .row {margin:0}
@media(max-width:1000px) {
.productgrid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:800px) {
.productgrid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cataloguehead {align-items:start;flex-direction:column;gap:18px}
.productsearch {width:100%}
.productimage {padding:16px}
.productdetails {padding:14px}
.adminproductgrid {grid-template-columns:1fr}
.productfilters {flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}
.productfilters button {white-space:nowrap;flex-shrink:0}
.catalogue {margin-top:30px}
}
@media(max-width:480px) {
.productdetails h3 {font-size:15px;min-height:61px}
.productdetails {padding:12px;gap:8px}
.productbuy {font-size:13px;padding:10px 6px}
.productimage {padding:12px}
.cataloguehead h2 {font-size:32px}
.adminproduct {grid-template-columns:85px 1fr;padding:16px;gap:14px}
.adminproduct img {width:85px;height:85px}
}
@media(prefers-reduced-motion:reduce) {
.productcard {transition:none}
.productcard:hover {transform:none}
}
#home {margin-bottom:32px}
.productimage>.imagefallback[aria-hidden] {font:800 56px/1 var(--display);color:var(--ink)}
.adminproduct>.imagefallback {display:grid;place-items:center;aspect-ratio:1;background:var(--bg);border-radius:12px}
:root {--focus:#52691a}
:root[data-mode=dark] {--focus:#dfff70}
:where(button,a,input,select,textarea):focus-visible {outline:3px solid var(--focus)!important;outline-offset:3px}
button, a.button, input:not([type=checkbox]), select {min-height:44px}
button, a.button {min-width:44px}
button.small, .productbuy {min-height:44px}
a.button {display:inline-flex;align-items:center;justify-content:center}
header a, footer a, nav a, .sectionheading>a {display:inline-flex;align-items:center;min-height:44px;min-width:44px}
nav {flex-wrap:wrap}
.check {min-height:44px;cursor:pointer}
input[type=checkbox] {width:24px;height:24px}
.service>input[type=checkbox] {width:44px;height:44px}
button:disabled {cursor:default;opacity:.6}
img {max-width:100%}
.video img, .video-placeholder {display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.video-placeholder {display:grid;place-items:center;background:var(--bg);color:var(--muted)}
.kitcover img {flex-shrink:0}
.kitcover>div, .adminproduct>div {min-width:0}
main, p, h1, h2, h3, small, .meta, .brand {overflow-wrap:anywhere}
:root[data-mode=dark] .productimage>.imagefallback[aria-hidden] {color:#20231f}
@media(max-width:480px) {
.two {grid-template-columns:1fr}
.studiohead {flex-wrap:wrap}
.tabs button {flex:1 1 135px}
.kit .kitcover {align-items:flex-start;flex-wrap:wrap}
.adminproduct {grid-template-columns:1fr}
.service {flex-wrap:wrap}
.service>label {min-width:120px}
nav {gap:8px 16px;justify-content:flex-start}
.stats {grid-template-columns:repeat(auto-fit,minmax(85px,1fr))}
input[type=file] {max-width:100%;font-size:14px}
}
.kit a, .libraryitem a {display:inline-flex;align-items:center;min-height:44px;min-width:44px}

/* ==== from design.css ==== */
/* SirChesterCoon design system (option A "Cat on the sofa", 2026-10-13).
   Owns tokens, type, header, hero and the codes band. Other sections follow
   docs/design.md and should reuse these tokens instead of new colours. */
@font-face{font-family:'Figtree';src:url(fonts/figtree-latin-400-normal.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Figtree';src:url(fonts/figtree-latin-600-normal.woff2) format('woff2');font-weight:600;font-display:swap}

:root{
  --lime:#dfff70; --moss:#748e28; --forest:#20231f; --night:#161a15;
  --bg:#f5f6ef; --paper:#fff; --ink:#20231f; --muted:#596153; --line:#d9ded2;
  --accent:var(--lime); --accent-ink:var(--forest);
  --band:var(--lime); --band-ink:var(--forest);
  --display:'Fraunces',Georgia,serif; --body:'Figtree','Segoe UI',Arial,sans-serif;
  --radius:20px; --pill:999px; --wrap:1180px; --gutter:clamp(18px,4vw,40px);
}
:root[data-mode=dark]{
  --bg:#161a15; --paper:#222820; --ink:#f3f6ee; --muted:#b6c1ae; --line:#424c3b;
  --band:#222820; --band-ink:#f3f6ee;
}
body{font-family:var(--body);font-size:17px;line-height:1.55;background:var(--bg);color:var(--ink)}
h1,h2,h3{font-family:var(--display);font-weight:900;letter-spacing:-.025em;line-height:1}
h3{font-weight:600;letter-spacing:-.01em;line-height:1.15}
:focus-visible{outline:3px solid var(--moss);outline-offset:3px}
:root[data-mode=dark] :focus-visible{outline-color:var(--lime)}

/* Buttons used by the new sections */
.pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 24px;border-radius:var(--pill);border:0;font:600 16px/1 var(--body);text-decoration:none;cursor:pointer}
.pill.dark{background:var(--forest);color:var(--lime)}
.pill.lime{background:var(--lime);color:var(--forest)}
:root[data-mode=dark] .pill.dark{background:var(--lime);color:var(--forest)}
:root[data-mode=dark] .pill.lime{background:transparent;color:var(--lime);box-shadow:inset 0 0 0 2px var(--lime)}

@font-face{font-family:'Fraunces';src:url(fonts/fraunces/fraunces-latin-900-soft100.woff2) format('woff2');font-weight:900;font-style:normal;font-display:swap}
:root{--logo-cut:var(--bg)}
h1,h2,h3,.brand-wordmark{font-optical-sizing:auto;font-variation-settings:'SOFT' 100;font-synthesis:none}
/* Header */
header.site{max-width:1240px;margin:0 auto;padding:18px 40px;display:flex;align-items:center;gap:28px;flex-direction:row}
header.site .logo{display:flex;flex-direction:column;line-height:1;text-decoration:none;color:var(--ink)}
header.site .logo b{font:800 26px/1 var(--display);letter-spacing:-.02em}
header.site .logo small{font-size:13px;color:var(--muted);margin-top:5px;letter-spacing:0}
header.site nav{display:flex;gap:26px;margin-left:auto;font-weight:600;font-size:15px;width:auto}
header.site nav a{color:var(--ink);text-decoration:none;padding:12px 0}
header.site nav a:hover{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}
header.site .tools{display:flex;gap:10px;align-items:center}
.modebtn,#modeToggle.modebtn{width:44px;min-width:44px;height:44px;flex:none;padding:0;border-radius:50%;border:1.5px solid var(--ink);background:transparent;color:var(--ink);display:grid;place-items:center}
.modebtn svg{width:20px;height:20px}
.modebtn .sun,:root[data-mode=dark] .modebtn .moon{display:none}
:root[data-mode=dark] .modebtn .sun{display:block}
.follow{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:var(--pill);background:var(--forest);color:var(--lime);font-weight:600;font-size:14px;text-decoration:none}
/* Follow has the same resting palette in both themes; lime is the timed press flash. */
.menubtn{display:none}
/* Owner-only entry while the studio still lives on this page (until /admin). */
#studioBtn{position:fixed;left:16px;bottom:16px;z-index:20;border-radius:var(--pill);background:var(--forest);color:#fff;border:0;min-height:44px;font-size:14px}

/* Hero */
#home.hero{max-width:var(--wrap);margin:0 auto;padding:8px 0 64px;display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
#home h1{font-size:clamp(48px,6.6vw,92px);line-height:.95;letter-spacing:-.035em;margin:0;max-width:11ch}
#home .lead{font-size:20px;color:var(--muted);max-width:32ch;margin:22px 0 30px}
#home .ctas{display:flex;gap:12px;flex-wrap:wrap}
#home .photo{position:relative;justify-self:end;width:min(460px,100%);margin:0}
#home .photo::before{content:"";position:absolute;inset:-6% -8% -4% 8%;background:var(--lime);border-radius:58% 42% 50% 50%/48% 56% 44% 52%}
:root[data-mode=dark] #home .photo::before{background:var(--moss)}
#home .photo img{position:relative;display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:28px}
#home .sticker{position:absolute;left:-24px;bottom:34px;background:var(--forest);color:var(--lime);font:800 17px/1.15 var(--display);padding:14px 18px;border-radius:16px;transform:rotate(-6deg)}

/* Codes band */
/* Full-bleed band inside the centred main column, without causing sideways scroll. */
#codes.band{background:var(--band);color:var(--band-ink);padding:36px 0 44px;margin:0 0 72px;box-shadow:0 0 0 100vmax var(--band);clip-path:inset(0 -100vmax)}
#codes .inner{max-width:var(--wrap);margin:0 auto}
#codes h2{font-size:24px;margin:0 0 18px}
.tickets{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
.ticket{position:relative;display:grid;grid-template-columns:1fr auto;gap:6px 16px;align-items:center;padding:20px 22px;border-radius:18px;background:#fff;color:var(--forest)}
.ticket::before,.ticket::after{content:"";position:absolute;right:137px;width:18px;height:18px;border-radius:50%;background:var(--band)}
.ticket::before{top:-9px}.ticket::after{bottom:-9px}
.ticket .what{font-weight:600;font-size:15px;color:#596153}
.ticket .deal{font:800 23px/1.1 var(--display);letter-spacing:-.02em;margin:0}
.ticket .take{grid-row:1/4;grid-column:2;width:124px;border-left:2px dashed #d9ded2;padding-left:16px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
.ticket .take small{font-size:13px;color:#596153}
.ticket .take button,.ticket .take a{font:800 16px/1.2 var(--display);letter-spacing:.03em;color:var(--forest);background:none;border:0;padding:6px 0;min-height:44px;text-decoration:underline;text-underline-offset:4px;cursor:pointer;font-size:15px;overflow-wrap:anywhere}
.ticket .tag{grid-column:1}

@media (max-width:860px){
  header.site{padding:14px 20px}
  header.site .logo small{white-space:nowrap}
  header.site nav{display:none}
  header.site .tools{margin-left:auto}
  header.site .follow{display:none}
  .menubtn{display:grid;width:44px;height:44px;padding:0;border-radius:50%;border:1.5px solid var(--ink);background:transparent;color:var(--ink);place-items:center;font-size:18px}
  header.site.open nav{display:flex;position:absolute;left:0;right:0;top:80px;z-index:15;flex-direction:column;gap:0;padding:8px var(--gutter) 16px;background:var(--bg);border-bottom:1px solid var(--line)}
  header.site{position:relative}
  #home.hero{grid-template-columns:1fr;gap:36px;padding-top:12px}
  #home .photo{justify-self:center;width:88%}
  #home .sticker{left:-10px}
  #home .lead{font-size:18px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media print{header.site,#studioBtn{display:none!important}}
/* Studio login (B3) */
.panel.login{max-width:420px;margin:12vh auto;padding:28px}
.panel.login h1{font-size:32px;margin:0 0 6px}
.panel.login p a{display:inline-flex;align-items:center;min-height:44px}
#loginMessage{min-height:1.4em;color:var(--ink);font-weight:600;margin:8px 0 0}
#saveStatus{font-weight:600}
/* B4: contact honeypot (hidden from people and screen readers), new client link box */
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.created-link{border-color:var(--moss,#748e28);margin-bottom:16px}
.created-link input{font-family:ui-monospace,monospace}

/* ==== from sections.css ==== */
/* Section implementations; foundation tokens/header/hero/codes remain in design.css. */
#finds h2,#cats h2,#watch h2,#contact h2,#privacy h2{font:800 clamp(34px,4.4vw,52px)/1 var(--display);letter-spacing:-.025em}
.pill.outline{background:transparent;color:inherit;box-shadow:inset 0 0 0 1px currentColor}
#finds .catalogue{margin-top:0}
#finds .productimage{background:var(--bg)}
#finds .productdetails h3{font:600 20px/1.15 var(--display);min-height:0;letter-spacing:-.01em}
#finds .productdetails>small{font-size:14px;color:var(--muted)}
#finds .code-chip{background:var(--lime);color:var(--forest);padding:8px 14px;border:0;align-self:flex-start;font-size:14px}
#finds .productbuy{margin-top:auto;width:100%;font-size:15px;padding:12px}
#finds .productcard{box-shadow:none;border-radius:20px}
#finds .productfilters{flex-wrap:wrap;overflow:visible}
@media(max-width:480px){#finds .productdetails h3{font-size:20px}#finds .productdetails{padding:14px}.productgrid{gap:12px}}

#cats.cats-band{background:var(--forest);color:var(--paper);box-shadow:0 0 0 100vmax var(--forest);clip-path:inset(0 -100vmax);padding:64px 0}
:root[data-mode=dark] #cats.cats-band{color:var(--ink)}
#cats>p,#cats time,#cats .cat-card p{color:inherit}
#cats .cat-cards{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:32px}
#cats .cat-card{background:var(--night);border-radius:20px;overflow:hidden}
#cats .cat-card>img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover}
#cats .cat-card>div{padding:28px}
#cats .cat-card h3{font:800 36px/1 var(--display);color:var(--lime);margin:0 0 12px}
#cats time{font-size:14px}
#cats .cat-card p{margin:20px 0}
#cats .cat-traits{display:flex;flex-wrap:wrap;gap:8px}
#cats .cat-traits span{border:1px solid currentColor;border-radius:var(--pill);padding:7px 12px;font-size:14px}
#cats .cat-backdrop{display:block;width:100%;height:360px;object-fit:cover;border-radius:20px;margin:28px 0}
@media(max-width:650px){#cats .cat-cards{grid-template-columns:1fr}#cats.cats-band{padding:44px 0}#cats .cat-card>div{padding:24px}#cats .cat-backdrop{display:none}}

#watch .videos{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
#watch .video{border:0;background:var(--paper);box-shadow:none;border-radius:20px}
#watch .video>img,#watch .video-placeholder{border-radius:18px;aspect-ratio:16/9;width:100%;height:auto;object-fit:cover}
#watch .video h3{font:600 25px/1.15 var(--display)}
#watch .video-links{display:flex;flex-wrap:wrap;gap:8px}
#watch .video-links .pill{font-size:14px;min-height:44px;padding:10px 16px}
@media(max-width:650px){#watch .videos{grid-template-columns:1fr}}

#watch .stats-band{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;padding:44px 0;margin:52px 0;background:var(--lime);color:var(--forest);box-shadow:0 0 0 100vmax var(--lime);clip-path:inset(0 -100vmax)}
#watch .stats-band strong{display:block;font:800 56px/1 var(--display);margin-bottom:14px;font-variant-numeric:tabular-nums;letter-spacing:-.025em}
#watch .stats-band span{color:var(--forest)}
#watch .follow-row{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
#watch .follow-row h3{font:800 32px/1 var(--display);margin:0}
#watch .follow-row .socials{margin:0}
@media(max-width:650px){#watch .stats-band{grid-template-columns:1fr;gap:30px}#watch .follow-row{align-items:flex-start;flex-direction:column}}

#contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:60px;align-items:start}
#contact>div>p{max-width:52ch}
#contact .form{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:28px}
#contact .form .pill{justify-self:start}
#contact .form input,#contact .form select,#contact .form textarea{background:var(--bg)}
@media(max-width:800px){#contact{grid-template-columns:1fr;gap:24px}#contact .form{padding:24px}}

footer{display:block;background:var(--forest);color:var(--paper);border:0;padding:44px var(--gutter);width:100%}
:root[data-mode=dark] footer{color:var(--ink)}
footer .footer-content{max-width:var(--wrap);margin:auto;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}
footer .footer-logo{font:800 26px/1 var(--display);color:var(--lime);letter-spacing:-.02em}
footer nav{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
footer .socials{margin:0;gap:10px}
footer p,footer small{color:inherit;margin:0}
footer .footer-business{display:grid;gap:4px}
footer .pill.outline{font-size:14px;padding:10px 16px;min-height:44px}
@media(max-width:800px){footer .footer-content{grid-template-columns:1fr;align-items:start}footer nav{justify-content:flex-start}}

#studio .studiohead h1{font:800 32px/1 var(--display);margin:0}
#studio .studio-notice{color:var(--muted);font-size:14px;margin:0 0 24px}
#studio .tabs{gap:8px;border-bottom:1px solid var(--line)}
#studio button,dialog button{border-radius:var(--pill);font-family:var(--body);min-height:44px}
#studio .tabs button.active{background:var(--forest);color:var(--lime)}
#studio .panel{background:var(--paper);box-shadow:none;border-radius:20px}
#studio .studiohead{margin:8px 0 16px}
#studio .tabs button{padding:12px 18px}

.kit{font-family:var(--body);background:var(--paper);color:var(--ink);border-radius:20px;box-shadow:none}
.kit h2{font:800 clamp(32px,4vw,44px)/1 var(--display)}
.kit h3{font:600 25px/1.15 var(--display)}
.kit .stats strong{font-family:var(--display);font-weight:800}
.kit .badge{font-weight:600;letter-spacing:0}
#client button{border-radius:var(--pill);font-family:var(--body);min-height:44px}
#client .clientcontrols{margin-bottom:24px}

@media print{.kit{background:transparent;color:inherit}.kit .badge{background:transparent;color:inherit}}
/* Editable people and content controls use the existing palette and spacing. */
.people-grid,.people-editors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px}
.person-card{display:flex;gap:24px;border:1px solid var(--line);border-radius:24px;padding:24px;min-width:0}
.person-card img,.initials{width:100px;height:100px;flex:0 0 100px;border-radius:50%;object-fit:cover}
.initials{display:grid;place-items:center;background:var(--lime);color:var(--forest);font-size:28px;font-weight:800}
.person-card h3{margin:0 0 8px}.person-card p{margin:16px 0}.content-copy{white-space:pre-line;overflow-wrap:anywhere}
.editor-photo{width:100px;height:100px;object-fit:cover;border-radius:12px}
#textsEditor summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-weight:700}
#textsEditor details{border-bottom:1px solid var(--line);padding:12px 0}#textsEditor textarea{min-height:100px}
.people-editors .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.people-editors .panel{min-width:0}
@media(max-width:700px){.people-grid,.people-editors{grid-template-columns:1fr}.person-card{flex-direction:column}}
.sharing-preview{max-width:640px;border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:16px 0}
.sharing-preview img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover}
.sharing-preview>div{padding:20px;background:var(--paper);color:var(--ink)}
.sharing-preview h3,.sharing-preview p{overflow-wrap:anywhere}
#sharingSettings .actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}
.missing-page{max-width:1000px;margin:0 auto;padding:60px 40px 100px}
.missing-page h1{font-family:var(--display);font-size:clamp(40px,6vw,76px);line-height:1.05;letter-spacing:-.04em;margin:20px 0}
.missing-page>p{max-width:560px}.missing-page .pill{margin-top:24px}
.missing-mark{display:inline-block;background:var(--lime);color:var(--forest);padding:20px 28px;border-radius:28px;font-size:72px;line-height:1;font-weight:800}
@media(max-width:700px){.missing-page{padding:40px 20px 70px}header.site:has(#missingMode){flex-wrap:wrap}#missingMode{min-height:44px}}
/* Stable Studio chrome, independent of workspace height and loading states. */
html{scrollbar-gutter:stable}
#studio .studiohead{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:24px;flex-wrap:nowrap}

#studio .studio-notice{margin:12px 0 0;max-width:560px}
#studio .studio-actions{display:flex;gap:12px;align-items:center}
#studio .studio-actions>*{white-space:nowrap;min-height:48px}
#catsEditor .adminproduct{margin:16px 0}
@media(max-width:700px){#studio .studiohead{grid-template-columns:1fr;gap:12px}#studio .studio-actions{justify-content:flex-end}}
.login-code-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.login-code-actions>*{min-height:44px}
.device-card{display:flex;justify-content:space-between;align-items:start;gap:20px}
.device-card>div{min-width:0}.device-card h3,.device-card dd{overflow-wrap:anywhere}
.device-card dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 16px;margin:16px 0}
.device-card dt{color:var(--muted)}.device-card dd{margin:0}
@media(max-width:700px){.device-card{flex-direction:column}.device-card dl{grid-template-columns:1fr;gap:4px}.device-card dd{margin-bottom:8px}}
.privacy-page{padding-bottom:0}#privacy{max-width:900px;margin:32px auto 70px}
#watch .video-group{margin:32px 0}#watch .portrait-videos{grid-template-columns:repeat(3,minmax(0,1fr))}
#watch .video.portrait>img,#watch .video.portrait .video-placeholder{aspect-ratio:9/16}
#watch .video.landscape>img,#watch .video.landscape .video-placeholder{aspect-ratio:16/9}
@media(max-width:650px){#watch .portrait-videos{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:16px;padding-bottom:16px}#watch .portrait-videos>.video{flex:0 0 82%;scroll-snap-align:start}}
/* Motion is opt-in on observed elements; without JavaScript content stays visible. */
[data-reveal]{transition:opacity 450ms ease,transform 450ms cubic-bezier(.22,.61,.36,1)}
[data-reveal="pending"]{opacity:0;transform:translateY(18px)}
[data-reveal="shown"]{opacity:1;transform:translateY(0)}
.scroll-photo{transform:scale(var(--photo-scale,1));transform-origin:center;will-change:transform}
.hero .photo-window{overflow:hidden;border-radius:28px}#about .person-card{overflow:hidden}
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:2}
.modebtn.turning svg{animation:icon-rise 520ms cubic-bezier(.2,.8,.2,1) both}
#modeToggle{transition:color 240ms ease,transform 200ms ease,opacity 200ms ease}
#modeToggle svg{view-transition-name:mode-icon;transform-origin:50% 50%}
/* Both icons turn on one wheel whose hub sits below the button: the old one sets to the right, the new one rises from the left. */
::view-transition-group(mode-icon){animation-duration:600ms}
::view-transition-old(mode-icon),::view-transition-new(mode-icon){transform-origin:50% 190%;mix-blend-mode:normal}
::view-transition-old(mode-icon){animation:icon-set 420ms cubic-bezier(.55,0,.7,.4) both}
::view-transition-new(mode-icon){animation:icon-rise 560ms 90ms cubic-bezier(.2,.8,.2,1) both}
@keyframes icon-set{to{transform:rotate(62deg) scale(.75);opacity:0}}
@keyframes icon-rise{from{transform:rotate(-62deg) scale(.75);opacity:0}60%{opacity:1}to{transform:none;opacity:1}}
@keyframes icon-fade-out{to{opacity:0}}
:where(a,button,summary,input,select,textarea,[role="button"]){-webkit-tap-highlight-color:transparent}
:where(a,button,summary,[role="button"]){user-select:none;transition:transform 200ms ease,opacity 200ms ease}
:where(a,button,summary,[role="button"]):where(:not(header *):not(#studio .tabs a)):active{transform:scale(.97);background-color:var(--lime);color:var(--forest)}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--lime);outline-offset:4px;box-shadow:0 0 0 6px var(--forest)}
button[data-ticketcode],button[data-productcode]{user-select:text}
@media(hover:hover){:where(a,button,summary,[role="button"]):hover{transform:translateY(-2px);opacity:.85}}
.copy-success{position:relative;animation:copy-pop 300ms ease;background:var(--lime)!important;color:var(--forest)!important}
.copy-success::before,.copy-success::after{content:"";position:absolute;pointer-events:none;left:50%;top:50%}
.copy-success::before{width:100%;height:100%;border:2px solid currentColor;border-radius:999px;animation:copy-ripple 500ms ease-out both}
.copy-success::after{width:4px;height:4px;border-radius:50%;background:currentColor;box-shadow:0 -24px currentColor,20px -12px currentColor,20px 12px currentColor,0 24px currentColor,-20px 12px currentColor,-20px -12px currentColor;animation:copy-burst 500ms ease-out both}
@keyframes copy-pop{50%{transform:scale(1.08)}}
@keyframes copy-ripple{from{transform:translate(-50%,-50%) scale(.7);opacity:.8}to{transform:translate(-50%,-50%) scale(1.35);opacity:0}}
@keyframes copy-burst{from{transform:translate(-50%,-50%) scale(.5);opacity:1}to{transform:translate(-50%,-50%) scale(1.4);opacity:0}}
header .tools{position:relative}.follow-menu{position:absolute;z-index:20;right:0;top:calc(100% + 12px);padding:16px;min-width:220px;background:var(--paper);border:1px solid var(--line);border-radius:20px}
.follow-menu:not([hidden]){display:grid;gap:10px}.follow-menu a{min-height:44px}
header.site .follow{align-items:center;gap:6px}.follow-icon{width:18px;height:18px;display:none;flex:none}.follow-short{display:none}
@media(max-width:700px){header.site{gap:10px;flex-wrap:nowrap;padding:14px 16px}header.site .logo{min-width:0;flex:1 1 auto;align-items:flex-start;text-align:left}header.site .logo b{font-size:clamp(19px,5.6vw,26px)}header.site .logo small{white-space:normal;font-size:12px}
  header.site .tools{flex:none;gap:8px}header.site .follow{display:inline-flex;font-size:13px;padding:0 14px;min-height:44px}header.site .follow[hidden]{display:none}.follow-long{display:none}.follow-short{display:inline}
  header.site .follow-menu{max-width:calc(100vw - 32px);right:0}}
@media(max-width:420px){header.site .follow{width:44px;padding:0;justify-content:center}.follow-short{display:none}.follow-icon{display:block}}
.required-hint{font-size:12px;font-weight:400;color:var(--muted)}
.field-error{min-height:1.4em;font-size:13px;margin:6px 0;color:var(--ink)}
[aria-invalid="true"]{outline:2px solid var(--forest);outline-offset:2px}
.form .two>div{min-width:0}.form .two>div>input{width:100%}
#studio #workspace>.panel,#studio #workspace>.workgrid,#studio #workspace>.row{margin-bottom:24px}
#studio .workgrid>div>.panel{margin-bottom:24px}#studio .panel:last-child{margin-bottom:0}
#studio .tabs a{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:var(--pill);padding:14px 18px;min-height:48px;color:var(--ink);background:var(--paper);font-size:14px;font-weight:600;text-decoration:none}
#studio .tabs a.active{background:var(--lime);color:var(--forest)}
@media(max-width:700px){#studio .tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;gap:10px;padding:6px 16px 14px;margin-left:-16px;margin-right:-16px;mask-image:linear-gradient(to right,transparent,#000 16px,#000 calc(100% - 16px),transparent)}#studio .tabs a{flex:0 0 auto;white-space:nowrap;scroll-snap-align:center}}
@media(prefers-reduced-motion:reduce){
  [data-reveal]{transition:opacity 180ms ease;transform:none!important}
  .scroll-photo{transform:none!important}
  :where(a,button,summary,[role="button"]){transition:opacity 180ms ease}
  :where(a,button,summary,[role="button"]):hover,:where(a,button,summary,[role="button"]):active{transform:none}
  .copy-success,.copy-success::before,.copy-success::after,.modebtn.turning svg{animation:motion-fade 180ms ease}
  ::view-transition-old(mode-icon){animation:icon-fade-out 180ms ease both}::view-transition-new(mode-icon){animation:motion-fade 180ms ease both}
  #studio .tabs{scroll-behavior:auto}
}
@keyframes motion-fade{from{opacity:.5}to{opacity:1}}

#privacy ul{padding-left:1.2em;margin:10px 0 0}#privacy li{margin:10px 0;line-height:1.55}#privacy h3{margin-top:28px}
#privacy a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){header.site.open nav{top:100%}}

/* Empty picture slots collapse publicly; their upload controls stay explicit. */
#home.hero.without-picture{grid-template-columns:1fr;padding-top:48px;max-width:var(--wrap)}
#home.without-picture>div{max-width:760px}
.no-picture{display:grid;align-content:center;gap:12px;text-align:center;padding:28px;min-height:150px;border:1px dashed var(--line);border-radius:18px;color:var(--muted);background:var(--bg)}
.no-picture small{display:block}.sharing-preview:has(.no-picture){grid-template-columns:1fr}
.adminproduct>.no-picture{padding:12px;font-size:14px;overflow-wrap:normal}
/* A spacer reserves the full header's height while the compact bar floats. */
.header-space{display:none}.header-space.reserved{display:block}
header.site{z-index:50;position:relative}
header.site.compact{position:fixed;inset:10px 20px auto;max-width:1200px;min-height:56px;margin:auto;padding:6px 20px;border:1px solid var(--line);border-radius:28px;background:var(--paper);box-shadow:0 5px 22px #00000016;gap:18px}
@supports(backdrop-filter:blur(16px)){header.site.compact{background:color-mix(in srgb,var(--paper) 90%,transparent);backdrop-filter:blur(16px)}}
header.site.compact .logo small{display:none}
header.site.compact .logo b{font-size:22px}
header.site.compact nav{font-size:13px;gap:18px}
header.site.compact .follow{font-size:13px;min-height:44px}
#public section[id]{scroll-margin-top:88px}
.back-to-top{position:fixed;z-index:40;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);box-shadow:0 4px 16px #00000020;font-size:24px}
.back-to-top[hidden]{display:none}
@media(max-width:700px){
  header.site.compact{inset:8px 12px auto;padding:6px 12px;gap:8px}
  header.site.compact .logo b{font-size:clamp(18px,5.1vw,22px)}
  header.site nav.floating-menu,header.site.open nav.floating-menu{display:flex;position:absolute;inset:calc(100% + 10px) 0 auto auto;min-width:160px;width:max-content;max-width:calc(100vw - 32px);margin:0;padding:0;gap:8px;flex-direction:column;flex-wrap:nowrap;align-items:flex-end;background:none;border:0;pointer-events:none;visibility:hidden;transition:visibility 0s 460ms}
  header.site.compact nav.floating-menu{right:0;font-size:15px;gap:8px}
  header.site.open nav.floating-menu{visibility:visible;transition-delay:0s}
  .floating-menu>a{border:1px solid var(--line);border-radius:999px;background:var(--paper);box-shadow:0 4px 14px #00000016;min-height:44px;padding:10px 22px!important;opacity:0;transform:translateY(-10px) scale(.96);transform-origin:top right;transition:opacity 220ms ease,transform 220ms ease;transition-delay:calc(var(--reverse)*40ms);pointer-events:none}
  .open .floating-menu>a{opacity:1;transform:none;pointer-events:auto;transition-delay:calc(var(--item)*40ms)}
}
@media(prefers-reduced-motion:reduce){
  header.site.compact{transition:none}
  .floating-menu>a{transform:none!important;transition:opacity 180ms ease!important}
}
@media print{.header-space,.back-to-top{display:none!important}}

/* Compact branding shares the buttons' vertical centre. */
header.site.compact .logo{justify-content:center}
/* Bio entries and product codes are independent owner-managed lists. */
#bioCodesEditor{margin-top:28px}.bio-code-list{display:grid;gap:16px;margin:20px 0}
.bio-code-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;border-top:1px solid var(--line)}
.bio-code-row>div{min-width:0}.bio-code-row h3{margin:4px 0}.bio-code-value{overflow-wrap:anywhere}
.bio-code-row .actions{flex-wrap:wrap}.bio-code-row button{min-width:44px;min-height:44px}
.productdetails .code-chip{display:flex;flex-direction:column;gap:6px;max-width:100%;white-space:normal}
.product-code-value{max-width:100%;overflow-wrap:anywhere;word-break:normal}.product-copy-label{display:block;font-size:12px}
/* B23: centred profiles, measured four-line bios and contact details. */
#about .person-card{flex-direction:column;align-items:center;gap:20px;text-align:center}
#about .person-details{width:100%;min-width:0}
#about .person-card img,#about .person-card .initials{flex:none}
#about .person-bio{text-align:left;padding:0 8px;line-height:1.65}
#about .bio-collapsed{max-height:var(--bio-height);overflow:hidden;mask-image:linear-gradient(to bottom,#000 65%,transparent)}
.bio-toggle{display:block;margin:0 auto 16px;min-height:44px;text-decoration:underline;background:transparent;color:var(--ink);border:0}
.bio-toggle[hidden]{display:none}
.contact-expect{margin-top:32px}.contact-expect h3{font-size:20px}.contact-expect p{margin:12px 0}
.contact-email{display:inline-block;overflow-wrap:anywhere;margin-top:8px}
.contact-cat{display:block;max-width:100%;object-fit:cover;border-radius:16px;margin-top:24px}
#contact .field-error:empty{display:none}
#contact .form>.two{align-items:start}
@media(min-width:801px){#contact .contact-info{position:sticky;top:100px}}

/* B24: one dropdown component, visible Follow at all widths, video overlays. */
header.site{flex-wrap:nowrap;gap:clamp(10px,2vw,28px)}
header.site .logo{min-width:0;flex-shrink:0}header.site .logo b{font-size:clamp(18px,2.05vw,26px)}
header.site nav{gap:clamp(8px,1.5vw,26px);font-size:clamp(12px,1.1vw,15px)}
header.site .tools{flex-shrink:0}header.site .follow[hidden]{display:none!important}
header .follow-menu.drop-pills,header.site nav.drop-pills.floating-menu{display:grid;position:absolute;inset:calc(100% + 10px) 0 auto auto;min-width:170px;width:max-content;max-width:calc(100vw - 32px);padding:0;margin:0;border:0;background:none;grid-auto-rows:44px;gap:8px;align-items:stretch;visibility:hidden;pointer-events:none;transition:visibility 0s 460ms}
header .drop-pills>a{display:flex;justify-content:center;align-items:center;text-align:center;min-height:44px;height:44px;width:100%;padding:10px 22px!important;box-sizing:border-box;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--ink);box-shadow:0 4px 14px #00000016;opacity:0;transform:translateY(-10px) scale(.96);transform-origin:top right;transition:opacity 220ms ease,transform 220ms ease;transition-delay:calc(var(--reverse)*40ms);pointer-events:none}
header .drop-pills.is-open{visibility:visible!important;transition-delay:0s!important}
header .drop-pills.is-open>a{opacity:1;transform:none;pointer-events:auto;transition-delay:calc(var(--item)*40ms)}
@media(max-width:860px){header.site{padding:14px 16px;gap:10px}header.site .logo{flex:1 1 auto}header.site .logo b{font-size:clamp(18px,4.8vw,26px)}header.site .follow{display:inline-flex;font-size:13px;padding:0 14px}.follow-long{display:none}.follow-short{display:inline}header.site nav:not(.drop-pills){display:none}}
@media(max-width:420px){header.site .follow{width:44px;padding:0;justify-content:center}.follow-short{display:none}.follow-icon{display:block}}
#public img{-webkit-user-drag:none;user-select:none;-webkit-touch-callout:none}
#watch .video{touch-action:pan-y}
#watch .video.portrait{touch-action:pan-x pan-y}
#watch .video-thumb{position:relative;padding:0;aspect-ratio:16/9;overflow:hidden;border-radius:18px;background:var(--bg)}
#watch .portrait .video-thumb{aspect-ratio:9/16}
#watch .video-thumb img,#watch .video-thumb .video-placeholder{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:auto}
#watch .video-caption{padding:22px}
.video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)!important;width:60px;height:60px;min-height:44px;padding:0;border-radius:50%;border:1px solid #ffffffaa;background:#20231fcc;color:white;font-size:24px;display:grid;place-items:center;transition:opacity 180ms ease;z-index:1}
.video-platforms{position:absolute;inset:0;display:grid;place-items:center;background:#0009;color:white;opacity:0;visibility:hidden;transition:opacity 180ms ease,visibility 0s 180ms;padding:44px 16px}
.video-open .video-play{opacity:0;pointer-events:none}.video-open .video-platforms{opacity:1;visibility:visible;transition-delay:0s}
#watch .video-platforms .video-links{display:grid;grid-auto-rows:44px;gap:8px;width:min(180px,100%)}
#watch .video-platforms .video-links>a{width:100%;height:44px;background:var(--paper);color:var(--ink);box-shadow:none}
.video-dismiss{position:absolute;right:8px;top:8px;width:36px;height:36px;min-height:36px;padding:0;border-radius:50%;background:#20231fcc;color:white;font-size:22px;border:1px solid #ffffffaa}
@media(prefers-reduced-motion:reduce){header .drop-pills>a{transform:none!important;transition:opacity 180ms ease!important}.video-play,.video-platforms{transition:none!important}}

/* B25: the supplied mark and Fraunces wordmark in every branded view. */
.brand-lockup{display:inline-flex;align-items:center;gap:8px;color:inherit;line-height:1;max-width:100%}
.brand-lockup svg{width:36px;height:38px;flex:none;overflow:visible}
.brand-wordmark{font:900 26px/1 var(--display);white-space:nowrap;letter-spacing:-.025em}
header.site .logo .brand-lockup{gap:6px}header.site .logo b{font-weight:900;font-size:clamp(16px,1.8vw,24px)}
header.site .logo small{margin-top:5px}header.site.compact .logo svg{width:25px;height:27px}
header.site.compact .logo b{font-size:20px}.studio-identity h1{margin-top:0}
footer .footer-logo{color:#f3f6ee;--logo-cut:var(--forest)}footer .brand-wordmark{font-size:26px}
.panel.login>.brand-lockup{margin-bottom:24px}.panel.login .brand-wordmark{font-size:21px}
h1,h2,h3{font-weight:900!important;font-optical-sizing:auto;font-variation-settings:'SOFT' 100}
@media(max-width:860px){header.site .logo b{font-size:clamp(16px,3.5vw,24px)}header.site .logo svg{width:26px;height:28px}}
@media(max-width:420px){header.site,header.site.compact{padding-left:10px;padding-right:10px;gap:6px}header.site .logo b{font-size:14px}header.site .logo svg,header.site.compact .logo svg{width:20px;height:22px}header.site .logo .brand-lockup{gap:4px}header.site .tools{gap:6px}header.site .logo small{font-size:10px}}

/* Private website aggregates; labels stay readable on narrow screens. */
.website-count-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:24px}.count-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.count-row span{min-width:0}.count-row b{flex-shrink:0}

/* Owner-only partner workspace. The board scrolls inside its own boundary. */
.lead-tools{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin:18px 0}.lead-tools label{flex:1 1 180px;min-width:0}.lead-tools input,.lead-tools select{width:100%}.lead-board{display:flex;gap:16px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding:6px 2px 22px;scroll-snap-type:x proximity}.lead-column{flex:0 0 240px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:20px;scroll-snap-align:start}.lead-column h3{font-size:20px;display:flex;justify-content:space-between;gap:10px}.lead-card{display:flex;flex-direction:column;gap:10px;min-width:0;border:1px solid var(--line);border-radius:14px;padding:16px;margin:14px 0;background:var(--paper);overflow-wrap:anywhere}.lead-card.overdue{border-color:#ae6e2b;border-left-width:4px}.lead-card img{object-fit:contain;border-radius:8px}.lead-open{font-family:var(--font-heading);font-size:21px;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:0;background:none;border:0;color:inherit}.lead-card select{width:100%;margin-top:6px;min-height:44px}.lead-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}.lead-list .lead-card{margin:0}.lead-kit-options{display:grid;gap:12px}.lead-kit-options label,.lead-history fieldset label{display:flex;align-items:center;gap:8px}.lead-history{padding:18px}.lead-history summary{cursor:pointer;font-weight:700;margin-bottom:16px}.lead-history fieldset{min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px}.lead-contact.panel{padding:18px}.lead-history input,.lead-history select,.lead-contact input{max-width:100%}#leadForm .two{min-width:0}#leadForm label{min-width:0}#leadForm .content-copy{white-space:pre-wrap}#leadError:empty{display:none}@media(max-width:500px){#leadForm .two{grid-template-columns:1fr}.lead-column{flex-basis:250px}.lead-tools>button,.lead-tools>a{min-height:44px}}

/* ==== from polish.css ==== */
/* B30: shared compact controls, stable Studio chrome and bounded picture frames. */
#home h1{max-width:none;font-size:clamp(42px,5.7vw,82px)}
#home h1>span{display:block}
@media(min-width:1100px){#home h1>span{white-space:nowrap}}
header.site .logo .brand-lockup>svg{width:32px;height:34px}
header.site.compact .logo .brand-lockup>svg{width:28px;height:30px}
@media(max-width:420px){header.site.compact .logo b{font-size:14px}}
@media(max-width:340px){header.site .logo b,header.site.compact .logo b{font-size:13px}}
:root[data-mode=dark] header.site.compact{border:1px solid var(--line);box-shadow:0 6px 24px #0006}
header.site .drop-pills,header.site.compact .drop-pills{row-gap:8px!important;grid-auto-rows:44px!important;align-content:start}
header.site .drop-pills>a,header.site.compact .drop-pills>a,header.site .follow-menu.drop-pills>a.pill.outline{
  margin:0!important;height:44px!important;min-height:44px!important;max-height:44px;
  background:var(--paper)!important;border:1px solid var(--line)!important;box-shadow:0 4px 14px #00000016!important;
  font:600 15px/1.2 var(--body)!important;letter-spacing:0!important;text-decoration:none;
}
#watch .video-dismiss{display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;aspect-ratio:1;padding:0;border-radius:50%;inset:10px 10px auto auto;line-height:1;transform:none}

/* Three compact tickets, then two, then one. Flex centres incomplete final rows. */
#codes .tickets{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
#codes .ticket{flex:0 1 calc((100% - 32px)/3);width:calc((100% - 32px)/3);max-width:380px;height:100px;min-height:100px;padding:0;display:grid;grid-template-columns:minmax(0,64%) minmax(0,36%);grid-template-rows:34px 1fr;gap:0;border-radius:14px;overflow:visible}
#codes .ticket .what{grid-area:1/1;align-self:end;font:600 12px/1.2 var(--body);padding:8px 14px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#codes .ticket .deal{grid-area:2/1;align-self:center;padding:0 14px;margin:0;font:900 17px/1.15 var(--display);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word}
#codes .ticket .take{grid-column:2;grid-row:1/-1;align-self:stretch;justify-content:center;width:auto;min-width:0;margin:0;padding:6px 10px;border-top:0;border-left:2px dashed #d9ded2;gap:0}
#codes .ticket .take small{font:400 11px/1.2 var(--body)}
#codes .ticket::before,#codes .ticket::after{right:calc(36% - 9px);width:18px;height:18px;background:var(--band)}
#codes .ticket::before{top:-9px}#codes .ticket::after{bottom:-9px}
#codes .ticket .take button{display:grid;position:relative;place-items:center;width:100%;min-width:0;min-height:40px;height:40px;margin:0;padding:2px 0;font:600 15px/1.2 var(--body);letter-spacing:0;overflow:hidden;border:0;border-bottom:1px dashed currentColor;border-radius:0;background:none;color:var(--forest)}
.code-viewport{grid-area:1/1;display:block;width:100%;min-width:0;overflow:hidden;white-space:nowrap;overflow-wrap:normal;word-break:normal;line-height:1.2;font:600 15px/1.2 var(--body);mask-image:none}
.code-track{display:flex;align-items:center;gap:24px;width:max-content;max-width:none;animation-timing-function:linear;animation-iteration-count:infinite}
.code-first,.code-duplicate{flex:none;white-space:nowrap}.code-duplicate[hidden]{display:none}
.code-viewport.ticker,.code-viewport.code-clipped{mask-image:linear-gradient(to right,transparent,#000 7px,#000 calc(100% - 7px),transparent)}
.code-viewport.ticker .code-track{will-change:transform}
button:hover .code-track,button:focus .code-track,button.ticker-paused .code-track{animation-play-state:paused}
.ticket-copied{grid-area:1/1;opacity:0;visibility:hidden;pointer-events:none;white-space:nowrap}
.code-viewport,.ticket-copied{transition:opacity 200ms ease,visibility 0s linear 200ms}
.ticket-copy-success .code-viewport{opacity:0;visibility:hidden}
.ticket-copy-success .ticket-copied{opacity:1;visibility:visible;transition:opacity 200ms ease,visibility 0s}
.ticket-copy-success::before,.ticket-copy-success::after,.ticket-copied::before,.ticket-copied::after{content:none!important}
#codes .ticket .take button.ticket-copy-success{border-bottom-style:solid}
#codes .ticket .take button,#codes .ticket .take button *,[data-productcode],[data-productcode] *{text-decoration:none}
@media(min-width:1000px){#codes .ticket{grid-template-columns:minmax(0,55%) minmax(0,45%)}#codes .ticket::before,#codes .ticket::after{right:calc(45% - 9px)}}
@media(max-width:999px){#codes .ticket{flex-basis:calc((100% - 16px)/2);width:calc((100% - 16px)/2)}}
@media(max-width:599px){#codes .ticket{flex-basis:100%;width:100%}}

/* Product codes use the same track/flip and an outlined ticket chip. */
#finds .code-chip{position:relative;align-self:stretch;display:grid;grid-template-columns:40% minmax(0,60%);gap:0;width:100%;min-width:0;min-height:54px;padding:0 10px;background:none;color:var(--ink);border:1px solid var(--line);border-radius:10px;box-shadow:none;text-decoration:none}
#finds .code-chip::before,#finds .code-chip::after{content:'';position:absolute;left:calc(40% - 4px);width:8px;height:8px;border-radius:50%;background:var(--paper);border:1px solid var(--line)}
#finds .code-chip::before{top:-5px}#finds .code-chip::after{bottom:-5px}
#finds .product-copy-label{grid-area:1/1;display:grid;place-items:center;align-self:stretch;border-right:1px dashed var(--line);padding:8px;font:600 12px/1.2 var(--body)}
#finds .code-chip .code-viewport,#finds .code-chip .ticket-copied{grid-area:1/2;margin-left:6px;width:calc(100% - 6px)}
#finds .code-chip.ticket-copy-success .product-copy-label{border-right-style:solid}
.productgrid{display:flex;flex-wrap:wrap;justify-content:center;gap:20px}
.productgrid>.productcard{flex:0 1 calc((100% - 60px)/4);max-width:360px;min-width:0}
.productgrid>.empty{width:100%}
@media(max-width:1000px){.productgrid>.productcard{flex-basis:calc((100% - 40px)/3)}}
@media(max-width:800px){.productgrid{gap:12px}.productgrid>.productcard{flex-basis:calc((100% - 12px)/2)}}
@media(max-width:479px){.productgrid>.productcard{flex-basis:100%;max-width:380px}.productdetails h3{min-height:0}}
#watch .videos{display:flex;flex-wrap:wrap;justify-content:center;gap:24px}
#watch .videos>.video{flex:0 1 calc((100% - 24px)/2);max-width:560px;min-width:0}
#watch .portrait-videos>.video{flex-basis:calc((100% - 72px)/4);max-width:260px}
@media(max-width:1000px){#watch .portrait-videos>.video{flex-basis:calc((100% - 48px)/3)}}
@media(max-width:650px){#watch .landscape-videos>.video{flex-basis:100%}#watch .portrait-videos{flex-wrap:nowrap;justify-content:flex-start}#watch .portrait-videos>.video{flex:0 0 82%;max-width:none}}
.view-info{position:relative;display:inline-block;margin-top:8px}.view-info-toggle{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:none;color:var(--muted);font:600 20px/1 var(--body)}
.view-info [role=tooltip]{position:absolute;left:0;bottom:100%;z-index:5;width:min(280px,70vw);padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);box-shadow:0 4px 18px #0002;font-size:13px}
#about>p{max-width:65ch}.people-grid{align-items:start}
#about .initials{width:120px;height:120px}
#about .bio-toggle{border:1px solid var(--line);border-radius:999px;padding:6px 14px;min-height:36px;font:600 13px/1.2 var(--body);background:var(--paper);color:var(--ink)}
.expect-row{display:flex;align-items:flex-start;gap:12px}.expect-row>span[aria-hidden]{display:grid;place-items:center;flex:0 0 28px;font-size:22px;line-height:1.2}.expect-row .contact-email{margin-top:0}
#contact .form{row-gap:14px}#contact .form>button[type=submit]{margin-top:0}#contact .form #messageCount{display:block;margin-top:6px}#contact .form .field-error:empty{display:none}
footer{padding:44px max(40px,calc((100% - 1160px)/2))}
@media(max-width:800px){footer{padding:44px 20px}}
footer .footer-content{max-width:1160px}
.footer-legal{grid-column:1/-1;display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px}.footer-legal>a{font:400 12px/1.2 var(--body);color:inherit;text-underline-offset:3px}.footer-legal .footer-business{display:flex;gap:14px;flex-wrap:wrap}

/* Frame boxes keep the slot ratio; the image always uses cover or product contain. */
.picture-frame{display:block;position:relative;overflow:hidden;width:100%;min-width:0;isolation:isolate}
.picture-frame>img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:var(--frame-x,50%) var(--frame-y,50%);transform:scale(calc(var(--frame-zoom,1)*var(--photo-scale,1)))!important;transform-origin:var(--frame-x,50%) var(--frame-y,50%);border-radius:0!important;user-select:none;-webkit-user-drag:none}
.picture-frame,.picture-frame>img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.picture-frame>img{pointer-events:none}
.picture-frame.frame-product>img,.picture-frame.frame-logo>img{object-fit:contain!important}
.frame-avatar{width:120px;height:120px;flex:none;border-radius:50%}
.frame-feature{height:360px;border-radius:20px;margin:28px 0}
.productimage>.picture-frame{width:100%;height:100%}
.video-thumb>.picture-frame{width:100%;height:100%;aspect-ratio:inherit!important}
.kitcover>.picture-frame{width:180px;height:180px;flex:none;border-radius:16px}
.contact-cat .picture-frame{border-radius:16px}.frame-share{aspect-ratio:1200/630}
@media(max-width:650px){#cats>.frame-feature{display:none}}
.framing-dialog{width:min(620px,calc(100vw - 28px));max-height:94svh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:24px;background:var(--paper);color:var(--ink)}
.framing-dialog::backdrop{background:#0009}.framing-dialog h2{font-size:28px;margin:0}.framing-dialog p{font-size:14px;margin:4px 0}
.frame-preview{display:grid;place-items:center;padding:12px;background:var(--bg);border-radius:18px;min-height:160px;max-height:340px;overflow:hidden}
.frame-preview>.picture-frame{width:auto;height:280px;max-width:100%;border-radius:16px;touch-action:none;cursor:grab;margin:0}
.frame-preview>.frame-avatar{width:240px;height:240px;border-radius:50%}.frame-preview>.frame-feature,.frame-preview>.frame-landscape,.frame-preview>.frame-share{height:auto;width:100%}
.framing-dialog input[type=range]{width:100%;padding:0;min-height:32px}.framing-dialog output{font-size:13px;color:var(--muted)}
.frame-cancel{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;font-size:24px;line-height:1}

#studio .tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-anchor:none;scroll-snap-type:none;min-height:80px;align-items:start;gap:8px;margin-bottom:24px;scroll-padding:0}
#studio .tabs>a{flex:0 0 auto;white-space:nowrap;scroll-snap-align:none;font-weight:600}
#studio #workspace{overflow-anchor:none;min-height:80svh}
#studio #workspace>h2,#studio #workspace>.row h2{font-size:32px}
#studio .panel h2,#studio .panel h3{font-size:24px;line-height:1.15}
#studio .panel .panel h3{font-size:21px}.studio-version{font:400 12px/1.4 var(--body);color:var(--muted);white-space:nowrap;margin-left:10px}
#studio button.danger,dialog button.danger{background:transparent!important;border:1px solid color-mix(in srgb,#b43a3a 45%,var(--line));color:var(--ink);box-shadow:none}
#studio button.danger:hover,dialog button.danger:hover{color:#b43a3a;border-color:#b43a3a}
.studio-video-summary{display:flex;align-items:center;gap:16px;min-width:0}.studio-video-summary>.picture-frame{width:64px;height:80px;flex:none;border-radius:10px}.studio-video-summary>.frame-landscape{height:42px}.studio-video-summary h3{margin:0 0 8px}.video-format-badge{display:inline-block;padding:3px 8px;border:1px solid var(--line);border-radius:999px;font:600 11px/1.2 var(--body)}.linked-platforms{display:flex;gap:8px;margin-top:6px}.linked-platforms a{min-width:32px;min-height:32px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font:600 11px/1 var(--body);text-decoration:none}
@media(prefers-reduced-motion:reduce){.code-track{animation:none!important;transform:none!important}.code-viewport,.ticket-copied{transform:none!important}.code-wrap{white-space:normal;overflow:visible;mask-image:none}.code-wrap .code-track{display:block;width:auto}.code-wrap .code-first{white-space:normal;word-break:normal;overflow-wrap:normal}.code-wrap .code-duplicate{display:none}}

.lead-card>.frame-logo{width:48px;height:48px;border-radius:8px}

@media(prefers-reduced-motion:reduce){#codes .ticket .take button:has(.code-wrap){height:auto;min-height:40px}}

/* B31: code-first chips and grouped compact ticket labels. */
#finds .code-chip{background:#fff;color:var(--forest);grid-template-columns:minmax(0,60%) 40%}
#finds .code-chip .code-viewport,#finds .code-chip .ticket-copied{grid-area:1/1;margin-left:0;margin-right:6px;width:calc(100% - 6px)}
#finds .product-copy-label{grid-area:1/2;border-right:0;border-left:1px dashed #d9ded2}
#finds .code-chip::before,#finds .code-chip::after{left:calc(60% - 4px)}
#finds .code-chip.ticket-copy-success .product-copy-label{border-left-style:solid}
#codes .ticket{grid-template-rows:1fr auto auto 1fr}
#codes .ticket .what{grid-area:2/1;align-self:end;padding:0 14px 4px}
#codes .ticket .deal{grid-area:3/1;align-self:start;padding:0 14px}
#codes .title-centred .ticket .what{grid-area:1/1;align-self:start;padding-top:12px}
#codes .title-centred .ticket .deal{grid-row:1/-1;align-self:center}
header .drop-pills{max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain}
#studio .service{flex-wrap:wrap}#studio [data-remove-service]{margin-left:auto}

.sync-section { display:flex; align-items:flex-start; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); }
.sync-section input { width:20px; height:20px; flex:0 0 20px; margin-top:3px; }
.sync-conflict { color:#a32c32; }
[data-mode="dark"] .sync-conflict { color:#ff9a9e; }

#contentSyncPanel [data-discard-section]{display:block;margin:8px 0 12px}
#contentSyncPanel #updateLiveContent{display:block;margin-top:18px}
.sync-conflict small{color:inherit}

#brands .brands-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 32px;max-width:900px}#brands>.pill{margin-top:12px}@media(max-width:650px){#brands .brands-grid{grid-template-columns:1fr}}

#studio label:has(#publicVideoOrder){display:block;margin-bottom:18px}
#codes .ticket .take button+small{margin-top:6px}
.sync-details{padding:8px 0 14px;font-size:14px}.sync-details li{margin:6px 0;overflow-wrap:anywhere}
.sync-result{padding:14px;border:1px solid currentColor;border-radius:12px}.sync-result.failed{color:#a32c32}.sync-result.ok{color:#21643b}:root[data-mode=dark] .sync-result.failed{color:#ff9a9e}:root[data-mode=dark] .sync-result.ok{color:#a7dfa9}

/* B34 discount cards: no reserved code row; native modal traps/restores focus. */
.productdetails h3{min-height:0!important}.productdetails .discount-badge{align-self:flex-start;border:1px solid var(--line);border-radius:20px;padding:4px 9px;margin:0}.productbuy{margin-top:auto!important}#finds .code-chip::before,#finds .code-chip::after{border:0;background:var(--paper)}
#codes .take .open-shop{font:400 10px/1.2 var(--body);min-height:24px;padding:3px 5px;display:inline-grid;place-items:center;color:inherit;text-decoration:underline}#codes .ticket .deal{font-size:clamp(12px,2vw,17px);overflow-wrap:anywhere}.bio-code-row h3{overflow-wrap:anywhere}

#codes .bio-domain{font:inherit;line-height:inherit;color:inherit;text-align:left;white-space:normal;padding:0;border:0;background:none;min-height:24px;max-width:100%;overflow-wrap:anywhere}
.overflow-scroll{--fade-left:0px;--fade-right:0px;mask-image:none}
.overflow-scroll:is(.more-left,.more-right){mask-image:linear-gradient(to right,transparent,#000 var(--fade-left),#000 calc(100% - var(--fade-right)),transparent)}
.overflow-scroll.more-left{--fade-left:24px}.overflow-scroll.more-right{--fade-right:24px}
#loaderPreviews summary{cursor:pointer;font:700 20px/1.4 var(--body)}
/* B36: each product is one control; ticket is the whole purchase action. */
#finds .productcard{position:relative;padding:0;width:100%;font:inherit;text-align:left;color:var(--ink);text-decoration:none;align-items:stretch;border:1.5px solid var(--line);box-shadow:0 4px 12px #00000014;transition:transform 180ms ease,box-shadow 180ms ease,border-color 180ms ease}
.product-title{font:700 21px/1.2 var(--display);overflow-wrap:anywhere}.product-note{font-size:15px;line-height:1.5}
@media(hover:hover){#finds .productcard:not(:disabled):hover{transform:translateY(-3px);box-shadow:0 10px 22px #00000022;border-color:var(--moss)}}
#finds .productcard:not(:disabled):active{transform:translateY(0) scale(.98);box-shadow:0 1px 4px #0002}#finds .productcard:disabled{cursor:default;opacity:.65}
dialog.ticket-dialog{background:transparent;border:0;box-shadow:none;border-radius:0;padding:38px 0 0;width:min(380px,calc(100vw - 48px));max-width:none;max-height:90dvh;overflow:visible;animation:none;color:white}
.ticket-dialog #modalBody{display:block;text-align:center}.ticket-dialog #closeModal{position:absolute;width:1px;height:1px;min-width:0;min-height:0;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.ticket-dialog .discount-ticket{position:relative;display:flex;flex-direction:column;align-items:stretch;width:100%;min-height:170px;padding:0;border:0;border-radius:16px;background:#fff;color:var(--forest);mask:radial-gradient(circle 11px at left 55%,#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 11px at right 55%,#0000 98%,#000) right/51% 100% no-repeat;animation:ticket-arrive 320ms cubic-bezier(.2,1.25,.4,1);box-shadow:none;cursor:pointer}
.discount-brand{display:grid;place-items:center;min-height:94px;padding:22px 28px;font:700 25px/1.2 var(--display);overflow-wrap:anywhere}.discount-bottom{position:relative;display:grid;place-items:center;min-height:76px;padding:18px 26px;border-top:2px dashed #d9ded2}
.discount-bottom .code-viewport{width:100%;font-weight:700;letter-spacing:.04em;display:flex;justify-content:center}.discount-bottom .code-viewport.ticker{justify-content:flex-start}.discount-bottom .ticket-copied{position:absolute;inset:0;display:grid;place-items:center;font-weight:700}.discount-ticket:not(.ticket-copy-success) .ticket-copied{opacity:0}.discount-ticket.ticket-copy-success .code-viewport{opacity:0}
.ticket-dialog #discountHelp{font:400 15px/1.5 var(--body);margin:16px 0 0;color:white;text-shadow:0 1px 4px #0008}.ticket-status{font-size:14px;margin:10px 0 0;min-height:22px;color:white}
@keyframes ticket-arrive{from{opacity:0;transform:scale(.82)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){#finds .productcard{transition:none}#finds .productcard:not(:disabled):hover,#finds .productcard:not(:disabled):active{transform:none}.ticket-dialog .discount-ticket{animation:ticket-fade 220ms ease}@keyframes ticket-fade{from{opacity:0}to{opacity:1}}}
#watch .video-heading{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;position:relative}#watch .video-heading h2{margin:0}.video-heading .view-info{position:static;margin:0;flex:none}.video-heading .view-info [role=tooltip]{top:calc(100% + 8px);bottom:auto;left:0;max-width:100%;width:300px}
.ticket-status:empty{display:none}.ticket-announcement{position:absolute;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ticket-dialog .discount-ticket:focus-visible{outline:none;box-shadow:inset 0 0 0 3px var(--moss)}
.ticket-dialog .discount-ticket:focus:not(:hover):not(.ticker-paused) .code-track{animation-play-state:running}

/* Filled cards communicate the action without a decorative arrow. */
#finds .productcard{background:var(--paper);transition:transform 180ms ease,box-shadow 180ms ease,border-color 180ms ease,background-color 180ms ease}
#finds .productcard .productimage{overflow:hidden;background:transparent}
#finds .productcard .productimage>.picture-frame{--photo-scale:1;transition:scale 180ms ease}
#finds .productcard .product-store{color:var(--moss);text-underline-offset:3px}
:root[data-mode=dark] #finds .productcard{box-shadow:0 4px 16px #0005}
:root[data-mode=dark] #finds .productcard .product-store{color:var(--lime)}
#finds .productcard:focus-visible{outline:3px solid var(--moss);outline-offset:4px}
:root[data-mode=dark] #finds .productcard:focus-visible{outline-color:var(--lime)}
#finds .productcard:focus-visible .product-store{text-decoration:underline}
@media(hover:hover){#finds .productcard:not(:disabled):hover .productimage>.picture-frame{scale:1.04}#finds .productcard:not(:disabled):hover .product-store{text-decoration:underline}:root[data-mode=dark] #finds .productcard:not(:disabled):hover{box-shadow:0 10px 24px #0009}}
#finds .productcard:not(:disabled):active{background:color-mix(in srgb,var(--paper),#000 6%)}
@media(prefers-reduced-motion:reduce){#finds .productcard .productimage>.picture-frame{transition:none}#finds .productcard:not(:disabled):hover,#finds .productcard:not(:disabled):active{transform:none;box-shadow:0 4px 12px #00000014}#finds .productcard:not(:disabled):hover{background:color-mix(in srgb,var(--paper),var(--moss) 8%)}#finds .productcard:not(:disabled):hover .productimage>.picture-frame{scale:1}:root[data-mode=dark] #finds .productcard:not(:disabled):hover,:root[data-mode=dark] #finds .productcard:not(:disabled):active{box-shadow:0 4px 16px #0005}}

/* Shared long-copy controls: the toggle stays above what opens downward. */
#brands .brands-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1160px;margin:28px auto 0}
.brand-card{min-width:0;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);text-align:left}
.brand-card h3{font-size:22px;margin:0 0 14px}.brand-card p{margin:0;max-width:55ch;line-height:1.65}
.long-copy-wrap{min-width:0}.long-copy{line-height:1.65;white-space:pre-line}
#about>.long-copy-wrap{max-width:65ch;margin:0 auto 32px}
.long-copy.bio-collapsed{max-height:var(--bio-height);overflow:hidden;mask-image:linear-gradient(to bottom,#000 65%,transparent)}
#brands .bio-toggle,#about .bio-toggle{border:1px solid var(--line);border-radius:999px;padding:6px 14px;min-height:36px;font:600 13px/1.2 var(--body);background:var(--paper);color:var(--ink)}
#brands .bio-toggle{margin:0 0 14px}
@media(max-width:1000px){#brands .brands-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#brands .brands-grid{grid-template-columns:1fr}.brand-card{padding:22px}}

/* Claude B37 review: edge fades always valid (defaults) and strong enough to read as a fade. */
.overflow-scroll{--fade-left:0px;--fade-right:0px}
.overflow-scroll.more-left{--fade-left:48px}.overflow-scroll.more-right{--fade-right:48px}
#studio .tabs.overflow-scroll,.overflow-scroll{-webkit-mask-image:linear-gradient(to right,transparent,#000 var(--fade-left),#000 calc(100% - var(--fade-right)),transparent);mask-image:linear-gradient(to right,transparent,#000 var(--fade-left),#000 calc(100% - var(--fade-right)),transparent)}
.ticket-dialog .discount-ticket{filter:none}.ticket-dialog .discount-ticket:active{filter:brightness(.97)}
#about .bio-toggle,#brands .bio-toggle{margin-top:10px}

/* B38 grouped navigation, preserving horizontal keyboard/phone scrolling. */
#studio .tabs{align-items:stretch;gap:18px}
.studio-nav-group{display:flex;flex-direction:column;justify-content:flex-end;gap:7px;flex:0 0 auto;min-width:0}
.studio-category{font:600 11px/1.3 var(--body);color:var(--muted);padding:0 8px;white-space:nowrap}
.studio-group-links{display:flex;gap:8px}.kit-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}
.kit-tabs [aria-current=page]{background:var(--ink);color:var(--paper)}
#websiteAdvanced>summary,#statsAdvanced>summary,#productAdvanced>summary{font:700 20px/1.4 var(--body);cursor:pointer}
.legacy-about{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:12px}.legacy-about p{white-space:pre-wrap}

.today-grid{display:grid}.today-grid .panel{margin:0;min-width:0}.today-numbers{padding:0;list-style:none;display:grid;gap:12px}.today-numbers li{display:flex;justify-content:space-between;gap:16px;overflow-wrap:anywhere}.today-numbers b{white-space:nowrap}.today-total{font:700 38px/1.3 var(--display)}.today-total small,.today-numbers small{font:600 14px/1.4 var(--body);color:var(--muted)}.today-needs ul{display:grid;gap:14px;padding-left:20px}.today-needs a{text-decoration:underline;text-underline-offset:3px}.today-status{font-size:14px;color:var(--muted);overflow-wrap:anywhere}.today-actions .actions{flex-wrap:wrap}.today-overview>.row{align-items:center}.today-overview>.row h2{margin:0}
@media(max-width:650px){.today-overview>.row{align-items:flex-start;gap:16px}.today-numbers li{gap:10px}}

.today-overview .today-heading{font-size:clamp(22px,3vw,28px);margin:0}

/* B39 A: shared control spacing and uncluttered Studio chrome. */
:root{--control-gap:12px;--form-gap:16px}
.actions,.socials,.ctas{gap:var(--control-gap)}#studio .row,#studio .actions,#studio .socials{gap:var(--control-gap);flex-wrap:wrap}
#studio .form{gap:var(--form-gap)}#studio label,#studio .form>*,#studio .two>*{min-width:0}#studio input,#studio textarea,#studio select{max-width:100%}
#studio .studiohead{display:flex;align-items:center;justify-content:space-between;gap:var(--control-gap);margin-bottom:24px}
#studio .studio-identity{display:flex;align-items:center;gap:10px;min-width:0}#studio .studio-identity>.brand-lockup{margin:0;font-size:28px}
#studio .studio-identity .brand-wordmark{font-size:1em}#studio .studio-identity svg{width:.85em;height:.9em}.preview-badge{border:1px solid var(--line);border-radius:99px;padding:4px 8px;font-size:12px}
#studio .studio-actions{display:flex;align-items:center}#studio .tabs a.active,#studio .tabs a:active{border-color:transparent;box-shadow:none;outline:none}#studio .tabs a:focus-visible{outline:3px solid var(--moss);outline-offset:3px}
#studio .tabs a.active{background:var(--lime);color:var(--forest)}
.studio-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:var(--control-gap);cursor:pointer;list-style:none}.studio-disclosure>summary::-webkit-details-marker{display:none}
.studio-disclosure>summary h2,.studio-disclosure>summary h3,.studio-disclosure>summary h4{margin:0;font-size:22px;line-height:1.3}.studio-disclosure[open]>summary{margin-bottom:var(--form-gap)}
#toast{margin:0;border:0;top:auto;right:auto;max-width:min(90vw,600px);box-sizing:border-box;z-index:9999}#toast button{margin-left:var(--control-gap);background:var(--lime);color:var(--forest)}
header.site .logo .brand-lockup{font-size:clamp(19px,2.2vw,30px);gap:6px;align-items:center}header.site .logo .brand-wordmark{font-size:1em;line-height:1}
header.site .logo .brand-lockup>svg{width:.85em;height:.9em}header.site.compact .logo .brand-lockup{font-size:clamp(18px,2vw,24px)}header.site.compact .logo .brand-lockup>svg{width:.85em;height:.9em}
:root[data-mode=dark] header.site .follow{background:var(--lime);color:var(--forest)}
@media(max-width:650px){#studio .two{grid-template-columns:minmax(0,1fr)}#studio .studio-identity>.brand-lockup{font-size:25px}#studio .studiohead{gap:8px}.service{flex-wrap:wrap;gap:var(--control-gap)}}

#studio .lead-tools,#studio .studio-group-links,#studio .kit-tabs,#studio .tabs,header.site .tools{gap:var(--control-gap)}#studio .service{gap:var(--control-gap);flex-wrap:wrap}

header.site .logo .brand-lockup>.brand-wordmark{font-size:1em;line-height:1}

/* B39 editors share picture controls and explicit public switches. */
.picture-editor{display:grid;grid-template-columns:120px minmax(0,1fr);gap:var(--form-gap);align-items:start;margin:16px 0}.picture-editor-current{min-width:0}.picture-editor-current>.picture-frame{width:100%;max-height:140px}.picture-editor-controls{display:grid;gap:var(--control-gap)}.visibility-control{font-size:12px;color:var(--muted);margin:4px 0 12px}.video-link-rows{display:grid;gap:12px}.video-link-rows input{flex:1;min-width:120px}.video-steps button[aria-current=true]{background:var(--lime);color:var(--forest)}#videoForm fieldset{min-width:0;border:1px solid var(--line);padding:16px;border-radius:12px;display:grid;gap:16px}#videoForm fieldset[hidden]{display:none}.saved-copy-badge{font-size:13px;background:var(--surface);padding:8px;border-radius:8px}@media(max-width:430px){.picture-editor{grid-template-columns:minmax(0,1fr)}.picture-editor-current{max-width:160px}}

.actions{display:flex;flex-wrap:wrap;gap:var(--control-gap)}

/* B39 link-in-bio and print layouts. */
.links-header{position:static;justify-content:center;padding:28px 16px;border:0;background:var(--bg)}.links-header .brand-lockup{font-size:clamp(25px,6vw,36px)}.links-page{max-width:760px;margin:auto;padding:0 20px 32px}.links-page>section{padding:24px 0}.links-page h2{font-size:28px}.links-page .socials{justify-content:center}.links-page .tickets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.links-page .productgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.links-page .links-video{max-width:440px;margin:auto;display:grid;gap:12px;background:var(--paper);padding:18px;border-radius:16px}.links-page .links-video .picture-frame{max-height:360px}.links-footer{justify-content:center}#linksToast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--paper);padding:8px 14px;border-radius:99px;z-index:99999}#linksToast:empty{display:none}.new-badge{position:absolute;top:10px;right:10px;background:var(--lime);color:var(--forest);padding:3px 8px;border-radius:99px;font:700 12px/1.3 var(--body);z-index:1}.productcard,.ticket{position:relative}.code-window{border:1px solid var(--line);border-radius:12px;padding:16px}.code-schedule{display:block;color:var(--muted)}@media(max-width:430px){.links-page .tickets{grid-template-columns:minmax(0,1fr)}.links-page .productdetails{padding:12px}}
@page{size:A4;margin:14mm}@media print{.kit{font-family:var(--body);print-color-adjust:exact;-webkit-print-color-adjust:exact}.kitcover{background:#e4eacb!important}.kit h2,.kit h3{color:#3d5036!important}.kitservice{break-inside:avoid}#client .workgrid{display:block}#client .kit{width:100%;max-width:none}#pageLoader,.waiting-cover{display:none!important}}

.visits-chart{width:100%;height:auto;display:block}

.links-page .tickets>.ticket{width:100%;max-width:100%;box-sizing:border-box}.links-page .productcard{min-width:0}

#modal .two{grid-template-columns:repeat(2,minmax(0,1fr))}#modal label,#modal input,#modal select{min-width:0;max-width:100%}@media(max-width:650px){#modal .two{grid-template-columns:minmax(0,1fr)}}

/* ---- 1.39 review (PM pass): header lockups, Studio chrome, disclosures, Today, product rows ---- */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}

/* Public lockup: the cat mark matches the 44px header buttons; the name is set to sit with it. */
html header.site .logo{flex-direction:row;align-items:center;min-height:44px}
html header.site .logo .brand-lockup{gap:10px;align-items:center;font-size:32px}
html header.site .logo .brand-lockup>svg,html header.site .logo svg{width:42px;height:44px}
html header.site .logo .brand-lockup>.brand-wordmark,html header.site .logo b{font-size:1em;line-height:1}
html header.site.compact .logo .brand-lockup{font-size:26px;gap:8px}
html header.site.compact .logo .brand-lockup>svg,html header.site.compact .logo svg{width:38px;height:40px}
@media(max-width:1100px){html header.site .logo .brand-lockup{font-size:clamp(22px,2.6vw,30px)}html header.site.compact .logo .brand-lockup{font-size:clamp(20px,2.3vw,26px)}}
@media(max-width:860px){html header.site .logo .brand-lockup,html header.site.compact .logo .brand-lockup{font-size:clamp(18px,5.4vw,28px);gap:8px}html header.site .logo .brand-lockup>svg,html header.site .logo svg,html header.site.compact .logo svg{width:40px;height:42px}}
@media(max-width:420px){html header.site .logo .brand-lockup,html header.site.compact .logo .brand-lockup{font-size:clamp(16px,5.2vw,21px);gap:6px}html header.site .logo .brand-lockup>svg,html header.site .logo svg,html header.site.compact .logo svg{width:34px;height:36px}}
@media(max-width:350px){html header.site .logo .brand-lockup,html header.site.compact .logo .brand-lockup{font-size:15px}html header.site .logo svg,html header.site.compact .logo svg{width:28px;height:30px}}
.links-header .brand-lockup svg{width:1.3em;height:1.36em}

/* Studio header: title at the top, version under it, tabs right below. */
#studio{padding-top:16px}
html #studio .studiohead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;min-height:0}
html #studio .studio-identity{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:0;min-width:0}
#studio .studio-title-row{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
html #studio .studio-identity .brand-lockup{margin:0;font-size:30px;gap:10px}
html #studio .studio-identity .brand-lockup svg{width:40px;height:42px}
html #studio .studio-version{margin:0 0 0 50px;font:500 13px/1.3 var(--body);color:var(--muted);letter-spacing:.01em}
html #studio .studio-actions{justify-content:flex-end;flex:none}
html #studio .tabs{min-height:0;margin:0 0 24px;padding:4px 0 16px;gap:8px;align-items:center}
html #studio .tabs>a{min-height:44px;padding:10px 18px;display:inline-flex;align-items:center}
@media(max-width:700px){#studio{padding-top:12px}html #studio .studiohead{display:flex;margin-bottom:12px}html #studio .studio-identity{min-height:0}html #studio .studio-identity .brand-lockup{font-size:24px;gap:8px}html #studio .studio-identity .brand-lockup svg{width:32px;height:34px}html #studio .studio-version{margin-left:40px;font-size:12px}html #studio .tabs{margin-bottom:16px;padding-bottom:12px}}

/* Disclosures: quiet, no lime flash, a real chevron that rotates. */
:where(summary):active{background-color:transparent;color:inherit;transform:none}
.studio-disclosure>summary,.studio-list>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;min-height:44px;border-radius:12px;-webkit-tap-highlight-color:transparent}
.studio-disclosure>summary::-webkit-details-marker,.studio-list>summary::-webkit-details-marker{display:none}
html .studio-disclosure>summary::after{content:none}
.studio-disclosure>summary>h2,.studio-disclosure>summary>h3,.studio-disclosure>summary>h4{margin:0;flex:1 1 auto;min-width:0}
.disclosure-chevron{width:28px;height:28px;flex:none;margin-left:auto;padding:4px;border-radius:50%;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform 200ms ease,background-color 200ms ease}
details[open]>summary>.disclosure-chevron{transform:rotate(180deg)}
@media(hover:hover){.studio-disclosure>summary:hover,.studio-list>summary:hover{transform:none;opacity:1}.studio-disclosure>summary:hover>.disclosure-chevron,.studio-list>summary:hover>.disclosure-chevron{background:color-mix(in srgb,var(--ink) 8%,transparent)}}
.studio-disclosure>summary:focus-visible,.studio-list>summary:focus-visible{outline:3px solid var(--moss);outline-offset:3px;box-shadow:none}
@media(prefers-reduced-motion:reduce){.disclosure-chevron{transition:none}}
.panel.has-disclosure{padding-top:16px;padding-bottom:16px}
.panel.has-disclosure>details[open]>summary{margin-bottom:var(--form-gap)}
html #studio .panel.has-disclosure>details>summary h2,html #studio .panel.has-disclosure>details>summary h3{font-size:22px}
html #studio details.panel>summary{font:700 18px/1.3 var(--body)}
html #studio details.panel[open]>summary{margin-bottom:var(--form-gap)}
.studio-list{margin:20px 0 0;border-top:1px solid var(--line);padding-top:8px}
.studio-list>summary{font:700 15px/1.3 var(--body);color:var(--muted)}
.studio-list>summary .studio-list-title{color:var(--ink)}
.studio-list-count{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 8px;border-radius:99px;background:color-mix(in srgb,var(--ink) 8%,transparent);color:var(--ink);font:600 13px/1 var(--body)}
.studio-list[open]>.studio-list-body{margin-top:8px}
#productAdvanced,#websiteAdvanced,#statsAdvanced,#recoveryAdvanced{margin-top:24px}

/* Today: actions first, six even cards, a compact chart. */
.today-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}
html #studio #workspace .today-head h2{margin:0}
.today-head .today-actions{gap:8px}
.today-needs{padding:20px 24px}.today-needs h3{margin:0 0 8px}.today-needs ul{margin:0;padding-left:20px;display:grid;gap:6px}
.today-overview{margin-top:28px}
.today-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
html #studio .today-section-head .today-heading{font-size:26px;margin:0 0 4px}
.today-section-head .meta{margin:0}
html .today-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0 0}
html .today-grid .panel{display:flex;flex-direction:column;gap:8px;padding:20px}
html .today-grid h3{font-size:19px;margin:0}
.today-grid .today-numbers{margin:0;gap:8px}
.today-grid .today-note{margin-top:auto;padding-top:6px;color:var(--muted);font-size:13px}
.today-empty{margin:0;color:var(--muted)}
.today-chart{margin-top:16px;padding:20px}
.today-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.today-card-head h3{margin:0;font-size:19px}.today-card-head small{color:var(--muted)}
.today-status{margin-top:20px;color:var(--muted);font-size:13px}
@media(max-width:1000px){html .today-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Product cards: picture, details and one action row; numbers span the card. */
html #studio .adminproduct{grid-template-columns:96px minmax(0,1fr);align-items:start;gap:16px 20px}
html #studio .adminproduct img,html #studio .adminproduct>.picture-frame,html #studio .adminproduct>.imagefallback{width:96px;height:96px}
html #studio .adminproduct h3{margin:0 0 4px}
html #studio .adminproduct>div>small{display:block}
html #studio .adminproduct .row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:12px}
html #studio .adminproduct .row>label.check{margin-right:auto}
html #studio .adminproduct>p.meta{grid-column:1/-1;margin:0;padding-top:12px;border-top:1px solid var(--line)}
@media(max-width:500px){html #studio .adminproduct{grid-template-columns:72px minmax(0,1fr)}html #studio .adminproduct img,html #studio .adminproduct>.picture-frame,html #studio .adminproduct>.imagefallback{width:72px;height:72px}}

/* Bio rows: aligned columns whatever the content. */
html #studio .bio-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"info actions" "status meta";align-items:center;gap:8px 24px;padding:18px 0}
html #studio .bio-code-row>div:first-child{grid-area:info}
html #studio .bio-code-row>.actions{grid-area:actions;justify-content:flex-end}
html #studio .bio-code-row>.code-schedule{grid-area:status;margin:0}html #studio .bio-code-row>p.meta{grid-area:meta;margin:0}
html #studio .bio-code-row>.code-schedule{justify-self:start}
html #studio .bio-code-row>p.meta{justify-self:end;color:var(--muted)}
html #studio .bio-code-row>div:first-child>small:first-child{color:var(--muted)}
@media(max-width:700px){html #studio .bio-code-row{grid-template-columns:minmax(0,1fr);grid-template-areas:"info" "actions" "status" "meta"}html #studio .bio-code-row>.actions{justify-content:flex-start}html #studio .bio-code-row>p.meta{justify-self:start}}
html #studio .today-overview{margin:28px 0 0}
@media(max-width:650px){.today-section-head{flex-wrap:nowrap;align-items:flex-start}.today-section-head>a.pill{flex:none;min-height:44px;padding:0 16px}html .today-grid .panel{min-height:0}html .today-grid .today-note{margin-top:4px}}
html #studio details.panel{padding:16px 28px}
html #studio label:has(#publicVideoOrder),html #studio label:has(#videoFormatFilter){display:inline-block;width:calc(50% - 10px);vertical-align:top;margin:0 0 8px}
html #studio label:has(#publicVideoOrder){margin-right:16px}
@media(max-width:650px){html #studio details.panel{padding:12px 20px}html #studio label:has(#publicVideoOrder),html #studio label:has(#videoFormatFilter){display:block;width:auto;margin:0 0 12px}}
.kit-cover-panel>article.panel{border:0;padding:0;margin:12px 0 0;background:none;box-shadow:none}.kit-cover-panel>article.panel>h3{display:none}
html #studio .service>input[type=checkbox]{width:24px;height:24px;margin:10px;flex:none}
.links-page #codes{--band:var(--bg);background:none;padding:24px 0;margin:0}
.links-page .links-socials{padding-bottom:8px}
html .links-page .socials{justify-content:flex-start}
html #studio .bio-code-hint{display:inline-block;margin:2px 0 4px;padding:2px 8px;border-radius:99px;background:color-mix(in srgb,#ae6e2b 14%,transparent);color:var(--ink);font-size:12px}
html .links-page>section{margin:0;padding:20px 0}
html .links-page>section+section{border-top:1px solid var(--line)}
html .links-page .links-socials .socials{margin-top:0}
html .links-page>section>h2{margin:0 0 16px}
/* Visits chart: fixed label rows, bars grow from a shared baseline. */
html .visits-chart{list-style:none;margin:16px 0 0;padding:0;height:180px;display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:6px;align-items:stretch}
.visits-bar{position:relative;min-width:0}
.visits-bar-value,.visits-bar-day{position:absolute;left:0;right:0;text-align:center;white-space:nowrap;overflow-wrap:normal;font:500 12px/1 var(--body);color:var(--muted)}
.visits-bar-value{top:0;font-weight:600}.visits-bar-day{bottom:0}
.visits-bar-track{position:absolute;top:18px;bottom:22px;left:50%;transform:translateX(-50%);width:100%;max-width:36px;display:flex;align-items:flex-end}
.visits-bar-fill{width:100%;border-radius:6px 6px 2px 2px;background:var(--moss)}
:root[data-mode=dark] .visits-bar-fill{background:var(--lime)}
.visits-bar.empty .visits-bar-fill{height:3px!important;background:var(--line)}
@media(max-width:650px){html .visits-chart{gap:3px;height:150px}.visits-bar-day.minor{visibility:hidden}.visits-bar-value{font-size:10px}}
@media(max-width:650px){html .today-grid{grid-template-columns:1fr}.today-head .today-actions{width:100%}.today-head .today-actions>*{flex:1 1 calc(50% - 8px)}}

/* B40: video picture/text together; one action row like the product editor. */
#studio .video-library-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px}
#studio .video-library-row .studio-video-summary{align-items:flex-start}
#studio .studio-video-summary>div{min-width:0;overflow-wrap:anywhere}
#studio .video-library-row>.actions{flex-wrap:nowrap;align-items:start}
@media(max-width:700px){#studio .video-library-row{grid-template-columns:minmax(0,1fr)}#studio .video-library-row>.actions{justify-content:flex-start}}

/* 1.40 review: equal action buttons, breathing room above Website groups. */
html #studio .adminproduct .row>button,html #studio .video-library-row>.actions>button{min-height:44px;padding:0 18px;font:600 15px/1 var(--body);border-radius:999px}
html #studio #workspace>h2{margin:36px 0 14px}
html #studio #workspace>h2:first-child,html #studio #workspace>.row:first-child h2{margin-top:0}
html #studio .adminproduct .row>label.check{flex:1 0 100%;margin-right:0}
html #studio .adminproduct .row>button{margin:0}

/* B41: one immediate press state, independent of click/drop animations. */
header .is-pressed,#backToTop.is-pressed{transition:none!important}
header .is-pressed,#backToTop.is-pressed{background:var(--lime)!important;color:var(--forest)!important;border-color:var(--lime)}
:root[data-mode=dark] header.site .follow.is-pressed{background:var(--forest)!important;color:var(--lime)!important}
header.site nav a.is-pressed,header.site .follow-menu a.is-pressed{background:none!important;color:var(--moss)!important}
:root[data-mode=dark] header.site nav a.is-pressed,:root[data-mode=dark] header.site .follow-menu a.is-pressed{background:none!important;color:var(--lime)!important}
header.site :is(#modeToggle,.follow,#menuToggle),#backToTop,header.site nav:not(.drop-pills) a{transition:none!important}
@media(hover:hover){header.site :is(#modeToggle,.follow,#menuToggle):hover,#backToTop:hover,header.site nav:not(.drop-pills) a:hover{opacity:1;transform:none;filter:none}header.site :is(#modeToggle,.follow,#menuToggle):hover,#backToTop:hover{background:color-mix(in srgb,var(--bg),var(--moss) 10%)}}

.follow-wrap{display:contents}
@media(min-width:861px){header.site .follow-wrap{display:inline-flex;position:relative}header.site .follow-wrap .follow-menu{left:50%;right:auto;translate:calc(-50% + var(--follow-shift,0px)) 0}}

#public #codes.band,#public #cats.cats-band{scroll-margin-top:0;padding-top:88px}
@media(max-width:700px){#public #codes.band,#public #cats.cats-band{padding-top:84px}}
#studio .tabs a:focus:not(:focus-visible),#studio .tabs a.active:focus-visible{outline:none!important;box-shadow:none}
#studio .tabs a:not(.active):focus-visible{outline:2px solid var(--ink)!important;outline-offset:2px;box-shadow:none}

/* B41 Links: independent one-column mobile page, framed only on wide screens. */
.links-body{margin:0;background:var(--bg)}.links-phone{width:100%;background:var(--bg)}
.links-phone .links-header{justify-content:center;width:100%;max-width:none}.links-phone .links-header .logo{justify-content:center}
.links-phone .links-page{width:100%;max-width:none;padding:0 16px 32px}
.links-page #codes .tickets,.links-page #finds .productgrid{display:grid;grid-template-columns:minmax(0,1fr)}
.links-page #codes .ticket{width:100%;max-width:none;flex-basis:auto}.links-page .links-find{position:relative;min-width:0}.links-page .links-find>.productcard{width:100%}
.links-page .socials{display:flex;justify-content:center!important;gap:10px;flex-wrap:wrap}.links-page .links-social{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%;padding:0;background:var(--paper);border:1px solid var(--line);color:var(--ink)}.links-social svg{width:22px;height:22px}
.featured-badge{position:absolute;top:-8px;left:12px;z-index:2;border-radius:99px;padding:3px 8px;background:var(--forest);color:var(--lime);font:600 11px/1.3 var(--body)}
.links-item-row>div:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.links-item-row.not-live{opacity:.6}
@media(min-width:700px){html:has(body.links-body){overflow:hidden;scrollbar-gutter:auto}body.links-body{height:100dvh;overflow:hidden;display:grid;place-items:center}.links-phone{width:390px;height:min(844px,calc(100dvh - 48px));border-radius:44px;border:10px solid #141614;box-shadow:0 0 0 1px #fff,0 0 0 2px rgba(0,0,0,.12),0 18px 50px rgba(0,0,0,.18);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.links-phone::-webkit-scrollbar{display:none}:root[data-mode=dark] .links-phone{border-color:#0b0c0b;box-shadow:0 0 0 1px rgba(255,255,255,.55),0 18px 50px rgba(0,0,0,.45)}}

#videoForm .video-steps button{width:44px;height:44px;min-width:44px;padding:0;border-radius:50%;flex:none;display:grid;place-items:center}
#videoForm .video-link-group{display:grid;gap:8px;margin:0}#videoForm .video-link-header{display:flex;align-items:center;justify-content:space-between;gap:12px}#videoForm .video-link-header h4{font-size:15px;margin:0}
#videoForm .video-link-rows{display:grid;gap:8px}#videoForm .video-post-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:8px;align-items:center}#videoForm .video-post-row>input{width:100%;min-width:0}#videoForm .video-primary{display:grid;place-items:center;margin:0;min-height:44px}#videoForm .video-primary input{margin:0;min-width:0;width:20px;height:20px;flex:none}#videoForm .video-post-error{grid-column:2/-1;color:#ad3434;font-size:13px}#videoForm input[aria-invalid=true]{border-color:#ad3434}

/* B41 B12: owner-only import pool, compact suggestions. */
.import-suggestions{display:grid;gap:8px;margin-top:12px}.import-suggestions h5{margin:0}.import-suggestion{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;padding:8px 0}.import-suggestion img{width:56px;height:56px;object-fit:cover;border-radius:8px;flex:none}.import-suggestion>span{flex:1;min-width:120px;overflow-wrap:anywhere}.import-suggestion .actions{gap:8px}.import-pool-row{gap:12px;margin-top:8px}

/* 1.41 review: morphing hero shape (flat colour). Replaces the old #home .photo::before. */
#home .photo::before{content:none}
#home .photo .photo-window{position:relative}
.hero-shape{position:absolute;inset:-6% -8% -4% 8%;pointer-events:none;--shape:var(--shape-light,#748e28);transform:translate(var(--shape-x,0%),var(--shape-y,0%)) scale(var(--shape-size,1)) rotate(var(--shape-turn,0deg))}
:root[data-mode=dark] .hero-shape{--shape:var(--shape-dark,#748e28)}
.hero-shape svg{display:block;width:100%;height:100%;overflow:visible}
.hero-shape path{fill:var(--shape)}
.hero-shape-css{position:absolute;inset:0;background:var(--shape);border-radius:58% 42% 50% 50%/48% 56% 44% 52%}
.hero-shape.is-soft .hero-shape-css{animation:hero-shape-morph var(--shape-duration,10s) ease-in-out infinite}
@keyframes hero-shape-morph{
  0%,100%{border-radius:58% 42% 50% 50%/48% 56% 44% 52%;transform:rotate(0deg) scale(1)}
  25%{border-radius:44% 56% 38% 62%/58% 42% 60% 40%;transform:rotate(3deg) scale(1.015)}
  50%{border-radius:62% 38% 56% 44%/40% 60% 42% 58%;transform:rotate(-2deg) scale(.99)}
  75%{border-radius:40% 60% 48% 52%/54% 38% 62% 46%;transform:rotate(2deg) scale(1.01)}
}
@media(prefers-reduced-motion:reduce){.hero-shape.is-soft .hero-shape-css{animation:none}}

/* Studio: Hero shape editor (Front page → Advanced). */
.hero-shape-editor{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px;align-items:start}
.hero-shape-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:14px 20px;align-items:start}
.hero-shape-controls label{display:grid;gap:6px;min-width:0;font-size:14px}
.hero-shape-controls label>span{display:flex;justify-content:space-between;gap:8px;font-weight:600}
.hero-shape-controls output{font-variant-numeric:tabular-nums;color:var(--muted);font-weight:400}
.hero-shape-controls input[type=range]{width:100%;accent-color:var(--moss)}
.hero-shape-controls input[type=color]{width:56px;height:40px;padding:0;border:1px solid var(--line);border-radius:10px;background:none}
.hero-shape-preview{position:relative;width:180px;margin:24px 20px 24px auto}
.hero-shape-preview .photo-window{position:relative;aspect-ratio:4/5;border-radius:20px;background:linear-gradient(160deg,#c9b49a,#a58e73)}
.hero-shape-paste{display:grid;gap:8px;margin-top:16px}
.hero-shape-paste textarea{min-height:72px;font:13px/1.4 ui-monospace,Menlo,Consolas,monospace}
@media(max-width:760px){.hero-shape-editor{grid-template-columns:1fr}.hero-shape-preview{margin:24px auto}}

/* 1.41 review: links page polish. */
html header.links-header{display:flex;flex-direction:row;justify-content:center;align-items:center}html header.links-header .logo{display:inline-flex}
.links-footer:empty{display:none}
html #studio .links-item-row>div>small{display:block;margin-top:4px}
.hero-shape-colors{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;justify-content:flex-start!important}
html #studio .hero-shape-swatch{width:34px;height:34px;min-width:34px;min-height:34px;padding:0;border-radius:50%;border:2px solid var(--line);flex:none}
.video-links-hint{display:block;color:var(--muted);margin:0 0 6px}

/* 1.41 review: the phone header keeps all three buttons; the logo makes room (see fitLogo in public-nav.js). */
@media(max-width:860px){html header.site .logo{min-width:0;flex:1 1 auto}html header.site .tools{gap:8px}}
@media(max-width:420px){html header.site.compact .logo .brand-lockup>svg,html header.site.compact .logo svg{width:34px;height:36px}}
@media(max-width:420px){html header.site.compact{inset:8px 8px auto;padding-left:8px;padding-right:8px}html header.site .logo .brand-lockup,html header.site.compact .logo .brand-lockup{font-size:clamp(16px,5vw,21px)}}
@media(min-width:421px) and (max-width:600px){html header.site.compact{inset:8px 8px auto;padding-left:8px;padding-right:8px}html header.site.compact .logo .brand-lockup{font-size:clamp(18px,5vw,24px)}html header.site.compact .logo svg{width:34px;height:36px}}
@media(min-width:421px) and (max-width:600px){html header.site:not(.compact){padding-left:12px;padding-right:12px}html header.site .logo .brand-lockup{font-size:clamp(18px,5vw,24px)}}
@media(max-width:860px){html header.site.compact .logo{justify-content:flex-start}}

/* B42 environment-local brand and visitor mode. */
.brand-lockup.brand-no-mark,.brand-lockup:not(:has(>svg,>.brand-mark-img)){gap:0!important}.brand-mark-img{display:block;width:36px;height:36px;object-fit:contain;flex:none}.brand-mark-dark{display:none}:root[data-mode=dark] .brand-mark-light{display:none}:root[data-mode=dark] .brand-mark-dark{display:block}.loader-mark .brand-mark-img{width:100%;height:auto}.brand-lockup{align-items:center}.logo.mark-hidden .brand-lockup>svg,.logo.mark-hidden .brand-mark-img{display:none!important}.logo.mark-hidden .brand-lockup{gap:0!important}
.logo-previews{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:16px}.logo-previews article{padding:20px;border-radius:16px;background:#f5f6ef;color:#20231f}.logo-previews [data-preview-mode=dark]{background:#20231f;color:#f3f6ee}.logo-footer-preview{margin-top:24px}.logo-previews .brand-lockup{font-size:22px}.construction-page{min-height:100dvh;display:grid;place-items:center;padding:32px 20px;background:var(--bg);color:var(--ink);text-align:center}.construction-page main{width:min(100%,600px);display:grid;gap:24px;justify-items:center}.construction-page h1,.construction-page p{margin:0}.construction-message{white-space:pre-wrap;overflow-wrap:anywhere}.construction-page .socials{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.construction-page .links-social{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--paper)}.construction-page .links-social svg{width:22px;height:22px}.construction-banner{position:fixed;inset:0 0 auto;z-index:100;background:var(--forest);color:var(--lime);padding:12px 16px;text-align:center;font-size:14px}.construction-banner a{color:inherit;text-decoration:underline}body:has(.construction-banner){padding-top:48px}

/* B42 Links-only compact catalogue and private search. Ticket height stays 100px. */
.links-page{--links-item-h:100px;--links-code-width:36%}.links-search{position:relative;width:100%;margin:16px 0}.links-search input{box-sizing:border-box;width:100%;height:48px;min-height:48px;border-radius:999px;padding:0 52px 0 20px;border:1px solid var(--line);background:var(--paper);color:var(--ink);font:inherit}.links-search input::-webkit-search-cancel-button{display:none}.links-search button{position:absolute;right:8px;top:4px;width:40px;height:40px;padding:0;border-radius:50%;background:none}.links-results{display:grid;gap:16px;padding:24px 0}.links-results[hidden],[data-links-block][hidden]{display:none!important}
html :is(.links-page,#codes) .links-ticket{box-sizing:border-box;width:100%;max-width:none;min-height:var(--links-item-h);height:var(--links-item-h);padding:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,var(--links-code-width));grid-template-rows:1fr;position:relative;--band:var(--bg)}html :is(.links-page,#codes) .links-ticket .deal{box-sizing:border-box;grid-column:1;grid-row:1;align-self:center;min-width:0;margin:0;padding:0 12px;font:900 17px/1.15 var(--display);text-align:left;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}html :is(.links-page,#codes) .links-ticket .take{box-sizing:border-box;grid-column:2;grid-row:1;min-width:0;width:auto;padding:12px;border-top:0;border-left:2px dashed var(--line);display:flex;flex-direction:column;justify-content:center;gap:4px}html :is(.links-page,#codes) .links-ticket .take button{box-sizing:border-box;display:grid;place-items:center;width:100%;min-width:0;margin:0;padding:2px 0;height:40px;min-height:40px;overflow:hidden;background:none;color:var(--forest);border:0;border-bottom:1px dashed currentColor;border-radius:0;font:600 15px/1.2 var(--body)}html :is(.links-page,#codes) .links-ticket .take small{display:block;font:400 11px/1.2 var(--body);white-space:nowrap}html :is(.links-page,#codes) .links-ticket::before,html :is(.links-page,#codes) .links-ticket::after{width:18px;height:18px;right:calc(var(--links-code-width) - 9px);background:var(--bg)}html :is(.links-page,#codes) .links-ticket::before{top:-9px}html :is(.links-page,#codes) .links-ticket::after{bottom:-9px}
.links-product{box-sizing:border-box;width:100%;height:var(--links-item-h);display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:minmax(0,1fr);background:var(--paper);color:var(--ink);border:1.5px solid var(--line);border-radius:var(--radius);box-shadow:0 4px 12px #00000014;overflow:hidden;text-decoration:none;text-align:left}.links-product-photo{width:auto;height:100%;aspect-ratio:1;min-width:0;min-height:0;overflow:hidden;border-radius:calc(var(--radius) - 1.5px) 0 0 calc(var(--radius) - 1.5px)}.links-product-photo>.picture-frame{display:block;width:100%;height:100%;aspect-ratio:1!important}.links-product-photo .imagefallback{display:grid;place-items:center;width:100%;height:100%}.links-product-info{min-height:0;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;padding:10px 12px}.links-product-info>small{font:400 11px/1.2 var(--body);color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.links-product-name{font:900 17px/1.15 var(--display);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.links-product-note{font:400 12px/1.3 var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:root[data-mode=dark] .links-product{box-shadow:0 4px 16px #0005}.links-find{position:relative}.links-product:focus-visible{outline:2px solid var(--ink);outline-offset:3px}@media(min-width:1000px){.links-page{--links-code-width:45%}}

/* 1.42 review: give codes room on /links (store names are short; codes are long). */
html .links-page{--links-code-width:50%}
/* Global focus uses outline !important; the search field shows focus with its own border instead. */
html .links-search input:focus,html .links-search input:focus-visible{outline:none!important;box-shadow:none;border:2px solid var(--moss);padding-left:19px}
:root[data-mode=dark] .links-search input:focus-visible{border-color:var(--lime)}
/* #codes .ticket (front page) has id weight; /links tickets must beat it. */
html :is(.links-page,#codes) .links-ticket,html .links-page #codes .links-ticket{grid-template-columns:minmax(0,1fr) minmax(0,var(--links-code-width))}
html .links-page #codes .links-ticket::before,html .links-page #codes .links-ticket::after{right:calc(var(--links-code-width) - 9px);background:var(--bg)}
/* Owner banner: one fixed-height line, and the floating header sits below it instead of under it. */
.construction-banner{box-sizing:border-box;height:44px;padding:0 12px;display:flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;overflow:hidden;font-size:13px}
body:has(.construction-banner){padding-top:44px}
body:has(.construction-banner) header.site.compact{top:54px}
@media(max-width:600px){body:has(.construction-banner) header.site.compact{top:52px}}
html .links-search button{border:0;box-shadow:none;top:4px;right:6px}
.logo-previews h3{margin:0 0 8px;font:600 12px/1.2 var(--body);text-transform:capitalize;opacity:.7}

/* 1.42 /links polish: tighter items, one type scale, everything centred on its own axis. */
html .links-page{--links-item-h:84px;--links-gap:12px}
html .links-header{padding:24px 16px 4px}
html .links-page .links-search{margin:12px 0 4px}
html .links-page>section{padding:20px 0}
html .links-page>section>h2,html .links-page #codes>h2,html .links-page #finds>h2{margin:0 0 12px;font:900 24px/1.1 var(--display);letter-spacing:0}
html .links-page #codes .tickets,html .links-page #finds .productgrid,html .links-page .links-results{gap:var(--links-gap)}
html .links-page .links-results{padding:12px 0}
/* Ticket, left: small label over the shop name. */
html :is(#codes,#linksResults) .links-ticket .links-ticket-store{grid-column:1;grid-row:1;align-self:center;min-width:0;padding:0 12px 0 16px;display:grid;gap:3px}
html :is(#codes,#linksResults) .links-ticket .links-ticket-store .deal{padding:0;font-size:17px;line-height:1.1}
html :is(.links-page,#codes) .links-kind{display:flex;align-items:center;gap:6px;font:600 11px/1.2 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
html :is(.links-page,#codes) .links-kind .new-badge{position:static;padding:1px 6px;font:700 10px/1.4 var(--body);letter-spacing:.04em}
/* Ticket, right: the code and its hint share one centre line. */
html :is(#codes,#linksResults) .links-ticket .take{padding:8px 12px;gap:6px;align-items:center}
html :is(#codes,#linksResults) .links-ticket .take button{height:28px;min-height:28px;padding:0;border:0;color:var(--ink)}
html :is(#codes,#linksResults) .links-ticket .code-viewport{font:700 16px/1.2 var(--body);letter-spacing:.04em;text-align:center}
html :is(#codes,#linksResults) .links-ticket .code-viewport.ticker,html :is(#codes,#linksResults) .links-ticket .code-viewport.code-clipped{text-align:left}
html :is(#codes,#linksResults) .links-ticket .take small.links-copy-hint{display:flex;align-items:center;justify-content:center;gap:4px;font:600 11px/1.2 var(--body);color:var(--moss)}
:root[data-mode=dark] :is(.links-page,#codes) .links-ticket .take small.links-copy-hint{color:var(--lime)}
html :is(.links-page,#codes) .links-icon{width:13px;height:13px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
html :is(.links-page,#codes) .links-perk{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:var(--lime);color:var(--forest);font:700 14px/1 var(--body);text-decoration:none;white-space:nowrap}
/* Product: photo, text, arrow. */
html .links-page .links-product{grid-template-columns:var(--links-item-h) minmax(0,1fr) auto;align-items:center;border-width:1px;box-shadow:0 2px 8px #0000000f}
html .links-page .links-product-photo{width:var(--links-item-h);height:var(--links-item-h)}
html .links-page .links-product-info{padding:0 4px 0 14px;gap:3px}
html .links-page .links-product-info>small{font:600 11px/1.2 var(--body);letter-spacing:.06em;text-transform:uppercase}
html .links-page .links-product-name{font-size:17px;line-height:1.15}
html .links-page .links-product-note{color:var(--muted)}
html .links-page .links-product-go{display:grid;place-items:center;width:32px;height:32px;margin-right:12px;border-radius:50%;background:var(--bg);color:var(--ink)}
html .links-page .links-product-go .links-icon{width:15px;height:15px}
html .links-page #finds>small{display:block;margin-top:12px;font:400 12px/1.4 var(--body);color:var(--muted)}
html :is(#codes,#linksResults) .links-ticket{grid-template-rows:minmax(0,1fr);height:var(--links-item-h);min-height:var(--links-item-h);background:var(--paper);color:var(--ink)}
html :is(#codes,#linksResults) .links-ticket .code-viewport{display:flex;justify-content:center}
html :is(#codes,#linksResults) .links-ticket .code-viewport:is(.ticker,.code-clipped){justify-content:flex-start}
html :is(#codes,#linksResults) .links-ticket .links-ticket-store .deal{margin:0}
html :is(#codes,#linksResults) .links-ticket .links-ticket-store>*{grid-row:auto;grid-column:auto}
html :is(#codes,#linksResults) .links-ticket .take{gap:2px}

/* Front page codes use the /links ticket (1.42). Same sizes; notches take the band colour. */
html #codes{--links-item-h:84px;--links-code-width:50%}
html :is(#codes,#linksResults) .links-ticket::before,html :is(#codes,#linksResults) .links-ticket::after{right:calc(var(--links-code-width) - 9px);background:var(--band,var(--bg))}
html #codes .links-ticket .bio-domain{all:unset;cursor:pointer;font:inherit;color:inherit;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
html #codes .links-ticket .bio-domain:focus-visible{outline:2px solid var(--ink)!important;outline-offset:2px}
html #codes .links-ticket .links-ticket-store .open-shop{display:inline-flex;align-items:center;gap:4px;width:max-content;min-height:0;padding:0;margin-top:1px;font:600 12px/1.2 var(--body);color:var(--moss);text-decoration:none}
:root[data-mode=dark] #codes .links-ticket .links-ticket-store .open-shop{color:var(--lime)}
/* Header buttons: filled with the surface behind them so the hero shape never shows through. */
header.site :is(#modeToggle,#menuToggle){background:var(--bg)}
header.site.compact :is(#modeToggle,#menuToggle):not(:hover){background:var(--paper)}
html :is(#codes,#linksResults) .links-ticket{--band:inherit}
:root[data-mode=dark] :not(.links-page)>#codes .links-ticket{background:var(--bg)}
