/* URG360 v2.7 RC4 — Pancarte : lisibilité des graphes secondaires + diurèse pondérée */

/* Les graphes secondaires occupent réellement toute la largeur : leur viewBox est
   calculée sur le conteneur complet et l'aspect ratio n'écrase plus la typographie. */
.v27-other-expanded-graph{
  min-height:210px;
  overflow:visible;
}
.v27-other-expanded-graph .v27-chart-svg.secondary,
.v27-other-expanded-graph .v27-urine-svg{
  display:block;
  width:100%;
  height:210px;
  max-width:100%;
  overflow:visible;
}
.v27-other-expanded-graph .v27-chart-axis{
  font-size:11px;
  font-weight:760;
  letter-spacing:0;
}
.v27-other-expanded-graph .v27-chart-last-label{
  font-size:12px;
  font-weight:950;
}
.v27-other-expanded-graph .v27-chart-note{
  font-size:10.5px;
  font-weight:800;
}
.v27-other-expanded-head strong{font-size:12px}
.v27-other-expanded-head small{font-size:10px;line-height:1.35}

/* Diurèse : volume brut + débit pondéré toujours identifiable. */
.v27-other-metric-card[data-v27-extra-metric="urine"]>strong{
  overflow:visible;
}
.v27-urine-card-value{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:3px;
  white-space:nowrap;
}
.v27-urine-card-value>span:first-child{
  font-size:15px;
  font-weight:900;
  color:#173e5d;
}
.v27-urine-rate-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  cursor:help;
}
.v27-urine-rate{
  font-size:13px;
  font-weight:900;
  color:#285d7e;
  text-decoration:underline dotted rgba(40,93,126,.45);
  text-underline-offset:2px;
}
.v27-urine-rate-wrap.is-alert .v27-urine-rate,
.v27-urine-inline-rate.is-alert{
  color:#b51f2b;
  font-weight:950;
}
.v27-urine-rate-wrap.is-alert .v27-urine-rate{
  text-decoration-color:rgba(181,31,43,.65);
}
.v27-urine-rate-tooltip{
  position:absolute;
  right:0;
  top:calc(100% + 7px);
  z-index:120;
  display:none;
  width:310px;
  max-width:min(310px,74vw);
  padding:10px 11px;
  border:1px solid #b8c9d6;
  border-radius:9px;
  background:#102f4c;
  color:#fff;
  box-shadow:0 8px 22px rgba(13,39,62,.24);
  font-size:10px;
  font-weight:500;
  line-height:1.4;
  text-align:left;
  white-space:normal;
}
.v27-urine-rate-tooltip::before{
  content:"";
  position:absolute;
  right:18px;
  top:-6px;
  width:10px;
  height:10px;
  border-left:1px solid #b8c9d6;
  border-top:1px solid #b8c9d6;
  background:#102f4c;
  transform:rotate(45deg);
}
.v27-urine-rate-tooltip strong,
.v27-urine-rate-tooltip span{display:block}
.v27-urine-rate-tooltip strong{margin-bottom:4px;font-size:10.5px}
.v27-urine-rate-tooltip span+span{margin-top:3px}
.v27-urine-rate-wrap:hover .v27-urine-rate-tooltip,
.v27-other-metric-card[data-v27-extra-metric="urine"]:focus-visible .v27-urine-rate-tooltip{
  display:block;
}
.v27-urine-inline-rate{font-weight:850;color:#285d7e}

/* Un peu plus d'air autour des cartes et libellés secondaires. */
.v27-other-metric-card>small{font-size:9.5px}
.v27-other-metric-card>em{font-size:9.5px}
.v27-other-metric-label{font-size:10px}

@media(max-width:820px){
  .v27-other-expanded-graph .v27-chart-svg.secondary,
  .v27-other-expanded-graph .v27-urine-svg{height:196px}
  .v27-other-expanded-graph{min-height:196px}
  .v27-urine-rate-tooltip{right:auto;left:0;max-width:78vw}
  .v27-urine-rate-tooltip::before{right:auto;left:18px}
}
