/* The premium layer for the installer app: the website's look (teal and gold, soft depth, confident headings,
   cards that lift with a gradient edge) on top of the app's own styles. Loaded last on every app page. */
:root{--pm-ink:#17201F;--pm-muted:#667085;--pm-line:#E3E8E6;--pm-brand:#0F766E;--pm-brand-2:#14897F;--pm-gold:#F4B52F;--pm-ease:cubic-bezier(.2,.8,.2,1);
 --pm-ap:#166534;--pm-a:#22805C;--pm-b:#287AC3;--pm-c:#C27F12;--pm-ap-bg:#E7F6EE;--pm-a-bg:#EEF8F2;--pm-b-bg:#EAF2FC;--pm-c-bg:#FFF5E3}
body{background:radial-gradient(1100px 520px at 100% -10%,rgba(15,118,110,.08),rgba(15,118,110,0) 70%),radial-gradient(900px 480px at -10% 110%,rgba(244,181,47,.07),rgba(244,181,47,0) 70%),#F7F9F8;background-attachment:fixed;color:var(--pm-ink);-webkit-font-smoothing:antialiased}
h1,h2,h3,.app-heading{font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.022em;color:var(--pm-ink)}
h1{font-weight:800}h2,h3{font-weight:750}
/* Header: frosted, sticky, with a teal rule */
body>header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.86);-webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid rgba(227,232,230,.9);box-shadow:0 10px 30px -26px rgba(15,32,30,.5)}
body>header::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,transparent,rgba(15,118,110,.55),rgba(244,181,47,.55),transparent);opacity:.6}
.nav-credit-chip{box-shadow:0 8px 18px -12px rgba(15,118,110,.9)}
/* Cards: soft depth, lift and a gradient edge on hover */
.card{position:relative;border-radius:18px;border:1px solid var(--pm-line);background:linear-gradient(180deg,#FFFFFF 0%,#FCFDFD 100%);box-shadow:inset 0 1px 0 #fff,0 26px 50px -40px rgba(15,32,30,.5);transition:box-shadow .35s ease,transform .35s var(--pm-ease),border-color .35s ease}
.card::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:linear-gradient(140deg,rgba(27,179,148,.9),transparent 40%,transparent 64%,rgba(244,181,47,.85));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:0;transition:opacity .35s ease;pointer-events:none}
.card:hover::before{opacity:.75}
.card:hover{box-shadow:inset 0 1px 0 #fff,0 34px 60px -38px rgba(15,118,110,.45)}
/* Buttons: the default is the teal brand button with a glow; secondary styles stay quiet */
button,.button{transition:transform .2s var(--pm-ease),box-shadow .25s ease,background-color .2s ease,filter .2s ease}
main button:not(.secondary):not(.light):not(.link):not(.danger):not(.mode):not(.cf-btn):not([class*="nav"]):not(.chip):not(.grade-toggle):not(:disabled){background:linear-gradient(180deg,var(--pm-brand-2),var(--pm-brand));box-shadow:0 12px 24px -14px rgba(15,118,110,.85),inset 0 1px 0 rgba(255,255,255,.18)}
main button:not(.secondary):not(.light):not(.link):not(.danger):not(.mode):not(:disabled):hover{transform:translateY(-1px);filter:brightness(1.05)}
.secondary,.light{border:1px solid #D5DEDB;background:#fff;color:var(--pm-ink);box-shadow:0 6px 14px -12px rgba(15,32,30,.5)}
.secondary:hover:not(:disabled),.light:hover:not(:disabled){border-color:rgba(15,118,110,.45);background:#F4FBF9}
/* Inputs */
input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{border-radius:11px;border-color:#D0D8D5;transition:border-color .2s ease,box-shadow .2s ease}
input:not([type=checkbox]):not([type=radio]):not([type=range]):focus,select:focus,textarea:focus{outline:none;border-color:var(--pm-brand);box-shadow:0 0 0 4px rgba(15,118,110,.14)}
input[type=checkbox],input[type=radio],input[type=range]{accent-color:var(--pm-brand)}
/* Tables */
table th{background:#F5F8F7;color:#5B6B68;font-weight:700;letter-spacing:.02em}
tbody tr{transition:background-color .15s ease}tbody tr:hover{background:#F6FBFA}
/* Small polish */
a{text-underline-offset:3px}
::selection{background:rgba(15,118,110,.18)}
@media (prefers-reduced-motion:reduce){.card,button{transition:none}}
/* Retire the old blue: every page's buttons and accents use the brand teal */
:root{--blue:#0F766E}
.button,.btn{background:linear-gradient(180deg,var(--pm-brand-2),var(--pm-brand))!important;color:#fff!important;border-radius:11px;box-shadow:0 12px 24px -14px rgba(15,118,110,.85)}
.button:hover,.btn:hover{filter:brightness(1.05);transform:translateY(-1px)}
button.secondary{background:#fff;color:var(--pm-ink);border:1px solid #D5DEDB}
.eyebrow{color:var(--pm-brand)!important}
/* Page titles: larger, with breathing room */
main>h1:first-child,main>header h1{font-size:36px;line-height:1.1;margin:8px 0 8px}
main>h1:first-child+p.muted{font-size:16px;max-width:640px}
/* Empty states */
.empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:44px 24px;border-radius:18px;border:1.5px dashed #CFE3DE;background:radial-gradient(420px 180px at 50% 0%,rgba(15,118,110,.08),transparent 70%),#fff}
.empty-state .es-ico{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#1BB394,#0F766E 55%,#0A4F49);box-shadow:0 18px 30px -14px rgba(15,118,110,.6)}
.empty-state h2{margin:6px 0 0;font-size:22px}.empty-state p{margin:0;color:var(--pm-muted);max-width:460px}
.empty-state .es-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:8px}
.es-actions a{display:inline-flex;align-items:center;gap:6px;padding:11px 16px;border-radius:11px;font-weight:700;text-decoration:none}
.es-actions a.es-primary{background:linear-gradient(180deg,var(--pm-brand-2),var(--pm-brand));color:#fff;box-shadow:0 12px 24px -14px rgba(15,118,110,.85)}
.es-actions a.es-secondary{background:#fff;color:var(--pm-ink);border:1px solid #D5DEDB}
/* Grade dots in the campaign panels (Targeted Mailshot and Tell the Neighbours) */
.g-ap{--g:#166534}.g-a{--g:#22805C}.g-b{--g:#287AC3}.g-c{--g:#C27F12}
.basket .line .g-dot{display:inline-block;width:10px;height:10px;border-radius:999px;background:var(--g);margin-right:8px;box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(0,0,0,.06)}
/* The campaign panel follows you down the page (below the sticky header), so added roofs stay in view. */
aside.basket.card{position:sticky;top:100px;align-self:start;max-height:calc(100dvh - 116px);overflow-y:auto}
@media(max-width:900px){aside.basket.card{position:static;max-height:none;overflow-y:visible}}
.basket .bump{animation:basketBump .6s cubic-bezier(.2,.8,.2,1)}
@keyframes basketBump{0%{transform:scale(1)}35%{transform:scale(1.35);color:#0F766E}100%{transform:scale(1)}}
.basket .line b{display:inline-block}
@media (prefers-reduced-motion:reduce){.basket .bump{animation:none}}
/* "How we screened this area": confident and clear, not an error box */
.removed-box{background:linear-gradient(180deg,#FFFFFF,#F8FBFA);border:1px solid var(--pm-line);border-radius:16px;padding:20px}
.removed-box h3{color:var(--pm-ink);font-size:17px;margin:0 0 12px}
.screen-nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.screen-num{padding:12px 14px;border-radius:12px;background:#F4F7F6;border:1px solid var(--pm-line)}
.screen-num b{display:block;font-family:Manrope,Inter,sans-serif;font-size:24px;letter-spacing:-.02em;color:var(--pm-ink)}
.screen-num span{font-size:12.5px;color:var(--pm-muted)}
.screen-num.kept{background:#ECF8F3;border-color:#BCE3CD}.screen-num.kept b{color:#166534}
.screen-num.out b{color:#5B6B68}
.screen-scope{margin:10px 0 14px;font-size:13px;color:var(--pm-muted)}
.screen-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.screen-group{padding:14px;border-radius:12px;background:#fff;border:1px solid var(--pm-line)}
.screen-group-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.screen-group-top b{font-size:14px}.screen-group-n{font-weight:800;color:#5B6B68;font-variant-numeric:tabular-nums}
.screen-why{margin:4px 0 8px;font-size:12.5px;line-height:1.5;color:var(--pm-muted)}
.removed-box .removed-chip{background:#F2F4F7;border-color:#E4E7EC;color:#475467;text-decoration:none}
.removed-box .removed-chip b{color:#344054}
.removed-box .removed-note{font-size:12.5px;color:var(--pm-muted)}
@media(max-width:700px){.screen-nums,.screen-groups{grid-template-columns:1fr}}
.removed-box .removed-head{display:block}
.screen-addresses{margin:8px 0 0;padding-left:18px;font-size:13px;color:var(--pm-muted)}.screen-addresses li{margin:2px 0}
.roundup-bundle{display:block;margin-top:6px;padding:8px 10px;border-radius:10px;background:linear-gradient(135deg,#ff7a18,#d7263d);color:#fff;font-size:12.5px;font-weight:700;line-height:1.4;text-decoration:none}.roundup-bundle:hover{filter:brightness(1.08)}
.roundup-tip{display:block;margin-top:6px;padding:8px 10px;border-radius:10px;background:#FFF6DE;border:1px solid #F4D27F;color:#7A4B00;font-size:12.5px;line-height:1.4}
.screen-solar{margin-top:12px;border-color:#F2D49A;background:#FFFBF0}

/* Credit bundles call to action in "Your campaign": bundles are where the value is, so it's styled as a hot deal:
   a fiery gradient, flames flickering along the top, a slow glow pulse and a shine sweeping across. Calm for anyone who
   has asked their device to reduce motion. */
.bundle-cta{position:relative;isolation:isolate;display:block;margin:34px 0 16px;padding:16px 16px 14px;border-radius:16px;color:#fff;text-decoration:none;overflow:visible;
 background:linear-gradient(135deg,#FF8A00 0%,#FF4D1A 45%,#D7261E 100%);
 box-shadow:0 16px 30px -12px rgba(215,38,30,.75),inset 0 0 0 1px rgba(255,255,255,.25);animation:bundleGlow 2.4s ease-in-out infinite;transition:transform .15s ease}
.bundle-cta:hover{transform:translateY(-2px) scale(1.015)}
.bundle-cta::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;
 background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.35) 45%,transparent 60%) no-repeat;background-size:250% 100%;animation:bundleShine 3.2s ease-in-out infinite}
.bundle-cta .bundle-kicker{display:inline-block;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;background:#fff;color:#C2200F;padding:4px 9px;border-radius:999px;box-shadow:0 4px 10px -4px rgba(0,0,0,.35)}
.bundle-cta b{display:block;margin-top:9px;font-size:20px;line-height:1.15;font-weight:900;letter-spacing:-.015em;text-shadow:0 2px 6px rgba(120,10,0,.35)}
.bundle-cta .bundle-sub{display:block;margin-top:5px;font-size:13px;line-height:1.4;color:rgba(255,255,255,.95)}
.bundle-cta .bundle-go{display:inline-block;margin-top:10px;font-size:13.5px;font-weight:900;color:#C2200F;background:#FFE14D;padding:6px 12px;border-radius:999px;box-shadow:0 6px 14px -6px rgba(0,0,0,.4)}
.bundle-flames{position:absolute;left:4px;right:4px;top:-26px;height:40px;z-index:-1;pointer-events:none}
/* Each flame is a teardrop (a rounded square with one sharp corner, turned so the point is up) with a hot yellow core. */
.bundle-flames i{position:absolute;bottom:2px;width:30px;height:30px;border-radius:50% 0 50% 50%;transform:rotate(-45deg);transform-origin:50% 50%;
 background:radial-gradient(circle at 60% 40%,#FFF6B0 0%,#FFD21F 28%,#FF8A00 58%,#F2401C 82%);box-shadow:0 0 14px 3px rgba(255,120,0,.45);animation:bundleFlame .9s ease-in-out infinite alternate}
.bundle-flames i::before{content:'';position:absolute;left:30%;top:30%;width:42%;height:42%;border-radius:50% 0 50% 50%;background:radial-gradient(circle,#FFFDE8,#FFE35A 70%);opacity:.9}
.bundle-flames i:nth-child(1){left:0%;--s:.75;animation-delay:-.2s}
.bundle-flames i:nth-child(2){left:12%;--s:1;animation-delay:-.65s}
.bundle-flames i:nth-child(3){left:25%;--s:.85;animation-delay:-.35s}
.bundle-flames i:nth-child(4){left:39%;--s:1.15;animation-delay:-.8s}
.bundle-flames i:nth-child(5){left:53%;--s:.9;animation-delay:-.1s}
.bundle-flames i:nth-child(6){left:67%;--s:1.05;animation-delay:-.5s}
.bundle-flames i:nth-child(7){left:82%;--s:.8;animation-delay:-.25s}
@keyframes bundleFlame{0%{transform:translateY(4px) rotate(-49deg) scale(calc(var(--s,1)*.86));opacity:.85}50%{transform:translateY(-1px) rotate(-41deg) scale(calc(var(--s,1)*1.05));opacity:1}100%{transform:translateY(-4px) rotate(-46deg) scale(calc(var(--s,1)*.95));opacity:.92}}
@keyframes bundleGlow{0%,100%{box-shadow:0 16px 30px -12px rgba(215,38,30,.75),0 0 0 0 rgba(255,122,0,.0),inset 0 0 0 1px rgba(255,255,255,.25)}50%{box-shadow:0 18px 34px -12px rgba(215,38,30,.9),0 0 22px 2px rgba(255,122,0,.45),inset 0 0 0 1px rgba(255,255,255,.3)}}
@keyframes bundleShine{0%,55%{background-position:130% 0}100%{background-position:-60% 0}}
@media (prefers-reduced-motion:reduce){.bundle-cta,.bundle-cta::after,.bundle-flames i{animation:none}}
/* Phones (owner testing, 19 Oct 2026): the results table's columns pushed both layout columns wider than the screen,
   so the campaign panel and results were cut off on the right. Columns may shrink; the table scrolls sideways on its own. */
.layout>*{min-width:0}
@media (max-width:700px){.grade-body{overflow-x:auto;-webkit-overflow-scrolling:touch}.grade-body table{min-width:600px}.grade-body .selectbar{min-width:0}
 .check,.chip input{width:22px!important;height:22px!important}}
/* The five summary cards wrap onto rows on phones instead of running off the screen. */
@media (max-width:700px){#stats.stats{grid-template-columns:repeat(auto-fit,minmax(96px,1fr))!important}}
/* On phones the header (logo plus two rows of navigation) scrolls away instead of covering a quarter of the screen. */
@media (max-width:700px){body>header{position:static!important}}
@media (max-width:700px){.grade-body table{min-width:720px}.grade-body td:nth-child(2),.grade-body th:nth-child(2){min-width:170px}}

/* The one-hour checkout hold countdown on the payment page. */
.hold-timer{margin:10px 0;padding:10px 14px;border-radius:10px;background:#FFF6DE;border:1px solid #F4D27F;color:#7A4B00;font-weight:600}.hold-timer.ended{background:#FEE2E2;border-color:#FCA5A5;color:#7F1D1D}
/* Notes under the search summary (public/search-notes.js): flats-heavy areas, no-scan areas, empty postcodes. */
#searchNotes p{margin:10px 0 0;padding:10px 14px;border-radius:12px;background:#EEF4FF;border:1px solid #C7D7FE;color:#1E3A8A;font-size:13.5px;line-height:1.45}
#searchNotes p::before{content:"ℹ";display:inline-block;width:1.4em;font-weight:700}

/* After-payment solar check: made to stand out under every search (owner request, 23 Oct 2026) */
.solar-check{display:flex;gap:12px;align-items:flex-start;margin-top:14px;padding:14px 16px;border-radius:14px;background:var(--pm-ap-bg);border:1.5px solid #9ED6B6;color:var(--pm-ink)}
.solar-check-art{flex:none;display:block;width:88px;height:78px}.solar-check-art svg{width:100%;height:100%}
.solar-check-lens{transform:translate(20px,26px);animation:solarCheckSweep 3.2s ease-in-out infinite}
@keyframes solarCheckSweep{0%{transform:translate(20px,26px)}25%{transform:translate(36px,16px)}50%{transform:translate(52px,26px)}75%{transform:translate(36px,16px)}100%{transform:translate(20px,26px)}}
@media(prefers-reduced-motion:reduce){.solar-check-lens{animation:none;transform:translate(36px,18px)}}
.solar-check b{display:block;font-size:15px;color:#14532D;margin-bottom:2px}
.solar-check p{margin:0;font-size:13.5px;line-height:1.5;color:#24423A}
