/* Operational interface refresh. It is scoped away from the compact radio WebView. */
:root {
  --ops-bg: #050b14;
  --ops-sidebar: #07131f;
  --ops-surface: #0a1828;
  --ops-surface-raised: #0d2034;
  --ops-line: #173a5b;
  --ops-line-strong: #1d567d;
  --ops-cyan: #18c7f5;
  --ops-blue: #1677df;
  --ops-green: #3be28b;
  --ops-amber: #f4bd4f;
  --ops-red: #ff4d62;
  --ops-text: #f4f8fd;
  --ops-muted: #90a7bd;
}

html:not(.radio-compact) body {
  background: var(--ops-bg);
  color: var(--ops-text);
  font-family: Inter, "Segoe UI", sans-serif;
}

html:not(.radio-compact) .shell {
  grid-template-columns: 236px minmax(0, 1fr);
  background: var(--ops-bg);
}

html:not(.radio-compact) .shell > aside {
  z-index: 3;
  padding: 22px 12px 18px;
  border-right: 1px solid var(--ops-line);
  background: var(--ops-sidebar);
}

html:not(.radio-compact) .brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 116px;
  margin: 0 4px 22px;
}

html:not(.radio-compact) .brand img {
  width: 178px;
  height: 94px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

html:not(.radio-compact) .brand b {
  position: static;
  color: var(--ops-cyan);
  font-size: 8px;
  letter-spacing: 3px;
}

html:not(.radio-compact) .shell > aside nav {
  min-height: 0;
  overflow: auto;
  gap: 4px;
  padding: 2px 4px 10px;
  scrollbar-color: #27648d transparent;
}

html:not(.radio-compact) .shell > aside nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent !important;
  color: #c5d3e0;
  font-size: 13px;
  line-height: 1.2;
}

html:not(.radio-compact) .shell > aside nav button:hover {
  color: var(--ops-text);
  background: #0b2034 !important;
}

html:not(.radio-compact) .shell > aside nav button.active {
  border-color: #14648d;
  border-left: 3px solid var(--ops-cyan);
  background: #0d2b44 !important;
  box-shadow: none;
  color: #ffffff;
  font-weight: 800;
}

html:not(.radio-compact) .shell > aside nav button:not(.active) {
  box-shadow: none !important;
}

html:not(.radio-compact) .shell > aside nav button:not(.active):hover {
  border-color: #123d5c;
}

html:not(.radio-compact) .nav-icon {
  display: inline-grid;
  width: 20px;
  place-items: center;
  color: var(--ops-cyan);
  font-size: 16px;
  font-weight: 700;
}

html:not(.radio-compact) .user-card {
  gap: 10px;
  margin: 12px 4px 0;
  padding: 15px 2px 0;
  border-top-color: var(--ops-line);
}

html:not(.radio-compact) .user-card > span,
html:not(.radio-compact) .mini-avatar {
  border-radius: 8px;
  background: #1769c8;
  color: #fff;
}

html:not(.radio-compact) .user-card b { color: var(--ops-text); font-size: 11px; }
html:not(.radio-compact) .user-card small { color: var(--ops-muted); font-size: 9px; }
html:not(.radio-compact) .user-card button { color: #bdcad6; font-size: 10px; }

html:not(.radio-compact) main { background: var(--ops-bg); }

html:not(.radio-compact) header {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 92px;
  height: auto;
  padding: 18px 30px;
  border-bottom-color: var(--ops-line);
  background: #060d17;
}

html:not(.radio-compact) .header-title small {
  color: var(--ops-cyan);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2.4px;
}

html:not(.radio-compact) .header-title h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 25px;
  letter-spacing: 0;
}

html:not(.radio-compact) .header-actions { gap: 13px; }

html:not(.radio-compact) .header-search {
  display: flex;
  align-items: center;
  width: min(330px, 28vw);
  height: 44px;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--ops-line);
  border-radius: 8px;
  background: #081522;
  color: var(--ops-muted);
}

html:not(.radio-compact) .header-search span { color: #d4e1ec; font-size: 22px; line-height: 1; }
html:not(.radio-compact) .module-search {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ops-text);
  outline: 0;
}

html:not(.radio-compact) .header-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #dbe7f0;
  font-size: 12px;
}

html:not(.radio-compact) .header-live i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ops-green);
  box-shadow: 0 0 12px rgba(59, 226, 139, .5);
}

html:not(.radio-compact) .sos {
  min-width: 48px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #8a2836;
  border-radius: 7px;
  background: #35131a;
  color: #ff8490;
  font-size: 10px;
}

html:not(.radio-compact) .header-user {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 176px;
}

html:not(.radio-compact) .header-user > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #145da9;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

html:not(.radio-compact) .header-user b,
html:not(.radio-compact) .header-user small { display: block; }
html:not(.radio-compact) .header-user b { color: #fff; font-size: 12px; }
html:not(.radio-compact) .header-user small { margin-top: 3px; color: var(--ops-muted); font-size: 10px; }

html:not(.radio-compact) .view { padding: 22px 30px 30px; }

html:not(.radio-compact) .metrics {
  gap: 14px;
  margin-bottom: 18px;
}

/* El centro de control tiene un quinto indicador y debe conservar una sola fila en escritorio. */
html:not(.radio-compact) .control-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}

html:not(.radio-compact) .metrics article {
  position: relative;
  min-height: 105px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--ops-line);
  border-radius: 8px;
  background: var(--ops-surface);
  box-shadow: inset 0 2px 0 rgba(24, 199, 245, .55);
}

html:not(.radio-compact) .metrics article::before {
  display: none;
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-right: 14px;
  place-items: center;
  border: 1px solid #17608a;
  border-radius: 50%;
  color: var(--ops-cyan);
  content: "◌";
  float: left;
  font-size: 25px;
}

html:not(.radio-compact) .metrics article::before { display: none; }

html:not(.radio-compact) .metric-icon {
  float: left;
  width: 42px;
  height: 42px;
  margin-right: 14px;
  padding: 10px;
  border: 1px solid #17608a;
  border-radius: 50%;
  color: var(--ops-cyan);
}

html:not(.radio-compact) .metrics span { color: #c6d4e0; font-size: 12px; }
html:not(.radio-compact) .metrics strong { margin-top: 8px; color: #fff; font-size: 27px; }

html:not(.radio-compact) .panel,
html:not(.radio-compact) .radio-card {
  border-color: var(--ops-line);
  border-radius: 8px;
  background: var(--ops-surface);
  box-shadow: none;
}

html:not(.radio-compact) .grid { gap: 16px; }
html:not(.radio-compact) .panel-title { min-height: 68px; padding: 16px 18px; border-bottom-color: var(--ops-line); }
html:not(.radio-compact) .panel-title h3,
html:not(.radio-compact) .form-panel h3 { color: #fff; font-size: 15px; }
html:not(.radio-compact) .panel-title p,
html:not(.radio-compact) .form-panel p { color: var(--ops-muted); font-size: 10px; }

html:not(.radio-compact) button,
html:not(.radio-compact) .button-link {
  border-radius: 6px;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

html:not(.radio-compact) .primary,
html:not(.radio-compact) .form-row > button:not(.secondary),
html:not(.radio-compact) .form-stack > button:not(.secondary),
html:not(.radio-compact) .form-actions > button:not(.secondary):not(.danger-text),
html:not(.radio-compact) .panel-title button:not(.danger-button):not(.secondary),
html:not(.radio-compact) .radio-hero-actions > button:not(.secondary),
html:not(.radio-compact) #openPrivateChannel {
  border: 1px solid #159bd0;
  background: #118ed1;
  color: #fff;
}

html:not(.radio-compact) button:hover,
html:not(.radio-compact) .button-link:hover { filter: brightness(1.12); }

html:not(.radio-compact) .secondary,
html:not(.radio-compact) .button-link.secondary,
html:not(.radio-compact) .row-action {
  border-color: var(--ops-line-strong);
  background: #0a2238;
  color: #dceaf6;
}

html:not(.radio-compact) .danger-text,
html:not(.radio-compact) .danger-button {
  border-color: #8e3140;
  background: #35131a;
  color: #ff9aa4;
}

html:not(.radio-compact) input,
html:not(.radio-compact) select,
html:not(.radio-compact) textarea,
html:not(.radio-compact) .module-search,
html:not(.radio-compact) .company-context {
  border-color: var(--ops-line);
  border-radius: 6px;
  background: #071522;
  color: var(--ops-text);
}

html:not(.radio-compact) input:focus,
html:not(.radio-compact) select:focus,
html:not(.radio-compact) textarea:focus {
  border-color: var(--ops-cyan);
  box-shadow: 0 0 0 2px rgba(24, 199, 245, .14);
  outline: none;
}

html:not(.radio-compact) .control-map-stack { display: grid; min-width: 0; gap: 16px; }
html:not(.radio-compact) .control-metrics article { cursor: pointer; }
html:not(.radio-compact) .control-metrics article:hover { border-color: #2789b8; background: #0c2033; transform: translateY(-1px); }
html:not(.radio-compact) .metric-details-panel { overflow: hidden; }
html:not(.radio-compact) .metric-details-title { min-height: 86px; }
html:not(.radio-compact) .metric-details-title .product { margin: 0 0 4px; color: var(--ops-cyan); font-size: 10px; font-weight: 800; letter-spacing: 3px; }
html:not(.radio-compact) .metric-details-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-bottom: 1px solid #183d5a; background: #071b2e; }
html:not(.radio-compact) .metric-details-search { display: flex; width: min(520px, 100%); align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #1b5578; border-radius: 6px; background: #061625; color: #91b4c8; }
html:not(.radio-compact) .metric-details-search:focus-within { border-color: var(--ops-cyan); box-shadow: 0 0 0 2px rgba(24, 199, 245, .14); }
html:not(.radio-compact) .metric-details-search svg { width: 17px; color: var(--ops-cyan); }
html:not(.radio-compact) .metric-details-search input { min-width: 0; height: 42px; border: 0; background: transparent; box-shadow: none; }
html:not(.radio-compact) #metricDetailsCount { color: #9ab9cb; font-size: 12px; font-weight: 700; white-space: nowrap; }
html:not(.radio-compact) .metric-details-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
html:not(.radio-compact) .metric-details-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 18px; min-width: 0; min-height: 76px; align-items: center; gap: 12px; padding: 13px 18px; border: 0; border-right: 1px solid #173a57; border-bottom: 1px solid #173a57; background: #081d30; color: inherit; text-align: left; cursor: pointer; }
html:not(.radio-compact) .metric-details-row:hover { background: #0c2a42; }
html:not(.radio-compact) .metric-details-row > i:first-child { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #1d759d; border-radius: 50%; color: var(--ops-cyan); }
html:not(.radio-compact) .metric-details-row span { min-width: 0; }
html:not(.radio-compact) .metric-details-row b,
html:not(.radio-compact) .metric-details-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.radio-compact) .metric-details-row b { color: #f4fbff; font-size: 13px; }
html:not(.radio-compact) .metric-details-row small { margin-top: 5px; color: #98b5c7; font-size: 11px; }
html:not(.radio-compact) .metric-details-row em { max-width: 115px; overflow: hidden; color: var(--ops-green); font-size: 11px; font-style: normal; font-weight: 800; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
html:not(.radio-compact) .metric-details-arrow { color: #5c7e95; }
html:not(.radio-compact) .metric-details-empty { grid-column: 1 / -1; padding: 46px; color: var(--ops-muted); text-align: center; }
html:not(.radio-compact) .metric-details-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 12px; background: #071a2c; }
html:not(.radio-compact) .metric-details-pagination span { color: #aac6d6; font-size: 12px; font-weight: 700; }

@media (max-width: 760px) {
  html:not(.radio-compact) .metric-details-title { align-items: flex-start; gap: 14px; }
  html:not(.radio-compact) .metric-details-title .secondary-button { width: 100%; justify-content: center; }
  html:not(.radio-compact) .metric-details-toolbar { align-items: stretch; flex-direction: column; }
  html:not(.radio-compact) .metric-details-search { width: 100%; }
  html:not(.radio-compact) .metric-details-list { grid-template-columns: 1fr; }
  html:not(.radio-compact) .metric-details-row { grid-template-columns: 38px minmax(0, 1fr) 18px; }
  html:not(.radio-compact) .metric-details-row em { grid-column: 2; max-width: none; text-align: left; }
}
html:not(.radio-compact) .map { height: 390px; background: #e8edf1; }
html:not(.radio-compact) .map-shell { position: relative; z-index: 0; isolation: isolate; overflow: hidden; border: 1px solid #143c5a; border-radius: 0 0 7px 7px; background: #e8edf1; }
html:not(.radio-compact) .map-shell::after { position: absolute; inset: 0; z-index: 401; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(8, 40, 63, .12); content: ""; }
html:not(.radio-compact) .leaflet-container { background: #e8edf1; font-family: inherit; }
html:not(.radio-compact) .leaflet-tile-pane { filter: saturate(1.02) contrast(1.02); }
html:not(.radio-compact) .leaflet-control-zoom a,
html:not(.radio-compact) .leaflet-control-recenter { display: grid; width: 33px; height: 33px; place-items: center; border: 0 !important; border-bottom: 1px solid #224764 !important; background: #071a2d !important; color: #e8f8ff !important; font-size: 21px; line-height: 1; }
html:not(.radio-compact) .leaflet-control-zoom a:last-child { border-bottom: 0 !important; }
html:not(.radio-compact) .leaflet-control-zoom,
html:not(.radio-compact) .leaflet-control-recenter { overflow: hidden; border: 1px solid #265372 !important; border-radius: 5px !important; box-shadow: 0 4px 14px rgba(0, 0, 0, .35) !important; }
html:not(.radio-compact) .leaflet-control-recenter { margin-top: 6px; cursor: pointer; font-family: inherit; }
html:not(.radio-compact) .leaflet-control-zoom a:hover,
html:not(.radio-compact) .leaflet-control-recenter:hover { background: #0d2c45 !important; color: var(--ops-cyan) !important; }
html:not(.radio-compact) .leaflet-control-scale-line { border: 1px solid #7d99af !important; border-top: 0 !important; background: rgba(3, 14, 25, .86) !important; color: #e9f6ff !important; text-shadow: none !important; }
html:not(.radio-compact) .cops-location-marker { background: transparent; border: 0; }
html:not(.radio-compact) .cops-user-marker { position: relative; display: block; box-sizing: border-box; width: 30px; height: 30px; border: 2px solid #17cef4; border-radius: 50%; background: #08243b; box-shadow: 0 0 0 4px rgba(24, 199, 245, .14), 0 4px 12px rgba(0, 0, 0, .52); line-height: 0; pointer-events: none; transform: none !important; }
html:not(.radio-compact) .cops-user-head { position: absolute; top: 6px; left: 10px; width: 7px; height: 7px; border: 1.5px solid #d7fbff; border-radius: 50%; }
html:not(.radio-compact) .cops-user-body { position: absolute; bottom: 5px; left: 6px; width: 15px; height: 8px; border: 1.5px solid #d7fbff; border-bottom: 0; border-radius: 10px 10px 0 0; }
html:not(.radio-compact) .cops-user-marker.offline { border-color: #8394a6; background: #273542; box-shadow: 0 0 0 4px rgba(131, 148, 166, .12); }
html:not(.radio-compact) .cops-user-marker.offline .cops-user-head,
html:not(.radio-compact) .cops-user-marker.offline .cops-user-body { border-color: #d4dce5; }
html:not(.radio-compact) .cops-user-marker.sos { border-color: #ff4d62; background: #421526; box-shadow: 0 0 0 4px rgba(255, 77, 98, .18), 0 4px 12px rgba(0, 0, 0, .52); }
html:not(.radio-compact) .cops-user-marker.sos .cops-user-head,
html:not(.radio-compact) .cops-user-marker.sos .cops-user-body { border-color: #ffe4e8; }
html:not(.radio-compact) .cops-user-marker.sos-alert::after { position: absolute; top: -4px; right: -4px; width: 9px; height: 9px; border: 2px solid #08243b; border-radius: 50%; background: #ff4d62; box-shadow: 0 0 8px rgba(255, 77, 98, .85); content: ""; }
html:not(.radio-compact) .cops-user-marker.speaking { width: 42px; height: 42px; margin: -6px; border-color: #82f7ff; background: #087ca0; box-shadow: 0 0 0 8px rgba(24, 199, 245, .22), 0 0 28px rgba(24, 199, 245, .65); animation: copsSpeakingPulse 1.25s infinite ease-out; }
html:not(.radio-compact) .cops-user-marker.speaking::before,
html:not(.radio-compact) .cops-user-marker.speaking::after { position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; border: 2px solid rgba(82, 242, 255, .8); border-radius: 50%; content: ""; transform: translate(-50%, -50%); pointer-events: none; }
html:not(.radio-compact) .cops-user-marker.speaking::before { animation: copsSoundWave 1.55s infinite ease-out; }
html:not(.radio-compact) .cops-user-marker.speaking::after { animation: copsSoundWave 1.55s .72s infinite ease-out; }
html:not(.radio-compact) .cops-user-marker.speaking .cops-user-head { top: 7px; left: 12px; width: 8px; height: 8px; }
html:not(.radio-compact) .cops-user-marker.speaking .cops-user-body { bottom: 6px; left: 8px; width: 17px; height: 9px; }
html:not(.radio-compact) .cops-user-mic { position: absolute; z-index: 2; top: 10px; left: 15px; width: 11px; height: 15px; border: 2px solid #eaffff; border-radius: 7px; background: #087ca0; }
html:not(.radio-compact) .cops-user-mic::before { position: absolute; right: -5px; bottom: -5px; width: 17px; height: 10px; border: 2px solid #eaffff; border-top: 0; border-radius: 0 0 10px 10px; content: ""; }
html:not(.radio-compact) .cops-user-mic::after { position: absolute; bottom: -10px; left: 3px; width: 2px; height: 7px; background: #eaffff; box-shadow: -4px 7px 0 -1px #eaffff, 4px 7px 0 -1px #eaffff; content: ""; }
html:not(.radio-compact) .cops-location-label { padding: 3px 6px; border: 1px solid #1a5d83; border-radius: 3px; background: rgba(4, 20, 34, .96); color: #effcff; box-shadow: 0 3px 12px rgba(0, 0, 0, .38); font-size: 10px; font-weight: 700; }
html:not(.radio-compact) .cops-location-label.offline { border-color: #526577; color: #c4ced6; }
html:not(.radio-compact) .cops-location-label.sos { border-color: #b83248; color: #ffb5bf; }
html:not(.radio-compact) .cops-geofence-radius { filter: drop-shadow(0 0 5px rgba(19, 201, 239, .16)); }
html:not(.radio-compact) .cops-geofence-marker { position: relative; display: grid; width: 28px; height: 33px; place-items: center; border: 2px solid #0c7ca1; border-radius: 15px 15px 15px 3px; background: #0bc0e8; box-shadow: 0 3px 11px rgba(0, 0, 0, .46), 0 0 0 4px rgba(12, 195, 232, .17); transform: rotate(-45deg); }
html:not(.radio-compact) .cops-geofence-building { position: relative; width: 12px; height: 13px; border: 2px solid #f3fdff; border-radius: 2px; transform: rotate(45deg); }
html:not(.radio-compact) .cops-geofence-building::before { position: absolute; top: 3px; left: 3px; width: 2px; height: 2px; background: #f3fdff; box-shadow: 4px 0 0 #f3fdff, 0 4px 0 #f3fdff, 4px 4px 0 #f3fdff; content: ""; }
html:not(.radio-compact) .cops-geofence-label { padding: 3px 6px; border: 1px solid #168eb1; border-radius: 3px; background: rgba(3, 29, 44, .94); color: #dffbff; box-shadow: 0 3px 11px rgba(0, 0, 0, .34); font-size: 10px; font-weight: 800; }
html:not(.radio-compact) .cops-sos-pin { position: relative; display: grid; width: 24px; height: 30px; place-items: center; border: 2px solid #ffd6dc; border-radius: 14px 14px 14px 3px; background: #df304a; box-shadow: 0 3px 10px rgba(87, 6, 20, .52); transform: rotate(-45deg); }
html:not(.radio-compact) .cops-sos-pin-dot { display: block; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; transform: rotate(45deg); }
@keyframes copsSpeakingPulse { 50% { box-shadow: 0 0 0 13px rgba(24, 199, 245, .08), 0 0 34px rgba(24, 199, 245, .78); } }
@keyframes copsSoundWave { 0% { width: 34px; height: 34px; opacity: .92; } 100% { width: 94px; height: 94px; opacity: 0; } }

/* Marcador operativo: un núcleo compacto y ondas de voz separadas evitan superposiciones. */
html:not(.radio-compact) .cops-map-device { position: relative; display: block; width: 34px; height: 34px; line-height: 0; pointer-events: none; }
html:not(.radio-compact) .cops-map-device__core { position: absolute; z-index: 3; inset: 2px; display: block; border: 2px solid #1cdbff; border-radius: 50%; background: #07334b; box-shadow: 0 3px 12px rgba(0, 0, 0, .5), 0 0 0 3px rgba(22, 204, 245, .18); }
html:not(.radio-compact) .cops-map-device__head { position: absolute; top: 6px; left: 10px; width: 8px; height: 8px; border: 1.5px solid #effdff; border-radius: 50%; }
html:not(.radio-compact) .cops-map-device__body { position: absolute; bottom: 5px; left: 6px; width: 16px; height: 9px; border: 1.5px solid #effdff; border-bottom: 0; border-radius: 12px 12px 0 0; }
html:not(.radio-compact) .cops-map-device.is-offline .cops-map-device__core { border-color: #97a6b6; background: #344250; box-shadow: 0 3px 10px rgba(0, 0, 0, .45), 0 0 0 3px rgba(151, 166, 182, .14); }
html:not(.radio-compact) .cops-map-device.is-sos .cops-map-device__core { border-color: #ff5266; background: #54202c; box-shadow: 0 3px 12px rgba(0, 0, 0, .55), 0 0 0 4px rgba(255, 82, 102, .2); }
html:not(.radio-compact) .cops-map-device.is-speaking { width: 34px; height: 34px; }
html:not(.radio-compact) .cops-map-device.is-speaking .cops-map-device__core { inset: 2px; border-color: #b6f9ff; background: #087fa5; box-shadow: 0 3px 16px rgba(0, 0, 0, .52), 0 0 0 4px rgba(22, 211, 248, .2); }
html:not(.radio-compact) .cops-map-device__pulse { display: none; position: absolute; z-index: 1; inset: 3px; border: 2px solid rgba(47, 224, 255, .9); border-radius: 50%; opacity: 0; }
html:not(.radio-compact) .cops-map-device.is-speaking .cops-map-device__pulse { display: block; animation: copsMapVoicePulse 1.9s infinite cubic-bezier(.2, .72, .28, 1); }
html:not(.radio-compact) .cops-map-device.is-speaking .cops-map-device__pulse--two { animation-delay: .95s; }
html:not(.radio-compact) .cops-map-device__mic { position: absolute; z-index: 4; right: -3px; bottom: -2px; width: 7px; height: 10px; border: 1.5px solid #f5feff; border-radius: 6px; background: #087fa5; box-shadow: 0 0 0 2px #07334b; }
html:not(.radio-compact) .cops-map-device__mic::before { position: absolute; left: -4px; bottom: -4px; width: 11px; height: 7px; border: 1.5px solid #f5feff; border-top: 0; border-radius: 0 0 8px 8px; content: ""; }
html:not(.radio-compact) .cops-map-device__mic::after { position: absolute; bottom: -7px; left: 2px; width: 1.5px; height: 4px; background: #f5feff; content: ""; }
@keyframes copsMapVoicePulse { 0% { transform: scale(.82); opacity: .9; } 75%, 100% { transform: scale(2.15); opacity: 0; } }

html:not(.radio-compact) .operational-detail-panel { overflow: hidden; }
html:not(.radio-compact) .operational-detail-panel .panel-title { min-height: 35px; padding: 8px 13px; }
html:not(.radio-compact) .operational-detail-panel .panel-title h3 { font-size: 11px; }
html:not(.radio-compact) .operational-detail { display: grid; grid-template-columns: 1.3fr .7fr .7fr .86fr .95fr minmax(180px, 1.6fr); align-items: stretch; min-height: 72px; }
html:not(.radio-compact) .operational-speaker,
html:not(.radio-compact) .operational-data,
html:not(.radio-compact) .operational-location { display: grid; align-content: center; gap: 4px; min-width: 0; padding: 12px 16px; border-right: 1px solid #173a5b; }
html:not(.radio-compact) .operational-speaker { grid-template-columns: 32px minmax(0, 1fr); align-items: center; }
html:not(.radio-compact) .operational-mic { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #1d9fc7; border-radius: 50%; color: var(--ops-cyan); box-shadow: 0 0 0 5px rgba(24, 199, 245, .08); animation: operationalMicPulse 1.3s ease-out infinite; }
html:not(.radio-compact) .operational-mic svg { width: 15px; }
html:not(.radio-compact) .operational-speaker b { color: var(--ops-cyan); font-size: 11px; }
html:not(.radio-compact) .operational-speaker small,
html:not(.radio-compact) .operational-location small { color: var(--ops-muted); font-size: 10px; }
html:not(.radio-compact) .operational-data span,
html:not(.radio-compact) .operational-location > span { color: var(--ops-muted); font-size: 9px; }
html:not(.radio-compact) .operational-data b,
html:not(.radio-compact) .operational-location b { overflow: hidden; color: #f1f8fd; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
html:not(.radio-compact) .operational-location { border-right: 0; }
html:not(.radio-compact) .operational-location em { color: var(--ops-green); font-style: normal; }
html:not(.radio-compact) .operational-idle { display: flex; align-items: center; min-height: 72px; gap: 12px; padding: 13px 17px; color: var(--ops-muted); }
html:not(.radio-compact) .operational-idle svg { color: #5e7185; }
html:not(.radio-compact) .operational-idle b,
html:not(.radio-compact) .operational-idle small { display: block; }
html:not(.radio-compact) .operational-idle b { color: #d7e4ee; font-size: 12px; }
html:not(.radio-compact) .operational-idle small { margin-top: 4px; font-size: 10px; }
@keyframes operationalMicPulse { 50% { box-shadow: 0 0 0 8px rgba(24, 199, 245, .03), 0 0 14px rgba(24, 199, 245, .45); } }

html:not(.radio-compact) .list-row {
  min-height: 70px;
  padding: 13px 16px;
  border-bottom-color: var(--ops-line);
}

html:not(.radio-compact) .list-row:hover { background: #0c1e31; }
html:not(.radio-compact) .list-row b { color: var(--ops-text); font-size: 12px; }
html:not(.radio-compact) .list-row small { color: var(--ops-muted); font-size: 10px; }
html:not(.radio-compact) .list-row i.online { color: var(--ops-green); }

html:not(.radio-compact) .detail-grid { background: var(--ops-line); }
html:not(.radio-compact) .detail-grid > article,
html:not(.radio-compact) .detail-history { background: var(--ops-surface); }

html:not(.radio-compact) .radio-workspace {
  display: grid;
  grid-template-columns: minmax(660px, 1.62fr) minmax(240px, .38fr);
  gap: 18px;
  max-width: 1420px;
  margin: 0 auto;
}
html:not(.radio-compact) .radio-card.radio-control-card {
  display: grid;
  width: 100%;
  max-width: none;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .34fr);
  grid-template-rows: auto auto minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 10px;
  margin: 0;
  padding: 22px;
  text-align: left;
}
html:not(.radio-compact) .radio-selection-section > p {
  margin: 0 0 14px;
  color: var(--ops-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .6px;
}

html:not(.radio-compact) .channel-search,
html:not(.radio-compact) .radio-control-card select { min-height: 42px; margin-bottom: 8px; }
html:not(.radio-compact) .channel-select-row { margin-bottom: 10px; }
html:not(.radio-compact) .radio-channel-quick-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
html:not(.radio-compact) .radio-channel-quick {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid var(--ops-line);
  border-radius: 8px;
  background: #091a2a;
  color: var(--ops-text);
  text-align: left;
  cursor: pointer;
}
html:not(.radio-compact) .radio-channel-quick:hover,
html:not(.radio-compact) .radio-channel-quick.active { border-color: var(--ops-cyan); background: #0b2338; box-shadow: inset 0 0 0 1px rgba(24, 199, 245, .16); }
html:not(.radio-compact) .radio-channel-quick > svg:first-child { width: 42px; height: 42px; padding: 10px; border: 1px solid #1683a8; border-radius: 50%; color: var(--ops-cyan); }
html:not(.radio-compact) .radio-channel-quick b,
html:not(.radio-compact) .radio-channel-quick small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.radio-compact) .radio-channel-quick b { font-size: 13px; }
html:not(.radio-compact) .radio-channel-quick small { margin-top: 5px; color: var(--ops-muted); font-size: 11px; }
html:not(.radio-compact) .radio-channel-signal { width: 19px; color: var(--ops-cyan); }
html:not(.radio-compact) .private-contact,
html:not(.radio-compact) .private-channel-admin-control {
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--ops-line);
  border-radius: 7px;
  background: #081828;
}

html:not(.radio-compact) .private-contact > p { margin: 0 0 8px; color: var(--ops-cyan); font-size: 11px; font-weight: 800; }
html:not(.radio-compact) .private-contact input,
html:not(.radio-compact) .private-contact select { min-height: 39px; }
html:not(.radio-compact) #openPrivateChannel { width: 100%; margin-top: 4px; min-height: 40px; }
html:not(.radio-compact) .radio-selection-section { grid-column: 1 / -1; }
html:not(.radio-compact) .private-channel-admin-control,
html:not(.radio-compact) .private-contact { grid-column: 1; }
html:not(.radio-compact) .private-channel-admin-control {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
html:not(.radio-compact) .radio-transmit-area {
  display: grid;
  min-height: 0;
  grid-column: 2;
  grid-row: 2 / span 2;
  padding: 8px 4px;
  place-items: center;
}
html:not(.radio-compact) .radio-ptt-control { display: grid; width: 100%; justify-items: center; }

html:not(.radio-compact) .radio-control-card .ptt {
  display: flex;
  width: min(158px, 100%);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 9px;
  border-radius: 50% !important;
  border: 3px solid var(--ops-cyan);
  background: #0b2338;
  box-shadow: 0 0 0 13px rgba(24, 199, 245, .07), 0 0 30px rgba(24, 199, 245, .2);
}

html:not(.radio-compact) .ptt > svg { width: 53px; height: 53px; color: var(--ops-cyan); }
html:not(.radio-compact) .ptt b { font-size: 11px; line-height: 1.45; text-align: center; }
html:not(.radio-compact) .ptt.recording { border-color: var(--ops-red); background: #32141b; box-shadow: 0 0 0 13px rgba(255, 77, 98, .08), 0 0 30px rgba(255, 77, 98, .2); }
html:not(.radio-compact) #pttStatus { max-width: 210px; color: var(--ops-green); text-align: center; font-size: 11px; font-weight: 700; }
html:not(.radio-compact) .radio-channel-status { display: grid; align-content: start; gap: 8px; min-height: 0; padding: 14px; border: 1px solid var(--ops-line) !important; border-radius: 8px; background: var(--ops-surface) !important; }
html:not(.radio-compact) .radio-channel-status h3 { margin: 2px 0 5px; color: #fff; font-size: 16px; }
html:not(.radio-compact) .radio-status-metric { display: flex; align-items: center; gap: 11px; min-height: 76px; padding: 12px; border: 1px solid var(--ops-line); border-radius: 7px; background: #091a2a; }
html:not(.radio-compact) .radio-status-metric > svg { width: 42px; height: 42px; padding: 11px; border: 1px solid #126b93; border-radius: 50%; color: var(--ops-cyan); }
html:not(.radio-compact) .radio-status-metric span,
html:not(.radio-compact) .radio-status-metric b { display: block; }
html:not(.radio-compact) .radio-status-metric span { color: #cad8e4; font-size: 11px; }
html:not(.radio-compact) .radio-status-metric b { margin-top: 4px; color: var(--ops-green); font-size: 12px; }

html:not(.radio-compact) .physical-radio-hero,
html:not(.radio-compact) .radio-pairing-panel {
  padding: 28px;
  border-color: #17618a;
  background: #0a243a;
}

html:not(.radio-compact) .physical-radio-hero h3,
html:not(.radio-compact) .radio-pairing-panel h3 { color: #fff; }
html:not(.radio-compact) .physical-radio-hero p,
html:not(.radio-compact) .radio-pairing-panel p { color: #b4c8d9; }
html:not(.radio-compact) .radio-hero-actions > * { min-height: 46px; border-radius: 6px; }

html:not(.radio-compact) .physical-radio-row {
  grid-template-columns: minmax(250px, 1.25fr) minmax(185px, .9fr) minmax(240px, 1fr) auto;
  gap: 16px;
  padding: 17px;
  border-bottom-color: var(--ops-line);
  background: transparent;
}

html:not(.radio-compact) .physical-radio-row:hover { background: #0c2032; }
html:not(.radio-compact) .physical-radio-icon { border-radius: 8px; background: #125d9d; color: #dff7ff; box-shadow: none; }
html:not(.radio-compact) .physical-radio-actions button { border-radius: 6px; }

/* Directorio operativo de radios y consolas. */
html:not(.radio-compact) .physical-radio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .95fr);
  gap: 28px;
  align-items: center;
}

html:not(.radio-compact) .physical-radio-hero .radio-hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

html:not(.radio-compact) .physical-radio-hero .radio-hero-actions > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 9px;
  padding-inline: 14px;
  font-size: 14px;
}
html:not(.radio-compact) .physical-radio-hero .radio-hero-actions svg { width: 19px; height: 19px; }

html:not(.radio-compact) .physical-radio-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 430px);
  grid-template-rows: auto auto;
  gap: 14px;
  margin-top: 14px;
}

html:not(.radio-compact) .physical-radio-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

html:not(.radio-compact) .physical-radio-metric {
  display: flex;
  align-items: center;
  min-height: 94px;
  gap: 13px;
  padding: 18px;
  border: 1px solid #16476a;
  border-radius: 8px;
  background: #0b2033;
}

html:not(.radio-compact) .physical-radio-metric > span {
  display: grid;
  place-items: center;
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  border: 1px solid currentColor;
  border-radius: 8px;
}

html:not(.radio-compact) .physical-radio-metric svg { width: 22px; height: 22px; }
html:not(.radio-compact) .physical-radio-metric small { display: block; color: #c9d9e7; font-size: 12px; }
html:not(.radio-compact) .physical-radio-metric b { display: block; margin-top: 3px; color: #fff; font-size: 28px; line-height: 1; }
html:not(.radio-compact) .physical-radio-metric.blue { color: #23bbf2; }
html:not(.radio-compact) .physical-radio-metric.green { color: #36dd8d; }
html:not(.radio-compact) .physical-radio-metric.red { color: #fa6173; }
html:not(.radio-compact) .physical-radio-metric.amber { color: #ffb542; }
html:not(.radio-compact) .physical-radio-metric.orange { color: #ff8948; }

html:not(.radio-compact) .physical-radio-directory,
html:not(.radio-compact) .physical-radio-detail,
html:not(.radio-compact) .physical-radio-guide { margin: 0; min-width: 0; }

html:not(.radio-compact) .physical-radio-directory { overflow: hidden; }
html:not(.radio-compact) .physical-radio-directory-title { margin-bottom: 14px; }

html:not(.radio-compact) .physical-radio-filters {
  display: grid;
  grid-template-columns: minmax(210px, 1.45fr) repeat(4, minmax(110px, .7fr)) auto;
  align-items: end;
  gap: 10px;
  padding: 13px;
  border: 1px solid #164262;
  border-radius: 8px;
  background: #091d2e;
}

html:not(.radio-compact) .physical-radio-filters label { display: grid; gap: 6px; min-width: 0; color: #a9c3d5; font-size: 11px; }
html:not(.radio-compact) .physical-radio-filters select,
html:not(.radio-compact) .physical-radio-filters input { min-width: 0; height: 38px; padding: 0 10px; border: 1px solid #1b4d70; border-radius: 6px; color: #ebf7ff; background: #071727; }
html:not(.radio-compact) .physical-radio-search { position: relative; }
html:not(.radio-compact) .physical-radio-search input { padding-left: 34px; width: 100%; }
html:not(.radio-compact) .physical-radio-search svg { position: absolute; left: 11px; bottom: 10px; width: 16px; height: 16px; color: #6a98b5; }
html:not(.radio-compact) .icon-text-button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; white-space: nowrap; }
html:not(.radio-compact) .icon-text-button svg { width: 16px; height: 16px; }

html:not(.radio-compact) .physical-radio-bulkbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid #1a506e;
  border-radius: 7px;
  background: #0b273a;
}

html:not(.radio-compact) .physical-radio-bulkbar > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
html:not(.radio-compact) .physical-radio-bulkbar b { color: #eef9ff; }
html:not(.radio-compact) .physical-radio-bulkbar span { color: #8caec5; font-size: 12px; }
html:not(.radio-compact) .physical-radio-bulkbar button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 6px 9px; font-size: 12px; }
html:not(.radio-compact) .physical-radio-bulkbar svg { width: 15px; height: 15px; }

html:not(.radio-compact) .physical-radio-table { min-width: 1110px; }
html:not(.radio-compact) #physicalRadiosTable { overflow-x: auto; }
html:not(.radio-compact) .physical-radio-table-head,
html:not(.radio-compact) .physical-radio-table-row {
  display: grid;
  grid-template-columns: 28px minmax(190px, 1.45fr) minmax(105px, .78fr) minmax(145px, 1fr) minmax(104px, .72fr) minmax(110px, .8fr) minmax(91px, .68fr) minmax(122px, .9fr) minmax(116px, .82fr);
  align-items: center;
  gap: 10px;
}

html:not(.radio-compact) .physical-radio-table-head {
  min-height: 40px;
  padding: 0 11px;
  border-bottom: 1px solid #1a496a;
  color: #b7d2e5;
  font-size: 11px;
  font-weight: 800;
}

html:not(.radio-compact) .physical-radio-table-head input,
html:not(.radio-compact) .physical-radio-table-row input { width: 17px; height: 17px; accent-color: #1ebdf4; }

html:not(.radio-compact) .physical-radio-table-row {
  min-height: 102px;
  padding: 12px 11px;
  border-bottom: 1px solid #153c59;
  cursor: pointer;
  transition: background .16s ease, box-shadow .16s ease;
}

html:not(.radio-compact) .physical-radio-table-row:hover { background: #0d263a; }
html:not(.radio-compact) .physical-radio-table-row.selected { background: #0c2b41; box-shadow: inset 3px 0 #21c5fa; }
html:not(.radio-compact) .physical-radio-table-row b { display: block; color: #f4fbff; font-size: 13px; }
html:not(.radio-compact) .physical-radio-table-row small { display: block; margin-top: 3px; color: #8db0c9; font-size: 11px; line-height: 1.28; }

html:not(.radio-compact) .physical-radio-table-identity { display: flex; align-items: center; gap: 9px; min-width: 0; }
html:not(.radio-compact) .physical-radio-table-identity > div { min-width: 0; }
html:not(.radio-compact) .physical-radio-mini-device,
html:not(.radio-compact) .physical-radio-device { display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #1972a5; color: #33c4f4; background: #0d3754; }
html:not(.radio-compact) .physical-radio-mini-device { width: 35px; height: 48px; border-radius: 5px; }
html:not(.radio-compact) .physical-radio-mini-device svg { width: 19px; height: 25px; }
html:not(.radio-compact) .physical-radio-user span { display: inline-flex; margin-top: 5px; padding: 2px 6px; border-radius: 4px; color: #71d4fb; background: #113650; font-size: 10px; }
html:not(.radio-compact) .physical-radio-connectivity,
html:not(.radio-compact) .physical-radio-gps { display: grid; grid-template-columns: 18px 1fr; column-gap: 5px; align-items: center; }
html:not(.radio-compact) .physical-radio-connectivity svg,
html:not(.radio-compact) .physical-radio-gps svg { grid-row: span 2; width: 17px; height: 17px; color: #93b2c9; }
html:not(.radio-compact) .physical-radio-gps.active svg { color: #55dc91; }
html:not(.radio-compact) .physical-radio-battery > div { width: 100%; height: 7px; margin: 6px 0 2px; overflow: hidden; border-radius: 3px; background: #14283a; }
html:not(.radio-compact) .physical-radio-battery > div i { display: block; height: 100%; border-radius: inherit; background: #3bd776; }
html:not(.radio-compact) .physical-radio-battery.low > div i { background: #f2a53b; }
html:not(.radio-compact) .physical-radio-battery.critical > div i { background: #f05266; }
html:not(.radio-compact) .physical-radio-battery.unknown > div i { background: #60778a; }
html:not(.radio-compact) .physical-radio-battery.critical b,
html:not(.radio-compact) .physical-radio-battery.critical small { color: #ff7686; }
html:not(.radio-compact) .physical-radio-battery.low b,
html:not(.radio-compact) .physical-radio-battery.low small { color: #ffc460; }
html:not(.radio-compact) .physical-radio-row-actions { display: flex; align-items: center; gap: 6px; }
html:not(.radio-compact) .physical-radio-row-actions button { min-height: 34px; padding: 6px 9px; font-size: 11px; }
html:not(.radio-compact) .icon-only { display: inline-grid; place-items: center; width: 34px; height: 34px; min-height: 34px; padding: 0; border-radius: 6px; }
html:not(.radio-compact) .icon-only svg { width: 17px; height: 17px; }

html:not(.radio-compact) .physical-radio-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px 0; color: #abc8da; font-size: 12px; }
html:not(.radio-compact) .physical-radio-pagination > label { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
html:not(.radio-compact) .physical-radio-pagination select { height: 34px; padding: 0 7px; border: 1px solid #1b4d70; border-radius: 6px; color: #eaf6ff; background: #0a1b2b; }
html:not(.radio-compact) .physical-radio-page-buttons { display: flex; align-items: center; gap: 5px; }
html:not(.radio-compact) .physical-radio-page-buttons button { min-width: 33px; height: 33px; min-height: 33px; padding: 0 8px; border-radius: 5px; }
html:not(.radio-compact) .physical-radio-page-buttons button.active { border-color: #18bdf4; color: #042033; background: #26c6f4; }

html:not(.radio-compact) .physical-radio-detail { grid-column: 2; grid-row: 2 / span 2; align-self: stretch; min-height: 100%; padding: 18px; overflow: visible; border-color: #1a496b; background: #0a1e30; }
html:not(.radio-compact) .physical-radio-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
html:not(.radio-compact) .physical-radio-detail-head h3 { margin: 0 0 5px; color: #fff; font-size: 22px; }
html:not(.radio-compact) .physical-radio-detail-identity { display: flex; align-items: center; gap: 14px; margin: 20px 0; }
html:not(.radio-compact) .physical-radio-product-image { width: 108px; height: 148px; flex: 0 0 108px; object-fit: contain; filter: drop-shadow(0 12px 13px rgba(0, 0, 0, .42)); }
html:not(.radio-compact) .physical-radio-device { width: 64px; height: 118px; border-radius: 9px; }
html:not(.radio-compact) .physical-radio-device svg { width: 32px; height: 46px; }
html:not(.radio-compact) .physical-radio-detail dl { margin: 0; }
html:not(.radio-compact) .physical-radio-detail dt { color: #89aac0; font-size: 11px; }
html:not(.radio-compact) .physical-radio-detail dd { margin: 2px 0 9px; color: #edf8ff; font-size: 13px; font-weight: 800; }
html:not(.radio-compact) .physical-radio-health { display: grid; grid-template-columns: repeat(3, 1fr); padding: 15px 0; border-block: 1px solid #1b4563; }
html:not(.radio-compact) .physical-radio-health > div { display: grid; justify-items: center; gap: 3px; padding: 0 5px; border-right: 1px solid #1b4563; color: #9ab5c7; text-align: center; }
html:not(.radio-compact) .physical-radio-health > div:last-child { border-right: 0; }
html:not(.radio-compact) .physical-radio-health svg { width: 19px; height: 19px; }
html:not(.radio-compact) .physical-radio-health b { color: #f4fbff; font-size: 13px; }
html:not(.radio-compact) .physical-radio-health small { color: #8daabf; font-size: 10px; }
html:not(.radio-compact) .physical-radio-health .good svg,
html:not(.radio-compact) .physical-radio-health .good b { color: #56dc8d; }
html:not(.radio-compact) .physical-radio-health .critical svg,
html:not(.radio-compact) .physical-radio-health .critical b { color: #ff6e7d; }
html:not(.radio-compact) .physical-radio-health .low svg,
html:not(.radio-compact) .physical-radio-health .low b { color: #ffc45e; }
html:not(.radio-compact) .physical-radio-detail-section { padding: 16px 0; border-bottom: 1px solid #1b4563; }
html:not(.radio-compact) .physical-radio-detail-section h4 { margin: 0 0 12px; color: #dff3ff; font-size: 13px; }
html:not(.radio-compact) .physical-radio-key-row { display: flex; gap: 10px; padding: 8px 0; }
html:not(.radio-compact) .physical-radio-key-row > svg { flex: 0 0 18px; width: 18px; color: #37c6f4; }
html:not(.radio-compact) .physical-radio-key-row:last-child > svg { color: #ff6176; }
html:not(.radio-compact) .physical-radio-key-row b,
html:not(.radio-compact) .physical-radio-key-row span { display: block; }
html:not(.radio-compact) .physical-radio-key-row b { color: #eef9ff; font-size: 12px; }
html:not(.radio-compact) .physical-radio-key-row span { margin-top: 2px; color: #9bb5c7; font-size: 11px; }
html:not(.radio-compact) .physical-radio-facts { display: grid; grid-template-columns: 1fr; gap: 7px; }
html:not(.radio-compact) .physical-radio-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
html:not(.radio-compact) .physical-radio-facts dd { margin: 0; max-width: 55%; text-align: right; word-break: break-word; }
html:not(.radio-compact) .physical-radio-detail-actions,
html:not(.radio-compact) .physical-radio-admin-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
html:not(.radio-compact) .physical-radio-guide { grid-column: 1; padding-bottom: 16px; }
html:not(.radio-compact) .physical-radio-guide ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; margin: 4px 0 0; padding: 0 24px; }
html:not(.radio-compact) .physical-radio-guide li { margin: 6px 0; font-size: 13px; line-height: 1.42; }
html:not(.radio-compact) .physical-radio-guide .radio-guide-note { margin: 12px 14px 0; }
html:not(.radio-compact) .physical-radio-detail-actions button,
html:not(.radio-compact) .physical-radio-admin-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; min-width: 0; padding: 8px; font-size: 11px; line-height: 1.2; text-align: center; white-space: normal; }
html:not(.radio-compact) .physical-radio-detail-actions svg,
html:not(.radio-compact) .physical-radio-admin-actions svg { width: 15px; height: 15px; }
html:not(.radio-compact) .physical-radio-admin-actions { padding-top: 12px; border-top: 1px solid #1b4563; }
html:not(.radio-compact) .physical-radio-detail-empty { display: grid; justify-items: center; gap: 9px; padding: 55px 15px; color: #9bb7ca; text-align: center; }
html:not(.radio-compact) .physical-radio-detail-empty svg { width: 35px; height: 35px; color: #2cc6f4; }
html:not(.radio-compact) .physical-radio-detail-empty h3 { margin: 0; color: #eaf7ff; }
html:not(.radio-compact) .physical-radio-detail-empty p { margin: 0; font-size: 12px; line-height: 1.5; }

html:not(.radio-compact) .sos-metrics article:first-child { box-shadow: inset 0 2px 0 rgba(244, 189, 79, .8); }
html:not(.radio-compact) #sosInbox .sos-inbox-card,
html:not(.radio-compact) #sosInbox .sos-alert-card { border-radius: 8px; }

html:not(.radio-compact) .form-panel { padding: 22px; }
html:not(.radio-compact) .form-panel > .panel-title { padding: 0 0 16px; }
html:not(.radio-compact) .form-actions,
html:not(.radio-compact) .company-form-actions,
html:not(.radio-compact) .panel-actions { gap: 9px; }

html:not(.radio-compact) table { border-color: var(--ops-line); }
html:not(.radio-compact) th { color: #b6c7d6; background: #081827; }
html:not(.radio-compact) td { border-color: var(--ops-line); }

html:not(.radio-compact) .notice {
  top: 108px;
  right: 24px;
  border-radius: 7px;
  background: #103b36;
  color: #e7fff3;
}

html:not(.radio-compact) .login-page { background: #050b14; }
html:not(.radio-compact) .login-card {
  border-color: var(--ops-line);
  border-radius: 8px;
  background: #0a1828;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

html:not(.radio-compact) .login-logo {
  width: 250px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

html:not(.radio-compact) .login-card .primary { border-radius: 6px; background: #118ed1; color: #fff; }

/* Control center: device-aware roster and action header. */
html:not(.radio-compact) .header-search svg { width: 18px; color: #b8cbd9; }
html:not(.radio-compact) .notification-bell {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e7f3fb;
}
html:not(.radio-compact) .notification-bell svg { width: 22px; height: 22px; }
html:not(.radio-compact) .notification-bell b {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 1px 4px;
  border: 2px solid #060d17;
  border-radius: 10px;
  background: #ff4058;
  color: white;
  font-size: 9px;
  line-height: 13px;
}

html:not(.radio-compact) .user-activity-row {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  gap: 6px;
  min-height: 78px;
  padding: 0 10px 0 0;
  border: 0;
  border-bottom: 1px solid var(--ops-line);
  background: transparent;
  color: inherit;
  text-align: left;
}
html:not(.radio-compact) .user-activity-row:hover { background: #0d2032; }
html:not(.radio-compact) .activity-user-hit { display: grid; width: 100%; grid-template-columns: 38px minmax(0, 1fr) auto auto; align-items: center; gap: 11px; min-height: 77px; padding: 12px 6px 12px 16px; border: 0; background: transparent; color: inherit; text-align: left; }
html:not(.radio-compact) .activity-user-hit:hover { background: transparent; }
html:not(.radio-compact) .activity-private-action { display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 1px solid #245071; background: #092238; color: var(--ops-cyan); }
html:not(.radio-compact) .activity-private-action:hover { border-color: var(--ops-cyan); background: #0d314b; }
html:not(.radio-compact) .activity-private-action svg { width: 15px; }
html:not(.radio-compact) .activity-user,
html:not(.radio-compact) .activity-device { display: grid; gap: 4px; min-width: 0; }
html:not(.radio-compact) .activity-user b { overflow: hidden; color: #f4f8fd; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
html:not(.radio-compact) .activity-user small,
html:not(.radio-compact) .activity-device small { color: var(--ops-muted); font-size: 10px; }
html:not(.radio-compact) .activity-device { min-width: 95px; }
html:not(.radio-compact) .activity-device small { display: flex; align-items: center; gap: 5px; }
html:not(.radio-compact) .activity-device svg { width: 13px; color: var(--ops-cyan); }
html:not(.radio-compact) .activity-status { display: inline-flex; align-items: center; gap: 6px; color: #aebdca; font-size: 10px; white-space: nowrap; }
html:not(.radio-compact) .activity-status i { width: 7px; height: 7px; border-radius: 50%; background: #718092; }
html:not(.radio-compact) .user-activity-row.online .activity-status { color: var(--ops-green); }
html:not(.radio-compact) .user-activity-row.online .activity-status i { background: var(--ops-green); box-shadow: 0 0 10px rgba(59,226,139,.45); }
html:not(.radio-compact) .control-activity-panel .panel-title { align-items: center; }
html:not(.radio-compact) .control-activity-panel .panel-actions { gap: 7px; }
html:not(.radio-compact) .control-activity-panel .panel-actions select { min-width: 130px; height: 34px; font-size: 10px; }
html:not(.radio-compact) .control-activity-panel .secondary-button { height: 34px; padding: 0 10px; font-size: 10px; white-space: nowrap; }
html:not(.radio-compact) .control-private-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto 32px; align-items: center; gap: 10px; margin: 12px; padding: 11px; border: 1px solid #1b6388; border-radius: 7px; background: #082039; }
html:not(.radio-compact) .control-private-panel b,
html:not(.radio-compact) .control-private-panel small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.radio-compact) .control-private-panel b { color: #edfaff; font-size: 11px; }
html:not(.radio-compact) .control-private-panel small { margin-top: 3px; color: var(--ops-muted); font-size: 10px; }
html:not(.radio-compact) .control-private-ptt { display: inline-flex; align-items: center; gap: 6px; min-height: 35px; padding: 0 12px; border-color: #118dbb; background: #0b6b94; color: white; font-size: 11px; font-weight: 800; }
html:not(.radio-compact) .control-private-ptt.recording { border-color: var(--ops-red); background: #541824; }
html:not(.radio-compact) .control-private-ptt svg { width: 15px; }

/* SOS follows the operational inbox/detail layout used by the approved reference. */
html:not(.radio-compact) .sos-workspace {
  display: grid;
  grid-template-columns: minmax(350px, .93fr) minmax(520px, 1.07fr);
  min-height: 610px;
}
html:not(.radio-compact) .sos-alert-list { padding: 14px; border-right: 1px solid var(--ops-line); background: #081726; }
html:not(.radio-compact) .sos-list-toolbar { display: flex; justify-content: space-between; padding: 7px 5px 14px; color: #fff; font-size: 13px; }
html:not(.radio-compact) .sos-list-toolbar span { color: var(--ops-muted); font-size: 10px; }
html:not(.radio-compact) .sos-alert-list-item {
  display: grid;
  width: 100%;
  grid-template-columns: 48px minmax(0, 1fr) auto 16px;
  gap: 11px;
  align-items: center;
  margin-bottom: 10px;
  padding: 15px 12px;
  border: 1px solid #173a5b;
  border-radius: 7px;
  background: #0a1b2c;
  color: #dceaf7;
  text-align: left;
}
html:not(.radio-compact) .sos-alert-list-item.selected { border-color: #ff4d62; background: linear-gradient(90deg, #351823, #111d2d); box-shadow: inset 3px 0 var(--ops-red), 0 0 18px rgba(255,77,98,.13); }
html:not(.radio-compact) .sos-list-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: #162b42; color: var(--ops-cyan); }
html:not(.radio-compact) .selected .sos-list-icon { background: #4b1724; color: #ff596c; }
html:not(.radio-compact) .sos-list-icon svg { width: 23px; }
html:not(.radio-compact) .sos-alert-list-item b,
html:not(.radio-compact) .sos-alert-list-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:not(.radio-compact) .sos-alert-list-item b { color: #fff; font-size: 12px; }
html:not(.radio-compact) .sos-alert-list-item small { margin-top: 5px; color: var(--ops-muted); font-size: 10px; }
html:not(.radio-compact) .sos-alert-list-item small svg { width: 11px; height: 11px; margin-right: 4px; vertical-align: -2px; color: var(--ops-cyan); }
html:not(.radio-compact) .sos-alert-list-item em { max-width: 76px; color: var(--ops-amber); font-size: 10px; font-style: normal; }
html:not(.radio-compact) .sos-alert-list-item > svg { color: #9bb1c5; }
html:not(.radio-compact) .sos-detail-panel { padding: 18px; background: #081522; }
html:not(.radio-compact) .sos-detail { display: grid; gap: 16px; }
html:not(.radio-compact) .sos-detail-head { display: flex; align-items: center; gap: 12px; }
html:not(.radio-compact) .sos-person-icon { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid #1785b4; border-radius: 50%; color: var(--ops-cyan); }
html:not(.radio-compact) .sos-person-icon svg { width: 27px; height: 27px; }
html:not(.radio-compact) .sos-detail-head h3 { margin: 0; color: #fff; font-size: 18px; }
html:not(.radio-compact) .sos-detail-head p { margin: 4px 0 0; color: var(--ops-muted); font-size: 11px; }
html:not(.radio-compact) .sos-status { margin-left: auto; padding: 7px 10px; border: 1px solid #6e5325; border-radius: 16px; background: #292415; color: #ffd66c; font-size: 10px; }
html:not(.radio-compact) .sos-location-layout { display: grid; grid-template-columns: minmax(250px, 1.3fr) minmax(180px, .7fr); min-height: 230px; border: 1px solid var(--ops-line); border-radius: 7px; overflow: hidden; }
html:not(.radio-compact) .sos-detail-map { min-height: 230px; background: #081421; }
html:not(.radio-compact) .sos-detail-map > p { padding: 82px 20px; color: var(--ops-muted); text-align: center; }
html:not(.radio-compact) .sos-location-summary { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: #0a1c2d; }
html:not(.radio-compact) .sos-location-summary small { color: var(--ops-muted); font-size: 10px; }
html:not(.radio-compact) .sos-location-summary b { color: #fff; font-size: 13px; line-height: 1.35; }
html:not(.radio-compact) .sos-location-summary p { color: #9bb3c7; font-size: 10px; }
html:not(.radio-compact) .sos-navigation { display: grid; gap: 8px; margin-top: auto; }
html:not(.radio-compact) .sos-navigation a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; border: 1px solid #1489bd; border-radius: 5px; color: #dff8ff; font-size: 11px; font-weight: 700; text-decoration: none; }
html:not(.radio-compact) .sos-navigation svg { width: 15px; color: var(--ops-cyan); }
html:not(.radio-compact) .sos-nearby { display: grid; gap: 8px; }
html:not(.radio-compact) .sos-nearby h4 { margin: 0; color: #fff; font-size: 13px; }
html:not(.radio-compact) .sos-nearby p { margin: 0; color: var(--ops-muted); font-size: 10px; }
html:not(.radio-compact) .sos-supervisor-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 10px; border: 1px solid #173a5b; border-radius: 6px; background: #0a1b2a; }
html:not(.radio-compact) .sos-supervisor-row.assigned { border-color: #1aa6d9; background: #0d283a; }
html:not(.radio-compact) .sos-rank { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #125b9e; color: white; font-size: 11px; font-weight: 800; }
html:not(.radio-compact) .sos-supervisor-row b,
html:not(.radio-compact) .sos-supervisor-row small { display: block; }
html:not(.radio-compact) .sos-supervisor-row b { color: #fff; font-size: 11px; }
html:not(.radio-compact) .sos-supervisor-row small { color: var(--ops-muted); font-size: 9px; }
html:not(.radio-compact) .sos-supervisor-row strong { color: #65d8ff; font-size: 12px; }
html:not(.radio-compact) .sos-assignment { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
html:not(.radio-compact) .sos-assignment button { display: inline-flex; align-items: center; gap: 6px; }
html:not(.radio-compact) .sos-assignment svg { width: 15px; }
html:not(.radio-compact) .sos-detail-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 2px; color: var(--ops-muted); font-size: 10px; }
html:not(.radio-compact) .sos-detail-footer span { display: inline-flex; align-items: center; gap: 5px; }
html:not(.radio-compact) .sos-detail-footer svg { width: 14px; color: var(--ops-cyan); }

/* Storage cleanup is a focused operation rather than an unstructured form. */
html:not(.radio-compact) .storage-cleanup-layout { display: grid; grid-template-columns: minmax(390px, 1fr) minmax(350px, .88fr); gap: 22px; padding: 22px; }
html:not(.radio-compact) .storage-cleanup-form { display: grid; gap: 18px; }
html:not(.radio-compact) .storage-filter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
html:not(.radio-compact) .storage-filter-grid .wide { grid-column: 1 / -1; }
html:not(.radio-compact) .storage-filter-grid label { color: #b5c7d6; font-size: 10px; }
html:not(.radio-compact) .storage-filter-grid input,
html:not(.radio-compact) .storage-filter-grid select { display: block; width: 100%; margin-top: 6px; }
html:not(.radio-compact) .storage-data-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 15px; border: 1px solid var(--ops-line); border-radius: 7px; }
html:not(.radio-compact) .storage-data-types legend { padding: 0 6px; color: #eaf5fd; font-size: 12px; font-weight: 800; }
html:not(.radio-compact) .storage-data-types .toggle-label,
html:not(.radio-compact) .storage-protected { display: flex; align-items: center; gap: 7px; margin: 0; padding: 10px; border: 1px solid #173a5b; border-radius: 6px; background: #081827; color: #d6e6f2; font-size: 11px; }
html:not(.radio-compact) .storage-data-types svg { width: 15px; color: var(--ops-cyan); }
html:not(.radio-compact) .storage-summary { padding: 18px; border: 1px solid var(--ops-line); border-radius: 8px; background: #081827; }
html:not(.radio-compact) .storage-summary h4 { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-size: 14px; }
html:not(.radio-compact) .storage-summary h4 svg { width: 19px; color: var(--ops-cyan); }
html:not(.radio-compact) .storage-summary > p { margin: 8px 0 16px; color: var(--ops-muted); font-size: 10px; line-height: 1.5; }

html:not(.radio-compact) .report-chart-title { display: flex; align-items: center; gap: 10px; }
html:not(.radio-compact) .report-chart-title > svg { width: 25px; height: 25px; color: var(--chart-color, var(--ops-cyan)); }
html:not(.radio-compact) .report-metrics article { border-top-color: var(--metric-color, var(--ops-cyan)); }
html:not(.radio-compact) .report-metrics .metric-icon { color: var(--metric-color, var(--ops-cyan)); border-color: color-mix(in srgb, var(--metric-color, var(--ops-cyan)) 60%, #173a5b); }

/* Internet use is presented as operational traffic, with the dominant source visible at a glance. */
html:not(.radio-compact) .data-usage-panel { overflow: hidden; }
html:not(.radio-compact) .data-usage-panel .panel-title { align-items: center; }
html:not(.radio-compact) .section-kicker { margin: 0 0 6px; color: var(--ops-cyan) !important; font-size: 9px !important; font-weight: 900; letter-spacing: 1.6px; }
html:not(.radio-compact) .history-filter { display: flex; align-items: end; gap: 9px; }
html:not(.radio-compact) .history-filter label { display: grid; gap: 5px; color: var(--ops-muted); font-size: 9px; }
html:not(.radio-compact) .history-filter input { min-width: 122px; min-height: 38px; padding: 7px 9px; }
html:not(.radio-compact) .history-filter button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 8px 13px; }
html:not(.radio-compact) .history-filter button svg { width: 14px; }
html:not(.radio-compact) .data-usage-panel .metrics { margin: 20px 20px 14px; }
html:not(.radio-compact) .usage-insight { display: flex; align-items: center; gap: 11px; margin: 0 20px 16px; padding: 12px 14px; border: 1px solid #195273; border-radius: 7px; background: #082238; color: #c2d7e7; font-size: 11px; }
html:not(.radio-compact) .usage-insight svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--ops-cyan); }
html:not(.radio-compact) .usage-insight b { color: #fff; }
html:not(.radio-compact) .usage-table-wrap { margin: 0 20px 20px; overflow: auto; border: 1px solid var(--ops-line); border-radius: 7px; }
html:not(.radio-compact) .usage-table-wrap table { width: 100%; min-width: 960px; border: 0; border-collapse: collapse; }
html:not(.radio-compact) .usage-table-wrap th { padding: 13px 14px; color: #b8cad9; font-size: 10px; letter-spacing: .2px; text-align: left; }
html:not(.radio-compact) .usage-table-wrap td { padding: 13px 14px; vertical-align: middle; font-size: 11px; }
html:not(.radio-compact) .usage-table-wrap tbody tr:nth-child(2n) { background: #091b2c; }
html:not(.radio-compact) .usage-table-wrap tbody tr:hover { background: #0c2740; }
html:not(.radio-compact) .usage-user { display: flex; align-items: center; gap: 10px; min-width: 170px; }
html:not(.radio-compact) .usage-user > span:last-child { display: grid; gap: 3px; }
html:not(.radio-compact) .usage-user b { color: #fff; font-size: 12px; }
html:not(.radio-compact) .usage-user small { color: var(--ops-muted); font-size: 9px; }
html:not(.radio-compact) .usage-value { color: #dceafa; white-space: nowrap; }
html:not(.radio-compact) .usage-value.upload { color: #80e1ff; }
html:not(.radio-compact) .usage-value.download { color: #78caff; }
html:not(.radio-compact) .usage-total { display: grid; gap: 7px; min-width: 125px; }
html:not(.radio-compact) .usage-total b { color: #fff; }
html:not(.radio-compact) .usage-total > span { display: block; height: 5px; overflow: hidden; border-radius: 5px; background: #16354c; }
html:not(.radio-compact) .usage-total i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #18c7f5, #1b78df); }
html:not(.radio-compact) .usage-chip { display: inline-flex; align-items: center; gap: 6px; color: #c8dcec; white-space: nowrap; }
html:not(.radio-compact) .usage-chip svg { width: 14px; color: var(--ops-cyan); }
html:not(.radio-compact) .usage-events { display: inline-grid; min-width: 28px; place-items: center; padding: 4px 8px; border: 1px solid #245071; border-radius: 12px; color: #d8ebf7; font-weight: 800; }

/* Operational data entry surfaces share the same compact, field-focused language. */
html:not(.radio-compact) #attendanceView,
html:not(.radio-compact) #formsView,
html:not(.radio-compact) #incidentsView,
html:not(.radio-compact) #checkpointsView { gap: 16px; }
html:not(.radio-compact) .attendance-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; min-height: 132px; padding: 24px 26px; border-color: #17658c; border-top: 3px solid var(--ops-cyan); background: linear-gradient(105deg, #0a2135, #0b1b2d); }
html:not(.radio-compact) .attendance-summary { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 16px; }
html:not(.radio-compact) .attendance-summary-icon { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid #1b8db7; border-radius: 50%; background: #08263d; color: var(--ops-cyan); box-shadow: 0 0 0 6px rgba(24, 199, 245, .08); }
html:not(.radio-compact) .attendance-summary-icon svg { width: 25px; height: 25px; }
html:not(.radio-compact) .attendance-hero h3 { margin: 5px 0 8px; color: #fff; font-size: 24px; }
html:not(.radio-compact) .attendance-hero p:not(.product) { margin: 0; color: #a8c3d3; font-size: 13px; }
html:not(.radio-compact) .attendance-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 10px; }
html:not(.radio-compact) .attendance-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 17px; }
html:not(.radio-compact) .attendance-actions button svg { width: 17px; height: 17px; }
html:not(.radio-compact) .attendance-report-filter { overflow: hidden; border-color: #1b5476; }
html:not(.radio-compact) .attendance-report-filter .panel-title { padding: 18px 21px; border-bottom: 1px solid #173b57; background: #0a1e31; }
html:not(.radio-compact) .attendance-report-filter .report-filter-grid { display: grid; grid-template-columns: repeat(2, minmax(180px, 300px)); gap: 12px; padding: 18px 21px; border-bottom: 1px solid #173b57; }
html:not(.radio-compact) .attendance-report-filter .report-filter-grid label { display: grid; gap: 6px; color: #afc5d3; font-size: 10px; font-weight: 700; }
html:not(.radio-compact) .attendance-report-filter .report-table-wrap { margin: 0; padding: 0 21px 20px; border: 0; }
html:not(.radio-compact) .attendance-report-filter table { min-width: 760px; }
html:not(.radio-compact) .attendance-report-filter th { padding: 13px 12px; color: #89b8d0; font-size: 10px; text-transform: uppercase; }
html:not(.radio-compact) .attendance-report-filter td { padding: 13px 12px; border-top-color: #163951; }
html:not(.radio-compact) .attendance-report-filter tbody tr:hover { background: #0d2940; }
html:not(.radio-compact) .attendance-report-filter .table-gps { display: block; max-width: 340px; margin-top: 5px; color: #8bb5c8; font-size: 10px; line-height: 1.35; }

html:not(.radio-compact) .form-builder-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .68fr); gap: 16px; align-items: start; }
html:not(.radio-compact) .form-builder-main { overflow: hidden; border-top: 3px solid var(--ops-cyan); }
html:not(.radio-compact) .builder-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 21px; border-bottom: 1px solid #183b57; background: #0a1f33; }
html:not(.radio-compact) .builder-header h3 { margin: 0; color: #fff; font-size: 20px; }
html:not(.radio-compact) .builder-header p { margin: 5px 0 0; color: var(--ops-muted); font-size: 11px; }
html:not(.radio-compact) .builder-header-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; }
html:not(.radio-compact) .builder-header-actions button { min-height: 38px; }
html:not(.radio-compact) .builder-settings { display: grid; grid-template-columns: 1.25fr .82fr .65fr 1.55fr; gap: 12px; padding: 17px 21px; border-bottom: 1px solid #173a56; background: #091a2b; }
html:not(.radio-compact) .builder-settings > label,
html:not(.radio-compact) .builder-settings fieldset { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; color: #afc5d3; font-size: 10px; font-weight: 700; }
html:not(.radio-compact) .builder-settings fieldset { grid-template-columns: repeat(2, max-content); align-content: end; gap: 8px 10px; }
html:not(.radio-compact) .builder-settings legend { grid-column: 1 / -1; padding: 0; color: #afc5d3; }
html:not(.radio-compact) .builder-settings fieldset label { color: #dcebf4; font-size: 10px; font-weight: 500; white-space: nowrap; }
html:not(.radio-compact) .builder-toolbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 21px; border-bottom: 1px solid #173a56; background: #0a2033; }
html:not(.radio-compact) .builder-toolbar > span { display: flex; width: 100%; align-items: center; color: var(--ops-cyan); font-size: 10px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
html:not(.radio-compact) .builder-toolbar button { min-height: 34px; padding: 7px 11px; border-color: #1b4b6d; background: #0c2942; color: #e5f3fb; font-size: 11px; }
html:not(.radio-compact) .builder-toolbar button:hover { border-color: var(--ops-cyan); background: #0d3553; }
html:not(.radio-compact) .builder-fields { min-height: 220px; padding: 20px 21px; background: #071827; }
html:not(.radio-compact) .builder-empty { display: grid; min-height: 180px; place-items: center; margin: 0; border: 1px dashed #28516b; color: #87a8bb; font-size: 12px; }
html:not(.radio-compact) .builder-preview-panel { position: sticky; top: 16px; overflow: hidden; border-color: #1c587c; background: #091c2d; }
html:not(.radio-compact) .builder-preview-panel .panel-title { padding: 18px; border-bottom: 1px solid #173a56; }
html:not(.radio-compact) .builder-live-preview { min-height: 335px; padding: 20px; background: #eaf0f4; color: #192838; }
html:not(.radio-compact) .builder-live-preview h3 { margin: 0 0 18px; color: #10283b; font-size: 19px; }
html:not(.radio-compact) .builder-live-preview .preview-field { display: grid; gap: 7px; margin: 0 0 17px; color: #1a3448; font-size: 12px; font-weight: 800; }
html:not(.radio-compact) .builder-live-preview .preview-field b { color: #173247; }
html:not(.radio-compact) .builder-live-preview .preview-field small { color: #486172; font-size: 10px; font-weight: 500; }
html:not(.radio-compact) .builder-live-preview .preview-field label { display: flex; align-items: center; gap: 7px; color: #314a5c; font-weight: 600; }
html:not(.radio-compact) .builder-live-preview input,
html:not(.radio-compact) .builder-live-preview select,
html:not(.radio-compact) .builder-live-preview textarea { width: 100%; box-sizing: border-box; border: 1px solid #a9bdc9; border-radius: 5px; background: #fff; color: #193347; opacity: 1; }
html:not(.radio-compact) .builder-live-preview input::placeholder,
html:not(.radio-compact) .builder-live-preview textarea::placeholder { color: #718898; opacity: 1; }
html:not(.radio-compact) .builder-live-preview .preview-section { margin: 22px 0 12px; padding-bottom: 8px; border-bottom: 1px solid #afc2ce; color: #0d5c7f; font-size: 14px; }
html:not(.radio-compact) .builder-live-preview .photo-placeholder { display: block; padding: 22px 14px; border: 1px dashed #7294a7; border-radius: 5px; color: #36576b; font-weight: 600; text-align: center; }
html:not(.radio-compact) .notification-row { align-items: center; cursor: pointer; transition: background .16s ease, border-color .16s ease; }
html:not(.radio-compact) .notification-row.notification-unread { border-left: 3px solid #16c5ef; background: #0b2940; }
html:not(.radio-compact) .notification-row.notification-read { border-left: 3px solid transparent; opacity: .72; }
html:not(.radio-compact) .notification-row:hover { background: #10314a; }
html:not(.radio-compact) .notification-state { margin-left: auto; color: #65d8f2; font-size: 10px; font-weight: 800; white-space: nowrap; }
html:not(.radio-compact) .notification-read .notification-state { color: #8ea8b8; }
html:not(.radio-compact) #formsView > .operational-list { overflow: hidden; border-color: #1b5174; }
html:not(.radio-compact) #formsView > .operational-list .panel-title { padding: 18px 21px; background: #0a1f33; }

html:not(.radio-compact) #incidentsView > .panel:first-child,
html:not(.radio-compact) #checkpointsView > .panel:first-child { border-top: 3px solid var(--ops-cyan); background: #0a2033; }
html:not(.radio-compact) #incidentsView > .panel:first-child .panel-title,
html:not(.radio-compact) #checkpointsView > .panel:first-child .panel-title { min-height: 88px; padding: 18px 21px; align-items: center; }
html:not(.radio-compact) #incidentsView > .panel:first-child h3,
html:not(.radio-compact) #checkpointsView > .panel:first-child h3 { margin: 0; color: #fff; font-size: 20px; }
html:not(.radio-compact) #incidentsView > .panel:first-child p,
html:not(.radio-compact) #checkpointsView > .panel:first-child p { margin: 6px 0 0; color: var(--ops-muted); font-size: 11px; }
html:not(.radio-compact) .assigned-form-strip { margin-top: 9px; }
html:not(.radio-compact) .agent-create { min-height: 40px; padding: 0 15px; }
html:not(.radio-compact) #incidentFormPanel,
html:not(.radio-compact) #checkpointFormPanel { overflow: hidden; padding: 0; border-color: #1a5478; }
html:not(.radio-compact) #incidentFormPanel > h3,
html:not(.radio-compact) #checkpointFormPanel > h3 { margin: 0; padding: 19px 21px 3px; color: #fff; font-size: 19px; }
html:not(.radio-compact) #incidentFormPanel > p,
html:not(.radio-compact) #checkpointFormPanel > p { margin: 0; padding: 0 21px 17px; border-bottom: 1px solid #173a56; color: var(--ops-muted); font-size: 11px; }
html:not(.radio-compact) #incidentFormPanel .operational-form,
html:not(.radio-compact) #checkpointFormPanel .operational-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 20px 21px; background: #081a2a; }
html:not(.radio-compact) #incidentFormPanel .operational-form > label,
html:not(.radio-compact) #checkpointFormPanel .operational-form > label { display: grid; gap: 7px; min-width: 0; color: #b5c9d7; font-size: 10px; font-weight: 700; }
html:not(.radio-compact) #incidentFormPanel .operational-form .full,
html:not(.radio-compact) #checkpointFormPanel .operational-form .full { grid-column: 1 / -1; }
html:not(.radio-compact) #incidentFormPanel .operational-form textarea,
html:not(.radio-compact) #checkpointFormPanel .operational-form textarea { min-height: 110px; resize: vertical; }
html:not(.radio-compact) #incidentFormPanel .form-actions,
html:not(.radio-compact) #checkpointFormPanel .form-actions { display: flex; justify-content: end; gap: 9px; margin: 0; }
html:not(.radio-compact) #incidentsView > .operational-list,
html:not(.radio-compact) #checkpointsView > .operational-list { overflow: hidden; border-color: #1a4f71; }

@media (max-width: 1050px) {
  html:not(.radio-compact) .form-builder-layout { grid-template-columns: 1fr; }
  html:not(.radio-compact) .builder-preview-panel { position: static; }
  html:not(.radio-compact) .builder-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1050px) {
  html:not(.radio-compact) .sos-workspace,
  html:not(.radio-compact) .storage-cleanup-layout,
  html:not(.radio-compact) .radio-workspace { grid-template-columns: 1fr; }
  html:not(.radio-compact) .radio-channel-status { min-height: 0; grid-template-columns: 1fr 1fr; }
  html:not(.radio-compact) .radio-channel-status h3 { grid-column: 1 / -1; }
  html:not(.radio-compact) .radio-card.radio-control-card { display: block; }
  html:not(.radio-compact) .radio-transmit-area { min-height: 230px; padding-top: 22px; }
  html:not(.radio-compact) .sos-alert-list { border-right: 0; border-bottom: 1px solid var(--ops-line); }
}

@media (max-width: 1180px) {
  html:not(.radio-compact) .header-search { width: 230px; }
  html:not(.radio-compact) .header-user { min-width: 142px; }
  html:not(.radio-compact) .physical-radio-hero { grid-template-columns: 1fr; }
  html:not(.radio-compact) .physical-radio-dashboard { grid-template-columns: 1fr; }
  html:not(.radio-compact) .physical-radio-detail { grid-column: auto; grid-row: auto; max-height: none; }
  html:not(.radio-compact) .physical-radio-guide { grid-column: auto; }
  html:not(.radio-compact) .physical-radio-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html:not(.radio-compact) .physical-radio-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html:not(.radio-compact) .physical-radio-row { grid-template-columns: 1.2fr .9fr 1fr; }
  html:not(.radio-compact) .physical-radio-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 900px) {
  html:not(.radio-compact) .shell { grid-template-columns: 1fr; }
  html:not(.radio-compact) .shell > aside { position: fixed; z-index: 1200; inset: 0 auto 0 0; width: min(290px, 88vw); height: 100vh; transform: translateX(-105%); transition: transform .2s ease; }
  html:not(.radio-compact) .menu-open > aside { transform: translateX(0); }
  html:not(.radio-compact) header { padding: 14px 18px; }
  html:not(.radio-compact) .header-live,
  html:not(.radio-compact) .header-user div { display: none; }
  html:not(.radio-compact) .header-user { min-width: 40px; }
  html:not(.radio-compact) .header-search { flex: 1; width: auto; }
  html:not(.radio-compact) .view { padding: 16px; }
  html:not(.radio-compact) .operational-detail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html:not(.radio-compact) .operational-location { grid-column: 1 / -1; border-top: 1px solid var(--ops-line); }
}

@media (max-width: 620px) {
  html:not(.radio-compact) .header-title small { display: none; }
  html:not(.radio-compact) .header-title h2 { font-size: 19px; }
  html:not(.radio-compact) .header-search { display: none; }
  html:not(.radio-compact) .metrics { grid-template-columns: 1fr 1fr; }
  html:not(.radio-compact) .metrics article { min-height: 88px; padding: 14px; }
  html:not(.radio-compact) .metrics article::before { display: none; }
  html:not(.radio-compact) .map { height: 300px; }
  html:not(.radio-compact) .control-metrics { grid-template-columns: 1fr 1fr !important; grid-auto-flow: row; }
  html:not(.radio-compact) .control-metric-list-content { grid-template-columns: 1fr; }
  html:not(.radio-compact) .operational-detail { grid-template-columns: 1fr; }
  html:not(.radio-compact) .operational-speaker,
  html:not(.radio-compact) .operational-data,
  html:not(.radio-compact) .operational-location { min-height: 54px; border-right: 0; border-bottom: 1px solid var(--ops-line); }
  html:not(.radio-compact) .operational-location { grid-column: auto; }
  html:not(.radio-compact) .operational-detail > :last-child { border-bottom: 0; }
  html:not(.radio-compact) .control-activity-panel .panel-title { align-items: stretch; }
  html:not(.radio-compact) .control-activity-panel .panel-actions { width: 100%; }
  html:not(.radio-compact) .control-activity-panel .panel-actions select { flex: 1; min-width: 0; }
  html:not(.radio-compact) .activity-user-hit { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; padding-left: 12px; }
  html:not(.radio-compact) .activity-device { display: none; }
  html:not(.radio-compact) .radio-card { padding: 17px; }
  html:not(.radio-compact) .radio-channel-quick-list { grid-template-columns: 1fr; }
  html:not(.radio-compact) .radio-transmit-area { min-height: 210px; padding-top: 12px; }
  html:not(.radio-compact) .radio-channel-status { grid-template-columns: 1fr; padding: 17px; }
  html:not(.radio-compact) .radio-control-card .ptt { width: 178px; height: 178px; }
  html:not(.radio-compact) .data-usage-panel .panel-title { align-items: stretch; }
  html:not(.radio-compact) .history-filter { display: grid; grid-template-columns: 1fr 1fr; }
  html:not(.radio-compact) .history-filter button { justify-content: center; }
  html:not(.radio-compact) .data-usage-panel .metrics,
  html:not(.radio-compact) .usage-insight,
  html:not(.radio-compact) .usage-table-wrap { margin-left: 0; margin-right: 0; }
  html:not(.radio-compact) .physical-radio-hero .radio-hero-actions,
  html:not(.radio-compact) .physical-radio-metrics,
  html:not(.radio-compact) .physical-radio-filters { grid-template-columns: 1fr 1fr; }
  html:not(.radio-compact) .physical-radio-filters .physical-radio-search { grid-column: 1 / -1; }
  html:not(.radio-compact) .physical-radio-filters > button { grid-column: 1 / -1; justify-content: center; }
  html:not(.radio-compact) .physical-radio-bulkbar,
  html:not(.radio-compact) .physical-radio-pagination { align-items: stretch; flex-direction: column; }
  html:not(.radio-compact) .physical-radio-bulkbar > div:last-child { width: 100%; }
  html:not(.radio-compact) .physical-radio-bulkbar > div:last-child button:not(.icon-only) { flex: 1 1 42%; justify-content: center; }
  html:not(.radio-compact) .physical-radio-pagination > label { justify-content: space-between; }
  html:not(.radio-compact) .physical-radio-detail-actions,
  html:not(.radio-compact) .physical-radio-admin-actions { grid-template-columns: 1fr; }
  html:not(.radio-compact) .physical-radio-guide ol { grid-template-columns: 1fr; }
  html:not(.radio-compact) .physical-radio-row { grid-template-columns: 1fr; }
  html:not(.radio-compact) .physical-radio-actions { grid-column: auto; }
  html:not(.radio-compact) .attendance-hero,
  html:not(.radio-compact) .builder-header { grid-template-columns: 1fr; display: grid; }
  html:not(.radio-compact) .attendance-actions,
  html:not(.radio-compact) .builder-header-actions { justify-content: start; }
  html:not(.radio-compact) .attendance-report-filter .report-filter-grid,
  html:not(.radio-compact) .builder-settings,
  html:not(.radio-compact) #incidentFormPanel .operational-form,
  html:not(.radio-compact) #checkpointFormPanel .operational-form { grid-template-columns: 1fr; }
  html:not(.radio-compact) .builder-settings fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* iPhone/PWA: respeta notch, Dynamic Island y barra inferior. */
@supports (padding: max(0px)) {
  @media (max-width: 900px) {
    html:not(.radio-compact),html:not(.radio-compact) body { min-height:100%; background:var(--ops-bg); }
    html:not(.radio-compact) header {
      top:0; min-height:calc(68px + env(safe-area-inset-top));
      padding-top:max(14px,env(safe-area-inset-top));
      padding-right:max(16px,env(safe-area-inset-right));
      padding-left:max(16px,env(safe-area-inset-left));
    }
    html:not(.radio-compact) .shell > aside {
      width:min(310px,90vw); height:100dvh;
      padding-top:calc(env(safe-area-inset-top) + 14px);
      padding-right:max(14px,env(safe-area-inset-right));
      padding-bottom:calc(env(safe-area-inset-bottom) + 14px);
      padding-left:max(14px,env(safe-area-inset-left));
    }
    html:not(.radio-compact) .shell > aside .brand { min-height:76px; margin-bottom:10px; }
    html:not(.radio-compact) .shell > aside .brand img { height:62px; }
    html:not(.radio-compact) .shell > aside nav {
      padding-bottom:calc(env(safe-area-inset-bottom) + 18px);
      -webkit-overflow-scrolling:touch; overscroll-behavior:contain;
    }
    html:not(.radio-compact) .shell > aside nav button { min-height:49px; }
    html:not(.radio-compact) .mobile-menu-close { top:calc(env(safe-area-inset-top) + 12px); right:max(12px,env(safe-area-inset-right)); }
    html:not(.radio-compact) .view {
      padding-right:max(14px,env(safe-area-inset-right));
      padding-bottom:calc(env(safe-area-inset-bottom) + 24px);
      padding-left:max(14px,env(safe-area-inset-left));
    }
    html:not(.radio-compact) .nav-backdrop { height:100dvh; }
  }
}

@media (display-mode: standalone) and (max-width: 620px) {
  html:not(.radio-compact) header { min-height:calc(62px + env(safe-area-inset-top)); padding-bottom:11px; }
  html:not(.radio-compact) .mobile-menu-button { width:46px; height:46px; flex-basis:46px; }
  html:not(.radio-compact) .header-title h2 { font-size:20px; }
  html:not(.radio-compact) .metrics { margin-top:8px; }
}
