/* V16: single final layout authority for ALL five pages. */
:root{--fb-width:840px;--fb-gutter:10px;--fb-header-height:48px}
html,body{max-width:100%;overflow-x:clip}
/* Same header DOM and same CSS for every route, with no per-design override. */
html body .announcementShell{position:fixed!important;inset:0 0 auto!important;z-index:1000!important;pointer-events:none!important;display:block!important;width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;background:transparent!important}
html body .announcementShell[hidden],html body .announcementBar[hidden]{display:none!important}
html body .announcementShell .announcementBar{position:relative!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:calc(100% - 2 * var(--fb-gutter))!important;max-width:var(--fb-width)!important;height:var(--fb-header-height)!important;min-height:var(--fb-header-height)!important;max-height:var(--fb-header-height)!important;margin:0 auto!important;padding:6px 12px!important;border:0!important;border-radius:0!important;background:var(--accent)!important;box-shadow:none!important;transform:none!important;pointer-events:auto!important}
html body .announcementShell .announcementMessage{display:flex!important;align-items:center!important;gap:7px!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important}
html body .announcementShell .announcementCrown{width:17px!important;height:17px!important;flex:0 0 17px!important;color:white!important}
html body .announcementShell .announcementText{font-size:13px!important;line-height:1.25!important;font-weight:700!important;color:white!important;letter-spacing:0!important;overflow-wrap:anywhere!important}
html body .announcementShell .announcementBar .announcementButton,html body .announcementShell .announcementBar .announcementButton:visited{position:static!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 100px!important;width:100px!important;min-width:100px!important;max-width:100px!important;height:32px!important;min-height:32px!important;max-height:32px!important;margin:0!important;padding:0 7px!important;border:0!important;border-radius:7px!important;background:#f7f7f5!important;color:var(--accent)!important;box-shadow:none!important;transform:none!important;font-family:inherit!important;font-size:12px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important}
html body .announcementShell .announcementBar .announcementButton .goBtnText{display:inline!important;width:auto!important;margin:0!important;padding:0!important;font:inherit!important;line-height:1!important;color:inherit!important;white-space:nowrap!important}
/* The shared header never covers the first table heading. */
html body .page,html[data-design] body .page{box-sizing:border-box!important;width:100%!important;max-width:calc(var(--fb-width) + 2 * var(--fb-gutter))!important;margin:0 auto!important;padding:8px var(--fb-gutter) 24px!important;min-height:0!important}
html.hasAnnouncement body .page,html.hasAnnouncement[data-design] body .page{padding-top:calc(var(--fb-header-height) + 8px)!important}
html body .page .aff-card,html[data-design] body .page .aff-card{box-sizing:border-box!important;width:100%!important;max-width:var(--fb-width)!important;margin:0 auto!important;padding:0!important}
/* The original hybrid design keeps its visual composition but is compact. */
html:not([data-design]) .affSection .sectionRows .hybridList>a.row{min-height:56px!important}
html:not([data-design]) .affSection .sectionRows .hybridList .logoBox{max-height:45px!important}
html:not([data-design]) .affSection .sectionRows .hybridCards>a.row{min-height:145px!important}
/* Independent layout engine for new rows, never inherit the old hybrid grid. */
html[data-design] .page #affTable{gap:7px!important}
html[data-design] .affSection{border-radius:7px!important}
html[data-design] .sectionTop{min-height:35px!important;padding:7px 11px!important}
html[data-design] .sectionRows{padding:5px!important}
html[data-design] .designGrid{gap:5px!important}
html[data-design="2"] .designGrid>a.row,html[data-design="4"] .designGrid>a.row,html[data-design="5"] .designGrid>a.row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)!important;align-items:center!important;justify-items:stretch!important;gap:5px!important;min-height:55px!important;height:auto!important;padding:5px 9px!important;position:relative!important}
html[data-design="2"] .designGrid>a.row>.logoBox,html[data-design="4"] .designGrid>a.row>.logoBox,html[data-design="5"] .designGrid>a.row>.logoBox{grid-column:1!important;grid-row:1!important;justify-self:start!important;width:100%!important;max-width:155px!important;margin:0!important;transform:none!important}
html[data-design="2"] .designGrid>a.row>.desc,html[data-design="4"] .designGrid>a.row>.desc,html[data-design="5"] .designGrid>a.row>.desc{grid-column:2!important;grid-row:1!important;justify-self:center!important;align-self:center!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;transform:none!important;text-align:center!important;align-items:center!important}
html[data-design="2"] .designGrid>a.row>.goBtn,html[data-design="4"] .designGrid>a.row>.goBtn,html[data-design="5"] .designGrid>a.row>.goBtn{grid-column:3!important;grid-row:1!important;justify-self:end!important;align-self:center!important;margin:0!important;transform:none!important;width:88px!important;max-width:100%!important;height:31px!important;min-height:31px!important;max-height:31px!important}
html[data-design="2"] .designGrid>a.row>.goBtn{width:34px!important;max-width:34px!important}
html[data-design] .designGrid .descTop{font-size:14px!important}
html[data-design] .designGrid .descBottom{font-size:11px!important}
html[data-design="3"] .designGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html[data-design="3"] .designGrid>a.row{min-height:130px!important}
html[data-design="5"] .sectionRows{padding:0 7px!important}
html[data-design="5"] .designGrid{gap:0!important}
html[data-design="5"] .designGrid>a.row{min-height:47px!important;padding:3px 5px!important;border:0!important;border-bottom:1px solid var(--separator)!important;border-radius:0!important;background:transparent!important}
html[data-design="5"] .designGrid>a.row>.goBtn{width:77px!important;height:27px!important;min-height:27px!important;max-height:27px!important}
@media(max-width:700px){
:root{--fb-gutter:5px;--fb-header-height:43px}
html body .announcementShell .announcementBar{padding:5px 8px!important;gap:7px!important}
html body .announcementShell .announcementText{font-size:11px!important}
html body .announcementShell .announcementCrown{width:15px!important;height:15px!important;flex-basis:15px!important}
html body .announcementShell .announcementBar .announcementButton,html body .announcementShell .announcementBar .announcementButton:visited{flex-basis:74px!important;width:74px!important;min-width:74px!important;max-width:74px!important;height:28px!important;min-height:28px!important;max-height:28px!important;font-size:10px!important}
html body .page,html[data-design] body .page{padding:5px var(--fb-gutter) 20px!important}
html.hasAnnouncement body .page,html.hasAnnouncement[data-design] body .page{padding-top:calc(var(--fb-header-height) + 5px)!important}
html[data-design] .sectionTop{min-height:31px!important;padding:6px 8px!important}
html[data-design] .sectionRows{padding:4px!important}
html[data-design="2"] .designGrid>a.row,html[data-design="4"] .designGrid>a.row,html[data-design="5"] .designGrid>a.row{min-height:46px!important;padding:4px 5px!important;gap:4px!important}
html[data-design] .designGrid .logoBox{height:33px!important}
html[data-design] .designGrid .descTop{font-size:11px!important}
html[data-design] .designGrid .descBottom{font-size:9px!important}
html[data-design="2"] .designGrid>a.row>.goBtn{width:30px!important;max-width:30px!important;height:29px!important;min-height:29px!important;max-height:29px!important}
html[data-design="4"] .designGrid>a.row>.goBtn,html[data-design="5"] .designGrid>a.row>.goBtn{width:67px!important;height:28px!important;min-height:28px!important;max-height:28px!important}
html[data-design="5"] .designGrid>a.row>.goBtn{width:64px!important;height:26px!important;min-height:26px!important;max-height:26px!important}
html[data-design="3"] .designGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}
html[data-design="3"] .designGrid>a.row{min-height:108px!important}
}

/* V26: override the actual highest-specificity mobile header width rule. */
@media (max-width:700px){html body .announcementShell .announcementBar{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}}
