main{max-width:1660px}.heading h1{font-size:2rem}.heading p{font-size:.9rem}.sheet-tag{font-size:.8rem;background:#e9edf8;border:1px solid #d9e1f1;border-radius:6px;padding:9px 12px;color:#5c7092}.orderbar{display:flex;align-items:end;gap:14px;margin:0 0 24px}.orderbar .field{width:430px;max-width:60%}.map-shortcut{margin-left:auto;text-decoration:none;font-size:.875rem;padding:9px 0}.sheet-workspace{display:grid;grid-template-columns:minmax(590px,1fr) minmax(450px,1fr);gap:24px;align-items:start}.inputs-column .card{padding:21px;margin-bottom:20px}.section-title{margin-bottom:14px}.section-title h2{font-size:1rem}.inline-actions{display:flex;gap:7px}.entry{min-width:520px}.entry th{font-size:.75rem;padding:10px 5px}.entry td{padding:7px 4px;border-bottom:1px solid #e7edf5}.entry input:not([type=checkbox]):not([type=color]){border:1px solid #d2dfed;background:#f9fbfe;border-radius:5px;width:100%;min-width:0;height:36px;color:#294363;font:inherit;font-size:.8rem;padding:6px}.entry input[type=color]{width:30px;height:30px;padding:2px;border:1px solid #d4dfed;border-radius:6px;background:white;cursor:pointer}.entry input[type=color]::-webkit-color-swatch-wrapper{padding:1px}.entry input[type=color]::-webkit-color-swatch{border:0;border-radius:3px}.entry input[type=checkbox]{display:block;margin:auto;width:16px;height:16px;cursor:pointer}.entry td button{border:0;color:#8295ad;padding:4px 6px;font-size:1.1rem;background:transparent}.stocks-entry td:first-child{width:30%}.stocks-entry td:nth-child(2){width:65px}.stocks-entry td:nth-child(3),.stocks-entry td:nth-child(4){width:110px}.stocks-entry td:nth-child(5){width:72px}.stocks-entry td:last-child{width:26px}.parts-entry{min-width:605px;table-layout:fixed}.parts-entry th:nth-child(1){width:36px}.parts-entry th:nth-child(2){width:70px}.parts-entry th:nth-child(3),.parts-entry th:nth-child(4){width:73px}.parts-entry th:nth-child(5){width:49px}.parts-entry th:nth-child(6){width:31px}.parts-entry th:nth-child(7){width:auto}.parts-entry th:nth-child(8){width:54px}.parts-entry th:nth-child(9){width:24px}.input-totals{margin-top:14px;font-size:.8rem;text-align:right;color:#7187a3}.settings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.settings-grid .field{font-size:.8rem;line-height:1.55;justify-content:space-between}.run-controls{display:flex;align-items:center;gap:13px;border-top:1px solid #e5ecf4;padding-top:18px;margin-top:18px}#run{background:#2869eb;color:white;border:0;padding:13px 19px}#run:hover{background:#3678f8}#run-status{font-size:.8rem;color:#6f85a1;line-height:1.5}#progress{width:100%;height:5px;margin-top:16px;accent-color:#347be9}.method-note{padding:0 5px 20px;color:#788ba4}.method-note h3{color:#5c7390;font-size:.85rem}.method-note p{font-size:.8rem;margin:8px 0}.maps-column{position:sticky;top:20px;scroll-margin-top:20px}.map-workbench{background:white;border:1px solid #d8e3f0;border-radius:12px;overflow:hidden;box-shadow:0 5px 24px #1a3e6305}.map-heading{padding:22px 22px 15px;display:flex;align-items:baseline;justify-content:space-between;gap:10px}.map-heading h2{font-size:1rem}.map-caption{font-size:.75rem;color:#8296af}.metrics{display:grid;grid-template-columns:1.2fr 1fr 1fr;margin:0 22px 20px;gap:15px;padding-bottom:19px;border-bottom:1px solid #e3ebf5}.metrics>div{display:flex;flex-direction:column;gap:7px;border-right:1px solid #e4ebf4}.metrics>div:last-child{border:0}.metrics span{font-size:.75rem;color:#778ca7}.metrics strong{font-size:1.65rem;font-weight:550;letter-spacing:-.7px;color:#274d7d;font-variant-numeric:tabular-nums}.sheet-switcher{display:flex;gap:8px;align-items:center;margin:0 22px 12px}.sheet-switcher select{min-width:0;flex:1;border:1px solid #d9e4f1;border-radius:6px;color:#446284;padding:9px;background:#f8faff;font-size:.85rem}.sheet-switcher>button{font-size:1.1rem;padding:6px 12px}.map-toolbar{display:flex;align-items:center;gap:14px;margin:0 22px 12px;font-size:.75rem;color:#6f84a0}.map-toolbar label{display:flex;align-items:center;gap:5px;cursor:pointer}.map-toolbar input{width:14px;height:14px}.zoom-tools{margin-left:auto;display:flex;border:1px solid #d8e3f0;border-radius:6px;overflow:hidden}.zoom-tools button{font-size:.75rem;border:0;border-radius:0;padding:6px 10px}.zoom-tools button+button{border-left:1px solid #d8e3f0}#map-viewport{margin:0 18px;background:#edf3f9;border:1px solid #dbe5f0;border-radius:8px;overflow:auto;height:420px;max-height:65vh;overscroll-behavior:contain}#map-host{min-width:100%;height:100%;display:flex;align-items:center;justify-content:center}#map-host svg{display:block;flex-shrink:0}.map-empty{text-align:center;padding:40px 20px;color:#8ba0bb;line-height:1.6}.map-empty>span{font-size:2.8rem;color:#9bb1cc;display:block;margin-bottom:15px}.map-empty h3{font-size:1rem;font-weight:500}.map-empty p{font-size:.85rem}.map-key{display:flex;flex-wrap:wrap;gap:10px 15px;padding:14px 22px;font-size:.7rem;color:#7389a5}.map-key span{display:flex;align-items:center;gap:6px}.map-key i{width:9px;height:9px;border-radius:2px;border:1px solid #00000009}.inspector{margin:0 18px 15px;border:1px solid #e0e8f2;border-radius:7px;padding:13px 15px;min-height:75px;background:#fbfcfe}.inspector>p{font-size:.8rem;color:#8194ad;margin:5px 0;line-height:1.5}.inspector-grid{display:grid;grid-template-columns:1fr auto;gap:6px 14px}.inspector-title{font-size:.875rem;font-weight:600;color:#3b5679}.inspector-info{font-size:.75rem;color:#7c90aa;line-height:1.6}.instance-color{display:flex;align-items:center;gap:7px;font-size:.75rem;color:#647e9f}.instance-color input{width:32px;height:28px;padding:2px;border:1px solid #d8e2ef;background:white;border-radius:5px;cursor:pointer}.inspector button{font-size:.7rem;padding:5px 8px;justify-self:end}.part-legend{display:flex;flex-wrap:wrap;gap:7px;margin:0 18px 16px}.part-legend button{display:flex;align-items:center;gap:6px;padding:6px 8px;font-size:.75rem;font-weight:400}.part-legend i{width:9px;height:9px;border-radius:2px;border:1px solid #0001}.part-legend button.active{background:#eaf2ff;border-color:#97b9ed}.map-export{display:flex;gap:8px;padding:14px 18px;background:#f7faff;border-top:1px solid #e4ecf7}.map-export button{font-size:.8rem}.dirty-banner{margin:0 18px 15px;background:#fff5df;color:#906a27;border:1px solid #edd9ae;border-radius:6px;padding:12px;font-size:.8rem}.dirty-map{opacity:.45}#missing{margin:0 18px 15px;padding:13px;background:#fff0e6;border:1px solid #f0d1b9;color:#8e4b23;font-size:.8rem;border-radius:6px}#missing p{margin:5px 0;line-height:1.5}.sheet-report{margin-top:22px}.report-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:12px 0 24px}.report-metrics>div{background:#f4f8fd;border:1px solid #e1eaf6;border-radius:7px;padding:16px;display:flex;flex-direction:column;gap:8px}.report-metrics span{font-size:.8rem;color:#7388a3}.report-metrics strong{font-size:1.15rem;font-weight:550;color:#3f608b}.sheet-report th,.sheet-report td{font-size:.8rem;white-space:nowrap}.sheet-report td:first-child{white-space:normal}.sheet-report details{margin-top:24px}.sheet-report .table-scroll{margin-top:12px}.sheet-report h3{margin:25px 0 8px}.print-maps{display:none}#paste-panel{background:#f1f6fd;border:1px solid #d5e4f6;border-radius:8px;padding:16px;margin-bottom:17px}#paste-panel textarea{width:100%;resize:vertical;border:1px solid #cdddf0;border-radius:6px;font:inherit;font-size:.8rem;padding:10px;line-height:1.7}#paste-panel button{font-size:.8rem;margin-right:6px}.svg-piece{cursor:pointer}.svg-piece:focus{outline:none}.svg-piece:focus rect,.svg-piece.selected rect{stroke:#142c4a;stroke-width:4;vector-effect:non-scaling-stroke}.svg-piece:hover rect{stroke:#142c4a;stroke-width:2;vector-effect:non-scaling-stroke}@media(max-width:1250px){.sheet-workspace{grid-template-columns:minmax(540px,1.1fr) minmax(380px,1fr);gap:18px}.inputs-column .card{padding:17px}.maps-column{top:15px}.map-toolbar{margin-inline:15px;gap:8px}.map-heading{padding:18px 16px 14px}.map-heading{align-items:start;flex-direction:column;gap:6px}.map-key{padding-inline:16px}.map-caption{font-size:.7rem}.map-toolbar{flex-wrap:wrap}.zoom-tools{margin-left:auto}.map-viewport{height:350px}}@media(max-width:1030px){.sheet-workspace{grid-template-columns:1fr}.maps-column{position:static}.map-heading{flex-direction:row}#map-viewport{height:540px}.inputs-column .card{padding:22px}.map-key{font-size:.8rem}.part-legend button{font-size:.8rem}.metrics strong{font-size:1.8rem}.inspector{min-height:70px}.map-shortcut{display:inline-flex}}@media(max-width:600px){.sheet-tag{display:none}.heading h1{font-size:1.7rem}.orderbar{flex-wrap:wrap;gap:10px}.orderbar .field{max-width:none;flex:1;min-width:190px}.orderbar>button{font-size:.75rem;padding:9px}.map-shortcut{width:100%;font-size:.8rem;padding:0}.inputs-column .card{padding:16px 12px}.section-title h2{font-size:.9rem}.inline-actions button,.section-title>button{font-size:.75rem;padding:7px}.settings-grid{grid-template-columns:1fr}.settings-grid label{flex-direction:row;align-items:center;gap:20px}.settings-grid input{max-width:110px}.run-controls{flex-wrap:wrap}#run{flex:1;font-size:.875rem}#run-status{width:100%;font-size:.75rem}.metrics{gap:10px;margin:0 16px 17px}.metrics strong{font-size:1.4rem}.metrics span{font-size:.7rem}.map-heading h2{font-size:.95rem}.sheet-switcher{margin-inline:12px}.sheet-switcher select{font-size:.75rem}#map-viewport{height:430px;margin-inline:10px}.map-toolbar{margin-inline:10px;gap:7px;font-size:.7rem}.zoom-tools button{padding:6px 8px}.map-key{font-size:.65rem;gap:8px;padding:12px}.inspector{margin-inline:10px}.inspector-grid{grid-template-columns:1fr}.inspector button{justify-self:start}.part-legend{margin-inline:10px}.part-legend button{font-size:.7rem}.map-export{padding:12px 10px}.map-export button{font-size:.75rem}.report-metrics{grid-template-columns:1fr 1fr;gap:10px}.report-metrics>div{padding:13px}.report-metrics span{font-size:.7rem}.report-metrics strong{font-size:1rem}.sheet-report{padding:17px 13px}}@media print{.inputs-column,.maps-column,.orderbar>button,.map-shortcut,.sheet-tag,.method-note{display:none!important}.orderbar .field{max-width:none;width:100%}.sheet-workspace{display:none}.sheet-report{border:0;margin-top:10px}.report-metrics>div{border:1px solid #bbb;background:white}.sheet-report details{display:block}.print-maps{display:block}.print-sheet{break-before:page;break-inside:avoid}.print-sheet svg{max-height:70vh;width:100%;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-sheet h3{font-size:1rem;margin:10px 0}.print-sheet p{font-size:.8rem}.print-sheet .print-legend{display:flex;gap:12px;flex-wrap:wrap}.print-legend span{font-size:.75rem}.print-legend i{display:inline-block;width:10px;height:10px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.sheet-report details:not([open])>*{display:block}.report-metrics{grid-template-columns:repeat(4,1fr)}.sheet-report table{font-size:.75rem}}
@media print{.sheet-report .dirty-map{display:none!important}}

#report-dialog{border:1px solid #d8e3f0;border-radius:14px;padding:24px;width:min(620px,calc(100vw - 32px));max-height:90vh;overflow:auto;color:#233348}#report-dialog::backdrop{background:#17304c66}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.dialog-heading h2{font-size:1.2rem}.dialog-heading button{border:0;font-size:1.4rem}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.report-grid .wide{grid-column:1/-1}.report-grid .field,#report-dialog .check-label{font-size:.9rem}.report-grid select,#report-dialog textarea{width:100%;padding:10px;border:1px solid #ccd9e7;border-radius:6px;background:white;color:inherit;font:inherit}.report-sections{border:1px solid #dbe5f0;border-radius:8px;padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 10px}.report-sections legend{font-size:.9rem;padding:0 6px}.check-label{display:flex;align-items:center;gap:8px}.dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:20px}.dialog-actions .primary{background:#2869eb;color:white}.dialog-error{color:#963d25;font-size:.9rem}.map-export{flex-wrap:wrap}#export-status{font-size:.875rem;margin-right:auto}@media(max-width:500px){.report-grid,.report-sections{grid-template-columns:1fr}#report-dialog{padding:18px}.dialog-actions{flex-wrap:wrap}#export-status{width:100%}}
