:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#101827;background:#f4f7fb;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#101827;--muted:#64748b;--line:#e2e8f0;--blue:#2563eb;--good:#047857;--bad:#b91c1c;--warn:#b45309;--shadow:0 14px 34px rgba(15,23,42,.07);--radius:22px}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(135deg,#f8fafc,#f1f5f9 55%,#eaf0f7)}button,input,select{font:inherit}button{cursor:pointer;transition:.16s ease;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid rgba(37,99,235,.22);outline-offset:2px}input,select{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:10px 11px;background:#fff;color:var(--ink);outline:none;min-height:42px}input:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 4px #2563eb1a}table{width:100%;border-collapse:separate;border-spacing:0;min-width:780px}th,td{padding:11px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;white-space:nowrap}th{font-size:.7rem;text-transform:uppercase;color:#64748b;letter-spacing:.07em;background:#f8fafc;font-weight:900}tbody tr:hover{background:#f8fafc}td small{display:block;margin-top:4px;color:var(--muted);font-weight:750}.compactTables th,.compactTables td{padding:8px 10px}.compactTables table{font-size:.9rem}code{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.appShell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100vh}.sidebar{background:#0f172a;color:#fff;padding:24px 14px;display:flex;flex-direction:column;gap:18px}.brandBlock span,.sideDecision span,.sectionTitle span,.heroNumber span,.formulaTile span,.miniStat span,.decisionHero span{display:block;color:#64748b;font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.brandBlock span,.sideDecision span{color:#93a4ba}.brandBlock h1{margin:5px 0 0;font-size:1.35rem;letter-spacing:-.045em}.navStack{display:grid;gap:7px}.navStack button{border:0;border-radius:14px;padding:11px 12px;background:transparent;color:#cbd5e1;text-align:left}.navStack button:hover,.navStack button.active{background:#ffffff1a;color:#fff}.navStack button strong{display:block;font-size:.94rem}.navStack button small{display:block;margin-top:3px;color:#94a3b8;line-height:1.3;font-weight:650}.sideDecision{margin-top:auto;border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:15px;background:#ffffff0f}.sideDecision strong{display:block;margin-top:6px;font-size:1.1rem;letter-spacing:-.04em}.sideDecision small{display:block;color:#cbd5e1;margin-top:6px;line-height:1.35}.workspace{padding:24px;min-width:0;max-width:1400px;width:100%;margin:0 auto}.topbar{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:14px;gap:16px}.topbar small{color:var(--blue);font-weight:900;text-transform:uppercase;letter-spacing:.08em}.topbar h2{margin:4px 0 0;font-size:1.9rem;letter-spacing:-.06em;line-height:1}.topActions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.topActions button,.panelHeaderRow button,.dangerButton,.textButton,.presetButtons button,.segmented button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;background:#fff;border-radius:12px;padding:9px 12px;color:var(--ink);font-weight:800;box-shadow:0 5px 14px #0f172a0a;min-height:40px}.topActions button:hover,.panelHeaderRow button:hover,.presetButtons button:hover,.segmented button:hover,.textButton:hover{border-color:var(--blue);color:var(--blue)}.topActions em{color:var(--good);font-size:.82rem;font-style:normal;font-weight:850}.decisionHero{background:#fff;border:1px solid rgba(148,163,184,.32);border-radius:26px;box-shadow:var(--shadow);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding:22px;margin-bottom:14px;position:relative;overflow:hidden}.decisionHero:before{content:"";position:absolute;inset:-5rem -7rem auto auto;width:17rem;height:17rem;border-radius:999px;background:#2563eb14}.decisionHero>*{position:relative}.decisionHero h3{margin:7px 0;font-size:1.55rem;letter-spacing:-.055em}.decisionHero p{margin:0;color:#475569;line-height:1.4}.scoreDial{width:82px;height:82px;border-radius:999px;background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #bfdbfe;display:grid;place-items:center;text-align:center;position:relative}.scoreDial strong{font-size:1.65rem;letter-spacing:-.06em;color:#1d4ed8;line-height:.9}.scoreDial span{font-size:.62rem;color:#1d4ed8}.heroNumber{position:relative;text-align:right;min-width:180px}.heroNumber strong{display:block;font-size:1.85rem;letter-spacing:-.065em}.heroNumber small{display:block;margin-top:5px;color:var(--muted);font-weight:750}.controlDock{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px;flex-wrap:wrap}.segmented,.presetButtons{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.segmented{background:#fff;border:1px solid var(--line);border-radius:15px;padding:5px;box-shadow:0 8px 24px #0f172a0a}.segmented button{box-shadow:none;border-color:transparent;padding:7px 10px}.segmented button.selected{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.presetButtons button{padding:8px 11px}.presetButtons.insidePanel{margin-bottom:12px}.stack{display:grid;gap:15px}.visualSummary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.visualSummary.four{grid-template-columns:repeat(4,minmax(0,1fr))}.miniStat,.panel{background:#fff;border:1px solid rgba(148,163,184,.32);border-radius:var(--radius);box-shadow:var(--shadow)}.miniStat{padding:16px;min-height:92px}.miniStat strong{display:block;margin-top:8px;font-size:1.35rem;letter-spacing:-.05em;line-height:1.08}.miniStat.good{border-color:#04785738;background:#f0fdf4}.miniStat.bad{border-color:#b91c1c38;background:#fef2f2}.miniStat.good strong,.pos{color:var(--good)}.miniStat.bad strong,.neg{color:var(--bad)}.panel{padding:18px;min-width:0}.splitGrid{display:grid;grid-template-columns:1.05fr .95fr;gap:15px;align-items:start}.splitGrid.wideLeft{grid-template-columns:1.35fr .75fr}.inputGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:14px}.panelHeaderRow,.panelTitleRow{display:flex;align-items:flex-start;justify-content:space-between;gap:13px}.panelHeaderRow select{max-width:220px}.headerControls{display:flex;align-items:center;gap:9px;min-width:min(100%,420px)}.sectionTitle h3{margin:4px 0 0;font-size:1.08rem;letter-spacing:-.04em}.sectionTitle p{margin:6px 0 0;color:var(--muted);line-height:1.4}.field{display:grid;gap:7px}.field span{font-size:.82rem;color:#475569;font-weight:850}.inlineInput{display:flex;align-items:center;gap:8px}.inlineInput b{color:var(--muted);font-size:.84rem}.dateSummary{margin-top:14px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:16px;padding:13px}.dateSummary strong{display:block;color:#1d4ed8;letter-spacing:-.02em}.dateSummary small{display:block;margin-top:5px;color:#475569;font-weight:700;line-height:1.4}.formulaPanel{display:grid;gap:10px}.formulaTile{border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px;padding:13px}.formulaTile code{display:block;margin-top:6px;color:#475569;font-size:.8rem}.formulaTile strong{display:block;margin-top:7px;font-size:1.1rem;letter-spacing:-.04em}.tableWrap{overflow:auto;margin-top:14px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;-webkit-overflow-scrolling:touch}.tableWrap:after{content:"Swipe sideways to view all columns";display:none;padding:9px 11px;color:#64748b;font-size:.75rem;font-weight:800;background:#f8fafc;border-top:1px solid var(--line)}.tableWrap table{margin:0}.tableWrap th:first-child{border-top-left-radius:16px}.tableWrap th:last-child{border-top-right-radius:16px}.statusPill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 9px;font-size:.75rem;font-weight:900;white-space:nowrap}.statusPill.good{background:#dcfce7;color:#047857}.statusPill.bad{background:#fee2e2;color:#b91c1c}.actionGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:13px}.actionCard{border:1px solid var(--line);background:#fff;border-radius:16px;padding:13px;text-align:left;color:var(--ink);box-shadow:0 8px 18px #0f172a0a}.actionCard:hover{transform:translateY(-1px);box-shadow:0 12px 28px #0f172a14}.actionCard strong{display:block;letter-spacing:-.03em}.actionCard small{display:block;margin-top:6px;color:var(--muted);line-height:1.35;font-weight:650}.actionCard em{display:inline-flex;margin-top:10px;font-style:normal;font-weight:900;color:#1d4ed8}.actionCard.bad{background:#fff5f5;border-color:#fecaca}.actionCard.warn{background:#fff7ed;border-color:#fed7aa}.riskList{margin:13px 0 0;padding:0;list-style:none;display:grid;gap:8px}.riskList li{border:1px solid #fed7aa;background:#fff7ed;border-radius:14px;padding:11px 12px;color:#7c2d12;line-height:1.35;font-weight:700;font-size:.9rem}.emptyState{margin-top:13px;border:1px solid #bbf7d0;background:#f0fdf4;border-radius:16px;padding:13px}.emptyState strong{color:#047857}.disclosure{background:#fff;border:1px solid rgba(148,163,184,.32);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.disclosure summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;cursor:pointer;list-style:none}.disclosure summary::-webkit-details-marker{display:none}.disclosure summary strong{letter-spacing:-.035em}.disclosure summary span{display:inline-flex;border-radius:999px;background:#eff6ff;color:#1d4ed8;padding:5px 9px;font-size:.75rem;font-weight:900}.disclosure>.panel{border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none}.mixBar{height:9px;width:118px;background:#e2e8f0;border-radius:999px;overflow:hidden}.mixBar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#60a5fa,#2563eb)}.dangerButton{padding:7px 10px;border-color:#fecaca;color:#b91c1c;background:#fff5f5;box-shadow:none}.dangerButton:hover{background:#fee2e2}.textButton{padding:7px 10px;box-shadow:none;background:#f8fafc;color:#1d4ed8}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}@media (max-width:1280px){.visualSummary,.visualSummary.four{grid-template-columns:repeat(3,minmax(0,1fr))}.splitGrid,.splitGrid.wideLeft,.actionGrid{grid-template-columns:1fr}}@media (max-width:920px){.appShell{grid-template-columns:1fr}.sidebar{min-height:auto;padding:16px;gap:13px}.navStack{display:flex;overflow-x:auto;gap:8px;padding-bottom:2px;scroll-snap-type:x proximity}.navStack button{min-width:126px;scroll-snap-align:start;background:#ffffff0f}.navStack button small{display:none}.sideDecision{margin-top:0}.workspace{padding:16px}.topbar,.panelHeaderRow,.panelTitleRow{flex-direction:column;align-items:flex-start}.decisionHero{grid-template-columns:1fr;align-items:flex-start;border-radius:22px}.heroNumber{text-align:left}.visualSummary,.visualSummary.four{grid-template-columns:repeat(2,minmax(0,1fr))}.inputGrid{grid-template-columns:1fr}.panel{padding:16px}.topActions{justify-content:flex-start;width:100%}.topActions button{flex:1}.topbar h2{font-size:1.8rem}.headerControls{width:100%;flex-direction:column}.controlDock{align-items:flex-start}.segmented,.presetButtons{width:100%}.presetButtons button,.segmented button{flex:1}.tableWrap:after{display:block}}@media (max-width:560px){.workspace{padding:12px}.decisionHero{padding:17px}.scoreDial{width:70px;height:70px}.decisionHero h3{font-size:1.35rem}.heroNumber strong{font-size:1.5rem}.miniStat{min-height:auto;padding:13px}.miniStat strong{font-size:1.1rem}.visualSummary,.visualSummary.four{grid-template-columns:1fr}.sidebar{padding:14px 12px}.brandBlock h1{font-size:1.2rem}th,td{padding:10px 9px}.tableWrap{margin-top:12px;border-radius:14px}.panel,.disclosure{border-radius:18px}.controlDock{gap:8px}.segmented button,.presetButtons button{min-width:calc(50% - 4px)}}.wizardShell{min-height:100vh;padding:28px;background:linear-gradient(135deg,#f8fafc,#eef4ff 48%,#f8fafc);color:#101827;overflow-x:hidden}.wizardHero{max-width:1180px;margin:0 auto 18px;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:stretch}.wizardHero>div:first-child,.wizardHeroCard,.wizardPanel,.wizardSteps{background:#fff;border:1px solid rgba(148,163,184,.32);border-radius:26px;box-shadow:0 18px 44px #0f172a14}.wizardHero>div:first-child{padding:28px}.wizardHero span,.wizardPanelHeader span,.wizardSummaryGrid span,.wizardReviewGrid span,.wizardAssumptionMap span{display:block;color:#2563eb;font-size:.72rem;text-transform:uppercase;letter-spacing:.09em;font-weight:900}.wizardHero h1{margin:8px 0 10px;font-size:clamp(1.75rem,5vw,2.25rem);line-height:.98;letter-spacing:-.07em;max-width:760px}.wizardHero p{margin:0;color:#475569;line-height:1.55;max-width:840px}.wizardHeroCard{padding:24px;display:flex;flex-direction:column;justify-content:flex-end;background:#0f172a;color:#fff}.wizardHeroCard strong{font-size:2rem;letter-spacing:-.07em}.wizardHeroCard small{display:block;margin-top:8px;color:#cbd5e1;line-height:1.4;font-weight:700}.wizardLayout{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:270px minmax(0,1fr);gap:18px;align-items:start}.wizardSteps{padding:12px;display:grid;gap:8px}.wizardSteps button{border:0;background:transparent;border-radius:16px;padding:12px;display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:10px;text-align:left;color:#475569;min-width:0}.wizardSteps button:hover,.wizardSteps button.active{background:#eff6ff;color:#1d4ed8}.wizardSteps button.done{background:#f0fdf4;color:#047857}.wizardSteps b{grid-row:1/3;width:34px;height:34px;border-radius:999px;background:#e2e8f0;display:grid;place-items:center;color:#334155}.wizardSteps button.active b{background:#2563eb;color:#fff}.wizardSteps button.done b{background:#047857;color:#fff}.wizardSteps span{font-weight:900;color:inherit}.wizardSteps small{display:block;margin-top:3px;color:#64748b;font-weight:700;line-height:1.3}.wizardPanel{padding:24px;min-height:560px;display:flex;flex-direction:column;min-width:0}.wizardPanelHeader{display:grid;gap:12px;margin-bottom:20px}.wizardPanelHeader h2{margin:5px 0 0;font-size:clamp(1.45rem,4vw,1.75rem);line-height:1.05;letter-spacing:-.06em}.wizardPanelHeader p{margin:6px 0 0;color:#64748b;font-weight:720;line-height:1.4}.wizardProgress{height:9px;border-radius:999px;background:#e2e8f0;overflow:hidden}.wizardProgress i{display:block;height:100%;border-radius:999px;background:#2563eb}.wizardStack{display:grid;gap:16px}.wizardGrid{display:grid;gap:14px}.wizardGrid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.wizardField{display:grid;gap:7px;min-width:0}.wizardField span{font-size:.84rem;color:#475569;font-weight:900;display:flex;align-items:center;justify-content:space-between;gap:8px}.wizardField span em{font-size:.62rem;font-style:normal;text-transform:uppercase;letter-spacing:.07em;color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:3px 7px}.wizardField small{color:#64748b;font-weight:700;line-height:1.35}.wizardField input{width:100%;border:1px solid #cbd5e1;border-radius:14px;padding:11px 12px;background:#fff;color:#101827;min-height:46px;font-size:16px}.wizardInlineInput{display:flex;align-items:center;gap:8px;min-width:0}.wizardInlineInput b{color:#64748b;font-size:.84rem;flex:0 0 auto}.wizardChoiceGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wizardChoiceGrid.compact button{min-height:120px}.wizardChoiceGrid button{border:1px solid #dbe3ef;background:#fff;border-radius:20px;padding:18px;text-align:left;min-height:150px;box-shadow:0 10px 24px #0f172a0a;min-width:0}.wizardChoiceGrid button:hover{border-color:#2563eb;transform:translateY(-1px)}.wizardChoiceGrid button.selected{border-color:#2563eb;background:#eff6ff;box-shadow:0 14px 32px #2563eb1f}.wizardChoiceGrid strong{display:block;font-size:1.05rem;letter-spacing:-.035em;color:#101827}.wizardChoiceGrid small{display:block;margin-top:8px;color:#475569;line-height:1.45;font-weight:700}.wizardCallout{border:1px solid #bfdbfe;background:#eff6ff;color:#1e3a8a;border-radius:18px;padding:14px;line-height:1.45;font-weight:750}.wizardCallout.warn{border-color:#fed7aa;background:#fff7ed;color:#7c2d12}.wizardSummaryGrid,.wizardReviewGrid,.wizardAssumptionMap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.wizardReviewGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.wizardSummaryGrid>div,.wizardReviewGrid>div,.wizardAssumptionMap>div{border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc;padding:14px;min-height:92px;min-width:0}.wizardSummaryGrid strong,.wizardReviewGrid strong,.wizardAssumptionMap strong{display:block;margin-top:7px;font-size:clamp(1.05rem,3vw,1.25rem);line-height:1.12;letter-spacing:-.045em;overflow-wrap:anywhere}.wizardProducts{border:1px solid #e2e8f0;border-radius:20px;padding:14px;background:#f8fafc;min-width:0}.wizardProductsHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.wizardProductsHeader strong{letter-spacing:-.03em}.wizardProductsHeader button,.wizardActions button,.wizardProductRow button{border:1px solid #cbd5e1;background:#fff;border-radius:12px;padding:10px 13px;font-weight:900;color:#101827;min-height:44px}.wizardProductsHeader button:hover,.wizardActions button:hover,.wizardProductRow button:hover{border-color:#2563eb;color:#1d4ed8}.wizardEmpty{border:1px dashed #cbd5e1;border-radius:16px;padding:18px;background:#fff;display:grid;gap:5px}.wizardEmpty strong{color:#101827}.wizardEmpty small{color:#64748b;font-weight:700;line-height:1.4}.wizardProductRow{display:grid;grid-template-columns:minmax(180px,1fr) 140px 140px auto;gap:10px;margin-top:10px}.wizardProductRow input{border:1px solid #cbd5e1;border-radius:12px;padding:10px 11px;min-height:44px;font-size:16px;min-width:0}.wizardProductRow button{color:#b91c1c;border-color:#fecaca;background:#fff5f5}.wizardTargets{display:grid;gap:10px}.wizardTargets label{display:grid;grid-template-columns:minmax(0,1fr) 160px;align-items:center;gap:12px;border:1px solid #e2e8f0;background:#fff;border-radius:16px;padding:12px}.wizardTargets label>span{font-weight:900;color:#101827}.wizardTargets small{display:block;margin-top:3px;color:#64748b;font-weight:700}.wizardTargets input{border:1px solid #cbd5e1;border-radius:12px;min-height:44px;padding:10px 11px;font-size:16px}.wizardChecklist{display:flex;flex-wrap:wrap;gap:8px}.wizardChecklist span{display:inline-flex;align-items:center;border:1px solid #fed7aa;background:#fff7ed;color:#7c2d12;border-radius:999px;padding:8px 10px;font-size:.82rem;font-weight:900}.wizardChecklist span.done{border-color:#bbf7d0;background:#f0fdf4;color:#047857}.wizardActions{margin-top:auto;padding-top:22px;display:flex;align-items:center;justify-content:space-between;gap:12px}.wizardActions>div{display:flex;gap:8px}.wizardActions button:disabled{opacity:.45;cursor:not-allowed}.wizardActions .primary{background:#2563eb;color:#fff;border-color:#2563eb;box-shadow:0 12px 28px #2563eb38}.wizardActions .primary:hover{background:#1d4ed8;color:#fff}.wizardReopenButton{position:fixed;right:18px;bottom:18px;z-index:50;border:1px solid #bfdbfe;background:#2563eb;color:#fff;border-radius:999px;padding:12px 16px;font-weight:950;box-shadow:0 16px 38px #2563eb47;min-height:48px}.wizardReopenButton:hover{background:#1d4ed8;transform:translateY(-1px)}@media (max-width:980px){.wizardShell{padding:16px}.wizardHero,.wizardLayout{grid-template-columns:1fr}.wizardHeroCard{min-height:128px}.wizardSteps{display:flex;overflow-x:auto;gap:8px;padding:10px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}.wizardSteps button{min-width:132px;grid-template-columns:1fr;scroll-snap-align:start}.wizardSteps b{grid-row:auto}.wizardSteps small{display:none}.wizardPanel{min-height:auto}.wizardChoiceGrid,.wizardGrid.two,.wizardSummaryGrid,.wizardReviewGrid,.wizardAssumptionMap{grid-template-columns:1fr}.wizardProductRow{grid-template-columns:1fr 1fr}.wizardProductRow input:first-child,.wizardProductRow button{grid-column:1/-1}}@media (max-width:560px){.wizardShell{padding:10px}.wizardHero{gap:10px;margin-bottom:10px}.wizardHero>div:first-child,.wizardPanel{padding:16px;border-radius:20px}.wizardHeroCard{padding:16px;border-radius:20px;min-height:auto}.wizardHeroCard strong{font-size:1.6rem}.wizardPanelHeader{margin-bottom:14px}.wizardChoiceGrid button{min-height:auto;padding:15px;border-radius:17px}.wizardSummaryGrid>div,.wizardReviewGrid>div,.wizardAssumptionMap>div{min-height:auto;padding:12px;border-radius:15px}.wizardActions{position:sticky;bottom:0;background:linear-gradient(180deg,#ffffffb8,#fff 40%);margin:0 -16px -16px;padding:14px 16px 16px;flex-direction:column;align-items:stretch;border-top:1px solid #e2e8f0}.wizardActions>div{display:grid;grid-template-columns:1fr 1fr}.wizardActions button{width:100%}.wizardProductRow{grid-template-columns:1fr}.wizardProductsHeader{align-items:stretch;flex-direction:column}.wizardSteps{border-radius:20px}.wizardSteps button{min-width:104px;padding:10px}.wizardSteps b{width:30px;height:30px}.wizardSteps span{font-size:.86rem}.wizardTargets label{grid-template-columns:1fr}.wizardReopenButton{right:12px;bottom:12px;padding:11px 13px;min-height:46px;font-size:.88rem}}html,body,#root{width:100%;max-width:100%;overflow-x:hidden}input,select,button{font-size:16px}.appShell,.workspace,.panel,.disclosure,.decisionHero,.controlDock,.topbar,.visualSummary,.splitGrid,.inputGrid{min-width:0}.panel,.miniStat,.decisionHero,.disclosure{overflow:hidden}.topActions button,.segmented button,.presetButtons button,.textButton,.dangerButton{min-height:44px}.tableWrap{max-width:100%;overscroll-behavior-x:contain}.tableWrap table input{min-width:92px}.panelHeaderRow select,.headerControls input,.headerControls button{max-width:100%}.miniStat strong,.heroNumber strong,.sectionTitle h3,.decisionHero h3{overflow-wrap:anywhere}@media (max-width:920px){body{background:#f8fafc}.appShell{display:block}.sidebar{position:relative}.brandBlock{display:flex;align-items:center;justify-content:space-between;gap:12px}.brandBlock h1{margin:0}.navStack{margin:0 -4px;padding:2px 4px 8px;-webkit-overflow-scrolling:touch}.navStack button{flex:0 0 auto}.sideDecision{display:grid;grid-template-columns:1fr;gap:2px}.workspace{max-width:100%;margin:0}.topbar{gap:12px}.topActions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.topActions em{grid-column:1/-1}.decisionHero{margin-bottom:12px}.controlDock{display:grid;grid-template-columns:1fr;gap:9px}.segmented,.presetButtons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.presetButtons{grid-template-columns:repeat(3,minmax(0,1fr))}.visualSummary,.visualSummary.four{gap:10px}.splitGrid,.splitGrid.wideLeft{gap:12px}.inputGrid{gap:11px}.actionGrid{gap:9px}.panelHeaderRow,.panelTitleRow{gap:10px}.headerControls{display:grid;grid-template-columns:1fr auto}.headerControls input{grid-column:1/-1}.tableWrap{border-radius:15px}.tableWrap:before{content:"Scroll table sideways";display:block;padding:8px 10px;background:#f8fafc;border-bottom:1px solid #e2e8f0;color:#64748b;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}}@media (max-width:640px){.workspace{padding:10px}.sidebar{padding:12px}.brandBlock span{display:none}.brandBlock h1{font-size:1.08rem}.sideDecision{padding:12px;border-radius:15px}.sideDecision strong{font-size:1rem}.topbar h2{font-size:1.45rem;line-height:1.05}.topActions{grid-template-columns:1fr 1fr 1fr}.decisionHero{padding:14px;border-radius:18px;gap:12px}.scoreDial{width:64px;height:64px}.scoreDial strong{font-size:1.35rem}.decisionHero h3{font-size:1.2rem}.decisionHero p{font-size:.92rem}.heroNumber{min-width:0}.heroNumber strong{font-size:1.28rem}.visualSummary,.visualSummary.four{grid-template-columns:1fr 1fr}.miniStat{padding:12px;border-radius:16px}.miniStat span{font-size:.64rem}.miniStat strong{font-size:1rem}.panel{padding:14px;border-radius:17px}.sectionTitle h3{font-size:1rem}.sectionTitle p{font-size:.9rem}.segmented,.presetButtons{width:100%;grid-template-columns:1fr 1fr}.presetButtons{grid-template-columns:1fr 1fr 1fr}.segmented button,.presetButtons button{padding:9px 8px;min-width:0}.field input,.inlineInput input,.panel input,.panel select{font-size:16px;min-height:44px}.inlineInput{align-items:stretch}.inlineInput b{display:flex;align-items:center}.tableWrap{margin-top:10px;border-radius:14px}.tableWrap table{min-width:720px;font-size:.82rem}.compactTables th,.compactTables td{padding:8px}.mixBar{width:84px}.disclosure{border-radius:17px}.disclosure summary{padding:13px 14px}.riskList li,.emptyState,.dateSummary,.actionCard{border-radius:14px}}@media (max-width:430px){.workspace{padding:8px}.sidebar{padding:10px}.navStack button{min-width:112px;padding:10px}.topActions{grid-template-columns:1fr}.decisionHero{padding:13px}.visualSummary,.visualSummary.four{grid-template-columns:1fr}.controlDock{gap:8px}.segmented,.presetButtons{grid-template-columns:1fr 1fr}.presetButtons button:nth-child(3){grid-column:1/-1}.headerControls{grid-template-columns:1fr}.panelHeaderRow button,.headerControls button{width:100%}.tableWrap table{min-width:680px}.heroNumber strong{font-size:1.2rem}.miniStat{min-height:auto}.panel{padding:12px}.inputGrid{margin-top:12px}.topbar{margin-bottom:10px}.sideDecision small{font-size:.82rem}}
