:root {
  --shelf-ink: #16181c;
  --shelf-muted: #505968;
  --shelf-blue: #283a6e;
  --shelf-line: #d6dce6;
  --shelf-paper: #f3f0ea;
}
body { margin: 0; background: #fff; color: var(--shelf-ink); font-family: 'IBM Plex Sans', sans-serif; }
.shelf-shell { max-width: 1140px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.shelf-header { border-bottom: 1px solid var(--shelf-line); }
.shelf-header .shelf-shell { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; min-height: 66px; gap: 6px 24px; }
.shelf-wordmark { color: var(--shelf-blue); font-size: 24px; font-weight: 600; letter-spacing: -.035em; text-decoration: none; }
.shelf-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 16px; }
.shelf-header nav a { display: flex; align-items: center; min-height: 44px; color: var(--shelf-blue); text-underline-offset: 5px; text-decoration: none; font-size: .9375rem; }
.shelf-header nav a[aria-current] { font-weight: 600; text-decoration: underline; }
.shelf-home, .shelf-method-link { display: inline-flex; align-items: center; min-height: 44px; }
.shelf-home { text-decoration: none; }
.shelf-method-link { color: var(--shelf-blue); font-size: .9375rem; font-weight: 500; text-decoration: none; text-underline-offset: 4px; }
.shelf-method-link:hover { text-decoration: underline; }
main.shelf-shell { padding-top: clamp(22px, 5vw, 54px); padding-bottom: 60px; }
main.ingredient-shelf { padding-top: clamp(12px, 2vw, 24px); }
.shelf-back { display: inline-block; margin-bottom: 18px; color: var(--shelf-blue); font-weight: 500; text-decoration: none; }
.shelf-shell h1 { margin: 0 0 16px; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.035em; }
.shelf-section > h2, .shelf-services > h2 { margin: 0 0 20px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.14; letter-spacing: -.02em; }
.shelf-intro p { margin: 10px 0; max-width: 66ch; color: var(--shelf-muted); }
.shelf-intro .shelf-lead { color: var(--shelf-ink); font-size: 1.125rem; }
.shelf-intro .shelf-notice { max-width: none; margin-top: 22px; padding: 14px 18px; border-top: 1px solid var(--shelf-line); background: var(--shelf-paper); }
.shelf-section, .shelf-services { margin-top: clamp(36px, 6vw, 72px); padding-top: 18px; border-top: 3px solid var(--shelf-blue); }
.shelf-services.ux-services { container-type: inline-size; }
.shelf-services > p { margin: -8px 0 20px; color: var(--shelf-muted); }
.shelf-services .ux-service-ticket { border-radius: 12px; box-shadow: none; }
.shelf-services .ux-service-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: minmax(2.6em, auto) 1fr;
  align-items: center;
  column-gap: 12px;
  min-height: 110px;
  padding: 14px clamp(14px, 2cqi, 22px);
}
.shelf-services .ux-service-top .ux-services-eyebrow { grid-column: 1 / -1; align-self: start; min-height: 0; margin: 0; line-height: 1.3; }
.shelf-services .ux-service-top h2 { grid-column: 1; grid-row: 2; margin: 0; font-size: clamp(20px, 2.6cqi, 29px); font-weight: 600; line-height: 1.1; letter-spacing: -.025em; overflow-wrap: break-word; }
.shelf-services .ux-service-price { grid-column: 2; grid-row: 2; align-self: center; }
.shelf-services .ux-service-price strong { font-size: clamp(32px, 4.3cqi, 49px); line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.shelf-services .ux-service-body { padding: 16px clamp(14px, 2cqi, 22px) 20px; gap: 12px; }
.shelf-services .ux-service-time { min-height: 2.8em; }
.shelf-services .ux-service-details { gap: 9px; }
.shelf-services .ux-service-details > div { padding-top: 9px; }
.shelf-services .ux-service-gate { grid-column: 1 / -1; }
@container (min-width: 850px) {
  .shelf-services .ux-service-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelf-services .ux-service-body .ux-service-actions .vt-btn { min-width: 0; padding-inline: 8px; }
}
@container (max-width: 730px) {
  .shelf-services .ux-services-deck { grid-template-columns: minmax(0, 1fr); }
  .shelf-services .ux-service-top { grid-template-rows: auto auto; min-height: 0; row-gap: 7px; }
  .shelf-services .ux-service-time { min-height: 0; }
}
.shelf-shell a:focus-visible { outline: 2px solid var(--shelf-blue); outline-offset: 3px; }
.shelf-comparisons, .shelf-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.shelf-comparisons li { border-top: 1px solid var(--shelf-line); padding: 14px 0; font-weight: 600; }
.shelf-comparisons p { color: var(--shelf-muted); margin: 7px 0 0; font-weight: 400; }
.shelf-comparisons .shelf-date { font-size: .875rem; }
.shelf-comparisons a, .shelf-table a, .shelf-index a { color: var(--shelf-blue); text-underline-offset: 3px; overflow-wrap: anywhere; }
.shelf-table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.shelf-table th, .shelf-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--shelf-line); vertical-align: top; overflow-wrap: break-word; }
.shelf-table thead { background: var(--shelf-paper); }
.shelf-table:not(.ingredient-shelf-table) thead th:first-child { width: 49%; }
.shelf-table:not(.ingredient-shelf-table) thead th:nth-child(3) { width: 13%; }
.shelf-table tbody th { font-weight: 500; }
.shelf-table time, .shelf-table td:nth-child(3) { font-variant-numeric: tabular-nums; }
.shelf-field { display: none; }
.shelf-index li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; min-height: 44px; gap: 16px; border-bottom: 1px solid var(--shelf-line); text-decoration: none; }
.shelf-index li a:hover span:first-child { text-decoration: underline; }
.shelf-index li span:last-child { color: var(--shelf-muted); font-variant-numeric: tabular-nums; }
.shelf-crumb { margin-bottom: 16px; color: var(--shelf-muted); }
.shelf-crumb a, .shelf-limit-panel a { color: var(--shelf-blue); text-underline-offset: 3px; }
.shelf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: 26px clamp(24px, 5vw, 64px);
  padding: clamp(16px, 3.5vw, 42px);
  border-top: 3px solid var(--shelf-blue);
  background: var(--shelf-paper);
}
.shelf-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(1.625rem, 4.3vw, 3.625rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.shelf-hero h1 span { display: block; margin-top: .1em; color: var(--shelf-blue); font-size: .79em; letter-spacing: -.025em; }
.shelf-hero-copy p { max-width: 58ch; }
.shelf-hero-lead { margin: 0 0 10px; font-size: 1.0625rem; line-height: 1.48; }
.shelf-hero-limit { margin: 0; color: var(--shelf-muted); font-size: .9375rem; line-height: 1.45; }
.shelf-hero-limit strong { font-weight: 600; }
.shelf-price-summary { align-self: center; padding-inline-start: clamp(18px, 3vw, 34px); border-inline-start: 1px solid #ccc9c0; }
.shelf-price-summary h2 { margin: 0 0 7px; color: var(--shelf-blue); font-size: 1.125rem; font-weight: 600; }
.shelf-price-summary dl { margin: 0; }
.shelf-price-summary dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-block: 8px; border-bottom: 1px solid #ccc9c0; }
.shelf-price-summary dt { color: var(--shelf-muted); font-size: .9375rem; }
.shelf-price-summary dd { margin: 0; color: var(--shelf-ink); font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shelf-price-summary p { margin: 10px 0 0; color: var(--shelf-muted); font-size: .875rem; }
.shelf-hero-footer { display: flex; align-items: center; gap: 12px 22px; grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid #ccc9c0; }
.shelf-hero-footer p { margin: 0; color: var(--shelf-muted); font-size: .875rem; line-height: 1.4; }
.shelf-compare-link { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; padding-inline: 14px; background: var(--shelf-blue); color: #fff; font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.shelf-compare-link:hover { background: #1b2b55; }
.shelf-hero + .shelf-section { margin-top: clamp(28px, 4vw, 44px); }
.ingredient-shelf :is(#products, #how-we-compare) { scroll-margin-top: 16px; }
@media (max-width: 760px) {
  .shelf-hero { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .shelf-hero h1 { font-size: clamp(1.625rem, 8vw, 3.125rem); }
  .shelf-price-summary { padding: 13px 0 0; border-inline-start: 0; border-top: 1px solid #ccc9c0; }
  .shelf-price-summary dl div { padding-block: 4px; }
  .shelf-price-summary dd { font-size: 1.125rem; }
  .shelf-hero-footer { align-items: flex-start; flex-direction: column; gap: 10px; padding-top: 12px; }
}
.shelf-sort, .shelf-method p { color: var(--shelf-muted); }
.shelf-method p { max-width: 72ch; }
.shelf-facet-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-block: 0 12px; }
.shelf-facet-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--shelf-blue); text-underline-offset: 3px; }
.shelf-form-heading { margin: 22px 0 8px; color: var(--shelf-blue); font-size: 1.125rem; }
.ingredient-shelf-table th, .ingredient-shelf-table td { padding-inline: 7px; font-size: .9375rem; }
.ingredient-shelf-table td:nth-child(7) { font-variant-numeric: tabular-nums; font-weight: 600; }
.shelf-limit.vt-limit { grid-template-columns: minmax(0,1fr) auto; gap: 3px 6px; padding: 0; border: 0; }
.shelf-limit-range { display: block; margin-bottom: 4px; }
.shelf-limit .vt-limit__name { color: var(--shelf-muted); font-size: .8125rem; line-height: 1.3; }
.shelf-limit .vt-limit__amount, .shelf-limit .vt-limit__share { font-size: .8125rem; line-height: 1.3; }
.shelf-limit .vt-limit__track { grid-column: 1; }
.shelf-limit .vt-limit__share { min-width: 0; }
.shelf-limit .vt-limit__caption { grid-row: 3; font-size: .75rem; line-height: 1.3; }
.shelf-limit .vt-limit__overline { grid-row: 4; color: var(--shelf-blue); align-items: start; }
.shelf-limit .vt-limit__overline svg { flex: none; margin-top: 5px; }
.shelf-limit-toggle { appearance: none; position: relative; min-height: 26px; border: 0; padding: 2px .8em 2px 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.shelf-limit-toggle::after { position: absolute; top: .73em; right: .12em; width: .36em; height: .36em; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); content: ''; }
.shelf-limit-toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
.shelf-limit-toggle:focus-visible { outline: 2px solid var(--shelf-blue); outline-offset: 2px; }
.ingredient-shelf-table .shelf-limit-details[hidden] { display: none; }
.ingredient-shelf-table .shelf-limit-details > td { padding: 0; }
.shelf-limit-panel { padding: 16px clamp(14px, 2.5vw, 28px) 20px; background: #eef1f8; }
.shelf-limit-panel h3 { margin: 0 0 8px; color: var(--shelf-blue); font-size: 1.0625rem; line-height: 1.3; }
.shelf-limit-panel p { max-width: 70ch; margin: 0 0 9px; line-height: 1.45; }
.shelf-limit-panel a { display: inline-block; margin-top: 2px; font-weight: 500; }
.shelf-other-shops { margin-left: .35em; color: var(--shelf-muted); white-space: nowrap; }
@media (max-width: 900px) {
  .ingredient-shelf-table, .ingredient-shelf-table tbody { display: block; }
  .ingredient-shelf-table colgroup { display: none; }
  .ingredient-shelf-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ingredient-shelf-table tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 12px; padding: 13px 0; border-bottom: 1px solid var(--shelf-line); }
  .ingredient-shelf-table tbody th, .ingredient-shelf-table td { padding: 0; border: none; }
  .ingredient-shelf-table tbody th, .ingredient-shelf-table td:nth-child(2) { grid-column: 1 / -1; }
  .ingredient-shelf-table .shelf-limit-details > td { grid-column: 1 / -1; }
  .ingredient-shelf-table .shelf-field { display: block; color: var(--shelf-muted); font-size: .8125rem; font-weight: 400; }
}
@media (max-width: 620px) {
  .shelf-comparisons, .shelf-index { grid-template-columns: minmax(0, 1fr); }
  .shelf-table, .shelf-table tbody { display: block; }
  .shelf-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .shelf-table tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 12px; padding: 13px 0; border-bottom: 1px solid var(--shelf-line); }
  .shelf-table tbody th, .shelf-table td { padding: 0; border: none; }
  .shelf-table tbody th, .shelf-table td:nth-child(2) { grid-column: 1 / -1; }
  .shelf-field { display: block; color: var(--shelf-muted); font-size: .8125rem; }
}
