/* Final blue-removal pass for Alerts, Alert Details and System Health. */

/* Shared header/canvas treatment for the remaining screens. */
.phone-shell-wrap.events-shell-active,
.phone-shell-wrap.events-shell-active > .app-scroll-region,
.phone-shell-wrap.event-detail-shell-active,
.phone-shell-wrap.event-detail-shell-active > .app-scroll-region,
.phone-shell-wrap:has(> .app-scroll-region > .system-health-screen),
.phone-shell-wrap:has(> .app-scroll-region > .system-health-screen) > .app-scroll-region {
  background: #0B131D !important;
  background-image: none !important;
}

.phone-shell-wrap.events-shell-active > .app-screen-header,
.phone-shell-wrap.event-detail-shell-active > .app-screen-header,
.phone-shell-wrap:has(> .app-scroll-region > .system-health-screen) > .app-screen-header {
  background: #0B131D !important;
  background-image: none !important;
  box-shadow: none !important;
}

.phone-shell-wrap.event-detail-shell-active > .app-screen-header .app-screen-header-action {
  border: 1px solid rgba(124,143,159,.22) !important;
  background: #101A25 !important;
  color: #9aa4ae !important;
  box-shadow: none !important;
}

.phone-shell-wrap:has(> .app-scroll-region > .system-health-screen) .app-screen-header-badge {
  background: #55DFCF !important;
  box-shadow: 0 0 8px rgba(85,223,207,.55) !important;
}

/* Alerts */
.phone-shell-wrap.events-shell-active .reference-alerts-screen { background: #0B131D !important; background-image: none !important; }
.phone-shell-wrap.events-shell-active .reference-alerts-date-menu,
.phone-shell-wrap.events-shell-active .reference-alerts-filter-panel { border-color: rgba(124,143,159,.24) !important; background: #0D1721 !important; box-shadow: 0 18px 40px rgba(0,0,0,.38) !important; }
.phone-shell-wrap.events-shell-active .reference-alerts-date-menu button.active,
.phone-shell-wrap.events-shell-active .reference-alerts-filter-options button.active { border-color: rgba(85,223,207,.58) !important; background: rgba(85,223,207,.08) !important; color: #55DFCF !important; }
.phone-shell-wrap.events-shell-active .reference-alerts-filter-panel-head button,
.phone-shell-wrap.events-shell-active .reference-alerts-clear-filters,
.phone-shell-wrap.events-shell-active .reference-alerts-top-action.active,
.phone-shell-wrap.events-shell-active .reference-alerts-top-action.active > svg { color: #55DFCF !important; }
.phone-shell-wrap.events-shell-active .reference-alerts-filter-action i { background: #55DFCF !important; box-shadow: 0 0 7px rgba(85,223,207,.48) !important; }
.phone-shell-wrap.events-shell-active .reference-alert-filter-row button { border-color: rgba(124,143,159,.22) !important; background: #0D1721 !important; color: #D9E0E9 !important; }
.phone-shell-wrap.events-shell-active .reference-alert-filter-row button.active { border-color: rgba(85,223,207,.62) !important; background: #101A25 !important; background-image: none !important; color: #55DFCF !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important; }
.phone-shell-wrap.events-shell-active .reference-saved-alerts-entry,
.phone-shell-wrap.events-shell-active .reference-alert-card,
.phone-shell-wrap.events-shell-active .reference-alert-empty { border-color: rgba(124,143,159,.20) !important; background: #0D1721 !important; background-image: none !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important; }
.phone-shell-wrap.events-shell-active .reference-saved-alerts-entry.active,
.phone-shell-wrap.events-shell-active .reference-alert-card:active { border-color: rgba(85,223,207,.34) !important; background: #111C27 !important; }
.phone-shell-wrap.events-shell-active .reference-saved-alerts-entry > svg,
.phone-shell-wrap.events-shell-active .reference-saved-alerts-entry b { color: #55DFCF !important; }
.phone-shell-wrap.events-shell-active .reference-saved-alerts-entry b { background: rgba(85,223,207,.08) !important; }
.phone-shell-wrap.events-shell-active .reference-alert-thumb { background: #0A141E !important; border-color: rgba(124,143,159,.16) !important; }

/* Alert Details */
.phone-shell-wrap.event-detail-shell-active .event-detail-redesign { background: #0B131D !important; background-image: none !important; }
.phone-shell-wrap.event-detail-shell-active .event-detail-assessment { border-color: rgba(124,143,159,.20) !important; background: #0D1721 !important; background-image: none !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important; }
.phone-shell-wrap.event-detail-shell-active .event-detail-assessment::before { display: none !important; content: none !important; }
.phone-shell-wrap.event-detail-shell-active .event-detail-assessment .event-detail-acknowledge,
.phone-shell-wrap.event-detail-shell-active .event-detail-quick-actions button.secondary { border-color: rgba(85,223,207,.34) !important; background: #101A25 !important; background-image: none !important; color: #DDE5EA !important; box-shadow: none !important; }
.phone-shell-wrap.event-detail-shell-active .event-detail-assessment .event-detail-acknowledge:hover:not(:disabled),
.phone-shell-wrap.event-detail-shell-active .event-detail-quick-actions button.secondary:hover:not(:disabled) { border-color: rgba(85,223,207,.54) !important; background: #13212D !important; color: #F3F5F6 !important; }
.phone-shell-wrap.event-detail-shell-active .event-detail-media-actions button.active,
.phone-shell-wrap.event-detail-shell-active .event-detail-media-actions button.active svg { color: #55DFCF !important; }
.phone-shell-wrap.event-detail-shell-active .event-detail-media-actions button.active { background: rgba(85,223,207,.07) !important; box-shadow: inset 0 0 0 1px rgba(85,223,207,.18) !important; }
.phone-shell-wrap.event-detail-shell-active .event-detail-media-actions button.active svg { filter: drop-shadow(0 0 7px rgba(85,223,207,.20)); }
.phone-shell-wrap.event-detail-shell-active .event-detail-progress span { background: #55DFCF !important; box-shadow: 0 0 9px rgba(85,223,207,.20) !important; }
.phone-shell-wrap.event-detail-shell-active .event-detail-progress i { background: #A5F1E8 !important; box-shadow: 0 0 0 3px rgba(85,223,207,.10), 0 0 10px rgba(85,223,207,.24) !important; }
.phone-shell-wrap.event-detail-shell-active .event-detail-hero-play { border-color: rgba(85,223,207,.34) !important; background: rgba(10,20,30,.88) !important; color: #F4F7FB !important; box-shadow: 0 8px 22px rgba(0,0,0,.28), 0 0 16px rgba(85,223,207,.08) !important; }
.phone-shell-wrap.event-detail-shell-active .event-detail-media-tools button { border-color: rgba(124,143,159,.22) !important; background: rgba(13,23,33,.92) !important; color: #C3CDD5 !important; }
.phone-shell-wrap.event-detail-shell-active .event-assessment-location { border-top-color: rgba(124,143,159,.16) !important; }
.phone-shell-wrap.event-detail-shell-active .event-assessment-location > strong,
.phone-shell-wrap.event-detail-shell-active .event-assessment-location svg { color: #55DFCF !important; }

/* System Health */
.phone-shell-wrap .system-health-screen { background: #0B131D !important; background-image: none !important; }
.phone-shell-wrap .system-health-screen .system-health-hero,
.phone-shell-wrap .system-health-screen .system-health-row,
.phone-shell-wrap .system-health-screen .system-health-recommendation { border-color: rgba(124,143,159,.18) !important; background: #0D1721 !important; background-image: none !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important; }
.phone-shell-wrap .system-health-screen .system-health-overall { border-top-color: rgba(124,143,159,.14) !important; background: #0B151F !important; }
.phone-shell-wrap .system-health-screen .system-health-shield,
.phone-shell-wrap .system-health-screen .system-health-row-icon,
.phone-shell-wrap .system-health-screen .system-health-recommendation > span { border-color: rgba(124,143,159,.16) !important; background: #111C27 !important; box-shadow: none !important; }
.phone-shell-wrap .system-health-screen .system-health-hero:not(.tone-warning):not(.tone-alert) { --health-accent: #55DFCF !important; }
.phone-shell-wrap .system-health-screen .system-health-row:not(.tone-warning):not(.tone-alert),
.phone-shell-wrap .system-health-screen .system-health-recommendation:not(.tone-warning):not(.tone-alert) { --row-accent: #55DFCF !important; --recommendation-accent: #55DFCF !important; }
.phone-shell-wrap .system-health-screen .system-health-row-value em,
.phone-shell-wrap .system-health-screen .system-health-overall > b,
.phone-shell-wrap .system-health-screen .system-health-overall-dot { filter: none !important; }
