:root {
  color-scheme:light; --paper:#f6f7f1; --card:#fffef9; --ink:#173c34; --muted:#50695e;
  --line:#d9dfd4; --pine:#173e37; --sun:#e8a640; --aqua:#4e8d82; --round:23px;
  font-family:"Inter","Segoe UI",system-ui,sans-serif; background:var(--paper); color:var(--ink);
  font-synthesis:none; -webkit-text-size-adjust:100%;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0}
a{color:inherit}
button,input{font:inherit}
button,summary,a,input{touch-action:manipulation}
button{cursor:pointer;color:inherit}
button:disabled{cursor:wait;opacity:.65}
:focus-visible{outline:3px solid #287d78;outline-offset:4px}
h1,h2,h3,p{margin:0}
[hidden]{display:none!important}
.wrap{width:min(1272px,calc(100% - clamp(32px,8vw,128px)));margin-inline:auto}
.icon{display:inline-block;width:21px;height:21px;flex:none;vertical-align:middle}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;top:10px;left:10px;z-index:9;background:white;padding:12px}
.mast{border-bottom:1px solid var(--line);background:var(--paper);position:sticky;z-index:5;top:0}
.mast-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:66px;gap:18px}
.language-switch{display:inline-flex;align-items:center;justify-self:end;border:1px solid #ccd5c7;border-radius:12px;padding:2px;background:#f9faf4}
.language-switch button{padding:0 10px;border:0;border-radius:9px;min-width:37px;min-height:38px;background:transparent;font-weight:700;letter-spacing:.04em;font-size:12px}
.language-switch [aria-pressed=true]{background:var(--pine);color:#fffdf5}
.language-switch button:hover:not([aria-pressed=true]){background:#e0e7dc}
@media(max-width:940px){.mast-inner{display:flex;justify-content:space-between}}
@media(max-width:390px){.mast-inner nav a{padding-inline:8px}.language-switch button{min-width:35px;padding-inline:7px}}
.site-place,.tools,.status,.scene-location,.weather-chip,.reading-title,.section-heading,.panel-head,.chart-readout{display:flex;align-items:center}
.mast nav{display:flex;align-items:center;gap:4px;padding:3px;border-radius:28px;background:#e9ede3}
nav a{border-radius:22px;padding:9px 17px;line-height:1.2;text-decoration:none;font-size:13px;font-weight:650;color:#52685c}
nav a[aria-current]{background:var(--card);color:var(--pine);box-shadow:0 1px 3px #143b2916}
nav a:hover{color:#12362d}
.site-place{font-size:13px;gap:6px;color:var(--muted)}
.site-place .icon{width:16px}
.intro{display:flex;align-items:end;justify-content:space-between;gap:13px;padding:clamp(26px,4vw,52px) 0 22px}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:10px;font-weight:750;line-height:1.5;color:var(--muted)}
h1{font-size:clamp(35px,4.9vw,64px);letter-spacing:-.073em;line-height:1.08;font-weight:660}
h1 [aria-hidden]{color:#ae6918}
.intro .eyebrow{margin-bottom:7px;min-block-size:1.5em}
.tools{gap:10px;padding-bottom:4px}
.status{font-size:12px;font-weight:650;gap:7px;white-space:nowrap}
.status::before{content:"";width:7px;height:7px;flex:none;border-radius:50%;background:#7b877e}
.status[data-mode=fresh]::before{background:#438568;box-shadow:0 0 0 4px #dfeadd}
.status[data-mode=caution]::before{background:#b46c2b}
.circle,.motion{padding:0;border-radius:50%;display:grid;place-items:center;width:43px;height:43px;border:1px solid var(--line);background:var(--card)}
.circle:hover,.motion:hover{border-color:#839e8d}
#refresh[aria-busy=true] .icon{animation:spin 1.4s linear infinite}
.notice{margin:0 0 14px;padding:12px 16px;line-height:1.45;border-radius:13px;background:#fff1d3;color:#653f13;font-size:14px}
.overview-grid,.history-grid,.tech-grid{display:grid;gap:18px;grid-template-columns:minmax(0,1.85fr) minmax(300px,1fr)}
.landscape{--sky:#d7e5db;--horizon:#e7e8d4;position:relative;isolation:isolate;overflow:hidden;border-radius:var(--round);background:var(--sky);min-height:372px;color:#1b4339}
.sky{position:absolute;inset:0;overflow:hidden;z-index:-2;background:linear-gradient(152deg,var(--sky),var(--horizon) 90%)}
.sky::after{content:"";position:absolute;inset:0;pointer-events:none}
.landscape[data-weather=clear]{--sky:#bddbe1;--horizon:#f5e7bd}
.landscape[data-weather=partly-cloudy]{--sky:#b8d7e0;--horizon:#eee7d2}
.landscape[data-weather=cloudy]{--sky:#b4c7ce;--horizon:#dfe5dc}
.landscape:is([data-weather=rain],[data-weather=precipitation],[data-weather=thunder]){--sky:#90a5b2;--horizon:#d4dedb}
.landscape[data-weather=snow]{--sky:#c2d0d7;--horizon:#eaf0eb}
.landscape[data-weather=fog]{--sky:#cad5d5;--horizon:#d9e1de}
.landscape:is([data-weather=clear],[data-weather=partly-cloudy]) .sky::after{background:radial-gradient(ellipse at 88% 15%,#fff4c95e,transparent 45%)}
.landscape[data-weather=unknown]{--sky:#d4ded8;--horizon:#e3e7d9}
.landscape[data-day=night]{--sky:#203444;--horizon:#3b5652;color:#fffceb}
.landscape[data-day=night] .sky::after{background:none}
.hills{position:absolute;width:130%;height:37%;left:-10%;bottom:-17%;border-radius:50% 50% 0 0;background:#91ad88;opacity:.19;transform:rotate(5deg)}
.hills::before{content:"";position:absolute;inset:-40% 0 0 30%;border-radius:65% 80% 0 0;background:#8ea79d;transform:rotate(-12deg)}
.sun-orb{display:none;position:absolute;right:12%;top:16%;width:clamp(36px,4.5vw,65px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 40% 40%,#fffbdf,#ffe599);box-shadow:0 0 1.2rem .6rem #fff4b982,0 0 3.8rem 2rem #fff0ad60}
[data-weather=clear][data-day=day] .sun-orb,[data-weather=partly-cloudy][data-day=day] .sun-orb{display:block;animation:sun-breathe 10s ease-in-out infinite}
.cloud{display:none;position:absolute;width:37%;height:24%;background-image:radial-gradient(ellipse at 54% 53%,#fbfdf4ed 0 23%,transparent 47%),radial-gradient(ellipse at 33% 61%,#f4f6eaf0 0 17%,transparent 41%),radial-gradient(ellipse at 75% 63%,#f7f9f0df 0 14%,transparent 36%),radial-gradient(ellipse at 50% 72%,#c2cdd0de 0 18%,transparent 53%);opacity:.88;animation:drift 24s ease-in-out infinite alternate}
.cloud-a{top:6%;left:30%}.cloud-b{top:20%;right:-10%;width:38%;animation-delay:-8s}
:is([data-weather=cloudy],[data-weather=partly-cloudy],[data-weather=rain],[data-weather=precipitation],[data-weather=thunder],[data-weather=snow],[data-weather=fog]) .cloud{display:block}
:is([data-weather=cloudy],[data-weather=rain],[data-weather=precipitation],[data-weather=thunder],[data-weather=snow]) .cloud{width:72%;height:38%;top:-4%;opacity:.9}
:is([data-weather=cloudy],[data-weather=rain],[data-weather=precipitation],[data-weather=thunder],[data-weather=snow]) .cloud-a{left:-12%}
:is([data-weather=cloudy],[data-weather=rain],[data-weather=precipitation],[data-weather=thunder],[data-weather=snow]) .cloud-b{top:4%;right:-7%}
[data-weather=fog] .cloud{width:82%;height:18%;filter:blur(5px);opacity:.7}
[data-weather=fog] .cloud-b{top:48%}
[data-day=night] .cloud{opacity:.16}
.precip{display:none;position:absolute;z-index:1;inset:-45px -12px 0 0;pointer-events:none;opacity:.5;background-size:80px 44px;background-image:url("/rain.svg");animation:rain-fall .95s linear infinite}
[data-weather=rain] .precip,[data-weather=thunder] .precip,[data-weather=snow] .precip{display:block}
[data-weather=snow] .precip{background-image:radial-gradient(circle at 20% 26%,#fff 0 1.7px,transparent 2.2px),radial-gradient(circle at 63% 80%,#fff 0 1.1px,transparent 1.7px);background-size:40px 44px;animation-duration:5s;opacity:.72}
.scene-head{position:relative;z-index:2;display:flex;justify-content:space-between;gap:10px;align-items:center;padding:21px 24px}
.scene-location,.weather-chip{font-size:12px;font-weight:650;gap:6px}
.scene-location .icon,.weather-chip .icon,.reading-title .icon{width:17px;height:17px}
.weather-chip{color:#244239;border:1px solid #fff8;background:#fffff0cf;padding:7px 11px;border-radius:24px;text-decoration:none;min-height:34px}
.house{position:absolute;right:-1%;bottom:5%;width:72%;height:84%;object-fit:contain;object-position:right bottom;z-index:-1}
[data-day=night] .house{filter:brightness(.78) saturate(.77)}
.scene-reading{position:absolute;left:clamp(18px,2.3vw,34px);top:34%;max-width:40%}
.reading-title{gap:7px;font-size:13px;font-weight:700}
.hero-value{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:6px;margin-block:6px 4px;font-variant-numeric:tabular-nums;line-height:.99}
.hero-value strong{font-size:clamp(37px,4.1vw,66px);letter-spacing:-.075em;font-weight:640}
.hero-value span{font-size:clamp(18px,2vw,27px);font-weight:520;letter-spacing:-.05em}
#pv-detail{font-size:12px;line-height:1.5;font-weight:540}
.motion{position:absolute;left:24px;bottom:20px;color:#355649;border-color:#ffffff80;background:#fffdf1ab;width:38px;height:38px}
.motion .icon{height:15px;width:15px}
.flow-card{background:var(--pine);border-radius:var(--round);padding:24px;color:#f8faee;display:flex;flex-direction:column}
.flow-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:10px}
.flow-head .eyebrow{color:#c4d6bf;margin-bottom:2px}
h2,h3{letter-spacing:-.045em;line-height:1.12;font-weight:660}
.flow-head h2,.panel h3{font-size:clamp(21px,2vw,29px)}
.flow-glyph{width:32px;height:32px;color:#e7cb77}
.flow-row{border-top:1px solid #ffffff24}
.flow-row summary{display:grid;grid-template-columns:38px minmax(0,1fr) auto 10px;gap:10px;align-items:center;padding:12px 0;min-height:58px}
.flow-row summary::after{content:"";justify-self:end;width:5px;height:5px;border:solid #bdcec3;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);transition:transform .2s}
.flow-row[open] summary::after{transform:rotate(225deg)}
.flow-icon{width:38px;height:38px;display:grid;place-items:center;background:#32554b;border-radius:12px;color:#f1dda2}
.flow-row.battery .flow-icon{color:#c9eaa7}.flow-row.grid .flow-icon{color:#b5dbec}
.flow-label{font-size:14px;font-weight:630}.flow-label small{display:block;color:#c0d3c8;font-size:11px;font-weight:480;margin-top:3px}
.flow-number{font-size:clamp(17px,1.7vw,25px);font-variant-numeric:tabular-nums;font-weight:610;letter-spacing:-.04em}
.flow-number small{font-size:.61em;letter-spacing:0}
.flow-more{padding:0 0 13px 48px;font-size:12px;line-height:1.6;color:#d6e6dd}
.flow-time{border-top:1px solid #ffffff24;margin-top:auto;padding-top:12px;font-size:11px;color:#c0d3c8}
.main-section{margin-top:clamp(29px,3.5vw,48px)}
.section-heading,.panel-head{justify-content:space-between;gap:12px}
.section-heading{margin-bottom:15px}.section-heading h2{font-size:clamp(26px,2.8vw,38px);letter-spacing:-.055em}
.section-aside,.secondary{font-size:13px;line-height:1.5;color:var(--muted)}
.panel{min-width:0;padding:clamp(17px,2.3vw,28px);border:1px solid var(--line);border-radius:var(--round);background:var(--card)}
.panel-head{margin-bottom:17px}.panel .eyebrow{margin-bottom:4px}.panel-head .secondary{margin-top:4px}
.title-icon{width:30px;height:30px;color:#8c713a}
.switch{display:flex;flex:none;align-items:center;border-radius:12px;padding:3px;background:#edf0e6;gap:2px}
.switch button{border:0;min-height:36px;padding:5px 13px;background:transparent;border-radius:9px;font-size:12px;white-space:nowrap;font-weight:650}
.switch button[aria-pressed=true]{background:#fffef9;box-shadow:0 1px 4px #243a2221}
.plot{position:relative}.plot canvas{display:block;width:100%;height:187px;touch-action:pan-y}
.chart-readout{flex-wrap:wrap;gap:8px 14px;min-height:28px;font-size:12px;font-variant-numeric:tabular-nums}
.chart-readout>span:first-child{font-weight:680}
.legend::before{content:"";display:inline-block;width:8px;height:8px;background:#bc7923;border-radius:50%;margin-right:5px}.legend.load::before{background:#397e75}
.sample{display:block;padding:6px 0}.sample input{width:100%;height:20px;margin:0;accent-color:#387b68;cursor:pointer}
details>summary{list-style:none;cursor:pointer}
summary::-webkit-details-marker{display:none}
.panel details>summary{padding:12px 22px 12px 0;font-weight:610;position:relative;font-size:14px}
.panel details>summary::after{content:"+";position:absolute;right:2px;font-size:18px;top:50%;transform:translateY(-50%);color:var(--muted)}
.panel details[open]>summary::after{content:"−"}
.chart-card>details,.device-list details,.system details+details{border-top:1px solid var(--line)}
.day-card{background:#f1eddc;border-color:#e4deca}
#daily{display:grid;gap:0}
.balance,.equipment-stat,.weather-line{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:9px 0;font-size:14px;border-bottom:1px solid #60795729}
.balance:last-child,.equipment-stat:last-child,.weather-line:last-child{border-bottom:0}
.balance strong,.equipment-stat strong,.weather-line strong{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.balance:first-child{align-items:center;padding:0 0 12px;font-weight:650}
.balance:first-child strong{font-size:clamp(23px,2.1vw,32px);letter-spacing:-.06em}
.archive,.system{margin-top:16px}
.table-wrap{overflow:auto;max-height:360px;scrollbar-width:thin}
table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px;font-variant-numeric:tabular-nums;text-align:right}
th,td{padding:9px 12px;border-bottom:1px solid var(--line)}
th{color:var(--muted);background:var(--card);font-size:11px;position:sticky;top:0}
th:first-child,td:first-child{text-align:left;padding-left:1px}
.tech-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}
.equipment-card{display:grid;grid-template-columns:minmax(140px,.8fr) 1fr;gap:18px;align-items:center}
.equipment-art{background:linear-gradient(145deg,#d7e6dd,#edf2e7);border-radius:16px;align-self:stretch;display:grid;place-items:center}
.equipment-art img{width:100%;height:190px;object-fit:contain}
.equipment-info h3{margin-bottom:10px}
.equipment-stat{font-size:12px;padding:5px 0}
.device-list{grid-column:1/-1;min-width:0}
.detail-meta,.weather-credit,.system li{font-size:12px;color:var(--muted);line-height:1.65}
.detail-meta{display:flex;flex-wrap:wrap;gap:6px 15px}
.weather-main{font-size:21px;font-weight:630;letter-spacing:-.035em;margin:6px 0}
.weather-credit{margin-top:12px;overflow-wrap:anywhere}
.weather-credit a{text-underline-offset:.16em}
.system{padding-block:5px}
.system ul{padding-left:18px}.system li{margin:5px 0}
footer.wrap{margin-top:40px;border-top:1px solid var(--line);padding:23px 0 36px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;color:var(--muted)}
@keyframes sun-breathe{50%{transform:scale(1.045)}}
@keyframes drift{to{transform:translateX(12%)}}
@keyframes rain-fall{to{transform:translateY(44px)}}
@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1050px){.landscape{min-height:390px}.flow-card{padding:28px}.flow-row summary{min-height:72px}}
@media(max-width:940px){.wrap{width:calc(100% - 40px)}.overview-grid,.history-grid{grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:12px}.flow-card{padding:18px}.flow-row summary{gap:7px}.site-place{display:none}.house{width:78%;bottom:2%}.scene-reading{top:23%;max-width:55%}.flow-label{font-size:13px}.section-aside{font-size:12px}}
@media(max-width:720px){html{scroll-padding-top:68px}.wrap{width:calc(100% - 28px)}.mast-inner{min-height:60px;gap:5px}.mast nav{gap:0;padding:2px}nav a{font-size:12px;padding:10px 9px}.intro{padding:24px 0 15px;align-items:center}.intro .eyebrow{font-size:9px}.tools{gap:8px}.status{font-size:11px;gap:5px}.circle{width:40px;height:40px}.overview-grid,.history-grid,.tech-grid{grid-template-columns:minmax(0,1fr)}.landscape{min-height:clamp(305px,65vw,370px)}.scene-head{padding:16px}.scene-reading{top:26%;left:18px}.hero-value strong{font-size:clamp(39px,8vw,55px)}.house{width:74%;height:77%;bottom:2%;right:0}.motion{left:16px;bottom:14px}.flow-card{padding:18px 20px}.flow-head{margin-bottom:8px}.flow-row summary{min-height:53px;padding:8px 0}.flow-number{font-size:21px}.flow-row .flow-icon{height:35px;width:35px}.flow-time{padding-top:10px}.equipment-card{grid-template-columns:minmax(115px,.8fr) 1fr}.panel{border-radius:19px}.landscape,.flow-card{border-radius:19px}.section-heading{align-items:baseline}.plot canvas{height:165px}.table-wrap{max-height:310px}footer.wrap{margin-top:26px}.archive{padding-inline:16px}}
@media(max-width:430px){.intro{align-items:end;gap:6px}.tools{flex-direction:column-reverse;gap:5px;align-items:end;padding-bottom:0}.circle{width:38px;height:38px}.status{font-size:10px}.scene-head{padding:14px}.scene-location,.weather-chip{font-size:11px}.scene-reading{top:24%}.house{width:86%;height:73%;right:-4%}.reading-title{font-size:12px}.motion{width:36px;height:36px}.section-heading .section-aside{max-width:42%;text-align:right}.panel-head{gap:6px}.switch button{padding-inline:9px;min-height:38px}.secondary{font-size:12px}.chart-readout{gap:6px 10px}.equipment-card{gap:12px}.equipment-art img{height:160px}.flow-card .eyebrow{font-size:9px}}
@media(max-width:355px){.wrap{width:calc(100% - 20px)}nav a{padding-inline:7px}.scene-reading{top:25%}.hero-value strong{font-size:36px}h1{font-size:31px}.section-aside{font-size:11px}.panel{padding:14px}.site-place{display:none}.equipment-card{grid-template-columns:102px 1fr}.system{padding-block:3px}.section-heading h2{font-size:26px}}
html[data-motion=off] *,html[data-hidden=true] *,[data-still=true] .sky *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){*,*::after,*::before{animation:none!important;transition:none!important}html{scroll-behavior:auto}}

.flow-indicator{display:inline-block;position:relative;width:18px;height:2px;vertical-align:middle;margin-left:6px;background:#b3d1b34a;border-radius:100%}
.flow-indicator::after{content:"";position:absolute;left:2px;top:-1.5px;width:5px;height:5px;background:#d6eab6;border-radius:50%;animation:flow-dot 1.9s ease-in-out infinite}
[data-dir=out] .flow-indicator::after{animation-direction:reverse}
@keyframes flow-dot{0%{transform:translateX(0);opacity:.3}75%{opacity:1}100%{transform:translateX(10px);opacity:.4}}
#station-choice{display:block;color:var(--muted);font-size:13px;margin-bottom:12px}
#station{font:inherit;border-radius:9px;padding:8px;border:1px solid var(--line)}
@media(prefers-reduced-motion:reduce){.flow-indicator::after{animation:none}}
.strings{grid-column:1/-1;border-top:1px solid var(--line)}
.strings + .device-list{margin-top:-12px}
.strings[hidden] + .device-list{margin-top:0}
#strings-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}
.input-reading{display:grid;gap:4px;background:#eff3e8;border:1px solid var(--line);border-radius:11px;padding:10px;font-variant-numeric:tabular-nums}
.input-reading strong,.input-reading small{font-size:11px;color:var(--muted)}
.mast nav a{display:inline-flex;align-items:center;min-height:38px}
.panel-head>div:first-child,.equipment-info,.flow-label{min-width:0}
.flow-label small{line-height:1.4}
.flow-number{white-space:nowrap}
.panel .secondary{line-height:1.55}
.archive .table-wrap th:first-child,.archive .table-wrap td:first-child{position:sticky;left:0;z-index:1;background:var(--card);padding-right:14px}
.archive .table-wrap th:first-child{z-index:2}
.device-list table td:first-child{white-space:normal}
.equipment-art{min-height:200px;padding:8px}
.equipment-art img{display:block;height:208px}
.equipment-info h3{line-height:1.15}
.detail-meta:empty{display:none}
.weather-credit{line-height:1.55}
.weather-line>span,.equipment-stat>span{min-width:0}
footer.wrap{justify-content:flex-start}
@media(max-width:720px){
  .wrap{width:calc(100% - 32px)}
  .mast-inner{min-height:60px}
  .mast nav a,.language-switch button{min-height:40px}
  .language-switch{border-radius:13px}
  .circle,.motion{width:44px;height:44px}
  .switch button,.panel details>summary{min-height:42px}
  .panel-head{margin-bottom:14px}
  .main-section{margin-top:32px}
  .flow-card{padding:19px 18px 16px}
  .flow-time{line-height:1.5}
  .panel{padding:18px}
  .system{padding-block:4px}
  .panel .panel-head h3{font-size:21px}
  .equipment-art{min-height:170px;padding:4px}
  .equipment-art img{height:174px}
  .scene-location,.weather-chip{line-height:1.2}
  .equipment-stat{line-height:1.45;align-items:center}
}
@media(max-width:380px){
  .wrap{width:calc(100% - 24px)}
  .panel{padding:15px}
  .system{padding-block:4px}
  .scene-head{gap:5px}
  .scene-location{min-width:0}
  .equipment-card{grid-template-columns:minmax(90px,.65fr) minmax(0,1fr)}
  .equipment-info h3{font-size:20px}
  .equipment-stat{flex-wrap:wrap;gap:1px 6px}
  .history-grid .panel-head{align-items:flex-start}
}
html[data-motion=off] .flow-indicator::after,html[data-hidden=true] .flow-indicator::after{animation-play-state:paused}
.landscape[data-offscreen=true] .sky *,.flow-card[data-offscreen=true] .flow-indicator::after{animation-play-state:paused!important}
@media(max-width:355px){nav a{padding-inline:4px}}
@media(max-width:430px){
  .intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;align-items:center}
  .intro>div:first-child,.intro .tools{display:contents}
  .intro .eyebrow{grid-area:1/1;margin:0}
  .intro #status{grid-area:1/2;justify-self:end}
  .intro h1{grid-area:2/1/3/-1;padding-right:44px}
  .intro #refresh{grid-area:2/2;justify-self:end}
}

/* At a glance on touch screens: controls keep a full finger-sized hit area. */
@media (pointer:coarse), (max-width:940px) {
  .mast nav a,.language-switch button,.switch button,.weather-chip,.circle,.motion{min-height:44px;min-width:44px}
  .mast nav a,.weather-chip{justify-content:center}
  .panel details>summary{min-height:44px}
  .sample input{min-height:32px}
}
.equipment-info,.weather-card{overflow-wrap:break-word}
@media(min-width:721px) and (max-width:880px){
  .tech-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)}
  .equipment-card{grid-template-columns:110px minmax(0,1fr);gap:14px}
  .equipment-art{min-height:166px}
  .equipment-art img{height:166px}
}
@media(max-width:520px){
  .equipment-card{grid-template-columns:clamp(91px,27vw,124px) minmax(0,1fr);column-gap:18px;row-gap:10px}
  .equipment-art{grid-area:1/1/3/2;min-height:0;align-self:stretch}
  .equipment-art img{height:122px}
  .equipment-info{display:contents}
  .equipment-info>.eyebrow{grid-area:1/2;align-self:end;margin:0}
  .equipment-info>h3{grid-area:2/2;align-self:start;margin:0}
  #equipment-info{grid-area:3/1/4/-1}
  .equipment-stat{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;padding:7px 0;gap:10px;font-size:13px}
  .strings + .device-list{margin-top:-8px}
}
.energy-days{display:none}
@media(max-width:720px){
  #energy{overflow:visible;max-height:none}
  .archive-table{display:none}
  .energy-days{display:block}
  .energy-day{border-top:1px solid var(--line)}
  .panel .energy-day>summary{display:grid;grid-template-columns:minmax(75px,1fr) repeat(2,minmax(0,1fr));align-items:center;gap:6px;padding:10px 21px 10px 0}
  .day-date{font-size:12px;line-height:1.25}
  .day-amount{min-width:0;display:flex;flex-direction:column-reverse;align-items:flex-end;font-size:13px;line-height:1.4;font-variant-numeric:tabular-nums}
  .day-amount strong{white-space:nowrap}
  .day-amount small{color:var(--muted);font-size:10px;font-weight:550}
  .day-breakdown{border-radius:12px;background:#f1f3eb;padding:5px 12px;margin-bottom:12px}
  .energy-detail{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:6px 0;color:var(--muted);font-size:12px}
  .energy-detail strong{color:var(--ink);white-space:nowrap;font-variant-numeric:tabular-nums}
}
[data-weather=precipitation] .sky::after{background:linear-gradient(155deg,#859cac40,transparent 58%)}
.weather-chip{padding:6px 12px;gap:7px;min-height:44px}
.weather-chip-copy{display:grid;gap:1px;text-align:left}
.weather-chip #weather-short{font-variant-numeric:tabular-nums}
.weather-chip #weather-kind{font-size:10px;font-weight:550;color:#496258;line-height:1.2}
@media(max-width:430px){.scene-reading{top:22%}}

/* Keep the view controls in place when the saved language is applied. */
#ueberblick>.overview-views{
  display:inline-grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  width:min(100%,18rem);
}
#ueberblick>.overview-views button{padding-inline:10px}

/* Mobile flow rows are 53px tall with a 1px separator. Reserve their space
   for the first paint, before the three disclosures enter the document. */
@media(max-width:720px){#flows:empty{min-block-size:162px}}
@media(max-width:355px){
  .flow-row.home summary{min-block-size:66px}
  #flows:empty{min-block-size:175px}
}


