:root{--bg:#f6f5ef;--paper:#fff;--ink:#193832;--muted:#6b7772;--line:#e0e5df;--green:#214c43;--green-light:#e7f0e9;--orange:#d77b43;--orange-light:#fbede3;--shadow:0 10px 35px #20382c07}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.55}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}a{color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}input,select{min-width:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d77b43;outline-offset:3px}button:hover:not(:disabled){filter:brightness(.97)}.container{max-width:1360px;margin:auto;padding:0 42px}.site-header{height:83px;border-bottom:1px solid #dce2da;background:var(--bg)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{text-decoration:none;display:inline-flex;gap:10px;align-items:center;font-size:25px;font-weight:800;letter-spacing:-1px;white-space:nowrap}.brand-light{font-weight:400}.brand-dot{color:var(--orange)}.site-header nav{display:flex;align-items:center;gap:30px;font-size:13px}.site-header nav a{text-decoration:none;color:#44534c}.site-header nav a:hover{color:var(--orange)}.header-note{font-size:11px;letter-spacing:.2px;border-left:1px solid var(--line);padding-left:24px;color:var(--muted);display:flex;align-items:center;gap:7px}.tiny-dot{width:6px;height:6px;background:var(--green);border-radius:50%;display:inline-block}.hero{position:relative;padding:48px 0 44px;overflow:hidden}.eyebrow,.step-label{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--muted)}.eyebrow{display:flex;gap:10px;align-items:center;letter-spacing:1.7px}.line-icon{font-size:20px;color:var(--orange)}h1{font-size:clamp(34px,4.2vw,57px);font-weight:500;letter-spacing:-2.5px;line-height:1.12;margin:16px 0 16px;max-width:750px}h1 em{font-family:Georgia,'Times New Roman',serif;color:var(--orange);font-weight:400}h2,h3,p{margin:0}.hero>p{max-width:640px;color:var(--muted);font-size:15px;line-height:1.8}.hero-facts{display:flex;gap:20px;color:#55665b;font-size:11px;margin-top:21px}.hero-art{position:absolute;right:5px;top:89px;width:320px;transform:rotate(-5deg)}.art-ruler{display:flex;justify-content:space-between;padding:0 0 13px;border-bottom:1px solid #cfd8ce;color:#819082;background:repeating-linear-gradient(90deg,transparent 0 19px,#d1d9d1 19px 20px) bottom/100% 7px no-repeat}.art-ruler i{font-size:8px;font-style:normal;font-family:monospace}.art-bar{display:flex;gap:4px;margin-top:8px;height:40px}.art-bar span{display:flex;align-items:center;justify-content:center;background:#c7d7c9;border-radius:3px;flex:1;font-size:10px;color:#385840}.art-bar span:first-child{flex:1.5;background:var(--green);color:white}.art-bar span:nth-child(3){background:#e6b692}.art-bar .art-waste{flex:.5;background:repeating-linear-gradient(135deg,#ecece5 0 4px,#d7ded4 4px 5px)}.art-label{margin-top:15px;color:var(--muted);font-size:8px;letter-spacing:1.7px;text-align:right}.art-label .tiny-dot{width:4px;height:4px;margin-right:5px}.workspace{display:grid;grid-template-columns:minmax(380px, .88fr) minmax(0,1.12fr);gap:24px;align-items:start;scroll-margin-top:18px}.input-panel,.result-panel{background:var(--paper);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}.panel-heading{padding:25px 26px 23px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;align-items:center}.panel-heading h2{font-size:19px;font-weight:600;letter-spacing:-.5px;margin-top:4px}.step-label{font-size:9px;letter-spacing:1.4px}.text-button{border:0;padding:5px 0;background:none;color:var(--green);font-size:11px;white-space:nowrap}.form-body{padding:22px 26px}.field{display:flex;flex-direction:column;gap:7px;color:#526157;font-size:11px;font-weight:600}.field input,.field select,.unit-field select,.saved-controls select{border:1px solid #dce3dc;background:#fbfcfa;border-radius:7px;color:var(--ink);height:42px;width:100%;padding:9px 11px;font-size:13px;font-weight:400}.field input:focus,.field select:focus{background:white}.field input::placeholder{color:#a3ada5}.material-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0 13px;gap:10px}h3{font-size:13px;font-weight:600}.unit-field{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);white-space:nowrap}.unit-field select{height:30px;padding:3px 6px;font-size:10px;width:128px;background:white}.field-grid{display:grid;gap:10px}.field-grid.three{grid-template-columns:1.1fr 1fr 1.15fr}.input-unit{position:relative}.input-unit input{padding-right:30px}.input-unit>span{position:absolute;right:10px;top:13px;color:#a3ada5;font-size:10px}.field-hint{font-size:10px;color:#849087;line-height:1.65;margin-top:10px}.cost-heading{margin-top:20px}.optional{font-size:9px;color:#98a098;font-weight:400;margin-left:5px}.cost-grid{grid-template-columns:1fr 1fr}.list-heading{display:flex;align-items:center;justify-content:space-between;margin:26px 0 17px;gap:10px}.list-heading p{font-size:10px;color:var(--muted);margin-top:4px}.count-pill{font-size:9px;color:#596d5e;background:#f0f4ef;border-radius:20px;padding:4px 8px;white-space:nowrap}.row-labels,.piece-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 62px 25px;gap:9px;align-items:center}.row-labels{font-size:9px;color:#97a299;margin-bottom:7px;letter-spacing:.2px}.piece-row{margin-bottom:8px}.piece-row input{width:100%;border:1px solid #dfe5df;border-radius:6px;min-height:36px;padding:6px 9px;color:var(--ink);background:#fcfdfb;font-size:12px}.remove-row{width:25px;height:32px;border:none;background:none;color:#929d94;font-size:19px;padding:0}.remove-row:hover{color:#ad4b38}.add-row{border:1px dashed #cddacd;color:#54745c;background:#f8fbf7;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px;width:100%;border-radius:6px;margin:11px 0 24px;font-size:11px}.add-row span{font-size:17px;line-height:1}.primary-button{width:100%;display:flex;align-items:center;justify-content:space-between;background:var(--green);color:white;border:0;border-radius:8px;padding:13px 17px;font-size:13px;font-weight:600}.primary-button span:last-child{font-size:20px;line-height:1}.calculation-note{font-size:9px;color:#8c998e;text-align:center;margin-top:10px}.form-error{background:#fff0eb;color:#9b4332;border:1px solid #f0d4c9;padding:10px 12px;border-radius:6px;font-size:12px;margin:0 0 12px}.project-tools{padding:18px 26px;background:#fafbf8;border-top:1px solid var(--line);display:flex;gap:8px;flex-wrap:wrap}.secondary-button{background:white;color:#4a6251;border:1px solid #dce5db;padding:8px 11px;border-radius:6px;font-size:10px;white-space:nowrap}.icon-button{background:white;color:#627869;border:1px solid #dce5db;border-radius:6px;min-width:32px;padding:4px 8px;font-size:19px;line-height:1}.saved-label{display:block;width:100%;font-size:9px;color:#8a958a;margin-top:5px}.saved-controls{width:100%;display:flex;gap:8px}.saved-controls select{height:34px;font-size:10px;flex:1}.result-heading{align-items:flex-start}.result-status{border:1px solid #e2e6dc;padding:4px 8px;font-size:9px;border-radius:20px;white-space:nowrap;color:#7b8577;margin-top:7px}.result-status.dirty{background:var(--orange-light);border-color:#efd6c4;color:#a35e37}.result-status.ready{background:var(--green-light);color:#477455;border-color:#d3e1d1}.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:23px 25px;gap:12px}.stat{border:1px solid #e3e8df;background:#fbfcf9;border-radius:9px;padding:15px 17px}.stat:first-child{background:var(--green);color:white;border-color:var(--green)}.stat small{font-size:10px;color:var(--muted)}.stat:first-child small{color:#b6cbb9}.stat strong{display:block;font-size:29px;font-weight:500;line-height:1.3;letter-spacing:-1px;margin:5px 0}.stat strong span{font-size:12px;letter-spacing:0;color:inherit;margin-left:4px}.stat p{font-size:9px;color:#8b998c}.stat:first-child p{color:#b6cbb9}.stat.money strong{font-size:22px;letter-spacing:-.5px;min-height:37px;display:flex;align-items:center;flex-wrap:wrap}.efficiency{padding:0 25px 21px;border-bottom:1px solid var(--line)}.efficiency-label{display:flex;justify-content:space-between;font-size:9px;color:#889484;margin-bottom:7px}.efficiency-track{height:6px;display:flex;overflow:hidden;border-radius:5px;background:#ecefe8}.efficiency-track span:first-child{background:var(--green)}.efficiency-track span:nth-child(2){background:var(--orange)}.efficiency-legend{display:flex;gap:15px;font-size:9px;color:#859080;margin-top:9px;flex-wrap:wrap}.efficiency-legend b{display:inline-block;width:5px;height:5px;background:var(--green);border-radius:1px;margin-right:4px}.efficiency-legend span:nth-child(2) b{background:var(--orange)}.efficiency-legend span:nth-child(3) b{background:#dce3d6}.patterns{padding:22px 25px 8px}.patterns-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:16px}.patterns-heading p{font-size:9px;color:var(--muted)}.pattern{margin-bottom:14px;padding:14px 14px 13px;border:1px solid #e4e9df;border-radius:8px;break-inside:avoid}.pattern-header{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;margin-bottom:10px}.pattern-number{font-weight:600}.repeat-pill{font-weight:400;font-size:9px;background:#eef2eb;color:#6a7f65;border-radius:4px;padding:3px 6px;margin-left:7px}.pattern-tail{font-size:9px;color:#939e8e}.cut-strip{width:100%;height:40px;display:block;border-radius:4px;background:#edf0e8}.pattern-footer{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#7f8d78;margin-top:8px}.piece-legend{display:flex;gap:5px 12px;flex-wrap:wrap;font-size:9px;color:#667b65;margin-top:10px}.piece-legend span{display:flex;align-items:center;gap:4px}.piece-legend b{width:6px;height:6px;border-radius:1px;flex:none}.quality-note{margin:14px 25px 20px;padding:10px 12px;background:#f6f8f1;border-radius:6px;font-size:10px;color:#75856c;display:flex;gap:8px;align-items:flex-start}.quality-note>span{color:#728966;font-size:13px}.report-actions{display:flex;gap:8px;padding:15px 25px;border-top:1px solid var(--line);flex-wrap:wrap}.model-note{display:flex;gap:10px;background:#f9faf6;padding:14px 25px;border-top:1px solid var(--line)}.note-mark{background:#e6ebdf;width:16px;height:16px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:11px;color:#7b8c71}.model-note p{font-size:9px;color:#8b9681;line-height:1.8}.model-note strong{font-weight:500}.model-note a{text-decoration:underline}.empty-state{padding:100px 30px;text-align:center;color:#7e8f7b}.empty-state h3{font-size:17px;font-weight:500;letter-spacing:-.3px;margin:20px 0 10px;color:#5b7256}.empty-state p{max-width:290px;margin:auto;font-size:12px}.empty-bars{width:95px;margin:auto;display:flex;gap:5px;align-items:flex-end;height:52px}.empty-bars span{width:26px;height:43px;background:#dce7d8;border-radius:3px;transform:rotate(-5deg)}.empty-bars span:nth-child(2){height:52px;background:#bfd3ba;transform:rotate(2deg)}.empty-bars span:nth-child(3){height:35px;background:#eed2ba;transform:rotate(6deg)}.how-section{padding:62px 0 45px}.section-heading h2,.faq-section h2{font-size:29px;font-weight:500;letter-spacing:-.9px;margin:8px 0 0}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:30px}.how-grid article{border-top:1px solid #d6dfd1;padding-top:19px;position:relative;padding-right:10px}.how-number{display:block;color:#bfcebc;font-size:27px;font-family:Georgia,serif;margin-bottom:10px}.how-grid h3{font-size:14px;font-weight:500;margin-bottom:7px}.how-grid p{font-size:12px;line-height:1.8;color:var(--muted);max-width:320px}.faq-section{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;border-top:1px solid #dce2d6;padding:45px 0 62px}.faq-section h2{max-width:280px}.guide-link{display:inline-block;margin-top:18px;font-size:11px;color:#63795b;text-decoration:none}.faq-list details{border-bottom:1px solid #dce2d6}.faq-list details:first-child{border-top:1px solid #dce2d6}.faq-list summary{font-size:12px;font-weight:500;cursor:pointer;list-style:none;padding:16px 25px 16px 0;position:relative}.faq-list summary::after{content:'+';position:absolute;right:3px;color:#a0ac97;font-size:18px;font-weight:400;top:11px}.faq-list details[open] summary::after{content:'−'}.faq-list p{font-size:12px;line-height:1.8;color:var(--muted);padding:0 23px 18px 0}.site-footer{border-top:1px solid #dce2d6;padding:28px 0;background:#eef1e8}.footer-inner{display:flex;align-items:center;gap:25px;justify-content:space-between}.site-footer .brand{font-size:20px}.footer-inner>span{font-size:10px;color:#83927b}.footer-inner>div{display:flex;gap:20px;white-space:nowrap;font-size:10px;color:#71836a}.footer-inner a{text-decoration:none}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);background:#193e35;color:white;box-shadow:0 8px 35px #18362933;border-radius:9px;padding:12px 19px;font-size:12px;z-index:10}.noscript{position:fixed;bottom:0;background:#fff0eb;padding:15px;width:100%;color:#963e2c;text-align:center}.skip{position:absolute;top:-70px;left:15px;background:var(--green);color:white;padding:10px;z-index:50}.skip:focus{top:10px}[hidden]{display:none!important}.article-page{max-width:820px;padding:50px 0 70px}.article-page h1{font-size:42px;letter-spacing:-1.5px;margin-bottom:24px}.article-page h2{font-size:23px;letter-spacing:-.5px;margin:32px 0 12px;font-weight:500}.article-page h3{font-size:16px;margin:22px 0 10px}.article-page p,.article-page li{font-size:15px;color:#637367;line-height:1.9;margin-bottom:15px}.article-page ul,.article-page ol{padding-left:25px}.article-page .article-lead{font-size:18px;color:#71816e;line-height:1.8;margin-bottom:25px}.article-page .primary-button{width:auto;display:inline-flex;gap:45px;margin-top:15px;text-decoration:none}.article-page table{width:100%;border-collapse:collapse;font-size:13px;background:white;margin:20px 0}.article-page th,.article-page td{border:1px solid #dde5d9;padding:12px;text-align:left}.article-page th{background:#ecf2e7}.formula{padding:18px 20px;border:1px solid #dce4d5;background:white;border-radius:9px;font-size:14px;color:#516747;margin:20px 0}.breadcrumbs{font-size:11px;color:#8a9883;margin-bottom:20px}.breadcrumbs a{text-decoration:none}.print-title{display:none}.print-only{display:none}@media(min-width:1400px){.hero-art{right:28px;width:350px}}@media(max-width:1150px){.container{padding:0 27px}.hero-art{width:240px;top:93px;right:0}.hero>p{max-width:570px}.hero h1{font-size:46px}.workspace{grid-template-columns: minmax(340px,.94fr) minmax(0,1.06fr);gap:16px}.panel-heading,.form-body{padding-left:20px;padding-right:20px}.project-tools{padding-left:20px;padding-right:20px}.result-heading{display:block}.result-status{display:inline-block;margin-top:12px}.field-grid.three{gap:7px}.field{font-size:10px}.footer-inner>span{display:none}.summary-grid{padding:20px;gap:9px}.patterns{padding:19px 20px 8px}.efficiency{padding-left:20px;padding-right:20px}.quality-note{margin-left:20px;margin-right:20px}}@media(max-width:920px){.hero-art{display:none}.hero>p{max-width:700px}.header-note{display:none}.workspace{grid-template-columns:1fr 1fr;gap:15px}.row-labels,.piece-row{grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr) 50px 22px;gap:6px}.panel-heading{display:block}.text-button{margin-top:10px}.hero h1{font-size:47px}.panel-heading h2{font-size:17px}.field-grid.three{grid-template-columns:1fr 1fr}.field-grid.three .field:last-child{grid-column:1/-1}.summary-grid{gap:8px;padding:16px}.stat{padding:13px 12px}.stat strong{font-size:25px}.stat.money strong{font-size:18px}.patterns-heading{display:block}.patterns-heading p{margin-top:5px}.pattern-header{flex-wrap:wrap}.pattern-tail{width:100%}.pattern-footer{flex-wrap:wrap}.pattern-footer span:last-child{width:100%}}@media(max-width:720px){.container{padding:0 18px}.site-header{height:66px}.brand{font-size:23px}.brand img{width:29px;height:29px}.site-header nav{gap:18px;font-size:11px}.site-header nav a:nth-child(2){display:none}.hero{padding:34px 0 30px}.eyebrow{font-size:8px;letter-spacing:1.2px}.hero h1{font-size:43px;letter-spacing:-2px;max-width:500px}.hero>p{font-size:13px;line-height:1.8}.hero-facts{gap:9px 14px;flex-wrap:wrap;font-size:9px;margin-top:16px}.workspace{grid-template-columns:1fr;gap:20px}.panel-heading{padding:21px;display:flex}.panel-heading h2{font-size:18px}.text-button{margin-top:0}.field-grid.three{grid-template-columns:1.1fr 1fr 1.15fr;gap:9px}.field-grid.three .field:last-child{grid-column:auto}.row-labels,.piece-row{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 57px 25px;gap:8px}.summary-grid{padding:20px;gap:12px}.stat{padding:16px}.stat strong{font-size:30px}.stat.money strong{font-size:22px}.patterns-heading{display:flex}.patterns-heading p{margin:0}.pattern-header{flex-wrap:nowrap}.pattern-tail{width:auto}.pattern-footer span:last-child{width:auto}.how-section{padding:45px 0 35px}.section-heading h2,.faq-section h2{font-size:26px}.how-grid{grid-template-columns:1fr;gap:19px;margin-top:22px}.how-grid article{padding-top:17px;padding-left:50px;min-height:90px}.how-number{position:absolute;left:0;top:14px;margin:0}.how-grid p{max-width:none}.faq-section{grid-template-columns:1fr;gap:25px;padding:35px 0 40px}.faq-section h2{max-width:none}.guide-link{margin-top:12px}.footer-inner{align-items:flex-start}.footer-inner>div{flex-direction:column;gap:5px;font-size:10px}.site-footer{padding:25px 0}.article-page{padding:35px 0 45px}.article-page h1{font-size:34px}.article-page .article-lead{font-size:16px}.article-page p,.article-page li{font-size:14px}.article-page th,.article-page td{padding:8px;font-size:11px}}@media(max-width:380px){.container{padding:0 12px}.hero h1{font-size:38px}.panel-heading,.form-body,.project-tools{padding-left:15px;padding-right:15px}.field-grid.three{grid-template-columns:1fr 1fr}.field-grid.three .field:last-child{grid-column:1/-1}.material-heading{flex-wrap:wrap}.row-labels,.piece-row{gap:5px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 47px 22px}.piece-row input{padding:6px}.summary-grid{padding:15px}.result-heading{display:block}.stat strong{font-size:26px}.stat.money strong{font-size:19px}.text-button{font-size:10px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media print{@page{margin:15mm}body{background:white;font-size:11px}.container{max-width:none;padding:0}.site-header,.hero,.input-panel,.report-actions,.model-note,.how-section,.faq-section,.site-footer,.toast,.skip,.result-heading,.quality-note{display:none!important}.workspace{display:block}.result-panel{border:0;border-radius:0;box-shadow:none;overflow:visible}.print-title,.print-only{display:block}.print-title{margin-bottom:15px;border-bottom:1px solid #ccc;padding-bottom:12px}.print-title h2{font-size:22px}.print-title p{font-size:11px;margin-top:6px}.summary-grid{padding:0 0 16px;grid-template-columns:repeat(4,1fr)}.stat,.stat:first-child{background:white;color:black;border:1px solid #bbb;padding:10px}.stat small,.stat:first-child small,.stat p,.stat:first-child p{color:#555}.stat strong{font-size:23px}.stat.money strong{font-size:16px}.efficiency{padding:0 0 15px}.patterns{padding:15px 0 0}.pattern{border-color:#ccc;margin-bottom:12px}.cut-strip,.efficiency-track{-webkit-print-color-adjust:exact;print-color-adjust:exact}.pattern-tail,.pattern-footer,.piece-legend{color:#555}.print-only{font-size:10px;line-height:1.8;color:#555;margin-top:15px}a{text-decoration:none}}

/* Keep supporting copy legible on phones and desktop. */
.field{font-size:12px}.field-hint,.list-heading p,.calculation-note,.saved-label,.model-note p,.quality-note,.stat p{font-size:11px}.row-labels,.count-pill,.step-label,.stat small,.repeat-pill,.pattern-tail,.pattern-footer,.piece-legend,.efficiency-label,.efficiency-legend{font-size:11px}.piece-row input,.field input,.field select{font-size:14px}.secondary-button,.saved-controls select,.text-button{font-size:12px}.stat.money strong{overflow-wrap:anywhere}.pattern-footer{flex-wrap:wrap}.summary-grid .stat{min-width:0}.pattern-tail{white-space:normal}.result-status{font-size:10px}.footer-inner>span,.footer-inner>div{font-size:11px}
@media(max-width:920px) and (min-width:721px){.workspace{grid-template-columns:1fr}.field-grid.three{grid-template-columns:repeat(3,1fr)}.field-grid.three .field:last-child{grid-column:auto}.panel-heading{display:flex}.result-heading{display:flex}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat strong{font-size:28px}.stat.money strong{font-size:19px}.row-labels,.piece-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 80px 30px}}
@media(max-width:500px){.pattern-header{flex-wrap:wrap}.pattern-tail{width:100%}.repeat-pill{font-size:10px}.panel-heading{align-items:flex-start}.text-button{font-size:10px}.form-body{padding-left:18px;padding-right:18px}.unit-field{font-size:11px}.unit-field select{width:138px;font-size:11px}}
@media print{.field-hint,.model-note p,.quality-note,.stat p,.pattern-tail,.pattern-footer,.piece-legend,.efficiency-label,.efficiency-legend{font-size:9px}}
