.collection-comparison .compare-main { background: var(--paper); padding: clamp(24px,4vw,56px) 0 clamp(42px,6vw,78px); }
.compare-main .breadcrumbs { color: var(--muted); }
.compare-main .breadcrumbs a { color: var(--ink); }
.compare-main h1 { margin: 12px 0; font-size: clamp(34px,5vw,62px); line-height: 1.04; letter-spacing: -.045em; color: var(--ink); }
.compare-intro { max-width: 680px; margin: 0 0 22px; color: #5b544f; }
.compare-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.compare-controls[hidden], .compare-table [hidden], .compare-scroll-note[hidden] { display: none; }
.compare-controls label { display: grid; gap: 4px; min-width: 0; font-size: .85rem; font-weight: 650; }
.compare-controls select { min-height: 44px; min-width: 0; width: 100%; border: 1px solid #c8beb4; background: white; color: var(--ink); border-radius: 10px; font: inherit; padding: 8px; }
.compare-toggle { grid-column: 1 / -1; justify-self: start; min-height: 44px; padding: 8px 14px; border: 1px solid #c8beb4; border-radius: 999px; background: white; color: var(--ink); font: inherit; font-weight: 650; cursor: pointer; }
.compare-toggle[aria-pressed="true"] { background: #f5e7eb; border-color: #a45f74; }
.compare-scroll-note { margin: 0 0 8px; font-size: .82rem; color: #5b544f; }
.compare-scroll { max-height: min(70vh, 620px); overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: white; }
.compare-table { border-spacing: 0; width: 100%; min-width: 960px; table-layout: fixed; color: var(--ink); }
.compare-table th, .compare-table td { padding: 12px 14px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table thead th { position: sticky; top: 0; z-index: 2; background: #f8f0eb; border-bottom: 1px solid #d9c8bd; }
.compare-table .compare-feature { width: 18%; position: sticky; left: 0; z-index: 1; background: #faf6f1; box-shadow: 1px 0 var(--line); }
.compare-table thead .compare-feature { z-index: 3; background: #f1e6db; }
.compare-table tbody tr:nth-child(even) td { background: #fffcf9; }
.compare-name { display: block; font-size: 1.12rem; line-height: 1.18; }
.compare-from { display: block; margin-top: 8px; font-size: .72rem; font-weight: 500; }
.compare-price { display: block; font-size: clamp(1rem,2vw,1.38rem); font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare-table .compare-book { margin-top: 8px; min-height: 44px; padding: 8px 14px; white-space: nowrap; }
.compare-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.compare-notes section { background: #faf6f1; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.compare-notes h2 { margin-top: 0; font-size: 1.1rem; }
.compare-notes p { margin: 8px 0; }
.compare-notes a { text-decoration: underline; text-underline-offset: .18em; }
.compare-sr { width: 1px; height: 1px; padding: 0; position: absolute; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.compare-scroll:focus-visible, .compare-controls :focus-visible { outline: 2px solid #8e294b; outline-offset: 2px; }
@media (min-width: 1051px) {
    .compare-scroll-note { display: none; }
}
@media (max-width: 760px) {
    .compare-table { min-width: 676px; font-size: .83rem; }
    .compare-table .compare-feature { width: 96px; }
    .compare-table th, .compare-table td { padding: 9px 7px; }
    .compare-table .compare-book { padding: 7px 9px; font-size: .75rem; }
    .compare-name { font-size: .88rem; }
    .compare-notes { grid-template-columns: 1fr; gap: 10px; }
    [data-compare-grid][data-pair] .compare-table { min-width: 285px; }
}
.compare-steps { margin: 8px 0; padding-inline-start: 22px; }
.compare-steps li + li { margin-top: 5px; }
