/* El Berrueco · Meteo 1.1.0 · Solo afecta al shortcode .ebm-root */
.ebm-root{--ebm-ink:#12333a;--ebm-deep:#103d33;--ebm-teal:#117e83;--ebm-dim:#587078;--ebm-line:#dce8e8;--ebm-mist:#f5f9f8;box-sizing:border-box;max-width:1450px;margin:20px auto 30px;padding:clamp(17px,3vw,35px);border:1px solid var(--ebm-line);border-radius:23px;background:#fff;color:var(--ebm-ink);box-shadow:0 16px 54px rgba(16,61,51,.06);font-family:inherit;line-height:1.45}
.ebm-root *{box-sizing:border-box}.ebm-root h2,.ebm-root h3,.ebm-root p,.ebm-root dl{margin-top:0}.ebm-root h2,.ebm-root h3{font-family:inherit;color:var(--ebm-ink);line-height:1.15}.ebm-root h2{font-size:clamp(1.65rem,2.6vw,2.4rem);margin:9px 0}.ebm-root h3{font-size:clamp(1.12rem,1.5vw,1.45rem);margin:5px 0 0}.ebm-root a{color:var(--ebm-teal);text-decoration:underline;text-underline-offset:3px}.ebm-root :is(button,input,select,summary,a):focus-visible{outline:3px solid #059bb0;outline-offset:3px}.ebm-root button,.ebm-root select{font:inherit}
.ebm-eyebrow{display:block;font-size:.7rem;font-weight:850;letter-spacing:.14em;color:var(--ebm-teal);text-transform:uppercase}.ebm-muted{color:var(--ebm-dim)}.ebm-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.ebm-head p{color:var(--ebm-dim);margin:0;font-size:.96rem}.ebm-status-shell{display:flex;align-items:center;gap:9px;border:1px solid var(--ebm-line);background:#f7fbf9;border-radius:999px;padding:10px 14px;font-size:.78rem;font-weight:750;white-space:nowrap}.ebm-dot{width:9px;height:9px;display:inline-block;flex-shrink:0;border-radius:50%;background:#a6b1b3;box-shadow:0 0 0 4px rgba(160,170,170,.13)}.ebm-dot-online{background:#20aa76;box-shadow:0 0 0 4px rgba(32,170,118,.13)}.ebm-dot-delayed{background:#d99b2e;box-shadow:0 0 0 4px rgba(217,155,46,.13)}.ebm-dot-offline{background:#cf5d57;box-shadow:0 0 0 4px rgba(207,93,87,.13)}.ebm-skeleton{border-radius:16px;background:var(--ebm-mist);padding:55px 20px;text-align:center;color:var(--ebm-dim)}
.ebm-hero{background:linear-gradient(115deg,#eaf6f5 0%,#f7faf7 70%,#fff 100%);border:1px solid #d7e9e5;border-radius:19px;padding:clamp(17px,3vw,32px);display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.75fr);align-items:center;gap:22px;position:relative;overflow:hidden}.ebm-hero:after{content:"";position:absolute;pointer-events:none;right:-90px;top:-150px;width:350px;height:350px;border-radius:50%;border:55px solid rgba(255,255,255,.23)}.ebm-hero-main{display:flex;align-items:center;gap:22px;position:relative;z-index:1}.ebm-hero-sky{width:118px;height:118px;border-radius:26px;display:grid;place-items:center;flex-shrink:0;background:linear-gradient(140deg,#daeeef,#f6fbf9)}.ebm-hero-sky.ebm-is-night{background:linear-gradient(135deg,#c5dbeb,#e9f4f6)}.ebm-hero-temp{font-size:clamp(3.5rem,7vw,5.4rem);font-weight:850;line-height:1;letter-spacing:-.06em;color:#102e3e;white-space:nowrap}.ebm-hero-temp span{font-size:.4em;vertical-align:top;letter-spacing:0;margin-left:4px}.ebm-hero-condition{display:block;font-size:1.12rem;margin-top:8px}.ebm-hero-info p{font-size:.78rem;color:var(--ebm-dim);margin:5px 0 0}.ebm-hero-meta{position:relative;z-index:1;display:grid;gap:10px}.ebm-hero-meta>div{padding:10px 15px;border-radius:12px;background:rgba(255,255,255,.72);border:1px solid rgba(215,233,229,.86)}.ebm-hero-meta span{display:block;color:var(--ebm-dim);font-size:.75rem}.ebm-hero-meta strong{font-size:.92rem;display:block;margin-top:3px}.ebm-weather-svg{width:67px;height:67px;display:block;overflow:visible}.ebm-icon-large{width:94px;height:94px}.ebm-icon-sun{stroke:#f6ac36;fill:#ffd46c;stroke-width:2.7}.ebm-icon-rays{stroke:#e5a022;stroke-width:3;stroke-linecap:round;fill:none}.ebm-icon-cloud{fill:#f6fbff;stroke:#6f9aaa;stroke-width:3.1;stroke-linejoin:round}.ebm-icon-moon{fill:#ffe3a0;stroke:#d5a74c;stroke-width:2}.ebm-icon-rain{fill:none;stroke:#36a0cf;stroke-width:4;stroke-linecap:round}.ebm-icon-fog{fill:none;stroke:#98b7c0;stroke-width:3;stroke-linecap:round}.ebm-icon-snow{fill:none;stroke:#5dadd4;stroke-width:3;stroke-linecap:round}.ebm-icon-flash{fill:#ffc940;stroke:#d49d30;stroke-width:1.5}
.ebm-section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:16px}.ebm-section-note{color:var(--ebm-dim);font-size:.78rem;text-align:right}.ebm-now-title{margin-top:29px}.ebm-measures{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:28px}.ebm-measure{border:1px solid var(--ebm-line);border-radius:14px;min-width:0;padding:14px 15px;background:#fff;display:flex;flex-direction:column;min-height:103px}.ebm-measure span{font-size:.78rem;color:var(--ebm-dim)}.ebm-measure strong{font-size:1.63rem;font-weight:820;line-height:1.3;letter-spacing:-.02em}.ebm-measure small{font-size:.78rem;color:var(--ebm-dim)}
.ebm-advice{padding:16px 20px;margin:4px 0 24px;border:1px solid #f0d6ab;border-radius:13px;background:#fff9ef}.ebm-advice>strong{display:block;color:#76511a;margin-bottom:7px;font-size:.95rem}.ebm-advice>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 19px}.ebm-advice p{margin:2px 0;font-size:.83rem}.ebm-history-section{background:#f8fbfa;border:1px solid #e1ece9;border-radius:18px;padding:clamp(16px,2.5vw,25px);margin:15px 0 29px}.ebm-history-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.ebm-tabs{display:inline-flex;flex-wrap:wrap;background:#ebf3f0;padding:4px;border-radius:12px;gap:3px}.ebm-tabs button{border:0;background:transparent;color:#476e69;padding:9px 12px;border-radius:9px;cursor:pointer;font-size:.8rem;font-weight:750;min-height:36px}.ebm-tabs button.is-active{background:#fff;color:#174d41;box-shadow:0 2px 8px rgba(0,0,0,.07)}.ebm-metric-picker{display:flex;align-items:center;gap:8px;color:var(--ebm-dim);font-size:.8rem;white-space:nowrap}.ebm-metric-picker select{min-height:37px;max-width:250px;min-width:180px;padding:5px 11px;border:1px solid #c9dddb;border-radius:9px;background:#fff;color:var(--ebm-ink);font-size:.83rem;cursor:pointer}.ebm-chart-head{display:flex;justify-content:space-between;gap:16px;align-items:end;margin:15px 0 10px}.ebm-chart-kicker{display:block;font-size:.8rem;color:var(--ebm-dim)}.ebm-chart-big{font-size:2.15rem;font-weight:850;line-height:1.3;letter-spacing:-.045em}.ebm-chart-big small{font-size:.47em;letter-spacing:0;font-weight:550}.ebm-chart-stats{display:flex;gap:22px}.ebm-chart-stats>div{display:flex;flex-direction:column;gap:2px}.ebm-chart-stats span{font-size:.74rem;color:var(--ebm-dim)}.ebm-chart-stats strong{font-size:.89rem}.ebm-chart-canvas{background:#fff;border:1px solid #e0e9e8;border-radius:13px;padding:12px 11px;overflow:hidden}.ebm-chart-canvas svg{width:100%;max-width:100%;display:block;overflow:visible}.ebm-chart-line{fill:none;stroke:#0b9290;stroke-width:3;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.ebm-chart-axis{font-size:10px;fill:#5f787a;font-family:system-ui,sans-serif}.ebm-chart-track{margin-top:14px;display:grid;align-items:center;grid-template-columns:auto minmax(60px,1fr) auto;gap:13px;font-size:.76rem;color:var(--ebm-dim)}.ebm-chart-track input{width:100%;accent-color:#0d827b}.ebm-chart-track output{font-weight:700;color:var(--ebm-ink);text-align:right}.ebm-history-details{border-top:1px solid #dce7e4;padding-top:12px;margin-top:13px}.ebm-history-details summary{font-size:.82rem;font-weight:750;cursor:pointer;width:max-content}.ebm-records{max-height:295px;overflow:auto;margin-top:13px;border-radius:10px;background:#fff;border:1px solid #e3ebec}.ebm-records table{border-collapse:collapse;width:100%;font-size:.8rem}.ebm-records th,.ebm-records td{text-align:left;padding:8px 13px;border-bottom:1px solid #edf2f2}.ebm-records th{background:#eff7f5;position:sticky;top:0}.ebm-chart-note{color:var(--ebm-dim);font-size:.73rem;margin:12px 0 0}.ebm-history-loading,.ebm-mini-error{padding:26px 15px;background:#fff;border:1px solid var(--ebm-line);border-radius:12px;color:var(--ebm-dim);font-size:.86rem;text-align:center}.ebm-missing{padding:22px 18px;background:#f8faf9;border:1px solid var(--ebm-line);border-radius:14px;color:var(--ebm-dim)}.ebm-missing h3{margin:0 0 8px}.ebm-missing p{margin:0}
.ebm-forecast{margin:8px 0 14px}.ebm-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.ebm-day{min-width:0;border:1px solid var(--ebm-line);border-radius:13px;padding:14px 10px 12px;text-align:center;background:#fff;display:flex;flex-direction:column;align-items:center}.ebm-day-today{background:#eaf5f5;border-color:#b7d8d9}.ebm-day-watch{border-color:#dfc08a}.ebm-day-title{font-size:.81rem;min-height:26px;text-transform:capitalize}.ebm-day-icon{padding:8px 0 2px}.ebm-day-condition{font-size:.76rem;min-height:35px;color:var(--ebm-dim)}.ebm-day-temperatures{margin:9px 0 12px;white-space:nowrap}.ebm-day-temperatures b{font-size:1.43rem}.ebm-day-temperatures span{font-size:1rem;color:var(--ebm-dim);margin-left:5px}.ebm-day dl{margin:0;width:100%;text-align:left;font-size:.73rem}.ebm-day dl div{border-top:1px solid #e9efef;display:flex;justify-content:space-between;align-items:baseline;gap:4px;padding:7px 0}.ebm-day dt{color:var(--ebm-dim);line-height:1.2}.ebm-day dd{white-space:nowrap;font-weight:750;margin:0}.ebm-watch{font-size:.67rem;color:#916224;font-weight:750;margin-top:auto;padding-top:8px}.ebm-forecast-note{font-size:.74rem;color:var(--ebm-dim);margin:12px 0 0}.ebm-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--ebm-dim);font-size:.76rem;padding:14px 0;border-bottom:1px solid var(--ebm-line)}.ebm-refresh{border:1px solid var(--ebm-line);border-radius:9px;background:#fff;color:var(--ebm-deep);font-weight:740;padding:8px 13px;cursor:pointer}.ebm-refresh:hover{background:#edf8f5}.ebm-refresh:disabled{opacity:.55;cursor:progress}.ebm-foot{font-size:.74rem;color:var(--ebm-dim);margin:15px 0 0;line-height:1.6}
@media(max-width:1200px){.ebm-measures{grid-template-columns:repeat(4,minmax(0,1fr))}.ebm-days{grid-template-columns:repeat(4,minmax(0,1fr))}.ebm-hero{grid-template-columns:1fr .8fr}}
@media(max-width:780px){.ebm-measures{grid-template-columns:repeat(3,minmax(0,1fr))}.ebm-hero{grid-template-columns:1fr}.ebm-hero-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.ebm-hero-meta>div{padding:9px}.ebm-hero-meta strong{font-size:.8rem}.ebm-history-toolbar{align-items:flex-start;flex-direction:column}.ebm-days{grid-template-columns:repeat(3,minmax(0,1fr))}.ebm-advice>div{grid-template-columns:1fr}}
@media(max-width:550px){.ebm-root{border-radius:13px;padding:15px;margin:12px auto}.ebm-head{flex-direction:column;gap:12px}.ebm-status-shell{align-self:flex-start}.ebm-hero{padding:17px}.ebm-hero-main{gap:13px}.ebm-hero-sky{width:86px;height:86px;border-radius:21px}.ebm-icon-large{width:75px;height:75px}.ebm-hero-temp{font-size:3.4rem}.ebm-hero-meta{grid-template-columns:1fr}.ebm-hero-meta>div{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.ebm-hero-meta strong{text-align:right}.ebm-measures{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ebm-measure{padding:12px;min-height:90px}.ebm-measure strong{font-size:1.47rem}.ebm-history-section{padding:14px 11px}.ebm-tabs{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.ebm-tabs button{padding:8px 2px;font-size:.74rem}.ebm-metric-picker{width:100%;justify-content:space-between}.ebm-metric-picker select{flex:1;min-width:0}.ebm-chart-canvas{padding:8px 2px}.ebm-chart-canvas svg{min-height:175px}.ebm-chart-track{grid-template-columns:1fr;gap:5px}.ebm-chart-track output{text-align:left}.ebm-days{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;padding-bottom:11px;margin-right:-10px}.ebm-day{flex:0 0 min(62vw,218px);scroll-snap-align:start}.ebm-section-heading{align-items:flex-start;flex-direction:column;gap:6px}.ebm-section-note{text-align:left}.ebm-chart-head{align-items:flex-start}.ebm-chart-stats{gap:10px;flex-direction:column}.ebm-bottom{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.ebm-root *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* V2.0: cuadrantes meteorológicos y lectura local. Afecta solo a .ebm-root. */
.ebm-root{--ebm-ink:#173640;--ebm-deep:#103e35;--ebm-teal:#008a8a;--ebm-line:#dbe9e9;max-width:1440px;padding:clamp(18px,3.4vw,42px);font-variant-numeric:tabular-nums}
.ebm-root .ebm-head{align-items:center;margin-bottom:24px}
.ebm-root .ebm-status-shell{border-radius:14px;white-space:normal;display:grid;grid-template-columns:12px 1fr;column-gap:10px;row-gap:2px;padding:11px 14px;max-width:260px}
.ebm-root .ebm-status-shell small{grid-column:2;display:block;font-weight:500;color:#6a8187;font-size:.70rem}
.ebm-root .ebm-dot-online{animation:ebm-online-pulse 2.5s ease-in-out infinite}
@keyframes ebm-online-pulse{50%{box-shadow:0 0 0 6px rgba(32,170,118,.065)}}
.ebm-root .ebm-loading,.ebm-root .ebm-empty{padding:32px 18px;border:1px solid var(--ebm-line);border-radius:15px;background:#f7faf9;color:#637b81;text-align:center}
.ebm-root .ebm-overview{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(270px,1fr);gap:14px;align-items:stretch;margin-bottom:16px}
.ebm-root .ebm-hero{display:flex;flex-wrap:wrap;align-content:center;gap:18px;padding:27px;border-radius:19px;min-height:260px;overflow:hidden;isolation:isolate}
.ebm-root .ebm-hero:after{right:-180px;top:-160px;opacity:.5;pointer-events:none;z-index:-1}
.ebm-root .ebm-hero-day{background:linear-gradient(120deg,#e6f7f4 4%,#f0f8f4 65%,#fcfff9 100%)}
.ebm-root .ebm-hero-night{background:linear-gradient(120deg,#173e5e,#305a70);color:#f4f8ff;border-color:#35657f}
.ebm-root .ebm-hero-night:after{border-color:rgba(255,255,255,.06)}
.ebm-root .ebm-hero-night .ebm-hero-temp,.ebm-root .ebm-hero-night .ebm-hero-condition{color:#fff}
.ebm-root .ebm-hero-night .ebm-hero-kicker,.ebm-root .ebm-hero-night .ebm-hero-caveat{color:#c2dde9}
.ebm-root .ebm-hero-graphic{width:120px;height:120px;flex:0 0 120px;display:grid;place-items:center;border-radius:28px;background:rgba(255,255,255,.5)}
.ebm-root .ebm-hero-night .ebm-hero-graphic{background:rgba(255,255,255,.11)}
.ebm-root .ebm-weather-svg{display:block;width:65px;height:65px;overflow:visible;flex-shrink:0}
.ebm-root .ebm-weather-big{width:106px;height:106px}
.ebm-root .ebm-hero-contents{flex:1;min-width:160px}
.ebm-root .ebm-hero-kicker,.ebm-root .ebm-small-title{font-size:.69rem;letter-spacing:.10em;text-transform:uppercase;font-weight:850;color:#248188}
.ebm-root .ebm-hero-temp{font-size:clamp(3.5rem,6.3vw,6.2rem);letter-spacing:-.07em;color:#133a48;line-height:1.02;margin:6px 0 4px;font-weight:850}
.ebm-root .ebm-hero-temp span{font-size:.34em;letter-spacing:0;margin-left:3px;vertical-align:top}
.ebm-root .ebm-hero-condition{display:block;font-size:1.2rem}
.ebm-root .ebm-hero-caveat{display:block;color:#66828b;font-size:.75rem;margin-top:4px}
.ebm-root .ebm-hero-extra{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:100%;margin-top:2px}
.ebm-root .ebm-hero-extra>div{padding:11px;background:rgba(255,255,255,.77);border:1px solid rgba(215,235,235,.85);border-radius:11px;min-width:0}
.ebm-root .ebm-hero-extra span{font-size:.69rem;color:#557880;display:block}
.ebm-root .ebm-hero-extra strong{font-size:.92rem;display:block;margin-top:3px;white-space:normal;line-height:1.3;color:#153a42}
.ebm-root .ebm-panels{display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:14px;min-width:0}
.ebm-root .ebm-wind-widget,.ebm-root .ebm-astro-panel{border:1px solid var(--ebm-line);border-radius:17px;background:#f8fbfb;min-width:0;overflow:hidden}
.ebm-root .ebm-wind-widget{display:flex;align-items:center;gap:5px;padding:11px 18px}
.ebm-root .ebm-wind-disc{width:45%;max-width:180px;min-width:110px;aspect-ratio:1}
.ebm-root .ebm-wind-disc svg{width:100%;height:100%}
.ebm-root .ebm-wind-info{min-width:0;flex:1}
.ebm-root .ebm-wind-info>strong{display:block;font-size:1.6rem;font-weight:850;line-height:1.15;margin-top:5px}
.ebm-root .ebm-wind-speed{font-size:1.7rem;font-weight:850;margin-top:3px}
.ebm-root .ebm-wind-speed small{font-size:.7rem;font-weight:500}
.ebm-root .ebm-wind-info p{font-size:.8rem;margin:3px 0;color:#516e75}
.ebm-root .ebm-wind-info>small{font-size:.7rem;color:#55757e}
.ebm-root .ebm-astro-panel{padding:16px 19px;background:linear-gradient(135deg,#f2f8fc,#f9fcfc)}
.ebm-root .ebm-astro-head{display:flex;justify-content:space-between;gap:8px;align-items:center}
.ebm-root .ebm-astro-head>strong{font-size:.79rem;color:#466477}
.ebm-root .ebm-astro-body{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}
.ebm-root .ebm-astro-moon{display:flex;align-items:center;gap:9px;min-width:0}
.ebm-root .ebm-astro-moon>div{display:flex;flex-direction:column;gap:3px;min-width:95px}
.ebm-root .ebm-astro-moon strong{font-size:.9rem;line-height:1.2}
.ebm-root .ebm-astro-moon span{font-size:.7rem;color:#5b7784}
.ebm-root .ebm-astro-times{display:flex;gap:15px}
.ebm-root .ebm-astro-times span{display:block;color:#637c84;font-size:.68rem}
.ebm-root .ebm-astro-times strong{display:block;font-size:1.05rem;color:#1c4b58;white-space:nowrap}
.ebm-root .ebm-astro-next{margin:7px 0 0;color:#5b7882;font-size:.70rem}
.ebm-root .ebm-rain-panel{padding:20px 24px;border:1px solid #cce2eb;background:linear-gradient(145deg,#f1f9fc 0%,#fafdff 100%);border-radius:18px;margin-bottom:23px}
.ebm-root .ebm-raining{border-color:#8ec4df;background:linear-gradient(130deg,#e6f4fc,#f4fafc)}
.ebm-root .ebm-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}
.ebm-root .ebm-panel-heading h3{margin:6px 0 3px;font-size:1.3rem}
.ebm-root .ebm-panel-heading p{font-size:.86rem;margin:0;color:#5e7887}
.ebm-root .ebm-rain-symbol .ebm-weather-svg{height:60px;width:60px}
.ebm-root .ebm-rain-main{display:flex;align-items:center;gap:16px;margin:18px 0}
.ebm-root .ebm-rain-main>div:first-child{min-width:180px}
.ebm-root .ebm-rain-main span{font-size:.76rem;color:#527785;display:block}
.ebm-root .ebm-rain-main strong{font-size:3.0rem;font-weight:850;line-height:1.13;letter-spacing:-.045em;display:block}
.ebm-root .ebm-rain-main small{font-size:.7rem;color:#607d87;display:block}
.ebm-root .ebm-rain-meter{height:10px;background:#d9e9f0;border-radius:50px;overflow:hidden;flex:1}
.ebm-root .ebm-rain-meter-fill{height:100%;background:linear-gradient(90deg,#389ec9,#1b6398);border-radius:50px;transition:width .6s ease}
.ebm-root .ebm-rain-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.ebm-root .ebm-rain-amount{min-height:86px;border:1px solid #dceaf1;background:rgba(255,255,255,.83);border-radius:12px;padding:12px 10px;min-width:0}
.ebm-root .ebm-rain-amount>span{font-size:.71rem;display:block;color:#567987;line-height:1.3}
.ebm-root .ebm-rain-amount>strong{font-size:1.46rem;display:block;line-height:1.5;white-space:nowrap}
.ebm-root .ebm-rain-amount>strong small{font-size:.61rem;font-weight:600;color:#4e717e}
.ebm-root .ebm-rain-amount em{display:block;font-size:.67rem;font-style:normal;color:#67818a}
.ebm-root .ebm-rain-note{color:#647f89;font-size:.7rem;margin:14px 0 0}
.ebm-root .ebm-sensors{margin-top:20px;margin-bottom:30px}
.ebm-root .ebm-sensors .ebm-measures{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:0}
.ebm-root .ebm-measure{min-height:95px;background:#fdfefe}
.ebm-root .ebm-measure strong{font-size:1.5rem}
.ebm-root .ebm-measure em{font-style:normal;font-size:.71rem;color:#71868c}
.ebm-root .ebm-advice{background:#fffaf1;border-color:#eddcbb}
.ebm-root .ebm-advice small{color:#886b39;font-size:.72rem}
.ebm-root .ebm-history-section{margin:20px 0 32px}
.ebm-root .ebm-chart-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:18px 0 12px}
.ebm-root .ebm-chart-head span{color:#54757e;font-size:.77rem}
.ebm-root .ebm-chart-value{font-size:2.2rem;font-weight:850;letter-spacing:-.04em;line-height:1.15}
.ebm-root .ebm-chart-value small{font-size:.48em}
.ebm-root .ebm-chart-stat{display:flex;gap:20px;font-size:.8rem;color:#56747b}
.ebm-root .ebm-chart-stat b{display:block;color:#183b45;font-size:.95rem}
.ebm-root .ebm-chart-canvas{padding:12px 12px 6px}
.ebm-root .ebm-axis{font:10px system-ui,sans-serif;fill:#718b90}
.ebm-root .ebm-chart-line{stroke:#008e97;stroke-width:3}
.ebm-root .ebm-chart-track{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin:13px 0;font-size:.79rem}
.ebm-root .ebm-chart-track label{flex:1;min-width:200px;display:flex;gap:16px;align-items:center}
.ebm-root .ebm-chart-track input{flex:1;min-width:120px}
.ebm-root .ebm-chart-track output{font-weight:700}
.ebm-root .ebm-history-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--ebm-line);padding:12px 0;color:#668086;font-size:.77rem}
.ebm-root .ebm-history-actions button{background:white;border:1px solid #c8ddda;color:#1a5c56;border-radius:9px;padding:8px 13px;cursor:pointer;font-size:.78rem;font-weight:760}
.ebm-root .ebm-history-actions button:hover{background:#edf9f5}
.ebm-root .ebm-all-records{border-top:1px solid #dfeae8;padding:12px 0 0}
.ebm-root .ebm-all-records summary{font-weight:750;font-size:.86rem;cursor:pointer}
.ebm-root .ebm-table-scroll{margin-top:12px;max-height:360px;overflow:auto;border-radius:10px;border:1px solid #dceaea;background:white}
.ebm-root .ebm-table-scroll table{border-collapse:collapse;width:max-content;min-width:100%;font-size:.77rem}
.ebm-root .ebm-table-scroll th,.ebm-root .ebm-table-scroll td{border:1px solid #e7f0ee;padding:9px 12px;text-align:right;white-space:nowrap}
.ebm-root .ebm-table-scroll th{background:#eff8f5;color:#31545a;position:sticky;top:0;z-index:1}
.ebm-root .ebm-table-scroll td:first-child,.ebm-root .ebm-table-scroll th:first-child{text-align:left;position:sticky;left:0;background:#f8fcfb;z-index:2}
.ebm-root .ebm-table-scroll th:first-child{z-index:3}
.ebm-root .ebm-days{gap:10px}
.ebm-root .ebm-day{padding:14px 8px 12px;gap:3px}
.ebm-root .ebm-day>strong{font-size:.8rem;min-height:24px}
.ebm-root .ebm-day-status{font-size:.72rem;line-height:1.3;min-height:30px;color:#5e7981}
.ebm-root .ebm-day-temps{margin:7px 0 9px;white-space:nowrap}
.ebm-root .ebm-day-temps b{font-size:1.37rem}
.ebm-root .ebm-day-temps span{font-size:.94rem;color:#728b90;margin-left:4px}
.ebm-root .ebm-day dl{width:100%;font-size:.69rem;margin:0}
.ebm-root .ebm-day dl div{display:flex;justify-content:space-between;align-items:baseline;gap:4px;border-top:1px solid #e7f0f0;padding:7px 0}
.ebm-root .ebm-day dt{color:#607c84}
.ebm-root .ebm-day dd{margin:0;font-weight:750;text-align:right;white-space:nowrap}
.ebm-root .ebm-precaution{font-size:.68rem;font-weight:750;color:#976225}
.ebm-root .ebm-forecast-note{margin-top:15px}
@media(max-width:1190px){
 .ebm-root .ebm-overview{grid-template-columns:1fr}
 .ebm-root .ebm-panels{grid-template-columns:1fr 1fr;grid-template-rows:auto}
 .ebm-root .ebm-hero{min-height:220px}
 .ebm-root .ebm-rain-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ebm-root .ebm-days{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:780px){
 .ebm-root .ebm-hero-extra{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ebm-root .ebm-panels{grid-template-columns:1fr}
 .ebm-root .ebm-wind-widget{justify-content:center}
 .ebm-root .ebm-astro-panel{min-height:155px}
 .ebm-root .ebm-sensors .ebm-measures{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ebm-root .ebm-days{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;overscroll-behavior-inline:contain;scrollbar-width:thin}
 .ebm-root .ebm-day{min-width:190px;scroll-snap-align:start;flex:0 0 190px}
 .ebm-root .ebm-advice>div{grid-template-columns:1fr}
 .ebm-root .ebm-chart-stat{gap:10px}
}
@media(max-width:520px){
 .ebm-root{padding:15px 12px;margin:12px auto}
 .ebm-root .ebm-head{align-items:flex-start;gap:10px;flex-wrap:wrap}
 .ebm-root .ebm-head h2{font-size:1.7rem}
 .ebm-root .ebm-status-shell{max-width:100%;width:max-content}
 .ebm-root .ebm-hero{padding:17px 13px;gap:10px;min-height:0}
 .ebm-root .ebm-hero-graphic{width:85px;height:85px;flex-basis:85px;border-radius:18px}
 .ebm-root .ebm-weather-big{height:80px;width:80px}
 .ebm-root .ebm-hero-contents{min-width:0}
 .ebm-root .ebm-hero-temp{font-size:3.65rem}
 .ebm-root .ebm-hero-condition{font-size:1rem}
 .ebm-root .ebm-hero-extra{gap:5px}
 .ebm-root .ebm-hero-extra>div{padding:9px 7px}
 .ebm-root .ebm-hero-extra span{font-size:.65rem}
 .ebm-root .ebm-hero-extra strong{font-size:.74rem;overflow-wrap:anywhere}
 .ebm-root .ebm-astro-body{flex-wrap:wrap;justify-content:space-between}
 .ebm-root .ebm-astro-times{gap:20px}
 .ebm-root .ebm-rain-panel{padding:17px 13px}
 .ebm-root .ebm-rain-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .ebm-root .ebm-rain-amount{padding:11px 9px}
 .ebm-root .ebm-rain-amount>strong{font-size:1.28rem}
 .ebm-root .ebm-rain-main>div:first-child{min-width:126px}
 .ebm-root .ebm-rain-main strong{font-size:2.8rem}
 .ebm-root .ebm-rain-symbol{display:none}
 .ebm-root .ebm-sensors .ebm-measures{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .ebm-root .ebm-measure{min-height:88px;padding:11px 9px}
 .ebm-root .ebm-measure strong{font-size:1.35rem}
 .ebm-root .ebm-history-section{padding:14px 10px}
 .ebm-root .ebm-section-heading{align-items:flex-start;flex-wrap:wrap}
 .ebm-root .ebm-section-note{text-align:left}
 .ebm-root .ebm-history-toolbar{flex-direction:column;align-items:stretch}
 .ebm-root .ebm-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));text-align:center}
 .ebm-root .ebm-tabs button{padding:8px 4px;font-size:.73rem}
 .ebm-root .ebm-metric-picker{justify-content:space-between;white-space:normal}
 .ebm-root .ebm-metric-picker select{min-width:0;width:70%;max-width:none}
 .ebm-root .ebm-chart-head{align-items:flex-start}
 .ebm-root .ebm-chart-value{font-size:1.7rem}
 .ebm-root .ebm-chart-stat{font-size:.67rem}
 .ebm-root .ebm-chart-stat b{font-size:.77rem}
 .ebm-root .ebm-chart-canvas{padding:10px 6px}
 .ebm-root .ebm-chart-track label{min-width:100%;flex-wrap:wrap;gap:4px}
 .ebm-root .ebm-chart-track input{width:100%;min-width:100%}
 .ebm-root .ebm-chart-track output{text-align:left}
 .ebm-root .ebm-bottom{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.ebm-root .ebm-dot-online{animation:none}.ebm-root .ebm-rain-meter-fill{transition:none}}
.ebm-root .ebm-hourly{padding:19px 20px 14px;margin:0 0 30px;background:#f6fafc;border:1px solid #dcebf0;border-radius:17px}
.ebm-root .ebm-hourly .ebm-section-heading{margin-bottom:14px}
.ebm-root .ebm-hours{display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x proximity;padding:3px 2px 13px;scrollbar-width:thin}
.ebm-root .ebm-hour{min-width:116px;flex:1 0 116px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 10px;border:1px solid #e1ebed;border-radius:12px;background:#fff;text-align:center}
.ebm-root .ebm-hour>strong{font-size:.87rem;color:#24505f}
.ebm-root .ebm-hour .ebm-weather-svg{height:55px;width:55px;margin:2px 0}
.ebm-root .ebm-hour>b{font-size:1.22rem;color:#183846}
.ebm-root .ebm-hour>span{font-size:.73rem;color:#65848c;min-height:21px}
.ebm-root .ebm-hour>small{font-size:.71rem;color:#355b65}
@media(max-width:520px){.ebm-root .ebm-hourly{padding:15px 10px}.ebm-root .ebm-hour{min-width:104px;flex-basis:104px}}

/* 2.1.0 · instantánea indexable entregada desde PHP, sustituida al activar la interfaz */
.ebm-root .ebm-ssr{padding:1.25rem;border-radius:16px;background:#eef8f4;border:1px solid #cfebe0;color:#163b36}
.ebm-root .ebm-ssr h3{margin:0 0 .4rem;font-size:1.15rem;color:#163b36}
.ebm-root .ebm-ssr p{margin:0 0 1rem;font-size:.9rem;line-height:1.6}
.ebm-root .ebm-ssr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.75rem;margin:0}
.ebm-root .ebm-ssr-cell{background:#fff;border:1px solid #dcebe5;border-radius:12px;padding:.8rem}
.ebm-root .ebm-ssr-cell dt{font-size:.78rem;color:#486b62}
.ebm-root .ebm-ssr-cell dd{margin:.25rem 0 0;font-size:1.3rem;font-weight:750}
.ebm-root .ebm-seo-context{margin:1.75rem 0 0;padding:1.2rem 1.35rem;border:1px solid #e0e9e6;border-radius:15px;background:#fff}
.ebm-root .ebm-seo-context h3{font-size:1.15rem;margin:1.1rem 0 .65rem}
.ebm-root .ebm-seo-context h3:first-child{margin-top:0}
.ebm-root .ebm-seo-context h4{font-size:1rem;margin:.95rem 0 .35rem}
.ebm-root .ebm-seo-context p{font-size:.94rem;line-height:1.7;margin:.35rem 0 .85rem}
.ebm-root .ebm-data-link{font-weight:650;text-underline-offset:3px}

/* 2.2 · La lectura actual se rotula sin alterar los puntos medidos del histórico. */
.ebm-root .ebm-chart-current {font-size: .84rem;line-height: 1.5;margin: .55rem 0 .8rem;color: #245668;background: #edf7f8;border-left: 3px solid #4a9aa6;padding: .55rem .7rem;border-radius: 0 6px 6px 0;}
@media (prefers-reduced-motion: reduce) {.ebm-root .ebm-chart-current {transition: none;}}
