:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #f5f8ff;
  --text: #10233f;
  --muted: #61708a;
  --border: #dce4ef;
  --border-strong: #c9d5e6;
  --blue: #1267e5;
  --blue-dark: #0b52bd;
  --blue-soft: #eaf2ff;
  --green: #119447;
  --green-soft: #ecfaef;
  --purple: #7d49df;
  --danger: #bd2d2d;
  --danger-soft: #fff1f1;
  --shadow: 0 12px 34px rgba(28, 56, 96, .08);
  --radius: 16px;
  --radius-small: 10px;
  --page-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: var(--blue); }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 228, 239, .9);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(var(--page-width), calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 760;
  text-decoration: none;
  letter-spacing: -.02em;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue);
}
.brand-icon svg { width: 22px; height: 22px; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav > a:not(.github-button) {
  color: #3f4e66;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}
.header-nav > a:not(.github-button):hover { color: var(--blue); }
.github-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.github-button svg { fill: currentColor; stroke: none; }
.github-button:hover { border-color: #9eb1ca; background: #f8fafc; }

.hero {
  padding: 64px 20px 42px;
  text-align: center;
  background:
    radial-gradient(circle at 50% -20%, rgba(18, 103, 229, .12), transparent 48%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero-inner { width: min(840px, 100%); margin: 0 auto; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.hero-copy {
  max-width: 730px;
  margin: 18px auto 0;
  color: #53637b;
  font-size: clamp(1rem, 2vw, 1.18rem);
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 42px;
  margin-top: 28px;
  color: #44536a;
  font-size: .92rem;
  font-weight: 650;
}
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span:nth-child(1) svg { color: var(--blue); }
.trust-row span:nth-child(2) svg { color: var(--green); }
.trust-row span:nth-child(3) svg { color: var(--purple); }

.calculator-section {
  width: min(var(--page-width), calc(100% - 40px));
  margin: 0 auto;
  scroll-margin-top: 92px;
}
.mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(600px, 100%);
  margin: 0 auto 18px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #edf2f8;
}
.mode-button {
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  color: #5c6a80;
  background: transparent;
  font-weight: 750;
}
.mode-button.active {
  color: var(--blue);
  background: #fff;
  box-shadow: 0 4px 14px rgba(27, 60, 105, .09);
}
.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: 18px;
  align-items: start;
}
.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form-panel { padding: 24px; }
.result-panel { position: sticky; top: 88px; padding: 24px; }
.form-section { padding: 2px 0 24px; }
.form-section + .form-section { padding-top: 24px; border-top: 1px solid #e8edf4; }
.compact-section { padding-bottom: 18px; }
.section-title-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 18px;
}
.section-title-row h2, .result-header-row h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -.015em;
}
.section-title-row p, .result-header-row p, .card-heading-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .82rem;
}
.step-number {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: .78rem;
  font-weight: 800;
}
.choice-grid { display: grid; gap: 10px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.choice-card:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 0 0 1px rgba(18, 103, 229, .12);
}
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-indicator {
  width: 18px;
  height: 18px;
  border: 2px solid #bac7d9;
  border-radius: 50%;
  background: #fff;
}
.choice-card input:checked + .choice-indicator { border: 5px solid var(--blue); }
.choice-card strong { display: block; color: #1d4f9a; font-size: .87rem; }
.choice-card small { display: block; margin-top: 2px; color: var(--muted); font-size: .72rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.field, .term-load-fieldset { display: grid; gap: 7px; min-width: 0; }
.field > span:first-child, .term-load-fieldset legend, .inline-options legend {
  color: #26364f;
  font-size: .8rem;
  font-weight: 720;
}
.field.full-width { grid-column: 1 / -1; }
.field input, .field select, .term-load-field input {
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--text);
  background: #fff;
  outline: none;
}
.field input:focus, .field select:focus, .term-load-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 103, 229, .12);
}
.field input:user-invalid { border-color: var(--danger); }
.input-with-suffix {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}
.input-with-suffix input { border-radius: 8px 0 0 8px; }
.input-with-suffix > span {
  display: grid;
  place-items: center;
  padding: 0 11px;
  border: 1px solid var(--border-strong);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  color: var(--muted);
  background: #f8fafc;
  font-size: .77rem;
}
.inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 16px 0;
  padding: 0;
  border: 0;
}
.inline-options legend { width: 100%; margin-bottom: 2px; }
.inline-options label { display: inline-flex; align-items: center; gap: 7px; color: #485873; font-size: .82rem; }
.inline-options input { accent-color: var(--blue); }
.info-button {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 1px solid #aebbd0;
  border-radius: 50%;
  color: #66758c;
  background: #fff;
  font-size: .66rem;
  font-weight: 800;
}
.info-button:focus::after, .info-button:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 10;
  width: min(260px, 70vw);
  margin: 24px 0 0 -90px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #fff;
  background: #23334a;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}
.field-note, .privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: .73rem;
}
.field-note svg { color: var(--green); }
.term-load-fieldset { margin: 17px 0 0; padding: 0; border: 0; }
.term-load-fieldset legend { margin-bottom: 8px; }
.term-load-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.term-load-grid.quarter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.term-load-field { display: grid; gap: 5px; }
.term-load-field span { color: var(--muted); font-size: .73rem; font-weight: 700; }
.target-fields { margin-top: 18px; }
.target-callout {
  margin-bottom: 13px;
  padding: 12px 13px;
  border: 1px solid #cfe0fa;
  border-radius: 10px;
  background: var(--blue-soft);
}
.target-callout strong { font-size: .85rem; }
.target-callout p { margin: 2px 0 0; color: #546885; font-size: .75rem; }
.exception-heading-row { align-items: center; justify-content: space-between; }
.optional-label { margin-left: 5px; color: var(--muted); font-size: .67rem; font-weight: 650; }
.exceptions-list { display: grid; gap: 8px; }
.exception-row {
  display: grid;
  grid-template-columns: 1.2fr .85fr .85fr auto;
  gap: 8px;
  align-items: end;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f9fbfd;
}
.icon-button {
  width: 40px;
  height: 43px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: #6f7c91;
  background: #fff;
  font-size: 1.35rem;
}
.icon-button:hover { color: var(--danger); border-color: #e7abab; background: var(--danger-soft); }
.primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 9px;
  padding: 10px 15px;
  font-weight: 750;
}
.primary-button {
  border: 1px solid var(--blue);
  color: #fff;
  background: var(--blue);
  box-shadow: 0 7px 18px rgba(18, 103, 229, .22);
}
.primary-button:hover { background: var(--blue-dark); }
.secondary-button {
  border: 1px solid var(--border-strong);
  color: #43516a;
  background: #fff;
}
.secondary-button:hover { border-color: #9eafc6; background: #f7f9fc; }
.small-button { min-height: 36px; padding: 7px 11px; font-size: .75rem; }
.calculate-button, .reset-button { width: 100%; }
.reset-button { margin-top: 10px; }
.form-error {
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid #efb9b9;
  border-radius: 9px;
  color: #8e2424;
  background: var(--danger-soft);
  font-size: .82rem;
}

.result-header-row, .card-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.result-kicker { color: var(--blue) !important; font-weight: 750; }
.system-badge {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #2f5c99;
  background: var(--blue-soft);
  font-size: .7rem;
  font-weight: 750;
}
.result-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 20px;
  border: 1px solid #cfe8d5;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--green-soft), #f7fff8);
}
.result-summary span { color: #2f7d4a; font-size: .79rem; font-weight: 750; }
.result-summary strong { display: block; margin-top: 2px; color: var(--green); font-size: clamp(1.75rem, 4vw, 2.35rem); line-height: 1.1; letter-spacing: -.04em; }
.result-summary p { margin: 8px 0 0; color: #597064; font-size: .82rem; }
.summary-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #dcf5e3; color: var(--green) !important; }
.summary-icon svg { width: 28px; height: 28px; }
.result-message {
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid #f0d7a6;
  border-radius: 9px;
  color: #71551d;
  background: #fff9e9;
  font-size: .78rem;
}
.metrics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.metric-card { min-width: 0; padding: 14px; border: 1px solid var(--border); border-radius: 11px; background: #fff; }
.metric-card > span { display: block; color: #53637b; font-size: .73rem; font-weight: 700; }
.metric-card strong { display: block; margin-top: 6px; font-size: 1.65rem; line-height: 1.05; letter-spacing: -.035em; }
.metric-card small { display: block; margin-top: 8px; color: var(--muted); font-size: .68rem; }
.progress-track { height: 7px; margin-top: 9px; overflow: hidden; border-radius: 999px; background: #edf1f6; }
.progress-track span { display: block; width: 70%; height: 100%; border-radius: inherit; background: var(--green); transition: width .35s ease; }
.timeline-card, .scenario-section { margin-top: 12px; padding: 15px; border: 1px solid var(--border); border-radius: 12px; }
.card-heading-row h3 { margin: 0; font-size: .9rem; }
.timeline { list-style: none; margin: 14px 0 0; padding: 0; }
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 0 0 13px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:not(:last-child)::before { content: ""; position: absolute; top: 15px; left: 5px; bottom: 0; width: 2px; background: #d9e6dc; }
.timeline-dot { position: relative; z-index: 1; width: 12px; height: 12px; margin-top: 4px; border: 3px solid #d7f0de; border-radius: 50%; background: var(--green); }
.timeline-item.skipped .timeline-dot { border-color: #e5e9ef; background: #aeb8c6; }
.timeline-item.skipped:not(:last-child)::before { background: #e6eaf0; }
.timeline-main strong { display: block; font-size: .78rem; }
.timeline-main span { display: block; color: var(--muted); font-size: .68rem; }
.timeline-credit { text-align: right; }
.timeline-credit strong { display: block; font-size: .77rem; }
.timeline-credit span { color: var(--muted); font-size: .65rem; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.scenario-card { padding: 10px; border: 1px solid var(--border); border-radius: 9px; background: #f9fbfd; }
.scenario-card.current { border-color: #b9d2f7; background: var(--blue-soft); }
.scenario-card span { display: block; color: var(--muted); font-size: .64rem; }
.scenario-card strong { display: block; margin-top: 5px; font-size: .78rem; }
.scenario-card small { display: block; margin-top: 4px; color: #4e6079; font-size: .65rem; }
.result-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.result-actions .secondary-button { font-size: .77rem; }

.value-strip {
  width: min(var(--page-width), calc(100% - 40px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  border: 1px solid #d8e4f5;
  border-radius: 14px;
  background: #f3f7fd;
}
.value-strip article { display: flex; align-items: flex-start; gap: 11px; }
.value-strip h2 { margin: 0; font-size: .83rem; }
.value-strip p { margin: 3px 0 0; color: var(--muted); font-size: .72rem; }
.value-icon { flex: 0 0 auto; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; font-weight: 800; }
.value-icon.blue { color: var(--blue); background: var(--blue-soft); }
.value-icon.green { color: var(--green); background: var(--green-soft); }
.value-icon.purple { color: var(--purple); background: #f1ebff; }

.content-section { padding: 82px 20px; scroll-margin-top: 76px; }
.alt-section { border-block: 1px solid #e4e9f0; background: #fff; }
.content-heading { width: min(760px, 100%); margin: 0 auto 32px; text-align: center; }
.content-heading h2, .split-content h2, .conversion-layout h2 { margin: 0; font-size: clamp(1.75rem, 4vw, 2.55rem); line-height: 1.14; letter-spacing: -.035em; }
.content-heading > p:last-child, .split-content > div > p, .conversion-layout > div > p { color: var(--muted); }
.steps-grid { width: min(1040px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.content-card { padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 8px 26px rgba(26, 50, 84, .05); }
.content-card > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: #fff; background: var(--blue); font-size: .78rem; font-weight: 800; }
.content-card h3 { margin: 15px 0 5px; font-size: 1rem; }
.content-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.formula-card { width: min(1040px, 100%); margin: 17px auto 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; padding: 23px; border: 1px solid #cfe0f8; border-radius: 14px; background: var(--blue-soft); }
.formula-label { margin: 0 0 5px; color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.formula { margin: 0; color: #183d76; font-size: 1.05rem; font-weight: 780; }
.formula-card > p { margin: 0; color: #526984; font-size: .8rem; }
.split-content, .conversion-layout { width: min(1040px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 55px; align-items: start; }
.check-list { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 29px; color: #46566e; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: .7rem; font-weight: 800; }
.source-card { padding: 23px; border: 1px solid var(--border); border-radius: 14px; background: #f8fafc; }
.source-card h3 { margin: 0; }
.source-card p { color: var(--muted); font-size: .83rem; }
.source-card a { display: block; margin-top: 10px; font-size: .79rem; font-weight: 680; text-underline-offset: 3px; }
.converter-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.conversion-result { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 14px; border-radius: 10px; background: var(--blue-soft); }
.conversion-result span { color: #41618f; font-size: .8rem; }
.conversion-result strong { color: var(--blue); font-size: 1.8rem; }
.faq-section { background: #fff; }
.faq-list { width: min(850px, 100%); margin: 0 auto; border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { position: relative; padding: 19px 40px 19px 0; font-weight: 760; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 5px; top: 17px; color: var(--blue); font-size: 1.35rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -5px 0 19px; color: var(--muted); font-size: .9rem; }
.site-footer { padding: 28px 20px; border-top: 1px solid var(--border); color: var(--muted); background: #fff; text-align: center; }
.site-footer p { margin: 0; font-size: .8rem; }

[hidden] { display: none !important; }

@media (max-width: 980px) {
  .header-nav > a:not(.github-button) { display: none; }
  .calculator-layout { grid-template-columns: 1fr; }
  .result-panel { position: static; }
  .term-load-grid.quarter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-strip { grid-template-columns: 1fr; }
  .split-content, .conversion-layout { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  .header-inner, .calculator-section, .value-strip { width: min(100% - 24px, var(--page-width)); }
  .header-inner { min-height: 62px; }
  .brand { font-size: .86rem; }
  .brand-icon { width: 29px; height: 29px; }
  .github-button { padding: 8px 10px; font-size: .78rem; }
  .hero { padding: 48px 16px 30px; }
  .trust-row { gap: 12px 22px; font-size: .8rem; }
  .mode-switch { grid-template-columns: 1fr; }
  .form-panel, .result-panel { padding: 17px; border-radius: 13px; }
  .two-columns, .field-grid, .metrics-grid, .result-actions { grid-template-columns: 1fr; }
  .choice-card { min-height: 64px; }
  .field.full-width { grid-column: auto; }
  .term-load-grid, .term-load-grid.quarter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exception-row { grid-template-columns: 1fr 1fr; }
  .exception-row .icon-button { width: 100%; }
  .scenario-grid { grid-template-columns: 1fr; }
  .value-strip { margin-top: 15px; padding: 15px; }
  .content-section { padding: 58px 16px; }
  .steps-grid, .formula-card { grid-template-columns: 1fr; }
  .formula-card { gap: 12px; }
  .converter-card { grid-template-columns: 1fr; }
  .conversion-result { grid-column: auto; }
}

@media (max-width: 410px) {
  .brand span:last-child { max-width: 145px; line-height: 1.15; }
  .github-button { width: 40px; padding: 8px; font-size: 0; }
  .github-button svg { width: 20px; height: 20px; }
  .term-load-grid, .term-load-grid.quarter-grid { grid-template-columns: 1fr; }
  .exception-row { grid-template-columns: 1fr; }
  .result-summary { align-items: flex-start; padding: 16px; }
  .summary-icon { width: 40px; height: 40px; }
}

@media print {
  body { background: #fff; }
  .site-header, .hero, .mode-switch, .form-panel, .value-strip, .content-section, .result-actions, .site-footer { display: none !important; }
  .calculator-section { width: 100%; margin: 0; }
  .calculator-layout { display: block; }
  .result-panel { position: static; border: 0; box-shadow: none; }
}
