:root {
  --bg: #fafaf8;
  --bg-section: #f4f2ee;
  --white: #ffffff;
  --border: #e6e2da;
  --border-strong: #cec9c0;
  --primary: #1b6b4a;
  --primary-light: #eaf4ef;
  --primary-hover: #155a3d;
  --accent: #f5920a;
  --accent-light: #fef4e6;
  --accent-hover: #d97d08;
  --text-dark: #1c1a17;
  --text-body: #3d3a35;
  --text-muted: #7a756e;
  --text-faint: #b0aba3;
  --success: #1a8a5a;
  --error: #dc2626;
  --warning: #d97706;
  --info: #5b8df6;
  --shadow-sm: 0 1px 3px rgba(26, 23, 20, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 23, 20, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 23, 20, 0.1);
  --shadow-xl: 0 24px 64px rgba(26, 23, 20, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --max-width: 1180px;
  --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font: 400 16px/1.7 "Plus Jakarta Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

input,
textarea {
  min-width: 0;
}

:focus-visible {
  outline: 3px solid rgba(245, 146, 10, 0.35);
  outline-offset: 2px;
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.mono {
  font-family: "JetBrains Mono", monospace;
}

.display {
  font-family: "Playfair Display", serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 10px 24px rgba(12, 24, 17, 0.05);
}

.site-header .container {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex-shrink: 0;
}

.logo-mark {
  width: 28px;
  height: 28px;
}

.logo-word {
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

.logo-word span {
  color: var(--primary);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text-body);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 2px;
  border-radius: var(--radius-full);
  background: currentColor;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pill-button,
.action-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius-full);
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.pill-button {
  padding: 9px 20px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(27, 107, 74, 0.16);
}

.pill-button:hover {
  background: var(--primary-hover);
  box-shadow: 0 12px 24px rgba(27, 107, 74, 0.2);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  width: 20px;
  height: 1.5px;
  border-radius: var(--radius-full);
  background: var(--text-dark);
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(6px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  background: rgba(255, 255, 255, 0.98);
  padding: 24px;
}

.mobile-menu.open {
  display: grid;
}

.mobile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--text-dark);
}

.mobile-menu nav {
  display: grid;
  gap: 22px;
  text-align: center;
}

.mobile-menu a {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
}

.breadcrumb-wrap {
  padding: 12px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumb-current {
  color: var(--text-dark);
}

.tool-hero {
  padding: 48px 0 32px;
}

.tool-hero-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tool-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.14;
  color: var(--text-dark);
}

.tool-hero p {
  margin: 0;
  max-width: 650px;
  font-size: 17px;
  color: var(--text-muted);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-section);
  color: var(--text-body);
  font-size: 13px;
  font-weight: 500;
}

.hero-visual {
  justify-self: center;
  width: min(100%, 220px);
  padding: 26px 24px;
  border: 2px solid rgba(27, 107, 74, 0.15);
  border-radius: 24px;
  background: var(--primary-light);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.hero-visual svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual strong {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.ad-slot {
  max-width: 728px;
  min-height: 90px;
  margin: 0 auto 32px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 12px;
}

.ad-label {
  margin: 0 auto 10px;
  max-width: 728px;
  color: var(--text-faint);
  font-size: 12px;
}

.calculator-shell {
  display: grid;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.calculator-panel {
  padding: 32px;
}

.calculator-panel h2,
.table-card h2,
.content-card h2,
.faq-section h2,
.related-section h2 {
  margin: 0 0 8px;
  color: var(--text-dark);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.panel-intro {
  margin: 0 0 24px;
  color: var(--text-muted);
}

.field-group {
  margin-bottom: 24px;
}

.field-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 10px;
}

.field-head label {
  color: var(--text-body);
  font-size: 14px;
  font-weight: 500;
}

.field-value {
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
}

.range-input {
  width: 100%;
  height: 5px;
  margin: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, var(--primary) 0%, var(--primary) 50%, var(--border) 50%, var(--border) 100%);
  -webkit-appearance: none;
  appearance: none;
}

.range-input::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(27, 107, 74, 0.25);
  -webkit-appearance: none;
  appearance: none;
}

.range-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(27, 107, 74, 0.25);
}

.range-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--text-faint);
  font-size: 11px;
}

.number-wrap {
  position: relative;
  margin-top: 12px;
}

.number-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
}

.number-suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
}

.number-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text-dark);
  padding: 10px 14px;
}

.number-input.has-prefix {
  padding-left: 34px;
}

.number-input.has-suffix {
  padding-right: 32px;
}

.number-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 107, 74, 0.1);
}

.select-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text-dark);
  padding: 10px 14px;
}

.select-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 107, 74, 0.1);
}

.inline-grid {
  display: grid;
  gap: 12px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}

.toggle-copy {
  display: grid;
  gap: 2px;
}

.toggle-copy strong {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
}

.toggle-copy span {
  color: var(--text-muted);
  font-size: 12px;
}

.switch {
  position: relative;
  display: inline-flex;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--border-strong);
}

.switch-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.switch input:checked + .switch-slider {
  background: var(--primary);
}

.switch input:checked + .switch-slider::before {
  transform: translateX(22px);
}

.results-panel {
  border-top: 1px solid var(--border);
  background: var(--bg-section);
  padding: 28px;
}

.result-card {
  margin-bottom: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.result-card:last-of-type {
  margin-bottom: 0;
}

.result-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.result-value {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 700;
}

.result-note {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 13px;
}

.chart-card,
.table-card,
.content-card,
.facts-card,
.faq-card,
.related-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.chart-card {
  margin-top: 16px;
  padding: 22px;
}

.chart-card h3,
.content-card h3,
.facts-card h3,
.faq-section h3 {
  margin: 0 0 12px;
  color: var(--text-dark);
  font-size: 20px;
  font-weight: 700;
}

.chart-wrap {
  width: 240px;
  margin: 0 auto;
}

.chart-legend {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.legend-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.sidebar-ad {
  min-height: 250px;
  width: min(100%, 300px);
  margin: 16px auto 0;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 12px;
  text-align: center;
}

.table-card {
  margin-top: 24px;
  padding: 24px;
}

.table-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.table-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.view-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-section);
}

.toggle-option {
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  color: var(--text-body);
  font-size: 13px;
  font-weight: 600;
}

.toggle-option.active {
  background: var(--primary);
  color: var(--white);
}

.mini-button,
.utility-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-section);
  color: var(--text-body);
  font-size: 14px;
  font-weight: 500;
}

.mini-button:hover,
.utility-button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.outline-download {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--white);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

thead th {
  padding: 12px 16px;
  background: var(--primary);
  color: var(--white);
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}

tbody tr:nth-child(odd) {
  background: var(--white);
}

tbody tr:nth-child(even) {
  background: var(--bg-section);
}

tbody tr:hover {
  background: var(--primary-light);
}

tbody td {
  padding: 10px 16px;
  color: var(--text-body);
  font-size: 14px;
  border-bottom: 1px solid rgba(230, 226, 218, 0.75);
}

tbody td.mono {
  font-size: 13px;
}

.table-footer {
  margin-top: 14px;
}

.show-more {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.show-more:hover {
  text-decoration: underline;
}

.utility-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.content-section {
  padding: 64px 0;
  background: var(--bg-section);
}

.content-grid {
  display: grid;
  gap: 24px;
}

.content-card {
  padding: 28px;
}

.content-card p {
  margin: 0 0 16px;
}

.formula-box {
  margin: 16px 0;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--text-dark);
  color: #00d4aa;
  font: 400 15px/1.7 "JetBrains Mono", monospace;
  overflow-x: auto;
}

.tip-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.tip-item {
  display: flex;
  gap: 12px;
}

.tip-index {
  color: var(--primary);
  font-weight: 700;
}

.facts-card {
  padding: 24px;
  align-self: start;
}

.facts-list {
  display: grid;
  gap: 12px;
}

.fact-row {
  display: grid;
  gap: 2px;
}

.section-stack {
  display: grid;
  gap: 18px;
}

.subsection-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.subsection-card[hidden] {
  display: none !important;
}

.subsection-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.subsection-copy {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 14px;
}

.comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.comparison-badge.is-neutral {
  background: var(--bg-section);
  color: var(--text-body);
}

.comparison-grid {
  display: grid;
  gap: 16px;
}

.comparison-panel {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.comparison-panel h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.comparison-metrics {
  display: grid;
  gap: 12px;
}

.comparison-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(230, 226, 218, 0.8);
}

.comparison-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.comparison-key {
  color: var(--text-muted);
  font-size: 13px;
}

.comparison-number {
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
}

.insight-grid {
  display: grid;
  gap: 14px;
}

.insight-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  background: var(--white);
}

.insight-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.insight-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.inline-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 600;
}

.fact-key {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.fact-value {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
}

.last-updated {
  margin-top: 16px;
  color: var(--text-faint);
  font-size: 12px;
}

.related-section {
  padding: 48px 0;
}

.related-grid {
  display: grid;
  gap: 16px;
}

.related-card {
  padding: 22px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.related-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.related-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--text-dark);
}

.related-card p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.related-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.faq-section {
  padding: 56px 0;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 600;
}

.faq-icon {
  color: var(--primary);
  font-size: 24px;
}

.faq-icon::before {
  content: "+";
}

.faq-item.open .faq-icon::before {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.site-footer {
  background: #18160f;
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.social-links a:hover,
.footer-links a:hover {
  color: var(--white);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-col h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--text-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
}

.hide-print {
  display: initial;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .tool-hero-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.8fr);
  }

  .content-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  }

  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
  }

  .comparison-grid,
  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .calculator-shell {
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.9fr);
  }

  .results-panel {
    border-top: 0;
    border-left: 1px solid var(--border);
  }
}

@media (max-width: 767px) {
  .header-actions .pill-button {
    display: none;
  }

  .container {
    width: min(var(--max-width), calc(100% - 32px));
  }

  .calculator-panel,
  .results-panel,
  .table-card,
  .content-card,
  .facts-card {
    padding: 20px;
  }

  .chart-wrap {
    width: 200px;
  }
}

@media print {
  .site-header,
  .mobile-menu,
  .ad-label,
  .ad-slot,
  .sidebar-ad,
  .utility-row,
  .table-tools,
  .related-section,
  .faq-section,
  .site-footer,
  .hide-print {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .breadcrumb-wrap,
  .tool-hero,
  .content-section,
  .table-card {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .calculator-shell,
  .table-card,
  .content-card {
    box-shadow: none;
  }
}
