@media screen{
 body.ops-fullscreen-open:has(.ops-fullscreen){overflow:hidden}
 .ops-command-root .ops-stage.ops-fullscreen,.ops-stage.ops-fullscreen:fullscreen{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;min-height:0!important;margin:0!important;padding:0!important;z-index:10000!important;display:block!important;background:#fff}
 .ops-fullscreen .ops-right,.ops-fullscreen .ops-map-foot,.ops-fullscreen .ops-command-legend{display:none!important}
 .ops-fullscreen .ops-map-holder{height:100%;display:flex;flex-direction:column;border-radius:0;min-height:0}
 .ops-fullscreen .ops-map-head{flex:0 0 auto;padding-top:max(10px,env(safe-area-inset-top));padding-right:max(10px,env(safe-area-inset-right))}
 .ops-fullscreen .ops-command-map-holder{flex:1;min-height:0}
 .ops-command-root .ops-fullscreen #ops-map{height:100%!important;min-height:0!important}
 .ops-fullscreen [data-act="ops-expand"]{min-height:44px;background:#fff;color:#123744;border:2px solid #157f80}
}
@media screen and (max-width:767px){
 .ops-command-root{min-width:0;max-width:100%}
 .ops-command-root .ops-stage{grid-template-columns:minmax(0,1fr)!important}
 .ops-command-root .ops-map-holder,.ops-command-root .ops-right{min-width:0;width:100%;box-sizing:border-box}
 .ops-command-root .ops-map-head{display:flex;flex-wrap:wrap;gap:8px}
 .ops-command-root .ops-map-head-actions{display:flex;flex-wrap:wrap;gap:8px;width:100%;justify-content:space-between}
 .ops-command-root .ops-map-head button,.ops-command-root .ops-map-head select{min-height:44px;font-size:16px}
 .ops-command-root #ops-map{height:60dvh;min-height:330px;max-height:650px}
 .ops-command-root .ops-command-mapfilters{display:flex;flex-wrap:wrap;gap:5px;max-width:calc(100% - 55px);box-sizing:border-box}
 .ops-command-root .ops-command-mapfilters button{min-height:36px;font-size:11px}
 .ops-command-root .ops-control-grid,.ops-command-root .ops-list-control-grid{grid-template-columns:minmax(0,1fr)!important}
 .ops-command-root input,.ops-command-root select{font-size:16px;max-width:100%;box-sizing:border-box}
 .ops-command-root .ops-command-hero{flex-wrap:wrap}
}

/* Fullscreen frame must cover its square viewport; premium card radius is normal-view only. */
@media screen{
 .v12-ops-pro .ops-stage.ops-fullscreen{background:var(--vp-card,#132335)!important;border:0!important;border-radius:0!important;box-shadow:none!important}
 .v12-ops-pro .ops-stage.ops-fullscreen .ops-map-holder{border:0!important;border-radius:0!important;width:100%!important;max-width:none!important;box-shadow:none!important;background:var(--vp-card,#132335)}
 .v12-ops-pro .ops-stage.ops-fullscreen .ops-map-head{border-radius:0!important;padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}
}
@media screen {
 .v12-ops-pro .ops-map-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:8px 12px;border-bottom:1px solid var(--vp-line);background:var(--vp-card);flex:none}
 .v12-ops-pro .ops-map-controls .ops-layer-label{display:flex;align-items:center;gap:6px;min-width:0}
 .v12-ops-pro .ops-map-controls select,.v12-ops-pro .ops-map-controls button{min-height:44px;border:1px solid var(--vp-line);border-radius:9px;padding:7px 10px;font-size:13px}
 .v12-ops-pro .ops-map-controls [data-act="ops-expand"]{background:#0860de;color:#fff;border-color:#0860de;font-weight:700;white-space:nowrap}
 .ops-fullscreen .ops-map-controls{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
 .ops-fullscreen #qr-map-bar{display:none}
}
@media screen and (max-width:767px){
 .v12-ops-pro .ops-map-controls{display:grid;grid-template-columns:minmax(0,1fr) auto}
 .v12-ops-pro .ops-map-controls select{min-width:0;flex:1;font-size:16px}
 .v12-ops-pro .ops-fullscreen #ops-map{max-height:none}
}
@media screen and (max-width:360px){
 .v12-ops-pro .ops-map-controls .ops-layer-label{font-size:0}
}
