:root { color-scheme: light; --bg: #F8FAF7; --surface: #FFFFFF; --surface-2: #EEF3EF; --ink: #15211B; --ink-2: #485850; --muted: #485850; --line: #D5DED8; --field: #6E7F76; --brand: #1F6B4C; --brand-strong: #174F39; --brand-soft: #E4F1EA; --brand-ink: #FFFFFF; --panel: #F1F6F2; --panel-ink: #15211B; --panel-muted: #485850; --panel-line: #D5DED8; --accent: #A35300; --band: #174F39; --band-ink: #FFFFFF; --band-muted: #DCE9E2; --good: #1F6B4C; --good-soft: #E4F1EA; --warn: #8A4600; --warn-soft: #FBF0DF; --bad: #A32A23; --bad-soft: #FBEBE8; --focus: #1F6B4C; --foot-bg: #0E1813; --foot-ink: #F3F7F4; --foot-muted: #B4C4BB; --logo-full: url(/img/wordmark-lockup-light.svg); --logo-compact: url(/img/wordmark-compact-light.svg); }
/* gratuitycalculator.com. Warm, phone-first design. All colors come from brand/tokens.json (written above this line by the build). */
@font-face { font-family: Manrope; src: url(/fonts/manrope-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; -webkit-tap-highlight-color: rgba(31, 107, 76, .18); background: var(--bg); color: var(--ink); font: 400 1rem/1.6 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; overflow-x: clip; }
h1, h2, h3 { font-family: Manrope, system-ui, sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: pretty; }
h1 { font-size: clamp(1.75rem, 1.1rem + 2.7vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-strong); }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; } li { margin-bottom: .4em; }
[hidden] { display: none !important; }
button, a, input, select, summary, label { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 60; background: var(--surface); padding: 10px 14px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Header */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 8px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 44px; }
.logo { display: block; background: var(--logo-compact) left center / contain no-repeat; width: 176px; height: 46px; flex: none; }
.tagline { color: var(--muted); font-weight: 500; }
.head-tag { display: none; font-size: .84rem; white-space: nowrap; margin-left: 4px; padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.3; }
.hero-tag { display: block; margin: 0 0 6px; font-size: .9rem; font-weight: 600; color: var(--brand); }
.foot-logo { background-image: url(/img/wordmark-lockup-dark.svg); width: 296px; max-width: 100%; height: 42px; margin-left: -6px; }
.nav { display: none; gap: 2px; margin-left: 16px; } .nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 10px 12px; border-radius: 10px; } .nav a:hover, .nav a[aria-current] { background: var(--surface-2); color: var(--ink); }
.head-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.lang-link, .menu summary { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; text-decoration: none; font-weight: 700; font-size: .85rem; list-style: none; }
.menu summary::-webkit-details-marker { display: none; } .menu summary svg { display: block; }
.offline-chip { display: none; }
.menu { position: relative; } .menu-panel { position: absolute; right: 0; top: 52px; width: min(320px, calc(100vw - 32px)); max-height: calc(100dvh - 90px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: 0 12px 34px rgba(30, 15, 20, .18); }
.menu-panel p { margin: 8px 8px 4px; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; } .menu-panel a { display: flex; align-items: center; min-height: 44px; padding: 6px 8px; color: var(--ink); text-decoration: none; border-radius: 8px; } .menu-panel a:hover { background: var(--surface-2); }
/* Hero: one layout on every page */
.hero { padding: 16px 0 28px; background: linear-gradient(var(--surface-2), var(--bg)); }
.hero-grid { display: grid; gap: 14px; grid-template-areas: "head" "side" "more"; grid-template-columns: minmax(0, 1fr); }
.hero-copy { display: contents; } .hero-head { grid-area: head; } .hero-side { grid-area: side; min-width: 0; } .hero-more { grid-area: more; min-width: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 8px; } .crumbs a { color: var(--muted); }
.eyebrow { display: block; color: var(--brand); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.lead { font-size: 1.15rem; color: var(--ink-2); margin: 10px 0 0; } .hero-more .lead { margin-top: 0; }
.points { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; } .points li { position: relative; padding-left: 26px; margin: 0; color: var(--ink-2); } .points li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 13px; height: 8px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg) scale(.9); }
.checked { font-size: .9rem; color: var(--muted); margin: 14px 0 0; } .byline { font-size: .9rem; color: var(--muted); margin: 4px 0 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; } .panel-title { font-weight: 700; font-size: 1.05rem; margin: 0 0 10px; color: var(--ink); } .panel ul { margin: 0; padding-left: 1.1em; } .panel li:last-child { margin: 0; } .panel dl { margin: 0; display: grid; gap: 10px; } .panel dt { font-size: .85rem; color: var(--muted); } .panel dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
/* Calculator */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: 0 10px 30px rgba(60, 25, 35, .08); display: grid; gap: 12px; min-width: 0; }
.calc-in { display: grid; gap: 11px; min-width: 0; } .calc-in.after { gap: 10px; }
.field { display: block; min-width: 0; border: 0; padding: 0; margin: 0; } .lab { display: block; font-size: .88rem; font-weight: 500; color: var(--ink-2); margin-bottom: 4px; padding: 0; }
.inp { display: flex; align-items: center; min-height: 48px; background: var(--surface); border: 1.5px solid var(--field); border-radius: 12px; padding: 0 12px; gap: 6px; } .inp:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.inp i { font-style: normal; font-weight: 600; color: var(--muted); } .inp input, .inp select { flex: 1; width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 600 1.06rem Manrope, system-ui, sans-serif; font-variant-numeric: tabular-nums; min-height: 44px; padding: 0; } .inp select { font-weight: 500; font-size: 1rem; } .inp select option { color: #241A1D; background: #fff; }
.inp input::placeholder { color: var(--muted); font-weight: 400; opacity: 1; }
.field.big .inp { min-height: 58px; } .field.big input { font-size: 1.6rem; font-weight: 700; } .field.big i { font-size: 1.3rem; }
.help { display: block; font-size: .84rem; color: var(--muted); margin-top: 3px; }
.seg { border: 0; padding: 0; margin: 0; min-width: 0; } .seg-row { display: grid; gap: 6px; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } .chips .seg-row { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.35fr); }
.seg label { display: block; cursor: pointer; } .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; height: 100%; padding: 4px 6px; border: 1.5px solid var(--field); border-radius: 12px; font-weight: 600; font-size: .96rem; line-height: 1.15; color: var(--ink); background: var(--surface); font-variant-numeric: tabular-nums; }
.seg input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); } .seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: end; } .row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; } 
.stepper-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .stepper-f .lab { margin: 0; font-size: 1rem; }
.stepper { display: flex; align-items: center; gap: 6px; } .stepper input { width: 58px; height: 46px; text-align: center; border: 1.5px solid var(--field); border-radius: 12px; background: var(--surface); color: var(--ink); font: 700 1.15rem Manrope, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 8px 16px; border-radius: 12px; border: 1.5px solid var(--brand); background: var(--brand); color: var(--brand-ink); font: 600 .98rem Manrope, system-ui, sans-serif; cursor: pointer; text-decoration: none; } .btn:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: var(--brand-ink); }
.btn.ghost { background: transparent; color: var(--brand); } .btn.ghost:hover { background: var(--brand-soft); color: var(--brand); border-color: var(--brand); } .btn.icon { width: 46px; padding: 0; flex: none; background: var(--brand-soft); color: var(--brand); border-color: transparent; } .btn.icon svg { display: block; }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .actions > [data-share-split], .actions > [data-print-sheet] { grid-column: 1 / -1; }
.more { border: 1px solid var(--line); border-radius: 12px; } .more summary { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 12px; font-weight: 600; cursor: pointer; list-style: none; color: var(--brand); } .more summary::-webkit-details-marker { display: none; } .chev { transition: transform .15s; } .more[open] .chev { transform: rotate(180deg); } .more-in { display: grid; gap: 11px; padding: 4px 12px 14px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; cursor: pointer; } .check input { width: 22px; height: 22px; accent-color: var(--brand); }
.editor { display: grid; gap: 10px; } .lab.sub { margin: 4px 0 0; } .shared { border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 8px; } .shared-top { display: flex; gap: 8px; align-items: flex-end; } .shared-top .field { flex: 1; } .who { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; } .who legend { font-size: .84rem; color: var(--muted); padding: 0; margin-bottom: 4px; } .who label { cursor: pointer; } .who input { position: absolute; opacity: 0; } .who span { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 12px; border: 1.5px solid var(--field); border-radius: 22px; font-size: .92rem; } .who input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 600; } .who input:focus-visible + span { outline: 3px solid var(--focus); }
/* Result panel */
.result { background: var(--panel); color: var(--panel-ink); border-radius: 16px; padding: 14px; display: grid; gap: 10px; min-width: 0; }
.tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 14px; } .tile { min-width: 0; } .tile.big { grid-column: 1 / -1; } .tiles.trio .tile.big { border-top: 1px solid var(--panel-line); padding-top: 8px; } .tiles.n4 .tile:last-child, .tiles.n6 .tile:last-child { grid-column: 1 / -1; }
.tile .k { display: block; font-size: .86rem; color: var(--panel-muted); } .tile .v { display: block; font-size: 1.4rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; overflow-wrap: anywhere; } .tile.big .v { font-size: clamp(2rem, 1.6rem + 2vw, 2.7rem); color: var(--accent); letter-spacing: -.03em; }
.sumline { margin: 0; font-size: .86rem; color: var(--panel-muted); } .rh { color: var(--panel-ink); font-size: 1.02rem; font-family: Manrope, system-ui, sans-serif; font-weight: 700; }
.notes { display: grid; gap: 6px; } .note { margin: 0; padding: 9px 12px; border-radius: 10px; font-size: .92rem; line-height: 1.4; background: var(--surface); color: var(--ink); border-left: 4px solid var(--line); } .note.good { background: var(--good-soft); border-color: var(--good); color: var(--ink); } .note.warn { background: var(--warn-soft); border-color: var(--warn); color: var(--ink); } .note.bad { background: var(--bad-soft); border-color: var(--bad); color: var(--ink); } .note.hint { background: transparent; color: var(--panel-muted); border: 0; padding: 0; } .note.info { border-color: var(--field); }
/* Tables: readable, and cards on phones */
.rtable { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0 0 1em; } .result .rtable { margin: 0; } .rtable table { width: 100%; border-collapse: collapse; font-size: .96rem; } .rtable thead { display: none; }
.rtable tr { display: block; padding: 10px 12px; border-top: 1px solid var(--line); } .rtable tbody tr:first-child { border-top: 0; } .rtable tbody th { display: block; text-align: left; font-weight: 700; margin-bottom: 4px; } .rtable td { display: flex; justify-content: space-between; gap: 14px; padding: 2px 0; text-align: right; font-variant-numeric: tabular-nums; } .rtable td::before { content: attr(data-l); color: var(--muted); text-align: left; font-size: .88rem; flex: 0 0 42%; } .rtable td:empty { display: none; } .rtable .sum { margin: 0; padding: 8px 12px; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); } .nc { color: var(--warn); font-weight: 600; } .rtable small { display: block; color: var(--muted); font-size: .8rem; }
.rtable.chart table { min-width: 0; } .rtable.chart tr { display: table-row; padding: 0; } .rtable.chart thead { display: table-header-group; } .rtable.chart th, .rtable.chart td { display: table-cell; padding: 7px 6px; text-align: right; font-size: .92rem; border-top: 1px solid var(--line); } .rtable.chart thead th { background: var(--surface-2); border-top: 0; font-size: .86rem; } .rtable.chart tbody th, .rtable.chart thead th:first-child { text-align: left; } .rtable.chart td::before { content: none; }
.rtable.chart table { table-layout: fixed; } .rtable.chart th:first-child { width: 24%; } .rtable.chart th, .rtable.chart td { overflow-wrap: anywhere; }
@media (max-width: 479.98px) { .rtable.chart th, .rtable.chart td { padding: 6px 3px; font-size: .8rem; } .rtable.chart small { display: none; } .rtable.chart tbody th { padding-left: 8px; } }
.filter { max-width: 340px; margin-bottom: 12px; position: sticky; top: 72px; z-index: 5; background: var(--bg); padding: 6px 0; }
/* Sections */
.band { padding: 40px 0; } .band.alt { background: var(--surface-2); } .band h2 { margin-bottom: 12px; } .band-lead { color: var(--ink-2); margin-bottom: 18px; max-width: 70ch; } .split-2, .split-3 { display: grid; gap: 28px; }
.steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; counter-reset: s; } .steps li { counter-increment: s; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; } .steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; margin-bottom: 8px; } .steps b { display: block; margin-bottom: 2px; }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(12, minmax(0, 1fr)); } .card { grid-column: span 12; display: flex; flex-direction: column; justify-content: center; gap: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 15px 18px; color: var(--ink); text-decoration: none; min-height: 88px; transition: border-color .12s, transform .12s; } .card:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-1px); } .card b { font-family: Manrope, system-ui, sans-serif; font-weight: 700; font-size: 1.04rem; color: var(--brand); line-height: 1.2; } .card span { color: var(--muted); font-size: .94rem; line-height: 1.35; }
.trust { background: var(--band); color: var(--band-ink); padding: 34px 0; } .trust h2 { margin-bottom: 8px; color: var(--band-ink); } .trust p { margin: 0; color: var(--band-muted); max-width: 72ch; } .trust a { color: var(--band-ink); } .eos { font-size: .9rem; color: var(--muted); margin: 18px 0 0; }
/* Articles */
.article { display: grid; gap: 28px; padding: 30px 0 44px; grid-template-columns: minmax(0, 1fr); } .prose > section { margin-bottom: 30px; scroll-margin-top: 88px; } .prose h2 { margin-bottom: 10px; } .prose h3 { margin: 16px 0 6px; } .cite { font-weight: 500; } .lang-tag { color: var(--muted); font-size: .86em; }
.side, .side-in { display: grid; gap: 14px; align-content: start; } .side ul { list-style: none; padding: 0; } .side li { margin: 0; } .side li a { display: flex; align-items: center; min-height: 44px; padding: 5px 0; text-decoration: none; line-height: 1.25; }
.callout { border-radius: 12px; padding: 12px 14px; margin: 0 0 1em; background: var(--surface-2); border-left: 4px solid var(--field); } .callout p:last-child { margin: 0; } .callout.warn { background: var(--warn-soft); border-color: var(--warn); } .callout.info { background: var(--brand-soft); border-color: var(--brand); }
.faq h3 { margin: 14px 0 4px; font-size: 1.08rem; } .faq p { margin: 0; } .srcs ul { font-size: .92rem; padding-left: 1.1em; } .srcs small { color: var(--muted); }
.full-table { padding-top: 26px; } .full-table h2 { margin-bottom: 12px; }
/* Ads: nothing until units are live, then the height is held before anything loads */
.ad-slot { display: none; } .ads-live .ad-slot { display: block; min-height: 280px; margin: 24px 0; contain: layout; } .ads-live .ad-slot.ad-wide { display: none; }
@media (min-width: 768px) { .ads-live .ad-slot.ad-wide { display: block; } }
 .ad-band { padding: 0; }
/* Footer */
.site-foot { background: var(--foot-bg); color: var(--foot-muted); padding: 36px 0 24px; font-size: .95rem; } .site-foot a { color: var(--foot-ink); } .foot-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } .site-foot h2 { font: 700 .82rem Manrope, system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; color: var(--foot-muted); margin-bottom: 8px; } .site-foot ul { list-style: none; padding: 0; margin: 0; } .site-foot li { margin: 0; } .site-foot li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; } .fine { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 24px; padding-top: 16px; display: grid; gap: 8px; font-size: .86rem; } .fine p { margin: 0; }
.toast { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px 10px; box-shadow: 0 12px 34px rgba(30, 15, 20, .25); display: flex; align-items: center; gap: 8px; max-width: 460px; margin-inline: auto; } .toast p { margin: 0; flex: 1 1 auto; font-size: .84rem; line-height: 1.25; }
.nf { padding: 54px 0; }
.tool-layout { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; padding-bottom: 32px; } .tool-layout > .hero-head { order: 1; } .tl-right { display: contents; } .tl-right > .hero-side { order: 2; } .tool-layout > .hero-more { order: 3; } .tool-layout > .ad-slot { order: 4; } .tool-layout > .prose { order: 5; } .tl-right > .side { order: 6; }
.home-secs { display: grid; gap: 30px 56px; } .home-sec h2 { margin-bottom: 10px; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); } .home-sec ol { margin-bottom: .6em; } .faq-grid { display: grid; gap: 4px 48px; }
.toc-m { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; margin-bottom: 20px; background: var(--surface); } .toc-m summary { min-height: 46px; display: flex; align-items: center; font-weight: 600; cursor: pointer; } .toc-m ul { list-style: none; padding: 0; margin: 0 0 8px; } .toc-m li { margin: 0; } .toc-m a { display: flex; align-items: center; min-height: 44px; text-decoration: none; } .toc-d { display: none; }
.src-lines { list-style: none; padding: 0; margin: 0; text-align: left; } .src-lines li { margin: 0 0 4px; } .by { color: var(--muted); font-size: .9em; } .rtable td:has(.src-lines) { display: block; text-align: left; } .rtable td:has(.src-lines)::before { content: none; } .rtable.quick td { padding: 2px 0; }
.err { display: block; margin-top: 4px; font-size: .84rem; color: var(--bad); font-weight: 600; flex-basis: 100%; } .stepper-f { flex-wrap: wrap; } [aria-invalid="true"] { outline: 2px solid var(--bad); outline-offset: 1px; border-radius: 6px; } .inp:has([aria-invalid="true"]) { border-color: var(--bad); } .inp:has([aria-invalid="true"]) input { outline: 0; }
.live-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; justify-content: space-around; gap: 8px; padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); background: var(--band); color: var(--band-ink); box-shadow: 0 -6px 18px rgba(10, 25, 18, .25); } .live-bar.rows { flex-wrap: wrap; justify-content: flex-start; gap: 6px 14px; max-height: 40vh; overflow: auto; } .live-bar.rows span { flex: 1 1 28%; text-align: left; } .live-bar span { display: grid; text-align: center; min-width: 0; } .live-bar small { font-size: .72rem; color: var(--band-muted); } .live-bar b { font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ads-off .ad-slot { display: none !important; }
.calc input, .calc select { scroll-margin-bottom: calc(var(--bar-h, 72px) + 12px); scroll-margin-top: 80px; } .result .rtable, .result .tiles { scroll-margin-top: 76px; } html[style*="--bar-h"] body { padding-bottom: var(--bar-h); }
.calc-note { margin: 0; font-size: .86rem; color: var(--muted); } .calc-note.strong { color: var(--ink); font-weight: 600; }
.site-head .wrap, .site-foot .wrap { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
@media (min-width: 768px) { .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .home-secs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-sec.wide { grid-column: 1 / -1; } .toc-d { display: block; } }
@media (max-width: 639.98px) { .foot-grid.n3 > :last-child { grid-column: 1 / -1; } .offline-chip:not([hidden]) { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--band); color: var(--band-ink); text-align: center; font-size: .8rem; padding: 3px 8px; } }
@media (max-height: 600px) and (max-width: 639.98px) { .tool-layout, .hero { padding-top: 6px; } .hero-tag { display: none; } h1 { font-size: 1.35rem; } .calc { padding: 10px; gap: 8px; } .calc-in { gap: 7px; } .field.big .inp { min-height: 46px; } .seg span, .stepper input, .btn.icon { min-height: 44px; height: 44px; } .result { padding: 9px 12px; gap: 5px; } .tile.big .v { font-size: 2rem; line-height: 1.05; } .tile .v { font-size: 1.2rem; } .tiles { gap: 4px 12px; } .note.hint { display: none; } }
.code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .86rem; margin: 0 0 1em; }
.citation { margin: 0 0 1em; padding: 14px 16px; background: var(--surface-2); border-left: 4px solid var(--brand); border-radius: 10px; overflow-wrap: anywhere; }
.embed { background: transparent; padding: 8px; max-width: 520px; margin-inline: auto; } .embed h1 { font-size: 1.3rem; margin: 2px 0 10px; } .embed-credit { margin: 8px 0 0; font-size: .86rem; text-align: right; }
.wallet { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 1em; } .wc { width: min(340px, 100%); aspect-ratio: 85.6 / 54; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; overflow: hidden; } .wc-front { background: var(--band); color: var(--band-ink); } .wc-back { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.wc-brand { font: 800 .9rem/1.1 Manrope, system-ui, sans-serif; margin: 0 0 5px; } .wc-t { width: 100%; border-collapse: collapse; font-size: .68rem; line-height: 1.15; font-variant-numeric: tabular-nums; } .wc-t th, .wc-t td { padding: 1.5px 2px; text-align: right; font-weight: 500; } .wc-t th:first-child { text-align: left; font-weight: 700; } .wc-t thead th { font-weight: 800; }
.wc-back ul { margin: 0; padding-left: 1.05em; font-size: .78rem; line-height: 1.25; } .wc-back li { margin-bottom: 4px; } .wc-foot { margin: auto 0 0; font-size: .72rem; color: var(--muted); } .wallet-act { margin: 0; }
.print-sheet { display: none; }
@media (max-width: 479.98px) {  .chips span { font-size: .88rem; padding: 4px 2px; } }
@media (min-width: 640px) { .site-head .logo { background-image: var(--logo-full); width: 323px; } }
@media (min-width: 768px) and (max-width: 1023.98px), (min-width: 1280px) { .head-tag { display: block; } .hero-tag { display: none; } }
@media (min-width: 480px) { .calc { padding: 18px; } .result { padding: 16px 18px; } }
@media (min-width: 640px) {
  .rtable thead { display: table-header-group; } .rtable tr { display: table-row; padding: 0; } .rtable th, .rtable td { display: table-cell; padding: 9px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); margin: 0; font-weight: 400; } .rtable thead th { background: var(--surface-2); color: var(--ink-2); font-weight: 700; font-size: .88rem; border-top: 0; } .rtable tbody th { font-weight: 700; } .rtable td::before { content: none; } .rtable td:empty { display: table-cell; }
  .result .rtable td:not(:first-child), .result .rtable th:not(:first-child) { text-align: right; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .card { grid-column: span var(--t, 6); } .foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .foot-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rtable tr { border-top: 0; } .split-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}
@media (max-width: 899.98px) and (min-width: 640px) { .rtable.wide thead { display: none; } .rtable.wide tr { display: block; padding: 10px 12px; border-top: 1px solid var(--line); } .rtable.wide tbody th { display: block; border: 0; padding: 0 0 4px; } .rtable.wide td { display: flex; justify-content: space-between; border: 0; padding: 2px 0; text-align: right; } .rtable.wide td::before { content: attr(data-l); color: var(--muted); font-size: .88rem; } .rtable.wide td:empty { display: none; } }
@media (min-width: 1024px) {
  .nav { display: flex; } .menu-only { display: none; } .offline-chip:not([hidden]) { display: inline-flex; align-items: center; font-size: .82rem; color: var(--muted); padding: 0 8px; }
  .hero { padding: 36px 0 44px; } .hero-grid { grid-template-columns: minmax(0, 1fr) 500px; grid-template-rows: auto 1fr; grid-template-areas: "head side" "more side"; gap: 16px 56px; }
  .hero-grid.has-tool { grid-template-rows: auto; grid-template-areas: "head side"; } .hero-copy { display: block; grid-area: head; align-self: start; position: sticky; top: 96px; } .is-home .hero-copy { align-self: center; position: static; } .hero-copy .hero-more { margin-top: 14px; } .hero-grid:not(.has-tool) { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .hero-grid:not(.has-tool) .hero-side { align-self: start; }
  .card { grid-column: span var(--d, 4); }
  .foot-grid { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); } .foot-grid.n3 { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: auto; } .split-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; } .side-in { position: sticky; top: 88px; display: grid; gap: 14px; max-height: calc(100vh - 110px); overflow: auto; }
  .band { padding: 56px 0; } .toc-m { display: none; } .tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 0 56px; align-items: start; padding-top: 36px; padding-bottom: 48px; } .tool-layout > .hero-head, .tool-layout > .hero-more, .tool-layout > .ad-slot, .tool-layout > .prose { grid-area: auto / 1; } .tl-right { grid-column: 2; grid-row: 1 / span 5; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; } .tl-right > .hero-side, .tl-right > .side { grid-area: auto; } .tool-layout .hero-more { margin: 10px 0 26px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  @page { margin: 12mm; }
  :root { color-scheme: light; }
  html, body { background: #fff !important; color: #000 !important; }
  .site-head, .site-foot, .toast, .ad-slot, .calc, .side, .crumbs { display: none !important; }
  .hero, .band, .trust { background: #fff !important; color: #000 !important; }
  body:has(.print-sheet) > :not(.print-sheet) { display: none !important; }
  html:not([data-print="card"]) .print-sheet[data-sheet="chart"], html[data-print="card"] .print-sheet[data-sheet="card"] { display: block; }
  .print-sheet { color: #000; font-size: 11pt; } .print-sheet h2 { font-size: 20pt; margin: 8mm 0 2mm; } .print-sheet p { margin: 0 0 3mm; } .ps-brand { font: 800 15pt Manrope, system-ui, sans-serif; margin: 0 !important; } .ps-tag { color: #444; font-size: 10pt; } .ps-foot { margin-top: 5mm !important; color: #444; font-size: 9pt; }
  .print-sheet table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; } .print-sheet [data-sheet-table] th, .print-sheet [data-sheet-table] td { border-bottom: .25mm solid #bbb; padding: 1.6mm 2mm; text-align: right; font-size: 11pt; color: #000; } .print-sheet [data-sheet-table] th:first-child { text-align: left; } .print-sheet [data-sheet-table] thead th { border-bottom: .5mm solid #000; } .print-sheet small { display: block; font-size: 8pt; color: #444; } .print-sheet tr { break-inside: avoid; }
  .print-sheet .wallet { gap: 0; display: flex; flex-wrap: nowrap; } .print-sheet .wc { width: 85.6mm; height: 54mm; aspect-ratio: auto; border: .25mm dashed #666; border-radius: 0; background: #fff; color: #000; padding: 3mm; } .print-sheet .wc-t { font-size: 7pt; } .print-sheet .wc-t thead th { color: #000; } .print-sheet .wc-brand { font-size: 9pt; margin-bottom: 1.5mm; } .print-sheet .wc-back ul { font-size: 8pt; } .print-sheet .wc-foot { color: #444; font-size: 7pt; }
}
