:root {
  color-scheme: light;
  --ink: #152b36;
  --muted: #4e626e;
  --blue: #054e78;
  --paper: #fff;
  --surface: #f1f6f8;
  --line: #d3e0e5;
  font-family: system-ui, sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: #f7fafb;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.48; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: .17em; }
a:hover { color: #082f47; }
:focus-visible { outline: 2px solid #126e9d; outline-offset: 2px; }
button, input, select { font: inherit; }
.shell { width: min(100% - 3rem, 88rem); margin-inline: auto; }
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.7rem; }
.brand { color: var(--ink); font-weight: 760; text-decoration: none; display: inline-flex; align-items: center; gap: .58rem; }
.mark { position: relative; display: inline-block; height: 1.35rem; width: 1.2rem; border: 2px solid #117087; border-radius: .23rem; }
.mark::after { content: ""; position: absolute; width: .58rem; height: .58rem; border: 2px solid #117087; border-radius: 50%; top: .39rem; left: .18rem; }
.mark::before { content: ""; position: absolute; background: #117087; height: 1px; inset: .22rem .14rem auto; }
.market { color: var(--muted); font-size: .875rem; text-align: right; }
.intro { padding: 2rem 0 1.25rem; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.8rem, 3vw, 2.65rem); letter-spacing: -.043em; line-height: 1.14; margin-bottom: .52rem; }
.intro p { color: var(--muted); max-width: 55ch; }
.intro .affiliate-disclosure { margin-top: .6rem; color: var(--ink); font-size: .875rem; }
.intro .intro-link { margin-top: .6rem; max-width: 70ch; }
.site-head nav a { font-size: .875rem; }
.amazon-ad { margin-top: .25rem; }
.panel { border: 1px solid var(--line); border-radius: .66rem; background: var(--paper); }
.filters { display: grid; grid-template-columns: minmax(12rem, 2fr) minmax(8rem, 1fr) minmax(8rem, 1fr) auto; gap: .75rem; align-items: end; padding: 1rem; border-bottom: 1px solid var(--line); }
label { display: grid; gap: .33rem; min-width: 0; font-size: .875rem; font-weight: 650; }
input, select, .reset { border: 1px solid #a9bdc8; border-radius: .32rem; color: var(--ink); background: var(--paper); padding: .48rem .7rem; width: 100%; min-height: 2.75rem; font-weight: 450; }
select { appearance: none; padding-right: 2rem; background: linear-gradient(45deg, transparent 50%, var(--muted) 50%) right 15px center / 5px 5px no-repeat, linear-gradient(135deg, var(--muted) 50%, transparent 50%) right 10px center / 5px 5px no-repeat; }
.reset { width: auto; cursor: pointer; color: var(--blue); font-weight: 650; }
.reset:disabled { color: var(--muted); background: var(--surface); cursor: default; }
.meta { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; flex-wrap: wrap; padding: .65rem 1rem; font-size: .875rem; color: var(--muted); }
#count { font-weight: 700; color: var(--ink); }
.swipe { display: none; }
.scroll { overflow-x: auto; }
table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 61.5rem; text-align: left; font-size: .9rem; font-variant-numeric: tabular-nums; }
th, td { padding: .65rem .72rem; vertical-align: middle; border-bottom: 1px solid #e3ecef; background: var(--paper); }
thead th { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .85rem; white-space: nowrap; }
thead th:first-child, tbody th { position: sticky; left: 0; box-shadow: 1px 0 0 var(--line); z-index: 1; }
tbody th { min-width: 9.4rem; text-align: left; }
tbody tr:nth-child(even) > * { background: #f8fbfc; }
tbody tr:hover > * { background: #eef6f9; }
thead button { border: 0; color: inherit; background: transparent; padding: 0; cursor: pointer; font-weight: inherit; text-align: left; }
thead button:disabled { cursor: default; }
thead button:not(:disabled)::after { content: ""; display: inline-block; background: #718692; width: .42rem; height: .53rem; margin-left: .36rem; clip-path: polygon(50% 0, 100% 39%, 0 39%, 0 61%, 100% 61%, 50% 100%, 0 61%, 0 39%); }
thead button[data-direction] { color: var(--blue); }
thead button[data-direction="up"]::after { clip-path: polygon(50% 18%, 100% 64%, 0 64%); background: var(--blue); border: 0; }
thead button[data-direction="down"]::after { clip-path: polygon(0 33%, 100% 33%, 50% 82%); background: var(--blue); border: 0; }
small, .detail { display: block; font-size: .8rem; color: var(--muted); font-weight: 450; }
.model { font-weight: 730; }
.nowrap, .amount { white-space: nowrap; }
.amount { font-weight: 750; }
.kind { display: inline-block; border: 1px solid #dce7ed; padding: .15rem .42rem; border-radius: .27rem; font-weight: 570; white-space: nowrap; }
.kind.heat-pump { background: #e9f6f2; color: #135442; border-color: #d2ebe2; }
.kind.condenser { background: #eef3fa; color: #294d73; border-color: #dce6f4; }
.kind.vented { background: #f6f1e8; color: #67451d; border-color: #e9dfcf; }
.panel-foot { padding: .65rem 1rem; color: var(--muted); font-size: .875rem; }
.empty { padding: 1.5rem 1rem; border-bottom: 1px solid var(--line); }
.guide { margin: 1.9rem 0; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.guide h2 { font-size: 1.28rem; letter-spacing: -.025em; margin-bottom: .65rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.guide h3 { font-size: 1rem; margin-bottom: .3rem; }
.guide p { color: var(--muted); }
.site-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; padding: .9rem 0; }
.article { max-width: 56rem; padding: 2.2rem 0 3.5rem; }
.article .eyebrow { color: var(--blue); font-size: .875rem; font-weight: 700; margin-bottom: .35rem; }
.article h2 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: .55rem; }
.article p { max-width: 74ch; margin-bottom: .85rem; }
.calculator { margin: 1.6rem 0; padding: 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: .66rem; }
.calculator h2 { margin-top: 0; }
.calculator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 35rem; }
.calculator-note { font-size: .875rem; color: var(--muted); margin-top: .65rem; }
.cost-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: 1.1rem; }
.cost-results > div { padding: .9rem; background: var(--surface); border-radius: .4rem; }
.cost-results :is(strong, span, b) { display: block; }
.cost-results span { color: var(--muted); margin: .3rem 0; }
@media (max-width: 65rem) { .swipe { display: inline; } }
@media (max-width: 46rem) {
  .shell { width: calc(100% - 1.5rem); }
  .bar { min-height: 3.25rem; }
  .intro { padding: 1.3rem 0 1rem; }
  .filters { grid-template-columns: 1fr 1fr; gap: .64rem; padding: .75rem; }
  .search { grid-column: 1 / -1; }
  .reset { grid-column: 1 / -1; justify-self: start; }
  .meta, .panel-foot { padding-inline: .75rem; }
  th, td { padding-inline: .6rem; }
  tbody th { min-width: 7.6rem; max-width: 8.2rem; overflow-wrap: anywhere; }
  .guide-grid { grid-template-columns: 1fr; gap: .85rem; }
  .calculator-fields, .cost-results { grid-template-columns: 1fr; }
  .bar { flex-wrap: wrap; padding-block: .55rem; }
}
