/* Match the project viewer toolbar without changing map actions or location data. */
.ibdaa-service-bar {
  height:56px!important;
  padding:5px;
  gap:4px;
  align-items:center;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:20px!important;
  background:rgba(249,250,252,.91)!important;
  color:#334155!important;
  box-shadow:0 5px 20px rgba(17,32,59,.13)!important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.ibdaa-service-bar:before {display:none;}
.ibdaa-service-bar .v1-header-tools {display:flex;align-items:center;gap:4px;}
.ibdaa-service-bar .ibdaa-tool,
.ibdaa-service-bar .ibdaa-tool.language-button {
  width:44px!important;min-width:44px!important;height:44px!important;
  border:0!important;border-radius:14px!important;
  padding:0!important;background:transparent;color:#475569!important;
  font-size:12px!important;font-weight:700;
  transition:background .16s ease,color .16s ease;
}
.ibdaa-service-bar .ibdaa-tool.language-button {background:rgba(23,43,99,.045);}
.ibdaa-service-bar .ibdaa-tool:hover {background:rgba(23,43,99,.07);color:#172b63!important;}
.ibdaa-service-bar .ibdaa-tool[aria-pressed=true] {
  background:rgba(23,43,99,.09);color:#172b63!important;
}
.ibdaa-service-bar .v1-icon {width:18px;height:18px;color:inherit;}
.ibdaa-service-bar>.ibdaa-divider {
  align-self:center;height:26px;margin:0 4px;background:rgba(23,43,99,.12);
}
.ibdaa-service-bar .breadcrumbs {
  height:44px!important;min-width:0;max-width:none;
  padding:0 3px!important;flex:1 1 auto;backdrop-filter:none;
}
.ibdaa-service-bar .location-summary-trigger {
  height:44px!important;border-radius:14px;gap:3px;
}
.ibdaa-service-bar .location-summary-trigger:hover,
.ibdaa-service-bar .location-summary-trigger[aria-expanded=true] {background:rgba(23,43,99,.045);}
.ibdaa-service-bar .location-segment {
  height:44px!important;padding:0 10px;max-width:170px;
  color:#475569!important;font-size:12px;font-weight:650;
}
.ibdaa-service-bar .location-segment.is-current {
  color:#fff!important;background:#172b63!important;
  border-radius:14px;box-shadow:0 2px 7px rgba(23,43,99,.16);font-weight:700;
}
.ibdaa-service-bar .location-separator {color:#64748b!important;}
.ibdaa-service-bar button:focus-visible {outline:2px solid #172b63;outline-offset:-2px;}
@media(min-width:701px) {
  body .ibdaa-service-bar {
    position:fixed!important;top:25px!important;bottom:auto!important;
    left:50%!important;right:auto!important;transform:translateX(-50%)!important;
    width:max-content;max-width:calc(100vw - 300px);margin:0;transition:none;
  }
}
@media(min-width:701px) and (max-width:1024px) {
  .ibdaa-service-bar .location-segment:not(.is-current),
  .ibdaa-service-bar .location-separator {display:none!important;}
}
@media(max-width:700px) {
  .ibdaa-service-bar {gap:2px;}
  .ibdaa-service-bar>.ibdaa-divider {margin-inline:2px;}
  .ibdaa-service-bar .v1-header-tools {gap:2px;}
  .ibdaa-service-bar .location-segment.is-current {padding:0 10px;font-size:12px;}
}
@media(prefers-reduced-motion:reduce) {.ibdaa-service-bar button {transition:none;}}

/* One mobile sheet at a time: filters must not cover the card close control
   or the service bar when the project sheet consumes a short viewport. */
@media (max-width:700px) {
  body:has(#projectSheet[aria-hidden="false"]) #mapFilterPanel,
  body:has(#projectSheet[aria-hidden="false"]) #mapFilterPanel * {
    visibility:hidden!important;
    pointer-events:none!important;
  }
  #projectSheet .sheet-close {
    width:44px!important;
    height:44px!important;
  }
}
