/* V11.70.3 — Custom Select / Dropdown Safe
   Corrige visual inconsistente dos selects nativos em Safari, Chrome e PWA sem alterar valores internos. */

select:not(.dh-native-select-v11703){
  appearance:none!important;
  -webkit-appearance:none!important;
  -moz-appearance:none!important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.028)),
    rgba(18,18,18,.96)!important;
  color:var(--text,#fff)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
  outline:none!important;
}
select:not(.dh-native-select-v11703) option{
  background:#141414!important;
  color:#f4f4f4!important;
}
select:not(.dh-native-select-v11703):focus{
  border-color:rgba(var(--accent-rgb,94,255,13),.62)!important;
  box-shadow:0 0 0 3px rgba(var(--accent-rgb,94,255,13),.12), inset 0 1px 0 rgba(255,255,255,.05)!important;
}

.dh-custom-select-v11703{
  position:relative!important;
  min-width:0!important;
  width:100%;
  display:block;
}
.dh-custom-select-v11703.dh-select-inline-v11703{
  width:auto;
  min-width:160px!important;
}
.dh-native-select-v11703{
  position:absolute!important;
  inset:auto!important;
  left:0!important;
  top:0!important;
  width:1px!important;
  height:1px!important;
  min-height:1px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.dh-select-button-v11703{
  width:100%!important;
  min-height:44px!important;
  padding:12px 42px 12px 14px!important;
  border-radius:15px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.058), rgba(255,255,255,.03)),
    rgba(20,20,20,.94)!important;
  color:#f5f5f5!important;
  font:inherit!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.25!important;
  text-align:left!important;
  cursor:pointer!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045), 0 10px 28px rgba(0,0,0,.18)!important;
  transition:border-color .18s var(--ease-premium,ease), box-shadow .18s var(--ease-premium,ease), transform .18s var(--ease-premium,ease), background .18s var(--ease-premium,ease)!important;
}
.dh-select-button-v11703:hover{
  border-color:rgba(255,255,255,.20)!important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.038)),
    rgba(25,25,25,.96)!important;
}
.dh-select-button-v11703:focus-visible,
.dh-custom-select-v11703.is-open-v11703 .dh-select-button-v11703{
  outline:none!important;
  border-color:rgba(var(--accent-rgb,94,255,13),.66)!important;
  box-shadow:0 0 0 3px rgba(var(--accent-rgb,94,255,13),.13), inset 0 1px 0 rgba(255,255,255,.06), 0 12px 32px rgba(0,0,0,.24)!important;
}
.dh-select-button-v11703:disabled{
  opacity:.55!important;
  cursor:not-allowed!important;
  transform:none!important;
}
.dh-select-value-v11703{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.dh-select-arrow-v11703{
  position:absolute!important;
  right:13px!important;
  top:50%!important;
  width:9px!important;
  height:9px!important;
  border-right:2px solid rgba(255,255,255,.60)!important;
  border-bottom:2px solid rgba(255,255,255,.60)!important;
  transform:translateY(-62%) rotate(45deg)!important;
  pointer-events:none!important;
  transition:transform .18s var(--ease-premium,ease), border-color .18s var(--ease-premium,ease)!important;
}
.dh-custom-select-v11703.is-open-v11703 .dh-select-arrow-v11703{
  transform:translateY(-34%) rotate(225deg)!important;
  border-color:rgba(var(--accent-rgb,94,255,13),.92)!important;
}
.dh-select-popover-v11703{
  position:fixed!important;
  z-index:2147482000!important;
  min-width:160px!important;
  max-height:min(320px,42vh)!important;
  overflow:auto!important;
  padding:7px!important;
  border-radius:16px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  background:
    radial-gradient(circle at top left, rgba(var(--accent-rgb,94,255,13),.10), transparent 36%),
    linear-gradient(180deg, rgba(24,24,24,.98), rgba(10,10,10,.98))!important;
  box-shadow:0 24px 80px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.06)!important;
  backdrop-filter:blur(18px) saturate(1.14)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.14)!important;
  transform-origin:top center!important;
  animation:dhSelectInV11703 .14s var(--ease-premium,ease) both!important;
  scrollbar-width:thin!important;
}
.dh-select-popover-v11703::-webkit-scrollbar{width:8px;height:8px}
.dh-select-popover-v11703::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:999px}
.dh-select-option-v11703{
  width:100%!important;
  min-height:38px!important;
  padding:10px 11px!important;
  border:0!important;
  border-radius:12px!important;
  background:transparent!important;
  color:#e9e9e9!important;
  font:inherit!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.22!important;
  text-align:left!important;
  cursor:pointer!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  transition:background .14s var(--ease-premium,ease), color .14s var(--ease-premium,ease), transform .14s var(--ease-premium,ease)!important;
}
.dh-select-option-v11703:hover,
.dh-select-option-v11703:focus-visible{
  outline:none!important;
  background:rgba(255,255,255,.075)!important;
  color:#fff!important;
}
.dh-select-option-v11703.is-active-v11703{
  background:rgba(var(--accent-rgb,94,255,13),.18)!important;
  color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb,94,255,13),.42)!important;
}
.dh-select-option-v11703.is-active-v11703::after{
  content:'✓';
  color:rgb(var(--accent-rgb,94,255,13));
  font-weight:950;
}
.dh-select-option-v11703.is-disabled-v11703{
  opacity:.42!important;
  cursor:not-allowed!important;
}
@keyframes dhSelectInV11703{
  from{opacity:0;transform:translateY(-4px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

@media(max-width:760px){
  .dh-select-button-v11703{
    min-height:48px!important;
    font-size:16px!important;
    border-radius:17px!important;
    padding:13px 44px 13px 14px!important;
  }
  .dh-select-popover-v11703{
    max-height:min(360px,46vh)!important;
    border-radius:18px!important;
  }
  .dh-select-option-v11703{
    min-height:44px!important;
    font-size:15px!important;
    border-radius:14px!important;
  }
}


/* V13.2 — Tools client dropdown uses the same custom select with internal scroll and dynamic accent color. */
.dh-select-popover-v11703.dh-tools-client-popover-v132{
  max-height:min(280px,42vh)!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
}
.dh-select-popover-v11703.dh-tools-client-popover-v132 .dh-select-option-v11703.is-active-v11703::after{
  color:rgb(var(--accent-rgb,94,255,13))!important;
}
