@media(max-width:760px){
 /* The map owns its height; legend and notices must contribute to normal flow. */
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-tour-map-column{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;min-width:0;width:100%;max-width:100%}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-tour-map-column>.szm-pilot-map-section{display:flex!important;flex-direction:column;height:auto!important;min-height:0!important;max-height:none!important;width:100%;min-width:0;margin:0;box-sizing:border-box;flex:none}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-tour-map-column .szm-map-frame{flex:none!important;width:100%;height:clamp(320px,52svh,460px)!important;min-height:320px!important;max-height:none!important;box-sizing:border-box}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-tour-map-legend{display:flex!important;flex-direction:column;flex:none!important;gap:6px;height:auto!important;min-height:0;max-height:none;position:static!important;width:100%;max-width:100%;padding:10px;box-sizing:border-box;font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-tour-map-legend>span{display:block;flex:none;min-width:0;max-width:100%;font:inherit;white-space:normal;line-height:inherit}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-tour-map-panel>.szm-pilot-note{display:block;position:static;max-width:100%;height:auto;margin:10px 0;font-size:13px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-map-overlay-controls{left:8px!important;right:8px!important;bottom:26px!important;width:auto!important;max-width:none!important;min-width:0;box-sizing:border-box}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-map-overlay-controls>.szm-map-planning-controls{display:grid!important;grid-template-columns:minmax(0,1fr);width:100%!important;max-width:100%!important;min-width:0;gap:7px;padding:8px;box-sizing:border-box}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-map-planning-controls>.szm-map-backlog-toggle{display:flex!important;align-items:center;gap:8px;width:100%;max-width:100%;min-width:0;min-height:36px;white-space:normal!important;font-size:13px;line-height:1.4}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-map-backlog-toggle>span{min-width:0;white-space:normal!important;overflow-wrap:anywhere}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-map-backlog-toggle input{flex:none}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-map-planning-controls>button:not(.szm-map-reset-tour){display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;height:auto!important;padding:9px 8px!important;white-space:normal!important;overflow-wrap:anywhere;font-size:13px!important;line-height:1.4!important;box-sizing:border-box}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-map-planning-controls>button svg{flex-shrink:0}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-map-planning-controls:has(>.szm-map-reset-tour){grid-template-columns:minmax(0,1fr) 44px}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-map-planning-controls>.szm-map-backlog-toggle{grid-column:1/-1}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-map-planning-controls>.szm-map-reset-tour{width:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;height:auto!important;padding:8px!important;box-sizing:border-box}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-tour-status-strip{display:grid!important;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;height:auto;max-width:100%;padding:10px;box-sizing:border-box}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-tour-status-strip>*{min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;line-height:1.5}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-tour-status-strip>button{height:auto!important;min-height:44px;padding:10px!important;font-size:13px!important;text-align:left}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-color-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important;min-width:0;width:100%;box-sizing:border-box}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-color-tabs>button{display:flex;align-items:center;justify-content:flex-start;gap:7px!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:46px!important;height:auto!important;padding:9px 7px!important;white-space:normal!important;overflow-wrap:anywhere;font-size:13px!important;line-height:1.4!important;box-sizing:border-box}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-color-tabs>button svg{flex:none;width:18px;height:18px}
 #szm-brand-typography .staff-app .szm-tour-workspace .szm-color-tabs>button:last-child:nth-child(odd){grid-column:1/-1}
}
