:root{--pine:#183e31;--pine-dark:#122e26;--lime:#d1ed9a;--green:#276448;--text:#202e28;--muted:#65716a;--line:#e1e6df;--bg:#f4f6f1;--paper:#fff;--amber:#b66d22;--radius:14px;font-family:Verdana,Arial,sans-serif;color:var(--text);background:var(--bg);font-size:13px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #70a936;outline-offset:4px}button svg,svg.icon{width:19px;height:19px;flex-shrink:0}button span[data-icon]{display:inline-flex}a{color:inherit}h1,h2,h3,h4,p{margin-top:0}h1{font-size:29px;letter-spacing:-1.2px;line-height:1.25;margin-bottom:10px;font-weight:700}h2{font-size:19px;letter-spacing:-.5px;margin:0}h3{font-size:14px;margin-bottom:0}small{font-size:12px}button{border:0}table{border-collapse:collapse;width:100%}th{text-align:left}input{min-width:0}input[type=checkbox]{accent-color:var(--pine);width:17px;height:17px;flex-shrink:0}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{appearance:none}.skip{position:fixed;top:-80px;left:16px;background:white;z-index:99;padding:12px}.skip:focus{top:12px}[hidden]{display:none!important}.app-shell{display:flex;min-height:100vh}.sidebar{width:238px;flex-shrink:0;background:var(--pine-dark);color:#d8e4db;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:30px 18px 0;overflow:auto;z-index:20}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;padding:0 5px;margin-bottom:42px}.brand>span{font-size:23px;font-weight:700;letter-spacing:2px;color:#fff}.brand small{display:block;font-size:9px;font-weight:400;letter-spacing:1.1px;line-height:1.7;color:#a4b9ac}.work-label{font-size:10px;letter-spacing:1.5px;color:#8ca99a;padding:0 13px;margin-bottom:13px}.sidebar nav{display:grid;gap:6px}.nav-item{display:flex;align-items:center;width:100%;padding:13px 12px;gap:11px;border-radius:8px;background:transparent;color:#c4d3ca;text-align:left;font-size:12px}.nav-item:hover{background:#244738;color:#fff}.nav-item.active{background:var(--lime);color:#203c2c;font-weight:700}.nav-item svg{width:18px;height:18px}.nav-count{margin-left:auto;background:#bdd87f;padding:3px 6px;border-radius:4px;font-size:11px}.side-divider{height:1px;background:#2a463a;margin:27px 12px 25px}.recent-jobs{display:grid;gap:4px}.recent-job{background:transparent;color:#afc3b7;display:flex;align-items:center;gap:9px;padding:11px 13px;text-align:left;width:100%;border-radius:7px}.recent-job:hover{background:#244738;color:#fff}.recent-job .file-dot{width:7px;height:7px;background:#87ab98;border-radius:2px;flex-shrink:0}.recent-job .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.side-demo{display:flex;gap:9px;align-items:center;color:#b8cea9;background:transparent;font-size:11px;text-align:left;margin-top:15px;padding:10px 12px}.side-demo svg{width:14px;height:14px}.sidebar-bottom{margin-top:auto;padding-top:45px}.future{padding:16px 13px;border:1px solid #395044;border-radius:10px;background:#203e30;margin-bottom:15px}.future-label{font-size:9px;letter-spacing:1.1px;color:var(--lime)}.future strong{display:flex;justify-content:space-between;color:#e7ecdf;font-size:12px;margin-top:10px}.future p{font-size:11px;line-height:1.7;color:#9fb6a7;margin:10px 0 0}.workspace{border-top:1px solid #355042;margin-top:14px;padding:21px 7px;display:flex;align-items:center;gap:10px;font-size:12px}.workspace small{display:block;color:#92ac9d;margin-top:5px;font-size:10px}.avatar{background:#355844;border:1px solid #52715d;border-radius:8px;display:grid;place-items:center;width:33px;height:33px;font-size:12px;color:var(--lime)}.workspace .status-dot{margin-left:auto}.status-dot{width:6px;height:6px;background:#90bd6f;display:inline-block;border-radius:100%;flex-shrink:0}.main-shell{margin-left:238px;min-width:0;width:calc(100% - 238px)}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:10px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:21px}.breadcrumb{font-size:10px;letter-spacing:1.3px;color:#859087}.breadcrumb span{margin:0 11px;color:#a8b2aa}.breadcrumb b{font-weight:400;color:#42574a}.local-badge{display:flex;gap:7px;align-items:center;font-size:11px;color:#607365}.icon-button{background:transparent;display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:7px;min-width:36px;min-height:36px}.icon-button:hover{background:#eaf0e5}.mobile-menu{display:none}main{padding:33px 36px 0;max-width:1620px;margin:auto;min-height:calc(100vh - 72px);display:flex;flex-direction:column}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading p{color:var(--muted);font-size:12px;line-height:1.8;margin-bottom:0}.eyebrow{font-size:10px;color:var(--green);letter-spacing:1.8px;margin-bottom:9px;font-weight:700}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:8px;padding:11px 17px;font-size:12px;font-weight:700;white-space:nowrap;border:1px solid var(--line);background:#fff;transition:background .15s}.button:hover{background:#f0f4ea}.button.primary{background:var(--pine);color:#fff;border-color:var(--pine)}.button.primary:hover{background:#2a543c}.button.primary svg{width:16px;height:16px}.button.lime{background:var(--lime);border-color:var(--lime);color:var(--pine)}.button.quiet{background:transparent;border:1px solid transparent}.button.small-button{min-height:34px;padding:8px 11px;font-size:11px}.button.danger{color:#9f342b;border-color:#eccbc5;background:#fff5f2}.button svg{width:16px;height:16px}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.import-strip{border:1px dashed #b9c8b5;background:#eef2e8;border-radius:11px;display:flex;align-items:center;padding:15px 20px;gap:15px;margin-bottom:21px}.import-strip.dragover{background:#d3e6bc;border-color:#276448}.file-icon{width:39px;height:43px;border:1px solid #ccd8c4;border-radius:7px;background:white;display:flex;align-items:center;justify-content:center;position:relative;flex-shrink:0;color:var(--green)}.file-icon svg{width:22px;height:22px}.file-info{min-width:0;flex:1}.file-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.file-title strong{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.pill{border-radius:4px;background:#dfeacb;color:#43662b;font-size:9px;letter-spacing:.6px;padding:4px 5px;white-space:nowrap}.pill.demo{background:#e5e8e0;color:#6e7766}.file-info p{color:var(--muted);font-size:11px;margin:5px 0 0;line-height:1.7}.file-info p span{color:#a5b29f;margin:0 5px}.import-hint{font-size:10px;color:#6f7c69;line-height:1.8;text-align:right;max-width:180px}.steps{display:flex;align-items:center;gap:10px;margin:0 0 23px;color:#7e8b7d;font-size:11px}.step{display:flex;align-items:center;gap:6px}.step-num{display:grid;place-items:center;border:1px solid #d2dacd;border-radius:50%;width:20px;height:20px;font-size:10px}.step.done{color:#356344}.step.done .step-num{background:#dce9ce;color:#356344;border-color:#dce9ce}.step.current{color:var(--pine);font-weight:700}.step.current .step-num{color:white;background:var(--pine);border-color:var(--pine)}.step-line{width:30px;height:1px;background:#cfd9c9}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:17px}.metric{padding:19px 18px;position:relative;min-height:121px}.metric.featured{background:var(--pine);border-color:var(--pine);color:#fff}.metric-label{font-size:11px;line-height:1.6;color:var(--muted);margin-bottom:13px}.metric.featured .metric-label{color:#cbdbce}.metric-value{font-size:26px;letter-spacing:-1.2px;white-space:nowrap}.metric-value em{font-style:normal;font-size:12px;letter-spacing:0;margin-left:3px}.metric .metric-sub{font-size:10px;color:#6b7869;margin-top:12px;line-height:1.7}.metric.featured .metric-sub{color:#c7d8c8}.metric-symbol{position:absolute;right:15px;top:17px;color:#809877}.metric-symbol svg{width:16px;height:16px}.metric.featured .metric-symbol{color:#a9c88d}.gain{display:inline-flex;padding:3px 5px;margin-right:6px;background:#e3efdb;color:#3b6a33;border-radius:4px;font-size:10px}.metric.featured .gain{background:#3d5d3d;color:#ddf4ac}.success-banner{border:1px solid #d5e4c9;background:#eaf1e1;display:flex;align-items:center;gap:13px;padding:15px 18px;border-radius:10px;margin-bottom:24px}.success-symbol{display:grid;place-items:center;background:#d6e6c1;border-radius:8px;width:32px;height:32px;color:#4a7133;flex-shrink:0}.success-banner strong{font-size:12px;font-weight:700;color:#35572d;line-height:1.7}.success-banner p{font-size:10px;color:#66745b;margin:4px 0 0;line-height:1.7}.success-banner .banner-action{margin-left:auto;font-size:11px;color:#3c642f;background:transparent;white-space:nowrap;display:flex;gap:8px;align-items:center;padding:10px}.layout-grid{display:grid;grid-template-columns:minmax(0,1fr) 257px;align-items:start;gap:20px}.plan-main{display:grid;gap:20px;min-width:0}.card-head{display:flex;align-items:center;justify-content:space-between;padding:20px;gap:10px;border-bottom:1px solid var(--line)}.card-head h2{font-size:14px;letter-spacing:-.3px}.card-head .sub{font-size:10px;color:var(--muted);margin:6px 0 0;line-height:1.7}.card-head .head-left{min-width:0}.segmented{display:flex;background:#f2f4ee;border:1px solid #e8ece3;padding:3px;border-radius:7px;flex-shrink:0}.segmented button{font-size:10px;padding:8px 9px;background:transparent;color:#66715e;border-radius:4px}.segmented button.active{background:white;box-shadow:0 1px 4px #1b3b2910;color:#2b4932;font-weight:700}.plan-tools{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;gap:10px;flex-wrap:wrap}.select-wrap select{background:#fff;border:1px solid #dce4d7;border-radius:6px;font-size:11px;color:#46623c;padding:9px 29px 9px 10px;max-width:100%;cursor:pointer}.legend{display:flex;align-items:center;gap:12px;font-size:9px;color:#6e7c66}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:8px;height:8px;border-radius:2px;display:block;background:#527657}.legend i.rest{background:repeating-linear-gradient(135deg,#e6eddb,#e6eddb 2px,#cddbbf 2px,#cddbbf 3px)}.legend i.loss{background:#c9c9bc}.profile-group{padding:5px 20px 20px}.profile-group+.profile-group{border-top:1px solid var(--line);padding-top:18px}.group-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:5px 0 16px}.group-heading strong{font-size:12px;font-weight:700;line-height:1.8}.group-heading small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:3px}.group-meta{color:#6b785e;font-size:10px;text-align:right;line-height:1.8}.bar-item{margin-bottom:16px}.bar-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;line-height:1.6;color:#627159;margin-bottom:6px}.bar-title{color:#334d31}.bar-title b{font-weight:700}.bar-title .remnant-tag{color:#9f6b32;margin-left:5px;font-size:9px}.bar-tail{color:#79846c}.bar-track{display:flex;align-items:stretch;border-radius:5px;overflow:hidden;height:35px;background:#eff2e9;border:1px solid #e2e7dc;position:relative}.bar-piece{background:#537953;color:#fff;border-right:1px solid #d7e2cf;font-size:10px;display:flex;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;min-width:0;padding:0;position:relative;flex-shrink:0}.bar-piece:nth-of-type(3n){background:#759463;color:#fff}.bar-piece:nth-of-type(3n + 2){background:#a6bd82;color:#243e26}.bar-piece:hover{filter:brightness(1.13);z-index:1;outline:2px solid #123c23;outline-offset:-2px}.bar-piece span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 3px;font-size:10px}.bar-trim,.bar-kerf{background:#c4cab9;flex-shrink:0;min-width:0}.bar-offcut{background:repeating-linear-gradient(135deg,#edf2e5,#edf2e5 4px,#dce5ce 4px,#dce5ce 5px);flex-shrink:0;font-size:9px;color:#6a7d5c;display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;white-space:nowrap}.bar-offcut.waste{background:#e7e8de;color:#8c8d7e}.bar-warning{color:#ad4b34;font-size:11px;margin-top:6px}.show-more{background:#f9faf6;border-top:1px solid var(--line);width:100%;padding:14px;color:#4c6840;font-size:11px}.show-more:hover{background:#edf3e7}.plan-footer{border-top:1px solid var(--line);padding:13px 20px;font-size:10px;line-height:1.8;color:#7b8871;background:#fcfdfb}.rail{display:grid;gap:17px}.rail-head{padding:18px 17px 13px;display:flex;align-items:center;justify-content:space-between}.rail h3{font-size:12px;letter-spacing:-.2px}.rail-body{padding:0 17px 17px}.parameter-line{display:flex;justify-content:space-between;gap:9px;margin-bottom:15px;font-size:11px;line-height:1.5}.parameter-line span:first-child{color:#6a7761}.parameter-line b{font-size:11px;font-weight:700}.parameter-line .unit{font-size:10px;color:#89917d;margin-left:4px;font-weight:400}.parameter-note{background:#f5f7f0;padding:10px 11px;border-radius:6px;font-size:10px;color:#7b846d;line-height:1.7;margin:0 0 13px}.full-width{width:100%}.check-item{display:flex;gap:8px;align-items:flex-start;font-size:10px;color:#536f43;line-height:1.8;margin-bottom:11px}.check-item span[data-icon]{display:flex;margin-top:1px;flex-shrink:0}.check-item svg{width:13px;height:13px}.integrity-banner{background:#f2f6ec;border:1px solid #e4ecdb;padding:11px;border-radius:7px;margin-top:15px;display:flex;gap:9px;align-items:center;font-size:11px;line-height:1.7;color:#3e632e}.integrity-banner span[data-icon]{display:flex}.integrity-banner svg{width:22px;height:22px}.integrity-banner small{display:block;font-size:9px;color:#75856a}.export-card{background:#e9eddf;border-color:#d9e1cd}.export-card p{font-size:10px;line-height:1.8;color:#758268;margin:11px 0 14px}.export-card .button{font-size:11px}.export-secondary{display:flex;justify-content:space-between;margin-top:9px;gap:5px}.export-secondary .button{font-size:10px;padding-left:9px;padding-right:9px}.table-head-actions{display:flex;gap:7px}.table-scroll{overflow:auto}.piece-table{font-size:11px;white-space:nowrap}.piece-table th{font-weight:400;color:#7c8673;font-size:10px;background:#f9faf6;border-bottom:1px solid var(--line);padding:12px 14px}.piece-table td{padding:11px 14px;border-bottom:1px solid #edf0e7;color:#536247}.piece-table tr:last-child td{border-bottom:0}.piece-table td:first-child{font-weight:700;color:#314d2e}.piece-table .row-link{color:#396130;background:transparent;padding:7px 0;text-decoration:underline;text-underline-offset:3px;font-size:10px}.table-filter{width:170px;max-width:100%;border:1px solid var(--line);padding:9px 11px;border-radius:6px;font-size:11px;color:var(--text)}.table-pagination{display:flex;align-items:center;justify-content:space-between;padding:9px 14px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.pagination-actions{display:flex;gap:2px}.pagination-actions button{background:transparent;padding:8px;min-width:32px;min-height:32px;border-radius:6px}.pagination-actions button:hover{background:#edf3e7}.page-footer{display:flex;justify-content:space-between;gap:15px;line-height:1.8;margin-top:auto;padding:27px 0 22px;font-size:9px;color:#87917d}.footer-sep{margin:0 6px;color:#b5bdac}.dialog{border:1px solid var(--line);padding:25px;border-radius:17px;width:min(560px,calc(100% - 30px));color:var(--text);max-height:calc(100dvh - 35px);overflow:auto;box-shadow:0 25px 90px #0c261e3b}.dialog.wide{width:min(850px,calc(100% - 30px))}.dialog.small{width:min(425px,calc(100% - 30px))}.dialog::backdrop{background:#0d271e88;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.dialog h2{line-height:1.5;font-size:20px}.dialog-intro{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid label{font-size:11px;color:#536247;line-height:1.8}.input-unit{border:1px solid #cfd9c6;border-radius:7px;display:flex;align-items:center;padding:0 11px;margin-top:6px;color:#88947d;font-size:11px;gap:5px}.input-unit input{width:100%;background:transparent;border:0;outline:0!important;padding:12px 0;color:var(--text);font-size:13px}.input-unit:focus-within{border-color:var(--green);outline:2px solid #c9dbba}.check-row{display:flex;gap:10px;margin:23px 0;line-height:1.8;align-items:flex-start;font-size:12px}.check-row input{margin:1px 0 0}.check-row small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.note{background:#f1f4eb;border-radius:8px;padding:13px;display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.8;color:#64735a}.note span[data-icon]{display:flex;flex-shrink:0}.note svg{width:17px;height:17px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:23px;flex-wrap:wrap}.form-error{font-size:12px;line-height:1.8;color:#a23a2c;margin-top:15px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--pine-dark);color:#fff;border-radius:9px;box-shadow:0 5px 35px #1a35282e;padding:15px 20px;font-size:12px;line-height:1.7;z-index:100;max-width:calc(100vw - 30px);min-width:230px;text-align:center}.toast.error{background:#8c382b}.busy{position:fixed;inset:0;background:#17362877;backdrop-filter:blur(3px);display:grid;place-items:center;z-index:80}.busy-box{background:white;border-radius:15px;text-align:center;padding:30px;max-width:calc(100% - 25px)}.busy-box strong{font-size:15px;display:block;margin:20px 0 10px}.busy-box p{font-size:12px;color:var(--muted);line-height:1.8}.spinner{display:inline-block;width:30px;height:30px;border:3px solid #e3ebd7;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{padding:60px 25px;text-align:center}.empty-state>span[data-icon]{display:inline-flex;color:#76946b;background:#e7eddf;padding:18px;border-radius:18px;margin-bottom:18px}.empty-state svg{width:34px;height:34px}.empty-state h2{font-size:20px;line-height:1.6}.empty-state p{color:var(--muted);line-height:1.9;font-size:12px;max-width:420px;margin:14px auto 24px}.empty-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.notice{font-size:12px;line-height:1.9;padding:16px 19px;background:#fff5df;color:#8b622d;border:1px solid #eedbb1;border-radius:10px;margin-bottom:18px}.notice strong{display:block;margin-bottom:4px}.jobs-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.jobs-toolbar p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.job-list{display:grid;gap:13px}.job-card{padding:21px;display:flex;align-items:center;gap:15px}.job-card .file-info{flex:1}.job-card .file-info strong{font-size:12px;line-height:1.8}.job-actions{display:flex;gap:8px}.help-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.help-card{padding:25px}.help-card h2{font-size:17px;margin-bottom:17px;line-height:1.7}.help-card p,.help-card li{font-size:12px;line-height:2;color:var(--muted)}.help-card ul,.help-card ol{padding-left:20px;margin-bottom:0}.help-card .note{margin-top:17px}.help-card.full{grid-column:1/-1}.raw-code{font-family:monospace;font-size:12px;line-height:1.8;background:#f4f6ef;border:1px solid var(--line);padding:15px;border-radius:8px;overflow:auto;max-height:400px;white-space:pre;margin-top:18px}.piece-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.piece-stat{padding:13px;background:#f2f5eb;border-radius:7px;font-size:11px;color:var(--muted);line-height:1.9}.piece-stat b{display:block;color:var(--text);font-size:12px}.export-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}.export-summary div{background:#f2f5eb;padding:14px;border-radius:7px;font-size:11px;color:var(--muted);line-height:1.8}.export-summary strong{display:block;color:var(--text);font-size:18px;margin-top:6px}.export-small{font-size:11px;line-height:1.9;color:var(--muted);margin:16px 0}.remnant-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.remnant-card{padding:22px}.remnant-card .remnant-length{font-size:24px;color:var(--pine);letter-spacing:-1px;margin:16px 0}.remnant-card p{font-size:11px;color:var(--muted);line-height:1.8;margin-bottom:4px}.remnant-card .remnant-chip{display:inline-block;padding:4px 7px;border-radius:5px;background:#e6eed8;color:#5a7343;font-size:10px}.print-title{display:none}
@media(min-width:1600px){main{padding-top:42px}.page-heading{margin-bottom:32px}.metrics{gap:18px}.metric{padding:23px}.metric-value{font-size:31px}.bar-track{height:40px}.sidebar{width:253px}.main-shell{margin-left:253px;width:calc(100% - 253px)}}
@media(max-width:1200px){.sidebar{width:212px;padding-left:13px;padding-right:13px}.brand>span{font-size:21px}.brand small{font-size:9px}.main-shell{margin-left:212px;width:calc(100% - 212px)}main{padding:28px 24px 0}.topbar{padding:0 24px}.layout-grid{grid-template-columns:minmax(0,1fr) 228px;gap:15px}.metric{padding:15px 13px}.metric-value{font-size:23px}.metric-label{font-size:10px}.card-head{padding:17px}.profile-group{padding-left:17px;padding-right:17px}.plan-tools{padding:13px 17px}.import-hint{display:none}h1{font-size:26px}.metric-symbol{display:none}.rail-head,.rail-body{padding-left:14px;padding-right:14px}.export-secondary{flex-direction:column}.remnant-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1000px){.layout-grid{grid-template-columns:minmax(0,1fr)}.rail{grid-template-columns:1fr 1fr}.rail .export-card{grid-column:1/-1}.export-card .rail-body{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.export-card .rail-body p{flex:1;min-width:150px;margin:0}.export-card .full-width{width:auto}.export-secondary{flex-direction:row;margin:0}.metrics{gap:10px}.metric-value{font-size:21px}.metric-label{min-height:25px;margin-bottom:5px}.metric .metric-sub{font-size:9px}.card-head{gap:10px}.rail-head{padding-top:17px}.help-layout{grid-template-columns:1fr}.help-card.full{grid-column:auto}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .18s;width:245px;padding-top:25px}.sidebar.open{transform:translateX(0)}.scrim{display:block;position:fixed;inset:0;z-index:19;background:#102b2177}.main-shell{margin-left:0;width:100%}.topbar{height:60px;padding:0 17px}.topbar-left{gap:10px}.topbar-right{gap:10px}.breadcrumb{font-size:9px;letter-spacing:.8px}.breadcrumb span{margin:0 6px}.local-badge{font-size:10px}.mobile-menu{display:inline-flex}.topbar-right>.icon-button{display:none}main{padding:25px 17px 0;min-height:calc(100vh - 60px)}.page-heading{align-items:flex-start;margin-bottom:20px;gap:14px}.page-heading>div{min-width:0}.page-heading .button{padding:10px;min-height:40px;align-self:flex-start;font-size:11px}h1{font-size:23px;letter-spacing:-1px}.page-heading p{font-size:11px;line-height:1.9}.eyebrow{font-size:9px;letter-spacing:1.5px}.import-strip{padding:13px;gap:10px}.file-icon{width:31px;height:36px}.file-icon svg{width:19px;height:19px}.file-title strong{font-size:12px}.file-info p{font-size:10px}.steps{font-size:10px;gap:7px;margin-bottom:19px}.step-line{width:20px}.step-num{width:18px;height:18px;font-size:9px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:14px}.metric{padding:17px 15px;min-height:111px}.metric-label{min-height:auto;font-size:10px;margin-bottom:13px}.metric-value{font-size:25px}.metric-value em{font-size:12px}.metric .metric-sub{font-size:9px;margin-top:10px}.metric-symbol{display:flex;right:14px;top:15px}.metric-symbol svg{width:14px;height:14px}.success-banner{padding:13px 12px;gap:10px;margin-bottom:19px}.success-banner strong{font-size:11px}.success-banner p{font-size:10px}.success-banner .banner-action{display:none}.success-symbol{width:28px;height:28px}.card-head{padding:16px 14px;align-items:center}.card-head h2{font-size:13px}.card-head .sub{font-size:9px;line-height:1.8}.segmented button{font-size:9px;padding:8px}.plan-tools{padding:12px 14px}.legend{font-size:9px;gap:8px}.legend span{gap:4px}.profile-group{padding:4px 14px 14px}.group-heading strong{font-size:11px}.group-heading small{font-size:9px}.group-meta{font-size:9px}.bar-track{height:34px}.bar-piece span{font-size:9px;padding:0 2px}.bar-top{font-size:9px}.bar-offcut{font-size:9px}.bar-item{margin-bottom:13px}.rail{gap:12px}.rail h3{font-size:12px}.rail-head{padding:16px 12px 12px}.rail-body{padding:0 12px 15px}.parameter-line{font-size:10px;margin-bottom:13px}.parameter-line b{font-size:10px}.parameter-line .unit{font-size:9px}.parameter-note{font-size:9px;padding:9px}.check-item{font-size:9px}.integrity-banner{font-size:10px;padding:9px;gap:6px}.integrity-banner small{font-size:9px}.integrity-banner svg{width:17px;height:17px}.export-card .rail-body{padding-top:0}.table-head-actions{max-width:145px}.table-filter{font-size:10px;width:135px;padding:9px}.piece-table th,.piece-table td{padding-left:12px;padding-right:12px}.page-footer{font-size:9px;gap:10px;line-height:1.9;padding-bottom:17px}.page-footer>span{max-width:50%}.dialog{padding:21px 18px}.form-grid{gap:14px}.dialog h2{font-size:18px}.dialog-intro{font-size:11px}.form-grid label{font-size:10px}.note{font-size:10px}.check-row{font-size:11px}.check-row small{font-size:10px}.dialog-actions .button{font-size:11px}.job-card{padding:15px;gap:10px;flex-wrap:wrap}.job-actions{margin-left:auto}.job-card .file-info strong{font-size:12px}.jobs-toolbar{align-items:flex-start;flex-wrap:wrap}.jobs-toolbar p{font-size:11px}.remnant-cards{gap:11px}.remnant-card{padding:16px}.remnant-card .remnant-length{font-size:22px}.piece-stats{grid-template-columns:1fr 1fr}.export-summary div{font-size:10px;padding:10px}.export-summary strong{font-size:16px}.help-card{padding:20px}.help-card p,.help-card li{font-size:12px}}
@media(max-width:380px){main{padding-left:12px;padding-right:12px}.page-heading{flex-direction:column;gap:14px}.page-heading .button{width:100%}.local-badge{font-size:9px}.legend{gap:6px}.rail{grid-template-columns:1fr}.rail .export-card{grid-column:auto}.metrics{gap:8px}.metric-value{font-size:23px}.card-head{flex-wrap:wrap}.table-head-actions{max-width:none}.table-filter{width:100%}.remnant-cards{grid-template-columns:1fr}.page-footer{flex-direction:column}.page-footer>span{max-width:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media print{body{background:white;font-size:12px}.sidebar,.topbar,.page-heading>.button,.page-footer,.rail,.steps,.import-strip,.plan-tools,.segmented,.show-more,.table-head-actions,.table-pagination,.row-link,.toast,.busy,.skip,dialog,.scrim{display:none!important}.main-shell{margin:0;width:100%}main{padding:0;max-width:none;display:block}.page-heading{margin-bottom:15px}.page-heading p{font-size:11px}.layout-grid{display:block}.metrics{gap:8px}.metric{border-color:#ccc;background:white!important;color:black!important;min-height:0;padding:12px}.metric-label,.metric-sub{color:#555!important}.metric-value{font-size:20px}.metric-symbol{display:none}.success-banner{padding:10px;margin-bottom:15px;background:#f3f6ef}.success-symbol,.banner-action{display:none!important}.card{border-color:#bbb;border-radius:0;margin-bottom:15px}.profile-group{break-inside:auto}.bar-item{break-inside:avoid}.bar-track{print-color-adjust:exact;-webkit-print-color-adjust:exact}.bar-piece{font-size:10px}.plan-footer{font-size:9px}.piece-table th,.piece-table td{font-size:10px;padding:7px}.group-heading{break-after:avoid}.card-head{padding:12px}.print-title{display:block}.plan-main{display:block}.card+.card{break-before:auto}.help-layout{display:block}.note{border:1px solid #ddd}}

.bar-piece,.bar-piece span{font-size:10px}.bar-offcut{font-size:9px}.brand small{font-size:7px}.work-label{font-size:9px}.future-label{font-size:8px}.breadcrumb{font-size:9px}.pill{font-size:9px}
@media(max-width:760px){.page-heading{flex-wrap:wrap}.page-heading>div{width:100%}.page-heading>.button{width:100%}.local-badge{font-size:9px}.breadcrumb{font-size:8px}.rail{grid-template-columns:1fr}.rail .export-card{grid-column:auto}.rail-head h3{font-size:13px}.rail-body{padding:0 16px 17px}.rail-head{padding:18px 16px 15px}.parameter-line,.parameter-line b,.check-item{font-size:12px}.parameter-note{font-size:11px}.check-item svg{width:16px;height:16px}.integrity-banner{font-size:13px}.integrity-banner small{font-size:10px}.button,.button.small-button{font-size:12px;min-height:44px}.icon-button{min-height:44px;min-width:44px}.nav-item{font-size:12px;min-height:44px}.page-heading p{font-size:11px}.metric-label{font-size:11px;min-height:32px;margin-bottom:8px;max-width:calc(100% - 20px)}.metric .metric-sub{font-size:10px}.metric-symbol{top:17px}.success-banner strong{font-size:12px}.success-banner p{font-size:10px}.card-head h2{font-size:15px}.card-head .sub{font-size:10px}.segmented button{font-size:10px;min-height:36px}.group-heading strong{font-size:12px}.group-heading small{font-size:10px}.group-meta{font-size:10px}.bar-top{font-size:10px}.bar-piece,.bar-piece span{font-size:9px}.bar-track{height:40px}.bar-offcut{font-size:8px}.legend{font-size:9px}.plan-tools{gap:12px}.select-wrap select{font-size:11px;min-height:40px;max-width:220px}.plan-footer{font-size:10px}.file-title strong{font-size:12px}.file-info p{font-size:10px}.steps{font-size:10px;gap:5px}.step-line{width:12px}.piece-table{font-size:11px}.piece-table th,.piece-table .row-link{font-size:10px}.table-filter{font-size:11px;min-height:40px}.table-pagination{font-size:10px}.show-more{font-size:11px;min-height:44px}.form-grid label{font-size:11px}.dialog-intro,.check-row,.check-row small,.note{font-size:11px}.input-unit{font-size:10px}.input-unit input{font-size:16px}.input-unit{min-height:46px}.form-grid{grid-template-columns:1fr 1fr}.page-footer{font-size:9px}.table-head-actions{max-width:135px}.page-heading{gap:16px}h1{font-size:25px}.eyebrow{font-size:9px}.export-card .rail-body{display:block}.export-card .rail-body p{margin-bottom:14px;font-size:11px}.export-card .full-width{width:100%}.export-secondary{margin-top:10px}.export-secondary .button{flex:1;font-size:11px}.check-item{margin-bottom:14px}.rail{gap:16px}}
@media print{.metric-label,.metric .metric-sub{font-size:9px}.bar-piece,.bar-piece span{font-size:8px}.page-heading>.button{display:none}}

@media(min-width:761px) and (max-width:900px){.sidebar{transform:translateX(-100%);width:245px;transition:transform .18s}.sidebar.open{transform:translateX(0)}.main-shell{margin-left:0;width:100%}.mobile-menu{display:inline-flex}.scrim{display:block;position:fixed;inset:0;z-index:19;background:#102b2177}}

/* A real file input receives the user's tap directly, including in mobile webviews. */
.file-picker{position:relative;overflow:hidden;cursor:pointer}
.file-picker-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px}
.file-picker:focus-within{outline:3px solid #70a936;outline-offset:4px}
.file-picker:has(input:disabled){opacity:.55;cursor:wait}
.import-feedback{display:flex;align-items:flex-start;gap:12px;padding:15px 18px;margin:0 0 20px;border:1px solid #d4dfc9;background:#edf4e5;border-radius:10px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.import-feedback-copy{flex:1;min-width:0}
.import-feedback strong{display:block}
.import-feedback ul{margin:6px 0 0;padding-left:17px;font-size:11px}
.import-feedback.error{background:#fff1eb;border-color:#e9c6b9;color:#853f2e}
.import-feedback.loading{background:#f1f3e8;color:#596444}
.import-feedback>.icon-button{flex-shrink:0}
@media(max-width:760px){.import-feedback{flex-wrap:wrap;padding:14px;gap:8px}.import-feedback-copy{flex-basis:calc(100% - 52px)}.import-feedback>.file-picker{order:3;width:100%}.import-feedback>.icon-button{order:2}.import-feedback strong{font-size:12px}.import-feedback ul{font-size:11px}}
@media print{.file-picker,.import-feedback{display:none!important}}
