/* Puro Classico design system v9 (ds.css), 29 Oct 2026
   One stylesheet for every server-rendered page (product, brand, category, agent, best, guide and tool pages) and the
   static pages (how-to-order, privacy, terms). Look: shadcn/ui "neutral" with Inter, light / dark / system.
   Theme: <html data-theme="light|dark"> is the visitor's choice (localStorage "manifest.theme", shared with the app);
   no attribute means "system" and the prefers-color-scheme query decides. Rules: see DESIGN.md. */

/* ---------------------------------------------------------------- font */
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/inter-latin.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------------------------------------------------------------- tokens
   shadcn name -> our token: background --bg, foreground --ink, card --surface, muted/secondary --surface-2,
   muted-foreground --muted, border --line, input --line-2, primary --fill, primary-foreground --fill-ink, ring --ring. */
:root{
  --font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px; --s8:64px;
  --r-sm:8px; --r-md:10px; --r-lg:12px; --r-xl:16px; --r-pill:999px;
  --maxw:1280px; --measure:44rem;
  --ease:cubic-bezier(.2,.7,.2,1); --ease-out:cubic-bezier(.22,1,.36,1);
  /* light (default) */
  --bg:#FFFFFF; --ink:#0A0A0A; --ink-2:#404040; --surface:#FFFFFF; --surface-2:#F5F5F5; --muted:#6B6B6B; --faint:#6B6B6B;
  --line:#E5E5E5; --line-2:#E5E5E5; --fill:#171717; --fill-ink:#FAFAFA; --ring:#737373; --input-line:#949494; --well:#F5F5F5; --hover:#F5F5F5;
  --header:rgba(255,255,255,.6); --header-solid:#FFFFFF;
  --sh-sm:0 1px 2px rgba(0,0,0,.05); --sh-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);
  --sh-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);
  --pill-out:rgba(10,10,10,.1); --pill-out-fill:rgba(255,255,255,.7);
  /* old names, still used by inline styles in pages.js and content*.js */
  --accent:var(--ink); --bg2:var(--surface); --card:var(--surface); --text:var(--ink); --red:var(--ink); --brand-red:var(--fill);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#0A0A0A; --ink:#FAFAFA; --ink-2:#D4D4D4; --surface:#171717; --surface-2:#262626; --muted:#A1A1A1; --faint:#A1A1A1;
    --line:rgba(255,255,255,.1); --line-2:rgba(255,255,255,.15); --fill:#E5E5E5; --fill-ink:#171717; --ring:#737373; --input-line:rgba(255,255,255,.4); --well:#262626; --hover:#262626;
    --header:rgba(10,10,10,.6); --header-solid:#0A0A0A;
    --sh-sm:0 1px 2px rgba(0,0,0,.3); --sh-md:0 4px 6px -1px rgba(0,0,0,.4),0 2px 4px -2px rgba(0,0,0,.4); --sh-lg:0 10px 15px -3px rgba(0,0,0,.5);
    --pill-out:rgba(255,255,255,.15); --pill-out-fill:rgba(23,23,23,.7);
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0A0A0A; --ink:#FAFAFA; --ink-2:#D4D4D4; --surface:#171717; --surface-2:#262626; --muted:#A1A1A1; --faint:#A1A1A1;
  --line:rgba(255,255,255,.1); --line-2:rgba(255,255,255,.15); --fill:#E5E5E5; --fill-ink:#171717; --ring:#737373; --input-line:rgba(255,255,255,.4); --well:#262626; --hover:#262626;
  --header:rgba(10,10,10,.6); --header-solid:#0A0A0A;
  --sh-sm:0 1px 2px rgba(0,0,0,.3); --sh-md:0 4px 6px -1px rgba(0,0,0,.4),0 2px 4px -2px rgba(0,0,0,.4); --sh-lg:0 10px 15px -3px rgba(0,0,0,.5);
  --pill-out:rgba(255,255,255,.15); --pill-out-fill:rgba(23,23,23,.7);
  color-scheme:dark;
}

/* ---------------------------------------------------------------- base */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
html,body{margin:0;background:var(--bg);color:var(--ink)}
body{font:400 16px/1.6 var(--font);font-feature-settings:"cv11","ss01";overflow-x:hidden}
a{color:inherit;text-underline-offset:3px}
img{max-width:100%;height:auto}
::selection{background:color-mix(in srgb,var(--ink) 16%,transparent)}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:6px}
.w{max-width:var(--maxw);margin:0 auto;padding:0 32px}
@media (max-width:640px){.w{padding:0 16px}}
h1,h2,h3{color:var(--ink);text-wrap:balance;font-weight:700}
h1{font-size:30px;line-height:1.15;letter-spacing:-.025em;margin:0 0 12px}
@media (min-width:768px){h1{font-size:36px}}
h2{font-size:24px;line-height:1.25;letter-spacing:-.02em;margin:56px 0 16px}
h3{font-size:18px;line-height:1.35;letter-spacing:-.01em;font-weight:600;margin:24px 0 8px}
p{text-wrap:pretty}
small{font-size:.8em}
hr{border:0;border-top:1px solid var(--line);margin:var(--s6) 0}
table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
th,td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line)}
th{color:var(--muted);font-weight:500;font-size:13px}
input,select,textarea{font:inherit;font-size:16px;color:var(--ink);background:var(--bg);border:1px solid var(--input-line,var(--line-2));border-radius:var(--r-md);padding:10px 14px;outline:none;box-shadow:var(--sh-sm);transition:border-color .15s,box-shadow .15s}
input:focus,select:focus,textarea:focus{border-color:var(--ring);box-shadow:0 0 0 3px color-mix(in srgb,var(--ring) 40%,transparent)}
::placeholder{color:var(--muted);opacity:1}
button{font:inherit;color:inherit}
a,button,summary,label,select{touch-action:manipulation}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media (min-width:821px){html{scroll-padding-top:16px}}

/* ---------------------------------------------------------------- icons (one set, site.js ICONS / index.html #pc-icons)
   24px grid, 1.75 stroke, round caps, currentColor; width/height attributes on every <svg> keep the layout still.
   Kept before the component rules so their own svg sizes (.tk-ic svg, .ibtn svg...) still win. */
.ic{width:20px;height:20px;flex:none;vertical-align:-4px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.ic.sm{width:16px;height:16px;vertical-align:-3px}
.ic-tile{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:999px;background:var(--surface-2);color:var(--ink-2);flex:none}
.ic-tile .ic{width:20px;height:20px}
.ic-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;list-style:none;margin:16px 0;padding:0}
.ic-row li{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border-radius:var(--r-lg);background:var(--surface-2);font:500 14px/1.3 var(--font);color:var(--ink)}
.ic-row li .ic{color:var(--ink-2)}
.ic-row.tight{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 0}
.ic-row.tight li{min-height:30px;padding:4px 10px;gap:6px;border-radius:var(--r-pill);font-size:12.5px;color:var(--ink-2)}
.ic-steps{counter-reset:s;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;list-style:none;margin:16px 0;padding:0}
.ic-steps li{counter-increment:s;position:relative;display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);font-size:15px;font-weight:500;line-height:1.35}
.ic-steps li::after{content:counter(s);position:absolute;top:6px;left:38px;min-width:16px;height:16px;border-radius:999px;background:var(--fill);color:var(--fill-ink);font:600 10px/16px var(--font);text-align:center;font-variant-numeric:tabular-nums}
.h-ic{display:flex;align-items:center;gap:10px}
.h-ic .ic-tile{width:32px;height:32px}.h-ic .ic-tile .ic{width:18px;height:18px}
.ic-list{list-style:none;padding:0!important;margin:12px 0}
.ic-list li{display:flex;align-items:flex-start;gap:10px;margin:0 0 8px}
.ic-list li .ic{margin-top:4px;color:var(--ink-2)}
details.more{margin:8px 0 0}
details.more > summary{display:inline-flex;align-items:center;gap:6px;min-height:44px;cursor:pointer;font-size:15px;font-weight:500;color:var(--ink);list-style:none;-webkit-tap-highlight-color:transparent}
details.more > summary::-webkit-details-marker{display:none}
details.more > summary .ic{transition:transform .15s}
details.more[open] > summary .ic{transform:rotate(180deg)}
@media (prefers-reduced-motion:reduce){details.more > summary .ic{transition:none}}

/* ---------------------------------------------------------------- header: scrolls away with the page (r6 item 18), solid ground, hairline */
header.h{position:relative;top:auto;z-index:30;background:var(--bg);border-bottom:1px solid var(--line)}
header.h .w{display:flex;align-items:center;gap:24px;height:56px}
header.h .w > a:first-child{display:flex;align-items:center;min-height:44px;flex:none;border-radius:8px}
header.h .logo{display:block;width:104px;height:28px;background-color:var(--ink);
  -webkit-mask:url(/cdn-cgi/image/width=400,format=auto/logo-wordmark.png) left center/contain no-repeat;mask:url(/cdn-cgi/image/width=400,format=auto/logo-wordmark.png) left center/contain no-repeat}
header.h nav{display:flex;align-items:center;gap:4px;flex:1;min-width:0}
header.h nav a{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:var(--r-pill);font-size:14px;font-weight:500;color:var(--muted);text-decoration:none;white-space:nowrap;transition:color .15s,background-color .15s}
@media (hover:hover){header.h nav a:hover{color:var(--ink)}}
header.h nav a[aria-current="page"]{color:var(--ink)}
.hr{display:flex;align-items:center;gap:6px;margin-left:auto;flex:none}
.hcta{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border:1px solid var(--line);border-radius:var(--r-pill);font-size:13px;font-weight:500;color:var(--ink-2);text-decoration:none;white-space:nowrap;transition:background-color .15s,color .15s}
@media (hover:hover){.hcta:hover{background:var(--hover);color:var(--ink)}}
.ibtn{display:inline-grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:var(--r-pill);background:transparent;color:var(--muted);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .15s,color .15s}
@media (hover:hover){.ibtn:hover{background:var(--hover);color:var(--ink)}}
.ibtn svg{width:18px;height:18px}
.tbtn .i-light,.tbtn .i-dark{display:none}
:root[data-theme-pref="light"] .tbtn .i-sys,:root[data-theme-pref="dark"] .tbtn .i-sys{display:none}
:root[data-theme-pref="light"] .tbtn .i-light,:root[data-theme-pref="dark"] .tbtn .i-dark{display:block}
/* (5 Nov 2026) no phone menu button any more: under 1100px the links fold into the Tools menu, as in the app (the
   "header parity" block at the end). Without JS the links stay in a scrolling row under the logo. */
@media (max-width:1099px){
  :root:not(.js) header.h .w{flex-wrap:wrap;height:auto;padding-top:6px;padding-bottom:6px}
  :root:not(.js) header.h nav{order:3;flex-basis:100%;overflow-x:auto}
}
.skip-link{position:fixed;left:16px;top:-80px;z-index:100;padding:10px 18px;border-radius:var(--r-pill);background:var(--fill);color:var(--fill-ink);font-weight:600;font-size:14px;text-decoration:none}
.skip-link:focus{top:12px}

/* ---------------------------------------------------------------- buttons: pills */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 20px;border-radius:var(--r-pill);font-weight:600;font-size:14px;line-height:1.2;text-decoration:none;cursor:pointer;
  border:1px solid var(--line-2);background:var(--bg);color:var(--ink);box-shadow:var(--sh-sm);-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;
  transition:background-color .15s,opacity .15s,transform .1s var(--ease-out)}
@media (hover:hover){.btn:hover{background:var(--hover)}}
.btn:active{transform:scale(.97)}
.btn:disabled{opacity:.6;cursor:default}
.btn.primary,.btn.light,.btn.red{background:var(--fill);color:var(--fill-ink);border-color:var(--fill)}
@media (hover:hover){.btn.primary:hover,.btn.light:hover,.btn.red:hover{background:var(--fill);opacity:.9}}
.btn.secondary{background:var(--surface-2);border-color:transparent;box-shadow:none}
.btn.ghost{background:transparent;border-color:transparent;box-shadow:none}
.btn.sm{min-height:36px;padding:0 14px;font-size:13px}
.btn.lg{min-height:48px;padding:0 24px;font-size:15px}
@media (pointer:coarse){.btn,.btn.sm{min-height:44px}}

/* ---------------------------------------------------------------- page furniture */
main{padding:24px 0 96px}
.bc{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 20px;font-size:13px;color:var(--muted)}
.bc a{text-decoration:none;color:var(--muted);transition:color .15s}
@media (hover:hover){.bc a:hover{color:var(--ink)}}
.bc [aria-current]{color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60ch}
@media (pointer:coarse){.bc a{padding:12px 2px;margin:-12px -2px}}
.lead{font-size:17px;line-height:1.6;color:var(--muted);max-width:44rem;margin:0 0 20px}
@media (min-width:768px){.lead{font-size:18px}}
.prose{max-width:var(--measure);color:var(--ink-2)}
.prose p,.prose li{font-size:16px;line-height:1.7}
.prose a,dl.kv dd a,.more a,a.more{color:var(--ink);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--ink) 30%,transparent);text-decoration-thickness:1px;transition:text-decoration-color .15s}
@media (hover:hover){.prose a:hover,dl.kv dd a:hover,.more a:hover,a.more:hover{text-decoration-color:var(--ink)}}
.prose strong{color:var(--ink);font-weight:600}
.prose ul,.prose ol{padding-left:1.25em}
.prose ul > li + li{margin-top:6px}
.prose ul li::marker{color:var(--muted)}
.prose h2{font-size:22px;margin:40px 0 12px}
.prose h3{font-size:18px;margin:28px 0 8px}
.prose code{font-family:var(--mono);font-size:.86em;padding:.12em .4em;border-radius:6px;background:var(--surface-2);color:var(--ink);overflow-wrap:anywhere}
.prose table{margin:24px 0;font-size:15px;line-height:1.45}
.prose td{color:var(--ink-2);vertical-align:top}
.prose td:first-child{color:var(--ink);font-weight:500}
.prose .gloss{margin:24px 0}
.prose .gloss dt{font-size:17px;font-weight:600;margin-top:16px;padding-top:16px;border-top:1px solid var(--line);color:var(--ink)}
.prose .gloss dt:first-child{margin-top:0;padding-top:0;border-top:0}
.prose .gloss dd{margin:4px 0 0;font-size:16px;line-height:1.6}
.prose .byline{margin:0 0 24px;font-size:14px;color:var(--muted)}
.prose .byline a{color:inherit}
article.prose{margin-inline:auto}
.bc:has(+ article.prose){max-width:var(--measure);margin-inline:auto}
article.prose .lead{color:var(--ink-2);max-width:none}
.facts{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 8px}
.facts span{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:var(--r-pill);background:var(--surface-2);font-size:13px;font-weight:500;color:var(--ink-2);font-variant-numeric:tabular-nums}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.chips a,.chips > span{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--bg);font-size:14px;font-weight:500;line-height:1.3;color:var(--ink);text-decoration:none;
  -webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;transition:background-color .15s,transform .1s var(--ease-out)}
@media (hover:hover){.chips a:hover{background:var(--hover)}}
.chips a:active{transform:scale(.97)}
.chips a.hot{background:var(--fill);color:var(--fill-ink);border-color:var(--fill)}
.chips a span{color:var(--muted)!important;font-variant-numeric:tabular-nums}
.chips a.hot span{color:inherit!important}
@media (pointer:coarse){.chips a{min-height:44px}}
.note{background:var(--surface-2);border:0;border-radius:var(--r-lg);padding:16px 20px;color:var(--ink-2);font-size:15px;line-height:1.55}
.note a{color:var(--ink)!important;font-weight:500}
.prose .note{margin:24px 0}
.eyebrow{display:block;font-size:13px;font-weight:500;color:var(--muted);margin:0 0 8px}
.eyebrow.pill,article.prose > .eyebrow:first-child{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:var(--r-pill);background:var(--surface-2);color:var(--ink-2);font-size:12px;font-weight:600;text-decoration:none;margin:0 0 14px}
a.eyebrow.pill{transition:background-color .15s}
@media (hover:hover){a.eyebrow.pill:hover{background:var(--line)}}

/* ---------------------------------------------------------------- section head + "View more" */
.sh{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:56px 0 16px}
.sh h2{margin:0}
.vm{flex:none;font-size:14px;font-weight:500;color:var(--muted);text-decoration:none;white-space:nowrap;transition:color .15s}
@media (hover:hover){.vm:hover{color:var(--ink)}}
@media (pointer:coarse){.vm{padding:12px 0;margin:-12px 0}}
@media (max-width:640px){.sh{flex-wrap:wrap;row-gap:4px}.vm{white-space:normal}}
p.more{margin:8px 0 0;font-size:15px}

/* ---------------------------------------------------------------- product grid + card
   div.c = product card (link + QC/Buy pills); a.c = a whole-card link (model and pick cards). */
.g{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin:16px 0 24px}
@media (min-width:1200px){.g{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (max-width:640px){.g{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.c{position:relative;display:flex;flex-direction:column;padding:10px;border-radius:var(--r-lg);background:var(--surface);color:var(--ink);text-decoration:none;
  transition:box-shadow .2s var(--ease)}
@media (hover:hover){.c:hover{box-shadow:var(--sh-md)}}
.c .cl{display:flex;flex-direction:column;flex:1;color:inherit;text-decoration:none;border-radius:var(--r-md)}
.ci{position:relative;display:block;aspect-ratio:1/1;border-radius:var(--r-md);overflow:hidden;background:var(--well)}
.ci img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .3s var(--ease)}
@media (hover:hover){.c:hover .ci img{transform:scale(1.03)}}
.qb{position:absolute;left:8px;top:8px;padding:2px 8px;border-radius:var(--r-pill);background:var(--pill-out-fill);color:var(--ink);font-size:11px;font-weight:600;box-shadow:inset 0 0 0 1px var(--pill-out)}
.cb{display:flex;flex-direction:column;gap:2px;flex:1;padding:10px 2px 0}
.cbr{font-size:12px;font-weight:500;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct{font-size:14px;font-weight:500;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cp{margin-top:auto;padding-top:4px;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.cp small{margin-left:4px;font-size:12px;font-weight:400;color:var(--muted)}
.ca{display:flex;gap:6px;padding:10px 0 0}
.ca a{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:30px;padding:0 12px;border-radius:var(--r-pill);font-size:12px;font-weight:600;text-decoration:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;transition:opacity .15s,background-color .15s,transform .1s var(--ease-out)}
.ca a:active{transform:scale(.96)}
.ca .cq{background:var(--pill-out-fill);color:var(--ink);box-shadow:inset 0 0 0 1px var(--pill-out)}
.ca .cq svg{width:13px;height:13px}
@media (hover:hover){.ca .cq:hover{background:var(--hover)}}
.ca .cbuy{flex:1;background:var(--fill);color:var(--fill-ink)}
@media (hover:hover){.ca .cbuy:hover{opacity:.88}}
@media (pointer:coarse){.ca a{position:relative;min-height:36px}.ca a::after{content:"";position:absolute;inset:-4px 0}}
.c:focus-visible,.c .cl:focus-visible{outline-offset:3px}

/* ---------------------------------------------------------------- pager */
.pg{display:flex;flex-wrap:wrap;gap:6px;margin:32px 0}
.pg a,.pg span{min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--line);border-radius:var(--r-pill);text-decoration:none;font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;transition:background-color .15s}
@media (hover:hover){.pg a:hover{background:var(--hover)}}
.pg span{background:var(--fill);color:var(--fill-ink);border-color:var(--fill);font-weight:600}
.pg i{display:inline-flex;align-items:center;padding:0 4px;color:var(--muted)}
@media (pointer:coarse){.pg a,.pg span{height:44px;min-width:44px}}

/* ---------------------------------------------------------------- product page */
.pd{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}
.pd > *{min-width:0}
@media (max-width:900px){.pd{grid-template-columns:1fr;gap:24px}}
@media (min-width:901px) and (min-height:760px){.pd-media{position:static}}
.pimg{position:relative;aspect-ratio:1/1;border-radius:var(--r-lg);overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--well)}
.pimg img{width:100%;height:100%;object-fit:contain}
.thumbs{display:flex;gap:8px;overflow-x:auto;margin:12px 0 0;padding:2px;scrollbar-width:none}
.thumbs::-webkit-scrollbar{display:none}
.thumbs > a,.thumbs > button{flex:none;display:block;width:72px;height:72px;padding:0;border:0;border-radius:var(--r-md);overflow:hidden;background:var(--well);cursor:pointer;box-shadow:inset 0 0 0 1px var(--line);opacity:.75;transition:opacity .15s,box-shadow .15s}
.thumbs > .on,.thumbs > a:hover,.thumbs > button:hover{opacity:1;box-shadow:0 0 0 2px var(--ink)}
.thumbs img{display:block;width:100%;height:100%;object-fit:cover}
.qc-h{font-size:14px;font-weight:600;letter-spacing:0;margin:16px 0 0;color:var(--ink)}
.qc-load{margin:12px 0}
.qc-none{margin:12px 0;color:var(--muted);font-size:14px;line-height:1.45}
.qcs{display:flex;gap:8px;overflow-x:auto;margin:8px 0;padding:2px;scrollbar-width:none}
.qcs::-webkit-scrollbar{display:none}
.qcs a{flex:none;display:block;border-radius:var(--r-md);overflow:hidden;background:var(--well);box-shadow:inset 0 0 0 1px var(--line);transition:box-shadow .15s}
.qcs a.on{box-shadow:0 0 0 2px var(--ink)}
.qcs img{display:block;width:72px;height:72px;object-fit:cover}
@media (max-width:640px){
  .qcs{margin:8px -16px;padding:2px 16px;scroll-snap-type:x mandatory;scroll-padding-inline:16px;overscroll-behavior-x:contain}
  .qcs a{scroll-snap-align:start}
  .qcs img{width:auto;height:min(52vw,220px);max-width:80vw}
}
.pd-info h1{font-size:26px;line-height:1.2;letter-spacing:-.02em;margin:0 0 8px}
@media (min-width:768px){.pd-info h1{font-size:30px}}
.pd-info > .eyebrow.pill{margin:0 0 12px}
.price{font-size:28px;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin:4px 0 20px;font-variant-numeric:tabular-nums}
.price small{display:inline-block;margin-left:10px;font-size:14px;font-weight:400;letter-spacing:0;color:var(--muted)}
/* buy box: one black split button (main agent + a menu of the others), the coupon line, the affiliate note */
.buybox{margin:0 0 20px}
.buy-split{position:relative;display:flex;align-items:stretch;border-radius:var(--r-pill);background:var(--fill);color:var(--fill-ink);box-shadow:var(--sh-sm)}
.buy-main{flex:1;min-width:0;display:flex}
.buy-main a{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 20px;border-radius:var(--r-pill) 0 0 var(--r-pill);color:var(--fill-ink);font-size:16px;font-weight:600;text-decoration:none;
  -webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;transition:background-color .15s}
@media (hover:hover){.buy-main a:hover{background:color-mix(in srgb,var(--fill-ink) 10%,transparent)}}
.buy-main a small{font-size:11px;font-weight:600;padding:2px 8px;border-radius:var(--r-pill);background:color-mix(in srgb,var(--fill-ink) 16%,transparent);color:var(--fill-ink)}
.buy-more{position:static;flex:none;display:flex}
.buy-more > summary{display:grid;place-items:center;width:52px;min-height:52px;border-left:1px solid color-mix(in srgb,var(--fill-ink) 22%,transparent);border-radius:0 var(--r-pill) var(--r-pill) 0;cursor:pointer;list-style:none;color:var(--fill-ink);-webkit-tap-highlight-color:transparent;transition:background-color .15s}
.buy-more > summary::-webkit-details-marker{display:none}
@media (hover:hover){.buy-more > summary:hover{background:color-mix(in srgb,var(--fill-ink) 10%,transparent)}}
.buy-more > summary svg{width:18px;height:18px;transition:transform .2s var(--ease)}
.buy-more[open] > summary svg{transform:rotate(180deg)}
.buy-menu{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:20;padding:8px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);color:var(--ink);box-shadow:var(--sh-lg)}
.buy-or{margin:4px 8px 6px;font-size:12px;font-weight:500;color:var(--muted)}
.buy-alt{display:flex;flex-direction:column}
.buy-alt a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:var(--r-md);font-size:14px;font-weight:500;color:var(--ink);text-decoration:none;transition:background-color .15s}
@media (hover:hover){.buy-alt a:hover{background:var(--hover)}}
.buy-alt small{display:none}
.buy-hint{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:10px 14px;border-radius:var(--r-md);background:var(--surface-2);color:var(--ink-2);font-size:13px;font-weight:500;line-height:1.4;text-decoration:none;transition:background-color .15s}
@media (hover:hover){.buy-hint:hover{color:var(--ink)}}
.buy-hint svg{width:16px;height:16px;flex:none;color:var(--muted)}
.buy-hint[hidden]{display:none}
.buy-aff{margin:10px 0 0;font-size:12px;line-height:1.45;color:var(--muted)}
.buy-gone{margin:0 0 16px;padding:12px 16px;border-radius:var(--r-md);background:var(--surface-2);color:var(--ink-2);font-size:14px;line-height:1.45}
.opts{margin:0 0 20px}
.opts-l{display:block;font-size:13px;font-weight:600;color:var(--ink);margin:0 0 8px}
.opts .chips{margin:0;gap:6px}
.opts .chips > span{min-height:32px;padding:0 12px;font-size:13px;cursor:default}
/* phones: price + main button stay on screen while the main button is out of view */
.buybar{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:25;display:flex;align-items:center;gap:14px;max-width:560px;margin-inline:auto;padding:8px 8px 8px 18px;
  border:1px solid var(--line);border-radius:var(--r-pill);background:var(--header-solid);box-shadow:var(--sh-lg);
  transform:translateY(calc(100% + 24px + env(safe-area-inset-bottom,0px)));visibility:hidden;transition:transform .2s var(--ease-out),visibility 0s linear .2s}
.buybar.on{transform:none;visibility:visible;transition:transform .3s var(--ease-out)}
.bb-price{font-size:18px;font-weight:700;letter-spacing:-.02em;line-height:1.15;font-variant-numeric:tabular-nums;white-space:nowrap}
.bb-price small{display:block;font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted)}
.bb-buy{flex:1;display:flex;align-items:center;justify-content:center;min-height:46px;padding:0 16px;border-radius:var(--r-pill);background:var(--fill);color:var(--fill-ink);font-weight:600;font-size:15px;text-decoration:none;-webkit-tap-highlight-color:transparent;transition:transform .1s}
.bb-buy:active{transform:scale(.97)}
@media (max-width:900px){body.has-buybar{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}}
@media (min-width:901px){.buybar{display:none}}
/* Details card */
.dcard{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);padding:4px 20px;box-shadow:var(--sh-sm)}
.dcard > h2{font-size:16px;font-weight:600;letter-spacing:0;margin:14px 0 4px}
dl.kv{display:grid;grid-template-columns:minmax(110px,auto) 1fr;margin:0;font-size:14px}
dl.kv dt,dl.kv dd{padding:11px 0;border-top:1px solid var(--line);line-height:1.5}
dl.kv dt{padding-right:20px;color:var(--muted)}
dl.kv dd{margin:0;min-width:0;color:var(--ink);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
dl.kv dt:first-of-type,dl.kv dt:first-of-type + dd{border-top:0}
.lchips{display:flex;flex-wrap:wrap;gap:6px}
dl.kv .lchips a{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:var(--r-pill);background:var(--surface-2);font-size:12.5px;font-weight:500;text-decoration:none}
@media (hover:hover){dl.kv .lchips a:hover{background:var(--line)}}
@media (max-width:480px){dl.kv{grid-template-columns:1fr}dl.kv dt{padding-bottom:0}dl.kv dd{border-top:0;padding-top:2px}}
.pd-info p.more{margin:14px 0 0}
/* product page like the app's product view (owner, 8 Nov 2026: "this product page looks terrible"): a muted brand line,
   the price and the buy box first, the Details folded (still in the page for search engines) */
.pd-brand{display:inline-block;margin:0 0 6px;font-size:14px;font-weight:500;color:var(--muted);text-decoration:none}
@media (hover:hover){a.pd-brand:hover{color:var(--ink)}}
.pd-info h1{margin-bottom:6px}
.pd-info .price{font-size:30px;margin:14px 0 18px}
details.dmore{padding:0 18px;box-shadow:none}
details.dmore > summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;cursor:pointer;list-style:none;-webkit-tap-highlight-color:transparent}
details.dmore > summary::-webkit-details-marker{display:none}
details.dmore > summary h2{margin:0;font-size:15px;font-weight:600}
details.dmore > summary svg{width:16px;height:16px;color:var(--muted);transition:transform .2s var(--ease)}
details.dmore[open] > summary svg{transform:rotate(180deg)}
details.dmore[open]{padding-bottom:6px}
details.dmore dl.kv dt:first-of-type,details.dmore dl.kv dt:first-of-type + dd{border-top:1px solid var(--line)}
@media (pointer:coarse){.pd-info p.more a,dl.kv dd > a{display:inline-flex;align-items:center;min-height:44px}}

/* ---------------------------------------------------------------- steps, FAQ */
.steps,.prose .steps{counter-reset:s;list-style:none;padding:0;margin:16px 0}
.steps li{counter-increment:s;position:relative;padding-left:44px;margin:0 0 16px;min-height:28px}
.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;background:var(--surface-2);color:var(--ink);font-weight:600;font-size:13px;display:grid;place-items:center;font-variant-numeric:tabular-nums}
.faq{max-width:780px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:14px 0;font-size:16px;font-weight:500;line-height:1.4;color:var(--ink);cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:8px;height:8px;margin-right:4px;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:rotate(45deg) translateY(-2px);transition:transform .2s var(--ease)}
.faq details[open] summary::after{transform:rotate(225deg) translate(-2px,0)}
.faq p{margin:0 0 18px;max-width:68ch;font-size:15px;line-height:1.65;color:var(--muted)}

/* ---------------------------------------------------------------- tools */
.tool{max-width:760px;margin:20px 0;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-sm)}
.tool label{display:block;font-size:14px;font-weight:500;color:var(--ink);margin:0 0 8px}
.tool input:not([type=checkbox]):not([type=radio]),.tool select{width:100%;min-height:44px}
.tool button,.tool .go{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;border:0;border-radius:var(--r-pill);background:var(--fill);color:var(--fill-ink);font-weight:600;font-size:14px;cursor:pointer;transition:opacity .15s,transform .1s var(--ease-out)}
@media (hover:hover){.tool button:hover,.tool .go:hover{opacity:.9}}
.tool button:active,.tool .go:active{transform:scale(.97)}
.tool .out{margin-top:16px;font-size:15px;line-height:1.6;color:var(--ink-2);white-space:pre-line;font-variant-numeric:tabular-nums}
.tool .out b{color:var(--ink);font-weight:600}
.tool .out a{color:var(--ink);word-break:break-all}
.tool .row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.tool td{padding:8px 4px}
.tool .out .buybox{margin:12px 0 0;white-space:normal}
.tool .out .buy-main a{border-radius:var(--r-pill);background:var(--fill);color:var(--fill-ink);word-break:normal}
.tool .out .buy-alt{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.tool .out .buy-alt a{justify-content:center;border:1px solid var(--line);border-radius:var(--r-pill);word-break:normal}
.tool .out .buy-or{margin:12px 0 6px}
.tool .out details{margin-top:12px;font-size:13px}
.tool .out summary{cursor:pointer;color:var(--muted)}
.tool .qct{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.tool .qct img{width:110px;height:110px;object-fit:cover;border-radius:var(--r-md);border:1px solid var(--line)}

/* ---------------------------------------------------------------- /guides and /tools index cards */
.gl{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin:24px 0}
.gl a{position:relative;display:block;padding:20px 44px 20px 20px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);text-decoration:none;color:var(--ink);box-shadow:var(--sh-sm);transition:box-shadow .2s var(--ease)}
.gl a::after{content:"→";content:"→" / "";position:absolute;top:20px;right:18px;color:var(--muted);transition:transform .2s var(--ease),color .15s}
@media (hover:hover){.gl a:hover{box-shadow:var(--sh-md)}.gl a:hover::after{transform:translateX(3px);color:var(--ink)}}
.gl b{display:block;font-size:16px;font-weight:600;line-height:1.35;margin:0 0 6px}
.gl span{display:block;font-size:14px;line-height:1.5;color:var(--muted)}

/* ---------------------------------------------------------------- guide table of contents */
.toc{margin:28px 0 8px;padding:14px 20px 6px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface)}
.toc .eyebrow{margin:0 0 4px;font-weight:600;color:var(--ink)}
.toc ol{list-style:none;margin:0;padding:0}
.prose .toc li{margin:0;font-size:15px;line-height:1.4}
.prose .toc li + li{border-top:1px solid var(--line)}
.prose .toc a{display:block;padding:10px 0;color:var(--ink-2);text-decoration:none;transition:color .15s}
@media (hover:hover){.prose .toc a:hover{color:var(--ink)}}
.prose h2[id]{scroll-margin-top:16px}

/* ---------------------------------------------------------------- footer: columns */
footer.f{border-top:1px solid var(--line);padding:56px 0 max(32px,env(safe-area-inset-bottom,0px));font-size:14px;color:var(--muted);background:var(--bg)}
.ftop{display:grid;grid-template-columns:minmax(220px,1.2fr) 3fr;gap:40px}
@media (max-width:900px){.ftop{grid-template-columns:1fr;gap:32px}}
.fbrand .logo{display:block;width:104px;height:28px;background-color:var(--ink);-webkit-mask:url(/cdn-cgi/image/width=400,format=auto/logo-wordmark.png) left center/contain no-repeat;mask:url(/cdn-cgi/image/width=400,format=auto/logo-wordmark.png) left center/contain no-repeat}
.fbrand p{margin:12px 0 16px;max-width:30ch;line-height:1.55}
footer.f .cols{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:28px 24px}
footer.f h4{margin:0 0 10px;font-size:14px;font-weight:600;color:var(--ink)}
footer.f a{display:block;padding:4px 0;font-size:14px;color:var(--muted);text-decoration:none;transition:color .15s}
footer.f .cols a .ic{margin-left:4px}
@media (hover:hover){footer.f a:hover{color:var(--ink)}}
footer.f .fbrand a.btn{display:inline-flex;padding:0 16px;color:var(--ink)}
footer.f .disc{margin:40px 0 0;padding-top:20px;border-top:1px solid var(--line);font-size:12.5px;line-height:1.6;max-width:900px}
footer.f .legal{margin:12px 0 0;font-size:12.5px}
@media (pointer:coarse){footer.f .cols a{display:flex;align-items:center;min-height:44px;padding:0}}
@media (pointer:coarse){dl.kv .lchips a{min-height:44px}a.eyebrow.pill{position:relative}a.eyebrow.pill::after{content:"";position:absolute;inset:-9px 0}header.h nav a{min-height:44px}.ibtn{width:44px;height:44px}}
@media (max-width:640px){footer.f .cols{grid-template-columns:1fr 1fr;gap:24px 16px}}

/* v9 tools kit */
/* tools kit (tk): shared UI for /tools and every /tools/<slug> page. Spec: r2/TOOLS_SPEC.md section 1.
   Shared helpers in functions/_lib/site.js (import them in tools9.js too): toolShell({slug,name,h1,lead,trust,ui,about,
   faq,title,desc,jsonld,wide,bc}) builds the whole page; tkHero(), tkRelated(path), tkCopyBtn(label, attrs), TK_ICONS,
   TK_I (check, copy, alert, x, link, share, ext, right, prev, next, image), TOOL_ONE, TK_TRUST and TK_JS (client
   helpers, window.TK: esc, say, copy, debounce, qs.get/set, recent, seg, pasteBtn, ago, store, sess).
   Page shell (same on all 5 tool pages):
     <div class="tk-page">  breadcrumb, <header class="tk-hero"> [.tk-hero-ic] h1 ([.tk-name] inside) .lead .tk-trust </header>
       <section class="tk-card"> fields ... <div class="tk-out" data-state="empty|loading|error|success"> </section>
       <section class="tk-recent"> ... </section>
       <div class="tk-below"> h2 How It Works + .prose, FAQ, .tk-related </div>
     </div>
   Rules: one black pill (.btn.primary) per visible state inside a card; segments are never black; no red;
   errors are neutral (.tk-alert); never nest a bordered card in .tk-card (results use .tk-res fill).
   Legacy .tool rules above stay until tools9.js stops using them; do not put .tool and .tk-card on one element. */
:root{--tk-w:720px;--tk-pad:24px;--tk-gap:16px;--tk-h:48px;--tk-h-lg:56px;--tk-r:var(--r-xl);--tk-r-in:var(--r-lg);--tk-seg-bg:var(--surface-2);--tk-seg-on:var(--bg);--tk-ok:var(--ink)}
.tk-page [hidden],.tk-lightbox [hidden]{display:none!important}
.vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* page layout */
.tk-page{max-width:var(--tk-w);margin:0 auto}
.tk-page.wide{max-width:960px}
.tk-page.hub{max-width:1080px}
.tk-page > .bc{justify-content:center}
.tk-hero{text-align:center;margin:24px auto}
.tk-hero h1{margin:0 0 10px}
.tk-hero .lead{margin:0 auto 14px;max-width:40rem}
.tk-hero-ic{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 12px;border-radius:14px;background:var(--surface-2);color:var(--ink)}
.tk-hero-ic svg,.tk-ic svg{width:24px;height:24px;stroke-width:1.75}
.tk-name{margin:0 0 6px;font-size:14px;font-weight:500;color:var(--muted)}
/* the tool name sits inside the h1 (SEO: "Link Converter" stays in the heading) and looks like the line above it */
.tk-hero h1 .tk-name{display:block;font-size:14px;font-weight:500;line-height:1.5;letter-spacing:normal;color:var(--muted)}
.tk-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin:0;padding:0;list-style:none;font-size:13px;font-weight:500;color:var(--muted)}
.tk-trust li{display:inline-flex;align-items:center;gap:6px}
.tk-trust svg{width:14px;height:14px;flex:none;color:var(--ink)}
@media (max-width:640px){
  .tk-page > .bc{justify-content:flex-start}
  .tk-hero{text-align:left;margin-top:8px}
  .tk-hero-ic{margin-left:0}
  .tk-hero .lead{margin-left:0}
  .tk-trust{justify-content:flex-start}
}
.tk-below{margin-top:48px}
.tk-below > h2:first-child{margin-top:0}
.tk-below .prose,.tk-below .faq{max-width:none}

/* card and fields */
.tk-card{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--tk-r);padding:var(--tk-pad);box-shadow:var(--sh-sm)}
@media (max-width:640px){.tk-card{padding:16px}}
.tk-field{display:grid;gap:8px;min-width:0}
.tk-field + .tk-field,.tk-card > * + .tk-field{margin-top:var(--tk-gap)}
.tk-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;font-size:14px;font-weight:500;line-height:1.3;color:var(--ink)}
.tk-hint{font-size:13px;font-weight:400;color:var(--muted);text-align:right}
.tk-in{display:block;width:100%;min-width:0;min-height:var(--tk-h);font-size:16px;border-radius:var(--tk-r-in);font-variant-numeric:tabular-nums}
textarea.tk-in{min-height:96px;padding-top:12px;padding-bottom:12px;line-height:1.5;resize:vertical}
select.tk-in{-webkit-appearance:none;appearance:none;padding-right:40px;cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position:calc(100% - 20px) 50%,calc(100% - 15px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}
.tk-inwrap{position:relative;min-width:0}
.tk-in-lg{min-height:var(--tk-h-lg);padding:0 96px 0 48px;font-size:16px;text-overflow:ellipsis}
textarea.tk-in-lg{padding:16px 96px 16px 48px;min-height:var(--tk-h-lg)}
.tk-in-ic{position:absolute;left:16px;top:18px;width:20px;height:20px;color:var(--muted);pointer-events:none}
.tk-in-ic svg{display:block;width:20px;height:20px}
.tk-in-act{position:absolute;right:6px;top:6px;display:flex;align-items:center;gap:4px;height:44px}
.tk-in-act .btn{min-height:36px}
.tk-x{display:inline-grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:var(--r-pill);background:transparent;color:var(--muted);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .15s,color .15s}
@media (hover:hover){.tk-x:hover{background:var(--hover);color:var(--ink)}}
.tk-x svg{width:16px;height:16px}
@media (pointer:coarse){.tk-x{width:44px;height:44px}.tk-in-act{right:4px;top:6px;height:44px}.tk-in-act .btn{min-height:44px}}
.tk-inline{display:flex;gap:8px;align-items:stretch}
.tk-inline > .tk-inwrap,.tk-inline > .tk-in{flex:1 1 auto}
.tk-inline > .btn{flex:none;min-height:var(--tk-h)}
@media (max-width:640px){.tk-inline{flex-direction:column}.tk-inline > .btn{width:100%}}
.tk-unitwrap{position:relative;min-width:0}
.tk-unitwrap .tk-in{padding-right:44px}
.tk-unit{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:14px;color:var(--muted);pointer-events:none}
.tk-grid2,.tk-grid3{display:grid;gap:12px}
.tk-grid2{grid-template-columns:repeat(2,minmax(0,1fr))}
.tk-grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:640px){.tk-grid3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.tk-grid2{grid-template-columns:1fr}}
@media (max-width:400px){.tk-grid3{grid-template-columns:1fr}}
.tk-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:var(--tk-gap)}
.tk-row .tk-kbd{margin-left:auto}
.tk-spin{display:none;flex:none;width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:tk-spin .7s linear infinite}
[aria-busy="true"] > .tk-spin{display:inline-block}
@keyframes tk-spin{to{transform:rotate(360deg)}}
@media (max-width:640px){.tk-card .btn.primary{width:100%}.tk-card .tk-actions .btn.primary,.tk-card .tk-row .btn.primary{flex:1 1 100%}}

/* controls */
.tk-seg{display:flex;padding:4px;gap:4px;background:var(--tk-seg-bg);border-radius:var(--r-pill);min-width:0}
.tk-seg > button{flex:1 1 0;min-width:0;min-height:40px;padding:0 12px;border:0;border-radius:var(--r-pill);background:transparent;color:var(--muted);font:500 14px/1.2 var(--font);white-space:nowrap;cursor:pointer;
  -webkit-tap-highlight-color:transparent;transition:background-color .15s,color .15s,box-shadow .15s}
@media (hover:hover){.tk-seg > button:hover{color:var(--ink)}}
.tk-seg > button[aria-checked="true"]{background:var(--tk-seg-on);color:var(--ink);box-shadow:var(--sh-sm);font-weight:600}
.tk-seg > button:focus-visible{outline-offset:-2px;border-radius:var(--r-pill)}
@media (pointer:coarse){.tk-seg > button{min-height:44px}}
.tk-seg.wrap{flex-wrap:wrap}
.tk-seg.wrap > button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.tk-seg.wrap > button svg{width:20px;height:20px}
@media (max-width:640px){
  .tk-seg.wrap{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-radius:14px}
  .tk-seg.wrap > button{grid-column:span 2;min-height:64px;border-radius:10px;font-size:13px}
  .tk-seg.wrap > button:nth-last-child(2):nth-child(3n+1),.tk-seg.wrap > button:nth-last-child(1):nth-child(3n+2){grid-column:span 3}
}
.tk-toggle{display:inline-flex;padding:3px;gap:2px;background:var(--tk-seg-bg);border-radius:var(--r-pill)}
.tk-toggle > button{min-height:28px;padding:0 10px;border:0;border-radius:var(--r-pill);background:transparent;color:var(--muted);font:500 13px/1 var(--font);cursor:pointer;white-space:nowrap}
.tk-toggle > button[aria-checked="true"]{background:var(--tk-seg-on);color:var(--ink);box-shadow:var(--sh-sm);font-weight:600}
@media (pointer:coarse){.tk-toggle > button{position:relative;min-height:38px;padding:0 12px}.tk-toggle > button::after{content:"";position:absolute;inset:-3px 0}}
.tk-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.tk-chips > span:first-child{font-size:13px;font-weight:500;color:var(--muted);margin-right:2px}
.tk-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--bg);color:var(--ink);font:500 13px/1.2 var(--font);text-decoration:none;cursor:pointer;white-space:nowrap;
  -webkit-tap-highlight-color:transparent;transition:background-color .15s,transform .1s var(--ease-out)}
@media (hover:hover){.tk-chip:hover{background:var(--hover)}}
.tk-chip:active{transform:scale(.97)}
.tk-chip svg{width:14px;height:14px}
@media (pointer:coarse){.tk-chip{min-height:44px;padding:0 14px}}
.tk-step{display:inline-flex;align-items:center;gap:4px;flex:none}
.tk-step button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:var(--r-pill);background:var(--surface-2);color:var(--ink);font:600 18px/1 var(--font);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .15s,opacity .15s}
@media (hover:hover){.tk-step button:hover{background:var(--line)}}
.tk-step button:disabled{opacity:.4;cursor:default}
.tk-step output,.tk-step .tk-n{min-width:32px;text-align:center;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
@media (pointer:coarse){.tk-step button{width:44px;height:44px}}
.tk-kbd{display:none;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.tk-kbd kbd{display:inline-block;padding:1px 6px;border:1px solid var(--line);border-bottom-width:2px;border-radius:6px;font:500 12px/1.5 var(--font);color:var(--ink-2);background:var(--bg)}
@media (hover:hover) and (pointer:fine){.tk-kbd{display:inline-flex}}

/* results and states */
.tk-out{margin-top:var(--tk-gap)}
.tk-out:empty{display:none}
.tk-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:20px;border:1px dashed var(--line-2);border-radius:12px;text-align:center;font-size:14px;line-height:1.5;color:var(--muted)}
.tk-empty svg{width:20px;height:20px}
.tk-empty p{margin:0}
.tk-empty .tk-chips{justify-content:center;margin-top:4px}
.tk-skel{display:block;border-radius:8px;background:var(--surface-2);background-image:linear-gradient(90deg,transparent 0,color-mix(in srgb,var(--bg) 55%,transparent) 50%,transparent 100%);background-size:200% 100%;background-repeat:no-repeat;animation:tk-shim 1.2s linear infinite}
.tk-skel.line{height:14px;margin:8px 0}
.tk-skel.big{height:36px;width:50%;margin:6px 0 12px}
@keyframes tk-shim{from{background-position:150% 0}to{background-position:-50% 0}}
.tk-alert{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:12px;background:var(--surface-2);color:var(--ink)}
.tk-alert > svg{flex:none;width:20px;height:20px;margin-top:1px}
.tk-alert b,.tk-alert strong{display:block;font-size:15px;font-weight:600;line-height:1.35}
.tk-alert p{margin:2px 0 0;font-size:14px;line-height:1.5;color:var(--muted)}
.tk-alert .tk-actions{margin-top:12px}
.tk-alert + .tk-res,.tk-res + .tk-alert,.tk-res + .tk-res{margin-top:8px}
.tk-res{padding:20px;border-radius:12px;background:var(--surface-2);min-width:0}
@media (max-width:640px){.tk-res{padding:16px}}
@media (prefers-reduced-motion:no-preference){.tk-res,.tk-alert,.tk-empty{animation:tk-in .18s var(--ease-out) both}}
@keyframes tk-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.tk-res-k{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 4px;font-size:13px;font-weight:500;color:var(--muted)}
.tk-big{margin:0;font-size:40px;font-weight:700;line-height:1.05;letter-spacing:-.03em;color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
@media (max-width:640px){.tk-big{font-size:32px}}
.tk-res-sub{margin:6px 0 0;font-size:15px;line-height:1.45;color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tk-rows{margin:12px 0 0;padding:0;list-style:none}
.tk-rows > li,.tk-rows > div{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;border-top:1px solid var(--line)}
.tk-rows .k{font-size:14px;color:var(--muted)}
.tk-rows .v{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink);text-align:right}
.tk-opt{display:flex;align-items:center;gap:12px;min-height:56px;padding:12px 16px;background:var(--surface);border:1px solid var(--line);border-radius:12px;min-width:0}
.tk-opt + .tk-opt{margin-top:8px}
.tk-opt-main{flex:1 1 60px;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;font-size:15px;font-weight:600;color:var(--ink)}
.tk-opt-main small{display:block;flex-basis:100%;font-size:13px;font-weight:400;color:var(--muted);overflow-wrap:anywhere}
.tk-opt-act{flex:none;display:flex;gap:6px}
@media (max-width:340px){.tk-opt{flex-wrap:wrap}}
.tk-opt-act{margin-left:auto}
.tk-badge{display:inline-flex;align-items:center;min-height:20px;padding:0 8px;border-radius:var(--r-pill);background:var(--surface-2);color:var(--ink);font-size:11px;font-weight:600;line-height:1;white-space:nowrap}
.tk-res .tk-badge,.tk-alert .tk-badge{background:var(--bg)}
.tk-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px}
.tk-actions > .btn{min-height:40px}
@media (pointer:coarse){.tk-actions > .btn{min-height:44px}}
@media (max-width:640px){.tk-actions > .btn{flex:1 1 auto}.tk-row > .btn{flex:1 1 100%}}
.tk-copy svg,.tk-actions .btn svg{width:16px;height:16px;flex:none}
.tk-copy .i-ok{display:none}
.tk-copy.ok .i-ok{display:block}
.tk-copy.ok .i-cp{display:none}
.tk-copyfb{flex:1 1 220px;min-height:36px;width:auto}
.tk-more{margin-top:12px}
.tk-more > summary{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;font-weight:500;color:var(--muted);cursor:pointer;list-style:none;-webkit-tap-highlight-color:transparent}
.tk-more > summary::-webkit-details-marker{display:none}
.tk-more > summary::after{content:"";flex:none;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s var(--ease)}
.tk-more[open] > summary::after{transform:rotate(225deg) translate(-2px,0)}
@media (hover:hover){.tk-more > summary:hover{color:var(--ink)}}
.tk-more > :not(summary){max-width:68ch;font-size:14px;line-height:1.6;color:var(--muted)}
.tk-more p{margin:0 0 8px}
.tk-gal{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:16px}
@media (max-width:640px){.tk-gal{grid-template-columns:repeat(3,minmax(0,1fr))}}
.tk-gal > button,.tk-gal > a{position:relative;display:block;aspect-ratio:1;padding:0;border:0;border-radius:10px;overflow:hidden;background:var(--bg);cursor:zoom-in}
.tk-gal > .tk-skel{position:relative;display:block;aspect-ratio:1;border-radius:10px;background-color:var(--surface)}
.tk-gal img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s var(--ease)}
@media (hover:hover){.tk-gal > button:hover img{transform:scale(1.04)}}
.tk-gal > button:focus-visible{outline-offset:2px}

.tk-res-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px}
.tk-res-top .tk-res-k{margin:0}
.tk-buy{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:14px 0 0}
/* round 10 tools pass: the matching find card (link converter, QC checker) and the shipping box-size row */
.tk-find{display:flex;align-items:center;gap:12px;margin:14px 0 0;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:inherit;text-decoration:none;min-width:0}
.tk-find[hidden],#fnd[hidden]{display:none}
.tk-find img{flex:none;width:56px;height:56px;border-radius:8px;object-fit:cover;background:var(--surface-2)}
.tk-find > span{flex:1 1 auto;min-width:0}
.tk-find-k{display:block;font-size:12px;font-weight:500;color:var(--muted)}
.tk-find .t{display:block;font-size:15px;font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tk-find .s{display:block;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
@media (hover:hover){.tk-find:hover{border-color:var(--input-line)}}
.tk-ship .tk-grid3{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tk-grid3 > .tk-field{margin-top:0}
.tk-card .tk-buy > .btn.primary{flex:1 1 calc(100% - 132px);width:auto;min-width:0}
.tk-buy > .tk-copy{flex:none;min-height:48px}
.tk-ship .tk-grid3 .tk-unitwrap .tk-in{padding-left:12px;padding-right:36px}
.tk-sub{margin:20px 0 8px;font-size:13px;font-weight:500;color:var(--muted)}
.tk-more a{color:var(--ink);word-break:break-all}
/* lightbox */
.tk-lightbox{width:min(92vw,880px);max-width:none;max-height:92vh;padding:0;border:0;border-radius:16px;background:var(--surface);color:var(--ink);box-shadow:var(--sh-lg);overflow:hidden}
.tk-lightbox::backdrop{background:rgba(0,0,0,.72)}
.tk-lb-fig{position:relative;margin:0;display:grid;place-items:center;background:#000;height:min(76vh,720px)}
.tk-lb-fig img{max-width:100%;max-height:100%;object-fit:contain;touch-action:pan-y}
.tk-lb-nav{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:var(--r-pill);background:rgba(255,255,255,.9);color:#0A0A0A;cursor:pointer;box-shadow:var(--sh-md)}
.tk-lb-nav svg{width:20px;height:20px}
.tk-lb-nav.prev{left:12px}.tk-lb-nav.next{right:12px}
.tk-lb-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 10px 16px;font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums}
.tk-lb-bar .tk-actions{margin:0}

/* recent */
.tk-recent{margin-top:32px}
.tk-recent[hidden]{display:none}
.tk-recent-h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}
.tk-recent-h h2{margin:0;font-size:15px;font-weight:600;letter-spacing:0}
.tk-recent ul{margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.tk-recent li{display:flex;align-items:center;gap:12px;min-height:56px;border-bottom:1px solid var(--line)}
.tk-recent li > a,.tk-recent li > button:first-child{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:12px;min-height:56px;padding:6px 0;border:0;background:none;color:inherit;font:inherit;text-align:left;text-decoration:none;cursor:pointer}
.tk-recent img{flex:none;width:40px;height:40px;border-radius:8px;object-fit:cover;background:var(--surface-2)}
.tk-recent .t{display:block;font-size:15px;font-weight:500;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tk-recent .s{display:block;font-size:13px;color:var(--muted)}
.tk-recent .tk-x{flex:none}

/* related tools + hub */
.tk-ic{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:var(--surface-2);color:var(--ink)}
.tk-ic svg{width:20px;height:20px}
.tk-related{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 0}
@media (max-width:640px){.tk-related{grid-template-columns:1fr}}
.tk-related a{display:flex;align-items:center;gap:12px;min-height:72px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);color:var(--ink);text-decoration:none;box-shadow:var(--sh-sm);transition:box-shadow .2s var(--ease)}
@media (hover:hover){.tk-related a:hover{box-shadow:var(--sh-md)}}
.tk-related b{display:block;font-size:15px;font-weight:600;line-height:1.3}
.tk-related b{color:var(--ink)}
.tk-related b + span{display:block;font-size:13px;line-height:1.45;color:var(--muted)}
.tk-related + p{margin:16px 0 0;font-size:15px}
.tk-hub{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin:32px 0 0}
.tk-hub > .tk-hc{grid-column:span 2}
.tk-hub > .tk-hc.wide{grid-column:span 3}
@media (max-width:1023px){.tk-hub{grid-template-columns:repeat(2,minmax(0,1fr))}.tk-hub > .tk-hc,.tk-hub > .tk-hc.wide{grid-column:span 1}.tk-hub > .tk-hc:last-child:nth-child(odd){grid-column:span 2}}
@media (max-width:639px){.tk-hub{grid-template-columns:1fr}.tk-hub > .tk-hc,.tk-hub > .tk-hc.wide,.tk-hub > .tk-hc:last-child:nth-child(odd){grid-column:auto}}
.tk-hc{position:relative;display:flex;flex-direction:column;gap:6px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--sh-sm);transition:box-shadow .2s var(--ease);min-width:0}
@media (hover:hover){.tk-hc:hover{box-shadow:var(--sh-md)}}
.tk-hc .tk-ic{width:44px;height:44px;margin-bottom:8px}
.tk-hc .tk-ic svg{width:22px;height:22px}
.tk-hc h2{margin:0;font-size:17px;font-weight:600;letter-spacing:-.01em;line-height:1.3}
.tk-hc h2 a{color:inherit;text-decoration:none}
.tk-hc h2 a::after{content:"";position:absolute;inset:0;border-radius:16px}
.tk-hc .tk-arrow{position:absolute;top:22px;right:20px;color:var(--muted);transition:transform .2s var(--ease),color .15s}
.tk-hc .tk-arrow svg{width:18px;height:18px;display:block}
@media (hover:hover){.tk-hc:hover .tk-arrow{transform:translateX(3px);color:var(--ink)}}
.tk-hc .one{margin:0;font-size:15px;line-height:1.45;color:var(--ink-2)}
.tk-hc .long{margin:0;font-size:14px;line-height:1.5;color:var(--muted)}
@media (min-width:1024px){.tk-hc .long{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}
.tk-hc form{position:relative;z-index:1;display:flex;gap:8px;margin-top:auto;padding-top:12px}
.tk-hc form .tk-in{min-height:44px;flex:1 1 auto}
.tk-hc form .btn{flex:none;min-height:44px}
@media (max-width:340px){.tk-hc form{flex-direction:column}}
.tk-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 0;padding:0;list-style:none;counter-reset:tkf}
@media (max-width:820px){.tk-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:340px){.tk-flow{grid-template-columns:1fr}}
.tk-flow li{counter-increment:tkf;min-width:0}
.tk-flow a{display:flex;flex-direction:column;gap:6px;height:100%;padding:16px;border-radius:var(--r-lg);background:var(--surface-2);color:var(--ink);text-decoration:none;transition:background-color .15s}
@media (hover:hover){.tk-flow a:hover{background:var(--line)}}
.tk-flow a::before{content:counter(tkf);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--bg);font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.tk-flow b{font-size:15px;font-weight:600;line-height:1.3}
.tk-flow span{font-size:13px;color:var(--muted)}
.tk-flow-tip{margin:12px 0 0;font-size:14px;color:var(--muted)}
.tk-flow-tip a{color:var(--ink);font-weight:500}

/* sticky summary bar (phones) */
.tk-sumbar{position:fixed;left:0;right:0;bottom:0;z-index:25;display:none;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:8px 16px calc(8px + env(safe-area-inset-bottom,0px));
  border:0;border-top:1px solid var(--line);background:var(--header-solid);color:var(--ink);font:600 15px/1.3 var(--font);font-variant-numeric:tabular-nums;text-align:left;cursor:pointer;width:100%}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.tk-sumbar{background:var(--header);-webkit-backdrop-filter:saturate(1.8) blur(12px);backdrop-filter:saturate(1.8) blur(12px)}}
@media (max-width:899px){.tk-sumbar.on{display:flex}}
@media (prefers-reduced-motion:reduce){.tk-skel{animation:none;background-image:none}.tk-spin{animation-duration:2s}}
/* end v9 tools kit */

/* ---------------------------------------------------------------- icon pass: per-component placement (29 Oct 2026) */
.hcta{gap:6px}
.facts span{gap:6px}
.pg a{gap:4px}
.vm .ic,p.more .ic{margin-left:4px}
p.more .ic:first-child{margin:0 6px 0 0}
footer.f h4{display:flex;align-items:center;gap:6px}
footer.f h4 .ic{color:var(--muted)}
/* product page */
dl.kv dt .ic{margin-right:8px;color:var(--muted)}
.opts-l .ic{margin-right:6px;color:var(--muted)}
.buy-hint span{flex:1 1 auto}
.buy-aff .ic,.buy-gone .ic{margin-right:6px}
.qc-load .btn .ic{margin-right:-2px}
.note > .ic:first-child{margin-right:8px;color:var(--ink-2)}
.prose .note.has-ic,.note.has-ic{position:relative;padding-left:60px;min-height:60px}
.note.has-ic > .ic-tile{position:absolute;left:14px;top:14px;width:32px;height:32px;background:var(--bg)}
.note.has-ic > .ic-tile .ic{width:18px;height:18px}
/* numbered steps with an icon tile; the step number sits on the tile as a badge */
.steps.ic-steps-list li{padding-left:52px;min-height:40px}
.steps.ic-steps-list li > .ic-tile{position:absolute;left:0;top:-6px;width:36px;height:36px}
.steps.ic-steps-list li > .ic-tile .ic{width:18px;height:18px}
.steps.ic-steps-list li::before{top:-10px;left:24px;z-index:1;width:16px;height:16px;font-size:10px;background:var(--fill);color:var(--fill-ink)}
/* guides: TOC, byline, eyebrow, table */
.toc .eyebrow{display:flex;align-items:center;gap:6px}
.prose .toc a{display:flex;align-items:center;gap:8px}
.prose .toc a .ic{color:var(--muted)}
@media (min-width:720px){.toc ol{columns:2;column-gap:32px}.prose .toc li{break-inside:avoid}.prose .toc li + li{border-top:0}.prose .toc li{border-bottom:1px solid var(--line)}}
.prose .byline a .ic,.eyebrow .ic{margin-right:4px}
.prose table td a .ic{margin-right:6px;color:var(--muted)}
.prose h2.h-ic{scroll-margin-top:16px}
/* guides hub: grouped cards, icon tile + title + 2-line description (full text stays in the HTML) */
h2.h-ic + .gl{margin-top:12px}
.gl a{display:flex;align-items:flex-start;gap:14px}
.gl .ic-tile{display:inline-grid;margin:0}
.gl .gl-t{display:block;min-width:0;font-size:inherit;line-height:inherit;color:inherit}
.gl .gl-d{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* tools hub: feature pills, card details above the card link, flow tiles */
.tk-hc details.more{position:relative;z-index:1;margin:0}
.tk-hc details.more > summary{font-size:14px;color:var(--muted)}
.tk-hc details.more .long{display:block;-webkit-line-clamp:none;overflow:visible}
.tk-flow a{position:relative}
.tk-flow .ic-tile{background:var(--bg);color:var(--ink)}
.tk-flow a::before{position:absolute;top:10px;left:44px;width:16px;height:16px;font-size:10px;background:var(--fill);color:var(--fill-ink)}
.tk-flow-tip .ic{margin-right:6px}
/* tool pages */
.tk-below > h2.h-ic{margin-bottom:0}
.tk-below details.more{margin:0 0 8px}
.tk-related + p a .ic{margin-right:6px}
.tk-chip .ic.sm{width:14px;height:14px}
.tk-opt-main .ic{margin-right:6px;color:var(--muted)}
.tk-fmts > summary .ic{color:var(--muted)}

/* ---------------------------------------------------------------- motion + modes */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition-duration:0s!important;scroll-behavior:auto!important}
  .buybar,.buybar.on{transform:none}
  .buybar{opacity:0}.buybar.on{opacity:1}
}
@media (prefers-contrast:more){:root{--line:var(--muted);--line-2:var(--muted)}}
@media (prefers-reduced-transparency:reduce){header.h{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none}}
@media print{header.h,.buybar,footer.f .cols{display:none!important}}

/* v9 tools (tools9) */
/* ---- tools kit, round 2 additions for tools9.js (shipping calculator, size estimator, parcel tracker).
   Builds on the tk-* kit above; only classes the kit does not have. No new colours.
   Integrated: duplicate .tk-page [hidden] dropped (kit has it), .tk-seg.wrap radii scoped to >640px so the kit phone grid keeps 14/10px,
   .tk-copyfb keeps the kit flex sizing and only adds 16px text (no iOS zoom) and a 40px height. */

/* shared bits */
.tk-card .btn svg,.tk-recent .btn svg{width:16px;height:16px;flex:none}
.tk-card .btn{white-space:nowrap}
.tk-link{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:none;color:var(--ink);font:500 14px/1.3 var(--font);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--ink) 30%,transparent);text-underline-offset:3px;cursor:pointer}
@media (hover:hover){.tk-link:hover{text-decoration-color:var(--ink)}}
.tk-link[hidden]{display:none}
.tk-foot{margin:12px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
.tk-num{font-variant-numeric:tabular-nums;letter-spacing:.01em;word-break:break-all}
.tk-copyfb{min-height:40px;font-size:16px}
.tk-badge.tk-soft{background:transparent;border:1px solid var(--line-2);color:var(--muted)}
.tk-seg > button > span{overflow:hidden;text-overflow:ellipsis}
@media (min-width:641px){.tk-seg.wrap{border-radius:16px}.tk-seg.wrap > button{min-height:64px;border-radius:12px}}
@media (max-width:480px){.tk-seg > button{padding:0 6px}}
@media (max-width:400px){.tk-seg:not(.wrap) > button{font-size:13px}.tk-scale li{font-size:12px}}
.tk-mode{margin:0 0 12px}
.tk-mode > button{min-height:44px;font-size:15px}
.tk-out[data-state="empty"] .tk-empty{min-height:120px;justify-content:center}

/* shipping calculator: inputs left, sticky result right inside one wide card */
.tk-ship{display:grid;gap:24px}
@media (min-width:900px){
  .tk-ship{grid-template-columns:minmax(0,1fr) 340px;align-items:start}
  .tk-ship-out{position:static;margin-top:0}
}
.tk-ship-in{min-width:0}
.tk-ship-out{margin-top:0}
.tk-add{margin-top:0}
.tk-chip .tk-n{font-variant-numeric:tabular-nums;font-weight:600}
.tk-chip .tk-n:empty{display:none}
.tk-chip.on{border-color:var(--ink);background:var(--surface-2)}
.tk-haul{margin-top:8px;padding-top:4px;border-top:1px solid var(--line)}
.tk-haul-h{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px}
.tk-haul-h b{font-weight:600}
.tk-haul-h span{color:var(--muted);font-variant-numeric:tabular-nums}
.tk-haul-h .btn{margin-left:auto}
.tk-haul-h[hidden],.tk-haul-e[hidden]{display:none}
.tk-haul-e{margin:12px 0 0;font-size:14px;color:var(--muted)}
.tk-haul ul{margin:0;padding:0;list-style:none}
.tk-haul li{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:6px 0;border-top:1px solid var(--line)}
.tk-haul-n{min-width:0}
.tk-haul-n span{display:block;font-size:15px;font-weight:500;line-height:1.3;color:var(--ink)}
.tk-haul-n small{display:block;font-size:13px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.tk-step button svg{width:16px;height:16px}
.tk-lines{margin-top:16px}
.tk-lines .tk-opt{flex-wrap:nowrap;gap:10px;padding:12px 14px}
.tk-lines .tk-opt-main{font-size:14px}
.tk-opt-v{flex:none;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink);text-align:right;white-space:nowrap}
.tk-bar{display:block;flex-basis:100%;height:4px;margin-top:4px;border-radius:999px;background:color-mix(in srgb,var(--ink) 6%,transparent);overflow:hidden}
.tk-bar i{display:block;height:100%;border-radius:inherit;background:color-mix(in srgb,var(--ink) 22%,transparent)}
@media (prefers-reduced-motion:no-preference){.tk-bar i{transition:width .25s var(--ease-out)}}
.tk-sumbar-go{font-size:14px;font-weight:500;color:var(--muted);white-space:nowrap}
.tk-sumbar[hidden]{display:none!important}
@media (max-width:899px){body:has(.tk-sumbar.on){padding-bottom:64px}}

/* size estimator */
.tk-grid2 > .tk-field{margin-top:0}
.tk-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tk-scale{display:flex;gap:4px;margin:16px 0 0;padding:0 0 2px;list-style:none;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tk-scale::-webkit-scrollbar{display:none}
.tk-scale li{flex:1 1 0;min-width:30px;display:grid;place-items:center;min-height:36px;padding:0 2px;border:1px solid transparent;border-radius:10px;background:var(--bg);color:var(--muted);font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.tk-scale li.is-x{border-color:var(--ink);color:var(--ink)}
.tk-scale li.is-a{background:var(--fill);border-color:var(--fill);color:var(--fill-ink)}
.tk-scale-k{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:8px 0 0;font-size:12px;color:var(--muted)}
.tk-scale-k span{display:inline-block;width:10px;height:10px;border-radius:3px}
.tk-scale-k span + span,.tk-scale-k span.is-x{margin-left:8px}
.tk-scale-k .is-a{background:var(--fill);margin-left:0}
.tk-scale-k .is-x{border:1px solid var(--ink)}
.tk-next{margin:4px 0 0}
.tk-clear{margin:4px 0 0;text-align:right}
.tk-clear:has(> [hidden]){display:none}
.tk-measure{display:flex;align-items:center;gap:16px;padding:12px 16px;border-radius:12px;background:var(--surface-2)}
.tk-measure-svg{flex:none;width:120px;height:80px;color:var(--ink)}
.tk-measure p{margin:0;font-size:14px;line-height:1.5;color:var(--muted)}
@media (max-width:400px){.tk-measure-svg{width:84px;height:56px}}
textarea.tk-paste{min-height:72px}
.tk-chart{display:grid;gap:6px}
.tk-chart-h,.tk-chart-r{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 36px;gap:6px;align-items:center}
@media (pointer:coarse){.tk-chart-h,.tk-chart-r{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 44px}}
.tk-chart-h span{font-size:13px;font-weight:500;color:var(--muted)}
#ct{display:grid;gap:6px}
.tk-chart-r .tk-in{min-height:44px;padding:0 10px}
.tk-rows .k{display:inline-flex;align-items:center;gap:8px}
.tk-chart-res .tk-rows .k{color:var(--ink);font-weight:600;font-size:15px}
.tk-chart-res .tk-rows .v{font-weight:500;color:var(--ink-2)}
.tk-label > label{cursor:pointer}
.tk-pasted{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:14px;color:var(--muted)}

/* parcel tracker */
textarea.tk-grow{display:block;min-height:var(--tk-h-lg);height:var(--tk-h-lg);resize:none;overflow:hidden;line-height:1.5;padding:15px 96px 15px 48px;text-transform:uppercase}
textarea.tk-grow:placeholder-shown{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
textarea.tk-grow::placeholder{text-transform:none}
textarea.tk-grow.has-v{padding-right:56px}
.tk-detect{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;min-height:22px;font-size:13px}
.tk-detect:empty{min-height:0}
.tk-dt-s{color:var(--muted)}
.tk-go{margin-top:12px}
.tk-ex{margin-top:12px}
.tk-out:has(.tk-trk){display:grid;gap:8px}
.tk-out .tk-trk + .tk-trk{margin-top:0}
.tk-trk-count{margin:0}
.tk-trk-h h3{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;font-size:16px;font-weight:600;line-height:1.35;letter-spacing:-.01em}
.tk-trk-n{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}
.tk-trk-n .tk-num{min-width:0;font-size:14px;color:var(--muted)}
.tk-trk-n .tk-copy{flex:none}
.tk-trk-note{margin:8px 0 0;font-size:14px;line-height:1.5;color:var(--muted)}
.tk-trk .tk-actions{margin-top:12px}
.tk-out > .tk-actions{margin-top:4px}
.tk-recent .tk-num{word-break:normal}
.tk-recent li > button:first-child > span{min-width:0;display:block}
.tk-fmts{margin-top:24px}
.tk-fmt{margin:0;padding:0;list-style:none}
.tk-fmt li{display:grid;gap:2px;padding:10px 0;border-top:1px solid var(--line)}
.tk-fmt b{font-size:14px;font-weight:600;color:var(--ink)}
.tk-fmt span{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.tk-fmt code{font-family:var(--mono);font-size:12px;padding:1px 6px;border-radius:6px;background:var(--surface-2);color:var(--ink)}
.tk-page.wide > .tk-below{max-width:var(--tk-w);margin-left:auto;margin-right:auto}
/* end v9 tools (tools9) */

/* ================================================================================================================
   v9 round 4 (29 Oct 2026): a header that never moves, one motion vocabulary, brand and category pages 2+.
   The header numbers are the app's (index.html "v9 round 4" block): change both together. See DESIGN.md "Round 4".
   ================================================================================================================ */
:root{--ease-in-out:cubic-bezier(.65,0,.35,1);--dur-1:120ms;--dur-2:200ms;--dur-3:320ms}

/* ---- page transitions: cross-document, the header is one still layer, the active pill glides ---- */
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  header.h{view-transition-name:site-header}
  #pc-nav > a[href="/"]{view-transition-name:nl-finds}
  #pc-nav > a[href="/feed"]{view-transition-name:nl-swipe}
  #pc-nav > a[href="/brands"]{view-transition-name:nl-brands}
  #pc-nav > .tools-nav{view-transition-name:nl-tools}
  #pc-nav > a[href="/guides"]{view-transition-name:nl-guides}
  #pc-nav > a[href="/how-to-order"]{view-transition-name:nl-how}
  #pc-nav > .nl-pill{view-transition-name:nav-pill}
}
::view-transition-old(root),::view-transition-new(root){animation-duration:var(--dur-2)}
::view-transition-group(site-header){animation-duration:220ms;animation-timing-function:var(--ease-in-out)}
::view-transition-group(nav-pill){animation-duration:260ms;animation-timing-function:var(--ease-in-out)}
::view-transition-group(nl-finds),::view-transition-group(nl-swipe),::view-transition-group(nl-brands),::view-transition-group(nl-tools),::view-transition-group(nl-guides),::view-transition-group(nl-how){animation-duration:220ms;animation-timing-function:var(--ease-in-out)}

/* ---- header: 56px row + 1px hairline, logo 104x28, 24px to the nav, 36px pill items, weight 500 in every state ---- */
header.h{font-feature-settings:normal}
header.h .w{gap:0}
header.h .w > a:first-child{margin-right:24px}
header.h nav{position:relative;flex:0 0 auto;gap:4px}
header.h .hr{padding-left:8px}
header.h nav > a,header.h .tools-nav > a{position:relative;z-index:1;height:36px;min-height:36px;padding:0 12px;border-radius:var(--r-pill);font:500 14px/1 var(--font);letter-spacing:0;color:var(--muted);
  -webkit-tap-highlight-color:transparent;transition:color var(--dur-1) ease,background-color var(--dur-1) ease,transform var(--dur-1) var(--ease-out)}
header.h nav > a[aria-current="page"],header.h .tools-nav > a[aria-current="page"]{color:var(--ink);font-weight:500}
header.h .tools-nav{position:relative;z-index:1;display:flex;align-items:center;padding-right:4px;border-radius:var(--r-pill);transition:background-color var(--dur-1) ease}
header.h .tools-nav > a{display:inline-flex;align-items:center;text-decoration:none;white-space:nowrap}
header.h .tools-btn{display:inline-grid;place-items:center;width:24px;height:36px;margin-left:-8px;padding:0;border:0;border-radius:var(--r-pill);background:transparent;color:var(--muted);cursor:pointer;-webkit-tap-highlight-color:transparent}
header.h .tools-btn svg{width:14px;height:14px;transition:transform var(--dur-2) var(--ease-out)}
header.h .tools-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
@media (hover:hover){
  header.h nav > a:hover{color:var(--ink)}
  header.h .tools-nav > a:hover{background:transparent}
  header.h .tools-nav:hover > a,header.h .tools-nav:hover .tools-btn{color:var(--ink)}
}
header.h .tools-nav:has(.tools-btn[aria-expanded="true"]){background:var(--hover)}
header.h .tools-nav:has(.tools-btn[aria-expanded="true"]) > a,header.h .tools-btn[aria-expanded="true"]{color:var(--ink)}
header.h nav > a:active,header.h .tools-nav > a:active{transform:scale(.96)}
/* the tools menu (the app's #tools-menu, minus the app-only items) */
header.h .tools-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:40;min-width:220px;padding:4px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-lg);transform-origin:top left}
header.h .tools-menu[hidden]{display:none}
header.h .tools-menu a{display:flex;align-items:center;min-height:36px;padding:8px 10px;border-radius:var(--r-sm);font-size:14px;font-weight:400;line-height:1.3;color:var(--ink);text-decoration:none}
@media (hover:hover){header.h .tools-menu a:hover{background:var(--hover)}}
@media (pointer:coarse){header.h .tools-menu a{min-height:44px}}
/* the active pill: one element under the links, anchored to the current item; without anchor positioning the current
   item gets the same background itself (nothing glides, nothing moves) */
.nl-pill{display:none;position:absolute;z-index:0;border-radius:var(--r-pill);background:var(--hover);pointer-events:none}
@supports (anchor-name:--a){
  #pc-nav > a[aria-current="page"],#pc-nav > .tools-nav:has(> a[aria-current="page"]){anchor-name:--nav-on}
  #pc-nav:has(> a[aria-current="page"],> .tools-nav > a[aria-current="page"]) > .nl-pill{display:block;position-anchor:--nav-on;top:anchor(top);bottom:anchor(bottom);left:anchor(left);right:anchor(right)}
}
@supports not (anchor-name:--a){
  #pc-nav > a[aria-current="page"],#pc-nav > .tools-nav:has(> a[aria-current="page"]){background:var(--hover)}
}
/* the header search shell (index.html #pcs-hd has the same numbers) */
header.h .pcs-hd{display:flex;align-items:center;margin-left:16px;flex:0 1 240px;min-width:0}
.pcs-hf{display:none}
.pcs-hb{display:inline-grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:var(--r-pill);background:transparent;color:var(--muted);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color var(--dur-1) ease,color var(--dur-1) ease,transform var(--dur-1) var(--ease-out)}
.pcs-hb svg{width:18px;height:18px}
@media (hover:hover){.pcs-hb:hover{background:var(--hover);color:var(--ink)}}
.pcs-hb:active{transform:scale(.96)}
@media (min-width:1280px){
  .pcs-hf{display:flex;align-items:center;gap:8px;width:100%;height:36px;min-width:180px;padding:0 8px 0 12px;border-radius:var(--r-pill);background:var(--surface-2);border:1px solid transparent;color:var(--muted);transition:background-color var(--dur-1) ease,border-color var(--dur-1) ease}
  .pcs-hf:focus-within{border-color:var(--line-2);background:var(--surface)}
  .pcs-hf:has(.pcs-hi:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
  .pcs-hb{display:none}
}
.pcs-hf svg{flex:none;width:16px;height:16px}
.pcs-hi{flex:1;min-width:0;height:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font:400 14px/1 var(--font);color:var(--ink);-webkit-appearance:none;appearance:none}
.pcs-hi:focus,.pcs-hi:focus-visible{outline:0;box-shadow:none}
.pcs-hi::placeholder{color:var(--muted);opacity:1}
.pcs-hi::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.pcs-kbd{flex:none;min-width:44px;text-align:center;box-sizing:border-box;font:600 11px/18px var(--font);padding:0 6px;border:1px solid var(--line);border-radius:6px;color:var(--muted);background:transparent}
@media (pointer:coarse){.pcs-kbd{display:none}}
/* (the round 4 phone dropdown for 820px and below was here; the "header parity" block at the end replaces it) */
@media (max-width:560px){.pcs-hb{width:44px;height:44px}}
@media print{.pcs-hd{display:none!important}}

/* ---- press and hover: transform and opacity only, 120ms; hover only where hover exists ---- */
.btn,.chips a,.ibtn,.hcta,.pg a,.tool button,.tool .go,.tk-related a,.tk-hc,.gl a,.c{-webkit-tap-highlight-color:transparent}
.btn,.chips a,.ibtn,.hcta,.pg a{transition:background-color var(--dur-1) ease,color var(--dur-1) ease,border-color var(--dur-1) ease,opacity var(--dur-1) ease,transform var(--dur-1) var(--ease-out)}
.btn:active,.chips a:active,.ibtn:active,.hcta:active,.pg a:active,.tool button:active,.tool .go:active{transform:scale(.96)}
.c,.tk-related a,.tk-hc,.gl a{transition:box-shadow .2s var(--ease),transform var(--dur-1) var(--ease-out)}
.c:active,.tk-related a:active,.tk-hc:active,.gl a:active{transform:scale(.98)}
.c:has(.ca a:active){transform:none}
/* menus and the phone nav open with a short fade and lift (no layout animation); they close at once */
@media (prefers-reduced-motion:no-preference){
  header.h .tools-menu,:root.js header.h.open nav{transition:opacity var(--dur-2) var(--ease-out),transform var(--dur-2) var(--ease-out)}
  @starting-style{header.h .tools-menu,:root.js header.h.open nav{opacity:0;transform:translateY(-4px) scale(.98)}}
}
:root.js header.h nav{transform-origin:top right}

/* ---- images: fixed wells, fade in once loaded (html.js-fade comes from THEME_HEAD; without JS they just show) ---- */
.ci img{transition:opacity var(--dur-2) var(--ease-out),transform .3s var(--ease)}
html.js-fade .ci img:not(.is-in){opacity:0}

/* ---- brand and category pages 2+ (pages.js hub(), .hub-p2): the app hub's compact head, the same card grid ---- */
.hub-p2 .bc{margin-bottom:12px}
.hub-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 4px}
.hub-top h1{margin:0;font-size:30px;line-height:1.2}
.hub-full{flex:none}
.hub-full .ic{width:16px;height:16px}
.hub-p2 .facts,.hub-p2 .chips{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.hub-p2 .facts::-webkit-scrollbar,.hub-p2 .chips::-webkit-scrollbar{display:none}
.hub-p2 .facts{gap:16px;margin:12px 0 4px}
.hub-p2 .facts span{flex:none;min-height:24px;padding:0;background:transparent;color:var(--muted);font-weight:400;white-space:nowrap}
.hub-p2 .facts .ic{color:var(--muted)}
.hub-p2 .chips{margin:10px 0 0}
.hub-p2 .chips a{flex:none;white-space:nowrap}
/* the same columns as the app's #grid on page 1 (auto-fill 180px, 16px gap): this page's content is 20px narrower (32px
   gutters against the app's 22px), so 176px gives the same column count (5 at 1024, 6 at 1280 and up); 2 at 560px and below */
.hub-p2 .g{grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:16px;margin-top:20px}
@media (max-width:560px){.hub-p2 .g{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.hub-p2 .ci{border-radius:var(--r-md);background:var(--well)}
.hub-p2 .ct{font-size:14px;font-weight:500}
.hub-p2 .cp{font-size:14px;font-weight:600}
.hub-p2 .pg{justify-content:center}
@media (max-width:640px){
  .hub-top{flex-direction:column;align-items:stretch;gap:12px}
  .hub-top h1{font-size:24px}
  .hub-full{width:100%;min-height:44px}
  .hub-p2 .facts,.hub-p2 .chips{margin-inline:-16px;padding-inline:16px;scroll-padding-inline:16px}
  .hub-p2 .pg a,.hub-p2 .pg span{min-width:44px;height:44px}
}

/* ---- reduced motion: no view transitions (the media query above), no transforms, no fades ---- */
@media (prefers-reduced-motion:reduce){
  .btn:active,.chips a:active,.ibtn:active,.hcta:active,.pg a:active,.tool button:active,.tool .go:active,.c:active,.tk-related a:active,.tk-hc:active,.gl a:active,
  header.h nav > a:active,header.h .tools-nav > a:active,.pcs-hb:active{transform:none}
  header.h .tools-btn svg,.ci img,.nl-pill{transition:none}
  html.js-fade .ci img:not(.is-in){opacity:1}
}
@media (max-width:560px){header.h .logo{width:96px;height:26px}}

/* ==== r6 GROUP B begin: chrome (header not sticky, no photo wells, disclosures, affiliate label). Only GROUP B edits this block. ==== */
/* item 11: no grey well behind product photos (cards, hub cards, product photo, thumbnails). Boxes keep their size. */
.ci,.hub-p2 .ci,.pimg,.thumbs > a,.thumbs > button{background:transparent;border:0;box-shadow:none}
.ci img,.pimg img,.thumbs img{object-fit:contain;padding:0;mix-blend-mode:multiply}
.thumbs{margin:10px -2px -2px;padding:4px}
.thumbs > .on,.thumbs > a:hover,.thumbs > button:hover{box-shadow:none}
.thumbs > .on{outline:2px solid var(--ink);outline-offset:2px}
:root[data-theme="dark"] :is(.ci,.pimg,.thumbs) img{mix-blend-mode:normal;border-radius:12px}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) :is(.ci,.pimg,.thumbs) img{mix-blend-mode:normal;border-radius:12px}}
:root[data-theme="dark"] .thumbs img{border-radius:var(--r-md)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .thumbs img{border-radius:var(--r-md)}}
/* item 14: one disclosure component. Native <details>/<summary> (keyboard, screen readers, content in the DOM). Summary = a full-width
   44px row, 15px/500 label, 12px gap, 16px chevron that turns 180deg; list rows (FAQ) get a hover pill, inline ones an underline.
   Height: ::details-content + interpolate-size where supported (scoped to these details, not :root, so no other auto-size
   transition on the site starts animating), else the small WAAPI fallback in the page script. Reduced motion: instant. */
:root :is(details.more,details.tk-more,.faq details,details.faq-d)>summary{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:44px;margin:0;padding:0;cursor:pointer;list-style:none;font-size:15px;font-weight:500;line-height:1.35;color:var(--ink);text-align:left;border-radius:8px;-webkit-tap-highlight-color:transparent;transition:color 120ms ease,background-color 120ms ease}
:root :is(details.more,details.tk-more,.faq details,details.faq-d)>summary::-webkit-details-marker{display:none}
:root :is(details.more,details.tk-more,.faq details,details.faq-d)>summary::marker{content:""}
:root :is(details.more,details.tk-more,.faq details,details.faq-d)>summary h3{flex:0 1 auto;margin:0;font:inherit;letter-spacing:inherit;color:inherit}
:root :is(.faq details,details.faq-d)>summary{padding:0 8px}
:root :is(details.faq-d)>summary{font-weight:600}
:root details.more>summary>.ic,:root details.faq-d>summary>.ic{flex:none;width:16px;height:16px;margin:0;color:var(--muted);transform:none;transition:transform 220ms var(--ease-out),color 120ms ease}
:root details.tk-more>summary::after,:root .faq details>summary::after{content:"";flex:none;display:block;width:16px;height:16px;margin:0;padding:0;border:0;font-size:0;line-height:0;background:var(--muted);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/16px 16px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/16px 16px no-repeat;transform:none;transition:transform 220ms var(--ease-out),background-color 120ms ease}
:root details.more[open]>summary>.ic,:root details.faq-d[open]>summary>.ic,:root details.tk-more[open]>summary::after,:root .faq details[open]>summary::after{transform:rotate(180deg)}
:root details.faq-d>summary>.ic,:root .faq details>summary::after{margin-left:auto}
@media (hover:hover){
  :root :is(details.more,details.tk-more,.faq details,details.faq-d)>summary:hover{color:var(--ink)}
  :root details.more>summary:hover>.ic,:root details.faq-d>summary:hover>.ic{color:var(--ink)}
  :root details.tk-more>summary:hover::after,:root .faq details>summary:hover::after{background:var(--ink)}
  :root :is(.faq details,details.faq-d)>summary:hover{background:var(--surface-2)}
  :root :is(details.more,details.tk-more)>summary:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
}
:root :is(details.more,details.tk-more,.faq details,details.faq-d)>summary:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
:root :is(details.more,details.tk-more,.faq details,details.faq-d)>:not(summary){max-width:68ch;margin-left:0;margin-right:0;line-height:1.55;color:var(--ink-2)}
:root :is(details.more,details.tk-more,.faq details,details.faq-d)>summary+*{margin-top:0;padding-top:8px}
:root :is(details.more,details.tk-more,.faq details,details.faq-d)>:last-child:not(summary){margin-bottom:0;padding-bottom:16px}
:root :is(.faq details,details.faq-d)>:not(summary){padding-left:8px;padding-right:8px}
@keyframes pcr6-din{from{opacity:0}}
@media (prefers-reduced-motion:no-preference){
  :root :is(details.more,details.tk-more,.faq details,details.faq-d)[open]>:not(summary){animation:pcr6-din 220ms var(--ease-out) both}
  @supports selector(::details-content){
    :root :is(details.more,details.tk-more,.faq details,details.faq-d){interpolate-size:allow-keywords}
    :root :is(details.more,details.tk-more,.faq details,details.faq-d)::details-content{block-size:0;overflow:clip;transition:block-size 240ms var(--ease-out),content-visibility 240ms allow-discrete}
    :root :is(details.more,details.tk-more,.faq details,details.faq-d)[open]::details-content{block-size:auto}
  }
}
@media (prefers-reduced-motion:reduce){:root details.more>summary>.ic,:root details.faq-d>summary>.ic,:root details.tk-more>summary::after,:root .faq details>summary::after{transition:none}}
/* item 17: the affiliate note is a quiet label under the buy button; the full sentence sits in a popover (hover / focus on
   desktop, tap on touch) and stays in the DOM. The footer keeps the full sentence on every page. */
.aff-lb{position:relative;display:block;width:max-content;max-width:100%;margin:8px 0 0}
.aff-btn{display:inline-flex;align-items:center;gap:6px;min-height:24px;margin:0;padding:0;border:0;border-radius:6px;background:none;font-family:inherit;font-size:12px;font-weight:500;line-height:1.2;letter-spacing:normal;text-transform:none;color:var(--muted);cursor:help;-webkit-tap-highlight-color:transparent}
.aff-btn .ic,.aff-btn svg{flex:none;width:12px;height:12px;margin:0}
@media (pointer:coarse){.aff-btn{min-height:44px;margin:-10px 0}}
@media (hover:hover){.aff-btn:hover,.aff-lb.open .aff-btn{color:var(--ink)}}
.aff-btn:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
.aff-pop{position:absolute;left:0;top:calc(100% + 6px);z-index:30;box-sizing:border-box;width:max-content;max-width:min(280px,calc(100vw - 32px));padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:var(--sh-md);font-family:inherit;font-size:13px;font-weight:400;line-height:1.45;letter-spacing:normal;text-transform:none;text-align:left;white-space:normal;color:var(--ink-2);visibility:hidden;opacity:0;transform:translateY(4px);pointer-events:none;transition:opacity 160ms var(--ease-out),transform 160ms var(--ease-out),visibility 0s linear 160ms}
.aff-pop::before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px}
.aff-lb.up .aff-pop{top:auto;bottom:calc(100% + 6px);transform:translateY(-4px)}
.aff-lb.up .aff-pop::before{top:auto;bottom:-8px}
.aff-lb.open .aff-pop{visibility:visible;opacity:1;transform:none;pointer-events:auto;transition:opacity 160ms var(--ease-out),transform 160ms var(--ease-out),visibility 0s}
.aff-pop a{color:inherit;text-decoration:underline;text-underline-offset:2px}
@media (prefers-reduced-motion:reduce){.aff-pop,.aff-lb.open .aff-pop{transition:none}}
:root:not(.js) .aff-lb:is(:hover,:focus-within) .aff-pop{visibility:visible;opacity:1;transform:none;pointer-events:auto;transition:none}
.aff-lb.aff-c{margin-left:auto;margin-right:auto}
.aff-lb.aff-c .aff-pop{left:50%;translate:-50% 0}
/* ==== r6 GROUP B end ==== */
/* ==== r6 GROUP C begin: header search shell on server pages. Only GROUP C edits this block. ==== */
/* item 10: the search panel (pcs.css, loaded on first use) hangs from the header field; the phone button shows a
   spinner while pcs.js loads (SEARCH_BOOT_JS adds .is-busy after 200 ms) */
header.h .pcs-hd{position:relative}
.pcs-hb.is-busy{position:relative;pointer-events:none}
.pcs-hb.is-busy svg{opacity:0}
.pcs-hb.is-busy::after{content:"";position:absolute;top:50%;left:50%;width:16px;height:16px;margin:-8px 0 0 -8px;box-sizing:border-box;border:2px solid var(--line-2);border-top-color:var(--ink);border-radius:50%;animation:pcs-spin .7s linear infinite}
@keyframes pcs-spin{to{transform:rotate(360deg)}}
/* item 22: "Detected: Weidian" under the paste field, with Change revealing the marketplace switch */
.tk-det{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-top:12px;min-height:28px}
.tk-det[hidden]{display:none}
.tk-det-c{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 10px;border-radius:var(--r-pill);background:var(--surface-2);color:var(--ink);font:500 12px/1 var(--font)}
.tk-det-c svg{width:12px;height:12px;flex:none}
.tk-det-x{display:inline-flex;align-items:center;min-height:44px;margin:-8px 0;padding:0 4px;border:0;background:none;color:var(--muted);font:500 13px/1 var(--font);text-decoration:underline;text-underline-offset:3px;cursor:pointer;border-radius:var(--r-sm)}
@media (hover:hover){.tk-det-x:hover{color:var(--ink)}}
.tk-det-h{margin:0;font-size:13px;line-height:1.45;color:var(--muted)}
.tk-det-h[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.pcs-hb.is-busy::after{animation:none}}
/* ==== r6 GROUP C end ==== */
/* ==== r6 GROUP A begin: grids one column fewer, muted numbers in Inter. Only GROUP A edits this block (it is last on purpose). ==== */
/* item 19: bigger cards, one column fewer (5 -> 4 from 1200px, wider minimum below, 2 on phones); markup unchanged */
@media (min-width:1200px){.g{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:641px) and (max-width:1199px){.g{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}
@media (max-width:640px){.g{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hub-p2 .g{grid-template-columns:repeat(auto-fill,minmax(232px,1fr))}
@media (min-width:1200px){.hub-p2 .g{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:640px){.hub-p2 .g{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
/* item 20: grey numbers and small secondary text in the same Inter as the black text: 500, tabular, no tracking, no caps */
.prose code,.tk-fmt code{font-family:var(--font,inherit);font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:0}
.facts span,.cp small,.tk-recent .s,.tk-num,.pg a,.pg span{font-variant-numeric:tabular-nums;letter-spacing:0}
.cp small,.tk-recent .s{font-weight:500}
/* ==== r6 GROUP A end ==== */

/* ---------------------------------------------------------------- round 8 (30 Oct 2026, NEXT.md 27 + 28)
   .pstats: the stat row under a product title (rep-find "cart 61 · camera 10 · bag 250g"): muted icon + number, no fill;
   the full sentence is in title / aria-label. .cbadge: the colour-count pill over a card photo (2+ real colours only),
   a solid dark translucent fill (no blur on a scrolling grid, see Glass), white text in both themes. */
:root{--badge-bg:rgba(10,10,10,.62);--badge-ink:#FFFFFF;--badge-line:rgba(255,255,255,0)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--badge-bg:rgba(38,38,38,.88);--badge-line:rgba(255,255,255,.14)}}
:root[data-theme="dark"]{--badge-bg:rgba(38,38,38,.88);--badge-line:rgba(255,255,255,.14)}
.pstats{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin:0 0 12px;color:var(--muted);font:500 15px/20px var(--font);font-variant-numeric:tabular-nums}
.pst{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.pst .ic{width:18px;height:18px;flex:none}
.cbadge{position:absolute;top:8px;right:8px;z-index:2;display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px 0 6px;border-radius:var(--r-pill);
  background:var(--badge-bg);box-shadow:inset 0 0 0 1px var(--badge-line);color:var(--badge-ink);font:500 12px/1 var(--font);font-variant-numeric:tabular-nums;pointer-events:none;user-select:none}
.cbadge .ic{width:14px;height:14px;flex:none}

/* ---------------------------------------------------------------- round 9 (31 Oct 2026): compact tools on phones (the 340px one-column fallback for .tk-grid2 follows below)
   /tools hub cards and the tool pages take far less height at 560px and below. CSS only, phones only: every word stays in
   the DOM and visible (chip rows scroll sideways instead of wrapping), tap targets stay 44px, desktop is untouched. */
@media (max-width:560px){
  /* hero: icon tile next to the title instead of above it */
  .tk-hero{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;align-items:center;margin:4px 0 16px}
  .tk-hero > *{grid-column:1/-1}
  .tk-hero > .tk-hero-ic{grid-column:1;grid-row:1;width:40px;height:40px;margin:0;border-radius:12px}
  .tk-hero > .tk-hero-ic + h1{grid-column:2;grid-row:1}
  .tk-hero-ic svg{width:20px;height:20px}
  .tk-hero h1{margin:0;font-size:24px;line-height:1.2}
  .tk-hero h1 .tk-name{font-size:13px;line-height:1.4}
  .tk-hero .lead{margin:8px 0 8px;font-size:15px;line-height:1.5}
  .tk-page.hub .tk-hero .lead{margin-top:0}
  /* hub cards: icon beside name and one-liner, chips + Details on one row, form below */
  .tk-hub{gap:10px;margin-top:16px}
  .tk-hc{display:grid;grid-template-columns:36px minmax(0,1fr) auto;column-gap:12px;row-gap:2px;align-items:center;padding:14px}
  .tk-hc > *{grid-column:1/-1}
  .tk-hc > .tk-ic{grid-column:1;grid-row:1/span 2;align-self:start;width:36px;height:36px;margin:2px 0 0;border-radius:10px}
  .tk-hc .tk-ic svg{width:18px;height:18px}
  .tk-hc > h2{grid-column:2/-1;grid-row:1;padding-right:24px;font-size:16px}
  .tk-hc > .one{grid-column:2/-1;grid-row:2;font-size:14px;line-height:1.4}
  .tk-hc .tk-arrow{top:16px;right:14px}
  .tk-hc > .ic-row.tight{grid-column:1/3;position:relative;z-index:1;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:8px 0 0;padding:0}
  .tk-hc > .ic-row.tight::-webkit-scrollbar{display:none}
  .tk-hc > .ic-row.tight,.tk-empty .tk-chips{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 24px),transparent);padding-right:16px}
  .tk-hub ~ h2{margin-top:28px}
  .tk-hc > .ic-row.tight li{flex:none;white-space:nowrap}
  .tk-hc > details.more{grid-column:3;margin-top:8px}
  .tk-hc > details.more[open]{grid-column:1/-1;margin-top:0}
  .tk-hc > details.more > summary{gap:6px;padding-left:4px}
  .tk-hc form{padding-top:6px}
  .tk-hc form .tk-in{flex:1 1 0}
  .tk-flow{gap:8px;margin-top:10px}
  .tk-flow a{flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:10px;row-gap:2px;padding:10px 12px}
  .tk-flow a .ic-tile{width:32px;height:32px}
  .tk-flow a .ic-tile .ic{width:16px;height:16px}
  .tk-flow a::before{top:4px;left:34px}
  .tk-flow b{flex:1 1 0;min-width:0;font-size:14px}
  .tk-flow a > span:not(.ic-tile){flex-basis:100%}
  /* tool cards */
  .tk-page{--tk-gap:12px}
  .tk-card{padding:14px}
  .tk-empty{padding:10px 12px;gap:6px}
  .tk-out[data-state="empty"] .tk-empty{min-height:88px}
  .tk-empty .tk-chips{flex-wrap:nowrap;justify-content:flex-start;max-width:100%;overflow-x:auto;scrollbar-width:none}
  .tk-empty .tk-chips::-webkit-scrollbar{display:none}
  .tk-empty .tk-chips > *{flex:none}
  .tk-chips{gap:6px;margin-top:8px}
  .tk-row{gap:6px 12px}
  .tk-seg.wrap > button{min-height:52px}
  .tk-grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tk-grid2 .tk-unitwrap .tk-in{padding-left:12px;padding-right:30px}
  .tk-grid2 .tk-unit{right:10px}
  .tk-res{padding:14px}
  /* below the tool: steps in one row of three, compact related tools */
  .tk-below{margin-top:28px}
  .tk-below > h2{margin-top:24px}
  .tk-below .ic-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}
  .tk-below .ic-steps li{flex-direction:column;justify-content:flex-start;gap:6px;padding:10px 4px;text-align:center;font-size:13px;line-height:1.3}
  .tk-below .ic-steps li .ic-tile{width:32px;height:32px}
  .tk-below .ic-steps li .ic-tile .ic{width:16px;height:16px}
  .tk-below .ic-steps li::after{top:4px;left:calc(50% + 8px)}
  .tk-related{gap:8px;margin-top:10px}
  .tk-related a{min-height:56px;padding:10px 12px;gap:10px}
  .tk-related .tk-ic{width:36px;height:36px;border-radius:10px}
  .tk-related b + span{line-height:1.35}
}
@media (max-width:340px){.tk-grid2{grid-template-columns:1fr}}

/* ================================================================================================================
   Header parity (5 Nov 2026, owner: "the menu doesn't stay the same"). The server header is the app's header
   (index.html .masthead) at every width, so going from the homepage to a server page and back moves nothing:
   logo, Finds, Swipe, Brands, Tools (+ chevron), Guides, How to Order, search, MyCNBox pill, Sign in, globe.
   The numbers are measured against the app; index.html carries the matching "header parity" rules. DESIGN.md "Header".
   ================================================================================================================ */
/* hover only darkens the text: the grey pill means "this page" and nothing else (a hovered Finds next to the
   current Brands looked like two selected items) */
@media (hover:hover){header.h .tools-nav:hover:not(:has(.tools-btn[aria-expanded="true"])){background:transparent}}
header.h .tools-btn .tb-l{display:none}
header.h .tools-menu .nl-mob{display:none}
header.h .tools-menu .tools-sep{height:1px;margin:4px 6px;background:var(--line)}
header.h .tools-menu a{min-height:0;line-height:21px}
@media (pointer:coarse){header.h .tools-menu a{min-height:44px}}

/* right side: the app's .mast-tools (4px apart, 8px from the search) */
header.h .hr{gap:4px;padding-left:8px}
header.h .hcta{height:36px;min-height:36px;padding:0 14px;border:1px solid var(--line-2);border-radius:var(--r-pill);background:transparent;
  font:500 13px/13px var(--font);color:var(--ink);text-decoration:none;white-space:nowrap;justify-content:center}
@media (hover:hover){header.h .hcta:hover{background:var(--hover);color:var(--ink)}}
header.h .hauth{display:inline-flex;align-items:center;flex:none;height:36px;padding:0 16px;border-radius:var(--r-pill);background:var(--fill);color:var(--fill-ink);
  font:600 13px/1 var(--font);text-decoration:none;white-space:nowrap;-webkit-tap-highlight-color:transparent;
  transition:opacity var(--dur-1) ease,transform var(--dur-1) var(--ease-out)}
header.h .hauth[data-in="1"]{display:block;max-width:170px;line-height:36px;overflow:hidden;text-overflow:ellipsis}
@media (hover:hover){header.h .hauth:hover{opacity:.85}}
header.h .hauth:active{transform:scale(.96)}
header.h .hset{flex:none;width:36px;height:36px}
header.h .hset[aria-expanded="true"]{background:var(--hover);color:var(--ink)}
@media (pointer:coarse){header.h .hset{width:44px;height:44px}}
/* the globe popover: the theme choice (the app's Light / Dark / System segment) and a link to the app's pickers */
header.h .hprefs{position:absolute;top:calc(100% + 1px);right:max(16px,env(safe-area-inset-right));z-index:60;display:flex;flex-direction:column;align-items:stretch;gap:6px;
  width:max-content;max-width:calc(100vw - 32px);padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--sh-lg);transform-origin:top right}
header.h .hprefs[hidden]{display:none}
header.h .hseg{display:flex;padding:3px;gap:2px;border-radius:10px;background:var(--surface-2)}
header.h .hseg button{flex:1;height:32px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--muted);font:500 13px/1 var(--font);cursor:pointer;-webkit-tap-highlight-color:transparent}
header.h .hseg button[aria-pressed="true"]{background:var(--surface);color:var(--ink);box-shadow:var(--sh-sm)}
header.h .hprefs-l{display:flex;align-items:center;min-height:36px;padding:0 10px;border-radius:8px;font:500 13px/1.2 var(--font);color:var(--ink);text-decoration:none}
@media (hover:hover){header.h .hseg button:hover{color:var(--ink)}header.h .hprefs-l:hover{background:var(--hover)}}
@media (pointer:coarse){header.h .hseg button{height:44px}header.h .hprefs-l{min-height:44px}}
@media (prefers-reduced-motion:no-preference){
  header.h .hprefs{transition:opacity var(--dur-2) var(--ease-out),transform var(--dur-2) var(--ease-out)}
  @starting-style{header.h .hprefs{opacity:0;transform:translateY(-4px) scale(.98)}}
}

/* under 1100px the links fold into the Tools menu (its .nl-mob rows) and the chevron button shows its "Tools" label;
   no pill. Without JS the links stay visible (the scrolling row above). */
@media (max-width:1099px){
  :root.js header.h nav > a,:root.js header.h .tools-nav > a{display:none}
  :root.js header.h .tools-nav{padding-right:0}
  :root.js header.h .tools-btn{display:inline-flex;align-items:center;gap:4px;width:auto;margin-left:0;padding:0 12px;font:500 14px/1 var(--font);color:var(--muted)}
  :root.js header.h .tools-btn .tb-l{display:inline}
  :root.js header.h .tools-menu .nl-mob{display:flex}
  :root.js header.h .tools-menu .tools-sep.nl-mob{display:block}
  .nl-pill{display:none!important}
}
@media (max-width:1099px) and (hover:hover){:root.js header.h .tools-nav:hover .tools-btn{color:var(--ink)}}
/* the search button sits at the end of its flexible box below 1024px (the app's #pcs-hd) */
@media (max-width:1023px){header.h .pcs-hd{flex:1 1 auto;justify-content:flex-end}}
/* 561 to 899px: the MyCNBox pill goes last */
@media (min-width:561px) and (max-width:899px){header.h .hr{flex-wrap:wrap;justify-content:flex-end;row-gap:8px}header.h .hcta{order:9}}
/* 561 to 719px: the MyCNBox pill takes its own full-width row under the 56px row */
@media (min-width:561px) and (max-width:719px){
  header.h .w{height:auto;flex-wrap:wrap;justify-content:flex-start;padding-top:6px;padding-bottom:10px;row-gap:6px}
  header.h .hr{display:contents}
  header.h .pcs-hd{flex:0 0 auto;justify-content:flex-start}
  header.h .hauth{margin-left:auto}
  header.h .hset{margin-left:4px}
  header.h .hcta{order:10;flex:0 0 100%;width:100%;display:flex;align-items:center;justify-content:center}
}
/* phones: logo, search, Tools and Sign in on the first row (44px targets), the globe under them, the MyCNBox pill last */
@media (max-width:560px){
  header.h .w{height:auto;flex-wrap:wrap;padding-top:6px;padding-bottom:0;column-gap:0;row-gap:8px}
  header.h .w > a:first-child{margin-right:auto}
  header.h nav{order:2}
  header.h .pcs-hd{order:1;flex:0 0 auto}
  header.h .hr{display:contents}
  :root.js header.h .tools-btn{height:44px;padding:0 10px;color:var(--ink)}
  header.h .hauth{order:3;height:44px;padding:0 14px}
  header.h .hauth[data-in="1"]{line-height:44px;max-width:130px}
  header.h .hset{order:4;width:44px;height:44px}
  header.h .hcta{order:10;flex:0 0 100%;width:100%;height:44px;display:flex;align-items:center;justify-content:center}
  header.h .hprefs{left:16px;right:16px;width:auto;max-width:none}
  header.h .tools-menu{left:auto;right:0;transform-origin:top right}   /* opens leftwards: from the Tools button it ran off a 375px screen */
  header.h .hseg button{height:44px}
}

/* 12 Nov 2026: no multiply blend on product photos in dark mode (iPhone Safari can paint a white box behind blended cut-outs) */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) :is(.ci img,.pimg img,.thumbs img){mix-blend-mode:normal}}
:root[data-theme="dark"] :is(.ci img,.pimg img,.thumbs img){mix-blend-mode:normal}
