.rm-weather{--wx-ink:#102e40;--wx-muted:#526773;--wx-line:#d9e3e4;--wx-teal:#087e8b;color:var(--wx-ink);font:16px/1.6 system-ui,-apple-system,'Segoe UI',sans-serif}.rm-weather *{box-sizing:border-box}.rm-weather button,.rm-weather select{font:inherit}.wx-intro{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:24px}.wx-intro p{margin:0;color:var(--wx-muted);font-size:15px;max-width:600px}.wx-refresh{white-space:nowrap;background:#fff;color:var(--wx-ink);border:1px solid var(--wx-line);border-radius:7px;padding:9px 14px;font-size:12px!important;cursor:pointer}.wx-status{background:#e8f1ef;border:1px solid #b6d5cd;padding:14px 18px;border-radius:8px;font-size:13px;margin-bottom:24px}.wx-status[data-state=stale],.wx-status[data-state=future],.wx-status[data-state=sensor],.wx-status[data-state=error]{background:#fff1dd;border-color:#dfb875;color:#633e0c}.wx-status strong{display:block;font-size:14px}.wx-status small{display:block;margin-top:3px}.wx-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.wx-stat{background:white;border:1px solid var(--wx-line);border-radius:12px;padding:24px;min-width:0}.wx-stat:first-child{background:#0b2638;color:#fff;border-color:#0b2638}.wx-label{font-size:11px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;display:block;margin-bottom:12px}.wx-stat:not(:first-child) .wx-label{color:var(--wx-muted)}.wx-value{font-size:38px;letter-spacing:-1.5px;font-weight:650;line-height:1.25;white-space:nowrap}.wx-unit{font-size:14px;margin-left:6px;font-weight:400;letter-spacing:0}.wx-detail{font-size:12px;color:var(--wx-muted);margin-top:10px}.wx-stat:first-child .wx-detail{color:#bdd9dd}.wx-panel{background:white;border:1px solid var(--wx-line);border-radius:12px;overflow:hidden;margin-bottom:24px}.wx-panel-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 24px;border-bottom:1px solid var(--wx-line)}.wx-panel h2{font-size:20px;letter-spacing:-.025em;line-height:1.3;margin:0}.wx-panel-head p{font-size:12px;color:var(--wx-muted);margin:4px 0 0}.wx-webcam-wrap{position:relative;background:#dce6e8;min-height:180px}.wx-webcam{display:block;width:100%;height:auto}.wx-camera-note{padding:15px 24px;font-size:12px;color:var(--wx-muted);margin:0}.wx-camera-note a{color:var(--wx-teal)}.wx-camera-error{padding:40px;text-align:center;color:#633e0c}.wx-camera-error[hidden]{display:none}.wx-chart-controls{display:flex;flex-wrap:wrap;gap:9px;padding:18px 24px 0}.wx-chart-controls button{border:1px solid var(--wx-line);background:#fff;color:var(--wx-ink);border-radius:20px;padding:7px 12px;cursor:pointer;font-size:12px}.wx-chart-controls button[aria-pressed=true]{background:var(--wx-ink);color:white;border-color:var(--wx-ink)}.wx-chart-controls label{font-size:12px;margin-left:auto;display:flex;align-items:center;gap:6px}.wx-chart-controls select{border:1px solid var(--wx-line);padding:6px;border-radius:5px;color:var(--wx-ink);background:#fff}.wx-chart{padding:18px 14px 8px}.wx-chart svg{display:block;width:100%;height:auto;min-height:230px}.wx-chart text{font-family:system-ui,sans-serif;fill:var(--wx-muted);font-size:11px}.wx-chart-summary{padding:0 24px 18px;font-size:12px;color:var(--wx-muted);margin:0}.wx-extras{background:white;border:1px solid var(--wx-line);border-radius:12px;margin-bottom:24px;padding:20px 24px}.wx-extras summary{cursor:pointer;font-size:15px;font-weight:650}.wx-extras dl{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin-bottom:0}.wx-extras dl>div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--wx-line);font-size:13px}.wx-extras dt{color:var(--wx-muted)}.wx-extras dd{margin:0;font-weight:600}.wx-disclaimer{padding:22px 24px;background:#eaf0ed;border-left:3px solid var(--wx-teal);border-radius:0 9px 9px 0;font-size:13px;margin:26px 0}.wx-disclaimer h2{font-size:16px;margin:0 0 9px}.wx-disclaimer p{margin:0 0 8px}.wx-disclaimer p:last-child{margin-bottom:0}.wx-source-note{font-size:11px;color:var(--wx-muted);margin-top:16px}.wx-source-note a{color:var(--wx-teal)}.wx-chart-table{max-height:260px;overflow:auto;padding:0 24px 20px}.wx-chart-table table{width:100%;border-collapse:collapse;font-size:12px}.wx-chart-table td,.wx-chart-table th{text-align:left;padding:6px;border-bottom:1px solid var(--wx-line)}.wx-table-toggle{padding:0 24px 18px;font-size:12px}.wx-table-toggle summary{cursor:pointer}.wx-webcam-link{font-size:12px;color:var(--wx-teal);white-space:nowrap}.wx-standalone{background:#f5f6f3;margin:0}.wx-standalone-header{padding:24px 0;background:#0b2638;color:#fff}.wx-standalone-header>div,.wx-standalone main{max-width:1150px;width:calc(100% - 40px);margin:auto}.wx-standalone-header a{color:#fff;text-decoration:none}.wx-standalone main{padding:32px 0}.wx-standalone h1{font:650 clamp(30px,4vw,48px)/1.2 system-ui;letter-spacing:-1.5px;color:#102e40}.wx-standalone footer{max-width:1150px;margin:20px auto;padding:25px;font:13px system-ui}.weather-layout{padding-bottom:45px}.weather-layout>.article-content{padding:0;background:none;border:0}.weather-layout .rm-weather{width:100%}.wx-preview-notice{padding:12px 20px;background:#fff1dd;color:#633e0c;font-size:13px;margin:0}
@media(max-width:760px){.wx-stats{grid-template-columns:1fr 1fr;gap:12px}.wx-stat{padding:19px}.wx-value{font-size:32px}.wx-panel-head{padding:17px 18px;gap:10px}.wx-panel h2{font-size:18px}.wx-chart-controls{padding-inline:18px}.wx-chart-controls label{margin-left:0}.wx-extras dl{grid-template-columns:1fr}.wx-intro{flex-wrap:wrap}.wx-camera-note{padding:14px 18px}.wx-webcam-link{white-space:normal}.wx-chart svg{min-height:190px}}
@media(max-width:400px){.wx-value{font-size:28px}.wx-stat{padding:15px}.wx-label{font-size:10px}.wx-detail{font-size:11px}.wx-panel-head{align-items:start;flex-direction:column}.wx-unit{font-size:12px}}

.wx-period-label{white-space:nowrap}
.wx-custom-period{display:flex;align-items:end;gap:10px;padding:12px 24px 0;flex-wrap:wrap}
.wx-custom-period[hidden]{display:none}
.wx-custom-period label{display:grid;gap:4px;font-size:11px;color:var(--wx-muted)}
.wx-custom-period input{border:1px solid var(--wx-line);border-radius:6px;padding:7px 9px;background:#fff;color:var(--wx-ink);font:inherit}
.wx-custom-period button{border:1px solid var(--wx-teal);background:var(--wx-teal);color:#fff;border-radius:6px;padding:8px 13px;cursor:pointer;font-size:12px}
.wx-history-note{padding:0 24px 12px;margin:0;color:var(--wx-muted);font-size:11px}
@media(max-width:760px){
 .wx-custom-period{padding-inline:18px}
 .wx-period-label{width:100%;justify-content:flex-start}
}


/* RadioMeteo 1.6.11 — webcam timelapse */
.wx-timelapse{
  margin-top:20px;
  padding:18px 20px;
  border:1px solid var(--wx-line);
  border-radius:12px;
  background:#f8faf9;
}
.wx-timelapse-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:22px;
}
.wx-timelapse-head>div{min-width:0}
.wx-timelapse-head h3{
  margin:0 0 5px;
  font-size:17px;
  line-height:1.25;
  color:var(--wx-ink);
}
.wx-timelapse-head p{
  margin:0;
  color:var(--wx-muted);
  font-size:13px;
  line-height:1.55;
}
.wx-timelapse-toggle{
  appearance:none;
  -webkit-appearance:none;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:auto!important;
  min-width:150px;
  max-width:none!important;
  min-height:44px;
  padding:11px 18px!important;
  margin:0!important;
  border:1px solid var(--wx-teal)!important;
  border-radius:9px!important;
  background:var(--wx-teal)!important;
  color:#fff!important;
  font:700 13px/1.2 system-ui,sans-serif!important;
  letter-spacing:.01em;
  text-decoration:none!important;
  text-align:center;
  white-space:nowrap!important;
  overflow:visible!important;
  word-break:normal!important;
  cursor:pointer;
}
.wx-timelapse-toggle:hover,
.wx-timelapse-toggle:focus-visible{
  filter:brightness(.94);
}
.wx-timelapse-toggle:focus-visible{
  outline:2px solid var(--wx-ink);
  outline-offset:2px;
}
.wx-timelapse-body{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--wx-line);
}
.wx-timelapse-body[hidden]{display:none!important}
.wx-timelapse-periods{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 14px;
}
.wx-timelapse-periods button{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  border:1px solid var(--wx-line)!important;
  background:#fff!important;
  color:var(--wx-ink)!important;
  border-radius:999px!important;
  padding:8px 13px!important;
  margin:0!important;
  cursor:pointer;
  font:600 12px/1.2 system-ui,sans-serif!important;
  white-space:nowrap!important;
}
.wx-timelapse-periods button[aria-pressed="true"]{
  border-color:var(--wx-teal)!important;
  background:var(--wx-teal)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.wx-timelapse-video{
  display:block;
  width:100%;
  max-width:100%;
  aspect-ratio:16/9;
  background:#08111d;
  border-radius:10px;
}
@media(max-width:700px){
  .wx-timelapse{padding:16px}
  .wx-timelapse-head{grid-template-columns:1fr;gap:14px}
  .wx-timelapse-toggle{width:100%!important;min-width:0}
}

/* Shared compact forecast widget (same cached data as [radiometeo_forecast]). */
.rmc-fc-compact{border:1px solid rgba(148,163,184,.28);border-radius:14px;padding:14px;background:rgba(15,23,42,.025)}
.rmc-fc-compact__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.rmc-fc-compact__head strong{font-size:1rem}
.rmc-fc-compact__head span{font-size:.72rem;font-weight:700;letter-spacing:.06em;opacity:.68}
.rmc-fc-compact__days{display:grid;gap:8px}
.rmc-fc-compact__day{display:grid;grid-template-columns:minmax(74px,1fr) 34px auto auto;align-items:center;gap:8px;padding:8px 0;border-top:1px solid rgba(148,163,184,.18)}
.rmc-fc-compact__day:first-child{border-top:0}
.rmc-fc-compact__name{font-weight:700;font-size:.88rem}
.rmc-fc-compact__icon .rm-fc-icon{width:32px;height:32px;display:block}
.rmc-fc-compact__temps{white-space:nowrap;font-size:.9rem}
.rmc-fc-compact__rain{white-space:nowrap;font-size:.82rem;opacity:.75}
.rmc-fc-compact__error{margin:0;font-size:.9rem}


/* =========================================================
   Full 3-day forecast — Companion owns both rendering + style
   ========================================================= */
.rm-page-forecast{
  margin:24px 0 28px;
  border:1px solid #d9e3e4;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(16,46,64,.06);
}
.rm-fc-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:22px 24px 18px;
  border-bottom:1px solid #d9e3e4;
  background:linear-gradient(180deg,#fff 0%,#f8fbfc 100%);
}
.rm-fc-head .eyebrow{
  margin:0 0 5px;
  color:#087e8b;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
}
.rm-fc-head h2{
  margin:0 0 5px;
  color:#0b2638;
  font-size:clamp(1.35rem,2vw,1.7rem);
  line-height:1.15;
}
.rm-fc-head p{
  margin:0;
  color:#607783;
  font-size:.82rem;
}
.rm-fc-pill{
  flex:0 0 auto;
  padding:6px 10px;
  border:1px solid #bdd7dc;
  border-radius:999px;
  background:#eef7f8;
  color:#087e8b;
  font-size:.68rem;
  font-weight:800;
  white-space:nowrap;
}
.rm-fc-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  padding:16px;
  background:#f7fafb;
}
.rm-fc-card{
  min-width:0;
  padding:17px;
  border:1px solid #dce5e8;
  border-radius:13px;
  background:#fff;
}
.rm-fc-card:first-child{
  border-color:#8fc2ca;
  box-shadow:inset 0 3px 0 #087e8b;
}
.rm-fc-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.rm-fc-day{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.rm-fc-day strong{
  color:#0b2638;
  font-size:.92rem;
}
.rm-fc-day span{
  margin-top:2px;
  color:#7b8f99;
  font-size:.72rem;
}
svg.rm-fc-icon{
  display:block!important;
  flex:0 0 62px;
  width:62px!important;
  height:62px!important;
  max-width:62px!important;
  max-height:62px!important;
  overflow:visible;
}
.rm-fc-sun{fill:#f6b73c;stroke:#e49a12;stroke-width:1.5}
.rm-fc-ray{stroke:#e49a12;stroke-width:3;stroke-linecap:round}
.rm-fc-cloud{fill:#dce8ed;stroke:#69818e;stroke-width:2}
.rm-fc-rain{stroke:#2687c8;stroke-width:4;stroke-linecap:round}
.rm-fc-snow{stroke:#5c9ed6;stroke-width:3;stroke-linecap:round}
.rm-fc-fog{stroke:#8da0aa;stroke-width:3;stroke-linecap:round}
.rm-fc-lightning{fill:#f2a900;stroke:#c98000;stroke-width:1}
.rm-fc-condition{
  margin-top:9px;
  min-height:2.4em;
  color:#102e40;
  font-size:.84rem;
  font-weight:750;
  line-height:1.25;
}
.rm-fc-temps{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  margin-top:10px;
  padding-bottom:11px;
  border-bottom:1px solid #e6edef;
  color:#607783;
  font-size:.76rem;
}
.rm-fc-temps b{
  color:#0b2638;
  font-size:1.35rem;
}
.rm-fc-details{
  margin:10px 0 0;
}
.rm-fc-details>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:5px 0;
  border-bottom:1px dashed #e5ecef;
  font-size:.72rem;
}
.rm-fc-details>div:last-child{border-bottom:0}
.rm-fc-details dt{color:#71858f}
.rm-fc-details dd{
  margin:0;
  color:#102e40;
  font-weight:700;
  text-align:right;
}
.rm-fc-error{
  margin:16px;
  padding:16px;
  border-radius:10px;
  background:#fff4df;
  color:#70460d;
}
.rm-fc-error strong,.rm-fc-error span{display:block}
.rm-fc-foot{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding:12px 16px 14px;
  border-top:1px solid #d9e3e4;
  background:#fff;
  color:#748892;
  font-size:.65rem;
}
.rm-fc-foot p{margin:0}

/* Compact widget uses the exact same icon but at widget scale. */
.rmc-fc-compact__icon svg.rm-fc-icon{
  width:32px!important;
  height:32px!important;
  max-width:32px!important;
  max-height:32px!important;
  flex-basis:32px;
}

@media(max-width:760px){
  .rm-fc-head{flex-direction:column;padding:18px}
  .rm-fc-grid{grid-template-columns:1fr;padding:12px}
  .rm-fc-pill{align-self:flex-start}
  svg.rm-fc-icon{width:56px!important;height:56px!important;max-width:56px!important;max-height:56px!important;flex-basis:56px}
}


/* Historical chart readability + hover tooltip */
.wx-chart{position:relative}
.wx-chart-tooltip{
  position:absolute;
  z-index:8;
  min-width:180px;
  max-width:260px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:9px;
  background:rgba(11,38,56,.96);
  color:#fff;
  box-shadow:0 10px 28px rgba(11,38,56,.24);
  font-size:11px;
  line-height:1.45;
  pointer-events:none;
  transform:translate(10px,-50%);
}
.wx-chart-tooltip[hidden]{display:none!important}
.wx-chart-tooltip strong{display:block;margin-bottom:4px;font-size:11.5px;color:#fff}
.wx-chart-tooltip span{display:block;color:#dce9ed}
.wx-chart-tooltip b{color:#fff}
