:root{color-scheme:light;--paper:#f5f3ed;--surface:#fffefa;--ink:#243c33;--muted:#6c766c;--line:#d9ddd1;--soft:#e9ede3;--accent:#a39271;--green:#244d3e;font-family:"DM Sans","Segoe UI",Arial,sans-serif;font-synthesis:none;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #719786;outline-offset:3px}button{min-height:44px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:10px 15px}button:hover{background:var(--soft)}button,input,select{transition:background-color .15s,border-color .15s}input,select,textarea{min-height:44px;border:1px solid #ccd2c5;border-radius:6px;padding:10px 11px;background:#fffefa;color:var(--ink);width:100%;min-width:0}input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--green);padding:0;flex:0 0 auto}input[type=color]{width:44px;height:44px;padding:5px;flex:0 0 auto}input[type=number]{font-variant-numeric:tabular-nums}input::placeholder,textarea::placeholder{color:#8a9287}button svg{width:18px;height:18px;flex-shrink:0}
.site-header{max-width:1600px;margin:auto;padding:26px 4%;display:flex;align-items:center;gap:40px;border-bottom:1px solid var(--line)}.brand{display:block;font:700 28px/1.1 Georgia,"Times New Roman",serif;letter-spacing:2.7px;flex-shrink:0}.brand span{display:block;font:500 8px/1.4 "Segoe UI",Arial,sans-serif;letter-spacing:1.9px;margin-top:8px}.site-nav{display:flex;align-items:center;justify-content:center;gap:28px;margin-left:auto;font-size:12px;font-weight:500}.site-nav a{display:inline-flex;min-height:44px;align-items:center;white-space:nowrap;border-bottom:1px solid transparent}.site-nav a:hover,.site-nav a[aria-current=page]{border-bottom-color:var(--ink)}.draft-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #c8c4b4;border-radius:999px;color:#736848;font-size:10px;letter-spacing:.5px;flex-shrink:0}.draft-badge i{display:block;width:5px;height:5px;border-radius:50%;background:#a39271}
main{max-width:1480px;margin:0 auto;padding:0 32px 68px}.page-intro{display:flex;justify-content:space-between;align-items:end;padding:57px 0 37px;gap:36px}.eyebrow,.section-kicker{font-size:9px;font-weight:600;letter-spacing:2px;line-height:1.5;margin:0 0 19px}.eyebrow{color:#7b826e}h1{font:400 clamp(36px,4.3vw,60px)/1.08 Georgia,"Times New Roman",serif;letter-spacing:-1.7px;margin:0}h1 em{font-weight:400;color:#667a65}h2{font:400 30px/1.15 Georgia,"Times New Roman",serif;letter-spacing:-.5px;margin:0}h3{font:500 16px/1.4 "Segoe UI",Arial,sans-serif;margin:0}.intro-copy{font-size:13px;line-height:1.85;color:var(--muted);max-width:490px;margin:21px 0 0}.intro-detail{display:flex;align-items:center;gap:18px;color:#888e7d;font-size:8px;line-height:1.8;letter-spacing:1.5px;padding-bottom:8px;flex-shrink:0}.detail-line{height:48px;width:1px;background:#bdc5b7}.workflow{display:flex;align-items:center;gap:18px;border-top:1px solid var(--line);padding:18px 0 26px}.workflow-step{display:flex;align-items:center;gap:10px;font-size:11px;min-height:44px;color:#7b8375}.workflow-step span{display:grid;place-items:center;width:28px;height:28px;border:1px solid #cdd3c6;border-radius:50%;font-size:9px;font-variant-numeric:tabular-nums}.workflow-step.is-active{color:var(--ink);font-weight:600}.workflow-step.is-active span{background:var(--ink);color:var(--paper);border-color:var(--ink)}.workflow-connector{width:42px;height:1px;background:#c7cec1}.unit-note{margin-left:auto;color:var(--muted);font-size:10px}
.workspace{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:24px;align-items:start}.input-panel,.results-panel{min-width:0;border:1px solid #d8ddcf;border-radius:12px;background:var(--surface);padding:27px 24px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.section-kicker{font-size:8px;letter-spacing:1.7px;color:#84907c;margin-bottom:10px}.panel-copy{font-size:11px;line-height:1.8;color:var(--muted);margin:17px 0 24px;max-width:560px}.text-button{border:0;background:transparent;padding:8px 0;font-size:10px;color:#63765e;border-bottom:1px solid #b8c3ad;border-radius:0;min-height:44px;white-space:nowrap}.text-button span{padding-left:6px}.text-button:hover{background:transparent;color:var(--ink)}.material-groups{display:flex;flex-direction:column;gap:18px}.material-card{border:1px solid #d5dccd;border-radius:8px;overflow:hidden;background:#fff}.material-head{display:flex;align-items:center;gap:10px;padding:15px 15px 12px;background:#f1f3ed}.material-head input[type=text]{font-size:13px;font-weight:600;background:#fffefa;flex:1}.material-head h3{font-size:13px;flex:1}.material-head .swatch,.material-swatch{width:30px;height:30px;border-radius:6px;border:1px solid #d3d8cc;flex:0 0 auto}.material-head button{padding:8px;min-width:44px;flex-shrink:0;background:transparent;border-color:transparent}.material-settings{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.4fr) minmax(0,.85fr);gap:11px;padding:0 15px 15px;background:#f1f3ed}.material-settings label{display:flex;flex-direction:column;gap:6px;font-size:9px;color:var(--muted)}.material-settings select,.material-settings input{font-size:11px;padding:9px 8px;background:#fffefa}.material-settings small{font-size:9px;line-height:1.45;color:#87907e}.cut-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.cut-table{border-collapse:collapse;width:100%;min-width:620px;font-size:11px;table-layout:fixed}.cut-table th{padding:10px 5px;text-align:left;font-size:8px;letter-spacing:.2px;font-weight:500;color:#687460;background:#f9faf6;border-bottom:1px solid var(--line);white-space:nowrap}.cut-table td{padding:8px 5px;border-bottom:1px solid #e8ebe2;vertical-align:middle}.cut-table th:first-child,.cut-table td:first-child{width:32px;text-align:center;color:#8a9282;font-size:9px}.cut-table th:nth-child(2){width:136px}.cut-table th:nth-child(3),.cut-table th:nth-child(4){width:80px}.cut-table th:nth-child(5){width:59px}.cut-table th:last-child,.cut-table td:last-child{width:45px}.cut-table td input{font-size:11px;padding:9px 6px;min-height:44px}.cut-table td input[type=number]{text-align:right}.cut-table tbody tr:last-child td{border-bottom:0}.edge-checks{display:flex;align-items:center;gap:3px;justify-content:center;white-space:nowrap}.edge-checks label{display:flex;align-items:center;justify-content:center;gap:2px;min-height:44px;min-width:28px;font-size:8px;color:#7d8774;cursor:pointer}.edge-checks input[type=checkbox]{width:15px;height:15px;min-height:15px;margin:0}.edge-checks span{font-size:8px}.row-delete{border:0;background:transparent;color:#8d746a;min-width:40px;min-height:44px;padding:6px;font-size:18px;border-radius:4px}.row-delete:hover{background:#f7eeea;color:#9c4b37}.add-row{display:flex;align-items:center;justify-content:center;gap:6px;margin:10px 14px 14px;width:calc(100% - 28px);border-style:dashed;border-color:#c6d0bd;background:#f8faf5;font-size:11px;color:#63745a;min-height:44px}.add-material{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;background:transparent;border:1px dashed #aab99e;font-size:11px;margin-top:17px;min-height:49px;color:#506b47}.add-material span{font-size:18px;font-weight:300}.planning-options{display:flex;gap:9px 15px;flex-wrap:wrap;padding:19px 0 17px;border-bottom:1px solid var(--line);color:#7a8472;font-size:9px}.planning-options span{display:inline-flex;align-items:center;gap:5px;line-height:1.5}.option-mark{width:4px;height:4px;background:#9caa90;border-radius:50%}.calculate-area{padding-top:21px}.primary-button{display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--green);color:#fffefa;min-height:53px;border-color:var(--green);padding:14px 19px;font-size:13px;font-weight:500}.primary-button:hover{background:#315e4c;border-color:#315e4c}.primary-button span{font-size:20px;font-weight:300}#optimizationStatus{font-size:11px;line-height:1.65;color:#66765d;margin:12px 0 0;overflow-wrap:anywhere}#optimizationStatus:empty{display:none}
.results-panel{position:sticky;top:22px;background:#eef0e8;min-height:510px}.results-heading{padding-bottom:20px;border-bottom:1px solid #d4dbcc}.result-indicator{font:400 23px Georgia,serif;color:#809173}.empty-results{padding:46px 15px 28px;text-align:center}.empty-board{width:230px;height:174px;border:1px solid #a9b8a0;background:#e2e8d8;position:relative;margin:0 auto 32px;box-shadow:7px 7px 0 #e7ebdf;border-radius:2px}.board-piece{position:absolute;display:block;border:1px solid #aebba0;background:#c9d4bc}.piece-one{left:8px;top:8px;width:111px;height:85px}.piece-two{left:124px;top:8px;width:96px;height:51px;background:#d6decc}.piece-three{left:8px;top:98px;width:111px;height:66px;background:#d5dfc9}.piece-four{left:124px;top:64px;width:63px;height:100px;background:#c3ceb6}.board-measure{position:absolute;bottom:-19px;left:0;width:100%;font-size:8px;letter-spacing:1px;color:#95a18b}.empty-results h3{font:400 25px/1.25 Georgia,"Times New Roman",serif;margin:0 0 14px;color:#566d4b}.empty-results p{font-size:11px;color:#839077;line-height:1.8;max-width:290px;margin:0 auto}.empty-detail{display:block;font-size:8px;letter-spacing:.8px;color:#a1ab96;margin-top:29px}.result-summary:empty,.sheet-tabs:empty,.sheet-preview:empty,.sheet-legend:empty,.result-actions:empty{display:none}.result-summary{padding:20px 0;font-size:12px;line-height:1.7;border-bottom:1px solid #d4dbcc}.result-summary strong{font-weight:600}.result-summary .summary-grid,.result-summary .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.result-summary .stat{min-width:0}.result-summary .stat strong{display:block;font:400 27px/1.2 Georgia,serif}.result-summary .stat small{font-size:9px;color:#7f8c73}.sheet-tabs{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;padding:17px 0 12px}.sheet-tabs button{flex:0 0 auto;font-size:10px;min-height:44px;background:#f8faf4}.sheet-tabs button[aria-selected=true],.sheet-tabs button[aria-pressed=true],.sheet-tabs button.is-active,.sheet-tabs button.active{color:#fffefa;background:var(--green);border-color:var(--green)}.sheet-preview{min-width:0;margin-top:10px;padding:13px;background:#fafbf7;border:1px solid #d8dfcf;border-radius:6px;overflow:hidden}.sheet-preview svg,.sheet-preview canvas{display:block;max-width:100%;height:auto;margin:auto}.sheet-preview figcaption,.sheet-preview p{font-size:10px;color:var(--muted);line-height:1.6}.sheet-legend{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:15px;font-size:9px;color:#69775e;line-height:1.6}.sheet-legend>span,.sheet-legend>div{display:inline-flex;align-items:center;gap:6px}.sheet-legend i,.sheet-legend .legend-swatch{display:inline-block;width:10px;height:10px;border:1px solid #b9c6ac;border-radius:2px}.result-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.result-actions button{font-size:11px;flex:1}.return-to-list{display:none;align-items:center;min-height:44px;font-size:11px;color:#6b7e60;margin-top:20px}.page-footer{max-width:1480px;margin:0 auto;padding:22px 32px 31px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#8b9382;letter-spacing:.5px}.footer-separator{margin:0 8px;color:#bac1b0}[hidden]{display:none!important}
@media(min-width:1500px){main{padding-left:0;padding-right:0}.page-footer{padding-left:0;padding-right:0}}
@media(max-width:1150px){.site-header{gap:22px;padding-left:32px;padding-right:32px}.site-nav{gap:18px;font-size:11px}.workspace{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px}.input-panel,.results-panel{padding:23px 19px}.panel-heading{align-items:start}.panel-heading h2{font-size:27px}.text-button{font-size:9px}.material-settings{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px}.material-settings>label:last-child{grid-column:1/-1}.material-settings>label:last-child input{max-width:150px}}
@media(max-width:980px){.site-header{flex-wrap:wrap;gap:18px;padding-top:22px;padding-bottom:15px}.site-nav{order:3;width:100%;justify-content:flex-start;margin:0;gap:27px;overflow-x:auto}.draft-badge{margin-left:auto}.page-intro{padding-top:42px}.intro-detail{display:none}.workspace{grid-template-columns:1fr}.results-panel{position:static;min-height:400px}.return-to-list{display:inline-flex}.material-settings{grid-template-columns:minmax(0,.75fr) minmax(0,1.4fr) minmax(0,.85fr)}.material-settings>label:last-child{grid-column:auto}.material-settings>label:last-child input{max-width:none}.empty-results{padding-top:36px}.result-summary .summary-grid,.result-summary .stats{max-width:520px}}
@media(max-width:600px){html{scroll-padding-top:16px}.site-header{padding:20px 18px 11px;gap:14px}.brand{font-size:24px;letter-spacing:2.2px}.brand span{font-size:7px;letter-spacing:1.5px;margin-top:6px}.draft-badge{padding:6px 10px;font-size:9px}.site-nav{gap:23px;font-size:10px;margin-top:3px}.site-nav a{min-height:44px}main{padding:0 16px 40px}.page-intro{padding:31px 1px 28px}.eyebrow{font-size:8px;letter-spacing:1.7px;margin-bottom:16px}h1{font-size:38px;line-height:1.1;letter-spacing:-1.1px}.intro-copy{font-size:11px;line-height:1.85;margin-top:17px;max-width:335px}.workflow{gap:11px;padding:13px 0 19px;flex-wrap:wrap}.workflow-step{gap:7px;font-size:10px}.workflow-step span{width:26px;height:26px;font-size:8px}.workflow-connector{width:20px}.unit-note{width:100%;margin-left:0;margin-top:-5px;font-size:9px}.workspace{gap:17px}.input-panel,.results-panel{padding:21px 15px;border-radius:9px}.panel-heading{gap:10px;align-items:center}.panel-heading h2{font-size:26px}.section-kicker{font-size:7px;letter-spacing:1.5px;margin-bottom:8px}.text-button{font-size:9px;max-width:123px;text-align:right;line-height:1.5;white-space:normal}.panel-copy{font-size:10px;line-height:1.8;margin:15px 0 20px}.material-head{padding:12px 10px 10px;gap:7px}.material-head input[type=text]{font-size:12px}.material-head input[type=color]{width:40px;height:44px}.material-settings{padding:0 10px 12px;gap:9px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.material-settings label{font-size:9px}.material-settings>label:last-child{grid-column:1/-1}.material-settings>label:last-child input{max-width:145px}.material-settings input,.material-settings select,.cut-table input{font-size:16px}.cut-table{min-width:656px}.cut-table th:nth-child(2){width:145px}.edge-checks label{min-width:28px;min-height:44px}.add-row{margin-left:10px;margin-right:10px;width:calc(100% - 20px);font-size:10px}.add-material{margin-top:14px;font-size:10px}.planning-options{gap:8px 11px;font-size:8px;padding:17px 0}.calculate-area{padding-top:17px}.primary-button{font-size:12px;min-height:53px;padding:13px 15px}#optimizationStatus{font-size:10px}.results-heading{padding-bottom:16px}.empty-results{padding:34px 8px 20px}.empty-board{width:210px;height:159px}.piece-one{width:101px;height:77px}.piece-two{left:114px;width:87px;height:47px}.piece-three{top:90px;width:101px;height:59px}.piece-four{left:114px;top:60px;width:58px;height:89px}.empty-results h3{font-size:24px}.empty-results p{font-size:10px;max-width:260px}.empty-detail{font-size:7px;margin-top:24px}.sheet-preview{padding:8px}.sheet-tabs{padding-top:14px}.sheet-tabs button{font-size:10px}.result-summary{font-size:11px}.page-footer{padding:20px 17px 25px;font-size:8px;line-height:1.6}.page-footer>span:last-child{white-space:nowrap}}
@media(max-width:360px){h1{font-size:34px}.site-nav{gap:18px}.input-panel,.results-panel{padding-left:12px;padding-right:12px}.panel-heading h2{font-size:23px}.text-button{max-width:112px}}
.result-summary:has(>.result-stat){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.result-stat{min-width:0}.result-stat strong{display:block;font:400 29px/1.2 Georgia,serif}.result-stat span,.result-stat small{font-size:9px;color:#7b896e}.material-result{border-bottom:1px solid #d4dbcc;padding:16px 0}.material-result:last-child{border-bottom:0}.material-result h3{font-size:13px;margin:0 0 7px}.sheet-meta{display:flex;flex-wrap:wrap;gap:5px 12px;font-size:10px;line-height:1.7;color:#7a866f}.sheet-card{margin:0}.sheet-svg{display:block;width:100%;max-width:100%;height:auto}.sheet-frame{fill:#e5eadb;stroke:#a8b79a;stroke-width:1;vector-effect:non-scaling-stroke}.sheet-part{stroke:#fffefa;stroke-width:1;vector-effect:non-scaling-stroke}.sheet-part-label{font-family:"Segoe UI",Arial,sans-serif;fill:#243c33}.sheet-dimension{font-family:"Segoe UI",Arial,sans-serif;fill:#7b8970}.legend-item{display:inline-flex;align-items:center;gap:6px}.unplaced-note,.result-notice{font-size:10px;line-height:1.7;margin:13px 0 0;padding:11px 12px;border:1px solid #d4d8c7;border-radius:6px;color:#69765e;background:#f6f8f1}.unplaced-note{border-color:#d9c7ab;background:#faf4e9;color:#856f4d}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}button,input,select{transition:none}}
.brand{display:flex;align-items:center;gap:11px;letter-spacing:0;mix-blend-mode:multiply}.brand-mark{display:block;width:44px;height:37px}.brand-wordmark{display:block;width:150px;height:25px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.material-title{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.material-title h2{font:600 13px/1.4 "Segoe UI",Arial,sans-serif;letter-spacing:0}.material-swatch{display:block}.material-remove{font-size:10px;color:#7a7b6c}.material-settings>label:first-child{grid-column:1/-1}.material-settings>label:last-child{grid-column:auto}.material-settings>label:last-child input{max-width:none}.material-settings{grid-template-columns:minmax(0,.65fr) minmax(0,1.3fr) minmax(0,.75fr)}.material-footer .material-hint{font-size:10px;line-height:1.7;color:var(--muted);margin:0 15px 14px}.cut-table{min-width:760px}.cut-table th:nth-child(6){width:200px}.edge-checks label{min-width:44px;min-height:44px}.material-result,.unplaced-note{grid-column:1/-1}.material-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:12px 0}.material-result strong{font-size:12px}.material-result span{grid-column:1;font-size:10px;color:var(--muted)}.material-result b{grid-column:2;grid-row:1/3;align-self:center;font:400 24px Georgia,serif;white-space:nowrap}.sheet-meta{justify-content:space-between;margin-bottom:9px}.sheet-meta strong{font-size:11px;color:var(--ink)}.legend-dot{display:inline-block;flex:0 0 auto;width:10px;height:10px;border:1px solid #879780;border-radius:2px}.sheet-legend{display:block}.legend-item{display:flex!important;flex-wrap:wrap;margin:6px 0}.legend-item b{margin-left:auto;font-size:10px}.result-actions{display:block}.output-actions{display:flex;gap:8px}.output-actions button{flex:1}#optimizationStatus.is-error{color:#8c4837}.sheet-note{margin:8px 0 0}
@media(max-width:600px){.brand{gap:8px}.brand-mark{width:35px;height:31px}.brand-wordmark{width:123px;height:21px}.material-settings{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}.material-settings>label:last-child{grid-column:1/-1}.material-settings>label:last-child input{max-width:130px}.material-head{align-items:center;justify-content:space-between}.material-remove{font-size:9px;max-width:87px}.material-title{gap:6px}.material-title h2{font-size:11px}.material-swatch{width:24px;height:24px}.material-result b{font-size:21px}.result-stat strong{font-size:25px}}
.page-intro{padding-top:32px;padding-bottom:24px}.page-intro h1{font-size:44px;line-height:1.15}.eyebrow{margin-bottom:13px}.intro-copy{margin-top:14px;max-width:650px}.intro-detail{display:none}
@media(max-width:600px){.page-intro{padding-top:26px;padding-bottom:23px}.page-intro h1{font-size:34px;line-height:1.13}}
.cut-table-wrap{position:relative}.material-result strong,.legend-item span,.sheet-meta strong{overflow-wrap:anywhere;min-width:0}
.export-details{border:1px solid var(--line);border-radius:7px;margin:0 0 19px;background:#fafbf7}.export-details summary{cursor:pointer;min-height:44px;padding:12px 14px;font-size:11px}.export-details summary span{font-size:9px;color:var(--muted);margin-left:8px}.export-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 14px 14px}.export-fields label{font-size:10px;color:var(--muted);display:grid;gap:6px}.export-fields input{font-size:12px}.sheet-offcuts:empty{display:none}.offcut-section{margin-top:17px;padding-top:16px;border-top:1px solid #cdd6c4}.offcut-section h3{font-size:12px;font-weight:600;margin-bottom:10px}.offcut-label{font-family:"Segoe UI",Arial,sans-serif;fill:#6e7864}.offcut-table{border-collapse:collapse;width:100%;font-size:10px;background:#fafbf6;font-variant-numeric:tabular-nums}.offcut-table th,.offcut-table td{border:1px solid #cdd5c4;padding:8px;text-align:left}.offcut-table thead th{font-weight:500;color:#68775d;background:#e5ebdf}.offcut-table tbody th{width:40px;font-weight:600}.offcut-explanation{font-size:9px;line-height:1.6;color:var(--muted);margin:9px 0 0}.excel-download{background:var(--green);color:#fffefa;border-color:var(--green)}.excel-download:hover{background:#315e4b}
@media(max-width:600px){.export-details summary span{display:block;margin:4px 0 0 12px}.export-fields{grid-template-columns:1fr}.export-fields input{font-size:16px}.offcut-table{font-size:10px}.offcut-table th,.offcut-table td{padding:7px}}
.site-nav{font-size:14px}.draft-badge{font-size:12px}.eyebrow{font-size:11px}.intro-copy{font-size:15px}.workflow-step{font-size:14px}.unit-note{font-size:12px}.section-kicker{font-size:11px}.panel-copy{font-size:13px}.text-button{font-size:13px}.material-title h2{font-size:15px}.material-remove{font-size:12px}.material-settings label{font-size:12px}.material-settings input,.material-settings select{font-size:15px}.cut-table{font-size:15px}.cut-table th{font-size:12px;font-weight:600}.cut-table td input{font-size:15px}.cut-table td:first-child{font-size:12px}.edge-checks span{font-size:10px}.add-row,.add-material{font-size:14px}.material-footer .material-hint{font-size:12px}.planning-options{font-size:12px}.primary-button{font-size:16px}#optimizationStatus{font-size:14px}.result-stat strong{font-size:35px}.result-stat span{font-size:12px}.material-result strong{font-size:15px}.material-result span{font-size:12px}.material-result b{font-size:29px}.sheet-tabs button{font-size:13px}.sheet-meta strong{font-size:15px}.sheet-meta span{font-size:13px}.sheet-preview p{font-size:13px}.sheet-legend{font-size:13px}.legend-item b{font-size:13px}.offcut-section h3{font-size:16px}.offcut-table{font-size:14px}.offcut-table th,.offcut-table td{padding:10px}.offcut-explanation{font-size:12px}.result-actions button{font-size:15px}.result-notice{font-size:12px}.export-details summary{font-size:14px}.export-details summary span{font-size:12px}.export-fields label{font-size:13px}.export-fields input{font-size:15px}.return-to-list{font-size:14px}.page-footer{font-size:12px}.plan-quantity{font-size:17px;font-weight:600;padding:11px 13px;background:#e3ebdc;color:#335b35;border:1px solid #c1d0b7;border-radius:6px;margin:0 0 14px}
@media(min-width:981px){.results-panel{max-height:calc(100dvh - 44px);overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}}
@media(max-width:600px){.site-nav{font-size:12px}.intro-copy{font-size:13px}.workflow-step{font-size:12px}.unit-note{font-size:11px}.panel-copy{font-size:12px}.text-button{font-size:12px}.material-title h2{font-size:13px}.material-remove{font-size:11px}.material-settings label{font-size:12px}.material-settings input,.material-settings select,.cut-table td input{font-size:16px}.cut-table th{font-size:12px}.material-footer .material-hint{font-size:12px}.planning-options{font-size:11px}.result-stat strong{font-size:28px}.result-stat span{font-size:11px}.material-result strong{font-size:14px}.material-result b{font-size:25px}.sheet-tabs button{font-size:12px}.sheet-meta strong{font-size:14px}.sheet-meta span{font-size:12px}.offcut-table{font-size:13px}.offcut-table th,.offcut-table td{padding:8px}.export-fields input{font-size:16px}.page-footer{font-size:10px}.plan-quantity{font-size:16px}}
.results-panel .result-stat strong{font-size:31px}.results-panel .result-stat span{font-size:11px}.results-panel .material-result strong{font-size:14px}.results-panel .material-result span{font-size:11px}.results-panel .material-result b{font-size:25px}.results-panel .material-result{padding:9px 0}.results-panel .sheet-tabs{padding-top:12px;padding-bottom:8px}.results-panel .sheet-tabs button{font-size:12px}.results-panel .sheet-meta strong{font-size:14px}.results-panel .sheet-meta span{font-size:12px}.results-panel .plan-quantity{font-size:15px;padding:8px 11px;margin-bottom:10px}.results-panel .sheet-svg{max-height:330px}.results-panel .sheet-preview p{font-size:12px}.results-panel .sheet-legend{font-size:12px;margin-top:10px}.results-panel .legend-item{margin:4px 0}.results-panel .legend-item b{font-size:12px}.results-panel .offcut-section{padding-top:12px;margin-top:12px}.results-panel .offcut-section h3{font-size:14px}.results-panel .offcut-table{font-size:13px}.results-panel .offcut-table th,.results-panel .offcut-table td{padding:7px 9px}.results-panel .offcut-explanation{font-size:11px}.results-panel .result-actions button{font-size:14px}.results-panel .result-notice{font-size:11px}
@media(max-width:600px){.results-panel .result-stat strong{font-size:27px}.results-panel .material-result b{font-size:24px}.results-panel .offcut-table{font-size:13px}.results-panel .offcut-table th,.results-panel .offcut-table td{padding:7px}}
.cut-table{min-width:804px}.cut-table th:nth-child(5){width:72px;text-align:center}.cut-table th:nth-child(6){width:59px}.cut-table th:nth-child(7){width:200px}.rotation-check{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;cursor:pointer}.cut-table .rotation-check input{width:18px;height:18px;min-height:18px;padding:0;margin:0}.pvc-summary{grid-column:1/-1;background:#f8faf4;border:1px solid #d2dbc8;border-radius:7px;padding:12px 13px;margin-top:3px}.pvc-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.pvc-heading h3{font-size:14px;font-weight:600}.pvc-heading>strong{font-size:17px;font-variant-numeric:tabular-nums;white-space:nowrap}.pvc-totals{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 14px;margin:10px 0 0;font-size:13px}.pvc-totals dt{overflow-wrap:anywhere}.pvc-totals dd{margin:0;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.pvc-note{font-size:11px;line-height:1.6;color:var(--muted);margin:9px 0 0}
@media(max-width:600px){.cut-table{min-width:813px}}
.material-catalog{margin:-2px 0 15px;min-width:0}.catalog-current{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:10px;border:1px solid #cad6c1;border-radius:7px;background:#f1f6ec}.catalog-current[hidden]{display:none}.catalog-current-text{min-width:0;flex:1}.catalog-current-text strong,.catalog-current-text span{display:block;overflow-wrap:anywhere}.catalog-current-text strong{font-size:13px;font-weight:600;line-height:1.5}.catalog-current-text span{font-size:11px;color:var(--muted);line-height:1.6;margin-top:3px}.catalog-clear{font-size:11px;padding:7px 10px;flex-shrink:0}.catalog-missing{font-size:12px;line-height:1.5;margin:0}.catalog-browser{border:1px solid var(--line);border-radius:7px;background:#fcfcf6}.catalog-browser>summary{padding:11px 12px;font-size:12px;font-weight:500;cursor:pointer;min-height:44px;line-height:1.6}.catalog-browser[open]>summary{border-bottom:1px solid var(--line)}.catalog-browser-content{padding:12px;min-width:0}.catalog-filters{display:grid;grid-template-columns:1fr 1fr;gap:9px}.catalog-filters label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:var(--muted);min-width:0}.catalog-filters label:last-child{grid-column:1/-1}.catalog-filters select,.catalog-filters input{font-size:13px}.catalog-count{margin:11px 0 8px;font-size:11px;color:var(--muted);line-height:1.5}.catalog-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:350px;overflow:auto;overscroll-behavior:contain}.catalog-choice{display:flex;align-items:center;gap:8px;text-align:left;padding:7px;min-height:62px;border-radius:6px;min-width:0}.catalog-choice[aria-pressed="true"]{background:#e6efdf;border-color:#5d815b;box-shadow:inset 0 0 0 1px #5d815b}.catalog-choice-text{min-width:0}.catalog-choice b,.catalog-choice small{display:block;overflow-wrap:anywhere;line-height:1.45}.catalog-choice b{font-size:11px;font-weight:500}.catalog-choice small{font-size:9px;color:var(--muted);margin-top:3px}.catalog-swatch{display:block;position:relative;overflow:hidden;flex:0 0 auto;width:42px;height:42px;border-radius:5px;background:#e1ddcd;border:1px solid #263b2722}.catalog-swatch img{display:block;width:100%;height:100%;object-fit:cover}.catalog-more{width:100%;margin-top:10px;font-size:12px}.catalog-more[hidden]{display:none}.catalog-empty{grid-column:1/-1;font-size:12px;line-height:1.6;color:var(--muted);margin:6px}.material-card[data-material-kind="solid"] .rotation-cell,.material-card[data-material-kind="solid"] .rotation-heading{display:none}.material-card[data-material-kind="solid"] .cut-table{min-width:741px}.material-footer{flex-wrap:wrap}.material-footer .rotation-help{flex-basis:100%;margin:0;padding-top:2px;font-size:11px;line-height:1.6;color:var(--muted)}
@media(max-width:600px){.catalog-browser-content{padding:10px}.catalog-filters select,.catalog-filters input{font-size:16px}.catalog-current{flex-wrap:wrap}.catalog-current-text{min-width:160px}.catalog-current .catalog-clear{margin-left:auto}.catalog-results{grid-template-columns:1fr;max-height:320px}.catalog-choice b{font-size:12px}.catalog-choice small{font-size:10px}.catalog-current-text strong{font-size:12px}.material-card[data-material-kind="solid"] .cut-table{min-width:741px}}
.catalog-suggestions{min-width:0;border:1px solid #aebfa4;border-radius:7px;background:#fffefa;padding:7px;box-shadow:0 5px 15px #243c3310;color:var(--ink)}.catalog-suggestions[hidden]{display:none}.catalog-suggestion-list{max-height:300px;overflow:auto;overscroll-behavior:contain;display:grid;gap:4px}.catalog-suggestion{width:100%;text-align:left;min-height:57px}.catalog-suggestion[aria-selected="true"]{background:#e5efdd;border-color:#63825a;box-shadow:inset 0 0 0 1px #63825a}.catalog-suggestion .catalog-choice-text b{font-size:13px}.catalog-suggestion .catalog-choice-text small{font-size:11px}.catalog-suggestion-hint{margin:7px 2px 4px;font-size:11px;line-height:1.5;color:var(--muted)}.catalog-suggestion-more{font-size:11px;padding:6px 8px;width:100%;min-height:36px;background:#f2f6ed}.catalog-load-status{display:flex;gap:10px;align-items:center;padding:10px 12px;margin:0 0 14px;font-size:13px;line-height:1.5;background:#f1f4e9;border:1px solid #cdd7c1;border-radius:7px}.catalog-load-status[hidden]{display:none}.catalog-load-status button{margin-left:auto;flex-shrink:0;font-size:12px}.catalog-load-status button[hidden]{display:none}
