/* NESF Quick Wins CSS (2026-11-15). Pairs with the "NESF Quick Wins" PHP snippet. Deactivate to undo. */

/* Top bar emergency link (desktop only; phones have the call dock) */
.nesf-topbar-urgent{margin:0}
.nesf-topbar-urgent a{color:var(--nesf-signal,#FFB43D);font-weight:700;text-decoration:underline;text-underline-offset:2px}
@media (max-width:1100px){.nesf-topbar-urgent{display:none}}

/* Home hero request card */
.nesf-home-req .nesf-req-urgent a{font-weight:700}
@media (max-width:900px){
 .nesf-home .hero-grid > .nesf-home-req{margin-top:4px}
 .nesf-home-req .nesf-eyebrow,.nesf-home-req .nesf-req-h,.nesf-home-req .nesf-req-lead,.nesf-home-req .nesf-req-actions,.nesf-home-req .nesf-req-foot{display:none}
 .nesf-home-req .nesf-req-card{padding:14px 16px}
 .nesf-home-req .nesf-req-label{margin-top:0}
}

/* Home sections: stop the alternating left shift */
.nesf-home > .brxe-block > section.brxe-section{margin-left:0!important;margin-right:0!important}

/* Callouts and small additions */
.nesf-x-urgent{margin:.85rem 0 0;padding:.65rem .9rem;border-left:3px solid var(--nesf-signal,#FFB43D);background:rgba(255,180,61,.08);border-radius:6px;font-size:.95rem;line-height:1.5}
.nesf-x-urgent a{font-weight:700}
.nesf-x-procnote{margin:.75rem 0 1rem;padding:.75rem 1rem;border:1px solid var(--nesf-line,rgba(127,140,160,.35));border-radius:8px}
.nesf-x-relsvc{margin:1.5rem 0;padding:.85rem 1rem;border:1px solid var(--nesf-line,rgba(127,140,160,.35));border-radius:8px;line-height:1.75}
.nesf-x-relsvc a{font-weight:600}
.nesf-x-updated{margin:.5rem 0 0;font-size:.875rem;opacity:.85}

/* Desktop reading width */
@media (min-width:900px){
 html body .container.prose > p,
 html body .container.prose > ul > li,
 html body .container.prose > ol > li,
 html body .container.prose > blockquote,
 html body .nesf-detail-row p,
 html body .nesf-faq-a p{max-width:75ch}
}

/* Phones: related links in one column, breadcrumbs off the screen edge, compact proof cards */
@media (max-width:680px){
 html body.nesf-managed-page .nesf-related .nesf-related-groups,
 html body .nesf-related .nesf-related-groups{grid-template-columns:1fr!important}
 html body .nesf-breadcrumbs{padding-left:16px;padding-right:16px;box-sizing:border-box}
 html body .nesf-proof-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
 html body .nesf-proof-grid .nesf-proof-note{display:none}
 html body .nesf-proof-grid .nesf-proof-item{padding:12px!important}
}

/* Phones: quote form panel */
.nesf-qdlg{width:100%;max-width:100%;height:100%;max-height:100%;margin:0;padding:0 0 24px;border:0;background:var(--nesf-bg,#fff);color:var(--nesf-text,inherit);overflow-y:auto;overscroll-behavior:contain}
.nesf-qdlg::backdrop{background:rgba(4,10,20,.6)}
.nesf-qdlg-bar{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;background:var(--nesf-bg,#fff);border-bottom:1px solid var(--nesf-line,rgba(127,140,160,.35))}
.nesf-qdlg-call{font-weight:800;color:var(--nesf-signal,#FFB43D)}
.nesf-qdlg-x{min-height:44px;padding:0 16px;border-radius:10px;border:1px solid currentColor;background:transparent;color:inherit;font-weight:700;font-size:15px}
.nesf-qdlg .nesf-quote-form-wrap{margin:0!important;padding:16px!important;border-radius:0!important;max-width:none!important}
html.nesf-qdlg-open,html.nesf-qdlg-open body{overflow:hidden}

/* Printable templates (fire watch log, capability statement) */
.nesf-log-table{width:100%;border-collapse:collapse;margin:0 0 1.25rem;font-size:.95rem}
.nesf-log-table th,.nesf-log-table td{border:1px solid var(--nesf-line,rgba(127,140,160,.5));padding:8px 10px;text-align:left;vertical-align:top}
.nesf-log-table thead th{font-weight:700;background:rgba(127,140,160,.12)}
.nesf-log-head th{width:42%;font-weight:600}
.nesf-log-rounds td,.nesf-log-handover td{height:34px}
.nesf-cap-table th{width:30%}
.nesf-printable{max-width:none}
.nesf-print-btn{cursor:pointer}
.nesf-x-capnote{margin:.85rem 0 0;font-size:.95rem}
.nesf-x-capnote a,.nesf-x-lognote a{font-weight:700}
.nesf-x-lognote{margin:.75rem 0 0;padding:.65rem .9rem;border-left:3px solid var(--nesf-brand,#6DB6FF);border-radius:6px;background:rgba(109,182,255,.08)}
@media (max-width:680px){.nesf-log-rounds,.nesf-log-handover{display:block;overflow-x:auto}}
@media print{
 body:has(.nesf-printable) .nesf-site-head,
 body:has(.nesf-printable) footer,
 body:has(.nesf-printable) #wpadminbar,
 body:has(.nesf-printable) .nesf-callbar,
 body:has(.nesf-printable) .nesf-band,
 body:has(.nesf-printable) .nesf-related,
 body:has(.nesf-printable) .nesf-inline-cta,
 body:has(.nesf-printable) .nesf-quote-form-wrap,
 body:has(.nesf-printable) .nesf-breadcrumbs,
 body:has(.nesf-printable) .breadcrumbs,
 body:has(.nesf-printable) .hero-actions,
 body:has(.nesf-printable) .trustline,
 body:has(.nesf-printable) .nesf-x-updated,
 body:has(.nesf-printable) .section.alt,
 body:has(.nesf-printable) .nesf-printable ~ *,
 body:has(.nesf-printable) .lead,
 body:has(.nesf-printable) .nesf-topbar{display:none!important}
 body:has(.nesf-printable),body:has(.nesf-printable) *{background:#fff!important;color:#000!important;box-shadow:none!important}
 body:has(.nesf-printable) .page-hero{padding:0!important;min-height:0!important}
 body:has(.nesf-printable) .section{padding:0!important}
 .nesf-log-table th,.nesf-log-table td{border:1px solid #000!important}
 .nesf-log-rounds td{height:30px}
 @page{margin:12mm}
}

/* Fixes from the 2026-11-15 visual review */
html body .nesf-quote-form .nesf-field[hidden],html body .nesf-field[hidden]{display:none!important}
html body.nesf-managed-page .nesf-hero-split:has(.nesf-req-card) .nesf-hero-main .hero-actions:has(.nesf-print-btn){display:flex!important}
html body .nesf-log-table th,html body .nesf-log-table td{font-size:15px!important;line-height:1.45}
html body .nesf-log-table thead th{font-size:14px!important}
.nesf-x-updated{margin-bottom:.75rem!important}
html{overflow-x:clip}
@media print{html body .nesf-log-table th,html body .nesf-log-table td{font-size:11px!important}}

/* Accessibility fixes (2026-11-16) */
html body .nesf-qdlg .nesf-qdlg-call{color:var(--nesf-signal-text,#8A4B00);text-decoration:underline;text-underline-offset:3px}
html{scroll-padding-top:96px}
@media (max-width:780px){html{scroll-padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}}
.nesf-form-key{margin:0 0 12px;font-size:13px;opacity:.85}
#nesf-quote-heading:focus{outline:none}
.nesf-x-projrow h2{margin-bottom:1rem}

/* NESF design refresh + conversion layer (WPCode site-wide CSS, head, after plugin CSS).
   Layout: html body.nesf-managed-page. Colour: html body.nesf-armour.nesf-armour + !important.
   Tokens only; literal navy only where the anchor-band token set is redeclared (topbar, call bar).
   No backdrop-filter / blend / new fixed layers / 100vw. px units (html is 62.5%). */

/* ---------- 0. Icon masks (no color: theme-neutral) ---------- */
:root{
--x-ico-phone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h3l1.5 4-2 1.5a12 12 0 0 0 5 5L15 11.5 19 13v3a2 2 0 0 1-2.2 2A15.5 15.5 0 0 1 4 5.2 2 2 0 0 1 6 3z'/%3E%3C/svg%3E");
--x-ico-shield:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 7.8-8 9-4.6-1.2-8-4.5-8-9V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E");
--x-ico-fire:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c1 3.5 5 5.5 5 10a5 5 0 0 1-10 0c0-2.2 1.2-3.6 2.5-4.6.2 1.6 1 2.6 2 3 0-3.2-.8-5.8.5-8.4z'/%3E%3C/svg%3E");
--x-ico-hat:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17h18M5 17v-3a7 7 0 0 1 14 0v3M10 7.6V5h4v2.6'/%3E%3C/svg%3E");
--x-ico-route:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3Cpath d='M8 18h7a3 3 0 0 0 0-6H9a3 3 0 0 1 0-6h7'/%3E%3C/svg%3E");
--x-ico-key:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='9' r='4.5'/%3E%3Cpath d='M11.3 12.3 20 21M16.5 17.5l2-2'/%3E%3C/svg%3E");
--x-ico-cam:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h12l3-2v9l-3-2H3zM7 12v6H4'/%3E%3C/svg%3E");
--x-ico-pin:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-5.4-6-11a6 6 0 0 1 12 0c0 5.6-6 11-6 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E");
--x-ico-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- 1. Font fallback (Bricks sets font-family:"Inter" with no fallback) ---------- */
@font-face{font-family:"NESF Inter Fallback";src:local("Arial"),local("Helvetica");ascent-override:90.49%;descent-override:22.56%;line-gap-override:0%;size-adjust:107.06%}
html body.nesf-managed-page,
html body.nesf-managed-page :is(h1,h2,h3,h4,h5,h6){font-family:Inter,"NESF Inter Fallback",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}

/* ---------- 2. Focus + tap targets ---------- */
html body.nesf-managed-page :is(a,button,summary,input,select,textarea,[tabindex]:not([tabindex="-1"])):not(#wpadminbar *):focus-visible{outline:3px solid var(--nesf-brand,#0B5FBF);outline-offset:3px}
html body.nesf-managed-page :is(input,select,textarea):not(#wpadminbar *):focus-visible{outline-offset:1px}
@media (forced-colors:active){html body.nesf-managed-page :not(#wpadminbar *):focus-visible{outline-color:Highlight}}
html body.nesf-managed-page :is(.nesf-breadcrumbs a,.nesf-footer-links a,.nesf-toc a,.nesf-index-jump a){min-height:44px}
html body.nesf-managed-page .nesf-breadcrumbs{margin-block:10px}
html body.nesf-managed-page .nesf-chip{min-height:44px;padding:10px 15px}
html body.nesf-managed-page .nesf-topbar-tools .nesf-theme-toggle{position:relative}
html body.nesf-managed-page .nesf-topbar-tools .nesf-theme-toggle::after{content:"";position:absolute;inset:-5px -2px}

/* ---------- 3. Navy utility topbar (anchor tokens redeclared) ---------- */
html body.nesf-managed-page .nesf-topbar{
 --nesf-bg:#071120;--nesf-bg-raise:#0F2033;--nesf-panel:#122234;--nesf-panel-2:#17293D;--nesf-line:#27405A;--nesf-line-soft:rgba(255,255,255,.09);--nesf-control-line:#5A7492;
 --nesf-text:#F5F8FC;--nesf-text-soft:#C6D5E4;--nesf-text-mute:#A3B7CC;
 --nesf-brand:#6DB6FF;--nesf-brand-hi:#9BCEFF;--nesf-brand-ink:#05121F;--nesf-brand-soft:rgba(109,182,255,.14);--nesf-brand-line:rgba(109,182,255,.42);
 --nesf-signal-text:#FFC66B;--nesf-shadow-sm:0 4px 16px rgba(0,0,0,.24);color-scheme:dark}
html body.nesf-armour.nesf-armour .nesf-topbar{background-color:#071120!important;border-bottom:1px solid #132A42!important}
html body.nesf-managed-page .nesf-topbar strong{letter-spacing:.02em}
html body.nesf-managed-page .nesf-topbar a[href^="tel:"]{font-variant-numeric:tabular-nums}

/* ---------- 4. Header: depth, call button, injected quote + drawer CTAs ---------- */
html body.nesf-managed-page .nesf-header{box-shadow:0 1px 0 var(--nesf-line-soft,rgba(12,25,38,.10)),0 12px 28px -22px rgba(4,12,24,.45)}
html body.nesf-managed-page .nesf-head-call{box-shadow:0 6px 18px -4px var(--nesf-signal-soft,rgba(255,180,61,.35));font-variant-numeric:tabular-nums}
/* nav links: color/shadow only, never padding/font-size (frontend.js measures them) */
@media (min-width:1181px){html body.nesf-managed-page .nesf-header:not(.is-collapsed) .nesf-nav>ul>li>a[aria-current="page"]{box-shadow:inset 0 -2px 0 var(--nesf-brand,#0B5FBF)}}
/* Drawer mode = plugin's <=1180px breakpoint OR .is-collapsed above it (frontend.js never adds
   .is-collapsed below 1181px because .nesf-nav is display:none there and measures 0). */
@media (max-width:1180px){html body.nesf-managed-page .nesf-header .nesf-nav>ul>li+li{border-top:1px solid var(--nesf-line-soft,rgba(12,25,38,.10))}}
html body.nesf-managed-page .nesf-header.is-collapsed .nesf-nav>ul>li+li{border-top:1px solid var(--nesf-line-soft,rgba(12,25,38,.10))}
/* "Request coverage" button injected by the footer snippet; only while the nav is in drawer mode */
html body.nesf-managed-page .nesf-head-quote{display:none}
@media (min-width:860px) and (max-width:1180px){
 html body.nesf-managed-page .nesf-header .nesf-head-quote{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;font-size:14px;white-space:nowrap}
 html body.nesf-managed-page .nesf-header .nesf-head-call::after{content:"24/7";margin-left:2px;padding:3px 7px;border-radius:999px;background:var(--nesf-signal-ink,#20140A);color:var(--nesf-signal,#FFB43D);font-size:11px;font-weight:800;letter-spacing:.04em}
}
@media (min-width:1181px){
 html body.nesf-managed-page .nesf-header.is-collapsed .nesf-head-quote{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;font-size:14px;white-space:nowrap}
 html body.nesf-managed-page .nesf-header.is-collapsed .nesf-head-call::after{content:"24/7";margin-left:2px;padding:3px 7px;border-radius:999px;background:var(--nesf-signal-ink,#20140A);color:var(--nesf-signal,#FFB43D);font-size:11px;font-weight:800;letter-spacing:.04em}
 /* drawer buttons: invisible while the desktop row is measured / uncollapsed */
 html body.nesf-managed-page .nesf-header:not(.is-collapsed) .nesf-x-drawer{display:none!important}
 html body.nesf-managed-page .nesf-header:not(.is-collapsed) .nesf-nav-cta:not(:has(.nesf-btn:not(.nesf-x-drawer))){display:none}
}
html body.nesf-managed-page .nesf-header .nesf-nav-cta .nesf-x-drawer{min-height:52px;font-size:16px;justify-content:center;gap:8px}

/* ---------- 5. Hero: tighter type, stronger CTAs, request card fix ---------- */
html body.nesf-managed-page .hero h1{font-size:clamp(36px,4.7vw,60px);max-width:20ch;line-height:1.04;letter-spacing:-.035em}
html body.nesf-managed-page .page-hero{padding-block:clamp(30px,4.4vw,60px) clamp(34px,4.8vw,64px)}
html body.nesf-managed-page .page-hero h1{font-size:clamp(31px,4.4vw,54px);letter-spacing:-.034em}
html body.nesf-managed-page :is(.hero,.page-hero,.cta) .hero-actions .btn{min-height:54px;padding:15px 24px;font-size:16px;border-radius:14px}
html body.nesf-managed-page :is(.hero,.page-hero,.cta) .btn-primary[href^="tel:"]{box-shadow:0 12px 30px -8px rgba(255,154,31,.6),inset 0 1px 0 rgba(255,255,255,.45)}
html body.nesf-armour.nesf-armour :is(.hero,.page-hero,.cta) .btn-secondary{border-color:var(--nesf-text-mute,#A3B7CC)!important}
@media (max-width:480px){
 html body.nesf-managed-page .hero h1{font-size:clamp(30px,8.6vw,36px);margin:12px 0 14px}
 html body.nesf-managed-page .page-hero h1{font-size:clamp(28px,8vw,33px);margin:10px 0 12px}
 html body.nesf-managed-page :is(.hero p.lead,.page-hero .nesf-hero-main>p:not([class])){font-size:16px;line-height:1.55}
 html body.nesf-managed-page .hero .visual{min-height:220px;padding:18px}
 html body.nesf-managed-page :is(.hero,.page-hero) .hero-actions{margin-top:20px}
 html body.nesf-managed-page :is(.hero,.page-hero,.cta) .hero-actions .btn{width:100%}
}
/* request card: .page-hero p was overriding every classed <p> */
html body.nesf-managed-page .page-hero .nesf-eyebrow{font-size:12px;line-height:1.2;max-width:none}
html body.nesf-managed-page .page-hero .nesf-req-lead{font-size:14.5px;line-height:1.55}
html body.nesf-managed-page .page-hero .nesf-req-label{font-size:11px;line-height:1}
html body.nesf-managed-page .page-hero .nesf-req-foot{font-size:12px;line-height:1.5}
html body.nesf-managed-page .page-hero .nesf-cta-assure{font-size:13.5px;line-height:1.5}
html body.nesf-armour.nesf-armour .page-hero p.nesf-eyebrow{color:var(--nesf-brand,#6DB6FF)!important}
html body.nesf-armour.nesf-armour .page-hero p:is(.nesf-req-label,.nesf-req-foot,.nesf-cta-assure){color:var(--nesf-text-mute,#A3B7CC)!important}
html body.nesf-managed-page .nesf-req-card{border-radius:22px;border-top:3px solid var(--nesf-signal,#FFB43D)}
html body.nesf-managed-page .nesf-req-actions .nesf-btn{min-height:52px;border-radius:13px;font-size:16px}
/* trust chips: allowed facts only (fully insured, since 2009); CSS-generated, no shift */
html body.nesf-managed-page .trustline span::before{width:14px;height:14px;border-radius:0;box-shadow:none;background:var(--nesf-ok,#5FE0AE);-webkit-mask:var(--x-ico-check) center/contain no-repeat;mask:var(--x-ico-check) center/contain no-repeat}
html body.nesf-managed-page:not(.page-id-1326) :is(.hero,.page-hero) .trustline::after{display:inline-flex;align-items:center;padding:7px 13px;border:1px solid var(--nesf-line,#27405A);border-radius:999px;background:var(--nesf-panel,#122234);color:var(--nesf-text-soft,#C6D5E4);font-size:12.5px;font-weight:700;letter-spacing:.01em}
html body.nesf-managed-page:not(.page-id-1326) .page-hero .trustline::after{content:"Fully insured \00B7  Since 2009"}
html body.nesf-managed-page:not(.page-id-1326) .hero .trustline::after{content:"In business since 2009"}

/* ---------- 6. Phone glyph on tel buttons that lack one ---------- */
html body.nesf-managed-page :is(.btn,.nesf-btn)[href^="tel:"]:not(:has(svg))::before{content:"";flex:none;width:18px;height:18px;background:currentColor;-webkit-mask:var(--x-ico-phone) center/contain no-repeat;mask:var(--x-ico-phone) center/contain no-repeat}
html body.nesf-managed-page .x-num{font-variant-numeric:tabular-nums;white-space:nowrap}
html body.nesf-armour.nesf-armour .x-num{color:inherit!important}

/* ---------- 7. Section rhythm + wpautop debris (empty nodes only, no text hidden) ---------- */
html body.nesf-managed-page :is(#brx-content,#main-content)>br,
html body.nesf-managed-page :is(#brx-content,#main-content)>p:empty,
html body.nesf-managed-page #main-content+br{display:none}
html body.nesf-managed-page .section{padding-block:clamp(52px,6vw,88px)}
html body.nesf-managed-page .section:not(.alt)+.section:not(.alt){padding-top:clamp(20px,3vw,40px)}
html body.nesf-managed-page .section-head{margin-bottom:clamp(24px,3.4vw,40px)}
html body.nesf-managed-page .section-head h2{font-size:clamp(28px,3.5vw,42px)}
html body.nesf-managed-page :is(.section-head h2,.split h2,.prose h2,.nesf-band-h,.nesf-detail-head h2,.nesf-quote-intro h2){font-weight:700;letter-spacing:-.026em}
html body.nesf-managed-page .nesf-quick-answer{margin-block:12px 22px;border-radius:16px}

/* ---------- 8. Cards: whole-card link, service glyphs, clearer hover ---------- */
html body.nesf-managed-page .cards{gap:16px}
html body.nesf-managed-page .card{border-radius:20px;padding:24px 22px 22px;min-height:0}
html body.nesf-managed-page .card h3{font-weight:700;font-size:19.5px;letter-spacing:-.018em;margin:16px 0 8px}
html body.nesf-managed-page .card:is(:hover,:focus-within){box-shadow:var(--nesf-shadow,0 18px 50px rgba(12,25,38,.10)),inset 0 3px 0 var(--nesf-brand,#0B5FBF)}
html body.nesf-managed-page .card .link{font-size:14.5px}
html body.nesf-managed-page .card>.link:only-of-type,
html body.nesf-managed-page .card>p:last-child>.link:only-child{position:static}
html body.nesf-managed-page .card>p:last-child:has(>.link:only-child){position:static;margin:auto 0 0;padding-top:16px}
html body.nesf-managed-page .card>p:last-child>.link:only-child::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
html body.nesf-managed-page .card:has(.link:focus-visible){outline:3px solid var(--nesf-brand,#0B5FBF);outline-offset:3px}
html body.nesf-managed-page .card:hover .link{gap:11px}
/* numerals 01-18 are decorative chips; replaced by a service glyph */
html body.nesf-managed-page .card .icon{width:48px;height:48px;border-radius:14px;font-size:0;line-height:0}
html body.nesf-managed-page .card .icon>p{font-size:0;margin:0}
html body.nesf-managed-page .card .icon::before{content:"";width:24px;height:24px;background:currentColor;-webkit-mask:var(--x-ico-shield) center/contain no-repeat;mask:var(--x-ico-shield) center/contain no-repeat}
html body.nesf-managed-page .card:has(a[href*="construction"]) .icon::before{-webkit-mask-image:var(--x-ico-hat);mask-image:var(--x-ico-hat)}
html body.nesf-managed-page .card:has(a[href*="patrol"]) .icon::before{-webkit-mask-image:var(--x-ico-route);mask-image:var(--x-ico-route)}
html body.nesf-managed-page .card:has(a[href*="access"],a[href*="gatehouse"],a[href*="concierge"]) .icon::before{-webkit-mask-image:var(--x-ico-key);mask-image:var(--x-ico-key)}
html body.nesf-managed-page .card:has(a[href*="cctv"]) .icon::before{-webkit-mask-image:var(--x-ico-cam);mask-image:var(--x-ico-cam)}
html body.nesf-managed-page .card:has(a[href*="fire"]) .icon::before{-webkit-mask-image:var(--x-ico-fire);mask-image:var(--x-ico-fire)}
@media (max-width:680px){html body.nesf-managed-page .card{padding:20px 18px}}

/* ---------- 9. Closing CTA card + inline CTA ---------- */
html body.nesf-managed-page .cta{border-radius:28px;padding:clamp(28px,5vw,60px);box-shadow:0 34px 80px -34px rgba(4,12,24,.6)}
html body.nesf-managed-page .cta h2{font-size:clamp(28px,3.6vw,44px)}
html body.nesf-managed-page .nesf-inline-cta{border-left-width:4px;border-radius:18px}

/* ---------- 10. Coverage grid: 2-up on phones, visible affordance ---------- */
html body.nesf-managed-page .coverage-grid{gap:8px;margin-bottom:8px}
@media (max-width:680px){html body.nesf-managed-page .coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
html body.nesf-managed-page .coverage-grid a{justify-content:flex-start;gap:9px;min-height:44px;padding:11px 12px;border-radius:12px;font-weight:600}
html body.nesf-managed-page .coverage-grid a::before{content:"";flex:none;width:15px;height:15px;background:var(--nesf-brand,#0B5FBF);-webkit-mask:var(--x-ico-pin) center/contain no-repeat;mask:var(--x-ico-pin) center/contain no-repeat}
html body.nesf-managed-page .coverage-grid a::after{margin-left:auto;opacity:.55;transform:none}
html body.nesf-managed-page .coverage-grid a:hover::after{opacity:1}
html body.nesf-managed-page h3:has(+.coverage-grid){margin:30px 0 12px;font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
html body.nesf-managed-page h3:has(+.coverage-grid) a{text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--nesf-brand-line,rgba(11,95,191,.30))}

/* ---------- 11. Images: frame + honest provenance on stock photos ---------- */
html body.nesf-managed-page :is(.nesf-figure,.section figure,.prose figure)>img{border-radius:var(--nesf-radius-lg,24px)!important;border:1px solid var(--nesf-line,#C4D2E0);box-shadow:var(--nesf-shadow,0 18px 50px rgba(12,25,38,.10));background:var(--nesf-panel-2,#EEF3F8)}
html body.nesf-managed-page figure:has(>img[src*="AdobeStock"])::after{content:"Illustrative image";display:block;margin-top:10px;font-size:11px;font-weight:600;line-height:1.3;letter-spacing:.06em;text-transform:uppercase;color:var(--nesf-text-mute,#4C6076)}
@media (max-width:680px){html body.nesf-managed-page :is(.nesf-figure,.section figure,.prose figure)>img{border-radius:var(--nesf-radius,16px)!important}}

/* ---------- 12. FAQ ---------- */
html body.nesf-managed-page :is(.faq,.nesf-faq-list) details{border-radius:14px;transition:border-color .18s ease,box-shadow .18s ease}
html body.nesf-managed-page :is(.faq,.nesf-faq-list) details[open]{border-color:var(--nesf-brand-line,rgba(11,95,191,.30));box-shadow:inset 3px 0 0 var(--nesf-brand,#0B5FBF),var(--nesf-shadow-sm,0 2px 10px rgba(12,25,38,.08))}
html body.nesf-managed-page .faq details:hover{border-color:var(--nesf-brand-line,rgba(11,95,191,.30))}
html body.nesf-managed-page :is(.faq,.nesf-faq) summary{min-height:56px}
html body.nesf-managed-page .faq summary{font-weight:700}

/* ---------- 13. Quote form: reads as the destination ---------- */
html body.nesf-managed-page .nesf-quote-form-wrap{border-top:4px solid var(--nesf-brand,#0B5FBF);border-radius:24px;transition:box-shadow .25s ease}
html body.nesf-managed-page .nesf-quote-form-wrap:has(#nesf-quote-heading:target){box-shadow:0 0 0 3px var(--nesf-brand,#0B5FBF),var(--nesf-shadow,0 18px 50px rgba(12,25,38,.10))}
html body.nesf-managed-page .nesf-quote-form :is(input:not([type=checkbox]):not([type=radio]),select){min-height:48px}
html body.nesf-managed-page .nesf-quote-form :is(input,select,textarea){border-radius:12px;transition:border-color .15s ease,box-shadow .15s ease}
html body.nesf-managed-page .nesf-quote-form :is(input,select,textarea):focus-visible{border-color:var(--nesf-brand,#0B5FBF);box-shadow:0 0 0 4px var(--nesf-brand-soft,rgba(11,95,191,.07))}
html body.nesf-managed-page .nesf-quote-form .nesf-cta-row .nesf-btn{min-height:52px;font-size:16px;padding-inline:24px}
@media (max-width:560px){html body.nesf-managed-page .nesf-quote-form .nesf-cta-row .nesf-btn{flex:1 1 100%}}

/* ---------- 14. Proof band / trust strip ---------- */
html body.nesf-managed-page .nesf-proof-item{padding:22px 20px;gap:6px}
html body.nesf-managed-page .nesf-proof-icon{width:42px;height:42px;border-radius:12px}
html body.nesf-managed-page .nesf-proof-item b{font-size:16px}
html body.nesf-managed-page .trust-item b{font-size:clamp(20px,2.2vw,26px)}

/* ---------- 15. Pre-footer conversion band (injected; uses .nesf-ink-dark anchor tokens) ---------- */
html body.nesf-managed-page .nesf-x-band{margin-top:clamp(48px,8vw,90px);padding-block:clamp(36px,6vw,64px);border-top:1px solid var(--nesf-line,#27405A);box-shadow:inset 0 3px 0 var(--nesf-signal,#FFB43D)}
html body.nesf-managed-page .nesf-x-band-in{width:min(var(--nesf-max,1180px),calc(100% - 2 * var(--nesf-gutter,16px)));margin-inline:auto;display:grid;gap:24px;align-items:center}
@media (min-width:900px){html body.nesf-managed-page .nesf-x-band-in{grid-template-columns:minmax(0,1fr) minmax(300px,auto);gap:48px}}
html body.nesf-armour.nesf-armour .nesf-x-band .nesf-x-band-eyebrow{margin:0 0 10px;font-size:12px;font-weight:800;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;color:var(--nesf-signal-text,#FFC66B)!important}
html body.nesf-armour.nesf-armour .nesf-x-band .nesf-x-band-h{margin:0 0 12px;font-size:clamp(26px,4.2vw,40px);font-weight:800;line-height:1.1;letter-spacing:-.03em;color:var(--nesf-text,#F5F8FC)!important;text-wrap:balance}
html body.nesf-armour.nesf-armour .nesf-x-band .nesf-x-band-p{margin:0;max-width:60ch;font-size:16.5px;line-height:1.6;color:var(--nesf-text-soft,#C6D5E4)!important}
html body.nesf-managed-page .nesf-x-band-chips{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0;padding:0;list-style:none}
html body.nesf-armour.nesf-armour .nesf-x-band .nesf-x-band-chips li{margin:0;padding:6px 12px;border:1px solid var(--nesf-line,#27405A)!important;border-radius:999px;background:var(--nesf-panel,#122234)!important;font-size:12.5px;font-weight:700;color:var(--nesf-text-soft,#C6D5E4)!important}
html body.nesf-managed-page .nesf-x-band-actions{display:flex;flex-direction:column;gap:12px;min-width:0}
html body.nesf-managed-page .nesf-x-band-actions .nesf-btn{width:100%;min-height:56px;font-size:17px;justify-content:center;gap:8px}
html body.nesf-armour.nesf-armour .nesf-x-band .nesf-x-band-note{margin:2px 0 0;font-size:13px;text-align:center;color:var(--nesf-text-mute,#A3B7CC)!important}
@media (max-width:359px){html body.nesf-managed-page .nesf-x-band-actions .nesf-btn{font-size:15px;white-space:normal}}
html body.nesf-managed-page .nesf-x-band+.nesf-footer{margin-top:0!important;border-top-color:var(--nesf-line,#27405A)}
@media print{.nesf-x-band{display:none!important}}

/* ---------- 16. Footer ---------- */
html body.nesf-managed-page .nesf-footer{box-shadow:inset 0 1px 0 var(--nesf-brand-line,rgba(109,182,255,.42))}
html body.nesf-managed-page .nesf-footer .nesf-cta-row .nesf-btn{min-height:50px;padding-inline:20px;font-size:15px}
html body.nesf-managed-page .nesf-footer-nap a[href^="tel:"]{font-size:18px;font-variant-numeric:tabular-nums}
html body.nesf-armour.nesf-armour .nesf-footer .nesf-footer-col h2{color:var(--nesf-text-soft,#C6D5E4)!important}
html body.nesf-armour.nesf-armour .nesf-footer .nesf-x-addr{color:var(--nesf-text-soft,#C6D5E4)!important}

/* ---------- 17. Mobile call bar -> navy action dock (enhanced in place, not duplicated) ---------- */
@media (max-width:780px){
 html body.nesf-managed-page .nesf-callbar{
  --nesf-bg:#0A1626;--nesf-bg-raise:#0F2033;--nesf-panel:#122234;--nesf-line:#27405A;--nesf-control-line:#5A7492;
  --nesf-text:#F5F8FC;--nesf-text-soft:#C6D5E4;--nesf-brand:#6DB6FF;--nesf-brand-hi:#9BCEFF;--nesf-brand-ink:#05121F;
  --nesf-signal:#FFB43D;--nesf-signal-2:#FF9A1F;--nesf-signal-ink:#20140A;
  background-color:#0A1626;background-image:linear-gradient(180deg,#0F2033,#0A1626);
  border-top:1px solid #27405A;box-shadow:0 -10px 28px -8px rgba(4,10,20,.45),inset 0 2px 0 #FFB43D;color-scheme:dark;
  transition:transform .2s ease,visibility 0s linear 0s}
 html body.nesf-managed-page .nesf-callbar .nesf-btn{min-height:52px;border-radius:12px;font-size:14.5px;font-weight:800;padding-inline:10px;justify-content:center;font-variant-numeric:tabular-nums}
 html body.nesf-managed-page .nesf-callbar .nesf-btn[href^="tel:"]{flex:1.45 1 0;gap:8px;box-shadow:0 6px 18px -6px rgba(255,154,31,.65),inset 0 1px 0 rgba(255,255,255,.4)}
 html body.nesf-managed-page .nesf-callbar .nesf-btn:not([href^="tel:"]){flex:1 1 0}
 html body.nesf-managed-page .nesf-callbar .nesf-x-cb-txt{display:flex;flex-direction:column;align-items:flex-start;gap:3px;line-height:1}
 html body.nesf-managed-page .nesf-callbar .nesf-x-cb-k{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
 html body.nesf-managed-page .nesf-callbar .nesf-x-cb-n{font-size:15.5px;font-weight:800}
 html body.nesf-managed-page.nesf-has-callbar{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
 /* slide away while a form field has focus (keyboard open) */
 html body.nesf-managed-page.nesf-x-typing .nesf-callbar{transform:translateY(110%);visibility:hidden;transition:transform .2s ease,visibility 0s linear .2s}
}
html body.nesf-managed-page .nesf-callbar .nesf-btn:not([href^="tel:"])::before{content:none}
@media (max-width:349px){html body.nesf-managed-page .nesf-callbar .nesf-btn::before{content:none}}

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
 html body.nesf-managed-page :is(.card,.btn,.nesf-callbar,.nesf-quote-form-wrap,.faq details,.nesf-faq-list details,.nesf-quote-form input,.nesf-quote-form select,.nesf-quote-form textarea){transition:none!important}
 html body.nesf-managed-page :is(.card,.btn):is(:hover,:focus-within),
 html body.nesf-managed-page .coverage-grid a:hover{transform:none}
}

/* NESF v2 components (WPCode site-wide CSS, head, after nesf-refresh.css).
   Slimmer interior hero, plus styles for the two HOME-ONLY Bricks html fragments:
   why.html (.nesf-x-why, replaces the .trust-strip section) and process.html (.nesf-x-proc).
   No JS injection: both fragments are server-rendered by Bricks.
   Layout: html body.nesf-managed-page. Colour: html body.nesf-armour.nesf-armour + !important. Tokens only. */

/* ---------- 1. Interior hero: less vertical padding, compact request card (nothing hidden) ---------- */
@media (min-width:901px){
 html body.nesf-managed-page .page-hero{padding-block:clamp(22px,2.6vw,38px) clamp(26px,3vw,42px)}
 html body.nesf-managed-page .page-hero .nesf-hero-split{align-items:center;gap:clamp(24px,3.4vw,48px)}
 html body.nesf-managed-page .page-hero h1{margin:10px 0 12px}
 html body.nesf-managed-page .page-hero .hero-actions{margin-top:18px}
 html body.nesf-managed-page .page-hero .nesf-cta-assure{margin-top:12px}
 html body.nesf-managed-page .page-hero .nesf-req-card{padding:20px 22px}
 html body.nesf-managed-page .page-hero .nesf-req-h{margin:6px 0;font-size:clamp(19px,1.7vw,22px)}
 html body.nesf-managed-page .page-hero .nesf-req-lead{margin:0 0 14px}
 html body.nesf-managed-page .page-hero .nesf-req-actions{gap:8px}
 html body.nesf-managed-page .page-hero .nesf-req-actions .nesf-btn{min-height:48px}
 html body.nesf-managed-page .page-hero .nesf-req-label{margin:16px 0 8px;padding-top:14px}
 html body.nesf-managed-page .page-hero .nesf-req-list{gap:6px}
 html body.nesf-managed-page .page-hero .nesf-req-foot{margin-top:14px;padding-top:12px}
}
@media (min-width:1100px){
 html body.nesf-managed-page .page-hero .nesf-req-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.nesf-managed-page .page-hero .nesf-req-actions .nesf-btn{padding-inline:12px;font-size:15px}
}

/* ---------- 2. Shared inner width (full-bleed parent or inside an existing container) ---------- */
html body.nesf-managed-page :is(.nesf-x-why-in,.nesf-x-proc-in){width:min(var(--nesf-max,1180px),calc(100% - 2 * var(--nesf-gutter,16px)));margin-inline:auto;min-width:0}
html body.nesf-managed-page :is(.container,.brxe-container,.nesf-container) :is(.nesf-x-why-in,.nesf-x-proc-in){width:100%}

/* ---------- 3. Why-NESF credentials row ---------- */
html body.nesf-managed-page .nesf-x-why{padding-block:16px;border-bottom:1px solid var(--nesf-line,#C4D2E0)}
html body.nesf-armour.nesf-armour .nesf-x-why{background:var(--nesf-bg-raise,#F4F7FA)!important}
html body.nesf-managed-page .nesf-x-why-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;margin:0;padding:0;list-style:none}
html body.nesf-managed-page .nesf-x-why-list li{display:flex;align-items:center;gap:9px;min-width:0;margin:0;padding:0;font-size:13.5px;font-weight:700;line-height:1.3;letter-spacing:-.005em}
html body.nesf-managed-page .nesf-x-why-list li::before,html body.nesf-managed-page .nesf-x-why-list li::marker{content:none}
html body.nesf-managed-page .nesf-x-why-ico{flex:none;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;border:1px solid var(--nesf-brand-line,rgba(11,95,191,.30))}
html body.nesf-managed-page .nesf-x-why-ico svg{width:19px;height:19px;display:block}
html body.nesf-managed-page .nesf-x-why-num{font-variant-numeric:tabular-nums;white-space:nowrap}
/* (0,6,3): beats the plugin's tier-2 armour :is(main,.section,...) :is(p,li,...):not([class]) (0,5,2) */
html body.nesf-armour.nesf-armour.nesf-managed-page .nesf-x-why .nesf-x-why-list>li.nesf-x-why-item{color:var(--nesf-text,#0C1926)!important}
html body.nesf-armour.nesf-armour .nesf-x-why-ico{color:var(--nesf-brand,#0B5FBF)!important;background:var(--nesf-brand-soft,rgba(11,95,191,.07))!important}
@media (min-width:700px){html body.nesf-managed-page .nesf-x-why-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1100px){
 html body.nesf-managed-page .nesf-x-why{padding-block:14px}
 html body.nesf-managed-page .nesf-x-why-list{grid-template-columns:repeat(6,minmax(0,auto));justify-content:space-between;gap:12px 18px}
}

/* ---------- 4. Process strip ---------- */
html body.nesf-managed-page .nesf-x-proc{padding-block:clamp(44px,6vw,80px)}
html body.nesf-managed-page .nesf-x-proc-head{max-width:62ch;margin-bottom:clamp(20px,3vw,32px)}
html body.nesf-armour.nesf-armour .nesf-x-proc .nesf-x-proc-eyebrow{margin:0 0 8px;font-size:12px;font-weight:800;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;color:var(--nesf-brand,#0B5FBF)!important}
html body.nesf-armour.nesf-armour .nesf-x-proc .nesf-x-proc-h{margin:0 0 10px;font-size:clamp(26px,3.4vw,40px);font-weight:700;line-height:1.1;letter-spacing:-.026em;text-wrap:balance;color:var(--nesf-text,#0C1926)!important}
html body.nesf-armour.nesf-armour .nesf-x-proc .nesf-x-proc-lead{margin:0;font-size:16.5px;line-height:1.6;color:var(--nesf-text-soft,#33475C)!important}
html body.nesf-managed-page .nesf-x-proc-steps{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:0;padding:0;list-style:none;counter-reset:none}
html body.nesf-managed-page .nesf-x-proc-step{position:relative;display:flex;flex-direction:column;gap:8px;min-width:0;margin:0;padding:20px 18px;border:1px solid var(--nesf-line,#C4D2E0);border-radius:18px;box-shadow:var(--nesf-shadow-sm,0 2px 10px rgba(12,25,38,.08))}
html body.nesf-managed-page .nesf-x-proc-step::before,html body.nesf-managed-page .nesf-x-proc-step::marker{content:none}
html body.nesf-armour.nesf-armour .nesf-x-proc-step{background:var(--nesf-panel,#FFFFFF)!important}
html body.nesf-managed-page .nesf-x-proc-ico{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:13px}
html body.nesf-managed-page .nesf-x-proc-ico svg{width:24px;height:24px;display:block}
html body.nesf-armour.nesf-armour .nesf-x-proc-ico{color:var(--nesf-brand,#0B5FBF)!important;background:var(--nesf-brand-soft,rgba(11,95,191,.07))!important;box-shadow:inset 0 0 0 1px var(--nesf-brand-line,rgba(11,95,191,.30))}
html body.nesf-managed-page .nesf-x-proc-n{position:absolute;top:18px;right:18px;font:700 13px/1 var(--nesf-font-mono,ui-monospace,Menlo,Consolas,monospace);letter-spacing:.06em}
html body.nesf-armour.nesf-armour .nesf-x-proc-n{color:var(--nesf-text-mute,#4C6076)!important}
html body.nesf-armour.nesf-armour .nesf-x-proc .nesf-x-proc-t{display:block;margin-top:6px;font-size:17.5px;font-weight:700;line-height:1.3;letter-spacing:-.015em;color:var(--nesf-text,#0C1926)!important}
html body.nesf-armour.nesf-armour .nesf-x-proc .nesf-x-proc-p{margin:0;max-width:none;font-size:15px;line-height:1.55;color:var(--nesf-text-soft,#33475C)!important}
html body.nesf-managed-page .nesf-x-proc-actions{display:flex;flex-direction:column;gap:12px;margin-top:clamp(20px,3vw,30px)}
html body.nesf-managed-page .nesf-x-proc-actions .nesf-btn{width:100%;min-height:52px;padding:14px 22px;font-size:16px;border-radius:13px;justify-content:center;gap:8px;font-variant-numeric:tabular-nums}
html body.nesf-managed-page .nesf-x-proc-actions .nesf-btn svg{flex:none;width:18px;height:18px}
/* (0,6,3): beats the plugin's body.nesf-armour.nesf-armour .prose a:not(.btn):not(.link) (0,5,2),
   which would paint brand-blue text on the amber button (~3.5:1) if the fragment lands in a .prose container */
html body.nesf-armour.nesf-armour .nesf-x-proc .nesf-x-proc-actions a.nesf-btn.nesf-btn-signal{color:var(--nesf-signal-ink,#20140A)!important;text-decoration:none!important}
html body.nesf-armour.nesf-armour .nesf-x-proc .nesf-x-proc-actions a.nesf-btn.nesf-btn-ghost{color:var(--nesf-text,#0C1926)!important;text-decoration:none!important}
@media (max-width:359px){html body.nesf-managed-page .nesf-x-proc-actions .nesf-btn{font-size:15px;white-space:normal;text-align:center}}
@media (min-width:560px){
 html body.nesf-managed-page .nesf-x-proc-actions{flex-direction:row;flex-wrap:wrap;align-items:center}
 html body.nesf-managed-page .nesf-x-proc-actions .nesf-btn{width:auto}
}
@media (min-width:820px){
 html body.nesf-managed-page .nesf-x-proc-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 html body.nesf-managed-page .nesf-x-proc-step{padding:24px 22px}
}

/* ---------- 5. Forced colors, reduced motion, print ---------- */
@media (forced-colors:active){
 html body.nesf-managed-page :is(.nesf-x-proc-step,.nesf-x-why-ico,.nesf-x-proc-ico){border:1px solid CanvasText}
}
@media (prefers-reduced-motion:reduce){
 html body.nesf-managed-page .nesf-x-proc-actions .nesf-btn{transition:none!important;transform:none!important}
}
@media print{.nesf-x-proc-actions{display:none!important}}


/* NESF Virginia coverage map (.nesf-x-map) — WPCode site-wide CSS, head, after nesf-refresh.css.
   Layout: html body.nesf-managed-page. Colour: html body.nesf-armour.nesf-armour + !important
   (also matched on .nesf-managed-page via :is() so the map never falls back to black fills).
   Tokens only (theme follows body tokens: light, dark, system). px units; no 100vw, no fixed layers. */

/* ---------- layout ---------- */
html body.nesf-managed-page .nesf-x-map{box-sizing:border-box;width:100%;max-width:980px;margin:0 auto;padding:clamp(12px,2.4vw,24px);border:1px solid;border-radius:var(--nesf-radius,16px);min-width:0}
html body.nesf-managed-page .nesf-x-map *,html body.nesf-managed-page .nesf-x-map *::before,html body.nesf-managed-page .nesf-x-map *::after{box-sizing:border-box}
html body.nesf-managed-page .nesf-x-map__frame{position:relative;width:100%;min-width:0}
html body.nesf-managed-page .nesf-x-map__svg{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:1000/460;overflow:visible}
html body.nesf-managed-page .nesf-x-map__land{stroke-width:1.25;stroke-linejoin:round;vector-effect:non-scaling-stroke}
html body.nesf-managed-page .nesf-x-map__leader{fill:none;stroke-width:1.25;vector-effect:non-scaling-stroke}

/* text inside the SVG (viewBox units) */
html body.nesf-managed-page .nesf-x-map__svg text{font-family:inherit;paint-order:stroke fill;stroke-width:4px;stroke-linejoin:round}
html body.nesf-managed-page .nesf-x-map__lbl{font-size:13px;font-weight:600;letter-spacing:.005em}
html body.nesf-managed-page .nesf-x-map__lbl--hq{font-size:14px;font-weight:800}
html body.nesf-managed-page .nesf-x-map__rlbl{font-size:16px;font-weight:800;letter-spacing:.01em}

/* pins: hit area + dot; scale on hover/focus about their own center */
html body.nesf-managed-page .nesf-x-map__pin,html body.nesf-managed-page .nesf-x-map__region{cursor:pointer;text-decoration:none}
html body.nesf-managed-page .nesf-x-map__hit{fill:transparent;stroke:none;pointer-events:all}
html body.nesf-managed-page .nesf-x-map__dot,html body.nesf-managed-page .nesf-x-map__hq{stroke-width:2;transform-box:fill-box;transform-origin:center;transition:transform .16s ease,stroke-width .16s ease;vector-effect:non-scaling-stroke}
html body.nesf-managed-page .nesf-x-map__pin:is(:hover,:focus-visible) :is(.nesf-x-map__dot,.nesf-x-map__hq){transform:scale(1.35);stroke-width:3}
html body.nesf-managed-page .nesf-x-map__region:is(:hover,:focus-visible) .nesf-x-map__rlbl{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
/* SVG <a> focus. Chromium/Firefox paint the outline; WebKit does not paint outline on SVG elements,
   so the pin's hit circle also gets a stroke ring and the region label switches fill color (see color block). */
html body.nesf-managed-page .nesf-x-map__svg a:focus{outline:none}
html body.nesf-managed-page .nesf-x-map__svg a:focus-visible{outline:3px solid var(--nesf-brand,#0B5FBF);outline-offset:2px}
html body.nesf-managed-page .nesf-x-map__pin:focus-visible .nesf-x-map__hit{stroke:var(--nesf-brand,#0B5FBF)!important;stroke-width:3;vector-effect:non-scaling-stroke}

/* caption + key */
html body.nesf-managed-page .nesf-x-map__cap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 20px;margin:12px 0 0;font-size:15px;line-height:1.5}
html body.nesf-managed-page .nesf-x-map__cap-text{font-weight:600}
html body.nesf-managed-page .nesf-x-map__key{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;line-height:1.4}
html body.nesf-managed-page .nesf-x-map__key-dot{display:inline-block;width:10px;height:10px;border-radius:50%;border:2px solid}
html body.nesf-managed-page .nesf-x-map__key-hq{display:inline-block;width:11px;height:11px;margin-left:10px;transform:rotate(45deg);border:2px solid}

/* list fallback (the touch interface below 560px, where an inline script opens it; keyboard-friendly everywhere) */
html body.nesf-managed-page .nesf-x-map__more{margin:14px 0 0;border-top:1px solid;padding-top:4px}
html body.nesf-managed-page .nesf-x-map__sum{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 2px;font-size:15px;font-weight:700;cursor:pointer;list-style:none}
html body.nesf-managed-page .nesf-x-map__sum::-webkit-details-marker{display:none}
html body.nesf-managed-page .nesf-x-map__sum::after{content:"";width:8px;height:8px;margin-left:auto;margin-right:6px;border-right:2px solid;border-bottom:2px solid;transform:rotate(45deg) translateY(-2px);transition:transform .16s ease}
html body.nesf-managed-page .nesf-x-map__more[open]>.nesf-x-map__sum::after{transform:rotate(-135deg) translateY(-2px)}
html body.nesf-managed-page .nesf-x-map__list-wrap{padding:4px 0 6px}
html body.nesf-managed-page .nesf-x-map__list-h{margin:10px 0 8px;font-size:12px;line-height:1.3;letter-spacing:.1em;text-transform:uppercase}
html body.nesf-managed-page .nesf-x-map__list{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
html body.nesf-managed-page .nesf-x-map__li{margin:0;padding:0;min-width:0;max-width:100%}
html body.nesf-managed-page .nesf-x-map__li::before,html body.nesf-managed-page .nesf-x-map__li::marker{content:none}
html body.nesf-managed-page .nesf-x-map .nesf-x-map__list a.nesf-x-map__chip{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:10px 14px;border:1px solid;border-radius:999px;font-size:14.5px;font-weight:600;line-height:1.25;text-decoration:none;overflow-wrap:anywhere}

/* narrow: SVG text would render below ~6px, so the list carries names; pins stay visible and keyboard-focusable
   but ignore taps (5-6px targets that overlap); the 44px chips below are the touch interface */
@media (max-width:559.98px){
 html body.nesf-managed-page .nesf-x-map__pins{pointer-events:none}
 html body.nesf-managed-page .nesf-x-map__pins .nesf-x-map__hit{pointer-events:none}
 html body.nesf-managed-page .nesf-x-map__lbl,
 html body.nesf-managed-page .nesf-x-map__regions,
 html body.nesf-managed-page .nesf-x-map__pin--hq .nesf-x-map__leader{display:none}
 /* the map renders at ~0.3x here: enlarge markers so they read as dots, thin their halo */
 html body.nesf-managed-page .nesf-x-map__dot{transform:scale(2.1);stroke-width:1}
 html body.nesf-managed-page .nesf-x-map__hq{transform:scale(1.7);stroke-width:1.5}
 html body.nesf-managed-page .nesf-x-map__pin:is(:hover,:focus-visible) .nesf-x-map__dot{transform:scale(2.7);stroke-width:1.5}
 html body.nesf-managed-page .nesf-x-map__pin:is(:hover,:focus-visible) .nesf-x-map__hq{transform:scale(2.1);stroke-width:2}
 html body.nesf-managed-page .nesf-x-map__hq-core{display:none}
 html body.nesf-managed-page .nesf-x-map__cap{font-size:14.5px}
 html body.nesf-managed-page .nesf-x-map .nesf-x-map__list a.nesf-x-map__chip{font-size:14px;padding:10px 12px}
}
/* mid widths: larger SVG type so rendered text stays near 11px or more as the map scales to ~0.5-0.8x */
@media (min-width:560px) and (max-width:819.98px){
 html body.nesf-managed-page .nesf-x-map__lbl{font-size:15px}
 html body.nesf-managed-page .nesf-x-map__lbl.nesf-x-map__lbl--hq{font-size:20px}
 html body.nesf-managed-page .nesf-x-map__lbl:not(.nesf-x-map__lbl--hq){display:none}
 html body.nesf-managed-page .nesf-x-map__rlbl{font-size:22px}
 html body.nesf-managed-page .nesf-x-map__dot{transform:scale(1.35);stroke-width:1.5}
 html body.nesf-managed-page .nesf-x-map__pin:is(:hover,:focus-visible) .nesf-x-map__dot{transform:scale(1.8)}
}
/* map at ~0.70-0.95x: keep city labels near 11px rendered */
@media (min-width:820px) and (max-width:1099.98px){
 html body.nesf-managed-page .nesf-x-map__lbl{font-size:15px}
 html body.nesf-managed-page .nesf-x-map__lbl.nesf-x-map__lbl--hq{font-size:16px}
 html body.nesf-managed-page .nesf-x-map__rlbl{font-size:18px}
}

@media (prefers-reduced-motion:reduce){
 html body.nesf-managed-page .nesf-x-map :is(.nesf-x-map__dot,.nesf-x-map__hq){transition:none!important}
 html body.nesf-managed-page .nesf-x-map .nesf-x-map__sum::after{transition:none!important}
}

/* ---------- color (tokens; both themes) ---------- */
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map{background-color:var(--nesf-panel,#FFFFFF)!important;border-color:var(--nesf-line,#C4D2E0)!important;color:var(--nesf-text,#0C1926)!important;box-shadow:var(--nesf-shadow-sm,0 2px 10px rgba(12,25,38,.08))}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__land{fill:var(--nesf-brand-soft,rgba(11,95,191,.07))!important;stroke:var(--nesf-control-line,#73879C)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__leader{stroke:var(--nesf-text-mute,#4C6076)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__svg text{stroke:var(--nesf-panel,#FFFFFF)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__lbl{fill:var(--nesf-text-soft,#33475C)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__lbl--hq{fill:var(--nesf-text,#0C1926)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__rlbl{fill:var(--nesf-brand,#0B5FBF)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__dot{fill:var(--nesf-brand,#0B5FBF)!important;stroke:var(--nesf-panel,#FFFFFF)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__hq{fill:var(--nesf-signal,#FFB43D)!important;stroke:var(--nesf-signal-ink,#20140A)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__hq-core{fill:var(--nesf-signal-ink,#20140A)!important;stroke:none!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__pin:is(:hover,:focus-visible) .nesf-x-map__dot{fill:var(--nesf-brand-hi,#0A55AB)!important;stroke:var(--nesf-text,#0C1926)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__pin:is(:hover,:focus-visible) .nesf-x-map__lbl{fill:var(--nesf-text,#0C1926)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__cap-text{color:var(--nesf-text,#0C1926)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__key{color:var(--nesf-text-mute,#4C6076)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__key-dot{background-color:var(--nesf-brand,#0B5FBF)!important;border-color:var(--nesf-panel,#FFFFFF)!important;box-shadow:0 0 0 1px var(--nesf-brand,#0B5FBF)}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__key-hq{background-color:var(--nesf-signal,#FFB43D)!important;border-color:var(--nesf-signal-ink,#20140A)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__more{border-top-color:var(--nesf-line,#C4D2E0)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__sum{color:var(--nesf-text,#0C1926)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__sum::after{border-color:var(--nesf-brand,#0B5FBF)!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__list-t{color:var(--nesf-text-mute,#4C6076)!important}
/* chips (0,5,3): beat the plugin's body.nesf-armour.nesf-armour .prose a:not(.btn):not(.link) (0,5,2) */
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map .nesf-x-map__list a.nesf-x-map__chip{color:var(--nesf-text,#0C1926)!important;background-color:var(--nesf-bg-raise,#F4F7FA)!important;border-color:var(--nesf-line,#C4D2E0)!important;text-decoration:none!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map .nesf-x-map__list a.nesf-x-map__chip:is(:hover,:focus-visible){color:var(--nesf-brand,#0B5FBF)!important;border-color:var(--nesf-brand-line,rgba(11,95,191,.30))!important;background-color:var(--nesf-brand-soft,rgba(11,95,191,.07))!important}
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map .nesf-x-map__list a.nesf-x-map__chip.nesf-x-map__chip--hq{border-color:var(--nesf-signal,#FFB43D)!important}
/* region label focus/hover: fill change is the state cue WebKit can paint (no SVG outline there) */
:is(html body.nesf-armour.nesf-armour,html body.nesf-managed-page) .nesf-x-map__region:is(:hover,:focus-visible) .nesf-x-map__rlbl{fill:var(--nesf-text,#0C1926)!important}

@media (forced-colors:active){
 html body.nesf-managed-page .nesf-x-map__land{fill:Canvas!important;stroke:CanvasText!important}
 html body.nesf-managed-page :is(.nesf-x-map__dot,.nesf-x-map__hq,.nesf-x-map__hq-core){fill:LinkText!important;stroke:Canvas!important}
 html body.nesf-managed-page .nesf-x-map__svg text{fill:CanvasText!important;stroke:Canvas!important}
 html body.nesf-managed-page .nesf-x-map__rlbl{fill:LinkText!important}
 html body.nesf-managed-page .nesf-x-map__pin:focus-visible .nesf-x-map__hit{stroke:Highlight!important}
 html body.nesf-managed-page .nesf-x-map__region:focus-visible .nesf-x-map__rlbl{fill:Highlight!important}
}

/* ===== De-duplicated CTAs (2026-11-09) ===== */
@media (min-width:768px){
 body.nesf-managed-page .nesf-hero-split:has(.nesf-req-card) .nesf-hero-main .hero-actions,
 body.nesf-managed-page .nesf-hero-split:has(.nesf-req-card) .nesf-hero-main .nesf-cta-assure,
 body.nesf-managed-page .nesf-hero-split:has(.nesf-req-card) .nesf-hero-main .trustline{display:none!important}
}
@media (max-width:767.98px){
 body.nesf-managed-page .nesf-hero-aside:has(.nesf-req-card){display:none!important}
 body.nesf-managed-page .nesf-hero-split:has(.nesf-req-card) .nesf-hero-main .nesf-cta-assure{display:none!important}
}
body.nesf-managed-page:not(.nesf-home) section.section:has(> .container > .cta){display:none!important}
body.nesf-managed-page .nesf-inline-cta{display:none!important}
body.nesf-managed-page .split > aside > .card:first-child:has(> p > a.btn[href^="tel:"]):has(+ .card){display:none!important}
body.nesf-managed-page .split > aside > .card:first-child:has(> p > a.btn[href^="tel:"]) + .card{margin-top:0!important}

/* ===== Layout fixes (2026-11-09) ===== */
html body.nesf-managed-page .nesf-x-proc-wrap{padding-block:0}
/* Home service cards: whole card clickable via the bare a.link (Bricks HTML element) */
html body.nesf-managed-page .card:has(>a.link:last-child){position:relative}
html body.nesf-managed-page .card>a.link:last-child::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}

/* City link lists on hub pages (2026-11-09) */
html body.nesf-managed-page .nesf-city-list ul.nesf-city-cols{columns:3 200px;column-gap:24px;padding-left:0;list-style:none}
html body.nesf-managed-page .nesf-city-list ul.nesf-city-cols li{break-inside:avoid;margin:0}
html body.nesf-managed-page .nesf-city-list ul.nesf-city-cols a{display:flex;align-items:center;min-height:44px}
html body.nesf-managed-page .nesf-city-list .prose>ul:not(.nesf-city-cols){columns:2 260px;column-gap:28px}
html body.nesf-managed-page .nesf-city-list .prose>ul>li{break-inside:avoid}

/* ===== Round 4 quick wins (2026-11-09) ===== */
/* Phones: city link lists in two columns so the quote form sits higher */
@media (max-width:680px){
 html body.nesf-managed-page .nesf-city-list ul.nesf-city-cols{columns:2;column-gap:14px}
 html body.nesf-managed-page .nesf-city-list ul.nesf-city-cols a{font-size:14px;line-height:1.25}
 html body.nesf-managed-page .nesf-city-list .prose>ul:not(.nesf-city-cols){columns:1}
}
/* Laptops: home hero buttons above the fold (Bricks section + container both had ~112px padding) */
@media (min-width:992px){
 html body.nesf-home #brxe-228e4ed6{padding-top:40px!important;padding-bottom:56px!important}
 html body.nesf-home #brxe-af48be3b{padding-top:24px!important;padding-bottom:24px!important}
}
/* Bigger tap targets */
html body.nesf-managed-page .nesf-theme-toggle{min-height:44px;min-width:44px}
html body.nesf-managed-page .nesf-quote-form input[type=checkbox]{width:24px;height:24px;flex:0 0 24px}

/* City sections whose side card was removed: full-width text */
html body.nesf-managed-page .container.split:has(> .prose:only-child){display:block;max-width:820px}

/* Hub "questions answered" sections: guide lists in columns */
html body.nesf-managed-page .nesf-hub-faq ul.nesf-city-cols{columns:2 240px;column-gap:24px;padding-left:0;list-style:none}
html body.nesf-managed-page .nesf-hub-faq ul.nesf-city-cols li{break-inside:avoid;margin:0}
html body.nesf-managed-page .nesf-hub-faq ul.nesf-city-cols a{display:flex;align-items:center;min-height:44px}
html body.nesf-managed-page .nesf-hub-faq h3{margin-top:1.4em}

/* Quick-answer box on guides (2026-11-10) */
html body.nesf-managed-page .nesf-quick-answer-wrap{padding-block:28px 8px}
html body.nesf-managed-page .nesf-quick-answer{border:1px solid var(--nesf-line,#C4D2E0);border-left:5px solid var(--nesf-signal,#F2A93B);border-radius:12px;background:var(--nesf-bg-raise,#F4F7FA);padding:18px 22px;max-width:820px}
html body.nesf-managed-page .nesf-quick-answer .nesf-qa-label{margin:0 0 6px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--nesf-muted,#5B6B7C)}
html body.nesf-managed-page .nesf-quick-answer .nesf-qa-q{margin:0 0 8px;font-size:clamp(19px,2.2vw,23px);line-height:1.25}
html body.nesf-managed-page .nesf-quick-answer .nesf-qa-a{margin:0;font-size:16.5px;line-height:1.55}

/* NESF mobile compact layer (phones only). Rearranges, never hides content except the decorative hero card. Toggle off to undo. */
@media (max-width:680px){
 /* Home: city buttons as wrapping chips instead of a tall 2-column list */
 html body.nesf-managed-page .coverage-grid{display:flex!important;flex-wrap:wrap;gap:6px;grid-template-columns:none}
 html body.nesf-managed-page .coverage-grid a{flex:0 1 auto;min-height:44px;padding:9px 12px;font-size:14px;gap:6px}
 html body.nesf-managed-page .coverage-grid a::after{display:none}
 html body.nesf-managed-page h3:has(+.coverage-grid){margin:20px 0 10px}

 /* Home: the hero's decorative "NESF Operations" card is ornamental on phones (its text repeats the hero) */
 html body.nesf-managed-page.nesf-home .hero .visual{display:none!important}

 /* Home: tighter section rhythm */
 html body.nesf-managed-page.nesf-home .section{padding-block:40px}
 html body.nesf-managed-page.nesf-home .section-head{margin-bottom:20px}

 /* Procurement checklist: two columns, smaller type */
 html body.nesf-managed-page .split .checklist{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}
 html body.nesf-managed-page .split .checklist li{font-size:14px;line-height:1.35;margin:0}

 /* FAQ: tighter summaries */
 html body.nesf-managed-page .faq details{margin-bottom:8px}
 html body.nesf-managed-page .faq summary{padding-block:12px}

 /* Related coverage: groups side by side, links as compact rows */
 html body.nesf-managed-page .nesf-related-groups{display:grid!important;grid-template-columns:1fr 1fr;gap:14px 16px}
 html body.nesf-managed-page .nesf-related-group h3{font-size:13px;margin:0 0 6px;letter-spacing:.06em;text-transform:uppercase}
 html body.nesf-managed-page .nesf-related-group ul{margin:0;padding:0}
 html body.nesf-managed-page .nesf-related-group li{margin:0}
 html body.nesf-managed-page .nesf-related-group a{display:flex;align-items:center;min-height:44px;font-size:14px;line-height:1.3}

 /* Footer: link columns side by side */
 html body.nesf-managed-page .nesf-footer-grid{display:grid!important;grid-template-columns:1fr 1fr;gap:22px 16px}
 html body.nesf-managed-page .nesf-footer-brand{grid-column:1/-1}
 html body.nesf-managed-page .nesf-footer-col h2{font-size:12px;margin:0 0 6px}
 html body.nesf-managed-page .nesf-footer-col ul{margin:0;padding:0}
 html body.nesf-managed-page .nesf-footer-col li{margin:0}
 html body.nesf-managed-page .nesf-footer-col a{display:flex;align-items:center;min-height:44px;font-size:14px;line-height:1.25}
}

/* Drawer: hide the injected quote button when the plugin already shows its own "Request coverage" button */
html body.nesf-managed-page .nesf-nav-cta:has(.nesf-btn-ghost) .nesf-x-drawer.nesf-quote-cta{display:none!important}

