/* Phone layout. Screen-only rules preserve A4 quotation printing. */
@media screen and (max-width:760px){
 html{scroll-padding-bottom:235px}body{min-width:320px}.header{padding:10px 14px;gap:8px;height:auto;min-height:0}.brand{gap:12px}.brand>img{width:74px;height:44px}.brand>span{font-size:20px}.header-right{width:100%;margin:0;display:flex;flex-wrap:wrap;gap:6px}.header-right button{flex:1;min-height:44px;font-size:12px;padding:10px 8px}#presentation-button{flex-basis:100%}.connection{display:none}
 #home{padding:14px}.intro{min-height:0}.intro>div{padding:20px}.intro h1{font-size:25px;line-height:1.25}.intro h1 br{display:none}.intro figure{height:160px}.intro .source-tag{font-size:11px;line-height:1.5}.width-selector{margin-top:16px;padding:16px;gap:12px}.width-selector h2{font-size:20px}#width-filters{display:grid;grid-template-columns:1fr 1fr;width:100%}#width-filters button{padding:12px 8px;font-size:13px}#width-filters button:last-child{grid-column:1/-1}.section-title h2{font-size:22px}.model-cards{grid-template-columns:1fr;gap:16px}.model-card:last-child{grid-column:auto}.model-card:hover{transform:none}.card-art{height:230px}.card-body{padding:18px}.card-body h3{font-size:23px}.card-body p{font-size:14px;min-height:0}.card-body .dimensions{font-size:14px;margin:10px 0}.card-price{font-size:17px;margin-top:6px;min-height:32px}.card-cta{font-size:15px;margin-top:12px}.home-footer{flex-direction:column;font-size:11px}
 #editor{padding-bottom:calc(225px + env(safe-area-inset-bottom,0px))}.project-bar{padding:10px 14px;gap:8px}.project-bar>div{display:none}#back-button{flex:1;text-align:left}#model-select{width:145px;font-size:16px}.secondary-actions{gap:8px;justify-content:space-between}.secondary-actions button{font-size:12px;min-height:44px}
 .workspace,.presentation .workspace{display:flex;flex-direction:column;height:auto;min-height:0}.scene,.presentation .scene{height:auto;min-height:0;padding:16px 14px;border:0}.scene-top h2{font-size:26px}.scene-top p{font-size:12px}.image-stage{flex:none;height:clamp(220px,42svh,350px);margin:14px 0}.scene-controls{display:grid;grid-template-columns:1fr;gap:8px}.segmented{width:100%}.segmented button{flex:1;font-size:14px;min-height:52px}.scene-controls #room-button{min-height:44px;font-size:13px}.image-note{font-size:11px}.scene-bottom{flex-wrap:wrap}.panel{min-width:0}.steps{position:sticky;top:0;z-index:4;padding:0 14px;gap:10px}.steps button{font-size:13px;min-height:52px}.panel-scroll,.presentation .panel-scroll{padding:20px 14px;overflow:visible}.panel-scroll h2{font-size:23px}.color-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.color-option{font-size:14px;min-height:112px;padding:10px}.color-option.active{padding:9px}.color-option .sample{height:50px}.panel-scroll .muted{font-size:12px}.panel-scroll .wide{font-size:14px}.equipment-item strong,.fixed-part{font-size:14px}.equipment-item small,.fixed-part small{font-size:12px}.form-row{grid-template-columns:1fr}#client-form input,#client-form select,#client-form textarea{font-size:16px}#client-form label{font-size:14px}
 .sales-bar,.presentation .sales-bar{position:fixed;bottom:0;left:0;right:0;width:100%;height:auto;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:8px;padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px));z-index:6}.selection-summary,.price-summary{min-width:0;max-width:100%;margin:0!important}.selection-summary{gap:4px}.selection-summary strong{font-size:16px}.selection-summary span{font-size:12px}.price-summary{text-align:right}.price-top{justify-content:flex-end;font-size:10px}#catalog-date{display:none}#total-price{font-size:20px;letter-spacing:-.5px;line-height:1.15;margin:4px 0}#price-note{font-size:10px;line-height:1.3}.sales-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px}.sales-actions button{font-size:12px;min-height:44px;padding:10px 8px}#order-button{grid-column:1/-1;font-size:14px}.sales-actions #save-state{display:none}#toast{bottom:calc(225px + env(safe-area-inset-bottom,0px));width:calc(100% - 28px);font-size:13px}
 .presentation #editor{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}.presentation .header{height:auto;padding:8px 14px}.presentation .header-right{width:100%}.presentation .sales-bar{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
 dialog{width:calc(100% - 16px);max-width:none;max-height:calc(100dvh - 24px);padding:16px;border-radius:12px}.dialog-header{top:-16px;gap:12px;margin-bottom:12px;padding:8px 0 12px}.dialog-header h2{font-size:20px;overflow-wrap:anywhere}#dialog-content{min-width:0;overflow-wrap:anywhere}.dialog-actions{display:grid;grid-template-columns:1fr}.dialog-actions button{width:100%}.project-row>div{min-width:0}.quote-head{gap:10px}.quote-head>div{text-align:left}.quote-product{grid-template-columns:1fr;gap:12px}.quote-product>img{height:200px}.quote-product h2{font-size:26px}.quote-contacts{grid-template-columns:1fr;padding:14px;gap:8px}.quote-pricing{display:block;padding:14px}.quote-pricing>div:last-child{text-align:left}.quote-total{text-align:left;font-size:24px}.quote table{font-size:12px;table-layout:fixed}.quote th:last-child{width:90px}.quote td,.quote th{padding:8px 4px}.company-contacts a{display:inline-block;padding:4px 0}.order-review h3{font-size:23px!important}.order-review dl{padding:14px}.zoom-image{max-height:70dvh}
}
@media screen and (max-width:380px){.header-right button{font-size:11px}.selection-summary strong{font-size:14px}#total-price{font-size:18px}.scene-bottom{font-size:11px}.steps{gap:6px}.steps button{font-size:12px}}
