:root {
  --ink: #142521;
  --muted: #687772;
  --line: #e2e9e6;
  --paper: #f5f7f6;
  --white: #ffffff;
  --green: #0b6b50;
  --green-dark: #07513d;
  --mint: #9de2c2;
  --mint-light: #eaf8f1;
  --lime: #c8ef82;
  --shadow: 0 18px 60px rgba(24, 57, 46, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x:hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(11, 107, 80, .22); outline-offset: 2px; }

main { min-height: 100vh; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; max-width: 1460px; margin: 0 auto; padding: 0 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: -.4px; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; display: inline-grid; place-items: center; color: var(--ink); background: var(--lime); box-shadow: inset 0 0 0 1px rgba(20,37,33,.08); }
.topbar-actions { display:flex; align-items:center; gap:18px; }
.topbar-nav { display:flex; align-items:center; gap:16px; }
.topbar-nav a { color:#536860; font-size:12px; font-weight:750; text-decoration:none; }
.topbar-nav a:hover { color:var(--green); }
.privacy { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #587068; border: 1px solid #dbe4e0; border-radius: 999px; padding: 7px 11px; background: rgba(255,255,255,.65); }

.hero { text-align: center; padding: 58px 24px 34px; position: relative; overflow: hidden; }
.hero::before { content:""; position:absolute; width:560px; height:260px; border-radius:50%; background:rgba(186,237,210,.3); filter: blur(45px); top:10px; left:50%; transform:translateX(-50%); pointer-events:none; }
.hero > * { position: relative; }
.eyebrow { color:var(--muted); font-size:14px; font-weight:700; letter-spacing:-.1px; }
.hero h1 { max-width:1080px; margin:14px auto 18px; color:var(--ink); font-size:clamp(38px,4.3vw,58px); font-weight:800; line-height:1.06; letter-spacing:-2.8px; }
.hero > p { max-width:760px; margin:0 auto; color:var(--muted); font-size:16px; line-height:1.6; }
.hero > p strong { display:block; margin-top:5px; color:var(--ink); font-size:inherit; font-weight:700; }
.scenario-label { margin:24px auto 8px; color:#63736d; font-size:11px; font-weight:800; letter-spacing:.35px; }
.scenario-tabs { margin: 0 auto; display: inline-flex; padding: 5px; gap: 3px; border-radius: 14px; background: #e8edeb; box-shadow: inset 0 0 0 1px rgba(20,37,33,.04); }
.scenario-tabs button { border: 0; background: transparent; padding: 10px 16px; border-radius: 10px; font-size: 12px; color: #65736f; cursor: pointer; transition: .2s; }
.scenario-tabs button:hover { color: var(--ink); }
.scenario-tabs button.active { background: var(--white); color: var(--green); font-weight: 800; box-shadow: 0 3px 14px rgba(21,58,46,.09); }

.planner { width: min(1500px, calc(100% - 40px)); margin: 26px auto 30px; display: grid; grid-template-columns: 290px minmax(430px, 1fr) 400px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); min-height: 700px; }
.catalog, .workspace, .result-panel { padding: 28px; min-width: 0; }
.catalog { background: #fbfcfc; border-right: 1px solid var(--line); }
.workspace { border-right: 1px solid var(--line); }
.result-panel { background: #f8faf9; }
.result-tabs { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:6px; margin:-8px 0 24px; border:1px solid #d8e5df; border-radius:16px; background:#e9f1ed; box-shadow:inset 0 1px 0 rgba(255,255,255,.82); }
.result-tabs button { min-width:0; min-height:48px; border:1px solid transparent; border-radius:11px; padding:10px 12px; display:flex; align-items:center; justify-content:center; gap:8px; color:#436359; background:rgba(255,255,255,.76); box-shadow:0 3px 10px rgba(18,58,44,.05); cursor:pointer; font-size:12px; font-weight:750; line-height:1.2; transition:transform .2s ease,box-shadow .2s ease,background .2s ease; }
.result-tabs button:hover { transform:translateY(-1px); box-shadow:0 7px 16px rgba(18,58,44,.1); }
.result-tabs .station-tab { color:#0b6b50; border-color:#b6dccd; }
.result-tabs .solar-tab { color:#6e5403; border-color:#ead694; background:#fffbed; }
.result-tabs .station-tab.active { color:white; border-color:#0b6b50; background:linear-gradient(135deg,#0b6b50,#128765); box-shadow:0 8px 20px rgba(11,107,80,.24); }
.result-tabs .solar-tab.active { color:#2f2a13; border-color:#e4b637; background:linear-gradient(135deg,#f8d76f,#dff49b); box-shadow:0 8px 20px rgba(181,140,27,.2); }
.step-label { margin: 0 0 5px; color: #85918d; font-size: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: 1.2px; }
.step-label.mint { color: #3b8a70; }
h2 { font-size: 18px; margin: 0; letter-spacing: -.5px; }
.catalog-head, .selection-head, .result-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.close-catalog { display:none; }
.search { height: 42px; border: 1px solid var(--line); border-radius: 11px; display:flex; align-items:center; gap:9px; padding:0 12px; color:#81908a; background:var(--white); }
.search:focus-within { border-color:#8bcbb2; box-shadow:0 0 0 3px rgba(11,107,80,.08); }
.search input { width:100%; border:0; outline:0; background:transparent; font-size:12px; color:var(--ink); }
.search input::placeholder { color:#9aa5a1; }
.category-chips { display:flex; gap:6px; overflow:auto; margin:14px -2px 15px; padding:2px; scrollbar-width:none; }
.category-chips::-webkit-scrollbar { display:none; }
.category-chips button { white-space:nowrap; cursor:pointer; background:transparent; border:1px solid #dfe6e3; padding:6px 9px; border-radius:999px; font-size:10px; color:#71807a; }
.category-chips button.active { color:var(--green); border-color:#b5decf; background:var(--mint-light); font-weight:700; }
.appliance-list { display:flex; flex-direction:column; gap:7px; max-height:474px; overflow:auto; padding-right:3px; scrollbar-color:#cbd6d1 transparent; }
.appliance-option { min-height:54px; border:1px solid transparent; border-radius:12px; padding:9px; width:100%; background:transparent; display:grid; grid-template-columns:36px 1fr 26px; align-items:center; text-align:left; gap:9px; cursor:pointer; touch-action:manipulation; transition:.18s; }
.appliance-option:hover { background:var(--white); border-color:var(--line); transform:translateY(-1px); }
.appliance-option.selected { opacity:1; color:var(--green-dark); border-color:#b7ddce; background:#eaf8f1; cursor:pointer; }
.appliance-option.selected:hover { border-color:#89c8b0; background:#def3e9; }
.appliance-icon, .device-icon { display:grid; place-items:center; color:var(--green); background:#edf7f2; border-radius:10px; width:36px; height:36px; }
.appliance-copy { display:flex; flex-direction:column; min-width:0; }
.appliance-copy strong { font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.appliance-copy small { font-size:9px; color:#89958f; margin-top:3px; }
.add-icon { width:24px; height:24px; border-radius:8px; display:grid; place-items:center; color:var(--green); border:1px solid #d9e7e1; background:var(--white); pointer-events:none; }
.selected .add-icon { color:var(--white); background:var(--green); border-color:var(--green); }
.catalog-note { display:flex; gap:8px; color:#81908a; font-size:9px; line-height:1.5; padding-top:17px; margin-top:15px; border-top:1px solid var(--line); }
.catalog-note svg { flex:0 0 auto; }

.count-badge, .status-dot { font-size:10px; border-radius:999px; padding:6px 9px; }
.count-badge { color:#65746f; background:#f1f4f3; }
.status-dot { color:#167457; background:#e6f5ee; font-weight:700; display:flex; align-items:center; gap:6px; }
.status-dot::before { content:""; width:6px; height:6px; border-radius:50%; background:#48b88c; box-shadow:0 0 0 3px rgba(72,184,140,.14); }
.selected-list { display:flex; flex-direction:column; gap:10px; }
.selected-device { position:relative; display:grid; grid-template-columns:42px minmax(0,1fr) 64px; gap:12px; align-items:start; padding:14px; border:1px solid var(--line); border-radius:14px; transition:.2s; }
.selected-device:hover { border-color:#cddbd5; box-shadow:0 7px 24px rgba(18,58,44,.05); }
.device-icon { width:42px; height:42px; border-radius:12px; }
.device-title-row { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.device-title-row > strong { font-size:12px; }
.remove { border:0; background:transparent; color:#9ba5a1; padding:0; cursor:pointer; display:none; }
.selected-device:hover .remove { display:grid; }
.device-controls { display:grid; grid-template-columns:90px 96px minmax(110px,1fr); gap:14px; margin-top:11px; }
.device-controls label { display:flex; flex-direction:column; gap:5px; }
.device-controls label > span:first-child { color:#85918c; font-size:8px; text-transform:uppercase; letter-spacing:.4px; }
.number-input { height:28px; padding:0 7px; display:flex; align-items:center; border:1px solid #e1e7e4; border-radius:8px; background:#fafbfb; }
.number-input input { min-width:0; width:100%; border:0; background:transparent; outline:0; font-size:10px; font-weight:700; color:var(--ink); }
.number-input input::-webkit-inner-spin-button { display:none; }
.number-input b { font-size:8px; color:#8b9792; }
.stepper { height:28px; display:flex; justify-content:space-between; align-items:center; border:1px solid #e1e7e4; border-radius:8px; background:#fafbfb; overflow:hidden; }
.stepper button { border:0; background:transparent; width:27px; height:100%; cursor:pointer; color:#71807a; }
.stepper button:hover { background:#edf3f0; }
.stepper b { font-size:10px; }
.hours-control > span { display:flex; justify-content:space-between; }
.hours-control > span b { color:var(--green); font-size:9px; }
input[type="range"] { appearance:none; margin:9px 0 0; width:100%; height:3px; border-radius:9px; background:#dfe7e3; accent-color:var(--green); }
input[type="range"]::-webkit-slider-thumb { appearance:none; width:12px; height:12px; border-radius:50%; background:var(--green); border:2px solid white; box-shadow:0 0 0 1px var(--green); cursor:pointer; }
.device-energy { align-self:center; text-align:right; padding-top:8px; }
.device-energy strong { display:block; color:var(--green); font-size:14px; }
.device-energy span { display:block; color:#929d99; font-size:8px; margin-top:2px; }
.empty-state { height:200px; border:1px dashed #cfdbd6; border-radius:14px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; color:#83908b; text-align:center; }
.empty-state strong { color:var(--ink); font-size:13px; }
.empty-state span { max-width:260px; font-size:10px; }
.calculation-note { display:flex; align-items:center; gap:8px; color:#75837e; background:#f5f8f7; border-radius:10px; padding:10px 12px; font-size:9px; margin-top:14px; }
.calculation-note svg { color:var(--green); flex:0 0 auto; }

.recommendation-card { position:relative; min-height:156px; border-radius:18px; padding:22px; color:white; background:linear-gradient(135deg,#0b6b50,#07513d); overflow:hidden; display:grid; grid-template-columns:132px 1fr; align-items:center; gap:11px; box-shadow:0 16px 32px rgba(7,81,61,.17); }
.recommendation-card::after { content:""; position:absolute; width:190px; height:190px; border-radius:50%; border:36px solid rgba(255,255,255,.045); right:-90px; top:-72px; }
.station-visual { width:120px; height:115px; position:relative; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; filter:drop-shadow(0 13px 12px rgba(2,28,20,.28)); }
.station-handle { width:65px; height:24px; border:8px solid #1c352f; border-bottom:0; border-radius:12px 12px 0 0; margin-bottom:-3px; }
.station-body { position:relative; width:112px; height:85px; border-radius:13px; background:linear-gradient(145deg,#263f38,#142823); border:1px solid rgba(255,255,255,.19); box-shadow:inset 0 1px 0 rgba(255,255,255,.17); }
.station-screen { position:absolute; width:58px; height:34px; background:#b9f6d6; border:4px solid #0a1915; border-radius:5px; top:13px; left:12px; display:flex; align-items:center; justify-content:center; color:#0e3328; }
.station-screen span { font-size:11px; font-weight:800; }
.station-screen small { font-size:5px; margin-left:2px; }
.station-screen i { position:absolute; bottom:4px; left:7px; right:7px; height:3px; background:#7fb79e; border-radius:3px; }
.station-screen i::after { content:""; display:block; width:72%; height:100%; background:#0b6b50; border-radius:3px; }
.station-ports { position:absolute; right:11px; top:16px; display:grid; grid-template-columns:repeat(2,10px); gap:7px; }
.station-ports b { width:10px; height:10px; border:2px solid #7a8d86; border-radius:50%; background:#07110e; }
.station-ports b:last-child { grid-column:1 / span 2; width:27px; height:12px; border-radius:3px; }
.charge-bolt { position:absolute; width:35px; height:35px; right:-2px; bottom:-3px; border-radius:50%; display:grid; place-items:center; color:#173323; background:var(--lime); border:4px solid rgba(11,107,80,.9); }
.class-copy { position:relative; z-index:1; min-width:0; }
.class-copy small { display:block; color:#a8d9c7; font-size:9px; margin-bottom:6px; }
.class-copy > strong { display:block; font-size:27px; line-height:1; letter-spacing:-1px; white-space:nowrap; }
.class-copy > strong span { font-size:11px; font-weight:600; color:#b4dfd0; letter-spacing:0; }
.class-copy p { color:#c6e5da; font-size:9px; line-height:1.5; margin:10px 0 0; }
.inline-copy-action { position:relative; z-index:2; min-height:34px; margin-top:11px; padding:7px 10px; border:1px solid rgba(255,255,255,.42); border-radius:9px; display:inline-flex; align-items:center; justify-content:center; gap:6px; color:white; background:rgba(255,255,255,.1); cursor:pointer; font-size:9px; font-weight:800; transition:.2s; }
.inline-copy-action:hover { border-color:rgba(255,255,255,.72); background:rgba(255,255,255,.17); }
.solar-card { position:relative; min-height:145px; border-radius:18px; padding:21px; overflow:hidden; display:grid; grid-template-columns:125px 1fr; align-items:center; gap:10px; color:#163127; background:linear-gradient(135deg,#d9f49f,#a9e6bf); box-shadow:0 16px 32px rgba(62,130,92,.13); }
.solar-card::after { content:""; position:absolute; width:180px; height:180px; border-radius:50%; border:34px solid rgba(255,255,255,.2); right:-95px; top:-80px; }
.solar-visual { width:112px; height:105px; position:relative; }
.solar-sun { position:absolute; right:4px; top:0; width:47px; height:47px; display:grid; place-items:center; border-radius:50%; color:#876b03; background:#fff6a7; box-shadow:0 7px 18px rgba(112,96,27,.15); }
.solar-panel-icon { position:absolute; left:5px; bottom:3px; width:82px; height:65px; display:grid; place-items:center; border-radius:10px; color:#e1f5eb; background:linear-gradient(145deg,#155946,#0b3f31); transform:perspective(120px) rotateX(7deg) rotateZ(-3deg); box-shadow:0 12px 18px rgba(18,65,50,.2); }
.solar-copy { color:#17352a; position:relative; z-index:1; }
.solar-copy small { color:#4e7566; }
.solar-copy > strong span { color:#4b7464; }
.solar-copy p { color:#466c5d; }
.solar-copy-action { color:#174d3c; border-color:rgba(23,77,60,.3); background:rgba(255,255,255,.28); }
.solar-copy-action:hover { border-color:rgba(23,77,60,.55); background:rgba(255,255,255,.48); }
.solar-season-card { margin-top:12px; padding:14px; border:1px solid var(--line); border-radius:13px; background:white; }
.solar-region-select { display:flex; flex-direction:column; gap:6px; }
.solar-region-select > span { color:#7c8a85; font-size:8px; text-transform:uppercase; letter-spacing:.45px; }
.solar-region-select select { appearance:none; width:100%; height:34px; border:1px solid #dbe5e1; border-radius:9px; padding:0 34px 0 10px; background:#f8faf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230b6b50' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; color:var(--ink); font-size:10px; font-weight:700; cursor:pointer; }
.solar-region-select select:focus { border-color:#8bcbb2; outline:3px solid rgba(11,107,80,.1); }
.region-resource { display:flex; justify-content:space-between; gap:8px; padding:8px 0 11px; margin-bottom:11px; border-bottom:1px solid #edf1ef; color:#89958f; font-size:7px; }
.region-resource b { color:#527064; }
.season-switch { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin-top:10px; }
.season-switch button { min-width:0; border:1px solid #e0e7e4; border-radius:9px; background:#f8faf9; padding:8px 5px; cursor:pointer; display:flex; flex-direction:column; align-items:center; gap:3px; }
.season-switch button strong { font-size:8px; }
.season-switch button small { color:#89958f; font-size:6.5px; white-space:nowrap; }
.season-switch button.active { color:var(--green); border-color:#a9d8c5; background:#eaf8f1; }
.solar-season-card > p { display:flex; gap:5px; align-items:flex-start; color:#83908b; font-size:7px; line-height:1.45; margin:10px 0 0; }
.solar-season-card > p svg { color:var(--green); flex:0 0 auto; }
.solar-metrics { margin-top:8px; }
.solar-check-card { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:15px 0; margin-top:14px; }
.solar-slider-label { display:flex; justify-content:space-between; color:#7b8984; font-size:8px; margin-top:13px; }
.solar-slider-label b { color:var(--green); font-size:10px; }
.solar-range { margin-top:10px !important; }
.solar-input-row { display:grid; grid-template-columns:1fr auto; gap:9px; align-items:end; margin-top:13px; }
.solar-input-row > label { display:flex; flex-direction:column; gap:5px; }
.solar-input-row > label > span:first-child { color:#82908b; font-size:7px; }
.solar-input-row .number-input { width:120px; }
.solar-input-row > button { height:28px; border:1px solid #c9ddd5; background:#eef8f3; color:var(--green); border-radius:8px; padding:0 9px; cursor:pointer; font-size:7.5px; font-weight:700; }
.solar-input-row > button:hover { background:#dff2e9; }
.solar-coverage { margin-top:13px; }
.solar-facts { display:flex; justify-content:space-between; gap:12px; color:#83908b; font-size:7.5px; margin-top:10px; }
.solar-facts b { color:#45685b; }
.solar-safety { margin-top:12px; }
.metric-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:12px; }
.metric { background:var(--white); border:1px solid var(--line); border-radius:12px; padding:12px; }
.metric > span { display:block; color:#7a8983; font-size:8px; margin-bottom:5px; }
.metric > strong { font-size:16px; }
.metric > strong small { color:#8a9691; font-size:8px; }
.metric.wide { grid-column:1 / -1; display:grid; grid-template-columns:1fr auto; align-items:center; }
.metric.wide > span { margin:0; }
.metric.wide i { grid-column:1 / -1; height:4px; margin-top:9px; border-radius:9px; background:#e5ebe8; overflow:hidden; }
.metric.wide i b { display:block; height:100%; border-radius:9px; background:linear-gradient(90deg,var(--green),#56bd94); }
.runtime-card { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:17px 0; margin-top:16px; }
.runtime-head { display:flex; justify-content:space-between; align-items:center; font-size:10px; color:#71807a; }
.runtime-head strong { font-size:14px; color:var(--green); }
.capacity-switch { display:grid; grid-template-columns:repeat(3,1fr); padding:3px; background:#e9eeec; border-radius:10px; margin-top:10px; }
.capacity-switch button { border:0; border-radius:8px; background:transparent; cursor:pointer; padding:7px; font-size:9px; color:#75837e; }
.capacity-switch button.active { background:white; color:var(--green); font-weight:800; box-shadow:0 2px 8px rgba(15,54,41,.08); }
.coverage { display:flex; align-items:center; gap:9px; margin-top:11px; }
.coverage i { height:4px; flex:1; background:#e0e7e4; border-radius:9px; overflow:hidden; }
.coverage i b { display:block; height:100%; background:var(--lime); border-radius:9px; transition:.35s; }
.coverage span { color:#74827d; font-size:8px; white-space:nowrap; }
.safety-list { display:flex; flex-wrap:wrap; gap:8px 14px; margin:14px 0; }
.safety-list div { display:flex; align-items:center; gap:4px; color:#687771; font-size:8px; }
.safety-list svg { color:#278365; }
.primary-action { width:100%; min-height:46px; border:0; background:linear-gradient(135deg,var(--ink),var(--green)); color:white; border-radius:12px; padding:13px 16px; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:9px; font-size:11.5px; font-weight:800; transition:.2s; box-shadow:0 9px 20px rgba(11,68,51,.14); }
.primary-action b { color:var(--lime); font-size:17px; line-height:1; }
.primary-action:hover { background:linear-gradient(135deg,var(--green-dark),#0e8663); transform:translateY(-1px); box-shadow:0 12px 24px rgba(11,107,80,.24); }
.copy-fallback { margin-top:12px; padding:14px; border:1px solid #d9b75b; border-radius:14px; background:#fff9e8; color:#473a18; }
.copy-fallback p { margin:5px 0 10px; font-size:13px; }
.copy-fallback textarea { width:100%; min-height:116px; resize:vertical; border:1px solid #d8c98f; border-radius:9px; padding:9px; background:#fff; color:#2d2a21; font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.copy-fallback button { margin-top:8px; border:1px solid #8d762f; border-radius:9px; padding:8px 12px; background:#fff; color:#514018; font-weight:700; cursor:pointer; }
.disclaimer { color:#929d99; font-size:7.5px; line-height:1.5; text-align:center; max-width:290px; margin:10px auto 0; }
.model-modal-backdrop { position:fixed; z-index:100; inset:0; padding:34px; display:flex; align-items:center; justify-content:center; overflow:auto; background:rgba(7,29,22,.72); backdrop-filter:blur(8px); animation:modal-fade .18s ease-out; }
.model-modal { position:relative; width:min(1180px,100%); max-height:calc(100vh - 68px); overflow:auto; border-radius:26px; padding:32px; background:#f7faf8; box-shadow:0 34px 100px rgba(1,24,16,.34); animation:modal-rise .24s ease-out; }
.model-modal-close { position:absolute; z-index:2; right:20px; top:20px; width:38px; height:38px; border:1px solid #dce5e1; border-radius:12px; display:grid; place-items:center; background:white; cursor:pointer; color:#5e7069; }
.model-modal-close:hover { color:var(--green); border-color:#b9d8cc; }
.model-modal-heading { padding-right:54px; }
.model-modal-heading h2 { font-size:28px; letter-spacing:-1px; }
.model-modal-heading > p:last-child { max-width:760px; margin:10px 0 24px; color:#697a74; font-size:12px; line-height:1.55; }
.model-modal-heading > p b { color:var(--green); }
.model-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.model-card { min-width:0; display:flex; flex-direction:column; padding:18px; border:1px solid #dde7e3; border-radius:19px; background:white; box-shadow:0 9px 30px rgba(17,58,44,.06); }
.model-card.balanced { border-color:#9fd1bd; box-shadow:0 12px 34px rgba(11,107,80,.11); }
.model-card-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.tier-pill { padding:6px 9px; border-radius:999px; background:#eef3f1; color:#5f706a; font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.65px; }
.model-card.balanced .tier-pill { color:#0b6b50; background:#dff4ea; }
.model-card.premium .tier-pill { color:#6c5420; background:#f7edcf; }
.availability { display:flex; align-items:center; gap:5px; color:#72817b; font-size:8px; white-space:nowrap; }
.availability i { width:6px; height:6px; border-radius:50%; background:#36a97e; box-shadow:0 0 0 3px rgba(54,169,126,.13); }
.model-product { display:grid; grid-template-columns:128px minmax(0,1fr); align-items:center; gap:14px; min-height:128px; margin:13px 0 12px; }
.model-photo-wrap { position:relative; width:128px; height:108px; overflow:hidden; border:1px solid #e3e9e6; border-radius:14px; background:linear-gradient(145deg,#fff,#f4f7f5); box-shadow:0 10px 24px rgba(13,41,32,.09); }
.model-product-fallback { position:absolute; inset:0; display:grid; place-items:center; color:#267a60; background:linear-gradient(145deg,#edf7f2,#dceee6); font-size:23px; font-weight:900; letter-spacing:-1px; }
.model-product-photo { position:absolute; z-index:1; inset:0; width:100%; height:100%; padding:5px; object-fit:contain; background:white; transition:transform .25s ease; }
.model-card:hover .model-product-photo { transform:scale(1.035); }
.photo-badge { position:absolute; z-index:2; left:6px; bottom:6px; padding:4px 6px; border-radius:999px; color:#536761; background:rgba(255,255,255,.9); box-shadow:0 2px 8px rgba(10,35,27,.1); font-size:6px; font-weight:800; text-transform:uppercase; letter-spacing:.45px; }
.model-product small { display:block; color:#83918c; font-size:8px; text-transform:uppercase; letter-spacing:.7px; }
.model-product h3 { margin:3px 0 7px; font-size:15px; line-height:1.22; letter-spacing:-.25px; }
.model-product p { margin:0; color:var(--green); font-size:17px; font-weight:900; letter-spacing:-.3px; }
.model-specs { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.model-specs > span { padding:9px 10px; border-radius:10px; background:#f2f6f4; }
.model-specs small,.model-specs b { display:block; }
.model-specs small { color:#87948f; font-size:7px; margin-bottom:3px; }
.model-specs b { font-size:10px; }
.model-fit { display:flex; align-items:center; gap:6px; margin:9px 0 14px; padding:8px 9px; border-radius:9px; color:#187052; background:#eaf7f1; font-size:8px; font-weight:700; }
.model-fit.input-warning { color:#8a5d23; background:#fbf2df; }
.solar-model-product { margin-bottom:9px; }
.solar-photo-wrap { height:116px; }
.kit-price-note { display:block; margin-top:4px; color:#85928d; font-size:7px; }
.panel-type { min-height:28px; margin-top:8px; color:#71817b; font-size:8px; line-height:1.45; }
.model-points { padding-top:10px; border-top:1px solid #edf1ef; }
.model-points + .model-points { margin-top:7px; }
.model-points > strong { display:block; margin-bottom:6px; color:#52655e; font-size:8px; text-transform:uppercase; letter-spacing:.6px; }
.model-points p { display:grid; grid-template-columns:14px 1fr; gap:5px; margin:4px 0; color:#667770; font-size:9px; line-height:1.45; }
.model-points p span { font-weight:900; color:#27906b; }
.model-points.cons p span { color:#b57a44; }
.seller-link { display:flex; align-items:center; justify-content:center; gap:7px; margin-top:auto; padding:11px 12px; border-radius:10px; color:white; background:var(--ink); text-decoration:none; font-size:9px; font-weight:800; }
.seller-link:hover { background:var(--green); }
.seller-note { display:block; margin-top:7px; text-align:center; color:#929e99; font-size:7px; }
.market-note { display:flex; align-items:flex-start; gap:9px; margin-top:16px; padding:12px 14px; border:1px solid #dfe8e4; border-radius:12px; color:#71817a; background:#eef4f1; }
.market-note svg { flex:0 0 auto; color:var(--green); }
.market-note p { margin:0; font-size:9px; line-height:1.55; }
.market-note b { color:#435b52; }
@keyframes modal-fade { from { opacity:0; } }
@keyframes modal-rise { from { opacity:0; transform:translateY(10px) scale(.99); } }
.mobile-catalog-button, .scrim { display:none; }

.seo-guide { width:min(1180px,calc(100% - 40px)); margin:58px auto 48px; }
.seo-guide-intro { max-width:790px; }
.seo-kicker { margin:0 0 8px; color:var(--green); font-size:10px; font-weight:800; letter-spacing:1px; text-transform:uppercase; }
.seo-guide-intro h2,.faq-heading h2 { margin:0; font-size:clamp(28px,3.2vw,42px); line-height:1.08; letter-spacing:-1.8px; }
.seo-guide-intro > p:last-child { margin:16px 0 0; color:var(--muted); font-size:15px; line-height:1.65; }
.seo-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:28px; }
.seo-steps article { min-height:190px; padding:22px; border:1px solid var(--line); border-radius:18px; background:var(--white); box-shadow:0 12px 32px rgba(24,57,46,.05); }
.seo-steps article > span { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; color:var(--green); background:var(--mint-light); font-size:10px; font-weight:800; }
.seo-steps h3 { margin:20px 0 8px; font-size:17px; letter-spacing:-.45px; }
.seo-steps p { margin:0; color:var(--muted); font-size:12px; line-height:1.6; }
.method-card { display:grid; grid-template-columns:230px minmax(0,1fr) auto; gap:24px; align-items:center; margin-top:12px; padding:22px 24px; border-radius:18px; color:white; background:linear-gradient(135deg,var(--green-dark),var(--green)); }
.method-card .seo-kicker { color:#bdebd8; }
.method-card h3 { margin:0; font-size:19px; letter-spacing:-.55px; }
.method-card > p { margin:0; color:#d4eee4; font-size:11px; line-height:1.6; }
.method-card small { max-width:145px; color:#b9dece; font-size:8px; line-height:1.45; text-align:right; }
.faq-block { display:grid; grid-template-columns:340px minmax(0,1fr); gap:56px; margin-top:64px; align-items:start; }
.faq-heading { position:sticky; top:24px; }
.faq-list { border-top:1px solid #dce5e1; }
.faq-list details { border-bottom:1px solid #dce5e1; }
.faq-list summary { position:relative; padding:18px 38px 18px 0; cursor:pointer; color:var(--ink); font-size:13px; font-weight:750; line-height:1.4; list-style:none; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:"+"; position:absolute; right:2px; top:50%; width:24px; height:24px; display:grid; place-items:center; border-radius:8px; color:var(--green); background:var(--mint-light); font-size:17px; font-weight:500; transform:translateY(-50%); }
.faq-list details[open] summary::after { content:"−"; }
.faq-list details p { max-width:700px; margin:-2px 40px 18px 0; color:var(--muted); font-size:12px; line-height:1.65; }

footer { max-width:1460px; margin:0 auto; padding:26px 32px 32px; border-top:1px solid #e1e7e4; color:#84918c; font-size:10px; display:grid; grid-template-columns:1fr auto 1fr; gap:20px 24px; align-items:center; }
.donation-support { grid-column:1 / -1; width:100%; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:26px; align-items:center; padding:24px 26px; overflow:hidden; border-radius:20px; color:white; background:linear-gradient(135deg,#102b23,#0b6b50); box-shadow:0 16px 38px rgba(8,61,45,.14); }
.donation-copy { max-width:760px; }
.donation-kicker { margin:0 0 6px; color:var(--lime); font-size:9px; font-weight:850; letter-spacing:1px; text-transform:uppercase; }
.donation-support h2 { margin:0; color:white; font-size:23px; letter-spacing:-.7px; }
.donation-copy > p:not(.donation-kicker) { margin:8px 0 0; color:#d5eae2; font-size:12px; line-height:1.55; }
.donation-copy .donation-legal { max-width:710px; color:#b8d1c8; font-size:9px; }
.donation-links { display:flex; flex-wrap:wrap; gap:7px 14px; margin-top:11px; }
.donation-links a { color:#dff5eb; font-size:9px; text-decoration:none; border-bottom:1px solid rgba(223,245,235,.38); }
.donation-links a:hover { color:var(--lime); border-bottom-color:currentColor; }
.donation-qr-link { width:144px; padding:8px; border:1px solid rgba(255,255,255,.22); border-radius:15px; display:flex; flex-direction:column; gap:7px; color:#d7eee5; background:rgba(255,255,255,.09); text-align:center; text-decoration:none; transition:.2s; }
.donation-qr-link:hover { transform:translateY(-2px); border-color:rgba(200,239,130,.66); background:rgba(255,255,255,.14); }
.donation-qr-link img { width:126px; height:126px; display:block; border-radius:10px; background:white; }
.donation-qr-link span { padding:0 3px 2px; font-size:8px; line-height:1.35; }
.footer-brand { display:flex; align-items:center; gap:8px; color:var(--ink); }
.footer-brand .brand-mark { width:25px; height:25px; border-radius:8px; }
.developer-credit { justify-self:center; }
.developer-credit a { color:var(--green); font-weight:800; text-decoration:none; border-bottom:1px solid rgba(11,107,80,.3); transition:.2s; }
.developer-credit a:hover { color:#064b38; border-bottom-color:currentColor; }
.footer-privacy-links { justify-self:end; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px 14px; }
.footer-privacy-links a,.footer-privacy-links button { padding:0; border:0; border-bottom:1px solid #c6d1cd; color:#687872; background:transparent; font:inherit; text-decoration:none; cursor:pointer; }
.footer-privacy-links a:hover,.footer-privacy-links button:hover { color:var(--green); border-bottom-color:currentColor; }

.analytics-consent { position:fixed; z-index:130; right:22px; bottom:22px; width:min(620px,calc(100% - 44px)); display:grid; grid-template-columns:minmax(0,1fr) auto; gap:22px; align-items:center; padding:18px 19px; border:1px solid rgba(200,239,130,.55); border-radius:18px; color:white; background:rgba(15,37,31,.97); box-shadow:0 24px 70px rgba(4,24,18,.3); backdrop-filter:blur(12px); animation:modal-rise .24s ease-out; }
.analytics-consent-copy strong { display:block; margin-bottom:6px; font-size:13px; }
.analytics-consent-copy p { margin:0; color:#cbd9d4; font-size:10px; line-height:1.55; }
.analytics-consent-copy a { color:var(--lime); text-decoration:none; border-bottom:1px solid rgba(200,239,130,.45); }
.analytics-consent-actions { display:flex; gap:8px; }
.analytics-consent-actions button { min-height:36px; padding:0 13px; border-radius:10px; cursor:pointer; font-size:9px; font-weight:800; white-space:nowrap; }
.analytics-accept { border:1px solid var(--lime); color:var(--ink); background:var(--lime); }
.analytics-consent-actions button:hover { transform:translateY(-1px); }

.privacy-page { min-height:100vh; padding:0 24px 80px; background:linear-gradient(180deg,#f7faf8 0,#f2f6f4 100%); }
.privacy-page-header { width:min(980px,100%); min-height:78px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:18px; border-bottom:1px solid var(--line); }
.privacy-back { color:var(--green); font-size:12px; font-weight:750; text-decoration:none; }
.privacy-document { width:min(820px,100%); margin:58px auto 0; padding:42px 48px; border:1px solid var(--line); border-radius:24px; background:white; box-shadow:var(--shadow); }
.privacy-document h1 { margin:0; font-size:clamp(34px,5vw,52px); line-height:1.04; letter-spacing:-2px; }
.privacy-lead { margin:18px 0 38px; color:var(--muted); font-size:15px; line-height:1.65; }
.privacy-document section { padding:23px 0; border-top:1px solid #e8eeeb; }
.privacy-document section:last-child { padding-bottom:0; }
.privacy-document h2 { margin:0 0 10px; font-size:18px; }
.privacy-document section p { margin:8px 0 0; color:#5e6f69; font-size:13px; line-height:1.7; }
.privacy-document a { color:var(--green); }
.privacy-settings-link { display:inline-flex; margin-top:16px; padding:11px 14px; border-radius:10px; color:white !important; background:var(--ink); font-size:11px; font-weight:800; text-decoration:none; }

/* Blog and editorial articles */
.blog-page,.article-page { min-height:100vh; background:linear-gradient(180deg,#f7faf8 0,#f3f7f5 46%,#f7f9f8 100%); }
.blog-topbar { width:min(1460px,100%); height:72px; margin:0 auto; padding:0 32px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid rgba(221,230,226,.8); }
.blog-nav { display:flex; align-items:center; gap:8px; padding:4px; border-radius:11px; background:#e9efec; }
.blog-nav a { padding:8px 12px; border-radius:8px; color:#64756f; font-size:11px; font-weight:750; text-decoration:none; }
.blog-nav a:hover,.blog-nav a[aria-current="page"] { color:var(--green); background:white; box-shadow:0 2px 10px rgba(15,54,41,.07); }
.blog-hero { width:min(1040px,calc(100% - 40px)); margin:0 auto; padding:78px 0 54px; text-align:center; }
.blog-hero h1 { max-width:900px; margin:12px auto 18px; font-size:clamp(42px,6vw,70px); line-height:1.01; letter-spacing:-3.6px; }
.blog-hero > p:not(.seo-kicker) { max-width:720px; margin:0 auto; color:var(--muted); font-size:17px; line-height:1.65; }
.blog-primary-link { display:inline-flex; margin-top:26px; padding:13px 18px; border-radius:12px; color:white; background:var(--ink); font-size:12px; font-weight:800; text-decoration:none; box-shadow:0 12px 26px rgba(20,37,33,.13); }
.blog-primary-link:hover { background:var(--green); transform:translateY(-1px); }
.blog-grid { width:min(1180px,calc(100% - 40px)); margin:0 auto 64px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.blog-card { min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:22px; background:white; box-shadow:0 15px 40px rgba(24,57,46,.055); }
.blog-card.featured { grid-column:1 / -1; display:grid; grid-template-columns:1.15fr 1fr; }
.blog-card-image { display:block; min-height:260px; overflow:hidden; background:#e7efeb; }
.blog-card.featured .blog-card-image { min-height:410px; }
.blog-card-image img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .35s ease; }
.blog-card:hover .blog-card-image img { transform:scale(1.025); }
.blog-card-copy { padding:25px 26px 27px; }
.blog-card.featured .blog-card-copy { align-self:center; padding:42px; }
.article-meta { display:flex; align-items:center; gap:10px; color:#7a8a84; font-size:9px; font-weight:800; letter-spacing:.65px; text-transform:uppercase; }
.article-meta span + span::before { content:"·"; margin-right:10px; }
.blog-card h2 { margin:13px 0 10px; font-size:clamp(23px,2.3vw,32px); line-height:1.08; letter-spacing:-1.2px; }
.blog-card h2 a { color:var(--ink); text-decoration:none; }
.blog-card h2 a:hover { color:var(--green); }
.blog-card-copy > p { margin:0; color:var(--muted); font-size:12px; line-height:1.65; }
.text-link { display:inline-flex; align-items:center; gap:8px; margin-top:20px; color:var(--green); font-size:11px; font-weight:800; text-decoration:none; }
.text-link span { font-size:16px; transition:transform .2s; }
.text-link:hover span { transform:translateX(3px); }
.blog-calculator-cta { width:min(1180px,calc(100% - 40px)); margin:0 auto 72px; padding:30px 34px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:32px; align-items:center; border-radius:22px; color:white; background:linear-gradient(135deg,var(--green-dark),var(--green)); box-shadow:0 22px 50px rgba(7,81,61,.16); }
.blog-calculator-cta .seo-kicker,.article-calculator-cta .seo-kicker { color:#bdebd8; }
.blog-calculator-cta h2,.article-calculator-cta h2 { margin:0; font-size:26px; letter-spacing:-1px; }
.blog-calculator-cta div > p:last-child,.article-calculator-cta > p { margin:8px 0 0; max-width:680px; color:#d1e9df; font-size:12px; line-height:1.6; }
.blog-calculator-cta > a,.article-calculator-cta > a { padding:13px 17px; border-radius:11px; color:var(--ink); background:var(--lime); font-size:11px; font-weight:850; text-decoration:none; white-space:nowrap; }
.blog-footer { width:min(1460px,100%); max-width:none; }

.article-hero { width:min(940px,calc(100% - 40px)); margin:0 auto; padding:56px 0 34px; text-align:center; }
.breadcrumbs { margin:0 auto 34px; display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:7px; color:#8a9792; font-size:10px; }
.breadcrumbs a { color:#60736b; text-decoration:none; }
.breadcrumbs a:hover { color:var(--green); }
.article-hero h1 { margin:12px auto 18px; font-size:clamp(42px,6.1vw,68px); line-height:1.01; letter-spacing:-3.3px; }
.article-deck { max-width:780px; margin:0 auto; color:var(--muted); font-size:17px; line-height:1.65; }
.article-byline { margin-top:25px; display:flex; justify-content:center; flex-wrap:wrap; gap:8px 18px; color:#76857f; font-size:10px; font-weight:700; }
.article-byline > * + *::before { content:"·"; margin-right:18px; color:#b1bcb8; }
.article-cover { width:min(1180px,calc(100% - 40px)); margin:0 auto 50px; }
.article-cover img { width:100%; height:auto; aspect-ratio:16 / 9; display:block; object-fit:cover; border-radius:26px; box-shadow:0 22px 65px rgba(20,50,40,.14); }
.article-cover figcaption { margin:8px 4px 0; color:#93a09b; font-size:8px; text-align:right; }
.article-layout { width:min(1120px,calc(100% - 40px)); margin:0 auto; display:grid; grid-template-columns:230px minmax(0,760px); justify-content:center; gap:64px; align-items:start; }
.article-toc { position:sticky; top:22px; padding:18px; border:1px solid var(--line); border-radius:15px; background:rgba(255,255,255,.82); box-shadow:0 10px 26px rgba(24,57,46,.04); }
.article-toc > strong { display:block; margin-bottom:10px; font-size:10px; text-transform:uppercase; letter-spacing:.8px; }
.article-toc nav { display:flex; flex-direction:column; }
.article-toc a { padding:7px 0; border-top:1px solid #edf1ef; color:#667872; font-size:9px; line-height:1.45; text-decoration:none; }
.article-toc a:hover { color:var(--green); }
.article-content { min-width:0; }
.quick-answer { padding:25px 28px; border:1px solid #b8dfcf; border-radius:18px; background:linear-gradient(135deg,#eefaf4,#e6f5ed); }
.quick-answer > p:last-child { margin:0; color:#31594b; font-size:15px; font-weight:650; line-height:1.72; }
.article-takeaways { margin:18px 0 52px; padding:25px 28px; border-radius:18px; color:white; background:var(--ink); }
.article-takeaways h2 { margin:0 0 14px; font-size:20px; }
.article-takeaways ul { margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:10px 28px; list-style:none; }
.article-takeaways li { position:relative; padding-left:18px; color:#d6e4df; font-size:11px; line-height:1.55; }
.article-takeaways li::before { content:"✓"; position:absolute; left:0; color:var(--lime); font-weight:900; }
.article-section { padding:12px 0 40px; scroll-margin-top:20px; }
.article-section + .article-section { padding-top:35px; border-top:1px solid #dfe7e3; }
.article-section h2,.article-faq h2,.article-sources h2 { margin:0 0 18px; font-size:clamp(28px,3.4vw,38px); line-height:1.08; letter-spacing:-1.5px; }
.article-section > p,.article-sources > p { margin:13px 0; color:#4f625b; font-size:15px; line-height:1.78; }
.article-section > ul { margin:19px 0 0; padding-left:0; list-style:none; display:grid; gap:9px; }
.article-section > ul li { position:relative; padding-left:24px; color:#4e625a; font-size:14px; line-height:1.62; }
.article-section > ul li::before { content:""; position:absolute; left:2px; top:.7em; width:7px; height:7px; border-radius:50%; background:var(--lime); box-shadow:0 0 0 3px rgba(11,107,80,.1); }
.article-formula { margin:22px 0; padding:22px 24px; border-radius:15px; color:#0b5f48; background:#e2f4eb; font-size:clamp(18px,3vw,25px); font-weight:850; line-height:1.3; letter-spacing:-.6px; text-align:center; }
.article-table-scroll { margin:22px 0; overflow:auto; border:1px solid #dbe5e1; border-radius:15px; background:white; }
.article-table-scroll:focus-visible { outline:3px solid rgba(11,107,80,.18); }
.article-table-scroll table { width:100%; min-width:620px; border-collapse:collapse; }
.article-table-scroll th,.article-table-scroll td { padding:13px 15px; border-bottom:1px solid #e7edea; color:#586963; font-size:11px; line-height:1.5; text-align:left; vertical-align:top; }
.article-table-scroll thead th { color:#37564b; background:#edf5f1; font-size:9px; letter-spacing:.45px; text-transform:uppercase; }
.article-table-scroll tbody th { color:var(--ink); font-weight:800; }
.article-table-scroll tr:last-child > * { border-bottom:0; }
.article-note,.article-warning { margin:19px 0 0; padding:17px 19px; border-radius:13px; }
.article-note { border-left:4px solid var(--green); background:#eef5f2; }
.article-warning { border-left:4px solid #d69d4a; background:#fbf4e9; }
.article-note strong,.article-warning strong { display:block; margin-bottom:5px; color:#36594c; font-size:9px; letter-spacing:.7px; text-transform:uppercase; }
.article-warning strong { color:#835c25; }
.article-note p,.article-warning p { margin:0; color:#586a63; font-size:12px; line-height:1.65; }
.article-calculator-cta { margin:18px 0 56px; padding:28px; border-radius:20px; color:white; background:linear-gradient(135deg,var(--green-dark),var(--green)); }
.article-calculator-cta > a { display:inline-flex; margin-top:18px; }
.article-faq { padding:6px 0 44px; scroll-margin-top:20px; }
.article-faq details { border-bottom:1px solid #dce5e1; }
.article-faq summary { position:relative; padding:17px 38px 17px 0; cursor:pointer; color:var(--ink); font-size:13px; font-weight:800; line-height:1.45; list-style:none; }
.article-faq summary::-webkit-details-marker { display:none; }
.article-faq summary::after { content:"+"; position:absolute; right:2px; top:50%; width:24px; height:24px; display:grid; place-items:center; border-radius:8px; color:var(--green); background:var(--mint-light); font-size:17px; transform:translateY(-50%); }
.article-faq details[open] summary::after { content:"−"; }
.article-faq details p { margin:-2px 36px 17px 0; color:var(--muted); font-size:12px; line-height:1.67; }
.article-sources { padding:28px; border:1px solid var(--line); border-radius:18px; background:white; }
.article-sources h2 { font-size:22px; letter-spacing:-.7px; }
.article-sources > p { font-size:12px; line-height:1.67; }
.article-sources ul { margin:15px 0; padding-left:18px; }
.article-sources li { margin:7px 0; color:#74847e; font-size:10px; }
.article-sources a { color:var(--green); }
.article-reviewed { margin-top:19px !important; padding-top:15px; border-top:1px solid #e7ecea; color:#82908b !important; font-size:9px !important; }
.related-articles { width:min(1120px,calc(100% - 40px)); margin:72px auto; padding-top:38px; border-top:1px solid #dce5e1; }
.related-articles > h2 { margin:0 0 22px; font-size:34px; letter-spacing:-1.3px; }
.related-articles > div { display:grid; grid-template-columns:repeat(3,1fr); gap:13px; }
.related-articles article { padding:20px; border:1px solid var(--line); border-radius:16px; background:white; }
.related-articles article > span { color:var(--green); font-size:8px; font-weight:850; letter-spacing:.6px; text-transform:uppercase; }
.related-articles h3 { margin:10px 0 8px; font-size:17px; line-height:1.2; letter-spacing:-.5px; }
.related-articles h3 a { color:var(--ink); text-decoration:none; }
.related-articles h3 a:hover { color:var(--green); }
.related-articles article p { margin:0; color:var(--muted); font-size:10px; line-height:1.55; }

@media (max-width: 1180px) {
  .planner { grid-template-columns:255px minmax(400px,1fr) 350px; width:min(1120px,calc(100% - 24px)); }
  .catalog,.workspace,.result-panel { padding:22px; }
  .device-controls { grid-template-columns:80px 90px minmax(95px,1fr); gap:8px; }
  .recommendation-card { grid-template-columns:110px 1fr; padding:18px; }
  .station-visual { transform:scale(.87); transform-origin:left center; }
}

@media (max-width: 930px) {
  .hero { padding-top:38px; }
  .hero h1 { letter-spacing:-2.4px; }
  .planner { grid-template-columns:minmax(0,1fr) 350px; overflow:visible; border-radius:20px; position:relative; }
  .catalog { position:fixed; z-index:30; width:min(360px,88vw); top:0; bottom:0; left:0; border-radius:0 18px 18px 0; transform:translateX(-105%); transition:.25s ease; box-shadow:20px 0 60px rgba(12,43,33,.2); padding:25px; }
  .catalog.open { transform:translateX(0); }
  .catalog-head { align-items:center; }
  .close-catalog { display:grid; place-items:center; border:0; background:#edf2f0; width:34px; height:34px; border-radius:10px; cursor:pointer; }
  .scrim { display:block; position:fixed; z-index:20; inset:0; border:0; background:rgba(7,29,22,.42); backdrop-filter:blur(3px); }
  .mobile-catalog-button { display:flex; align-items:center; gap:7px; position:absolute; z-index:2; left:22px; top:21px; border:1px solid #dce5e1; background:white; border-radius:10px; padding:8px 11px; font-size:10px; color:var(--green); font-weight:700; cursor:pointer; }
  .selection-head { padding-left:130px; }
  .workspace { border-right:1px solid var(--line); }
  .model-modal-backdrop { padding:22px; }
  .model-modal { padding:27px 22px; max-height:calc(100vh - 44px); }
  .model-card-grid { grid-template-columns:1fr; }
  .model-card { display:grid; grid-template-columns:190px minmax(0,1fr); gap:0 18px; }
  .model-card-top,.model-specs,.model-fit,.seller-link,.seller-note { grid-column:1 / -1; }
  .model-product { grid-column:1; grid-row:2 / span 2; align-self:start; grid-template-columns:1fr; }
  .model-photo-wrap { width:170px; height:130px; }
  .model-points { grid-column:2; }
  .method-card { grid-template-columns:190px minmax(0,1fr); }
  .method-card small { grid-column:1 / -1; max-width:none; text-align:left; }
  .faq-block { grid-template-columns:280px minmax(0,1fr); gap:32px; }
}

@media (max-width: 720px) {
  .topbar { height:62px; padding:0 18px; }
  .topbar-actions { gap:9px; }
  .topbar-nav a { font-size:11px; }
  .privacy span { display:none; }
  .privacy { padding:7px; }
  .hero { padding:34px 18px 18px; }
  .hero h1 { font-size:36px; letter-spacing:-1.8px; }
  .hero > p { font-size:13px; }
  .scenario-tabs { width:100%; overflow:auto; justify-content:flex-start; }
  .scenario-tabs { scrollbar-width:none; }
  .scenario-tabs::-webkit-scrollbar { display:none; }
  .scenario-tabs button { min-height:44px; padding:9px 14px; white-space:nowrap; }
  .planner { width:calc(100% - 20px); grid-template-columns:1fr; margin-top:18px; border-radius:17px; overflow:hidden; }
  .workspace { border-right:0; border-bottom:1px solid var(--line); padding:20px 14px; }
  .result-panel { padding:22px 16px; }
  .mobile-catalog-button { top:14px; left:14px; min-height:44px; padding:9px 12px; font-size:11px; }
  .selection-head { padding-left:125px; min-height:34px; }
  .selection-head .step-label { display:none; }
  .selection-head h2 { font-size:15px; padding-top:7px; }
  .count-badge { display:none; }
  .selected-device { grid-template-columns:38px minmax(0,1fr); padding:12px 10px; gap:8px; }
  .device-icon { width:38px; height:38px; }
  .device-main { min-width:0; padding-right:48px; }
  .device-controls { grid-template-columns:76px 86px; gap:8px; }
  .hours-control { grid-column:1 / -1; }
  .number-input,.stepper { height:40px; }
  .number-input input,.stepper b { font-size:12px; }
  .stepper button { width:38px; font-size:18px; touch-action:manipulation; }
  .device-controls label > span:first-child,.hours-control > span b { font-size:9px; }
  input[type="range"] { height:5px; margin-top:12px; }
  input[type="range"]::-webkit-slider-thumb { width:22px; height:22px; }
  .device-energy { grid-column:2; justify-self:end; padding-top:0; }
  .device-energy strong { font-size:13px; }
  .device-energy span { font-size:9px; }
  .remove { display:grid; place-items:center; position:absolute; top:8px; right:8px; width:44px; height:44px; border-radius:12px; background:#f3f6f5; touch-action:manipulation; }
  .result-tabs { gap:6px; padding:5px; margin-bottom:22px; }
  .result-tabs button { min-height:52px; padding:9px 8px; font-size:11px; }
  .capacity-switch button { min-height:40px; padding:8px 10px; font-size:10px; }
  .solar-region-select select { height:44px; font-size:12px; }
  .season-switch button { min-height:48px; }
  .season-switch button strong { font-size:10px; }
  .season-switch button small { font-size:8px; }
  .solar-input-row .number-input { width:100%; }
  .solar-input-row > button { min-height:40px; height:40px; font-size:10px; }
  .inline-copy-action,.primary-action { min-height:44px; font-size:11px; }
  .metric > span,.metric > strong small,.coverage span,.safety-list div { font-size:10px; }
  .disclaimer { max-width:none; font-size:10px; }
  .catalog { display:flex; flex-direction:column; height:100dvh; overflow:hidden; }
  .catalog .appliance-list { flex:1; min-height:0; max-height:none; }
  .close-catalog { width:44px; height:44px; }
  .search { height:44px; }
  .category-chips button { min-height:40px; padding:8px 12px; font-size:11px; }
  .appliance-copy strong { font-size:12px; }
  .appliance-copy small,.catalog-note { font-size:10px; }
  .recommendation-card { grid-template-columns:120px 1fr; }
  .station-visual { transform:scale(.9); }
  footer { grid-template-columns:1fr auto; gap:14px 16px; padding:18px; }
  .donation-support { grid-template-columns:minmax(0,1fr) 126px; gap:16px; padding:20px; }
  .donation-qr-link { width:126px; }
  .donation-qr-link img { width:108px; height:108px; }
  .footer-privacy-links { grid-column:1 / -1; justify-self:start; justify-content:flex-start; max-width:none; text-align:left; }
  .analytics-consent { right:12px; bottom:12px; width:calc(100% - 24px); grid-template-columns:1fr; gap:13px; padding:16px; }
  .analytics-consent-actions { justify-content:flex-end; }
  .analytics-consent-actions button { min-height:44px; font-size:10px; }
  .privacy-page { padding:0 14px 48px; }
  .privacy-page-header { min-height:68px; }
  .privacy-page-header .brand { font-size:15px; }
  .privacy-document { margin-top:28px; padding:28px 20px; border-radius:18px; }
  .privacy-document h1 { font-size:34px; letter-spacing:-1.4px; }
  .privacy-lead { margin-bottom:28px; font-size:13px; }
  .model-modal-backdrop { padding:0; align-items:flex-end; }
  .model-modal { width:100%; max-height:92vh; border-radius:22px 22px 0 0; padding:25px 15px 18px; }
  .model-modal-close { right:14px; top:14px; width:44px; height:44px; }
  .model-modal-heading h2 { font-size:22px; }
  .model-modal-heading > p:last-child { font-size:12px; }
  .model-card { display:flex; padding:15px; }
  .model-product { grid-template-columns:116px minmax(0,1fr); }
  .model-photo-wrap { width:116px; height:98px; }
  .tier-pill,.availability,.model-product small,.model-specs small,.model-fit,.panel-type,.model-points > strong,.seller-note { font-size:10px; }
  .model-specs b,.model-points p,.market-note p { font-size:11px; }
  .seller-link { min-height:44px; font-size:11px; }
  .market-note { padding:10px; }
  .seo-guide { width:calc(100% - 28px); margin:42px auto 34px; }
  .seo-guide-intro h2,.faq-heading h2 { font-size:29px; letter-spacing:-1.25px; }
  .seo-guide-intro > p:last-child { font-size:13px; }
  .seo-steps { grid-template-columns:1fr; }
  .seo-steps article { min-height:0; padding:18px; }
  .seo-steps h3 { margin-top:14px; }
  .method-card { grid-template-columns:1fr; gap:12px; padding:20px; }
  .method-card small { grid-column:auto; }
  .faq-block { grid-template-columns:1fr; gap:24px; margin-top:44px; }
  .faq-heading { position:static; }
  .faq-list summary { font-size:12px; }
  .faq-list details p { margin-right:20px; font-size:11px; }
}

@media (max-width: 900px) {
  .blog-card.featured { grid-template-columns:1fr; }
  .blog-card.featured .blog-card-image { min-height:330px; }
  .blog-card.featured .blog-card-copy { padding:28px; }
  .article-layout { grid-template-columns:minmax(0,760px); }
  .article-toc { display:none; }
}

@media (max-width: 720px) {
  .blog-topbar { height:62px; padding:0 18px; }
  .blog-nav a { min-height:44px; padding:10px 11px; display:flex; align-items:center; font-size:10px; }
  .blog-hero { width:calc(100% - 28px); padding:48px 0 34px; }
  .blog-hero h1 { font-size:42px; letter-spacing:-2.2px; }
  .blog-hero > p:not(.seo-kicker) { font-size:14px; }
  .blog-grid { width:calc(100% - 24px); grid-template-columns:1fr; gap:13px; margin-bottom:40px; }
  .blog-card.featured { grid-column:auto; }
  .blog-card-image,.blog-card.featured .blog-card-image { min-height:0; aspect-ratio:16 / 9; }
  .blog-card-copy,.blog-card.featured .blog-card-copy { padding:22px; }
  .blog-card h2 { font-size:25px; }
  .blog-calculator-cta { width:calc(100% - 24px); margin-bottom:48px; padding:24px; grid-template-columns:1fr; gap:19px; }
  .blog-calculator-cta > a { justify-self:start; }
  .blog-primary-link,.blog-calculator-cta > a,.article-calculator-cta > a { min-height:44px; display:inline-flex; align-items:center; }
  .article-hero { width:calc(100% - 28px); padding:35px 0 25px; }
  .breadcrumbs { margin-bottom:25px; }
  .article-hero h1 { font-size:40px; letter-spacing:-2px; }
  .article-deck { font-size:14px; }
  .article-byline { gap:7px 12px; }
  .article-byline > * + *::before { margin-right:12px; }
  .article-cover { width:calc(100% - 20px); margin-bottom:31px; }
  .article-cover img { border-radius:18px; }
  .article-layout { width:calc(100% - 28px); }
  .quick-answer,.article-takeaways { padding:21px; }
  .quick-answer > p:last-child { font-size:13px; }
  .article-takeaways { margin-bottom:38px; }
  .article-takeaways ul { grid-template-columns:1fr; }
  .article-section { padding-bottom:31px; }
  .article-section + .article-section { padding-top:28px; }
  .article-section h2,.article-faq h2,.article-sources h2 { font-size:28px; letter-spacing:-1.1px; }
  .article-section > p { font-size:14px; }
  .article-formula { padding:19px; font-size:19px; }
  .article-calculator-cta { padding:22px; }
  .article-sources { padding:21px; }
  .related-articles { width:calc(100% - 28px); margin:50px auto; }
  .related-articles > div { grid-template-columns:1fr; }
  .blog-footer { width:100%; }
}

@media (max-width: 420px) {
  .hero h1 { font-size:32px; letter-spacing:-1.4px; }
  .recommendation-card,.solar-card { grid-template-columns:86px minmax(0,1fr); padding:15px 13px; gap:8px; }
  .station-visual,.solar-visual { transform:scale(.7); transform-origin:left center; }
  .class-copy > strong { font-size:23px; }
  .class-copy small,.class-copy p { font-size:10px; }
  .result-tabs button { flex-direction:column; gap:4px; font-size:10px; }
  .donation-support { grid-template-columns:1fr; }
  .donation-qr-link { width:144px; justify-self:start; }
  .donation-qr-link img { width:126px; height:126px; }
  .workspace { padding-left:11px; padding-right:11px; }
  .device-controls { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .analytics-consent-actions { display:grid; grid-template-columns:1fr 1fr; }
  .analytics-consent-actions button { min-height:44px; font-size:10px; }
  .status-dot { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; }
}
