.abc-workspace{display:grid;grid-template-columns:420px minmax(0,1fr);gap:24px;align-items:start}.abc-input-panel{background:#fff;border:1px solid var(--line);border-radius:7px;padding:24px;min-width:0}.abc-input-panel .panel-heading{padding-bottom:18px;margin-bottom:12px}.abc-input-panel .panel-heading h2{font-size:17px}.abc-example-note{font-size:10px;color:var(--muted);margin-bottom:20px}.abc-editor textarea:focus-visible{outline:3px solid var(--accent);outline-offset:1px}.abc-editor-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.abc-editor-heading h3{font-size:12px;font-weight:500}.abc-editor-heading .quiet{font-size:10px}.abc-money-hint{font-size:10px;margin-top:-6px;margin-bottom:10px}.abc-editor-wrap{position:relative;overflow:auto;height:350px;max-height:350px;border:1px solid var(--line);border-radius:4px;scrollbar-width:thin;overscroll-behavior:contain;scroll-padding-top:40px}.abc-editor{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed}.abc-editor th{font-weight:500;font-size:9px;color:var(--muted)}.abc-editor thead{position:sticky;top:0;z-index:1;background:#eceeec}.abc-editor thead th{padding:12px 4px;text-align:left}.abc-editor thead th:first-child{width:29px;text-align:center}.abc-editor thead th:nth-child(3){width:105px}.abc-editor thead th:last-child{width:32px}.abc-editor tbody tr{border-top:1px solid var(--line)}.abc-editor tbody th{font-variant-numeric:tabular-nums;vertical-align:top;padding-top:16px}.abc-editor td{padding:6px 3px;vertical-align:top}.abc-editor input,.abc-editor textarea{border:1px solid #d8dcda;border-radius:3px;width:100%;min-width:0;padding:8px 6px;min-height:35px;font-size:10px;background:#fff;color:var(--ink)}.abc-editor textarea{resize:vertical;line-height:1.6;font-family:inherit;display:block}.abc-editor input{text-align:right;font-variant-numeric:tabular-nums}.abc-editor [aria-invalid=true],.abc-cuts [aria-invalid=true]{border-color:#b42318}.abc-editor .field-error{font-size:9px;line-height:1.5}.abc-remove{width:28px;min-height:34px;border:0;background:none;font-size:20px;color:var(--muted);padding:3px}.abc-remove:hover{color:var(--accent);background:#f7f7f5}.abc-add-button{justify-content:space-between;width:100%;margin-top:12px;min-height:44px;font-size:12px}.abc-add-button span{font-size:17px;line-height:1}.abc-add-button:disabled{opacity:.5}.abc-editor tr[data-draft]{background:#fff5ef}.abc-editor tr[data-draft] th{color:var(--accent)}.abc-draft-label{display:block;text-align:center;color:var(--accent);padding-top:9px}.abc-editor-hint{margin-top:10px}.abc-cuts{padding:20px 0 0;margin:12px 0 24px;border:0;border-top:1px solid var(--line);min-width:0}.abc-cuts legend{font-size:12px;font-weight:500;padding-right:10px}.abc-cuts .field-row{grid-template-columns:1fr 1fr;gap:12px}.abc-cuts .field{margin-bottom:0}.abc-cuts label{font-size:10px;min-height:28px;align-items:start;line-height:1.5}.abc-cuts input{min-height:40px;font-size:13px}.abc-cuts #cuts-hint{margin-top:10px;font-size:10px}.abc-local-note{font-size:9px;text-align:center;line-height:1.6;color:var(--muted);margin-top:12px}.abc-error-list{background:#fff3f0;color:#92251e;border:1px solid #ebc9c4;border-radius:4px;padding:10px;font-size:11px;line-height:1.6;margin-block:12px;overflow-wrap:anywhere}.abc-error-list ul{margin:0;padding-left:15px}.abc-output{min-width:0}.abc-analysis-state{font-size:10px;color:var(--muted);min-height:3.4em;margin-bottom:12px}.abc-analysis-state[data-state=pending],.abc-analysis-state[data-state=invalid]{color:#92251e}.abc-chart-empty{min-height:220px;display:grid;place-items:center;text-align:center;color:var(--muted);font-size:12px;padding:24px}.abc-output-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;min-height:43px}.abc-output-heading h2{font-size:16px;letter-spacing:-.4px}.abc-output-heading .button{font-size:10px;padding:10px 13px;gap:12px;min-height:40px;flex-shrink:0}.abc-output-heading .step-number{margin-right:7px}.abc-total-panel{background:var(--ink);color:#fff;padding:25px 28px;border-radius:7px;display:flex;align-items:center;justify-content:space-between;gap:16px}.abc-total-panel .eyebrow{color:#c8ced2;font-size:9px;margin-bottom:10px}.abc-total-panel strong{display:block;font-size:32px;font-weight:500;letter-spacing:-1px;line-height:1.2;overflow-wrap:anywhere}.abc-total-panel>div{min-width:0}.abc-total-panel>p{font-size:10px;color:#c8ced2;white-space:pre-line;line-height:1.9;text-align:right;flex-shrink:0}.abc-class-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block:14px 20px}.abc-class-card{padding:18px 16px;border:1px solid var(--line);border-top:3px solid var(--class-color);background:#fff;border-radius:5px;min-width:0}.group-A{--class-color: #c4471c;--class-surface: #fff0e9;--class-text: #a73711}.group-B{--class-color: #303940;--class-surface: #e9ecee;--class-text: #303940}.group-C{--class-color: #8f999f;--class-surface: #edf0ee;--class-text: #59636b}.abc-class-card h3{color:var(--class-text);font-size:9px;letter-spacing:1.2px;font-weight:600}.abc-class-card strong{display:block;font-weight:500;font-size:19px;letter-spacing:-.5px;margin-top:10px;overflow-wrap:anywhere}.abc-class-card p{font-size:10px;color:var(--muted);margin-top:7px}.abc-chart-card,.abc-analysis-card{background:#fff;border:1px solid var(--line);border-radius:7px;padding:22px;min-width:0}.abc-chart-heading h3{font-size:17px;letter-spacing:-.3px}.abc-chart-heading p{font-size:10px;color:var(--muted);margin-top:6px}.abc-chart-wrap{overflow-x:auto;margin-top:20px;scrollbar-width:thin}.abc-chart-svg{width:100%;min-width:590px;display:block;height:auto;font-family:Inter,system-ui,sans-serif}.abc-chart-grid{stroke:#e5e8e5;stroke-width:1}.abc-chart-tick,.abc-chart-axis{font-size:10px;fill:#59636b}.abc-chart-cut{stroke:#899398;stroke-width:1;stroke-dasharray:4 5}.abc-chart-cut-label{font-size:9px;fill:#59636b;paint-order:stroke;stroke:#fff;stroke-width:3;stroke-linejoin:round}.bar-A{fill:#c4471c}.bar-B{fill:#303940}.bar-C{fill:#8f999f}.bar-other{fill:#d8deda}.abc-chart-line{fill:none;stroke:#087a55;stroke-width:2.5;stroke-linejoin:round}.abc-chart-point{fill:#087a55;stroke:#fff;stroke-width:1.5}.abc-chart-legend{display:flex;align-items:center;justify-content:center;gap:23px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-top:5px}.abc-chart-legend span{display:inline-flex;align-items:center;gap:6px}.abc-swatch{width:10px;height:10px;display:block;border-radius:2px}.class-A{background:#c4471c}.class-B{background:#303940}.class-C{background:#8f999f}.abc-line-swatch{display:block;width:16px;height:2px;background:#087a55}#chart-caption{font-size:10px;line-height:1.7;margin-top:17px;padding-top:13px;border-top:1px solid var(--line)}.abc-analysis-card{margin-top:20px;padding:0;overflow:hidden}.abc-table-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 22px}.abc-table-heading h3{font-size:14px;font-weight:500}.abc-table-heading .quiet{font-size:10px}.abc-analysis-wrap{position:relative;overflow:auto;max-height:480px;scrollbar-width:thin}.abc-analysis-table{width:100%;border-collapse:collapse;font-size:11px;min-width:670px}.abc-analysis-table th{font-weight:500;font-size:9px;letter-spacing:.3px;text-align:left;padding:12px 10px;background:#eceeec;white-space:nowrap;position:sticky;top:0;z-index:1}.abc-analysis-table th:first-child{padding-left:22px}.abc-analysis-table th:nth-child(n+3):not(:last-child){text-align:right}.abc-analysis-table td{border-bottom:1px solid var(--line);padding:13px 10px;line-height:1.5;vertical-align:top;font-variant-numeric:tabular-nums}.abc-analysis-table td:first-child{color:var(--muted);padding-left:22px;font-size:10px}.abc-analysis-table td:nth-child(2){min-width:135px;max-width:240px;overflow-wrap:anywhere}.abc-analysis-table td:nth-child(n+3):not(:last-child){text-align:right;white-space:nowrap}.abc-analysis-table td:last-child{padding-right:22px}.abc-class-badge{display:inline-grid;place-items:center;min-width:23px;height:23px;border-radius:3px;background:var(--class-surface);color:var(--class-text);font-size:10px;font-weight:600}.abc-table-footnote{padding:14px 22px;font-size:9px;line-height:1.7;background:#fbfcfa}.abc-output .assumptions{margin-top:24px}@media(min-width:851px)and (min-height:600px){.abc-input-panel{position:sticky;top:16px;max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:auto;scrollbar-width:thin}.abc-input-panel>.panel-heading,.abc-input-panel>.abc-example-note{flex-shrink:0}#abc-form{display:flex;flex-direction:column;min-height:0}#abc-form>:not(.abc-editor-wrap){flex-shrink:0}.abc-editor-wrap{flex:1 1 auto;min-height:100px}.abc-input-panel .panel-heading{padding-bottom:14px;margin-bottom:10px}.abc-example-note{margin-bottom:14px}.abc-cuts{padding-top:14px;margin-block:10px 16px}}@media(max-width:1100px){.abc-workspace{grid-template-columns:380px minmax(0,1fr);gap:18px}.abc-input-panel{padding:20px}.abc-output-heading{align-items:start}.abc-output-heading h2{font-size:14px;line-height:1.5}.abc-total-panel{padding:22px;flex-direction:column;align-items:start}.abc-total-panel>p{text-align:left}.abc-class-grid{gap:8px}.abc-class-card{padding:15px 12px}.abc-class-card strong{font-size:16px}}@media(max-width:850px){.abc-workspace{grid-template-columns:1fr;gap:28px}.abc-editor-wrap{height:300px;max-height:300px}.abc-input-panel{padding:24px}.abc-output-heading{align-items:center}.abc-output-heading h2{font-size:17px}.abc-total-panel{flex-direction:row;align-items:center}.abc-total-panel>p{text-align:right}.abc-class-card strong{font-size:22px}}@media(max-width:500px){.abc-example-note{min-height:3.4em}.abc-input-panel{padding:22px 18px}.abc-input-panel .panel-heading h2{font-size:16px}.abc-output-heading{gap:10px}.abc-output-heading h2{font-size:14px;max-width:190px;line-height:1.5}.abc-output-heading .button{padding:10px;font-size:10px;gap:8px}.abc-total-panel{flex-direction:column;align-items:start;padding:24px}.abc-total-panel strong{font-size:34px}.abc-total-panel>p{text-align:left}.abc-class-grid{grid-template-columns:1fr;gap:8px}.abc-class-card{padding:14px 11px;display:grid;grid-template-columns:1fr auto;gap:6px 12px}.abc-class-card strong{grid-column:2;grid-row:1 / 3;align-self:center;margin-top:0;font-size:22px}.abc-class-card p{grid-column:1;margin-top:0;font-size:10px}.abc-class-card h3{font-size:8px;letter-spacing:.8px}.abc-chart-card{padding:20px 16px}.abc-chart-heading h3{font-size:16px}.abc-chart-legend{gap:16px}.abc-analysis-table td{font-size:11px}.abc-table-heading{padding:18px 16px}.abc-table-heading h3{font-size:13px}.abc-table-footnote{padding:14px 16px}.abc-cuts label{font-size:10px}}@media(max-width:360px){.abc-class-grid{grid-template-columns:1fr}.abc-class-card strong{font-size:23px}.abc-class-card{padding:16px}.abc-output-heading h2{font-size:13px}.abc-output-heading .step-number{display:none}}
