/* V0012 fluid monitor and mobile app layout */
*,*::before,*::after{box-sizing:border-box}html{max-width:100%;scroll-behavior:smooth}body{max-width:100%;min-width:0;overflow-x:clip}img,video,canvas,svg{max-width:100%;height:auto}main,section,.wizard,.wizard-grid,.wizard-main,.sidebar,.hero,.hero-content,.form-panel,.product-card,.structure-card{min-width:0;max-width:100%}p,h1,h2,h3,h4,.summary-row,.quote-line,.product-name{overflow-wrap:anywhere}input,select,textarea{min-width:0;max-width:100%}.hero{min-height:min(680px,calc(100svh - 70px))}.hero h1{font-size:clamp(2rem,3.2vw,3.7rem)}.hero-content{max-width:min(750px,95%)}.hero-image{background-size:cover}.intro,.wizard{width:min(100%,1480px);margin-inline:auto}.structure-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr))}.wizard-grid{grid-template-columns:minmax(0,1fr) minmax(255px,330px)}.topbar{gap:1rem}.topbar nav{min-width:0;flex-wrap:wrap}.quote-line .info{min-width:0}.quote-line b{white-space:normal;text-align:right}.progress-item{min-width:0}
@media(min-width:1900px){.intro,.wizard{width:min(92vw,1680px)}.hero-content{max-width:920px}.structure-card img{height:clamp(215px,19vh,390px);object-fit:cover}}
@media(max-width:1050px){.wizard-grid{grid-template-columns:minmax(0,1fr)}.sidebar{position:static}.structure-card img{height:clamp(140px,19vw,240px)}}
@media(max-width:820px){.hero{min-height:min(670px,calc(100svh - 65px))}.hero-content{width:100%;max-width:100%}.wizard-grid{display:block}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.structure-cards{gap:12px}}
@media(max-width:560px){body{background:#f7faff}.hero{min-height:max(480px,calc(100svh - 65px))}.hero-content{padding:clamp(35px,7vh,80px) 18px 24px}.hero h1{font-size:clamp(29px,9vw,40px);line-height:1.12}.hero-features{gap:8px}.structure-cards{grid-template-columns:1fr}.structure-card img{height:clamp(170px,28svh,280px);object-fit:cover}.wizard{padding-inline:12px}.wizard-head h1{font-size:clamp(23px,7vw,32px)}.progress{overflow-x:auto;scrollbar-width:thin;padding-bottom:8px}.progress-item{flex:0 0 15.8%;min-width:45px}.product-grid{gap:9px}.product-card{min-width:0}.product-image{height:clamp(120px,36vw,175px);object-fit:contain}.product-actions button{min-height:42px}.side-actions{padding-bottom:max(12px,env(safe-area-inset-bottom))}.field-grid{grid-template-columns:1fr}.premium-modal-box{max-width:100vw}.hero-cta,.primary,.btn-blue{touch-action:manipulation}}
@media(max-width:370px){.product-grid{grid-template-columns:1fr}.product-image{height:190px}.progress-item strong{font-size:8px}.quote-line{gap:8px}.quote-line img{width:45px;height:45px}}
@media(max-height:680px) and (min-width:821px){.hero{min-height:490px}.hero-content{padding-top:36px;padding-bottom:32px}.hero h1{font-size:clamp(31px,3vw,49px)}.hero-features{margin-top:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.admin-layout,.admin-body,.crm-details,.crm-shell{min-width:0}.admin-table-wrap,.crm-table-scroll{max-width:100%;overflow-x:auto}.staff-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.staff-form label{display:grid;gap:7px}.staff-form input,.staff-form select,.staff-inline select{border:1px solid #cdd9eb;padding:12px;border-radius:9px;max-width:100%}.staff-inline{display:flex;align-items:center;flex-wrap:wrap;gap:8px}@media(max-width:760px){.admin-layout{display:block}.admin-body{padding:12px}.crm-metrics{gap:8px}.crm-metric{padding:12px}.crm-metric strong{font-size:23px}}
