/* One reading system, based on /electrician-marketing. Loaded after legacy
   templates; scoped to content, leaving the homepage and app flows intact. */
html:has(body.cx-page){scroll-padding-top:0}
body.cx-page{--ink:#242521;--muted:#62665e;--line:#deded5;--paper:#fbfaf6;--orange:#ff6600;background:var(--paper);color:var(--ink);font-family:Inter,Arial,sans-serif;font-size:17px;line-height:1.65}
/* Legacy electrician rules target every header. The shared glass menu owns it. */
body.cx-page #nx-header{padding:0;display:block;border:0}
body.cx-page main{max-width:1120px;margin:0 auto;min-width:0}
body.cx-page main :is(h1,h2,h3){font-family:Inter,Arial,sans-serif;text-wrap:pretty}
body.cx-page main h1{font-size:clamp(40px,4.7vw,60px);line-height:1.06;font-weight:760;letter-spacing:-2.5px;max-width:1000px;margin:0 0 24px}
body.cx-page main h2{font-size:clamp(28px,3vw,36px);font-weight:740;line-height:1.16;letter-spacing:-1.1px;margin:0 0 22px;max-width:900px}
body.cx-page main h3{font-size:20px;font-weight:720;line-height:1.3;letter-spacing:-.35px;margin:30px 0 12px}
body.cx-page main p{margin:0 0 18px}
body.cx-page main a{color:#91400e;text-underline-offset:4px;text-decoration-thickness:1px}
body.cx-page main a:hover{text-decoration-thickness:2px}
body.cx-page main :is(a,summary,button,input,select,[tabindex]):focus-visible{outline:3px solid #91400e;outline-offset:4px}
body.cx-page main :is(section,[id]){scroll-margin-top:calc(var(--cx-nav-top,96px) + var(--cx-nav-height,48px) + 20px)}
body.cx-page :is(.hero-container,.sales-container,.content-shell){width:calc(100% - 100px);max-width:1020px;margin:0 auto}
body.cx-page .content-shell{padding:0 0 56px}
body.cx-guide article{max-width:860px;margin:0 auto}
body.cx-page .hub-hero{background:transparent;padding:54px 0 48px;border:0}
body.cx-page .hub-hero .breadcrumbs{margin-bottom:30px;line-height:1.65}
body.cx-page .hub-hero .eyebrow{font-size:11px;letter-spacing:1.5px;margin-bottom:20px;color:#91400e}
body.cx-page .hub-hero-grid{display:block}
body.cx-page .hub-hero .sales-answer{font-size:20px;line-height:1.6;max-width:820px;color:#54584f;margin-bottom:24px}
body.cx-page .hub-hero .hero-benefit{max-width:820px;font-size:18px}
body.cx-page .hub-hero .hub-hero-note{font-size:13px;max-width:820px}
body.cx-page main :is(.sales-button,.button){color:#191919;background:#ff6600;border:1px solid #ff6600;border-radius:9px;min-height:48px;padding:14px 22px;font-size:15px;font-weight:750;text-decoration:none}
body.cx-page main :is(.sales-button,.button):hover{background:#f57420;border-color:#f57420;text-decoration:none}
body.cx-page .hub-scope-link{color:var(--ink);text-decoration:underline}
body.cx-page .hub-hero-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);column-gap:36px;background:#f1f1e9;color:var(--ink);border:1px solid #ddded2;border-left:4px solid var(--ink);border-radius:10px;box-shadow:none;margin:36px 0 0;padding:26px 28px;max-width:none}
body.cx-page .hub-hero-panel :is(.hub-panel-label,h2,.hero-recommendation,.hub-panel-foot){grid-column:1;margin:0 0 10px;color:var(--ink)}
body.cx-page .hub-hero-panel .hub-panel-label{font-size:10px;color:#91400e}
body.cx-page .hub-hero-panel h2{font-size:25px;letter-spacing:-.6px;line-height:1.2}
body.cx-page .hub-hero-panel .hero-recommendation{font-size:14px;line-height:1.6;color:#54584f}
body.cx-page .hub-hero-panel ol{grid-column:2;grid-row:1 / span 5;align-self:center}
body.cx-page .hub-hero-panel li{border-bottom:1px solid #d6d7cb;font-size:14px;padding:11px 0;gap:14px}
body.cx-page .hub-hero-panel li:last-child{border-bottom:0}
body.cx-page .hub-hero-panel li:before{color:#91400e}
body.cx-page .hub-hero-panel li a{color:var(--ink);padding:4px 0}
body.cx-page .hub-hero-panel .hub-panel-foot{font-size:12px;color:#54584f}
body.cx-page :is(.sales-section,.reading-section,.decision-map){max-width:none;margin:0;padding:56px 0;border:0;border-bottom:1px solid var(--line);background:transparent}
body.cx-page :is(.sales-section,.reading-section)>:is(p,ul,ol){max-width:820px}
body.cx-page .reading-section>p:last-child{background:transparent;border:0;padding:0}
body.cx-page .sales-grid,body.cx-page .cx-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:22px;margin:28px 0}
body.cx-page :is(.sales-card,.cx-card){min-width:0;background:#fff;border:1px solid var(--line);border-top:3px solid var(--ink);border-radius:10px;padding:25px;box-shadow:none}
body.cx-page :is(.sales-card,.cx-card)>h3:first-child{margin-top:0;font-size:21px}
body.cx-page :is(.sales-card,.cx-card) :is(p,li){font-size:16px;line-height:1.65}
body.cx-page :is(.sales-card,.cx-card)>:last-child{margin-bottom:0}
body.cx-page .cx-card a{font-weight:650}
body.cx-page .niche-span{grid-column:1 / -1}
body.cx-page .cx-offer{padding:21px 24px!important;background:#f0f0e7!important;border-left:4px solid var(--orange)!important;border-radius:0 9px 9px 0;max-width:none!important;font-size:16px}
/* Preserve proper tables and all column labels while presenting simple service
   lists and schedules as the hub's cards and numbered roadmap. */
body.cx-page .cx-table-cards{border:0!important;border-radius:0;overflow:visible!important;margin:30px 0;background:transparent}
body.cx-page :is(.cx-service-table,.cx-timeline){display:block!important;min-width:0;width:100%;position:relative}
body.cx-page :is(.cx-service-table,.cx-timeline)>:is(thead,caption){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden;clip-path:inset(50%)}
body.cx-page :is(.cx-service-table,.cx-timeline)>tbody{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;counter-reset:cx-phase}
body.cx-page :is(.cx-service-table,.cx-timeline) tr{display:block!important;position:relative;border:1px solid var(--line)!important;border-top:3px solid var(--ink)!important;background:#fff;border-radius:10px;padding:23px!important;margin:0!important;min-width:0}
body.cx-page :is(.cx-service-table,.cx-timeline) :is(th,td){display:block!important;width:auto!important;border:0!important;background:transparent!important;color:var(--ink)!important;padding:0!important;text-align:left;font-size:16px!important;font-weight:400!important;line-height:1.65}
body.cx-page :is(.cx-service-table,.cx-timeline) th{font-weight:750!important;font-size:20px!important;line-height:1.3;margin-bottom:12px}
body.cx-page :is(.cx-service-table,.cx-timeline) td:before{display:none!important}
body.cx-page .cx-timeline>tbody{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;padding-top:16px}
body.cx-page .cx-timeline tbody tr{counter-increment:cx-phase;border:0!important;border-top:2px solid #d4d4c8!important;padding:29px 0 0!important;border-radius:0;background:transparent}
body.cx-page .cx-timeline tbody tr:before{content:counter(cx-phase);position:absolute;top:-15px;left:0;display:grid;place-items:center;width:28px;height:28px;background:var(--ink);color:#fff;border-radius:50%;font-size:12px;font-weight:750}
body.cx-page .cx-timeline th{color:#91400e!important;font-size:17px!important}
body.cx-page .cx-timeline td{font-size:15px!important}
body.cx-page ol.cx-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;counter-reset:cx-step;list-style:none;padding:0;max-width:none;margin:30px 0}
body.cx-page .cx-steps>li{counter-increment:cx-step;position:relative;border:0;border-top:2px solid #d4d4c8;border-radius:0;padding:29px 0 0;margin:0;background:transparent;font-size:15px;line-height:1.65;min-width:0}
body.cx-page .cx-steps>li:before{content:counter(cx-step);display:grid;place-items:center;position:absolute;top:-15px;left:0;width:28px;height:28px;border-radius:50%;background:var(--ink);color:#fff;font-size:12px;font-weight:750}
body.cx-page .cx-steps strong{display:block;margin-bottom:10px;font-size:18px;line-height:1.35}
body.cx-page .cx-steps p{font-size:15px}
body.cx-page .cx-faq-section{display:block}
body.cx-page details.cx-faq{padding:0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}
body.cx-page details.cx-faq:last-child{border-bottom:1px solid var(--line)}
body.cx-page details.cx-faq summary{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:68px;padding:20px 0;cursor:pointer;list-style:none;color:var(--ink);font-weight:700}
body.cx-page details.cx-faq summary::-webkit-details-marker{display:none}
body.cx-page details.cx-faq summary:after{content:'+';display:grid;place-items:center;flex:none;width:28px;height:28px;font-size:24px;font-weight:400;color:#91400e;border:1px solid var(--line);border-radius:50%}
body.cx-page details.cx-faq[open] summary:after{content:'−'}
body.cx-page main details.cx-faq summary h3{font-size:18px;line-height:1.4;margin:0;font-weight:700}
body.cx-page .cx-faq-answer{max-width:820px;padding:0 42px 23px 0;font-size:16px;color:#54584f}
body.cx-page .cx-faq-answer>:last-child{margin-bottom:0}
body.cx-page .cx-sources{font-size:13px;color:var(--muted)}
body.cx-page .cx-sources h2{font-size:23px}
body.cx-page .cx-sources li{line-height:1.65;margin-bottom:12px}
body.cx-page main .ai-search-table th{background:#f0f0e7;color:var(--ink)}
body.cx-page main .ai-search-table th a{color:#91400e}
/* In flow until enhanced, then dock immediately below the measured menu.
   A single solid header surface masks scrolling text above the reading edge. */
body.cx-page .cx-wayfinding{position:relative;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:20px;width:calc(100% - 100px);max-width:1020px;margin:0 auto;background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line);isolation:isolate;box-sizing:border-box;scroll-margin-top:var(--cx-nav-top,96px)}
body.cx-page .cx-wayfinding[data-cx-enhanced]{position:sticky;top:var(--cx-nav-top,96px)}
body.cx-page .cx-wayfinding[data-cx-stuck]{border-top-color:transparent;border-bottom-color:transparent}
body.cx-page .cx-wayfinding[data-cx-stuck]:before{content:'';position:fixed;inset:0 0 auto;height:calc(var(--cx-nav-top,96px) + var(--cx-nav-height,48px));z-index:-1;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 5px 12px -12px #24252150;pointer-events:none}
body.cx-page .cx-toc{min-width:0;flex:1}
body.cx-page .cx-toc>summary{display:flex;align-items:center;gap:20px;cursor:pointer;list-style:none;min-height:46px;padding:10px 0;font-size:13px;box-sizing:border-box}
body.cx-page .cx-toc>summary::-webkit-details-marker{display:none}
body.cx-page .cx-toc-label{flex:none;font-weight:750;display:flex;align-items:center;gap:10px}
body.cx-page .cx-toc-label:after{content:'';width:6px;height:6px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg);margin-top:-3px}
body.cx-page .cx-toc[open] .cx-toc-label:after{transform:rotate(225deg);margin-top:3px}
body.cx-page .cx-current{font-size:12px;font-weight:500;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.cx-page .cx-toc-links{position:absolute;top:100%;left:0;right:0;display:grid;grid-template-columns:1fr 1fr;gap:0 28px;max-height:min(60svh,var(--cx-menu-space,calc(100svh - var(--cx-nav-top,96px) - var(--cx-nav-height,48px) - 20px)));overflow:auto;overscroll-behavior:contain;padding:22px 26px 22px 46px;margin:0;border:1px solid var(--line);border-radius:0 0 12px 12px;background:var(--paper);box-shadow:0 14px 24px #24252112;font-size:13px}
body.cx-page .cx-wayfinding:not([data-cx-enhanced]) .cx-toc-links{position:static;max-height:none;box-shadow:none}
body.cx-page .cx-toc-links li{padding:0;margin:0 0 8px;break-inside:avoid}
body.cx-page .cx-toc-links a{display:block;padding:8px 0;color:var(--ink);line-height:1.5;text-decoration:none}
body.cx-page .cx-toc-links a:hover,body.cx-page .cx-toc-links a[aria-current]{color:#91400e;text-decoration:underline}
body.cx-page .cx-top{font-size:12px;white-space:nowrap;color:var(--muted);padding:14px 0}
body.cx-page .cx-progress{position:absolute;left:0;right:0;bottom:-1px;height:2px;overflow:hidden;pointer-events:none}
body.cx-page .cx-progress>span{display:block;height:100%;background:#ff6600;transform:scaleX(0);transform-origin:left}
@media(min-width:1500px){body.cx-page .hub-hero{padding-top:64px}}
@media(max-width:900px){body.cx-page .cx-timeline>tbody,body.cx-page ol.cx-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 body.cx-page{font-size:16px;line-height:1.7}
 body.cx-page :is(.hero-container,.sales-container,.content-shell,.cx-wayfinding){width:calc(100% - 44px);margin-left:auto;margin-right:auto}
 body.cx-page .hub-hero{padding:32px 0}
 body.cx-page main h1{font-size:40px;line-height:1.08;letter-spacing:-1.65px}
 body.cx-page main h2{font-size:29px;line-height:1.16;letter-spacing:-.9px}
 body.cx-page main h3{font-size:20px}
 body.cx-page .hub-hero .sales-answer{font-size:18px;line-height:1.6}
 body.cx-page .hub-hero-panel{display:block;padding:22px;margin-top:28px}
 body.cx-page .hub-hero-panel h2{font-size:25px}
 body.cx-page .hub-hero-panel ol{margin-top:16px}
 body.cx-page .hub-hero-panel .hub-panel-foot{margin-top:16px}
 body.cx-page .hub-hero-panel li a{padding:7px 0}
 body.cx-page :is(.sales-section,.reading-section,.decision-map){padding:38px 0}
 body.cx-page .sales-grid,body.cx-page .cx-card-grid{grid-template-columns:1fr;gap:16px;margin:24px 0}
 body.cx-page :is(.sales-card,.cx-card){padding:22px}
 body.cx-page .cx-service-table>tbody{grid-template-columns:1fr;gap:16px}
 body.cx-page .cx-timeline>tbody,body.cx-page ol.cx-steps{display:block!important;margin-left:14px}
 body.cx-page .cx-timeline tbody tr,body.cx-page .cx-steps>li{border:0!important;border-left:2px solid #d4d4c8!important;padding:0 0 28px 28px!important}
 body.cx-page .cx-timeline tbody tr:last-child,body.cx-page .cx-steps>li:last-child{border-left-color:transparent!important;padding-bottom:0!important}
 body.cx-page .cx-timeline tbody tr:before,body.cx-page .cx-steps>li:before{left:-15px;top:0}
 body.cx-page .cx-timeline th{margin-bottom:8px}
 body.cx-page .cx-wayfinding{gap:14px}
 body.cx-page .cx-current{display:none}
 body.cx-page .cx-toc-links{grid-template-columns:1fr;padding:18px 22px 18px 40px}
 body.cx-page .cx-toc-links a{padding:9px 0}
 body.cx-page .cx-faq-answer{padding-right:0}
 body.cx-page main .sales-button{width:auto;max-width:100%}
 body.cx-page .cx-offer{padding:18px!important}
}
@media(max-width:359px){body.cx-page main h1{font-size:35px}body.cx-page :is(.hero-container,.sales-container,.content-shell,.cx-wayfinding){width:calc(100% - 36px)}}
@media(prefers-reduced-motion:reduce){html:has(body.cx-page){scroll-behavior:auto}}
@media print{body.cx-page .cx-wayfinding{display:none}body.cx-page details.cx-faq>*{display:block!important}body.cx-page :is(.sales-grid,.cx-card-grid,.cx-timeline>tbody,ol.cx-steps){display:block!important}body.cx-page .cx-steps>li{margin-bottom:20px}body.cx-page main h1{font-size:32px}body.cx-page main h2{font-size:24px}body.cx-page :is(.hero-container,.sales-container,.content-shell){width:auto}body.cx-page .cx-toc-links{position:static}}
