.batch-hero{padding-bottom:22px}.batch-hero h1{font-size:clamp(28px,7vw,44px);line-height:1.35;letter-spacing:-.035em;overflow-wrap:anywhere;max-width:22ch}.batch-eyebrow{font-size:12px!important;letter-spacing:.04em;color:var(--blue)!important;font-weight:700;margin-bottom:12px!important}.batch-local{display:inline-flex;align-items:center;gap:8px;font-size:12px!important;color:var(--muted)!important;margin-top:12px!important}.batch-local:before{content:"";width:7px;height:7px;border-radius:50%;background:#087f68}.batch-calculator{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;min-width:0;border-radius:24px}.batch-calculator>*{min-width:0;margin:0}.batch-calculator [hidden]{display:none!important}.batch-calculator h2{font-size:17px;display:flex;align-items:center;gap:10px;margin:0}.batch-step{font:700 11px/1.2 ui-monospace,monospace;border:1px solid var(--line);border-radius:50%;width:28px;height:28px;display:inline-grid;place-items:center;color:var(--muted)}.batch-fields,.batch-row-fields{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.batch-field{min-width:0;display:grid;gap:6px;align-content:start}.batch-field:has(textarea){grid-column:1/-1}.batch-field label{font-size:14px;font-weight:650;line-height:1.5}.batch-field input,.batch-field select,.batch-field textarea{width:100%;min-width:0;max-width:100%;min-height:48px;box-sizing:border-box;font-size:16px;border:1px solid #cbd4e2;border-radius:10px;padding:12px;background:#fff;color:var(--text);font-variant-numeric:tabular-nums}.batch-field textarea{line-height:1.6;resize:vertical}.batch-field small{font-size:12px;line-height:1.5;color:var(--muted)}.batch-field input:focus-visible,.batch-field select:focus-visible,.batch-field textarea:focus-visible{outline:3px solid #b4cbff;outline-offset:2px;border-color:var(--blue)}.batch-field [aria-invalid=true]{border-color:#b62332;background:#fff7f7}.batch-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;border:0;min-width:0}.batch-modes legend{font-size:13px;font-weight:650;margin-bottom:9px}.batch-modes label{display:flex;align-items:center;gap:8px;min-height:48px;cursor:pointer;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:14px;line-height:1.4}.batch-modes label:has(:checked){background:#eef4ff;border-color:var(--blue);color:#1645a5}.batch-modes input{width:16px;height:16px;margin:0;flex-shrink:0;accent-color:var(--blue)}.batch-row{border:1px solid var(--line);border-radius:16px;padding:16px;margin:0 0 12px;background:#f9fbff;min-width:0}.batch-row legend{font-size:13px;font-weight:700;padding:0 6px;color:#425370}.batch-row-hint{font-size:13px;color:var(--muted);line-height:1.6}.batch-row .batch-field:has([name$=".name"]){grid-column:1/-1}.batch-remove{border:0;background:transparent!important;color:#596a83!important;border-radius:8px;min-height:44px!important;padding:10px 6px!important;font-size:12px!important;margin-top:10px;box-shadow:none!important}.batch-add{width:100%;min-height:48px;font-size:14px}.batch-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.batch-actions button{min-height:50px}.batch-output{background:#111f3a;border-radius:18px;padding:20px;color:#fff;border:0;scroll-margin-top:20px}.batch-output .batch-step{border-color:#58677e;color:#c7d7ee}.batch-output>p{font-size:13px;line-height:1.7;color:#d4e1f5}.batch-output>p[data-error]{color:#ffe6e6}.batch-output dl{margin:0}.batch-primary{display:grid;gap:8px;padding:20px 0 16px}.batch-primary dt{font-size:13px;color:#d4e1f5}.batch-primary dd{font-size:clamp(24px,6vw,36px);line-height:1.35;font-weight:750;margin:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;letter-spacing:-.02em}.batch-secondary{display:flex;gap:16px;justify-content:space-between;border-top:1px solid #34445e;padding:12px 0;font-size:14px;line-height:1.5}.batch-secondary dt{color:#d4e1f5}.batch-secondary dd{margin:0;text-align:right;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0}.batch-detail{border-top:1px solid var(--line);padding-top:12px}.batch-detail summary{min-height:44px;cursor:pointer;font-size:14px;font-weight:650;line-height:1.7;color:var(--blue)}.batch-table-scroll{overflow-x:auto;max-width:100%;border-radius:10px;overscroll-behavior-x:contain}.batch-table-scroll table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap;text-align:right}.batch-table-scroll th,.batch-table-scroll td{padding:12px 10px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.batch-table-scroll th:first-child{text-align:left;max-width:200px;white-space:normal;overflow-wrap:anywhere}.batch-table-scroll thead th{background:#f1f5fc;font-weight:650}.batch-table-scroll caption{font-size:12px;text-align:left;color:var(--muted);padding:10px}.batch-working{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;font-size:14px}.batch-guide{max-width:100%;overflow-wrap:anywhere}.batch-visual{background:#f6f9ff;border:1px solid #e0e8f6;border-radius:16px;padding:14px;overflow:hidden}.batch-visual svg{display:block;width:100%;max-height:320px;overflow:visible}.batch-visual svg line{stroke:#8b9db8;stroke-width:1.5}.batch-visual svg text{font-family:inherit;font-size:12px;fill:#405575}.batch-visual .batch-shape{fill:#dfeaff;stroke:#3265c0;stroke-width:2}.batch-visual .batch-packed{fill:#c3e8df;stroke:#267465;stroke-width:1}.batch-visual .batch-pipe-hole{fill:#f6f9ff;stroke:#3265c0;stroke-width:2}.batch-visual .batch-dot{fill:#3468be;opacity:.75}.batch-visual .batch-fit-line{fill:none;stroke:#087f68;stroke-width:3}.batch-visual .batch-data-line{fill:none;stroke:#6791d3;stroke-width:2}.batch-visual .batch-resistor{fill:#dfeaff;stroke:#3265c0;stroke-width:2}.batch-figure-note{font-size:12px;color:#526582;line-height:1.6;margin:10px 0 0}.batch-cut{display:grid;grid-template-columns:40px minmax(0,1fr);gap:6px;font-size:12px;padding:8px 0}.batch-cut small{grid-column:2;color:#526582}.batch-cut-bar{background:#e0e7f3;height:28px;display:flex;border-radius:4px;overflow:hidden;font-size:10px}.batch-cut-bar i{font-style:normal;display:grid;place-items:center;background:#c3e8df;box-shadow:inset 0 0 0 1px #639c91;flex-shrink:0;color:#25483f}.batch-cut-bar b{background:#253a5d;flex-shrink:0;min-width:.3px}@media(max-width:380px){.batch-fields,.batch-row-fields{grid-template-columns:minmax(0,1fr)}.batch-secondary{display:grid;gap:4px}.batch-secondary dd{text-align:left}.batch-modes label{padding:10px 8px;font-size:13px}.batch-calculator{border-radius:16px;gap:16px}.batch-output{padding:16px}.batch-row{padding:12px}}@media(min-width:760px){.batch-calculator{padding:32px}.batch-hero h1{max-width:28ch}.batch-visual svg{max-height:340px}}@media(prefers-reduced-motion:reduce){.batch-calculator *{scroll-behavior:auto}}.batch-hero h1 span{display:inline-block;max-width:100%;overflow-wrap:anywhere}.batch-calculator .batch-output h2{color:#fff}.batch-primary dd{white-space:pre-line}.batch-calculator[data-batch-tool=expenseSettlement] .batch-primary dd,.batch-calculator[data-batch-tool=randomDraw] .batch-primary dd{font-size:clamp(20px,5vw,28px)}.batch-copy{background:#fff!important;color:#193f81!important;font-size:14px!important;min-height:44px;margin-top:10px;box-shadow:none!important}[data-copy-status]{display:block;font-size:12px;margin-top:8px;color:#d4e1f5}.batch-visual .next-line{stroke:#3265c0;fill:none;stroke-width:2.5}.batch-visual .next-fill{fill:#c7d9fb;stroke:#3265c0;stroke-width:1.5}.batch-visual .next-selected{fill:#087f68}.next-chart-caption{font-size:13px;font-weight:650;margin:0 0 12px;color:#263f66}.next-bits{display:grid;gap:12px;font-family:ui-monospace,monospace;line-height:1.5}.next-bits>div{display:grid;gap:5px}.next-bits code{overflow-wrap:anywhere;font-size:13px;letter-spacing:.1em;color:#263f66}.next-colors{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;font-size:12px}.next-colors span{padding:5px 9px;border:1px solid #cbd4e2;border-radius:7px;background:#fff;color:#334e74}.batch-visual svg text{font-size:22px}@media(max-width:380px){.batch-visual svg text{font-size:28px}}.batch-calculator[data-batch-tool=expenseSettlement] .batch-row .batch-field:has([name$=".name"]){grid-column:auto}.batch-calculator[data-batch-tool=recipeCost] .batch-row .batch-field:has([name$=".price"]){grid-column:1/-1}
