/* Onsem: quiet, readable, responsive utility interfaces. No external assets. */
:root {
  color-scheme: light;
  --page: #f7f8f4;
  --surface: #ffffff;
  --surface-soft: #f0f3ed;
  --surface-warm: #f5f2e9;
  --ink: #192e29;
  --ink-soft: #3d514a;
  --muted: #687970;
  --line: #e0e7df;
  --line-strong: #bdcbbf;
  --brand: #156653;
  --brand-dark: #0e4b3e;
  --brand-soft: #e9f2ec;
  --brand-on: #ffffff;
  --orange: #bc6f36;
  --danger: #a63e31;
  --danger-soft: #fff1ee;
  --warning: #865c25;
  --warning-soft: #fbf5e7;
  --shadow-small: 0 2px 4px rgb(31 53 41 / 3%);
  --shadow-float: 0 16px 50px rgb(20 47 35 / 10%);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; }
button { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #71a995;
  outline-offset: 3px;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
button[hidden], [hidden] { display: none !important; }
::selection { color: var(--brand-dark); background: #cee7d7; }
img, svg { vertical-align: middle; }
svg.icon { flex-shrink: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.35; letter-spacing: -.035em; }
h1 { font-size: 32px; font-weight: 700; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 650; }
p { margin-bottom: 0; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
strong { font-weight: 650; }
small { font-size: .82em; }
hr { height: 1px; border: 0; background: var(--line); margin: 24px 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 18px; top: -100px; z-index: 200; padding: 12px 20px; border-radius: 8px; background: var(--brand); color: white; }
.skip-link:focus { top: 12px; }
.app-shell { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100dvh; }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; background: #fbfcf8; border-right: 1px solid var(--line); padding: 30px 18px 22px; overflow-y: auto; z-index: 30; }
.sidebar-brand { padding: 0 12px 27px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { color: var(--brand); flex-shrink: 0; }
.brand-wordmark { font-size: 23px; font-weight: 750; line-height: 1.05; letter-spacing: -.055em; }
.brand-latin { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .23em; }
.sidebar-brand > p { color: var(--muted); font-size: 11px; margin-top: 15px; letter-spacing: -.015em; }
.primary-nav { display: flex; flex-direction: column; gap: 20px; }
.nav-group { display: flex; flex-direction: column; gap: 3px; }
.nav-label { color: #839086; padding: 0 13px 7px; font-size: 10px; font-weight: 650; letter-spacing: .055em; }
.nav-link { display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 10px 12px; border-radius: 8px; color: var(--ink-soft); font-size: 13px; font-weight: 500; transition: background .15s ease, color .15s ease; }
.nav-link .icon { color: #7a8c80; width: 18px; height: 18px; }
.nav-link:hover { background: #edf1e9; color: var(--brand-dark); }
.nav-link.is-active { color: var(--brand); background: #e7f0e8; font-weight: 650; }
.nav-link.is-active .icon { color: var(--brand); }
.nav-current-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); margin-left: auto; flex-shrink: 0; }
.nav-utility { padding-top: 16px; border-top: 1px solid var(--line); }
.sidebar-note { display: flex; align-items: flex-start; gap: 9px; margin-top: auto; padding: 24px 10px 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.sidebar-note .icon { color: #81978b; margin-top: 2px; }
.workspace { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 75px; padding: 0 44px; background: rgb(255 255 255 / 62%); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar-leading, .topbar-actions { display: flex; align-items: center; gap: 18px; min-width: 0; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); }
.breadcrumbs > span { color: var(--ink-soft); }
.breadcrumbs > a:hover { color: var(--brand); }
.topbar-saved { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 12px; min-height: 40px; }
.topbar-saved:hover { color: var(--brand); }
.topbar-saved .icon { color: var(--muted); }
.icon-button { border: 0; padding: 9px; min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: transparent; color: var(--ink); }
.icon-button:hover { background: var(--surface-soft); }
.menu-toggle, .mobile-brand { display: none; }
.nav-backdrop { display: none; }
.main-content { width: 100%; max-width: 1280px; margin: 0 auto; padding: 35px 44px 52px; flex: 1; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 23px 44px 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-brand { font-weight: 700; color: var(--ink-soft); margin-right: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a:hover { color: var(--brand); }
.site-footer .footer-note { width: 100%; color: #819086; font-size: 10px; }

/* Home */
.home-hero { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; padding: 38px 40px 35px; border: 1px solid #e3e8dc; border-radius: 20px; background: #eef3e9; overflow: hidden; }
.home-hero::after { content: ''; position: absolute; right: -90px; top: -160px; width: 380px; height: 380px; border: 1px solid rgb(89 130 103 / 9%); border-radius: 50%; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 650; letter-spacing: .15em; color: var(--brand); margin: 0 0 13px; }
.eyebrow-line { width: 18px; height: 1px; background: var(--brand); }
.home-hero h1 { margin: 0 0 17px; font-size: clamp(32px, 3.5vw, 47px); font-weight: 720; letter-spacing: -.065em; line-height: 1.27; }
.home-hero h1 span { color: var(--brand); }
.hero-description { font-size: 13px; line-height: 1.9; color: #607368; letter-spacing: -.025em; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 25px; }
.hero-secondary-link { font-size: 12px; display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); min-height: 44px; }
.hero-secondary-link:hover { color: var(--brand); }
.hero-caption { margin-top: 13px; color: #7b8a7c; font-size: 10px; }
.hero-example { position: relative; z-index: 1; background: #fff; padding: 23px 25px 19px; border: 1px solid #e0e7dc; border-radius: 15px; box-shadow: 0 14px 32px rgb(51 81 54 / 5%); transform: rotate(-1deg); }
.hero-example-heading { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 650; }
.mini-tool-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.example-label { margin-left: auto; color: var(--muted); font-size: 9px; font-weight: 500; background: var(--surface-soft); padding: 3px 7px; border-radius: 5px; }
.hero-example-inputs { margin: 19px 0; }
.hero-example-inputs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 9px 0; }
.hero-example-inputs dt { color: var(--muted); font-size: 11px; }
.hero-example-inputs dd { margin: 0; font-size: 14px; font-weight: 550; font-variant-numeric: tabular-nums; }
.hero-example-inputs dd span { margin-left: 4px; font-size: 10px; color: var(--muted); font-weight: 400; }
.hero-example-answer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line); }
.hero-example-answer > div > span { color: var(--brand); font-size: 10px; font-weight: 600; display: block; }
.hero-example-answer strong { display: block; margin-top: 4px; font-size: 32px; font-weight: 650; letter-spacing: -.035em; line-height: 1.25; font-variant-numeric: tabular-nums; }
.hero-example-answer strong small { font-size: 14px; font-weight: 500; margin-left: 4px; }
.example-ratio { color: var(--brand); background: #eef6f0; padding: 5px 8px; border-radius: 6px; font-size: 10px; white-space: nowrap; margin-bottom: 5px; }
.hero-example-note { color: #88968c; font-size: 9px; margin-top: 15px; }
.tools-section { margin-top: 38px; }
.section-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.section-kicker { color: var(--muted); font-size: 9px; letter-spacing: .15em; font-weight: 650; margin: 0 0 6px; }
.section-toolbar h2 { margin: 0; font-size: 21px; letter-spacing: -.04em; }
.tool-search { position: relative; display: flex; align-items: center; gap: 8px; width: 235px; max-width: 100%; flex-shrink: 0; }
.tool-search > .icon { position: absolute; left: 13px; color: #8a998d; pointer-events: none; }
.tool-search input { height: 42px; width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 10px 12px 10px 39px; font-size: 12px; }
.tool-search input::placeholder { color: #8c9a91; }
.category-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 19px; }
.filter-button { min-height: 36px; border: 1px solid transparent; background: transparent; padding: 7px 13px; border-radius: 7px; color: var(--muted); font-size: 12px; font-weight: 550; }
.filter-button:hover { background: #edf1e9; }
.filter-button.is-active, .filter-button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.filter-button > span { margin-left: 7px; font-size: 10px; font-weight: 400; opacity: .7; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tool-card { display: flex; min-width: 0; flex-direction: column; min-height: 191px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 19px 19px 16px; box-shadow: var(--shadow-small); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.tool-card:hover { border-color: #9cb7a4; transform: translateY(-2px); box-shadow: 0 7px 18px rgb(29 57 41 / 5%); }
.tool-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.tool-icon { display: flex; align-items: center; justify-content: center; width: 39px; height: 39px; border-radius: 11px; background: #f0f5ee; color: var(--brand); }
.tool-card-arrow { color: #a2b0a5; transition: color .15s ease; }
.tool-card:hover .tool-card-arrow { color: var(--brand); }
.tool-card h3 { font-size: 15px; letter-spacing: -.035em; font-weight: 650; margin: 0 0 8px; }
.tool-card > p { color: var(--muted); font-size: 11px; line-height: 1.8; word-break: keep-all; margin-bottom: 16px; }
.tool-category { align-self: flex-start; margin-top: auto; color: #809085; font-size: 9px; padding: 0; }
.search-empty { text-align: center; background: #fff; padding: 42px 20px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); }
.search-empty > .icon { color: #91aa98; margin-bottom: 12px; }
.search-empty h3 { margin-bottom: 8px; color: var(--ink-soft); }
.search-empty p { font-size: 13px; }
.home-guides { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 26px; }
.guide-card { display: flex; align-items: center; gap: 15px; padding: 22px; border-radius: 11px; background: #eff2ec; border: 1px solid #e7ece2; }
.guide-icon { color: #557b62; align-self: flex-start; margin-top: 2px; }
.guide-card > div { min-width: 0; }
.guide-card > .icon { margin-left: auto; color: #7d9082; }
.guide-card h2 { font-size: 12px; margin: 0 0 6px; letter-spacing: -.025em; }
.guide-card p { color: var(--muted); font-size: 11px; line-height: 1.75; }
.guide-card:hover { border-color: #b6c7b9; }

/* Shared calculator UI */
.page-content { max-width: 1040px; margin: 0 auto; }
.tool-heading { margin: 0 0 26px; }
.tool-heading h1 { margin: 0 0 11px; font-size: 30px; letter-spacing: -.05em; }
.tool-heading > p:not(.eyebrow) { color: var(--muted); font-size: 13px; max-width: 720px; line-height: 1.85; }
.tool-heading .heading-icon { display: inline-flex; padding: 9px; margin-bottom: 15px; border-radius: 11px; color: var(--brand); background: var(--brand-soft); }
.heading-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: 23px; align-items: start; }
.input-panel, .result-panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 26px; box-shadow: var(--shadow-small); }
.input-panel h2, .result-panel h2 { font-size: 17px; letter-spacing: -.03em; margin: 0 0 20px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 21px; }
.panel-heading h2 { margin: 0; }
.panel-heading .button { font-size: 11px; min-height: 34px; padding: 6px 10px; }
.panel-meta { font-size: 11px; color: var(--muted); }
.mode-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #f2f4ef; border: 1px solid #e8ede3; border-radius: 9px; margin: 0 0 24px; }
.mode-button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; flex: 1 1 auto; border: 1px solid transparent; min-height: 39px; padding: 8px 9px; border-radius: 6px; background: transparent; font-size: 12px; color: var(--muted); font-weight: 550; white-space: normal; }
.mode-button:hover { background: #e8eee4; color: var(--ink); }
.mode-button.is-active, .mode-button.active, .mode-button[aria-pressed="true"], .mode-button[aria-selected="true"] { background: #fff; color: var(--brand); box-shadow: 0 1px 4px rgb(43 67 44 / 7%); border-color: #dce7db; font-weight: 650; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 16px; }
.field, .form-field { min-width: 0; }
.field-wide, .field.full-width { grid-column: 1 / -1; }
.field label, .form-field label, .field-label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field label > small { color: var(--muted); font-size: 10px; font-weight: 400; margin-left: 5px; }
.field input, .field select, .field textarea, .form-field input, .form-field select, .form-field textarea, .text-input { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #d5dfd5; background: #fff; border-radius: 7px; padding: 10px 12px; font-size: 16px; line-height: 1.4; font-variant-numeric: tabular-nums; transition: border-color .15s ease; }
.field input::placeholder, .form-field input::placeholder, .text-input::placeholder { color: #9aa69c; font-size: 13px; }
.field input:disabled, .field select:disabled { background: #f3f5f1; color: #839085; }
.field input[type="date"] { appearance: none; -webkit-appearance: none; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field select { padding-right: 30px; }
.input-wrap { position: relative; min-width: 0; }
.input-wrap input { padding-right: 48px; }
.input-wrap > .unit, .input-wrap > .input-unit, .input-wrap > span { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: #7d8a80; font-size: 12px; pointer-events: none; }
.input-wrap .prefix { left: 12px; right: auto; }
.field-error { margin-top: 6px; color: var(--danger); font-size: 11px; line-height: 1.6; }
.field-error:empty { display: none; }
[aria-invalid="true"] { border-color: #c8695b !important; background: #fffaf8 !important; }
.field-help, .form-help { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.check-field { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.check-field input, .field input[type="checkbox"] { width: 17px; min-height: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--brand); flex-shrink: 0; }
.field label:has(input[type="checkbox"]) { display: flex; gap: 8px; align-items: flex-start; }
.field label:has(input[type="checkbox"]) > input { margin-top: 2px; }
.form-section { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 19px; }
.form-section h3 { font-size: 13px; margin-bottom: 4px; }
.form-section > p { font-size: 11px; color: var(--muted); margin-bottom: 17px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 10px 17px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink-soft); background: #fff; font-size: 12px; font-weight: 600; line-height: 1.4; text-align: center; transition: background .15s ease, border-color .15s ease; }
.button.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.button.primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.button.secondary { border-color: #d4dfd3; background: #fff; color: var(--ink-soft); }
.button.secondary:hover { background: #f1f5ed; border-color: #a5bba8; }
.button.quiet { background: transparent; color: var(--muted); border-color: transparent; }
.button.quiet:hover { background: #eff3eb; color: var(--brand); }
.button.danger { border-color: #e7beb5; color: var(--danger); background: #fff; }
.button.danger:hover { background: #fff1ed; }
.button:disabled, .button[aria-disabled="true"] { opacity: .45; }
.button.block, .button.full-width { width: 100%; }
.form-actions, .result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 23px; }
.form-actions > .button.primary { flex: 1; }
.form-actions > .button.quiet { padding-inline: 13px; }
.form-footnote { font-size: 10px; color: var(--muted); margin-top: 13px; line-height: 1.7; }
.result-panel { padding: 25px; }
.result-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 18px; }
.result-header h2 { margin: 0; }
.result-status { color: var(--muted); font-size: 11px; line-height: 1.7; margin-bottom: 14px; }
.result-status.valid, .result-status[data-state="valid"] { color: var(--brand); }
.result-status.dirty, .result-status.invalid, .result-status[data-state="dirty"], .result-status[data-state="invalid"] { color: var(--warning); }
.result-hero { padding: 22px 22px 24px; border-radius: 11px; background: #ecf5ee; border: 1px solid #e0eee2; }
.result-hero > p, .result-label { color: var(--brand); font-size: 12px; font-weight: 550; margin: 0 0 9px; }
.result-value { font-size: clamp(27px,3.3vw,45px); color: #174d3d; font-weight: 650; letter-spacing: -.045em; line-height: 1.28; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.result-value small, .result-unit { font-size: 17px; font-weight: 500; color: #466758; margin-left: 5px; letter-spacing: 0; }
.result-hero .result-subtitle { margin-top: 11px; margin-bottom: 0; color: #60856e; font-size: 11px; font-weight: 400; }
.result-breakdown { margin: 22px 0 0; font-size: 12px; }
.result-breakdown > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid #edf0e9; }
.result-breakdown > div:last-child { border-bottom: 0; }
.result-breakdown dt, .result-breakdown .label { color: var(--muted); min-width: 0; }
.result-breakdown dd, .result-breakdown .value { margin: 0; font-weight: 550; font-variant-numeric: tabular-nums; text-align: right; max-width: 65%; overflow-wrap: anywhere; }
.result-breakdown .total { padding-top: 14px; border-top: 1px solid var(--line); color: var(--brand); }
.result-breakdown .total dt, .result-breakdown .total dd { color: var(--brand); font-weight: 650; }
.result-note { padding: 12px 14px; border-radius: 8px; background: #f4f6f1; color: var(--muted); font-size: 11px; line-height: 1.8; margin-top: 17px; }
.result-note ul { padding-left: 17px; margin: 6px 0 0; }
.result-note p + p { margin-top: 6px; }
.result-actions > .button { flex: 1 1 auto; font-size: 11px; }
.result-actions > .button .icon { width: 16px; height: 16px; }
.empty-result { min-height: 260px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 28px 16px; text-align: center; border: 1px dashed #d9e4d6; border-radius: 11px; background: #f8faf5; }
.empty-result .icon { color: #8da996; margin-bottom: 16px; }
.empty-result h3 { font-size: 15px; color: #526c5d; margin-bottom: 9px; }
.empty-result p { font-size: 12px; color: #829085; max-width: 230px; line-height: 1.8; }
.empty-result > span:first-child { color: #8da996; }
.negative { color: var(--danger) !important; }
.positive { color: var(--brand) !important; }
.neutral { color: var(--muted) !important; }
.status-pill, .badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-size: 10px; line-height: 1.4; font-weight: 550; }
.badge.warning { background: var(--warning-soft); color: var(--warning); }
.notice { border-radius: 8px; background: #eff4ed; border: 1px solid #dce8da; padding: 12px 14px; color: #577060; font-size: 12px; line-height: 1.8; margin: 14px 0; }
.notice.error { background: var(--danger-soft); border-color: #eed0c8; color: var(--danger); }
.notice.success { background: #eaf5ee; border-color: #d1e6d8; color: #28684d; }
.notice.warning { background: var(--warning-soft); border-color: #eadfc5; color: var(--warning); }
.notice strong { display: block; margin-bottom: 3px; }
.notice ul { margin: 5px 0 0; padding-left: 18px; }
.details { border: 1px solid var(--line); border-radius: 11px; background: #fff; margin-top: 18px; }
.details > summary { display: list-item; font-size: 12px; font-weight: 600; color: var(--ink-soft); padding: 15px 18px; cursor: pointer; }
.details[open] > summary { border-bottom: 1px solid var(--line); }
.details > :not(summary) { padding: 16px 18px; font-size: 12px; color: var(--muted); }
.details > .form-grid { color: var(--ink); }
.details .field-help { font-size: 10px; }
.calculator-notes { margin-top: 25px; padding: 23px 26px; background: #f0f3ed; border-radius: 11px; border: 1px solid #e6ece1; }
.calculator-notes h2 { font-size: 14px; margin-bottom: 12px; }
.calculator-notes p, .calculator-notes li { color: var(--muted); font-size: 12px; line-height: 1.9; }
.calculator-notes p + p { margin-top: 9px; }
.calculator-notes ul { margin: 0; padding-left: 19px; }
.calculator-notes a, .prose a, .result-note a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.formula { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #f0f4ed; border: 1px solid #e2eadc; padding: 13px 15px; border-radius: 8px; font-size: 12px; color: var(--ink-soft); overflow-wrap: anywhere; }
.related-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; font-size: 11px; color: var(--muted); }
.related-tools a { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: white; border-radius: 7px; padding: 7px 10px; color: var(--ink-soft); }
.related-tools a:hover { color: var(--brand); border-color: #b0c5b5; }

/* Schedules, charts, saved calculations */
.section-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin: 25px 0 15px; }
.section-heading h2, .section-heading h3 { font-size: 17px; margin: 0; }
.section-heading > p { color: var(--muted); font-size: 12px; }
.chart { margin: 18px 0; color: var(--brand); min-width: 0; }
.chart svg { display: block; width: 100%; height: auto; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 10px; color: var(--muted); margin-top: 8px; }
.chart-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.legend-swatch { width: 9px; height: 9px; background: var(--brand); border-radius: 2px; }
.table-wrap { width: 100%; min-width: 0; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-top: 14px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 11px; font-variant-numeric: tabular-nums; }
.data-table th { background: #f1f5ed; color: #6e8072; font-size: 10px; font-weight: 600; text-align: right; padding: 11px 13px; white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table td { text-align: right; padding: 11px 13px; border-top: 1px solid #eaf0e5; color: var(--ink-soft); white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: #fbfcf9; }
.data-table tfoot td { background: #eef5ec; color: var(--brand); font-weight: 650; border-top: 1px solid var(--line); }
.table-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.table-caption { color: var(--muted); font-size: 11px; margin-top: 9px; }
.save-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 22px 0; }
.save-toolbar p { font-size: 12px; color: var(--muted); }
.save-toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.save-list { display: grid; gap: 13px; }
.saved-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.saved-card > div { min-width: 0; }
.saved-card h2, .saved-card h3 { font-size: 16px; margin: 0 0 7px; overflow-wrap: anywhere; }
.saved-card p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.saved-card .saved-value { color: var(--brand); font-size: 24px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.saved-card .saved-value small { font-size: 12px; font-weight: 400; }
.saved-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #859387; font-size: 10px; margin-top: 8px; }
.saved-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.saved-actions .button { min-height: 38px; font-size: 11px; padding: 8px 11px; }
.saved-empty { text-align: center; padding: 64px 24px; border: 1px dashed var(--line-strong); border-radius: 14px; background: #fff; }
.saved-empty > .icon { color: #98ac99; margin-bottom: 18px; }
.saved-empty h2 { font-size: 19px; margin-bottom: 10px; }
.saved-empty p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 22px; }
.compare-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; margin-top: 16px; }
.compare-grid > section, .compare-grid > article { min-width: 0; border: 1px solid var(--line); border-radius: 11px; background: white; padding: 20px; }
.compare-grid h3 { font-size: 14px; margin-bottom: 14px; }
.compare-grid .result-value { font-size: 28px; }
.compare-summary { background: var(--brand-soft); border: 1px solid #d6e6d8; color: var(--brand); border-radius: 9px; padding: 14px 16px; margin-top: 15px; font-size: 12px; }
.ad-slot { margin-top: 25px; min-height: 90px; border-top: 1px solid var(--line); padding: 10px 0 0; text-align: center; color: #8a978b; font-size: 10px; }
.ad-slot:empty { display: none; }
.toast { position: fixed; bottom: 26px; left: calc(50% + 112px); transform: translateX(-50%); z-index: 120; background: #243e31; color: #fff; box-shadow: var(--shadow-float); border-radius: 10px; padding: 13px 19px; max-width: calc(100vw - 40px); font-size: 12px; line-height: 1.7; }
.toast.error, .toast[data-kind="error"] { background: #873f33; }
.copy-fallback { width: 100%; min-height: 120px; resize: vertical; border: 1px solid var(--line); border-radius: 8px; background: #f8faf5; color: var(--ink-soft); font-size: 12px; line-height: 1.8; padding: 12px; margin-top: 12px; }
dialog { width: min(460px,calc(100vw - 32px)); max-height: calc(100dvh - 40px); border: 1px solid #d7e2d3; border-radius: 15px; background: #fff; box-shadow: var(--shadow-float); padding: 27px; color: var(--ink); }
dialog::backdrop { background: rgb(15 35 23 / 35%); backdrop-filter: blur(2px); }
dialog h2 { font-size: 20px; margin-bottom: 12px; }
dialog p { font-size: 12px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
dialog .dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
dialog .dialog-close { position: absolute; top: 12px; right: 12px; }

/* Content and support pages */
.prose { max-width: 850px; padding: 30px 33px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.prose > h1 { font-size: 28px; margin: 0 0 14px; }
.prose > h2 { margin: 30px 0 13px; font-size: 19px; }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { font-size: 15px; margin: 24px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 13px; line-height: 1.95; }
.prose p + p { margin-top: 13px; }
.prose ul, .prose ol { padding-left: 21px; margin: 13px 0; }
.prose li + li { margin-top: 5px; }
.prose .updated-date { color: var(--muted); font-size: 11px; }
.prose code { font-size: 12px; background: #f1f4ed; padding: 2px 4px; border-radius: 4px; overflow-wrap: anywhere; }
.prose table { width: 100%; border-collapse: collapse; margin: 15px 0; font-size: 12px; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.prose th { background: #f2f6ef; font-weight: 600; }
.prose .notice p { margin-bottom: 0; }
.app-install-guide { display: flex; align-items: flex-start; gap: 14px; padding: 19px; border: 1px solid var(--line); border-radius: 10px; background: #f6f9f1; margin-top: 24px; }
.app-install-guide > .icon { color: var(--brand); margin-top: 3px; }
.app-install-guide h3 { font-size: 14px; margin-bottom: 7px; }
.app-install-guide p { font-size: 12px; color: var(--muted); }
.offline-banner { padding: 8px 16px; color: #795c2c; background: #f8efda; text-align: center; font-size: 11px; border-bottom: 1px solid #e9dfc3; }
.update-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #eef4e7; border: 1px solid #d8e4ce; border-radius: 9px; padding: 12px 16px; margin-bottom: 18px; font-size: 12px; color: #496342; }

/* Clear, scannable explanations around the calculators. */
.info-page .tool-heading { max-width: 850px; }
.info-page .prose { width: 100%; }
.info-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; max-width: 850px; margin-bottom: 23px; }
.info-facts > div { display: flex; flex-direction: column; gap: 5px; padding: 20px; background: #edf3e9; border: 1px solid #dde7d7; border-radius: 11px; }
.info-facts .icon { color: var(--brand); margin-bottom: 7px; }
.info-facts span { color: var(--muted); font-size: 11px; }
.info-facts strong { color: var(--brand-dark); font-size: 13px; font-weight: 600; }
.prose .plain-check-list { padding: 0; list-style: none; margin: 15px 0 23px; }
.plain-check-list > li { display: flex; align-items: flex-start; gap: 9px; }
.plain-check-list .icon { color: var(--brand); margin-top: 4px; }
.method-nav { display: flex; flex-wrap: wrap; gap: 7px; padding: 17px 0 22px; border-bottom: 1px solid var(--line); }
.prose .method-nav > a { display: inline-block; padding: 6px 11px; border: 1px solid #dce5d7; border-radius: 6px; font-size: 12px; background: #f5f8f1; text-decoration: none; }
.prose .method-nav > a:hover { background: #eaf2e5; }
.method-section { scroll-margin-top: 88px; border-top: 1px solid var(--line); margin-top: 29px; padding-top: 26px; }
.method-section > h2 { font-size: 18px; margin-bottom: 13px; }
.method-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 13px; flex-wrap: wrap; margin-bottom: 15px; }
.method-section-heading h2 { display: flex; gap: 9px; align-items: center; font-size: 18px; margin: 0; }
.method-section-heading h2 .icon { color: var(--brand); }
.prose .method-section-heading > a { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; text-decoration: none; white-space: nowrap; }
.prose .method-formula { background: #eff5e9; border: 1px solid #e1ebd9; border-radius: 8px; color: #31523d; padding: 15px 17px; line-height: 1.85; margin: 0 0 14px; }
.prose .method-scope { padding: 12px 14px; background: #f6f7f2; border-radius: 7px; color: var(--muted); font-size: 12px; }
.method-scope strong { display: block; color: var(--ink-soft); margin-bottom: 4px; }
.prose .source-note { margin-top: 15px; font-size: 11px; color: var(--muted); line-height: 1.9; }
.source-note a .icon { margin-left: 3px; }
.prose .version-note { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 23px; font-size: 11px; color: #7a8b7c; }
.range-details { margin-top: 23px; overflow: hidden; }
.range-details > .table-wrap { border: 0; border-radius: 0; padding: 0; margin: 0; }
.prose .range-table { margin: 0; table-layout: fixed; }
.range-table th:first-child { width: 23%; }
.prose .range-table tbody th { background: #fafbf8; color: var(--ink-soft); font-weight: 500; }
.range-table td { overflow-wrap: anywhere; }
.range-details > p { background: #f8faf5; margin: 0; }
.install-intro { display: flex; align-items: center; gap: 17px; max-width: 850px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 24px; }
.install-app-icon { display: flex; align-items: center; justify-content: center; height: 59px; width: 59px; flex-shrink: 0; color: white; background: var(--brand); border-radius: 17px; }
.install-intro h2 { font-size: 19px; margin: 0 0 5px; }
.install-intro p { color: var(--muted); font-size: 12px; }
.install-intro > .badge { margin-left: auto; flex-shrink: 0; }
.install-availability { max-width: 850px; margin: 15px 0 24px; }
.install-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; max-width: 850px; margin-bottom: 24px; }
.install-option { border: 1px solid var(--line); border-radius: 12px; padding: 23px 21px; background: white; min-width: 0; }
.install-option .guide-icon { display: inline-block; margin-bottom: 16px; }
.install-option h2 { font-size: 14px; margin-bottom: 16px; line-height: 1.5; }
.install-option ol { padding-left: 19px; margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.85; }
.install-option li + li { margin-top: 8px; }
.install-option p { color: var(--muted); font-size: 11px; margin-top: 17px; line-height: 1.8; }
.not-found { text-align: center; max-width: 650px; margin: 70px auto; padding: 30px 20px; }
.not-found-symbol { width: 80px; height: 80px; display: inline-flex; align-items: center; justify-content: center; border-radius: 24px; color: #688971; background: #e9f0e3; margin-bottom: 27px; }
.not-found .eyebrow { justify-content: center; font-size: 11px; }
.not-found h1 { font-size: 29px; margin-bottom: 17px; }
.not-found > p:not(.eyebrow) { font-size: 13px; color: var(--muted); line-height: 1.9; }
.not-found .form-actions { justify-content: center; margin-top: 28px; }
.not-found .form-actions > .button.primary { flex: initial; }

@media (max-width: 900px) {
  .install-options { grid-template-columns: 1fr; }
  .install-option { padding: 23px 25px; }
  .install-option .guide-icon { float: left; margin: 0 11px 0 0; }
  .install-option h2 { min-height: 27px; margin-bottom: 15px; }
}
@media (max-width: 580px) {
  .info-facts { grid-template-columns: 1fr; gap: 8px; }
  .info-facts > div { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
  .info-facts .icon { margin: 0 2px 0 0; }
  .info-facts span { margin-right: auto; font-size: 11px; }
  .info-facts strong { font-size: 12px; }
  .method-section-heading { align-items: flex-start; }
  .method-section-heading h2 { font-size: 17px; }
  .method-section-heading > a { margin-top: 3px; }
  .prose .method-formula { padding: 13px; font-size: 12px; }
  .range-table th:first-child { width: 28%; }
  .prose .range-table th, .prose .range-table td { padding: 10px; font-size: 11px; }
  .install-intro { padding: 19px; gap: 13px; flex-wrap: wrap; }
  .install-app-icon { width: 47px; height: 47px; border-radius: 14px; }
  .install-intro > div { flex: 1; min-width: 170px; }
  .install-intro > .badge { margin: 0; }
  .install-intro h2 { font-size: 17px; }
  .not-found { margin: 35px auto; padding-inline: 5px; }
  .not-found h1 { font-size: 24px; }
}

@media (min-width: 1560px) {
  .main-content { padding-top: 42px; }
  .home-hero { padding-block: 45px; }
  .tool-card { min-height: 199px; padding: 21px; }
}
@media (max-width: 1260px) {
  .topbar { padding-inline: 30px; }
  .main-content { padding-inline: 30px; }
  .site-footer { padding-inline: 30px; }
  .home-hero { padding: 30px; gap: 24px; }
  .hero-example { padding: 21px; }
  .hero-description { font-size: 12px; }
  .hero-actions { gap: 16px; }
  .tool-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .input-panel, .result-panel { padding: 22px; }
  .calculator-layout { gap: 18px; }
}
@media (max-width: 1050px) {
  .app-shell { grid-template-columns: 200px minmax(0,1fr); }
  .sidebar { padding-inline: 12px; }
  .main-content { padding: 28px 24px 40px; }
  .topbar { padding-inline: 24px; }
  .home-hero { grid-template-columns: 1fr; padding: 29px; }
  .hero-copy { max-width: 550px; }
  .home-hero h1 br { display: none; }
  .home-hero h1 { font-size: 35px; }
  .hero-example { display: none; }
  .hero-caption { display: none; }
  .hero-actions { margin-top: 21px; }
  .hero-description br { display: none; }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .calculator-layout { grid-template-columns: 1fr; gap: 18px; }
  .form-grid { gap: 19px; }
  .result-value { font-size: 40px; }
  .home-guides { grid-template-columns: 1fr; }
  .toast { left: calc(50% + 100px); }
  .sidebar-note { padding-inline: 8px; }
}
@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { display: none; position: fixed; height: auto; max-height: calc(100dvh - 90px); width: min(340px,calc(100% - 28px)); top: 75px; left: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-float); z-index: 65; }
  .sidebar.is-open { display: flex; }
  .sidebar-brand, .sidebar-note { display: none; }
  .primary-nav { gap: 13px; }
  .nav-link { min-height: 44px; padding: 10px 12px; font-size: 14px; }
  .nav-label { padding-bottom: 5px; font-size: 11px; }
  .nav-group { gap: 1px; }
  .nav-utility { padding-top: 10px; }
  .nav-backdrop:not([hidden]) { display: block; position: fixed; z-index: 60; inset: 66px 0 0; width: 100%; height: calc(100dvh - 66px); border: 0; padding: 0; background: rgb(20 38 26 / 20%); }
  .workspace { min-height: 100dvh; }
  .topbar { position: sticky; top: 0; height: 66px; padding: 0 16px; background: rgb(251 252 248 / 96%); backdrop-filter: blur(10px); z-index: 70; }
  .topbar-leading { gap: 8px; }
  .topbar-actions { gap: 6px; }
  .menu-toggle { display: inline-flex; padding: 8px; min-width: 38px; }
  .mobile-brand { display: inline-flex; gap: 8px; }
  .mobile-brand .brand-mark { width: 29px; height: 29px; }
  .mobile-brand .brand-wordmark { font-size: 21px; }
  .mobile-brand .brand-latin { display: none; }
  .breadcrumbs { display: none; }
  .topbar-saved { min-height: 42px; font-size: 11px; gap: 5px; }
  .topbar-saved .icon { width: 17px; height: 17px; }
  .topbar .install-button { padding: 8px; min-height: 40px; }
  .topbar .install-button span { display: none; }
  .main-content { padding: 24px 20px 38px; }
  .home-hero { padding: 27px 25px 25px; border-radius: 14px; }
  .home-hero h1 { font-size: 35px; line-height: 1.3; }
  .home-hero h1 br { display: initial; }
  .hero-description { font-size: 13px; }
  .hero-actions { margin-top: 22px; gap: 18px; }
  .hero-caption { display: block; margin-top: 13px; font-size: 11px; }
  .eyebrow { font-size: 9px; }
  .tools-section { margin-top: 30px; }
  .section-toolbar { align-items: stretch; gap: 15px; flex-direction: column; margin-bottom: 16px; }
  .section-toolbar h2 { font-size: 21px; }
  .tool-search { width: 100%; }
  .tool-search input { min-height: 44px; font-size: 16px; }
  .tool-search input::placeholder { font-size: 13px; }
  .category-filters { margin-bottom: 17px; gap: 5px; }
  .filter-button { min-height: 42px; padding: 8px 13px; font-size: 12px; }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .tool-card { padding: 18px; min-height: 190px; }
  .tool-card h3 { font-size: 16px; }
  .tool-card > p { font-size: 12px; line-height: 1.8; }
  .tool-category { font-size: 10px; }
  .guide-card { padding: 19px; gap: 13px; }
  .guide-card h2 { font-size: 13px; }
  .guide-card p { font-size: 12px; }
  .site-footer { padding: 22px 20px 25px; gap: 13px; font-size: 11px; }
  .site-footer .footer-note { font-size: 11px; line-height: 1.75; }
  .tool-heading { margin-bottom: 23px; }
  .tool-heading h1 { font-size: 28px; margin-bottom: 10px; }
  .tool-heading > p:not(.eyebrow) { font-size: 13px; }
  .input-panel, .result-panel { padding: 23px; border-radius: 12px; }
  .mode-button { min-height: 42px; font-size: 12px; padding: 9px 10px; }
  .field label, .form-field label { font-size: 13px; }
  .field-help, .field-error { font-size: 12px; }
  .field input, .field select, .form-field input, .form-field select { min-height: 48px; }
  .button { min-height: 45px; font-size: 13px; }
  .result-value { font-size: 38px; }
  .result-label, .result-hero > p { font-size: 13px; }
  .result-status { font-size: 12px; }
  .result-breakdown { font-size: 13px; }
  .result-note { font-size: 12px; padding: 13px 14px; }
  .result-actions > .button { font-size: 12px; }
  .empty-result { min-height: 220px; }
  .calculator-notes { padding: 20px; }
  .table-wrap { border-radius: 8px; }
  .data-table { font-size: 12px; }
  .data-table th { font-size: 11px; padding: 11px 12px; }
  .data-table td { padding: 12px; }
  .saved-card { padding: 21px; }
  .saved-actions { width: 100%; }
  .saved-actions .button { min-height: 43px; font-size: 12px; }
  .compare-grid { gap: 12px; }
  .compare-grid > section, .compare-grid > article { padding: 17px; }
  .compare-grid .result-value { font-size: 24px; }
  .prose { padding: 25px 22px; }
  .prose > h1 { font-size: 25px; }
  .prose p, .prose li { font-size: 13px; }
  .toast { left: 50%; bottom: 22px; width: max-content; font-size: 12px; }
}
@media (max-width: 420px) {
  .main-content { padding-inline: 15px; }
  .topbar { padding-inline: 10px; }
  .home-hero { padding: 24px 21px; }
  .home-hero h1 { font-size: 32px; }
  .hero-description { font-size: 12px; }
  .hero-actions { gap: 15px; }
  .hero-actions .button { padding-inline: 14px; }
  .hero-secondary-link { font-size: 11px; }
  .tool-grid { gap: 10px; }
  .tool-card { padding: 15px 13px; min-height: 186px; border-radius: 10px; }
  .tool-icon { width: 35px; height: 35px; }
  .tool-card-top { margin-bottom: 14px; }
  .tool-card h3 { font-size: 14px; }
  .tool-card > p { font-size: 11px; word-break: normal; }
  .tool-card-arrow { display: none; }
  .category-filters { gap: 2px; }
  .filter-button { padding: 9px 11px; }
  .input-panel, .result-panel { padding: 20px 17px; }
  .form-grid { gap: 18px 12px; }
  .form-grid > .field { grid-column: 1 / -1; }
  .mode-tabs { gap: 3px; }
  .mode-button { font-size: 11px; padding: 8px; }
  .result-hero { padding: 20px 17px; }
  .result-value { font-size: 34px; }
  .result-breakdown dd { max-width: 62%; }
  .compare-grid { grid-template-columns: 1fr; }
  .guide-card { padding: 17px; }
  .guide-card > .icon:last-child { display: none; }
  .site-footer { padding-inline: 16px; }
  .prose { padding: 23px 19px; }
  .topbar-saved > span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .tool-card:hover { transform: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #425c4b; --line: #9dae9f; --line-strong: #7d9782; }
  .field-help, .hero-example-note, .tool-category, .footer-note { color: #47634e; }
}
@media print {
  .sidebar, .topbar, .site-footer, .ad-slot, .form-actions, .result-actions, .toast, .save-toolbar, .button, .nav-backdrop { display: none !important; }
  body { background: white; color: #111; }
  .app-shell, .workspace, .calculator-layout { display: block; }
  .main-content { padding: 0; max-width: none; }
  .input-panel, .result-panel { box-shadow: none; margin-bottom: 20px; break-inside: avoid; }
  .table-wrap { overflow: visible; }
  .data-table th, .data-table td { color: #111; }
  .home-hero { background: white; }
  a { text-decoration: none; }
}
