:root{color-scheme:light;--paper:#f6f5ec;--ink:#233b33;--muted:#617168;--green:#27674e;--line:#dce2d7;--orange:#c86a30;--purple:#7962ad}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}main{max-width:1240px;margin:auto;padding:0 36px 30px}button,select{font:inherit;color:inherit}button,select{min-height:44px;border:1px solid #c4d0c3;border-radius:10px;background:#fffef8;padding:10px 15px}button{cursor:pointer;font-weight:650;transition:background .15s,border-color .15s,transform .15s}button:hover{background:#edf3e6;border-color:#6b9276}button:active{transform:translateY(1px)}button:disabled{opacity:.45;cursor:not-allowed;transform:none}button:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #bc722b;outline-offset:4px}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#194e39}.quiet{background:transparent}a{color:var(--green);text-underline-offset:4px}p{margin:0 0 12px}h1,h2,h3{line-height:1.15;margin:0;letter-spacing:-.04em}h1{font-size:clamp(34px,4.2vw,53px);font-weight:650}h2{font-size:25px}h3{font-size:16px;letter-spacing:0;margin-bottom:12px}.site-header{display:flex;justify-content:space-between;align-items:center;padding:24px 0;border-bottom:1px solid var(--line);font-size:13px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:20px;font-weight:750}.brand-mark{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:var(--green);color:white;font-size:27px;line-height:1}.brand-sub{font-size:13px;font-weight:450;color:var(--muted);margin-left:8px}.intro{display:flex;justify-content:space-between;align-items:center;padding:39px 0 29px;gap:30px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.16em;text-transform:uppercase;color:var(--green);margin:0 0 10px}.intro p:last-child{max-width:600px;color:var(--muted);margin:17px 0 0;font-size:15px}.intro-note{color:#64815a;transform:rotate(-6deg);font-size:17px;line-height:1.4;min-width:175px}.intro-note>span{display:block;font-size:48px;line-height:1;margin-left:15px}.simulation{overflow:hidden;border:1px solid #cbd8c8;border-radius:20px;background:#fffef8;box-shadow:0 9px 25px #344e3710}.timebar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 22px}.time-heading,.time-controls{display:flex;align-items:center;gap:10px}.time-heading strong{font-size:26px;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.time-heading>span:last-child{font-size:12px;color:var(--muted);margin-left:3px}.live-dot{width:8px;height:8px;background:#639970;border-radius:50%}.time-controls button,.time-controls select{font-size:12px}.speed-label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.speed-label select{padding:8px}.scene{position:relative;isolation:isolate;background:linear-gradient(#e2eee3 0%,#edf2df 64%,#dce7c9 64%,#e7edda 100%);padding:25px 30px 18px;transition:background 1s;overflow:hidden}.sky-disc{position:absolute;z-index:-1;right:11%;top:24px;border-radius:50%;width:59px;height:59px;background:#edc65c;box-shadow:0 0 0 12px #f4d77430;transition:background 1s}.cloud{position:absolute;z-index:-1;width:90px;height:15px;background:#ffffff80;border-radius:50px;top:62px;left:46%}.cloud:before,.cloud:after{content:"";position:absolute;background:inherit;border-radius:50%;width:30px;height:27px;bottom:0;left:15px}.cloud:after{width:45px;height:35px;left:36px}.cloud-two{left:75%;top:112px;transform:scale(.65)}.weather{display:flex;flex-direction:column;min-height:68px;font-size:13px;font-weight:650}.weather small{font-size:12px;color:var(--muted);font-weight:400;max-width:65%;margin-top:3px}.houses{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;position:relative}.houses:after{content:"";position:absolute;z-index:-1;bottom:-17px;left:16.66%;right:16.66%;height:2px;background:#a0b593}.house-card{position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0;background:#fdfef8a8;border-color:transparent;border-radius:15px;padding:14px 18px 12px;min-height:315px;text-align:left;font-weight:400}.house-card:hover{background:#fffffcd6}.house-card[aria-pressed=true]{border-color:#689077;box-shadow:0 0 0 2px #729b6620;background:#fffffcd9}.house-caption{display:flex;justify-content:space-between;align-items:center;gap:6px}.house-caption strong{font-size:17px}.selected-label{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.building{display:block;position:relative;width:150px;height:139px;margin:10px auto 6px}.wall{position:absolute;bottom:0;left:20px;width:113px;height:85px;background:#deb893;border:1px solid #bb9677;border-radius:2px}.roof{position:absolute;z-index:2;left:5px;top:7px;width:142px;height:52px;background:#a06245;clip-path:polygon(50% 0,100% 100%,0 100%)}.chimney{position:absolute;top:10px;right:28px;height:38px;width:15px;background:#a77759}.solar-panel{position:absolute;z-index:3;width:56px;height:24px;left:34px;top:33px;transform:skew(-35deg);border:2px solid #a5b3ad;background:repeating-linear-gradient(90deg,transparent 0 12px,#a5b3ad 12px 13px),repeating-linear-gradient(0deg,#3b5c67 0 9px,#a5b3ad 9px 10px);border-radius:2px}.window{position:absolute;top:16px;width:24px;height:28px;background:linear-gradient(90deg,transparent 46%,#b29376 46% 54%,transparent 54%),linear-gradient(0deg,transparent 46%,#b29376 46% 54%,transparent 54%),#c3d6ce;border:3px solid #f7e8cf}.window-one{left:12px}.window-two{right:12px}.door{position:absolute;bottom:0;width:23px;height:34px;left:45px;background:#617966;border:3px solid #f4dec0;border-bottom:0}.plant{position:absolute;z-index:3;bottom:0;left:1px;width:31px;height:27px;border-radius:60% 55% 30% 30%;background:#86a578;box-shadow:121px 5px 0 -5px #719b69}.building-bas .wall{background:#e2cb9c}.building-bas .roof{background:#667b78}.building-bas .chimney{background:#6d8178}.building-bas .door{background:#b67f55}.building-co .wall{width:134px;left:8px;background:#c4d4b6}.building-co .roof{width:152px;left:0;top:19px;height:40px;background:#5a796a}.building-co .solar-panel{width:76px;left:26px;top:36px;height:21px}.building-co .door{left:52px;width:29px}.building-co .chimney{display:none}.house-data{display:grid;gap:3px;font-size:11px;color:#607368}.house-data>span{display:flex;align-items:center;gap:4px}.house-data strong{margin-left:auto;color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}.mini-icon{display:inline-block;width:14px;font-size:13px}.sun-icon{color:#b9861c}.house-wallet{display:flex;align-items:center;gap:5px;font-size:11px;margin:9px 0 3px}.house-wallet>span{color:#b49a4b;font-size:9px}.house-wallet strong{font-size:15px}.direction{font-size:10px;min-height:31px;color:var(--muted);padding-top:3px}.energy-line{position:absolute;top:100%;left:50%;height:18px;width:3px;background:#a0b593}.house-card[data-direction=charge] .energy-line{background:var(--green)}.house-card[data-direction=discharge] .energy-line{background:var(--orange)}.house-card[data-direction=charge] .energy-line:after,.house-card[data-direction=discharge] .energy-line:after{content:"";position:absolute;left:-3px;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);color:var(--green);animation:flow-down 1.2s linear infinite}.house-card[data-direction=discharge] .energy-line:after{transform:rotate(225deg);color:var(--orange);animation-direction:reverse}.house-card[data-direction=charge] .direction{color:var(--green)}.house-card[data-direction=discharge] .direction{color:#a85528}.shared-store{display:flex;justify-content:center;align-items:center;gap:18px;padding:34px 0 16px;position:relative}.shared-store:before{content:"";position:absolute;top:17px;left:50%;width:2px;height:13px;background:#a0b593}.shared-store .eyebrow{font-size:9px;margin-bottom:2px}.shared-store strong{font-size:26px;letter-spacing:-.04em}.shared-store p:last-child{font-size:11px;color:var(--muted);margin:1px 0 0}.battery{position:relative;width:43px;height:66px;border:3px solid #416e52;border-radius:7px;background:#e8efdc;padding:3px;overflow:hidden;display:grid;place-items:center}.battery>div{position:absolute;bottom:3px;left:3px;right:3px;height:60%;background:#86b274;transition:height .5s}.battery>span{z-index:1;font-size:32px;color:#375e44}.scene-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;color:var(--muted);font-size:10px}.scene-legend span,.chart-legend span{display:flex;align-items:center;gap:5px}.scene-legend i,.chart-legend i{display:inline-block;width:7px;height:7px;border-radius:50%}.legend-charge{background:var(--green)}.legend-discharge{background:var(--orange)}.legend-coins{background:var(--purple)}.scene.night{background:linear-gradient(#233e48 0%,#365356 64%,#536c59 64%,#697e62 100%)}.scene.night .sky-disc{background:#f3edce;box-shadow:0 0 0 10px #d6e7e510}.scene.night .weather,.scene.night .weather small{color:#e4eee1}.scene.night .shared-store .eyebrow,.scene.night .shared-store,.scene.night .shared-store p:last-child,.scene.night .scene-legend{color:#f1f4df}.scene.night .window{background:linear-gradient(90deg,transparent 46%,#b29376 46% 54%,transparent 54%),linear-gradient(0deg,transparent 46%,#b29376 46% 54%,transparent 54%),#edcf7e}.scene.low-sun .sky-disc{opacity:.35}.scene.low-sun .cloud{background:#bccac4}.metrics{display:grid;grid-template-columns:repeat(3,1fr);padding:19px 24px}.metrics>div{display:flex;flex-direction:column;padding:0 22px;border-left:1px solid var(--line)}.metrics>div:first-child{border:0;padding-left:0}.metrics span{font-size:11px;color:var(--muted)}.metrics strong{font-size:23px;font-weight:650;margin-top:2px;letter-spacing:-.025em}.feedback{font-size:13px;padding:15px 18px;margin:16px 0 25px;border-radius:10px;background:#e8edde;border:1px solid #d7e1cb;min-height:52px}.feedback.error{color:#7b4224;background:#f8ead9;border-color:#e8c29e}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.card{padding:25px;border:1px solid var(--line);border-radius:16px;background:#fffef8}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.section-heading .eyebrow{margin-bottom:6px}.section-heading select{font-size:12px;max-width:145px}.person-card>p:not(.hint){font-size:13px;color:var(--muted);min-height:40px}.person-numbers{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.person-numbers>div{display:flex;flex-direction:column}.person-numbers span{font-size:10px;color:var(--muted)}.person-numbers strong{font-size:17px;margin-top:2px;overflow-wrap:anywhere}.person-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.person-actions button{text-align:left;font-size:12px;padding:11px 12px;background:#eef3e7;border-color:#d9e3d0}.person-actions button span{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:3px}.hint{font-size:11px;color:var(--muted);margin:12px 0 0}.scenarios h2{margin-bottom:16px}.scenario-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding:14px 0}.scenario-row:last-child{padding-bottom:0}.scenario-row strong{font-size:13px}.scenario-row p{font-size:11px;color:var(--muted);margin:3px 0 0;max-width:220px}.scenario-row button{font-size:11px;white-space:nowrap;padding:8px 11px}.scenario-row button[aria-pressed=true]{background:#d9e5d1;border-color:#6a8d5e;color:#264b2f}.fault-actions{display:flex;flex-direction:column;gap:6px}.day-story{margin-top:20px}.totals{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:20px 0 25px}.totals>div{display:flex;flex-direction:column}.totals strong{font-size:23px;font-weight:600;letter-spacing:-.04em}.totals span{font-size:11px;color:var(--muted)}.history-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:32px}.chart-legend{display:flex;gap:15px;font-size:10px;color:var(--muted);margin-bottom:8px}#chart{display:block;width:100%;height:auto;min-height:120px}#journal{font-size:12px;color:var(--muted);max-height:190px;overflow:auto;padding:0 0 0 20px;margin:0}#journal li{padding:0 0 9px 4px;line-height:1.5}.explanation{border:1px solid var(--line);border-radius:12px;margin:20px 0;font-size:13px}.explanation summary{cursor:pointer;padding:17px 20px;font-weight:600}.explanation-content{padding:0 20px 10px;max-width:860px;color:var(--muted)}.table-scroll{overflow:auto;margin-bottom:18px}table{border-collapse:collapse;width:100%;font-size:12px}td,th{text-align:right;padding:9px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}td:first-child,th:first-child{text-align:left}th{font-size:11px;font-weight:500}footer{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:10px;padding:10px 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes flow-down{from{top:0;opacity:.2}to{top:10px;opacity:1}}@media(max-width:1000px){main{padding:0 22px 25px}.intro-note{display:none}.house-card{padding:12px;min-height:310px}.houses{gap:14px}.selected-label{display:none}.person-numbers{grid-template-columns:repeat(2,1fr)}.scenario-row{gap:10px}.action-grid{gap:14px}.card{padding:21px}.person-actions{grid-template-columns:1fr}.timebar{flex-wrap:wrap}.time-controls{flex-wrap:wrap}}@media(max-width:680px){main{padding:0 12px 22px}.site-header{padding:18px 0}.brand-sub{display:none}.site-header>a:last-child{font-size:11px}.intro{padding:28px 3px 23px}.intro p:last-child{font-size:13px}.timebar{padding:12px;gap:9px}.time-controls{gap:6px;width:100%}.time-controls button{padding:8px 10px;font-size:11px}.speed-label{margin-left:auto;font-size:0;gap:0}.speed-label select{font-size:11px}.time-heading strong{font-size:24px}.scene{padding:17px 10px 15px}.weather{min-height:70px;font-size:12px}.weather small{font-size:10px;max-width:75%}.sky-disc{width:42px;height:42px;right:12%;top:22px}.houses{gap:6px}.house-card{padding:9px 6px;min-height:273px;border-radius:11px}.house-caption strong{font-size:13px}.building{width:150px;transform:scale(.65);transform-origin:bottom center;height:130px;margin:-23px calc((100% - 150px)/2) 4px}.house-data{font-size:9px;gap:5px}.house-data>span{flex-wrap:wrap;gap:2px}.house-data strong{font-size:10px}.mini-icon{display:none}.house-wallet{font-size:9px;flex-wrap:wrap;gap:3px;margin-top:8px}.house-wallet strong{font-size:12px}.direction{font-size:9px;line-height:1.35;min-height:35px}.shared-store{gap:12px;padding-top:33px}.shared-store strong{font-size:23px}.shared-store p:last-child{font-size:10px}.scene-legend{gap:10px;font-size:8px}.scene-legend span:last-child{flex-basis:100%;justify-content:center}.metrics{padding:15px 12px;gap:10px}.metrics>div{padding:0 0 0 10px}.metrics span{font-size:9px;line-height:1.4}.metrics strong{font-size:17px;overflow-wrap:anywhere}.feedback{margin:12px 0 17px;font-size:12px}.action-grid,.history-grid{grid-template-columns:1fr}.card{padding:19px}.person-numbers{grid-template-columns:repeat(4,1fr);gap:7px}.person-numbers strong{font-size:15px}.person-numbers span{font-size:9px}.person-actions{grid-template-columns:1fr 1fr}.section-heading{align-items:flex-start}.day-story .section-heading{flex-direction:column;gap:3px}.totals{gap:13px;margin-bottom:22px}.totals strong{font-size:20px}.totals span{font-size:10px}.history-grid{gap:22px}.scenario-row p{max-width:190px}footer{flex-direction:column;gap:3px}.explanation summary{font-size:12px;padding:15px}.explanation-content{padding:0 15px 8px;font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.basic-story{margin-top:20px}.basic-story h2{margin-bottom:14px}.basic-story>p:not(.eyebrow){color:var(--muted)}.basic-story .totals strong{font-size:20px}
