/* Intrinsic sizing: each surface contains its content at every breakpoint. */
.stage{height:auto!important;min-height:0!important;max-height:none!important;align-items:stretch}
.map-section{min-width:0;min-height:0}.map-scroll{display:block;height:auto;min-height:0;flex:0 0 auto;overflow:auto}.world-canvas{width:100%;min-width:1100px;max-width:none;margin:0}.world-canvas #warehouseMap{display:block;width:100%;height:auto;min-height:0;max-height:none}.map-caption{width:auto;max-width:none;overflow-wrap:anywhere}.inspector{min-width:0}.timeline{position:relative;clear:both;min-width:0;margin-top:20px}.timeline>*{min-width:0}.timeline-track{min-width:0}.timeline-actions{flex-wrap:wrap;white-space:normal}.timeline-heading strong,.timeline-heading span{overflow-wrap:anywhere}.topbar{flex-wrap:wrap;padding-block:14px}.topbar>div{min-width:0}.topbar-actions{flex-wrap:wrap}.eyebrow,.workspace-kicker{overflow-wrap:anywhere}.rolebar,.map-toolbar,.toolbar-actions,.world-controls,.module-toolbar,.panel-actions,.map-footer,.legend{min-width:0;flex-wrap:wrap}.rolebar-intro{flex:1 1 240px}.role-switch{max-width:100%;flex-wrap:wrap;overflow:visible}.role-btn{min-width:0;flex:1 1 140px;white-space:normal;line-height:1.4}.map-title{min-width:0;flex:1 1 220px}.toolbar-actions{max-width:100%}.segmented{max-width:100%;flex-wrap:wrap;white-space:normal}.toolbar-button{white-space:normal}.world-controls label{min-width:0;max-width:100%;flex-wrap:wrap}.world-controls select{min-width:0}.connected-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.connected-panel{min-width:0;container-type:inline-size}.connected-panel>header{min-width:0;flex-wrap:wrap}.connected-panel h2{min-width:0;flex:1 1 170px;overflow-wrap:anywhere}.widget-source{min-width:0;max-width:100%;flex:1 1 130px;overflow-wrap:anywhere}.workspace-summary>div,.priority-row>div,.module-item>div,.record-comparison>div{min-width:0}.module-item{flex-wrap:wrap}.module-item>div:first-child{flex:1 1 230px}.module-item .panel-actions{flex:1 1 190px;max-width:100%;flex-shrink:1;align-self:flex-start}.workspace-button,.decision-btn,.filter-btn,.module-chip{max-width:100%;white-space:normal;overflow-wrap:anywhere}.module-item h3,.module-item p,.module-banner,.detail-copy,.inspector-lede,.result-banner,.scope-list dd,.module-detail-list dd{overflow-wrap:anywhere}.role-metric{min-width:0}.role-metric span,.role-metric strong,.role-metric small{min-width:0;white-space:normal;overflow-wrap:anywhere}.role-panel-head{flex-wrap:wrap;gap:8px}.signal-list>div{min-width:0}.signal-list dt,.signal-list dd{min-width:0;overflow-wrap:anywhere}.module-detail-list{grid-template-columns:minmax(90px,120px) minmax(0,1fr)}.module-view p{font-size:1rem}.module-view .module-session-note{font-size:.8rem}.module-item h3{font-size:1rem;line-height:1.4}.module-detail-list{font-size:.9rem}.workflow-dialog{width:min(720px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}.workflow-dialog header{gap:16px}.workflow-dialog header>div{min-width:0}.workflow-dialog h2,.notes-header h2{overflow-wrap:anywhere}.workflow-dialog label{min-width:0;font-size:.9rem}.workflow-dialog footer{flex-wrap:wrap}.workflow-dialog input,.workflow-dialog textarea,.workflow-dialog select{min-width:0;max-width:100%}.workflow-dialog p{overflow-wrap:anywhere}.notes-header>div,.notes-connections article{min-width:0}.notes-close{flex-shrink:0}.notes-header{gap:14px}.notes-content,.notes-section{min-width:0}.notes-content p,.notes-content h3,.notes-content h4{overflow-wrap:anywhere}.table-scroll{max-width:100%;overflow:auto}.operational-table{table-layout:auto}.operational-table th,.operational-table td{white-space:normal;overflow-wrap:anywhere}.rail{overflow:hidden;min-height:0}.rail .brand,.rail-caption,.rail-bottom{flex-shrink:0}.rail #workspaceNav{min-width:0;min-height:0}.rail-link{min-width:0;overflow-wrap:anywhere}.module-subnav .rail-link{font-size:.875rem;white-space:normal}.navigation-area{min-width:0}.page-nav{max-width:100%}.page-tab{flex-shrink:0}.cad-label{font-size:20px}.cad-meta{font-size:15px}
@container(max-width:400px){.connected-panel>header{flex-direction:column;gap:6px}.connected-panel h2,.widget-source{flex:none;max-width:100%;text-align:left}.module-item{flex-direction:column}.module-item>div:first-child,.module-item .panel-actions{flex:none;width:100%}}
@media(min-width:1700px){.inspector{max-height:1100px}}
@media(max-width:1060px){.rail{height:auto;overflow:visible}.rail #workspaceNav{overflow-x:auto;overflow-y:hidden;flex:1 1 100%;max-width:100%;min-width:0}.navigation-area>.rail-link{min-width:max-content;white-space:nowrap}.connected-grid{grid-template-columns:1fr}}
@media(max-width:600px){.topbar-actions{width:100%}.role-btn{flex-basis:120px}.world-controls{gap:12px}.world-controls label{width:100%;flex:none}.world-controls select{width:100%}.toolbar-actions{width:100%}.segmented{width:100%}.map-scroll{height:auto;max-height:none}.module-detail-list{grid-template-columns:1fr;gap:7px}.module-detail-list dd{margin-bottom:10px}.workflow-dialog{padding:16px}.workflow-dialog footer{justify-content:flex-start}.inspector{max-height:none}.timeline{grid-template-columns:minmax(0,1fr)}}
