/* =========================================================
   DOVYR — DASHBOARD V2 BUGFIX PHASE 13E
   Corrige apenas topo + cards superiores.
   ========================================================= */

.dovyr-e-icon{
  position:absolute !important;
  top:14px !important;
  right:14px !important;
  width:32px !important;
  height:32px !important;
  border-radius:10px !important;
  border:1px solid rgba(255,255,255,.075) !important;
  background:linear-gradient(180deg,rgba(20,25,29,.92),rgba(11,15,18,.98)) !important;
  color:rgba(242,240,233,.72) !important;
  display:grid !important;
  place-items:center !important;
  z-index:8 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 8px 18px rgba(0,0,0,.08) !important;
  pointer-events:none !important;
}
.dovyr-e-icon svg{
  width:15px !important;
  height:15px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.65 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}

.dovyr-e-hidden{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

.dovyr-e-adh-card{
  position:relative !important;
}

.dovyr-e-adherence{
  position:absolute !important;
  left:18px !important;
  right:18px !important;
  bottom:14px !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 48px !important;
  align-items:center !important;
  gap:12px !important;
  z-index:7 !important;
}
.dovyr-e-adherence-track{
  width:100% !important;
  height:6px !important;
  border-radius:999px !important;
  overflow:hidden !important;
  position:relative !important;
  background:rgba(157,170,178,.16) !important;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.16) !important;
}
.dovyr-e-adherence-fill{
  position:absolute !important;
  left:0 !important;
  top:0 !important;
  bottom:0 !important;
  border-radius:999px !important;
  background:linear-gradient(90deg,#d8ff3e 0%,#b9ed1c 100%) !important;
  box-shadow:0 0 9px rgba(216,255,62,.22) !important;
  transition:width .2s ease !important;
}
.dovyr-e-adherence-value{
  width:48px !important;
  text-align:right !important;
  white-space:nowrap !important;
  font-size:9px !important;
  font-weight:650 !important;
  letter-spacing:.01em !important;
  color:rgba(242,240,233,.42) !important;
  line-height:1 !important;
}

.dovyr-e-profile{
  width:48px !important;
  min-width:48px !important;
  height:38px !important;
  padding:0 !important;
  border-radius:11px !important;
  border:1px solid rgba(255,255,255,.08) !important;
  background:linear-gradient(180deg,#101417,#0b0f12) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025) !important;
}
.dovyr-e-profile-letter{
  width:27px !important;
  height:27px !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  background:linear-gradient(145deg,#e0ff55,#bce923) !important;
  color:#0b0e10 !important;
  font-size:11px !important;
  font-weight:900 !important;
  line-height:1 !important;
}
.dovyr-e-profile-dot{
  width:5px !important;
  height:5px !important;
  border-radius:50% !important;
  background:#d8ff3e !important;
  box-shadow:0 0 8px rgba(216,255,62,.68) !important;
}

.dashboard-shell .dash-topbar .top-actions{
  min-width:0 !important;
  flex-wrap:nowrap !important;
}
.dashboard-shell .dash-topbar .period-pill{
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  max-width:none !important;
}

/* Light */
html[data-dovyr-theme="light"] .dovyr-e-icon{
  border-color:rgba(14,23,31,.09) !important;
  background:linear-gradient(180deg,#fff,#f5f7f8) !important;
  color:rgba(18,26,34,.68) !important;
}
html[data-dovyr-theme="light"] .dovyr-e-adherence-track{
  background:rgba(22,33,42,.10) !important;
}
html[data-dovyr-theme="light"] .dovyr-e-adherence-value{
  color:rgba(24,33,42,.50) !important;
}
html[data-dovyr-theme="light"] .dovyr-e-profile{
  border-color:rgba(14,23,31,.09) !important;
  background:#fff !important;
}
