:root{--bg:#050913;--bg-2:#07111f;--surface:#0c1424;--surface-2:#111f36;--surface-3:#162845;--text:#edf6ff;--muted:#8fa4c0;--muted-2:#657894;--border:#ffffff17;--border-strong:#ffffff26;--primary:#4da3ff;--primary-soft:#4da3ff24;--primary-border:#4da3ff47;--mint:#4ff0c2;--mint-soft:#4ff0c21f;--warning:#ffd166;--warning-soft:#ffd1661f;--danger:#ff6b8a;--danger-soft:#ff6b8a1f;--purple:#8ea7ff;--purple-soft:#8ea7ff1f;color:var(--text);background:var(--bg);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5}*{box-sizing:border-box}body{background:radial-gradient(circle at 12% -10%, #4da3ff2e, transparent 34%), radial-gradient(circle at 90% 8%, #4ff0c21a, transparent 28%), var(--bg);min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.appShell{flex-direction:column;min-height:100vh;display:flex}main{flex:1}.siteHeader{z-index:20;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#050913e0;justify-content:space-between;align-items:center;gap:16px;padding:14px clamp(16px,4vw,56px);display:flex;position:sticky;top:0}.brand{min-height:48px;color:var(--text);background:0 0;border:0;align-items:center;gap:10px;font-size:18px;display:inline-flex}.brand span:last-child{text-align:left;line-height:1.05;display:grid}.brand small{color:var(--muted);font-size:12px}.brandMark{background:linear-gradient(135deg, var(--primary), var(--mint));color:#04101e;border-radius:14px;place-items:center;width:40px;height:40px;font-weight:900;display:grid}nav{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}nav button,.secondaryButton,.backLink{border:1px solid var(--border);min-height:44px;color:var(--text);background:#111f36c7;border-radius:14px;padding:10px 14px;font-weight:750}.activeNav,nav button:hover,.secondaryButton:hover,.backLink:hover{border-color:var(--primary);background:var(--primary-soft)}.allCalcButton{border-color:var(--primary-border)}.languageSwitcher{border:1px solid var(--border);background:#111f369e;border-radius:999px;align-items:center;gap:6px;padding:4px;display:inline-flex}.languageSwitcher button{background:0 0;border:1px solid #0000;border-radius:999px;min-width:38px;min-height:38px;font-size:20px;line-height:1}.languageSwitcher .activeLanguage{border-color:var(--primary);background:var(--primary-soft);box-shadow:0 0 0 2px #4da3ff1f}.hero{background:linear-gradient(#07111f4d,#050913c2);align-items:end;min-height:min(680px,86vh);padding:88px clamp(16px,5vw,72px) 56px;display:grid}.hero h1{letter-spacing:0;max-width:980px;margin:0;font-size:clamp(38px,6vw,78px);line-height:1.02}.heroCopy{max-width:760px;color:var(--muted);font-size:clamp(16px,2vw,21px)}.eyebrow{color:var(--mint);text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:850}.heroActions,.pdfAction{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.primaryButton{background:var(--primary);color:#04101e;border:0;border-radius:16px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:12px 18px;font-weight:850;display:inline-flex}.heroStats{flex-wrap:wrap;gap:10px;margin-top:22px;display:flex}.heroStats span{border:1px solid var(--border);color:var(--muted);background:#0c1424b8;border-radius:18px;padding:10px 14px}.heroStats strong{color:var(--text)}.contentBand,.calculatorPage{padding:36px clamp(16px,5vw,72px)}.sectionTitle{max-width:920px;margin-bottom:22px}.sectionTitle h1,.sectionTitle h2{margin:0 0 8px;font-size:clamp(28px,4vw,46px);line-height:1.08}.sectionTitle p,.muted{color:var(--muted)}.trustGrid,.twoCol{grid-template-columns:1.1fr .9fr;align-items:start;gap:18px;display:grid}.notice,.sourceCard,.resultCard,.formPanel,.emptyState,.samplePanel,.sourceNotice,.audit,.resultSummaryCard,.calculatorPageHeader{border:1px solid var(--border);color:var(--text);background:#0c1424d6;border-radius:22px;padding:18px;box-shadow:0 18px 48px #0000002e}.sourceGrid,.methodGrid,.calculatorGrid,.relatedGrid,.sampleGrid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;display:grid}.hubGroups{gap:26px;display:grid}.hubGroup h3{color:var(--text);margin:0 0 12px}.calculatorCard{text-align:left;border:1px solid var(--border);background:var(--surface);min-height:190px;color:var(--text);border-radius:24px;flex-direction:column;gap:12px;padding:18px;transition:transform .16s,border-color .16s,background .16s;display:flex}.calculatorCard:hover{border-color:var(--primary);background:var(--surface-2);transform:translateY(-2px)}.cardTop,.cardHeader,.resultHeader,.pageHeaderMeta{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.cardTitle{font-size:20px;font-weight:850}.cardDescription,.blockedHint{color:var(--muted)}.blockedHint{color:#ffc2cf;font-size:14px}.statusCard-draft{border-color:#4ff0c23d}.statusCard-partial{border-color:var(--primary-border)}.statusCard-needs_review{border-color:#ffd16657}.statusCard-blocked{background:linear-gradient(#ff6b8a1f,#0c1424e6);border-color:#ff6b8a66}.statusBadge{text-transform:uppercase;color:var(--text);white-space:nowrap;background:#ffffff17;border-radius:999px;align-items:center;padding:5px 9px;font-size:12px;font-weight:850;display:inline-flex}.status-draft,.status-calculated_draft,.status-draft_estimate,.status-allowed_draft_estimate{background:var(--mint-soft);color:var(--mint)}.status-partial,.status-partially_allowed_with_warnings{background:var(--primary-soft);color:var(--primary)}.status-needs_review,.status-warning_only{background:var(--warning-soft);color:var(--warning)}.status-blocked,.status-blocked_missing_source,.status-blocked_insufficient_input,.status-blocked_conflict,.status-blocked_needs_review{background:var(--danger-soft);color:var(--danger)}.status-not_applicable{color:var(--muted)}.icon{background:var(--primary-soft);width:36px;height:36px;color:var(--primary);border-radius:13px;flex:none;place-items:center;display:inline-grid}.icon svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}.sourceStrip{flex-wrap:wrap;gap:10px;display:flex}.sourceStrip span{border:1px solid var(--border);background:var(--surface-2);color:var(--muted);border-radius:999px;padding:10px 14px}.republicTrustStrip{border:1px solid var(--primary-border);background:linear-gradient(135deg,#4da3ff21,#4ff0c214);border-radius:24px;grid-template-columns:auto 1fr;align-items:center;gap:14px;padding:18px;display:grid}.republicTrustStrip p{color:var(--muted);margin:4px 0 0}.republicFlag{font-size:36px;line-height:1}.calculatorPage{gap:18px;padding-bottom:92px;display:grid}.backLink{justify-self:start}.calculatorPageHeader{grid-template-columns:auto 1fr;align-items:start;gap:18px;display:grid}.pageHeaderIcon .icon{width:56px;height:56px}.pageHeaderIcon svg{width:30px;height:30px}.pageHeaderMeta{color:var(--muted);flex-wrap:wrap;justify-content:flex-start;align-items:center}.calculatorPageHeader h1{margin:8px 0;font-size:clamp(30px,5vw,54px);line-height:1.05}.limitationList{flex-wrap:wrap;gap:8px;display:flex}.limitationList span{background:var(--warning-soft);color:var(--warning);border:1px solid #ffd1663d;border-radius:999px;padding:7px 10px;font-size:14px}.workbench{grid-template-columns:minmax(280px,470px) 1fr;align-items:start;gap:18px;display:grid}.singleColumn{grid-template-columns:1fr}.formPanel h2{margin-top:0}.dynamicForm,.formSection{gap:14px;display:grid}.formSection{margin-top:14px}.formSection h3,.formSection summary{margin:0 0 8px;font-weight:850}.formGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.field{color:var(--muted);gap:7px;display:grid}.fieldLabel{color:var(--text);justify-content:space-between;gap:8px;font-weight:750;display:flex}.fieldLabel em{color:var(--mint);font-size:12px;font-style:normal}.field input,.field select{border:1px solid var(--border-strong);background:var(--bg-2);width:100%;min-height:50px;color:var(--text);border-radius:14px;padding:10px 12px;font-size:16px}.field small{min-height:18px;color:var(--muted-2)}.fieldError input,.fieldError select{border-color:var(--danger)}.fieldError small{color:var(--danger)}.toggleGroup{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.toggleGroup button{border:1px solid var(--border);background:var(--surface-2);min-height:50px;color:var(--muted);border-radius:14px}.toggleGroup .selectedToggle{border-color:var(--primary);color:var(--text);background:var(--primary-soft)}.fullWidth{width:100%;margin-top:14px}.samplePanel{margin-top:16px}.sampleGrid button,.relatedGrid button{border:1px solid var(--border);min-height:48px;color:var(--text);background:var(--bg-2);text-align:left;border-radius:14px;padding:10px}.sampleGrid button:hover,.relatedGrid button:hover{border-color:var(--primary)}.resultPanel{gap:14px;display:grid}.sourceNotice{color:#dffdf5;background:#092a36e6;border-color:#4ff0c242}.resultList{gap:14px;display:grid}.resultSummaryCard{justify-content:space-between;align-items:center;gap:18px;display:flex}.resultSummaryCard h2{margin:4px 0;font-size:clamp(30px,4vw,46px)}.summaryFacts{gap:8px;min-width:180px;display:grid}.blockedCard,.blockedPanel{background:#31121be0;border-color:#ff6b8a73}.warningPanel{background:#33270db8;border-color:#ffd16659}.warningText{color:var(--warning)}.blockedText,.missing{color:#ffc2cf}.tableWrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{border-top:1px solid var(--border);text-align:left;vertical-align:top;padding:10px}td small{color:var(--warning);margin-top:4px;display:block}.audit summary{cursor:pointer;font-weight:850}.audit dl{color:var(--muted);grid-template-columns:160px 1fr;gap:8px;display:grid}.rawAudit pre{white-space:pre-wrap;max-height:300px;color:var(--muted);overflow:auto}.seoExplainer,.relatedBlock{gap:14px;display:grid}.seoExplainer{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.seoExplainer>div,.relatedBlock{border-top:1px solid var(--border);padding-top:16px}.prose{max-width:920px}.prose li{margin:10px 0}.stepNumber{background:var(--primary-soft);width:32px;height:32px;color:var(--primary);border-radius:50%;place-items:center;font-weight:900;display:grid}.footer{color:var(--muted);border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;gap:12px;padding:22px clamp(16px,5vw,72px) 92px;display:flex}code{color:var(--mint)}.mobileBottomNav{display:none}@media (width<=860px){.siteHeader{grid-template-columns:1fr;display:grid}.siteHeader .desktopNav{display:none}.languageSwitcher{justify-self:start;max-width:100%}.hero{min-height:auto;padding-top:54px}.trustGrid,.workbench,.twoCol,.calculatorPageHeader,.resultSummaryCard{grid-template-columns:1fr;display:grid}.formGrid{grid-template-columns:1fr}.contentBand,.calculatorPage{padding-left:16px;padding-right:16px}.mobileBottomNav{z-index:30;padding:8px 8px max(8px, env(safe-area-inset-bottom));border-top:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#050913f0;grid-template-columns:repeat(4,1fr);gap:4px;display:grid;position:fixed;bottom:0;left:0;right:0}.mobileBottomNav button{min-height:54px;color:var(--muted);background:0 0;border:0;border-radius:14px;place-items:center;gap:2px;font-size:12px;display:grid}.mobileBottomNav .activeBottomNav{color:var(--text);background:var(--primary-soft)}.mobileBottomNav .icon{background:0 0;width:24px;height:24px}.footer{padding-bottom:96px}.stickySubmit{z-index:3;position:sticky;bottom:76px}table,thead,tbody,tr,th,td{display:block}thead{display:none}tr{border-top:1px solid var(--border);padding:10px 0}td{border:0;padding:6px 0}td:before{content:attr(data-label);color:var(--muted);text-transform:uppercase;font-size:12px;display:block}.audit dl{grid-template-columns:1fr}}
