:root{font-family:system-ui,sans-serif;color:#252043;background:#f4f5f8;font-size:16px}*{box-sizing:border-box}body{margin:0}header{background:#252043;color:white;padding:20px 5%;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}header a{color:white;font-weight:750;text-decoration:none}header span{font-size:14px}main{max-width:1200px;margin:auto;padding:32px 24px}.intro{display:flex;align-items:center;justify-content:space-between}.intro img{object-fit:contain}small,.hint{font-size:14px;line-height:1.7}.intro small{color:#7650ae;letter-spacing:.12em;font-weight:bold}h1{font-size:clamp(26px,4vw,40px);line-height:1.45;margin:10px 0}h2{font-size:20px;margin:24px 0 16px}p{line-height:1.75}.notice{background:#fff4d6;border-left:4px solid #e5b333;padding:14px 18px;font-size:14px}.workspace{display:grid;grid-template-columns:330px minmax(0,1fr);gap:24px;align-items:start}form,.results{background:white;padding:24px;border-radius:18px;border:1px solid #e0dce9}label{display:block;font-size:15px;font-weight:650;margin:18px 0}input,select,textarea{font:inherit;width:100%;margin-top:8px;padding:12px;border:1px solid #a59bb5;border-radius:8px;background:white;color:#252043}input[type=range]{padding:0;accent-color:#7950af;min-height:32px}output{float:right;color:#7950af}.hint{color:#665e76}summary{cursor:pointer;font-weight:650;padding:18px 0;line-height:1.5}button{cursor:pointer;border:0;border-radius:9px;padding:13px 18px;background:#7950af;color:white;font:inherit;font-weight:650;min-height:46px}button:hover{background:#654091}button:focus-visible,a:focus-visible{outline:3px solid #d49d23;outline-offset:3px}.result-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.result-head strong{font-size:28px;color:#7950af}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.metrics article{padding:20px;background:#252043;color:white;border-radius:12px;font-size:14px}.metrics article+article{background:#f0ebf8;color:#252043}.metrics strong{display:block;font-size:clamp(24px,3vw,34px);margin:12px 0}.metrics small{display:block}.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.plan{border:1px solid #dbd3e6;border-radius:10px;padding:14px}.plan.selected{border:2px solid #7950af;background:#f9f5ff}.plan strong{display:block;font-size:23px;margin:10px 0}.plan p{font-size:14px}.plan button{width:100%;padding:9px}#chart{width:100%;height:auto;background:#faf9fc;border-radius:10px}table{border-collapse:collapse;width:100%;font-size:14px;white-space:nowrap}td,th{text-align:right;padding:10px;border-bottom:1px solid #eee}.table-wrap{overflow:auto}.consult{margin-top:28px;padding:20px;background:#f3eff8;border-radius:12px}textarea{height:130px;font-size:14px}footer{margin-top:36px;padding:24px 0;color:#665e76;font-size:14px}footer a{color:#624099}@media(max-width:900px){.workspace{grid-template-columns:1fr}.intro img{width:110px;height:110px}}@media(max-width:520px){main{padding:20px 14px}form,.results{padding:18px}.intro img{width:80px;height:80px}.metrics,.plans{grid-template-columns:1fr}.result-head{flex-wrap:wrap}h2{font-size:19px}}
.compare,.backup{margin-top:30px;padding:22px;border-radius:14px;background:#f7f4fc;border:1px solid #dbd3e8}.compare>small,.backup>small{color:#7950af;font-weight:700}.crossing{font-size:19px;font-weight:750;border-left:4px solid #7950af;padding-left:14px}.legend{display:flex;gap:18px;flex-wrap:wrap;font-size:14px}.legend span:first-child{color:#63758c}.legend span:last-child{color:#7950af}#comparisonChart{width:100%;height:auto}.backup{background:#f0f6fa}.backup-note{padding:16px;background:white;border-radius:10px}.backup a{font-size:14px;color:#624099}.backup label{font-size:16px}@media(max-width:520px){.compare,.backup{padding:16px}}

.price-editor{padding:18px;margin:16px 0;background:#f1ebfa;border:2px solid #bda7da;border-radius:12px}.price-editor label{margin:0 0 10px}.price-input{display:flex;align-items:center;gap:12px}.price-input input{width:180px;max-width:65%;margin:0;font-size:24px;font-weight:750}.price-presets{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.price-presets button{background:white;color:#624099;border:1px solid #9574bd}.price-presets button[aria-pressed=true]{background:#7950af;color:white}.price-editor p{margin:12px 0 0}#priceError:empty{display:none}#priceError{color:#963529}#priceFormula{font-weight:650;font-size:15px}

.intro{gap:24px}.intro>div:first-child{min-width:0}.family-frame{position:relative;flex:0 0 220px;width:220px;height:192px;overflow:hidden}.intro .family-frame img{position:absolute;width:314px;height:314px;max-width:none;left:-45px;top:-72px;object-fit:contain}.notice{background:#fff4f3;border:1px solid #e6b7b3;border-left:5px solid #b62926;border-radius:8px;padding:20px;margin:22px 0}.notice strong{display:block;color:#ad2421;font-size:20px;line-height:1.55;font-weight:800}.notice strong br{display:none}.notice p{margin:10px 0 0;font-size:16px}.notice .prototype-note{font-size:14px;color:#665e76;border-top:1px solid #e6c9c5;padding-top:12px}@media(max-width:600px){.intro{display:flex;flex-direction:column;align-items:stretch;gap:6px}.intro .family-frame{flex:none;align-self:center;width:220px;height:192px;margin:0 auto 4px}.intro h1{font-size:clamp(25px,6.5vw,34px)}.intro p{margin-bottom:10px}.notice{margin-top:14px;padding:18px}.notice strong br{display:block}}

.intro .solar-scene{position:relative;flex:0 0 400px;width:400px;aspect-ratio:1.35;max-width:100%;isolation:isolate}.intro .solar-scene .solar-art{position:absolute;inset:0;width:100%;height:auto;max-width:100%;z-index:0}.intro .solar-scene .family-frame{position:absolute;right:0;bottom:0;width:52%;height:auto;aspect-ratio:1.15;margin:0;z-index:1}.intro .solar-scene .family-frame img{width:142.85%;height:auto;left:-20.45%;top:-37.5%;max-width:none}@media(max-width:900px){.intro{flex-wrap:wrap}.intro .solar-scene{flex:none;width:360px;margin:auto}}@media(max-width:600px){.intro .solar-scene{width:min(100%,360px);align-self:center;margin:6px auto 12px}.intro .solar-scene .family-frame{align-self:auto;margin:0;flex:none}}


#inputs label.character-question{margin:12px 0 16px}
.question-guide{display:flex;align-items:center;gap:10px;margin:0 0 5px}
.question-guide img{display:block;width:56px;height:64px;object-fit:contain;flex:0 0 56px}
.question-bubble{position:relative;display:block;padding:9px 12px;border:1px solid #c5b4df;border-radius:14px;background:#f8f4ff;font-size:15px;font-weight:700;line-height:1.4}
.question-bubble:before{content:"";position:absolute;left:-5px;top:calc(50% - 4px);width:7px;height:7px;background:#f8f4ff;border-left:1px solid #c5b4df;border-bottom:1px solid #c5b4df;transform:rotate(45deg)}
#inputs .character-question input,#inputs .character-question select{margin-top:6px}

.panel-design-note{display:flex;align-items:flex-start;gap:10px;margin:10px 0 14px}.panel-design-note>img{width:54px;height:96px;object-fit:contain;flex:0 0 54px}.panel-design-note>div{min-width:0;padding:10px 12px;background:#fff5f3;border:1px solid #e5b8b1;border-left:3px solid #b62925;border-radius:12px}.panel-design-note strong{display:block;color:#b62925;font-size:15px;line-height:1.5}.panel-design-note p{margin:6px 0 0;font-size:14px;line-height:1.65}

.wiring-option{margin:16px 0;padding:14px;border:1px solid #d8cee6;border-radius:12px;background:#fff}.wiring-check{display:flex;align-items:flex-start;gap:10px;line-height:1.6}.wiring-check input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;margin:3px 0 0;accent-color:#7950af}.wiring-option .hint{margin-bottom:0}

.contact-card{padding:22px;margin:18px 0 26px;border:1px solid #ded2ee;border-radius:24px;background:#f8f4fc}.contact-card h2{margin-top:0}.contact-channel{padding:14px 16px;margin:10px 0 0;border:1px solid #ded2ee;border-radius:14px;background:white}.contact-channel summary{color:#7950af;font-size:18px;font-weight:700;cursor:pointer}.line-channel summary{color:#247849}.contact-card textarea{width:100%;box-sizing:border-box}.inquiry-form label{display:block;margin:12px 0}.inquiry-status:empty{display:none}

.contact-card{padding:16px;margin:12px 0 22px;border-radius:18px}.contact-card h2{font-size:18px;margin:0 0 8px}.contact-card>p{font-size:14px;line-height:1.6;margin:8px 0}.contact-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0 0}.contact-toggle{padding:10px 3px;min-height:44px;border:1px solid #d8c9e8;border-radius:10px;background:#fff;color:#7950af;font-size:14px;white-space:nowrap;font-weight:700}.contact-toggle:first-child{color:#247849}.contact-toggle[aria-expanded=true]{background:#eee5f8}.contact-panel{padding:12px 0 0}.contact-panel[hidden]{display:none}@media(max-width:380px){.contact-toggle{font-size:12px}.contact-card{padding:12px}}

.official-home{display:inline-block;color:inherit;text-decoration:none;line-height:1.5;padding:8px 0;font-weight:700}.official-home small{font-size:14px;text-decoration:underline;text-underline-offset:4px}.official-home:focus-visible{outline:3px solid #ffcf53;outline-offset:4px}.site-home-footer{background:#252043;color:#fff;text-align:center;padding:18px 16px;margin-top:24px}header .official-home{color:#fff}@media(max-width:600px){header{flex-wrap:wrap;gap:8px}header .official-home{font-size:16px}}

/* Solar identity */
header{background:linear-gradient(115deg,#103f37,#1b6350);border-bottom:3px solid #e4b74f;padding:14px 5%;align-items:center}
header .official-home,.site-home-footer .official-home{display:inline-flex;align-items:center;gap:18px;padding:5px 0;color:#fff}
.brand-word{font-size:23px;font-weight:800;letter-spacing:-.7px;white-space:nowrap}.brand-word b{font-weight:450}.brand-arrow{display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid #ffffff55;border-radius:50%;font-size:19px;color:#f3ce76}
header>span{font-size:12px;color:#d5e8df}
.intro{background:linear-gradient(135deg,#f1f8f0,#fff9e9);border:1px solid #d9e5d6;border-radius:24px;padding:24px;margin-bottom:20px}
.intro h1{color:#164b3e}.intro small{color:#89631b}.intro p{color:#35594e}
.contact-card{background:#f3f8f1;border-color:#d4e1ce}
.site-home-footer{background:linear-gradient(115deg,#103f37,#1b6350);border-top:3px solid #e4b74f}
@media(max-width:600px){header{gap:5px;padding:13px 16px}header>span{width:100%;font-size:11px}.brand-word{font-size:22px}.intro{padding:18px 12px}.intro h1{font-size:27px}}

/* Orange solar navigation */
header,.site-home-footer{background:linear-gradient(115deg,#ffd69a,#ffb657);color:#111;border-color:#ee982e}
header .official-home,.site-home-footer .official-home{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 20px;border:2px solid #d88321;border-radius:16px;background:#ffedcf;color:#111;box-shadow:0 3px 0 #df9d48;max-width:100%}
header .official-home .brand-word,.site-home-footer .official-home .brand-word{font-size:clamp(23px,3vw,34px);font-weight:850;letter-spacing:-.7px;color:#111}
.brand-word b{font-weight:700}
header .official-home .brand-arrow,.site-home-footer .official-home .brand-arrow{width:40px;height:40px;flex:0 0 40px;font-size:28px;background:#ffb548;color:#111;border:0;border-radius:50%}
header>span{color:#111}.intro{background:linear-gradient(135deg,#fff9ee,#fff0d7);border-color:#efd6ae}.intro h1,.intro p,.intro small{color:#111}.contact-card{background:#fff8ec;border-color:#efd6ae}
@media(max-width:600px){header .official-home,.site-home-footer .official-home{padding:12px;gap:12px}header .official-home .brand-word,.site-home-footer .official-home .brand-word{font-size:23px}header .official-home .brand-arrow,.site-home-footer .official-home .brand-arrow{width:34px;height:34px;flex-basis:34px;font-size:24px}}
