.tm-compare-control[hidden], .tm-compare-control [hidden], .tm-compare-page [hidden] { display: none !important; }
.tm-compare-control { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; font: inherit; }
.tm-compare-control .tm-compare-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 3px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #475569; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: normal; }
.tm-compare-toggle::before { content: ''; width: 13px; height: 13px; flex: 0 0 13px; border: 1px solid #8797a8; border-radius: 3px; }
.tm-compare-toggle[aria-pressed=true] { color: #087f92; }
.tm-compare-toggle[aria-pressed=true]::before { background: #087f92; border-color: #087f92; box-shadow: inset 0 0 0 3px #fff; }
.tm-compare-view, .tm-compare-open { color: #087f92; font-size: 12px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.tm-compare-open { white-space: nowrap; }
.tm-compare-feedback { flex-basis: 100%; color: #526076; font-size: 12px; line-height: 1.4; }
.tm-compare-feedback:empty { display: none; }
.summary .tm-compare-control { margin: 8px 0 16px; }
.summary .tm-compare-toggle, .summary .tm-compare-view { font-size: 14px; }
.tm-product-compare-shell { max-width: 1440px; margin: 0 auto; padding: 38px 24px 64px; }
.tm-compare-page { color: #14263b; }
.tm-compare-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.tm-compare-page .tm-compare-eyebrow { margin: 0 0 8px; color: #087f92; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.tm-compare-page h1 { margin: 0 0 12px; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.15; font-weight: 750; letter-spacing: -.035em; color: #14263b; }
.tm-compare-heading p { margin: 0; max-width: 650px; color: #526076; line-height: 1.65; }
.tm-compare-page .tm-compare-primary, .tm-compare-page .tm-compare-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; box-sizing: border-box; padding: 10px 17px; border: 1px solid #087f92; border-radius: 7px; background: #087f92; color: #fff; box-shadow: none; cursor: pointer; text-decoration: none; text-align: center; font: inherit; font-size: 14px; font-weight: 650; line-height: 1.4; letter-spacing: normal; text-transform: none; }
.tm-compare-page .tm-compare-secondary { background: #fff; border-color: #cbd8dd; color: #14263b; }
.tm-compare-page .tm-compare-primary:hover { background: #066d7d; }
.tm-compare-page .tm-compare-secondary:hover { border-color: #087f92; }
.tm-compare-page a:focus-visible, .tm-compare-page button:focus-visible, .tm-compare-control a:focus-visible, .tm-compare-control button:focus-visible, .tm-compare-scroll:focus-visible { outline: 2px solid #087f92; outline-offset: 3px; }
.tm-compare-toolbar, .tm-compare-toolbar > div { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; }
.tm-compare-toolbar { justify-content: space-between; margin-bottom: 18px; font-size: 14px; }
.tm-compare-differences { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.tm-compare-differences input { width: 17px; height: 17px; accent-color: #087f92; }
.tm-compare-clear, .tm-compare-remove { color: #526076; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.tm-compare-scroll { overflow-x: auto; border: 1px solid #d5e0e5; border-radius: 12px; background: #fff; }
.tm-compare-page table.tm-compare-table { width: 100%; min-width: calc(160px + 235px * var(--tm-compare-columns, 4)); border: 0; border-collapse: separate; border-spacing: 0; table-layout: fixed; margin: 0; }
.tm-compare-table th, .tm-compare-table td { box-sizing: border-box; width: 235px; min-width: 235px; padding: 17px 20px; border: 0; border-right: 1px solid #e2e9ec; border-bottom: 1px solid #e2e9ec; text-align: left; vertical-align: top; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.tm-compare-table th:last-child, .tm-compare-table td:last-child { border-right: 0; }
.tm-compare-table tbody tr:last-child > * { border-bottom: 0; }
.tm-compare-table .tm-compare-row-label { position: sticky; left: 0; z-index: 1; width: 160px; min-width: 160px; background: #f5f8f9; color: #3f5267; font-weight: 600; }
.tm-compare-table thead th { padding: 22px 20px; background: #fff; vertical-align: bottom; }
.tm-compare-table thead th:first-child { vertical-align: top; }
.tm-compare-product { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: #14263b; font-weight: 650; line-height: 1.45; }
.tm-compare-product img.tm-compare-photo { display: block; width: 100%; height: 210px; object-fit: contain; object-position: center; margin: 0; border-radius: 7px; background: #fafbfc; }
.tm-compare-table .tm-compare-primary { width: 100%; margin-top: 17px; }
.tm-compare-remove { display: inline-block; margin-top: 11px; font-weight: 400; }
.tm-compare-unlisted { color: #788797; }
.tm-compare-message { color: #42566c; font-size: 14px; line-height: 1.6; }
.tm-compare-message:empty { display: none; }
.tm-compare-note { max-width: 900px; margin: 18px 0 0; color: #64748b; font-size: 13px; line-height: 1.65; }
.tm-compare-empty { padding: 48px 30px; border: 1px solid #d5e0e5; border-radius: 12px; background: #f5f8f9; }
.tm-compare-empty h2 { margin: 0 0 12px; color: #14263b; font-size: 25px; }
.tm-compare-empty p { margin: 0 0 22px; max-width: 630px; color: #526076; line-height: 1.6; }
.tm-compare-copy-fallback { display: block; margin: 16px 0; font-size: 13px; }
.tm-compare-copy-fallback input { display: block; width: 100%; max-width: 700px; margin-top: 6px; padding: 10px; border: 1px solid #cbd8dd; border-radius: 6px; font: inherit; }
@media (max-width: 700px) {
    .tm-product-compare-shell { padding: 25px 16px 48px; }
    .tm-compare-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 24px; }
    .tm-compare-toolbar { align-items: flex-start; flex-direction: column; gap: 15px; }
    .tm-compare-table th, .tm-compare-table td { width: 200px; min-width: 200px; padding: 14px; }
    .tm-compare-page table.tm-compare-table { min-width: calc(115px + 200px * var(--tm-compare-columns, 4)); }
    .tm-compare-table .tm-compare-row-label { width: 115px; min-width: 115px; padding: 14px 10px; font-size: 12px; }
    .tm-compare-table thead th { padding: 16px 14px; }
    .tm-compare-product img.tm-compare-photo { height: 180px; }
    .tm-compare-table .tm-compare-primary { font-size: 13px; padding: 9px; }
}
