/* The portfolio and the model share one continuous, daylight canvas. */
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{font-weight:400;-webkit-font-smoothing:antialiased}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible{outline:3px solid #078d99;outline-offset:4px}
.home-shell{background:#f7f9f8}
.home-mode .appbar{position:absolute;background:transparent;border-bottom:1px solid rgba(40,75,70,.12);backdrop-filter:none;color:#193c39}
.appbar-inner{max-width:1600px;padding:0 48px}
.home-mode .brand-copy strong{color:#173e39;font-weight:700}
.home-mode .brand-copy span,.home-mode .header-center{color:#58726c;text-shadow:none;font-weight:500}
.home-mode .sync{background:rgba(255,255,255,.55);color:#42675c;border:1px solid #cbded3;font-weight:500;font-size:10px}
.brand-mark{background:#008a91;color:#fff;box-shadow:none;border-radius:6px;font-weight:650}
.home-mode .header-center i{background:#139481}
.energy-stage{height:calc(100svh - 78px);min-height:650px;max-height:950px}
.energy-viewport{position:relative;top:0;height:100%;min-height:0;background:#eaf2ed;color:#173e39}
.energy-canvas{opacity:1;z-index:0;touch-action:pan-y}
.scene-content{max-width:1600px;padding:0 48px;pointer-events:none;z-index:1}
.energy-heading{position:absolute;left:48px;top:24%;max-width:360px;pointer-events:auto}
.energy-eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:600;color:#597469;letter-spacing:0}
.energy-eyebrow>span{height:6px;width:6px;background:#11968d;border-radius:50%}
.energy-heading h1{margin:24px 0 20px;font-size:76px;line-height:1.02;font-weight:500;letter-spacing:0}
.energy-heading h1>span{color:#078a8d}
.energy-heading p{font-size:18px;line-height:1.55;color:#60796e;margin:0}
.portfolio-link{display:inline-flex;align-items:center;gap:24px;padding:0 0 11px;margin-top:27px;border-bottom:1px solid #7caaa0;color:#173e39;text-decoration:none;font-size:13px;font-weight:600}
.portfolio-link svg{width:18px;height:18px;transition:transform .2s}.portfolio-link:hover svg{transform:translate(3px,3px)}
.energy-heading .hero-count{margin-top:35px;align-items:center;gap:12px}.energy-heading .hero-count strong{font-size:28px;line-height:1;font-weight:500;font-variant-numeric:tabular-nums}.energy-heading .hero-count span{color:#718578;font-size:10px;line-height:1.5;font-weight:400}
.scene-caption{position:absolute;top:110px;right:48px;display:flex;align-items:center;gap:9px;font-size:9px;font-weight:500;color:#577567}.live-dot{width:5px;height:5px;background:#339985;border-radius:50%}.caption-separator{color:#a0b6a7}
.scene-toolbar{position:absolute;bottom:29px;right:48px;display:flex;gap:10px;pointer-events:auto}
.scene-modes,.scene-tools{display:flex;gap:3px;background:rgba(255,255,255,.87);border:1px solid #d6e2d9;padding:5px;border-radius:7px;box-shadow:0 4px 20px #254b3010;backdrop-filter:blur(12px)}
.scene-toolbar button{height:35px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;background:transparent;border:0;border-radius:4px;color:#657e73;font-size:11px;font-weight:500}.scene-toolbar svg{width:15px;height:15px;stroke-width:1.6}.scene-toolbar button.active{background:#164f48;color:#fff}.scene-toolbar button:hover:not(.active){background:#eaf1ec}.scene-tools button{width:35px;padding:0}
.scene-hotspots{position:absolute;inset:0;pointer-events:none}.scene-hotspot{position:absolute;left:0;top:0;display:flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #ffffffaa;border-radius:4px;background:#fffffff0;color:#36584d;box-shadow:0 3px 14px #173a3912;pointer-events:auto;font-size:9px;white-space:nowrap;transition:opacity .2s}.scene-hotspot:before{content:"";width:5px;height:5px;border-radius:50%;background:#138b87}.scene-hotspot:hover{background:#164f48;color:#fff}.scene-hotspot[hidden]{display:none}
.scene-fallback{position:absolute;inset:0;background:url('green-energy-sunrise-v2.png') center/cover;color:#173e39;padding:100px 48px;text-align:right}
.portfolio-section{position:relative;background:#f7f9f8;border-top:1px solid #dbe5de;scroll-margin-top:0}
.portfolio-inner{max-width:1600px;margin:auto;padding:36px 48px 0}
.portfolio-head{margin:0 0 24px;align-items:center}.portfolio-eyebrow{font-size:9px;font-weight:600;color:#84918a;margin-bottom:8px}
.portfolio-head h2{font-size:23px;font-weight:500;color:#193e38;display:flex;align-items:center;gap:12px}.portfolio-head h2>span{font-size:12px;color:#759083;border:1px solid #d6e1d9;padding:3px 7px;border-radius:4px}
.head-actions .new-project{display:flex;align-items:center;gap:8px;height:40px;border:0;border-radius:5px;background:#164f48;color:white;padding:0 16px;font-size:12px;font-weight:500}.new-project svg{width:16px;height:16px}.new-project:hover{background:#0b7164}
.project-grid{gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}.project-card{box-shadow:none;background:white;border:1px solid #dce4df;border-radius:7px;min-width:0}.project-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px #173e3910;border-color:#82aea0}.project-card-body{padding:23px}.project-accent{height:3px;background:#079a9b}.project-code{font-size:10px;font-weight:500;color:#809189}.project-state{font-size:9px;font-weight:600;background:#e9f5ef;color:#287259;letter-spacing:0}.project-card:nth-child(2) .project-state{background:#fff4d8;color:#977226}.project-card:nth-child(3) .project-state{background:#edf1f5;color:#647787}.project-card h3{font-size:17px;font-weight:600;margin-top:22px;color:#24453c}.project-card p{font-size:11px;color:#85958d}.project-stats{gap:8px;border-color:#e8ede9;margin-top:24px;padding-top:18px}.project-stats span{font-weight:500;font-size:9px;letter-spacing:0}.project-stats strong{font-size:12px;font-weight:600;line-height:1.45;overflow-wrap:anywhere;color:#36564b}.open-row{margin-top:22px;font-weight:500;color:#50766a}.open-row b{background:#edf4ef;color:#356c5e;font-weight:400}.portfolio-footer{display:flex;justify-content:space-between;padding:30px 0 22px;margin-top:27px;border-top:1px solid #e0e7e1;color:#8c9b93;font-size:10px}
/* The calculation workspace keeps its existing controls and layout. */
.shell{max-width:1440px}.panel{box-shadow:0 5px 20px #244b3a06}.result-top:after{display:none}.section-head h2{font-weight:600}.field label{font-weight:600;letter-spacing:0}.page-head h1{font-weight:550}.button,.segment{font-weight:600}.n-display strong{font-weight:550}.decision-note{line-height:1.5}
@media(min-width:1600px){.energy-heading{top:26%}.energy-heading h1{font-size:86px}}
@media(max-width:1100px){.appbar-inner,.scene-content{padding-left:28px;padding-right:28px}.energy-heading{left:28px;max-width:280px}.energy-heading h1{font-size:62px}.energy-eyebrow{font-size:8px}.energy-heading p{font-size:16px}.scene-caption{right:28px}.scene-toolbar{right:28px}.portfolio-inner{padding-left:28px;padding-right:28px}.project-card-body{padding:18px}}
@media(max-width:760px){.energy-stage{height:780px;min-height:0;max-height:none}.appbar-inner{padding:0 20px}.header-center{display:none}.energy-heading{left:22px;top:110px;max-width:none}.energy-heading h1{font-size:52px;margin:16px 0 10px}.energy-heading h1 br{display:none}.energy-heading p{font-size:14px;line-height:1.5}.energy-heading p br{display:none}.energy-eyebrow{font-size:8px}.portfolio-link{margin-top:17px;font-size:12px;gap:35px}.energy-heading .hero-count{position:absolute;left:calc(100vw - 107px);top:49px;margin:0;display:block;width:62px}.energy-heading .hero-count strong{font-size:24px}.energy-heading .hero-count span{display:block;margin-top:6px;font-size:9px}.scene-caption{top:333px;right:22px;font-size:8px}.scene-toolbar{bottom:23px;left:16px;right:16px;justify-content:center;gap:6px}.scene-toolbar button{padding:0 9px;gap:5px;font-size:10px}.scene-tools button{width:30px;padding:0}.scene-toolbar svg{width:14px}.scene-modes,.scene-tools{padding:4px}.scene-hotspot{font-size:8px;padding:5px 7px}.portfolio-inner{padding:27px 20px 0}.portfolio-head{gap:12px}.portfolio-head h2{font-size:20px;gap:7px}.portfolio-eyebrow{font-size:8px}.head-actions .new-project{padding:0 11px;font-size:11px}.project-grid{grid-template-columns:1fr;gap:14px}.project-card-body{padding:21px}.project-card h3{margin-top:15px}.project-stats{margin-top:17px;padding-top:15px}.open-row{margin-top:16px}.portfolio-footer{font-size:9px;gap:20px;line-height:1.5}.portfolio-footer span:last-child{text-align:right}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
@media(max-width:760px){.energy-stage{height:calc(100svh - 68px);min-height:650px}.energy-heading h1{font-size:44px}.energy-heading .hero-count{top:132px}.energy-heading p{max-width:280px}.scene-caption{top:315px}}
@media(max-width:380px){.scene-modes button:not(.active) span{display:none}.energy-heading h1{font-size:39px}.energy-heading p{max-width:260px}.portfolio-head h2{font-size:18px}.portfolio-inner{padding-left:16px;padding-right:16px}.portfolio-head h2>span{font-size:10px}}
