*,*:before,*:after{box-sizing:border-box}:root{--bg: #f8fafc;--surface: #ffffff;--surface-muted: #f1f5f9;--text: #0f172a;--text-muted: #475569;--text-subtle: #64748b;--border: #e2e8f0;--border-strong: #cbd5e1;--accent: #059669;--accent-hover: #047857;--accent-soft: #ecfdf5;--accent-border: #a7f3d0;--secondary: #1d4ed8;--warning-bg: #fffbeb;--warning-border: #fcd34d;--warning-text: #92400e;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);--shadow-md: 0 4px 14px rgba(15, 23, 42, .06);--font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif}html{font-family:var(--font-sans);color:var(--text);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased}body{margin:0;min-height:100vh;display:flex;flex-direction:column}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}:focus-visible{outline:2px solid var(--secondary);outline-offset:2px}.container{width:100%;max-width:1140px;margin:0 auto;padding:0 1.25rem}.site-header{height:64px;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:30}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem}.brand{display:inline-flex;align-items:center;gap:.6rem;font-weight:700;font-size:1.05rem;color:var(--text);letter-spacing:-.01em}.brand:hover{text-decoration:none;color:var(--accent)}.header-nav{display:flex;align-items:center;gap:1.25rem;font-size:.9rem;font-weight:500;overflow-x:auto;scrollbar-width:none}.header-nav a{color:var(--text-muted);white-space:nowrap}.header-nav a:hover,.header-nav a[aria-current=page]{color:var(--accent);text-decoration:none}main{flex:1 0 auto;padding:2rem 0 3.5rem}.hero{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:2.25rem 2rem;margin-bottom:2rem;box-shadow:var(--shadow-sm)}.hero-badge{display:inline-block;font-size:.78rem;font-weight:600;color:var(--accent);background:var(--accent-soft);border:1px solid var(--accent-border);padding:.2rem .65rem;border-radius:999px;margin-bottom:.75rem}.hero h1{margin:0 0 .6rem;font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.2;letter-spacing:-.02em}.hero p{margin:0;color:var(--text-muted);max-width:72ch;font-size:1.05rem}.hero-pills{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem;font-size:.85rem;color:var(--text-muted)}.hero-pill{background:var(--surface-muted);padding:.35rem .75rem;border-radius:999px;border:1px solid var(--border)}.category-section{margin-bottom:2.25rem}.category-heading{font-size:1.15rem;margin:0 0 1rem;color:var(--text);display:flex;align-items:center;gap:.5rem}.hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:1.15rem}.calc-card{display:flex;flex-direction:column;justify-content:space-between;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:1.35rem;color:var(--text);box-shadow:var(--shadow-sm);transition:border-color .15s ease,box-shadow .15s ease}.calc-card:hover{border-color:var(--accent);box-shadow:var(--shadow-md);text-decoration:none}.calc-card-cat{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--accent);margin-bottom:.35rem}.calc-card h3{margin:0 0 .5rem;font-size:1.1rem;line-height:1.3;color:var(--text)}.calc-card p{margin:0 0 1rem;color:var(--text-muted);font-size:.92rem}.calc-card-cta{font-size:.88rem;font-weight:600;color:var(--accent)}.breadcrumb{font-size:.85rem;color:var(--text-subtle);margin-bottom:.75rem}.breadcrumb a{color:var(--text-muted)}.page-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1.5rem}.page-title-wrap{flex:1 1 480px}.page-title-wrap h1{margin:0 0 .45rem;font-size:clamp(1.5rem,2.7vw,2.05rem);line-height:1.2;letter-spacing:-.02em}.page-tagline{margin:0;color:var(--text-muted);font-size:1rem}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}.currency-group{display:inline-flex;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:2px}.currency-btn{appearance:none;border:0;background:transparent;color:var(--text-muted);font:inherit;font-size:.85rem;font-weight:600;padding:.4rem .7rem;border-radius:6px;cursor:pointer}.currency-btn[aria-pressed=true]{background:var(--accent);color:#fff}.share-btn{appearance:none;border:1px solid var(--border-strong);background:var(--surface);color:var(--text);font:inherit;font-size:.85rem;font-weight:600;padding:.45rem .85rem;border-radius:var(--radius-sm);cursor:pointer;min-width:158px;text-align:center}.share-btn:hover{border-color:var(--accent);color:var(--accent)}.calc-workspace{display:grid;grid-template-columns:minmax(300px,370px) 1fr;gap:1.5rem;align-items:start;margin-bottom:2.5rem}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:1.35rem;box-shadow:var(--shadow-sm)}.controls-panel{display:flex;flex-direction:column;gap:1.15rem}.input-group{display:flex;flex-direction:column;gap:.4rem}.input-label-row{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem}.input-label-row label{font-size:.9rem;font-weight:600;color:var(--text)}.input-field-wrap{display:flex;align-items:center;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);padding:0 .65rem;height:40px}.input-field-wrap:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #0596691f}.input-affix{font-size:.9rem;font-weight:600;color:var(--text-subtle);user-select:none}.input-number{width:100%;border:0;background:transparent;font:inherit;font-size:.95rem;font-weight:600;font-variant-numeric:tabular-nums;color:var(--text);padding:0 .35rem;outline:none}.input-range{width:100%;accent-color:var(--accent);cursor:pointer;margin:.15rem 0 0}.input-help{margin:0;font-size:.78rem;color:var(--text-subtle);line-height:1.35}.results-col{display:flex;flex-direction:column;gap:1.25rem;min-width:0}.warning-banner{background:var(--warning-bg);border:1px solid var(--warning-border);color:var(--warning-text);border-radius:var(--radius-sm);padding:.85rem 1rem;font-size:.9rem;font-weight:500}.kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.kpi-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:1rem 1.1rem;box-shadow:var(--shadow-sm)}.kpi-card.is-highlight{background:var(--accent-soft);border-color:var(--accent-border)}.kpi-label{font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted);margin-bottom:.25rem}.kpi-value{font-size:clamp(1.25rem,2.2vw,1.65rem);font-weight:700;font-variant-numeric:tabular-nums;color:var(--text);line-height:1.2}.kpi-card.is-highlight .kpi-value{color:var(--accent-hover)}.kpi-sublabel{font-size:.8rem;color:var(--text-subtle);margin-top:.25rem}.chart-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;margin-bottom:.75rem}.chart-title{margin:0;font-size:1rem;font-weight:700}.chart-legend{display:flex;flex-wrap:wrap;gap:.85rem;font-size:.8rem;color:var(--text-muted)}.legend-item{display:inline-flex;align-items:center;gap:.35rem}.legend-swatch{width:10px;height:10px;border-radius:3px;display:inline-block}.chart-stage{position:relative;width:100%;aspect-ratio:680 / 320;min-height:220px}.chart-svg{width:100%;height:100%;display:block}.chart-tooltip{position:absolute;top:8px;right:12px;background:#0f172af0;color:#fff;font-size:.78rem;padding:.5rem .7rem;border-radius:8px;pointer-events:none;box-shadow:0 6px 18px #0f172a2e;font-variant-numeric:tabular-nums;z-index:5;min-width:155px}.chart-tooltip-title{font-weight:700;margin-bottom:.25rem;color:#e2e8f0}.chart-tooltip-row{display:flex;justify-content:space-between;gap:.75rem}.table-heading{margin:0 0 .75rem;font-size:1rem;font-weight:700}.table-scroll{overflow-x:auto;max-height:360px;overflow-y:auto;border:1px solid var(--border);border-radius:var(--radius-sm)}.data-table{width:100%;border-collapse:collapse;font-size:.86rem;font-variant-numeric:tabular-nums}.data-table th{position:sticky;top:0;background:var(--surface-muted);color:var(--text);font-weight:600;text-align:right;padding:.65rem .85rem;border-bottom:1px solid var(--border);white-space:nowrap}.data-table th:first-child,.data-table td:first-child{text-align:left}.data-table td{text-align:right;padding:.55rem .85rem;border-bottom:1px solid var(--border);color:var(--text-muted);white-space:nowrap}.data-table tbody tr:last-child td{border-bottom:0}.editorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin-bottom:2rem}.editorial-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:1.4rem}.editorial-card h2{margin:0 0 .75rem;font-size:1.15rem}.formula-box{background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.8rem 1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88rem;font-weight:600;color:var(--text);overflow-x:auto;margin:.85rem 0}.var-list{margin:.75rem 0 0;padding-left:1.15rem;color:var(--text-muted);font-size:.9rem}.var-list li{margin-bottom:.35rem}.example-steps{margin:.75rem 0;padding-left:1.25rem;color:var(--text-muted);font-size:.92rem}.example-steps li{margin-bottom:.4rem}.takeaway-note{background:var(--accent-soft);border-left:3px solid var(--accent);padding:.65rem .9rem;border-radius:0 var(--radius-sm) var(--radius-sm) 0;font-size:.9rem;color:var(--text);margin:.85rem 0 0}.faq-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:1.4rem;margin-bottom:2rem}.faq-section h2{margin:0 0 .9rem;font-size:1.2rem}.faq-item{border-top:1px solid var(--border);padding:.85rem 0}.faq-item:last-child{padding-bottom:0}.faq-item summary{cursor:pointer;font-weight:600;color:var(--text);list-style-position:outside}.faq-item p{margin:.55rem 0 0;color:var(--text-muted);font-size:.93rem}.related-section{margin-bottom:2rem}.related-section h2{margin:0 0 .9rem;font-size:1.2rem}.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.disclaimer-box{background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-md);padding:1rem 1.25rem;font-size:.84rem;color:var(--text-muted)}.site-footer{background:var(--surface);border-top:1px solid var(--border);padding:1.75rem 0;font-size:.85rem;color:var(--text-subtle)}.footer-inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;align-items:center}.footer-links{display:flex;flex-wrap:wrap;gap:1rem}@media(max-width:900px){.calc-workspace,.editorial-grid{grid-template-columns:1fr}}@media(max-width:560px){.kpi-grid{grid-template-columns:1fr}.hero{padding:1.5rem 1.25rem}.header-nav{display:none}}
