.mobile-progress,.mobile-product-preview,.mobile-order-bar,.mobile-quick-values,.color-text,.color-face-preview{display:none}.input-mode-switch{margin-top:15px}.input-mode-switch button{font-size:10px;padding:9px 5px}.bend-angle-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.face-selector button{font-size:10px;padding:10px 4px}.flange-details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;margin:0}.flange-details[open]>summary{margin-bottom:12px}.details-chevron{margin-left:auto;color:#9ca98d}.flange-details[open] .details-chevron{transform:rotate(180deg)}.flange-details summary::-webkit-details-marker{display:none}.sketch-tap-hint{display:flex;align-items:center;justify-content:center;gap:6px;padding:9px;color:#7a8f68;font-size:10px;background:#f0f4e9;border-bottom:1px solid #e3eadb}.sketch-edit{cursor:pointer;outline:none}.sketch-edit:hover .sketch-pill,.sketch-edit:focus .sketch-pill{fill:#e4edda;stroke:#829a6a;stroke-width:1.2}.sketch-edit text{pointer-events:none;user-select:none}.sketch-hit{pointer-events:all}.technical-sketch{height:330px}.legend-line.back{border-color:#bfc7c1}.color-face-controls{margin-top:20px;max-width:300px}.dimension-dialog{max-width:380px}.dimension-value{position:relative;margin:20px 0 15px}.dimension-value input{font-size:38px;padding:18px 60px 18px 20px;height:88px;letter-spacing:-1px;color:var(--green);text-align:center}.dimension-value>span{position:absolute;right:22px;top:31px;color:#98a58d;font-size:15px}.dimension-presets{display:flex;gap:8px;margin-bottom:22px}.dimension-presets button{flex:1;min-height:42px;background:#f1f5eb;border:1px solid #dfe6d4;border-radius:7px;font-size:12px;color:#6e835d}.dimension-presets button:hover{background:#e4edda}.dimension-dialog .modal-body{padding-bottom:25px}.editor-error:empty{display:none}.editor-error{font-size:11px;color:#a35d43;background:#fbf1e8;padding:10px;border-radius:5px;margin:13px 0}.mobile-progress button:focus-visible{outline:2px solid #8aa276}.color-section .face-selector button{font-size:11px;min-height:39px}
@media(min-width:561px){.editor[data-input-mode=sketch] .dimension-fields{display:block}.input-mode-switch{display:none}.controls{padding:20px}.controls .input-unit input{height:38px}.controls .dim-fields .field{margin-top:12px}.controls .field-label{font-size:10px}.flange-details{margin-top:10px}.drawing-area{min-height:490px}}
@media(max-width:560px){
 html{scroll-padding-top:75px}.customer-view .hero{padding-top:25px;padding-bottom:24px;display:block}.customer-view .hero h1{font-size:33px;line-height:1.1;letter-spacing:-1.3px}.customer-view .hero h1 br{display:none}.customer-view .hero h1 span{margin-left:6px}.customer-view .hero p{font-size:11px;line-height:1.65;margin-top:12px;max-width:330px}.customer-view .hero-art,.customer-view .hero-features,.customer-view .hero .eyebrow{display:none}.customer-view:not([data-mobile-stage="0"]) .hero{display:none}.customer-view .section-top{padding:18px 0 16px;margin:0;border:0;gap:14px}.customer-view .section-top h2{font-size:20px}.customer-view .step-track{display:none}.mobile-progress{display:flex;gap:6px;width:100%;padding:4px;background:#e9ede1;border-radius:9px}.mobile-progress button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-height:41px;padding:8px 3px;font-size:10px;border:0;border-radius:6px;background:none;color:#8b997d;white-space:nowrap}.mobile-progress button.selected{background:white;color:var(--green);box-shadow:0 1px 5px #243e2520}.mobile-progress b{font-size:9px;font-weight:400;width:16px;height:16px;display:grid;place-items:center;border:1px solid #cbd6be;border-radius:50%}.mobile-progress button.selected b{background:var(--green);color:white;border-color:var(--green)}.customer-view #calculator>.calculator-layout>.main-column>.section-label{display:none}.customer-view .products{margin-bottom:15px;gap:9px}.customer-view .product{padding:13px 10px;min-height:103px}.customer-view .product svg{height:54px}.customer-view .product-name{font-size:12px;margin-top:7px}.customer-view .product .check{right:8px;top:7px;background:#244b3c;color:white;border-radius:50%;width:15px;height:15px;font-size:10px}.mobile-product-preview{padding:14px 20px 20px;text-align:center;background:#edf1e4;border:1px solid #dfe7d4;border-radius:12px}.mobile-product-preview svg{height:150px;width:100%;margin:auto;max-width:300px}.mobile-product-preview h3{font-size:16px;color:var(--green)}.mobile-product-preview p{font-size:10px;line-height:1.65;color:#92a080;max-width:250px;margin:7px auto 0}.customer-view[data-mobile-stage="0"] .mobile-product-preview{display:block}.customer-view[data-mobile-stage="0"] #editor,.customer-view[data-mobile-stage="0"] .color-section,.customer-view[data-mobile-stage="0"] #summary{display:none}.customer-view[data-mobile-stage="1"] .products,.customer-view[data-mobile-stage="1"] .color-section,.customer-view[data-mobile-stage="1"] #summary{display:none}.customer-view[data-mobile-stage="2"] .products,.customer-view[data-mobile-stage="2"] #editor{display:none}.customer-view .editor{border-radius:11px;display:flex;flex-direction:column}.customer-view .drawing-area{order:-1;min-height:0;border-bottom:1px solid var(--line)}.customer-view .drawing-toolbar{padding:11px 14px}.customer-view .drawing-actions .icon-btn{padding:8px}.customer-view .sketch-tap-hint{font-size:10px;padding:8px}.customer-view .technical-sketch{height:auto;aspect-ratio:500/330;min-height:235px}.customer-view .drawing-caption{margin:0 14px;font-size:8px}.customer-view .flat-pattern{margin:12px 0 0;padding:12px 14px}.customer-view .flat-pattern svg{height:42px}.customer-view .drawing-legend{padding:8px;font-size:8px}.customer-view .controls{padding:17px;border:0}.customer-view .controls h3{font-size:14px}.customer-view .controls>.hint{font-size:10px}.customer-view .input-mode-switch{display:flex;margin:13px 0 15px}.customer-view .input-mode-switch button{min-height:38px;font-size:11px}.customer-view .editor[data-input-mode=sketch] .dimension-fields{display:none}.customer-view .editor[data-input-mode=fields] .dimension-fields{display:block}.customer-view .dim-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-view .controls .input-unit input{height:46px;font-size:16px;padding:10px 30px 10px 12px}.customer-view .controls .input-unit>span{top:14px}.customer-view .field-label{font-size:11px}.customer-view .bend-angle-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-view .mobile-quick-values{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.customer-view .mobile-quick-values button{border:1px solid #dfe6d4;background:#f5f8ef;border-radius:7px;padding:11px 12px;text-align:left;color:#8c9c7d;font-size:10px;min-height:58px}.customer-view .mobile-quick-values strong{display:block;margin-top:3px;font-size:14px;font-weight:400;color:#4f6b40}.customer-view .editor[data-input-mode=fields] .mobile-quick-values{display:none}.customer-view .controls .rule{margin:16px 0}.customer-view .flange-details>summary{min-height:34px;font-size:12px}.customer-view .flange-details[open]>summary{margin-bottom:13px}.customer-view .flanges-container{gap:10px}.customer-view .segmented button{min-height:40px;font-size:10px}.customer-view .flange-size{flex-wrap:wrap;gap:6px;font-size:10px}.customer-view .flange-size input{font-size:16px;min-height:42px;width:72px}.customer-view .face-selector button{font-size:12px;min-height:44px}.customer-view .color-section{padding:5px 0 0}.customer-view .color-head{display:block;margin-bottom:18px}.customer-view .color-head .num{display:none}.customer-view .color-head .section-label{font-size:16px}.customer-view .selected-color-label{display:block;text-align:left;font-size:10px;margin-top:7px}.customer-view .colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.customer-view .color-btn{width:100%;height:auto;min-height:108px;border:1px solid #dfe5d5;border-radius:10px;background:white;padding:12px 5px;display:flex;flex-direction:column;align-items:center;gap:8px}.customer-view .color-btn.selected{outline:none;border-color:var(--green);box-shadow:inset 0 0 0 .5px var(--green);background:#eef3e6}.customer-view .color-btn.selected:after{top:15px;left:calc(50% - 4px);font-size:11px}.customer-view .color-text{display:block;font-size:11px;color:#5b7050;text-align:center}.customer-view .color-text small{font-size:9px;color:#93a184;display:block;margin-top:3px}.customer-view .color-note{font-size:9px;line-height:1.6;margin-top:13px}.customer-view .color-face-controls{max-width:none;margin-top:22px}.customer-view .color-face-controls .sub-title{font-size:14px}.customer-view .color-face-preview{display:block;margin-top:14px;border:1px solid var(--line);border-radius:10px;background:#fbfcf9;padding:5px}.customer-view .color-face-preview svg{height:230px;width:100%}.customer-view[data-mobile-stage="2"] .summary{margin-top:0}.customer-view[data-mobile-stage="2"] .summary-breakdown{display:block}.customer-view[data-mobile-stage="2"] .summary-top{padding:15px 18px}.customer-view[data-mobile-stage="2"] .summary-content{padding:18px}.customer-view .summary-actions #order-now{display:none}.customer-view .summary-actions #add-to-cart{margin-top:0;min-height:46px}.customer-view .summary-price-block{display:none}.customer-view .summary-note{font-size:9px}.mobile-order-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fffffff5;border-top:1px solid #dbe3d0;padding:13px 17px calc(13px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px #2541290a;backdrop-filter:blur(10px)}.mobile-bar-price{min-width:94px}.mobile-bar-price small{display:block;font-size:9px;color:#95a38a}.mobile-bar-price strong{display:block;font-size:23px;color:var(--green);font-weight:500;letter-spacing:-.7px;line-height:1.3}.mobile-bar-actions{display:flex;gap:8px;align-items:center}.mobile-bar-actions .btn{min-height:48px;font-size:12px;white-space:nowrap;padding:13px 16px}.mobile-bar-actions .mobile-back{padding:10px;width:39px;font-size:18px;min-width:35px}.customer-view .info-strip{margin-top:28px;padding:20px 0;gap:14px}.customer-view .how,.customer-view .faq{display:none}.customer-view .footer{margin-bottom:92px}.customer-view .footer .wrap{font-size:8px}.dimension-dialog{max-width:none;width:100%;border-radius:16px 16px 0 0;margin:0;position:fixed;top:auto;bottom:0;max-height:92dvh;border-bottom:0}.dimension-dialog .modal-head{padding:20px}.dimension-dialog .modal-head h2{font-size:21px}.dimension-dialog .modal-body{padding:20px 20px calc(24px + env(safe-area-inset-bottom))}.dimension-value input{font-size:44px;height:94px}.dimension-presets button{min-height:46px;font-size:14px}.dimension-dialog .btn{min-height:50px;font-size:14px}.dimension-dialog .modal-head .close{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;font-size:24px}dialog{max-height:92dvh}dialog:not(.dimension-dialog)[open]{display:flex;flex-direction:column}.modal-head{flex-shrink:0}.modal-body{overflow-y:auto}.modal-foot{flex-shrink:0;background:white;padding-bottom:calc(16px + env(safe-area-inset-bottom))}.modal-foot .btn{min-height:46px}.modal-body input,.modal-body select,.modal-body textarea{font-size:16px}.cart-row{gap:10px}.cart-title{font-size:12px}.cart-sub{line-height:1.7;font-size:9px}.cart-actions{font-size:12px}.cart-actions button{width:33px;height:40px}.sketch-edit .sketch-pill{stroke-width:1.2}
}
@media print{.input-mode-switch,.sketch-tap-hint,.mobile-order-bar,.mobile-progress,.mobile-product-preview,.mobile-quick-values,.color-face-controls,.color-face-preview{display:none!important}.sketch-edit .sketch-pill{fill:white;stroke:none}.sketch-hit{display:none}.technical-sketch{height:450px!important}.customer-view .controls{display:none}.customer-view #editor{display:block!important}}
@media(max-width:560px){.customer-view .header-actions>a{display:none}.mobile-order-bar{gap:10px}.mobile-bar-price{flex:1;min-width:0}.mobile-bar-price strong{font-size:clamp(17px,5.5vw,23px);overflow-wrap:anywhere}.mobile-bar-actions{flex-shrink:0}#checkout-form .split-fields{grid-template-columns:1fr}}
@media(max-width:360px){.wrap{padding-left:14px;padding-right:14px}.mobile-progress button{font-size:9px;gap:4px}.mobile-order-bar{padding-left:14px;padding-right:14px}.mobile-bar-actions{gap:6px}.mobile-bar-actions .btn{font-size:11px;padding:12px 10px}.mobile-bar-actions .mobile-back{width:32px;min-width:32px}.mobile-bar-price small{font-size:8px}}
