/* Compact selection uses the same header footprint as an empty search. */
.szm-tour-workspace .szm-unified-search.has-selection .szm-unified-orders>.szm-search-customer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:7px 9px;min-height:76px;align-content:start;}
.szm-tour-workspace .szm-unified-search .szm-search-customer .szm-search-order-line{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:9px;grid-column:1/-1;min-width:0;line-height:18px;font-size:12px;margin:0;}
.szm-tour-workspace .szm-search-order-line>strong,.szm-tour-workspace .szm-search-order-line>.szm-search-order-plate{flex:none;white-space:nowrap;}
.szm-tour-workspace .szm-search-order-line>.szm-search-order-name{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;}
.szm-tour-workspace .szm-unified-search .szm-search-customer .szm-selected-address{grid-column:1/-1;white-space:normal;overflow-wrap:anywhere;line-height:16px;}
.szm-tour-workspace .szm-unified-search .szm-search-customer>small[role=status]{grid-column:1;align-self:center;line-height:16px;}
.szm-tour-workspace .szm-unified-search .szm-search-customer>.szm-search-order-editor{grid-column:2;grid-row:3;margin:0;min-width:0;}
.szm-tour-workspace .szm-search-order-editor>summary{font-size:10px;line-height:16px;color:#245e83;cursor:pointer;white-space:nowrap;}
.szm-tour-workspace .szm-unified-search .szm-search-customer>.szm-search-order-editor[open]{grid-column:1/-1;grid-row:4;}
.szm-tour-workspace .szm-search-order-editor[open] .szm-search-edit-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(85px,28%);margin-top:6px;}
.szm-tour-workspace .szm-unified-search .szm-search-order-editor .szm-search-edit-fields label{display:block;white-space:normal;}
.szm-tour-workspace .szm-unified-search .szm-search-order-editor .szm-search-edit-fields input{width:100%;}
.szm-tour-workspace .szm-search-order-editor .szm-search-notes{max-height:none;margin:5px 0;}
.szm-route-pin.is-start{width:34px!important;height:38px!important;}
.szm-route-pin.is-hall{width:48px!important;height:44px!important;}
.szm-route-pin.is-start>svg,.szm-route-pin.is-hall>svg{width:100%!important;height:100%!important;overflow:visible;}
/* No reserved row for the removed all-drivers button, and no overlapping cards. */
.szm-tour-workspace .szm-tour-left-content>.szm-tour-driver-list{overflow:auto;grid-template-rows:20px repeat(var(--szm-driver-count,4),minmax(58px,1fr));}
.szm-tour-workspace .szm-tour-driver-list>.szm-tour-driver-card{min-height:58px;overflow:visible;}
@media(max-width:600px){.szm-tour-workspace .szm-search-order-line{gap:6px;font-size:11px;}}
/* Reclaim unused desktop navigation width while preserving type and icons. */
@media(min-width:801px){
 .staff-app{--staff-sidebar-width:185px;}
 .staff-app .staff-sidebar{padding-inline:10px;}
 .staff-app .staff-sidebar nav>button,.staff-app .staff-sidebar nav>a{padding-inline:8px;gap:10px;}
}
@media(min-width:801px) and (max-width:1200px){.staff-app{--staff-sidebar-width:170px;}}
