/* Header presentation; observations and feed access belong to Companion. */
.site-header .header-row:has(.rm-header-weather){gap:24px;min-height:140px;padding-block:20px}
.header-row>.brand,.header-row>.custom-logo-link{flex:none}
.rm-header-weather{flex:1;min-width:0;max-width:680px;margin-left:auto;padding-left:24px;border-left:1px solid var(--line);color:var(--ink)}
.rm-header-weather__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.rm-header-weather__heading a{font-size:13px;font-weight:750;color:var(--ink);text-decoration:none}
.rm-header-weather__heading a:hover{text-decoration:underline}
.rm-header-weather__heading a span{color:var(--teal);margin-left:4px}
.rm-header-weather__station{font-size:9px;letter-spacing:.1em;color:var(--muted);font-weight:650}
.rm-header-weather__values{display:grid;grid-template-columns:1.25fr .8fr 1fr 1fr 1fr;gap:14px;margin:0}
.rm-header-weather__metric{min-width:0}
.rm-header-weather__metric dt{font-size:10px;color:var(--muted);font-weight:600;margin-bottom:1px;white-space:nowrap}
.rm-header-weather__metric dd{margin:0;font-size:19px;font-weight:750;line-height:1.4;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.rm-header-weather__metric dd small{font-size:10px;font-weight:500;letter-spacing:0;color:var(--muted)}
.rm-header-weather__metric--temperature dd{color:var(--teal);font-size:27px;line-height:1}
.rm-header-weather__metric--temperature dd small{font-size:14px;color:var(--teal)}
.rm-header-weather__status{min-height:15px;margin:5px 0 0;font-size:10px;line-height:1.5;color:var(--muted)}
.rm-header-weather[data-state=stale] .rm-header-weather__status,.rm-header-weather[data-state=error] .rm-header-weather__status{color:#83521d}
.rm-dx-ribbon{background:var(--navy);color:#dbe9ee;font-size:12px}
.rm-dx-ribbon__row{display:flex;align-items:center;gap:16px;min-height:44px}
.rm-dx-ribbon__label{flex:none;display:flex;align-items:center;gap:8px;min-height:44px;color:#fff;font-size:11px;font-weight:800;letter-spacing:.07em;text-decoration:none}
.rm-dx-ribbon__label:hover{color:var(--sky)}
.rm-dx-ribbon__label>span{font-size:15px;color:var(--sky)}
.rm-dx-ribbon__window{flex:1;min-width:0;overflow:hidden;line-height:44px}
.rm-dx-ribbon__track{display:flex;width:max-content;will-change:auto}
.rm-dx-ribbon__items{display:flex;align-items:center;flex:none;gap:28px;padding:0 28px 0 0;margin:0;list-style:none;white-space:nowrap}
.rm-dx-ribbon__items li{display:flex;align-items:center;gap:9px;font-variant-numeric:tabular-nums}
.rm-dx-ribbon__items li::before{content:'';width:4px;height:4px;border-radius:50%;background:#7196a8;margin-right:6px}
.rm-dx-ribbon__items strong{color:#fff;font-weight:750;letter-spacing:.02em}
.rm-dx-ribbon__frequency{color:#b8e0e3}
.rm-dx-ribbon__time{font-size:10px;color:#b1c9d3}
.rm-dx-ribbon__mode{font-size:10px;padding:1px 5px;border-radius:3px;background:#ffffff12;color:#e3edf1;line-height:1.5}
.rm-dx-ribbon__source{flex:none;font-size:10px;color:#b1c9d3;white-space:nowrap}
.rm-dx-ribbon__pause{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-left:1px solid #ffffff20;border-radius:0;background:transparent;color:#fff;font-size:17px;padding:0;cursor:pointer}
.rm-dx-ribbon__pause:hover{background:#ffffff12}.rm-dx-ribbon__pause:disabled{opacity:.4}
.rm-dx-ribbon__message{color:#b1c9d3;font-size:11px;white-space:nowrap}
.rm-dx-ribbon[data-moving=true] .rm-dx-ribbon__track{animation:rm-dx-scroll var(--dx-duration,70s) linear infinite}
.rm-dx-ribbon:hover .rm-dx-ribbon__track{animation-play-state:paused}
.rm-dx-ribbon[data-paused=true] .rm-dx-ribbon__track,.rm-dx-ribbon:has(.rm-dx-ribbon__window:focus) .rm-dx-ribbon__track{animation:none}
.rm-dx-ribbon[data-paused=true] .rm-dx-ribbon__window,.rm-dx-ribbon:has(.rm-dx-ribbon__window:focus) .rm-dx-ribbon__window{overflow-x:auto;scrollbar-width:thin}
.rm-dx-ribbon[data-paused=true] [data-dx-copy],.rm-dx-ribbon:has(.rm-dx-ribbon__window:focus) [data-dx-copy]{display:none}
.rm-dx-ribbon[data-state=stale] .rm-dx-ribbon__source{color:#eeb66c}
@keyframes rm-dx-scroll{to{transform:translateX(calc(-1 * var(--dx-distance,0px)))}}
@media(max-width:980px){
 .site-header .header-row:has(.rm-header-weather){gap:16px;flex-wrap:wrap}
 .header-row:has(.rm-header-weather)>.header-actions{order:1;margin-left:auto}
 .rm-header-weather{order:2;flex-basis:100%;max-width:none;padding:14px 0 0;margin:0;border-left:0;border-top:1px solid var(--line)}
 .rm-header-weather__values{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:600px){
 .rm-dx-ribbon__row{gap:10px}.rm-dx-ribbon__source{display:none}
 .rm-dx-ribbon__label{font-size:10px;gap:4px}.rm-dx-ribbon__pause{width:36px}
 .site-header .header-row:has(.rm-header-weather){padding-block:14px;gap:12px}
 .rm-header-weather__station{font-size:8px}
 .rm-header-weather__values{gap:6px 14px;grid-template-columns:1.1fr 1fr 1fr}
 .rm-header-weather__metric--temperature{grid-row:span 2;align-self:center}
 .rm-header-weather__metric dd{font-size:17px}.rm-header-weather__metric--temperature dd{font-size:25px}
 .rm-header-weather__metric dd small{font-size:9px}
 .rm-header-weather__metric--temperature dd small{font-size:12px}
 .rm-header-weather__metric dt{font-size:9px}
 .rm-dx-ribbon[data-state=stale] .rm-dx-ribbon__source{display:block;max-width:76px;white-space:normal;line-height:1.3;font-size:9px}
}
@media(prefers-reduced-motion:reduce){
 .rm-dx-ribbon[data-moving=true] .rm-dx-ribbon__track{animation:none}
 .rm-dx-ribbon__window{overflow-x:auto;scrollbar-width:thin}
 .rm-dx-ribbon [data-dx-copy],.rm-dx-ribbon__pause{display:none}
}
/* Compact observations alongside three ECMWF forecast cards. */
.rm-header-weather{max-width:780px;padding-left:20px}
.rm-header-weather__body{display:grid;grid-template-columns:165px minmax(0,1fr);gap:20px;align-items:start}
.rm-header-weather__values{grid-template-columns:1fr 1fr;gap:8px 12px}
.rm-header-weather__metric--temperature{grid-column:1/-1;grid-row:auto}
.rm-header-weather__metric--temperature dd{font-size:34px;line-height:1.15}
.rm-header-weather__metric dd{font-size:17px}
.rm-header-weather__metric--temperature dd{font-size:34px}
.rm-header-weather__metric dt{font-size:10px}
.rm-header-weather__status{font-size:9px;line-height:1.4;max-width:180px}
.rm-header-forecast{min-width:0}
.rm-header-forecast__days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.rm-header-forecast__day{display:flex;flex-direction:column;align-items:center;gap:3px;padding:9px 4px 7px;border:1px solid #dce6eb;background:linear-gradient(180deg,#f1f6f8,#fff);border-radius:9px;text-align:center;min-width:0;font-size:11px;color:var(--ink)}
.rm-header-forecast__day>strong{text-transform:capitalize;font-size:11px}
.rm-header-forecast__icon{display:flex;width:42px;height:42px;align-items:center;justify-content:center}
.rm-header-forecast__icon svg{width:42px;height:42px}
.rm-header-forecast .rm-fc-sun{fill:#f6b73c;stroke:#e49a12;stroke-width:1.5}
.rm-header-forecast .rm-fc-ray{stroke:#e49a12;stroke-width:3;stroke-linecap:round}
.rm-header-forecast .rm-fc-cloud{fill:#dce8ed;stroke:#69818e;stroke-width:2}
.rm-header-forecast .rm-fc-rain{stroke:#2687c8;stroke-width:4;stroke-linecap:round}
.rm-header-forecast .rm-fc-snow{stroke:#5c9ed6;stroke-width:3;stroke-linecap:round}
.rm-header-forecast .rm-fc-fog{stroke:#8da0aa;stroke-width:3;stroke-linecap:round}
.rm-header-forecast .rm-fc-lightning{fill:#f2a900;stroke:#c98000;stroke-width:1}
.rm-header-forecast__condition{font-size:10px;line-height:1.3;min-height:13px}
.rm-header-forecast__temps{display:flex;justify-content:center;flex-wrap:wrap;gap:2px 6px;font-size:9px;color:#586b76;font-variant-numeric:tabular-nums}
.rm-header-forecast__temps b{font-size:12px;color:var(--ink)}
.rm-header-forecast__rain{font-size:10px;color:#176287}
.rm-header-forecast__source{margin:4px 0 0;font-size:9px;color:#586b76;text-align:right;line-height:1.4}
.rm-header-forecast__source a{color:inherit;text-decoration:underline}
.rm-dx-ribbon__window,.rm-dx-ribbon__source{text-decoration:none;color:inherit}
.rm-dx-ribbon__window:hover{background:#ffffff08}
.rm-dx-ribbon__window:focus-visible{outline:2px solid #9fdbe7;outline-offset:-2px}
@media(max-width:1100px) and (min-width:981px){.site-header .header-row:has(.rm-header-weather){gap:15px}.rm-header-weather__body{grid-template-columns:135px minmax(0,1fr);gap:10px}.rm-header-weather{padding-left:15px}}
@media(max-width:980px){.rm-header-weather{max-width:none;padding-left:0}.rm-header-weather__body{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:600px){
 .rm-header-weather__body{grid-template-columns:1fr;gap:12px}
 .rm-header-weather__values{grid-template-columns:1.4fr 1fr 1fr;align-items:center;gap:10px}
 .rm-header-weather__metric--temperature{grid-column:auto;grid-row:auto}
 .rm-header-weather__metric--temperature dd{font-size:30px}
 .rm-header-weather__status{max-width:none}
 .rm-header-forecast__day{padding-block:8px}
 .rm-header-forecast__source{text-align:left}
}
