/* Energy House: Outfit typography and Copper & Porcelain storefront palette.
   Scoped to the standalone demo; flow colours retain their teaching meaning. */
@font-face{font-family:Outfit;font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/outfit-variable.ttf') format('truetype')}
:root{
 --studio-paper:#faf8f5;
 --studio-surface:#fffdfa;
 --studio-ink:#282725;
 --studio-muted:#68625c;
 --studio-line:#e2dcd5;
 --studio-soft:#eee9e3;
 --studio-accent:#9b4928;
 --studio-dark:#302d2a;
}
body{background:var(--studio-paper);color:var(--studio-ink)}
main{font-family:Outfit,Arial,sans-serif;letter-spacing:0}
.lab-header,footer{border-color:var(--studio-line)}
.lab-logo{color:var(--studio-ink)}.lab-logo span{color:#b6754b}
.lab-header nav{color:var(--studio-muted)}.lab-header nav a:hover{color:var(--studio-accent)}
.lab-intro h1,.story-panel h2,.energy-handbook h2{font-family:Outfit,Arial,sans-serif;font-weight:500;letter-spacing:-.035em}
.lab-intro h1{font-size:clamp(30px,3.2vw,46px);line-height:1.12}
.lab-intro>p,.story-description{color:var(--studio-muted)}
.experience{border-color:var(--studio-line);border-radius:8px;background:var(--studio-surface)}
.scene-column{background:radial-gradient(ellipse at 48% 35%,#fffdfa 0%,#f0ece6 66%,#e9e2d9 100%);color:var(--studio-ink)}
.scene-column[data-mode=night]{background:radial-gradient(ellipse at 50% 35%,#4c4b4c,#292b2e);color:#f6f0e8}
.scene-column[data-mode=backup]{background:radial-gradient(ellipse at 50% 35%,#5b514b,#353230);color:#f6f0e8}
.story-panel,.story-panel.has-guide{background:var(--studio-surface);border-color:var(--studio-line)}
.scenario-tabs button{border-radius:4px;color:#62574d;font-weight:450}
.scenario-tabs button:not([aria-pressed=true]){background:#fffdfaeb}
.scenario-tabs button[aria-pressed=true]{background:var(--studio-dark);color:#fffaf4}
.scenario-tabs button:hover:not([aria-pressed=true]){background:#e9dfd4;color:var(--studio-ink)}
.scene-settings{color:var(--studio-ink)}
.scene-settings>summary{background:var(--studio-surface);color:var(--studio-ink);border-color:#d5cbbf;border-radius:4px}
.settings-content{background:var(--studio-surface);border-color:var(--studio-line);box-shadow:0 12px 35px #392b2026;border-radius:7px}
.settings-label{color:var(--studio-ink)}
.settings-content .installation-choice>div{background:var(--studio-soft);border-radius:5px}
.installation-choice button{color:var(--studio-muted);border-radius:3px}
.installation-choice button[aria-pressed=true]{background:var(--studio-dark);color:#fffaf4}
.topology-description{color:var(--studio-muted)}
.view-options button{color:var(--studio-muted)}
.view-options button[aria-pressed=true]{background:#f1e5d9;color:#783b22;border-color:#d6bba5}
.reset-view,.scene-compass,.scene-zoom button,.scene-back{background:#fffdf9ef;color:var(--studio-ink);border-color:#d5cbbf;box-shadow:0 3px 12px #42301f0b}
.scene-back{border-radius:5px}.scene-zoom button{border-radius:7px}
.motion-toggle{border-color:#b7a99a;color:var(--studio-muted)}
.scene-labels>button{background:#fffdfaef;color:#43382f;border-color:#d5cbbf;border-radius:5px;box-shadow:0 3px 12px #42301f10}
.scene-labels>button:hover{background:#fff;border-color:#b7805b}
.scene-labels i,.component-key i{background:#eee1d3;color:#86462a}
.room-labels span{background:#fffdf9f2;color:#43382f;border-color:#d5cbbf;border-radius:4px}
.component-key button{background:#fffdfaeb;color:#615348;border-color:#d5cbbf;border-radius:4px}
.component-key button[aria-pressed=true]{background:var(--studio-dark);border-color:var(--studio-dark);color:#fffaf4}
.component-key button:hover{border-color:#b7805b}
.flow-explanation{color:#51483f;border-color:#d6c9bc}
.scene-column[data-mode=night] .flow-explanation,.scene-column[data-mode=backup] .flow-explanation{color:#f2e8dc;border-color:#877b71}
.connection-details>summary{opacity:1;color:inherit}
.connection-map{background:var(--studio-surface);color:#51483f;border-color:#d7cbbf;border-radius:5px}
.connection-map[data-topology=offgrid]{border-left-color:var(--studio-accent)}
.connection-unit{background:#f1e8df;border-color:#cdb59f;border-radius:4px}
.connection-map[data-supply=battery] .connection-unit{background:#eee1d3;border-color:#b7805b}
.connection-grid{border-color:#d6c9bc}
.device-guide h3,.device-guide strong{color:#40362e}
.device-guide p{color:var(--studio-muted)}
.device-guide details{border-color:var(--studio-line)}
.device-guide details[open]{background:#f3eee7;border-radius:5px;border-top-color:transparent}
.device-guide details[open] summary,.device-guide summary:hover,.handbook-entries summary:hover{color:#854326}
.guide-source{color:#854326}
.tour-start,.story-play{background:var(--studio-dark);border-color:var(--studio-dark);color:#fffaf4;border-radius:3px}
.tour-start:hover,.story-play:hover{background:#814328;border-color:#814328}
.tour-navigation{background:#37312c;color:#fffaf4;border-radius:5px}
.tour-count{color:#dec1a6}.tour-navigation button{border-color:#8c7967;border-radius:3px;color:#fffaf4}
.tour-navigation button:hover:not(:disabled){background:#66503f}
.story-progress{background:var(--studio-soft)}.story-progress span{background:#b7805b}
.handbook-disclosure,.handbook-entries details{border-color:var(--studio-line)}
.energy-handbook .eyebrow,.energy-handbook>div>p:last-child,.handbook-entries p,.lab-note,footer{color:var(--studio-muted)}
.scene-loading{color:var(--studio-muted)}
button:focus-visible,a:focus-visible,summary:focus-visible,canvas:focus-visible{outline-color:#a65630}
@media(max-width:760px){.lab-intro h1{font-size:33px}.experience{border-radius:7px}.story-panel{border-top-color:var(--studio-line)}}
@media(max-width:360px){.lab-intro h1{font-size:30px}}
.scene-column.is-arriving .flow-explanation,.scene-column.is-arriving .connection-details>summary{color:var(--arrival-ink,#fffaf4)}
.energy-product-link{display:grid;gap:6px;border:1px solid var(--studio-line);border-left:3px solid var(--studio-accent);padding:15px;margin-top:20px;background:#f5eee7;border-radius:3px}.energy-product-link>span:first-child{font-size:10px;color:var(--studio-muted)}.energy-product-link strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.energy-product-link>span:last-child{font-size:12px;color:var(--studio-accent)}.energy-product-link:hover{background:#eee1d3}.energy-footer-links{display:flex;gap:20px;flex-wrap:wrap}.energy-footer-links button{border:0;padding:0;background:none;color:inherit;font:inherit;text-align:left;text-decoration:underline;text-underline-offset:3px}.energy-footer-links a:hover{color:var(--studio-accent)}
@media(max-width:760px){body[data-energy-site] .lab-header{gap:10px;flex-wrap:wrap}body[data-energy-site] .lab-header nav{gap:14px;font-size:11px}body[data-energy-site] .lab-header nav a:last-child{display:none}}
/* Shared privacy dialog uses the same storefront tokens on this isolated route. */
body[data-energy-site]{--paper:var(--studio-paper);--ink:var(--studio-ink);--line:var(--studio-line);--sage:var(--studio-soft)}

/* Contact details on the standalone energy explainer, matching the storefront. */
body[data-energy-site] .store-contact{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;padding:11px 4.5vw;background:var(--studio-ink);color:var(--studio-paper);font-size:13px;line-height:1.5}
body[data-energy-site] .store-contact a,body[data-energy-site] .store-footer-contact a{text-decoration:underline;text-underline-offset:3px;font-weight:600}
body[data-energy-site] footer{flex-wrap:wrap}
body[data-energy-site] .store-footer-contact{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;width:100%;font-size:13px;line-height:1.5}
