/* PrepAlcove: a compact kitchen handbook. Local assets; no remote fonts. */
.theme-alcove-copper {
    --plaster: #f7f2e9; --paper: #fffcf6; --stone: #e9dfd0; --inset: #eee5d8;
    --ink: #352b24; --muted: #6c5d50; --copper: #91472f; --copper-deep: #723623;
    --verdigris: #475f53; --line: #cfc0ae; --light-line: #dfd4c5; --white: #fffaf3;
    --serif: Georgia, "Palatino Linotype", Palatino, serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--plaster); color: var(--ink); font: 1rem/1.65 var(--sans); overflow-wrap: anywhere; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--copper); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--copper-deep); }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--verdigris); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.6rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); letter-spacing: -.03em; }
h3 { font-size: 1.4rem; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
em { color: var(--copper); font-weight: inherit; }
.wrap { width: calc(100% - 2rem); max-width: 1080px; margin-inline: auto; min-width: 0; }
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 10; padding: .75rem 1rem; background: var(--paper); }
.skip-link:focus { top: 1rem; }
/* Horizontal worktop: compact identity above a thick ink rail and copper lining. */
.masthead { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.4rem; padding-block: 1.2rem .7rem; border-bottom: 5px solid var(--ink); }
.brand, .footer-brand { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; text-decoration: none; }
.brand img { display: block; width: 247px; height: auto; }
.brand:hover, .footer-brand:hover { opacity: .8; }
.masthead-note { display: none; margin: 0; font-size: .67rem; line-height: 1.5; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; }
.main-nav { display: flex; gap: .2rem 1.2rem; flex-wrap: wrap; font-size: .8rem; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--copper); text-decoration: underline; }
.edition-line { display: flex; gap: 1rem; justify-content: space-between; border-top: 2px solid var(--copper); border-bottom: 1px solid var(--line); padding-block: .45rem; font-size: .62rem; text-transform: uppercase; letter-spacing: .11em; color: var(--muted); }
.edition-line span:last-child { display: none; }
.opening { display: grid; gap: 1.5rem; padding: 1.8rem 0 1.25rem; }
.eyebrow { margin: 0 0 .65rem; text-transform: uppercase; font-size: .65rem; font-weight: 700; letter-spacing: .13em; color: var(--muted); line-height: 1.6; text-decoration: none; }
.opening h1 { margin: .65rem 0 1rem; }
.lede { font-size: 1.03rem; line-height: 1.65; color: var(--muted); max-width: 42rem; }
.opening .lede { max-width: 33rem; margin-bottom: 1.25rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 46px; max-width: 100%; padding: .65rem 1rem; color: var(--white); background: var(--copper); text-decoration: none; font-size: .85rem; font-weight: 600; border: 1px solid var(--copper); }
.button:hover { background: var(--copper-deep); color: var(--white); }
.button span { font-size: 1.1rem; }
.small { font-size: .78rem; color: var(--muted); line-height: 1.65; }
.opening-footnote { margin: .75rem 0 0; font-size: .7rem; }
.alcove-figure { margin: 0; padding: .6rem 1rem; background: var(--inset); border-left: 1px solid var(--line); border-bottom: 6px solid var(--ink); }
.figure-label { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .55rem; letter-spacing: .08em; }
.alcove-figure img { display: block; width: 100%; max-height: 235px; object-fit: contain; }
.alcove-figure figcaption { margin: 0 0 .25rem; font-size: .63rem; color: var(--muted); }
.principle-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; border-block: 1px solid var(--line); padding-block: .75rem; font-size: .72rem; }
.principle-strip a { color: var(--ink); text-decoration: none; min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; }
.principle-strip a:hover { color: var(--copper); text-decoration: underline; }
.principle-strip b, .note-number { color: var(--copper); font: 700 1.3rem/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; margin-bottom: 1.2rem; }
.section-heading h2 { margin: 0; }
.section-heading .eyebrow { margin-bottom: .4rem; }
.section-heading > p { margin: 0; }
.text-link { font-size: .82rem; }
.library-section { padding-block: 2rem 2.5rem; }
.topic-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 1rem; }
.topic-links a { display: inline-flex; gap: .8rem; align-items: center; min-height: 44px; font-size: .8rem; }
.topic-links span { color: var(--muted); }
.empty-alcove { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.2rem; border: 1px solid var(--line); border-left: 4px solid var(--copper); background: var(--inset); }
.empty-alcove h3, .empty-alcove h2 { margin: .25rem 0 .7rem; font-size: 1.6rem; }
.empty-alcove .eyebrow { margin-bottom: .2rem; }
.empty-alcove p:not(.eyebrow) { max-width: 43rem; font-size: .88rem; color: var(--muted); }
.shelf-symbol { display: none; width: 54px; flex: 0 0 54px; height: 56px; border: 5px solid var(--ink); border-bottom: 9px solid var(--ink); align-items: end; justify-content: center; gap: 4px; padding: 8px; }
.shelf-symbol span { display: block; width: 5px; height: 20px; background: var(--copper); }
.shelf-symbol span:nth-child(2) { height: 27px; }
.field-notes { border-top: 3px solid var(--ink); padding-top: 1.7rem; }
.section-aside { color: var(--muted); font-size: .82rem; max-width: 18rem; }
.note-grid, .research-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
/* Numbered handbook entries, each with a narrow numeral gutter. */
.planning-note { position: relative; padding: 1.4rem 0 1.1rem 3rem; border-top: 1px solid var(--line); min-width: 0; }
.note-number { position: absolute; left: 0; top: 1.5rem; }
.planning-note h3 { margin: 0 0 .65rem; font-size: 1.3rem; }
.planning-note p { font-size: .88rem; color: var(--muted); max-width: 66ch; }
details { border-top: 1px solid var(--light-line); margin-top: .8rem; max-width: 66ch; }
summary { cursor: pointer; padding-block: .7rem; color: var(--copper); font-size: .8rem; min-height: 44px; }
summary:hover { color: var(--copper-deep); text-decoration: underline; }
details[open] summary { margin-bottom: .25rem; }
.approach-note { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; margin: 2rem 0 3rem; border-left: 3px solid var(--copper); padding-left: 1.2rem; }
.approach-note > p { font-size: 1.15rem; max-width: 35rem; margin: 0; }
.approach-note .eyebrow { margin: 0; }
.approach-note > a { font-size: .8rem; }
/* Research cards use ruled index entries rather than floating panels. */
.research-card { border-top: 1px solid var(--line); padding: 1rem 0 1.3rem; min-width: 0; }
.card-tab { display: flex; justify-content: space-between; margin-bottom: .7rem; font-size: .6rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.research-card h3 { margin: .4rem 0 .8rem; font-size: 1.5rem; }
.research-card h3 a { color: var(--ink); text-decoration: none; }
.research-card h3 a:hover { color: var(--copper); text-decoration: underline; }
.research-card > p:not(.small) { font-size: .9rem; color: var(--muted); }
.card-meta { margin: .6rem 0 0; font-size: .7rem; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 1.75rem; font-size: .85rem; }
.pagination > * { padding: .6rem 0; }
.page-opening { padding: 2rem 0 1.3rem; max-width: 52rem; }
.page-opening h1 { font-size: clamp(2.1rem, 4.3vw, 3.25rem); margin: .8rem 0 1rem; }
.page-opening > .small { margin: 1rem 0 0; }
.document-page { max-width: 720px; padding-bottom: 2.5rem; }
.prose { min-width: 0; max-width: 100%; }
.prose h2 { font-size: 1.65rem; margin: 1.8rem 0 .8rem; }
.prose h3 { margin: 1.5rem 0 .8rem; }
.prose p, .prose li { font-size: .96rem; }
.prose li { margin-bottom: .65rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose table { display: block; overflow-x: auto; max-width: 100%; }
.prose pre { overflow-x: auto; max-width: 100%; }
.prose iframe, .prose video { max-width: 100%; }
.publisher-methodology { border-left: 2px solid var(--line); padding-left: 1.2rem; }
.notice { padding: .85rem 1rem; border-left: 3px solid var(--copper); background: var(--inset); font-size: .82rem; color: var(--muted); }
.stale-notice { margin: 1.5rem 0 0; border-color: var(--verdigris); }
.review { width: 100%; min-width: 0; padding-bottom: 2.5rem; }
.review-opening { max-width: 850px; }
.verdict-strip { display: grid; gap: .8rem; border-top: 5px solid var(--copper); border-bottom: 1px solid var(--line); background: var(--stone); padding: 1.1rem; }
.verdict-strip h2 { font-size: 1.5rem; margin: 0; }
.verdict-copy { max-width: 65ch; font-weight: 600; }
.verdict-strip .small { margin-bottom: 0; }
.article-disclosure { margin-block: .8rem; }
.contents-rail { border-block: 1px solid var(--line); padding-block: 1rem; margin: 1.25rem 0; }
.contents-rail ul { display: flex; flex-wrap: wrap; gap: .3rem 1.3rem; margin: 0; padding: 0; list-style: none; }
.contents-rail li { min-width: 0; max-width: 100%; }
.contents-rail a, .product-contents a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; }
.article-body { max-width: 68ch; margin: 0 0 1.8rem; overflow-x: auto; }
.product-panel { padding: 1.2rem; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--ink); margin-block: 1.5rem; min-width: 0; }
.product-heading { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.product-heading > div { min-width: 0; }
.product-heading h2 { font-size: 1.85rem; margin: .35rem 0 .6rem; }
.product-heading .eyebrow { margin-bottom: .4rem; }
.model { color: var(--muted); font-size: .85rem; margin-bottom: .5rem; }
.evidence-label { display: inline-block; color: var(--verdigris); border: 1px solid var(--line); padding: .3rem .6rem; font-size: .72rem; }
.product-panel h3 { font: 700 .8rem/1.5 var(--sans); letter-spacing: .03em; margin: 0 0 .6rem; }
.product-verdict { border-left: 3px solid var(--copper); padding: .5rem 0 .5rem 1rem; margin-top: 1rem; max-width: 70ch; }
.product-verdict p { margin: 0; font-size: .95rem; }
.product-contents { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-block: .6rem; }
.fit-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; border-top: 1px solid var(--light-line); padding-top: 1rem; margin-top: 1rem; }
.fit-grid p, .fit-grid li { font-size: .9rem; max-width: 60ch; }
.fit-grid ul { padding-left: 1.2rem; margin: 0; }
.evidence-caveat { margin-block: 1rem; max-width: 80ch; }
.specification-board { margin-top: 1.3rem; }
.specification-board > h3 { padding: .65rem .8rem; margin: 0; background: var(--stone); border: 1px solid var(--line); }
.specification-board dl { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 0 .65rem; border: 1px solid var(--line); border-top: 0; }
.specification-board dl > div { min-width: 0; padding: .8rem; border-bottom: 1px solid var(--light-line); }
.specification-board dt { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.specification-board dd { margin: .3rem 0 0; font-size: .87rem; }
.source-note { margin-top: 1.4rem; max-width: 80ch; }
.source-note p { margin-bottom: .5rem; }
.buy-block { padding: 1rem; background: var(--inset); border-top: 1px solid var(--line); margin-top: 1.2rem; }
.buy-block p { margin: .75rem 0 0; }
.no-product-link { border-top: 1px solid var(--line); padding-top: 1rem; margin: 1rem 0 0; }
.comparison { width: 100%; min-width: 0; margin: 2rem 0; }
.comparison h2 { font-size: 1.9rem; }
.table-scroll { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); background: var(--paper); }
.comparison table { width: 100%; min-width: 760px; table-layout: fixed; border-collapse: collapse; font-size: .82rem; }
caption { text-align: left; padding: .8rem 1rem; font-size: .75rem; color: var(--muted); background: var(--inset); }
th, td { padding: 1rem; border-bottom: 1px solid var(--light-line); border-right: 1px solid var(--light-line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
thead th { background: var(--stone); font-size: .7rem; }
th:first-child { width: 26%; }
tbody th { font-weight: 500; }
.table-model, .publisher-label { display: block; margin-top: .6rem; font-size: .75rem; color: var(--muted); }
.demo { display: inline-block; font: 700 .62rem/1.5 var(--sans); color: var(--copper-deep); background: var(--stone); padding: .2rem .4rem; border: 1px solid var(--copper); vertical-align: middle; }
.demo-notice { padding: .8rem; border: 1px dashed var(--copper); font-size: .85rem; }
.preview-bar { padding: .8rem 1rem; background: var(--verdigris); color: var(--white); text-align: center; font-size: .8rem; }
.error-page { min-height: 50vh; padding: 2.5rem 0; max-width: 720px; }
.error-number { font: 700 3.5rem/1 var(--sans); color: var(--copper); margin-bottom: 1rem; }
.error-page h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); margin: 1rem 0; }
.error-page .small { margin-top: 1rem; }
.site-footer { margin-top: 2rem; background: var(--stone); border-top: 5px solid var(--ink); padding: 2rem 0 1rem; }
.footer-grid { display: grid; gap: 1.25rem; }
.footer-brand img { width: 225px; height: auto; display: block; }
.footer-grid p { font-size: .78rem; color: var(--muted); margin: .5rem 0; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; font-size: .8rem; }
.footer-grid nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-disclosure p { font-size: .73rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; margin-top: 1.5rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .65rem; color: var(--muted); }
@media (min-width: 641px) {
    .wrap { width: calc(100% - 3rem); }
    .masthead { padding-block: 1.3rem 1rem; }
    .main-nav { margin-left: auto; }
    .edition-line span:last-child { display: inline; }
    .opening { grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr); align-items: center; gap: 2rem; padding-block: 2rem; }
    .principle-strip { font-size: .8rem; }
    .principle-strip a + a { border-left: 1px solid var(--line); padding-left: 1rem; }
    .section-heading { flex-direction: row; align-items: end; justify-content: space-between; gap: 2rem; }
    .shelf-symbol { display: flex; }
    .planning-note { padding-left: 4rem; }
    .planning-note h3 { font-size: 1.5rem; }
    .research-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; }
    .card-tab { grid-column: 1 / -1; }
    .research-card > .eyebrow { grid-column: 1 / -1; }
    .research-card h3 { grid-column: 1; grid-row: 3 / 5; }
    .research-card > p { grid-column: 2; }
    .verdict-strip { grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: 1.5rem; padding: 1.4rem; }
    .fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
    .specification-board dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .specification-board dl > div:nth-child(even) { border-left: 1px solid var(--light-line); }
    .spec-wide { grid-column: 1 / -1; }
    .product-panel { padding: 1.7rem; }
    .product-heading { flex-direction: row; justify-content: space-between; gap: 1.5rem; }
    .product-heading .evidence-label { flex: 0 0 11rem; }
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
}
@media (min-width: 1000px) {
    .masthead-note { display: block; padding-left: 1.3rem; border-left: 1px solid var(--line); }
    .opening { gap: 3.5rem; }
    .approach-note { flex-direction: row; align-items: center; justify-content: space-between; padding-block: .8rem; }
    .approach-note > .eyebrow { max-width: 7rem; }
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; }
    .footer-grid nav { display: grid; gap: 0; justify-items: start; }
}
/* Only the comparison region owns horizontal overflow, including narrow phones. */
@media (max-width: 640px) {
    main, .review, .comparison, .product-panel { min-width: 0; max-width: 100%; }
    .table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
    .comparison table { min-width: 760px; }
    .review-opening h1 { font-size: 2.1rem; }
    .opening .lede { font-size: .95rem; }
    .alcove-figure { display: none; }
    .comparison .section-heading { gap: .7rem; }
    th, td { padding: .8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
    .main-nav, .button, .skip-link, .site-footer, .alcove-figure, .contents-rail, .product-contents { display: none; }
    .table-scroll { overflow: visible; }
    .comparison table { min-width: 0; font-size: .6rem; }
    .wrap { width: 100%; }
}
