/* Solar Mailshot installer interface. Homeowner artwork keeps its own branding. */
:root{--brand:#0f766e;--brand-hover:#115e59;--brand-subtle:#f0fdfa;--bg:#f7f9f8;--background:#f7f9f8;--card:#fff;--surface:#fff;--text:#17201f;--muted:#667085;--line:#e3e8e6;--blue:#0f766e;--green:#166534;--amber:#854d0e}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:16px;line-height:1.5}body>header{height:auto;min-height:80px;padding:16px 32px;gap:24px;display:flex;align-items:center;flex-wrap:wrap;background:white;border-bottom:1px solid var(--line);font-weight:600}a{color:var(--brand)}.app-brand{font-size:22px;font-weight:700;letter-spacing:-.7px;text-decoration:none;color:var(--text);white-space:nowrap}.app-brand:before{content:'';display:inline-block;width:18px;height:22px;border:2px solid var(--brand);border-radius:3px;margin-right:10px;vertical-align:-3px;transform:skewY(-10deg);background:linear-gradient(0deg,transparent 45%,var(--brand) 46%,var(--brand) 53%,transparent 54%)}header nav{margin-left:auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:14px}header nav a{padding:10px 12px;text-decoration:none;color:var(--muted);border-radius:8px}header nav a:hover,header nav a[aria-current=page]{background:var(--brand-subtle);color:var(--brand)}header nav .sign-out{background:white;color:var(--muted);border:1px solid var(--line);font-size:13px}main{max-width:1200px;margin:32px auto;padding:0 24px}h1{font-size:32px;line-height:1.2;letter-spacing:-.8px;font-weight:600;margin-bottom:12px}h2{font-size:22px;font-weight:600;letter-spacing:-.35px}h3{font-weight:600}.hero h1{font-size:32px}.muted,.hint,.desc{color:var(--muted)}.hint,.desc{font-size:14px;line-height:1.5}.card,.grade{border:1px solid var(--line);border-radius:12px;background:white;box-shadow:none}.card{padding:24px}.searchbox{padding:20px;background:var(--bg);border-color:var(--line);margin-top:24px}.modes[hidden]{display:none}label{font-size:14px;font-weight:600}input,select,textarea{border:1px solid #7b8884;border-radius:8px;font:inherit;min-height:44px;background:white;color:var(--text)}input[type=checkbox],input[type=radio]{min-height:0;width:18px;height:18px;accent-color:var(--brand);vertical-align:middle}input[type=range]{border:0;accent-color:var(--brand)}button{min-height:44px;border-radius:8px;background:var(--brand);font:inherit;font-size:14px;font-weight:600;color:white;padding:10px 16px;transition:background .15s}button:hover:not(:disabled){background:var(--brand-hover)}button:disabled{opacity:.5;cursor:not-allowed}.secondary,.light{background:white;color:var(--brand);border:1px solid var(--line)}.secondary:hover:not(:disabled),.light:hover:not(:disabled){background:var(--brand-subtle)}:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.stats{grid-template-columns:repeat(4,1fr);gap:12px;margin-top:28px}.stats .stat:first-child{grid-column:1/-1;border:0;padding:8px 0 16px}.stats .stat:first-child b{font-size:48px;color:var(--brand);line-height:1.1;letter-spacing:-1px}.stats .stat:first-child span{font-size:18px;color:var(--text)}.stat{border-color:var(--line)}.stat b,.total,.line b{font-variant-numeric:tabular-nums}.stat span{font-size:14px}.badge.A,.badge[class~="A+"]{background:#ecfdf3;color:#166534}.badge.B,.badge.C{background:#f2f4f3;color:#47544f}.grade-head{padding:20px}.grade-title{font-weight:600}.selection-note,.notice{background:var(--brand-subtle);border-color:#c6e8e2;color:var(--brand-hover)}.privacy{background:var(--bg);border-color:var(--line);font-size:13px}.basket{top:24px;border-top:3px solid var(--brand);max-height:calc(100dvh - 48px)}.basket h2{font-size:20px}.total{font-size:28px}.steps{margin:0 0 24px;padding:14px 18px;background:white;border:1px solid var(--line);border-radius:8px;font-size:14px}.steps b{color:var(--brand)}.designer{grid-template-columns:300px minmax(0,1fr);gap:24px}.designer aside details{border-color:var(--line);padding:18px;border-radius:12px}.toolbar{background:white;border:1px solid var(--line);border-radius:12px;padding:16px;gap:8px}.toolbar button{background:white;border:1px solid var(--line);color:var(--brand)}.toolbar #updatePreview{background:var(--brand);color:white}.designer #preview{background:#e9eeeb;border:1px solid var(--line);border-radius:12px;padding:24px}.marketing-guide{background:var(--brand-subtle);border-color:var(--brand)}table th{background:var(--bg);font-weight:600;color:var(--muted)}td,th{border-color:var(--line)}.error,#error{color:#b42318}.search-spinner{border-color:#d9efea;border-top-color:var(--brand)}
@media(max-width:900px){body>header{padding:16px 20px;gap:12px}header nav{margin-left:0;width:100%;gap:4px}header nav a{padding:8px}.designer{grid-template-columns:1fr}main{padding:0 16px;margin:24px auto}.hero h1,h1{font-size:28px}.card{padding:20px}.stats{grid-template-columns:repeat(2,1fr)}.stats .stat:first-child b{font-size:40px}.steps{flex-wrap:wrap}.toolbar{align-items:stretch}.toolbar #property{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.controls{grid-template-columns:minmax(0,1fr) 150px 170px}.controls #search{white-space:nowrap}.controls input,.controls select,.controls button{height:48px}@media(max-width:900px){.controls{grid-template-columns:1fr}}

.job-address-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.job-address-controls button{white-space:nowrap}@media(max-width:600px){.job-address-controls{grid-template-columns:1fr}}
.neighbour-map-panel{margin-top:24px}.map-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.map-heading h2{font-size:28px;color:var(--brand);margin:0}.map-heading p{margin:6px 0}.map-heading button{flex-shrink:0}#neighbourMap{height:440px;border-radius:12px;overflow:hidden;background:#edf2ef}.map-legend{display:flex;gap:16px;align-items:center;flex-wrap:wrap;font-size:13px;margin-top:12px;color:var(--brand)}.map-legend button{margin-left:auto}#mapDetail:not(:empty){padding:16px;margin-top:12px;border:1px solid var(--line);border-radius:8px}#mapDetail p{margin:4px 0 12px}@media(max-width:700px){#neighbourMap{height:300px}.map-heading{align-items:stretch;flex-direction:column}.map-heading h2{font-size:24px}}

.map-legend span{display:inline-flex;align-items:center;gap:7px}.map-dot{display:inline-block;border-radius:50%;background:#22805c;width:13px;height:13px;border:1.5px solid white;box-shadow:0 0 0 1px #ddd}.map-dot.ap{width:18px;height:18px}.map-dot.b{width:11px;height:11px;background:#287ac3}.map-dot.c{width:9px;height:9px;background:#df971e}.map-dot.selected{border:3px solid #152e38;background:#fff}.map-job{width:20px;height:20px;background:#662496;border:3px solid white;box-shadow:0 0 0 1px #ddd;transform:rotate(45deg);margin:0 5px}details.grade summary{cursor:pointer;list-style:none}details.grade summary::-webkit-details-marker{display:none}details.grade summary .grade-title:before{content:'▸';display:inline-block;margin-right:10px}details.grade[open] summary .grade-title:before{content:'▾'}

.builder-credits{padding:14px;margin:0 0 14px;border:1px solid #a8cbbb;border-radius:10px;background:#edf8f1;color:#173e32}.builder-credits>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700}.builder-credits strong{font-size:24px}.builder-credits p{margin:7px 0 0;font-size:12px;line-height:1.4}

/* Supplied Solar Mailshot artwork; retain the original image and its proportions. */
.app-brand{display:block;position:relative;width:260px;height:52px;overflow:hidden;flex-shrink:0}.app-brand:before{display:none}.app-brand img{position:absolute;width:325px;max-width:none;height:auto;left:50%;top:50%;transform:translate(-50%,-50%)}.auth .app-brand{margin:0 auto 24px}@media(max-width:600px){.app-brand{width:230px;height:48px}.app-brand img{width:288px}}
.letter-template{margin:24px 0}.letter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.letter-fields label{display:flex;flex-direction:column;gap:6px}.letter-fields textarea{width:100%;min-height:85px;padding:10px}.letter-artwork:not(:empty){background:#e9eeeb;padding:20px;max-width:840px;margin:20px auto}.letter-artwork svg{display:block;background:white;width:100%;height:auto}@media(max-width:700px){.letter-fields{grid-template-columns:1fr}}
.profile-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:28px;align-items:start}.profile-sections{position:sticky;top:24px;background:white;border:1px solid var(--line);border-radius:12px;padding:16px}.profile-sections p{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);margin:8px 10px}.profile-sections p:not(:first-child){margin-top:24px}.profile-sections a{display:block;padding:11px 10px;font-size:14px;text-decoration:none;border-radius:8px;line-height:1.4}.profile-sections a:hover,.profile-sections a[aria-current]{background:var(--brand-subtle);color:var(--brand-hover)}.profile-content{min-width:0}.profile-content>.grid{grid-template-columns:1fr;gap:24px}.profile-content details.card{margin:24px 0}.profile-content summary{cursor:pointer;font-size:20px;font-weight:650;padding:4px 0}.profile-content [id]{scroll-margin-top:24px}.profile-content>.savebar{position:static;border:1px solid var(--line);border-radius:12px;margin:24px 0}.profile-content>#landing summary{font-size:22px}.profile-content>#landing[open]{padding-bottom:0}@media(max-width:850px){.profile-layout{grid-template-columns:1fr;gap:20px}.profile-sections{position:static;display:flex;flex-wrap:wrap;gap:4px}.profile-sections p{width:100%;margin-top:8px!important}.profile-sections a{padding:10px}.profile-content>.grid{grid-template-columns:1fr}}
/* Keep the profile sidebar independent of the global horizontal nav rules. */
main.company-profile-page{max-width:none;width:100%;padding:0 32px}.company-profile-page .profile-layout{grid-template-columns:240px minmax(0,1fr);gap:32px}.company-profile-page .profile-sections{display:block;margin:0;width:100%;align-self:start}.company-profile-page .profile-content{width:100%;max-width:1100px}.company-profile-page>h1,.company-profile-page>p{margin-left:272px}@media(max-width:850px){main.company-profile-page{padding:0 16px}.company-profile-page .profile-layout{grid-template-columns:1fr;gap:20px}.company-profile-page>h1,.company-profile-page>p{margin-left:0}.company-profile-page .profile-sections{display:flex;align-items:flex-start;gap:4px}}
.basket-tier-note{font-size:12px;margin:6px 0}
.basket-tier-table{width:100%;border-collapse:collapse;font-size:11px;margin:8px 0}
.basket-tier-table td{padding:4px 0;border-bottom:1px solid var(--line)}
.basket-tier-table tr.current-tier td{font-weight:700}
.basket-tier-table td:last-child{text-align:right}
.basket-tier-link{display:block;text-align:center;font-size:12px;margin-top:6px}
.nav-dropdown{position:relative}
.nav-dropdown summary{cursor:pointer;list-style:none;padding:10px 12px;border-radius:8px;color:var(--muted);display:flex;align-items:center;gap:5px;font-weight:600}
.nav-dropdown summary::-webkit-details-marker{display:none}
.nav-dropdown summary::after{content:'▾';font-size:10px;position:relative;top:1px}
.nav-dropdown summary:hover,.nav-dropdown[open] summary,.nav-dropdown summary[aria-current=page]{background:var(--brand-subtle);color:var(--brand)}
.nav-dropdown-menu{position:absolute;top:100%;left:0;margin-top:4px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 28px rgba(0,0,0,.1);padding:6px;min-width:200px;z-index:30;display:flex;flex-direction:column}
.nav-dropdown-menu a{padding:9px 10px;border-radius:6px;color:var(--text);text-decoration:none;font-weight:500;font-size:14px}
.nav-dropdown-menu a:hover,.nav-dropdown-menu a[aria-current=page]{background:var(--brand-subtle);color:var(--brand)}
.nav-credit-chip{background:var(--brand);color:#fff;font-weight:800;padding:9px 16px;border-radius:999px;text-decoration:none;font-size:13px;white-space:nowrap;letter-spacing:.01em}
.nav-credit-chip:hover{background:var(--brand-hover)}
.nav-buy-credits{background:var(--amber);color:#fff;font-weight:800;padding:11px 18px;border-radius:8px;text-decoration:none;font-size:13px;white-space:nowrap;box-shadow:0 3px 10px rgba(133,77,14,.3)}
header nav .sign-out{order:99}
.nav-buy-credits:hover{filter:brightness(1.08)}
.nav-buy-credits[aria-current=page]{background:var(--amber);color:#fff;outline:2px solid #fff;outline-offset:-4px}
@media(max-width:600px){.nav-dropdown-menu{position:static;box-shadow:none;border:0;margin-top:0;padding-left:14px}.nav-credit-chip,.nav-buy-credits,header nav .sign-out{order:0}}

/* "What we removed" panel under search results (removed-summary.js). Exclusion red #B42318 on #FFF6F5, as on the website. */
.search-meta{margin:12px 0 0;color:var(--muted);font-size:14px}
.removed-box{margin:12px 0 0;padding:18px 20px;background:#fff6f5;border:1px solid #f6d5d1;border-radius:12px}
.removed-box h3{margin:0 0 8px;font-size:15px;color:#b42318}
.removed-head{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.removed-head p{margin:0;font-size:14px;color:var(--text)}
.removed-share{font-size:34px;font-weight:700;letter-spacing:-.03em;color:#b42318;line-height:1}
.removed-chips{display:flex;flex-wrap:wrap;gap:6px}
.removed-chip{font-size:13px;padding:4px 10px;border-radius:999px;background:white;border:1px solid #f6d5d1;color:#b42318;text-decoration:line-through;text-decoration-color:rgba(180,35,24,.45)}
.removed-chip b{font-weight:600}
.removed-note{margin:12px 0 0;font-size:13px;color:var(--muted)}
/* Possibly / likely rented homes in search results (capped at B). Amber, as on the website. */
.rent-tag{display:inline-block;margin-top:4px;font-size:12px;font-weight:600;padding:2px 8px;border-radius:999px;background:#fffbeb;color:#92400e;border:1px solid #f5d98b;cursor:help}
/* Sign-up and onboarding details (onboarding-form.js) */
.signup-fields textarea{min-height:72px}
.check-row{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:14px;line-height:1.45;margin:14px 0 0}
.check-row input{width:auto;margin-top:3px;flex:none}
/* Company profile: "For your letters" (profile-letter-extras.js) */
#letterExtras h3{margin:18px 0 4px;font-size:16px}
#letterExtras .row{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin:8px 0}
#letterExtras .row label{flex:1;min-width:140px}
.team-photo{width:120px;height:120px;border-radius:50%;object-fit:cover;display:block;margin:8px 0}
.place-results{display:flex;flex-direction:column;gap:6px;margin:6px 0}
.place{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;background:#fff;color:#17201f;border:1px solid #d9e0de;border-radius:8px;padding:8px 10px;font:inherit;font-size:13px;cursor:pointer}
.place:hover{border-color:var(--brand)}
.review-rows{display:flex;flex-direction:column;gap:8px;margin:8px 0}
.review-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;align-items:end;padding:10px;border:1px solid #e3e8e6;border-radius:10px}
.review-row label{margin:0}.review-row label input+input{margin-top:6px}
@media(max-width:640px){.review-row{grid-template-columns:1fr 1fr}}
.review-logo-row{grid-column:1/-1;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.review-logo-row label{margin:0;font-size:13px}
.review-logo{height:32px;width:auto;max-width:120px;object-fit:contain;background:#fff}
