.project-guide { max-width: 860px; padding-bottom: 4rem; }
.project-guide h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); }
.project-guide form, #review { margin-block: 2rem; }
.project-guide label { display: grid; gap: .35rem; font-weight: 600; }
.project-guide input, .project-guide select {
  width: 100%;
  border: 1px solid #74818b;
  border-radius: 6px;
  background: white;
  color: #111;
  padding: .65rem;
  font: inherit;
}
.project-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); gap: .85rem; }
.project-guide button { font: inherit; cursor: pointer; }
.project-guide button:disabled { opacity: .55; cursor: default; }
.project-guide form > button { margin-top: 1rem; }
.project-guide fieldset { border: 1px solid #adb8bf; border-radius: 8px; margin: 1rem 0; padding: 1rem; min-width: 0; }
.project-guide legend { font-weight: 700; }
.room-estimate { margin-block: .75rem; }
.room-remove { background: transparent; color: inherit; border: 0; text-decoration: underline; padding: .3rem 0; }
.outdoor-count { max-width: 320px; margin-top: 1rem; }
.measure-help summary { cursor: pointer; width: fit-content; text-decoration: underline; }
#summary { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; padding: 1rem; border: 1px solid #adb8bf; border-radius: 8px; }
@media print {
  body.climate-service { background: white; color: black; }
  body > header, .project-guide > :not(#review), #review > :not(h2, #summary) { display: none !important; }
  #summary { border: 0; padding: 0; }
}
.climate-service .project-guide .outline { color: #174653; }
#project .button { margin-top: .85rem; }

.project-guide [hidden] { display: none !important; }
#savings-calculator { background:#102630; color:#f3fbfd; padding:clamp(1.2rem,4vw,2.5rem); margin-block:2rem 3rem; border-radius:14px; border-top:5px solid #04cafd; }
#savings-calculator h2 { font-size:clamp(1.8rem,4vw,2.7rem); line-height:1.12; margin:.5rem 0 1rem; }
.savings-eyebrow { color:#04cafd; font-weight:700; letter-spacing:.09em; font-size:.9rem; }
#savings-calculator .project-fields { margin-block:1rem; }
#savings-calculator label { font-size:1rem; }
#savings-calculator input:focus-visible,#savings-calculator select:focus-visible { outline:3px solid #04cafd; outline-offset:3px; }
.savings-toggle { display:flex !important; align-items:center; gap:.7rem !important; margin-block:1.4rem; }
#savings-calculator .savings-toggle input { width:1.3rem; height:1.3rem; flex-shrink:0; accent-color:#04cafd; }
.savings-hint { color:inherit; opacity:.85; font-size:.95rem; line-height:1.5; }
.savings-assumptions { padding:1rem; border:1px solid #607d89; border-radius:8px; margin-block:1.3rem; }
.savings-assumptions summary { cursor:pointer; font-weight:700; }
#savings-calculator a:not(.button) { color:#7fe6ff; text-decoration:underline; }
.savings-card { background:#04cafd; color:#09212c; padding:1.4rem; border-radius:10px; margin-block:1.5rem; }
.savings-card p { margin:.35rem 0; }
.savings-caution { background:#ffe2aa; }
.savings-amount { display:block; font-size:clamp(2rem,5vw,3rem); line-height:1.2; margin:.7rem 0; }
.savings-bar { margin-block:1.2rem; }
.savings-bar > div:first-child { display:flex; justify-content:space-between; gap:.6rem; flex-wrap:wrap; margin-bottom:.5rem; }
.savings-bar-track { height:18px; border-radius:30px; overflow:hidden; background:#304a55; }
.savings-bar-track span { height:100%; display:block; border-radius:30px; min-width:2px; }
.savings-bar-track .current { background:#ffb46b; }
.savings-bar-track .proposed { background:#04cafd; }
.savings-summer { border-top:1px solid #607d89; padding-top:1rem; }
.savings-error { border-left:4px solid #ffd288; padding:1rem; background:#3e3429; }
#savings-calculator .button { color:#09212c; }
.project-guide select { appearance:none; padding-right:2rem; background-image:linear-gradient(45deg,transparent 50%,#174653 50%),linear-gradient(135deg,#174653 50%,transparent 50%); background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%; background-size:5px 5px; background-repeat:no-repeat; }
@media(max-width:540px) { #savings-calculator { margin-inline:-.2rem; } #savings-calculator .project-fields { grid-template-columns:1fr; } }
.engine-brandline { font-weight:800; letter-spacing:.12em; color:#11667c; font-size:.9rem; margin-bottom:.6rem; }
.project-guide h1.engine-title { color:#075c75; font-size:clamp(3.2rem,8vw,6rem); font-weight:900; letter-spacing:-.045em; line-height:1; margin:.35rem 0 1.4rem; }
#project .engine-teaser-title { color:#075c75; font-size:clamp(2.3rem,6vw,4.5rem); line-height:1.05; margin:.5rem 0 1rem; letter-spacing:-.035em; }
.savings-summer-invite { border:2px solid #04cafd; border-radius:12px; padding:1.2rem; margin:1.4rem 0; background:#163641; }
.savings-invite-title { margin:0 0 .8rem; color:#82e8ff; font-size:1.2rem; font-weight:800; }
#savings-calculator .savings-summer-invite .savings-toggle { margin:0; align-items:flex-start; gap:1rem !important; cursor:pointer; }
#savings-calculator .savings-toggle input { width:1.65rem; height:1.65rem; margin-top:.2rem; }
.savings-toggle strong { display:block; font-size:clamp(1.25rem,3vw,1.6rem); line-height:1.2; }
.savings-toggle small { display:block; font-size:1rem; font-weight:400; line-height:1.5; margin-top:.55rem; color:#dfedf1; }
.savings-summer-invite.is-included { background:#194b51; box-shadow:0 0 0 2px #04cafd33; }
.savings-net-status { font-weight:700; line-height:1.5; padding-top:.5rem; }
.savings-charts { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:1.25rem; }
.savings-chart { border:1px solid #607d89; padding:1.05rem; border-radius:10px; min-width:0; }
.savings-chart h3 { margin:.2rem 0 1rem; font-size:1.2rem; line-height:1.35; }
.savings-chart .savings-bar strong { font-size:1rem; }
.savings-bar-track { display:flex; }
.savings-bar-track span { min-width:0; flex-shrink:0; }
.savings-bar-track .summer { background:#e8a6ed; }
.savings-carbon-total { display:grid; gap:.4rem; padding-top:.7rem; border-top:1px solid #607d89; }
.savings-carbon-total strong { color:#a7f0dd; font-size:1.15rem; }
.savings-legend { display:flex; flex-wrap:wrap; gap:.8rem 1.2rem; font-size:.9rem; margin:1rem 0; }
.savings-legend span::before { content:''; display:inline-block; width:.8rem; height:.8rem; margin-right:.4rem; background:#ffb46b; border-radius:2px; }
.savings-legend .legend-heating::before { background:#04cafd; }
.savings-legend .legend-summer::before { background:#e8a6ed; }
.savings-equation { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.savings-equation span { display:block; font-size:.95rem; }
.savings-equation strong { display:block; margin-top:.4rem; font-size:1.1rem; }
@media(max-width:640px) { .savings-charts { grid-template-columns:1fr; } .savings-equation { grid-template-columns:1fr; } }

.savings-energy { margin:1.6rem 0; padding:clamp(1rem,3vw,1.6rem); border:1px solid #39c8e7; border-radius:14px; background:#12303c; }
.savings-energy h3 { margin-top:0; }
.savings-energy dl { margin:1rem 0; }
.savings-energy dl div { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; padding:.7rem 0; border-bottom:1px solid #ffffff25; }
.savings-energy dt { flex:1; }
.savings-energy dd { margin:0; font-weight:700; font-size:1.15rem; text-align:right; }
@media(max-width:540px) { .savings-energy dl div { display:block; } .savings-energy dd { text-align:left; margin-top:.35rem; } }
.engine-logo { max-width:500px; margin:1.5rem 0; }
.engine-logo img { display:block; width:100%; height:auto; }
.engine-logo-teaser { max-width:380px; }
.savings-share-trigger { margin:1rem 0 1.5rem; background:#d2ae67; color:#09251c; border:1px solid #f2d99d; }
.savings-share-dialog { width:min(720px,calc(100% - 24px)); max-height:90svh; overflow-y:auto; background:#0d2922; color:#f6ecd6; border:1px solid #c7a76d; border-radius:18px; padding:clamp(16px,3vw,28px); }
.savings-share-dialog::backdrop { background:#000b; backdrop-filter:blur(4px); }
.share-heading { display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.share-heading h2 { margin:0; font-size:1.6rem; }
.share-heading button { border:1px solid #c7a76d; color:#f6ecd6; background:transparent; border-radius:50%; width:42px; height:42px; font-size:1.8rem; cursor:pointer; flex-shrink:0; }
.savings-share-dialog canvas { width:100%; height:auto; display:block; border-radius:8px; }
.share-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
.share-options .button { text-align:center; margin:0; background:#16473a; color:#fff3d7; border:1px solid #8c9164; font:600 1rem/1.4 system-ui,sans-serif; padding:.8rem; cursor:pointer; text-decoration:none; }
.share-status { color:#8ee5c3; }
.share-fallback textarea { width:100%; font:1rem/1.5 system-ui,sans-serif; }
.savings-share-dialog a:focus-visible,.savings-share-dialog button:focus-visible { outline:3px solid #72e8d2; outline-offset:3px; }
@media(max-width:420px) { .share-options { grid-template-columns:1fr; } }
/* Brass instrument panel for the engine invitation. */
#project.area { position:relative; overflow:hidden; padding:clamp(1.5rem,5vw,3.5rem); border:6px solid #b7944f; border-radius:22px; background:radial-gradient(ellipse at 28% 5%,#254c37 0,#0e2d22 45%,#061910 100%); color:#f8eed3; box-shadow:inset 0 0 0 2px #f3d798,inset 0 0 0 6px #4b351c,0 7px 22px #0003; }
#project.area::before,#project.area::after { content:'✦'; position:absolute; top:12px; color:#d9b76c; font-size:1.5rem; text-shadow:0 2px 2px #000; }
#project.area::before { left:16px; } #project.area::after { right:16px; }
#project .engine-brandline { color:#e3c789; }
#project .engine-logo { margin:1rem auto 1.6rem; max-width:460px; }
#project > p:not(.engine-brandline) { max-width:720px; margin:1.5rem auto; font-size:clamp(1.1rem,2.3vw,1.35rem); line-height:1.65; }
#project { text-align:center; }
.button.engine-fire,#savings-form > button { background:linear-gradient(115deg,#987034,#ecd79b 24%,#c89f52 50%,#f6e1a5 72%,#af813b); border:2px solid #f5dda1; border-bottom-color:#79541f; color:#2c210f !important; box-shadow:inset 0 0 0 1px #7f5c26,0 4px 0 #65451c,0 7px 14px #0004; border-radius:8px; padding:1rem 2rem; font-weight:800; font-size:1.15rem; text-decoration:none; }
.button.engine-fire:hover,#savings-form > button:hover { filter:brightness(1.08); }
#savings-result[hidden] { display:none!important; }
#savings-result { scroll-margin-top:1.5rem; border:2px solid #b7944f; border-radius:16px; padding:clamp(.8rem,3vw,1.5rem); background:#0c2833; margin-top:2rem; }
.results-engine-logo { display:block; width:min(300px,100%); height:auto; margin:0 auto 1.2rem; }
.savings-card .savings-share-trigger { display:block; width:100%; margin:1.5rem 0 0; padding:1.15rem; font-weight:800; font-size:1.2rem; color:#fff7dc!important; background:#103d35; border:2px solid #dbc584; border-radius:9px; box-shadow:0 3px 0 #0b2c27; }
.savings-card .savings-share-trigger:hover { background:#1b5747; }
.simulation-reset { display:block; width:100%; margin-top:2rem; }
/* The Savings Engine workshop. Scoped to keep the rest of the site unchanged. */
body.engine-page { --paper:#0b211a; --ink:#f5ecd6; --line:#8d713f; background:radial-gradient(ellipse at 50% 8%,#244b37 0,#102b20 38%,#071b14 100%); color:#f5ecd6; }
.engine-page > header { background:#081b14; border-bottom:2px solid #bd9954; }
.engine-page > header nav a { color:#f4e5c4; }
.engine-page .project-guide { padding-top:2rem; }
.engine-page .project-guide > .engine-brandline { text-align:center; color:#dec48c; letter-spacing:.16em; }
.engine-page .engine-logo { margin:1rem auto 2rem; }
.engine-page .project-guide > p { color:#e8dec8; }
.engine-page #savings-calculator,.engine-page #contact-details,.engine-page #sizing,.engine-page #review { position:relative; border:5px solid #b7944f; border-radius:18px; background:linear-gradient(130deg,#173e2e,#0a281d 70%); color:#f5ecd6; box-shadow:inset 0 0 0 2px #ebd297,inset 0 0 0 5px #4e381e,0 8px 30px #0004; padding:clamp(1.25rem,4vw,2.5rem); }
.engine-page #contact-details,.engine-page #sizing,.engine-page #review { margin-block:2rem; }
.engine-page #savings-calculator h2,.engine-page #contact-details h2,.engine-page #sizing h2,.engine-page #review h2 { font-family:Georgia,'Times New Roman',serif; font-weight:700; color:#f4dfab; }
.engine-page .savings-eyebrow { color:#e1c88f; }
.engine-page .project-guide input,.engine-page .project-guide select,.engine-page .project-guide textarea { background-color:#fff6e3; color:#222b21; border:2px solid #ae8a48; border-radius:7px; box-shadow:inset 0 2px 4px #50391419; }
.engine-page .project-guide input:focus-visible,.engine-page .project-guide select:focus-visible,.engine-page .project-guide textarea:focus-visible { outline:3px solid #f0d497!important; outline-offset:3px; }
.engine-page .project-guide input[type=checkbox] { accent-color:#b7974e!important; box-shadow:none; }
.engine-page .project-guide .button,.engine-page .project-guide form > button { background:linear-gradient(115deg,#987034,#ecd79b 24%,#c89f52 50%,#f6e1a5 72%,#af813b); color:#2c210f!important; border:2px solid #f0d79b; border-bottom-color:#79541f; box-shadow:inset 0 0 0 1px #7f5c26,0 3px 0 #65451c; border-radius:8px; font-weight:750; }
.engine-page #savings-calculator a:not(.button) { color:#f2d795; }
.engine-page .savings-assumptions,.engine-page .savings-energy,.engine-page .savings-chart,.engine-page .project-guide fieldset { border:1px solid #a98b50; background:#0c2c21; border-radius:10px; }
.engine-page .savings-summer-invite { border-color:#d1b16e; background:#1c4634; box-shadow:inset 0 0 0 1px #67532d; }
.engine-page .savings-summer-invite.is-included { background:#24533f; box-shadow:0 0 0 2px #d1b16e44; }
.engine-page .savings-invite-title { color:#f3d593; }
.engine-page .savings-toggle small { color:#eee5ce; }
.engine-page #savings-result { background:#09251c; border:2px solid #c6a15a; box-shadow:inset 0 0 0 1px #f0d39733; }
.engine-page .savings-card { background:radial-gradient(ellipse at top,#31644a,#173e2e); color:#fff1cb; border:2px solid #d0ae65; box-shadow:inset 0 0 0 3px #86642c55; }
.engine-page .savings-card.savings-caution { background:#594426; color:#fff3d5; }
.engine-page .savings-amount { color:#ffe3a1; }
.engine-page .savings-card .savings-share-trigger { background:linear-gradient(115deg,#987034,#ecd79b 24%,#c89f52 50%,#f6e1a5 72%,#af813b); color:#2c210f!important; padding:1.15rem; }
.engine-page .savings-bar-track { background:#2a493b; }
.engine-page .savings-bar-track .proposed,.engine-page .savings-legend .legend-heating::before { background:#64c8a6; }
.engine-page .savings-bar-track .summer,.engine-page .savings-legend .legend-summer::before { background:#e2c17b; }
.engine-page .savings-summer,.engine-page .savings-carbon-total { border-color:#9d824c; }
.engine-page #summary { border-color:#b69b61; background:#0a241b; color:#fff0ce; }
.engine-page .measure-help summary,.engine-page legend { color:#ecd297; }
.engine-page .room-remove { color:#f2d795; }
.share-preview { position:relative; }
.share-logo-link { position:absolute; left:33.75%; top:3.16%; width:32.5%; height:19.92%; border-radius:50%; }
.share-logo-link:hover { box-shadow:0 0 0 2px #e7c47b; }
.share-logo-link:focus-visible { outline:3px solid #fff0bd; outline-offset:3px; }
@media(max-width:540px) { .engine-page .wrap { width:calc(100% - 28px); } .engine-page #savings-calculator,.engine-page #contact-details,.engine-page #sizing,.engine-page #review { border-width:3px; padding:1.25rem; } }
@media print { body.engine-page { background:white!important; color:black!important; } .engine-page #review,.engine-page #summary { background:white!important; color:black!important; border:0; box-shadow:none; } }

.engine-animation-brand{display:inline-block;position:relative;max-width:100%;vertical-align:middle}
.engine-animation-brand>img{display:block;width:100%;height:auto}
.engine-animation-brand>.engine-current-attribution{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;clip-path:inset(80% 26% 10% 26%);pointer-events:none}
.engine-animation-brand.results-engine-logo{display:block}
