/* V2.1I — shared dashboard panels with desktop-only account controls. */
.desktop-attention-popover-v21h.hidden,
.desktop-attention-badge-v21h.hidden { display: none !important; }

@media (min-width: 821px) {
  #desktopAttentionHostV111AC { width: 52px; flex: 0 0 52px; }
  .desktop-attention-bell-v21h {
    position: relative; display: grid; place-items: center; width: 52px; height: 52px;
    padding: 12px; border: 1px solid #d8e3ef; border-radius: 50%; background: #fff;
    color: #245889; cursor: pointer; box-shadow: 0 5px 16px rgba(16,46,86,.05);
  }
  .desktop-attention-bell-v21h > svg { width: 27px; height: 27px; }
  .desktop-attention-bell-v21h:hover,
  .desktop-attention-bell-v21h[aria-expanded="true"] { background: #fff0b9; border-color: #f2d06f; }
  .desktop-attention-badge-v21h {
    position: absolute; right: -4px; top: -5px; display: grid; place-items: center;
    min-width: 22px; height: 22px; padding: 0 4px; border: 2px solid #fff;
    border-radius: 20px; background: #d84450; color: #fff; font-size: 11px; font-weight: 800;
  }
  #userProfileButtonV1111 .user-copy { display: grid !important; gap: 3px; text-align: left; }
  #userProfileButtonV1111 #userGreetingV21H { display: block !important; margin: 0; color: #61748d; font-size: 11px; line-height: 14px; }
  #userProfileButtonV1111 #userName { line-height: 17px; }
  .desktop-attention-popover-v21h {
    position: absolute; right: 0; top: calc(100% + 10px); width: min(410px, calc(100vw - 40px));
    z-index: 95; padding: 0; border: 1px solid #dae4ef; border-radius: 19px;
    background: #fff; color: #142d4e; box-shadow: 0 16px 44px rgba(16,35,63,.18); overflow: hidden;
  }
  .desktop-attention-heading-v21h { display: flex; align-items: center; gap: 5px; padding: 14px 12px 14px 17px; border-bottom: 1px solid #e9eef5; }
  .desktop-attention-heading-v21h > div { display: grid; gap: 4px; flex: 1; min-width: 0; }
  .desktop-attention-heading-v21h strong { font-size: 14px; }
  .desktop-attention-heading-v21h small { color: #6c7b92; line-height: 1.4; font-size: 11px; }
  .desktop-attention-heading-v21h > button { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: #f1f6fb; color: #28537e; font-size: 23px; cursor: pointer; }
  .desktop-attention-popover-v21h .desktop-attention-list-v111ac { max-height: min(420px, 65vh); overflow-y: auto; overscroll-behavior: contain; padding: 5px 10px; }
  .desktop-attention-popover-v21h .desktop-attention-item-v111ac { border-bottom: 1px solid #e8eef4; border-radius: 9px; }
  .desktop-attention-popover-v21h .desktop-attention-item-v111ac:last-child { border-bottom: 0; }
  .desktop-attention-popover-v21h button:focus-visible,
  .desktop-attention-bell-v21h:focus-visible { outline: 2px solid #2469b4; outline-offset: 2px; }

}

  .dashboard-top-grid-v21h { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; align-items: stretch; margin-bottom: 18px; }
  .dashboard-top-grid-v21h > .panel { min-width: 0; margin: 0; padding: 18px; }
  .dashboard-top-grid-v21h .panel-heading-row { margin-bottom: 14px; }
  .dashboard-top-grid-v21h h3 { margin: 0; font-size: 16px; line-height: 1.4; color: #142f53; }
  .dashboard-top-grid-v21h .panel-heading-row p { font-size: 11px; line-height: 1.6; margin: 5px 0 0; }
  .dashboard-piket-mobile-v21h { display: none !important; }
  .dashboard-piket-shifts-v21h { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .dashboard-piket-shift-v21h { min-width: 0; border: 1px solid #dfe8f2; border-radius: 14px; overflow: hidden; background: #fbfdff; }
  .dashboard-piket-shift-v21h > h4 { display: flex; align-items: center; gap: 9px; margin: 0; padding: 11px 13px; background: #eaf2fb; border-bottom: 1px solid #dee8f4; color: #204a76; font-size: 13px; }
  .dashboard-piket-shift-v21h:nth-child(2) > h4 { color: #fff; background: #244f7c; border-color: #244f7c; }
  .dashboard-piket-location-v21h { padding: 12px; }
  .dashboard-piket-location-v21h + .dashboard-piket-location-v21h { border-top: 1px solid #e5ecf4; }
  .dashboard-piket-location-v21h > h5 { margin: 0 0 9px; color: #193d65; font-size: 12px; }
  .dashboard-piket-group-v21h + .dashboard-piket-group-v21h { margin-top: 10px; }
  .dashboard-piket-group-v21h > small { display: block; color: #71829a; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .dashboard-piket-group-v21h .piket-name-list { margin: 4px 0 0 !important; padding: 0 0 0 18px !important; }
  .dashboard-piket-group-v21h .piket-name-list li { margin: 0 0 4px !important; padding: 0 0 0 1px !important; font-size: 12px !important; line-height: 1.5 !important; overflow-wrap: anywhere; color: #334e70; }
  .dashboard-piket-group-v21h .piket-empty { margin: 3px 0 0; padding: 0; font-size: 11px; color: #8996a7; }
  .dashboard-top-grid-v21h .dashboard-piket-responsible-v119 { margin-top: 12px; padding: 10px 12px; font-size: 11px; line-height: 1.6; }

  .dashboard-map-panel-v21h { display: flex; flex-direction: column; gap: 12px; }
  .dashboard-map-heading-v21h { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
  .dashboard-map-heading-v21h p { margin: 4px 0 0; font-size: 11px; line-height: 1.5; color: #71839b; }
  .dashboard-map-heading-v21h > button { width: 36px; min-width: 36px; height: 36px; padding: 0; font-size: 23px; }
  .dashboard-map-filters-v21h { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .dashboard-map-filters-v21h label { display: grid; gap: 4px; margin: 0; color: #61738b; font-size: 10px; font-weight: 700; }
  .dashboard-map-filters-v21h select { width: 100%; min-width: 0; margin: 0; padding: 8px 10px; min-height: 36px; border: 1px solid #d7e2ee; border-radius: 9px; color: #254668; background: #fff; font: inherit; font-size: 12px; }
  .dashboard-map-filters-v21h select:disabled { color: #8693a4; background: #f3f6fa; }
  .dashboard-map-canvas-v21h { position: relative; isolation: isolate; z-index: 0; flex: 1 0 300px; min-height: 300px; width: 100%; border: 1px solid #d9e4f0; border-radius: 12px; background: #e7eef4; overflow: hidden; }
  .dashboard-map-canvas-v21h .leaflet-control-attribution { font-size: 9px; }
  .dashboard-map-status-row-v21h { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-size: 11px; line-height: 1.5; color: #62758c; }
  .dashboard-map-status-row-v21h .is-error { color: #ac3434; }
  .dashboard-map-status-row-v21h button,
  .dashboard-map-tile-message-v21h button { padding: 5px 8px; border: 1px solid #cfdbeb; border-radius: 8px; color: #235484; background: #fff; font: inherit; cursor: pointer; }
  .dashboard-map-tile-message-v21h { font-size: 11px; color: #8a641b; line-height: 1.5; }
  .dashboard-map-panel-v21h [hidden] { display: none !important; }
  .dashboard-map-marker-v21h { background: none; border: 0; }
  .dashboard-map-pin-v21h { display: grid; place-items: center; width: 28px; height: 28px; transform: rotate(-45deg); border-radius: 50% 50% 50% 0; border: 2px solid #fff; background: #205c9e; color: #fff; box-shadow: 0 3px 9px rgba(10,31,59,.3); }
  .dashboard-map-pin-v21h > b { transform: rotate(45deg); font-family: inherit; font-size: 11px; line-height: 1; }
  .dashboard-map-pin-v21h > b:empty { width: 8px; height: 8px; border-radius: 50%; background: #ffcc47; }
  .dashboard-map-canvas-v21h .dashboard-map-bubble-v21h { padding: 0; border: 1px solid #d3deec; border-radius: 12px; background: #fff; color: #1b3e64; white-space: normal; box-shadow: 0 8px 24px rgba(15,37,66,.2); }
  .dashboard-map-bubble-v21h.leaflet-tooltip-bottom::before { border-bottom-color: #fff; }
  .dashboard-map-bubble-list-v21h { width: 230px; max-height: 210px; overflow-y: auto; overscroll-behavior: contain; border-radius: inherit; }
  .dashboard-map-bubble-link-v21h { display: grid; width: 100%; gap: 5px; padding: 12px 14px; border: 0; background: #fff; color: #1b3e64; font-family: inherit; text-align: left; cursor: pointer; white-space: normal; }
  .dashboard-map-bubble-link-v21h + .dashboard-map-bubble-link-v21h { border-top: 1px solid #e5ebf3; }
  .dashboard-map-bubble-link-v21h strong { font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
  .dashboard-map-bubble-link-v21h span { font-size: 11px; color: #677e99; }
  .dashboard-map-bubble-link-v21h:hover { background: #eff5fd; }
  .dashboard-map-bubble-link-v21h:focus-visible { outline: 2px solid #296ab3; outline-offset: -3px; }
  .dashboard-map-bubble-link-v21h[aria-busy="true"] { opacity: .65; cursor: progress; }
@media (min-width: 821px) and (max-width: 1199px) {
  .dashboard-top-grid-v21h { grid-template-columns: minmax(0,1fr); }
  .dashboard-map-canvas-v21h { flex-basis: 330px; min-height: 330px; }
}

.attention-target-v21i { outline: 3px solid rgba(255,160,35,.5); outline-offset: 3px; scroll-margin-top: 100px; }
.dashboard-map-modes-v21i { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; padding: 4px; border: 1px solid #dfe8f2; border-radius: 12px; background: #edf3fa; }
.dashboard-map-modes-v21i > button { min-width: 0; min-height: 36px; padding: 7px 10px; border: 0; border-radius: 9px; background: transparent; color: #536e8c; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.dashboard-map-modes-v21i > button[aria-pressed="true"] { color: #fff; background: #204f83; box-shadow: 0 2px 5px rgba(20,50,85,.15); }
.dashboard-map-modes-v21i > button:disabled { opacity: .55; cursor: wait; }
.dashboard-map-modes-v21i > button:focus-visible { outline: 2px solid #2477cf; outline-offset: 1px; }
@media (max-width: 820px) {
  .dashboard-top-grid-v21h { grid-template-columns: minmax(0,1fr); gap: 14px; margin-bottom: 14px; }
  .dashboard-top-grid-v21h > .panel { width: 100%; box-sizing: border-box; padding: 15px; border-radius: 20px; }
  .dashboard-top-grid-v21h h3 { font-size: 16px; }
  .dashboard-top-grid-v21h .panel-heading-row { margin-bottom: 12px; }
  .dashboard-piket-shifts-v21h { gap: 8px; }
  .dashboard-piket-shift-v21h { border-radius: 12px; }
  .dashboard-piket-shift-v21h > h4 { padding: 10px 9px; gap: 5px; font-size: 12px; }
  .dashboard-piket-location-v21h { padding: 10px 9px; }
  .dashboard-piket-group-v21h .piket-name-list { padding-left: 15px !important; }
  .dashboard-piket-group-v21h .piket-name-list li { font-size: 12px !important; }
  .dashboard-piket-group-v21h > small { font-size: 10px; }
  .dashboard-top-grid-v21h .dashboard-piket-responsible-v119 { font-size: 11px; overflow-wrap: anywhere; }
  .dashboard-map-panel-v21h { gap: 10px; }
  .dashboard-map-heading-v21h > button { width: 44px; min-width: 44px; height: 44px; }
  .dashboard-map-filters-v21h select { min-height: 44px; font-size: 16px; padding: 8px; }
  .dashboard-map-modes-v21i > button { min-height: 44px; font-size: 13px; }
  .dashboard-map-canvas-v21h { flex: none; height: 340px; min-height: 300px; }
  .dashboard-map-bubble-list-v21h { width: min(230px, 65vw); max-height: 170px; }
  .dashboard-map-bubble-link-v21h { min-height: 54px; }
  .dashboard-map-bubble-link-v21h strong { font-size: 13px; }
  .dashboard-map-bubble-link-v21h span, .dashboard-map-status-row-v21h { font-size: 12px; }
  .dashboard-map-status-row-v21h button, .dashboard-map-tile-message-v21h button { min-height: 44px; }
  .dashboard-map-canvas-v21h .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; }
}
@media (max-width: 359px) {
  .dashboard-top-grid-v21h > .panel { padding: 12px; }
  .dashboard-piket-shifts-v21h { grid-template-columns: minmax(0,1fr); }
}
