:root{--ink:#172d26;--green:#215b46;--green-dark:#143d2e;--gold:#a48042;--paper:#f6f7f3;--line:#dfe5dc;--muted:#657168;--white:#fff;--danger:#9b302e;font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a48042;outline-offset:3px}[hidden]{display:none!important}button{border:0}.skip{position:fixed;left:10px;top:-100px;z-index:100;background:#fff;padding:12px}.skip:focus{top:10px}.app-header{height:86px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:relative;z-index:4;gap:20px}.brand{display:flex;align-items:center;gap:12px}.brand svg{width:58px;fill:none;stroke:var(--ink);stroke-width:2.2}.brand strong{display:block;font-size:13px;letter-spacing:2px}.brand span{font-size:10px;color:var(--muted);display:block}.product{display:flex;align-items:center;gap:10px}.product strong{font:26px Georgia,serif}.product>span:last-child{font-size:9px;letter-spacing:1.5px;background:#ecf1e8;color:var(--green);padding:4px 5px;border-radius:3px}.solar-symbol{font-size:30px;color:var(--gold)}.header-actions{display:flex;align-items:center;gap:15px}.local-badge{font-size:11px;letter-spacing:.3px;border:1px solid var(--line);padding:6px 12px;border-radius:20px;color:var(--muted)}.icon-button{border:1px solid var(--line);background:#fff;width:30px;height:30px;border-radius:50%;font-weight:700}.app-layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 86px)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column}.eyebrow{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;font-weight:700;color:var(--green);margin:0 0 9px;display:block}.project-summary{padding:0 8px 24px;border-bottom:1px solid var(--line);margin-bottom:24px}.project-summary strong{display:block;font:21px/1.3 Georgia,serif;margin-bottom:9px;overflow-wrap:anywhere}.project-summary>span:last-child{color:var(--muted);font-size:12px}.sidebar nav{display:grid;gap:7px}.section-link{display:flex;text-align:left;align-items:center;gap:12px;min-height:52px;padding:12px 13px;border-radius:5px;background:#fff;color:var(--muted);font-size:12px;font-weight:600}.section-link>span{font-size:10px;font-weight:400;color:#9aa49c}.section-link.is-active{background:#edf3ec;color:var(--green)}.section-link.is-active>span{color:var(--green)}.sidebar-note{margin:42px 8px 0;font-size:12px}.sidebar-note strong{font-size:12px}.sidebar-note p{color:var(--muted);font-size:11px;line-height:1.8}.live-dot{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;margin-right:7px}.sidebar-footer{margin:70px 8px 0;color:#929c93;font-size:10px;line-height:1.9}.app-layout main{min-width:0;padding:0 36px 18px;max-width:1600px;width:100%;margin:auto}.workspace-bar{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid var(--line);padding:21px 0;font-size:11px;color:var(--muted)}.session-note{font-size:10px;color:#919b92}.page-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:33px 0 26px}.page-head h1{font:34px/1.16 Georgia,serif;letter-spacing:-.6px;margin:0 0 13px}.page-head p:not(.eyebrow){max-width:660px;color:var(--muted);font-size:13px;margin:0}.step-marker{font:38px Georgia,serif;color:#ccd7c9;white-space:nowrap}.step-marker span{font:12px sans-serif;color:#9da99c;margin-left:5px}.panel{background:#fff;border:1px solid var(--line);border-radius:8px;padding:25px;margin-bottom:20px;box-shadow:0 2px 3px #233a2410}.panel h2,.report-panel h2{font:22px/1.25 Georgia,serif;margin:0 0 20px;letter-spacing:-.3px}.project-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 26px}label{display:block;color:#4c5e52;font-size:12px;font-weight:600;margin:0 0 20px;min-width:0}label:last-child{margin-bottom:0}.project-inputs label{margin:0}input,select{display:block;width:100%;min-width:0;background:#fff;color:var(--ink);border:1px solid #d7dfd3;border-radius:5px;padding:11px 13px;margin-top:7px;min-height:43px;font-size:14px}input:focus,select:focus{border-color:var(--green)}input[type=file]{font-size:11px;background:#f8faf7;padding:12px}input::file-selector-button{border:1px solid var(--line);background:white;border-radius:4px;margin-right:8px;padding:5px;font:inherit}.optional{float:right;color:#9aa499;font-weight:400;font-size:10px}.unit{float:right;font-size:10px;color:#92a08f;font-weight:400}.map-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:20px}.map-panel{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:20px;min-width:0}.map-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 20px;font-size:12px}.map-heading span{font-size:10px;color:var(--muted)}.map-stage{position:relative;background:#e5e5dc}.map-stage>svg{display:block;width:100%;height:285px;object-fit:cover}.map-caption{position:absolute;left:14px;right:14px;bottom:14px;background:#fffef3ee;border:1px solid #fff;padding:10px 13px;border-radius:5px;max-width:400px}.map-caption span{display:block;font-size:11px;font-weight:700}.map-caption small{font-size:9px;color:var(--muted)}.map-controls{padding:16px 20px;display:grid;grid-template-columns:1fr 1fr;gap:15px}.map-controls label{margin:0}.map-controls input{font-size:12px;padding:8px;min-height:36px}.map-controls button{grid-column:1/-1;padding:0;text-align:left;justify-self:start}.data-source h2{font-size:23px}.source-status{font-size:11px;line-height:1.7;background:#edf3ec;padding:10px 12px;border-radius:4px;margin-bottom:16px}dl{margin:0}dl>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eef1eb;font-size:11px}dt{color:var(--muted)}dd{margin:0;text-align:right;font-weight:600}.small{color:var(--muted);font-size:11px;line-height:1.75}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 18px;background:var(--green);border-radius:5px;border:1px solid var(--green);color:#fff;text-decoration:none;font-size:12px;font-weight:650;min-height:44px}.button:hover{background:var(--green-dark)}.button.secondary{color:var(--green);background:#fff;border-color:#becdbb}.button.secondary:hover{background:#f2f6ee}.text-button{color:var(--green);background:none;font-size:11px;border:0;padding:8px 0}.text-button:hover{text-decoration:underline}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:4px 0 14px;font-size:11px;color:var(--muted)}.two-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.panel-title{display:flex;gap:10px;align-items:center;margin-bottom:20px}.panel-title h2{margin:0}.section-symbol{font-size:25px;color:var(--gold)}.notice{font-size:11px;color:#78603a;border-left:3px solid #b2915c;background:#faf8ef;padding:12px;line-height:1.7}.file-status{display:block;padding:10px 0;font-size:11px;color:var(--muted);font-weight:400;overflow-wrap:anywhere}code{font-size:10px;overflow-wrap:anywhere}.check-list{font-size:12px;color:var(--muted);padding-left:18px}.check-list li{padding-bottom:12px;line-height:1.65}.quality-card{display:flex;gap:15px;border:1px solid var(--line);padding:17px;border-radius:5px;margin-top:25px;background:#f8faf6}.quality-icon{font-size:30px;color:var(--gold)}.quality-card strong{font-size:12px}.quality-card p{font-size:11px;color:var(--muted);margin:7px 0 0}.extra-loads p{color:var(--muted);font-size:12px}.tariff-panel .split{max-width:740px}.workspace-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px;font-size:10px;color:#919a90;border-top:1px solid var(--line);margin-top:30px;padding-top:17px}.workspace-footer button{padding:0;font-size:10px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.metrics article{background:#fff;border:1px solid var(--line);padding:20px;border-radius:7px;min-width:0}.metrics span{display:block;font-size:10px;color:var(--muted);min-height:30px}.metrics strong{display:block;font:31px Georgia,serif;color:var(--green);margin:8px 0}.metrics small{font-size:9px;color:#8d998b;display:block}.result-quality{border-left:3px solid var(--gold);padding:10px 15px;background:#fbf8ee;color:#756344;font-size:11px;line-height:1.75;margin-bottom:20px}.chart-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:20px}.chart-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.chart-head h2{font-size:21px;margin:0}.legend{display:flex;flex-wrap:wrap;gap:14px;color:var(--muted);font-size:9px;flex-shrink:0}.legend span:before{content:"";display:inline-block;width:7px;height:7px;background:#aac0a1;margin-right:5px;border-radius:2px}.legend .pv:before{background:var(--green)}.legend .load:before{background:#b8c4b1}.legend .soc:before{background:var(--gold)}.chart{width:100%;min-width:0}.chart svg{display:block;width:100%;height:auto}.chart svg text{font:11px -apple-system,sans-serif;fill:#74816e}.chart svg .axis-label{font-size:10px}.energy-breakdown h2{font-size:23px}#flow-chart{display:flex;gap:3px;height:20px;margin:24px 0;border-radius:4px;overflow:hidden}#flow-chart>div{min-width:1px}.table-scroll{overflow:auto;max-width:100%;border-radius:5px}table{border-collapse:collapse;min-width:570px;width:100%;font-size:11px;text-align:left}th{background:#f5f8f0;color:var(--green);font-size:10px;font-weight:650}th,td{padding:13px 14px;border-bottom:1px solid #e7ede2}tbody tr:last-child td{border:0}td:first-child{font-weight:650}tr.highlight{background:#f6f9f1}details>summary{cursor:pointer;font-size:11px;font-weight:650;color:var(--green);padding:10px 0}details p,details li{font-size:11px;line-height:1.8;color:var(--muted)}.day-control{margin:0;max-width:165px}.day-control input{font-size:11px}.report-panel{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:27px;background:var(--green-dark);color:white;border-radius:7px}.report-panel .eyebrow{color:#cab58b}.report-panel h2{margin:0 0 10px}.report-panel p:not(.eyebrow){font-size:12px;max-width:560px;color:#c0d1c4}.report-panel button{background:#fff;color:var(--green-dark);flex-shrink:0;border-color:#fff}.report-panel button:hover{background:#edf3e9}.empty-results{text-align:center;padding:55px 25px}.empty-results p{color:var(--muted);font-size:12px}.app-error{position:fixed;bottom:25px;left:280px;right:25px;z-index:10;padding:16px 20px;border:1px solid #d3a499;border-left:4px solid var(--danger);background:#fff9f5;box-shadow:0 8px 35px #283b2720;color:var(--danger);font-size:12px;border-radius:5px;overflow-wrap:anywhere}dialog{max-width:580px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:10px;padding:34px;box-shadow:0 15px 80px #102d2730;color:var(--ink);max-height:90vh;overflow:auto}dialog::backdrop{background:#102d2780}dialog h2{font:28px Georgia,serif}dialog p,dialog li{font-size:12px;line-height:1.8;color:var(--muted)}dialog ul{padding-left:20px}.dialog-close{float:right;background:none;font-size:27px;color:var(--muted);margin:-15px -12px 0 0;padding:5px}dialog .button{margin-top:8px}#source-request-status{color:var(--green)}@media(min-width:1700px){.app-layout main{padding:0 60px 22px}.map-stage>svg{height:350px}.page-head h1{font-size:40px}}@media(max-width:1150px){.sidebar{padding:26px 12px}.app-layout{grid-template-columns:215px minmax(0,1fr)}.app-layout main{padding:0 22px 16px}.brand span{display:none}.map-grid{grid-template-columns:minmax(0,1fr)}.data-source dl{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.data-source{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.data-source>.eyebrow,.data-source>h2,.data-source>dl{grid-column:1/-1}.data-source .source-status{grid-column:1/-1}.data-source>.button{justify-self:start;align-self:start}.chart-grid{grid-template-columns:minmax(0,1fr)}.metrics{grid-template-columns:1fr 1fr}.app-error{left:235px}.chart-head{flex-wrap:wrap}}@media(max-width:820px){.app-header{height:72px;padding:0 18px;gap:14px}.brand svg{width:42px}.brand strong{font-size:10px;letter-spacing:1px}.brand{gap:6px}.product{gap:5px}.product strong{font-size:21px}.solar-symbol{font-size:24px}.local-badge{display:none}.app-layout{display:block}.sidebar{padding:0;border-right:0;border-bottom:1px solid var(--line)}.project-summary,.sidebar-note,.sidebar-footer{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:5px;padding:10px 12px}.section-link{white-space:nowrap;min-height:43px;font-size:11px;padding:10px;gap:6px}.app-layout main{padding:0 18px 18px}.app-error{left:18px;right:18px;bottom:18px}.workspace-bar{padding:17px 0;font-size:10px}.page-head h1{font-size:29px}.page-head{margin-top:25px}.session-note{display:none}.page-footer>span{display:none}.report-panel{align-items:flex-start;flex-direction:column}.two-columns{grid-template-columns:1fr}.panel{padding:21px}.step-marker{font-size:28px}.data-source{display:block}.data-source dl{display:block}.chart-head{align-items:flex-start}.workspace-footer>span:last-child{display:none}}@media(max-width:480px){.brand div{display:none}.header-actions{gap:8px}.app-header{height:65px;padding:0 14px}.product>span:last-child{font-size:8px}.page-head{gap:10px}.page-head h1{font-size:26px}.page-head p:not(.eyebrow){font-size:12px}.step-marker{font-size:22px}.project-inputs{grid-template-columns:1fr;gap:16px}.map-stage>svg{height:250px}.map-caption{left:9px;right:9px;bottom:9px}.map-caption small{font-size:8px}.map-controls{padding:15px;gap:12px}.map-heading{padding:15px;font-size:11px}.map-heading span{font-size:9px}.panel{padding:18px;border-radius:6px}.split{gap:12px}.split label{font-size:10px}input,select{padding:10px;font-size:13px}.metrics{gap:10px}.metrics article{padding:14px}.metrics strong{font-size:24px}.metrics small{font-size:8px}.metrics span{font-size:9px;min-height:30px}.page-footer .button{padding:11px 13px}.chart-head h2{font-size:19px}.report-panel{padding:22px}.report-panel h2{font-size:21px}.workspace-footer{font-size:9px}dialog{padding:25px}.step-marker span{font-size:9px}.map-controls .text-button{font-size:10px}.chart svg text{font-size:10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
:root .source-mismatch{background:#faf0e7;color:#8a4c29}.status-close{float:right;margin-left:15px;background:none;color:inherit;text-decoration:underline;font-size:11px;padding:0}.chart{overflow-x:auto}#monthly-chart svg{min-width:480px}#hourly-chart svg{min-width:650px}caption{text-align:left;color:var(--muted);font-size:10px;padding:10px 0}tbody th{text-align:left;font-weight:600;background:transparent;color:var(--ink);font-size:11px}
.checkbox-label{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.7;padding:12px;background:#f6f8f2}.checkbox-label input{flex:none;width:16px;height:16px;min-height:0;padding:0;margin-top:3px}
@media(max-width:480px){.app-layout .sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.sidebar .section-link{white-space:normal;min-width:0;font-size:10px;min-height:46px}.app-layout .workspace-bar{flex-wrap:wrap;gap:5px}.workspace-bar .session-note{display:block;font-size:8px}}
:root .optional,:root .unit,:root .sidebar-footer,:root .metrics small,:root .session-note,:root .workspace-footer{color:#657168}
.bootstrap-panel{max-width:720px;margin:60px auto;padding:28px;background:#fff;border:1px solid #dfe5dc;border-radius:8px}.bootstrap-panel h1{font:28px Georgia,serif}.bootstrap-panel p{font-size:13px;color:#657168}.account-button{border:1px solid #becdbb;background:#fff;color:#215b46;border-radius:5px;font-size:11px;padding:8px 12px}#account-dialog h3{font:20px Georgia,serif;margin-top:25px}#account-identity,#report-recipient{overflow-wrap:anywhere}#report-status,#preferences-status{overflow-wrap:anywhere}#report-status.is-error,#preferences-status.is-error{color:#9b302e}@media(max-width:480px){.bootstrap-panel{margin:20px 14px;padding:20px}.account-button{font-size:10px;padding:7px 9px}}
@media(max-width:360px){body .app-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;height:auto;padding:12px 14px}body .app-header .product{grid-column:2;grid-row:1}body .app-header .header-actions{grid-column:1/-1;justify-content:flex-end;width:100%;min-width:0}body .app-header .header-actions .local-badge{display:inline-flex}}
.dialog-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.saved-simulation{padding:18px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.saved-simulation h3{font:21px Georgia,serif;margin-bottom:8px}.saved-simulation .button{max-width:100%;white-space:normal;text-align:left}#history-status,#registration-status{overflow-wrap:anywhere}
.season-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.season-date{display:grid;grid-template-columns:minmax(60px,.7fr) minmax(0,1.3fr);gap:10px}.season-date label{min-width:0}.season-date input,.season-date select{min-width:0;width:100%}.hour-selector{min-width:0;margin:16px 0 24px;padding:16px 0;border:0;border-top:1px solid var(--line)}.hour-selector legend{font-size:12px;font-weight:700;padding:0 6px 0 0}.hour-grid{display:grid;grid-template-columns:repeat(6,minmax(44px,1fr));gap:6px}.hour-choice{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;margin:0;padding:7px 3px;border:1px solid #c2cec4;border-radius:4px;background:#f6f8f2;color:#273e30;font-size:12px;cursor:pointer}.hour-choice input{width:14px;height:14px;min-height:0;margin:0;padding:0;accent-color:#215b46}.hour-choice:has(input:checked){background:#215b46;color:#fff;border-color:#215b46}.hour-choice:has(input:focus-visible){outline:3px solid #b48135;outline-offset:2px}.hour-choice:has(input:disabled){cursor:default;opacity:.6}.hour-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.hour-actions .button{min-height:44px;padding:9px 14px}#household-legacy-notice{overflow-wrap:anywhere}#household-convert{min-height:44px;white-space:normal;text-align:left}@media(max-width:600px){.season-dates{grid-template-columns:minmax(0,1fr);gap:0}}@media(max-width:360px){.hour-grid{grid-template-columns:repeat(4,minmax(44px,1fr))}}
.hour-selector legend{max-width:100%;overflow-wrap:anywhere;line-height:1.5}
.pre-post-tabs{margin:16px 0 24px}.pre-post-tabs .button{max-width:100%;white-space:normal}.pre-post-costs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.pre-post-costs p{font-size:12px;overflow-wrap:anywhere}#pre-post-fields .button{max-width:100%;white-space:normal;text-align:left}#post-demand-summary{overflow-wrap:anywhere;margin-bottom:22px}#pre-post-fields h3{overflow-wrap:anywhere}@media(max-width:600px){.pre-post-costs{grid-template-columns:minmax(0,1fr)}}
@media(max-width:820px){body .app-header{height:auto;min-height:72px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}body .app-header .header-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}body .app-header .header-actions .local-badge{display:none}}
.preparation-checklist{margin-top:20px;border-left:3px solid var(--gold);background:#f9fbf5}.preparation-checklist h2{font-size:23px;line-height:1.35;margin-bottom:10px}.preparation-intro,.preparation-help{font-size:12px;line-height:1.75;color:#52634f;max-width:950px;margin:0}.preparation-details{margin-top:10px}.preparation-details>summary{display:list-item;min-height:44px;padding:12px 0;font-size:12px;line-height:1.6}.preparation-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 30px;padding:5px 0 5px 20px;margin:0 0 14px}.preparation-list li{padding-left:3px;font-size:12px;line-height:1.75;min-width:0;overflow-wrap:anywhere}.preparation-list li::marker{color:var(--green)}.preparation-list strong{display:block;color:var(--ink);font-size:12px;margin-bottom:5px}.preparation-list span{display:block;color:#52634f}.preparation-list span strong{display:inline;font-size:inherit}.preparation-list code{font-size:11px}.preparation-help{border-top:1px solid var(--line);padding-top:12px;margin-top:6px}.preparation-details>summary:focus-visible{outline:3px solid #b48135;outline-offset:3px}@media(max-width:820px){.preparation-list{grid-template-columns:minmax(0,1fr);gap:16px}.preparation-checklist h2{font-size:21px}}@media(max-width:480px){.preparation-checklist h2{font-size:20px}.preparation-intro,.preparation-help,.preparation-list li{font-size:12px}}

/* ArkiStudio visual integration, scoped to this standalone tool only.
   All computation, data attributes, controls and transports remain unchanged. */
:root{--ink:#151412;--green:#8e2e3d;--green-dark:#151412;--gold:#b28a50;--paper:#f6f1e8;--line:#d8cec0;--muted:#665f57;--white:#fff;font-family:Arial,"Helvetica Neue",sans-serif;font-size:16px;line-height:1.55;color:var(--ink);background:var(--paper)}
body{background:var(--paper)}
a{color:#8e2e3d;text-underline-offset:3px}
button,input,select,summary{font-family:Arial,"Helvetica Neue",sans-serif}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #8e2e3d;outline-offset:3px}
.skip{z-index:200}
.site-topbar{background:#151412;color:#fff;font-size:11px;letter-spacing:.06em}
.site-topbar-inner{max-width:1180px;min-height:34px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:7px 20px}
.site-topbar a{color:#fff;text-decoration:none}
.site-topbar a:hover{text-decoration:underline}
.site-topbar-contact{display:flex;flex-wrap:wrap;gap:24px}
.site-topbar-contact span{color:#c9a46a;margin-right:7px}
body .app-header{height:auto;min-height:96px;max-width:1180px;margin:auto;padding:14px 20px;gap:24px;background:#fff;border:0;position:relative;z-index:4;display:flex;flex-wrap:nowrap}
.site-header-wrap{background:#fff;border-bottom:1px solid var(--line)}
.brand{min-width:0;flex:none;text-decoration:none;display:flex;align-items:center}
.brand img{display:block;width:100px;height:72px;object-fit:contain}
.product{margin-right:auto;gap:10px;flex-wrap:wrap}
.product strong{font:500 29px/1.1 Georgia,"Times New Roman",serif;color:#151412}
.product>span:last-child{font:700 9px/1.35 Arial,sans-serif;letter-spacing:.1em;padding:5px 7px;border:1px solid var(--line);border-radius:0;background:#f6f1e8;color:#665f57;max-width:120px}
.solar-symbol{color:#a77f44;font-size:27px}
body .app-header .header-actions{width:auto;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.local-badge{display:none!important}
.account-button{min-height:44px;border:1px solid var(--line);border-radius:0;color:#151412;font-size:11px;letter-spacing:.035em;padding:9px 12px;background:#fff}
.account-button:hover{background:#f6f1e8;border-color:#8e2e3d}
.icon-button{width:44px;height:44px;border-radius:0;border-color:var(--line);color:#151412;background:#fff}
.site-intro{max-width:1180px;margin:0 auto;padding:31px 20px 29px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);align-items:center;gap:40px}
.site-intro .eyebrow{color:#8b693d;font-size:10px;letter-spacing:.17em;margin-bottom:8px}
.site-intro-title{font:500 clamp(28px,3.2vw,41px)/1.12 Georgia,"Times New Roman",serif;letter-spacing:-.035em;margin:0;max-width:640px}
.site-intro-copy{border-left:1px solid #d8cec0;padding-left:25px}
.site-intro-copy p{font-size:13px;color:#665f57;margin:0;line-height:1.65}
.site-intro-copy strong{color:#151412;font-weight:600}
.site-intro-copy .site-intro-note{font-size:11px;margin-top:8px}
/* An editorial welcome belongs to the entry step, not above every worksheet. */
body:has(#view-project[hidden]) .site-intro{display:none}
.app-layout{display:block;max-width:1180px;min-height:0;margin:auto;padding:0 20px}
.sidebar{display:block;background:transparent;padding:0;border:0;min-width:0}
.project-summary{display:flex;align-items:baseline;gap:12px;padding:0 0 13px;margin:0;border:0;flex-wrap:wrap}
.project-summary .eyebrow{font-size:9px;margin:0;color:#665f57;letter-spacing:.1em}
.project-summary strong{font:600 12px/1.5 Arial,sans-serif;margin:0;max-width:100%;overflow-wrap:anywhere}
.project-summary>span:last-child{font-size:11px;color:#665f57}
.sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;gap:0;overflow:visible;background:#fff;border:1px solid var(--line)}
.section-link{border-radius:0;border:0;border-right:1px solid var(--line);border-top:3px solid transparent;display:flex;gap:12px;min-width:0;min-height:76px;padding:16px 18px;background:#fff;color:#665f57;font-size:12px;line-height:1.45;white-space:normal;font-weight:600}
.section-link:last-child{border-right:0}
.section-link>span{font:400 24px/1 Georgia,serif;color:#a79a88;flex:none}
.section-link.is-active{border-top-color:#8e2e3d;background:#f1e8e2;color:#7d2534}
.section-link.is-active>span{color:#8e2e3d}
.section-link:hover{background:#f6f1e8}
.app-layout main{padding:0;width:100%;max-width:none;margin:0}
.workspace-bar{padding:16px 0;margin:0 0 4px;font-size:11px;line-height:1.5;border-bottom:1px solid var(--line)}
.workspace-bar .session-note{color:#665f57!important;font-size:10px}
.page-head{margin:26px 0 23px;gap:20px}
.page-head h1{font:500 clamp(28px,3vw,36px)/1.15 Georgia,"Times New Roman",serif;letter-spacing:-.035em;color:#151412;margin-bottom:10px}
.page-head p:not(.eyebrow){font-size:13px;color:#665f57;line-height:1.65}
.eyebrow{color:#8e2e3d;font-size:10px;letter-spacing:.15em}
.step-marker{font:400 38px Georgia,serif;color:#c5b7a5}
.step-marker span{font:11px Arial,sans-serif;color:#665f57}
.panel,.map-panel,.metrics article,.report-panel,.quality-card,.bootstrap-panel{border-radius:0;box-shadow:none;border-color:var(--line)}
.panel{padding:27px;margin-bottom:22px}
.panel h2,.report-panel h2{font:500 25px/1.2 Georgia,"Times New Roman",serif;letter-spacing:-.025em;color:inherit}
.panel h3{font:500 21px/1.25 Georgia,serif;letter-spacing:-.02em}
.panel-title{gap:14px}
label{font-size:13px;line-height:1.55;color:#39352f}
input,select{border-radius:0;border:1px solid #cbbfae;min-height:46px;padding:11px 12px;font-size:15px;color:#151412;background:#fff}
input:focus,select:focus{border-color:#8e2e3d}
input[type=file]{background:#f8f5ef;font-size:12px}
input::file-selector-button{border-radius:0;border-color:#d8cec0;padding:7px}
input[type=checkbox]{accent-color:#8e2e3d}
.small,.file-status,.extra-loads p{font-size:12px;line-height:1.7;color:#665f57}
:root .optional,:root .unit,:root .metrics small,:root .session-note,:root .workspace-footer{color:#665f57}
.optional,.unit{font-size:11px}
.button{border-radius:0;background:#151412;border-color:#151412;min-height:48px;padding:13px 18px;font-size:11px;line-height:1.4;font-weight:700;letter-spacing:.055em;text-transform:uppercase;text-align:center;white-space:normal}
.button:hover{background:#8e2e3d;border-color:#8e2e3d}
.button.secondary{color:#151412;background:#fff;border-color:#b8aa97}
.button.secondary:hover{color:#8e2e3d;background:#f6f1e8;border-color:#8e2e3d}
.text-button{color:#8e2e3d;font-size:12px;line-height:1.5;min-height:44px;padding:10px 0}
.page-footer{padding:0 0 19px;gap:20px;align-items:center;font-size:12px;line-height:1.6}
.page-footer .button{flex:none;max-width:100%}
.preparation-checklist{background:#fffcf7;border:1px solid #d8cec0;border-left:3px solid #a77f44;padding:20px 25px;margin-top:20px}
.preparation-checklist h2{font-size:24px;margin-bottom:7px;line-height:1.25}
.preparation-intro,.preparation-help{color:#665f57;font-size:12px;line-height:1.7}
.preparation-details>summary{font-size:12px;color:#8e2e3d;min-height:44px;display:list-item;align-content:center}
.preparation-details[open]>summary{margin-bottom:10px}
.preparation-details{margin-top:0}
.preparation-details>summary{list-style:none;padding:0;position:relative}
.preparation-details>summary::-webkit-details-marker{display:none}
.preparation-details>summary h2{margin:0;padding-right:30px;font-size:24px}
.preparation-details>summary::after{content:'+';position:absolute;right:0;top:0;font:26px Georgia,serif;color:#8e2e3d}
.preparation-details[open]>summary::after{content:'−'}
.preparation-action{display:block;font:600 12px/1.6 Arial,sans-serif;color:#8e2e3d;margin-top:7px;letter-spacing:0}
.preparation-details .preparation-intro{margin:0 0 17px}
.preparation-list>li{background:#fff;border-color:#d8cec0;border-radius:0}
.preparation-list>li>strong{color:#151412}
.preparation-list>li>span{font-size:12px;color:#665f57}
.preparation-help{border-radius:0;background:#f6f1e8}
.source-status{border-radius:0;background:#f2eee4;color:#594a35;font-size:12px;line-height:1.65}
.notice,.result-quality{background:#f9f2e3;color:#705220;border-left-color:#b28a50;border-radius:0;font-size:12px;line-height:1.7}
.quality-card{background:#f8f5ef;padding:19px}
.quality-card p,.check-list li{font-size:12px;line-height:1.7;color:#665f57}
.map-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:22px}
.map-heading{padding:19px 22px;font-size:13px;color:#151412}
.map-heading span{color:#665f57;font-size:11px}
#map-placeholder{background:#eee6da;min-height:220px;padding:26px}
#map-placeholder strong{color:#151412;font:500 25px/1.2 Georgia,serif}
#map-placeholder p{color:#665f57;font-size:13px;line-height:1.65}
.map-panel .map-caption{background:#f6f1e8;border:0;color:#39352f;max-width:none;padding:14px 20px}
.map-panel .map-caption span{font-size:12px}
.map-panel .map-caption small{font-size:11px;line-height:1.6;color:#665f57}
.osm-attribution,.osm-details p{color:#665f57;font-size:12px;line-height:1.65}
.osm-attribution a,#map-canvas .leaflet-control-attribution a{color:#8e2e3d}
.osm-result{border-radius:0;border-color:#d8cec0;color:#151412;font-size:14px}
#map-status{background:#f6f1e8;border-left-color:#8e2e3d}
#map-pending{border-radius:0;background:#f9f2e3;border-color:#dac6a2}
.data-source dl>div{font-size:12px;border-color:#e8dfd3;padding:11px 0}
.data-source dt{color:#665f57}
.pre-post-tabs .button{font-size:11px}
.hour-selector{border-top-color:#d8cec0}
.hour-selector legend{font-size:13px;line-height:1.6;color:#151412}
.hour-choice{border-radius:0;background:#f8f5ef;border-color:#cbbfae;color:#39352f;min-height:46px;font-size:13px}
.hour-choice input{accent-color:#8e2e3d}
.hour-choice:has(input:checked){color:#fff;background:#8e2e3d;border-color:#8e2e3d}
.hour-choice:has(input:focus-visible){outline-color:#8e2e3d}
.checkbox-label{background:#f6f1e8;font-size:12px;line-height:1.65}
.metrics article{padding:23px}
.metrics span{font-size:12px;color:#665f57;min-height:36px;line-height:1.5}
.metrics strong{font:500 33px/1.1 Georgia,serif;color:#8e2e3d}
.metrics small{font-size:11px;line-height:1.5}
.legend{font-size:11px;color:#665f57}
/* Keep the existing data-series colours and matching legends. They communicate
   energy quantities, independently from the bordeaux interface selection. */
.legend .pv:before{background:#215b46}
.legend .load:before{background:#b8c4b1}
.legend .soc:before{background:#a48042}
.panel:has(#hourly-chart) .legend .load:before{background:#97aa8b}
.chart svg text{fill:#665f57;font-family:Arial,sans-serif}
.table-scroll{border-radius:0}
table{font-size:12px}
th{background:#f6f1e8;color:#151412;font-size:11px}
th,td{border-bottom-color:#e8dfd3}
tr.highlight{background:#f6f1e8}
tbody th{font-size:12px;color:#151412}
details>summary{color:#8e2e3d;font-size:12px;min-height:44px;line-height:1.6}
details p,details li{font-size:12px;color:#665f57;line-height:1.7}
.report-panel{background:#151412;padding:30px;color:#fff;gap:28px}
.report-panel .eyebrow{color:#c9a46a}
.report-panel p:not(.eyebrow){color:#e2d9cd;font-size:13px;line-height:1.65}
.report-panel button{background:#fff;border-color:#fff;color:#151412;max-width:100%}
.report-panel button:hover{background:#f6f1e8;border-color:#f6f1e8;color:#8e2e3d}
dialog{border-radius:0;color:#151412;border-color:#d8cec0;padding:30px;box-shadow:0 16px 70px #15141233}
dialog::backdrop{background:#15141288}
dialog h2{font:500 29px/1.15 Georgia,serif;letter-spacing:-.025em;margin-top:16px}
dialog p,dialog li{font-size:13px;color:#665f57;line-height:1.7}
.dialog-close{width:44px;height:44px;margin:-16px -15px 0 0;padding:5px;font-size:27px;line-height:1;color:#151412}
.app-error{left:20px;right:20px;max-width:1140px;margin:auto;bottom:20px;border-radius:0;background:#fffaf7;border-color:#b78f83;color:#8b2b29;font-size:13px}
.workspace-footer{padding:20px 0;margin-top:16px;font-size:11px;line-height:1.65}
.workspace-footer .text-button{font-size:11px}
.site-trust-notes{display:grid;grid-template-columns:1fr 1fr;gap:30px;border-top:1px solid #d8cec0;margin-top:20px;padding:23px 0}
.site-trust-notes .sidebar-note,.site-trust-notes .sidebar-footer{display:block;margin:0;padding:0;color:#665f57;font-size:12px;line-height:1.65}
.site-trust-notes .sidebar-note strong{font-size:12px;color:#151412}
.site-trust-notes .sidebar-note p{font-size:12px;line-height:1.65;margin:5px 0 0;color:#665f57}
.live-dot{background:#8e2e3d}
.site-footer{background:#151412;color:#eee8de;margin-top:15px}
.site-footer-inner{max-width:1180px;margin:auto;padding:25px 20px;display:flex;align-items:center;justify-content:space-between;gap:25px;font-size:12px;line-height:1.7}
.site-footer strong{font:500 23px Georgia,serif;color:#fff}
.site-footer p{margin:5px 0 0;color:#d3c7b7;font-size:11px}
.site-footer-links{display:flex;gap:22px;flex-wrap:wrap}
.site-footer a{color:#fff}
.brand-preview-note{background:#fff5da;color:#654a17;padding:8px 16px;text-align:center;font:12px/1.5 Arial,sans-serif;border-bottom:1px solid #dbc696}
@media(min-width:1700px){.app-layout main{padding:0}.page-head h1{font-size:36px}}
@media(max-width:1150px){.app-layout{display:block}.app-layout main{padding:0}.sidebar{padding:0}.map-grid{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr)}.data-source{display:block}.data-source dl{display:block}.section-link{padding:15px 13px;gap:9px}.chart-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){.site-intro{grid-template-columns:1fr;gap:13px;padding:25px 20px}.site-intro-copy{border:0;padding:0}.site-intro-copy p{max-width:680px}.site-intro-copy .site-intro-note{display:none}.map-grid{grid-template-columns:minmax(0,1fr)}.data-source dl{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.data-source dl>div{min-width:0}.section-link>span{font-size:22px}.section-link{font-size:11px}}
@media(max-width:820px){body .app-header{min-height:88px;padding:12px 20px;gap:20px}.brand img{width:88px;height:64px}.product{gap:7px}.product strong{font-size:27px}.product>span:last-child{max-width:105px;font-size:8px}.app-layout{padding:0 20px}.app-layout main{padding:0}.sidebar .project-summary{display:flex}.sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;gap:0;overflow:visible}.sidebar .section-link{display:flex;flex-direction:column;align-items:flex-start;gap:9px;white-space:normal;min-height:85px;padding:13px 12px;font-size:11px}.page-head{margin:24px 0 20px}.panel{padding:24px}.two-columns{grid-template-columns:minmax(0,1fr)}.page-footer>span{display:block;font-size:11px}.page-footer{align-items:flex-start;flex-wrap:wrap}.workspace-footer>span:last-child{display:block}.workspace-bar .session-note{display:block}.site-trust-notes{gap:22px}.report-panel{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.site-topbar-inner{padding:7px 16px;font-size:10px;gap:12px}.site-topbar-contact{gap:12px}.site-topbar-email{display:none}.site-intro{padding:23px 16px 20px;gap:10px}.site-intro-title{font-size:30px;max-width:420px}.site-intro-copy p{font-size:12px}.app-layout{padding:0 16px}body .app-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px;padding:12px 16px;min-height:0}.brand{grid-column:1;grid-row:1}.brand img{width:83px;height:60px}.product{grid-column:2;grid-row:1;justify-content:flex-end;max-width:210px;gap:7px;margin:0}.product>span:last-child{display:none}.product strong{font-size:27px}body .app-header .header-actions{grid-column:1/-1;grid-row:2;width:100%;padding-top:7px;border-top:1px solid #eee6da;gap:8px;justify-content:flex-end}.account-button{font-size:10px;padding:9px 11px}.icon-button{width:44px;height:44px}.project-summary{gap:4px 10px;padding-bottom:12px}.project-summary .eyebrow{width:100%;font-size:9px}.project-summary strong{font-size:12px;line-height:1.5}.project-summary>span:last-child{font-size:11px}.sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar .section-link{flex-direction:row;align-items:center;gap:11px;min-height:65px;padding:13px;font-size:11px}.section-link:nth-child(2){border-right:0}.section-link:nth-child(-n+2){border-bottom:1px solid #d8cec0}.section-link:last-child{border-right:0}.workspace-bar{padding:13px 0;font-size:10px;gap:5px;flex-wrap:wrap}.workspace-bar .session-note{font-size:10px}.page-head{margin:22px 0 18px;align-items:flex-start}.page-head h1{font-size:29px}.page-head p:not(.eyebrow){font-size:13px}.step-marker{font-size:29px}.step-marker span{font-size:10px}.panel{padding:22px 18px;margin-bottom:19px}.panel h2{font-size:24px}.panel h3{font-size:21px}.preparation-checklist{padding:18px;margin-top:18px}.preparation-checklist h2{font-size:24px}.preparation-intro{font-size:12px}.preparation-list{grid-template-columns:1fr}.project-inputs{grid-template-columns:minmax(0,1fr);gap:19px}.split{grid-template-columns:minmax(0,1fr);gap:0}.season-date{gap:10px}.data-source dl{display:block}.map-heading{padding:17px;font-size:12px;flex-wrap:wrap}.map-heading span{font-size:10px}.map-controls{padding:17px;gap:13px}.map-controls input{font-size:16px;min-height:46px}.map-controls label{font-size:12px}.map-panel .map-caption{padding:13px 17px}.osm-actions{padding:0 17px 16px}.osm-actions button{font-size:10px;flex:1 1 100%;white-space:normal}.osm-details{padding:0 17px 17px}input,select{font-size:16px;min-height:46px;padding:11px}label{font-size:13px}.split label{font-size:13px}.button,.page-footer .button{font-size:11px;padding:13px 16px;max-width:100%}.page-footer{gap:12px}.page-footer>span{width:100%}.page-footer .button{margin-left:auto}.metrics{grid-template-columns:1fr 1fr;gap:12px}.metrics article{padding:17px 13px}.metrics strong{font-size:27px}.metrics span{font-size:11px;line-height:1.5;min-height:36px}.metrics small{font-size:10px}.chart-head h2{font-size:23px}.chart-head{flex-wrap:wrap}.legend{font-size:10px}.report-panel{padding:24px 20px}.report-panel h2{font-size:25px}.report-panel .button{width:100%}.site-trust-notes{grid-template-columns:1fr;gap:17px;padding:22px 0}.workspace-footer{font-size:10px;gap:10px}.site-footer-inner{padding:24px 16px;flex-direction:column;align-items:flex-start;gap:18px}.site-footer-links{gap:18px}.app-error{left:12px;right:12px;bottom:12px;padding:14px;font-size:12px}dialog{padding:25px 21px}dialog h2{font-size:27px}.hour-grid{grid-template-columns:repeat(4,minmax(44px,1fr));gap:6px}.hour-choice{min-height:46px;font-size:13px}.hour-actions .button{font-size:10px}.hour-selector legend{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* On a phone the product name already identifies the tool in the header.
   Omit only the decorative slogan so the actual worksheet starts earlier. */
@media(max-width:600px){.site-intro-title{display:none}.site-intro{padding-top:18px;padding-bottom:18px;gap:2px}}
