.taxToolScope{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#172126;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--bg:#f5f7f8;--surface:#fff;--surface-soft:#f8fbfb;--line:#dce5e5;--line-strong:#c7d4d3;--text:#172126;--muted:#647275;--teal:#0f766e;--teal-dark:#115e59;--teal-soft:#e8f4f2;--amber:#a16207;--amber-soft:#fff7df;--red:#b42318;--green:#13795b;--shadow:0 16px 42px #11242614;background:#f5f7f8;font-family:Inter,Noto Sans JP,Yu Gothic UI,Hiragino Kaku Gothic ProN,Meiryo,sans-serif}.taxToolScope *{box-sizing:border-box}.taxToolScope{background:linear-gradient(180deg, #fff 0%, #fff0 380px), var(--bg);min-width:320px;min-height:100vh;margin:0}.taxToolScope button,.taxToolScope input{font:inherit}.taxToolScope button{cursor:pointer}.taxToolScope{width:min(1440px,100%);margin:0 auto;padding:24px}.taxToolScope .topBar{justify-content:space-between;align-items:flex-start;gap:24px;padding:8px 4px 24px;display:flex}.taxToolScope .brand{align-items:center;gap:12px;display:flex}.taxToolScope .brand svg{color:var(--teal)}.taxToolScope h1,.taxToolScope h2,.taxToolScope p{margin:0}.taxToolScope h1{letter-spacing:0;font-size:clamp(24px,3vw,34px);line-height:1.18}.taxToolScope .topBar p{color:var(--muted);margin-top:8px;font-size:14px;line-height:1.7}.taxToolScope .topActions{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;font-size:13px;display:flex}.taxToolScope .topActions button{border:1px solid var(--line-strong);background:var(--surface);min-height:44px;color:var(--text);border-radius:8px;align-items:center;gap:7px;padding:0 14px;display:inline-flex;box-shadow:0 2px 10px #0e2b2b0d}.taxToolScope .presetBar{flex-wrap:wrap;gap:8px;padding:0 4px 18px;display:flex}.taxToolScope .presetBar button,.taxToolScope .panelActions button{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--teal-dark);border-radius:8px;align-items:center;gap:7px;padding:0 11px;font-size:12px;font-weight:800;display:inline-flex}.taxToolScope .presetBar button:hover,.taxToolScope .panelActions button:hover{border-color:var(--teal)}.taxToolScope .modeSwitcher{border:1px solid var(--line);background:#ffffffeb;border-radius:8px;grid-template-columns:minmax(260px,390px) minmax(0,1fr);align-items:center;gap:14px;margin-bottom:18px;padding:12px 16px;display:grid;box-shadow:0 8px 24px #1124260f}.taxToolScope .modeSwitcher .choiceField{margin-top:0}.taxToolScope .quickModeNotice,.taxToolScope .sectionHint{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.taxToolScope .quickModeNotice{background:var(--teal-soft);color:var(--teal-dark);border-radius:8px;padding:10px 12px;font-weight:750}.taxToolScope .workspace{grid-template-columns:minmax(320px,390px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.taxToolScope .controls,.taxToolScope .results{min-width:0}.taxToolScope .controls{gap:12px;display:grid;position:sticky;top:16px}.taxToolScope .controlSection,.taxToolScope .panel,.taxToolScope .scenarioPanel,.taxToolScope .notes,.taxToolScope .summary,.taxToolScope .metricCard{border:1px solid var(--line);box-shadow:var(--shadow);background:#ffffffeb}.taxToolScope .controlSection{border-radius:8px;padding:16px}.taxToolScope .sectionTitle,.taxToolScope .panelTitle{color:var(--teal-dark);align-items:center;gap:9px;margin-bottom:14px;display:flex}.taxToolScope .sectionTitle h2,.taxToolScope .panelTitle h2,.taxToolScope .scenarioPanel h2{letter-spacing:0;font-size:15px;line-height:1.4}.taxToolScope .field{gap:7px;margin-top:12px;display:grid}.taxToolScope .field:first-of-type{margin-top:0}.taxToolScope .field span{color:#334044;font-size:13px;font-weight:700}.taxToolScope .choiceField{gap:8px;margin-top:12px;display:grid}.taxToolScope .choiceField>span{color:#334044;font-size:13px;font-weight:800}.taxToolScope .field small{color:var(--muted);font-size:12px;line-height:1.5}.taxToolScope .field .fieldError{color:var(--red);font-weight:750}.taxToolScope .inputWrap:has(input[aria-invalid=true]){border-color:var(--red);box-shadow:0 0 0 3px #b423181f}.taxToolScope .inputWrap{border:1px solid var(--line-strong);background:var(--surface-soft);border-radius:8px;grid-template-columns:1fr auto;align-items:center;min-height:44px;display:grid;overflow:hidden}.taxToolScope .inputWrap:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px #0f766e21}.taxToolScope .inputWrap input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0;padding:10px 12px;font-size:15px;font-weight:750}.taxToolScope .inputWrap b{color:var(--muted);padding:0 12px;font-size:12px;font-weight:750}.taxToolScope .firstYearInputGroup{border-bottom:1px solid var(--line);gap:8px;margin-top:12px;padding-bottom:12px;display:grid}.taxToolScope .firstYearInputGroup:first-of-type{margin-top:0}.taxToolScope .classificationField{grid-template-columns:minmax(0,1fr) minmax(130px,.8fr);align-items:center;gap:10px;display:grid}.taxToolScope .classificationField span{color:var(--muted);font-size:12px;font-weight:750}.taxToolScope .classificationField select{border:1px solid var(--line-strong);background:var(--surface-soft);width:100%;min-height:44px;color:var(--text);font:inherit;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:750}.taxToolScope .readout{background:var(--teal-soft);color:var(--teal-dark);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding:11px 12px;display:flex}.taxToolScope .readout span{font-size:13px;font-weight:700}.taxToolScope .readout strong{font-size:18px}.taxToolScope .stackedReadout{border:1px solid var(--line);background:var(--teal-soft);color:var(--teal-dark);border-radius:8px;gap:7px;margin-top:12px;padding:12px;display:grid}.taxToolScope .stackedReadout:first-child{margin-top:0}.taxToolScope .stackedReadout span{margin-bottom:4px;font-size:13px;font-weight:800;display:block}.taxToolScope .stackedReadout strong{font-size:14px;line-height:1.45}.taxToolScope .stackedReadout small{color:#436460;font-size:12px;line-height:1.5}.taxToolScope .segmented{grid-template-columns:repeat(var(--columns,2), minmax(0, 1fr));border:1px solid var(--line);background:#eef3f3;border-radius:8px;gap:4px;margin-top:12px;padding:4px;display:grid}.taxToolScope .segmented button{min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:6px;font-size:13px;font-weight:800}.taxToolScope .segmented button.active{background:var(--surface);color:var(--teal-dark);box-shadow:0 1px 8px #11242614}.taxToolScope .segmented button:focus-visible,.taxToolScope .presetBar button:focus-visible,.taxToolScope .panelActions button:focus-visible{outline-offset:2px;outline:3px solid #0f766e38}.taxToolScope .checkList{gap:9px;display:grid}.taxToolScope .checkItem{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;grid-template-columns:auto 1fr;align-items:start;gap:10px;padding:10px;display:grid}.taxToolScope .checkItem input{width:17px;height:17px;accent-color:var(--teal);margin-top:2px}.taxToolScope .checkItem span{gap:3px;display:grid}.taxToolScope .checkItem b{color:#334044;font-size:13px}.taxToolScope .checkItem small{color:var(--muted);font-size:12px;line-height:1.45}.taxToolScope .results{gap:14px;display:grid}.taxToolScope .results>*{min-width:0}.taxToolScope .summary{background:linear-gradient(90deg, #0f766e14, #fff0 60%), var(--surface);border-radius:8px;justify-content:space-between;align-items:stretch;gap:16px;min-height:150px;padding:24px;display:flex}.taxToolScope .summary.warning{background:linear-gradient(90deg, #a162071f, #fff0 62%), var(--surface)}.taxToolScope .summary span{color:var(--muted);margin-bottom:8px;font-size:13px;font-weight:800;display:block}.taxToolScope .summary h2{color:var(--text);letter-spacing:0;font-size:clamp(28px,4vw,46px);line-height:1.08}.taxToolScope .summary p{max-width:640px;color:var(--muted);margin-top:12px;font-size:14px;line-height:1.7}.taxToolScope .summary>strong{border-left:1px solid var(--line);min-width:min(280px,32%);color:var(--teal-dark);text-align:right;white-space:nowrap;align-content:center;gap:7px;padding:14px 18px;font-size:clamp(28px,4vw,42px);line-height:1.1;display:grid}.taxToolScope .summary>strong small{color:var(--muted);font-size:12px;font-weight:850;line-height:1.3}.taxToolScope .summary.warning>strong{color:var(--amber)}.taxToolScope .metricGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.taxToolScope .scopeBanner{background:var(--amber-soft);color:#6b4306;border:1px solid #f1d38a;border-radius:8px;grid-template-columns:auto 1fr;align-items:start;gap:10px;padding:14px 16px;display:grid}.taxToolScope .scopeBanner p{font-size:13px;font-weight:750;line-height:1.7}.taxToolScope .metricCard{border-radius:8px;align-content:start;gap:8px;min-height:124px;padding:18px;display:grid}.taxToolScope .metricCard span{color:var(--muted);font-size:13px;font-weight:800}.taxToolScope .metricCard strong{color:var(--text);font-size:clamp(20px,2.5vw,28px);line-height:1.15}.taxToolScope .metricCard small{color:var(--muted);font-size:12px;line-height:1.5}.taxToolScope .metricCard.good{background:linear-gradient(#fff,#f1faf6);border-color:#13795b40}.taxToolScope .metricCard.warning{background:linear-gradient(#fff,#fff8e7);border-color:#a1620747}.taxToolScope .panel{border-radius:8px;padding:18px}.taxToolScope .panelHeader{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.taxToolScope .panelActions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.taxToolScope .panelCopy{color:var(--muted);font-size:13px;line-height:1.7}.taxToolScope .assumptionPanel{gap:12px;display:grid}.taxToolScope .assumptionPanel.good{border-color:#13795b40}.taxToolScope .assumptionPanel.warning{background:linear-gradient(#fff,#fffaf0);border-color:#f1d38a}.taxToolScope .assumptionPanel p{color:#465559;font-size:13px;font-weight:750;line-height:1.7}.taxToolScope .tagList{flex-wrap:wrap;gap:7px;display:flex}.taxToolScope .tagList span,.taxToolScope .scenarioLabel{background:var(--teal-soft);min-height:26px;color:var(--teal-dark);border-radius:999px;align-items:center;padding:0 9px;font-size:12px;font-weight:850;display:inline-flex}.taxToolScope .outlayGrid,.taxToolScope .insightGrid,.taxToolScope .miniMetrics,.taxToolScope .monthlyGrid{gap:10px;display:grid}.taxToolScope .outlayGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.taxToolScope .insightGrid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}.taxToolScope .miniMetrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.taxToolScope .monthlyGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.taxToolScope .outlayGrid div,.taxToolScope .miniMetrics div,.taxToolScope .monthlyGrid div{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;gap:5px;min-width:0;padding:12px;display:grid}.taxToolScope .outlayGrid span,.taxToolScope .miniMetrics span,.taxToolScope .monthlyGrid span{color:var(--muted);font-size:12px;font-weight:800;line-height:1.35}.taxToolScope .outlayGrid strong,.taxToolScope .miniMetrics strong,.taxToolScope .monthlyGrid strong{color:var(--text);font-size:18px;line-height:1.2}.taxToolScope .outlayGrid small{color:var(--teal-dark);font-size:12px;font-weight:800}.taxToolScope .fundingTotals{grid-template-columns:1fr auto;align-items:baseline;gap:7px 14px;display:grid}.taxToolScope .fundingTotals strong{text-align:right;font-size:18px}.taxToolScope .panelPill{border:1px solid var(--line);background:var(--teal-soft);min-height:28px;color:var(--teal-dark);white-space:nowrap;border-radius:999px;align-items:center;padding:0 10px;font-size:12px;font-weight:850;display:inline-flex}.taxToolScope .breakEvenPanel{gap:14px;display:grid}.taxToolScope .breakEvenLayout{grid-template-columns:minmax(230px,.72fr) minmax(0,1.28fr);align-items:start;gap:16px;display:grid}.taxToolScope .sliderGrid{gap:12px;min-width:0;display:grid}.taxToolScope .rangeField{border-bottom:1px solid var(--line);gap:8px;min-width:0;padding:12px 0;display:grid}.taxToolScope .rangeField:last-child{border-bottom:0}.taxToolScope .rangeField>span{color:var(--muted);justify-content:space-between;align-items:baseline;gap:12px;font-size:13px;font-weight:850;line-height:1.4;display:flex}.taxToolScope .rangeField strong{color:var(--text);white-space:nowrap;font-size:15px}.taxToolScope .rangeField input[type=range]{width:100%;min-height:44px;accent-color:var(--teal)}.taxToolScope .rangeField>small{color:var(--muted);font-size:12px;line-height:1.5}.taxToolScope .rangeScale{justify-content:space-between;gap:10px;display:flex}.taxToolScope .rangeScale small{color:var(--muted);font-size:12px;font-weight:750}.taxToolScope .chartColumn{gap:12px;min-width:0;display:grid}.taxToolScope .chartWrap{border:1px solid var(--line);background:linear-gradient(180deg, #fff 0%, #f8fbfb 100%), var(--surface);border-radius:8px;min-width:0;padding:10px}.taxToolScope .breakEvenChart{width:100%;max-width:100%;height:auto;min-height:236px;display:block}.taxToolScope .breakEvenChart text{fill:var(--muted);font-size:12px;font-weight:800}.taxToolScope .chartGridLine{stroke:#e7eeee;stroke-width:1px}.taxToolScope .chartZeroLine{stroke:var(--amber);stroke-dasharray:7 7;stroke-width:2px}.taxToolScope .breakEvenLine{fill:none;stroke:var(--teal);stroke-linecap:round;stroke-linejoin:round;stroke-width:4px}.taxToolScope .breakEvenMarker line{stroke:#4f5f62;stroke-dasharray:4 6;stroke-width:1.5px}.taxToolScope .breakEvenMarker text{fill:#2b383b;font-size:12px;font-weight:900}.taxToolScope .currentPoint{stroke:#fff;stroke-width:3px}.taxToolScope .currentPoint.corporation{fill:var(--green)}.taxToolScope .currentPoint.personal{fill:var(--red)}.taxToolScope .currentPoint.tie{fill:var(--amber)}.taxToolScope .axisLabel{paint-order:stroke;stroke:#fff;stroke-width:4px}.taxToolScope .breakEvenReadout{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.taxToolScope .breakEvenReadout div{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;gap:6px;min-width:0;padding:12px;display:grid}.taxToolScope .breakEvenReadout span{color:var(--muted);font-size:12px;font-weight:850}.taxToolScope .breakEvenReadout strong{color:var(--text);overflow-wrap:anywhere;font-size:19px;line-height:1.2}.taxToolScope .breakEvenReadout small{color:var(--muted);font-size:12px;line-height:1.45}.taxToolScope .panel.split{grid-template-columns:minmax(0,1.45fr) minmax(230px,.55fr);gap:18px;display:grid}.taxToolScope .breakdown{gap:13px;display:grid}.taxToolScope .breakdownRow{gap:7px;display:grid}.taxToolScope .breakdownLabel{color:#344447;justify-content:space-between;gap:10px;font-size:13px;font-weight:750;display:flex}.taxToolScope .breakdownLabel b{color:var(--text);white-space:nowrap}.taxToolScope .barTrack{background:#edf2f2;border-radius:999px;height:10px;overflow:hidden}.taxToolScope .barTrack i{border-radius:inherit;background:linear-gradient(90deg,#0f766e,#4fb3a6);height:100%;display:block}.taxToolScope .barTrack i.negative{background:linear-gradient(90deg,#b42318,#e86a5f)}.taxToolScope .differenceBox{border:1px solid var(--line);background:#f8fbfb;border-radius:8px;align-content:center;gap:10px;padding:18px;display:grid}.taxToolScope .differenceBox span{color:var(--muted);font-size:13px;font-weight:800}.taxToolScope .differenceBox strong{font-size:clamp(24px,3vw,34px);line-height:1.15}.taxToolScope .differenceBox p{color:var(--muted);font-size:13px;line-height:1.7}.taxToolScope .differenceBox small{color:var(--muted);font-size:12px;line-height:1.5}.taxToolScope .positiveText,.taxToolScope .plus{color:var(--green)}.taxToolScope .negativeText,.taxToolScope .minus{color:var(--red)}.taxToolScope .tableWrap{border:1px solid var(--line);border-radius:8px;width:100%;overflow-x:auto}.taxToolScope table{border-collapse:collapse;background:var(--surface);width:100%;min-width:620px}.taxToolScope th,.taxToolScope td{border-bottom:1px solid var(--line);text-align:right;white-space:nowrap;padding:12px 14px;font-size:13px;line-height:1.45}.taxToolScope th:first-child,.taxToolScope td:first-child{text-align:left}.taxToolScope th{color:#465559;background:#f3f7f7;font-size:12px;font-weight:850}.taxToolScope tr:last-child td{border-bottom:0}.taxToolScope .scenarioPanel{border-radius:8px;grid-template-columns:minmax(220px,.45fr) minmax(0,1fr);align-items:start;gap:16px;padding:18px;display:grid}.taxToolScope .scenarioPanel p{color:var(--muted);margin-top:8px;font-size:13px;line-height:1.7}.taxToolScope .compact table{min-width:520px}.taxToolScope .scenarioLabel{margin-bottom:5px}.taxToolScope td small{color:var(--muted);font-size:12px;line-height:1.45;display:block}.taxToolScope td em{color:var(--amber);margin-top:6px;font-size:12px;font-style:normal;font-weight:850;display:inline-flex}.taxToolScope .memoPanel{gap:12px;display:grid}.taxToolScope .memoPanel pre{border:1px solid var(--line);color:#263437;white-space:pre-wrap;background:#f8fbfb;border-radius:8px;max-height:260px;margin:0;padding:14px;font-family:Yu Gothic UI,Hiragino Kaku Gothic ProN,Meiryo,sans-serif;font-size:12px;line-height:1.7;overflow:auto}.taxToolScope .memoPanel>small{color:var(--teal-dark);font-size:12px;font-weight:800}.taxToolScope .notes{border-radius:8px;gap:14px;padding:18px;display:grid}.taxToolScope .notice{color:#5a3d08;grid-template-columns:auto 1fr;align-items:start;gap:10px;display:grid}.taxToolScope .notice p{font-size:13px;line-height:1.8}.taxToolScope .sourceList{flex-wrap:wrap;gap:8px;display:flex}.taxToolScope .sourceList a{border:1px solid var(--line);min-height:44px;color:var(--teal-dark);background:#f8fbfb;border-radius:8px;align-items:center;padding:0 10px;font-size:12px;font-weight:750;text-decoration:none;display:inline-flex}.taxToolScope .sourceList a:hover{border-color:var(--teal)}@media (max-width:1080px){.taxToolScope .modeSwitcher{grid-template-columns:1fr 1fr}.taxToolScope .workspace{grid-template-columns:1fr}.taxToolScope .controls{grid-template-columns:repeat(2,minmax(0,1fr));position:static}.taxToolScope .controls>.controlSection:only-child{grid-column:1/-1}}@media (max-width:760px){.taxToolScope{padding:16px}.taxToolScope .topBar,.taxToolScope .modeSwitcher,.taxToolScope .summary,.taxToolScope .breakEvenLayout,.taxToolScope .panel.split,.taxToolScope .scenarioPanel{flex-direction:column;grid-template-columns:1fr}.taxToolScope .topActions{justify-content:flex-start}.taxToolScope .modeSwitcher{display:grid}.taxToolScope .classificationField{grid-template-columns:1fr}.taxToolScope .inputWrap input,.taxToolScope .classificationField select{font-size:16px}.taxToolScope .controls,.taxToolScope .metricGrid{grid-template-columns:1fr}.taxToolScope .summary,.taxToolScope .scopeBanner,.taxToolScope .metricGrid,.taxToolScope .metricCard,.taxToolScope .panel,.taxToolScope .scenarioPanel,.taxToolScope .notes{width:100%;min-width:0}.taxToolScope .summary>div,.taxToolScope .summary h2,.taxToolScope .summary p,.taxToolScope .summary>strong,.taxToolScope .metricCard strong,.taxToolScope .metricCard small,.taxToolScope .scopeBanner p{overflow-wrap:anywhere;min-width:0}.taxToolScope .summary>strong{white-space:normal;border-left:0;border-top:1px solid var(--line);text-align:left;justify-content:flex-start;min-width:0;padding:16px 0 0;display:grid}.taxToolScope table{min-width:560px}.taxToolScope .outlayGrid,.taxToolScope .insightGrid,.taxToolScope .miniMetrics,.taxToolScope .monthlyGrid,.taxToolScope .breakEvenReadout{grid-template-columns:1fr}.taxToolScope .panelHeader{display:grid}.taxToolScope .rangeField>span{flex-direction:column;align-items:flex-start;gap:4px}.taxToolScope .chartWrap{padding:6px}.taxToolScope .breakEvenChart{min-height:214px}.taxToolScope .panelActions{justify-content:flex-start}.taxToolScope .tableWrap{overflow:visible}.taxToolScope .responsiveTable,.taxToolScope .compact table{width:100%;min-width:0;display:block}.taxToolScope .responsiveTable thead{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.taxToolScope .responsiveTable tbody{gap:10px;display:grid}.taxToolScope .responsiveTable tr{border-bottom:1px solid var(--line);gap:0;padding:10px 12px;display:grid}.taxToolScope .responsiveTable tr:last-child{border-bottom:0}.taxToolScope .responsiveTable td{text-align:right;white-space:normal;border-bottom:1px solid #eef3f3;grid-template-columns:minmax(108px,.65fr) minmax(0,1fr);align-items:start;gap:12px;padding:8px 0;display:grid}.taxToolScope .responsiveTable td:last-child{border-bottom:0}.taxToolScope .responsiveTable td:before{content:attr(data-label);color:var(--muted);text-align:left;font-size:12px;font-weight:850}}@media print{.taxToolScope .topActions,.taxToolScope .presetBar,.taxToolScope .modeSwitcher,.taxToolScope .controls,.taxToolScope .sourceList,.taxToolScope .panelActions{display:none!important}.taxToolScope .workspace{display:block}.taxToolScope{padding:0}.taxToolScope .panel,.taxToolScope .summary,.taxToolScope .metricCard,.taxToolScope .notes{box-shadow:none;break-inside:avoid}.taxToolScope .memoPanel pre{max-height:none}}
