/* assets/header-theme.css */
/* Use the existing 1024px desktop navigation breakpoint. */
@media (min-width: 1024px) {
  button[aria-label="Toggle menu"] { display: none; }
}
/* SVGs are the existing runtime icons; suppress the legacy CSS duplicates. */
button[aria-label="Toggle menu"]::before,
button[aria-label="Toggle theme"]::before { content: none; }
@media (max-width: 1023px) {
  #instatic-mobile-menu:not([hidden]) { display: block; }
}


/* assets/light-mode.css */
/* Light palette repair: preserve the dark cascade and existing theme behavior. */

html:not(.dark):not(.dark-2) {
  --muted-foreground: 25 6% 38%;
  --bernies-light-inverse: #f8fafc;
}

html:not(.dark):not(.dark-2) :is([class*="bg-gradient-to-"]) {
  --tw-gradient-from-position: 0%;
  --tw-gradient-via-position: 50%;
  --tw-gradient-to-position: 100%;
}

html:not(.dark):not(.dark-2) .text-primary-foreground-2 {
  color: hsl(var(--primary-foreground));
}

html:not(.dark):not(.dark-2) :is(section, div, a, button).to-orange-600-2:is([class*="bg-gradient-to-"]) {
  --tw-gradient-to: #9a3412 var(--tw-gradient-to-position);
}

html:not(.dark):not(.dark-2) :is(section, div).via-orange-600-2:is([class*="bg-gradient-to-"]) {
  --tw-gradient-stops: var(--tw-gradient-from), #9a3412 var(--tw-gradient-via-position), var(--tw-gradient-to);
}

html:not(.dark):not(.dark-2) .text-orange-600-2 {
  color: #9a3412;
}

html:not(.dark):not(.dark-2) .hover\:text-orange-600-2:hover {
  color: #9a3412;
}

html:not(.dark):not(.dark-2) .text-green-600-2 {
  color: #15803d;
}

html:not(.dark):not(.dark-2) .hover\:text-green-600-2:hover {
  color: #15803d;
}

html:not(.dark):not(.dark-2) .text-red-600-2 {
  color: #b91c1c;
}

html:not(.dark):not(.dark-2) .hover\:text-red-600-2:hover {
  color: #b91c1c;
}

html:not(.dark):not(.dark-2) .text-cyan-600-2 {
  color: #0e7490;
}

html:not(.dark):not(.dark-2) .hover\:text-cyan-600-2:hover {
  color: #0e7490;
}

html:not(.dark):not(.dark-2) .text-teal-600-2 {
  color: #0f766e;
}

html:not(.dark):not(.dark-2) .hover\:text-teal-600-2:hover {
  color: #0f766e;
}

html:not(.dark):not(.dark-2) footer :is(.text-gray-400-2,.text-gray-500-2) {
  color: #4b5563;
}

html:not(.dark):not(.dark-2) .text-amber-800\/80-2 {
  color: #92400e;
}

html:not(.dark):not(.dark-2) .text-blue-600\/80-2 {
  color: #1d4ed8;
}

html:not(.dark):not(.dark-2) :is(a,button).bg-orange-600-2 {
  background-color: #c2410c;
  color: var(--bernies-light-inverse);
}

html:not(.dark):not(.dark-2) :is(a,button).hover\:bg-orange-700-2:is(:hover,:focus-visible) {
  background-color: #9a3412;
}

html:not(.dark):not(.dark-2) :is(section,div).text-white-2:is([class*="bg-gradient-to-"]) :is(.text-blue-100-2,.text-blue-200-2,.text-green-100-2,.text-green-200-2,.text-cyan-100-2,.text-cyan-200-2,.text-teal-100-2,.text-teal-200-2,.text-sky-100-2,.text-sky-200-2,.text-purple-100-2,.text-purple-200-2,.text-indigo-100-2,.text-indigo-200-2,.text-orange-100-2,.text-orange-200-2,.text-red-100-2,.text-red-200-2,.text-slate-100-2,.text-slate-200-2) {
  color: var(--bernies-light-inverse);
}

html:not(.dark):not(.dark-2) .text-orange-500-2 {
  color: #9a3412;
}

html:not(.dark):not(.dark-2) .thank-you-call {
  background-color: #c2410c;
}

html:not(.dark):not(.dark-2) :is(.bernies-schedule-dialog,.bernies-voice-dialog) {
  color: hsl(var(--foreground));
  background: hsl(var(--background));
}

html:not(.dark):not(.dark-2) :is(.bernies-schedule-dialog header p,.bernies-voice-copy) {
  color: hsl(var(--muted-foreground));
}

html:not(.dark):not(.dark-2) .bernies-voice-actions button:not(:only-child) {
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  border-color: hsl(var(--border));
}

html:not(.dark):not(.dark-2) :is(.bernies-schedule-dialog header button,.bernies-voice-actions button:not(:only-child)):hover {
  background: hsl(var(--accent));
}

html:not(.dark):not(.dark-2) :is(.bernies-schedule-dialog,.bernies-voice-dialog) :focus-visible {
  outline-color: hsl(var(--ring));
}

html:not(.dark):not(.dark-2) .bg-blue-600-2 {
  background-color: #1d4ed8;
}

html:not(.dark):not(.dark-2) .bg-green-600-2 {
  background-color: #166534;
}

html:not(.dark):not(.dark-2) .bg-cyan-600-2 {
  background-color: #155e75;
}

html:not(.dark):not(.dark-2) .bg-teal-600-2 {
  background-color: #115e59;
}

html:not(.dark):not(.dark-2) .bg-purple-600-2 {
  background-color: #7e22ce;
}

html:not(.dark):not(.dark-2) .bg-indigo-600-2 {
  background-color: #4338ca;
}

html:not(.dark):not(.dark-2) :is(.bg-blue-600-2,.bg-green-600-2,.bg-cyan-600-2,.bg-teal-600-2,.bg-purple-600-2,.bg-indigo-600-2,.bg-orange-600-2,.bg-orange-700-2) :is(.text-blue-100-2,.text-blue-200-2,.text-green-100-2,.text-green-200-2,.text-cyan-100-2,.text-cyan-200-2,.text-teal-100-2,.text-teal-200-2,.text-sky-100-2,.text-sky-200-2,.text-purple-100-2,.text-purple-200-2,.text-indigo-100-2,.text-indigo-200-2,.text-orange-100-2,.text-orange-200-2,.text-red-100-2,.text-red-200-2,.text-slate-100-2,.text-slate-200-2) {
  color: var(--bernies-light-inverse);
}

html:not(.dark):not(.dark-2) :is(a,button).bg-background-2:is(.text-primary-foreground-2,.text-white-2) {
  color: hsl(var(--foreground));
}

html:not(.dark):not(.dark-2) button.bg-background-2.text-white-2[style*="102, 126, 234"] {
  background-image: linear-gradient(135deg, #4338ca, #6b21a8) !important;
  color: var(--bernies-light-inverse);
}

html:not(.dark):not(.dark-2) :is(section, div, footer, a, button).from-orange-500-2:is([class*="bg-gradient-to-"]) {
  --tw-gradient-from: #9a3412 var(--tw-gradient-from-position);
}

html:not(.dark):not(.dark-2) :is(section, div, footer, a, button).from-orange-600-2:is([class*="bg-gradient-to-"]) {
  --tw-gradient-from: #9a3412 var(--tw-gradient-from-position);
}

html:not(.dark):not(.dark-2) :is(section, div, footer, a, button).from-green-600-2:is([class*="bg-gradient-to-"]) {
  --tw-gradient-from: #166534 var(--tw-gradient-from-position);
}

html:not(.dark):not(.dark-2) :is(section, div, footer, a, button).from-cyan-600-2:is([class*="bg-gradient-to-"]) {
  --tw-gradient-from: #155e75 var(--tw-gradient-from-position);
}

html:not(.dark):not(.dark-2) :is(section, div, footer, a, button).from-teal-600-2:is([class*="bg-gradient-to-"]) {
  --tw-gradient-from: #115e59 var(--tw-gradient-from-position);
}

html:not(.dark):not(.dark-2) :is(section, div, footer, a, button).from-sky-600-2:is([class*="bg-gradient-to-"]) {
  --tw-gradient-from: #075985 var(--tw-gradient-from-position);
}

html:not(.dark):not(.dark-2) :is(section, div, footer, a, button).from-blue-600-2:is([class*="bg-gradient-to-"]) {
  --tw-gradient-from: #1e40af var(--tw-gradient-from-position);
}

html:not(.dark):not(.dark-2) :is(section, div, footer, a, button).from-purple-600-2:is([class*="bg-gradient-to-"]) {
  --tw-gradient-from: #6b21a8 var(--tw-gradient-from-position);
}

html:not(.dark):not(.dark-2) :is(section, div, footer, a, button).from-indigo-600-2:is([class*="bg-gradient-to-"]) {
  --tw-gradient-from: #3730a3 var(--tw-gradient-from-position);
}

html:not(.dark):not(.dark-2) :is(section, div, footer, a, button).from-red-600-2:is([class*="bg-gradient-to-"]) {
  --tw-gradient-from: #991b1b var(--tw-gradient-from-position);
}

html:not(.dark):not(.dark-2) :is(section,div).text-white-2:is([class*="bg-gradient-to-"]) :is(.text-orange-300-2,.text-blue-300-2) {
  color: #f8fafc;
}

html:not(.dark):not(.dark-2) .bg-orange-600-2 {
  background-color: #9a3412;
}

html:not(.dark):not(.dark-2) .bg-red-600-2 {
  background-color: #b91c1c;
}

html:not(.dark):not(.dark-2) .bg-sky-600-2 {
  background-color: #0369a1;
}

html:not(.dark):not(.dark-2) :is(.bg-red-600-2,.bg-sky-600-2) :is(.text-red-100-2,.text-sky-100-2,.text-sky-200-2) {
  color: #f8fafc;
}

html:not(.dark):not(.dark-2) .bg-white\/10-2.rounded-full-2 {
  color: #fff;
}

html:not(.dark):not(.dark-2) .bg-white\/10-2.animate-pulse-2 {
  animation: none;
  opacity: 1;
}

html:not(.dark):not(.dark-2) .text-gray-500-2 {
  color: #4b5563;
}

html:not(.dark):not(.dark-2) .opacity-70-2 .text-gray-400-2 {
  color: #374151;
}

html:not(.dark):not(.dark-2) .bg-blue-50-2 > h3.text-2xl-2, html:not(.dark):not(.dark-2) .bg-white-2 > .text-center-2 > h3.text-2xl-2 {
  color: #1e3a8a;
}

html:not(.dark):not(.dark-2) a.text-cyan-100-2.hover\:text-white-2 {
  color: #155e75;
}

html:not(.dark):not(.dark-2) a.text-cyan-100-2.hover\:text-white-2:is(:hover,:focus-visible) {
  color: #164e63;
}

html:not(.dark):not(.dark-2) .bg-black\/60-2:has(.text-xs-2) {
  background-color: rgba(15,23,42,.9);
}

html:not(.dark):not(.dark-2) .bg-white-2 > .max-w-7xl-2 > .text-center-2 > h3.text-2xl-2 {
  color: #1e3a8a;
}

html:not(.dark):not(.dark-2) .ring-blue-500\/20-2 > .absolute-2.bottom-6-2.text-white-2 {
  background-color: rgba(15,23,42,.9);
  padding: 12px 16px;
  border-radius: 12px;
}

html:not(.dark):not(.dark-2) .bg-black\/60-2.text-xs-2 {
  background-color: rgba(15,23,42,.9);
}

html:not(.dark):not(.dark-2) .text-white\/70-2.text-xs-2 {
  color: #fff;
}

html:not(.dark):not(.dark-2) .thank-you-icon {
  background-color: #c2410c;
}

html:not(.dark):not(.dark-2) section.text-white-2:is([class*="bg-gradient-to-"]) :is(.bg-blue-500\/30-2,.bg-orange-500\/30-2).rounded-full-2 > span.text-sm-2 { color: #fff; }

html:not(.dark):not(.dark-2) section.text-white-2:is([class*="bg-gradient-to-"]) .text-orange-400-2 { color: #fed7aa; }

html:not(.dark):not(.dark-2) .bg-blue-500-2.text-white-2 { background-color: #1d4ed8; }

html:not(.dark):not(.dark-2) :is(.from-orange-500-2,.from-orange-600-2) .text-white\/80-2 { color: #f8fafc; }

html:not(.dark):not(.dark-2) a.inline-flex-2.text-cyan-100-2.hover\:text-white-2 { color: #155e75; }
html:not(.dark):not(.dark-2) a.inline-flex-2.text-cyan-100-2.hover\:text-white-2:is(:hover,:focus-visible) { color: #164e63; }

html:not(.dark):not(.dark-2) :is(a,button).bg-background-2:is(.text-white-2,.text-primary-foreground-2).hover\:bg-white\/10-2:hover { color: #fff; }

/* Service copy and direct router links, 2026-10-25. */
[data-bernies-service-copy] { max-width: 76rem; margin: 2rem auto; padding: 1.5rem; line-height: 1.7; }
[data-bernies-service-copy] h2 { font-size: clamp(1.35rem,3vw,1.8rem); font-weight: 700; margin: 1.8rem 0 .7rem; }
[data-bernies-service-copy] h3 { font-size: 1.15rem; font-weight: 650; margin: 1.3rem 0 .5rem; }
[data-bernies-service-copy] p { margin: 0 0 1rem; max-width: 78ch; }
[data-bernies-service-copy] a { display: inline-block; color: #1d4ed8; text-decoration: underline; margin: .5rem 1.5rem .5rem 0; }
html.dark [data-bernies-service-copy] a { color: #93c5fd; }


/* assets/site-consistency.css */
/* Shared public content system. Protected homepage hero is explicitly excluded. */
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) { --bernies-surface:#f8fafc; --bernies-card:#fff; --bernies-ink:#17324d; --bernies-muted:#465b70; --bernies-blue:#1d4ed8; --bernies-border:#d9e3ed; background:var(--bernies-surface) !important; background-image:none !important; color:var(--bernies-ink) !important; font-family:var(--font-sans),ui-sans-serif,system-ui,sans-serif; padding-block:clamp(2rem,4vw,4rem) !important; }
html.dark :is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) { --bernies-surface:#0f172a; --bernies-card:#17243a; --bernies-ink:#f1f5f9; --bernies-muted:#cbd5e1; --bernies-blue:#93c5fd; --bernies-border:#334155; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) :where(h1,h2,h3,h4,h5,h6) { color:var(--bernies-ink) !important; background-image:none !important; -webkit-text-fill-color:currentColor; font-family:inherit; font-weight:700 !important; letter-spacing:-.025em; text-wrap:balance; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) h1 { font-size:clamp(2rem,3.5vw,3.5rem) !important; line-height:1.12 !important; margin-bottom:1.25rem; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) h2 { font-size:clamp(1.5rem,2.2vw,2.1rem) !important; line-height:1.25 !important; margin-block:1.75rem 1rem; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) h3 { font-size:1.2rem !important; line-height:1.35 !important; margin-block:1.5rem .65rem; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) :where(p,li,td,th,summary) { color:var(--bernies-muted) !important; font-size:1rem; line-height:1.75 !important; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) p { margin-block:.75rem !important; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) :where(span,strong,b) { color:var(--bernies-ink) !important; -webkit-text-fill-color:currentColor; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) :where([class*="rounded-"]:not([class*="rounded-full"])):not(a,button,img,video,iframe) { background:var(--bernies-card) !important; background-image:none !important; border-color:var(--bernies-border) !important; border-radius:1rem !important; box-shadow:0 3px 14px rgb(15 23 42 / .04) !important; color:var(--bernies-ink) !important; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) :where([class*="rounded-"]:not([class*="rounded-full"])) :where(p,li,span) { color:var(--bernies-muted) !important; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) a:not([href^="tel:"],.bernies-cta) { color:var(--bernies-blue) !important; text-underline-offset:.2em; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) a[href^="tel:"], :is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) .bernies-cta { display:inline-flex; align-items:center; justify-content:center; padding:.8rem 1.15rem; border-radius:.65rem; background:#1d4ed8 !important; color:#fff !important; font-weight:700; font-size:1rem; line-height:1.4; text-decoration:none; min-height:44px; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) a[href^="tel:"] *, :is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) .bernies-cta * { color:#fff !important; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) a:focus-visible, :is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) summary:focus-visible { outline:3px solid #60a5fa; outline-offset:4px; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) :where(img,video,iframe) { max-width:100%; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) table { display:block; max-width:100%; overflow-x:auto; border-collapse:collapse; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) :where(td,th) { padding:.85rem; border-bottom:1px solid var(--bernies-border); }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) :where(input,textarea,select) { background:var(--bernies-card) !important; color:var(--bernies-ink) !important; border-color:var(--bernies-border) !important; }
[data-bernies-service-copy], [data-bernies-unavailable], [data-bernies-consolidated] { max-width:80rem; margin:0 auto !important; padding-inline:clamp(1rem,4vw,3rem) !important; }
.bernies-page-intro { max-width:72rem; margin:auto; padding-inline:clamp(1rem,4vw,3rem); }
.bernies-page-intro > p { max-width:70ch; }
.bernies-eyebrow { color:var(--bernies-blue) !important; font-size:.8rem !important; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.bernies-copy-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; align-items:start; }
.bernies-copy-card { padding:1.5rem; background:var(--bernies-card); border:1px solid var(--bernies-border); border-radius:1rem; }
.bernies-copy-card h2 { margin-top:0 !important; font-size:1.4rem !important; }
.bernies-policy { padding:1.5rem; margin-block:1.5rem; border:1px solid var(--bernies-border); border-left:4px solid #2563eb; border-radius:.75rem; background:var(--bernies-card); }
.bernies-policy h2 { margin-top:0 !important; }
.bernies-faq details { border-bottom:1px solid var(--bernies-border); padding-block:1rem; }
.bernies-faq summary { cursor:pointer; font-weight:700; color:var(--bernies-ink) !important; }
.bernies-related { display:flex; flex-wrap:wrap; gap:.75rem; }
.bernies-related a { padding:.7rem 1rem; border:1px solid var(--bernies-border); border-radius:.65rem; background:var(--bernies-card); }
@media(max-width:767px) { :is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) { padding-inline:1rem; } :is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) h1 { font-size:2rem !important; } .bernies-copy-grid { grid-template-columns:1fr; } .bernies-copy-card { padding:1.25rem; } .bernies-page-intro { padding-inline:0; } :is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) :where(p,li,a,summary) { overflow-wrap:anywhere; } }
/* Shared navigation and footer use the same brand palette on every public page. */
body > nav, body > header { background:#fff !important; border-color:#d9e3ed !important; }
body > nav a[href^="tel:"], body > nav a[href*="service_booking"], body > header a[href^="tel:"] { background:#1d4ed8 !important; border-color:#1d4ed8 !important; color:#fff !important; border-radius:.65rem !important; }
body > nav a[href^="tel:"] *, body > nav a[href*="service_booking"] * { color:#fff !important; }
footer { background:#eef4fb !important; background-image:none !important; color:#17324d !important; border-top:4px solid #1d4ed8 !important; }
footer :where(h2,h3,h4,a) { color:#1d4ed8 !important; }
footer :where(p,span,li) { color:#465b70 !important; }
html.dark body > nav, html.dark body > header { background:#0f172a !important; border-color:#334155 !important; }
html.dark footer { background:#0f172a !important; color:#f1f5f9 !important; }
html.dark footer :where(h2,h3,h4,a) { color:#93c5fd !important; }
html.dark footer :where(p,span,li) { color:#cbd5e1 !important; }

/* Closed menu is hidden in public HTML and editor canvases; runtime opens it explicitly. */
#instatic-mobile-menu { display:none !important; }
body:is(.instatic-menu-open,.instatic-menu-open-2) #instatic-mobile-menu:not([hidden]) { display:block !important; }
@media(min-width:1024px) { body #instatic-mobile-menu { display:none !important; } }

:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) { padding-inline:clamp(1rem,4vw,3rem) !important; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) > :is([class*="max-w-"],.bernies-page-intro) { padding-inline:0 !important; max-width:76rem; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) button { background:#1d4ed8 !important; color:#fff !important; border-color:#1d4ed8 !important; border-radius:.65rem !important; min-height:44px; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) button * { color:#fff !important; }
/* One responsive video column; map embeds and protected hero are separate. */
[data-bernies-video-section] > * { max-width:52rem !important; margin-inline:auto !important; }
[data-bernies-video-frame] { width:100%; aspect-ratio:16 / 9; overflow:hidden; border-radius:1rem; background:#0f172a; }
body :is([data-bernies-video-frame],[data-bernies-urgent]) > iframe[src*="youtube.com/embed/"] { display:block; width:100% !important; max-width:52rem !important; aspect-ratio:16 / 9; height:auto !important; margin:1.25rem auto !important; border:0; border-radius:1rem; }
body [data-bernies-video-frame] > iframe[src*="youtube.com/embed/"] { margin-block:0 !important; }
[data-bernies-service-copy] > p { max-width:80ch; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) a:is(.bernies-cta,[role="button"],[class*="inline-flex"][class*="items-center"][class*="justify-center"]):not([data-bernies-card-link]) { background:#1d4ed8 !important; color:#fff !important; border-color:#1d4ed8 !important; border-radius:.65rem !important; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) a:is(.bernies-cta,[role="button"],[class*="inline-flex"][class*="items-center"][class*="justify-center"]):not([data-bernies-card-link]) * { color:#fff !important; }
body > nav button:not([aria-label]), body > header button:not([aria-label]) { background:#1d4ed8 !important; color:#fff !important; border-color:#1d4ed8 !important; border-radius:.65rem !important; }
html:not(.dark) body footer, html.dark body footer { border-top:4px solid #1d4ed8 !important; }
/* The removed legacy disclaimer left an empty orange banner in old footer copies. */
footer > div:first-child[class*="from-orange-"] { display:none !important; }
/* Photo overlays keep readable white captions in both themes. */
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) [class*="bg-gradient-to-t"][class*="from-black"] { background-image:linear-gradient(to top,rgba(15,23,42,.94),rgba(15,23,42,.68)) !important; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) [class*="bg-gradient-to-t"][class*="from-black"] :is(h2,h3,p,span,strong,a) { color:#fff !important; -webkit-text-fill-color:#fff !important; }

/* Semantic adapters for existing content; same roles in both themes. */
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) { --bernies-soft:#e8efff; --bernies-on-soft:#1e40af; }
html.dark :is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) { --bernies-soft:#223554; --bernies-on-soft:#bfdbfe; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *)[data-bernies-content]:not([data-bernies-page-surface]) { padding:0 !important; background:transparent !important; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) [data-bernies-badge] { background:var(--bernies-soft) !important; background-image:none !important; color:var(--bernies-on-soft) !important; border-color:var(--bernies-border) !important; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) [data-bernies-badge] :is(span,p,svg) { color:var(--bernies-on-soft) !important; -webkit-text-fill-color:currentColor; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) [data-bernies-card-link] { background:var(--bernies-card) !important; background-image:none !important; color:var(--bernies-ink) !important; border-color:var(--bernies-border) !important; border-radius:1rem !important; text-decoration:none; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) [data-bernies-card-link] :is(h2,h3,h4,span,strong) { color:var(--bernies-ink) !important; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) [data-bernies-card-link] p { color:var(--bernies-muted) !important; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) [data-bernies-card-link]:hover { border-color:var(--bernies-blue) !important; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) section:is([aria-label="Heating contractor"],[aria-label="Air conditioning contractor"]) { padding:0 !important; margin-block:1.5rem !important; }
body > div[class*="flex-col"] > :is(nav,header) { background:#fff !important; border-color:#d9e3ed !important; }
html.dark body > div[class*="flex-col"] > :is(nav,header) { background:#0f172a !important; border-color:#334155 !important; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) :is(a,button,input,textarea,select,summary):focus-visible { outline:3px solid #2563eb; outline-offset:4px; }
html.dark :is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) :is(a,button,input,textarea,select,summary):focus-visible { outline-color:#93c5fd; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) :is(button,a.bernies-cta,a[href^="tel:"]) { transition:background-color .18s ease,color .18s ease,border-color .18s ease; }
:is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) :is(button,a.bernies-cta,a[href^="tel:"]):hover { background:#1e40af !important; color:#fff !important; }
@media(prefers-reduced-motion:reduce) { :is(body > section, body > main section, body > article section, body > div[class*="flex-col"] section, [data-bernies-content]):not([data-bernies-home-hero], [data-bernies-home-hero] *) :is(button,a.bernies-cta,a[href^="tel:"]) { transition:none !important; } }

/* Homepage service choices are real, visible links in the Services target. */
#services, #service-directory { scroll-margin-top:1.5rem; }
#services [data-bernies-service-copy] { display:flex; flex-wrap:wrap; justify-content:center; gap:.65rem; width:100%; max-width:none !important; margin:1.5rem 0 2rem !important; padding:0 !important; background:transparent !important; }
#services [data-bernies-service-copy] > h2 { flex-basis:100%; font-size:1.1rem !important; margin:0 0 .5rem !important; text-align:center; }
#services [data-bernies-service-copy] a { display:inline-flex; align-items:center; min-height:44px; padding:.65rem 1rem; border:1px solid var(--bernies-border); border-radius:.65rem; background:var(--bernies-card); font-weight:600; text-decoration:underline; text-underline-offset:.2em; }
#services [data-bernies-service-card] { padding:1.5rem; border:1px solid var(--bernies-border); border-radius:1rem; background:var(--bernies-card); }
#services [data-bernies-service-card] svg { color:var(--bernies-blue) !important; }
#services [data-bernies-service-heading-link] { display:flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:.2em; }
#services [data-bernies-service-heading-link] h3 { margin:0 !important; color:var(--bernies-blue) !important; }
:is(#services,#service-directory) a[href]:is(:hover,:focus-visible) { text-decoration:underline; text-underline-offset:.2em; text-decoration-thickness:2px; }
:is(#services,#service-directory) a[href]:focus-visible { outline:3px solid var(--bernies-blue) !important; outline-offset:4px; }


/* Visual r4: explicit roles. Never mark an ancestor of the protected hero.
   Surface owns block spacing; container owns the 76rem measure and single gutter. Breadcrumb hierarchy
   and page content are native CMS structure, not generated CSS content. */
body :is([data-bernies-page-surface], [data-bernies-breadcrumbs], [data-bernies-service-intro], [data-bernies-availability-notice], [data-bernies-service-copy], [data-bernies-unavailable], [data-bernies-consolidated], [data-bernies-stat-grid], [data-bernies-stat-card], [data-bernies-benefits], [data-bernies-video-section]):not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) {
  --bernies-surface:#f8fafc; --bernies-card:#fff; --bernies-ink:#17324d;
  --bernies-muted:#465b70; --bernies-blue:#1d4ed8; --bernies-border:#d9e3ed;
  --bernies-soft:#e8efff; --bernies-on-soft:#1e40af;
  --bernies-container:76rem; --bernies-gutter:clamp(1rem,3vw,2rem);
  --bernies-section-space:clamp(2rem,4vw,4rem); --bernies-card-radius:1rem;
  box-sizing:border-box; color:var(--bernies-ink);
  font-family:var(--font-sans),ui-sans-serif,system-ui,sans-serif;
}
html.dark body :is([data-bernies-page-surface], [data-bernies-breadcrumbs], [data-bernies-service-intro], [data-bernies-availability-notice], [data-bernies-service-copy], [data-bernies-unavailable], [data-bernies-consolidated], [data-bernies-stat-grid], [data-bernies-stat-card], [data-bernies-benefits], [data-bernies-video-section]):not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) {
  --bernies-surface:#0f172a; --bernies-card:#17243a; --bernies-ink:#f1f5f9;
  --bernies-muted:#cbd5e1; --bernies-blue:#93c5fd; --bernies-border:#334155;
  --bernies-soft:#223554; --bernies-on-soft:#bfdbfe;
}

/* Full-width surface, contained content. Does not use viewport breakout margins. */
body :is([data-bernies-page-surface], [data-bernies-service-copy], [data-bernies-unavailable], [data-bernies-consolidated]):not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])):not(:where(#services, #services *)) {
  width:100% !important; max-width:none !important; margin:0 !important;
  padding:var(--bernies-section-space) 0 !important;
  background:var(--bernies-surface) !important; background-image:none !important;
}
body :is([data-bernies-page-surface], [data-bernies-service-copy], [data-bernies-unavailable], [data-bernies-consolidated]):not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])):not(:where(#services, #services *)) > * {
  box-sizing:border-box; width:100%; max-width:var(--bernies-container) !important;
  margin-inline:auto !important; min-width:0;
}
body :is([data-bernies-page-surface], [data-bernies-service-copy], [data-bernies-unavailable], [data-bernies-consolidated]):not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])):not(:where(#services, #services *)) > :is(p,h1,h2,h3) { max-width:var(--bernies-container) !important; }
/* Mark an outer grouping as a stack only when its children own the spacing. */
body [data-bernies-page-surface="stack"]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { padding:0 !important; gap:0 !important; }
body [data-bernies-page-surface="stack"]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) > :is([data-bernies-service-intro],[data-bernies-page-surface]) { max-width:none !important; }
body [data-bernies-container]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) {
  box-sizing:border-box; width:100% !important; max-width:var(--bernies-container,76rem) !important;
  margin-inline:auto !important; padding-inline:0 !important; min-width:0;
}
/* AC hub: its marked wrapper is a stack even before the new structure pass.
   Unsectioned article wrappers get the same measure without a second gutter. */
body [data-bernies-content][data-bernies-page-surface]:has(> [data-bernies-service-intro]):not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { padding:0 !important; gap:0 !important; }
body [data-bernies-content][data-bernies-page-surface]:has(> [data-bernies-service-intro]):not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) > section { max-width:none !important; }
body [data-bernies-content][data-bernies-page-surface]:has(> [data-bernies-service-intro]):not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) > div:not([data-bernies-page-surface]) {
  box-sizing:border-box; width:100%; max-width:calc(var(--bernies-container) + 2 * var(--bernies-gutter)) !important;
  padding:var(--bernies-section-space) 0 !important;
}

/* Native nav > container > ol > li. No fixed height or nowrap on mobile. */
body [data-bernies-breadcrumbs]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) {
  width:100%; max-width:none !important; margin:0 !important;
  padding:.5rem 0 !important;
  background:var(--bernies-card) !important; background-image:none !important;
  border:0 !important; border-bottom:1px solid var(--bernies-border) !important;
  border-radius:0 !important; box-shadow:none !important;
}
body [data-bernies-breadcrumbs]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) > :is(div,ol) { max-width:var(--bernies-container) !important; margin:0 auto !important; padding:0 !important; }
body [data-bernies-breadcrumbs]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) ol { display:flex; flex-wrap:wrap; align-items:center; gap:.25rem .5rem; list-style:none; margin:0 !important; padding:0 !important; }
body [data-bernies-breadcrumbs]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) li { display:flex; align-items:center; gap:.5rem; min-width:0; margin:0; padding:0; font-size:.875rem !important; line-height:1.5 !important; color:var(--bernies-muted) !important; }
body [data-bernies-breadcrumbs]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) :is(a,[aria-current="page"]) { display:inline-flex; align-items:center; min-height:44px; padding-block:.35rem; font-size:.875rem !important; line-height:1.5 !important; overflow-wrap:anywhere; }
body [data-bernies-breadcrumbs]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) a { background:transparent !important; color:var(--bernies-blue) !important; text-decoration:underline; text-underline-offset:.2em; }
body [data-bernies-breadcrumbs]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) [aria-current="page"] { color:var(--bernies-ink) !important; font-weight:600; }
body [data-bernies-breadcrumbs]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) [aria-hidden="true"] { color:var(--bernies-muted) !important; flex:none; }
body [data-bernies-breadcrumbs]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) a:focus-visible { outline:3px solid var(--bernies-blue); outline-offset:3px; border-radius:.2rem; }

/* Intro and notice use one outer spacing layer; retain service-specific content. */
body [data-bernies-service-intro]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])):not(.thank-you-card,[data-bernies-unavailable]) {
  width:100%; max-width:none !important; margin:0 !important;
  padding:var(--bernies-section-space) 0 !important;
  background:var(--bernies-surface) !important; background-image:none !important;
}
body [data-bernies-service-intro]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])):not(.thank-you-card) > :is([class*="max-w-"],[data-bernies-container],.bernies-page-intro) {
  padding:0 var(--bernies-gutter) !important; max-width:var(--bernies-container) !important; margin-inline:auto !important;
}
body [data-bernies-service-intro]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) h1 { margin-top:0 !important; margin-bottom:1.25rem !important; }
body [data-bernies-service-intro]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) p { max-width:70ch; }
body [data-bernies-service-intro]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) :is([class*="text-center"],.bernies-page-intro) > p { margin-inline:auto !important; }
body [data-bernies-availability-notice]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) {
  width:100%; max-width:none !important; margin:0 !important; padding:.75rem 0 !important;
  background:var(--bernies-soft) !important; background-image:none !important;
  border-bottom:1px solid var(--bernies-border);
}
body [data-bernies-availability-notice]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) > div { padding:0 var(--bernies-gutter) !important; max-width:var(--bernies-container) !important; margin-inline:auto !important; }
body [data-bernies-availability-notice]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) h2 { color:var(--bernies-ink) !important; font-size:1.125rem !important; line-height:1.4 !important; margin:0 0 .25rem !important; }
body [data-bernies-availability-notice]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) :is(p,span,strong,div) { color:var(--bernies-ink) !important; -webkit-text-fill-color:currentColor; }
body [data-bernies-availability-notice]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) p { font-size:.9375rem !important; line-height:1.6 !important; margin:.25rem 0 0 !important; }
body [data-bernies-availability-notice]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) a:not([href^="tel:"],.bernies-cta) { color:var(--bernies-on-soft) !important; text-decoration:underline; }
body [data-bernies-availability-notice]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) :is(a[href^="tel:"],.bernies-cta) { color:#fff !important; }
body [data-bernies-availability-notice]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) :is(a[href^="tel:"],.bernies-cta) * { color:#fff !important; }
/* This marker is ordinary introductory prose, including the former tune-up pill. */
body [data-bernies-intro-copy]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) {
  display:block !important; width:auto !important; max-width:70ch !important;
  padding:0 !important; margin-block:.75rem !important; border:0 !important;
  border-radius:0 !important; background:transparent !important; background-image:none !important;
  box-shadow:none !important; backdrop-filter:none !important; color:var(--bernies-muted) !important;
  font-size:1rem !important; line-height:1.75 !important; font-weight:400 !important;
  letter-spacing:normal !important; text-transform:none !important;
}

/* Shared neutral cards; the About values are divs, not headings. */
body [data-bernies-stat-grid]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:1.25rem !important; max-width:60rem !important; margin:2rem auto 0 !important; }
body [data-bernies-stat-card]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { min-width:0; padding:1.5rem !important; border:1px solid var(--bernies-border) !important; border-radius:var(--bernies-card-radius) !important; background:var(--bernies-card) !important; background-image:none !important; box-shadow:0 3px 14px rgb(15 23 42 / .04) !important; backdrop-filter:none !important; }
body [data-bernies-stat-card]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) > :first-child { color:var(--bernies-ink) !important; -webkit-text-fill-color:currentColor; font-size:clamp(1.5rem,2vw,2rem) !important; line-height:1.25 !important; font-weight:700; overflow-wrap:anywhere; }
body [data-bernies-stat-card]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) > :not(:first-child) { color:var(--bernies-muted) !important; -webkit-text-fill-color:currentColor; font-size:1rem !important; line-height:1.6 !important; margin-top:.5rem !important; }
body [data-bernies-benefits]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { display:flex; flex-wrap:wrap; gap:1rem 1.5rem !important; padding-top:1rem !important; }
body [data-bernies-benefits]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) :is(div,span,p) { color:var(--bernies-muted) !important; -webkit-text-fill-color:currentColor; }
body [data-bernies-benefits]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) > div { min-width:0; align-items:flex-start; line-height:1.6; }
body [data-bernies-benefits]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) svg { color:var(--bernies-blue) !important; flex:none; margin-top:.2rem; }
/* Explicit card marker for native adapters; do not infer cards from all divs. */
body [data-bernies-card]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { padding:1.5rem !important; min-width:0; border:1px solid var(--bernies-border) !important; border-radius:var(--bernies-card-radius,1rem) !important; background:var(--bernies-card) !important; background-image:none !important; box-shadow:0 3px 14px rgb(15 23 42 / .04) !important; }
body [data-bernies-card]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) > :is(h2,h3):first-child { margin-top:0 !important; }
body :is([data-bernies-card-grid],.bernies-copy-grid):not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:1.25rem !important; align-items:stretch; }

/* Preserve the full genuine job photo even inside a legacy positioned frame. */
body img[data-bernies-job-photo]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { position:static !important; inset:auto !important; display:block; width:100% !important; height:auto !important; max-width:100% !important; max-height:36rem !important; object-fit:contain !important; object-position:center top !important; margin:0 auto !important; }
body :is(div,figure):has(> img[data-bernies-job-photo]):not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { height:auto !important; min-height:0 !important; aspect-ratio:auto !important; background:var(--bernies-card) !important; }
/* Keep an empty, removed decorative placement from leaving a whole section. */
body [data-bernies-text-intro]:empty:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { display:none !important; }
body section:has(> [data-bernies-text-intro]:empty):not(:has(> :not([data-bernies-text-intro]))):not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { display:none !important; }
/* Shared media column. The iframe receives the frame's full usable area. */
body [data-bernies-video-frame]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { box-sizing:border-box; width:100% !important; max-width:52rem !important; margin-inline:auto !important; padding:0 !important; aspect-ratio:16 / 9; position:relative; overflow:hidden; background:#0f172a !important; border-radius:1rem !important; }
body [data-bernies-video-frame]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) > iframe:is([src*="youtube.com/embed/"],[src*="youtube-nocookie.com/embed/"]) { display:block; width:100% !important; max-width:none !important; height:100% !important; margin:0 !important; padding:0 !important; border:0; border-radius:inherit; pointer-events:auto; }
body :is(.bernies-faq,[data-bernies-faq]):not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) summary { box-sizing:border-box; min-height:44px !important; padding-block:.5rem !important; cursor:pointer; color:var(--bernies-ink) !important; line-height:1.75 !important; }
body :is(.bernies-faq,[data-bernies-faq]):not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) details { padding-block:.5rem !important; }
/* A standalone confirmation owns its viewport, without styling body or hero ancestors. */
main.thank-you-page { box-sizing:border-box; width:100%; min-height:100vh !important; min-height:100dvh !important; margin:0 !important; }
@media(max-width:767px) {
  body [data-bernies-stat-grid]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])), body :is([data-bernies-card-grid],.bernies-copy-grid):not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { grid-template-columns:minmax(0,1fr) !important; }
  body [data-bernies-stat-card]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])), body [data-bernies-card]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { padding:1.25rem !important; }
  body [data-bernies-benefits]:not([data-bernies-home-hero], [data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { flex-direction:column; align-items:flex-start; gap:.75rem !important; }
}

/* Native integration r2. Outer sections paint and own block spacing;
   the direct data-bernies-container owns the sole horizontal gutter.
   No font, theme or layout scope is installed on home main/body/hero ancestors. */
body :is([data-bernies-section],[data-bernies-breadcrumb],[data-bernies-site-header],[data-bernies-site-footer]):not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) {
  --bernies-surface:#f8fafc; --bernies-card:#fff; --bernies-ink:#17324d;
  --bernies-muted:#465b70; --bernies-blue:#1d4ed8; --bernies-border:#d9e3ed;
  --bernies-soft:#e8efff; --bernies-on-soft:#1e40af; --bernies-container:76rem;
  --bernies-gutter:clamp(1rem,3vw,2rem); --bernies-section-space:clamp(2rem,4vw,4rem);
  --bernies-card-radius:1rem; box-sizing:border-box; color:var(--bernies-ink);
  font-family:var(--font-sans),ui-sans-serif,system-ui,sans-serif;
}
html.dark body :is([data-bernies-section],[data-bernies-breadcrumb],[data-bernies-site-header],[data-bernies-site-footer]):not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) {
  --bernies-surface:#0f172a; --bernies-card:#17243a; --bernies-ink:#f1f5f9;
  --bernies-muted:#cbd5e1; --bernies-blue:#93c5fd; --bernies-border:#334155;
  --bernies-soft:#223554; --bernies-on-soft:#bfdbfe;
}
body [data-bernies-page-shell] [data-bernies-section]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) {
  display:block !important; position:relative !important; inset:auto !important;
  box-sizing:border-box; width:100% !important; max-width:none !important;
  height:auto !important; min-height:0 !important; margin:0 !important;
  padding:var(--bernies-section-space) 0 !important; gap:0 !important;
  background:var(--bernies-surface) !important; background-image:none !important;
  border-radius:0 !important; color:var(--bernies-ink) !important;
}
body [data-bernies-page-shell] [data-bernies-section][data-bernies-availability-notice] { padding-block:.75rem !important; background:var(--bernies-soft) !important; }
body [data-bernies-page-shell] [data-bernies-container]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) {
  box-sizing:border-box !important; display:block; width:100% !important;
  max-width:76rem !important; min-width:0 !important; margin:0 auto !important;
  padding:0 var(--bernies-gutter,clamp(1rem,3vw,2rem)) !important;
  background:transparent !important; border:0 !important; border-radius:0 !important; box-shadow:none !important;
}
/* These markers identify only extracted outer layout wrappers, never a useful card. */
body [data-bernies-page-shell] :is([data-bernies-intro-legacy-container],[data-bernies-section-legacy-container]):not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) {
  box-sizing:border-box; position:static !important; inset:auto !important;
  width:100% !important; max-width:none !important; height:auto !important;
  min-height:0 !important; margin:0 !important; padding:0 !important;
  background:transparent !important; background-image:none !important;
  border:0 !important; border-radius:0 !important; box-shadow:none !important;
}
body [data-bernies-page-shell] [data-bernies-intro-grid] {
  display:grid !important; grid-template-columns:minmax(0,1fr) !important;
  align-items:start !important; gap:clamp(1.5rem,3vw,3rem) !important;
  width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important;
}
body [data-bernies-page-shell] [data-bernies-intro-text] { min-width:0; width:100%; max-width:65ch; padding:0 !important; margin:0 !important; text-align:left !important; }
body [data-bernies-page-shell] [data-bernies-intro-text] > :is(h1,p) { margin-inline:0 !important; }
body [data-bernies-page-shell] [data-bernies-intro-text] > h1 { margin-top:0 !important; }
body [data-bernies-page-shell] [data-bernies-intro-extras] { min-width:0; width:100%; margin:1.5rem 0 0 !important; padding:0 !important; }
body [data-bernies-page-shell] :is([data-bernies-intro-media],[data-bernies-media-frame]) {
  position:relative !important; inset:auto !important; box-sizing:border-box;
  min-width:0 !important; width:100% !important; max-width:100% !important;
  height:auto !important; min-height:0 !important; aspect-ratio:auto !important;
  padding:0 !important; margin:0 !important; overflow:hidden;
}
body [data-bernies-page-shell] :is([data-bernies-intro-media],[data-bernies-media-frame]) img[data-bernies-job-photo] { max-height:32rem !important; }
body [data-bernies-page-shell] [data-bernies-intro-lead] {
  display:block !important; width:auto !important; max-width:65ch !important;
  padding:0 !important; margin:.75rem 0 !important; border:0 !important;
  border-radius:0 !important; background:transparent !important; box-shadow:none !important;
  backdrop-filter:none !important; font-size:1rem !important; font-weight:400 !important;
  line-height:1.75 !important; color:var(--bernies-muted) !important;
}
body [data-bernies-page-shell] :is([data-bernies-card-grid],.bernies-copy-grid):not([data-bernies-stat-grid]) {
  display:grid !important; grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr)) !important;
  align-items:stretch; gap:1.5rem !important;
}
body [data-bernies-page-shell] [data-bernies-card]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { box-sizing:border-box; padding:1.25rem !important; }
/* Breadcrumb hierarchy is entirely native, including the unlinked current label. */
body [data-bernies-page-shell] [data-bernies-breadcrumb] {
  box-sizing:border-box; display:block !important; position:static !important;
  width:100% !important; max-width:none !important; margin:0 !important;
  min-height:3rem; height:auto !important; padding:.5rem 0 !important;
  background:var(--bernies-card) !important; background-image:none !important;
  border:0 !important; border-bottom:1px solid var(--bernies-border) !important;
  border-radius:0 !important; box-shadow:none !important;
}
body [data-bernies-page-shell] [data-bernies-breadcrumb-list] { display:flex !important; flex-wrap:wrap !important; align-items:center; gap:.25rem .5rem !important; width:100%; list-style:none; padding:0 !important; margin:0 !important; }
body [data-bernies-page-shell] [data-bernies-breadcrumb-item] { display:flex !important; align-items:center; gap:.5rem; min-width:0; padding:0 !important; margin:0 !important; color:var(--bernies-muted) !important; font-size:.875rem !important; line-height:1.5 !important; }
body [data-bernies-page-shell] [data-bernies-breadcrumb] :is(a,[aria-current="page"]) { display:inline-flex; align-items:center; box-sizing:border-box; min-height:44px; padding:.35rem 0; font-size:.875rem !important; line-height:1.5 !important; overflow-wrap:anywhere; background:transparent !important; }
body [data-bernies-page-shell] [data-bernies-breadcrumb] a { color:var(--bernies-blue) !important; text-decoration:underline; text-underline-offset:.2em; }
body [data-bernies-page-shell] [data-bernies-breadcrumb] [aria-current="page"] { color:var(--bernies-ink) !important; font-weight:600; }
body [data-bernies-page-shell] [data-bernies-breadcrumb] [aria-hidden="true"] { color:var(--bernies-muted) !important; }
body [data-bernies-page-shell] [data-bernies-breadcrumb] a:focus-visible { outline:3px solid var(--bernies-blue); outline-offset:3px; }
/* Emitted video modules introduce an extra wrapper between frame and iframe. */
body [data-bernies-page-shell] [data-bernies-video-frame]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { display:block !important; position:relative !important; aspect-ratio:16/9 !important; width:100% !important; max-width:52rem !important; height:auto !important; padding:0 !important; margin-inline:auto !important; }
body [data-bernies-page-shell] [data-bernies-video-frame]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) :is(div,figure):has(iframe) { box-sizing:border-box; display:block !important; position:absolute !important; inset:0 !important; width:100% !important; max-width:none !important; height:100% !important; min-height:0 !important; padding:0 !important; margin:0 !important; aspect-ratio:auto !important; }
body [data-bernies-page-shell] [data-bernies-video-frame]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) iframe { box-sizing:border-box; display:block !important; position:absolute !important; inset:0 !important; width:100% !important; max-width:none !important; height:100% !important; min-height:0 !important; padding:0 !important; margin:0 !important; border:0 !important; pointer-events:auto; }
/* Native hidden attributes are also source-verifiable, independent of CSS loading. */
body :is([data-bernies-page-shell],[data-bernies-site-header],[data-bernies-site-footer]) :is([data-bernies-layout-empty],[data-bernies-layout-archive],[hidden]):not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { display:none !important; height:0 !important; min-height:0 !important; margin:0 !important; padding:0 !important; }
/* Shared chrome keeps the existing native menu/theme controls and disabled booking. */
body :is([data-bernies-site-header],[data-bernies-site-footer]) { box-sizing:border-box; width:100% !important; max-width:none !important; margin:0 !important; background:var(--bernies-card) !important; background-image:none !important; color:var(--bernies-ink) !important; border-color:var(--bernies-border) !important; }
body :is([data-bernies-site-header],[data-bernies-site-footer]) :is([data-bernies-header-row],[data-bernies-footer-row]) { box-sizing:border-box; width:100%; max-width:76rem !important; margin-inline:auto !important; min-width:0; }
body [data-bernies-site-footer] { padding:clamp(2rem,4vw,4rem) var(--bernies-gutter) !important; }
body [data-bernies-site-footer] [data-bernies-footer-row] { gap:1.5rem !important; }
/* Confirmation uses the shared page shell; flex on this route alone fills the viewport. */
body:has(> [data-bernies-site-header] + main.thank-you-page), body > :has(> [data-bernies-site-header] + main.thank-you-page) { display:flex; flex-direction:column; min-height:100vh; min-height:100dvh; background:#f8fafc; }
html.dark body:has(> [data-bernies-site-header] + main.thank-you-page), html.dark body > :has(> [data-bernies-site-header] + main.thank-you-page) { background:#0f172a; }
body main.thank-you-page[data-bernies-page-shell] { display:block !important; flex:1 0 auto; width:100% !important; max-width:none !important; min-height:0 !important; height:auto !important; margin:0 !important; padding:0 !important; background:transparent !important; background-image:none !important; }
body main.thank-you-page[data-bernies-page-shell] [data-bernies-section] { text-align:left !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; backdrop-filter:none !important; }
@media(min-width:768px) {
  body [data-bernies-page-shell] [data-bernies-intro-grid][data-bernies-has-media="true"] { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media(max-width:767px) {
  body [data-bernies-page-shell] [data-bernies-stat-grid] { grid-template-columns:minmax(0,1fr) !important; }
  body [data-bernies-site-footer] [data-bernies-footer-row] { display:flex !important; flex-direction:column !important; align-items:flex-start !important; }
}


/* R3 native review corrections: semantic components retain their visual ownership. */
body [data-bernies-page-shell] [data-bernies-intro-extras] [data-bernies-badge]:not([data-bernies-home-hero],[data-bernies-home-hero] *) {
  box-sizing:border-box; display:inline-flex !important; align-items:center !important;
  width:fit-content !important; max-width:100% !important; height:auto !important;
  gap:.5rem !important; padding:.5rem 1rem !important; white-space:normal !important;
  background:#dbeafe !important; background-image:none !important; color:#1e40af !important;
  border:1px solid #93c5fd !important; border-radius:999px !important;
  opacity:1 !important; visibility:visible !important; text-align:left !important;
}
body [data-bernies-page-shell] [data-bernies-intro-extras] [data-bernies-badge] :is(span,p,svg) { color:#1e40af !important; -webkit-text-fill-color:currentColor !important; }
body [data-bernies-page-shell] [data-bernies-intro-extras] [data-bernies-badge] svg { flex-shrink:0; stroke:currentColor !important; opacity:1 !important; visibility:visible !important; }
html.dark body [data-bernies-page-shell] [data-bernies-intro-extras] [data-bernies-badge] { background:#223554 !important; color:#bfdbfe !important; border-color:#46658d !important; }
html.dark body [data-bernies-page-shell] [data-bernies-intro-extras] [data-bernies-badge] :is(span,p,svg) { color:#bfdbfe !important; }
body [data-bernies-page-shell] [data-bernies-stat-grid]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
/* A policy is a padded card, not an extracted max-width wrapper. */
body [data-bernies-page-shell] .bernies-policy { box-sizing:border-box; padding:1.5rem !important; margin-block:1.5rem !important; border:1px solid var(--bernies-border) !important; border-left:4px solid #2563eb !important; border-radius:.75rem !important; background:var(--bernies-card) !important; }
body [data-bernies-page-shell] .bernies-related { display:flex !important; flex-wrap:wrap !important; gap:.75rem !important; }
body [data-bernies-page-shell] a[data-bernies-text-link] { display:inline-flex !important; align-items:center !important; gap:.35rem; box-sizing:border-box; width:fit-content !important; max-width:100%; min-height:44px !important; height:auto !important; padding:.5rem 0 !important; background:transparent !important; background-image:none !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; color:var(--bernies-blue,#1d4ed8) !important; text-decoration:underline !important; text-underline-offset:.2em; white-space:normal; }
body [data-bernies-page-shell] a[data-bernies-text-link] :is(span,svg) { color:inherit !important; }
body [data-bernies-page-shell] a[data-bernies-text-link]:focus-visible { outline:3px solid var(--bernies-blue); outline-offset:3px; }
/* Replaced media carries explicit native markers; original source/inline props stay exact. */
body [data-bernies-page-shell] iframe[data-bernies-map-frame] { display:block !important; position:relative !important; inset:auto !important; box-sizing:border-box; width:100% !important; max-width:100% !important; height:clamp(20rem,40vw,30rem) !important; min-height:20rem !important; border:0 !important; }
body [data-bernies-page-shell] [data-bernies-intro-media] img[data-bernies-intro-photo] { display:block !important; position:static !important; inset:auto !important; width:100% !important; max-width:100% !important; height:auto !important; max-height:32rem !important; object-fit:contain !important; object-position:center top !important; margin:0 auto !important; }
body [data-bernies-page-shell] [data-bernies-intro-photo-frame] { position:relative !important; inset:auto !important; height:auto !important; min-height:0 !important; aspect-ratio:auto !important; }
@media(max-width:767px) {
  body [data-bernies-page-shell] [data-bernies-stat-grid]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { grid-template-columns:minmax(0,1fr) !important; }
}

/* Final reviewer-confirmed flow/ownership corrections, all explicitly marked in native source. */
body [data-bernies-page-shell] [data-bernies-section] > [data-bernies-container]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { box-sizing:border-box !important; width:100% !important; max-width:76rem !important; margin-inline:auto !important; padding:0 var(--bernies-gutter,clamp(1rem,3vw,2rem)) !important; }
body [data-bernies-page-shell] [data-bernies-article-flow] { width:100% !important; max-width:none !important; margin-inline:0 !important; padding:0 !important; background:transparent !important; }
body [data-bernies-page-shell] [data-bernies-caption-card] { position:static !important; inset:auto !important; height:auto !important; min-height:0 !important; aspect-ratio:auto !important; transform:none !important; overflow:visible !important; padding:1.25rem !important; border:1px solid var(--bernies-border) !important; border-radius:1rem !important; background:var(--bernies-card) !important; }
body [data-bernies-page-shell] [data-bernies-caption-flow] { position:static !important; inset:auto !important; width:auto !important; max-width:none !important; height:auto !important; padding:0 !important; margin:0 !important; background:transparent !important; background-image:none !important; border:0 !important; box-shadow:none !important; }
body [data-bernies-page-shell] [data-bernies-action-row] { background:transparent !important; background-image:none !important; }
body [data-bernies-page-shell] [data-bernies-decorative-icon] { background:#dbeafe !important; background-image:none !important; color:#1e40af !important; }
body [data-bernies-page-shell] [data-bernies-decorative-icon]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { background:#dbeafe !important; background-image:none !important; color:#1e40af !important; }
body [data-bernies-page-shell] [data-bernies-decorative-icon] svg { color:#1e40af !important; stroke:currentColor !important; }
html.dark body [data-bernies-page-shell] [data-bernies-decorative-icon] { background:#223554 !important; color:#bfdbfe !important; }
html.dark body [data-bernies-page-shell] [data-bernies-decorative-icon]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { background:#223554 !important; color:#bfdbfe !important; }
html.dark body [data-bernies-page-shell] [data-bernies-decorative-icon] svg { color:#bfdbfe !important; }
body [data-bernies-page-shell] [data-bernies-icon-box] { display:inline-flex !important; align-items:center !important; justify-content:center !important; align-self:flex-start !important; box-sizing:border-box; width:4.5rem !important; height:4.5rem !important; max-width:100%; flex:0 0 auto !important; padding:1rem !important; }
body [data-bernies-page-shell] [data-bernies-photo-caption] { position:static !important; inset:auto !important; padding:1.25rem !important; margin:0 !important; background:var(--bernies-card) !important; background-image:none !important; border-top:1px solid var(--bernies-border); color:var(--bernies-ink) !important; }
body [data-bernies-page-shell] [data-bernies-photo-caption] :is(p,span) { color:var(--bernies-ink) !important; }
body [data-bernies-page-shell] [data-bernies-disclosure] { box-sizing:border-box; min-height:44px !important; padding-block:.5rem !important; cursor:pointer; line-height:1.75 !important; color:var(--bernies-ink) !important; }
body [data-bernies-page-shell] [data-bernies-legal-flow] { max-width:none !important; width:100% !important; margin:0 !important; padding:0 !important; }
body [data-bernies-page-shell] [data-bernies-legal-group]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { box-sizing:border-box; padding:0 !important; margin:0 !important; width:100% !important; max-width:none !important; }
body [data-bernies-page-shell] [data-bernies-legal-group] + [data-bernies-legal-group] { margin-top:2rem !important; }
body [data-bernies-page-shell] [data-bernies-legal-group] > h2 { margin-top:0 !important; }
body [data-bernies-page-shell] [data-bernies-legal-group][data-bernies-legal-card]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { padding:1.25rem !important; }
body[data-bernies-confirmation-font], body[data-bernies-confirmation-font] :is([data-bernies-page-shell],[data-bernies-site-header],[data-bernies-site-footer],[data-bernies-section],[data-bernies-intro-text]) { font-family:var(--font-sans),ui-sans-serif,system-ui,sans-serif !important; }
body [data-bernies-site-footer] [data-bernies-footer-map-frame] { position:relative !important; width:100% !important; height:14rem !important; overflow:hidden; }
body [data-bernies-site-footer] [data-bernies-footer-map-frame] iframe { display:block !important; position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; border:0 !important; }

/* Native video transcript disclosures retain their list-item marker and keyboard behavior. */
body [data-bernies-video-section] details > summary:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { box-sizing:border-box; min-height:44px !important; padding-block:.5rem !important; line-height:1.75 !important; text-align:left; }

/* Existing real body portraits use the shared photo flow with their natural aspect ratio. */
body [data-bernies-page-shell] img[data-bernies-job-photo][data-bernies-body-photo]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { width:auto !important; height:auto !important; max-width:100% !important; max-height:32rem !important; object-fit:contain !important; object-position:center top !important; }

/* Native closure: natural photo flow and explicit decorative glyph roles only. */
body [data-bernies-page-shell] [data-bernies-intro-photo-frame][data-bernies-media-frame]:has(>img[data-bernies-body-photo]) { display:block !important; align-self:start !important; }
body [data-bernies-page-shell] [data-bernies-photo-grid] { align-items:start !important; }
body [data-bernies-page-shell] [data-bernies-decorative-icon="inline"] { background:transparent !important; background-image:none !important; color:var(--bernies-ink) !important; }
html.dark body [data-bernies-page-shell] [data-bernies-decorative-icon="inline"] { background:transparent !important; color:var(--bernies-ink) !important; }
body [data-bernies-page-shell] [data-bernies-decorative-icon] > svg { flex-shrink:0; }
@media(min-width:768px) { body [data-bernies-page-shell] [data-bernies-photo-grid][data-bernies-card-grid] { grid-template-columns:repeat(3,minmax(0,1fr)) !important; } }

/* Inline decorative glyphs retain the surrounding row/card surface and geometry. */
body [data-bernies-page-shell] [data-bernies-decorative-icon="inline"]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { background:transparent !important; background-image:none !important; color:var(--bernies-ink) !important; }
html.dark body [data-bernies-page-shell] [data-bernies-decorative-icon="inline"]:not([data-bernies-home-hero],[data-bernies-home-hero] *):not(:has([data-bernies-home-hero])) { background:transparent !important; background-image:none !important; color:var(--bernies-ink) !important; }

/* Existing text/photo pairs occupy one shared grid track per child. */
body [data-bernies-page-shell] [data-bernies-intro-grid]:has(>[data-bernies-media-frame]>img[data-bernies-body-photo]) > [data-bernies-card] { grid-column:auto !important; }


/* assets/widgets-disabled.css */
/* Temporarily disabled pending widget repairs. */
button[aria-label="Open Bernie's Heating & A/C Service live voice assistant"],
.bernies-voice-dialog,
#bernies-text-chat {
  display: none !important;
}
