/* Todas las reglas llevan el prefijo div#gsolar.gsolar (especificidad alta) y !important en las propiedades
   tipográficas/color, para que el CSS del tema no sobrescriba el formato del gráfico. */
div#gsolar.gsolar{background:#f4f5f7!important;border-radius:14px;padding:22px 26px;font-family:"Poppins","Segoe UI",system-ui,sans-serif!important;font-size:16px!important;line-height:1.4!important;font-weight:400!important;letter-spacing:normal!important;text-transform:none!important;text-align:left!important;color:#222!important;position:relative;box-sizing:border-box}
div#gsolar.gsolar *{box-sizing:border-box;font-family:inherit!important;letter-spacing:normal!important;text-transform:none!important}
div#gsolar.gsolar b,div#gsolar.gsolar small,div#gsolar.gsolar i,div#gsolar.gsolar span,div#gsolar.gsolar h3,div#gsolar.gsolar div{text-shadow:none!important}
div#gsolar.gsolar .gsolar-top{font-size:15px!important;line-height:1.4!important;margin:0 0 10px!important;padding:0!important;color:#222!important}
div#gsolar.gsolar .gsolar-top b{font-size:inherit!important;font-weight:700!important;color:#222!important}
div#gsolar.gsolar .gsolar-status{display:inline-block;background:#e0f3ec!important;color:#17a079!important;border-radius:6px;padding:3px 12px!important;font-weight:600!important;font-size:13px!important;line-height:1.4!important;margin:0 0 0 8px!important}
div#gsolar.gsolar .gsolar-status.warn{background:#fdecec!important;color:#d33!important}
div#gsolar.gsolar .gsolar-temp{display:flex;align-items:center;gap:8px;font-size:15px!important;line-height:1.4!important;margin:0 0 4px!important;padding:0!important;min-height:28px;color:#222!important}
div#gsolar.gsolar .gsolar-temp b{font-size:15px!important;font-weight:700!important;color:#222!important}
div#gsolar.gsolar .gsolar-wx{font-size:24px!important;line-height:1!important}
div#gsolar.gsolar .gsolar-body{display:flex;flex-wrap:wrap;align-items:center;gap:10px 30px;margin:0!important;padding:0!important}
div#gsolar.gsolar .gsolar-svg{flex:1.4 1 360px;max-width:640px;height:auto;display:block;margin:0!important}
div#gsolar.gsolar .gsolar-svg path{fill:none!important;stroke-linecap:round;stroke-linejoin:round}
div#gsolar.gsolar .gsolar-svg .line{stroke:#e8eaee!important;stroke-width:6!important}
div#gsolar.gsolar .gsolar-svg .flow.on .line{stroke:#d3dcf8!important}
div#gsolar.gsolar .gsolar-svg .pulse{stroke:#4a6fe3!important;stroke-width:6!important;stroke-dasharray:24 76;opacity:0}
div#gsolar.gsolar .gsolar-svg .flow.on .pulse{opacity:1;animation:gsolar-run 2.2s linear infinite}
div#gsolar.gsolar .gsolar-svg .flow.import.on .line{stroke:#f8e3cc!important}
div#gsolar.gsolar .gsolar-svg .flow.import .pulse{stroke:#e8963f!important}
@keyframes gsolar-run{from{stroke-dashoffset:24}to{stroke-dashoffset:-76}}
div#gsolar.gsolar .gsolar-svg text{font-family:"Poppins","Segoe UI",system-ui,sans-serif!important}
div#gsolar.gsolar .gsolar-svg .val{font-size:30px!important;fill:#222!important;font-weight:500!important;stroke:none!important}
div#gsolar.gsolar .gsolar-svg .val tspan{font-size:30px!important;fill:#222!important;font-weight:500!important}
div#gsolar.gsolar .gsolar-svg .val .u{font-size:19px!important;font-weight:400!important}
div#gsolar.gsolar .gsolar-svg .load{display:none}
div#gsolar.gsolar.has-load .gsolar-svg .load{display:inline}
div#gsolar.gsolar .gsolar-stats{flex:1 1 360px;display:grid;grid-template-columns:repeat(3,auto);justify-content:space-between;gap:12px 24px;align-items:start;align-content:center;margin:0!important;padding:0!important}
div#gsolar.gsolar .gsolar-stats div{margin:0!important;padding:0!important;background:none!important;border:0!important}
div#gsolar.gsolar .gsolar-stats small{display:block;color:#666!important;font-size:14px!important;font-weight:400!important;line-height:1.4!important;margin:0 0 4px!important}
div#gsolar.gsolar .gsolar-stats b{display:block;font-size:28px!important;font-weight:600!important;line-height:1.1!important;color:#222!important;white-space:nowrap!important}
div#gsolar.gsolar .gsolar-stats b span{font-size:inherit!important;font-weight:inherit!important;color:inherit!important}
div#gsolar.gsolar .gsolar-stats b i{font-style:normal!important;font-size:16px!important;font-weight:400!important;color:#333!important;margin-left:3px!important}
div#gsolar.gsolar .gsolar-help{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border:1.3px solid #888!important;border-radius:50%;font-size:10px!important;font-weight:400!important;line-height:1!important;color:#777!important;cursor:help;position:relative;vertical-align:middle;margin-left:4px!important}
div#gsolar.gsolar .gsolar-help:hover::after,div#gsolar.gsolar .gsolar-help:focus::after{content:attr(data-tip);position:absolute;left:50%;bottom:140%;transform:translateX(-50%);width:300px;background:#222!important;color:#fff!important;padding:8px 10px;border-radius:6px;font-size:12px!important;font-weight:400!important;line-height:1.4!important;z-index:5;white-space:normal}
div#gsolar.gsolar .gsolar-head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:6px 20px;margin:12px 0 0!important;padding:0!important}
div#gsolar.gsolar .gsolar-title{margin:0!important;padding:0!important;font-size:34px!important;font-weight:600!important;line-height:1.2!important;color:#222!important}
div#gsolar.gsolar .gsolar-updated{font-size:12.5px!important;font-weight:400!important;color:#8a8f98!important;text-align:right!important;line-height:1.5!important}
div#gsolar.gsolar .gsolar-updated b{font-size:inherit!important;font-weight:700!important;color:#8a8f98!important}
/* Móvil: ocultar "Potencia instalada" */
@media (max-width:767px){
div#gsolar.gsolar .gsolar-stats{grid-template-columns:repeat(2,auto)!important;justify-content:start!important;gap:12px 40px!important}
div#gsolar.gsolar .gsolar-stats > div:nth-child(2){display:none!important}
}
