/* Loaded after the planner modules so all controls share the same breakpoints. */
.bip.bip-app{width:100%;min-width:0;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
.bip .bip-panel,.bip .bip-fields>* ,.bip .bip-service-grid>*,.bip .bip-inspector,.bip .bip-summary,.bip .bip-file>*{min-width:0;}
.bip .bip-summary dd{margin-left:0;min-width:0;overflow-wrap:anywhere;}
.bip .bip-file,.bip .bip-help,.bip .bip-note,.bip .bip-message,.bip .bip-privacy{overflow-wrap:anywhere;}
.bip input[type=file]{max-width:100%;min-width:0;}
.bip .bip-levels,.bip .bip-geometry,.bip .bip-cad,.bip .bip-table-scroll,.bip .bip-levels-table{min-width:0;max-width:100%;}
.bip .bip-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible;}
.bip .bip-steps button{min-width:0;white-space:normal;overflow-wrap:break-word;}
.bip .bip-floor-card{box-sizing:border-box;}
.bip .bip-floor-overview-row,.bip .bip-table-scroll,.bip .bip-levels-table{overscroll-behavior-x:contain;}
@media(max-width:1100px){
 .bip input:not([type=radio]):not([type=checkbox]),.bip select,.bip textarea{font-size:16px!important;}
 .bip button,.bip .bip-steel-tables button,.bip .bip-levels button,.bip .bip-upload-button{min-height:44px;}
 .bip .bip-steel-tables input,.bip .bip-steel-tables select{min-height:44px;}
 .bip .bip-steel-workspace{grid-template-columns:minmax(0,1fr);gap:18px;}
 .bip .bip-steel-viewer{position:static;}
 .bip .bip-steel-workspace .bip-steel-canvas{height:clamp(300px,48vw,500px);}
 .bip .bip-drawing{grid-template-columns:minmax(0,1fr);}
}
@media(max-width:760px){
 .bip.bip-app{margin:0 auto;border-radius:10px;}
 .bip .bip-header{padding:16px;flex-wrap:wrap;}
 .bip .bip-intro,.bip .bip-panel{padding:22px 16px;}
 .bip .bip-steps{grid-template-columns:repeat(3,minmax(0,1fr));padding:0 10px;gap:0;}
 .bip .bip-steps button{font-size:14px;padding:10px 4px;}
 .bip .bip-service-grid,.bip .bip-fields,.bip .bip-doc-status,.bip .bip-levels-fields{grid-template-columns:minmax(0,1fr);gap:14px;}
 .bip .bip-geometry .bip-fields{grid-template-columns:repeat(2,minmax(0,1fr));}
 .bip .bip-service{padding:18px;gap:10px;}
 .bip .bip-service strong{font-size:20px;}
 .bip .bip-panel-title{display:block;}
 .bip .bip-summary{padding:12px;}
 .bip .bip-summary dl{grid-template-columns:minmax(0,1fr);gap:4px;}
 .bip .bip-summary dt{font-weight:650;}
 .bip .bip-summary dd{margin-bottom:12px;}
 .bip .bip-levels{padding:12px;}
 .bip .bip-floor-card{flex:0 0 88%;max-width:360px;}
 .bip .bip-geometry,.bip .bip-cad{padding:12px 8px;}
 .bip .bip-tools{gap:8px;}
 .bip .bip-tools button{flex:1 1 auto;white-space:normal;}
 .bip .bip-footer{padding:16px;display:flex;flex-wrap:wrap;gap:12px;}
 .bip .bip-footer button{flex:1;min-width:0;font-size:16px;}
 .bip .bip-step-count{display:none;}
 .bip .bip-warning{margin:0 16px 12px;}
 .bip .bip-file{grid-template-columns:minmax(0,1fr);}
 .bip .bip-file select{grid-column:auto;grid-row:auto;}
 .bip .bip-note{padding:14px;}
}
@media(max-width:420px){
 .bip .bip-intro,.bip .bip-panel{padding-inline:12px;}
 .bip .bip-geometry .bip-fields,.bip .bip-inspector,.bip .bip-selection{grid-template-columns:minmax(0,1fr);}
 .bip .bip-header{gap:8px;}
 .bip .bip-badge{font-size:12px;}
 .bip h2{font-size:28px;}
 .bip h3{font-size:22px;}
 .bip .bip-floor-card{flex-basis:94%;}
}
