/* ============================================================
   Refrigerant PT Chart -- styles
   Trade look: deep navy + ice cyan (from the logo), orange only for highlighted chart rows.
   Light grey page, white cards with thin borders, small radius, solid rectangular buttons.
   Screen: big type and tap targets (>= 44px), WCAG AA. Print: black on white pocket charts, Letter or A4.
   No external fonts, CDNs or trackers.
   ============================================================ */
:root {
  --ink: #0b2545;           /* logo navy */
  --navy: #0b2545;
  --navy-2: #13315c;
  --muted: #4a5768;         /* 7.4:1 on white */
  --bg: #eef2f6;            /* light cool grey page */
  --paper: #fff;
  --line: #cfd8e1;          /* 1px card borders */
  --field: #66727f;         /* input borders: 4.9:1 on white */
  --cyan: #3cc8ec;          /* ice cyan fill; navy text on it: 8.4:1 */
  --cyan-hover: #22b6de;
  --cyan-soft: #e5f6fb;
  --cyan-dark: #0b6e8f;     /* cyan-ish text/lines on white: 5.6:1 */
  --orange: #e8680c;        /* highlight rule only */
  --orange-soft: #fff0df;
  --orange-dark: #a84300;   /* orange text on white: 5.9:1 */
  --link: #0a58a8;
  --focus: #ff9f1c;
  --radius: 4px;
  --radius-card: 6px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Liberation Sans", sans-serif;
  --font-head: "Fira Sans Extra Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
}
/* Fira Sans Extra Condensed Bold (SIL OFL 1.1, see /assets/fonts/OFL-FiraSansExtraCondensed.txt), Latin subset, self-hosted */
@font-face { font-family: "Fira Sans Extra Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/fira-sans-extra-condensed-700.woff2") format("woff2"); }
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.55; color: var(--ink); background: var(--bg); overflow-wrap: break-word; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
main.wrap { padding-top: 1rem; padding-bottom: 3rem; }
main:focus { outline: none; }
h1, h2, h3, .step-h, legend, .group-h, .nav-btn, .nav-link, .step-badge, .wordmark, .res-val, .tool-title { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.01em; }
h1, h2, h3 { line-height: 1.08; text-transform: uppercase; }
h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin: 0.35em 0 0.3em; }
h2 { font-size: clamp(1.45rem, 3.2vw, 1.75rem); margin: 1.6em 0 0.5em; }
h3 { font-size: 1.25rem; }
p, li { max-width: 70ch; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 6px #000; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 0.8rem 1.2rem; z-index: 100; }
.skip-link:focus { left: 0; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* units: <html data-unit="F|C"> shows one set (set before first paint, saved in localStorage) */
html[data-unit="C"] .u-f, html:not([data-unit="C"]) .u-c { display: none !important; }

/* ---------- header (navy) ----------
   Phones/tablets (< 1000px): brand + Menu button; the menu opens a panel below.
   Desktop: brand, then "PT Charts" dropdown + tool links. Dropdown opens on click/tap/keyboard (nav.js). */
.site-header { background: var(--navy); color: #fff; border-bottom: 4px solid var(--cyan); position: relative; z-index: 20; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 1rem; padding-top: 0.45rem; padding-bottom: 0.45rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; min-width: 0; min-height: 48px; padding: 2px 0; color: #fff; text-decoration: none; margin-right: auto; border-radius: 6px; }
.brand-mark { width: 2.5rem; height: 2.5rem; flex: none; display: block; }
.wordmark { font-size: 1.55rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.wm-pt { color: var(--cyan); }
.menu-toggle { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 46px; padding: 0.3rem 0.9rem; border: 2px solid #fff; border-radius: var(--radius); background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.menu-toggle:hover { background: var(--navy-2); }
.menu-toggle[aria-expanded="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list li { max-width: none; }
.nav-btn, .nav-link { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; width: 100%; min-height: 46px; padding: 0.3rem 0.8rem; border: 1px solid transparent; border-radius: var(--radius); background: transparent; color: #fff; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.03em; text-align: left; cursor: pointer; white-space: nowrap; text-decoration: none; }
.nav-btn, .menu-toggle { -webkit-tap-highlight-color: transparent; }
.nav-btn:hover, .nav-link:hover { border-color: #fff; color: #fff; }
.nav-btn[aria-expanded="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.nav-group.is-current > .nav-btn, .nav-link[aria-current] { text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav-caret { width: 0.5em; height: 0.5em; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-25%) rotate(45deg); flex: none; }
.nav-btn[aria-expanded="true"] .nav-caret { transform: translateY(25%) rotate(-135deg); }
.nav-drop { list-style: none; margin: 0; padding: 0.5rem 0.75rem; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-card); }
.nav-drop ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: 0 0.25rem; }
.drop-group { padding: 0.25rem 0 0.4rem; }
.drop-group + .drop-group { border-top: 1px solid var(--line); }
.drop-h { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); padding: 0.2rem 0.4rem; }
.nav-drop a { display: flex; align-items: center; min-height: 44px; padding: 0.2rem 0.5rem; border-radius: 3px; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-drop a:hover { background: var(--cyan-soft); text-decoration: underline; }
.nav-drop a[aria-current] { background: var(--cyan-soft); box-shadow: inset 4px 0 0 var(--cyan-dark); }

@media (max-width: 999.98px) {
  .main-nav { display: none; flex: 1 1 100%; min-width: 0; padding: 0.5rem 0 0.6rem; border-top: 1px solid #2b4a75; margin-top: 0.3rem; }
  .menu-open .main-nav { display: block; }
  .nav-list { display: grid; gap: 0.3rem; }
  .nav-btn, .nav-link { border-color: #3a5a86; }
  .nav-drop { margin: 0.3rem 0 0.2rem; }
}
@media (min-width: 1000px) {
  .menu-toggle { display: none; }
  .main-nav { flex: 0 1 auto; min-width: 0; }
  .nav-list { display: flex; flex-wrap: wrap; gap: 0.3rem; }
  .nav-group { position: relative; }
  .nav-drop { position: absolute; left: 0; top: calc(100% + 8px); width: 36rem; max-width: calc(100vw - 2rem); box-shadow: 0 6px 16px rgba(11,37,69,.18); z-index: 30; }
}

/* ---------- intro ---------- */
.intro-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; margin-bottom: 0.8rem; }
.nw { white-space: nowrap; }
.lead { font-size: 1.1rem; margin: 0; flex: 1 1 22rem; }
.howto-jump { flex: none; }
.facts { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.9rem; max-width: none; }
.fact { display: inline-block; min-height: 2rem; padding: 0.2rem 0.65rem; background: #fff; border: 1px solid var(--line); border-radius: 3px; font-size: 0.95rem; }

/* ---------- buttons + fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.5rem 1.1rem;
  border-radius: var(--radius); border: 2px solid var(--cyan); background: var(--cyan); color: var(--navy); font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; text-align: center; max-width: 100%; }
.btn:hover { background: var(--cyan-hover); border-color: var(--cyan-hover); color: var(--navy); }
.btn.secondary { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn.secondary:hover { background: #e7ecf2; }
.btn.big { min-height: 56px; font-size: 1.1rem; padding: 0.6rem 1.4rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.4rem 0; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 0.7rem 1.2rem 1rem; }
.tool-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.tool-title { margin: 0; font-size: 1.35rem; text-transform: uppercase; }
.tool-grid { display: grid; gap: 0 1.4rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tool-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tool-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.form-step { padding: 0.7rem 0 0.3rem; margin: 0; border: 0; min-width: 0; }
fieldset.form-step { padding-top: 0.8rem; }
.page-tool .tool > .form-step { border-bottom: 1px solid var(--line); padding-bottom: 0.9rem; }
.page-tool .tool > .form-step:last-child { border-bottom: 0; }
.step-h { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0 0 0.5rem; padding: 0; font-size: 1.3rem; line-height: 1.1; text-transform: uppercase; }
legend.step-h { float: left; width: 100%; }
legend.step-h + * { clear: left; }
.step-badge { display: inline-flex; align-items: center; min-height: 1.8rem; padding: 0.05rem 0.55rem; border-radius: 3px; background: var(--navy); color: #fff; font-size: 1rem; letter-spacing: 0.04em; }
.step-note { font-family: var(--font); font-weight: 600; font-size: 0.95rem; text-transform: none; letter-spacing: 0; color: var(--muted); }
input[type=number], input[type=text], select {
  width: 100%; min-height: 52px; padding: 0.45rem 0.7rem; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--field); border-radius: var(--radius); }
select { font-weight: 700; font-size: 1.1rem; }
input[type=number] { font-size: 1.4rem; font-weight: 700; -moz-appearance: textfield; }
input:hover, select:hover { border-color: var(--ink); }
.val-row { display: flex; align-items: stretch; gap: 0.5rem; }
.val-row input { flex: 1 1 auto; min-width: 0; }
.val-row > .u-f { flex: 0 0 auto; display: flex; }
.unit-sel { width: auto; min-width: 7.2rem; font-size: 1rem; }
.unit-suffix { display: inline-flex; align-items: center; min-width: 2.6rem; font-weight: 700; font-size: 1.25rem; }
.seg { display: flex; gap: 0; }
.seg-opt { position: relative; flex: 1 1 0; display: flex; }
.seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-opt span { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0.3rem 0.6rem; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-weight: 700; cursor: pointer; text-align: center; }
.seg-opt:first-child span { border-radius: var(--radius) 0 0 var(--radius); }
.seg-opt:last-child span { border-radius: 0 var(--radius) var(--radius) 0; border-left-width: 0; }
.seg-opt input:checked + span { background: var(--navy); color: #fff; }
.seg-opt input:focus-visible + span { outline: 4px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 6px #000; }
.seg-opt span:hover { background: #e7ecf2; }
.seg-opt input:checked + span:hover { background: var(--navy-2); }
.units { display: inline-flex; flex-wrap: nowrap; }
.unit-btn { min-height: 46px; padding: 0.3rem 0.8rem; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.unit-btn:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.unit-btn:last-child { border-radius: 0 var(--radius) var(--radius) 0; border-left-width: 0; }
.unit-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
.unit-btn:hover { background: #e7ecf2; }
.unit-btn[aria-pressed="true"]:hover { background: var(--navy-2); }
.hint { color: var(--muted); font-size: 0.95rem; margin: 0.4rem 0 0; }
.notice { background: var(--orange-soft); border: 1px solid var(--orange-dark); border-left-width: 4px; border-radius: var(--radius); padding: 0.6rem 1rem; }

/* ---------- result ---------- */
.result { margin-top: 0.6rem; padding-top: 0.8rem; border-top: 2px solid var(--ink); min-height: 4.5rem; }
.result p { margin: 0 0 0.4rem; }
.res-head { font-weight: 700; font-size: 1.05rem; }
.res-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.4rem; }
.res-box { flex: 1 1 12rem; max-width: 22rem; display: flex; flex-direction: column; padding: 0.5rem 0.9rem 0.6rem; background: var(--cyan-soft); border: 1px solid #a9dcec; border-left: 5px solid var(--cyan-dark); border-radius: var(--radius); }
.res-label { font-weight: 700; font-size: 0.95rem; color: var(--muted); }
.res-val { font-size: 2.3rem; line-height: 1.05; }
.res-note { font-size: 0.9rem; color: var(--muted); }
.res-hint { color: var(--muted); font-size: 0.95rem; }
.res-detail { font-size: 0.98rem; }
.res-empty { color: var(--muted); }
.res-warn { background: var(--orange-soft); border-left: 4px solid var(--orange-dark); padding: 0.45rem 0.8rem; font-weight: 600; }
.res-link a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* ---------- chart table ---------- */
.chart { margin-top: 1.6rem; scroll-margin-top: 0.5rem; }
.chart-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; margin-bottom: 0.4rem; }
.chart-bar h2 { margin: 0; flex: 1 1 18rem; }
.chart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.chart-legend, .chart-note { color: var(--muted); font-size: 0.95rem; margin: 0.3rem 0 0.6rem; }
.pt-table { width: 100%; max-width: 36rem; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pt-table thead th { position: sticky; top: 0; z-index: 2; box-shadow: 0 -8px 0 var(--navy); background: var(--navy); color: #fff; padding: 0.45rem 0.6rem; font-size: 1rem; line-height: 1.15; text-align: right; vertical-align: bottom; }
.pt-table thead th:first-child { text-align: center; }
.th-sub { display: block; font-weight: 600; font-size: 0.82rem; color: #cfe9f3; }
.pt-table tbody th { text-align: center; font-weight: 700; background: #f2f5f8; padding: 0.3rem 0.6rem; width: 5.5rem; border-right: 1px solid var(--line); }
.pt-table td { text-align: right; padding: 0.3rem 0.9rem; font-size: 1.05rem; }
.pt-table tbody tr { border-bottom: 1px solid #e3e8ee; }
.pt-table tbody tr:nth-child(even) td { background: #fafbfc; }
.pt-table tr.ten { border-bottom: 2px solid #94a3b4; }
.pt-table tr.mark td, .pt-table tr.mark th { background: var(--orange-soft) !important; font-weight: 800; }
.pt-table tr.mark th { box-shadow: inset 5px 0 0 var(--orange); }
.vac { font-style: italic; }
.pocket { display: none; }

/* ---------- preview (printable chart) ---------- */
.preview { margin-top: 1.4rem; scroll-margin-top: 0.5rem; }
.preview h2 { margin: 0 0 0.3rem; }
.print-ready { margin: 0.2rem 0 0.6rem; font-weight: 700; outline: none; }
.print-ready:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.preview-frame { overflow: hidden; position: relative; }
.preview-scale { transform-origin: top left; width: max-content; }
.preview-actions { margin: 0.9rem 0 0.2rem; display: flex; flex-direction: column; align-items: stretch; gap: 0.4rem; }
.preview-actions .btn-row { margin: 0; }
.edit-back { align-self: flex-start; font-weight: 700; font-size: 0.95rem; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; }
@media (max-width: 600px) { .preview-actions .btn.big { width: 100%; } }
.choice-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 0.2rem 0.6rem; }
.choice-grid li { max-width: none; }
.choice { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 46px; width: 100%; font-weight: 700; cursor: pointer; }
.choice input { width: 1.5rem; height: 1.5rem; accent-color: var(--navy); flex: none; }
.choice input:disabled + span { color: #6b7684; }
.multi-sheet, .pocket-sheet { background: #fff; color: #000; }
.preview .multi-sheet { width: 10.4in; padding: 0.3in; border: 1px solid #b9c2cc; box-shadow: 0 1px 4px rgba(0,0,0,.2); }

/* ---------- after the output ---------- */
.next-step { margin-top: 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 0.4rem 1.2rem 1rem; }
.next-step h2 { margin-top: 0.7rem; }
.tpl-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.tpl-cards li { max-width: none; }
.tpl-card { display: flex; align-items: center; gap: 0.7rem; min-height: 52px; height: 100%; padding: 0.45rem 0.8rem; border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: var(--radius); background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; }
.tpl-card:hover { border-color: var(--ink); border-left-color: var(--cyan-dark); text-decoration: underline; }
.tpl-ico { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; color: var(--ink); flex: none; font-size: 1.15rem; }
.affiliate { margin-top: 1rem; padding: 0.6rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; }
.affiliate-note { color: var(--muted); font-size: 0.85rem; }

/* ---------- browse (home + 404) ---------- */
.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 0.8rem; margin-top: 0.6rem; }
.group-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 0.7rem 0.9rem 0.5rem; scroll-margin-top: 0.75rem; }
.group-card:target { border-color: var(--ink); box-shadow: inset 0 4px 0 var(--cyan); }
.group-h { display: flex; align-items: center; gap: 0.5rem; font-size: 1.3rem; margin: 0 0 0.2rem; padding-bottom: 0.3rem; border-bottom: 3px solid var(--cyan); }
.group-ico { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; flex: none; font-size: 1.1rem; }
.group-links { list-style: none; margin: 0; padding: 0; }
.group-links li { max-width: none; }
.group-links li + li { border-top: 1px solid #e3e8ee; }
.group-links a { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; min-height: 46px; font-weight: 700; text-decoration: none; }
.group-links .gl-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.group-links a:hover .gl-name { text-decoration-thickness: 3px; }
.gl-meta { color: var(--muted); font-weight: 600; font-size: 0.9rem; text-decoration: none; white-space: nowrap; }
.browse h2 { margin-top: 1.4em; }

/* ---------- how to + FAQ ---------- */
.howto { margin-top: 2rem; scroll-margin-top: 0.5rem; }
.howto-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.howto-steps li { counter-increment: s; display: flex; align-items: center; gap: 0.8rem; max-width: 46rem; }
.howto-steps li::before { content: counter(s); flex: none; display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 3px; background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; }
.how-ico { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; flex: none; color: var(--ink); font-size: 1.25rem; }
.back-top a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }
.source { color: var(--muted); font-size: 0.95rem; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 0 0 0.6rem; max-width: 50rem; }
.faq summary { min-height: 48px; padding: 0.65rem 1rem; font-weight: 700; cursor: pointer; display: list-item; }
.faq-a { padding: 0 1rem 0.4rem; }
.faq-a p { margin: 0 0 0.6rem; }
.page-info main p, .page-info main li { font-size: 1.05rem; }

/* ---------- breadcrumbs ---------- */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.15rem; font-size: 0.95rem; }
.crumbs li { display: inline-flex; align-items: center; max-width: none; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.15rem; font-weight: 600; }
.crumbs [aria-current] { color: var(--muted); font-weight: 600; padding: 0 0.15rem; }
.crumb-sep { color: var(--muted); padding: 0 0.3rem; }
main.wrap > .crumbs { margin-top: -0.6rem; }
main.wrap > .crumbs + h1 { margin-top: 0.1em; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 1.2rem 0 1.6rem; margin-top: 2rem; border-top: 4px solid var(--cyan); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.footer-links a, .footer-crew a { color: #fff; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; min-width: 44px; font-weight: 600; }
.footer-charts, .footer-tools { border-bottom: 1px solid #2f4f7a; padding-bottom: 0.3rem; margin-bottom: 0.3rem; }
.footer-crew { margin: 0.3rem 0; border-bottom: 1px solid #2f4f7a; padding-bottom: 0.3rem; max-width: none; }
.site-footer p { margin: 0.6rem 0 0; font-size: 0.95rem; }

@media (max-width: 600px) {
  .wrap { padding: 0 0.75rem; }
  .panel, .next-step { padding-left: 0.8rem; padding-right: 0.8rem; }
  .wordmark { font-size: 1.22rem; line-height: 0.95; white-space: normal; width: 6.6em; }
  .wm-pt { display: block; }
  .brand-mark { width: 2.2rem; height: 2.2rem; }
  .res-val { font-size: 2rem; }
  .pt-table td { padding: 0.3rem 0.6rem; }
  .chart-actions { width: 100%; }
  .chart-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ============================================================
   PRINT SHEETS (pocket chart for one refrigerant, multi chart). pt units so the preview matches paper.
   Default page = the user's paper (Letter or A4), portrait; the printable page adds @page { size: landscape }.
   ============================================================ */
.pocket-sheet, .multi-sheet { font: 9pt/1.2 Arial, "Liberation Sans", Helvetica, sans-serif; font-variant-numeric: tabular-nums; }
.ps-head { display: flex; align-items: baseline; gap: 10pt; border-bottom: 1.5pt solid #000; padding-bottom: 3pt; margin-bottom: 4pt; }
.ps-head p { margin: 0; max-width: none; }
.ps-title { font-size: 14pt; font-weight: 700; }
.ps-sub { font-size: 9pt; }
.ps-site { margin-left: auto !important; font-size: 8.5pt; font-weight: 700; }
.ps-blocks { display: flex; gap: 8pt; align-items: flex-start; }
.ps-blocks table { flex: 1 1 0; border-collapse: collapse; table-layout: fixed; }
.ps-blocks th, .ps-blocks td { padding: 0.9pt 3pt; border-bottom: 0.5pt solid #b5b5b5; text-align: right; white-space: nowrap; }
.ps-blocks thead th { border-bottom: 1.2pt solid #000; text-align: center; font-size: 8pt; padding: 1.5pt 2pt; }
.ps-blocks tbody th { text-align: center; background: #ececec; font-weight: 700; }
.ps-blocks tr.ten td, .ps-blocks tr.ten th { border-bottom: 1pt solid #555; }
.ps-blocks tr.mark td, .ps-blocks tr.mark th { font-weight: 700; border-top: 1.2pt solid #000; border-bottom: 1.2pt solid #000; background: #dcdcdc; }
.ps-foot { margin: 4pt 0 0; font-size: 7pt; line-height: 1.3; max-width: none; }
.multi-sheet { font-size: 7.6pt; line-height: 1.08; }
.multi-sheet .ps-blocks { gap: 10pt; }
.multi-sheet .ps-blocks th, .multi-sheet .ps-blocks td { padding: 0.5pt 2pt; }
.multi-sheet .ps-blocks thead th { font-size: 7.5pt; padding: 1pt 1pt; }
.multi-sheet td.mt-first, .multi-sheet th.mt-name { border-left: 0.75pt solid #777; }
.multi-sheet .mt-sub { font-weight: 400; font-size: 6.5pt !important; }
.multi-sheet[data-unit-sheet="C"] { font-size: 7.3pt; line-height: 1.08; }
.multi-sheet[data-unit-sheet="C"] .ps-blocks th, .multi-sheet[data-unit-sheet="C"] .ps-blocks td { padding: 0.3pt 2pt; }
.multi-sheet.is-empty { padding: 1in; text-align: center; font-size: 14pt; }

@page { margin: 0.35in; }
@media print {
  html { font-size: 12pt !important; }
  body { background: #fff; }
  .site-header, .site-footer, .skip-link, .no-print, .crumbs { display: none !important; }
  main.wrap { padding: 0; max-width: none; }
  a { color: #000; }
  /* chart pages: only the pocket chart for the current unit */
  .page-chart main > :not(.pocket) { display: none !important; }
  .page-chart .pocket { display: block; }
  /* printable page: only the sheet */
  .page-multi main > :not(.preview), .page-multi .preview > :not(.preview-frame) { display: none !important; }
  .page-multi .preview { margin: 0; }
  .page-multi .preview-frame { height: auto !important; overflow: visible; }
  .page-multi .preview-scale { transform: none !important; width: auto; }
  .page-multi .multi-sheet { width: auto; padding: 0; border: 0; box-shadow: none; }
  .pocket-sheet *, .multi-sheet * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  /* other pages: plain content */
  .tool, .result { break-inside: avoid; }
}
