.pae-single-wrap,.pae-finder{max-width:1100px;margin:32px auto;padding:0 20px}.pae-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:30px;box-shadow:0 10px 30px rgba(15,23,42,.06)}.pae-hero h1{margin:.15em 0;line-height:1.14}.pae-kicker{text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-weight:700;color:#b91c1c}.pae-authority-name{font-size:1.15rem;color:#334155}.pae-badges{display:flex;gap:8px;flex-wrap:wrap}.pae-badges span{background:#f1f5f9;border-radius:999px;padding:7px 11px;font-size:.85rem}.pae-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:26px 0}.pae-grid>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px;overflow-wrap:anywhere}.pae-grid a{color:inherit}.pae-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 30px}.pae-actions a,.pae-finder button{background:#b91c1c;color:#fff!important;text-decoration:none;border:0;border-radius:10px;padding:11px 15px;font-weight:700}.pae-actions a:hover,.pae-finder button:hover{opacity:.9}.pae-section{padding:24px 0;border-top:1px solid #e5e7eb}.pae-section h2{margin-top:0}.pae-service-list{columns:2;column-gap:36px}.pae-service-list li{break-inside:avoid;margin-bottom:7px}.pae-text-link{font-weight:700}.pae-contact-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.pae-contact-list>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px}.pae-contact-list dt{font-weight:700}.pae-contact-list dd{margin:3px 0 0}.pae-note{font-size:.92rem;color:#64748b;margin-bottom:0}.pae-faq details{border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px;margin:10px 0;background:#fff}.pae-faq summary{cursor:pointer;font-weight:700}.pae-faq details p{margin-bottom:0}.pae-sources small{color:#64748b}.pae-finder-form{display:grid;grid-template-columns:2fr 1fr auto;gap:10px;align-items:end}.pae-finder-form label{grid-column:1/-1;font-weight:700}.pae-finder-form input,.pae-finder-form select{min-height:44px;border:1px solid #cbd5e1;border-radius:10px;padding:8px 10px}.pae-results{margin-top:20px;display:grid;gap:10px}.pae-result{border:1px solid #e2e8f0;border-radius:12px;padding:14px;background:#fff}@media(max-width:760px){.pae-card{padding:20px}.pae-grid,.pae-contact-list{grid-template-columns:1fr}.pae-finder-form{grid-template-columns:1fr}.pae-service-list{columns:1}}

.pae-manual-content{padding-top:28px;border-top:1px solid #e5e7eb}.pae-manual-content>:first-child{margin-top:0}.pae-actions span[aria-hidden=true]{font-size:.9em;margin-left:3px}

/* v1.4 finder + province hubs */
.pae-home{max-width:1180px;margin:0 auto;padding:20px}.pae-home-hero{background:linear-gradient(145deg,#fff,#f8fafc);border:1px solid #e2e8f0;border-radius:22px;padding:38px;box-shadow:0 16px 42px rgba(15,23,42,.07)}.pae-home-hero>h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1.05;margin:.18em 0}.pae-home-hero>p{font-size:1.08rem;color:#475569;max-width:760px}.pae-finder-compact{max-width:none;margin:26px 0 0;padding:0}.pae-search-field{position:relative}.pae-live-results{position:absolute;z-index:50;left:0;right:0;top:100%;margin-top:6px;background:#fff;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 18px 40px rgba(15,23,42,.14);overflow:hidden}.pae-live-item{display:flex;flex-direction:column;gap:2px;padding:11px 13px;text-decoration:none!important;border-bottom:1px solid #f1f5f9}.pae-live-item:last-child{border-bottom:0}.pae-live-item:hover{background:#f8fafc}.pae-live-city{font-weight:800;color:#0f172a}.pae-live-meta{font-size:.88rem;color:#64748b}.pae-province-directory{max-width:1180px;margin:38px auto;padding:0 20px}.pae-section-heading h2{margin-bottom:4px}.pae-section-heading p{margin-top:0;color:#64748b}.pae-province-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pae-province-card{display:grid;grid-template-columns:1fr auto;gap:3px 10px;align-items:center;padding:18px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;text-decoration:none!important;box-shadow:0 6px 18px rgba(15,23,42,.04)}.pae-province-card:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(15,23,42,.08)}.pae-province-name{font-weight:800;color:#0f172a}.pae-province-count{font-size:.88rem;color:#64748b}.pae-province-arrow{grid-column:2;grid-row:1/3;color:#b91c1c;font-size:1.25rem}.pae-hub-wrap{max-width:1180px;margin:32px auto;padding:0 20px}.pae-hub-hero{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:28px 30px;margin-bottom:22px}.pae-hub-hero h1{margin:.15em 0}.pae-hub-hero p{color:#475569;max-width:800px}.pae-hub-count{display:inline-block;background:#f1f5f9;border-radius:999px;padding:7px 12px;margin-top:6px}.pae-location-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pae-location-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px}.pae-location-card h2{font-size:1.15rem;margin:0 0 7px}.pae-location-card h2 a{text-decoration:none}.pae-location-authority{color:#334155;margin:0 0 7px}.pae-location-services{font-size:.88rem;color:#64748b;margin:0 0 12px}.pae-location-link{font-weight:800;text-decoration:none}.pae-empty-state{padding:24px;border:1px dashed #cbd5e1;border-radius:14px;background:#fff}@media(max-width:900px){.pae-province-grid,.pae-location-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.pae-home-hero{padding:24px}.pae-province-grid,.pae-location-grid{grid-template-columns:1fr}}

/* Permit office navigation links */
.pae-location-actions{display:flex;gap:10px;flex-wrap:wrap;margin:-16px 0 30px}.pae-location-actions a{background:#fff;color:#b91c1c!important;text-decoration:none;border:1px solid #b91c1c;border-radius:10px;padding:10px 14px;font-weight:700}.pae-location-actions a:hover{background:#fff7f7}


/* v1.8.1 Street View embed */
.pae-street-view{margin:0 0 30px;padding:18px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px}
.pae-street-view-head{display:flex;align-items:baseline;gap:9px;margin-bottom:12px}.pae-street-view-head strong{font-size:1rem;color:#0f172a}.pae-street-view-head span{font-size:.88rem;color:#64748b}
.pae-street-view-frame{position:relative;width:100%;aspect-ratio:16/9;min-height:300px;overflow:hidden;border-radius:11px;background:#e2e8f0}
.pae-street-view-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
@media(max-width:760px){.pae-street-view{padding:12px}.pae-street-view-frame{aspect-ratio:4/3;min-height:260px}}


/* v1.8.3 Google Maps embed below Street View */
.pae-google-map{margin:0 0 30px;padding:18px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px}
.pae-google-map-head{display:flex;align-items:baseline;gap:9px;margin-bottom:12px}.pae-google-map-head strong{font-size:1rem;color:#0f172a}.pae-google-map-head span{font-size:.88rem;color:#64748b}
.pae-google-map-frame{position:relative;width:100%;aspect-ratio:16/9;min-height:300px;overflow:hidden;border-radius:11px;background:#e2e8f0}
.pae-google-map-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
@media(max-width:760px){.pae-google-map{padding:12px}.pae-google-map-frame{aspect-ratio:4/3;min-height:260px}}


/* BuildingPermitFinder.com publish-ready content modules */
.bpf-content{color:#1e293b;line-height:1.72}.bpf-intro{background:#f8fafc;border-left:4px solid #b91c1c;border-radius:0 12px 12px 0;padding:18px 22px;margin:0 0 30px}.bpf-intro p:first-child{margin-top:0}.bpf-intro p:last-child{margin-bottom:0}.bpf-section{margin:34px 0}.bpf-section-head{margin-bottom:16px}.bpf-eyebrow{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:.76rem;font-weight:800;color:#b91c1c;margin-bottom:4px}.bpf-section h2{margin:.1em 0 .55em;line-height:1.22;color:#0f172a}.bpf-section h3{color:#0f172a}.bpf-grid{display:grid;gap:14px}.bpf-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.bpf-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.bpf-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px}.bpf-card-label{display:inline-block;font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#b91c1c;margin-bottom:6px}.bpf-card h3{margin:.15em 0 .45em}.bpf-card p:last-child{margin-bottom:0}.bpf-process{list-style:none;padding:0;margin:0;display:grid;gap:14px}.bpf-step{display:grid;grid-template-columns:42px 1fr;gap:14px;align-items:start;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:17px}.bpf-step-number{display:grid;place-items:center;width:38px;height:38px;border-radius:999px;background:#b91c1c;color:#fff;font-weight:800}.bpf-step-body h3{margin:.15em 0 .35em}.bpf-step-body p:last-child{margin-bottom:0}.bpf-checklist{padding-left:0;list-style:none;display:grid;gap:9px}.bpf-checklist li{position:relative;padding:11px 12px 11px 38px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.bpf-checklist li:before{content:'✓';position:absolute;left:13px;top:10px;color:#b91c1c;font-weight:900}.bpf-info-list{list-style:none;padding:0;margin:0;display:grid;gap:9px}.bpf-info-list li{display:grid;grid-template-columns:minmax(130px,.7fr) 1.6fr;gap:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px}.bpf-callout{border:1px solid #e2e8f0;border-radius:14px;padding:18px 20px;margin:28px 0;background:#fff}.bpf-callout--local{border-left:4px solid #b91c1c}.bpf-callout--info{background:#f8fafc}.bpf-callout--warning{border-left:4px solid #b45309;background:#fffbeb}.bpf-callout-title{font-weight:800;color:#0f172a;margin-bottom:5px}.bpf-callout p:last-child{margin-bottom:0}.bpf-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bpf-resource-card{display:flex;flex-direction:column;gap:5px;padding:16px 17px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;text-decoration:none!important}.bpf-resource-card:hover{box-shadow:0 8px 24px rgba(15,23,42,.08);transform:translateY(-1px)}.bpf-resource-type{font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#b91c1c}.bpf-resource-card strong{color:#0f172a}.bpf-resource-action{font-size:.88rem;color:#64748b}@media(max-width:760px){.bpf-grid--2,.bpf-grid--3,.bpf-resource-grid{grid-template-columns:1fr}.bpf-info-list li{grid-template-columns:1fr}.bpf-step{grid-template-columns:36px 1fr;padding:14px}.bpf-step-number{width:34px;height:34px}}

/* Building Permit Finder directory landing pages */
.bpf-directory-page{max-width:1180px;margin:32px auto 64px;padding:0 22px;color:#10284a}.bpf-directory-page *{box-sizing:border-box}.bpf-directory-page a{text-decoration:none}.bpf-directory-intro{max-width:820px;margin:0 0 28px}.bpf-directory-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:800;color:#0b65c2;margin:0 0 8px}.bpf-directory-intro h2{font-size:clamp(1.8rem,3vw,2.7rem);letter-spacing:-.025em;margin:0 0 10px;color:#10284a}.bpf-directory-intro>p:last-child{font-size:1.04rem;line-height:1.65;color:#5a6d86;margin:0}.bpf-directory-state-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bpf-directory-state-card{position:relative;display:grid;grid-template-columns:48px 1fr auto;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:18px 44px 18px 16px;border:1px solid #dce7f4;border-radius:12px;background:#fff;color:#15304f;transition:.18s ease}.bpf-directory-state-card:hover{border-color:#a9cdf2;box-shadow:0 10px 24px rgba(24,76,124,.08);transform:translateY(-1px)}.bpf-directory-state-card.is-disabled{opacity:.58;cursor:default}.bpf-directory-state-code{grid-row:1/3;width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:#eef6ff;color:#0b65c2;font-weight:800;font-size:.78rem;letter-spacing:.05em}.bpf-directory-state-name{font-weight:800}.bpf-directory-state-count{grid-column:2;color:#718198;font-size:.8rem;margin-top:2px}.bpf-directory-state-arrow{position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:1.4rem;color:#72a8dc}.bpf-directory-note{margin-top:34px;padding:24px 26px;border-radius:14px;background:#f4f8fd;border:1px solid #dce7f4}.bpf-directory-note h2{font-size:1.2rem;margin:0 0 8px}.bpf-directory-note p{margin:0;color:#5d7087;line-height:1.65}.bpf-office-filter{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(190px,.7fr) auto auto;gap:10px;align-items:end;margin:0 0 18px;padding:16px;border:1px solid #dce7f4;border-radius:14px;background:#f8fbff}.bpf-office-filter label{display:block;font-size:.78rem;font-weight:800;color:#415874;margin:0 0 6px}.bpf-office-filter input,.bpf-office-filter select{width:100%;min-height:46px;border:1px solid #cddcec;border-radius:9px;background:#fff;padding:0 12px;color:#18324f}.bpf-office-filter button{min-height:46px;border:0;border-radius:9px;background:#1377ef;color:#fff;padding:0 18px;font-weight:800;cursor:pointer}.bpf-office-clear{min-height:46px;display:grid;place-items:center;padding:0 12px;color:#315b88;font-weight:700}.bpf-office-summary{margin:14px 0 18px;color:#667a92}.bpf-office-summary strong{color:#10284a}.bpf-office-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.bpf-office-card{display:flex;flex-direction:column;min-height:205px;padding:18px;border:1px solid #dce7f4;border-radius:13px;background:#fff;box-shadow:0 7px 20px rgba(18,58,98,.04)}.bpf-office-card-top{display:flex;justify-content:flex-end}.bpf-office-state-code{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:26px;border-radius:999px;background:#eef6ff;color:#0b65c2;font-size:.72rem;font-weight:800;letter-spacing:.05em;padding:0 8px}.bpf-office-card h2{font-size:1.08rem;line-height:1.3;margin:8px 0 5px}.bpf-office-card h2 a{color:#10284a}.bpf-office-card h2 a:hover{color:#0b65c2}.bpf-office-place{font-size:.82rem;color:#72849a;margin:0 0 10px}.bpf-office-authority{font-size:.88rem;line-height:1.5;color:#53677f;margin:0 0 18px}.bpf-office-link{margin-top:auto;color:#0b65c2;font-weight:800;font-size:.86rem}.bpf-office-pagination{display:flex;gap:7px;flex-wrap:wrap;justify-content:center;margin:26px 0 4px}.bpf-office-pagination a,.bpf-office-pagination span{min-width:36px;height:36px;border-radius:8px;display:grid;place-items:center;border:1px solid #d4e2f0;color:#254f7b;background:#fff}.bpf-office-pagination .current{background:#1377ef;border-color:#1377ef;color:#fff;font-weight:800}.bpf-directory-empty{padding:28px;border:1px dashed #cbd9e8;border-radius:13px;background:#fafcff;text-align:center}.bpf-directory-empty h2{font-size:1.2rem;margin:0 0 6px}.bpf-directory-empty p{color:#6a7d93;margin:0}
@media(max-width:900px){.bpf-directory-state-grid,.bpf-office-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bpf-office-filter{grid-template-columns:1fr 1fr}.bpf-office-filter button,.bpf-office-clear{width:100%}}
@media(max-width:600px){.bpf-directory-page{padding:0 16px;margin-top:22px}.bpf-directory-state-grid,.bpf-office-grid,.bpf-office-filter{grid-template-columns:1fr}.bpf-directory-state-card{grid-template-columns:44px 1fr auto}.bpf-office-card{min-height:0}}
