

:root {
  color-scheme: dark light;

  
  --tile-blue: #2b4bd8;
  --midnight: #0b1020;
  --panel-dark: #151b2e;
  --shop-yellow: #facc15;
  --readout-green: #4ade80;
  --magenta: #c026d3;
  --paper: #f5f7fb;
  --frost: #e2e8f0;
  --slate: #64748b;
  --line-dark: #1e293b;
  --ink: #0b1020;

  
  --bg: var(--midnight);
  --panel: var(--panel-dark);
  --panel-raised: #1b2338;
  --input-bg: #0e1426;
  --text: var(--frost);
  --muted: #94a3b8;
  --line: var(--line-dark);
  --link: #9db0ff;
  --link-hover: #c3cfff;
  --magenta-text: #e879f9;
  --callout-bg: rgba(250, 204, 21, 0.08);
  --callout-border: var(--shop-yellow);
  --tile-highlight: rgba(255, 255, 255, 0.08);
  --tile-shadow: 0 2px 0 rgba(0, 0, 0, 0.35), 0 8px 20px rgba(0, 0, 0, 0.25);
  --code-bg: #0e1426;
  --zebra: rgba(255, 255, 255, 0.025);
  --focus: var(--shop-yellow);

  
  --readout-bg: var(--midnight);
  --readout-line: #26324d;
  --readout-text: var(--frost);

  
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  
  --radius: 8px;
  --max: 72rem;
  --gutter: 1rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: var(--paper);
    --panel: #ffffff;
    --panel-raised: #ffffff;
    --input-bg: #ffffff;
    --text: var(--ink);
    --muted: #475569;
    --line: #d5dce8;
    --link: var(--tile-blue);
    --link-hover: #1a2f8f;
    --magenta-text: #a21caf;
    --callout-bg: rgba(250, 204, 21, 0.16);
    --callout-border: #ca8a04;
    --tile-highlight: rgba(255, 255, 255, 0.9);
    --tile-shadow: 0 1px 0 rgba(11, 16, 32, 0.08), 0 6px 16px rgba(11, 16, 32, 0.06);
    --code-bg: #eef1f7;
    --zebra: rgba(11, 16, 32, 0.03);
    --focus: var(--tile-blue);
  }
}

:root[data-theme='light'] {
  --bg: var(--paper);
  --panel: #ffffff;
  --panel-raised: #ffffff;
  --input-bg: #ffffff;
  --text: var(--ink);
  --muted: #475569;
  --line: #d5dce8;
  --link: var(--tile-blue);
  --link-hover: #1a2f8f;
  --magenta-text: #a21caf;
  --callout-bg: rgba(250, 204, 21, 0.16);
  --callout-border: #ca8a04;
  --tile-highlight: rgba(255, 255, 255, 0.9);
  --tile-shadow: 0 1px 0 rgba(11, 16, 32, 0.08), 0 6px 16px rgba(11, 16, 32, 0.06);
  --code-bg: #eef1f7;
  --zebra: rgba(11, 16, 32, 0.03);
  --focus: var(--tile-blue);
}

:root[data-theme='dark'] {
  color-scheme: dark;
}
:root[data-theme='light'] {
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 48rem) {
  :root {
    --gutter: 1.5rem;
  }
}

h1,
h2,
h3,
h4 {
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 var(--space-3);
}
h1 {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.25rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  margin-top: var(--space-6);
}
h3 {
  font-size: 1.125rem;
  margin-top: var(--space-5);
}

p,
ul,
ol,
dl {
  margin: 0 0 var(--space-4);
}

ul,
ol {
  padding-left: 1.25rem;
}
li + li {
  margin-top: var(--space-1);
}

a {
  color: var(--link);
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--link-hover);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--space-6) 0;
}

code,
kbd,
samp,
pre,
output,
.num,
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums slashed-zero;
}

code {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.05em 0.35em;
  font-size: 0.92em;
}

pre {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
  overflow-x: auto;
  font-size: 0.95rem;
  line-height: 1.5;
}
pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--tile-blue);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.muted {
  color: var(--muted);
}
.small {
  font-size: 0.9rem;
}
.print-only {
  display: none;
}

.tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 var(--tile-highlight), var(--tile-shadow);
  padding: var(--space-4);
}
@media (min-width: 48rem) {
  .tile {
    padding: var(--space-5);
  }
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  font: 600 1rem/1.2 var(--font-sans);
  color: #fff;
  background: var(--tile-blue);
  border: 1px solid #1f3aad;
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 2px 0 #16287a;
  cursor: pointer;
  text-decoration: none;
  transition: transform 60ms ease, box-shadow 60ms ease, background-color 120ms ease;
}
.btn:hover {
  background: #3456e6;
  color: #fff;
}
.btn:active,
.btn[aria-pressed='true'] {
  transform: translateY(2px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 0 #16287a;
}
.btn-quiet {
  color: var(--text);
  background: var(--panel-raised);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 var(--tile-highlight), 0 2px 0 rgba(0, 0, 0, 0.25);
}
.btn-quiet:hover {
  background: var(--panel-raised);
  color: var(--text);
  border-color: var(--muted);
}
.btn-small {
  min-height: 2.25rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.9rem;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  box-shadow: inset 0 -1px 0 var(--tile-highlight);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  padding-block: var(--space-3);
}
.wordmark {
  order: 1;
  font: 700 1.2rem/1 var(--font-sans);
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
.theme-toggle {
  order: 2;
}
.site-nav {
  order: 3;
  flex-basis: 100%;
}
@media (min-width: 40rem) {
  .site-nav {
    order: 2;
    flex-basis: auto;
  }
  .theme-toggle {
    order: 3;
  }
}
.wordmark:hover {
  color: var(--text);
}
.wordmark .dot-net {
  color: var(--muted);
  font-weight: 500;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav li + li {
  margin-top: 0;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-1) 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  border-bottom-color: var(--tile-blue);
}
.theme-toggle {
  min-height: 2.25rem;
  min-width: 2.25rem;
  padding: 0.3rem;
}
.theme-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
}
.theme-toggle .icon-sun {
  display: none;
}
:root[data-theme-effective='light'] .theme-toggle .icon-sun {
  display: block;
}
:root[data-theme-effective='light'] .theme-toggle .icon-moon {
  display: none;
}

.page {
  padding-block: var(--space-5) var(--space-7);
}
.crumbs {
  font-size: 0.9rem;
  margin-bottom: var(--space-2);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--space-1);
}
.crumbs li + li {
  margin-top: 0;
}
.crumbs li + li::before {
  content: '/';
  color: var(--muted);
  margin-right: var(--space-1);
}
.crumbs a {
  color: var(--muted);
}
.cat-label {
  display: inline-block;
  font: 600 0.75rem/1.2 var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta-text);
  margin-bottom: var(--space-2);
}
.page-head {
  margin-bottom: var(--space-5);
}
.page-head h1 {
  margin-bottom: var(--space-2);
}
.lede {
  font-size: 1.125rem;
  margin-bottom: var(--space-2);
}
.review-notice {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.last-updated {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: var(--space-6);
}

.prose {
  max-width: 44rem;
}

.callout {
  border-left: 4px solid var(--callout-border);
  background: var(--callout-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-3) var(--space-4);
  margin: 0 0 var(--space-4);
}
.callout > :last-child {
  margin-bottom: 0;
}

.calc {
  margin-bottom: var(--space-5);
}
.calc-title {
  margin-top: 0;
  font-size: 1.125rem;
}
.calc-fields {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 36rem) {
  .calc-fields {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  }
}
.calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.field label,
.field legend {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: var(--space-1);
}
.field .unit {
  font-weight: 400;
  color: var(--muted);
}
.input-wrap {
  display: flex;
  align-items: stretch;
}
.field input,
.field select,
.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  font: 500 1.05rem/1.3 var(--font-mono);
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.25);
}
.field select {
  font-family: var(--font-sans);
}
.input-wrap input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-wrap .suffix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  font: 500 0.95rem var(--font-mono);
  color: var(--muted);
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  white-space: nowrap;
}
.field input:focus,
.field select:focus {
  border-color: var(--tile-blue);
}
.field .hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin: var(--space-1) 0 0;
}
.field input[aria-invalid='true'] {
  border-color: var(--shop-yellow);
}

.unit-toggle {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.unit-toggle .segments {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: inset 0 1px 0 var(--tile-highlight);
}
.unit-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.unit-toggle label {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--panel-raised);
  margin: 0;
}
.unit-toggle label + input + label,
.unit-toggle input + label ~ label {
  border-left: 1px solid var(--line);
}
.unit-toggle input:checked + label {
  background: var(--tile-blue);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.unit-toggle input:focus-visible + label {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
}

.readout {
  margin-top: var(--space-4);
  background: var(--readout-bg);
  color: var(--readout-text);
  border: 1px solid var(--readout-line);
  border-radius: var(--radius);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  padding: var(--space-4);
}
.readout-label {
  font: 600 0.75rem/1.2 var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 var(--space-1);
}
.readout-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
  margin: 0;
}
.readout-value {
  font: 600 clamp(2rem, 1.5rem + 3vw, 3rem) / 1.1 var(--font-mono);
  color: var(--readout-green);
  word-break: break-word;
}
.readout-unit {
  font: 500 1.1rem var(--font-mono);
  color: var(--readout-green);
}
.readout-formula {
  font: 400 0.95rem/1.5 var(--font-mono);
  color: var(--readout-text);
  margin: var(--space-3) 0 0;
  overflow-wrap: anywhere;
}
.readout-note {
  font: 400 0.95rem/1.5 var(--font-mono);
  color: #94a3b8;
  margin: var(--space-2) 0 0;
}
.readout-error {
  color: var(--shop-yellow);
  font-weight: 500;
  margin: var(--space-2) 0 0;
}
.readout.is-error .readout-main {
  display: none;
}

.formula-block {
  margin-bottom: var(--space-5);
}
.formula code {
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
}
.formula {
  font: 500 1.05rem/1.5 var(--font-mono);
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  margin: 0 0 var(--space-3);
  overflow-x: auto;
  white-space: pre-wrap;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  margin-bottom: var(--space-3);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  padding: var(--space-3) var(--space-4) var(--space-2);
}
th,
td {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  font-weight: 600;
  background: var(--panel-raised);
  white-space: nowrap;
}
td {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums slashed-zero;
}
td.text,
.table-text td {
  font-family: var(--font-sans);
}
tbody tr:nth-child(even) {
  background: var(--zebra);
}
tbody tr:last-child td {
  border-bottom: 0;
}
th.num,
td.num,
.align-right {
  text-align: right;
}
.symbol-key th {
  white-space: normal;
}
.ref-table-tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.ref-table {
  margin-bottom: var(--space-5);
}
.table-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.source-line {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 var(--space-4);
}
.source-line strong {
  color: var(--text);
  font-weight: 600;
}

.worked-example ol {
  padding-left: 1.5rem;
}
.worked-example li {
  font-variant-numeric: tabular-nums;
}
.worked-result {
  font-family: var(--font-mono);
  font-weight: 600;
}
.shop-notes ul {
  padding-left: 1.25rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  margin-bottom: var(--space-2);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: var(--space-3) var(--space-4);
}
.faq details[open] summary {
  border-bottom: 1px solid var(--line);
}
.faq .answer {
  padding: var(--space-3) var(--space-4);
}
.faq .answer > :last-child {
  margin-bottom: 0;
}

.related ul,
.tool-list {
  list-style: none;
  padding: 0;
}
.related li,
.tool-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
}
.tag {
  display: inline-block;
  font: 600 0.7rem/1.4 var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 0.5rem;
  white-space: nowrap;
}
.tag-coming {
  border-style: dashed;
}
.coming-title {
  color: var(--muted);
}

.hero {
  padding-block: var(--space-6) var(--space-5);
}
.hero h1 {
  font-size: clamp(2rem, 1.4rem + 3vw, 3rem);
  margin-bottom: var(--space-2);
}
.hero .tagline {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0;
}
.tile-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
}
.tile-grid > li + li {
  margin-top: 0;
}
@media (min-width: 40rem) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64rem) {
  .tile-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.cat-tile {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cat-tile-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}
.cat-tile-head h2,
.cat-tile-head h3 {
  margin: 0;
  font-size: 1.125rem;
}
.icon-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  color: #fff;
  background: var(--tile-blue);
  border: 1px solid #1f3aad;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 2px 0 #16287a;
}
.icon-chip svg {
  width: 2.25rem;
  height: 2.25rem;
}
.icon-chip-small {
  width: 2.25rem;
  height: 2.25rem;
}
.icon-chip-small svg {
  width: 1.4rem;
  height: 1.4rem;
}
.cat-tile p {
  color: var(--muted);
  font-size: 0.95rem;
}
.cat-tile ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3);
}
.cat-tile .more {
  margin-top: auto;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.hub-section {
  scroll-margin-top: var(--space-4);
}
.hub-section h2 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.form-grid {
  display: grid;
  gap: var(--space-4);
  max-width: 40rem;
}
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.form-field .optional {
  font-weight: 400;
  color: var(--muted);
}
.form-field input,
.form-field textarea {
  font-family: var(--font-sans);
}
.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  font-weight: 500;
}
.form-status[data-state='error'] {
  border-left: 4px solid var(--callout-border);
  background: var(--callout-bg);
  padding: var(--space-3) var(--space-4);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.9rem;
  color: var(--muted);
  padding-block: var(--space-6);
}
.site-footer a {
  color: var(--muted);
}
.site-footer a:hover {
  color: var(--text);
}
.footer-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: var(--space-1) var(--space-4);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
}
.footer-cats li + li {
  margin-top: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
}
.footer-links li + li {
  margin-top: 0;
}
.footer-notices p {
  margin-bottom: var(--space-2);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  :root,
  :root[data-theme='dark'],
  :root[data-theme='light'] {
    --bg: #fff;
    --panel: #fff;
    --panel-raised: #fff;
    --text: #000;
    --muted: #333;
    --line: #999;
    --link: #000;
    --code-bg: #fff;
    --input-bg: #fff;
    --zebra: transparent;
    --readout-bg: #fff;
    --readout-text: #000;
    --readout-line: #000;
    --readout-green: #000;
    --magenta-text: #000;
    --tile-highlight: transparent;
    --tile-shadow: none;
    color-scheme: light;
  }
  @page {
    margin: 1.5cm;
  }
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.4;
    display: block;
  }
  .site-header,
  .site-nav,
  .site-footer nav,
  .footer-links,
  .crumbs,
  .skip-link,
  .theme-toggle,
  .btn,
  button,
  .calc-actions,
  .ref-table-tools,
  .no-print,
  .related {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  
  .site-footer {
    background: #fff !important;
    color: #000 !important;
    border-top: 1px solid #999;
    padding: 6pt 0 0;
    margin-top: 12pt;
    font-size: 9pt;
  }
  .site-footer a {
    color: #000 !important;
  }
  .footer-notices p {
    margin-bottom: 3pt;
  }
  .wrap {
    max-width: none;
    padding: 0;
  }
  .page {
    padding: 0;
  }
  a {
    color: #000;
    text-decoration: none;
  }
  .tile,
  .readout,
  .faq details {
    box-shadow: none !important;
    border: 1px solid #999;
    background: #fff !important;
  }
  .readout-value,
  .readout-unit,
  .readout-label,
  .readout-note {
    color: #000 !important;
  }
  .table-wrap {
    overflow: visible;
    border: 0;
  }
  table {
    font-size: 10pt;
    border: 1px solid #000;
  }
  thead {
    display: table-header-group;
  }
  caption {
    break-after: avoid;
    page-break-after: avoid;
  }
  .field input,
  .field select {
    box-shadow: none;
    border: 1px solid #666;
    color: #000;
  }
  .unit-toggle label {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  .unit-toggle input:checked + label {
    font-weight: 700;
    text-decoration: underline;
  }
  tr,
  td,
  th {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  th,
  td {
    border: 1px solid #666;
    padding: 3pt 6pt;
    background: #fff !important;
    color: #000 !important;
  }
  h1,
  h2,
  h3 {
    break-after: avoid;
    page-break-after: avoid;
  }
  .faq details:not([open]) > :not(summary) {
    display: block;
  }
  .print-meta {
    font-size: 9pt;
    border-top: 1px solid #999;
    margin-top: 12pt;
    padding-top: 6pt;
  }
}
