/* Reference pages (pages_hvac.py, pages_electrical.py): fact sheets, wide tables and a clean print layout. */
.muted { color: var(--muted); }
.byline { margin: 0 0 14px; }
.printbar { margin: 12px 0; }
button.btn { font-family: inherit; cursor: pointer; }
p.btns { margin: 16px 0; }
.print-only { display: none; }
.callout { border: 2px solid var(--warn); border-radius: var(--radius); background: var(--card); padding: 14px 18px; max-width: 760px; }
.prose li { margin-bottom: 8px; }

.facts th, .facts td { text-align: left; white-space: normal; vertical-align: top; }
.facts th[scope="row"] { width: 30%; min-width: 130px; font-weight: 600; color: var(--muted); font-size: 14px; }
.facts td small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.facts.cmp thead th { text-align: left; font-size: 15px; color: var(--fg); position: static; }
.facts.cmp th[scope="row"] { width: 22%; }
.states th, .states td { text-align: left; white-space: normal; vertical-align: top; }
.states td:first-child { font-weight: 600; scroll-margin-top: 80px; }
.states:not(.owners) td:nth-child(3) { white-space: nowrap; }
.states:not(.owners) td:last-child { min-width: 180px; }
.states.owners td:nth-child(3) { min-width: 200px; }
.tsh th, .tsh td { padding: 6px 8px; text-align: center; }
.tsh th:first-child, .tsh td:first-child { text-align: left; font-weight: 600; }
.wide th { white-space: normal; vertical-align: bottom; }
.tight th, .tight td { padding: 6px 7px; }
.wrap1 td:first-child { white-space: normal; min-width: 8.5em; }
.stack td small { display: block; font-size: 12px; color: var(--muted); }
.appline { margin: 14px 0 6px; max-width: 760px; }
.appline p { margin: 0 0 10px; }


@media print {
  :root, :root:not([data-theme="light"]), :root[data-theme="dark"], body[class] {
    --bg: #fff; --card: #fff; --fg: #000; --muted: #333; --line: #999; --soft: #f2f2f2; --accent: #000; --shadow: none;
  }
  body { background: #fff; color: #000; font-size: 11pt; }
  header.top, footer, .promo, .appline, .faq, .related, .chips, .printbar, .btns, .crumbs, .calc, .answer, section:has(> .chips) { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .hero { padding: 0 0 6pt; }
  .hero h1 { font-size: 18pt; margin-bottom: 4pt; }
  .hero p.lead { font-size: 10pt; max-width: none; }
  section { margin: 10pt 0; }
  h2 { font-size: 13pt; margin-bottom: 4pt; }
  .tablewrap { overflow: visible; border: 0; border-radius: 0; }
  table { font-size: 9pt; }
  th, td { padding: 1pt 6pt; border-bottom: 0.5pt solid #999; line-height: 1.25; }
  thead { display: table-header-group; }
  thead th { position: static; }
  tr { break-inside: avoid; }
  tbody tr:nth-child(even) { background: #f2f2f2; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { color: inherit; text-decoration: none; }
  .print-only { display: block; }
  p, li { font-size: 9pt; margin: 3pt 0; }
  .fulltable { break-before: page; }
  .prose p { color: #000; }
  .note { font-size: 8pt; }
}
