/* Reading and comparison tools for editorial pages. */
.review-summary { margin-top: 1.35rem; padding: 1.3rem; border: 1px solid #C6D3BE; border-top: 3px solid var(--research); border-radius: var(--r-lg); background: #EDF2E9; }
.review-summary__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; padding-bottom: .65rem; border-bottom: 1px solid #C6D3BE; }
.review-summary__head h2 { margin: 0; font-size: 1.3rem; color: var(--research-deep); }
.review-summary__score { flex: none; color: var(--research-deep); font: 500 1.75rem var(--font-display); }
.review-summary__score small { font: 500 .85rem var(--font-body); }
.review-summary > p { margin: 0; font-size: .9688rem; line-height: 1.6; color: var(--ink-2); }
.review-summary__fit { display: grid; gap: .75rem; margin: 1rem 0; }
.review-summary__fit dt { font-size: .75rem; font-weight: 700; color: var(--research); margin-bottom: .2rem; }
.review-summary__fit dd { margin: 0; font-size: .9rem; line-height: 1.5; }
.review-summary__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding-top: .75rem; border-top: 1px solid #ccdad3; font-size: .8125rem; }
.review-summary__facts strong { margin-right: .3rem; }
.article-navigation { padding-top: 1.75rem; }
.review-comparisons { padding: clamp(1rem, 2.5vw, 1.5rem); border: 1px solid #C6D3BE; border-radius: var(--r-lg); background: var(--sage-soft); }
.review-comparisons h2 { margin-bottom: .55rem; font-size: 1.55rem; color: var(--research-deep); }
.review-comparisons > p { color: var(--ink-3); font-size: .95rem; }
.review-comparisons__links { display: grid; gap: .75rem; margin-top: 1rem; }
.decision-link { display: flex; flex-direction: column; justify-content: space-between; gap: .9rem; min-width: 0; padding: 1.1rem; border: 1px solid #C4D0BC; border-top: 3px solid var(--sage); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; transition: background .18s, border-color .18s, box-shadow .18s, transform .18s var(--ease); }
.decision-link:nth-child(2) { border-top-color: var(--brass); background: var(--brass-tint); }
.decision-link strong { color: var(--ink); font-size: .95rem; line-height: 1.45; }
.decision-link span { color: var(--research); font-size: .875rem; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.decision-link:focus-visible { border-color: var(--research); background: var(--paper); box-shadow: var(--shadow-md); }
.decision-link:focus-visible span { color: var(--research-deep); text-decoration-thickness: 2px; }
.decision-link:focus-visible, .plan-controls select:focus-visible, .plan-table-scroll:focus-visible { outline: 3px solid var(--research); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .decision-link:hover { border-color: var(--research); background: var(--paper); box-shadow: var(--shadow-md); }
  .decision-link:hover span { color: var(--research-deep); text-decoration-thickness: 2px; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .decision-link:hover { transform: translateY(-2px); }
}
.article-contents > summary, .article-sidebar > summary { padding: 1rem 1.1rem; font-size: .9rem; font-weight: 600; cursor: pointer; }
.article-sidebar { margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--r-md); }
.article-sidebar > .specbox { margin: 0 1rem 1rem; }
.article--editorial #article-start { scroll-margin-top: calc(var(--header-h) + 1rem); }
.article--editorial #review-comparisons, .article--editorial #related-title { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.article--editorial .article__body > .prose, .article--editorial .article-contents { min-width: 0; }
.article--editorial .related { padding-top: 1.5rem; }
.related > .reading-roofline { margin-bottom: .8rem; }
.related > h2 { max-width: 28ch; text-wrap: balance; }

/* A buying option after the review's conclusion, with disclosure beside it. */
.prose .referral-offer { margin: 1.75rem 0; padding: clamp(1.1rem, 3vw, 1.65rem); border: 1px solid #D8C5A4; border-top: 3px solid var(--brass); border-radius: var(--r-lg); background: var(--brass-tint); }
.prose .referral-offer__eyebrow { margin: 0 0 .55rem; color: var(--brass-deep); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.prose .referral-offer h3 { margin: 0 0 .75rem; color: var(--research-deep); font-size: clamp(1.25rem, 3vw, 1.5rem); line-height: 1.3; text-wrap: balance; }
.prose .referral-offer__description { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.65; }
.prose .referral-offer__disclosure { margin: .85rem 0 0; color: var(--ink-2); font-size: .8125rem; line-height: 1.6; }
.referral-offer__actions { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; margin-top: 1rem; }
.referral-offer__actions .btn { white-space: normal; text-align: center; max-width: 100%; min-height: 46px; }
.referral-offer__actions .btn__icon { flex: none; }
.referral-offer__destination { color: var(--ink-3); font-size: .75rem; line-height: 1.5; }
.referral-offer__terms { margin-top: 1rem; padding-top: .85rem; border-top: 1px solid #DECAA6; color: var(--ink-2); font-size: .8125rem; line-height: 1.6; }
.referral-offer__terms > summary { cursor: pointer; color: var(--research); font-weight: 600; }
.prose .referral-offer__terms p { margin-top: .65rem; }
.referral-offer__terms > summary:focus-visible { outline: 3px solid var(--research); outline-offset: 4px; border-radius: 2px; }
@media (max-width: 599px) {
  .referral-offer__actions .btn { width: 100%; padding-inline: .85rem; font-size: .875rem; }
}

.plan-comparison { margin: 1.5rem 0; padding: 1.25rem; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--paper); }
.prose .plan-comparison h3 { margin: 0; font-size: 1.35rem; }
.prose .plan-comparison > p { margin-top: .65rem; }
.plan-controls { display: none; align-items: center; flex-wrap: wrap; gap: .6rem .85rem; margin: 1rem 0; }
.js .plan-controls { display: flex; }
.plan-controls label { font-size: .875rem; font-weight: 600; }
.plan-controls select { padding: .6rem 2rem .6rem .75rem; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: .875rem; min-height: 44px; }
.plan-table-scroll { width: 100%; overflow-x: auto; margin-top: 1rem; border: 1px solid var(--line); border-radius: 8px; }
.prose .plan-table { width: 100%; min-width: 490px; border-collapse: collapse; margin: 0; font-size: .875rem; }
.plan-table th, .plan-table td { padding: .8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.plan-table thead { background: var(--paper-2); }
.plan-table th:first-child { width: 22%; }
.plan-table thead th:nth-child(2), .plan-table__cost { white-space: nowrap; }
.plan-table tbody th { font-weight: 600; }
.plan-table tbody tr:last-child > * { border-bottom: 0; }
.plan-table__cost { font-variant-numeric: tabular-nums; font-weight: 600; color: #164d43; }
.prose .plan-comparison__status { font-size: .8125rem; color: var(--ink-3); }
.plan-comparison__scroll-hint { display: none; }
.prose .plan-comparison__note, .prose .plan-comparison__source { font-size: .8125rem; line-height: 1.6; color: var(--ink-3); }

.prose .review-evidence { margin: 2rem 0; padding: 1.25rem 1.35rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper-sunk); }
.prose .review-evidence h2 { margin: 0 0 .7rem; padding: 0; border: 0; font-size: 1.4rem; }
.prose .review-evidence > p { margin: .65rem 0; color: var(--ink-3); font-size: .9375rem; line-height: 1.65; }
.prose .review-evidence ul { margin: .8rem 0; padding-left: 1.2rem; font-size: .9375rem; }
.prose .review-evidence li { margin: .4rem 0; }
.prose .review-evidence li::marker { color: var(--sage); }
.prose .review-evidence a { overflow-wrap: anywhere; text-underline-offset: .2em; }
.prose .review-evidence > .review-evidence__scope { margin: 1rem 0 0; padding-top: .85rem; border-top: 1px solid var(--line); font-size: .8125rem; }

@media (min-width: 700px) {
  .review-comparisons__links { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (min-width: 1020px) {
  .article-contents > summary { display: none; }
}
@media (max-width: 1019px) {
  .article--editorial .article__rail { display: contents; }
  .article--editorial .article__rail > .rail-cta { display: none; }
  .article--editorial .article-contents { order: 0; border: 1px solid var(--line); border-radius: var(--r-md); }
  .article--editorial .article-contents .toc { border: 0; border-radius: 0; background: none; padding-top: 0; }
  .article--editorial .article-contents .toc__title { display: none; }
  .article__body--city .article-contents { border: 1px solid var(--line); border-radius: var(--r-md); }
  .article__body--city .article-contents .toc { border: 0; background: none; padding-top: 0; }
  .article__body--city .article-contents .toc__title { display: none; }
  .article--editorial .article__body > .prose { order: 1; }
  .article--editorial .article-sidebar { order: 2; border: 1px solid var(--line); border-radius: var(--r-md); }
  .article--editorial .article-sidebar > .specbox, .article--editorial .article-sidebar > .rail-cta { margin: 0 1rem 1rem; }
  .article--review .article__title { font-size: clamp(2rem, 5vw, 2.9rem); }
  .article--editorial .article__body { gap: 1.25rem; padding-top: 1.5rem; }
}
@media (max-width: 599px) {
  .article--editorial .article__title { font-size: clamp(1.9rem, 6.5vw, 2.25rem); }
  .article-navigation { padding-top: 1.25rem; }
  .review-comparisons h2 { font-size: 1.4rem; }
  .decision-link { padding: .9rem; }
  .review-summary { padding: 1rem; }
  .review-summary__fit { gap: .65rem; }
  .prose .review-evidence { padding: 1rem; }
  .plan-comparison { padding: 1rem; margin-inline: 0; }
  .plan-comparison__scroll-hint { display: block; font-size: .8125rem; color: var(--ink-3); }
}
@media print {
  .article-navigation, .plan-controls, .plan-comparison__scroll-hint, .article-contents, .article-sidebar { display: none !important; }
  .review-summary { break-inside: avoid; }
  .plan-table-scroll { overflow: visible; border: 0; }
  .prose .plan-table { min-width: 0; }
}
