/* The site's one small stylesheet, no build step. Light theme only (owner decision 2026-10-31).
   Its own look (owner 2026-11-09, "do all these changes" on the 6 Nov design review): the peacock logo's paper, ink
   and teal; Fraunces (SIL Open Font License, static/fonts/, VENDOR.txt) for the name and the headings, the device's
   own sans for text; one type scale of six steps; ink buttons; green only on the "passes" marks, red only for FAIL. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-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;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --bg: #faf6ef;          /* the peacock's paper */
  --surface: #ffffff;
  --tile: #f2ece3;        /* behind every product photo: cards and the product page */
  --panel: #f3ede4;       /* quiet boxes: Start here, the finder tile, a check under way */
  --text: #18202c;        /* ink, from the peacock's line work */
  --muted: #5b616d;
  --border: #e2dace;
  --accent: #12606f;      /* the peacock's teal, for links */
  --pass-bg: #e1efe8;
  --pass-text: #1a5642;
  --focus: #c2410c;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  /* the type scale: every size on the site is one of these */
  --text-xs: .78rem;
  --text-sm: .875rem;
  --text-md: 1rem;
  --text-lg: 1.15rem;
  --text-xl: 1.45rem;
  --text-2xl: clamp(1.9rem, 3.6vw, 2.6rem);
  --text-3xl: clamp(2.1rem, 4.6vw, 3.5rem);
  --text-display: clamp(2.5rem, 5.8vw, 4.9rem);
  --font-size-small: var(--text-sm);
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --radius: .4rem;
  --radius-large: .6rem;
  --warn-bg: #fdf0e1;
  --warn-text: #7a3b00;
  --fail-bg: #fbe7e7;
  --fail-text: #8a1c1c;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: var(--text-md)/1.55 var(--font-body);
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, main:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }
header.site, main, footer.site { max-width: 64rem; margin: 0 auto; padding: 0 1rem; }
header.site { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
header.site .brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); text-decoration: none; }
header.site .brand span { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 560; letter-spacing: -.01em; }  /* the name, set in the display face */
header.site .brand-logo { display: block; height: 2.5rem; width: auto; }  /* the peacock (owner 2026-11-06), static/brand/logo.png */
header.site ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; flex-wrap: wrap; }
main { padding-top: 1.5rem; padding-bottom: 2rem; }
h1, h2 { font-family: var(--font-display); font-weight: 540; letter-spacing: -.012em; font-optical-sizing: auto; text-wrap: balance; }
h1 { font-size: var(--text-2xl); line-height: 1.1; margin: 0 0 .5rem; }
h2 { font-size: var(--text-xl); line-height: 1.2; margin: 1.75rem 0 .5rem; }
h3 { font-size: var(--text-md); margin: 1.25rem 0 .25rem; }
.lead { color: var(--muted); max-width: 46rem; }
.meta, .count, .hint, .fresh { color: var(--muted); }
.barcode { font-variant-numeric: tabular-nums; }
.pass { display: inline-block; background: var(--pass-bg); color: var(--pass-text); padding: .15rem .6rem; border-radius: .4rem; font-weight: 600; margin: .25rem 0; }
.verdict { font-size: var(--text-md); }
/* a list's search and filters (lists on phones, 2026-11-09): the search field on one row with a "Filters" button;
   the button opens the rest below the row (a <details>, so it works without the script) */
form.filters { margin: 1rem 0 .75rem; }
.filters-row { position: relative; }
.filters-q { margin-right: 7.75rem; }
.filters-q input { padding: .62rem 1.05rem; border-radius: 999px; background: var(--surface); }
.filters-more > summary { position: absolute; top: 0; right: 0; display: flex; align-items: center; gap: .45rem; height: 100%; max-height: 2.9rem; padding: 0 1.1rem; border: 1px solid var(--text); border-radius: 999px; background: var(--surface); font-weight: 600; cursor: pointer; list-style: none; }
.filters-more > summary::-webkit-details-marker { display: none; }
.filters-more > summary::after { content: ""; width: .45rem; height: .45rem; margin-left: .1rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.12rem) rotate(45deg); }
.filters-more[open] > summary { background: var(--text); color: var(--bg); }
.filters-more[open] > summary::after { transform: translateY(.12rem) rotate(-135deg); }
.filters-on { display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem; padding: 0 .3rem; border-radius: 999px; background: var(--text); color: var(--bg); font-size: var(--text-xs); }
.filters-more[open] .filters-on { background: var(--bg); color: var(--text); }
.filters-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem 1.25rem; align-items: end; margin-top: .75rem; padding: 1.1rem 1.15rem; background: var(--surface); border: 1px solid var(--border); border-radius: 1rem; }
.list-note { margin: .4rem 0 0; max-width: 46rem; font-size: var(--text-sm); color: var(--muted); }
.field label, form.search > label { display: block; font-weight: 600; margin-bottom: .25rem; }
fieldset.field { border: 0; margin: 0; padding: 0; }
fieldset.field legend { font-weight: 600; padding: 0; margin-bottom: .25rem; }
fieldset.field label { display: inline; font-weight: 400; }
input[type="search"], input:not([type]), select {
  width: 100%; font: inherit; padding: .45rem .6rem; border: 1px solid var(--border); border-radius: .4rem;
  background: var(--bg); color: var(--text);
}
/* one kind of button: an ink pill (the outlined one is the quiet choice beside it) */
button, .button { display: inline-block; font: inherit; font-weight: 600; padding: .55rem 1.2rem; border: 1px solid var(--text); background: var(--text); color: var(--bg); border-radius: 999px; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { opacity: .88; }
.button-quiet, button.button-quiet { background: transparent; color: var(--text); }
.button-quiet:hover { opacity: 1; background: var(--surface); }
.actions { display: flex; gap: 1rem; align-items: center; }
form.search { margin: 1.25rem 0; }
form.search .row { display: flex; gap: .5rem; }
form.search .row input { flex: 1; }
ul.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 2.25rem 1.25rem; }
.card p { margin: .25rem 0; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { font-size: var(--text-sm); border: 1px solid var(--border); border-radius: 1rem; padding: 0 .55rem; color: var(--muted); }
.pager { display: flex; gap: 1.5rem; justify-content: center; margin: 1.5rem 0; }
table { border-collapse: collapse; width: 100%; font-size: var(--text-md); }
th, td { text-align: left; vertical-align: top; padding: .35rem .5rem; border-bottom: 1px solid var(--border); }
ol.ingredients { columns: 2 16rem; padding-left: 1.5rem; }
dl.facts { display: grid; grid-template-columns: minmax(9rem, max-content) 1fr; gap: .3rem 1rem; margin: 0; }
dl.facts dt { font-weight: 600; }
dl.facts dd { margin: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
/* /rules (2026-11-09): the facts, how a check goes, an index, a card per rule, the files and the history */
.rules-page { max-width: 54rem; }
.rules-head h1 { margin-bottom: .6rem; }
.rules-meta { display: flex; flex-wrap: wrap; gap: .9rem 2.25rem; margin: 1.4rem 0 0; padding: 1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rules-meta dt { font-size: var(--text-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rules-meta dd { margin: .2rem 0 0; max-width: 30rem; }
.rules-steps { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: .9rem; }
.rules-steps > li { padding: 1.1rem 1.15rem 1.2rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); }
.rules-steps > li:nth-child(4n + 1) { --tint: #e4edf0; }
.rules-steps > li:nth-child(4n + 2) { --tint: #efe5f0; }
.rules-steps > li:nth-child(4n + 3) { --tint: #f5ecdc; }
.rules-steps > li:nth-child(4n + 4) { --tint: #e2efe7; }
.rules-step-num { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, var(--tint, #f1ebe6) 75%); font-family: var(--font-display); font-weight: 600; }
.rules-steps h3 { margin: .75rem 0 .3rem; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 560; }
.rules-steps p { margin: 0; font-size: var(--text-sm); color: var(--muted); }
.rules-index-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .5rem 2.5rem; }
.rules-index h3 { margin: 1rem 0 .35rem; font-size: var(--text-sm); }
.rules-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.rules-group { margin-top: 2.75rem; }
ol.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.rule-card { border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); overflow: hidden; scroll-margin-top: 1rem; }
.rule-card:target { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.rule-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; padding: .85rem 1.15rem; border-bottom: 1px solid var(--border); background: var(--panel); }
.rule-bar h3 { margin: 0; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 560; }
.rule-id { font-size: var(--text-xs); color: var(--muted); }
.rule-rows { display: grid; grid-template-columns: minmax(7.5rem, max-content) 1fr; gap: .5rem 1.25rem; margin: 0; padding: 1rem 1.15rem .5rem; font-size: var(--text-sm); }
.rule-rows dt { font-weight: 600; }
.rule-rows dd { margin: 0; overflow-wrap: anywhere; }
.rule-back { margin: 0; padding: .3rem 1.15rem 1rem; font-size: var(--text-sm); }
.rules-files, .rules-history { margin-top: 3rem; }
.rules-file-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.rules-file-list > li { padding: .8rem 0; border-bottom: 1px solid var(--border); }
.rules-file-list p { margin: 0; }
.rules-file-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; font-weight: 600; }
.rules-file-head span { font-weight: 400; font-size: var(--text-sm); color: var(--muted); }
.rules-file-what { font-size: var(--text-sm); }
.rules-file-sha { margin-top: .2rem; font-size: var(--text-xs); color: var(--muted); overflow-wrap: anywhere; }
.rules-file-sha code { word-break: break-all; }
.rules-note { margin-top: 1rem; font-size: var(--text-sm); color: var(--muted); max-width: 46rem; }
.rules-versions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.rules-versions > li { padding: .9rem 0; border-bottom: 1px solid var(--border); }
.rules-version { margin: 0 0 .35rem; display: flex; gap: .75rem; align-items: baseline; }
.rules-version span { font-size: var(--text-sm); color: var(--muted); }
.rules-versions ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.rule-change { display: inline-block; margin-right: .35rem; padding: 0 .55rem; border-radius: 999px; background: var(--panel); font-size: var(--text-xs); font-weight: 600; }
@media (max-width: 40rem) {
  .rule-rows { grid-template-columns: 1fr; gap: .1rem; }
  .rule-rows dd { margin-bottom: .55rem; }
}
/* the footer (2026-11-09): the name and its line, the main pages and the market switch in three columns; the
   disclaimer and the credits in small print below */
footer.site { margin-top: 3rem; padding-top: 2.25rem; padding-bottom: 2.5rem; border-top: 1px solid var(--border); font-size: var(--text-sm); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.75rem 2.5rem; align-items: start; }
.footer-name { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); text-decoration: none; }
.footer-name img { display: block; height: 2.25rem; width: auto; }
.footer-name span { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 560; letter-spacing: -.01em; }
.footer-about p { margin: .6rem 0 0; max-width: 24rem; color: var(--muted); }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-links a, .market-switch a { color: var(--text); text-decoration: none; }
.footer-links a:hover, .market-switch a:hover { text-decoration: underline; }
.market-switch { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.footer-small { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: var(--text-xs); color: var(--muted); }
.footer-small p { margin: 0 0 .6rem; max-width: 56rem; }
.footer-small a { color: var(--muted); }
.footer-small .disclaimer strong, .footer-small .credits strong { color: var(--text); }
@media (max-width: 40rem) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
/* an --inspect copy (port 8001): India | Europe in the middle of the header */
header.site { position: relative; }
.inspect-switch { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: .2rem; padding: .25rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); }
.inspect-switch a { padding: .4rem 1.1rem; border-radius: 999px; color: var(--text); font-weight: 600; text-decoration: none; }
.inspect-switch a[aria-current] { background: var(--text); color: var(--bg); }
body.landing header.site .inspect-switch a { color: var(--text); }
body.landing header.site .inspect-switch a[aria-current] { color: var(--bg); }
.market-switch span { color: var(--muted); font-size: var(--text-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.market-switch a[aria-current] { font-weight: 700; }
.market-switch a[aria-current]::after { content: " \2713"; color: var(--pass-text); }
@media (max-width: 36rem) {
  dl.facts { grid-template-columns: 1fr; }
  dl.facts dd { margin-bottom: .4rem; }
}
/* Stage 5e: brand products (image hotlinked from the brand's site, credit, buy link) */
.product-image { margin: 0 0 var(--space-2); }
.product-image img { display: block; width: 100%; max-height: 12rem; object-fit: contain; background: var(--surface); border-radius: var(--radius); }
.product-image figcaption { font-size: var(--text-sm); color: var(--muted); }
.button.buy { background: transparent; color: var(--text); }  /* the quiet pill: the brand's shop is a way out, not the point */
.button.buy:hover { background: var(--surface); opacity: 1; }
/* Stage 5c: /check (upload a label) */
.notice { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-large); padding: var(--space-1) var(--space-2); max-width: 46rem; }
.busy { color: var(--muted); visibility: hidden; }
.busy.htmx-request { visibility: visible; }
.result { display: inline-block; padding: .3rem .8rem; border-radius: var(--radius); font-weight: 600; margin: var(--space-1) 0; }
.result-pass { background: var(--pass-bg); color: var(--pass-text); }
.result-fail, .result-error { background: var(--fail-bg); color: var(--fail-text); }
.result-needs_review, .result-unreadable, .result-paused { background: var(--warn-bg); color: var(--warn-text); }
ul.reasons { padding-left: 1.25rem; }
/* Landing: cut-outs of the owner's picks orbit the headline (policy/landing.v1.yaml, static/landing.js, static/masks) */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:root { --glass: rgba(255, 255, 255, .62); --glass-edge: rgba(255, 255, 255, .85); --card-shadow: 0 .4rem 1.4rem rgba(29, 27, 25, .14), 0 0 0 1px rgba(29, 27, 25, .05); --cut-shadow: drop-shadow(0 .55rem .7rem rgba(29, 27, 25, .2)); }
/* the header lies on the floating products with no band behind it (owner 2026-11-04: nothing fades at the top)
   and without the site's name (owner, same day); a halo in the page colour keeps its plain links legible when a
   product passes under them */
body.landing header.site { position: absolute; top: 0; left: 0; right: 0; z-index: 5; max-width: none; padding: 1.1rem 1.75rem 2.4rem; border-bottom: 0; background: none; pointer-events: none; }
body.landing header.site .account-nav { margin-left: auto; }
body.landing header.site .brand-logo { height: 4.5rem; filter: drop-shadow(0 0 .3rem var(--bg)) drop-shadow(0 0 .6rem var(--bg)); }  /* the peacock over the floating products (owner 2026-11-06) */
body.landing header.site .account-nav > a:not(.nav-cta):not(.account-avatar) { text-shadow: 0 0 .2rem var(--bg), 0 0 .55rem var(--bg); }
body.landing header.site a, body.landing header.site button { pointer-events: auto; }
body.landing header.site a { color: var(--text); text-decoration: none; }
body.landing header.site nav a:hover { text-decoration: underline; }
body.landing header.site .nav-cta { background: var(--text); color: var(--bg); padding: .45rem 1.05rem; border-radius: 999px; font-weight: 600; }
body.landing header.site .nav-cta:hover { text-decoration: none; opacity: .88; }
body.landing main { max-width: none; padding: 0; }
body.landing .wrap { max-width: 64rem; margin: 0 auto; padding: 2.5rem 1rem 2rem; }
.list-title { font-size: var(--text-2xl); line-height: 1.1; margin: 0 0 .5rem; }
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; scroll-margin-top: 0; }
#products { scroll-margin-top: .5rem; }
.hero-orbit { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* nothing behind the headline block: a soft-edged rectangle (set by landing.js) is cut out of the orbit layer */
.hero-orbit.has-hole {
  -webkit-mask-image: linear-gradient(to right, #000 var(--hx0), transparent var(--hx1), transparent var(--hx2), #000 var(--hx3)), linear-gradient(to bottom, #000 var(--hy0), transparent var(--hy1), transparent var(--hy2), #000 var(--hy3));
  mask-image: linear-gradient(to right, #000 var(--hx0), transparent var(--hx1), transparent var(--hx2), #000 var(--hx3)), linear-gradient(to bottom, #000 var(--hy0), transparent var(--hy1), transparent var(--hy2), #000 var(--hy3));
}
.hero-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; will-change: transform; }
.orbit-card { position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); transform: translate(var(--x), var(--y)) translate(-50%, -50%); opacity: 0; pointer-events: none; user-select: none; transition: opacity .8s ease var(--in, 0s); }
.orbit-card.is-in { opacity: 1; }
.orbit-tilt { position: absolute; inset: 0; display: block; filter: var(--cut-shadow); transform: perspective(640px) rotateX(var(--rx)) rotateY(var(--ry)) rotate(var(--rz)); }
/* the brand's photo seen through the product's silhouette (mask set per product by landing.js) */
.orbit-photo, .hero-thumb { display: block; width: 100%; height: 100%; object-fit: contain; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 7rem 1rem 6rem; max-width: 48rem; }
.hero h1 { font-size: var(--text-display); line-height: 1.04; letter-spacing: -.025em; font-weight: 470; margin: 0 0 1.75rem; }
.hero-line { display: block; width: fit-content; margin-inline: auto; white-space: nowrap; }
.hero-phrase { display: inline-grid; justify-items: center; vertical-align: bottom; transition: width .55s cubic-bezier(.2, .7, .2, 1); }
.hero-word { grid-area: 1 / 1; white-space: nowrap; transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .45s ease, filter .55s ease; }
.hero-word.is-entering { transform: translateY(-.5em); opacity: 0; filter: blur(.12em); }
.hero-word.is-leaving { transform: translateY(.5em); opacity: 0; filter: blur(.12em); }
.hero-probe { position: absolute; visibility: hidden; }
.hero-thumbs { position: relative; display: none; width: 1.3em; height: .9em; margin-left: .12em; vertical-align: -.06em; }
.hero.is-live .hero-thumbs { display: inline-block; }
.hero-thumb { position: absolute; top: 0; left: 0; width: .9em; height: .9em; opacity: 0; filter: var(--cut-shadow); rotate: -10deg; transition: opacity .6s ease; }
.hero-thumb.is-on { opacity: 1; }
.hero-thumb + .hero-thumb { left: .42em; rotate: 9deg; }
.hero-thumb + .hero-thumb + .hero-thumb { left: 0; rotate: -10deg; }
.hero-thumb + .hero-thumb + .hero-thumb + .hero-thumb { left: .42em; rotate: 9deg; }
.hero-searchbar { display: flex; gap: .6rem; align-items: center; justify-content: center; max-width: 30rem; margin: 0 auto; }
.hero-search { flex: 1; display: flex; align-items: center; gap: .55rem; min-width: 0; padding: .15rem 1.1rem; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--card-shadow); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); color: var(--muted); }
.hero-search:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.hero-search input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: .8rem 0; font-size: var(--text-md); color: var(--text); }
.hero-search input[type="search"]:focus-visible { outline: none; }
.hero-icon { flex: none; }
.hero-check { flex: none; display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--card-shadow); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); color: var(--text); }
.hero-pause, .hero-down, .hero-credit { position: absolute; z-index: 3; bottom: 1.25rem; background: var(--glass); border: 1px solid var(--glass-edge); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: var(--card-shadow); }
.hero-pause { left: 1.25rem; padding: .45rem .95rem; border-radius: 999px; color: var(--text); font-size: var(--text-sm); }
.hero-pause[hidden] { display: none; }
.hero-down { left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; color: var(--text); }
.hero-credit { right: 1.25rem; max-width: 19rem; padding: .5rem .95rem; border-radius: 1rem; font-size: var(--text-sm); line-height: 1.4; color: var(--muted); }
.hero-credit summary { cursor: pointer; color: var(--text); }
.hero-credit p { margin: .45rem 0 .2rem; font-size: var(--text-xs); }
@media (max-width: 48rem) {
  body.landing header.site { padding: .9rem 1rem 2rem; }
  body.landing header.site .brand-logo { height: 3.5rem; }
  .hero-content { padding: 9rem 1rem 9rem; }
  .hero-line { white-space: normal; }
  .hero-credit { right: 1rem; bottom: 1rem; max-width: calc(100% - 9.5rem); }
  .hero-pause { left: 1rem; bottom: 1rem; }
  .hero-down { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-thumb, .hero-word, .hero-phrase, .orbit-card { transition: none; }
}
/* Accounts: Log in / Sign up with Google or Apple (web/auth.py) */
.account-nav { display: flex; align-items: center; gap: .9rem; }
/* "Log in" looks the same on every page (it was blue and underlined everywhere but the home page) */
header.site .account-nav > a:not(.nav-cta):not(.account-avatar) { color: var(--text); text-decoration: none; font-weight: 500; }
header.site .account-nav > a:not(.nav-cta):not(.account-avatar):hover { text-decoration: underline; opacity: 1; }
/* signed in: the name's first letter in a teal circle, as the iPhone app's account button (owner 2026-11-12) */
header.site .account-nav .account-avatar { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--accent); color: var(--surface); font-size: var(--text-md); font-weight: 600; line-height: 1; text-decoration: none; }
header.site .account-nav .account-avatar:hover { opacity: .88; }
header.site .nav-cta { display: inline-block; background: var(--text); color: var(--bg); padding: .45rem 1.05rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
header.site .nav-cta:hover { opacity: .88; }
.link-button { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }
body.landing .link-button { color: var(--text); text-decoration: none; }
.auth { max-width: 27rem; margin: 2.5rem auto 3rem; }
.auth h1 { margin-bottom: 1.25rem; }
.auth-providers { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .75rem; }
.auth-logo { display: block; height: 3.6rem; width: auto; margin: 0 auto .9rem; }
.auth h1 { text-align: center; }
.auth-button { display: flex; align-items: center; justify-content: center; gap: .65rem; padding: .8rem 1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 600; text-decoration: none; }
.auth-button:hover { border-color: var(--text); }
.auth-mark { display: block; flex: none; width: 20px; height: 20px; }
/* Google's light button: white, a #747775 line, #1F1F1F text, Roboto Medium where the device has it */
.auth-google { border-color: #747775; color: #1f1f1f; font-family: Roboto, var(--font-body); font-weight: 500; }
.auth-google:hover { border-color: #1f1f1f; }  /* the background stays white: the G's image is on white */
.auth-switch { text-align: center; }
.auth-apple { background: #000; border-color: #000; color: #fff; }
.auth-switch { margin: 1rem 0; }
.auth-privacy { font-size: var(--text-sm); color: var(--muted); }
.auth-actions { margin: 1rem 0; }
button.danger { background: var(--fail-text); border-color: var(--fail-text); }
/* Routine under the landing hero (policy/routine.v1.yaml, templates/_routine.html, static/routine.js): a face, and the
   steps on tinted discs. Without the script (or with reduced motion) the steps are a row that scrolls sideways under
   the face; with it the section is pinned (.is-live) while the row slides left and each step passes behind the face. */
.routine { --disc: clamp(8.5rem, 12.5vw, 12.5rem); position: relative; background: var(--bg); }
.routine-stage { display: flex; flex-direction: column; align-items: center; padding: 4.5rem 0 2.5rem; overflow: hidden; }
.routine-head { text-align: center; padding: 0 1rem; max-width: 42rem; }
.routine-kicker { margin: 0 0 .4rem; font-size: var(--text-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.routine-head h2 { font-size: var(--text-3xl); line-height: 1.05; letter-spacing: -.02em; font-weight: 480; margin: 0 0 .65rem; }
.routine-lead { margin: 0 auto; max-width: 34rem; color: var(--muted); }
.routine-scene { position: relative; width: 100%; margin-top: 2rem; }
.routine-face { display: flex; justify-content: center; pointer-events: none; }
.routine-face img { display: block; width: auto; height: min(50vh, 28rem); max-width: 82vw; object-fit: contain; }
.routine-window { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 1.5rem 1rem .75rem; }
.routine-track { display: flex; gap: clamp(1.25rem, 2.6vw, 2.5rem); width: max-content; margin: 0 auto; padding: 0; list-style: none; }
.routine-step { flex: none; width: var(--disc); scroll-snap-align: center; }
.routine-step:nth-child(5n + 1) { --tint: #f7e5e0; }
.routine-step:nth-child(5n + 2) { --tint: #e4edf0; }
.routine-step:nth-child(5n + 3) { --tint: #efe5f0; }
.routine-step:nth-child(5n + 4) { --tint: #e2efe7; }
.routine-step:nth-child(5n + 5) { --tint: #f5ecdc; }
.routine-card { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--text); text-decoration: none; border-radius: 1.25rem; }
.routine-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; }
.routine-disc { position: relative; display: grid; place-items: center; width: var(--disc); height: var(--disc); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, var(--tint, #f1ebe6) 70%); box-shadow: inset 0 0 0 1px rgba(29, 27, 25, .06), var(--card-shadow); transition: box-shadow .35s ease, transform .35s ease; }
.routine-num { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 500; color: var(--text); }
.routine-disc.has-photo .routine-num { position: absolute; z-index: 1; top: 9%; left: 50%; transform: translateX(-50%); font-size: var(--text-xs); letter-spacing: .12em; color: var(--muted); }
.routine-cut { position: absolute; inset: 15% 15% 9%; filter: var(--cut-shadow); }
.routine-photo { display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .5s ease; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.routine-photo.is-in { opacity: 1; }
.routine-name { margin-top: 1rem; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 560; }
.routine-when { margin-top: .15rem; font-size: var(--text-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.routine-text { margin-top: .4rem; max-width: 15rem; font-size: var(--text-sm); line-height: 1.35; color: var(--muted); }
.routine-count { margin-top: .6rem; font-size: var(--text-sm); font-weight: 600; color: var(--pass-text); }
a.routine-card .routine-count::after { content: " \2192"; }
a.routine-card:hover .routine-name { text-decoration: underline; text-underline-offset: .2em; }
a.routine-card:hover .routine-disc { transform: translateY(-3px); }
.routine-progress { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; margin: 1.75rem 0 0; padding: 0 1rem; list-style: none; font-size: var(--text-sm); color: var(--muted); }
.routine-progress-num { font-weight: 700; margin-right: .3rem; font-variant-numeric: tabular-nums; }
.routine-progress li { transition: color .3s ease; }
.routine-progress li.is-active { color: var(--text); }
.routine-credit { margin: .9rem 0 0; padding: 0 1rem; text-align: center; font-size: var(--text-xs); color: var(--muted); }
/* pinned: the row slides behind the face while the page scrolls (lengths set by routine.js) */
.routine.is-live { height: calc(100vh + (var(--steps, 5) + 1) * 44vh); height: calc(100svh + (var(--steps, 5) + 1) * 44svh); }
.routine.is-live .routine-stage { position: sticky; top: 0; height: 100vh; height: 100svh; justify-content: flex-start; padding: 5rem 0 1.25rem; background: var(--bg); }
.routine.is-live .routine-scene { flex: 1; min-height: 0; margin-top: 1.5rem; }
/* the face in the middle of the screen at every size (owner, 2026-11-02); never wider than 44vw, so a step fits beside it */
.routine.is-live .routine-face { position: absolute; z-index: 2; top: 0; bottom: 0; left: 50%; display: flex; align-items: center; transform: translate(-50%, calc((1 - var(--enter, 1)) * 24vh)); }
.routine.is-live .routine-face img { height: 100%; width: auto; max-height: 36rem; max-width: 44vw; }
.routine.is-live .routine-window { position: absolute; z-index: 1; left: var(--win-x, 30%); right: 0; top: calc(50% - var(--disc) * .5 - 1rem); overflow: hidden; padding: 1rem 0; scroll-snap-type: none; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade, 0px)); mask-image: linear-gradient(to right, transparent 0, #000 var(--fade, 0px)); }
.routine.is-live .routine-track { margin: 0; padding-left: var(--pad, 0px); padding-right: 50vw; will-change: transform; }
.routine.is-live .routine-step { transition: opacity .45s ease, transform .45s ease; }
.routine.is-live .routine-step.is-past { opacity: 0; transform: scale(.88); }
.routine.is-live .routine-step :is(.routine-name, .routine-when, .routine-text, .routine-count) { opacity: calc(1 - var(--leave, 0)); }
.routine.is-live .routine-step.is-active .routine-disc { box-shadow: inset 0 0 0 1px rgba(29, 27, 25, .06), 0 0 0 2px var(--text), var(--card-shadow); }
.routine.is-live .routine-progress { margin-top: 1rem; }
@media (max-width: 40rem) {
  .routine { --disc: 5.75rem; }
  .routine-stage { padding-top: 3.5rem; }
  .routine-text { font-size: var(--text-sm); }
  .routine-progress-name { display: none; }
  .routine.is-live .routine-stage { justify-content: center; padding-top: 3.5rem; }
  .routine.is-live .routine-scene { flex: 0 0 auto; height: min(64vw, 46vh); margin: 1.75rem 0 4rem; }
  .routine.is-live .routine-face img { max-width: 46vw; }
  .routine.is-live .routine-name { margin-top: .6rem; font-size: var(--text-md); }
  .routine.is-live .routine-when { font-size: .62rem; letter-spacing: .08em; }
  .routine.is-live .routine-count { font-size: .72rem; }
  .routine.is-live .routine-text, .routine.is-live .routine-noun { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .routine-disc, .routine-photo, .routine-progress li { transition: none; }
}
/* List pages that don't overwhelm (owner request 2026-11-04, docs/design_inspiration_listing.md): doors before the grid,
   chips for a type's categories (the routine's steps numbered), a step's "Start here" row, one card per product with
   its sizes as chips and the same two facts on every card, and the two-question finder. */
.kicker { margin: 0 0 .35rem; font-size: var(--text-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lobby { padding: 1rem 0 2rem; }
body.landing .lobby { max-width: 64rem; margin: 0 auto; padding: 3.5rem 1rem 3rem; }
.lobby-head { text-align: center; max-width: 40rem; margin: 0 auto 2rem; text-wrap: balance; }
.lobby-title { font-size: var(--text-3xl); line-height: 1.05; letter-spacing: -.02em; font-weight: 480; margin: 0 0 .6rem; }
.lobby-lead { margin: 0; color: var(--muted); }
.doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .9rem; }
.doors > li:nth-child(5n + 1) { --tint: #f7e5e0; }
.doors > li:nth-child(5n + 2) { --tint: #e4edf0; }
.doors > li:nth-child(5n + 3) { --tint: #efe5f0; }
.doors > li:nth-child(5n + 4) { --tint: #e2efe7; }
.doors > li:nth-child(5n + 5) { --tint: #f5ecdc; }
.door { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon name" "icon count" "examples examples"; gap: .1rem .9rem; align-items: center; height: 100%; padding: 1.1rem 1.15rem 1.05rem; border-radius: 1rem; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.door:hover { border-color: var(--text); box-shadow: var(--card-shadow); transform: translateY(-2px); }
.door-icon { grid-area: icon; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, var(--tint, #f1ebe6) 75%); }
.door-name { grid-area: name; align-self: end; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 560; }
.door-count { grid-area: count; align-self: start; font-size: var(--text-sm); font-weight: 600; color: var(--pass-text); }
.door-examples { grid-area: examples; margin-top: .7rem; font-size: var(--text-sm); line-height: 1.4; color: var(--muted); }
.lobby-more { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .9rem; margin-top: .9rem; }
.finder-cta, .see-all { display: flex; border-radius: 1rem; text-decoration: none; }
.finder-cta { flex-direction: column; gap: .2rem; padding: 1.2rem 1.35rem; background: var(--text); color: var(--bg); }
.finder-cta-kicker { font-family: var(--font-display); font-weight: 560; font-size: var(--text-lg); }
.finder-cta-text { opacity: .82; font-size: var(--text-md); }
.finder-cta-go, .card-finder-go { margin-top: .5rem; font-weight: 600; }
.finder-cta-go::after, .card-finder-go::after { content: " \2192"; }
.see-all::after { content: "\2192"; }
.finder-cta:hover .finder-cta-go, .card-finder a:hover .card-finder-go { text-decoration: underline; text-underline-offset: .2em; }
.see-all { align-items: center; justify-content: center; gap: .4rem; padding: 1.2rem 1.35rem; border: 1px solid var(--text); color: var(--text); font-weight: 600; text-align: center; }
.see-all:hover { background: var(--surface); box-shadow: var(--card-shadow); }
.lobby-note { margin: 1.75rem auto 0; max-width: 46rem; text-align: center; font-size: var(--text-sm); color: var(--muted); }
/* a type's or a category's page */
.list-head { margin-bottom: 1rem; }
.list-head h1 { font-size: var(--text-2xl); line-height: 1.1; margin: 0 0 .35rem; }
.step-lead { margin: 0; color: var(--muted); font-size: var(--text-md); }
.market-line { margin: .35rem 0 0; color: var(--muted); font-size: var(--text-sm); }
.chips ul { list-style: none; margin: 0 0 1.25rem; padding: .15rem 0 .5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: baseline; gap: .45rem; padding: .42rem .9rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-size: var(--text-md); white-space: nowrap; }
.chip:hover { border-color: var(--text); }
.chip-count { font-size: var(--text-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.chip.is-current { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 600; }
.chip.is-current .chip-count { color: inherit; opacity: .75; }
.start-here { margin: .5rem 0 1.5rem; padding: 1.25rem 1.25rem 1.4rem; border-radius: 1.1rem; background: var(--panel); }
.start-title { margin: 0 0 .2rem; font-size: var(--text-xl); }
.start-lead { margin: 0 0 1rem; color: var(--muted); font-size: var(--text-md); max-width: 46rem; }
.grid-title { font-size: var(--text-xl); margin: 1.5rem 0 .25rem; }
/* cards */
/* calmer cards (owner 2026-11-09, the 6 Nov design review): no box; every photo on the same tile (white studio
   backgrounds melt into it, like the product page's), the verdict as a small stamp in the tile's corner */
.card { display: flex; flex-direction: column; min-width: 0; }
.card-tile { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; margin: 0 0 .8rem; background: var(--tile); border-radius: .9rem; overflow: hidden; }
/* the photo inside the tile, above a strip for its credit (a box of its own: a percentage height in an auto grid row
   would let a tall photo run over the credit) */
.card .card-tile img { position: absolute; top: 12%; left: 10%; width: 80%; height: 75%; max-height: none; object-fit: contain; background: none; border-radius: 0; mix-blend-mode: multiply; }
.card-tile figcaption { position: absolute; right: .65rem; bottom: .45rem; max-width: calc(100% - 1.3rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-xs); color: var(--muted); }
.card-tile-empty .icon { width: 28%; height: auto; color: var(--muted); opacity: .45; }
.card .card-stamp { position: absolute; left: .6rem; top: .6rem; margin: 0; padding: .12rem .6rem .12rem .45rem; border-radius: 999px; background: var(--pass-bg); color: var(--pass-text); font-size: var(--text-xs); font-weight: 600; line-height: 1.5; }
.card-tick { display: inline-grid; place-items: center; width: 1.05rem; height: 1.05rem; margin-right: .15rem; border-radius: 50%; background: var(--pass-text); color: #fff; font-size: .62rem; vertical-align: .05em; }
.card-brand { margin: 0 0 .15rem; font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card-brand .market { letter-spacing: .04em; text-transform: none; font-weight: 500; }
.card .card-name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; line-height: 1.25; letter-spacing: 0; margin: 0 0 .3rem; overflow-wrap: anywhere; }
.card-name a { color: var(--text); text-decoration: none; }
.card-name a:hover { text-decoration: underline; text-underline-offset: .18em; }
.card .card-category { margin: 0 0 .3rem; font-size: var(--text-sm); color: var(--muted); }
.card .card-shades { margin: 0 0 .35rem; font-size: var(--text-sm); font-weight: 600; }
.card-shades a { color: var(--text); text-underline-offset: .18em; }
.sizes { list-style: none; margin: .1rem 0 .45rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.size { display: inline-block; padding: .05rem .55rem; border: 1px solid var(--border); border-radius: 999px; font-size: var(--text-xs); color: var(--text); text-decoration: none; font-variant-numeric: tabular-nums; }
a.size:hover { border-color: var(--text); }
.size.is-current { border-color: var(--text); font-weight: 600; }
.card .facts { display: flex; flex-wrap: wrap; gap: .1rem .5rem; margin: .1rem 0 .4rem; font-size: var(--text-sm); color: var(--muted); }
.facts span + span::before { content: "·"; margin-right: .5rem; }
.card .card-buy { margin-top: auto; padding-top: .35rem; }
/* the way to the brand's shop: a plain link on a card ("Buy at ..."), the pill stays for the product page */
.card .button.buy { padding: 0; border: 0; background: none; color: var(--text); font-size: var(--text-sm); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: .25em; }
.card .button.buy::after { content: " \2197"; }
.card .button.buy:hover { opacity: 1; text-decoration-color: currentColor; }
.card-finder { padding: 0; border: 0; background: var(--panel); border-radius: .9rem; }
.card-finder a { display: flex; flex-direction: column; gap: .4rem; height: 100%; padding: 1.4rem 1.3rem; border-radius: .9rem; color: var(--text); text-decoration: none; }
.card-finder-kicker { font-family: var(--font-display); font-weight: 560; font-size: var(--text-lg); }
.card-finder-text { color: var(--muted); font-size: var(--text-md); }
.card-finder-go { margin-top: auto; }
/* the finder: one question per screen */
.finder { max-width: 40rem; margin: 1rem auto 2rem; }
.finder-step { margin: 0 0 .4rem; font-size: var(--text-sm); font-weight: 600; color: var(--muted); }
.finder-bar { height: .3rem; border-radius: 999px; background: var(--border); overflow: hidden; margin-bottom: 1.75rem; }
.finder-bar-fill { display: block; height: 100%; width: 50%; border-radius: inherit; background: var(--text); }
.finder-bar-fill.is-2 { width: 100%; }
.finder h1 { font-size: var(--text-2xl); line-height: 1.1; }
.finder-options { list-style: none; margin: 1.5rem 0 1rem; padding: 0; display: grid; gap: .65rem; }
.finder-option { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "num name count" "num when count"; gap: .05rem 1rem; align-items: center; padding: .95rem 1.1rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); color: var(--text); text-decoration: none; }
.finder-option:hover { border-color: var(--text); box-shadow: var(--card-shadow); }
.finder-options > li:nth-child(5n + 1) { --tint: #f7e5e0; }
.finder-options > li:nth-child(5n + 2) { --tint: #e4edf0; }
.finder-options > li:nth-child(5n + 3) { --tint: #efe5f0; }
.finder-options > li:nth-child(5n + 4) { --tint: #e2efe7; }
.finder-options > li:nth-child(5n + 5) { --tint: #f5ecdc; }
.finder-num { grid-area: num; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, var(--tint, #f1ebe6) 75%); font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); }
.finder-name { grid-area: name; font-family: var(--font-display); font-weight: 560; font-size: var(--text-lg); }
.finder-when { grid-area: when; font-size: var(--text-sm); color: var(--muted); }
.finder-count { grid-area: count; font-size: var(--text-sm); font-weight: 600; color: var(--pass-text); white-space: nowrap; }
.finder-option .finder-count::after { content: " \2192"; }
.finder-else { color: var(--muted); }
.finder-form { margin-top: 1.5rem; }
.finder-checks { border: 0; margin: 0; padding: 0; display: grid; gap: .65rem; }
.finder-check { position: relative; }
.finder-check input { position: absolute; left: 1.1rem; top: 50%; width: 1.15rem; height: 1.15rem; margin: 0; transform: translateY(-50%); accent-color: var(--text); }
.finder-check label { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem 1rem 3rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); cursor: pointer; }
.finder-check input:checked + label { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.finder-check input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.finder-check-name { font-weight: 600; }
.finder-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.finder-actions button { padding: .7rem 1.4rem; border-radius: 999px; border-color: var(--text); background: var(--text); font-weight: 600; }
.finder-note { margin-top: 2rem; font-size: var(--text-sm); color: var(--muted); }
@media (max-width: 40rem) {
  body.landing .lobby { padding-top: 2.5rem; }
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .door { grid-template-columns: 1fr; grid-template-areas: "icon" "name" "count"; padding: .85rem .9rem; gap: .15rem; }
  .door-icon { width: 2.5rem; height: 2.5rem; margin-bottom: .35rem; }
  .door-icon .icon { width: 26px; height: 26px; }
  .door-examples { display: none; }
  .lobby-more { grid-template-columns: 1fr; }
  .chips ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1rem; padding-inline: 1rem; }
  .chips ul::-webkit-scrollbar { display: none; }
  .start-here { margin-inline: -1rem; border-radius: 0; padding-inline: 1rem; }
  ul.cards-start { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -1rem; padding-inline: 1rem; }
  ul.cards-start > li { scroll-snap-align: center; }
  .finder-option { grid-template-columns: auto 1fr; grid-template-areas: "num name" "num when" "num count"; }
}
/* lists on phones (2026-11-09): two smaller cards per row; the shop link stays on the product page */
@media (max-width: 40rem) {
  ul.cards:not(.cards-start) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem .75rem; }  /* Start here keeps its sideways row */
  .card-tile { margin-bottom: .6rem; border-radius: .7rem; }
  .card .card-stamp { left: .4rem; top: .4rem; padding: .05rem .45rem .05rem .3rem; }
  .card-tile figcaption { right: .45rem; bottom: .3rem; max-width: calc(100% - .9rem); }
  .card .card-name { font-size: var(--text-md); }
  .card .card-category, .card .facts { font-size: var(--text-xs); }
  .card .facts { flex-direction: column; gap: 0; }  /* one fact a line: no dot at the start of a wrapped line */
  .card .facts span + span::before { content: none; }
  .card .card-buy { display: none; }
  .card-finder { grid-column: 1 / -1; }
  ul.cards-start { grid-auto-columns: 62%; }
  .filters-q { margin-right: 7.25rem; }
  .filters-more > summary { padding: 0 .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .door { transition: none; }
  .door:hover { transform: none; }
}
/* /check (owner request 2026-11-04): two steps (the product type, then a photo taken with the camera or uploaded); the
   check starts on its own once both are done (static/check.js). Without the script: the file field and a button. */
.check-page { max-width: 40rem; margin: 1rem auto 2rem; }
.check-head h1 { font-size: var(--text-2xl); line-height: 1.1; margin: 0 0 .5rem; }
.check-head .lead { margin: 0 0 1.5rem; }
form.check { display: grid; gap: .9rem; margin: 0 0 1.25rem; }
.check-step { position: relative; display: grid; gap: .35rem; padding: 1.15rem 1.2rem 1.2rem 4rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); }
.check-step:nth-of-type(1) { --tint: #e4edf0; }
.check-step:nth-of-type(2) { --tint: #efe5f0; }
.check-step-num { position: absolute; left: 1.1rem; top: 1.05rem; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; font-family: var(--font-display); font-weight: 600; background: radial-gradient(circle at 35% 30%, #fff 0, var(--tint, #f1ebe6) 75%); }
.check-step-title { font-family: var(--font-display); font-weight: 560; font-size: var(--text-lg); }
.check-hint { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.check-step select { margin-top: .35rem; padding: .65rem .75rem; border-radius: .75rem; font-size: var(--text-md); }
.check-file { font: inherit; margin-top: .35rem; }
.check-choices { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .45rem; }
.check-choices[hidden] { display: none; }
.check-choice { display: grid; justify-items: center; gap: .1rem; padding: 1.15rem .9rem 1.05rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--bg); color: var(--text); font: inherit; text-align: center; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.check-choice:hover { border-color: var(--text); box-shadow: var(--card-shadow); }
.check-choice svg { margin-bottom: .3rem; }
.check-choice-name { font-weight: 700; }
.check-choice-text { font-size: var(--text-sm); color: var(--muted); }
#take-photo { background: var(--text); border-color: var(--text); color: var(--bg); }
#take-photo .check-choice-text { color: inherit; opacity: .75; }
form.is-enhanced .check-file { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
form.is-enhanced .check-submit { display: none; }
.check-camera { display: grid; gap: .6rem; margin-top: .45rem; }
.check-camera[hidden] { display: none; }
.check-camera video { display: block; width: 100%; max-height: 60vh; border-radius: .9rem; background: #000; object-fit: cover; }
.check-camera-actions { display: flex; gap: 1.1rem; align-items: center; }
.check-shoot, .check-submit { padding: .7rem 1.4rem; border-radius: 999px; border-color: var(--text); background: var(--text); color: var(--bg); font-weight: 600; }
.check-shoot:disabled { opacity: .4; cursor: default; }
.check-camera-status { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.check-camera-status[hidden] { display: none; }
.check-picked { display: flex; gap: .9rem; align-items: center; margin-top: .45rem; }
.check-picked[hidden] { display: none; }
#check-preview { display: none; width: 4.5rem; height: auto; border-radius: .5rem; border: 1px solid var(--border); background: var(--bg); }
#check-preview.is-on { display: block; }
.check-picked-text { margin: 0; font-weight: 600; }
.check-actions { display: grid; gap: .6rem; justify-items: start; }
.check-busy { display: flex; gap: .7rem; align-items: center; width: 100%; margin: 0; padding: .9rem 1.1rem; border-radius: 1rem; background: var(--panel); color: var(--text); font-weight: 600; }
.check-busy:not(.htmx-request) { display: none; }
.check-spinner { flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--border); border-top-color: var(--text); animation: check-spin .8s linear infinite; }
@keyframes check-spin { to { transform: rotate(360deg); } }
.check-result.has-result { margin: 0 0 1.25rem; padding: 1.25rem 1.3rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); scroll-margin-top: 1rem; }
.check-verdict { display: flex; gap: .85rem; align-items: center; }
.check-verdict-icon { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; font-weight: 800; font-size: var(--text-lg); }
.verdict-pass .check-verdict-icon { background: var(--pass-bg); color: var(--pass-text); }
.verdict-fail .check-verdict-icon { background: var(--fail-bg); color: var(--fail-text); }
.verdict-needs_review .check-verdict-icon, .verdict-unreadable .check-verdict-icon, .verdict-error .check-verdict-icon { background: var(--warn-bg); color: var(--warn-text); }
.check-verdict .result { margin: 0; font-size: var(--text-md); }
.check-result h2 { font-size: var(--text-md); margin: 1.15rem 0 .3rem; }
.check-ingredients { margin: 1rem 0 .5rem; }
.check-again { border-radius: 999px; font-weight: 600; }
.check-privacy { font-size: var(--text-sm); color: var(--muted); }
@media (max-width: 40rem) {
  .check-step { padding: 3.6rem 1.1rem 1.15rem; }
  .check-step-num { top: 1rem; }
  .check-choices { grid-template-columns: 1fr; }
  .check-choice { grid-template-columns: auto 1fr; grid-template-areas: "icon name" "icon text"; justify-items: start; text-align: left; column-gap: .9rem; padding: .95rem 1rem; }
  .check-choice svg { grid-area: icon; align-self: center; margin: 0; }
  .check-choice-name { grid-area: name; }
  .check-choice-text { grid-area: text; }
}
@media (prefers-reduced-motion: reduce) {
  .check-spinner { animation: none; }
  .check-choice { transition: none; }
}

/* Skin profile (owner request 2026-11-06, web/profile.py): welcome, the question screens, /for-you, the cards' and the
   product page's reasons. Light only, like the rest of the site. */
.finder-bar-fill.q-0 { width: 6%; }
.finder-bar-fill.q-1 { width: 25%; }
.finder-bar-fill.q-2 { width: 50%; }
.finder-bar-fill.q-3 { width: 75%; }
.finder-bar-fill.q-4 { width: 100%; }
.finder-hint { color: var(--muted); font-size: var(--text-sm); text-align: right; }
.finder-extra { margin-top: .9rem; }
.finder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.finder-go { display: flex; gap: 1.1rem; align-items: center; }
.finder-actions button.link-button { padding: 0; border: 0; background: none; color: var(--accent); font-weight: 400; }
.why { margin-top: 1rem; font-size: var(--text-sm); color: var(--muted); }
.suggested { display: inline-block; margin-left: .4rem; padding: 0 .5rem; border-radius: 999px; background: var(--pass-bg); color: var(--pass-text); font-size: var(--text-xs); font-weight: 600; vertical-align: middle; }
.notice-error { border-color: var(--fail-text); color: var(--fail-text); }
.photo-saw { border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); padding: .9rem 1.1rem; margin: 1rem 0; }
.photo-saw-title { font-weight: 700; margin: 0 0 .3rem; }
.photo-saw ul { margin: 0 0 .5rem; padding-left: 1.2rem; }
.avoid { margin-top: 1.25rem; }
.avoid-label { display: block; font-weight: 700; margin-bottom: .4rem; }
.avoid-list { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .35rem; }
.avoid-list li { display: flex; gap: .6rem; align-items: baseline; padding: .45rem .8rem; border: 1px solid var(--border); border-radius: .7rem; background: var(--surface); }
.avoid-list .count { color: var(--muted); font-size: var(--text-sm); margin-right: auto; }
.avoid-add { display: flex; gap: .5rem; }
.avoid-add input { flex: 1; min-width: 0; font: inherit; padding: .55rem .75rem; border: 1px solid var(--border); border-radius: .6rem; }
.avoid-add button { border-radius: .6rem; }
.suggest { list-style: none; margin: .4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.suggest-pick { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: .3rem .8rem; }
.suggest-pick:hover { border-color: var(--text); }
.suggest-pick .count { color: var(--muted); font-size: var(--text-xs); }
.selfie .finder-checks { margin: 1rem 0; }
.selfie-camera video { transform: scaleX(-1); } /* a mirror, as people expect of a selfie; the photo itself is not flipped */
.selfie-picked { margin: .6rem 0 0; color: var(--muted); }
.selfie-picked[hidden] { display: none; }
.selfie-busy { display: flex; gap: .6rem; align-items: center; visibility: visible; margin-top: .8rem; }
.selfie-busy[hidden] { display: none; }
.selfie-send-row { margin-top: .8rem; }
form.is-enhanced .selfie-send-row { display: none; } /* with the script the photo goes as soon as it is chosen */
/* the photo buttons are never greyed out; this line names the box still to tick (profile.js) */
.selfie-need { margin: .6rem 0 0; color: var(--muted); }
.selfie-need[hidden] { display: none; }
.selfie-need.is-warning { color: var(--fail-text); font-weight: 600; }
.finder-check.needs-tick label { border-color: var(--fail-text); box-shadow: inset 0 0 0 1px var(--fail-text); }
.welcome-points { margin: 1.25rem 0; padding-left: 1.2rem; display: grid; gap: .5rem; }
.button-primary { background: var(--text); color: var(--bg); border-color: var(--text); padding: .7rem 1.4rem; border-radius: 999px; font-weight: 600; }
.profile-summary { margin: 1rem 0; }
.profile-links { margin-top: .5rem; }
.for-you { margin: 1rem auto 2rem; }
.for-you-head { max-width: 46rem; }
.for-you-step { border-top: 1px solid var(--border); padding-top: 1.25rem; margin-top: 1.5rem; }
.for-you-step-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; }
.for-you-step-head h2 { margin: 0; }
.for-you-more { margin-top: .75rem; font-weight: 600; }
.card-reasons { list-style: none; margin: .35rem 0; padding: 0; font-size: var(--text-sm); color: var(--pass-text); }
.card-reasons li::before { content: "\2713\00a0"; }
.for-you-line { margin-top: .5rem; padding: .55rem .9rem; border-radius: .7rem; background: var(--pass-bg); color: var(--pass-text); max-width: 46rem; }
.profile-box { border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); padding: .9rem 1.1rem; margin: 1rem 0; }
.profile-box h2 { margin-top: 0; }
.profile-box ul { margin: .3rem 0 .6rem; padding-left: 1.2rem; }
.profile-box .conflict { color: var(--fail-text); font-weight: 600; }
.profile-invite, .lobby-for-you { margin-top: .9rem; }
.lobby-for-you a { font-weight: 600; }
@media (max-width: 40rem) {
  .finder-grid { grid-template-columns: 1fr; }
  .finder-check label { flex-wrap: wrap; }
  .finder-hint { text-align: left; }
  .avoid-add { flex-wrap: wrap; }
  .finder-actions { flex-wrap: wrap; }
}
/* The product page (owner 2026-11-07, "Yes, build it" on docs/mockups/product.html; docs/product_page_report.md):
   the photo beside what a shopper needs, then why it passes, its notes, its ingredients, how it was checked and more
   of its type. A photo on a white studio background melts into the tile (multiply). */
.pdp { --note-dot: #c47a2c; }
.pdp-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.1rem; padding: 0; font-size: var(--text-sm); }
.pdp-crumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--muted); }
.pdp-crumbs a { color: var(--muted); text-decoration: none; }
.pdp-crumbs a:hover { color: var(--text); text-decoration: underline; }
.pdp-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2.75rem; align-items: start; }
.pdp-photo { margin: 0; position: sticky; top: 1rem; }
.pdp-tile { display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--tile); border-radius: .9rem; overflow: hidden; }
.pdp-tile img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.pdp-tile-empty .icon { width: 28%; height: auto; color: var(--muted); opacity: .45; }
.pdp-photo figcaption { margin-top: .45rem; font-size: var(--text-xs); color: var(--muted); }
.pdp-brand { margin: .2rem 0 .4rem; font-size: var(--text-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pdp-brand a { color: var(--muted); text-decoration: none; }
.pdp-brand a:hover { color: var(--text); }
.pdp-name { font-size: var(--text-2xl); line-height: 1.12; margin: 0 0 .45rem; text-wrap: pretty; overflow-wrap: anywhere; }
.pdp-sub { margin: 0 0 1.1rem; color: var(--muted); }
.pdp-stamp { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.25rem; padding: .4rem .9rem .4rem .45rem; background: var(--pass-bg); color: var(--pass-text); border-radius: 999px; font-weight: 600; font-size: var(--text-md); }
.pdp-tick { display: inline-grid; place-items: center; flex: none; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--pass-text); color: #fff; font-size: var(--text-xs); }
.pdp-variants { margin: 0 0 1.1rem; }
.pdp-variants-label { margin: 0 0 .35rem; font-size: var(--text-sm); font-weight: 600; }
.pdp-variants .sizes { margin: 0; }
.pdp-variants .size { padding: .2rem .7rem; font-size: var(--text-sm); }
.pdp-variants-note { margin: .4rem 0 0; font-size: var(--text-sm); color: var(--muted); }
.pdp-variants-more { margin-top: .45rem; font-size: var(--text-sm); }
.pdp-variants-more summary { cursor: pointer; color: var(--accent); }
.pdp-variants-more .sizes { margin-top: .45rem; }
.pdp-buy { display: flex; justify-content: center; align-items: center; gap: .45rem; width: 100%; padding: .9rem 1rem; background: var(--text); color: var(--bg); border-radius: 999px; font-weight: 600; font-size: var(--text-md); text-decoration: none; }
.pdp-buy:hover { opacity: .88; }
.pdp-buy-note { margin: .45rem 0 1.4rem; text-align: center; font-size: var(--text-sm); color: var(--muted); }
.pdp-facts { list-style: none; margin: 0 0 1.4rem; padding: 1rem 0 0; border-top: 1px solid var(--border); display: grid; gap: .45rem; }
.pdp-facts li { position: relative; padding-left: 1.7rem; }
.pdp-facts li::before { content: "✓"; position: absolute; left: .15rem; color: var(--pass-text); font-weight: 700; }
.pdp-facts li.is-present::before { content: "•"; left: .35rem; color: var(--note-dot); }
.pdp-facts a { color: inherit; text-decoration-color: var(--note-dot); text-underline-offset: .2em; }
.pdp-info .profile-box { margin: 0 0 1.4rem; }
.pdp-info .profile-box h2 { font-size: var(--text-md); }
.pdp-info .profile-invite { margin: 0 0 1.4rem; }
.pdp-market { margin: 0; padding-top: 1rem; border-top: 1px solid var(--border); font-size: var(--text-sm); color: var(--muted); }
.pdp-section { border-top: 1px solid var(--border); margin-top: 2.75rem; }
.pdp-section h2 { font-size: var(--text-xl); margin: 1.6rem 0 .55rem; }
.pdp-count { display: inline-block; margin-left: .45rem; vertical-align: .2em; font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; color: var(--muted); background: var(--panel); border-radius: 999px; padding: .1rem .6rem; }
.pdp-lead { color: var(--muted); max-width: 46rem; margin: 0 0 1.1rem; }
.pdp-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; max-width: 46rem; }
.pdp-ticks li { position: relative; padding-left: 2.4rem; color: var(--muted); }
.pdp-ticks li strong { display: block; color: var(--text); }
.pdp-ticks li::before { content: "✓"; position: absolute; left: 0; top: .05rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--pass-bg); color: var(--pass-text); display: grid; place-items: center; font-weight: 700; font-size: var(--text-sm); }
.pdp-reasons { margin-top: 1rem; }
.pdp-notes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: .9rem; }
.pdp-note { background: var(--surface); border: 1px solid var(--border); border-radius: .75rem; padding: 1rem 1.1rem; }
.pdp-note:target, .pdp-names li:target { outline: 2px solid var(--note-dot); outline-offset: 2px; }
.pdp-note-head { display: flex; flex-direction: column; gap: .15rem; }
.pdp-note h3 { margin: 0; font-size: var(--text-md); overflow-wrap: anywhere; }
.pdp-note h3::before { content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .45rem; border-radius: 50%; background: var(--note-dot); vertical-align: .1em; }
.pdp-note-head a, .pdp-note-head span { font-size: var(--text-sm); }
.pdp-note p { margin: .4rem 0 0; font-size: var(--text-sm); color: var(--muted); }
.pdp-note .pdp-note-label { font-size: var(--text-sm); }
.pdp-note details { margin-top: .6rem; font-size: var(--text-sm); }
.pdp-note summary, .pdp-fold > summary, .pdp-printed summary, .pdp-tech summary { cursor: pointer; color: var(--accent); }
.pdp-entry { margin: .5rem 0 0; }
.pdp-entry dt { font-weight: 600; margin-top: .5rem; }
.pdp-entry dd { margin: .1rem 0 0; white-space: pre-line; color: var(--muted); overflow-wrap: anywhere; }
.pdp-fold { margin-top: .9rem; }
.pdp-fold > summary { font-weight: 600; margin-bottom: .9rem; }
.pdp-names { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.pdp-names li { padding: .2rem .75rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: var(--text-sm); }
.pdp-label { color: var(--muted); }
.pdp-inci { columns: 3 12rem; column-gap: 2.5rem; margin: 0 0 1rem; padding-left: 1.7rem; font-size: var(--text-sm); }
.pdp-inci li { break-inside: avoid; padding: .14rem 0; overflow-wrap: anywhere; }
.pdp-inci li::marker { color: var(--muted); font-size: var(--text-xs); }
.pdp-inci a, .pdp-may a { color: var(--text); text-decoration-color: var(--note-dot); text-underline-offset: .2em; }
.pdp-dot { display: inline-block; width: .5rem; height: .5rem; margin-left: .35rem; border-radius: 50%; background: var(--note-dot); vertical-align: .08em; }
.pdp-lead .pdp-dot { margin: 0 .2rem 0 0; }
.pdp-may { font-size: var(--text-sm); color: var(--muted); }
.pdp-raw { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); font-size: var(--text-sm); }
.pdp-rows { display: grid; grid-template-columns: minmax(10rem, max-content) 1fr; margin: 0; max-width: 46rem; }
.pdp-rows dt, .pdp-rows dd { margin: 0; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.pdp-rows dt { font-weight: 600; padding-right: 2rem; }
.pdp-rows dd { overflow-wrap: anywhere; }
.pdp-tech { margin-top: 1.1rem; font-size: var(--text-sm); }
.pdp-tech .pdp-rows { margin-top: .5rem; color: var(--muted); }
.pdp-more { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pdp-more a { display: grid; gap: .25rem; color: var(--text); text-decoration: none; }
.pdp-more a:hover .pdp-more-name { text-decoration: underline; text-underline-offset: .18em; }
.pdp-more-brand { margin-top: .5rem; font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pdp-more-name { font-weight: 600; line-height: 1.3; }
.pdp-more-size { font-size: var(--text-sm); color: var(--muted); }
.pdp-credit { display: block; margin-top: .2rem; font-size: var(--text-xs); color: var(--muted); }
.pdp-see-all { display: inline-block; margin-top: 1.1rem; font-weight: 600; }
@media (max-width: 48rem) {
  .pdp-top { grid-template-columns: 1fr; gap: 1.1rem; }
  .pdp-photo { position: static; }
  .pdp-photo .pdp-tile { aspect-ratio: 5 / 4; }  /* a little shorter, so the name and the Buy button come sooner */
  .pdp-photo .pdp-tile-empty { aspect-ratio: 3 / 1; }  /* no photo: a strip with the type's drawing */
  .pdp-tile-empty .icon { width: auto; height: 45%; }
  .pdp-name { font-size: var(--text-xl); }
  .pdp-stamp { margin-bottom: 1rem; }
  .pdp-section { margin-top: 2.25rem; }
  .pdp-rows { grid-template-columns: 1fr; }
  .pdp-rows dt { border-bottom: 0; padding-bottom: 0; }
  .pdp-rows dd { padding-top: .15rem; }
  .pdp-more { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
  .pdp-more li { scroll-snap-align: start; }
}
