@charset "UTF-8";

:root {
    --paper: #faf9f5;
    --white: #fffefa;
    --ink: #233b32;
    --forest: #173e32;
    --forest-hover: #275240;
    --muted: #647168;
    --line: #dde2d8;
    --sage: #eef1e8;
    --sage-deep: #dce6d6;
    --gold: #ded9a5;
    --error: #8d3734;
    --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, select, input[type="checkbox"] { cursor: pointer; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { border-radius: 0; }
button, input, select, textarea { color: var(--ink); }
img, svg { display: block; max-width: 100%; }
button, a { touch-action: manipulation; }
::selection { background: var(--sage-deep); color: var(--forest); }
:focus-visible { outline: 3px solid #a87b27; outline-offset: 4px; }
main:focus { outline: none; }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; line-height: 1.12; }
h1 { font-size: clamp(36px, 4.8vw, 57px); }
h2 { font-size: 34px; }
h3 { font-size: 19px; line-height: 1.35; }
em { font-weight: inherit; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 99; top: 12px; left: 12px; padding: 12px 20px; transform: translateY(-160%); background: var(--forest); color: white; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.muted, .form-note { color: var(--muted); }
.eyebrow, .label { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { margin-bottom: 18px; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; background: #67815e; border-radius: 50%; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 49px; padding: 12px 22px; border: 1px solid var(--forest); border-radius: 8px; background: var(--forest); color: #fffefa; font-size: 13px; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; transition: background .16s, border-color .16s, transform .16s; }
.button:hover { background: var(--forest-hover); border-color: var(--forest-hover); }
.button > span[aria-hidden] { font-size: 18px; font-weight: 400; line-height: 1; }
.button-small { min-height: 41px; padding: 9px 16px; font-size: 12px; gap: 13px; }
.button-outline { background: transparent; border-color: #c8d1c4; color: var(--forest); }
.button-outline:hover { background: var(--sage); border-color: #9eaf99; }
.button-quiet { color: var(--muted); background: transparent; border-color: var(--line); }
.button-quiet:hover { color: var(--forest); background: var(--sage); border-color: var(--line); }
.button-full { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link span[aria-hidden] { font-size: 19px; font-weight: 400; }
.subtle-link { color: var(--muted); font-size: 12px; }
.inline-form { display: inline; margin: 0; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 93px; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--forest); font-size: 25px; font-weight: 650; letter-spacing: -1.2px; line-height: 1; text-decoration: none; }
.brand-mark { width: 37px; height: 37px; }
.brand-dot { color: #6a865d; }
.main-nav { display: flex; align-items: center; gap: 26px; margin: 0 auto; }
.main-nav a { padding: 12px 0; font-size: 12px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--forest); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.login-link { font-size: 12px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.login-link:hover { text-decoration: underline; }
.user-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; white-space: nowrap; }
.notices { padding-top: 24px; }
.notice { padding: 15px 19px; margin: 0 0 12px; border: 1px solid #cbd5c5; border-radius: 8px; background: var(--sage); font-size: 14px; overflow-wrap: anywhere; }
.notice-success { border-color: #bbd2b4; background: #edf4e9; color: #2f532e; }
.notice-error { border-color: #e5c6bd; background: #fff0e9; color: var(--error); }
.notice ul { padding-left: 22px; margin-top: 6px; }
.demo-banner { margin-top: 20px; padding: 10px 16px; border: 1px solid #dfd4a8; border-radius: 6px; background: #f5f0d8; font-size: 12px; }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; padding-top: 72px; padding-bottom: 76px; align-items: center; }
.hero-copy h1 { font-size: clamp(48px, 5.2vw, 68px); letter-spacing: -.055em; line-height: 1.06; }
.hero-copy h1 em { color: #69805c; }
.hero-description { max-width: 470px; margin-top: 27px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.hero-copy .button-row { margin-top: 30px; }
.hero-footnote { margin-top: 18px; font-size: 11px; color: var(--muted); }
.hero-panel { position: relative; min-height: 430px; padding: 32px 36px 28px; border: 1px solid #d8dfd0; border-radius: 20px 70px 20px 20px; background: var(--sage); overflow: hidden; }
.hero-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; min-height: 92px; }
.hero-panel-heading .label { color: #667d5b; padding-top: 4px; }
.leaf-illustration { color: #667d5b; width: 96px; height: 90px; margin-top: -5px; margin-right: -3px; }
.hero-panel h2 { font-size: 35px; margin-top: -15px; margin-bottom: 25px; letter-spacing: -.04em; }
.hero-panel h2 em { color: #667d5b; }
.journey-list { list-style: none; padding: 0; }
.journey-list li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid #d5dece; }
.journey-list li > span { width: 23px; flex-shrink: 0; padding-top: 2px; font-size: 10px; letter-spacing: .04em; color: #6c7f62; }
.journey-list strong { display: block; font-size: 12px; font-weight: 600; }
.journey-list p { margin-top: 3px; font-size: 11px; color: var(--muted); }
.section-tinted { background: #f0f1e9; border-block: 1px solid var(--line); }
.catalog-section { padding: 54px 0 40px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 28px; }
.section-heading h2 { font-size: 35px; }
.section-heading .eyebrow { margin-bottom: 12px; color: var(--muted); }
.section-heading > .text-link { margin-bottom: 5px; flex-shrink: 0; }
.mobile-break { display: none; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 23px 23px 18px; background: var(--white); transition: border-color .16s, box-shadow .16s; }
.product-card:hover { border-color: #acbaa3; box-shadow: 0 5px 16px #233b3205; }
.product-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 18px; }
.product-kind { font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.favorite-mark { font-size: 10px; color: #5f7555; white-space: nowrap; }
.favorite-mark span { margin-right: 3px; }
.product-card-main { display: flex; gap: 18px; align-items: center; padding: 28px 0; flex: 1; }
.product-card-main > div:last-child { min-width: 0; }
.product-card-image { width: 88px; height: 88px; flex: 0 0 88px; background: white; border-radius: 9px; overflow: hidden; }
.product-card-image img { width: 100%; height: 100%; object-fit: contain; }
.product-tin { display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; flex: 0 0 68px; border: 1px solid #c7d2bd; border-radius: 50%; outline: 1px solid #d9e0cf; outline-offset: 4px; background: #e6ecdf; color: #697c59; box-shadow: 0 6px 5px #233b3208; }
.product-tin span { font-family: Georgia, serif; font-size: 23px; font-weight: 400; letter-spacing: -1px; }
.product-brand { margin-bottom: 5px; font-size: 10px; letter-spacing: .04em; font-weight: 600; color: var(--muted); }
.product-card h3 { font-family: Georgia, serif; font-weight: 400; font-size: 21px; letter-spacing: -.025em; overflow-wrap: anywhere; }
.product-card h3 a { text-decoration: none; }
.product-card h3 a:hover { text-decoration: underline; }
.product-details { margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; }
.product-variants { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 9px; color: #52634c; font-size: 9px; line-height: 1.6; }
.product-variants > span { overflow-wrap: anywhere; }
.variant-label { margin-right: 3px; color: var(--muted); }
.meta-separator { display: inline-block; margin-inline: 7px; }
.product-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.card-rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.score-value { font-size: 20px; font-weight: 600; letter-spacing: -.6px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.score-value > span { margin-left: 3px; font-size: 10px; font-weight: 400; color: var(--muted); }
.score-caption, .unrated-label { font-size: 10px; color: var(--muted); }
.card-arrow { display: flex; align-items: center; justify-content: center; min-width: 34px; min-height: 34px; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; font-size: 19px; }
.card-arrow:hover { background: var(--sage); }
.tracking-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tracking-tags:has(span) { margin-top: 12px; }
.tracking-tags span { padding: 3px 8px; border-radius: 4px; background: var(--sage); color: #5c6b55; font-size: 9px; }
.catalog-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 21px; color: var(--muted); font-size: 10px; }
.catalog-note a { text-decoration: none; }
.catalog-note a:hover { text-decoration: underline; }
.closing-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; padding-top: 72px; padding-bottom: 76px; }
.closing-section h2 { font-size: 40px; }
.closing-section .eyebrow { color: var(--muted); margin-bottom: 16px; }
.closing-copy { max-width: 385px; }
.closing-copy p { margin-bottom: 21px; font-size: 14px; color: var(--muted); line-height: 1.85; }
.empty-state { padding: 64px 24px; border: 1px dashed #c5d1be; border-radius: 14px; text-align: center; }
.empty-state-wide { background: #f9faf4; }
.empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; background: #e6ebdd; color: #6a805c; font-size: 25px; line-height: 1; }
.empty-state h2, .empty-state h3 { font-family: Georgia, serif; font-size: 30px; font-weight: 400; letter-spacing: -.03em; }
.empty-state p { max-width: 490px; margin: 16px auto 23px; color: var(--muted); font-size: 14px; }
.empty-state .button-row { justify-content: center; }

.page-section { padding-top: 54px; padding-bottom: 80px; min-height: 60vh; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 35px; }
.page-heading h1 { font-size: clamp(35px, 4vw, 49px); }
.page-heading .eyebrow { color: var(--muted); margin-bottom: 15px; }
.page-heading p:not(.eyebrow) { max-width: 650px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.page-heading > .button { flex-shrink: 0; margin-bottom: 4px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field-label-row label { font-size: 12px; font-weight: 600; line-height: 1.5; }
input:not([type="checkbox"]):not([type="hidden"]):not([type="range"]), select, textarea { width: 100%; min-width: 0; border: 1px solid #cdd5c8; border-radius: 7px; padding: 11px 13px; min-height: 46px; background: var(--white); font-size: 13px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #7d867c; opacity: 1; }
input:not([type="checkbox"]):not([type="hidden"]):not([type="range"]):focus, select:focus, textarea:focus { border-color: #66805b; }
select { padding-right: 25px; }
textarea { resize: vertical; }
.field small { color: var(--muted); font-size: 11px; line-height: 1.6; }
.optional { display: inline-block; font-size: 10px; color: var(--muted); font-weight: 400; margin-left: 5px; }
.filter-bar { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 16px; align-items: end; padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: var(--sage); }
.filter-bar .button { min-height: 46px; }
.catalog-filter-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.catalog-filter-bar .search-field { grid-column: span 3; }
.catalog-filter-actions { display: flex; align-items: center; gap: 13px; min-height: 46px; }
.catalog-filter-actions .button { flex: 1; padding-inline: 14px; white-space: nowrap; }
.catalog-filter-actions .subtle-link { flex-shrink: 0; font-size: 11px; }
.catalog-filter-bar { align-items: start; }
.field-label { font-size: 12px; font-weight: 600; line-height: 1.5; }
.flavor-picker { position: relative; min-width: 0; }
.flavor-picker [hidden] { display: none !important; }
.flavor-picker summary { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 11px 13px; border: 1px solid #cdd5c8; border-radius: 7px; background: var(--white); font-size: 13px; line-height: 1.5; list-style: none; cursor: pointer; }
.flavor-picker summary::-webkit-details-marker { display: none; }
.flavor-picker summary > svg { flex-shrink: 0; margin-left: auto; transition: transform .15s; }
.flavor-picker[open] summary { border-color: #66805b; }
.flavor-picker[open] summary > svg { transform: rotate(180deg); }
.flavor-summary-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flavor-selection-count { flex-shrink: 0; padding: 0 6px; border-radius: 4px; background: var(--sage); color: var(--forest); font-size: 11px; font-weight: 600; }
.flavor-popover { position: absolute; left: 0; top: calc(100% + 7px); z-index: 30; width: max(100%, 310px); max-width: calc(100vw - 64px); border: 1px solid #cdd5c8; border-radius: 11px; background: var(--white); box-shadow: 0 12px 32px #173e3224; overflow: hidden; }
.flavor-search-wrap { padding: 12px 12px 4px; }
.flavor-search-wrap input[type="search"] { min-height: 42px; background: var(--paper); }
.flavor-menu-heading { display: flex; align-items: center; justify-content: space-between; min-height: 37px; padding: 5px 14px; font-size: 11px; color: var(--muted); }
.flavor-menu-heading button { padding: 4px 0 4px 10px; border: 0; background: none; color: var(--forest); font-size: 11px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.flavor-options { max-height: min(260px, 38vh); overflow-y: auto; overscroll-behavior: contain; padding: 3px 6px 7px; scrollbar-width: thin; }
.flavor-options[aria-busy="true"] .flavor-option-count { opacity: .45; }
.field .flavor-option { display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 8px; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 400; }
.flavor-option:hover, .flavor-option:focus-within { background: #f1f4ec; }
.flavor-option:has(input:checked) { background: var(--sage); }
.flavor-option input { flex: 0 0 auto; width: 17px; height: 17px; margin: 0; accent-color: var(--forest); }
.flavor-option-name { flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.4; }
.flavor-option-count { flex-shrink: 0; min-width: 27px; padding: 1px 6px; border-radius: 5px; background: #edf0e8; color: var(--muted); text-align: center; font-size: 11px; font-variant-numeric: tabular-nums; }
.flavor-option-empty .flavor-option-count { background: #f1ede5; }
.flavor-menu-note { padding: 9px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.flavor-empty { padding: 18px 14px 22px; font-size: 12px; color: var(--muted); }
.nicotine-field { grid-column: span 2; min-width: 0; margin: 0; padding: 0; border: 0; }
.nicotine-field legend { padding: 0; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
.nicotine-field legend span { margin-left: 7px; font-size: 11px; font-weight: 400; color: var(--muted); }
.nicotine-control { padding: 8px 12px 4px; border: 1px solid #cdd5c8; border-radius: 10px; background: var(--white); transition: border-color .12s; }
.nicotine-control:focus-within { border-color: #66805b; }
.nicotine-values { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.nicotine-values label { display: flex; align-items: baseline; gap: 3px; color: var(--muted); font-size: 11px; }
.nicotine-value-title { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.nicotine-control .nicotine-values input[type="number"] { width: 66px; min-height: 30px; padding: 3px 4px; border: 0; border-radius: 5px; background: transparent; text-align: center; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--forest); appearance: textfield; -moz-appearance: textfield; }
.nicotine-values input::-webkit-inner-spin-button, .nicotine-values input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.nicotine-control .nicotine-values input:hover, .nicotine-control .nicotine-values input:focus { background: var(--sage); }
.nicotine-value-separator { color: #b8c5b1; font-size: 12px; }
.nicotine-slider { position: relative; height: 36px; margin: 0; touch-action: pan-y; }
.nicotine-slider[hidden] { display: none; }
.nicotine-track { position: absolute; top: 15px; height: 6px; left: 11px; right: 11px; border-radius: 8px; background: #ced8c8; pointer-events: none; }
.nicotine-selected { position: absolute; height: 100%; left: 0; right: 0; border-radius: inherit; background: var(--forest); }
.nicotine-slider input[type="range"] { position: absolute; inset: 0; width: 100%; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 0; appearance: none; -webkit-appearance: none; background: transparent; pointer-events: none; outline: none; }
.nicotine-slider input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: transparent; }
.nicotine-slider input[type="range"]::-moz-range-track { height: 6px; background: transparent; }
.nicotine-slider input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; pointer-events: auto; cursor: grab; width: 24px; height: 24px; margin-top: -9px; border: 3px solid var(--forest); border-radius: 50%; background: var(--white); box-shadow: 0 2px 5px #173e3220; }
.nicotine-slider input[type="range"]::-moz-range-thumb { pointer-events: auto; cursor: grab; width: 18px; height: 18px; border: 3px solid var(--forest); border-radius: 50%; background: var(--white); box-shadow: 0 2px 5px #173e3220; }
.nicotine-slider input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid #739665; outline-offset: 4px; }
.nicotine-slider input[type="range"]:focus-visible::-moz-range-thumb { outline: 3px solid #739665; outline-offset: 4px; }
.nicotine-slider input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; background: var(--sage); }
.nicotine-slider input[type="range"]:active::-moz-range-thumb { cursor: grabbing; background: var(--sage); }
.nicotine-field:disabled { opacity: .65; }
.catalog-filter-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.catalog-filter-footer > p { max-width: 550px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.catalog-filter-footer .catalog-filter-actions { min-width: 210px; }
.catalog-update-status { min-height: 18px; margin: 8px 0 -18px; font-size: 11px; color: var(--muted); }
#catalog-results { transition: opacity .12s; }
#catalog-results[aria-busy="true"] { opacity: .55; }
@media (max-width: 900px) {
    .nicotine-field { grid-column: auto; }
    .nicotine-control .nicotine-values input[type="number"] { width: 55px; }
    .nicotine-value-separator { display: none; }
}
@media (max-width: 650px) {
    .catalog-filter-footer { align-items: stretch; flex-direction: column; gap: 12px; }
    .catalog-filter-bar .sort-field { grid-column: 1 / -1; }
    .nicotine-field { grid-column: 1 / -1; }
    .nicotine-values input { font-size: 16px; }
}
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 26px 0 19px; color: var(--muted); font-size: 12px; }
.results-heading .text-link { font-size: 12px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 23px; margin-top: 27px; border-top: 1px solid var(--line); }
.pagination-numbers { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.pagination-number { display: flex; justify-content: center; align-items: center; min-width: 37px; min-height: 38px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; text-decoration: none; }
.pagination-number:hover { background: var(--sage); }
.pagination-number.is-current { background: var(--forest); border-color: var(--forest); color: var(--white); }
.pagination-gap { color: var(--muted); padding-inline: 3px; }
.pagination-direction { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-decoration: none; white-space: nowrap; }
.pagination-direction:hover { text-decoration: underline; }
.pagination-direction.is-disabled { color: #8c9589; }
.explanation-panel { max-width: 800px; margin-top: 42px; border-left: 2px solid #c0cfae; padding: 3px 0 3px 24px; }
.explanation-panel h2 { font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1.5; letter-spacing: 0; }
.explanation-panel p { margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.8; }
.back-link { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 34px; color: var(--muted); text-decoration: none; font-size: 12px; }
.back-link:hover { text-decoration: underline; }
.product-overview { display: grid; grid-template-columns: 240px minmax(0,1fr) 260px; gap: 36px; align-items: start; }
.product-detail-art { min-height: 290px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 25px 23px; background: var(--sage); border: 1px solid #d9e1d1; border-radius: 14px 44px 14px 14px; }
.product-detail-art.has-product-image { padding: 19px; background: white; }
.product-detail-image { width: 100%; height: 250px; object-fit: contain; }
.product-tin-large { width: 152px; height: 152px; flex-basis: 152px; outline-offset: 7px; box-shadow: 0 12px 14px #233b3210; }
.product-tin-large span { font-size: 54px; letter-spacing: -3px; }
.art-caption { margin-top: 35px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.product-detail-heading { padding-top: 10px; }
.product-detail-heading .eyebrow { margin-bottom: 12px; }
.product-detail-heading h1 { font-size: 45px; overflow-wrap: anywhere; }
.product-category { margin-top: 12px; color: var(--muted); font-size: 13px; }
.product-facts { display: flex; flex-wrap: wrap; gap: 30px; padding: 21px 0; margin-top: 20px; border-block: 1px solid var(--line); }
.product-facts dt { color: var(--muted); font-size: 10px; margin-bottom: 3px; }
.product-facts dd { font-size: 12px; font-weight: 500; }
.product-facts-expanded { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px 23px; }
.product-facts-expanded dd { overflow-wrap: anywhere; }
.product-facts-expanded .fact-wide { grid-column: 1 / -1; }
.spec-note { margin-top: 13px; font-size: 10px; line-height: 1.75; color: var(--muted); }
.product-description { margin-top: 22px; font-size: 13px; line-height: 1.85; color: var(--muted); overflow-wrap: anywhere; }
.product-detail-heading > .text-link { margin-top: 20px; font-size: 12px; }
.community-score-panel { padding: 26px; background: #f0f1e7; border: 1px solid #dee2d3; border-radius: 12px; }
.community-score-panel .label { font-size: 9px; }
.large-score { font-size: 55px; font-weight: 500; letter-spacing: -3px; margin-top: 9px; line-height: 1.3; }
.large-score span { margin-left: 5px; font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.community-score-panel > .muted { font-size: 11px; }
.score-breakdown { margin-top: 23px; border-top: 1px solid #d5dccb; padding-top: 18px; }
.breakdown-row { display: grid; grid-template-columns: 1fr auto; gap: 5px; font-size: 11px; margin-bottom: 11px; }
.breakdown-row strong { font-weight: 500; font-variant-numeric: tabular-nums; }
.breakdown-row meter { grid-column: 1/-1; width: 100%; height: 5px; border: 0; border-radius: 4px; background: #d5decc; }
meter::-webkit-meter-bar { height: 5px; border: 0; border-radius: 4px; background: #d5decc; }
meter::-webkit-meter-optimum-value { border-radius: 4px; background: #728663; }
meter::-moz-meter-bar { border-radius: 4px; background: #728663; }
.community-score-panel .subtle-link { display: inline-block; margin-top: 12px; font-size: 10px; }
.product-workspace { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr); gap: 30px; margin-top: 48px; align-items: start; }
.panel { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); min-width: 0; }
.panel h2 { font-size: 29px; }
.panel > .eyebrow, .panel-heading .eyebrow { margin-bottom: 12px; color: var(--muted); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.panel-heading .label { font-size: 8px; color: var(--muted); }
.panel > .muted { font-size: 13px; line-height: 1.8; }
.pill { padding: 7px 10px; flex-shrink: 0; border-radius: 30px; background: var(--sage); font-size: 10px; }
.rating-form { margin-top: 25px; }
.rating-field { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); }
.rating-field label { font-size: 13px; font-weight: 600; }
.rating-field p { color: var(--muted); font-size: 11px; margin-top: 3px; }
.rating-field select { width: 115px; flex-shrink: 0; }
.form-footer { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 23px; }
.form-footer p { font-size: 10px; color: var(--muted); max-width: 200px; }
.inset-callout { padding: 24px; margin-top: 25px; border-radius: 8px; background: var(--sage); }
.inset-callout h3 { font-size: 15px; }
.inset-callout p { margin: 8px 0 21px; color: var(--muted); font-size: 12px; }
.tracking-panel { background: #f1f3ec; }
.tracking-panel > .muted { margin-top: 15px; font-size: 12px; }
.tracking-options { margin-block: 24px; }
.check-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; cursor: pointer; }
.check-option + .check-option { border-top: 1px solid #dce2d4; }
.check-option input { width: 18px; height: 18px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--forest); }
.check-option strong { display: block; font-size: 13px; font-weight: 600; }
.check-option small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.tracking-panel > .button { margin-top: 25px; }

.privacy-label { margin-left: 12px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 4px; font-size: 8px; letter-spacing: .06em; }
.collection-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 34px; border: 1px solid var(--line); border-radius: 12px; background: var(--sage); }
.collection-stats > div { display: flex; flex-direction: column-reverse; padding: 23px 28px; }
.collection-stats > div + div { border-left: 1px solid var(--line); }
.collection-stats dt { margin-top: 4px; color: var(--muted); font-size: 11px; }
.collection-stats dd { font-size: 32px; font-weight: 500; letter-spacing: -1px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.collection-tools { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-tabs a { padding: 8px 13px; border-radius: 6px; font-size: 12px; text-decoration: none; color: var(--muted); }
.filter-tabs a[aria-current] { background: var(--forest); color: var(--white); }
.filter-tabs a:hover:not([aria-current]) { background: var(--sage); }
.collection-search { display: flex; align-items: center; gap: 8px; max-width: 340px; }
.collection-search input { min-height: 40px !important; font-size: 11px !important; padding-block: 9px !important; }
.collection-search .button { min-height: 40px; padding-inline: 12px; }
.collection-tools + .empty-state { margin-top: 28px; }
.auth-section { display: grid; grid-template-columns: 1fr 1fr; width: min(960px, calc(100% - 80px)); padding-top: 55px; padding-bottom: 75px; gap: 75px; align-items: center; min-height: 690px; }
.auth-aside { padding: 38px 42px; border: 1px solid #d8dfcf; border-radius: 15px 60px 15px 15px; background: var(--sage); align-self: stretch; overflow: hidden; position: relative; }
.auth-aside h2 { font-size: 47px; line-height: 1.09; }
.auth-aside h2 em { color: #6a805c; }
.auth-aside .eyebrow { font-size: 9px; color: var(--muted); }
.auth-tree { width: 180px; margin: 24px 0 20px auto; color: #7b8e66; opacity: .8; }
.auth-aside > p:last-child { font-size: 12px; line-height: 1.95; color: var(--muted); margin-top: 12px; }
.auth-form-panel { max-width: 390px; width: 100%; margin-inline: auto; }
.auth-form-panel h1 { font-size: 39px; }
.auth-form-panel header .eyebrow { font-size: 9px; color: var(--muted); margin-bottom: 13px; }
.auth-form-panel header .muted { font-size: 13px; line-height: 1.8; margin-top: 17px; }
.stacked-form { display: flex; flex-direction: column; gap: 20px; }
.auth-form-panel .stacked-form { margin-top: 28px; }
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.field-label-row a { font-size: 10px; color: var(--muted); }
.auth-switch { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; }
.auth-switch a { color: var(--forest); font-weight: 500; }
.form-note { font-size: 11px; }
.auth-form-panel .notice { margin-block: 25px; font-size: 12px; }
.verification-copy { margin-top: 25px; margin-bottom: 25px; font-size: 13px; }

.submission-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 38px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-wide { grid-column: 1/-1; }
.extra-spec-fields { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.extra-spec-fields summary { cursor: pointer; font-size: 12px; font-weight: 600; }
.extra-spec-fields > .form-grid { margin-top: 18px; gap: 17px; }
.extra-spec-fields > .form-note { margin-top: 14px; font-size: 10px; }
.guidance-panel { padding: 30px; border-radius: 14px 40px 14px 14px; background: var(--sage); border: 1px solid #d8dfcf; }
.guidance-panel h2 { font-size: 29px; }
.guidance-panel .eyebrow { color: var(--muted); font-size: 9px; }
.guidance-list { padding-left: 19px; margin-top: 23px; margin-bottom: 21px; }
.guidance-list li { padding-left: 4px; margin-bottom: 13px; font-size: 12px; color: var(--muted); }
.recent-submissions { margin-top: 23px; padding: 25px; }
.recent-submissions h2 { font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.submission-list { padding: 0; margin-top: 18px; list-style: none; }
.submission-list li { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid var(--line); }
.submission-list strong { font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.submission-list div > span { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.status-badge { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 9px; line-height: 1.7; white-space: nowrap; }
.status-pending { background: #f4eed8; color: #79632c; }
.status-published { background: #e9f0e3; color: #436137; }
.status-hidden { background: #edece6; color: #666b62; }
.submission-layout > .panel > .muted { margin-top: 15px; margin-bottom: 25px; }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, 1fr); gap: 26px; align-items: start; }
.admin-filter-bar { display: grid; grid-template-columns: minmax(220px, 2fr) minmax(160px, 1fr) auto auto; gap: 17px; align-items: end; padding: 22px; margin-bottom: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--sage); }
.admin-filter-bar > .subtle-link { align-self: center; margin-top: 25px; }
.admin-filter-bar .button { min-height: 46px; }
.admin-catalog { padding: 26px 0 5px; }
.admin-catalog .panel-heading { padding-inline: 25px; }
.admin-catalog .panel-heading .muted { font-size: 11px; }
.admin-catalog .pagination { margin-top: 0; padding: 18px 22px; gap: 12px; flex-wrap: wrap; }
.admin-catalog .pagination-number { min-width: 30px; min-height: 32px; padding: 5px 8px; font-size: 10px; }
.admin-catalog .pagination-numbers { gap: 4px; }
.admin-catalog .pagination-direction { font-size: 10px; gap: 5px; }
.admin-row-product { display: flex; align-items: center; gap: 11px; }
.admin-row-product > div { min-width: 0; }
.admin-row-product img { flex: 0 0 45px; width: 45px; height: 45px; object-fit: contain; background: white; border-radius: 5px; }
.admin-image-preview { text-align: center; padding: 14px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.admin-image-preview img { width: 180px; height: 180px; object-fit: contain; margin-inline: auto; }
.admin-image-preview p { margin-top: 9px; font-size: 10px; color: var(--muted); }
.import-review { padding: 18px; margin-bottom: 25px; border: 1px solid #ded5b4; border-radius: 9px; background: #faf7eb; }
.import-review > h3 { font-size: 14px; letter-spacing: -.01em; }
.import-review > p { margin-top: 9px; font-size: 11px; color: #716743; line-height: 1.7; }
.review-flags { padding-left: 17px; margin-top: 12px; font-size: 11px; color: #77622b; }
.review-flags li + li { margin-top: 6px; }
.import-review details { margin-top: 14px; border-top: 1px solid #e4dcc5; padding-top: 12px; }
.import-review summary { cursor: pointer; font-size: 11px; font-weight: 600; line-height: 1.7; }
.source-comparison { width: 100%; min-width: 340px; border-collapse: collapse; text-align: left; margin-top: 12px; }
.source-comparison th, .source-comparison td { padding: 9px 7px; border-bottom: 1px solid #e4dcc5; vertical-align: top; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.source-comparison thead th { background: #f1eddb; font-weight: 600; }
.source-comparison tbody th { font-weight: 500; width: 27%; }
.source-comparison td { width: 36.5%; }
.import-source-facts { margin-top: 16px; }
.import-source-facts > div { margin-top: 12px; }
.import-source-facts dt { color: #786f50; font-size: 9px; }
.import-source-facts dd { margin-top: 3px; font-size: 11px; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table thead { background: var(--sage); }
.data-table thead th { padding: 12px; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.data-table th:first-child { padding-left: 25px; }
.data-table td:last-child { padding-right: 25px; }
.data-table tbody th, .data-table tbody td { padding: 17px 12px; border-top: 1px solid var(--line); font-size: 11px; vertical-align: middle; }
.data-table tbody th:first-child { padding-left: 25px; }
.data-table tbody th { min-width: 160px; }
.data-table tbody th strong { font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.data-table tbody th span { display: block; font-size: 10px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.data-table .text-link { font-size: 10px; gap: 6px; }
.data-table .text-link span { font-size: 16px; }
.data-table .is-selected { background: #f3f5ed; }
.admin-editor .form-grid { grid-template-columns: 1fr; }
.admin-editor .field-wide { grid-column: auto; }
.admin-editor .panel-heading h2 { font-size: 27px; }
.compact-empty { border: 0; padding: 42px 24px; }
.compact-empty h3 { font-size: 25px; }
.compact-empty p { font-size: 12px; }
.error-section { padding-block: 70px 100px; min-height: 60vh; max-width: 800px; text-align: center; }
.error-number { display: block; margin-bottom: 28px; font-family: Georgia, serif; font-size: 98px; line-height: 1; color: #a6b695; letter-spacing: -6px; }
.error-section h1 { font-size: 47px; }
.error-section > p:not(.eyebrow) { max-width: 490px; margin: 24px auto; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.error-section .button-row { justify-content: center; margin-top: 30px; }
.site-footer { border-top: 1px solid var(--line); background: #f4f4ed; }
.footer-main { display: flex; justify-content: space-between; gap: 40px; padding-top: 35px; padding-bottom: 32px; }
.brand-footer { font-size: 23px; gap: 0; }
.footer-main p { margin-top: 12px; color: var(--muted); font-size: 11px; }
.footer-main nav { display: flex; gap: 25px; align-items: center; }
.footer-main nav a { font-size: 11px; text-decoration: none; }
.footer-main nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 17px 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .01em; }

@media (min-width: 1450px) {
    .hero { padding-block: 85px; }
}
@media (max-width: 1150px) {
    .container { width: calc(100% - 56px); }
    .header-inner { gap: 24px; }
    .main-nav { gap: 20px; }
    .header-actions { gap: 14px; }
    .user-name { display: none; }
    .hero { gap: 46px; }
    .hero-panel { padding: 29px; }
    .hero-copy h1 { font-size: 58px; }
    .hero-description { font-size: 14px; }
    .hero-copy .button { font-size: 12px; padding-inline: 17px; gap: 12px; }
    .product-card { padding: 20px 18px 16px; }
    .product-card-main { gap: 15px; }
    .product-tin { width: 55px; height: 55px; flex-basis: 55px; }
    .product-card h3 { font-size: 19px; }
    .product-overview { grid-template-columns: 190px minmax(0,1fr) 220px; gap: 26px; }
    .product-detail-art { min-height: 245px; }
    .product-tin-large { width: 125px; height: 125px; flex-basis: 125px; }
    .product-detail-heading h1 { font-size: 37px; }
    .community-score-panel { padding: 22px; }
    .auth-section { width: min(940px, calc(100% - 56px)); gap: 55px; }
    .collection-tools { align-items: start; gap: 20px; }
    .filter-tabs { gap: 2px; }
    .filter-tabs a { padding: 8px 10px; }
    .collection-search { max-width: 270px; }
    .filter-bar { gap: 13px; padding: 20px; }
    .filter-bar .button { padding-inline: 16px; }
    .admin-layout { grid-template-columns: minmax(0, 1.1fr) minmax(310px, 1fr); gap: 22px; }
    .admin-editor { padding: 25px; }
}
@media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; justify-content: space-between; padding-top: 19px; padding-bottom: 12px; gap: 13px; }
    .brand { font-size: 24px; }
    .main-nav { order: 3; flex: 0 0 100%; justify-content: center; gap: 38px; margin-top: 3px; }
    .main-nav a { padding: 8px 0; }
    .main-nav a[aria-current], .main-nav a:hover { text-underline-offset: 7px; }
    .header-actions { margin-left: auto; }
    .hero { gap: 28px; padding-top: 50px; padding-bottom: 54px; }
    .hero-copy h1 { font-size: 48px; }
    .hero-panel { padding: 24px; min-height: 400px; border-top-right-radius: 50px; }
    .hero-panel h2 { font-size: 30px; }
    .leaf-illustration { width: 73px; height: 73px; }
    .hero-panel-heading { min-height: 85px; }
    .journey-list li { gap: 10px; }
    .journey-list p { font-size: 10px; }
    .hero-description { font-size: 13px; margin-top: 21px; }
    .hero-footnote { font-size: 10px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
    .product-tin { width: 65px; height: 65px; flex-basis: 65px; }
    .closing-section { gap: 55px; padding-block: 55px; }
    .page-heading { align-items: start; flex-direction: column; gap: 22px; }
    .filter-bar { grid-template-columns: 1.25fr 1fr 1fr; }
    .catalog-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-filter-actions { grid-column: 1 / -1; }
    .filter-bar .search-field { grid-column: 1/-1; }
    .filter-bar .button { grid-column: 3; }
    .product-overview { grid-template-columns: 180px minmax(0,1fr); gap: 25px; }
    .product-detail-art { min-height: 240px; }
    .product-tin-large { width: 118px; height: 118px; flex-basis: 118px; }
    .community-score-panel { grid-column: 1/-1; display: grid; grid-template-columns: 160px 1fr; column-gap: 30px; }
    .community-score-panel .label { grid-column: 1; }
    .community-score-panel .large-score { grid-column: 1; grid-row: 2; }
    .community-score-panel > .muted { grid-column: 1; grid-row: 3; }
    .score-breakdown { grid-column: 2; grid-row: 1/4; border: 0; margin: 0; padding: 0; }
    .community-score-panel .subtle-link { grid-column: 1/-1; margin-top: 10px; }
    .product-workspace { grid-template-columns: 1.3fr 1fr; gap: 22px; margin-top: 30px; }
    .panel { padding: 25px; }
    .panel h2 { font-size: 25px; }
    .panel-heading { flex-wrap: wrap; gap: 15px; }
    .rating-field { align-items: start; gap: 13px; }
    .rating-field select { width: 95px; }
    .rating-field p { font-size: 10px; }
    .collection-tools { flex-direction: column; align-items: stretch; }
    .collection-search { max-width: 100%; width: 100%; }
    .collection-search input { flex: 1; }
    .collection-stats > div { padding: 19px; }
    .auth-section { gap: 34px; }
    .auth-aside { padding: 32px 26px; }
    .auth-aside h2 { font-size: 40px; }
    .auth-tree { width: 160px; }
    .auth-form-panel h1 { font-size: 34px; }
    .submission-layout { grid-template-columns: minmax(0, 1.3fr) minmax(220px, 1fr); gap: 24px; }
    .submission-layout .form-grid { grid-template-columns: 1fr; }
    .submission-layout .field-wide { grid-column: auto; }
    .guidance-panel { padding: 25px; }
    .guidance-panel h2 { font-size: 26px; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-filter-bar { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; }
    .admin-filter-bar > .subtle-link { margin-top: 0; grid-column: 1 / -1; justify-self: end; }
    .admin-catalog { padding: 24px 0 5px; }
    .admin-editor .form-grid { grid-template-columns: 1fr 1fr; }
    .admin-editor .field-wide { grid-column: 1/-1; }
    .footer-main { gap: 30px; }
    .footer-main nav { flex-wrap: wrap; justify-content: end; gap: 12px 22px; max-width: 290px; }
}
@media (max-width: 650px) {
    .container { width: calc(100% - 36px); }
    .header-inner { padding-top: 16px; padding-bottom: 10px; }
    .brand { font-size: 23px; gap: 8px; }
    .brand-mark { width: 33px; height: 33px; }
    .header-actions { gap: 12px; }
    .header-actions .button { padding: 9px 12px; font-size: 11px; min-height: 37px; gap: 9px; }
    .header-admin { font-size: 11px; }
    .main-nav { gap: 31px; }
    .main-nav a { font-size: 11px; }
    .hero { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 42px; gap: 32px; }
    .hero-copy h1 { font-size: clamp(46px, 10vw, 60px); line-height: 1.06; }
    .hero .eyebrow { font-size: 9px; margin-bottom: 18px; }
    .hero-description { max-width: 440px; font-size: 14px; margin-top: 23px; }
    .hero-copy .button-row { gap: 10px; margin-top: 26px; }
    .hero-copy .button { font-size: 11px; padding-inline: 14px; min-height: 45px; gap: 10px; }
    .hero-footnote { margin-top: 15px; font-size: 10px; }
    .hero-panel { min-height: 0; padding: 25px; }
    .hero-panel-heading { min-height: 38px; }
    .hero-panel-heading .leaf-illustration { width: 80px; height: 80px; position: absolute; right: 30px; top: 24px; }
    .hero-panel h2 { font-size: 31px; margin-top: 0; margin-bottom: 22px; }
    .journey-list li { gap: 14px; padding-block: 13px; }
    .journey-list strong { font-size: 12px; }
    .journey-list p { font-size: 11px; }
    .catalog-section { padding: 37px 0 28px; }
    .section-heading { display: block; margin-bottom: 23px; }
    .section-heading h2 { font-size: 30px; }
    .section-heading .eyebrow { font-size: 9px; }
    .section-heading > .text-link { margin-top: 18px; font-size: 12px; }
    .product-grid { grid-template-columns: 1fr; gap: 14px; }
    .product-card { padding: 20px 22px 16px; }
    .product-card-main { padding-block: 23px; gap: 22px; }
    .product-card h3 { font-size: 24px; }
    .product-brand { font-size: 10px; }
    .product-details { font-size: 11px; }
    .product-tin { width: 72px; height: 72px; flex-basis: 72px; }
    .product-tin span { font-size: 27px; }
    .catalog-note { padding-top: 18px; font-size: 10px; }
    .closing-section { grid-template-columns: 1fr; padding-block: 42px; gap: 22px; }
    .closing-section h2 { font-size: 34px; }
    .closing-copy { max-width: 100%; }
    .closing-copy p { font-size: 13px; margin-bottom: 17px; }
    .closing-section .eyebrow { font-size: 9px; }
    .empty-state { padding: 39px 20px; }
    .empty-state h2, .empty-state h3 { font-size: 27px; }
    .empty-state p { font-size: 12px; margin-top: 13px; }
    .empty-state .button { font-size: 11px; min-height: 44px; padding-inline: 16px; }
    .page-section { padding-top: 36px; padding-bottom: 48px; }
    .page-heading { gap: 20px; margin-bottom: 26px; }
    .page-heading h1 { font-size: 37px; }
    .page-heading .eyebrow { font-size: 9px; margin-bottom: 14px; }
    .page-heading p:not(.eyebrow) { font-size: 13px; margin-top: 17px; }
    .filter-bar { grid-template-columns: 1fr 1fr; gap: 15px 12px; padding: 18px; }
    .filter-bar .search-field { grid-column: 1/-1; }
    .filter-bar .button { grid-column: 1/-1; }
    .catalog-filter-actions .button { flex: 1; }
    .pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 12px; padding-top: 20px; margin-top: 23px; }
    .pagination-numbers { grid-column: 1 / -1; grid-row: 1; justify-content: center; }
    .pagination-direction { font-size: 11px; }
    .pagination-direction:last-child { justify-self: end; }
    .results-heading { font-size: 11px; margin-block: 22px 16px; }
    .explanation-panel { margin-top: 30px; padding-left: 17px; }
    .explanation-panel h2 { font-size: 13px; }
    .explanation-panel p { font-size: 11px; }
    .back-link { margin-bottom: 24px; font-size: 11px; }
    .product-overview { grid-template-columns: 1fr; gap: 24px; }
    .product-detail-art { min-height: 205px; padding: 28px 20px 20px; }
    .product-detail-image { height: 240px; max-width: 300px; }
    .product-tin-large { width: 125px; height: 125px; flex-basis: 125px; }
    .product-tin-large span { font-size: 44px; }
    .art-caption { margin-top: 23px; font-size: 8px; }
    .product-detail-heading { padding-top: 2px; }
    .product-detail-heading h1 { font-size: 39px; }
    .product-facts { margin-top: 18px; }
    .product-description { font-size: 12px; margin-top: 18px; }
    .community-score-panel { grid-template-columns: 115px minmax(0,1fr); column-gap: 23px; padding: 22px; }
    .community-score-panel .label { font-size: 8px; letter-spacing: .09em; }
    .large-score { font-size: 46px; }
    .community-score-panel > .muted { font-size: 10px; }
    .product-workspace { grid-template-columns: 1fr; gap: 23px; }
    .panel { padding: 23px; }
    .panel h2 { font-size: 27px; }
    .panel-heading { gap: 12px; }
    .panel > .muted { font-size: 12px; }
    .panel .eyebrow { font-size: 9px; }
    .rating-field { padding-block: 17px; gap: 16px; align-items: center; }
    .rating-field p { max-width: 230px; }
    .rating-field select { width: 99px; }
    .form-footer { gap: 13px; }
    .form-footer p { max-width: none; }
    .rating-form .form-footer .button { width: 100%; }
    .inset-callout { padding: 20px; }
    .inset-callout .button-row { gap: 17px; }
    .inset-callout .button { font-size: 12px; }
    .collection-stats { grid-template-columns: 1fr 1fr; margin-bottom: 26px; }
    .collection-stats > div { padding: 18px 22px; }
    .collection-stats > div:nth-child(3) { border-left: 0; }
    .collection-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .collection-stats dt { font-size: 10px; }
    .collection-stats dd { font-size: 31px; }
    .filter-tabs { gap: 4px; }
    .filter-tabs a { padding: 8px 10px; font-size: 11px; }
    .collection-tools { gap: 16px; }
    .auth-section { display: block; min-height: 0; width: min(420px, calc(100% - 40px)); padding-top: 40px; padding-bottom: 50px; }
    .auth-aside { display: none; }
    .auth-form-panel { max-width: none; }
    .auth-form-panel h1 { font-size: 38px; }
    .auth-form-panel .stacked-form { margin-top: 27px; }
    .field input:not([type="checkbox"]):not([type="hidden"]):not([type="range"]), .field select, .field textarea { font-size: 16px; }
    .field-label-row a { font-size: 11px; }
    .submission-layout { grid-template-columns: 1fr; gap: 25px; }
    .guidance-panel { padding: 24px; }
    .submission-layout .panel-heading .label { font-size: 8px; }
    .submission-layout .form-footer .button { width: 100%; }
    .admin-layout { gap: 25px; }
    .admin-filter-bar { grid-template-columns: 1fr 1fr; padding: 18px; gap: 14px; }
    .admin-filter-bar > .field:first-of-type { grid-column: 1 / -1; }
    .admin-filter-bar > .button { align-self: end; }
    .admin-catalog .pagination { display: grid; padding: 18px 21px; }
    .import-review { padding: 15px; }
    .admin-catalog { padding: 24px 0 5px; }
    .admin-catalog .panel-heading { padding-inline: 22px; }
    .admin-editor .form-grid { grid-template-columns: 1fr; }
    .admin-editor .field-wide { grid-column: auto; }
    .data-table th:first-child, .data-table tbody th:first-child { padding-left: 22px; }
    .data-table td:last-child { padding-right: 22px; }
    .data-table tbody th { min-width: 150px; }
    .error-section { padding-block: 50px 65px; }
    .error-section h1 { font-size: 36px; }
    .error-number { font-size: 80px; }
    .error-section > p:not(.eyebrow) { font-size: 13px; }
    .footer-main { flex-direction: column; gap: 24px; padding-top: 30px; padding-bottom: 26px; }
    .footer-main p { font-size: 10px; }
    .footer-main nav { max-width: none; justify-content: start; gap: 12px 22px; }
    .footer-main nav a { font-size: 10px; }
    .footer-bottom { flex-direction: column; gap: 7px; padding-top: 16px; padding-bottom: 23px; font-size: 9px; }
}
@media (max-width: 390px) {
    .container { width: calc(100% - 30px); }
    .brand { font-size: 21px; gap: 7px; }
    .brand-mark { width: 30px; height: 30px; }
    .login-link { display: none; }
    .header-actions .button { padding-inline: 10px; font-size: 10px; gap: 7px; }
    .main-nav { gap: 27px; }
    .hero-copy h1 { font-size: 46px; }
    .hero-copy .button-row { align-items: stretch; }
    .hero-copy .button { padding-inline: 12px; font-size: 10px; }
    .hero-panel { padding: 23px; }
    .hero-panel h2 { font-size: 29px; }
    .hero-panel-heading .leaf-illustration { width: 65px; right: 25px; }
    .hero-panel .label { font-size: 9px; }
    .product-card { padding-inline: 19px; }
    .product-card h3 { font-size: 22px; }
    .product-card-main { gap: 18px; }
    .product-tin { width: 62px; height: 62px; flex-basis: 62px; }
    .product-tin-large { width: 125px; height: 125px; flex-basis: 125px; }
    .panel { padding: 21px; }
    .rating-field { gap: 12px; }
    .rating-field select { width: 90px; }
    .filter-tabs { gap: 2px; }
    .filter-tabs a { padding-inline: 9px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
