/* Original 01 lowercase Wanderer. SVG lettering is outlined, not a font substitute. */
:root{--btp-mint:#6ACD9B;--btp-red:#F54225;--btp-functional-red:#B8321D;--btp-navy:#10264D;--btp-pale-mint:#E9FFF0}
.site-header .brand img{width:205px;max-width:100%;height:auto;object-fit:contain;filter:none!important}
.b3-brand img{width:100%;height:auto;object-fit:contain;filter:none!important}
.footer-brand img{width:255px;max-width:100%;height:auto;object-fit:contain;filter:none!important}
.site-header{background:#E9FFF0;border-bottom-color:#C7DFD1}
.site-footer{background:#10264D;color:#E9FFF0}
.site-footer :is(a,p,h2,button){color:#E9FFF0}
.planner-theme-control{justify-content:space-between;align-items:center;gap:12px}
.brand-refresh-planner-logo{display:block;line-height:0;max-width:175px}
.brand-refresh-planner-logo img{display:block;width:100%;height:auto;filter:none!important}
.brand-refresh-logo{display:block;line-height:0}
.brand-refresh-logo .brand-logo-night{display:none!important}
html[data-btp-theme="dark"] .brand-refresh-logo .brand-logo-day{display:none!important}
html[data-btp-theme="dark"] .brand-refresh-logo .brand-logo-night{display:block!important}
html[data-btp-theme="dark"] :is(.brand,.b3-brand,.brand-refresh-planner-logo) .brand-refresh-logo img{background:transparent;padding:0;border-radius:0}
.site-header nav a[aria-current=page]{box-shadow:inset 0 -3px #F54225}
.b3-primary-nav a[aria-current=page]{background:#D5F3E3;color:#10264D}
html[data-btp-theme="dark"] .site-header{background:#10264D;border-color:#49637B}
html[data-btp-theme="dark"] .b3-primary-nav a[aria-current=page]{background:#1D4138;color:#A5E6C4}
@media(max-width:767px){.site-header .brand img{width:190px}.brand-refresh-planner-logo{max-width:150px}.footer-brand img{width:240px}}

/* Mobile navigation frame: navy chrome, mint wayfinding, light logo. */
@media(max-width:767px){
 :root{--btp-mobile-control:#182F55;--btp-mobile-control-border:#8DA6C6;--btp-mobile-edge:#405B7D;--btp-mobile-hover:#203B61}
 html:root body[data-b3-page=site] .site-header.b3-header{background:var(--btp-navy);border-bottom-color:var(--btp-mobile-edge);box-shadow:0 3px 14px rgb(16 38 77 / .14)}
 html:root body[data-b3-page=site] .b3-phone-bar :is(.theme-toggle,.b3-menu-open){background:var(--btp-mobile-control);color:var(--btp-pale-mint);border-color:var(--btp-mobile-control-border)}
 html:root body[data-b3-page=site] .b3-primary-nav{background:var(--btp-navy);border-top-color:var(--btp-mint);box-shadow:0 -6px 20px rgb(16 38 77 / .18)}
 html:root body[data-b3-page=site] .b3-primary-nav a{color:var(--btp-pale-mint)}
 html:root body[data-b3-page=site] .b3-primary-nav a[aria-current]{background:var(--btp-mint);color:var(--btp-navy)}
 html:root body[data-b3-page=site] .b3-primary-nav a:not([aria-current]):hover{background:var(--btp-mobile-hover);color:var(--btp-pale-mint)}
 html:root body[data-b3-page] :is(.b3-primary-nav a,.b3-menu-open,.b3-phone-bar .theme-toggle,.planner-theme-control .theme-toggle):focus-visible{outline-color:var(--btp-pale-mint);outline-offset:2px}
 html:root body[data-b3-page=planner] :is(.planner-theme-control,.top){background:var(--btp-navy);color:var(--btp-pale-mint);border-color:var(--btp-mobile-edge)}
 html:root body[data-b3-page=planner] .top :is(button,a,.step-label){color:var(--btp-pale-mint)}
 html:root body[data-b3-page=planner] :is(.planner-theme-control .theme-toggle,.top button,.top a){background:var(--btp-mobile-control);color:var(--btp-pale-mint);border-color:var(--btp-mobile-control-border)}
 html:root body[data-b3-page] :is(.b3-phone-bar,.planner-theme-control) .brand-refresh-logo .brand-logo-day{display:none!important}
 html:root body[data-b3-page] :is(.b3-phone-bar,.planner-theme-control) .brand-refresh-logo .brand-logo-night{display:block!important}
}

/* Gentle glows aligned with the bulbs in the existing holiday header logo. */
.brand-refresh-logo{position:relative}
.btp-light-glows{display:none}
.site-header .brand-refresh-logo .btp-light-glows{display:block;position:absolute;inset:0;pointer-events:none;overflow:visible}
.btp-light-glows i{position:absolute;display:block;width:6%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#fffbe5 0%,currentColor 20%,transparent 70%);opacity:.6}
.btp-light-glows i:nth-child(1){left:34.2%;top:20%;color:#ff5b46}
.btp-light-glows i:nth-child(2){left:43.7%;top:24%;color:#ffc65c}
.btp-light-glows i:nth-child(3){left:53.9%;top:27%;color:#8af3ae}
.btp-light-glows i:nth-child(4){left:64.4%;top:28%;color:#8bbcff}
.btp-light-glows i:nth-child(5){left:74.9%;top:27%;color:#ff5b46}
.btp-light-glows i:nth-child(6){left:85.1%;top:24%;color:#ffc65c}
.btp-light-glows i:nth-child(7){left:94.7%;top:20%;color:#8af3ae}
@media(prefers-reduced-motion:no-preference){.btp-light-glows i{animation:btp-light-glow 3.8s ease-in-out infinite alternate}.btp-light-glows i:nth-child(2n){animation-delay:-1.4s}.btp-light-glows i:nth-child(3n){animation-delay:-2.7s}@keyframes btp-light-glow{0%,35%{opacity:.32}75%,100%{opacity:.85}}}

/* Give the holiday logo more room while keeping the controls in one row. */
@media(max-width:767px){
 html:root body[data-b3-page] .site-header.b3-header .b3-phone-bar{align-items:center;gap:6px;padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))}
 html:root body[data-b3-page] .site-header.b3-header .b3-phone-bar .b3-brand{display:flex;align-items:center;flex:1 1 200px;min-width:0;max-width:200px}
 html:root body[data-b3-page] .site-header.b3-header .b3-phone-bar .b3-menu-open{gap:4px;padding:8px;min-height:44px;font-size:0.8125rem}
}
@media(min-width:768px){body.home-afterglow .site-header.b3-header .b3-brand{flex-basis:210px}}

/* On the narrowest phones, retain the accessible Menu label while using its icon to give the logo room. */
@media(max-width:360px){html:root body[data-b3-page] .site-header.b3-header .b3-phone-bar .b3-menu-open{font-size:0!important;gap:0;min-width:44px;padding:8px}}

/* Respect the device's top safe area without guessing an island's size. */
@media(max-width:767px){
 :root{--btp-header-safe-top:env(safe-area-inset-top,0px)}
 html:root body[data-b3-page] .site-header.b3-header .b3-phone-bar{padding-top:calc(10px + var(--btp-header-safe-top))}
 body.home-afterglow .ag-cover{padding-top:calc(115px + var(--btp-header-safe-top))}
}
@media(max-width:700px){body.home-afterglow .ag-cover{padding-top:calc(100px + var(--btp-header-safe-top))}}
:where(html[data-btp-theme="dark"]) .site-header{background:var(--btp-surface);border-bottom-color:var(--btp-control)}:where(html[data-btp-theme="dark"]) .site-footer{background:var(--btp-night);color:var(--btp-on-dark)}:where(html[data-btp-theme="dark"]) .site-footer :is(a,p,h2,button){color:var(--btp-on-dark)}:where(html[data-btp-theme="dark"]) .site-header nav a[aria-current=page]{box-shadow:inset 0 -3px var(--btp-gold)}:where(html[data-btp-theme="dark"]) .b3-primary-nav a[aria-current=page]{background:var(--btp-surface);color:var(--btp-link)}html[data-btp-theme="dark"][data-btp-theme="dark"] .site-header{background:var(--btp-night);border-color:var(--btp-control)}html[data-btp-theme="dark"][data-btp-theme="dark"] .b3-primary-nav a[aria-current=page]{background:var(--btp-night);color:var(--btp-on-dark)}:where(html[data-btp-theme="dark"]) .btp-light-glows i:nth-child(1){color:var(--btp-status-danger)}:where(html[data-btp-theme="dark"]) .btp-light-glows i:nth-child(2){color:var(--btp-ink)}:where(html[data-btp-theme="dark"]) .btp-light-glows i:nth-child(3){color:var(--btp-link)}:where(html[data-btp-theme="dark"]) .btp-light-glows i:nth-child(4){color:var(--btp-on-dark)}:where(html[data-btp-theme="dark"]) .btp-light-glows i:nth-child(5){color:var(--btp-status-danger)}:where(html[data-btp-theme="dark"]) .btp-light-glows i:nth-child(6){color:var(--btp-ink)}:where(html[data-btp-theme="dark"]) .btp-light-glows i:nth-child(7){color:var(--btp-link)}