html{scrollbar-gutter:stable}
/* One public header. Keep layout, order and colors independent of page content. */
#afp-guest .afp-site-header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:24px;padding:22px 38px;background:#19294d;color:#fff9ec;border:0;border-bottom:4px solid #e43b32;box-sizing:border-box;letter-spacing:normal;font:600 14px/1.4 system-ui,sans-serif}
#afp-guest .afp-site-header *{box-sizing:border-box}
#afp-guest .afp-site-header .g-brand{display:block;flex:0 0 240px;width:240px;max-width:none;margin:0;padding:0;border:0;background:none}
#afp-guest .afp-site-header .g-brand img{display:block;width:100%;height:auto;max-width:none}
#afp-guest .afp-site-header .g-belong,#afp-guest .afp-site-header .g-menu-toggle{display:none}
#afp-guest .afp-site-header #afp-navigation{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:clamp(16px,1.8vw,30px);margin:0 0 0 auto;padding:0;min-width:0;width:auto}
#afp-guest .afp-site-header .g-button{font:600 14px/1.4 system-ui,sans-serif;position:relative;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:44px;padding:10px 0;border:0;border-radius:0;color:#fff9ec;background:none;text-decoration:none;margin:0;cursor:pointer}
#afp-guest .afp-site-header .g-nav-link:after{content:'';position:absolute;bottom:5px;left:0;right:0;height:1px;background:#fff9ec;opacity:.6}
#afp-guest .afp-site-header .g-nav-link[aria-current=page]:after{height:4px;opacity:1;bottom:3px}
#afp-guest .afp-site-header .g-nav-link:hover:after{opacity:1}
#afp-guest .afp-site-header .g-button.g-nav-fit{background:#b52f26;color:#fff9ec;border:1px solid #b52f26;border-radius:28px 28px 28px 12px;padding:12px 20px;min-height:46px;flex-shrink:0;order:10}
#afp-guest .afp-site-header .g-button.g-nav-fit:hover{background:#a12820;border-color:#a12820}
#afp-guest .afp-site-header .g-button.g-nav-fit[aria-current=page]{box-shadow:inset 0 -4px #fff9ec}
#afp-guest .afp-site-header .g-theme-toggle{width:44px;height:44px;min-width:44px;padding:10px;border:1px solid #65718c;border-radius:50%;flex-shrink:0}
#afp-guest .afp-site-header .g-theme-toggle svg{display:block}
#afp-guest .afp-site-header .g-theme-toggle .g-theme-sun{display:none}
#afp-guest[data-theme=dark] .afp-site-header .g-theme-toggle .g-theme-sun{display:block}
#afp-guest[data-theme=dark] .afp-site-header .g-theme-toggle .g-theme-moon{display:none}
#afp-guest .afp-site-header .g-nav-count{position:absolute;right:-10px;top:-5px;font-size:10px;line-height:18px;min-width:18px;padding:0 4px;border-radius:12px;background:#b52f26;color:white}
#afp-guest .afp-site-header :is(a,button):focus-visible{outline:3px solid #ffbd9e;outline-offset:5px}
/* Common tiers: sm 576, md 768, nav 1080, xl 1200, xxl 1400. */
@media(min-width:1080px) and (max-width:1199.98px){
 #afp-guest .afp-site-header{padding:18px 20px;gap:16px}
 #afp-guest .afp-site-header .g-brand{width:clamp(168px,17vw,200px);flex-basis:clamp(168px,17vw,200px)}
 #afp-guest .afp-site-header #afp-navigation{gap:clamp(10px,1vw,12px)}
 #afp-guest .afp-site-header .g-button{font-size:13px}
 #afp-guest .afp-site-header .g-button.g-nav-fit{padding:12px 16px}
}
@media(min-width:1200px) and (max-width:1399px){#afp-guest .afp-site-header{padding:20px 28px;gap:20px}#afp-guest .afp-site-header .g-brand{width:210px;flex-basis:210px}#afp-guest .afp-site-header #afp-navigation{gap:18px}}
@media(max-width:1079.98px){
 #afp-guest .afp-site-header{padding:16px 24px;gap:0;flex-wrap:wrap}
 #afp-guest .afp-site-header .g-brand{width:210px;flex:0 0 210px;max-width:65%}
 #afp-guest .afp-site-header .g-menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:82px;min-height:44px;padding:10px 14px;border:1px solid #909ab0;border-radius:25px;color:#fff9ec;background:none;font:600 14px/1.4 system-ui,sans-serif;margin-left:auto;cursor:pointer}
 #afp-guest .afp-site-header #afp-navigation{display:none;flex-basis:100%;width:100%;order:5;margin:18px 0 0;padding:10px 0 0;gap:8px;align-items:stretch;justify-content:start;flex-direction:column;border-top:1px solid #65718c}
 #afp-guest .afp-site-header[data-menu-open=true] #afp-navigation{display:flex}
 #afp-guest .afp-site-header .g-nav-link{justify-content:flex-start;align-self:stretch;font-size:18px;min-height:48px;padding:12px 0}
 #afp-guest .afp-site-header .g-nav-link:after{right:auto;width:40px;bottom:3px}
 #afp-guest .afp-site-header .g-nav-link[aria-current=page]:after{height:4px;bottom:1px;width:60px}
 #afp-guest .afp-site-header .g-theme-toggle{align-self:flex-start;margin:8px 0}
 #afp-guest .afp-site-header .g-button.g-nav-fit{align-self:flex-start;padding:12px 22px;margin:4px 0 8px}
 #afp-guest .afp-site-header .g-nav-count{position:static;margin-left:8px}
}
@media(max-width:767.98px){#afp-guest .afp-site-header{padding:14px 20px}#afp-guest .afp-site-header .g-brand{width:205px;flex-basis:205px}#afp-guest .afp-site-header .g-belong{display:block;order:4;width:100%;margin-top:13px;padding-top:10px;border-top:1px solid #65718c;font-size:12px;color:#fff9ec}}
@media(prefers-reduced-motion:reduce){#afp-guest .afp-site-header *{scroll-behavior:auto}}

@media(max-width:575.98px){#afp-guest .afp-site-header{padding-inline:16px}#afp-guest .afp-site-header .g-brand{width:190px;flex-basis:190px}}

/* Beta feedback remains reachable while scrolling, outside normal header flow. */
#afp-guest .afp-site-header .g-identity{flex:0 0 240px;width:240px;min-width:0}
#afp-guest .afp-site-header .g-identity .g-brand{display:block;width:100%;max-width:none;margin:0}
#afp-guest .afp-site-header .g-beta-pill{position:fixed;right:calc(18px + env(safe-area-inset-right,0px));bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:40;display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin:0;padding:8px 15px;border:1px solid rgba(255,249,236,.24);border-radius:999px;background:#6b3f62;color:#fff9ec;box-shadow:0 2px 9px rgba(15,25,45,.18);font:600 12px/1.4 system-ui,sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer}
#afp-guest .afp-site-header .g-beta-pill:hover{text-decoration:underline;text-underline-offset:3px;box-shadow:0 3px 11px rgba(15,25,45,.23)}
#afp-guest .g-beta-dialog{width:calc(100% - 40px);max-width:550px;max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line,#d6cfc2);border-radius:24px;background:var(--cream,#faf7ef);color:var(--navy,#24335e);font:400 18px/1.55 system-ui,sans-serif;box-sizing:border-box;overflow:auto}
#afp-guest .g-beta-dialog::backdrop{background:rgba(10,20,40,.68)}
#afp-guest .g-beta-dialog-content{padding:28px}
#afp-guest .g-beta-dialog h2{font:800 clamp(32px,5vw,44px)/1.05 'AFP Display',system-ui,sans-serif;clear:both;margin:16px 0 20px}
#afp-guest .g-beta-dialog a{color:inherit;text-underline-offset:4px}
#afp-guest .g-beta-kicker{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin:12px 0;color:inherit}
#afp-guest .g-beta-close{float:right;border:1px solid currentColor;border-radius:20px;padding:8px 14px;font:600 14px/1.3 system-ui,sans-serif;color:inherit;background:transparent;cursor:pointer}
#afp-guest .g-beta-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin:24px 0}
#afp-guest .g-beta-actions .g-beta-primary{background:#6b3f62;color:#fff9ec;padding:10px 18px;border-radius:24px;text-decoration:none;font-weight:700}
#afp-guest .g-beta-small{font-size:14px}
#afp-guest .g-beta-dialog :is(a,button):focus-visible{outline:3px solid currentColor;outline-offset:5px}
#afp-guest[data-theme=dark] .g-beta-dialog{background:#19294d;color:#fff9ec;border-color:#65718c}
@media(min-width:1080px) and (max-width:1199.98px){#afp-guest .afp-site-header .g-identity{width:clamp(168px,17vw,200px);flex-basis:clamp(168px,17vw,200px)}}
@media(min-width:1200px) and (max-width:1399px){#afp-guest .afp-site-header .g-identity{width:210px;flex-basis:210px}}
@media(max-width:1079.98px){#afp-guest .afp-site-header .g-identity{width:210px;flex:0 0 210px;max-width:65%}}
@media(max-width:767.98px){#afp-guest .afp-site-header .g-identity{width:205px;flex-basis:205px}}
@media(max-width:575.98px){#afp-guest .afp-site-header .g-identity{width:190px;flex-basis:190px}#afp-guest .g-beta-dialog-content{padding:22px}}

/* Leave room to reach the last page controls above the persistent feedback link. */
#afp-guest{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
html{scroll-padding-bottom:90px}
#afp-guest :is(input,select,textarea,button,a){scroll-margin-bottom:90px}
@media(max-width:575.98px){#afp-guest .afp-site-header .g-beta-pill{right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(12px + env(safe-area-inset-bottom,0px));min-height:44px;padding:9px 13px}}
