/* MeteoSensor Local v0.13.002 — coherència de jerarquia i camps de dades.
   Base exacta: v0.13.001.
   Configuració continua essent la referència mestra: etiqueta 17/600,
   dada 19/700, camp 50 px i superfície de lectura del tema.
   No es canvien dades, fórmules, llindars, fonts ni estructura funcional. */

/* ========================================================================
   1. ETIQUETES DE DADA — PATRÓ ÚNIC DE CONFIGURACIÓ
   La v0.13.001 havia baixat alguns pesos a 500. Es recupera 600, sense
   canviar mida, contingut ni posició dels components.
   ======================================================================== */
:root[data-theme] .forecast-v012005.ui-system-master .v4-field>label,
:root[data-theme] .forecast-v012005.ui-system-master .v47-temperature-extremes .v4-field>label,
:root[data-theme] .forecast-v012005.ui-system-master .v47-hero-summary .v4-field>label,
:root[data-theme] .forecast-v012005.ui-system-master .v64-detail-fields .v4-field>label,
:root[data-theme] .forecast-v012005.ui-system-master .v67-compare-fields>.v4-field>label,
:root[data-theme] .forecast-v012005.ui-system-master .v4-pollen label,
:root[data-theme] .forecast-v012005.ui-system-master .v55-feels-row>span:first-child,
:root[data-theme] .forecast-v012005.ui-system-master .v4-day-temps>span>small{
  color:var(--arch-text-2)!important;
  font-size:var(--arch-fs-config-label)!important;
  font-weight:var(--arch-fw-label)!important;
  line-height:1.25!important;
}

/* ========================================================================
   2. SUBFINESTRES DE 48 H I 15 DIES — ETIQUETA + CAMP CANÒNICS
   ======================================================================== */
.detail .v13001-detail-field{
  gap:6px!important;
}
.detail .v13001-detail-field>span{
  color:var(--arch-text-2)!important;
  font-size:var(--arch-fs-config-label)!important;
  font-weight:var(--arch-fw-label)!important;
  line-height:1.25!important;
}
.detail .v13001-detail-field>strong{
  display:flex!important;
  align-items:baseline!important;
  justify-content:center!important;
  width:100%!important;
  height:var(--arch-control-h)!important;
  min-height:var(--arch-control-h)!important;
  box-sizing:border-box!important;
  padding:0 10px!important;
  border:1px solid var(--arch-border)!important;
  border-radius:var(--arch-radius-control)!important;
  background:var(--arch-readout)!important;
  background-image:none!important;
  color:var(--arch-text)!important;
  font-size:var(--arch-fs-data)!important;
  font-weight:var(--arch-fw-data)!important;
  line-height:1!important;
  text-align:center!important;
  box-shadow:none!important;
}

/* La dada principal de l'hora/dia també és una lectura: mateix camp blanc
   que Configuració, sense conservar una segona escala de 26 px. */
.detail .v13001-detail-hero>div,
.detail .v13001-day-hero>div{
  flex:1 1 auto!important;
  min-width:0!important;
}
.detail .v13001-detail-hero>div>strong,
.detail .v13001-day-hero>div>strong{
  display:flex!important;
  align-items:baseline!important;
  justify-content:center!important;
  width:100%!important;
  height:var(--arch-control-h)!important;
  min-height:var(--arch-control-h)!important;
  box-sizing:border-box!important;
  padding:0 10px!important;
  border:1px solid var(--arch-border)!important;
  border-radius:var(--arch-radius-control)!important;
  background:var(--arch-readout)!important;
  background-image:none!important;
  color:var(--arch-text)!important;
  font-size:var(--arch-fs-data)!important;
  font-weight:var(--arch-fw-data)!important;
  line-height:1!important;
  text-align:center!important;
  box-shadow:none!important;
}

/* ========================================================================
   3. JERARQUIA INTERIOR — NIVELL 3 ÚNIC
   ======================================================================== */
.detail .v13001-day-summary>strong,
.detail .v13001-period-card>h3{
  color:var(--arch-text)!important;
  font-size:var(--arch-fs-item)!important;
  font-weight:var(--arch-fw-strong)!important;
  line-height:1.22!important;
  letter-spacing:0!important;
}

/* Temperatura de Matí/Tarda/Nit: camp de dada, no text solt. */
.detail .v13001-period-main>div{
  width:100%!important;
  min-width:0!important;
}
.detail .v13001-period-main>div>strong{
  display:flex!important;
  align-items:baseline!important;
  justify-content:center!important;
  width:100%!important;
  height:var(--arch-control-h)!important;
  min-height:var(--arch-control-h)!important;
  box-sizing:border-box!important;
  padding:0 8px!important;
  border:1px solid var(--arch-border)!important;
  border-radius:var(--arch-radius-control)!important;
  background:var(--arch-readout)!important;
  background-image:none!important;
  color:var(--arch-text)!important;
  font-size:var(--arch-fs-data)!important;
  font-weight:var(--arch-fw-data)!important;
  line-height:1!important;
  text-align:center!important;
  box-shadow:none!important;
}

/* ========================================================================
   4. MENÚS CONTEXTUALS EXISTENTS — SUPERFÍCIE DE LECTURA
   No es canvia la mida destacada històrica; només s'evita una superfície
   diferent quan el valor funciona com una lectura dins d'un detall.
   ======================================================================== */
:root[data-theme] .detail .detail-current{
  border:1px solid var(--arch-border)!important;
  border-radius:var(--arch-radius-control)!important;
  background:var(--arch-readout)!important;
  background-image:none!important;
  box-shadow:none!important;
}

/* ========================================================================
   5. PARAIGÜES — RECUPERACIÓ DE L'ESCALA ÒPTICA VALIDADA
   Només el paraigua creix. No es toquen gotes d'humitat ni icones de pol·len.
   La caixa vertical és de 19 px, igual que la dada; el glif és de 22 px per
   compensar la seva menor alçada visual.
   ======================================================================== */
:root[data-theme] .forecast-v012005.ui-system-master .v67-rain-value>.v47-rain-icon,
:root[data-theme] .forecast-v012005.ui-system-master .v4-hour-rain>.v5-rain-glyph,
:root[data-theme] .forecast-v012005.ui-system-master .v4-day-rain .v5-rain-glyph,
:root[data-theme] .detail .v13001-period-meta .v5-rain-glyph{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  inline-size:22px!important;
  width:22px!important;
  height:19px!important;
  box-sizing:border-box!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-style:normal!important;
  font-weight:900!important;
  line-height:19px!important;
  vertical-align:middle!important;
  transform:none!important;
}
:root[data-theme] .forecast-v012005.ui-system-master .v4-hour-rain,
:root[data-theme] .forecast-v012005.ui-system-master .v4-day-rain>span,
:root[data-theme] .detail .v13001-period-meta>span{
  align-items:center!important;
}
:root[data-theme] .detail .v13001-period-meta>span{
  display:flex!important;
  justify-content:center!important;
  gap:6px!important;
}
