/* Bavaria Intercom v0.10.3.173 | Clean Light
   Independent, opt-in presentation skin. No functional/PoC selectors changed.
   Loaded after every module's head styles; preserves signal/status semantic colors. */
.bi-theme-top-right{margin-left:auto;margin-right:14px;display:flex;align-items:center;flex:0 0 auto;position:relative;z-index:2}
.bi-theme-toggle{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:110px;min-height:32px;padding:5px 10px;margin:0;border:1px solid #385062;background:#14232d;color:#edf5fa;border-radius:9px;cursor:pointer;font:650 11px/1.2 system-ui,-apple-system,sans-serif;white-space:nowrap}
.bi-theme-toggle:hover{border-color:#70a8d0}
.bi-theme-toggle:focus-visible{outline:3px solid #3b82f6;outline-offset:2px}
.bi-theme-icon{font-size:18px;line-height:1}
.bi-theme-mobile{display:none;min-width:35px;min-height:35px;padding:5px;margin-right:5px}
html[data-bi-theme="light"]{
  color-scheme:light;
  --bg:#f2f6fb!important;--panel:#fff!important;--panel2:#f6f9fc!important;
  --line:#dbe4ee!important;--text:#17283d!important;--muted:#60758d!important;
  --muted2:#6b7e92!important;--accent:#2464d6!important;--accent2:#2152aa!important;
  --accent-soft:#e8f0ff!important;--warn:#9a6400!important;--danger:#b42332!important;
  --shadow:0 3px 18px rgba(30,58,90,.045)!important;--radius:12px!important;
}
html[data-bi-theme="light"],html[data-bi-theme="light"] body,
html[data-bi-theme="light"] body.bi-app-ui,
html[data-bi-theme="light"] body.bi-app-ui .main,
html[data-bi-theme="light"] body.bi-app-ui .content-frame{background:#f2f6fb!important;color:#17283d!important}
html[data-bi-theme="light"] body.bi-app-ui :is(h1,h2,h3,h4,h5,h6){color:#15273f}
html[data-bi-theme="light"] body.bi-app-ui :is(.muted,.table-meta,.section-kicker,.eyebrow,label,small){color:#60758d}
html[data-bi-theme="light"] body.bi-app-ui :is(.sidebar,.pro-sidebar,.sidebar.pro-sidebar){background:#fff!important;border-color:#dce5ee!important;box-shadow:2px 0 18px rgba(24,51,82,.045)!important}
html[data-bi-theme="light"] body.bi-app-ui .brand-mark,
html[data-bi-theme="light"] body.bi-app-ui .pro-brand .brand-mark{background:#edf4ff!important;border:1px solid #c6d9f7!important;color:#2155aa!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.pro-brand .brand-copy strong,.user-chip strong){color:#152940!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.nav-section-label,.system-state,.user-chip small,.logout){color:#697f97!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.nav-item,.pro-sidebar .nav-item){color:#40556d!important;background:transparent!important;border-color:transparent!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.nav-item:hover,.pro-sidebar .nav-item:hover){background:#edf4ff!important;color:#174b9c!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.nav-item.active,.pro-sidebar .nav-item.active){background:#e8f0ff!important;color:#175ac2!important;border-color:#cbdcf8!important}
html[data-bi-theme="light"] body.bi-app-ui .side-footer{border-color:#e0e8f2!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.app-topbar,.mobile-appbar){background:#fff!important;color:#253e57!important;border-bottom:1px solid #dbe5ef!important;box-shadow:0 1px 5px rgba(25,53,85,.025)!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.topbar-title,.topbar-meta,.mobile-appbrand strong,.mobile-appbrand small){color:#49617c!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.bi-theme-toggle,.bi-theme-mobile){background:#f1f6ff!important;color:#2456ab!important;border-color:#c6d8f3!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.mobile-tabbar,.mobile-more-sheet){background:#fff!important;color:#213954!important;border-color:#dce4ed!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.mobile-tab,.mobile-more-sheet a){color:#637891!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.mobile-tab.active,.mobile-tab:hover,.mobile-more-button.active){color:#215fd0!important;background:#eaf1ff!important}
/* Core surface library, including cards that were hard-coded in earlier releases */
html[data-bi-theme="light"] body.bi-app-ui :is(.panel,.pro-panel,.card,.box,.bi-kpi,.kpi,.record-summary-card,
  .company-status-overview,.company-status-row,.bi-list-row,.bi-dashboard-secondary,
  .assignment-grid>div,.mobile-section,.duty-card,.event,.info-box,.briefing,
  .company-radio-presence-item,.company-radio-presence-card,.company-poc-panel,
  .company-poc-workspace,.dashboard-status-quick,.dashboard-status-button,
  .company-module-card,.company-menu-role-card,.company-menu-check,.company-custom-role-row){
  background:#fff!important;color:#1d334c!important;border-color:#dbe5ef!important;
  box-shadow:0 2px 12px rgba(27,54,85,.035)!important;border-radius:11px!important
}
html[data-bi-theme="light"] body.bi-app-ui :is(.panel h2,.pro-panel h2,.bi-kpi strong,.kpi strong,.bi-list-row strong,
  .company-status-row strong,.company-radio-presence-item strong,.bi-home-action strong){color:#193149!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.panel small,.bi-kpi small,.bi-kpi span,.kpi small,.kpi span,
  .bi-list-row small,.company-status-row small,.company-radio-mini,.dashboard-current-status){color:#617992!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.btn,.btn.ghost,.wb2-btn,.icon-btn){background:#f5f8fc!important;color:#244563!important;border-color:#cad7e4!important;box-shadow:none!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.btn:hover,.btn.ghost:hover,.icon-btn:hover){background:#eaf1fb!important;border-color:#a8c5e7!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.btn.primary,button.btn.primary){background:#2464d6!important;color:#fff!important;border-color:#2464d6!important}
html[data-bi-theme="light"] body.bi-app-ui :is(input,select,textarea){color:#1c344b!important;background:#fff!important;border-color:#c9d7e5!important;box-shadow:none!important}
html[data-bi-theme="light"] body.bi-app-ui :is(input,textarea)::placeholder{color:#8798aa!important}
html[data-bi-theme="light"] body.bi-app-ui :is(input,select,textarea):focus{outline:2px solid #accbfd!important;outline-offset:0}
html[data-bi-theme="light"] body.bi-app-ui :is(input[type="checkbox"],input[type="radio"]){accent-color:#2464d6!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.table-wrap,.pro-table-wrap,table){border-color:#dce6f0!important}
html[data-bi-theme="light"] body.bi-app-ui :is(th,thead){background:#f1f5fa!important;color:#516981!important;border-color:#dbe5ef!important}
html[data-bi-theme="light"] body.bi-app-ui td{background:#fff!important;color:#24374e!important;border-color:#e3ebf2!important}
html[data-bi-theme="light"] body.bi-app-ui tr:hover td{background:#f8fbff!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.badge,.status-tag,.live-pill){background:#e8f1ff;color:#2159a7;border-color:#bcd5ff}
html[data-bi-theme="light"] body.bi-app-ui :is(.info-box,.briefing,.alert.info){background:#edf4ff!important;color:#345474!important;border-color:#bfd3f7!important}
html[data-bi-theme="light"] body.bi-app-ui .global-app-footer{color:#72839a!important;border-color:#d9e3ec!important}
html[data-bi-theme="light"] body.bi-app-ui .global-app-footer a{color:#3f678e!important}
/* Dispatch: match Clean Light, but NEVER repaint semantically coded status circles, RX/TX/SOS */
html[data-bi-theme="light"] body.bi-app-ui #poc-workspace-dispatch .bi-leitstelle-v2{background:#fff!important;color:#203851!important;border:1px solid #dbe5f0!important;box-shadow:0 2px 14px rgba(29,57,91,.06)!important}
html[data-bi-theme="light"] body.bi-app-ui #poc-workspace-dispatch :is(.bi-leitstelle-v2 h3,.bi-status-tile-count b){color:#172f49!important}
html[data-bi-theme="light"] body.bi-app-ui #poc-workspace-dispatch :is(.bi-status-tile,.bi-channel-deck,.bi-channel-pill,
 .bi-dispatch-team,.bi-dispatch-map-panel,.bi-dispatch-presence .company-radio-presence-item,
 .bi-leitstelle-clock,.bi-dispatch-comms-head,.bi-dispatch-presence){background:#f5f8fc!important;color:#274059!important;border-color:#d9e4ee!important;box-shadow:none!important}
html[data-bi-theme="light"] body.bi-app-ui #poc-workspace-dispatch :is(.bi-status-number,.bi-status-name,.bi-status-tile-count,.bi-channel-title,
 .bi-leitstelle-bar p,.bi-map-bottom,.bi-channel-empty){color:#54718e!important}
html[data-bi-theme="light"] body.bi-app-ui #poc-workspace-dispatch .bi-status-s6 .bi-status-circle{color:#fff!important}
/* SanPlan 2.0 - keep employee color coding / qualification / caution states */
html[data-bi-theme="light"] body.bi-app-ui .sd2{color:#21354a!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.sd2-week,.sd2-day,.sd2-week-head,.sd2-staff-item,.sd2-quals label,.sd2-sum){background:#fff!important;color:#274056!important;border-color:#dce6f0!important}
html[data-bi-theme="light"] body.bi-app-ui .sd2-week-head{background:#eef4fa!important}
html[data-bi-theme="light"] body.bi-app-ui .sd2-day.is-weekend{background:#f6f8fb!important}
html[data-bi-theme="light"] body.bi-app-ui .sd2-shift:not(.is-empty){background:#edf3f9!important;color:#203a53!important}
html[data-bi-theme="light"] body.bi-app-ui .sd2-staff{color:#35516b!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.sd2-form,.sd2-actions button,.sd2-shift-actions button,.sd2-shift-actions a){background:#fff!important;color:#243d55!important;border-color:#cddbe7!important}
html[data-bi-theme="light"] body.bi-app-ui .sd2-shift.is-empty{background:#fff0ed!important}
/* Wachbuch 2.0 has its own color variables and hard-coded text colors */
html[data-bi-theme="light"] body.bi-app-ui .wb2{--wb-surface:#fff;--wb-elevated:#f6f9fc;--wb-border:#dce6ee;--wb-ink:#20354e;--wb-sub:#617a94;--wb-accent:#2464d6;--wb-green:#1c9275;color:#20354e!important}
html[data-bi-theme="light"] body.bi-app-ui .wb2 :is(.wb2-top,.wb2-panel,.wb2-metric){background:#fff!important;color:#24384e!important;border-color:#dce6ee!important;box-shadow:0 2px 12px rgba(25,60,94,.035)!important}
html[data-bi-theme="light"] body.bi-app-ui .wb2 .wb2-top{border-left:4px solid #2464d6!important}
html[data-bi-theme="light"] body.bi-app-ui .wb2 :is(.wb2-btn,.wb2-badge,.wb2-category){background:#eef4fb!important;color:#2a507f!important;border-color:#cbdcec!important}
html[data-bi-theme="light"] body.bi-app-ui .wb2 .wb2-primary{background:#2464d6!important;color:#fff!important;border-color:#2464d6!important}
html[data-bi-theme="light"] body.bi-app-ui .wb2 :is(.wb2-field input,.wb2-field select,.wb2-field textarea,.wb2-filter input,.wb2-filter select){background:#fff!important;color:#233b53!important;border-color:#cbd8e5!important}
html[data-bi-theme="light"] body.bi-app-ui .wb2 :is(.wb2-field>span,.wb2-entry-date,.wb2-entry-text,.wb2-entry-bottom b,.wb2-empty strong){color:#263f58!important}
html[data-bi-theme="light"] body.bi-app-ui .wb2 :is(.wb2-entry,.wb2-tools,.wb2-count,.wb2-signbox,.wb2-entry-bottom){border-color:#dce6ef!important}
html[data-bi-theme="light"] body.bi-app-ui .wb2 :is(.wb2-entry,.wb2-sigbox){background:#fff!important}
html[data-bi-theme="light"] body.bi-app-ui .wb2 .wb2-entry:hover{background:#f6faff!important}
html[data-bi-theme="light"] body.bi-app-ui .wb2 .wb2-sigbox{background:#f8fafc!important}
/* Classic medical duty plan (don't recolor assigned staff badges / semantic states) */
html[data-bi-theme="light"] body.bi-app-ui :is(.med-week-grid,.med-week-shift,.med-event-entry,.med-shift-form,.med-week-editor,.med-day-card){color:#21364c}
html[data-bi-theme="light"] body.bi-app-ui :is(.med-week-shift,.med-event-entry,.med-shift-form){background:#f1f6fb!important;border-color:#d4e1ec!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.med-week-time,.med-week-staff,.med-shift-form h3,.med-event-summary,.med-event-name strong,.med-day-card h3){color:#203b58!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.med-week-notes,.med-week-daydate,.med-event-name small,.med-week-help){color:#607991!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.med-week-editor input,.med-week-editor select,.med-week-edit,.med-week-dup){background:#fff!important;color:#233c52!important;border-color:#b8c9da!important}
/* Make mobile table cards visible: existing style.css uses !important dark backgrounds */
@media(max-width:860px){
  .bi-theme-top-right{display:none!important}
  .bi-theme-mobile{display:inline-flex!important}
  html[data-bi-theme="light"] body.bi-app-ui :is(.mobile-card-table tr,.mobile-card-table tr:hover){background:#fff!important;border-color:#d8e3ef!important;color:#223a52!important}
  html[data-bi-theme="light"] body.bi-app-ui .mobile-card-table td{background:transparent!important;border-color:#e5edf5!important}
  html[data-bi-theme="light"] body.bi-app-ui .mobile-card-table td:not([colspan])::before{color:#5b738d!important}
  html[data-bi-theme="light"] body.bi-app-ui .mobile-tabbar{box-shadow:0 -4px 18px rgba(31,61,92,.045)!important}
}
/* Printing must never inherit custom portal skin; printed PDFs have their own branding. */
@media print{.bi-theme-toggle,.bi-theme-top-right{display:none!important}}
/* Classic medical weekly grid: preserve closed/unassigned meanings, rather than flattening all td backgrounds. */
html[data-bi-theme="light"] body.bi-app-ui .med-week-frame{background:#fff!important;border-color:#d3dfeb!important}
html[data-bi-theme="light"] body.bi-app-ui .med-week-grid :is(th,tbody th){background:#edf3f9!important;color:#3b5873!important;border-color:#d5e2ee!important}
html[data-bi-theme="light"] body.bi-app-ui .med-week-grid td{background:#fff!important;color:#253e58!important;border-color:#d9e6f0!important}
html[data-bi-theme="light"] body.bi-app-ui .med-week-grid td.weekend{background:#f6f8fb!important}
html[data-bi-theme="light"] body.bi-app-ui .med-week-grid td.closed{background:#e7ecf1!important;color:#5b6879!important}
html[data-bi-theme="light"] body.bi-app-ui .med-week-grid td.med-unassigned{background:#fff3e2!important;color:#88581a!important;background-image:repeating-linear-gradient(135deg,rgba(196,142,40,.09) 0 8px,transparent 8px 16px)!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.med-event-body,.med-staff-entry,.med-event-empty){background:#fff!important;color:#2b4058!important;border-color:#d8e3ee!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.med-event-edit-form input,.med-event-edit-form select,.med-directory-toolbar input){background:#fff!important;color:#1e3955!important;border-color:#cddce9!important}
/* Honor explicit colored status pills and official alerts. */
html[data-bi-theme="light"] body.bi-app-ui .badge.warn{background:#fff3db!important;color:#8b5c04!important;border-color:#e7c889!important}
html[data-bi-theme="light"] body.bi-app-ui .alert.danger{background:#fff0f0!important;color:#9f2534!important;border-color:#edc0c7!important}


/* ===========================================================
   v0.10.3.174 | Clean Light - consistent mobile navigation sheet
   The mobile sheet, search and nav links previously retained the
   fixed dark palette from style.css while the sheet itself was white.
   Scope everything to the opt-in Light theme; Dark stays unchanged.
   =========================================================== */
@media (max-width: 900px) {
  html[data-bi-theme="light"] body.bi-app-ui .mobile-more-sheet {
    background:#ffffff!important;
    color:#1d344e!important;
    border:1px solid #d7e2ef!important;
    box-shadow:0 24px 65px rgba(26,46,70,.18)!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-sheet-handle {
    background:#96a9b9!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-sheet-head {
    border-color:#dfe8f0!important;
    background:#ffffff!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-sheet-head strong {
    color:#18324e!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-sheet-head small {
    color:#657b92!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-sheet-close {
    background:#edf3fa!important;
    color:#24445e!important;
    border:1px solid #cad9e7!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-sheet-close:focus-visible,
  html[data-bi-theme="light"] body.bi-app-ui .mobile-sheet-links a:focus-visible {
    outline:3px solid #2464d6!important;
    outline-offset:2px;
  }
  html[data-bi-theme="light"] body.bi-app-ui .bi-mobile-menu-search {
    background:#f3f7fc!important;
    color:#233a54!important;
    border:1px solid #dbe6f0!important;
    border-radius:10px;
    margin:8px 0 4px;
    padding:11px 13px!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .bi-mobile-menu-search label {
    color:#536b83!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .bi-mobile-menu-search input {
    background:#fff!important;
    color:#172f49!important;
    border:1px solid #b8cadc!important;
    box-shadow:none!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .bi-mobile-menu-search input::placeholder {
    color:#6d8195!important;
    opacity:1;
  }
  html[data-bi-theme="light"] body.bi-app-ui .bi-mobile-menu-no-results {
    color:#60778e!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-sheet-links {
    background:#fff!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-sheet-section-label {
    color:#526c83!important;
    border-color:#e0e8f1!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-more-sheet .mobile-sheet-links a {
    background:#f8fafd!important;
    background-image:none!important;
    border:1px solid #dae5ee!important;
    color:#233a52!important;
    box-shadow:none!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-more-sheet .mobile-sheet-links a strong {
    color:#1c3550!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-more-sheet .mobile-sheet-links a small {
    color:#60758b!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-more-sheet .mobile-sheet-links a svg {
    stroke:#42698c!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-more-sheet .mobile-sheet-links a:hover,
  html[data-bi-theme="light"] body.bi-app-ui .mobile-more-sheet .mobile-sheet-links a:active {
    background:#eaf2ff!important;
    border-color:#b8d0ed!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-more-sheet .mobile-sheet-links a.bi-mobile-current {
    background:#e6f0ff!important;
    border-color:#9dbfe8!important;
    border-left:4px solid #2464d6!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-more-sheet .mobile-sheet-links a.bi-mobile-current strong {
    color:#174a98!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-more-sheet .mobile-sheet-links a.mobile-sheet-logout {
    background:#fff7f7!important;
    border-color:#f1d8db!important;
  }
  html[data-bi-theme="light"] body.bi-app-ui .mobile-more-sheet .mobile-sheet-links a.mobile-sheet-logout strong,
  html[data-bi-theme="light"] body.bi-app-ui .mobile-more-sheet .mobile-sheet-links a.mobile-sheet-logout svg {
    color:#a82e3c!important;
    stroke:#a82e3c!important;
  }
}


/* ===========================================================
   v0.10.3.175 | Clean Light - readability + remaining dark islands
   Fixes mobile notification list, location toolbar/cards, map controls,
   SanPlan employee quick-pickers and general text contrast in Light mode.
   =========================================================== */
html[data-bi-theme="light"] body.bi-app-ui{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
html[data-bi-theme="light"] body.bi-app-ui :is(.topbar-title,.page-head .muted,.pro-page-head .muted,.breadcrumb,.table-meta,.muted){
  color:#5d7288!important;
}
html[data-bi-theme="light"] body.bi-app-ui :is(.panel,.pro-panel,.card,.box,.mobile-section){
  border-width:1px!important;
}
html[data-bi-theme="light"] body.bi-app-ui :is(.page-head h1,.pro-page-head h1,.panel h2,.pro-panel h2,.mobile-section h2){
  letter-spacing:-.02em;
}

/* top action icons / better contrast */
html[data-bi-theme="light"] body.bi-app-ui :is(.notification-bell,.location-share-toggle,.global-ai-launch){
  background:#f4f8fd!important;
  color:#274562!important;
  border-color:#cbd9e6!important;
  box-shadow:none!important;
}
html[data-bi-theme="light"] body.bi-app-ui :is(.notification-bell:hover,.location-share-toggle:hover,.global-ai-launch:hover){
  background:#eaf2fb!important;
  border-color:#a9c3df!important;
  color:#1d4f91!important;
}
html[data-bi-theme="light"] body.bi-app-ui .notification-count{border-color:#ffffff!important}
html[data-bi-theme="light"] body.bi-app-ui .mobile-tab.active{font-weight:800!important}

/* notification page */
html[data-bi-theme="light"] body.bi-app-ui .notification-page-list{
  background:#fff!important;
  border:1px solid #dbe5ef!important;
  border-radius:14px!important;
  overflow:hidden!important;
}
html[data-bi-theme="light"] body.bi-app-ui .notification-row{
  background:#fff!important;
  color:#1e344a!important;
  border-bottom:1px solid #e5edf4!important;
}
html[data-bi-theme="light"] body.bi-app-ui .notification-row:hover{
  background:#f7fbff!important;
}
html[data-bi-theme="light"] body.bi-app-ui .notification-row.unread{
  background:linear-gradient(90deg,#eef5ff 0,#ffffff 56%)!important;
  border-left:4px solid #2464d6!important;
  padding-left:8px!important;
}
html[data-bi-theme="light"] body.bi-app-ui .notification-row-icon{
  background:#eef4fb!important;
  color:#2464d6!important;
  border-color:#cfdceb!important;
}
html[data-bi-theme="light"] body.bi-app-ui .notification-row-copy strong{color:#19324a!important}
html[data-bi-theme="light"] body.bi-app-ui .notification-row-copy span{color:#52697f!important;line-height:1.45!important}
html[data-bi-theme="light"] body.bi-app-ui .notification-row-copy small,
html[data-bi-theme="light"] body.bi-app-ui .notification-row-arrow{color:#7690a8!important}

/* company / PoC location page */
html[data-bi-theme="light"] body.bi-app-ui :is(.poc-gps-toolbar label,.poc-gps-routebar label,.live-location-meta){
  color:#567086!important;
}
html[data-bi-theme="light"] body.bi-app-ui :is(.poc-gps-follow,.poc-live-speed,.poc-gap-count){
  background:#f7fafd!important;
  color:#213a54!important;
  border-color:#d4e0eb!important;
  box-shadow:none!important;
}
html[data-bi-theme="light"] body.bi-app-ui .poc-gps-follow span,
html[data-bi-theme="light"] body.bi-app-ui .poc-live-speed strong,
html[data-bi-theme="light"] body.bi-app-ui .poc-gap-count strong{color:#1c3550!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.poc-live-speed span,.poc-gap-count span){color:#60768d!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.live-location-map,.company-location-map){
  background:#edf3f8!important;
  border-color:#d8e3ec!important;
}
html[data-bi-theme="light"] body.bi-app-ui .live-location-list{scrollbar-color:#b7c8d8 transparent!important}
html[data-bi-theme="light"] body.bi-app-ui .live-location-person{
  background:#ffffff!important;
  color:#1e3448!important;
  border-color:#d9e4ee!important;
}
html[data-bi-theme="light"] body.bi-app-ui .live-location-person:hover{background:#f7fbff!important;border-color:#bdd1e4!important}
html[data-bi-theme="light"] body.bi-app-ui .live-location-person strong,
html[data-bi-theme="light"] body.bi-app-ui .live-location-person b{color:#18314b!important}
html[data-bi-theme="light"] body.bi-app-ui .live-location-person small{color:#60788f!important}
html[data-bi-theme="light"] body.bi-app-ui .live-location-person.is-selected{
  background:#eef5ff!important;
  border-color:#8cb5eb!important;
}
html[data-bi-theme="light"] body.bi-app-ui .live-location-person.is-offline{
  background:#fbfcfe!important;
}
html[data-bi-theme="light"] body.bi-app-ui .leaflet-control-zoom a,
html[data-bi-theme="light"] body.bi-app-ui .leaflet-bar a{
  background:#ffffff!important;
  color:#214667!important;
  border-color:#cedae5!important;
}
html[data-bi-theme="light"] body.bi-app-ui .leaflet-control-zoom a:hover,
html[data-bi-theme="light"] body.bi-app-ui .leaflet-bar a:hover{background:#eef5fd!important;color:#1a4f96!important}

/* SanPlan quick employee picker */
html[data-bi-theme="light"] body.bi-app-ui .med-fast-top label{color:#506a80!important}
html[data-bi-theme="light"] body.bi-app-ui .med-fast-count{color:#8b6a00!important}
html[data-bi-theme="light"] body.bi-app-ui .med-fast-selected{color:#60788f!important}
html[data-bi-theme="light"] body.bi-app-ui .med-fast-chip{
  background:#edf4ff!important;
  color:#1d4e94!important;
  border-color:#bfd4f3!important;
}
html[data-bi-theme="light"] body.bi-app-ui .med-fast-option{
  background:#ffffff!important;
  color:#1f354d!important;
  border-color:#d9e4ee!important;
  box-shadow:none!important;
}
html[data-bi-theme="light"] body.bi-app-ui .med-fast-option:hover{
  background:#f7fbff!important;
  border-color:#bfd3e6!important;
}
html[data-bi-theme="light"] body.bi-app-ui .med-fast-option:has(input:checked){
  background:#eef5ff!important;
  border-color:#94b8e7!important;
}
html[data-bi-theme="light"] body.bi-app-ui .med-fast-option strong{color:#18324a!important}
html[data-bi-theme="light"] body.bi-app-ui .med-fast-option small,
html[data-bi-theme="light"] body.bi-app-ui .med-fast-empty{color:#60788f!important}

/* map/list utility cards not covered by the generic panel rules */
html[data-bi-theme="light"] body.bi-app-ui :is(.open-duty-card,.map-library-card,.wsim-sim-card,.qualification-field,.qual-check){
  background:#fff!important;
  color:#1d334b!important;
  border-color:#d9e4ee!important;
}
html[data-bi-theme="light"] body.bi-app-ui :is(.open-duty-top p,.open-duty-meta small,.open-duty-quals,.qual-check small,.qualification-field legend){color:#60788f!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.open-duty-top h2,.open-duty-meta b,.qual-check b){color:#18324a!important}

/* Mobile typography: improve actual legibility, not just contrast */
@media(max-width:900px){
  html[data-bi-theme="light"] body.bi-app-ui .page-head .muted,
  html[data-bi-theme="light"] body.bi-app-ui .pro-page-head .muted{font-size:13px!important;line-height:1.5!important;color:#536a81!important}
  html[data-bi-theme="light"] body.bi-app-ui .notification-row{padding:14px 13px!important;gap:12px!important}
  html[data-bi-theme="light"] body.bi-app-ui .notification-row-copy{gap:4px!important}
  html[data-bi-theme="light"] body.bi-app-ui .notification-row-copy strong{font-size:15px!important;line-height:1.35!important}
  html[data-bi-theme="light"] body.bi-app-ui .notification-row-copy span{font-size:13px!important;line-height:1.55!important;color:#415c74!important}
  html[data-bi-theme="light"] body.bi-app-ui .notification-row-copy small{font-size:12px!important;line-height:1.35!important;color:#526d84!important}
  html[data-bi-theme="light"] body.bi-app-ui .notification-row-icon{flex:0 0 35px!important;width:35px!important;height:35px!important;font-size:15px!important}
  html[data-bi-theme="light"] body.bi-app-ui .poc-gps-follow{min-height:43px!important}
  html[data-bi-theme="light"] body.bi-app-ui .poc-gps-follow span{font-size:13px!important}
  html[data-bi-theme="light"] body.bi-app-ui .poc-live-speed span{font-size:12px!important}
  html[data-bi-theme="light"] body.bi-app-ui .poc-live-speed strong{font-size:16px!important}
  html[data-bi-theme="light"] body.bi-app-ui .live-location-person strong{font-size:15px!important;line-height:1.4!important}
  html[data-bi-theme="light"] body.bi-app-ui .live-location-person small{font-size:12px!important;line-height:1.5!important}
  html[data-bi-theme="light"] body.bi-app-ui .med-fast-option{padding:12px 13px!important;gap:12px!important}
  html[data-bi-theme="light"] body.bi-app-ui .med-fast-option strong{font-size:15px!important;line-height:1.4!important}
  html[data-bi-theme="light"] body.bi-app-ui .med-fast-option small{font-size:13px!important;line-height:1.45!important;color:#526c83!important}
  html[data-bi-theme="light"] body.bi-app-ui .med-fast-option input[type="checkbox"]{width:21px!important;height:21px!important;min-height:21px!important;flex:0 0 21px!important;accent-color:#2464d6!important}
  html[data-bi-theme="light"] body.bi-app-ui .med-fast-count{font-size:14px!important;color:#755100!important}
  html[data-bi-theme="light"] body.bi-app-ui .med-fast-selected{font-size:13px!important;color:#516b82!important}
}
/* Additional contrast and keyboard focus within the affected tools */
html[data-bi-theme="light"] body.bi-app-ui .med-fast-option:focus-within,
html[data-bi-theme="light"] body.bi-app-ui .notification-row:focus-visible,
html[data-bi-theme="light"] body.bi-app-ui .live-location-person:focus-visible{
  outline:3px solid #2470d0!important;
  outline-offset:2px!important;
}
html[data-bi-theme="light"] body.bi-app-ui .med-fast-option:has(input:checked){
  background:#e6f0ff!important;border-color:#4382da!important;
}
html[data-bi-theme="light"] body.bi-app-ui .poc-gps-follow:has(input:checked){
  background:#eaf3ff!important;border-color:#87b1e2!important;
}



/* ================================================================
   Bavaria Intercom v0.10.3.176 | Clean Light form, tabs and auth
   Light-only presentation rules; Dark, status color and PTT logic unchanged.
   ================================================================ */
/* PoC tab bars / segmented navigation: never pale gray on gray */
html[data-bi-theme="light"] body.bi-app-ui :is(.company-poc-tabs,.company-poc-workspace-group .company-poc-tabs){
  background:#eaf0f6!important;border:1px solid #cbd9e8!important;color:#1e354e!important;
  box-shadow:none!important;min-width:0!important;
}
html[data-bi-theme="light"] body.bi-app-ui .company-poc-tabs button{
  background:#fff!important;color:#28435e!important;border:1px solid #d3dfeb!important;
  opacity:1!important;text-shadow:none!important;box-shadow:none!important;
}
html[data-bi-theme="light"] body.bi-app-ui .company-poc-tabs button.active,
html[data-bi-theme="light"] body.bi-app-ui .company-poc-tabs button[aria-selected="true"]{
  background:#2464d6!important;color:#fff!important;border-color:#2464d6!important;
  box-shadow:0 1px 4px rgba(36,100,214,.17)!important;
}
html[data-bi-theme="light"] body.bi-app-ui .company-poc-tabs button:not(.active):hover{
  background:#eff6ff!important;color:#174d94!important;border-color:#91b5e4!important;
}
html[data-bi-theme="light"] body.bi-app-ui .company-poc-tabs button:disabled{
  background:#f5f7fa!important;color:#65798f!important;border-color:#dce4ee!important;
  opacity:1!important;cursor:not-allowed;
}
html[data-bi-theme="light"] body.bi-app-ui :is(.company-poc-workspace-title,.company-poc-section-head h2){color:#405b78!important}
/* Expandable details and disclosure controls (no changes to click handling) */
html[data-bi-theme="light"] body.bi-app-ui :is(
  details.bi-dispatch-extra,details.company-device-tool,details.company-device-log,
  details.company-radio-message-panel,details.bi-channel-settings,
  details.company-device-tool[open],details.bi-dispatch-extra[open]){
  background:#fff!important;border-color:#cbdce9!important;color:#1f3851!important;
  box-shadow:none!important;
}
html[data-bi-theme="light"] body.bi-app-ui :is(
  details>summary,details.panel>summary,details.pro-panel>summary,
  .company-device-tool>summary,.company-device-log>summary,
  #poc-workspace-dispatch .bi-dispatch-extra>summary,
  #poc-workspace-dispatch .bi-channel-settings>summary){
  color:#1e3d5c!important;text-shadow:none!important;
}
html[data-bi-theme="light"] body.bi-app-ui details[open]>summary{border-bottom-color:#dae5f0!important}
html[data-bi-theme="light"] body.bi-app-ui :is(details>summary:hover,.company-group-toggle:hover,.company-device-summary:hover){
  background:#edf5ff!important;color:#204e83!important;
}
html[data-bi-theme="light"] body.bi-app-ui :is(
 .company-device-body,.company-group-body,.company-dispatch-console,
 .company-radio-presence,.company-device-card,.company-group-card,
 .company-permission-card,.company-inline-editor){
  background:#fff!important;color:#213a52!important;border-color:#d9e4ed!important;
}
html[data-bi-theme="light"] body.bi-app-ui :is(
  .company-group-toggle,.company-device-summary,.company-device-telemetry span,
  .company-member-chips button){background:#f7fafd!important;color:#23405b!important;border-color:#d7e3ed!important}
html[data-bi-theme="light"] body.bi-app-ui :is(
  .company-group-toggle small,.company-device-summary small,
  .company-device-log summary span,.company-radio-presence-head span){color:#58738b!important}
html[data-bi-theme="light"] body.bi-app-ui :is(
  .bi-speech-extra .muted,.company-radio-message-panel .muted,
  .company-device-log-body,.company-dispatch-console .muted){color:#506b83!important}
/* Improve keyboard and touch legibility in narrow layouts */
@media(max-width:900px){
  html[data-bi-theme="light"] body.bi-app-ui .company-poc-tabs button{font-size:14px!important;min-height:44px!important;padding:9px 13px!important}
  html[data-bi-theme="light"] body.bi-app-ui :is(details>summary,.company-device-summary,.company-group-toggle){font-size:14px!important;line-height:1.45!important}
  html[data-bi-theme="light"] body.bi-app-ui .company-poc-tabs{max-width:100%;overflow-x:auto;scrollbar-width:thin}
}
html[data-bi-theme="light"] body.bi-app-ui :is(.company-poc-tabs button,details>summary):focus-visible{
 outline:3px solid #2464d6!important;outline-offset:2px;
}
/* Public sign-in and registration: theme selection even before authentication */
.bi-public-theme-chooser{position:fixed;right:18px;top:calc(14px + env(safe-area-inset-top,0px));z-index:110;display:flex}
.bi-public-theme-chooser .bi-theme-toggle{min-height:42px;padding:9px 15px;font-size:13px;box-shadow:0 7px 22px rgba(0,0,0,.12)}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-wrap{
 background:linear-gradient(145deg,#f3f7fc,#e7eff8)!important;color:#182f47!important;
}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-shell{
 background:#fff!important;border:1px solid #d2dfed!important;
 box-shadow:0 22px 65px rgba(34,72,107,.12)!important;
}
html[data-bi-theme="light"] body.bi-app-ui :is(.public-auth-brand,.registration-brand){
 background:linear-gradient(152deg,#e6f1ff,#f5f9fe 65%,#fff)!important;color:#19344f!important;
}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-brand:after{
 background:radial-gradient(circle,rgba(36,100,214,.09),transparent 70%)!important;
}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-brand :is(h1,h2,.eyebrow,.public-auth-benefits){color:#172d45!important}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-brand :is(.public-auth-lead,.login-system){color:#506981!important}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-feature-grid>div{
 background:#fff!important;border:1px solid #d5e2f0!important;
}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-feature-grid :is(strong,b){color:#244c80!important}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-feature-grid small{color:#536e86!important}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-feature-grid>div>b{
 background:#e8f0ff!important;border-color:#bfd4f2!important;color:#2058b2!important;
}
html[data-bi-theme="light"] body.bi-app-ui :is(.public-auth-trial,.trial-card){
 background:#fff!important;border:1px solid #c8daf0!important;color:#173653!important;
}
html[data-bi-theme="light"] body.bi-app-ui :is(.public-auth-trial span,.trial-card>span,.trial-card small){color:#526b82!important}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-benefits b{
 background:#e7f0ff!important;border-color:#bfd5f2!important;color:#2054a4!important;
}
html[data-bi-theme="light"] body.bi-app-ui .login-system{background:#edf5ff!important;border-color:#cddfec!important}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-card{
 background:#fff!important;border-color:#d8e4f0!important;color:#1d354d!important;
 box-shadow:none!important;
}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-card :is(h2,strong){color:#182f49!important}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-card label{color:#26435d!important;font-weight:650!important}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-card input:not([type="checkbox"]){
 background:#fff!important;color:#142f49!important;border:1px solid #aebfd0!important;
 font-size:16px!important;min-height:46px!important;font-weight:550!important;
}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-card input:focus{
 border-color:#2869c5!important;outline:3px solid #bfd7fa!important;box-shadow:none!important;
}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-card input::placeholder{color:#6a8299!important}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-card :is(.registration-contract-box,.registration-check){
 background:#f7faff!important;color:#213a54!important;border-color:#d7e3ee!important;
}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-card .registration-contract-box{border:1px solid #d7e3ee!important}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-card .registration-check input{
 accent-color:#2464d6!important;min-width:19px!important;width:19px!important;height:19px!important;
}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-card :is(.registration-legal-note,.field-hint,.login-foot,.optional,.public-auth-mobile-register){color:#536d84!important}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-card :is(.registration-check a,.public-auth-mobile-register a,.public-auth-legal-links a,.public-auth-discover-inline a){color:#1858b5!important}
html[data-bi-theme="light"] body.bi-app-ui :is(.public-auth-back,.public-auth-product-link,.public-auth-discover){color:#1d568f!important}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-card :is(.registration-submit,.login-submit),
html[data-bi-theme="light"] body.bi-app-ui .public-auth-trial .public-auth-cta{
 background:#2464d6!important;color:#fff!important;border-color:#2464d6!important;
 font-weight:750!important;opacity:1!important;
}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-card button:disabled{opacity:.55!important;cursor:not-allowed}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-card .btn.ghost{
 background:#f1f6fc!important;color:#234b72!important;border-color:#c8d8e8!important;
}
html[data-bi-theme="light"] body.bi-app-ui .public-auth-legal-links a{color:#426686!important}
@media(max-width:900px){
  .bi-public-theme-chooser{right:12px;top:calc(8px + env(safe-area-inset-top,0px))}
  .bi-public-theme-chooser .bi-theme-toggle{min-height:40px;padding:8px 12px;font-size:12px}
  html[data-bi-theme="light"] body.bi-app-ui .public-auth-brand{padding-top:65px!important}
  html[data-bi-theme="light"] body.bi-app-ui .public-auth-card label{font-size:14px!important;line-height:1.45!important}
  html[data-bi-theme="light"] body.bi-app-ui .public-auth-card .field-hint,
  html[data-bi-theme="light"] body.bi-app-ui .public-auth-card .registration-legal-note{font-size:12px!important;line-height:1.55!important}
  html[data-bi-theme="light"] body.bi-app-ui .public-auth-card .registration-check{font-size:13px!important;line-height:1.5!important}
  html[data-bi-theme="light"] body.bi-app-ui .public-auth-card .public-auth-mobile-register{font-size:13px!important}
}
@media print{.bi-public-theme-chooser{display:none!important}}
