html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header{
  background:var(--studio-header)!important;
  color:var(--studio-header-text)!important;
  border-bottom:2px solid var(--studio-metal)!important;
  box-shadow:inset 0 -1px 0 var(--studio-accent)!important;
  font-family:'WDG Open Sans', system-ui, sans-serif!important;
  position:relative!important;
  z-index:50!important;
}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .nav-wrap{
  max-width:1200px!important;
  margin:0 auto!important;
  padding:14px clamp(16px, 4vw, 26px)!important;
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  gap:10px 16px!important;
}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .brand{
  grid-column:1!important;
  grid-row:1!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  text-decoration:none!important;
  color:var(--studio-header-text)!important;
  font-family:'WDG Manrope', system-ui, sans-serif!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .brand::before{
  content:""!important;
  width:28px!important;
  height:28px!important;
  flex:none!important;
  background:url("/assets/img/wdg-prism-r1.png") center/contain no-repeat!important;
  border-radius:var(--studio-radius)!important;
}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .wdg-appearance{
  grid-column:2!important;
  grid-row:1!important;
  justify-self:end!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .wdg-appearance label{
  color:var(--studio-header-muted)!important;
  font-size:.8rem!important;
}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header #wdg-palette,html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .wdg-mode-toggle{
  background:var(--studio-control)!important;
  color:var(--studio-header-text)!important;
  border:1px solid var(--studio-border-dark)!important;
  border-radius:var(--studio-radius)!important;
  padding:6px 10px!important;
  font-size:.82rem!important;
  line-height:1.2!important;
}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .wdg-mode-toggle{
  cursor:pointer!important;
}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .wdg-mode-toggle:hover,html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header #wdg-palette:hover{
  background:var(--studio-control-hover)!important;
}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .wdg-mode-toggle:focus-visible,html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header #wdg-palette:focus-visible,html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav a:focus-visible{
  outline:2px solid var(--studio-focus)!important;
  outline-offset:2px!important;
}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav{
  grid-column:1 / -1!important;
  grid-row:2!important;
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  overflow:visible!important;
}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav a{
  color:var(--studio-header-muted)!important;
  text-decoration:none!important;
  font-size:.92rem!important;
  white-space:nowrap!important;
}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav a:hover{
  color:var(--studio-header-text)!important;
}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav .nav-cta{
  background:var(--studio-accent)!important;
  color:var(--studio-on-dark)!important;
  padding:7px 14px!important;
  border-radius:var(--studio-radius)!important;
  margin-left:auto!important;
  flex:none!important;
}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav .nav-cta:hover{
  background:var(--studio-accent-hover)!important;
  color:var(--studio-on-dark)!important;
}
@media (max-width: 760px){html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .nav-wrap{
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto auto!important;
    padding:12px 16px!important;
  }
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .brand{ grid-column:1!important; grid-row:1!important; }
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .wdg-appearance{ grid-column:1!important; grid-row:2!important; justify-self:start!important; flex-wrap:wrap!important; }
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav{
    grid-row:3!important;
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    padding-bottom:4px!important;
    scrollbar-width:thin!important;
  }
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav .nav-cta{
    position:sticky!important;
    right:0!important;
    margin-left:12px!important;
    background:var(--studio-accent)!important;
  }
}
@media (prefers-reduced-motion: reduce){html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header *{ transition:none!important; }
}
html[data-theme] body[data-wdg-shell="r5"].qb-page{
  background:var(--studio-page)!important;
  background-image:radial-gradient(circle at 20% -10%, rgba(47,118,123,.18), transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(185,155,93,.12), transparent 50%)!important;
  color:var(--studio-on-dark)!important;
  font-family:'WDG Open Sans', system-ui, sans-serif!important;

}
html[data-theme] body[data-wdg-shell="r5"].qb-page .qb-hero{
  max-width:1200px!important;
  margin:0 auto!important;
  padding:60px 26px 24px!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page .qb-hero h1{
  font-family:'WDG Manrope', system-ui, sans-serif!important;
  font-size:clamp(2.3rem, 5vw, 4.4rem)!important;
  color:var(--studio-on-dark)!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page .qb-hero p{ max-width:750px!important; color:var(--studio-on-dark-muted)!important; }
html[data-theme="light"] body[data-wdg-shell="r5"].qb-page .qb-hero h1{ color:var(--studio-ink)!important; }
html[data-theme="light"] body[data-wdg-shell="r5"].qb-page .qb-hero p{ color:var(--studio-copy)!important; }
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder{
  max-width:1200px!important;
  margin:0 auto!important;
  padding:0 26px 70px!important;
  box-sizing:border-box!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-layout{
  display:grid!important;
  grid-template-columns:minmax(0, 1fr) 335px!important;
  gap:26px!important;
  align-items:start!important;
}
@media (max-width: 1000px){html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-layout{ grid-template-columns:minmax(0, 1fr) 300px!important; }
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-grid{ grid-template-columns:1fr!important; }
}
@media (max-width: 760px){html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-layout{ display:block!important; }
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-summary{ position:static!important; max-height:none!important; }
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-section{
  background:var(--studio-surface)!important;
  color:var(--studio-ink)!important;
  border:1px solid var(--studio-border)!important;
  border-radius:13px!important;
  padding:20px!important;
  box-sizing:border-box!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-choice{
  display:grid!important;
  grid-template-columns:20px minmax(0, 1fr)!important;
  gap:10px!important;
  background:#fff!important;
  color:var(--studio-ink)!important;
  border:1px solid var(--studio-border)!important;
  border-radius:9px!important;
  padding:14px!important;
  box-sizing:border-box!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-choice:has(input:checked){
  background:var(--studio-surface-alt)!important;
  border:2px solid var(--studio-accent-hover)!important;
  padding:13px!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-card-copy,html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-scope,html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-features,html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-features li,html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-features summary{
  color:var(--studio-copy)!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-summary{
  background:var(--studio-surface-alt)!important;
  border:1px solid var(--studio-metal)!important;
  color:var(--studio-ink)!important;
  border-radius:var(--studio-radius)!important;
  position:sticky!important;
  top:calc(var(--wdg-header-height, 0px) + 12px)!important;
  max-height:calc(100vh - var(--wdg-header-height, 0px) - 12px)!important;
  overflow:auto!important;
  padding:20px!important;
  box-sizing:border-box!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-totals,html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-lines,html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-price,html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-status,html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-status h2,html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-status strong{
  color:var(--studio-ink)!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-price{ color:var(--studio-accent-hover)!important; font-weight:700!important; }
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-promo{
  background:var(--studio-header-alt)!important;
  color:var(--studio-on-dark)!important;
  border-radius:var(--studio-radius)!important;
  padding:16px!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-promo label,html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-promo input{
  color:var(--studio-on-dark)!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-promo input{
  background:var(--studio-control)!important;
  border:1px solid var(--studio-border-dark)!important;
  border-radius:var(--studio-radius)!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-note{
  color:var(--studio-copy)!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-main > .qb-note{
  color:var(--studio-on-dark-muted)!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-button{
  background:var(--studio-accent)!important;
  color:var(--studio-on-dark)!important;
  border:none!important;
  border-radius:var(--studio-radius)!important;
  padding:10px 18px!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-button:hover{ background:var(--studio-accent-hover)!important; }
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-button:disabled{
  background:var(--studio-border)!important;
  color:var(--studio-copy)!important;
  cursor:not-allowed!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-button-secondary{
  background:#fff!important;
  color:var(--studio-accent-hover)!important;
  border:1px solid var(--studio-accent)!important;
  border-radius:var(--studio-radius)!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-button-secondary:disabled{
  background:var(--studio-surface-alt)!important;
  color:var(--studio-border)!important;
  border-color:var(--studio-border)!important;
}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-errors{
  background:#fdeceb!important;
  color:#8a2f27!important;
  border:1px solid #e3a69e!important;
  border-radius:var(--studio-radius)!important;
  padding:10px 14px!important;
}
html[data-theme] body[data-wdg-shell="r5"] .qb-entry,html[data-theme] body[data-wdg-shell="r5"] .qb-intake-notice{
  background:var(--studio-surface-alt)!important;
  color:var(--studio-copy)!important;
  border:1px solid var(--studio-border)!important;
  border-radius:var(--studio-radius)!important;
  padding:14px!important;
}
html[data-theme] body[data-wdg-shell="r5"] .qb-entry a{
  color:var(--studio-accent-hover)!important;
}
@media (max-width: 360px){html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder,html[data-theme] body[data-wdg-shell="r5"].qb-page .qb-hero{ padding-left:14px!important; padding-right:14px!important; }
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-choice{ grid-template-columns:18px minmax(0, 1fr)!important; }
}
@media (prefers-reduced-motion: reduce){html[data-theme] body[data-wdg-shell="r5"].qb-page *,html[data-theme] body[data-wdg-shell="r5"].qb-page *::before,html[data-theme] body[data-wdg-shell="r5"].qb-page *::after{ transition:none!important; animation:none!important; }
}

/* Load the same local body face for older rules that used its unprefixed name. */
@font-face{font-family:'Open Sans';src:url('../fonts/open-sans-latin.woff2') format('woff2');font-weight:300 800;font-style:normal;font-display:swap}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header{position:sticky!important;top:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;z-index:50!important;border-bottom:1px solid var(--studio-border-dark)!important;backdrop-filter:blur(16px)}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .container.nav-wrap{width:100%!important;max-width:1200px!important;min-height:0!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:auto 1fr!important;flex-wrap:wrap!important;gap:8px 16px!important;padding:10px clamp(20px,4vw,50px)!important}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .brand{font-size:17px!important;min-width:0!important;max-width:none!important;opacity:1!important;filter:none!important;text-shadow:none!important}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .brand span{font:inherit!important;color:inherit!important;-webkit-text-fill-color:currentColor!important}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .brand::before{display:block!important;background:#fff url('/assets/img/wdg-prism-r1.png') center/contain no-repeat!important;box-shadow:none!important;border:0!important;filter:none!important;transform:none!important}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .wdg-appearance{gap:8px!important;padding:4px 8px!important;min-width:0!important;background:var(--studio-header-alt)!important;border:1px solid var(--studio-border-dark)!important;border-radius:4px!important}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header :is(select,button){font-family:'WDG Open Sans',sans-serif!important;min-height:36px!important;width:auto!important;max-width:none!important;box-shadow:none!important;-webkit-text-fill-color:currentColor!important}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .wdg-appearance label{font:700 11px 'WDG Open Sans',sans-serif!important;padding:0!important;margin:0!important}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav{position:static!important;inset:auto!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;gap:3px!important;justify-content:flex-start!important;flex-wrap:wrap!important;max-height:none!important;visibility:visible!important;opacity:1!important;transform:none!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav>a{font:750 13px/1.25 'WDG Open Sans',sans-serif!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:9px 10px!important;min-width:0!important;width:auto!important;margin:0!important;border:1px solid transparent!important;border-radius:3px!important;background:transparent!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;box-shadow:none!important;transform:none!important;letter-spacing:0!important;flex:0 0 auto!important}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav>a[aria-current=page]{background:var(--studio-header-alt)!important;color:var(--studio-header-text)!important;border-bottom-color:var(--studio-metal)!important}
html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav>a.nav-cta{position:static!important;margin-left:0!important;background:var(--studio-accent)!important;color:#fff!important;border-color:var(--studio-accent-soft)!important}
html[data-theme] body[data-wdg-shell="r5"] main [id]{scroll-margin-top:calc(var(--wdg-header-height,120px) + 16px)!important}
.wdg-flow-bar :is(.jp-brand,.co-brand,.jp-theme-label,.co-theme-label){display:none!important}
html[data-theme] body[data-wdg-shell="r5"] .wdg-flow-bar{position:static!important;display:flex!important;justify-content:flex-end!important;max-width:1200px!important;min-height:0!important;margin:auto!important;padding:12px clamp(20px,4vw,50px)!important;background:transparent!important;border:0!important;box-shadow:none!important}
/* Original page styles retain ownership of artwork and editorial surfaces. */
html[data-theme] body[data-wdg-shell="r5"] .studio-r1{--sr1-bg:var(--studio-page);--sr1-ink:var(--studio-on-dark);--sr1-muted:var(--studio-on-dark-muted);--sr1-line:var(--studio-border-dark);--sr1-accent:var(--studio-accent-soft);font-family:'WDG Open Sans',sans-serif!important;background:transparent!important}
html[data-theme=light] body[data-wdg-shell="r5"] .studio-r1{--sr1-ink:var(--studio-ink);--sr1-muted:var(--studio-copy);--sr1-line:var(--studio-border);--sr1-accent:var(--studio-accent)}
html[data-theme] body[data-wdg-shell="r5"] .studio-r1 :is(.sr1-portfolio-band,.sr1-hero-fig){background:var(--studio-dark-panel)!important;border-color:var(--studio-border-dark)!important}
html[data-theme=light] body[data-wdg-shell="r5"] .studio-r1 .sr1-portfolio-band{background:var(--studio-surface-alt)!important}
html[data-theme] body[data-wdg-shell="r5"] .studio-r1 .sr1-btn-primary{background:var(--studio-accent)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:var(--studio-accent-soft)!important}
html[data-theme] body[data-wdg-shell="r5"] .sr5-home-scene{background:linear-gradient(90deg,var(--studio-page),transparent 90%),url('../img/spiral-galaxy-space-v248.webp') 72% center/cover no-repeat;border-bottom:1px solid var(--sr1-line)}
html[data-theme] body[data-wdg-shell="r5"] .sr5-home-scene .sr1-hero-copy{padding:24px 0;background:linear-gradient(90deg,var(--studio-page),color-mix(in srgb,var(--studio-page) 85%,transparent),transparent);border-radius:5px}
html[data-theme=light] body[data-wdg-shell="r5"] .sr5-home-scene{background:linear-gradient(90deg,var(--studio-page) 20%,color-mix(in srgb,var(--studio-page) 96%,transparent) 58%,color-mix(in srgb,var(--studio-page) 76%,transparent)),url('../img/spiral-galaxy-space-v248.webp') 72% center/cover no-repeat}
html[data-theme] body[data-wdg-shell="r5"] .sr5-work-scene{background:radial-gradient(ellipse at 95% 10%,color-mix(in srgb,var(--studio-accent-soft) 12%,transparent),transparent 60%)}
/* Quote surfaces keep the light paper hierarchy used by the original studio. */
html[data-theme] body[data-wdg-shell="r5"].qb-page{background-color:var(--studio-page)!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-main .qb-hero h1{color:var(--studio-on-dark)!important;-webkit-text-fill-color:currentColor!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-main .qb-hero p{color:var(--studio-on-dark-muted)!important;-webkit-text-fill-color:currentColor!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-main .qb-hero .qb-eyebrow{color:var(--studio-accent-soft)!important}
html[data-theme=light] body[data-wdg-shell="r5"].qb-page #quote-main .qb-hero h1{color:var(--studio-ink)!important}
html[data-theme=light] body[data-wdg-shell="r5"].qb-page #quote-main .qb-hero p{color:var(--studio-copy)!important}
html[data-theme=light] body[data-wdg-shell="r5"].qb-page #quote-main .qb-hero .qb-eyebrow{color:var(--studio-accent)!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder *{-webkit-text-fill-color:currentColor!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder :is(legend,.qb-section>summary,.qb-card-copy,.qb-summary h2,.qb-lines li,.qb-totals>div,.qb-totals strong){color:var(--studio-ink)!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-choice input{accent-color:var(--studio-accent)}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-features summary{color:var(--studio-accent)!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-choice:has(input:checked){background:var(--studio-surface-alt)!important;border-color:var(--studio-accent)!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-promo{background:var(--studio-dark-panel)!important;border-color:var(--studio-border-dark)!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-promo :is(label,.qb-note){color:var(--studio-on-dark)!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-promo input{background:var(--studio-surface)!important;color:var(--studio-ink)!important;border-color:var(--studio-border)!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-button{color:#fff!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-button:disabled{color:var(--studio-copy)!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-totals{border-color:var(--studio-accent)!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-lines li{border-color:var(--studio-border)!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-mobile-summary{top:calc(var(--wdg-header-height,120px) + 8px)!important;background:var(--studio-surface-alt)!important;color:var(--studio-ink)!important;border-color:var(--studio-border)!important}
html[data-theme=light] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-main>.qb-note{color:var(--studio-copy)!important}
html[data-theme] body[data-wdg-shell="r5"] :is(.qb-entry,.qb-intake-notice) :is(p,li,strong){color:var(--studio-ink)!important;-webkit-text-fill-color:currentColor!important}
html[data-theme] body[data-wdg-shell="r5"] :is(.qb-entry,.qb-intake-notice) a{color:var(--studio-accent)!important;-webkit-text-fill-color:currentColor!important}
@media(max-width:760px){html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .container.nav-wrap{grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important;gap:6px!important;padding:8px 18px!important}html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .brand{font-size:15px!important}html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .wdg-appearance{grid-column:1!important;grid-row:2!important;justify-self:start!important}html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav{grid-row:3!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important}html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav>a{font-size:11px!important;padding:7px 4px!important;white-space:normal!important}html[data-theme] body[data-wdg-shell="r5"] #wdg-shared-header.wdg-shell-header .site-nav>a.nav-cta{grid-column:auto!important}html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-layout{display:block!important}html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder .qb-summary{position:static!important;max-height:none!important;overflow:visible!important}html[data-theme] body[data-wdg-shell="r5"].qb-page .qb-hero{padding:35px 18px 16px!important}html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-builder{padding:0 18px 40px!important}html[data-theme] body[data-wdg-shell="r5"] .sr5-home-scene{background-position:70% top!important}html[data-theme] body[data-wdg-shell="r5"] .sr5-home-scene .sr1-hero-copy{padding:0!important}}
@media(prefers-reduced-motion:reduce){html[data-theme] body[data-wdg-shell="r5"] .wdg-shell-header *,html[data-theme] body[data-wdg-shell="r5"] .studio-r1 *{animation:none!important;transition:none!important}}
/* An explicit hero owner beats the old generic section reset without affecting other scenes. */
html[data-theme] body[data-wdg-shell="r5"] #main-content .sr5-home-scene{background:linear-gradient(90deg,var(--studio-page),color-mix(in srgb,var(--studio-page) 50%,transparent) 70%,color-mix(in srgb,var(--studio-page) 20%,transparent)),url('../img/spiral-galaxy-space-v248.webp') 65% center/cover no-repeat!important}
html[data-theme] body[data-wdg-shell="r5"] #main-content .sr5-home-scene{padding:0!important;min-height:0!important;margin:0!important}
html[data-theme=light] body[data-wdg-shell="r5"] #main-content .sr5-home-scene{background:linear-gradient(90deg,var(--studio-page) 20%,color-mix(in srgb,var(--studio-page) 96%,transparent) 58%,color-mix(in srgb,var(--studio-page) 76%,transparent)),url('../img/spiral-galaxy-space-v248.webp') 65% center/cover no-repeat!important}
html[data-theme] body[data-wdg-shell="r5"].qb-page #quote-main{background:linear-gradient(180deg,color-mix(in srgb,var(--studio-page) 88%,transparent),color-mix(in srgb,var(--studio-page) 96%,transparent))!important}
/* The collection keeps its serif layout and paper cards while the frame follows appearance. */
html[data-theme] body[data-wdg-shell="r5"]:has(.gallery-intro){background:var(--studio-page);color:var(--studio-on-dark)}
html[data-theme=light] body[data-wdg-shell="r5"]:has(.gallery-intro){color:var(--studio-ink)}
html[data-theme] body[data-wdg-shell="r5"] .gallery-intro :is(.lede,.review-notice){color:var(--studio-on-dark-muted)}
html[data-theme=light] body[data-wdg-shell="r5"] .gallery-intro :is(.lede,.review-notice){color:var(--studio-copy)}
html[data-theme] body[data-wdg-shell="r5"]:has(.gallery-intro) :is(.marker,.card-meta,.dialog-meta){color:var(--studio-accent)}
html[data-theme] body[data-wdg-shell="r5"] .gallery-intro .marker{color:var(--studio-accent-soft)}
html[data-theme] body[data-wdg-shell="r5"]:has(.gallery-intro) :is(.category-buttons button,.search-field input){background:var(--studio-surface);color:var(--studio-ink);border-color:var(--studio-border)}
html[data-theme] body[data-wdg-shell="r5"]:has(.gallery-intro) .category-buttons button[aria-pressed=true]{background:var(--studio-accent);color:#fff;border-color:var(--studio-accent)}
html[data-theme] body[data-wdg-shell="r5"]:has(.gallery-intro) :is(.card,dialog#preview-dialog){background:var(--studio-surface);color:var(--studio-ink);border-color:var(--studio-border)}
html[data-theme] body[data-wdg-shell="r5"]:has(.gallery-intro) .card-description{color:var(--studio-copy)}
html[data-theme] body[data-wdg-shell="r5"]:has(.gallery-intro) :is(.search-field label,.site-footer,.empty-state){color:var(--studio-on-dark-muted)}
html[data-theme=light] body[data-wdg-shell="r5"]:has(.gallery-intro) :is(.search-field label,.site-footer,.empty-state){color:var(--studio-copy)}
html[data-theme] body[data-wdg-shell="r5"]:has(.gallery-intro) :is(.preview-button,.empty-state button){background:var(--studio-accent);color:#fff;border-color:var(--studio-accent)}
/* The request keeps its illustrated dark hero and paper form, with palette accents. */
html[data-theme] body[data-wdg-shell="r5"].brief-page-v282{background:var(--studio-page)!important}
html[data-theme] body[data-wdg-shell="r5"].brief-page-v282 .brief-selection{border-left-color:var(--studio-accent)}
html[data-theme] body[data-wdg-shell="r5"].brief-page-v282 :is(.brief-selection a,.brief-checkout-link){color:var(--studio-accent)}
html[data-theme] body[data-wdg-shell="r5"].brief-page-v282 .brief-submit{border-color:var(--studio-accent);color:var(--studio-accent)}
html[data-theme] body[data-wdg-shell="r5"].brief-page-v282 .brief-eyebrow{color:color-mix(in srgb,var(--studio-accent) 30%,white)}
html[data-theme] body[data-wdg-shell="r5"].brief-page-v282 .brief-v282 :is(input,select,textarea,button,a):focus-visible{outline-color:var(--studio-focus)}

html[data-theme="light"][data-wdg-palette="galaxy"]{--studio-accent:#2f767b;--studio-accent-hover:#235b60;--studio-accent-soft:#2f767b;--studio-focus:#2f767b;--studio-metal:#2f767b;--theme-accent:#2f767b;--theme-aqua:#2f767b;--theme-link:#2f767b;--theme-button:#2f767b;--readable-accent:#2f767b;}
html[data-theme="light"][data-wdg-palette="solar"]{--studio-accent:#8e5d2b;--studio-accent-hover:#6e461e;--studio-accent-soft:#8e5d2b;--studio-focus:#8e5d2b;--studio-metal:#8e5d2b;--theme-accent:#8e5d2b;--theme-aqua:#8e5d2b;--theme-link:#8e5d2b;--theme-button:#8e5d2b;--readable-accent:#8e5d2b;}
html[data-theme="light"][data-wdg-palette="midnight"]{--studio-accent:#3c6080;--studio-accent-hover:#2c4a64;--studio-accent-soft:#3c6080;--studio-focus:#3c6080;--studio-metal:#3c6080;--theme-accent:#3c6080;--theme-aqua:#3c6080;--theme-link:#3c6080;--theme-button:#3c6080;--readable-accent:#3c6080;}
html[data-theme="light"][data-wdg-palette="nebula"]{--studio-accent:#604a67;--studio-accent-hover:#49374f;--studio-accent-soft:#604a67;--studio-focus:#604a67;--studio-metal:#604a67;--theme-accent:#604a67;--theme-aqua:#604a67;--theme-link:#604a67;--theme-button:#604a67;--readable-accent:#604a67;}
html[data-theme="light"][data-wdg-palette="emerald"]{--studio-accent:#315f49;--studio-accent-hover:#254838;--studio-accent-soft:#315f49;--studio-focus:#315f49;--studio-metal:#315f49;--theme-accent:#315f49;--theme-aqua:#315f49;--theme-link:#315f49;--theme-button:#315f49;--readable-accent:#315f49;}
html[data-theme="light"][data-wdg-palette="crimson"]{--studio-accent:#6f343b;--studio-accent-hover:#54272d;--studio-accent-soft:#6f343b;--studio-focus:#6f343b;--studio-metal:#6f343b;--theme-accent:#6f343b;--theme-aqua:#6f343b;--theme-link:#6f343b;--theme-button:#6f343b;--readable-accent:#6f343b;}