/* Shared controls take real layout space instead of covering each workspace. */
body.wt-shell-ux-ready .tab-content:not([data-workspace-expanded])>.workspace-expand-tools{position:relative!important;inset:auto!important;float:none!important;display:flex!important;flex-wrap:wrap!important;align-items:center;justify-content:flex-start!important;gap:6px!important;width:auto!important;max-width:100%!important;min-width:0;margin:0!important;padding:8px!important;box-sizing:border-box;border-bottom:1px solid var(--border-color,var(--border,#344454))}
body.wt-shell-ux-ready .workspace-expand-tools :is(.wa-workspace-actions,.wt-view-actions,.wt-place-actions){display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;min-width:0;max-width:100%}
body.wt-shell-ux-ready .workspace-expand-tools button{max-width:100%;white-space:normal;overflow-wrap:anywhere;flex-shrink:1}
body.wt-shell-ux-ready .workspace-expand-tools [data-watchtower-assistance="guide"]{display:none!important}
body.wt-shell-ux-ready .rw-contextbar{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%;box-sizing:border-box}
body.wt-shell-ux-ready .rw-contextbar>[data-rw-context-label]{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}
body.wt-shell-ux-ready .mpw-filters{grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr))!important}
body.wt-shell-ux-ready .mpw-filters :is(input,select){min-width:0;width:100%}
body.wt-shell-ux-ready .wtx-map-root{--wt-map-footer-height:28px}
body.wt-shell-ux-ready .wtx-map-root>.wtx-credit{left:6px;bottom:4px;max-width:calc(50% - 14px);max-height:64px;overflow:auto;overflow-wrap:anywhere}
body.wt-shell-ux-ready .wtx-map-root>.wt-attribution-only{left:auto!important;right:6px!important;bottom:4px!important;max-width:calc(50% - 14px)!important;max-height:64px!important;margin:0!important;overflow:auto;overflow-wrap:anywhere}
body.wt-shell-ux-ready .wtx-map-root .wtx-inspector{bottom:var(--wt-map-footer-height)!important}
body.wt-shell-ux-ready .wtx-map-root :is(.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right){margin-bottom:var(--wt-map-footer-height)}
body.wt-shell-ux-ready .wtx-map-root :is(.wtx-native-legend:not(.wt-attribution-only),.wtx-legend-copy){margin-bottom:var(--wt-map-footer-height)!important}
@media(max-width:800px){body.wt-shell-ux-ready .wtx-map-root:has(.wtx-inspector:not([hidden]):not(.wtx-inspector-collapsed)) :is(.wtx-native-legend:not(.wt-attribution-only),.wtx-legend-copy){bottom:calc(35% + var(--wt-map-footer-height) + 8px)!important;margin-bottom:0!important}}
@media(max-width:800px){body.wt-shell-ux-ready .wtx-map-root:has(.wtx-inspector:not([hidden]):not(.wtx-inspector-collapsed)) :is(.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right){bottom:calc(var(--wt-map-inspector-height,0px) + 8px)!important}}
@media(min-width:681px) and (max-width:1050px){body.wt-shell-ux-ready :is(.wt-command-mode,.wt-command-tool){padding-inline:3px;font-size:9px;word-break:normal;overflow-wrap:normal}}
body.wt-shell-ux-ready #watchtowerTourHelp,body.wt-shell-ux-ready>.wt-health-fab{display:none!important}
body.wt-shell-ux-ready #watchtowerHelpBtn{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto}
.wt-shell-help{position:fixed;inset:64px 16px auto auto;margin:0;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 88px);padding:16px;border:1px solid var(--border-color,var(--border,#3e596a));border-radius:12px;background:var(--bg-card,#10202d);color:var(--text-bright,#eef5f7);box-shadow:0 16px 50px #0005;font:14px/1.5 var(--font-body,system-ui,sans-serif);overflow:auto;box-sizing:border-box}
.wt-shell-help::backdrop{background:#0006}
.wt-shell-help>header{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:14px}
.wt-shell-help h2{font:700 18px/1.3 var(--font-body,system-ui,sans-serif);margin:0}
.wt-shell-help-actions{display:grid;gap:9px}
.wt-shell-help :is(button,a){display:block;box-sizing:border-box;text-align:left;white-space:normal;min-height:40px;padding:9px 12px;border:1px solid var(--border-color,var(--border,#466071));border-radius:6px;background:var(--bg-secondary,#162b38);color:inherit;font:inherit;text-decoration:none;cursor:pointer}
.wt-shell-help>header>button{flex-shrink:0}
.wt-shell-help #wtShellReportAction .wt-health-fab{position:static!important;display:block!important;inset:auto!important;z-index:auto!important;width:100%;padding:9px 12px!important;box-shadow:none!important;border-radius:6px!important;background:var(--bg-secondary,#162b38)!important;color:inherit!important;font:inherit!important;text-align:left}
.wt-shell-help #wtShellReportAction .wt-health-fab::before,.wt-shell-help #wtShellReportAction .wt-health-fab::after{content:none!important;display:none!important}
.wt-shell-help-note{font-size:12px;margin:14px 0 0;color:var(--text-secondary,#a2b5c3)}
#wtShellReportHost{position:fixed;inset:0;margin:0;padding:0;border:0;width:100vw;height:100dvh;max-width:none;max-height:none;background:transparent;color:inherit;overflow:visible}#wtShellReportHost::backdrop{background:transparent}#wtShellReportHost>.wt-health-modal{width:100%;height:100%;inset:0;box-sizing:border-box}
.wt-shell-help :focus-visible{outline:2px solid var(--accent,#68cfbd);outline-offset:3px}
body.theme-light .wt-shell-help{background:#fffefa;color:#18252b;border-color:#bdc6c1}
body.theme-light .wt-shell-help :is(button,a),body.theme-light .wt-shell-help #wtShellReportAction .wt-health-fab{background:#f0f1ea!important;color:#18252b!important;border-color:#bdc6c1}
body.theme-light .wt-shell-help-note{color:#526168}
@media(max-width:680px){
 body.wt-shell-ux-ready .wt-command-mobile-utc{display:none!important}
 body.wt-shell-ux-ready .topbar-controls{gap:4px!important}
 body.wt-shell-ux-ready #watchtowerHelpBtn{min-height:32px;padding:5px 7px;font-size:11px}
 body.wt-shell-ux-ready .workspace-expand-tools button{min-height:36px}
 .wt-shell-help{inset:66px 12px auto auto}
}
@media(max-width:420px){body.wt-shell-ux-ready #watchtowerUnifiedStatusLabel{display:none!important}body.wt-shell-ux-ready .topbar{gap:5px!important}}
@media print{.wt-shell-help,.wt-place-actions{display:none!important}}
