/* Solar Fit Check */
.sfck-root { --sf-accent: #FFB400; --sf-navy: #0F2A43; --sf-gen: #F5A300; --sf-use: #1F4E79; --sf-line: #DCE3EA; --sf-soft: #F5F8FB; --sf-mute: #5B6B7B; --sf-good: #1B7F4B;
	max-width: 760px; margin: 0 auto; color: var(--sf-navy); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.5; }
.sfck-root *, .sfck-root *::before, .sfck-root *::after { box-sizing: border-box; }
.sfck-root [hidden] { display: none !important; }

.sfck-card { background: #fff; border: 1px solid var(--sf-line); border-radius: 12px; box-shadow: 0 6px 24px rgba(15, 42, 67, .08); overflow: hidden; }
.sfck-progress { height: 6px; background: var(--sf-soft); }
.sfck-progress-bar { height: 100%; width: 0; background: var(--sf-accent); transition: width .35s ease; }
.sfck-body { padding: 28px 28px 8px; }
.sfck-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 28px 28px; }

.sfck-h { margin: 0 0 6px; font-size: 1.6rem; line-height: 1.2; font-weight: 700; color: var(--sf-navy); outline: none; }
.sfck-sub { margin: 0 0 22px; color: var(--sf-mute); font-size: 1rem; }
.sfck-hero { margin-bottom: 10px; }
.sfck-sun { display: inline-block; width: 46px; height: 46px; border-radius: 50%; background: var(--sf-accent); box-shadow: 0 0 0 8px rgba(255, 180, 0, .18), 0 0 0 16px rgba(255, 180, 0, .09); margin: 8px 0 14px 8px; }
.sfck-sun-sm { width: 30px; height: 30px; box-shadow: 0 0 0 5px rgba(255, 180, 0, .18); margin: 4px 12px 0 4px; flex: none; }
.sfck-res-head { display: flex; align-items: center; margin-bottom: 18px; }
.sfck-res-head .sfck-h { margin: 0; font-size: 1.45rem; }

.sfck-field { margin: 0 0 20px; }
.sfck-field > label, .sfck-lbl { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-weight: 600; margin-bottom: 8px; font-size: .98rem; }
.sfck-lbl { display: block; }
.sfck-field output { font-weight: 700; color: var(--sf-navy); background: rgba(255, 180, 0, .25); padding: 1px 10px; border-radius: 99px; white-space: nowrap; font-size: .9rem; }
.sfck-opt { font-weight: 400; color: var(--sf-mute); font-size: .85rem; }
.sfck-hint { margin: 6px 0 0; color: var(--sf-mute); font-size: .85rem; }

.sfck-root input[type=text], .sfck-root input[type=email], .sfck-root input[type=tel], .sfck-root select {
	width: 100%; min-height: 48px; padding: 10px 14px; font-size: 16px; font-family: inherit; color: var(--sf-navy); background: #fff; border: 1.5px solid var(--sf-line); border-radius: 8px; box-shadow: none; margin: 0; }
.sfck-root input[type=text]:focus, .sfck-root input[type=email]:focus, .sfck-root input[type=tel]:focus, .sfck-root select:focus { outline: none; border-color: var(--sf-navy); box-shadow: 0 0 0 3px rgba(255, 180, 0, .45); }

/* Range slider */
.sfck-root input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; padding: 0; cursor: pointer; --p: 0%; }
.sfck-root input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(to right, var(--sf-accent) var(--p), var(--sf-line) var(--p)); }
.sfck-root input[type=range]::-moz-range-track { height: 8px; border-radius: 99px; background: var(--sf-line); }
.sfck-root input[type=range]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--sf-accent); }
.sfck-root input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--sf-navy); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.sfck-root input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--sf-navy); }
.sfck-root input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(255, 180, 0, .6); }
.sfck-root input[type=range]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(255, 180, 0, .6); }

/* Tiles (radio / checkbox cards) */
.sfck-tiles { display: grid; gap: 10px; grid-template-columns: 1fr; }
.sfck-cols-2 { grid-template-columns: repeat(2, 1fr); }
.sfck-cols-3 { grid-template-columns: repeat(3, 1fr); }
.sfck-tile { position: relative; display: block; cursor: pointer; margin: 0; }
.sfck-tile input { position: absolute; z-index: 2; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sfck-tile-in { display: flex; flex-direction: column; justify-content: center; height: 100%; min-height: 56px; padding: 12px 14px 12px 42px; border: 1.5px solid var(--sf-line); border-radius: 10px; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; position: relative; }
.sfck-tile-in::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid #9AA8B6; border-radius: 50%; background: #fff; }
.sfck-tile input[type=checkbox] + .sfck-tile-in::before { border-radius: 5px; }
.sfck-tile-in strong { font-size: .97rem; font-weight: 600; }
.sfck-tile-in small { color: var(--sf-mute); font-size: .8rem; line-height: 1.3; margin-top: 2px; }
.sfck-tile:hover .sfck-tile-in { border-color: #9AA8B6; }
.sfck-tile input:checked + .sfck-tile-in { border-color: var(--sf-navy); background: rgba(255, 180, 0, .14); box-shadow: inset 0 0 0 1px var(--sf-navy); }
.sfck-tile input:checked + .sfck-tile-in::before { border-color: var(--sf-navy); background: var(--sf-navy); box-shadow: inset 0 0 0 3px #fff; }
.sfck-tile input[type=checkbox]:checked + .sfck-tile-in::before { background: var(--sf-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5l2.5 2.5 4.5-5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: none; }
.sfck-tile input:focus-visible + .sfck-tile-in { outline: 3px solid rgba(255, 180, 0, .8); outline-offset: 1px; }

.sfck-adapt { animation: sfck-in .25s ease; }
@keyframes sfck-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.sfck-sub-card { background: var(--sf-soft); border: 1px solid var(--sf-line); border-radius: 10px; padding: 16px 16px 4px; margin: 14px 0; }
.sfck-sub-card h3 { margin: 0 0 12px; font-size: 1rem; }
.sfck-note { background: #FFF7E0; border-left: 4px solid var(--sf-accent); border-radius: 6px; padding: 10px 14px; margin: 10px 0 16px; font-size: .92rem; }
.sfck-inline { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin: 6px 0 14px; cursor: pointer; }
.sfck-inline input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--sf-navy); }
.sfck-consent { font-size: .85rem; color: var(--sf-mute); }
.sfck-error { background: #FDECEC; color: #9B1C1C; border-radius: 8px; padding: 10px 14px; margin: 12px 0; font-size: .92rem; }
.sfck-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.sfck-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 28px; border-radius: 8px; font-size: 1rem; font-weight: 700; font-family: inherit; line-height: 1.2; cursor: pointer; border: 2px solid transparent; text-decoration: none; transition: transform .1s, box-shadow .15s, background .15s; }
.sfck-btn-primary { background: var(--sf-accent); color: var(--sf-navy); border-color: var(--sf-accent); }
.sfck-btn-primary:hover { box-shadow: 0 4px 14px rgba(255, 180, 0, .5); transform: translateY(-1px); color: var(--sf-navy); }
.sfck-btn-primary[disabled] { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.sfck-btn-ghost { background: transparent; color: var(--sf-navy); border-color: var(--sf-line); }
.sfck-btn-ghost:hover { border-color: var(--sf-navy); }
.sfck-btn:focus-visible { outline: 3px solid var(--sf-navy); outline-offset: 2px; }
.sfck-cta { width: 100%; margin: 6px 0 24px; }

/* Results */
.sfck-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.sfck-kpi { background: var(--sf-soft); border: 1px solid var(--sf-line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; }
.sfck-kpi-l { font-size: .78rem; color: var(--sf-mute); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.sfck-kpi strong { font-size: 1.6rem; line-height: 1.2; margin: 2px 0; }
.sfck-kpi-s { font-size: .82rem; color: var(--sf-mute); }
.sfck-whatif { border: 1px dashed #B5C2CF; border-radius: 10px; padding: 16px 16px 6px; margin-bottom: 22px; }
.sfck-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; -webkit-overflow-scrolling: touch; }
.sfck-tab { flex: none; min-height: 40px; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--sf-line); background: #fff; color: var(--sf-navy); font: 600 .9rem inherit; font-family: inherit; cursor: pointer; }
.sfck-tab[aria-selected=true] { background: var(--sf-navy); border-color: var(--sf-navy); color: #fff; }
.sfck-chart { margin-bottom: 20px; }
.sfck-svg { display: block; width: 100%; height: auto; }
.sfck-grid { stroke: #E4EAF0; stroke-width: 1; }
.sfck-zero { stroke: var(--sf-navy); stroke-width: 1.5; stroke-dasharray: 4 3; }
.sfck-ax { font-size: 12px; fill: var(--sf-mute); font-family: inherit; }
.sfck-val { font-size: 13px; font-weight: 700; fill: var(--sf-navy); font-family: inherit; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.sfck-b-gen { fill: var(--sf-gen); }
.sfck-b-use { fill: var(--sf-use); }
.sfck-line { stroke: var(--sf-good); stroke-width: 3; stroke-linejoin: round; }
.sfck-dot { fill: #fff; stroke: var(--sf-good); stroke-width: 3; }
.sfck-legend { display: flex; gap: 18px; justify-content: center; font-size: .85rem; margin-top: 6px; }
.sfck-sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.sfck-sw-gen { background: var(--sf-gen); }
.sfck-sw-use { background: var(--sf-use); }
.sfck-cap { font-size: .85rem; color: var(--sf-mute); margin: 6px 0 0; }
.sfck-table summary, .sfck-assump summary { cursor: pointer; font-size: .85rem; color: var(--sf-mute); margin-top: 8px; }
.sfck-table table { width: 100%; border-collapse: collapse; font-size: .85rem; margin-top: 6px; }
.sfck-table th, .sfck-table td { text-align: left; padding: 4px 8px; border-bottom: 1px solid var(--sf-line); }
.sfck-text h3 { font-size: 1.15rem; margin: 0 0 10px; }
.sfck-text ul { margin: 0 0 14px; padding-left: 20px; }
.sfck-text li { margin-bottom: 8px; }
.sfck-assump p { font-size: .85rem; color: var(--sf-mute); }
.sfck-disc { font-size: .78rem; color: var(--sf-mute); border-top: 1px solid var(--sf-line); padding: 14px 0 20px; margin: 10px 0 0; }

@media (max-width: 600px) {
	.sfck-body { padding: 20px 16px 4px; }
	.sfck-foot { padding: 12px 16px 20px; }
	.sfck-h { font-size: 1.35rem; }
	.sfck-cols-2, .sfck-cols-3 { grid-template-columns: 1fr; }
	.sfck-foot .sfck-btn { flex: 1; padding: 12px 16px; }
	.sfck-kpi strong { font-size: 1.35rem; }
	.sfck-kpi { padding: 12px 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.sfck-adapt, .sfck-progress-bar, .sfck-btn { animation: none; transition: none; }
}

/* Battery calculator additions */
.sfck-a-gen { fill: var(--sf-gen); fill-opacity: .45; stroke: var(--sf-gen); stroke-width: 1.5; }
.sfck-a-batt { fill: #1B7F4B; fill-opacity: .55; stroke: #1B7F4B; stroke-width: 1.5; }
.sfck-line-use { stroke: var(--sf-navy); stroke-width: 2.5; stroke-linejoin: round; }
.sfck-b-none { fill: #8593A3; }
.sfck-b-batt { fill: #1B7F4B; }
.sfck-b-soft { fill: #9CC9B3; }
.sfck-b-on { stroke: var(--sf-navy); stroke-width: 2.5; }
.sfck-ax-on { fill: var(--sf-navy); font-weight: 700; }
.sfck-sw-batt { background: #1B7F4B; }
.sfck-sw-use { background: var(--sf-navy); }
.sfck-legend { flex-wrap: wrap; gap: 8px 18px; }
.sfck-badge { display: inline-block; padding: 1px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; }
.sfck-v-high { background: #DDF3E7; color: #0E5B33; }
.sfck-v-mid { background: #FFF1CC; color: #6B4A00; }
.sfck-v-low { background: #FBE3E3; color: #8A1C1C; }
.sfck-tile-in small:empty { display: none; }
.sfck-root .sfck-field > label { flex-wrap: wrap; }

@media (max-width: 600px) {
	.sfck-ax { font-size: 16px; }
	.sfck-val { font-size: 17px; }
}

/* EV calculator additions */
.sfck-b-ev { fill: #1B7F4B; }
.sfck-b-sun { fill: var(--sf-gen); }
.sfck-b-pub { fill: var(--sf-use); }
.sfck-sw-sun { background: var(--sf-gen); }
.sfck-sw-ev { background: #1B7F4B; }
.sfck-sw-none { background: #8593A3; }
.sfck-sw-pub { background: var(--sf-use); }
.sfck-line-p { stroke: #8593A3; stroke-width: 3; stroke-linejoin: round; }
.sfck-line-e { stroke: #1B7F4B; stroke-width: 3; stroke-linejoin: round; }
.sfck-mixh { margin: 18px 0 8px; font-size: 1rem; }
.sfck-mix { display: flex; height: 22px; border-radius: 6px; overflow: hidden; background: var(--sf-line); }
.sfck-mix span { display: block; height: 100%; }
.sfck-mix span.sfck-b-sun { background: var(--sf-gen); }
.sfck-mix span.sfck-b-none { background: #8593A3; }
.sfck-mix span.sfck-b-pub { background: var(--sf-use); }
.sfck-mix-l { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; margin-top: 8px; }
.sfck-kpis { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .sfck-kpis { grid-template-columns: repeat(4, 1fr); } .sfck-kpi strong { font-size: 1.35rem; } }


/* Solar Fit Check additions */
.sfck-b-pay { fill: var(--sf-use); }
.sfck-b-sun { fill: var(--sf-gen); }
.sfck-b-ev { fill: #1B7F4B; }
.sfck-b-none { fill: #8593A3; }
.sfck-b-track { fill: #EAEFF4; }
.sfck-b-s1 { fill: #D64545; } .sfck-b-s2 { fill: #E58A2C; } .sfck-b-s3 { fill: #E9B824; } .sfck-b-s4 { fill: #7DB847; } .sfck-b-s5 { fill: #1B7F4B; }
.sfck-b-on { stroke: var(--sf-navy); stroke-width: 2.5; }
.sfck-lab { fill: var(--sf-navy); }
.sfck-lab-on { font-weight: 700; }
.sfck-sw-sun { background: var(--sf-gen); }
.sfck-sw-pay { background: var(--sf-use); }
.sfck-line { stroke: var(--sf-good); stroke-width: 3; stroke-linejoin: round; }
.sfck-needle { stroke: var(--sf-navy); stroke-width: 5; stroke-linecap: round; }
.sfck-hub { fill: var(--sf-navy); }
.sfck-gnum { font-size: 60px; font-weight: 800; fill: var(--sf-navy); font-family: inherit; }
.sfck-glab { font-size: 20px; font-weight: 700; fill: var(--sf-navy); font-family: inherit; }
.sfck-gauge { max-width: 420px; margin: 0 auto; }
.sfck-gwrap { text-align: center; margin: 0 0 8px; }
.sfck-gtext h3 { margin: 4px 0 4px; font-size: 1.2rem; }
.sfck-gtext p { margin: 0 0 14px; color: var(--sf-mute); }
.sfck-mixh { margin: 18px 0 8px; font-size: 1rem; }
.sfck-qhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 0 0 10px; }
.sfck-qhead h3 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.sfck-qscore { display: flex; align-items: center; gap: 10px; }
.sfck-score { font-size: 1.7rem; font-weight: 800; line-height: 1; }
.sfck-score small { font-size: .8rem; font-weight: 600; color: var(--sf-mute); margin-left: 2px; }
.sfck-t-s1 { color: #B02D2D; } .sfck-t-s2 { color: #B4620F; } .sfck-t-s3 { color: #8A6A00; } .sfck-t-s4 { color: #4F8A1F; } .sfck-t-s5 { color: #0E5B33; }
.sfck-badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; }
.sfck-v-s1 { background: #FBE3E3; color: #8A1C1C; } .sfck-v-s2 { background: #FDEAD3; color: #7A4300; } .sfck-v-s3 { background: #FFF1CC; color: #6B4A00; }
.sfck-v-s4 { background: #E5F3D6; color: #34620F; } .sfck-v-s5 { background: #DDF3E7; color: #0E5B33; } .sfck-v-na { background: #EAEFF4; color: var(--sf-mute); }
.sfck-answer { font-size: 1.02rem; margin: 0 0 16px; }
.sfck-kpis { grid-template-columns: repeat(2, 1fr); }
.sfck-tile-in small:empty { display: none; }
.sfck-root .sfck-field > label { flex-wrap: wrap; }
.sfck-legend { flex-wrap: wrap; gap: 8px 18px; }
.sfck-tabs { margin-bottom: 16px; }
@media (min-width: 700px) { .sfck-kpis { grid-template-columns: repeat(4, 1fr); } .sfck-kpi strong { font-size: 1.35rem; } }
@media (max-width: 600px) { .sfck-ax { font-size: 16px; } .sfck-val { font-size: 17px; } .sfck-gnum { font-size: 60px; } }
