/* MeteoSensor Local v0.13.005 — correcció visual de Previsió.
   Base exacta: v0.13.004. */

/* ========================================================================
   1. PROBABILITAT DE PLUJA — BLOC ÚNIC I BASE COMUNA
   ======================================================================== */
:root[data-theme] .forecast-v012005.ui-system-master .v47-rain-field .v4-value-box{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v67-rain-value{
  display:inline-flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  width:max-content!important;
  height:22px!important;
  margin:0 auto!important;
  gap:5px!important;
  transform:none!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v67-rain-value>.v47-rain-icon{
  display:inline-flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  align-self:flex-end!important;
  width:22px!important;
  height:19px!important;
  margin:0!important;
  color:var(--ui-weather-glyph,var(--arch-text-2))!important;
  font-family:"Segoe UI Symbol","Noto Sans Symbols 2","Apple Symbols",sans-serif!important;
  font-size:22px!important;
  font-weight:900!important;
  line-height:19px!important;
  transform:none!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v67-rain-value>.v4-measure,
:root[data-theme] .forecast-v012005.ui-system-master .v67-rain-value .v4-measure-line{
  display:inline-flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  align-self:flex-end!important;
  height:19px!important;
  margin:0!important;
  line-height:19px!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v67-rain-value .v4-measure-line>small{
  align-self:flex-end!important;
  line-height:1!important;
  transform:none!important;
}

/* ========================================================================
   2. TÍTOLS DE TARGETA — MATEIX EIX LATERAL
   ======================================================================== */
:root[data-theme] .forecast-v012005.ui-system-master>.v13005-hourly{
  padding:var(--arch-s4) 0 0!important;
}
:root[data-theme] .forecast-v012005.ui-system-master>.v13005-hourly>.v46-card-title,
:root[data-theme] .forecast-v012005.ui-system-master>.v4-daily-list>.v46-card-title{
  margin:0 0 var(--arch-s3)!important;
  padding:0 var(--arch-s4)!important;
}

/* ========================================================================
   3. PROPERES 48 HORES — JERARQUIA VALIDADA
      1) icona; 2) temperatura/pluja/humitat secundàries; 3) hora destacada.
   ======================================================================== */
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hourly .v4-hour-scroll{
  padding:0 0 10px!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hourly .v4-hour-canvas{
  position:relative!important;
  min-width:100%!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hour-grid{
  display:grid!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hour-hit{
  display:grid!important;
  grid-template-rows:46px 84px 24px 24px 30px!important;
  justify-items:center!important;
  align-items:center!important;
  padding:0 4px!important;
  border-inline-end:1px solid color-mix(in srgb,var(--arch-border) 55%,transparent)!important;
  scroll-snap-align:start!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hour-hit:last-child{
  border-inline-end:none!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hour-symbol{
  font-size:40px!important;
  line-height:1!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-curve-space{
  display:block!important;
  width:100%!important;
  height:84px!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hour-hit>time{
  display:flex!important;
  align-items:baseline!important;
  justify-content:center!important;
  gap:2px!important;
  color:var(--arch-text)!important;
  font-size:19px!important;
  font-weight:700!important;
  line-height:1!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hour-hit>time small{
  color:inherit!important;
  font-size:.70em!important;
  font-weight:inherit!important;
  line-height:1!important;
}

/* Temperatura, pluja i humitat comparteixen jerarquia secundària. */
:root[data-theme] .forecast-v012005.ui-system-master .v13005-temp-label,
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hour-number,
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hour-unit{
  fill:var(--arch-text-2)!important;
  color:var(--arch-text-2)!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hour-meta{
  display:grid!important;
  grid-template-columns:19px 2.1ch 13px!important;
  align-items:end!important;
  justify-content:center!important;
  column-gap:4px!important;
  width:max-content!important;
  height:18px!important;
  margin:0 auto!important;
  color:var(--arch-text-2)!important;
  white-space:nowrap!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hour-icon{
  display:inline-flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  width:19px!important;
  height:18px!important;
  color:var(--ui-weather-glyph,var(--arch-text-2))!important;
  font-family:"Segoe UI Symbol","Noto Sans Symbols 2","Apple Symbols",sans-serif!important;
  font-size:19px!important;
  font-style:normal!important;
  font-weight:900!important;
  line-height:18px!important;
  transform:none!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hour-hum .v13005-hour-icon{
  font-size:14px!important;
  line-height:18px!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hour-number{
  min-width:2.1ch!important;
  text-align:right!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hour-unit{
  text-align:left!important;
}

/* Corba horària principal i guia de mínima diària. */
:root[data-theme] .forecast-v012005.ui-system-master .v13005-temp-curve{
  position:absolute!important;
  left:0!important;
  top:46px!important;
  width:100%!important;
  height:82px!important;
  pointer-events:none!important;
  overflow:visible!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-temp-line,
:root[data-theme] .forecast-v012005.ui-system-master .v13005-temp-min-line{
  fill:none!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vector-effect:non-scaling-stroke!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-temp-line{
  stroke:var(--temp)!important;
  stroke-width:1.45!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-temp-min-line{
  stroke:#2485c7!important;
  stroke-width:1.25!important;
  opacity:.78!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-temp-dot{
  fill:var(--surface)!important;
  stroke:var(--temp)!important;
  stroke-width:1.35!important;
  vector-effect:non-scaling-stroke!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-temp-label{
  letter-spacing:0!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v13005-hourly>footer{
  margin-top:var(--arch-s3)!important;
}
