/* Newborn palette. Product wells and primary actions keep their own colors. */
:root {
  color-scheme: light dark;
  --bg: #faf8f4;
  --ink: #203731;
  --grey: #45584f;
  --line: #d7dcd6;
  --accent: #225547;
  --buy: #146044;
  --on-buy: #fffdf5;
  --edge: var(--buy);
  --photo: #f5f5f3;
  --illustration: #eeefe9;
  --illustration-ink: #45584f;
  --shelf-art: var(--illustration);
  --sticky-surface: #f3f5ee;
  --tabs: #fffdf8;
  --art: #505958;
  --paper: #ffffff;
  --shade: rgb(12 29 24 / .38);
  --welcome: #fff0cb;
  --butter: #ffe7aa;
  --ochre: #70531e;
  --sky: #d1e8fa;
  --lake: #3d5e7c;
  --peach: #ffdbcf;
  --clay: #874d3f;
  --sage: #cdebd6;
  --leaf: #426345;
  --salt: #cbeae6;
  --slate: #345c60;
  --lilac: #e8dcf6;
  --plum: #614578;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17211f;
    --ink: #eff3e9;
    --grey: #cbd7cf;
    --line: #394842;
    --accent: #b4dfc8;
    --edge: #92b9a4;
    --photo: #dddfdc;
    --paper: #263631;
    --illustration: #263631;
    --illustration-ink: #b4c7bc;
    --shelf-art: #eff1eb;
    --sticky-surface: #1c2823;
    --tabs: #202d28;
    --welcome: #45351c;
    --butter: #503a17;
    --ochre: #ffe3a2;
    --sky: #193d58;
    --lake: #c9e6ff;
    --peach: #55312c;
    --clay: #ffcebd;
    --sage: #1c442f;
    --leaf: #c3edbe;
    --salt: #164047;
    --slate: #bce8e3;
    --lilac: #423155;
    --plum: #ebd5ff;
    --buy: #a1e4bc;
    --on-buy: #103d2b;
  }
}

[data-tone="mouth"] { --tint: var(--butter); --mark: var(--ochre); }
[data-tone="sleep"] { --tint: var(--sky); --mark: var(--lake); }
[data-tone="skin"] { --tint: var(--peach); --mark: var(--clay); }
[data-tone="diaper"] { --tint: var(--sage); --mark: var(--leaf); }
[data-tone="bath"] { --tint: var(--salt); --mark: var(--slate); }
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.35 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
main { max-width: 560px; margin-inline: auto; padding: 12px 20px 36px; }
.page { display: flow-root; }
.page:focus, main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1 { font-size: 28px; line-height: 1.16; letter-spacing: -.018em; margin: 8px 0 24px; }
.checklist-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 16px 0 3px; }
.checklist-title h1 { margin: 0; }
.checklist-title span, .age, .version, .list-count, .listing-date { color: var(--grey); }
.checklist-title span, .version, .list-count, .listing-date { font-size: 15px; }
.age { margin: 0; }
.start > section { margin-top: 18px; padding: 16px; border-radius: 18px; background: var(--tint); }
.start h2 { color: var(--mark); margin: 0 0 12px; }
.start .grid { row-gap: 12px; }
@media (max-width: 599px) {
  .start > section { padding: 0; }
  .start h2 { margin: 0; padding: 12px 16px; }
  .start .grid { grid-template-columns: 1fr; gap: 0; padding-inline: 10px;
    border-radius: 0 0 18px 18px; background: color-mix(in srgb, var(--bg) 78%, var(--tint)); }
  .start .grid li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    gap: 8px; min-height: 64px; }
  .start .grid li + li { border-block-start: 1px solid var(--line); }
  .start .tile { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px; }
  .start .tile .photo-box { border-radius: 8px; }
  .start .tile > span:last-child { margin: 0; font-size: 15px; line-height: 20px; font-weight: 650; }
  .start .got { min-width: 72px; justify-content: center; }
}
h2 { font-size: 20px; line-height: 1.25; margin: 26px 0 12px; }
p { margin: 0 0 12px; }
button, summary { cursor: pointer; font: inherit; color: inherit; }
button { background: transparent; border: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a, button, summary { min-width: 44px; min-height: 44px; }
a { display: inline-flex; align-items: center; }
summary { width: fit-content; align-content: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.grid, .products, .parts, .checks { list-style: none; margin: 0; padding: 0; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
.grid li { position: relative; }
.tile, .material-tile { display: block; color: inherit; text-decoration: none; }
.tile > span:last-child { display: block; margin-top: 9px; }
.photo, .photo-box { display: block; }
.photo-box {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--illustration);
  border-radius: 16px;
}
.photo-box svg { width: 40%; max-width: 96px; height: auto; color: var(--illustration-ink); }
.photo-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 4%; object-fit: contain;
}
.photo-loaded .photo-box { background: var(--photo); }
.photo-loaded svg { display: none; }
.got { display: inline-flex; align-items: center; gap: 7px; padding: 0; color: var(--grey); font-size: 15px; }
.got span {
  display: grid; place-items: center; width: 17px; height: 17px;
  background: var(--bg); border: 1px solid var(--grey); border-radius: 5px;
}
.got[aria-pressed="true"] { position: relative; isolation: isolate; color: var(--mark); font-weight: 600; }
.got[aria-pressed="true"]::before { content: ""; position: absolute; z-index: -1; inset-inline: 0;
  top: 50%; height: 34px; transform: translateY(-50%); border-radius: 8px; background: var(--tint); }
.got[aria-pressed="true"] span { background: var(--mark); border-color: var(--mark); }
.got[aria-pressed="true"] span::after {
  content: ""; width: 7px; height: 4px; margin-top: -2px;
  border: solid var(--bg); border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.back { text-decoration: none; gap: 8px; padding-right: 6px; }
.back::before {
  content: ""; width: 11px; height: 11px; border: solid currentColor;
  border-width: 0 0 2.5px 2.5px; transform: rotate(45deg);
}
.material-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; margin-bottom: 8px; }
.question { margin: 0; font-size: 18px; font-weight: 600; }
.filter { display: contents; color: var(--grey); font-size: 15px; }
.filter::details-content { grid-column: 1 / -1; }
.filter summary { grid-column: 2; display: inline-flex; align-items: center; gap: 5px; padding-inline: 12px;
  border: 1px solid var(--edge); border-radius: 999px; }
.filter summary::after, .disclosure summary::after {
  content: ""; width: 5px; height: 5px; border: solid currentColor;
  border-width: 0 1px 1px 0; transform: rotate(45deg); margin: -3px 2px 0 3px;
}
.filter[open] summary::after, .disclosure details[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.filters { grid-column: 1 / -1; display: flex; flex-direction: column; margin-top: 8px; padding-block: 4px; box-shadow: inset 0 1px var(--line); }
.toggle { position: relative; display: flex; align-items: center; gap: 8px; color: var(--ink);
  text-align: start; padding: 6px 12px; }
.toggle::before { content: ""; flex: none; box-sizing: border-box; width: 16px; height: 16px;
  border: 1px solid var(--grey); border-radius: 3px; }
.toggle[aria-pressed="true"]::before { background: var(--accent); border-color: var(--accent); }
.toggle[aria-pressed="true"]::after { content: ""; position: absolute; inset-inline-start: 16px; top: 50%;
  width: 7px; height: 4px; border: solid var(--bg); border-width: 0 0 2px 2px; transform: translateY(-65%) rotate(-45deg); }
.material-tile { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.material-photo { width: 64px; flex: none; }
.material-photo .photo-box { border-radius: 12px; outline: 1px solid var(--tint); outline-offset: -1px; }
.family-label { font-size: 16px; line-height: 21px; font-weight: 650; }
.family-label small { display: block; margin-top: 3px; font-size: 13px; line-height: 18px; color: var(--grey); font-weight: 400; }
.chevron { width: 9px; height: 9px; flex: none; margin: 0 4px 0 auto; transform: rotate(-45deg); border: solid var(--grey); border-width: 0 1.5px 1.5px 0; }
.collection h1, .item h1, .family h1 { margin: 8px 0; font-size: 26px; line-height: 31px; }
.list-count { margin: 0; }
.version { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline;
  gap: 8px 16px; margin: 0 0 18px; color: var(--ink); }
.version > strong { text-align: end; font-size: 14px; line-height: 20px; font-weight: 400; }
.version-option { grid-column: 1 / -1; justify-self: start; border: 1.5px solid var(--ink);
  border-radius: 8px; padding: 9px 13px; font-size: 14px; font-weight: 500; }
.listing-date { text-align: center; margin: 7px 0 0; font-size: 13px; }
.other-stores { margin-top: 12px; }
.other-stores > summary { display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 48px; border: 1px solid var(--accent); border-radius: 999px;
  color: var(--accent); font-size: 15px; font-weight: 600; }
.other-stores > summary::-webkit-details-marker { display: none; }
.products {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch; grid-auto-rows: auto; gap: 20px 12px; margin-top: 12px;
}
.product-row { min-width: 0; display: flex; flex-direction: column; }
.product-link { display: block; color: inherit; text-decoration: none; }
.thumbnail .photo-box { border-radius: 14px; }
/* BIBS is transparent beside the white-backed Chicco photo. */
:is(.thumbnail, .thumb, .chip-photo).photo-loaded .photo-box:has(> img[src$="/5000030_5713795220861_BIBS_BottleNipple_SlowFlow_1000x1000_2e9e63a1-d15b-4e3e-a65f-403fe24efd01.png?v=1693212072"]) { background: #fff; }
/* These exact screened images have an internal margin or a white source matte. */
.photo-loaded .photo-box > img[src$="/5oz_infant_rose_1.png?v=1786114358"] { transform: scale(1.2); }
.thumbnail.photo-loaded .photo-box:has(> img[src$="/5oz_infant_rose_1.png?v=1786114358"]) { background: #fff; }
.thumbnail.photo-loaded .photo-box > img[src$="/5oz_infant_rose_1.png?v=1786114358"] { transform: scale(1.38); }
.thumbnail.photo-loaded .photo-box > img[src$="/HEVEA_WideNeckBabyGlassBottlewithSleeve_150ML_milkywhite_f7679288-db1f-4a34-95d3-6b8cf8a889c7.png?v=1790245418"] {
  transform: translateY(-9%) scale(1.2);
}
.hero.photo-loaded .photo-box > img[src$="/5oz_infant_rose_1.png?v=1786114358"] { transform: scale(1.35); }
.photo-loaded .photo-box:has(> :is(
  img[src$="/ESWC40020_0-baby-essentials-cotton-muslin-swaddle-time-to-dream-4pk.jpg?v=1771867391"],
  img[src$="/HEVEA_WideNeckBabyGlassBottlewithSleeve_150ML_milkywhite_f7679288-db1f-4a34-95d3-6b8cf8a889c7.png?v=1790245418"],
  img[src$="/chicco-duo-bottle-medium-flow-nipples-2pk.jpg"],
  img[src$="/HM10008-HTG-Solid-Organic-Cotton-Fitted-Crib-Sheet.jpg?v=1744654005"],
  img[src$="/BHO-WH.jpg?v=1760482469"],
  img[src$="/zfp-om.jpg?v=1760482341"],
  img[src$="/pop-go-pacifiers-night-4412456.jpg?v=1774926667"],
  img[src$="/MHK062_070_Tif.jpg?v=1600117616"],
  img[src$="/AP00239-S00230-4_Pack_SS_Bodysuits_Hummus.jpg?v=1788273110"],
  img[src$="/ly10216-cld-solid-organic-cotton-burp-cloths-5-pack_1.jpg?v=1749672336"],
  img[src$="/web-baby-cribsheet-muslin-arcticsnow-corner_5649af23-ac0d-4129-9274-1cc123e1d294.jpg?v=1777478478"]
)) { background: #fff; }
.photo-loaded .photo-box:has(> :is(
  img[src$="/101-15-infant-unisex-classic-bodysuit-short-sleeve.white.flat_front.jpg?v=1740759976"],
  img[src$="/205-15-knotted-hat.bluen.flat_front_e0709e26-4638-4752-9e96-cab647c4dfd9.jpg?v=1789659308"]
)) { background: #fafafa; }
.photo-loaded .photo-box:has(> img[src$="/M_A_cribsheet-6copy.webp?v=1728309483"]) { background: #f6f6f6; }
.photo-box > :is(
  img[src$="/HM10008-HTG-Solid-Organic-Cotton-Fitted-Crib-Sheet.jpg?v=1744654005"],
  img[src$="/AvocadoOrganicCottonCribSheetOnMattress.jpg?v=1603726352"],
  img[src$="/zfp-om.jpg?v=1760482341"],
  img[src$="/205-15-knotted-hat.bluen.flat_front_e0709e26-4638-4752-9e96-cab647c4dfd9.jpg?v=1789659308"],
  img[src$="/101-15-infant-unisex-classic-bodysuit-short-sleeve.white.flat_front.jpg?v=1740759976"],
  img[src$="/pop-go-pacifiers-night-4412456.jpg?v=1774926667"],
  img[src$="/MHK062_070_Tif.jpg?v=1600117616"]
) { padding: 0; }
.identity { display: block; margin-top: 10px; font-size: 15px; line-height: 20px; }
.identity .brand { display: block; font-size: 13px; line-height: 17px; font-weight: 700; margin-bottom: 3px; }
.card-name { display: block; min-block-size: 0; }
.card-variant { display: block; margin-top: 4px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--grey); }
.card-meta { display: flex; align-items: flex-start; gap: 4px; margin-top: 8px; }
.chip { display: inline-block; border-radius: 12px; background: var(--salt); color: var(--slate);
  font-size: 12px; line-height: 1.25; font-weight: 600; padding: 4px 8px; }
[data-family*="cotton"], [data-family="hemp"] { background: var(--sage); color: var(--leaf); }
[data-family="silicone"], [data-family="silk"] { background: var(--peach); color: var(--clay); }
[data-family="glass"], [data-family="linen"], [data-family="liquid-wash"] { background: var(--sky); color: var(--lake); }
[data-family*="wool"], [data-family^="merino"], [data-family="stainless-steel"] { background: var(--lilac); color: var(--plum); }
[data-family="natural-rubber"], [data-family="latex"] { background: var(--butter); color: var(--ochre); }
.card-meta .chip { max-width: 100%; overflow-wrap: normal; font-size: 12px; line-height: 16px; padding: 4px 7px; }
.buy { font-weight: 600; text-decoration: none; }
.quick { align-self: flex-start; justify-content: center; margin-block-start: auto; padding-inline: 12px;
  font-size: 15px; border: 1px solid var(--edge); border-radius: 999px; }
/* Keep each pair's material and seller aligned below the longer caption. */
:is(.item, .family, .collection) .product-row {
  display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0;
}
:is(.item, .family, .collection) .card-meta { align-self: end; margin-block: 8px; }
.grid-purchase .quick { width: 100%; margin: 0; border-radius: 10px; padding-inline: 8px;
  text-align: center; white-space: normal; font-size: 13px; line-height: 17px; font-weight: 650; }
.product-row .buy-note { margin: 0; }
.product-photo { margin: 0 -20px 6px; }
.hero .photo-box { aspect-ratio: 1; border-radius: 0; }
.hero .photo-box svg { width: 26%; max-width: 112px; }
.hero.photo-loaded .photo-box { background: #fafafa; }
.hero img { padding: 0; }
.photo-open { display: none; }
.photo-loaded .photo-open {
  display: block; position: absolute; inset: 0; z-index: 1; cursor: zoom-in;
}
.photo-open:focus-visible { outline: 3px solid var(--art); outline-offset: -4px; box-shadow: inset 0 0 0 7px var(--photo); }
dialog { color: var(--ink); background: var(--bg); border: 0; font: inherit; }
html:has(dialog[open]) { overflow: hidden; }
.dialog-close { justify-self: end; color: var(--accent); }
.photo-viewer {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0;
  padding: max(8px, env(safe-area-inset-top)) 12px max(8px, env(safe-area-inset-bottom));
}
.photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.viewer-image { min-height: 0; display: grid; place-items: center; container-type: size; cursor: zoom-out; }
.viewer-image img { position: static; inline-size: auto; block-size: auto; max-inline-size: 100%; max-block-size: 100%;
  padding: 0; background: var(--photo); border-radius: 12px; }
.viewer-image img[src$="/5oz_infant_rose_1.png?v=1786114358"] { inline-size: min(100cqw, 100cqh); aspect-ratio: 1; }
.viewer-credit { text-align: center; }
.viewer-credit p { margin: 0; }
.product-title { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.product-title .brand { color: var(--mark); font-size: 14px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; }
.product h1 { font-size: 20px; line-height: 25px; letter-spacing: -.015em; font-weight: 500; margin: 5px 0 0; }
.product-title .save-heart { position: static; }
.material-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px;
  margin: 7px 0 20px; color: var(--grey); font-size: 14px; }
.material-summary small { font-size: 12px; }
.show-more > summary { width: fit-content; color: var(--accent); font-size: 14px; text-decoration: underline; }
.show-more:not([open]) > summary > :last-child, .show-more[open] > summary > :first-child { display: none; }
.show-more[open] > summary { margin-bottom: 4px; }
.made ul { list-style: none; margin: 0; padding: 0; }
.made-part { display: grid; gap: 2px; padding-block: 6px; font-size: 15px; line-height: 21px; }
@media (min-width: 375px) {
  .made-part:not(:only-child, .stacked) { grid-template-columns: clamp(76px, 24%, 96px) minmax(0, 1fr); gap: 10px; }
}
.made-part b { align-self: start; }
.made-part b { display: block; font-size: 13px; line-height: 17px; font-weight: 500; }
.buy-note { color: var(--grey); font-size: 14px; }
.maker-label { color: var(--grey); font-size: 13px; line-height: 18px; font-weight: 600; margin: 0 0 6px; }
.ingredient-jump { align-self: flex-start; margin: 0 0 16px; padding: 0; color: var(--accent); text-decoration: underline; }
.filter-indicator { color: var(--grey); font-size: 15px; }
.filter-indicator button { color: var(--accent); text-decoration: underline; }
.cta + .buy-note { margin-top: 6px; }
.cta { display: flex; width: 100%; min-height: 56px; justify-content: center; border-radius: 999px; background: var(--buy); color: var(--on-buy); border: 1px solid var(--edge); padding: 10px 16px; }
.how, .disclosure summary {
  display: flex; justify-content: center; align-items: center; width: fit-content;
  margin: 32px auto 0; color: var(--grey); font-size: 15px; text-decoration: none;
}
.filter summary::-webkit-details-marker, .disclosure summary::-webkit-details-marker { display: none; }
.disclosure { margin: 40px 0 0; color: var(--grey); font-size: 14px; text-align: center; }
.disclosure summary { font-size: 13px; margin-top: 0; }
.disclosure p { max-width: 40ch; margin: 6px auto; }
.page { min-height: calc(100svh - var(--tabs-height) - 48px); display: flex; flex-direction: column; }
.page > .disclosure { padding-top: 36px; margin-top: auto; }
.page > .back {
  align-self: stretch; margin: -12px -20px 0; padding: 0 20px;
  background: var(--tint, var(--sage)); color: var(--ink);
}
.page:is(.start, .collection, .item, .family, .product) > .back { align-self: flex-start; margin: -12px 0 12px; padding: 0 6px 0 2px;
  background: var(--bg); color: var(--grey); font-size: 14px; line-height: 20px; font-weight: 600; }
.page:is(.start, .collection, .item, .family) > .back { margin-bottom: 0; }
.page:is(.collection, .item, .family) h1 { color: var(--mark); }
.page:is(.start, .collection, .item, .family, .product) > .back::before { width: 8px; height: 8px; border-width: 0 0 1.5px 1.5px; }
.evidence { border-top: 1px solid var(--line); margin-top: 14px; }
.evidence .meta, .section-label, .photo-credit, .claim footer { color: var(--grey); }
.photo-credit a, .claim footer, .footnote, .mark, .section-label, .exact small { font-size: 15px; }
.part, .checks li, .rules > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.part b, .part q, .part .unknown, .part .status, .claim-part { display: block; }
.claim { padding: 0 0 0 14px; margin: 18px 0; border-left: 2px solid var(--line); }
.claim-part { font-weight: 600; margin-bottom: 4px; }
.mark > * + * { margin-left: 6px; }
.checks p { margin: 8px 0 0; }
.actions .store-row { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.store-row small { display: block; margin-top: 2px; font-weight: 400; color: var(--grey); }
.other-stores .actions { margin: 0 0 12px; }
.compare-hint { margin: 0 0 6px; color: var(--grey); font-size: 13px; }
.compare-frame { position: relative; }
.more-columns .compare-frame::after {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 14px; pointer-events: none;
  background: var(--bg); box-shadow: -2px 0 4px color-mix(in srgb, var(--ink) 14%, transparent);
}
.compare-wrap { position: relative; max-width: 100%; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; }
.compare th, .compare td { min-width: 8em; padding: 8px; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare th:first-child { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--bg);
  min-width: 132px; width: 132px; max-width: 132px; }
@media (max-width: 599px) {
  .compare { font-size: 14px; line-height: 19px; }
  .compare :is(th, td) { padding: 6px 4px; }
  .compare th:first-child { min-width: 120px; width: 120px; max-width: 120px; }
  .compare th { font-weight: 650; }
  .compare :is(th, td):is(:nth-child(2), :nth-child(3)) { min-width: 108px; width: 108px; max-width: 108px; }
}
.compare th[scope="row"] { padding-block: 6px; }
.compare th[scope="row"] span { display: block; }
.compare .t-brand { font-size: 12px; line-height: 16px; font-weight: 650; }
.compare .t-name { margin-top: 2px; font-size: 13px; line-height: 17px; font-weight: 550; }
.compare .t-variant { margin-top: 2px; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--grey); }
.compare .compound { display: inline-block; vertical-align: top; max-width: 100%; }
.comparison { margin: 20px 0; }
.rules { margin: 0; }
.rules dt { font-weight: 600; }
.rules dd { margin: 4px 0 0; }
.criteria li { margin: 8px 0; }
.loading { color: var(--grey); }

.source-jump { display: flex; width: fit-content; font-size: 14px; line-height: 20px; }
.part-source .claim-part { font-size: 14px; line-height: 19px; font-weight: 650; margin-block: 0 4px; scroll-margin-block-start: 8px; }
.part-source { margin-top: 8px; }
.source-group { padding-inline-start: 12px; border-inline-start: 2px solid var(--line); }
.source-group + .source-group { margin-top: 14px; }
.citation { display: grid; gap: 0; margin-bottom: 8px; color: var(--grey); font-size: 15px; }
.source-date time { white-space: nowrap; }
.product-details .claim { margin-block: 16px; }
.source-date { font-size: 13px; line-height: 18px; }
.part-source .quote::before { content: open-quote; }
.part-source .quote::after { content: close-quote; }
.source-group .claim { border: 0; padding: 0; margin: 0; }
.part-source .citation { margin-bottom: 6px; border-block-end: 1px solid var(--line); }
.part-source .claim { padding-block: 8px; }
.part-source .claim + .claim { border-block-start: 1px solid var(--line); }
.part-source .quote { font-size: 15px; line-height: 21px; }
.source-group .quote, .source-group .footnote { margin: 0; }
.evidence > details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.product-details > :is(.exact, .photo-proof, .comparison) > summary, .part-source > summary, .evidence > details > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 52px; font-size: 18px; font-weight: 600;
}
.product-details > :is(.exact, .photo-proof, .comparison) > summary::-webkit-details-marker, .part-source > summary::-webkit-details-marker, .evidence > details > summary::-webkit-details-marker { display: none; }
.product-details > :is(.exact, .photo-proof, .comparison) > summary::after, .part-source > summary::after, .evidence > details > summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin: -4px 4px 0;
  border: solid var(--grey); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.product-details > :is(.exact, .photo-proof, .comparison)[open] > summary::after, .part-source[open] > summary::after, .evidence > details[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
.part-source > summary { min-height: 44px; font-size: 14px; color: var(--accent); }
.product-details > :is(.exact, .photo-proof, .comparison) > summary { min-height: 44px; font-size: 15px; line-height: 20px; font-weight: 600; }
.product-details > :is(.exact, .comparison) { border-block-start: 1px solid var(--line); }
.product-details > .meta { font-size: 14px; line-height: 19px; color: var(--grey); margin-bottom: 8px; }
.product-details > .meta span { display: inline-block; max-width: 100%; }
.product-details > h2 { font-size: 17px; line-height: 21px; margin: 10px 0 4px; }
.product .how { margin-top: 14px; }
.sticky-buy {
  position: sticky; bottom: var(--tabs-height); z-index: 2; margin: 6px -20px 0; /* Space for the last footer link's focus ring. */
  background: var(--sticky-surface); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 12px rgb(10 30 20 / .12); padding: 6px 20px;
}
.sticky-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 8px; }
@media (max-width: 599px) {
  .sticky-row { grid-template-columns: minmax(0, 1fr) fit-content(44%); }
}
.sticky-identity { display: grid; gap: 2px; }
.sticky-variant { font-size: 12px; line-height: 16px; color: var(--grey); }
.sticky-row strong { font-size: 14px; line-height: 18px; font-weight: 650; }
.sticky-link {
  justify-content: center; text-align: center; min-width: 0; max-inline-size: min(48vw, 250px); min-block-size: 44px; padding: 8px 10px; font-size: 14px; line-height: 18px; overflow-wrap: anywhere;
  border-radius: 999px; background: var(--buy); color: var(--on-buy); border: 1px solid var(--edge);
}
.sticky-row .buy-note { grid-column: 1 / -1; margin: 0; }
main:has(.sticky-buy) { padding-bottom: 0; }
.evidence .comparison { margin: 0; }

.why-open {
  align-self: flex-start; padding: 0; margin-top: 8px;
  color: var(--grey); font-size: 15px; text-decoration: underline; text-underline-offset: 3px;
}
.why-sheet {
  width: min(100%, 480px); max-width: 100%; max-height: 85dvh;
  margin: auto auto 0; padding: 12px 20px max(16px, env(safe-area-inset-bottom));
  border-radius: 16px 16px 0 0;
}
.why-sheet::backdrop { background: var(--shade); }
.why-sheet header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.why-sheet h2 { margin: 0; }
.why-sheet .filtered-count { color: var(--grey); font-size: 15px; }
.why-sheet .rules > div { border-bottom: 0; }
.why-sheet > a { font-size: 15px; }

/* Product browsing */
main:has(.landing) { max-width: 960px; padding-top: 6px; }
.welcome { display: grid; grid-template-columns: minmax(0, 1fr) 78px;
  align-items: center; gap: 8px 12px; padding: 12px 16px; background: var(--welcome); border-radius: 16px; }
.wordmark { color: var(--accent); font-size: 22px; font-weight: 700; letter-spacing: -.035em; }
.welcome h1 {
  color: var(--ink); margin: 0;
  font-size: 34px; line-height: 36px; letter-spacing: -.045em;
}
.welcome p { grid-column: 1 / -1; font-size: 15px; line-height: 20px; margin: 0; }
.welcome-art { min-width: 0; }

.welcome-photo .photo-box { border-radius: 50%; }
.welcome-photo img { padding: 2%; }
.start-link {
  grid-column: 1 / -1;
  width: fit-content; white-space: nowrap; gap: 8px; justify-content: center; text-decoration: none;
  font-size: 15px; font-weight: 600; color: var(--on-buy); background: var(--buy); border: 1px solid var(--edge);
  border-radius: 999px; padding: 8px 13px;
}
.start-link span { font-size: 18px; }
.rail {
  list-style: none; margin: 0; padding: 5px 20px 6px 5px;
  display: grid; grid-auto-flow: column; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 4px;
  scrollbar-width: thin; scrollbar-color: var(--grey) transparent;
}
.rail > li { scroll-snap-align: start; min-width: 0; }
.shop-items, .shelf { min-width: 0; }
.shop-items h2, .shelf h2 {
  margin: 0; font-size: 22px; line-height: 1.16; letter-spacing: -.03em;
}
.shop-items { margin-top: 8px; }
.shop-items header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rail-controls { display: flex; flex: none; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--edge); }
.rail-controls button { display: grid; place-items: center; width: 44px; height: 44px; color: var(--accent); }
.rail-prev { border-radius: 22px 0 0 22px; }
.rail-next { border-radius: 0 22px 22px 0; box-shadow: inset 1px 0 var(--edge); }
.rail-controls button:focus-visible, .field-clear:focus-visible { outline-offset: -4px; }
.rail-controls svg { width: 16px; height: 16px; }
.rail-controls button:disabled { cursor: default; }
.rail-controls button:disabled svg { color: var(--grey); opacity: .6; }
.chip-rail { min-height: 84px; grid-auto-columns: calc((100% - 16px) / 3); column-gap: 8px; align-items: start;
  padding: 0; scroll-padding-inline: 0; }
.item-chip:focus-visible { outline-offset: -3px; border-radius: 8px; }
.item-chip {
  display: block; color: inherit; text-align: center; font-size: 13px; line-height: 15px;
  font-weight: 600; text-decoration: none; overflow-wrap: normal; padding: 2px 4px; color: var(--mark);
}
.chip-photo { width: 48px; margin: 0 auto 2px; }
.chip-photo .photo-box { border: 1px solid var(--mark); border-radius: 50%; }
.shelf { background: var(--bg); margin-top: 14px; }
.shop-items + .shelf { margin-top: 12px; }
.shelf h2 { color: var(--mark); }
.shelf header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.shelf header a { gap: 5px; flex: none; font-size: 14px; font-weight: 600; text-decoration: none; }
.shelf header a span { font-size: 19px; }
.card-rail { grid-auto-columns: calc((100% - 48px) / 2); column-gap: 12px; padding-inline: 0; }
.card-rail:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-rail .photo:not(.photo-loaded) .photo-box { background: var(--shelf-art); }
.card-rail .photo-box svg { width: 54%; color: #45584f; }
.card-rail .photo-box .shelf-textile { width: 81%; max-width: none; }
.card-rail .card-meta { margin-block-start: 6px; }
.card-rail .caption-peek:not(:focus-within) :is(.identity, .card-meta, .rating) {
  mask-image: linear-gradient(to right, black calc(var(--caption-edge) - 34px), transparent calc(var(--caption-edge) - 24px));
}
.card-rail .product-link:focus-visible { outline-offset: -3px; }
@media (max-width: 365px) {
  .welcome { grid-template-columns: 1fr; }
  .welcome-art { display: none; }
}
@media (min-width: 600px) {
  .chip-rail { grid-auto-columns: calc((100% - 32px) / 5); }
  .card-rail { grid-auto-columns: min(210px, calc((100% - 48px) / 2)); }
}

.disclosure nav { display: flex; justify-content: center; gap: 20px; }
.notice-links { list-style: none; padding: 0; }
.notice-links li + li { border-top: 1px solid var(--line); }
.notice { line-height: 1.5; }
.beta-label { display: inline-block; padding: 2px 9px; border-radius: 20px;
  background: var(--peach); color: var(--clay); font-size: 14px; font-weight: 600; }

.rating { color: var(--grey); font-size: 14px; margin: 0; }
.rating a { color: inherit; }
.rating time { white-space: nowrap; }

/* Both the fixed navigation and the purchase bar reserve their full height. */
:root { --tabs-height: calc(64px + env(safe-area-inset-bottom)); }
body { padding-bottom: var(--tabs-height); }
.sticky-link:focus-visible { outline-color: var(--on-buy); outline-offset: -4px; }
#newborn-tabs {
  position: fixed; inset: auto 0 0; z-index: 3; display: flex; justify-content: center;
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  border-top: 1px solid var(--line); background: var(--tabs);
}
#newborn-tabs:empty { display: none; }
#newborn-tabs a {
  display: flex; flex: 1 1 0; max-width: 140px; min-height: 63px;
  flex-direction: column; justify-content: center; gap: 2px;
  font-size: 13px; line-height: 17px; font-weight: 550; color: var(--grey); text-decoration: none;
}
#newborn-tabs [aria-current] { color: var(--buy); font-weight: 700; }
#newborn-tabs a:focus-visible { outline-offset: -4px; border-radius: 10px; }
.tab-icon { position: relative; display: grid; place-items: center; width: 48px; height: 28px; border-radius: 14px; }
[aria-current] .tab-icon { background: var(--sage); color: var(--leaf); }
.tab-icon svg, .search-field svg { width: 24px; height: 24px; flex: none; }
.tab-badge { position: absolute; right: -6px; top: -2px; min-width: 16px; text-align: center; background: var(--tabs); color: var(--accent); border: 1px solid var(--edge); border-radius: 9px; padding: 0 3px; font-size: 10px; line-height: 14px; white-space: nowrap; }
.product-row { position: relative; }
.save-heart {
  position: absolute; right: 4px; top: 4px; z-index: 1;
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0;
  border-radius: 50%; color: var(--accent);
}
.save-heart svg {
  width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--bg);
}
.save-heart[aria-pressed="true"] svg { fill: currentColor; }
.search h1, .saved h1 { margin: 20px 0 16px; }
.search-field { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 1px 0 14px;
  color: var(--grey); background: var(--bg); border: 1px solid var(--edge); border-radius: 14px; }
.search-field:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.search-field input { width: 100%; min-width: 0; min-height: 46px; font: inherit; border: 0; color: var(--ink); background: transparent; outline: none; }
.search-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.field-clear { display: grid; place-items: center; flex: 0 0 44px; height: 44px; color: var(--accent); border-radius: 12px; }
.field-clear[hidden] { display: grid; visibility: hidden; }
.search-field .field-clear svg { width: 16px; height: 16px; }
.search-field input::placeholder { color: var(--grey); opacity: 1; }
.search-count { margin: 0; color: var(--grey); font-size: 13px; line-height: 18px; }
.list-results .products { display: block; margin-top: 4px; }
.list-results .product-row { --thumb-size: 48px; display: grid; align-items: start;
  grid-template-columns: var(--thumb-size) minmax(0, 1fr) 44px; grid-template-rows: 44px auto; column-gap: 12px;
  padding-block: 8px; border-bottom: 1px solid var(--line); }
.search .product-row { padding-block: 6px; }
.search .identity .brand { margin-bottom: 2px; }
.saved .product-row { grid-template-rows: 44px minmax(44px, auto); }
.list-description { grid-column: 1 / 3; grid-row: 1 / 3; min-width: 0; }
.list-description .product-link { display: grid; grid-template-columns: var(--thumb-size) minmax(0, 1fr);
  column-gap: 12px; align-items: start; }
.list-description .product-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.list-description .identity { margin: 0; align-self: end; }
.list-description .thumbnail { width: var(--thumb-size); }
.list-description .thumbnail .photo-box { border-radius: 10px; }
.list-description .thumbnail svg { width: 64%; }
.list-description .card-meta { flex-wrap: wrap; align-items: center; align-content: center; min-height: 44px; margin: 3px 0 0; }
.list-description :is(.card-meta, .rating) { margin-inline-start: calc(var(--thumb-size) + 12px); }
.list-results .save-heart { position: static; grid-column: 3; grid-row: 1; }
.list-results .quick { grid-column: 3; grid-row: 2; align-self: end; font-size: 14px; line-height: 18px; margin: 0; padding: 0; border: 0; text-decoration: underline; }
.saved .card-variant .pack-term { display: inline-block; max-width: 100%; }
.saved .quick { position: relative; align-items: center; text-decoration: none; font-size: 13px; }
.saved .quick::before {
  content: ""; position: absolute; width: 38px; height: 30px; box-sizing: border-box;
  inset: 0; margin: auto; border: 1px solid var(--edge); border-radius: 8px;
}
.query-match { font-weight: 650; }
.match-item { font-size: 12px; line-height: 16px; color: var(--grey); }
.saved .product-row:last-child { border-block-end: 0; }
.list-results .buy-note { grid-column: 2 / -1; margin-top: 6px; }
.saved:has(.saved-prompt) h1 { margin-bottom: 12px; }
.saved-prompt { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 8px 12px;
  padding: 16px; border-radius: 12px; background: var(--illustration); }
.saved-prompt svg { width: 24px; height: 24px; color: var(--accent); }
.saved-prompt p { margin: 0; color: var(--ink); }
.saved-prompt :is(a, button) { grid-column: 2; justify-self: start; border: 1px solid var(--edge); border-radius: 999px; padding-inline: 16px; text-decoration: none; }
.page:is(.saved, .collection, .item, .family, .search:has(.empty-list)) > .disclosure {
  margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line);
}
.saved .empty-list { margin: 0; row-gap: 12px; }
.saved-prompt a { justify-content: center; inline-size: min(128px, 100%); background: var(--buy); color: var(--on-buy);
  font-size: 14px; line-height: 18px; font-weight: 650; }
.search-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 8px; }
.search-scopes:not(:empty, [hidden]) { display: flex; gap: 6px; }
.search-scopes:empty { display: none; }
.search-scopes button { flex: none; white-space: nowrap; }
.search-tools.compact { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 8px; }
.compact .scope-trigger { grid-area: 1 / 2; display: inline-flex; align-items: center; gap: 8px;
  max-inline-size: min(62vw, 240px); text-align: start; }
.scope-trigger::after { content: ""; flex: 0 0 8px; width: 8px; height: 8px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.scope-trigger[aria-expanded="true"]::after { transform: rotate(225deg); }
.scope-trigger.has-scope { background: var(--sage); color: var(--leaf); border-color: var(--leaf); font-weight: 600; }
.compact .search-feedback { grid-area: 1 / 1; }
.compact .search-count { margin: 0; }
.scope-panel { display: contents; }
.compact .scope-panel:has(.search-scopes:not([hidden])) {
  display: flex; flex-direction: column; position: absolute; inset: calc(100% + 8px) 0 auto auto; z-index: 2;
  width: 100%; padding: 8px; max-height: min(248px, 38dvh); overflow: hidden;
  background: var(--bg); border: 1px solid var(--edge); border-radius: 14px;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--ink) 18%, transparent);
}
.compact .search-scopes:not([hidden]) {
  flex-direction: column; gap: 0; margin: 0;
  max-height: calc(min(248px, 38dvh) - 20px); overflow-y: auto; overscroll-behavior: contain;
  scrollbar-color: var(--grey) var(--bg);
}
.compact .scope-panel:has(.search-scopes:not([hidden]))::after { content: ""; flex: 0 0 18px; }
.compact .scope-panel.more-options .search-scopes { mask-image: linear-gradient(to bottom, #000 calc(100% - 7px), transparent); }
.compact .scope-panel.more-options::after { background: linear-gradient(var(--bg), color-mix(in srgb, var(--bg) 94%, var(--ink))); }
.compact .scope-panel.more-options::before {
  content: ""; position: absolute; right: 14px; bottom: 7px; width: 7px; height: 7px; pointer-events: none;
  border: solid var(--grey); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.search .list-results[inert] { position: relative; }
.search .list-results[inert]::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 46%, transparent); }
.compact .search-scopes button { text-align: start; white-space: normal; border: 0; border-radius: 0; }
.compact .search-scopes button + button { box-shadow: inset 0 1px var(--line); }
.compact .search-scopes button[aria-pressed="true"] { border-radius: 10px; }
.compact .search-scopes button:focus-visible { outline-offset: -3px; }
.search-tools [hidden] { display: none; }
.search-scopes button, .scope-trigger { border-radius: 999px; padding-inline: 12px; border: 1px solid var(--edge); font-size: 14px; line-height: 18px; }
.search-scopes [aria-pressed="true"] { background: var(--sage); color: var(--leaf); font-weight: 700; border-color: var(--leaf); }
.search-feedback:not(.empty-list) :is(svg, button) { display: none; }
.search .saved-prompt { flex: 1 0 100%; margin: 4px 0 0; }
.search .saved-prompt .search-count { font-size: 17px; line-height: 24px; }
.search-feedback .clear-search { color: var(--accent); }
.empty-list { color: var(--grey); margin: 28px 0; }
.disclosure nav { flex-wrap: wrap; gap: 0 16px; }

/* Each gallery page keeps the square photo and its own linked credit together. */
.photo-track { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.photo-track::-webkit-scrollbar { display: none; }
.photo-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.photo-slide .photo-credit { margin: 0; padding-inline: 20px; text-align: center; }
.photo-slide .credit { display: inline-flex; align-items: center; min-height: 44px; }
.photo-dots { display: flex; justify-content: center; flex-wrap: wrap; }
.photo-dots button { width: 44px; height: 44px; display: grid; place-items: center; }
.photo-dots button::after { content: ""; width: 8px; height: 8px; border: 1px solid var(--grey); border-radius: 50%; }
.photo-dots [aria-current="true"]::after { background: var(--ink); border-color: var(--ink); }
.offer { margin-block: 7px; color: var(--ink); overflow-wrap: anywhere; }
.offer strong { font-size: 1.18em; font-weight: 650; }
.offer s, .offer small { color: var(--grey); }
.offer small { display: block; line-height: 1.35; font-size: 12px; margin-top: 3px; }
.product-title + .offer { margin-block: 9px 12px; }
.product-title + .offer strong { font-size: 22px; }
.list-description .offer { margin-inline-start: calc(var(--thumb-size) + 12px); }
.maker-text { white-space: pre-line; overflow-wrap: anywhere; }
.maker-text :is(p, ul) { margin-block: .6em; }
.maker-attribution { color: var(--grey); font-size: 14px; }

/* Shared navigation */
#oak-header {
  position: sticky; top: 0; z-index: 4; padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--line); background: var(--bg);
}
#oak-header .welcome-brand, .item-strip { max-width: 960px; margin-inline: auto; }
.welcome-brand { display: flex; align-items: center; gap: 4px; padding: 2px 12px; background: var(--bg); }
#oak-header .wordmark { text-decoration: none; }
.skip-content {
  position: absolute; z-index: 2; left: 12px; top: 0; padding-inline: 12px; transform: translateY(-150%);
  color: var(--bg); background: var(--accent); border-radius: 6px;
}
.skip-content:focus { top: max(4px, env(safe-area-inset-top)); transform: none; }
.page > .back:focus-visible, .header-action:focus-visible { outline-offset: -3px; }
.header-actions { display: flex; margin-inline-start: auto; }
.header-action {
  width: 44px; height: 44px; position: relative; display: inline-grid; place-items: center;
  color: var(--ink); border-radius: 50%; text-decoration: none;
}
.header-action svg, #oak-menu svg { width: 22px; height: 22px; }
.header-action small:not([hidden]) {
  position: absolute; inset: 1px 0 auto auto; min-width: 16px; padding: 0 4px;
  background: var(--accent); color: var(--bg); border-radius: 999px; text-align: center;
  font-size: 11px; line-height: 16px; font-weight: 700;
}
.item-strip { position: relative; }
.item-strip::before, .item-strip::after {
  content: ""; position: absolute; inset-block: 0; width: 14px; pointer-events: none; z-index: 1;
}
.item-strip.more-left::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.item-strip.more-right::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.item-pills {
  display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 2px; scroll-padding-inline: 16px;
  scrollbar-width: none; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
}
.item-pills::-webkit-scrollbar { display: none; }
.item-pills a { flex: none; scroll-snap-align: start; text-decoration: none; color: var(--ink); }
.item-pills a span {
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  padding: 5px 12px; font-size: 14px; line-height: 18px; font-weight: 600;
}
.item-pills a[aria-current] span { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.item-pills a:focus-visible { outline: none; }
.item-pills a:focus-visible span { outline: 2px solid var(--accent); outline-offset: 2px; }
#oak-menu {
  position: fixed; inset: 0 auto 0 0; margin: 0; width: min(320px, 90vw); max-width: none;
  height: 100%; height: 100dvh; max-height: none; padding: 0 18px max(16px, env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
}
#oak-menu::backdrop { background: var(--shade); }
@media (prefers-reduced-motion: no-preference) {
  #oak-menu[open] { animation: oak-drawer-in .18s ease-out; }
  @keyframes oak-drawer-in { from { transform: translateX(-100%); } }
}
.menu-title { display: flex; align-items: center; justify-content: space-between; padding-top: max(8px, env(safe-area-inset-top)); }
.menu-title h2 { margin: 0; font-size: 22px; }
#oak-menu nav a, #oak-menu summary { display: flex; align-items: center; width: 100%; color: var(--ink); text-decoration: none; }
#oak-menu nav > a { gap: 14px; font-weight: 600; }
#oak-menu nav svg { color: var(--accent); }
.menu-groups { border-block: 1px solid var(--line); padding-block: 8px; margin-block: 8px; }
#oak-menu summary { justify-content: space-between; font-weight: 600; list-style: none; }
#oak-menu summary::-webkit-details-marker { display: none; }
#oak-menu summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-inline-end: 8px; }
#oak-menu details[open] summary::after { transform: rotate(225deg); }
#oak-menu details a { padding-inline-start: 16px; font-size: 15px; }

.saved .unlisted-row { grid-template-rows: auto; align-items: center; }
.saved .unlisted-row > span { grid-column: 1 / 3; }
