/* Shared responsive page utilities. */
.main{min-width:0!important}
/* Mobile usability hardening — shared across all seven pages */
@media(max-width:760px){
 html,body{width:100%;max-width:100%;overflow-x:hidden!important}
 body{ -webkit-text-size-adjust:100%; }
 .main{width:100%!important;max-width:100%!important;min-width:0!important;padding-left:10px!important;padding-right:10px!important;}
 .mobile-top{padding-left:64px!important;min-height:62px!important}
 .kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .kpi{min-width:0!important;overflow:hidden!important}
 .kpi-num{font-size:clamp(14px,4.5vw,21px)!important;white-space:normal!important;overflow-wrap:anywhere!important}
 .filters,.filter-grid,.filter-grid.second,.filter-row-two,.form-grid,.edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0!important}
 .field,.control,input,select,textarea,button{max-width:100%!important;min-width:0}
 input,select,textarea{font-size:16px!important}
 .content-grid,.lower-grid,.compare-grid,.detail-grid,.right-stack{grid-template-columns:minmax(0,1fr)!important;display:grid!important;min-width:0!important}
 .panel,.card,.chart-card,.table-panel,.details{min-width:0!important;max-width:100%!important}
 .panel-head{flex-wrap:wrap!important;gap:8px!important}
 .panel-actions,.actions,.filter-actions,.form-buttons{flex-wrap:wrap!important;max-width:100%!important}
 .table-wrap,.table-container,.table-scroll{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
 table{max-width:none!important;width:max-content!important;min-width:100%!important}
 .modal-backdrop,.modal,.edit-modal,.edit-dialog{max-width:100vw!important}
 .modal,.edit-dialog{width:100%!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important}
 .mobile-bottom{padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}
}
@media(max-width:420px){
 .main{padding-left:7px!important;padding-right:7px!important}
 .filters,.filter-grid,.filter-grid.second,.filter-row-two,.form-grid,.edit-grid{grid-template-columns:minmax(0,1fr)!important}
 .field:first-child{grid-column:auto!important}
 .panel-head h2{font-size:14px!important}
 .kpi{padding:9px 7px!important}
 .mobile-bottom a{min-width:0!important;padding-left:3px!important;padding-right:3px!important}
}
/* FOOTBALL ANALYTICS: COLLAPSIBLE SIDEBAR */
@media(min-width:761px){
 html body .app.fa-sidebar-shell{
  display:grid!important;grid-template-columns:74px minmax(0,1fr)!important;gap:18px!important;
  padding:12px 20px 14px 12px!important;max-width:1800px!important;margin:0 auto!important;
  align-items:start!important;transition:none!important
 }
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell{grid-template-columns:246px minmax(0,1fr)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar{
  position:sticky!important;top:12px!important;box-sizing:border-box!important;width:74px!important;
  min-width:74px!important;max-width:74px!important;height:calc(100vh - 24px)!important;
  min-height:calc(100vh - 24px)!important;max-height:calc(100vh - 24px)!important;
  overflow:hidden!important;background:linear-gradient(180deg,var(--fa9v5-hero1,#0a172b) 0%,var(--fa9v5-hero1,#071326) 100%)!important;
  border:1px solid var(--fa9v5-accent,#20334b)!important;border-radius:17px!important;color:var(--fa9v5-muted,#e8eef7)!important;
  display:flex!important;flex-direction:column!important;padding:9px 7px!important;margin:0!important;
  box-shadow:0 14px 36px color-mix(in srgb,var(--fa9v5-accent,#06152a) 12.55%,transparent)!important;z-index:30!important;
  transition:none!important
 }
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar{
  width:246px!important;min-width:246px!important;max-width:246px!important;
  overflow-x:hidden!important;overflow-y:auto!important;box-shadow:0 18px 42px color-mix(in srgb,var(--fa9v5-accent,#06152a) 18.04%,transparent)!important
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-head{flex:0 0 auto!important;padding:0 0 9px!important;border-bottom:1px solid var(--fa9v5-accent,#1d3048)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-brand-toggle{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
  width:100%!important;min-height:48px!important;padding:4px!important;border:0!important;
  border-radius:11px!important;background:transparent!important;color:#f5f8fc!important;
  text-align:left!important;cursor:pointer!important
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-brand-toggle:hover{background:var(--fa9v5-hero1,#12233a)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .ball{
  display:grid!important;place-items:center!important;width:42px!important;height:42px!important;flex:0 0 42px!important;
  border-radius:13px!important;background:linear-gradient(145deg,var(--fa9v5-positiveTint,#d0f68d),#a9e653)!important;
  color:#102013!important;font-size:23px!important;line-height:1!important;box-shadow:0 5px 15px #a9e65322!important
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .brand-copy,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-chevron,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav-group-title,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav-link-label,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-status div,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-status .status-on,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings-label,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings-arrow,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .profile-copy,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .profile-more{display:none!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .brand-copy{min-width:0!important;flex:1 1 auto!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .brand-copy strong{display:block!important;color:#f5f8fc!important;font-size:13px!important;font-weight:800!important;line-height:1.25!important;letter-spacing:-.15px!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .brand-copy small{display:block!important;margin-top:3px!important;color:var(--fa9v5-muted,#8ea1ba)!important;font-size:9px!important;font-weight:750!important;letter-spacing:1px!important;text-transform:uppercase!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-chevron{color:var(--fa9v5-muted,#8598b1)!important;font-size:20px!important;line-height:1!important}
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-brand-toggle{justify-content:flex-start!important;padding:5px 7px!important}
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .brand-copy,
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-chevron,
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav-group-title,
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav-link-label,
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-status div,
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-status .status-on,
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings-label,
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings-arrow,
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .profile-copy,
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .profile-more{display:flex!important}
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .brand-copy{flex-direction:column!important}
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-chevron{margin-left:auto!important;transform:rotate(180deg)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav{
  order:1!important;display:flex!important;flex:1 1 auto!important;flex-direction:column!important;
  align-items:stretch!important;gap:3px!important;width:100%!important;min-height:0!important;
  padding:10px 0!important;margin:0!important;overflow-x:hidden!important;overflow-y:auto!important;
  scrollbar-width:thin!important;scrollbar-color:var(--fa9v5-muted,#34465f) transparent!important
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav-group{
  display:flex!important;flex:0 0 auto!important;flex-direction:column!important;gap:3px!important;
  padding:0 0 7px!important;margin:0 0 5px!important;border-bottom:1px solid var(--fa9v5-accent,#1c2c42)!important
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav-group:last-child{border-bottom:0!important;margin-bottom:0!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav-group-title{
  padding:9px 10px 6px!important;color:var(--fa9v5-muted,#788da7)!important;font-size:9px!important;font-weight:850!important;
  letter-spacing:1.15px!important;line-height:1.2!important;text-transform:uppercase!important;white-space:nowrap!important
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a{
  display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;
  gap:12px!important;width:100%!important;min-width:0!important;min-height:46px!important;
  margin:0!important;padding:8px!important;border:1px solid transparent!important;border-radius:11px!important;
  background:transparent!important;color:var(--fa9v5-muted,#acbbcf)!important;text-decoration:none!important;font-size:12px!important;
  font-weight:600!important;line-height:1.25!important;white-space:nowrap!important;box-shadow:none!important;
  transition:none!important
 }
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a{justify-content:flex-start!important;padding:9px 11px!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a:hover,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a:focus-visible{
  background:var(--fa9v5-hero1,#14253a)!important;border-color:var(--fa9v5-accent,#2b4059)!important;color:#fff!important;outline:none!important
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a.active{
  background:var(--fa9v5-hero1,#192a31)!important;border-color:var(--fa9v5-accent,#314a47)!important;color:#f5f8f6!important;
  font-weight:750!important;box-shadow:inset 3px 0 0 #b9f36a!important
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a .ico{
  display:inline-flex!important;flex:0 0 22px!important;align-items:center!important;justify-content:center!important;
  width:22px!important;height:22px!important;color:var(--fa9v5-muted,#8da2ba)!important
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a.active .ico{color:#b9f36a!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a .ico svg{
  display:block!important;width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;
  stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important
 }
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a .ico{flex-basis:20px!important;width:20px!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-footer{
  order:2!important;display:flex!important;flex:0 0 auto!important;flex-direction:column!important;gap:8px!important;
  margin-top:auto!important;padding-top:9px!important;border-top:1px solid var(--fa9v5-accent,#1d3048)!important
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-status{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
  min-height:46px!important;margin:0!important;padding:8px!important;border:1px solid var(--fa9v5-accent,#24374e)!important;
  border-radius:11px!important;background:var(--fa9v5-hero1,#0e1e32)!important
 }
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-status{justify-content:flex-start!important;padding:9px 10px!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-status .status-light{
  width:9px!important;height:9px!important;flex:0 0 9px!important;border-radius:50%!important;
  background:#b9f36a!important;box-shadow:0 0 0 4px #b9f36a18!important
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-status div{flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;gap:3px!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-status strong{color:var(--fa9v5-muted,#e9f0f6)!important;font-size:10px!important;font-weight:750!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-status small{color:var(--fa9v5-muted,#8195ad)!important;font-size:9px!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-status .status-on{
  flex:0 0 auto!important;padding:4px 6px!important;border-radius:6px!important;background:#b9f36a!important;
  color:#1a2a16!important;font-size:8px!important;font-weight:900!important;letter-spacing:.5px!important
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
  width:100%!important;min-height:44px!important;margin:0!important;padding:8px!important;
  border:1px solid transparent!important;border-radius:11px!important;background:transparent!important;
  color:var(--fa9v5-muted,#aebed0)!important;font-size:12px!important;font-weight:650!important;text-align:left!important;cursor:pointer!important
 }
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings{justify-content:flex-start!important;padding:9px 11px!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings:hover,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings:focus-visible{background:var(--fa9v5-hero1,#14253a)!important;border-color:var(--fa9v5-accent,#2b4059)!important;color:#fff!important;outline:none!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings-ico{display:grid!important;place-items:center!important;flex:0 0 22px!important;width:22px!important;height:22px!important;color:var(--fa9v5-muted,#91a4ba)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings-ico svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings-label{flex:1 1 auto!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings-arrow{color:var(--fa9v5-muted,#7489a2)!important;font-size:19px!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-profile{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
  min-width:0!important;min-height:48px!important;padding:5px!important;border:1px solid var(--fa9v5-accent,#26394f)!important;
  border-radius:12px!important;background:var(--fa9v5-hero1,#0e1d30)!important
 }
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-profile{justify-content:flex-start!important;padding:5px 8px!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .profile-avatar{
  display:grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;height:34px!important;
  border:2px solid #d4f3a2!important;border-radius:50%!important;background:var(--fa9v5-hero1,#29413c)!important;
  color:#e5f8cf!important;font-size:10px!important;font-weight:850!important
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .profile-copy{flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;gap:3px!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .profile-copy strong{overflow:hidden!important;color:var(--fa9v5-muted,#e9f0f6)!important;font-size:10px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .profile-copy small{color:var(--fa9v5-muted,#8296ad)!important;font-size:9px!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .profile-more{color:var(--fa9v5-muted,#8296ad)!important;font-size:11px!important;letter-spacing:1px!important}
}
@media(min-width:761px) and (max-width:1000px){
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell{grid-template-columns:226px minmax(0,1fr)!important}
 html:is([data-fa-nav-pinned="true"],[data-fa-nav-expanded="true"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar{width:226px!important;min-width:226px!important;max-width:226px!important}
}
/* Mobile drawer: desktop identity and navigation in a touch-first layout. */
@media(max-width:760px){
 html body .app.fa-sidebar-shell{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0 0 calc(76px + env(safe-area-inset-bottom))!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar{display:none!important}
 html body.fa-mobile-nav-open{overflow:hidden!important;touch-action:auto!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;position:fixed!important;
  inset:max(10px,env(safe-area-inset-top)) auto max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;
  width:min(304px,calc(100vw - 20px))!important;min-width:0!important;max-width:none!important;height:auto!important;
  min-height:0!important;max-height:none!important;margin:0!important;padding:12px!important;overflow:hidden!important;
  z-index:10001!important;border:1px solid var(--fa9v5-accent,#263b55)!important;border-radius:18px!important;
  background:linear-gradient(180deg,var(--fa9v5-hero1,#0a172b) 0%,var(--fa9v5-hero1,#071326) 100%)!important;color:var(--fa9v5-muted,#e9f0f6)!important;
  box-shadow:0 22px 60px color-mix(in srgb,var(--fa9v5-accent,#020817) 72.16%,transparent)!important
 }
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-head{display:flex!important;order:0!important;flex:0 0 auto!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:62px!important;margin:0!important;padding:2px 2px 12px!important;border-bottom:1px solid var(--fa9v5-accent,#263b55)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-brand-toggle{display:flex!important;flex:1 1 auto!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;width:auto!important;min-width:0!important;min-height:48px!important;padding:2px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:#f5f8fc!important;text-align:left!important;pointer-events:none!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .ball{display:grid!important;place-items:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;border-radius:14px!important;background:linear-gradient(145deg,var(--fa9v5-positiveTint,#d0f68d),#a9e653)!important;color:#102013!important;font-size:24px!important;line-height:1!important;box-shadow:0 5px 16px #a9e65322!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .brand-copy{display:flex!important;flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;gap:3px!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .brand-copy strong{overflow:hidden!important;color:#f5f8fc!important;font-size:14px!important;font-weight:800!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .brand-copy small{color:var(--fa9v5-muted,#8fa5bf)!important;font-size:10px!important;letter-spacing:.2px!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-chevron{display:none!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-mobile-close{display:grid!important;flex:0 0 44px!important;place-items:center!important;width:44px!important;height:44px!important;padding:0!important;border:1px solid var(--fa9v5-accent,#2c435f)!important;border-radius:13px!important;background:var(--fa9v5-hero1,#12253c)!important;color:var(--fa9v5-muted,#eaf1fa)!important;font-size:24px!important;line-height:1!important;cursor:pointer!important;touch-action:manipulation!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-mobile-close:hover,
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-mobile-close:focus-visible{border-color:var(--fa9v5-accent,#83baff)!important;background:var(--fa9v5-hero2,#0867f9)!important;color:#fff!important;outline:3px solid color-mix(in srgb,var(--fa9v5-line,#9cc9ff) 33.33%,transparent)!important;outline-offset:2px!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav{display:flex!important;order:1!important;flex:1 1 auto!important;min-height:0!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;width:100%!important;margin:0!important;padding:14px 2px!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;touch-action:pan-y!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav-group{display:grid!important;flex:0 0 auto!important;gap:5px!important;width:100%!important;margin:0!important;padding:0!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav-group-title{display:block!important;margin:0!important;padding:0 11px 4px!important;color:var(--fa9v5-muted,#849bb7)!important;font-size:10px!important;font-weight:800!important;letter-spacing:1.1px!important;line-height:1.3!important;text-transform:uppercase!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav a{position:relative!important;display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:12px!important;width:100%!important;min-width:0!important;min-height:48px!important;margin:0!important;padding:0 12px!important;border:1px solid transparent!important;border-radius:12px!important;background:transparent!important;color:var(--fa9v5-muted,#d7e2f1)!important;font-size:13px!important;font-weight:650!important;line-height:1.3!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important;touch-action:manipulation!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav a:hover,
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav a:focus-visible{border-color:var(--fa9v5-accent,#2b4564)!important;background:var(--fa9v5-hero1,#122840)!important;color:#fff!important;outline:3px solid color-mix(in srgb,var(--fa9v5-accent,#5aa3ff) 33.33%,transparent)!important;outline-offset:1px!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav a.active{border-color:var(--fa9v5-accent,#1674fa)!important;background:linear-gradient(100deg,var(--fa9v5-hero2,#0878ff),var(--fa9v5-hero2,#0860ed))!important;color:#fff!important;font-weight:750!important;box-shadow:0 8px 20px color-mix(in srgb,var(--fa9v5-accent,#005bdb) 21.96%,transparent)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav a.active:before{position:absolute!important;top:50%!important;left:0!important;width:3px!important;height:22px!important;border-radius:0 4px 4px 0!important;background:#b9f36a!important;content:""!important;transform:translateY(-50%)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav a .ico{display:inline-flex!important;flex:0 0 22px!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;color:var(--fa9v5-muted,#a9bad0)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav a.active .ico{color:#fff!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav a .ico svg{display:block!important;width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav-link-label{display:flex!important;min-width:0!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-footer{display:flex!important;order:2!important;flex:0 0 auto!important;flex-direction:column!important;gap:9px!important;margin:0!important;padding:12px 2px 2px!important;border-top:1px solid var(--fa9v5-accent,#263b55)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-status{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;min-height:50px!important;margin:0!important;padding:9px 10px!important;border:1px solid var(--fa9v5-accent,#263d56)!important;border-radius:12px!important;background:var(--fa9v5-hero1,#0e2035)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-status .status-light{flex:0 0 9px!important;width:9px!important;height:9px!important;border-radius:50%!important;background:#b9f36a!important;box-shadow:0 0 0 4px #b9f36a18!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-status div{display:flex!important;flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;gap:3px!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-status strong{color:var(--fa9v5-muted,#e9f0f6)!important;font-size:10px!important;font-weight:750!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-status small{color:var(--fa9v5-muted,#8195ad)!important;font-size:9px!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-status .status-on{display:block!important;flex:0 0 auto!important;padding:4px 7px!important;border-radius:7px!important;background:#b9f36a!important;color:#1a2a16!important;font-size:8px!important;font-weight:900!important;letter-spacing:.5px!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .settings{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:46px!important;margin:0!important;padding:8px 11px!important;border:1px solid transparent!important;border-radius:12px!important;background:transparent!important;color:var(--fa9v5-muted,#c5d2e1)!important;font-size:12px!important;font-weight:700!important;text-align:left!important;cursor:pointer!important;touch-action:manipulation!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .settings:hover,
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .settings:focus-visible{border-color:var(--fa9v5-accent,#2b4059)!important;background:var(--fa9v5-hero1,#14253a)!important;color:#fff!important;outline:3px solid color-mix(in srgb,var(--fa9v5-accent,#5aa3ff) 33.33%,transparent)!important;outline-offset:1px!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .settings-ico{display:grid!important;flex:0 0 22px!important;place-items:center!important;width:22px!important;height:22px!important;color:var(--fa9v5-muted,#a8bad1)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .settings-ico svg{width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .settings-label{display:flex!important;flex:1 1 auto!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .settings-arrow{color:var(--fa9v5-muted,#8195ad)!important;font-size:20px!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-profile{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;min-width:0!important;min-height:54px!important;padding:6px 9px!important;border:1px solid var(--fa9v5-accent,#263d56)!important;border-radius:13px!important;background:var(--fa9v5-hero1,#0e1d30)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .profile-avatar{display:grid!important;flex:0 0 36px!important;place-items:center!important;width:36px!important;height:36px!important;border:2px solid #d4f3a2!important;border-radius:50%!important;background:var(--fa9v5-hero1,#29413c)!important;color:#e5f8cf!important;font-size:10px!important;font-weight:850!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .profile-copy{display:flex!important;flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;gap:3px!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .profile-copy strong{overflow:hidden!important;color:var(--fa9v5-muted,#e9f0f6)!important;font-size:11px!important;font-weight:750!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .profile-copy small{color:var(--fa9v5-muted,#8296ad)!important;font-size:9px!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .profile-more{display:block!important;color:var(--fa9v5-muted,#8296ad)!important;font-size:11px!important;letter-spacing:1px!important}
 html body .mobile-nav-toggle{display:flex!important;position:fixed!important;inset:max(12px,env(safe-area-inset-top)) auto auto max(12px,env(safe-area-inset-left))!important;z-index:10002!important;width:48px!important;height:48px!important;align-items:center!important;justify-content:center!important;border:1px solid var(--fa9v5-accent,#29415d)!important;border-radius:14px!important;background:var(--fa9v5-hero1,#0a172b)!important;color:var(--fa9v5-muted,#eef4fc)!important;font-size:23px!important;line-height:1!important;box-shadow:0 9px 24px color-mix(in srgb,var(--fa9v5-accent,#071426) 33.33%,transparent)!important;cursor:pointer!important;touch-action:manipulation!important}
 html body .mobile-nav-toggle:focus-visible{outline:3px solid var(--fa9v5-accent,#91c4ff)!important;outline-offset:3px!important}
 html body.fa-mobile-nav-open .mobile-nav-toggle{display:none!important}
 html body .mobile-nav-backdrop{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
 html body.fa-mobile-nav-open .mobile-nav-backdrop{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:fixed!important;inset:0!important;background:color-mix(in srgb,var(--fa9v5-hero1,#020817) 73.33%,transparent)!important;backdrop-filter:blur(3px)!important;z-index:10000!important}
}
@media(min-width:761px){html body .mobile-nav-toggle,html body .mobile-nav-backdrop{display:none!important}}
@media(prefers-reduced-motion:reduce){
 html body .app.fa-sidebar-shell,html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar{transition:none!important}
}
/* Keep the close control exclusive to the open mobile drawer. */
html body .app aside.sidebar.fa-shared-sidebar .sidebar-head .sidebar-mobile-close{display:none!important}
@media(max-width:760px){
 html body.fa-mobile-nav-open .app aside.sidebar.fa-shared-sidebar .sidebar-head .sidebar-mobile-close{display:grid!important}
}



/* Explicit section order also overrides old per-page sidebar declarations. */
#footballAnalyticsSidebar .sidebar-head{order:0!important}
#footballAnalyticsSidebar .nav{order:1!important}
#footballAnalyticsSidebar .sidebar-footer{order:2!important}
#footballAnalyticsSidebar .sidebar-status{order:0!important}
#footballAnalyticsSidebar .sidebar-footer .settings{order:1!important}
#footballAnalyticsSidebar .sidebar-profile{order:2!important}
#footballAnalyticsSidebar .settings:after{content:none!important}
#footballAnalyticsSidebar .sidebar-mobile-close{display:none!important}
#footballAnalyticsSidebar button:disabled,#mobileMenuBtn:disabled{opacity:1!important}
#footballAnalyticsSidebar .sidebar-brand-toggle:focus-visible,
#footballAnalyticsSidebar .nav a:focus-visible,
#footballAnalyticsSidebar .settings:focus-visible{outline:2px solid var(--fa9v5-accent,#91c4ff)!important;outline-offset:-3px!important}
body.fa-mobile-nav-open,body.fa-settings-open{overflow:hidden!important}
@media(min-width:761px){
  html body .mobile-nav-toggle,html body .mobile-nav-backdrop{display:none!important}
}
@media(max-width:760px){
  html body.fa-mobile-nav-open #footballAnalyticsSidebar{
    align-self:stretch!important;
    height:calc(100dvh - max(10px,env(safe-area-inset-top)) - max(10px,env(safe-area-inset-bottom)))!important;
    max-height:calc(100dvh - max(10px,env(safe-area-inset-top)) - max(10px,env(safe-area-inset-bottom)))!important;
  }
  html body .strategy-match-main{padding-top:68px!important}
  html body.fa-mobile-nav-open #footballAnalyticsSidebar .sidebar-mobile-close{display:grid!important}
  html body.fa-mobile-nav-open .mobile-bottom,
  html body.fa-mobile-nav-open .mobile-bottom-nav,
  html body.fa-mobile-nav-open .bottom-nav{visibility:hidden!important}
}
@media(prefers-reduced-motion:no-preference) and (min-width:761px){
  html.fa-nav-ready body .app.fa-sidebar-shell{transition:grid-template-columns .18s ease!important}
  html.fa-nav-ready body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar{transition:width .18s ease,min-width .18s ease,max-width .18s ease!important}
}
/* Settings uses the browser's modal focus management and background isolation. */
#sharedSettingsModal{position:fixed;inset:0;width:min(520px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow-y:auto;background:var(--fa9v5-surface,#fff);color:var(--fa9v5-muted,#102448);border:1px solid var(--fa9v5-line,#dbe5f4);border-radius:14px;box-shadow:0 24px 70px #0004;font:14px/1.45 system-ui,sans-serif}
#sharedSettingsModal:not([open]){display:none!important}
#sharedSettingsModal[open]{display:block!important}
#sharedSettingsModal::backdrop{background:color-mix(in srgb,var(--fa9v5-hero1,#020c1e) 60.0%,transparent);backdrop-filter:blur(3px)}
#sharedSettingsModal header{display:flex;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid var(--fa9v5-line,#e8eef7)}
#sharedSettingsModal header small{font-size:10px;letter-spacing:1px;font-weight:800;color:var(--fa9v5-muted,#6d82a4)}
#sharedSettingsModal h2{font-size:23px;margin:5px 0}
#sharedSettingsModal p{margin:0;color:var(--fa9v5-muted,#72829c);font-size:12px}
#sharedSettingsModal button{font:inherit;cursor:pointer}
#sharedSettingsModal .shared-settings-close{flex:0 0 44px;border:0;border-radius:8px;width:44px;height:44px;font-size:22px;background:var(--fa9v5-soft,#edf3fc);color:var(--fa9v5-muted,#324b70)}
#sharedSettingsModal .shared-settings-body{padding:18px 22px;display:grid;gap:13px}
#sharedSettingsModal label{display:grid;gap:6px;font-size:12px;font-weight:750;color:var(--fa9v5-muted,#344967)}
#sharedSettingsModal select{width:100%;height:40px;border:1px solid var(--fa9v5-line,#d8e2f0);border-radius:7px;background:var(--fa9v5-surface,#fff);padding:0 10px;color:var(--fa9v5-muted,#2c4264)}
#sharedSettingsModal .shared-settings-note{background:var(--fa9v5-soft,#f4f7fc);padding:10px;border-radius:8px}
#sharedSettingsModal footer{display:flex;align-items:center;gap:10px;padding:14px 22px;border-top:1px solid var(--fa9v5-line,#e8eef7)}
#sharedSettingsModal footer span{flex:1}
#sharedSettingsModal .shared-settings-reset{min-height:44px;border:0;background:transparent;color:var(--fa9v5-muted,#536b91)}
#sharedSettingsModal .shared-settings-save{min-height:44px;border:0;background:var(--fa9v5-hero2,#0867f9);color:#fff;padding:10px 15px;border-radius:7px;font-weight:750}
#sharedSettingsModal :focus-visible{outline:3px solid var(--fa9v5-accent,#538bea);outline-offset:2px}
@media(max-width:560px){#sharedSettingsModal header,#sharedSettingsModal .shared-settings-body,#sharedSettingsModal footer{padding-left:15px;padding-right:15px}}

/* Shared result and settlement palette */
:root{
  --fa-home-win:#087A50;--fa-home-win-bg:var(--fa9v5-positiveTint,#E4F5EB);--fa-home-win-border:#BDE6D0;
  --fa-draw:var(--fa9v5-muted,#3D6594);--fa-draw-bg:var(--fa9v5-soft,#EAF1FA);--fa-draw-border:var(--fa9v5-line,#C9D9EE);
  --fa-away-win:#B4233B;--fa-away-win-bg:var(--fa9v5-negativeTint,#FDEBED);--fa-away-win-border:#F4C8D0;
  --fa-upcoming:#986200;--fa-upcoming-bg:var(--fa9v5-warnTint,#FFF3D9);--fa-upcoming-border:#F0D99B;
  --fa-win:var(--fa-home-win);--fa-win-bg:var(--fa-home-win-bg);--fa-win-border:var(--fa-home-win-border);
  --fa-loss:var(--fa-away-win);--fa-loss-bg:var(--fa-away-win-bg);--fa-loss-border:var(--fa-away-win-border);
}
.result-label.home,.outcome-home{background:var(--fa-home-win-bg)!important;color:var(--fa-home-win)!important;border:1px solid var(--fa-home-win-border)!important}
.result-label.draw,.outcome-draw{background:var(--fa-draw-bg)!important;color:var(--fa-draw)!important;border:1px solid var(--fa-draw-border)!important}
.result-label.away,.outcome-away{background:var(--fa-away-win-bg)!important;color:var(--fa-away-win)!important;border:1px solid var(--fa-away-win-border)!important}
.result-label.upcoming,.pill.upcoming,.tag.upcoming,.strategy-result-badge.upcoming,.outcome-upcoming{background:var(--fa-upcoming-bg)!important;color:var(--fa-upcoming)!important;border:1px solid var(--fa-upcoming-border)!important}
.result-label.win,.pill.green,.tag.win,.strategy-result-badge.win,.em-settlement-win,.outcome-win{background:var(--fa-win-bg)!important;color:var(--fa-win)!important;border-color:var(--fa-win-border)!important}
.result-label.loss,.pill.red,.tag.loss,.strategy-result-badge.loss,.em-settlement-loss,.outcome-loss{background:var(--fa-loss-bg)!important;color:var(--fa-loss)!important;border-color:var(--fa-loss-border)!important}
.matches-modern .matches-kpi-panel .kpi-home .kpi-icon{background:var(--fa-home-win-bg)!important;color:var(--fa-home-win)!important}
.matches-modern .matches-kpi-panel .kpi-draw .kpi-icon{background:var(--fa-draw-bg)!important;color:var(--fa-draw)!important}
.matches-modern .matches-kpi-panel .kpi-away .kpi-icon{background:var(--fa-away-win-bg)!important;color:var(--fa-away-win)!important}
.matches-modern .matches-kpi-panel .kpi-home .kpi-track-fill{background:var(--fa-home-win)!important}
.matches-modern .matches-kpi-panel .kpi-draw .kpi-track-fill{background:var(--fa-draw)!important}
.matches-modern .matches-kpi-panel .kpi-away .kpi-track-fill{background:var(--fa-away-win)!important}
.matches-modern .matches-kpi-panel .kpi-home .kpi-track-label strong{color:var(--fa-home-win)!important}
.matches-modern .matches-kpi-panel .kpi-draw .kpi-track-label strong{color:var(--fa-draw)!important}
.matches-modern .matches-kpi-panel .kpi-away .kpi-track-label strong{color:var(--fa-away-win)!important}
#wins,#kpiWins,#matchKpiWins,#kWins{color:var(--fa-win)!important}
#draws{color:var(--fa-draw)!important}
#losses,#kpiLosses,#matchKpiLosses,#kLosses{color:var(--fa-loss)!important}
/* Analytics registry pills need to outrank its scoped !important base pill rule. */
#analytics .pill.outcome-home{background:var(--fa-home-win-bg)!important;color:var(--fa-home-win)!important;border:1px solid var(--fa-home-win-border)!important}
#analytics .pill.outcome-draw{background:var(--fa-draw-bg)!important;color:var(--fa-draw)!important;border:1px solid var(--fa-draw-border)!important}
#analytics .pill.outcome-away{background:var(--fa-away-win-bg)!important;color:var(--fa-away-win)!important;border:1px solid var(--fa-away-win-border)!important}
#analytics .pill.upcoming{background:var(--fa-upcoming-bg)!important;color:var(--fa-upcoming)!important;border:1px solid var(--fa-upcoming-border)!important}
#analytics .pill.green{background:var(--fa-win-bg)!important;color:var(--fa-win)!important;border:1px solid var(--fa-win-border)!important}
#analytics .pill.red{background:var(--fa-loss-bg)!important;color:var(--fa-loss)!important;border:1px solid var(--fa-loss-border)!important}
#analytics .support-wins .analytics-support-value{color:var(--fa-win)!important}
#analytics .support-losses .analytics-support-value{color:var(--fa-loss)!important}

/* BLUE NAVIGATION THEME — APPROVED 2026-11-08
   Shared by all seven pages. Color/decoration only; no navigation JS or layout changes. */
@media (min-width:761px) {
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar {
  background:radial-gradient(circle at 108% -8%,color-mix(in srgb,var(--fa9v5-accentTint,rgb(42,140,255)) 30.0%,transparent),transparent 42%),linear-gradient(172deg,var(--fa9v5-hero1,#0B336B) 0%,var(--fa9v5-hero1,#09284F) 39%,var(--fa9v5-hero1,#061A36) 100%)!important;
  border-color:var(--fa9v5-accent,#23568D)!important;box-shadow:0 18px 42px color-mix(in srgb,var(--fa9v5-accent,#092D54) 21.18%,transparent)!important;
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-head,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-footer {border-color:color-mix(in srgb,var(--fa9v5-accent,#4275AC) 43.92%,transparent)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .ball {
  background:linear-gradient(140deg,var(--fa9v5-accentTint,#2E98FF),var(--fa9v5-hero1,#0A54B3))!important;color:#FFF!important;box-shadow:0 5px 16px color-mix(in srgb,var(--fa9v5-accent,#006AFF) 32.16%,transparent)!important;
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-brand-toggle:hover,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings:hover {background:var(--fa9v5-hero1,#144A83)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .brand-copy small,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav-group-title {color:var(--fa9v5-accent,#83BCF3)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-chevron,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings-arrow {color:var(--fa9v5-muted,#B0D2F5)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav-group {border-bottom-color:color-mix(in srgb,var(--fa9v5-accent,#4478B2) 20.0%,transparent)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a {color:var(--fa9v5-muted,#C5D8EF)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a .ico {color:var(--fa9v5-accent,#A3C6ED)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a:hover,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a:focus-visible {
  background:var(--fa9v5-hero1,#154981)!important;border-color:var(--fa9v5-accent,#337BC0)!important;color:#FFF!important;
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a.active {
  background:linear-gradient(107deg,var(--fa9v5-hero2,#1888FB) 0%,var(--fa9v5-hero2,#0A62D9) 100%)!important;
  border-color:color-mix(in srgb,var(--fa9v5-accent,#4AABFF) 53.33%,transparent)!important;color:#FFF!important;
  box-shadow:0 7px 18px color-mix(in srgb,var(--fa9v5-accent,#0067F4) 25.1%,transparent)!important;
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a.active .ico {color:#FFF!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a.active:before {
  content:""!important;position:absolute!important;left:0!important;top:50%!important;
  width:4px!important;height:24px!important;border-radius:0 4px 4px 0!important;
  background:var(--fa9v5-soft,#C8ECFF)!important;transform:translateY(-50%)!important;
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-status {
  background:color-mix(in srgb,var(--fa9v5-hero1,#124275) 69.02%,transparent)!important;border-color:color-mix(in srgb,var(--fa9v5-accent,#3878BA) 53.33%,transparent)!important;
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-status small,
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .profile-copy small {color:var(--fa9v5-muted,#9FBDE1)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings {color:var(--fa9v5-muted,#D5E7FA)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .settings-ico {color:var(--fa9v5-muted,#A7C5E9)!important}
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-profile {
  background:var(--fa9v5-hero1,#113964)!important;border-color:var(--fa9v5-accent,#2B659C)!important;
 }
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .profile-avatar {
  background:var(--fa9v5-hero1,#185AA6)!important;border-color:var(--fa9v5-line,#96CDFF)!important;color:#FFF!important;
 }
 /* Green is reserved for the meaningful lifecycle ON indicator. */
}
@media (max-width:760px) {
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar {
  background:radial-gradient(circle at 108% -8%,color-mix(in srgb,var(--fa9v5-accentTint,rgb(42,140,255)) 28.0%,transparent),transparent 42%),linear-gradient(172deg,var(--fa9v5-hero1,#0B336B),var(--fa9v5-hero1,#09284F) 42%,var(--fa9v5-hero1,#061A36))!important;
  border-color:var(--fa9v5-accent,#23568D)!important;
 }
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-head,
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-footer {border-color:color-mix(in srgb,var(--fa9v5-accent,#4275AC) 43.92%,transparent)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .ball {background:linear-gradient(140deg,var(--fa9v5-accentTint,#2E98FF),var(--fa9v5-hero1,#0A54B3))!important;color:#FFF!important;box-shadow:0 5px 16px color-mix(in srgb,var(--fa9v5-accent,#006AFF) 32.16%,transparent)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .brand-copy small,
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav-group-title {color:var(--fa9v5-accent,#83BCF3)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav a {color:var(--fa9v5-muted,#C5D8EF)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav a .ico {color:var(--fa9v5-accent,#A3C6ED)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav a.active {background:linear-gradient(107deg,var(--fa9v5-hero2,#1888FB),var(--fa9v5-hero2,#0A62D9))!important;border-color:color-mix(in srgb,var(--fa9v5-accent,#4AABFF) 53.33%,transparent)!important;box-shadow:0 7px 18px color-mix(in srgb,var(--fa9v5-accent,#0067F4) 25.1%,transparent)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav a.active:before {background:var(--fa9v5-soft,#C8ECFF)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-status {background:color-mix(in srgb,var(--fa9v5-hero1,#124275) 69.02%,transparent)!important;border-color:color-mix(in srgb,var(--fa9v5-accent,#3878BA) 53.33%,transparent)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-status small,
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .profile-copy small {color:var(--fa9v5-muted,#9FBDE1)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .settings {color:var(--fa9v5-muted,#D5E7FA)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .settings-ico {color:var(--fa9v5-muted,#A7C5E9)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-profile {background:var(--fa9v5-hero1,#113964)!important;border-color:var(--fa9v5-accent,#2B659C)!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .profile-avatar {background:var(--fa9v5-hero1,#185AA6)!important;border-color:var(--fa9v5-line,#96CDFF)!important;color:#FFF!important}
 html body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-mobile-close {background:var(--fa9v5-hero1,#164F85)!important;border-color:var(--fa9v5-accent,#4688C7)!important;color:#FFF!important}
 html body .mobile-nav-toggle {background:var(--fa9v5-hero1,#0A3269)!important;border-color:var(--fa9v5-accent,#23568D)!important}
}


/* SHARED MOBILE BRAND ALIGNMENT — ALL FOOTBALL ANALYTICS PAGES */
/* Keep the functional shared menu at the left; align identity at the far right.
   This is a presentation-only override shared by every HTML page. */
@media (min-width:761px) {
 html body .mobile-top {display:none!important}
}
@media (max-width:760px) {
 html body div.mobile-top {
   box-sizing:border-box!important;
   display:flex!important;
   align-items:center!important;
   justify-content:flex-end!important;
   gap:8px!important;
   width:100%!important;
   min-height:76px!important;
   max-width:100%!important;
   margin:0 0 14px!important;
   padding:12px max(14px,env(safe-area-inset-right)) 12px max(74px,calc(66px + env(safe-area-inset-left)))!important;
   position:sticky!important;
   top:0!important;
   z-index:1000!important;
   color:#fff!important;
   background:linear-gradient(180deg,var(--fa9v5-hero1,#071832) 0%,var(--fa9v5-hero1,#05142d) 100%)!important;
   border:0!important;
   box-shadow:0 3px 10px color-mix(in srgb,var(--fa9v5-accent,#071832) 11.76%,transparent)!important;
 }
 html body div.mobile-top .mobile-brand {
   box-sizing:border-box!important;
   display:inline-flex!important;
   flex:0 1 auto!important;
   align-items:center!important;
   justify-content:flex-end!important;
   gap:8px!important;
   width:auto!important;
   min-width:0!important;
   max-width:100%!important;
   margin-left:auto!important;
   margin-right:0!important;
   color:#fff!important;
   font-family:Inter,Segoe UI,Arial,sans-serif!important;
   font-weight:800!important;
   font-size:clamp(13px,4.25vw,18px)!important;
   line-height:1.2!important;
   letter-spacing:-.025em!important;
   text-align:right!important;
   white-space:nowrap!important;
 }
 html body div.mobile-top .mobile-brand .ball {
   display:inline-block!important;
   flex:0 0 auto!important;
   margin:0!important;
   font-size:clamp(23px,6.5vw,30px)!important;
   line-height:1!important;
 }
 /* The page name is repeated in each page's own heading; it must not push branding left. */
 html body div.mobile-top > span:not(.mobile-brand) {display:none!important}
 /* The menu control remains fixed and operable, separate from the branding. */
 html body .mobile-nav-toggle {
   top:max(14px,env(safe-area-inset-top))!important;
   left:max(12px,env(safe-area-inset-left))!important;
 }
}


/* FA-PHASE1-20261117: Approved shared sidebar design */
html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar{
 background:radial-gradient(circle at 32% -9%,color-mix(in srgb,var(--fa9v5-accentTint,rgb(42,138,255)) 25.0%,transparent),transparent 39%),linear-gradient(175deg,var(--fa9v5-hero1,#0b3975) 0%,var(--fa9v5-hero1,#082d60) 33%,var(--fa9v5-hero1,#071d3e) 71%,var(--fa9v5-hero1,#061730) 100%)!important;
 border-color:color-mix(in srgb,var(--fa9v5-accent,rgb(121,174,231)) 19.0%,transparent)!important;
 border-radius:19px!important;
 box-shadow:0 16px 40px color-mix(in srgb,var(--fa9v5-accent,rgb(8,30,69)) 18.0%,transparent)!important;
}
html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .ball{
 background:linear-gradient(145deg,var(--fa9v5-accentTint,#389aff),var(--fa9v5-hero1,#1057bf))!important;
 color:white!important;
 box-shadow:0 5px 15px color-mix(in srgb,var(--fa9v5-accent,rgb(16,100,236)) 30.0%,transparent)!important;
}
html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a{
 border-radius:11px!important;
 transition:background-color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a.active{
 background:linear-gradient(135deg,var(--fa9v5-hero2,#278af7),var(--fa9v5-hero2,#075bcf))!important;
 box-shadow:0 6px 17px color-mix(in srgb,var(--fa9v5-accent,rgb(9,93,216)) 31.0%,transparent)!important;
 transform:none!important;
 color:#fff!important;
}
html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a:hover:not(.active){
 background:color-mix(in srgb,var(--fa9v5-accentTint,rgb(58,151,255)) 18.0%,transparent)!important;
 transform:translateY(-1px);
}
html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a:focus-visible,
html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar button:focus-visible{
 outline:2px solid var(--fa9v5-line,#a6d5ff)!important;
 outline-offset:2px!important;
}
@media(prefers-reduced-motion:reduce){
 html body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a{
  transition:none!important;
  transform:none!important;
 }
}
/* END FA-PHASE1-20261117 */



/* FA PHASE 9 - Theme palette generated from approved 12-theme preview. */
html[data-fa-theme="ocean"]{--fa9-bg:#eef4fc;--fa9-surface:#fff;--fa9-soft:#f6faff;--fa9-text:#112b51;--fa9-muted:#5f769b;--fa9-line:#d6e4f7;--fa9-nav:#071f46;--fa9-nav2:#0d3f7f;--fa9-hero1:#1350a4;--fa9-hero2:#1972c5;--fa9-button:#0866dc;--fa9-buttonText:#fff;--fa9-accent:#1164ce;--fa9-positive:#07814f;--fa9-negative:#ba2646;--fa9-warn:#9a6100;--fa9-purple:#702bd3;--fa9-sky:#d8e9ff;--fa9-successbg:#eaf9ef;--fa9-dangerbg:#fef0f2;--fa9-purplebg:#f3edff;--fa9-shadow:0 14px 42px #143b6820}
html[data-fa-theme="midnight"]{--fa9-bg:#0b1428;--fa9-surface:#15243c;--fa9-soft:#1d3050;--fa9-text:#eaf2ff;--fa9-muted:#aabddd;--fa9-line:#344b6b;--fa9-nav:#070e1d;--fa9-nav2:#152e57;--fa9-hero1:#153567;--fa9-hero2:#3267b8;--fa9-button:#4a9aff;--fa9-buttonText:#04162e;--fa9-accent:#86b8ff;--fa9-positive:#66dca1;--fa9-negative:#ff8292;--fa9-warn:#ffca6f;--fa9-purple:#c1a1ff;--fa9-sky:#16375d;--fa9-successbg:#16392f;--fa9-dangerbg:#432333;--fa9-purplebg:#36264e;--fa9-shadow:0 14px 42px #0006;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative)}
html[data-fa-theme="emerald"]{--fa9-bg:#eef9f5;--fa9-surface:#fff;--fa9-soft:#f5fcf8;--fa9-text:#123a32;--fa9-muted:#5b8175;--fa9-line:#cce9de;--fa9-nav:#092b2b;--fa9-nav2:#14554c;--fa9-hero1:#0e7166;--fa9-hero2:#1b8475;--fa9-button:#087a66;--fa9-buttonText:#fff;--fa9-accent:#087a66;--fa9-positive:#087d4f;--fa9-negative:#be3152;--fa9-warn:#936012;--fa9-purple:#7541b4;--fa9-sky:#d2f2e6;--fa9-successbg:#e4f9ee;--fa9-dangerbg:#fff0f3;--fa9-purplebg:#f1e9ff;--fa9-shadow:0 14px 42px #1b675221;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative)}
html[data-fa-theme="royal"]{--fa9-bg:#f5f1fc;--fa9-surface:#fff;--fa9-soft:#fbf9ff;--fa9-text:#301c4c;--fa9-muted:#77678f;--fa9-line:#e5d8f4;--fa9-nav:#21113d;--fa9-nav2:#4c277a;--fa9-hero1:#5d2f94;--fa9-hero2:#8755b9;--fa9-button:#713caf;--fa9-buttonText:#fff;--fa9-accent:#743db7;--fa9-positive:#098055;--fa9-negative:#b82a58;--fa9-warn:#956003;--fa9-purple:#7c3cca;--fa9-sky:#ecddfb;--fa9-successbg:#e8f8f0;--fa9-dangerbg:#fff0f5;--fa9-purplebg:#f2e8ff;--fa9-shadow:0 14px 42px #42306020;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative)}
html[data-fa-theme="graphite"]{--fa9-bg:#10151e;--fa9-surface:#1c2530;--fa9-soft:#25313d;--fa9-text:#f5f3e8;--fa9-muted:#b4bfcc;--fa9-line:#3d4c58;--fa9-nav:#0a0f15;--fa9-nav2:#26323b;--fa9-hero1:#333840;--fa9-hero2:#685633;--fa9-button:#d4ad62;--fa9-buttonText:#241c0d;--fa9-accent:#f0c77a;--fa9-positive:#69e0aa;--fa9-negative:#ff8d98;--fa9-warn:#f6cc78;--fa9-purple:#cbb6ff;--fa9-sky:#383829;--fa9-successbg:#173b31;--fa9-dangerbg:#4b2834;--fa9-purplebg:#372e46;--fa9-shadow:0 14px 42px #0007;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative)}
html[data-fa-theme="coral"]{--fa9-bg:#fff4f0;--fa9-surface:#fffefa;--fa9-soft:#fff8f5;--fa9-text:#4e2c35;--fa9-muted:#876979;--fa9-line:#efd8d5;--fa9-nav:#42223a;--fa9-nav2:#78394a;--fa9-hero1:#a32e50;--fa9-hero2:#b94848;--fa9-button:#ad3556;--fa9-buttonText:#fff;--fa9-accent:#aa3458;--fa9-positive:#08784d;--fa9-negative:#b82c48;--fa9-warn:#936018;--fa9-purple:#7a3fae;--fa9-sky:#ffe1e5;--fa9-successbg:#eaf9ef;--fa9-dangerbg:#ffedf0;--fa9-purplebg:#f6ebff;--fa9-shadow:0 14px 42px #6333401a;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative)}
html[data-fa-theme="arctic"]{--fa9-bg:#edf8ff;--fa9-surface:#fff;--fa9-soft:#f5fbff;--fa9-text:#193b55;--fa9-muted:#658093;--fa9-line:#cfe5f3;--fa9-nav:#0e3454;--fa9-nav2:#19577a;--fa9-hero1:#155078;--fa9-hero2:#167a9c;--fa9-button:#0878ab;--fa9-buttonText:#fff;--fa9-accent:#086fa1;--fa9-positive:#067954;--fa9-negative:#b72d51;--fa9-warn:#976316;--fa9-purple:#7140bc;--fa9-sky:#d9f1ff;--fa9-successbg:#e5faf2;--fa9-dangerbg:#fff0f4;--fa9-purplebg:#f3ebff;--fa9-shadow:0 14px 42px #225e831a;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative)}
html[data-fa-theme="rose"]{--fa9-bg:#fff5fa;--fa9-surface:#fff;--fa9-soft:#fff9fc;--fa9-text:#542e46;--fa9-muted:#8f6b82;--fa9-line:#efd9e7;--fa9-nav:#40223b;--fa9-nav2:#6d3e66;--fa9-hero1:#733254;--fa9-hero2:#994875;--fa9-button:#93456f;--fa9-buttonText:#fff;--fa9-accent:#9b497f;--fa9-positive:#097b56;--fa9-negative:#bb2a56;--fa9-warn:#936118;--fa9-purple:#7a42b1;--fa9-sky:#ffe0ef;--fa9-successbg:#eafaef;--fa9-dangerbg:#fff0f5;--fa9-purplebg:#f2eaff;--fa9-shadow:0 14px 42px #5c2b4c19;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative)}
html[data-fa-theme="terra"]{--fa9-bg:#faf3e9;--fa9-surface:#fffdfa;--fa9-soft:#fff8f0;--fa9-text:#463325;--fa9-muted:#846d5c;--fa9-line:#e9dbca;--fa9-nav:#332821;--fa9-nav2:#65432e;--fa9-hero1:#81451f;--fa9-hero2:#a84e2b;--fa9-button:#93502c;--fa9-buttonText:#fff;--fa9-accent:#9a582e;--fa9-positive:#117b4e;--fa9-negative:#b83647;--fa9-warn:#896014;--fa9-purple:#7542af;--fa9-sky:#f8e2c6;--fa9-successbg:#edf9ec;--fa9-dangerbg:#ffedec;--fa9-purplebg:#f2eafb;--fa9-shadow:0 14px 42px #78502b1a;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative)}
html[data-fa-theme="slate"]{--fa9-bg:#edf2f7;--fa9-surface:#fff;--fa9-soft:#f6f8fb;--fa9-text:#213347;--fa9-muted:#60778e;--fa9-line:#d2dce8;--fa9-nav:#17283d;--fa9-nav2:#395571;--fa9-hero1:#334a65;--fa9-hero2:#53718a;--fa9-button:#385b80;--fa9-buttonText:#fff;--fa9-accent:#365d84;--fa9-positive:#087f53;--fa9-negative:#b72e4e;--fa9-warn:#936118;--fa9-purple:#7042b0;--fa9-sky:#e0ecf7;--fa9-successbg:#e8f8ef;--fa9-dangerbg:#fff0f3;--fa9-purplebg:#f2edff;--fa9-shadow:0 14px 42px #233b551a;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative)}
html[data-fa-theme="crimson"]{--fa9-bg:#1b111c;--fa9-surface:#2a1e2b;--fa9-soft:#3a293b;--fa9-text:#fff0f2;--fa9-muted:#d1abbc;--fa9-line:#614355;--fa9-nav:#150c16;--fa9-nav2:#442038;--fa9-hero1:#5d1a30;--fa9-hero2:#97334e;--fa9-button:#eb8098;--fa9-buttonText:#2a0d1d;--fa9-accent:#f0a1b5;--fa9-positive:#6fdfa7;--fa9-negative:#ff8c9d;--fa9-warn:#ffd083;--fa9-purple:#d9b8ff;--fa9-sky:#512e40;--fa9-successbg:#223c34;--fa9-dangerbg:#5a2b39;--fa9-purplebg:#463149;--fa9-shadow:0 14px 42px #0007;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative)}
html[data-fa-theme="aurora"]{--fa9-bg:#071d28;--fa9-surface:#12303e;--fa9-soft:#1a4050;--fa9-text:#eaffff;--fa9-muted:#9ec3c9;--fa9-line:#315d69;--fa9-nav:#05141d;--fa9-nav2:#0c3b48;--fa9-hero1:#10515e;--fa9-hero2:#15717c;--fa9-button:#58d4ce;--fa9-buttonText:#06252c;--fa9-accent:#70e6e1;--fa9-positive:#6ae2b1;--fa9-negative:#ff8a9e;--fa9-warn:#f8ce76;--fa9-purple:#c1b1ff;--fa9-sky:#1d4e5b;--fa9-successbg:#183f35;--fa9-dangerbg:#4a293a;--fa9-purplebg:#33304f;--fa9-shadow:0 14px 42px #0007;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative)}


/* FA_LIGHT_50_V1 — 38 additional light palettes; existing twelve remain unchanged */
html[data-fa-theme="porcelain-lilac"]{--fa9-bg:#f4f1f7;--fa9-surface:#fdfdfe;--fa9-soft:#f9f8fb;--fa9-text:#25283f;--fa9-muted:#494a61;--fa9-line:#dcd4e5;--fa9-nav:#382a4f;--fa9-nav2:#4f376d;--fa9-hero1:#67468d;--fa9-hero2:#79589c;--fa9-button:#67468d;--fa9-buttonText:#fff;--fa9-accent:#67468d;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#e8e3ee;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="champagne-pearl"]{--fa9-bg:#f5f2ee;--fa9-surface:#fefdfd;--fa9-soft:#faf8f6;--fa9-text:#292c2c;--fa9-muted:#4d4f4d;--fa9-line:#e0dacf;--fa9-nav:#403424;--fa9-nav2:#5c4729;--fa9-hero1:#795c2f;--fa9-hero2:#846936;--fa9-button:#795c2f;--fa9-buttonText:#fff;--fa9-accent:#795c2f;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#eae5dd;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="sage-meadow"]{--fa9-bg:#eff3f1;--fa9-surface:#fdfdfd;--fa9-soft:#f7f9f8;--fa9-text:#1b2c31;--fa9-muted:#3e4f53;--fa9-line:#d0dad6;--fa9-nav:#213531;--fa9-nav2:#2a493d;--fa9-hero1:#345e4b;--fa9-hero2:#42735c;--fa9-button:#345e4b;--fa9-buttonText:#fff;--fa9-accent:#345e4b;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#dfe7e3;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="mint-breeze"]{--fa9-bg:#ecf4f3;--fa9-surface:#fcfdfd;--fa9-soft:#f5f9f9;--fa9-text:#152e35;--fa9-muted:#385156;--fa9-line:#cadcd9;--fa9-nav:#133938;--fa9-nav2:#154f49;--fa9-hero1:#17675b;--fa9-hero2:#23786c;--fa9-button:#17675b;--fa9-buttonText:#fff;--fa9-accent:#17675b;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#dae8e6;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="lavender-mist"]{--fa9-bg:#f4f1f7;--fa9-surface:#fdfdfe;--fa9-soft:#f9f8fb;--fa9-text:#262840;--fa9-muted:#4a4b63;--fa9-line:#dcd5e6;--fa9-nav:#382c52;--fa9-nav2:#4f3a71;--fa9-hero1:#684a93;--fa9-hero2:#795da0;--fa9-button:#684a93;--fa9-buttonText:#fff;--fa9-accent:#684a93;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#e8e3ef;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="peach-blossom"]{--fa9-bg:#f7f1f0;--fa9-surface:#fefdfd;--fa9-soft:#fbf8f7;--fa9-text:#2f2931;--fa9-muted:#544b52;--fa9-line:#e7d6d5;--fa9-nav:#4e2c2f;--fa9-nav2:#713b3b;--fa9-hero1:#974b48;--fa9-hero2:#a45752;--fa9-button:#974b48;--fa9-buttonText:#fff;--fa9-accent:#974b48;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#f0e2e2;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="ivory-gold"]{--fa9-bg:#f5f2ed;--fa9-surface:#fefdfc;--fa9-soft:#faf8f6;--fa9-text:#2a2c28;--fa9-muted:#4e4f49;--fa9-line:#e1dacb;--fa9-nav:#42341c;--fa9-nav2:#5e481d;--fa9-hero1:#7c5d1e;--fa9-hero2:#876928;--fa9-button:#7c5d1e;--fa9-buttonText:#fff;--fa9-accent:#7c5d1e;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#ebe5da;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="pistachio-cream"]{--fa9-bg:#f1f3ed;--fa9-surface:#fdfdfd;--fa9-soft:#f8f9f6;--fa9-text:#222f2b;--fa9-muted:#45524b;--fa9-line:#d8ddce;--fa9-nav:#303a21;--fa9-nav2:#425125;--fa9-hero1:#556a29;--fa9-hero2:#607431;--fa9-button:#556a29;--fa9-buttonText:#fff;--fa9-accent:#556a29;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#e4e7dc;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="sky-sorbet"]{--fa9-bg:#edf3f6;--fa9-surface:#fcfdfe;--fa9-soft:#f6f9fa;--fa9-text:#162c3d;--fa9-muted:#394f5f;--fa9-line:#cbdae2;--fa9-nav:#15344a;--fa9-nav2:#184766;--fa9-hero1:#1b5c83;--fa9-hero2:#2c7097;--fa9-button:#1b5c83;--fa9-buttonText:#fff;--fa9-accent:#1b5c83;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#dbe7ed;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="blush-rose"]{--fa9-bg:#f7f0f3;--fa9-surface:#fefdfd;--fa9-soft:#fbf7f9;--fa9-text:#2e2837;--fa9-muted:#534b59;--fa9-line:#e6d5dc;--fa9-nav:#4b2b3e;--fa9-nav2:#6d3a53;--fa9-hero1:#914969;--fa9-hero2:#a25375;--fa9-button:#914969;--fa9-buttonText:#fff;--fa9-accent:#914969;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#efe2e8;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="lemon-chiffon"]{--fa9-bg:#f4f3ed;--fa9-surface:#fdfdfc;--fa9-soft:#f9f9f5;--fa9-text:#272d28;--fa9-muted:#4b5049;--fa9-line:#dedacb;--fa9-nav:#3c361b;--fa9-nav2:#544a1c;--fa9-hero1:#6f601d;--fa9-hero2:#7f6d27;--fa9-button:#6f601d;--fa9-buttonText:#fff;--fa9-accent:#6f601d;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#e9e6da;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="jade-mist"]{--fa9-bg:#edf3f2;--fa9-surface:#fcfdfd;--fa9-soft:#f5f9f8;--fa9-text:#152e35;--fa9-muted:#385157;--fa9-line:#cadcda;--fa9-nav:#133938;--fa9-nav2:#154f4a;--fa9-hero1:#17675c;--fa9-hero2:#267769;--fa9-button:#17675c;--fa9-buttonText:#fff;--fa9-accent:#17675c;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#dae8e5;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="buttercup-ivory"]{--fa9-bg:#f5f2ed;--fa9-surface:#fefdfc;--fa9-soft:#faf8f6;--fa9-text:#2a2c28;--fa9-muted:#4f4f49;--fa9-line:#e2dacb;--fa9-nav:#43341c;--fa9-nav2:#60471d;--fa9-hero1:#7f5c1e;--fa9-hero2:#886728;--fa9-button:#7f5c1e;--fa9-buttonText:#fff;--fa9-accent:#7f5c1e;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#ebe5da;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="orchid-bloom"]{--fa9-bg:#f5f0f6;--fa9-surface:#fefdfe;--fa9-soft:#faf7fa;--fa9-text:#29273d;--fa9-muted:#4d4960;--fa9-line:#e0d4e3;--fa9-nav:#40294c;--fa9-nav2:#5c3568;--fa9-hero1:#794386;--fa9-hero2:#8c5198;--fa9-button:#794386;--fa9-buttonText:#fff;--fa9-accent:#794386;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#ebe1ed;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="seafoam-pearl"]{--fa9-bg:#edf4f4;--fa9-surface:#fcfdfd;--fa9-soft:#f5f9f9;--fa9-text:#162f38;--fa9-muted:#38525a;--fa9-line:#caddde;--fa9-nav:#153a41;--fa9-nav2:#175156;--fa9-hero1:#1a6a6e;--fa9-hero2:#277a7b;--fa9-button:#1a6a6e;--fa9-buttonText:#fff;--fa9-accent:#1a6a6e;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#dae8e9;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="cinnamon-cream"]{--fa9-bg:#f6f1ee;--fa9-surface:#fefdfd;--fa9-soft:#faf8f6;--fa9-text:#2c2a2c;--fa9-muted:#514c4d;--fa9-line:#e4d7cf;--fa9-nav:#472f24;--fa9-nav2:#663f29;--fa9-hero1:#88512f;--fa9-hero2:#985f3a;--fa9-button:#88512f;--fa9-buttonText:#fff;--fa9-accent:#88512f;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#ede4de;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="apricot-glow"]{--fa9-bg:#f7f1ee;--fa9-surface:#fefdfd;--fa9-soft:#fbf8f6;--fa9-text:#2f292b;--fa9-muted:#544b4c;--fa9-line:#e7d6ce;--fa9-nav:#4e2d22;--fa9-nav2:#703c26;--fa9-hero1:#964d2b;--fa9-hero2:#a25935;--fa9-button:#964d2b;--fa9-buttonText:#fff;--fa9-accent:#964d2b;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#efe3dd;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="periwinkle-cloud"]{--fa9-bg:#f0f3f8;--fa9-surface:#fdfdfe;--fa9-soft:#f7f9fb;--fa9-text:#1e2c42;--fa9-muted:#414f65;--fa9-line:#d4dae8;--fa9-nav:#273456;--fa9-nav2:#344878;--fa9-hero1:#425d9c;--fa9-hero2:#536dad;--fa9-button:#425d9c;--fa9-buttonText:#fff;--fa9-accent:#425d9c;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#e2e6f1;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="dusty-mauve"]{--fa9-bg:#f5f1f3;--fa9-surface:#fefdfd;--fa9-soft:#faf8f9;--fa9-text:#282837;--fa9-muted:#4c4b59;--fa9-line:#dfd5dc;--fa9-nav:#3e2b3d;--fa9-nav2:#583a51;--fa9-hero1:#744966;--fa9-hero2:#875574;--fa9-button:#744966;--fa9-buttonText:#fff;--fa9-accent:#744966;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#ebe2e7;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="olive-linen"]{--fa9-bg:#f2f3ee;--fa9-surface:#fdfdfd;--fa9-soft:#f8f9f6;--fa9-text:#222d2b;--fa9-muted:#46504c;--fa9-line:#d8dbce;--fa9-nav:#303722;--fa9-nav2:#424c27;--fa9-hero1:#56622c;--fa9-hero2:#667236;--fa9-button:#56622c;--fa9-buttonText:#fff;--fa9-accent:#56622c;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#e5e7dd;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="powder-blue"]{--fa9-bg:#eef3f6;--fa9-surface:#fdfdfe;--fa9-soft:#f6f9fa;--fa9-text:#1a2d3e;--fa9-muted:#3d4f60;--fa9-line:#cfdae4;--fa9-nav:#1e354d;--fa9-nav2:#264969;--fa9-hero1:#2f5f88;--fa9-hero2:#3b7197;--fa9-button:#2f5f88;--fa9-buttonText:#fff;--fa9-accent:#2f5f88;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#dee7ed;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="coral-pearl"]{--fa9-bg:#f7f1f0;--fa9-surface:#fefdfd;--fa9-soft:#fbf8f7;--fa9-text:#2f2830;--fa9-muted:#544b51;--fa9-line:#e7d5d4;--fa9-nav:#4e2c2d;--fa9-nav2:#713a38;--fa9-hero1:#974a43;--fa9-hero2:#a25a51;--fa9-button:#974a43;--fa9-buttonText:#fff;--fa9-accent:#974a43;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#efe3e1;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="pearl-turquoise"]{--fa9-bg:#ecf3f4;--fa9-surface:#fcfdfd;--fa9-soft:#f5f9f9;--fa9-text:#152d38;--fa9-muted:#37505a;--fa9-line:#c9dbdd;--fa9-nav:#11373f;--fa9-nav2:#124c54;--fa9-hero1:#13636b;--fa9-hero2:#21747b;--fa9-button:#13636b;--fa9-buttonText:#fff;--fa9-accent:#13636b;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#d9e7e9;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="sand-dune"]{--fa9-bg:#f5f2ef;--fa9-surface:#fefdfd;--fa9-soft:#faf8f7;--fa9-text:#292b2e;--fa9-muted:#4e4e4f;--fa9-line:#e0d8d1;--fa9-nav:#413228;--fa9-nav2:#5c4430;--fa9-hero1:#7a5738;--fa9-hero2:#8c6743;--fa9-button:#7a5738;--fa9-buttonText:#fff;--fa9-accent:#7a5738;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#ebe5df;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="wisteria-light"]{--fa9-bg:#f3f1f7;--fa9-surface:#fdfdfe;--fa9-soft:#f9f8fb;--fa9-text:#25293f;--fa9-muted:#494b62;--fa9-line:#dbd6e6;--fa9-nav:#372c51;--fa9-nav2:#4c3b70;--fa9-hero1:#644b91;--fa9-hero2:#7659a0;--fa9-button:#644b91;--fa9-buttonText:#fff;--fa9-accent:#644b91;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#e8e3ef;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="berry-cream"]{--fa9-bg:#f6f0f2;--fa9-surface:#fefdfd;--fa9-soft:#faf7f8;--fa9-text:#2b2534;--fa9-muted:#504756;--fa9-line:#e3d1d9;--fa9-nav:#462437;--fa9-nav2:#642e47;--fa9-hero1:#853958;--fa9-hero2:#964c66;--fa9-button:#853958;--fa9-buttonText:#fff;--fa9-accent:#853958;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#ede1e5;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="mocha-latte"]{--fa9-bg:#f4f1ef;--fa9-surface:#fdfdfd;--fa9-soft:#f9f8f7;--fa9-text:#26282d;--fa9-muted:#4a4b4e;--fa9-line:#dcd5d1;--fa9-nav:#382c27;--fa9-nav2:#4f3a2f;--fa9-hero1:#684a37;--fa9-hero2:#7b5b45;--fa9-button:#684a37;--fa9-buttonText:#fff;--fa9-accent:#684a37;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#e9e3df;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="sunflower-milk"]{--fa9-bg:#f5f2ec;--fa9-surface:#fefdfc;--fa9-soft:#faf8f5;--fa9-text:#2a2c28;--fa9-muted:#4f4e48;--fa9-line:#e2d9ca;--fa9-nav:#43331a;--fa9-nav2:#60461a;--fa9-hero1:#7f5a1a;--fa9-hero2:#8b6820;--fa9-button:#7f5a1a;--fa9-buttonText:#fff;--fa9-accent:#7f5a1a;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#ebe5d9;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="eucalyptus-fog"]{--fa9-bg:#eff4f2;--fa9-surface:#fdfdfd;--fa9-soft:#f7f9f8;--fa9-text:#1b2f36;--fa9-muted:#3e5258;--fa9-line:#d1dddb;--fa9-nav:#213b3b;--fa9-nav2:#2b524d;--fa9-hero1:#356b61;--fa9-hero2:#40786b;--fa9-button:#356b61;--fa9-buttonText:#fff;--fa9-accent:#356b61;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#dfe8e6;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="ocean-glass"]{--fa9-bg:#eef3f5;--fa9-surface:#fdfdfe;--fa9-soft:#f6f9fa;--fa9-text:#192d3a;--fa9-muted:#3c4f5d;--fa9-line:#cedae0;--fa9-nav:#1c3545;--fa9-nav2:#23495e;--fa9-hero1:#2b5f78;--fa9-hero2:#397288;--fa9-button:#2b5f78;--fa9-buttonText:#fff;--fa9-accent:#2b5f78;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#dde7eb;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="frost-mint"]{--fa9-bg:#edf4f3;--fa9-surface:#fdfdfd;--fa9-soft:#f6f9f9;--fa9-text:#182f37;--fa9-muted:#3a5259;--fa9-line:#ccdddc;--fa9-nav:#183b3d;--fa9-nav2:#1d5351;--fa9-hero1:#226c67;--fa9-hero2:#2f7a72;--fa9-button:#226c67;--fa9-buttonText:#fff;--fa9-accent:#226c67;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#dce8e7;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="ruby-pearl"]{--fa9-bg:#f7f0f2;--fa9-surface:#fefdfd;--fa9-soft:#fbf7f8;--fa9-text:#2f2533;--fa9-muted:#544755;--fa9-line:#e7d2d8;--fa9-nav:#4e2435;--fa9-nav2:#702f44;--fa9-hero1:#963a54;--fa9-hero2:#a34b61;--fa9-button:#963a54;--fa9-buttonText:#fff;--fa9-accent:#963a54;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#efe0e4;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="honey-amber"]{--fa9-bg:#f5f2ed;--fa9-surface:#fefdfc;--fa9-soft:#faf8f6;--fa9-text:#2a2c28;--fa9-muted:#4e4e49;--fa9-line:#e1d9cb;--fa9-nav:#42331b;--fa9-nav2:#5e461c;--fa9-hero1:#7d5a1d;--fa9-hero2:#8c6728;--fa9-button:#7d5a1d;--fa9-buttonText:#fff;--fa9-accent:#7d5a1d;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#ebe5da;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="twilight-lilac"]{--fa9-bg:#f3f1f7;--fa9-surface:#fdfdfe;--fa9-soft:#f9f8fb;--fa9-text:#23293e;--fa9-muted:#474b60;--fa9-line:#dad6e4;--fa9-nav:#332d4d;--fa9-nav2:#473c6a;--fa9-hero1:#5c4c89;--fa9-hero2:#725d9d;--fa9-button:#5c4c89;--fa9-buttonText:#fff;--fa9-accent:#5c4c89;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#e7e3ee;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="fern-silk"]{--fa9-bg:#f0f3f0;--fa9-surface:#fdfdfd;--fa9-soft:#f7f9f7;--fa9-text:#1d2e2f;--fa9-muted:#415150;--fa9-line:#d3dcd3;--fa9-nav:#26392b;--fa9-nav2:#324e34;--fa9-hero1:#3f663e;--fa9-hero2:#50774d;--fa9-button:#3f663e;--fa9-buttonText:#fff;--fa9-accent:#3f663e;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#e1e8e1;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="cloud-iris"]{--fa9-bg:#f1f3f7;--fa9-surface:#fdfdfe;--fa9-soft:#f8f9fb;--fa9-text:#202c3f;--fa9-muted:#444f62;--fa9-line:#d6dae6;--fa9-nav:#2c3451;--fa9-nav2:#3c4870;--fa9-hero1:#4d5d91;--fa9-hero2:#5e6da0;--fa9-button:#4d5d91;--fa9-buttonText:#fff;--fa9-accent:#4d5d91;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#e4e6ef;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="clay-blush"]{--fa9-bg:#f7f1f0;--fa9-surface:#fefdfd;--fa9-soft:#fbf8f7;--fa9-text:#2d2930;--fa9-muted:#524c51;--fa9-line:#e5d6d4;--fa9-nav:#4a2e2e;--fa9-nav2:#6b3d39;--fa9-hero1:#8e4e45;--fa9-hero2:#9b5e53;--fa9-button:#8e4e45;--fa9-buttonText:#fff;--fa9-accent:#8e4e45;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#eee4e2;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
html[data-fa-theme="aqua-linen"]{--fa9-bg:#eef3f4;--fa9-surface:#fdfdfd;--fa9-soft:#f6f9f9;--fa9-text:#182e38;--fa9-muted:#3b515a;--fa9-line:#cddcdd;--fa9-nav:#1a3940;--fa9-nav2:#204e55;--fa9-hero1:#26666c;--fa9-hero2:#34777c;--fa9-button:#26666c;--fa9-buttonText:#fff;--fa9-accent:#26666c;--fa9-positive:#08774b;--fa9-negative:#b12847;--fa9-warn:#855b16;--fa9-purple:#7040aa;--fa9-sky:#dce8e9;--fa9-successbg:#e8f7ee;--fa9-dangerbg:#fff0f2;--fa9-purplebg:#f3ebfb;--fa9-shadow:0 14px 42px #172d3b18;--bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);--muted:var(--fa9-muted);--line:var(--fa9-line);--blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);--shadow:var(--fa9-shadow);--fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);--fa-loss:var(--fa9-negative);}
/* END FA_LIGHT_50_V1 */

/* PHASE9_TWELVE_THEMES_STYLE_V2 -- centralized, presentation only */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body{
 background:var(--fa9-bg)!important;color:var(--fa9-text)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .main,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .sidebar-wrap,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app {background-color:transparent!important}
/* Sidebar, including original high-specificity declarations. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar{
 background:linear-gradient(172deg,var(--fa9-nav2),var(--fa9-nav) 67%)!important;
 border-color:var(--fa9-line)!important;color:#f4f7ff!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a.active{
 background:linear-gradient(125deg,var(--fa9-hero2),var(--fa9-hero1))!important;
 color:#fff!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-status,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .sidebar-profile{
 background:var(--fa9-nav2)!important;border-color:#ffffff36!important;
}
/* Banner backgrounds: a single coordinated palette across the full app. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .overview-blue-banner,.blue-matches-banner,.analytics-unified-banner,
 .plan1-blue-hero,.plan2-blue-hero,.spm-hero,.strategy-profile-hero,
 .data-hero,.hero,.combo-detail-blue-banner
){
 background:linear-gradient(115deg,var(--fa9-hero1),var(--fa9-hero2))!important;
 border-color:color-mix(in srgb,var(--fa9-hero2),white 20%)!important;
 color:#fff!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .overview-blue-banner,.blue-matches-banner,.analytics-unified-banner,
 .plan1-blue-hero,.plan2-blue-hero,.spm-hero,.data-hero,.hero,.combo-detail-blue-banner
) :is(h1,h2,.banner-record-stat,.banner-record-label){color:#fff!important}
/* General surfaces; avoid restyling chips indicating wins, losses, upcoming and odds. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .panel,.card,.table-panel,.settings-card,.dn-panel,.dn-notes-panel,
 .dn-backup-panel,.dn-reference-card,.emerging-panel,.spm-panel,
 .an-risk-panel,.plan-trend-panel,.strategy-drawdown-panel,
 .strategy-walkforward-panel,.strategy-insight-panel,.analytics-trend-panel,
 .compare-card,.match-card,.note-card,.monthly-detail-panel
){
 background:var(--fa9-surface)!important;
 border-color:var(--fa9-line)!important;
 color:var(--fa9-text)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .panel-head,.panel-body,.dn-panel-head,.table-wrap,.table-container,
 .rule-registry-head,.match-registry,.fa6-tabs,.fa5-tabs,.sr7-tabs
){border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .panel h2,.panel h3,.card h2,.card h3,.panel-title,
 .dn-panel h2,.strategy-insight-panel h2,.spm-panel h2,
 .emerging-panel h2,.section-heading,.registry-intro h2
){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .subtitle,.panel-sub,.note,.muted,.kpi-note,.dn-subtitle,.hint,
 .text-muted,.section-note,.fa6-section-note
){color:var(--fa9-muted)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .kpi,.em-kpi,.analytics-support-card,.fa6-kpis>.kpi,.fa5-kpi-grid>.kpi,
 .metric,.scan-item,.fa6-banner-counts,.detail-info-grid,.detail-info-cell
){
 background:var(--fa9-surface)!important;border-color:var(--fa9-line)!important;
 color:var(--fa9-text)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .kpi-label,.kpi-value,.kpi-num,.metric strong
){color:var(--fa9-accent)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .kpi-accent-line,.kpi-track-fill
){background:var(--fa9-accent)!important}
/* For semantic outcome KPIs, retain distinct positive / negative colours. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .kpi-home,.kpi-wins,.support-wins
) :is(.kpi-value,.kpi-num,.kpi-label){color:var(--fa9-positive)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .kpi-away,.kpi-losses,.support-losses
) :is(.kpi-value,.kpi-num,.kpi-label){color:var(--fa9-negative)!important}
/* Tables and list surfaces are neutral (the outcomes themselves retain semantic labels). */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body table{
 color:var(--fa9-text)!important;border-color:var(--fa9-line)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(thead th,table thead td,.table-head){
 background:var(--fa9-soft)!important;color:var(--fa9-muted)!important;
 border-color:var(--fa9-line)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(tbody td,tbody th){
 border-color:var(--fa9-line)!important;color:var(--fa9-text)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body table tbody tr:nth-child(even){
 background:color-mix(in srgb,var(--fa9-surface),var(--fa9-soft) 36%)!important;
}
/* Forms, filters, standard buttons and internal links. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(input,select,textarea){
 background:var(--fa9-surface)!important;color:var(--fa9-text)!important;
 border-color:var(--fa9-line)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .btn.primary,.btn-primary,.primary-btn,.button-primary,
 button.primary,button.btn:not(.secondary):not(.danger):not(.outline),
 .shared-settings-save
){
 background:var(--fa9-button)!important;
 border-color:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(a:not(.nav-link),.link-btn){
 accent-color:var(--fa9-accent)
}
/* Dark themes must remain readable; don't invert result semantics or charts. */
html[data-fa-theme-mode="dark"]{color-scheme:dark}
html[data-fa-theme-mode="dark"] body :is(
 .panel-head,.table-footer,.table-foot,.panel-body,.fa6-tabs,.fa5-tabs,
 .sr7-tabs,.filter-panel,.filters,.status,
 .rule-registry,.registry-filter-fields,.detail-info-grid
){
 background:var(--fa9-soft)!important;color:var(--fa9-text)!important;
 border-color:var(--fa9-line)!important;
}
html[data-fa-theme-mode="dark"] body :is(
 .pill,.badge,.chip,.tag,.result-label,.detail-result-badge
):not(.win):not(.loss):not(.home):not(.away):not(.draw):not(.upcoming){
 border-color:var(--fa9-line)!important;
}
html[data-fa-theme-mode="dark"] body :is(.panel-sub,.crumb,.status small,.subtitle){color:var(--fa9-muted)!important}
html[data-fa-theme-mode="dark"] body :is(.fa5-tabs button,.fa6-tabs button,.sr7-tabs button){
 background:var(--fa9-surface)!important;color:var(--fa9-text)!important;
 border-color:var(--fa9-line)!important;
}
html[data-fa-theme-mode="dark"] body :is(.fa5-tabs button,.fa6-tabs button,.sr7-tabs button)[aria-selected="true"]{
 background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;
}
/* Common result labels: preserve green/red/amber meaning across every palette. */
html[data-fa-theme]:not([data-fa-theme="ocean"]){
 --fa-home-win:var(--fa9-positive);--fa-win:var(--fa9-positive);
 --fa-away-win:var(--fa9-negative);--fa-loss:var(--fa9-negative);
 --fa-draw:var(--fa9-accent);--fa-upcoming:var(--fa9-warn);
}
html[data-fa-theme-mode="dark"]{
 --fa-home-win-bg:var(--fa9-successbg);--fa-home-win-border:var(--fa9-line);
 --fa-away-win-bg:var(--fa9-dangerbg);--fa-away-win-border:var(--fa9-line);
 --fa-draw-bg:var(--fa9-soft);--fa-draw-border:var(--fa9-line);
 --fa-upcoming-bg:var(--fa9-soft);--fa-upcoming-border:var(--fa9-line);
 --fa-win-bg:var(--fa9-successbg);--fa-win-border:var(--fa9-line);
 --fa-loss-bg:var(--fa9-dangerbg);--fa-loss-border:var(--fa9-line);
}
/* Settings swatches and filters. */
#sharedSettingsModal{width:min(810px,calc(100vw - 22px))!important;max-height:calc(100dvh - 22px)!important}
#sharedSettingsModal .shared-settings-body{gap:14px!important}
#sharedSettingsModal .fa9-theme-field{border:0;margin:0;padding:0;min-width:0;display:grid;gap:9px}
#sharedSettingsModal .fa9-theme-field legend{color:var(--fa9-text,#17345a);font-weight:800;font-size:13px;padding:0;margin-bottom:3px}
#sharedSettingsModal .fa9-theme-help{font-size:11px;color:var(--fa9-muted,#607296);font-weight:400}
#sharedSettingsModal .fa9-theme-filters{display:flex;gap:6px;flex-wrap:wrap}
#sharedSettingsModal .fa9-theme-filters button{border:1px solid #ccdbec;border-radius:999px;padding:5px 11px;background:#f4f8ff;color:#295078;font-weight:700;font-size:11px}
#sharedSettingsModal .fa9-theme-filters button[aria-pressed="true"]{background:#145bb8;color:#fff;border-color:#145bb8}
#sharedSettingsModal .fa9-theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}
#sharedSettingsModal .fa9-theme-choice{display:grid;text-align:left;gap:5px;padding:10px;border-radius:11px;border:2px solid #d9e4f2;background:#fff;color:#17345a;cursor:pointer;min-width:0}
#sharedSettingsModal .fa9-theme-choice strong{font-size:12px;line-height:1.2}
#sharedSettingsModal .fa9-theme-choice small{font-size:10px;line-height:1.3;color:#617894;font-weight:400}
#sharedSettingsModal .fa9-theme-choice[aria-pressed="true"]{border-color:#1b6ee5;background:#eaf3ff;box-shadow:0 0 0 1px #1b6ee522}
#sharedSettingsModal .fa9-theme-kind{font-size:9px;color:#7890ad;font-weight:800;letter-spacing:.5px;text-transform:uppercase}
#sharedSettingsModal .fa9-theme-swatches{display:flex;gap:3px}
#sharedSettingsModal .fa9-theme-swatches i{height:17px;flex:1;border-radius:4px;border:1px solid #8885}
#sharedSettingsModal .fa9-theme-choice[hidden]{display:none!important}
#sharedSettingsModal .fa9-theme-choice:focus-visible{outline:3px solid #3e83e5;outline-offset:1px}
#sharedSettingsModal .fa9-theme-selection{font-size:11px;color:#295078}
#sharedSettingsModal .fa9-theme-divider{border-top:1px solid #dbe6f5;padding-top:12px;margin-top:3px}
@media(max-width:600px){#sharedSettingsModal .fa9-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#sharedSettingsModal .shared-settings-body{padding:14px!important}}
@media(max-width:330px){#sharedSettingsModal .fa9-theme-grid{grid-template-columns:1fr}}
/* Theme-aware Settings shell itself. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) #sharedSettingsModal{
 background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) #sharedSettingsModal :is(header,footer){border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) #sharedSettingsModal :is(h2,label){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) #sharedSettingsModal p{color:var(--fa9-muted)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) #sharedSettingsModal .fa9-theme-choice{
 background:var(--fa9-soft)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) #sharedSettingsModal .fa9-theme-choice[aria-pressed="true"]{
 border-color:var(--fa9-accent)!important;box-shadow:0 0 0 1px var(--fa9-accent)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) #sharedSettingsModal .fa9-theme-choice :is(small,.fa9-theme-kind){color:var(--fa9-muted)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) #sharedSettingsModal .shared-settings-save{
 background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;
}

html[data-fa-theme]:not([data-fa-theme="ocean"]) #sharedSettingsModal .fa9-theme-selection{color:var(--fa9-muted)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) #sharedSettingsModal .shared-settings-note{background:var(--fa9-soft)!important;color:var(--fa9-muted)!important}
html[data-fa-theme-mode="dark"] body :is(.emerging-setup-card,.spm-table-wrap,.emerging-table-wrap,.rule-registry-row,.fr-panel-body,.analytics-support-card,.registry-filter-fields,.filter-panel,.filters){background:var(--fa9-soft)!important;border-color:var(--fa9-line)!important;color:var(--fa9-text)!important}


/* Phase 9 v2: component coverage and semantic meaning. Theme-neutral content
   remains readable, while all 12 palettes retain their approved visual identity. */
html[data-fa-theme]:not([data-fa-theme="ocean"]){
 --primary:var(--fa9-button);--primary-color:var(--fa9-button);
 --accent:var(--fa9-accent);--brand:var(--fa9-hero1);
 --surface:var(--fa9-surface);--card:var(--fa9-surface);
 --bg:var(--fa9-bg);--ink:var(--fa9-text);--text:var(--fa9-text);
 --muted:var(--fa9-muted);--line:var(--fa9-line);
 --blue:var(--fa9-button);--navy:var(--fa9-nav);--navy2:var(--fa9-nav2);
 --shadow:var(--fa9-shadow);
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .content,.page-content,.main-content,.dashboard-content,.page,.main
){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .filter-panel,.filter-card,.filters,.filter-bar,.filter-grid,.table-footer,
 .table-foot,.analytics-filter-card,.report-filters,.fa5-tabs,.fa6-tabs,
 .sr7-tabs,.dn-tabs,.rule-registry,.an-risk-tile,.dn-analysis-tile,
 .fr-period-kpi,.strategy-insight-metric,.strategy-analysis-sample,
 .scan-report,.sr-push-dashboard,.sr-push-stat,.queue,.scan-item,.review-item,
 .plan2-route-card,.data-item,.doc-section,.doc-content,.doc-callout,
 .rule-card,.settings-card,.setting-row,.mini-stat,.quick-link,
 .monthly-detail-panel,.record-row,.ledger-row
){background-color:var(--fa9-surface)!important;border-color:var(--fa9-line)!important;color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .panel,.card,.dn-panel,.kpi,.em-kpi,.analytics-support-card,
 .strategy-insight-panel,.settings-card,.monthly-detail-panel
) :is(h2,h3,h4,strong,.panel-title,.kpi-value,.kpi-num,.kpi-label,.analytics-support-value){
 color:var(--fa9-text)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .panel,.card,.dn-panel,.kpi,.em-kpi,.analytics-support-card,
 .strategy-insight-panel,.settings-card,.monthly-detail-panel
) :is(small,.subtle,.hint,.kpi-note,.kpi-sub,.analytics-support-sub,.subtitle){color:var(--fa9-muted)!important}
/* The numeric dashboard headings retain a tasteful theme accent unless semantic. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.kpi,.em-kpi,.analytics-support-card) :is(.kpi-value,.kpi-num,.analytics-support-value){color:var(--fa9-accent)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.kpi-home,.kpi-wins,.support-wins) :is(.kpi-value,.kpi-num,.analytics-support-value){color:var(--fa9-positive)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.kpi-away,.kpi-losses,.support-losses) :is(.kpi-value,.kpi-num,.analytics-support-value){color:var(--fa9-negative)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.kpi-draw) :is(.kpi-value,.kpi-num){color:var(--fa9-purple)!important}
/* Cells are legible but status values are semantically green/red/amber/purple. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .positive,.record-positive,.ledger-win,.record-win,.profit-positive,
 .profit,.win,.balance-positive,.success,.value-positive
){color:var(--fa9-positive)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .negative,.record-negative,.ledger-loss,.record-loss,.profit-negative,
 .loss,.balance-negative,.danger,.value-negative
){color:var(--fa9-negative)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(
 .draw,.result-draw,.selection-draw
){color:var(--fa9-purple)!important}
html[data-fa-theme-mode="dark"] body :is(
 .panel-body,.panel-head,.table-wrap,.table-container,.match-registry,
 .dn-panel-body,.data-item,.record-row,.ledger-row,.settings-card,
 .modal-content,.modal-body,.detail-card,.match-detail-panel,
 .emerging-setup-card,.spm-table-wrap,.emerging-table-wrap
){background-color:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme-mode="dark"] body :is(table,tbody,tr){color:var(--fa9-text)!important}
html[data-fa-theme-mode="dark"] body table tbody tr{background:var(--fa9-surface)!important}
html[data-fa-theme-mode="dark"] body table tbody tr:nth-child(even){background:var(--fa9-soft)!important}
html[data-fa-theme-mode="dark"] body :is(table tbody tr:hover,.review-item:hover){background:var(--fa9-soft)!important}
html[data-fa-theme-mode="dark"] body :is(input,textarea,select,button){color-scheme:dark}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(input,select,textarea):focus-visible{
 outline:2px solid var(--fa9-accent)!important;outline-offset:2px;
}
/* Make the theme switcher itself match the selected palette as well. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) #sharedSettingsModal .fa9-theme-filters button{
 background:var(--fa9-soft)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) #sharedSettingsModal .fa9-theme-filters button[aria-pressed="true"]{
 background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;border-color:var(--fa9-button)!important
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) #sharedSettingsModal .fa9-theme-help,
html[data-fa-theme]:not([data-fa-theme="ocean"]) #sharedSettingsModal .fa9-theme-selection{color:var(--fa9-muted)!important}
@media(max-width:600px){#sharedSettingsModal{max-width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)!important}}


/* PHASE9_THEME_CASCADE_REPAIR_V3
   Presentation-only correction. Page-local !important rules require a stronger
   selector than the original sidebar-level generic override. Ocean unchanged. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) {
 --fa3-panel:var(--fa9-surface);--fa3-subpanel:var(--fa9-soft);
 --fa3-paneltext:var(--fa9-text);--fa3-muted:var(--fa9-muted);
 --fa3-stroke:var(--fa9-line);--fa3-primary:var(--fa9-button);
 --fa3-pale-positive:color-mix(in srgb,var(--fa9-surface) 87%,var(--fa9-positive) 13%);
 --fa3-pale-negative:color-mix(in srgb,var(--fa9-surface) 87%,var(--fa9-negative) 13%);
 --fa3-pale-warn:color-mix(in srgb,var(--fa9-surface) 87%,var(--fa9-warn) 13%);
 --fa3-pale-accent:color-mix(in srgb,var(--fa9-surface) 87%,var(--fa9-accent) 13%);
}
/* Page banners are not generic buttons; win against existing page-local gradients. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .topbar.blue-matches-banner,.overview-blue-banner,.analytics-unified-banner,
 .plan1-blue-hero,.plan2-blue-hero,.spm-hero,.strategy-profile-hero,
 .data-hero,.hero,.page-head.fa-unify-hero,.combo-detail-blue-banner,
 .details-hero
){
 background:radial-gradient(circle at 91% 5%,rgba(255,255,255,.14),transparent 37%),
 linear-gradient(114deg,var(--fa9-hero1),var(--fa9-hero2))!important;
 border-color:color-mix(in srgb,var(--fa9-hero2),white 18%)!important;
 color:#fff!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .topbar.blue-matches-banner,.overview-blue-banner,.analytics-unified-banner,
 .plan1-blue-hero,.plan2-blue-hero,.spm-hero,.strategy-profile-hero,
 .data-hero,.hero,.page-head.fa-unify-hero,.combo-detail-blue-banner,.details-hero
) :is(h1,h2,h3,p,.banner-record-label,.banner-sheet-stat,.banner-topline,.banner-center,.heading,.banner-subtitle,.page-subtitle){
 color:#fff!important;
}
/* Preserve important readable white text, but make the call-to-action use theme accent. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .blue-matches-banner .add-top,.overview-blue-banner .primary,
 .analytics-unified-banner .primary,.plan1-blue-hero .primary,.plan2-blue-hero .primary
){background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;
 border-color:var(--fa9-button)!important}
/* Every page has its own panel names: use a shared high-priority surface contract. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .panel,.card,.dn-panel,.an-risk-panel,.compare-card,.settings-card,
 .strategy-insight-panel,.strategy-drawdown-panel,.strategy-walkforward-panel,
 .analytics-trend-panel,.analytics-support-card,.monthly-detail-panel,
 .emerging-panel,.spm-panel,.records-section,.records-table,.scan-item,
 .review-item,.fa-pending-panel,.fr-panel,.fr-report,.dn8-evidence-card,
 .plan2-route-card,.record-row,.ledger-row,.fa5-tab-shell,.fa6-tab-shell,
 .sr7-tab-shell,.doc-section
){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;
 border-color:var(--fa9-line)!important;}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .panel,.card,.dn-panel,.an-risk-panel,.settings-card,.strategy-insight-panel,
 .analytics-trend-panel,.analytics-support-card,.monthly-detail-panel,
 .emerging-panel,.spm-panel,.records-section,.records-table,.dn8-evidence-card
) :is(h1,h2,h3,h4,.panel-title,.section-heading,.registry-intro h2){color:var(--fa9-text)!important}
/* The Match Registry alone is sufficient to prove the previous contrast bug. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .purple-registry>.panel-head,.panel-head,.dn-panel-head,.fa-pending-head,
 .table-head,.table-foot,.table-footer,.records-section-head,.fr-panel-head,
 .dn-notes-panel .dn-panel-head,.panel-body,.dn-panel-body,.detail-body
){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;
 border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .purple-registry>.panel-head h2,.panel-head h2,.panel-head h3,
 .dn-panel-head h2,.records-section-head h2,.details-title h2
){color:var(--fa9-text)!important}
/* Match filter area & all other form surfaces keep foreground/background together. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .registry-filters,.filters,.filter-panel,.filter-grid,.registry-filter-fields,
 .filter-card,.filter-bar,.analytics-filter-card,.report-filters,
 .sr7-tabs,.fa5-tabs,.fa6-tabs,.dn-tabs,.dn-toolbar,.rule-registry,
 .emerging-setup-card,.spm-table-wrap,.emerging-table-wrap,
 .form-section,.add-form-section,.edit-form-section,.pre-save-review,
 .doc-content,.doc-callout,.doc-section,.settings-view
){background:var(--fa9-soft)!important;color:var(--fa9-text)!important;
 border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .registry-filter-fields .control,.registry-filter-fields .small-select,
 .control,.small-select,input:not([type="checkbox"]):not([type="radio"]),select,textarea,
 .edit-control,.form-control
){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;
 border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .field label,.registry-filter-fields label,.filter-panel label,
 .filter-card label,.filters label,.form-section label,.add-form-section label,
 .edit-form-section label,.section-note,.kpi-sub,.kpi-note,.field-hint,.label
){color:var(--fa9-muted)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 input,textarea,.control,.small-select
)::placeholder{color:var(--fa9-muted)!important;opacity:1}
/* Tables: meaningful subtle header/row distinction in both modes. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 table,table tbody,table tbody tr,.table-wrap,.table-container,.records-table,
 .match-registry,.records-table-wrap,.monthly-grid,.record-row
){background-color:var(--fa9-surface)!important;color:var(--fa9-text)!important;
 border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 table thead,table thead tr,table thead th,.table-panel thead,
 .matches-sections-grid .purple-registry .table-wrap thead th
){background:var(--fa9-soft)!important;color:var(--fa9-muted)!important;
 border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 table tbody tr:nth-child(even),.table-panel tbody tr:nth-child(even)
){background:color-mix(in srgb,var(--fa9-surface) 70%,var(--fa9-soft) 30%)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 table tbody tr:hover,.table-panel tbody tr:hover,.table-panel tbody tr.selected
){background:var(--fa9-soft)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 table tbody td,table tbody th,table tbody td:not(.win):not(.loss)
){color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
/* KPI surfaces: preserve 4 outcome colours, remove bright light cards in dark modes. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 #matchesOverviewKpis>.kpi,.overview-match-kpis>.kpi,
 .fa4-overview-kpis>.kpi,.kpis>.kpi,.analytics-support-card,
 .strategy-match-kpis>.kpi,.em-kpi,.metric
){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;
 border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) #matchesOverviewKpis>.kpi.kpi-home{
 --accent:var(--fa9-positive)!important;--outline:var(--fa9-line)!important;
 background:var(--fa3-pale-positive)!important;border-color:color-mix(in srgb,var(--fa9-line),var(--fa9-positive) 20%)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) #matchesOverviewKpis>.kpi.kpi-draw{
 --accent:var(--fa9-warn)!important;--outline:var(--fa9-line)!important;
 background:var(--fa3-pale-warn)!important;border-color:color-mix(in srgb,var(--fa9-line),var(--fa9-warn) 20%)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) #matchesOverviewKpis>.kpi.kpi-away{
 --accent:var(--fa9-negative)!important;--outline:var(--fa9-line)!important;
 background:var(--fa3-pale-negative)!important;border-color:color-mix(in srgb,var(--fa9-line),var(--fa9-negative) 20%)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) #matchesOverviewKpis>.kpi.kpi-upcoming{
 --accent:var(--fa9-accent)!important;--outline:var(--fa9-line)!important;
 background:var(--fa3-pale-accent)!important;border-color:color-mix(in srgb,var(--fa9-line),var(--fa9-accent) 20%)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) #matchesOverviewKpis>.kpi :is(.kpi-label,.kpi-num,.kpi-icon){color:var(--accent)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) #matchesOverviewKpis>.kpi .kpi-icon{
 background:var(--fa9-surface)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) #matchesOverviewKpis>.kpi .kpi-accent-line{
 background:var(--accent)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) #matchesOverviewKpis>.kpi .kpi-sub{color:var(--fa9-muted)!important}
/* Other KPI numbers inherit the palette accent. Nonfinancial home/away semantics stay visible. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .kpi,.em-kpi,.analytics-support-card,.analytics-net-card,.metric
) :is(.kpi-value,.kpi-num,.metric-value,.analytics-support-value,.kpi-label){color:var(--fa9-accent)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .kpi-home,.kpi-wins,.support-wins
) :is(.kpi-value,.kpi-num,.analytics-support-value){color:var(--fa9-positive)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .kpi-away,.kpi-losses,.support-losses
) :is(.kpi-value,.kpi-num,.analytics-support-value){color:var(--fa9-negative)!important}
/* Restore original Match Details arrangement; only recolour its backgrounds and text. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .detail-body,.match-teams,.detail-info-grid,.detail-info-cell,
 .detail-tab-panel,.odds-triplet,.detail-odd,.fired-strategy-head,
 .strategy-empty,.detail-league-row,.detail-team,.match-meta
){background-color:var(--fa9-surface)!important;color:var(--fa9-text)!important;
 border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .detail-team .team-name,.detail-odd strong,.detail-info-value,.detail-ht,.ft,
 .details .detail-body h2,.detail-body .team-name
){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .detail-meta-item,.match-meta,.detail-subhead,.detail-info-label,.logo-help,.tab-hint
){color:var(--fa9-muted)!important}
/* Theme-aware standard controls, but never recolour outcome status badges. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .primary,.btn-primary,.primary-btn,button.primary,.page.active,
 .registry-filter-buttons .primary,.registry-filter-buttons button.apply,
 .fa6-tab[aria-selected="true"],.fa5-tab[aria-selected="true"]
){background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;
 border-color:var(--fa9-button)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) :is(
 .secondary,.btn-secondary,button.secondary,.page,.tab-button,
 .registry-filter-buttons .secondary
){background:var(--fa9-soft)!important;color:var(--fa9-text)!important;
 border-color:var(--fa9-line)!important}
/* Force modal header to remain readable, but don't override theme swatch colours. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #sharedSettingsModal :is(
 header,footer,.shared-settings-body
){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;
 border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #sharedSettingsModal :is(h2,label){color:var(--fa9-text)!important}
/* FIX18 Match Details uses unusually specific page rules; recolour, don't relayout. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details{
 background:var(--fa9-surface)!important;border-color:var(--fa9-line)!important;
 color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details .details-title{
 background:linear-gradient(115deg,var(--fa9-hero1),var(--fa9-hero2))!important;
 border-color:var(--fa9-line)!important;color:#fff!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details .details-title :is(h2,p){color:#fff!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details :is(
 .details-hero,.detail-body,.match-teams,.match-meta,.detail-tab-panel,
 #detailTabTime,#detailTabOdds,#detailTabStrategy,.fired-strategy-head,
 .strategy-plan-status-card,.fired-strategies-list,.detail-info-grid
){background:var(--fa9-surface)!important;border-color:var(--fa9-line)!important;
 color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details :is(
 .match-teams,.match-meta,#detailTabTime,#detailTabOdds,#detailTabStrategy,
 .fired-strategy-head,.strategy-plan-status-card
){background:var(--fa9-soft)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details :is(
 .detail-team .team-name,.team-name,.detail-info-value,.detail-subhead,
 .detail-meta-item,.fired-strategy-head strong,.strategy-plan-status-card strong
){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details :is(
 .match-meta,.ft,.detail-ht,.detail-info-label,.logo-help,.tab-hint,
 .detail-odd span,.detail-info-icon
){color:var(--fa9-muted)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details :is(
 .detail-info-cell,.logo-upload,.fired-count,.detail-league-mark
){background:var(--fa9-surface)!important;border-color:var(--fa9-line)!important;color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details #detailTabOdds .detail-odd{
 background:var(--fa3-pale-positive)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details #detailTabOdds .detail-odd:nth-child(2){background:var(--fa3-pale-warn)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details #detailTabOdds .detail-odd:nth-child(3){background:var(--fa3-pale-negative)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details #detailTabOdds .detail-odd strong{color:var(--fa9-positive)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details #detailTabOdds .detail-odd:nth-child(2) strong{color:var(--fa9-warn)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details #detailTabOdds .detail-odd:nth-child(3) strong{color:var(--fa9-negative)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details .big-score{
 background:linear-gradient(115deg,var(--fa9-hero1),var(--fa9-hero2))!important;color:#fff!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.app,#overviewView,#analytics,#plan1,#plan2,#strategies) main.matches-modern .right-stack .redesigned-details .fa18-odds-icon{
 background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important}

/* PHASE9_CROSSPAGE_CONTRACT_V4: only non-Ocean palettes; no layout changes. */
/* Page-specific banners and major headers with strong inline selectors. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView :is(.page-head.fa-unify-hero,.lifecycle-overview-header,#strategyPerformanceManager .spm-hero),
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView #strategyPerformanceManager .spm-hero,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView :is(.fa-unify-hero,.fa4-lifecycle-banner),
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategyMatchesView .strategy-profile-hero,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #reviewQueue>.row.between,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#plan1,#plan2,#analytics,#dataNotesView) .fa-unify-hero {
 background:radial-gradient(circle at 92% 7%,#ffffff1e,transparent 36%),linear-gradient(115deg,var(--fa9-hero1),var(--fa9-hero2))!important;
 border-color:var(--fa9-line)!important;color:#fff!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#strategiesListView,.app) :is(.lifecycle-overview-header,#strategyPerformanceManager .spm-hero,.fa-unify-hero,#reviewQueue>.row.between) :is(h1,h2,h3,p,.subtitle){color:#fff!important}
/* Lifecycle steps, qualification notes, registry sections and embedded page cards. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView :is(.lifecycle-overview,.lifecycle-steps,.lifecycle-step,.qualification-grid,.qualification-rule,.qualification-summary,.spm-content,.emerging-workspace,.strategy-summary,.spm-settings,.spm-registry-heading,.spm-qualification-note,.spm-table-wrap,.emerging-table-wrap,.spm-panel,.emerging-panel),
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#analytics,#plan1,#plan2,#dataNotesView) :is(.panel,.panel-body,.records-section,.records-table,.fa5-tab-shell,.fa6-tab-shell,.analytics-filter-card,.analytics-trend-panel,.risk-panel,.monthly-detail-panel,.dn-panel,.dn-panel-body),
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app :is(.sr-review .match-head,.sr-review .sr-matchup,.sr-review .sr-crest,.sr-push-dashboard,.sr-push-top,.sr-push-stat,.sr-push-line,.sr-connection,.match-card,.sr-review,.odds,.fa-pending-panel) {
 background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView :is(.lifecycle-overview,.lifecycle-step,.spm-content,.spm-settings,.emerging-workspace,.qualification-rule,.qualification-summary,.spm-qualification-note){background:var(--fa9-soft)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView :is(.lifecycle-overview,.lifecycle-step,.qualification-rule,.qualification-summary,.spm-content,.emerging-workspace,.spm-settings,.spm-qualification-note) :is(h2,h3,h4,strong,p,span,small){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#strategiesListView,#strategyMatchesView) :is(.spm-panel,.emerging-panel,.lifecycle-overview,.spm-settings,.strategy-match-kpis,.panel) :is(h1,h2,h3,h4,.panel-title){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView #strategyPerformanceManager.spm-panel{background:var(--fa9-surface)!important;border-color:var(--fa9-line)!important}
/* Do not erase the lifecycle's blue link arrows; recolour them to the selected accent. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView :is(.lifecycle-arrow,.lifecycle-icon,.qualification-label,.lifecycle-heading){color:var(--fa9-accent)!important}
/* Fix page-specific cards which hard-code white and light blue. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#overviewView,#analytics,#plan1,#plan2,#strategiesListView,#dataNotesView,.app) :is(.data-table,.panel .panel-head,.tabs,.tab-panel,.stat-card,.summary-card,.qual-rule,.risk-card,.detail-card,.kpi-card,.fa4-lifecycle-panel,.fa5-tab-panel,.fa6-tab-panel,.dn8-evidence-card,.dn8-tab-card,.dn-subpanel,.fa7-main-panel){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#analytics,#plan1,#plan2,#dataNotesView,.app) :is(.fa5-tab,.fa6-tab,.sr7-tab,.dn-tab,.tab-btn,.tab-button){color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#analytics,#plan1,#plan2,#dataNotesView,.app) :is(.fa5-tab[aria-selected="true"],.fa6-tab[aria-selected="true"],.sr7-tab[aria-selected="true"],.dn-tab[aria-selected="true"],.tab-btn.active){background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;border-color:var(--fa9-button)!important}
/* SoccerRating statuses, buttons, waiting queue and visual evidence, with original HTML structure retained. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app :is(.sr-review .match-head h3,.sr-review .sr-team-name,.sr-push-top strong,.sr-push-stat strong,.panel h2,.match-head h3){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app :is(.sr-review .sr-date,.sr-review .sr-center small,.sr-push-top small,.sr-push-stat small,.scan-count,.logos,.note,.subtitle){color:var(--fa9-muted)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app :is(.sr-review .sr-add-logo,#reviewQueue #reloadBtn,.btn.secondary,.chip,.sr-odds>div,.sr-push-pill.neutral){background:var(--fa9-soft)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app :is(.btn:not(.secondary):not(.danger),.sr7-tab.active){background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;border-color:var(--fa9-button)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app .sr-review .sr-odds .sr-home{background:var(--fa9-successbg)!important;color:var(--fa9-positive)!important;border-color:var(--fa9-positive)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app .sr-review .sr-odds .sr-draw{background:var(--fa3-pale-warn)!important;color:var(--fa9-warn)!important;border-color:var(--fa9-warn)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app .sr-review .sr-odds .sr-away{background:var(--fa9-dangerbg)!important;color:var(--fa9-negative)!important;border-color:var(--fa9-negative)!important}
/* Secondary connected-status and review section banners were otherwise left blue. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app :is(#reviewQueue>.row.between,.sr7-section-head,.sr7-banner,.sr-push-banner){background:linear-gradient(115deg,var(--fa9-hero1),var(--fa9-hero2))!important;color:#fff!important}
/* Maintain semantic ledger outcome colours; avoid replacing them with generic theme text. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.win,.profit,.positive,.settlement-win){color:var(--fa9-positive)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.loss,.negative,.settlement-loss){color:var(--fa9-negative)!important}
/* Shared focus styles for actual keyboard navigation. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--fa9-accent)!important;outline-offset:2px!important}
/* Strategy page contains separate header and lifecycle CSS with !important values. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .page-head,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .lifecycle-top{
 background:radial-gradient(circle at 90% 0%,rgba(255,255,255,.16),transparent 38%),linear-gradient(115deg,var(--fa9-hero1),var(--fa9-hero2))!important;color:#fff!important;border-color:var(--fa9-line)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .lifecycle-flow,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .qualification-card,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .lifecycle-node,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .lifecycle-return {
 background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .lifecycle-node{background:var(--fa9-soft)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .lifecycle-return{background:var(--fa9-soft)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView :is(.lifecycle-node,.lifecycle-return) :is(strong,span,b,small){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .lifecycle-top :is(.lifecycle-title,.lifecycle-auto){color:#fff!important}
/* Keep rule outcome values distinct from label text. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .qualification-card :is(.blue,.purple){color:var(--fa9-accent)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .qualification-card .green{color:var(--fa9-positive)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .qualification-card :is(.red,.negative){color:var(--fa9-negative)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .qualification-card .amber{color:var(--fa9-warn)!important}
/* Page root override: Strategies sets body:has() !important to a light colour. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body:has(#strategiesListView),
html[data-fa-theme]:not([data-fa-theme="ocean"]) body:has(.matches-modern),
html[data-fa-theme]:not([data-fa-theme="ocean"]) body:has(#analytics),
html[data-fa-theme]:not([data-fa-theme="ocean"]) body:has(#plan1),
html[data-fa-theme]:not([data-fa-theme="ocean"]) body:has(#plan2),
html[data-fa-theme]:not([data-fa-theme="ocean"]) body:has(#overviewView) {
 background:var(--fa9-bg)!important;color:var(--fa9-text)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView :is(.spm-content,.spm-registry-heading,.emerging-content,.emerging-workspace,.lifecycle-flow,.qualification-card,.spm-qualification-note,.emerging-setup-card){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView :is(.lifecycle-node,.lifecycle-return,.spm-settings,.emerging-workspace){background:var(--fa9-soft)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView :is(.spm-content,.emerging-content,.spm-registry-heading,.spm-qualification-note) :is(h1,h2,h3,h4,strong){color:var(--fa9-text)!important}
/* Recolour fixed blue pills only when they're not financial result badges. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView :is(.fa4-rule-title,.spm-live-tag,.qualification-tag,.lifecycle-node small){background:var(--fa9-soft)!important;color:var(--fa9-accent)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .lifecycle-top .lifecycle-auto{background:#ffffff24!important;color:#fff!important;border-color:#ffffff66!important}
/* Plan 1/2: visible performance ledger uses a completely separate visual system. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#plan1,#plan2) .performance-ledger,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#plan1,#plan2) .performance-ledger :is(header,footer,dl,.ledger-row){
 background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#plan1,#plan2) .performance-ledger :is(h2,dt,dd){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#plan1,#plan2) .performance-ledger :is(.ledger-eyebrow,.ledger-profit dt){color:var(--fa9-accent)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#plan1,#plan2) .performance-ledger .ledger-profit{background:var(--fa9-successbg)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#plan1,#plan2) .performance-ledger :is(.ledger-win dd,.ledger-profit dd:not(.negative)){color:var(--fa9-positive)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#plan1,#plan2) .performance-ledger :is(.ledger-loss dd,.ledger-profit dd.negative){color:var(--fa9-negative)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#plan1,#plan2) :is(.plan-trend-controls,.plan-trend-filter,.plan-trend-toolbar,.plan-trend-summary,.plan-trend-card,.plan-trend-table,.plan-trend-total,.trend-summary,.trend-metrics,.trend-metric){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
/* Active tab buttons must use this theme, never a residual blue gradient. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .fa4-tabs{background:var(--fa9-surface)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .fa4-tabs button{background:var(--fa9-soft)!important;border-color:var(--fa9-line)!important;color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .fa4-tabs button[aria-selected="true"],
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .fa4-tabs button[aria-selected="true"] b{background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;border-color:var(--fa9-button)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView .fa4-tabs button[aria-selected="true"] small{color:var(--fa9-buttonText)!important}
/* Avoid bright white chart/summary boxes in dark mode. */
html[data-fa-theme-mode="dark"] body :is(#plan1,#plan2,#analytics,#strategiesListView,.app) :is(.chart-summary,.chart-panel,.chart-metrics,.chart-card,.plan-trend-chart,.plan-trend-svg-wrapper,.plan-trend-quick-stat,.fa5-report-card,.fa6-report-card,.fa7-report-card,.fa4-rule-card){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
/* V4 extended audit: nested white surfaces detected on dark palettes. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #overviewView :is(.mini-stat,.quick-link,.quick-links a,.pill){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #overviewView :is(.mini-stat,.quick-link) :is(h2,h3,strong,span,small,p){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #overviewView .banner-btn-primary{background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;border-color:var(--fa9-button)!important}
html[data-fa-theme-mode="dark"] body :is(#overviewView,#strategiesListView) .kpi-icon,
html[data-fa-theme-mode="dark"] body #analytics .analytics-support-icon{background:var(--fa9-soft)!important;border-color:var(--fa9-line)!important;color:var(--fa9-accent)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics :is(.analytics-settlement-strip,.analytics-trend-periods,.analytics-trend-summary,.analytics-trend-empty,.analytics-trend-summary h3){background:var(--fa9-soft)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics #analyticsCombinedTrend.analytics-trend-panel,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics #analyticsCombinedTrend :is(.analytics-trend-periods,.analytics-trend-summary,.analytics-trend-empty,.analytics-trend-summary h3){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics #analyticsCombinedTrend :is(h2,h3,h4,strong,p){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics .analytics-settlement-icon{background:var(--fa9-surface)!important;color:var(--fa9-accent)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView #strategyPerformanceManager :is(.spm-content,.spm-status-line,.spm-setting-pill){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView #strategyPerformanceManager :is(.spm-setting-pill,.spm-status-line){background:var(--fa9-soft)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView #strategyPerformanceManager :is(.spm-content,.spm-setting-pill,.spm-status-line) :is(h2,h3,strong,small,b,span){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #strategiesListView #strategyPerformanceManager table thead :is(th,td){background:var(--fa9-soft)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#plan1,#plan2) :is(.plan-trend-periods,.plan-trend-disclosure,.strategy-analysis-bar,.strategy-insight-pill){background:var(--fa9-soft)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#plan1,#plan2) :is(.plan-trend-summary,.plan-trend-summary h3,.plan-trend-summary-card,.plan-trend-graph-summary,.graph-summary h3,.plan-trend-stats){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(#plan1,#plan2) :is(.plan-trend-summary,.plan-trend-graph-summary,.graph-summary) :is(h2,h3,h4,span,strong){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app .empty{background:var(--fa9-soft)!important;color:var(--fa9-muted)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #dataNotesView :is(.dn-notice,.dn8-evidence-head,.dn8-evidence-note,.dn8-evidence-grid>div,.dn8-evidence-stats>div,.dn8-evidence-kpis>div,.doc-content a){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #dataNotesView :is(.dn8-evidence-head,.dn8-evidence-stats,.dn8-evidence-kpis) :is(h2,h3,strong,span,p){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #dataNotesView .data-hero-add{background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;border-color:var(--fa9-button)!important}
/* Data & Notes has no #dataNotesView wrapper; target its actual main.main structure. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body main.main :is(.dn-notice,.dn8-evidence-head,.dn8-evidence-grid>div,.dn8-evidence-note,.dn-guide-grid a,.dn-guide-link,.doc-link,.dn8-evidence-head>span,.dn8-evidence-card,.dn8-doc-update){background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body main.main :is(.dn8-evidence-head,.dn8-evidence-grid,.dn-guide-grid,.dn8-evidence-card) :is(h1,h2,h3,b,strong,small,p,span){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body main.main .dn8-evidence-head>span{background:var(--fa9-soft)!important;color:var(--fa9-accent)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body main.main .dn8-evidence-note{background:var(--fa9-soft)!important;color:var(--fa9-muted)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body main.main .dn8-evidence-grid b{color:var(--fa9-accent)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body main.main .dn8-evidence-grid small{color:var(--fa9-muted)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body main.main .data-hero-add{background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;border-color:var(--fa9-button)!important}
/* Original Overview KPI design stays on Ocean; other themes use matching icon surfaces. */
html[data-fa-theme-mode="dark"] body #overviewView .overview-match-kpis>.kpi .kpi-icon,
html[data-fa-theme-mode="dark"] body #strategiesListView .kpis>.kpi .kpi-icon{background:var(--fa9-soft)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body main.main .dn-guide-links a{background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body main.main .dn-guide-links a:hover{background:var(--fa9-soft)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body main.main .mini-btn{background:var(--fa9-soft)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}

/* PHASE9_SEMANTIC_PALETTE_V5. These variables are deliberately undefined on Ocean,
   so all page-local var() fallbacks retain the original Ocean Blue design. */
html[data-fa-theme]{
 --fa9v5-bg:var(--fa9-bg);--fa9v5-surface:var(--fa9-surface);
 --fa9v5-soft:var(--fa9-soft);--fa9v5-text:var(--fa9-text);
 --fa9v5-muted:var(--fa9-muted);--fa9v5-line:var(--fa9-line);
 --fa9v5-hero1:var(--fa9-hero1);--fa9v5-hero2:var(--fa9-hero2);
 --fa9v5-button:var(--fa9-button);--fa9v5-buttonText:var(--fa9-buttonText);
 --fa9v5-accent:var(--fa9-accent);--fa9v5-positive:var(--fa9-positive);
 --fa9v5-negative:var(--fa9-negative);--fa9v5-warn:var(--fa9-warn);
 --fa9v5-purple:var(--fa9-purple);
 --fa9v5-positiveTint:color-mix(in srgb,var(--fa9-surface) 87%,var(--fa9-positive) 13%);
 --fa9v5-negativeTint:color-mix(in srgb,var(--fa9-surface) 87%,var(--fa9-negative) 13%);
 --fa9v5-warnTint:color-mix(in srgb,var(--fa9-surface) 87%,var(--fa9-warn) 13%);
 --fa9v5-purpleTint:var(--fa9-purplebg);
 --fa9v5-accentTint:color-mix(in srgb,var(--fa9-surface) 85%,var(--fa9-accent) 15%);
 --fa9v5-shadow:var(--fa9-shadow);
}
/* Normalize the high-specificity analytics tab, trend, KPI, and registry semantics. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics .fa3-tab-shell,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics #fa3AnalyticsTabs{
 background:var(--fa9-soft)!important;border-color:var(--fa9-line)!important;color:var(--fa9-text)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics .fa3-tab{
 background:var(--fa9-surface)!important;border-color:var(--fa9-line)!important;color:var(--fa9-text)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics .fa3-tab[aria-selected="true"]{
 background:linear-gradient(120deg,var(--fa9-hero1),var(--fa9-hero2))!important;
 border-color:var(--fa9-hero2)!important;color:#fff!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics #analyticsCombinedTrend .analytics-trend-heading{
 background:linear-gradient(120deg,var(--fa9-hero1),var(--fa9-hero2))!important;color:#fff!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics #analyticsCombinedTrend .analytics-trend-heading :is(h2,p){color:#fff!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics .analytics-net-card{
 background:linear-gradient(120deg,var(--fa9-hero1),var(--fa9-hero2))!important;color:#fff!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics .analytics-net-card :is(.analytics-net-value,.analytics-net-kpi,.analytics-net-label,.analytics-net-roi){color:#fff!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics .analytics-net-card :is(.analytics-net-value,.net-value,.an-net-value){color:var(--fa9-positive)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics :is(.analytics-trend-summary,.analytics-trend-layout,.analytics-trend-chart,.an-risk-chart-wrap,#filteredRegistryPanel,.fr-summary-strip,.fr-filter-sidebar){
 background:var(--fa9-surface)!important;color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics #analyticsCombinedTrend .analytics-trend-summary :is(h3,h4,strong){color:var(--fa9-text)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics :is(.fa3-tab-icon,.an-risk-chart-title){color:var(--fa9-accent)!important}/* FA_ANALYTICS_TREND_SOURCE_CONTRAST_V1 */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics #filteredRegistryPanel :is(.fr-details-btn,.fr-open-btn,.fr-detail-btn){background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;border-color:var(--fa9-button)!important}
/* Keep semantic green/red and contextual outcome chips distinct. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.result-win,.settlement-win,.profit-value){color:var(--fa9-positive)!important}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body :is(.result-loss,.settlement-loss,.loss-value){color:var(--fa9-negative)!important}
/* Sidebar must follow palette too: no residual blue icons, headings, or football logo background. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .ball,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .ball{
 background:linear-gradient(135deg,var(--fa9-button),var(--fa9-hero2))!important;
 box-shadow:0 6px 16px color-mix(in srgb,var(--fa9-button) 25%,transparent)!important;
 color:var(--fa9-buttonText)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar :is(.nav-group-title,.brand-copy small,.sidebar-chevron,.profile-more),
html[data-fa-theme]:not([data-fa-theme="ocean"]) body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav-group-title{
 color:color-mix(in srgb,#fff 62%,var(--fa9-hero2) 38%)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar :is(.nav a .ico,.settings .ico,.sidebar-settings .ico),
html[data-fa-theme]:not([data-fa-theme="ocean"]) body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav a .ico{
 color:color-mix(in srgb,#fff 75%,var(--fa9-hero2) 25%)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar .nav a.active .ico,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .nav a.active .ico{
 color:#fff!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar :is(.nav a.active,.sidebar-settings.active){
 background:linear-gradient(125deg,var(--fa9-hero1),var(--fa9-hero2))!important;
 border-color:var(--fa9-hero2)!important;color:#fff!important;
 box-shadow:inset 3px 0 0 var(--fa9-accent)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell>aside.sidebar.fa-shared-sidebar :is(.sidebar-head,.nav-group,.sidebar-footer){
 border-color:color-mix(in srgb,#fff 17%,transparent)!important;
}
/* The Analytics net P&L card is a HERO card in every theme, never light on light. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell main#analytics .analytics-summary .analytics-net-card{
 background:linear-gradient(120deg,var(--fa9-hero1),var(--fa9-hero2))!important;
 color:#fff!important;border-color:color-mix(in srgb,var(--fa9-hero2),white 20%)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell main#analytics .analytics-summary .analytics-net-card :is(h1,h2,h3,h4,.analytics-net-label,.analytics-net-value,.analytics-net-amount,.analytics-net-sub,.analytics-net-roi,.analytics-net-roi-value,.analytics-net-kpi,.analytics-net-hint){
 color:#fff!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell main#analytics .analytics-summary .analytics-net-card :is(.analytics-net-mini,.analytics-net-stat,.analytics-net-orb){
 border-color:color-mix(in srgb,#fff 28%,transparent)!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell main#analytics .analytics-summary .analytics-net-card :is(.analytics-net-description,.analytics-net-details,.analytics-net-details span,.analytics-net-details b,small){
 color:#fff!important;
}
html[data-fa-theme]:not([data-fa-theme="ocean"]) body .app.fa-sidebar-shell main#analytics .analytics-summary .analytics-net-card .analytics-net-details>div{
 background:color-mix(in srgb,#fff 11%,transparent)!important;
 border-color:color-mix(in srgb,#fff 27%,transparent)!important;
 color:#fff!important;
}
/* Remove the last two hard-coded light-blue KPI outlines from non-Ocean themes. */
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #overviewView .overview-match-kpis>.kpi.kpi-records,
html[data-fa-theme]:not([data-fa-theme="ocean"]) body #analytics .analytics-support-grid>.analytics-support-card.support-total{
 border-color:color-mix(in srgb,var(--fa9-line) 78%,var(--fa9-accent) 22%)!important;
}



/* FA9_V7_CONTRAST: exact palette contrast corrections based on WCAG AA text ratios. */
html[data-fa-theme="ocean"]{--fa9-muted:#455d83;--fa9-positive:#08744f;--fa9-negative:#ba2646;--fa9-warn:#8c5c08;} /* min muted: 6.03:1 */
html[data-fa-theme="midnight"]{--fa9-muted:#aabddd;--fa9-positive:#66dca1;--fa9-negative:#ff8292;--fa9-warn:#ffca6f;} /* min muted: 6.93:1 */
html[data-fa-theme="emerald"]{--fa9-muted:#3f655b;--fa9-positive:#09764c;--fa9-negative:#be3152;--fa9-warn:#8d5e14;} /* min muted: 6.05:1 */
html[data-fa-theme="royal"]{--fa9-muted:#65547e;--fa9-positive:#0e7354;--fa9-negative:#b82a58;--fa9-warn:#8c5a0a;} /* min muted: 6.04:1 */
html[data-fa-theme="graphite"]{--fa9-muted:#b4bfcc;--fa9-positive:#69e0aa;--fa9-negative:#ff8d98;--fa9-warn:#f6cc78;} /* min muted: 7.11:1 */
html[data-fa-theme="coral"]{--fa9-muted:#755563;--fa9-positive:#09764d;--fa9-negative:#b82c48;--fa9-warn:#8e5c1a;} /* min muted: 6.01:1 */
html[data-fa-theme="arctic"]{--fa9-muted:#436177;--fa9-positive:#077654;--fa9-negative:#b72d51;--fa9-warn:#8a5f1c;} /* min muted: 6.06:1 */
html[data-fa-theme="rose"]{--fa9-muted:#78536b;--fa9-positive:#0d7755;--fa9-negative:#bb2a56;--fa9-warn:#8f5e1b;} /* min muted: 6.06:1 */
html[data-fa-theme="terra"]{--fa9-muted:#6e5848;--fa9-positive:#16744a;--fa9-negative:#b83647;--fa9-warn:#865e15;} /* min muted: 6.05:1 */
html[data-fa-theme="slate"]{--fa9-muted:#485d73;--fa9-positive:#0c7251;--fa9-negative:#b72e4e;--fa9-warn:#865c1d;} /* min muted: 6.04:1 */
html[data-fa-theme="crimson"]{--fa9-muted:#d1abbc;--fa9-positive:#6fdfa7;--fa9-negative:#ff8c9d;--fa9-warn:#ffd083;} /* min muted: 6.58:1 */
html[data-fa-theme="aurora"]{--fa9-muted:#a1c5cb;--fa9-positive:#6ae2b1;--fa9-negative:#fe92a5;--fa9-warn:#f8ce76;} /* min muted: 6.00:1 */


/* FA THEME CONTRAST CORE — source-grounded semantic roles, 18 Nov 2026.
   This layer is deliberately loaded AFTER page styles. It only changes presentation.
   Colours are resolved from the single selected html[data-fa-theme] palette.
*/
html[data-fa-theme]{
 --fa-contrast-ink:var(--fa9-text);
 --fa-contrast-muted:var(--fa9-muted);
 --fa-contrast-panel:var(--fa9-surface);
 --fa-contrast-panel-soft:var(--fa9-soft);
 --fa-contrast-stroke:var(--fa9-line);
 --fa-contrast-cta:var(--fa9-button);
 --fa-contrast-cta-text:var(--fa9-buttonText);
 --fa-contrast-win:var(--fa9-positive);
 --fa-contrast-loss:var(--fa9-negative);
 --fa-contrast-draw:var(--fa9-warn);
}
/* Accurate brand-specific theme button foregrounds, including pale gold on dark surfaces. */
html[data-fa-theme] body #overviewView .overview-blue-banner .banner-btn-primary,
html[data-fa-theme] body #overviewView .banner-btn-primary{
 background:var(--fa-contrast-cta)!important;
 border-color:var(--fa-contrast-cta)!important;
 color:var(--fa-contrast-cta-text)!important;
}
html[data-fa-theme] body #overviewView .banner-btn-primary *{color:inherit!important}
/* Overview navigation: the previous patch changed the text to white but left white link surfaces. */
html[data-fa-theme] body #overviewView :is(.quick-link,.quick-link:hover){
 color:var(--fa-contrast-ink)!important;
 background:var(--fa-contrast-panel)!important;
 border-color:var(--fa-contrast-stroke)!important;
}
html[data-fa-theme] body #overviewView .quick-link strong{color:var(--fa-contrast-ink)!important}
html[data-fa-theme] body #overviewView .quick-link :is(small,.quick-arrow){color:var(--fa-contrast-muted)!important}
html[data-fa-theme] body #overviewView :is(.footnote,.snapshot-stat span,.kpi-stat-label){color:var(--fa-contrast-muted)!important}
/* Plan 2 route counters and route tiles must never be white on white. */
html[data-fa-theme] body #plan2 .plan2-blue-hero .plan2-route-count{
 color:#fff!important;
 background:color-mix(in srgb,var(--fa9-hero1) 85%,#000 15%)!important;
 border-color:rgba(255,255,255,.42)!important;
}
html[data-fa-theme] body #plan2 .plan2-blue-hero .plan2-route-count *{color:inherit!important}
/* Semantic positive/negative/warning text for every theme; don't reuse fixed light-mode greens on dark cards. */
html[data-fa-theme] body #analytics :is(.analytics-trend-green,#analyticsTrendWins,#kpiLongestWin,#kpiBestProfit,#kpiLeastProfit,#frKpiWins){color:var(--fa-contrast-win)!important}
html[data-fa-theme] body #analytics :is(.analytics-trend-red,#analyticsTrendLosses,#kpiLongestLoss,#kpiWorstProfit,#kpiLeastLoss,#frKpiLosses){color:var(--fa-contrast-loss)!important}
html[data-fa-theme] body :is(#plan1,#plan2) #registeredRules .fa-rule-logic .fa-rule-example-outcome{
 color:var(--fa-contrast-win)!important;
 background:var(--fa9-successbg)!important;
 border:1px solid color-mix(in srgb,var(--fa9-positive) 35%,var(--fa9-line))!important;
}
html[data-fa-theme] body #plan2 #combinationPerformance :is(#combinationHome,th:nth-child(3),td:nth-child(3)){
 color:var(--fa-contrast-win)!important;background:var(--fa9-successbg)!important;
}
html[data-fa-theme] body #plan2 #combinationPerformance :is(#combinationDraw,th:nth-child(4),td:nth-child(4)){
 color:var(--fa-contrast-draw)!important;background:var(--fa9-soft)!important;
}
html[data-fa-theme] body #plan2 :is(#visiblePill,#combinationCount){color:var(--fa-contrast-ink)!important;background:var(--fa9-soft)!important}
html[data-fa-theme] body :is(#plan1,#plan2) .empty-icon{color:var(--fa9-accent)!important}
/* SoccerRating still had multiple light-only diagnostic panels and washed-out explanatory captions. */
html[data-fa-theme] body #soccerratingImporter :is(.empty,.sr-push-dashboard,.sr-push-panel),
html[data-fa-theme] body :is(#scanReportPanel,#pendingList,#dismissedList,#sr7-notifications-original) .empty{
 color:var(--fa-contrast-muted)!important;background:var(--fa-contrast-panel-soft)!important;border-color:var(--fa-contrast-stroke)!important;
}
html[data-fa-theme] body :is(#scanReportPanel,#pendingList,#dismissedList,#sr7-notifications-original) .empty,
html[data-fa-theme] body .sr-push-dashboard :is(small,.sr-push-timestamp,.sr-push-explainer),
html[data-fa-theme] body #soccerratingImporter :is(.subtitle,.empty,.sr-push-timestamp){color:var(--fa-contrast-muted)!important}
/* Data and Notes: warning labels remain readable on dark cards. */
html[data-fa-theme] body main.main .pill.warn{color:var(--fa-contrast-draw)!important;background:var(--fa9-soft)!important}
/* Informational text is content, not decoration: normal-text contrast across tables, filters and empty states. */
html[data-fa-theme] body :is(#analytics,#plan1,#plan2) :is(th,.empty,.plan-trend-note,.fr-filter-note,.an-risk-method,.fr-match-toolbar p,.fr-match-head p,.fr-filter-sidebar p,.fr-pager span,.page-info,.page-number,.subtle,.footer-note,.filter-field){color:var(--fa-contrast-muted)!important}
html[data-fa-theme] body #analytics :is(.fr-risk-hint,.an-risk-sample,.analytics-trend-empty,.an-risk-method,.analytics-section-heading>p){color:var(--fa-contrast-muted)!important}
html[data-fa-theme] body #analytics .fr-period-kpi :is(#frKpiWins,#frKpiLosses){font-weight:900!important}
html[data-fa-theme] body #strategies :is(.spm-settings-title,.spm-status-line,.spm-registry-head p,.spm-note-icon,.spm-settings-grid b){color:var(--fa-contrast-muted)!important}
html[data-fa-theme] body main.main :is(.dn-panel-head p,.dn-sheet-empty,.dn-pulse-list small,.dn-panel small,.dn-panel .empty-state,.dn-pill small){color:var(--fa-contrast-muted)!important}
html[data-fa-theme] body #overviewView :is(.kpi-stat-label,.snapshot-stat span){color:var(--fa-contrast-muted)!important}
/* Ocean Blue is included in the correction; it is not exempt from accessibility. */
html[data-fa-theme="ocean"] body :is(#analytics,#plan1,#plan2) :is(.plan-trend-title span,.plan-trend-note,.empty,.fr-filter-note,.page-info,.page-number,.filter-field,.filter-field label,th,.footnote){color:var(--fa9-muted)!important}
html[data-fa-theme="ocean"] body #analytics :is(.fr-search p,.fr-match-toolbar p,.fr-match-note,.fr-stats-subtitle,.analytics-trend-empty){color:var(--fa9-muted)!important}
html[data-fa-theme="ocean"] body #plan1 :is(#analysisPopulation,#tableSummary,#footerCount,#ruleFooterCount,.fa-rule-arrow){color:var(--fa9-muted)!important}
html[data-fa-theme="ocean"] body #plan2 :is(#analysisPopulation,#tableSummary,#footerCount,#ruleFooterCount,#combinationFootnote,.fa-rule-arrow){color:var(--fa9-muted)!important}
html[data-fa-theme="ocean"] body #strategies :is(.spm-settings-title,.spm-status-line,.spm-note-icon,.spm-registry-head p,.spm-setting b){color:var(--fa9-muted)!important}
html[data-fa-theme="ocean"] body #overviewView :is(.quick-arrow,.quick-link small,.footnote,.snapshot-stat span){color:var(--fa9-muted)!important}
html[data-fa-theme="ocean"] body main.main :is(.dn-panel small,.dn-sheet-empty,.dn-panel-head small,.dn-panel-head p){color:var(--fa9-muted)!important}
/* KPI cards: labelled data must never inherit opacity-reduced and low-contrast muted values. */
html[data-fa-theme] body :is(.kpi,.em-kpi,.fa6-kpi,.analytics-support-card,.dashboard-kpi,.metric) :is(.kpi-label,.kpi-sub,.kpi-note,.kpi-num,.metric-label,.metric-value,.analytics-support-value,.analytics-support-label){opacity:1!important}
/* Preserve brand palette, not any fixed global blue. */
html[data-fa-theme] body :is(.fa6-tabs button[aria-selected="true"],.fa5-tabs button[aria-selected="true"],.analytics-nav-tab[aria-selected="true"]){background:var(--fa9-hero1)!important;color:#fff!important}

/* Focused fixes for the Ocean palette, whose original bright-blue controls used low-contrast white text. */
html[data-fa-theme="ocean"] body :is(#analytics,#plan1,#plan2) button:is(.analytics-trend-period.active,.plan-trend-period.active),
html[data-fa-theme="ocean"] body .matches-modern button.primary,
html[data-fa-theme="ocean"] body .matches-modern button.page.active,
html[data-fa-theme="ocean"] body #soccerratingImporter :is(#checkBtn,#testBtn){background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;border-color:var(--fa9-button)!important}
html[data-fa-theme="ocean"] body :is(#checkBtn,#testBtn){background:var(--fa9-button)!important;color:var(--fa9-buttonText)!important;border-color:var(--fa9-button)!important}

html[data-fa-theme="ocean"] body .matches-modern #filters .registry-filter-buttons button.primary{background:#0757ba!important;color:#fff!important;border-color:#0757ba!important}

/* High-contrast copy ON gradient banners: foreground role is white rather than muted text. */
html[data-fa-theme] body :is(.overview-blue-banner,.blue-matches-banner) :is(
 .banner-center,.banner-record-label,.banner-health-text,.banner-sheet-stat span,.banner-title-wrap p,
 .banner-health-label,.banner-meta,.banner-record-stat small){color:#fff!important;opacity:1!important}
html[data-fa-theme] body :is(.analytics-unified-banner,.plan1-blue-hero,.plan2-blue-hero) :is(
 .crumb,.eyebrow,.status #dataStatus,.analytics-scope-tags span,.plan2-summary-intro p,
 .plan2-route-card small,.plan2-route-card p,.banner-subtitle){color:#fff!important;opacity:1!important}
html[data-fa-theme] body .spm-hero :is(.spm-live-tag,.spm-manager-state span,.spm-lifecycle-label,.spm-lifecycle-grid span,.spm-lifecycle small){color:#fff!important;opacity:1!important}
html[data-fa-theme] body .data-hero :is(.data-hero-eyebrow,.data-hero-stat .label,.data-hero-stat .sub,.data-hero-stat .label span,.data-hero-stat .sub span){color:#fff!important;opacity:1!important}
/* Headline and supporting copy should remain visible on banners without changing the
   controls' independent background/foreground pairs. */
html[data-fa-theme] body :is(.overview-blue-banner,.blue-matches-banner,.analytics-unified-banner,.plan1-blue-hero,.plan2-blue-hero,.spm-hero,.data-hero,.hero) :is(h1,h2,.hero-title,.banner-title){color:#fff!important}

/* Source-audited KPI, settlement and data-quality status foregrounds. */
html[data-fa-theme] body .app main.matches-modern #matchesOverviewKpis>.kpi.kpi-home :is(.kpi-label,.kpi-sub){color:var(--fa9-positive)!important}
html[data-fa-theme] body .app main.matches-modern #matchesOverviewKpis>.kpi.kpi-draw :is(.kpi-label,.kpi-sub){color:var(--fa9-warn)!important}
html[data-fa-theme] body #strategies .qualification-card b.amber{color:var(--fa9-warn)!important}
html[data-fa-theme] body .detail-result-badge.upcoming{color:var(--fa9-warn)!important;background:var(--fa9-soft)!important}
html[data-fa-theme] body #analytics .analytics-support-card.support-wins :is(.analytics-support-label,.analytics-support-sub,.analytics-support-value){color:var(--fa9-positive)!important}
html[data-fa-theme] body #analytics .analytics-support-card.support-losses :is(.analytics-support-label,.analytics-support-sub,.analytics-support-value){color:var(--fa9-negative)!important}
html[data-fa-theme] body main.main .dn-pulse-badge.pending{color:var(--fa9-warn)!important;background:var(--fa9-soft)!important}
/* Core component pairs: background and foreground must be assigned together. */
html[data-fa-theme] body .plan1-blue-hero .notice,
html[data-fa-theme] body .analytics-unified-banner .status,
html[data-fa-theme] body .plan2-blue-hero .status{
 background:rgba(0,0,0,.22)!important;
 border-color:rgba(255,255,255,.38)!important;
 color:#fff!important;
}
html[data-fa-theme] body #plan2 .plan2-blue-hero :is(.fa6-banner-counts,.plan2-summary){
 background:rgba(0,0,0,.25)!important;
 border-color:rgba(255,255,255,.36)!important;
 color:#fff!important;
}
html[data-fa-theme] body #plan2 .plan2-blue-hero .fa6-banner-stat :is(small,strong){color:#fff!important;opacity:1!important}
html[data-fa-theme] body #plan2 .plan2-blue-hero .plan2-route-card{
 background:rgba(0,0,0,.24)!important;border-color:rgba(255,255,255,.38)!important;color:#fff!important;
}
html[data-fa-theme-mode="dark"] body :is(#plan1,#plan2,#analytics,#strategiesListView) :is(input,select,textarea){
 color:var(--fa9-text)!important;background:var(--fa9-surface)!important;border-color:var(--fa9-line)!important;
}
html[data-fa-theme]:not(.fa-nav-ready) body :is(.overview-blue-banner,.blue-matches-banner,.analytics-unified-banner,.plan1-blue-hero,.plan2-blue-hero,.data-hero,.spm-hero){transition:none!important}
/* One semantic type hierarchy for labels, without converting captions into button text. */
html[data-fa-theme]{--fa9v5-onHero:#fff;--fa9v5-ink:var(--fa9-text);--fa9v5-onSurface:var(--fa9-text);--fa9v5-subtle:var(--fa9-muted)}
/* Details route matches the same surface/foreground pairs as other pages. */
html[data-fa-theme] body .strategy-match-main :is(.panel,.kpi,.strategy-insight-metric,.strategy-graph-panel){color:var(--fa9-text)!important;border-color:var(--fa9-line)!important}
html[data-fa-theme] body .strategy-match-main :is(.kpi-label,.kpi-sub,.page-head p,.panel-head p,.strategy-insight-body p){color:var(--fa9-muted)!important;opacity:1!important}

/* FA_THEME_LIVE_ROLE_REFACTOR_V8_20261118 */
/* FA_THEME_V9_CHART_STATUS_CONTRAST_20261118 — role-first, no CSS specificity overrides. */
html[data-fa-theme]{
 --fa9v9-chartText:var(--fa9-muted);
 --fa9v9-chartGrid:var(--fa9-line);
 --fa9v9-chartZero:var(--fa9-muted);
 --fa9v9-chartStroke:var(--fa9-accent);
 --fa9v9-chartLoss:var(--fa9-negative);
 --fa9v9-chartBadge:var(--fa9-hero1);
 --fa9v9-chartLossBadge:color-mix(in srgb,var(--fa9-negative) 35%,var(--fa9-hero1) 65%);
 --fa9v9-chartBadgeText:#fff;
 --fa9v9-statusSuccessText:var(--fa9-positive);
 --fa9v9-statusWarningText:var(--fa9-warn);
 --fa9v9-statusSuccessBorder:color-mix(in srgb,var(--fa9-positive) 32%,var(--fa9-line) 68%);
 --fa9v9-statusWarningBorder:color-mix(in srgb,var(--fa9-warn) 32%,var(--fa9-line) 68%);
}
/* Restore the caption-sizing safeguard lost in V8. */
html[data-fa-theme] body :is(.kpi-note,.kpi-sub,.analytics-support-sub,.analytics-support-label,.dn-eyebrow,.dn-panel-head p){font-size:max(11px,1em)!important}


/* FA_SIDEBAR_CONTRAST_V1_START
   Navigation uses ON-DARK foreground roles, never page-card --fa9-muted.
   Scope: sidebar only. No dimensions, routes, handlers or data operations changed. */
html[data-fa-theme]{
  --fa-side-bg-top:var(--fa9-nav2,#0d3f7f);
  --fa-side-bg-bottom:var(--fa9-nav,#071f46);
  --fa-side-text:#f5f8ff;
  --fa-side-secondary:#d9e2f2;
  --fa-side-group:#d9e2f2;
  --fa-side-icon:#e4edfa;
  --fa-side-active-bg:var(--fa9-hero1,#1350a4);
  --fa-side-active-text:#fff;
  --fa-side-card-bg:var(--fa9-nav,#071f46);
  --fa-side-border:color-mix(in srgb,#fff 30%,transparent);
  --fa-side-hover-bg:var(--fa9-nav2,#0d3f7f);
  --fa-side-focus:#e9f3ff;
}
/* When mobile navigation is open, show its drawer regardless of the
   desktop-hidden sidebar declaration. No other layout changes. */
@media(max-width:760px){
 html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open .app.fa-sidebar-shell > aside.sidebar.fa-shared-sidebar{display:flex!important}
}
/* This selector intentionally has greater specificity than the legacy
   :not([data-fa-theme="ocean"]) overrides. It affects only the shared nav. */
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > aside.sidebar.fa-shared-sidebar,
html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar{
  background:linear-gradient(172deg,var(--fa-side-bg-top),var(--fa-side-bg-bottom) 76%)!important;
  color:var(--fa-side-text)!important;
  border-color:var(--fa-side-border)!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > aside.sidebar.fa-shared-sidebar :is(.brand-copy strong,.profile-copy strong,.sidebar-status strong),
html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar :is(.brand-copy strong,.profile-copy strong,.sidebar-status strong){
  color:var(--fa-side-text)!important;opacity:1!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > aside.sidebar.fa-shared-sidebar :is(.nav-group-title,.brand-copy small,.sidebar-chevron,.settings-arrow,.profile-copy small,.profile-more,.sidebar-status small),
html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar :is(.nav-group-title,.brand-copy small,.sidebar-chevron,.settings-arrow,.profile-copy small,.profile-more,.sidebar-status small){
  color:var(--fa-side-group)!important;opacity:1!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > aside.sidebar.fa-shared-sidebar :is(.nav a:not(.active),.settings,.sidebar-settings),
html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar :is(.nav a:not(.active),.settings,.sidebar-settings){
  color:var(--fa-side-secondary)!important;opacity:1!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > aside.sidebar.fa-shared-sidebar :is(.nav a:not(.active) .ico,.settings-ico,.settings .ico,.settings-arrow,.sidebar-settings .ico),
html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar :is(.nav a:not(.active) .ico,.settings-ico,.settings .ico,.settings-arrow,.sidebar-settings .ico){
  color:var(--fa-side-icon)!important;opacity:1!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > aside.sidebar.fa-shared-sidebar :is(.nav a:hover,.nav a:focus-visible,.settings:hover,.settings:focus-visible,.sidebar-settings:hover,.sidebar-settings:focus-visible),
html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar :is(.nav a:hover,.nav a:focus-visible,.settings:hover,.settings:focus-visible,.sidebar-settings:hover,.sidebar-settings:focus-visible){
  background:var(--fa-side-hover-bg)!important;color:var(--fa-side-text)!important;
  border-color:var(--fa-side-border)!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > aside.sidebar.fa-shared-sidebar :is(.nav a.active,.sidebar-settings.active),
html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar :is(.nav a.active,.sidebar-settings.active){
  background:var(--fa-side-active-bg)!important;color:var(--fa-side-active-text)!important;
  border-color:var(--fa-side-border)!important;opacity:1!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > aside.sidebar.fa-shared-sidebar :is(.nav a.active .ico,.nav a.active .nav-link-label,.sidebar-settings.active .ico),
html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar :is(.nav a.active .ico,.nav a.active .nav-link-label,.sidebar-settings.active .ico){
  color:var(--fa-side-active-text)!important;opacity:1!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > aside.sidebar.fa-shared-sidebar :is(.nav a:not(.active) .nav-link-label,.settings-label),
html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar :is(.nav a:not(.active) .nav-link-label,.settings-label){
  color:inherit!important;opacity:1!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > aside.sidebar.fa-shared-sidebar :is(.sidebar-status,.sidebar-profile),
html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar :is(.sidebar-status,.sidebar-profile){
  background:var(--fa-side-card-bg)!important;color:var(--fa-side-text)!important;
  border-color:var(--fa-side-border)!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > aside.sidebar.fa-shared-sidebar :is(.sidebar-head,.nav-group,.sidebar-footer),
html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar :is(.sidebar-head,.nav-group,.sidebar-footer){
  border-color:var(--fa-side-border)!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > aside.sidebar.fa-shared-sidebar :is(.nav a:focus-visible,.settings:focus-visible,.sidebar-brand-toggle:focus-visible),
html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar :is(.nav a:focus-visible,.settings:focus-visible,.sidebar-mobile-close:focus-visible){
  outline:2px solid var(--fa-side-focus)!important;outline-offset:2px!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > aside.sidebar.fa-shared-sidebar .ball,
html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .ball{
  background:var(--fa-side-active-bg)!important;color:var(--fa-side-active-text)!important;
}
/* Mobile bottom navigation also uses the same readable on-dark labels. */
html[data-fa-theme][data-fa-theme] body.fa-mobile-nav-open aside.sidebar.fa-shared-sidebar .sidebar-mobile-close{
  background:var(--fa-side-card-bg)!important;color:var(--fa-side-text)!important;border-color:var(--fa-side-border)!important;
}
/* FA_SIDEBAR_CONTRAST_V1_END */

/* FA_UNIFIED_WIDTH_V1 — shared responsive content contract.
   Presentation only. Keep existing sidebar drawer, data, tables and page sections. */
:root { --fa-layout-max:1600px; --fa-layout-gutter:16px; --fa-layout-phone-gutter:14px; }

/* The desktop server normalizes all nine pages, including SoccerRating, to
   .app.fa-sidebar-shell; use that shared shell instead of page-specific grids. */
html body .app.fa-sidebar-shell > main:is(#analytics,#plan1,#plan2,#strategies,.matches-modern,.main,.page) {
  box-sizing:border-box!important;
  display:block;
  width:100%!important;
  max-width:var(--fa-layout-max)!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:var(--fa-layout-gutter)!important;
  padding-right:var(--fa-layout-gutter)!important;
}
/* Plan 1's intrinsic content formerly widened the grid track on tablets. */
html body .app.fa-sidebar-shell > main#plan1,
html body .app.fa-sidebar-shell > main.matches-modern {
  min-width:0!important;
  max-width:var(--fa-layout-max)!important;
}
html body .app.fa-sidebar-shell > main > #overviewView,
html body .app.fa-sidebar-shell > main#strategies > #strategiesListView {
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
html body .app.fa-sidebar-shell > main > :is(
 .topbar,.analytics-unified-banner,.plan1-blue-hero,.plan2-blue-hero,
 .data-hero,.strategy-detail-topline,.hero
){max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
/* Do not let grid children force a whole document to widen. */
html body .app.fa-sidebar-shell > main > *,
html body .app.fa-sidebar-shell > main > #overviewView > *,
html body .app.fa-sidebar-shell > main#strategies > #strategiesListView > * {
  min-width:0;
  max-width:100%;
}
/* Documentation tables should be scrollable rather than permanently clipped
   by the collapsed/expanded details panel's overflow:hidden. */
html body .app.fa-sidebar-shell .doc-section .doc-content {
  min-width:0!important;
  max-width:100%!important;
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-x:contain;
}
html body .app.fa-sidebar-shell .doc-section .doc-content table {
  width:max-content!important;
  min-width:100%!important;
  max-width:none!important;
}
/* Existing table wrappers intentionally provide horizontal scrolling. */
html body .app.fa-sidebar-shell :is(.table-wrap,.table-scroll,.table-container){
  max-width:100%!important;
  min-width:0!important;
}
@media(max-width:760px){
 html body .app.fa-sidebar-shell > main:is(#analytics,#plan1,#plan2,#strategies,.matches-modern,.main,.page) {
   width:100%!important;max-width:100%!important;
   min-width:0!important;
   padding-left:var(--fa-layout-phone-gutter)!important;
   padding-right:var(--fa-layout-phone-gutter)!important;
 }
 html body .app.fa-sidebar-shell > main > #overviewView,
 html body .app.fa-sidebar-shell > main#strategies > #strategiesListView {
   padding-left:0!important;padding-right:0!important;
 }
}
/* FA_UNIFIED_WIDTH_V1_END */

/* FA_MOBILE_HAMBURGER_CONTRAST_V1 */
@media (max-width:760px) {
  html body button#mobileMenuBtn.mobile-nav-toggle {
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    opacity:1!important;
    background:rgba(255,255,255,.10)!important;
    border:2px solid rgba(255,255,255,.85)!important;
    text-shadow:0 1px 2px rgba(0,0,0,.38)!important;
    -webkit-appearance:none!important;
    appearance:none!important;
    box-shadow:0 3px 10px rgba(0,0,0,.15)!important;
  }

  html body button#mobileMenuBtn.mobile-nav-toggle:is(:hover,:focus-visible,:active) {
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    background:rgba(0,0,0,.16)!important;
    border-color:#fff!important;
  }

  html body button#mobileMenuBtn.mobile-nav-toggle:focus-visible {
    outline:3px solid #fff!important;
    outline-offset:3px!important;
  }
}
/* END FA_MOBILE_HAMBURGER_CONTRAST_V1 */

/* FA_MATCH_ADD_WHITE_BUTTON_V1: white action, theme-coloured foreground */
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > #footballAnalyticsSidebar ~ main.matches-modern .blue-matches-banner .top-actions button.primary.add-top {
    background:#fff!important;
    background-image:none!important;
    color:var(--fa9-hero1,#1350a4)!important;
    -webkit-text-fill-color:var(--fa9-hero1,#1350a4)!important;
    border:1px solid rgba(255,255,255,.94)!important;
    box-shadow:0 5px 14px rgba(0,0,0,.14)!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > #footballAnalyticsSidebar ~ main.matches-modern .blue-matches-banner .top-actions button.primary.add-top span {
    color:inherit!important;
    -webkit-text-fill-color:inherit!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > #footballAnalyticsSidebar ~ main.matches-modern .blue-matches-banner .top-actions button.primary.add-top:is(:hover,:active) {
    background:#f7f8fa!important;
    background-image:none!important;
    color:var(--fa9-hero1,#1350a4)!important;
    -webkit-text-fill-color:var(--fa9-hero1,#1350a4)!important;
}
html[data-fa-theme][data-fa-theme] body .app.fa-sidebar-shell > #footballAnalyticsSidebar ~ main.matches-modern .blue-matches-banner .top-actions button.primary.add-top:focus-visible {
    outline:3px solid #fff!important;
    outline-offset:3px!important;
}
/* END FA_MATCH_ADD_WHITE_BUTTON_V1 */

/* FA_LIGHT_50_V1 — theme search and scalable 50-card picker */
#sharedSettingsModal .fa9-theme-search{box-sizing:border-box;width:100%;min-height:42px;max-width:100%;border:1px solid var(--fa9-line,#d3dce8);border-radius:9px;padding:9px 12px;background:var(--fa9-surface,#fff);color:var(--fa9-text,#172b43);font:600 13px/1.4 system-ui,sans-serif;outline-offset:2px;}
#sharedSettingsModal .fa9-theme-search::placeholder{color:var(--fa9-muted,#526273);opacity:1}
#sharedSettingsModal .fa9-theme-search:focus-visible{outline:3px solid var(--fa9-accent,#1362a2)}
#sharedSettingsModal .fa9-theme-field .fa9-theme-grid{max-height:min(49dvh,520px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:3px;align-content:start}

/* FA_BALANCED_MOTION_V2 — accessible, presentation-only animations.
   No colours, widths, application state, data, or navigation are modified. */
@keyframes faV2HeroIn {
  from {opacity:0;transform:translate3d(0,19px,0)}
  to   {opacity:1;transform:translate3d(0,0,0)}
}
@keyframes faV2CardIn {
  from {opacity:0;transform:translate3d(0,15px,0) scale(.995)}
  to   {opacity:1;transform:translate3d(0,0,0) scale(1)}
}
@keyframes faV2FadeIn {
  from {opacity:0}
  to   {opacity:1}
}
@keyframes faV2DialogIn {
  from {opacity:0;transform:translate3d(0,15px,0) scale(.99)}
  to   {opacity:1;transform:translate3d(0,0,0) scale(1)}
}
/* The JS removes fa-v2-enter after animationend. No stale transform may
   override card hover or an app's existing sticky/positioning behaviour. */
html.fa-v2-on .fa-v2-hero.fa-v2-enter {
  animation:faV2HeroIn 800ms cubic-bezier(.22,1,.36,1) both!important;
  animation-delay:var(--fa-v2-delay,0ms)!important;
}
html.fa-v2-on .fa-v2-card.fa-v2-enter {
  animation:faV2CardIn 740ms cubic-bezier(.22,1,.36,1) both!important;
  animation-delay:var(--fa-v2-delay,0ms)!important;
}
html.fa-v2-on .fa-v2-panel.fa-v2-enter,
html.fa-v2-on .fa-v2-tab-content.fa-v2-enter {
  animation:faV2HeroIn 760ms cubic-bezier(.22,1,.36,1) both!important;
  animation-delay:var(--fa-v2-delay,0ms)!important;
}
html.fa-v2-on .fa-v2-chart.fa-v2-enter {
  animation:faV2FadeIn 900ms cubic-bezier(.22,1,.36,1) both!important;
  animation-delay:var(--fa-v2-delay,0ms)!important;
}
html.fa-v2-on .fa-v2-row.fa-v2-enter {
  animation:faV2FadeIn 520ms cubic-bezier(.22,1,.36,1) both!important;
  animation-delay:var(--fa-v2-delay,0ms)!important;
}
html.fa-v2-on .fa-v2-dialog.fa-v2-enter {
  animation:faV2DialogIn 540ms cubic-bezier(.22,1,.36,1) both!important;
}
@media (hover:hover) and (pointer:fine) {
  html.fa-v2-on .fa-v2-card:not(.fa-v2-enter):hover {
    transform:translateY(-3px);
    box-shadow:0 10px 22px rgba(0,0,0,.12);
    transition:transform 340ms cubic-bezier(.22,1,.36,1),box-shadow 340ms cubic-bezier(.22,1,.36,1);
  }
}
html.fa-v2-on main :is(button,a.btn,[role="tab"],select) {
  transition-property:background-color,border-color,color,box-shadow,opacity;
  transition-duration:320ms;
  transition-timing-function:ease;
}
@media(max-width:760px) {
  html.fa-v2-on .fa-v2-enter {animation-duration:650ms!important}
  html.fa-v2-on .fa-v2-hero.fa-v2-enter {animation-duration:720ms!important}
  html.fa-v2-on .fa-v2-row.fa-v2-enter {animation-duration:440ms!important}
}
@media(prefers-reduced-motion:reduce) {
  html.fa-v2-on .fa-v2-enter {animation:none!important;transform:none!important;opacity:1!important}
  html.fa-v2-on main :is(button,a.btn,[role="tab"],select) {transition:none!important}
  html.fa-v2-on .fa-v2-card:hover {transition:none!important;transform:none!important}
}
/* FA_BALANCED_MOTION_SMOOTH_V3 */
/* END FA_BALANCED_MOTION_V2 */

/* FA_GLOBAL_HARD_REFRESH_V1 — shared one-click cache-bypassing page refresh */
html body #faHardRefreshButton.fa-global-hard-refresh {
  position:fixed!important;
  top:max(12px,env(safe-area-inset-top))!important;
  right:max(12px,env(safe-area-inset-right))!important;
  z-index:1160!important;
  display:grid!important;place-items:center!important;
  width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;
  margin:0!important;padding:0!important;
  border-radius:12px!important;
  border:1px solid var(--fa9v5-line,var(--fa9-line,#cbdcf0))!important;
  background:var(--fa9v5-surface,var(--fa9-surface,#fff))!important;
  color:var(--fa9v5-accent,var(--fa9-accent,#135eb7))!important;
  box-shadow:0 5px 18px color-mix(in srgb,var(--fa9v5-accent,#123f80) 14%,transparent)!important;
  cursor:pointer!important;transition:transform .16s ease,background .16s ease,box-shadow .16s ease!important;
  -webkit-tap-highlight-color:transparent!important;
}
html body #faHardRefreshButton svg {
  display:block!important;width:16px!important;height:16px!important;
  stroke:currentColor!important;fill:none!important;
}
html body #faHardRefreshButton:hover:not(:disabled){
  background:var(--fa9v5-soft,var(--fa9-soft,#edf4ff))!important;
  box-shadow:0 8px 22px color-mix(in srgb,var(--fa9v5-accent,#123f80) 23%,transparent)!important;
  transform:translateY(-1px)!important;
}
html body #faHardRefreshButton:focus-visible{
  outline:3px solid var(--fa9v5-accent,#236ac4)!important;outline-offset:3px!important;
}
html body #faHardRefreshButton.fa-hard-refresh-busy svg{
  animation:fa-hard-refresh-rotate 1.1s linear infinite;
}
html body #faHardRefreshButton:disabled {opacity:.8!important;cursor:progress!important;}
html body #faHardRefreshStatus.fa-global-hard-refresh-status{
  position:fixed!important;
  top:calc(max(12px,env(safe-area-inset-top)) + 49px)!important;
  right:max(12px,env(safe-area-inset-right))!important;
  z-index:1161!important;
  display:block;max-width:min(330px,calc(100vw - 24px));padding:10px 13px;
  border:1px solid var(--fa9v5-line,#cbdcf0);border-radius:12px;
  background:var(--fa9v5-surface,#fff);color:var(--fa9v5-text,#153352);
  box-shadow:0 9px 26px color-mix(in srgb,var(--fa9v5-accent,#123f80) 16%,transparent);
  font:650 12px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  overflow-wrap:anywhere;
}
html body #faHardRefreshStatus[hidden]{display:none!important}
html body #faHardRefreshStatus[data-error="true"]{border-color:var(--fa9v5-negative,var(--fa9-negative,#b73a4a))}
@keyframes fa-hard-refresh-rotate{to{transform:rotate(360deg)}}
@media(max-width:760px){
 html body #faHardRefreshButton.fa-global-hard-refresh{
  width:39px!important;height:39px!important;min-width:39px!important;min-height:39px!important;
  right:max(11px,env(safe-area-inset-right))!important;
 }
 html body.fa-mobile-nav-open #faHardRefreshButton,
 html body.fa-mobile-nav-open #faHardRefreshStatus {display:none!important}
}
@media(prefers-reduced-motion:reduce){
 html body #faHardRefreshButton.fa-global-hard-refresh{transition:none!important}
 html body #faHardRefreshButton.fa-hard-refresh-busy svg{animation:none!important}
}
@media print{
 html body #faHardRefreshButton,
 html body #faHardRefreshStatus{display:none!important}
}

/* FA_GLOBAL_HARD_REFRESH_BANNER_V2
 * A small refresh control anchored INSIDE each page's real hero/banner,
 * preserving theme colors and avoiding the outer floating screen control.
 */
html body .fa-hard-refresh-banner-host{position:relative!important}
html body .fa-hard-refresh-banner-host > #faHardRefreshButton.fa-global-hard-refresh{
 position:absolute!important;
 inset:12px 12px auto auto!important;
 width:30px!important;height:30px!important;
 min-width:30px!important;min-height:30px!important;
 z-index:21!important;
 border:1px solid color-mix(in srgb,var(--fa9v5-accent,#316bc0) 26%,white)!important;
 background:#fff!important;
 color:var(--fa9v5-hero1,var(--fa9v5-accent,#125bb7))!important;
 box-shadow:0 4px 13px rgba(0,0,0,.13)!important;
}
html body .fa-hard-refresh-banner-host > #faHardRefreshButton.fa-global-hard-refresh:hover:not(:disabled){
 background:color-mix(in srgb,var(--fa9v5-accent,#316bc0) 9%,white)!important;
 transform:translateY(-1px)!important;
}
html body .fa-hard-refresh-banner-host > #faHardRefreshButton.fa-global-hard-refresh:focus-visible{
 outline:3px solid var(--fa9v5-accent,#316bc0)!important;outline-offset:3px!important;
}
/* Reserve space in each banner's own header row for its new right-hand action. */
html body .fa-hard-refresh-banner-host:is(.overview-blue-banner,.blue-matches-banner) > .banner-topline,
html body .fa-hard-refresh-banner-host:is(.analytics-unified-banner,.plan1-blue-hero) > .topbar,
html body header.fa-hard-refresh-banner-host.page-head.fa-unify-hero > .topbar,
html body .fa-hard-refresh-banner-host.data-hero > .data-hero-top,
html body header.fa-hard-refresh-banner-host.hero > section:first-child{
 box-sizing:border-box!important;
 padding-right:55px!important;
}
html body .fa-hard-refresh-banner-host.plan2-blue-hero > .topbar{
 box-sizing:border-box!important;
 padding-right:52px!important;
 min-width:0!important;
}
@media(min-width:761px){
 html body .fa-hard-refresh-banner-host.strategy-detail-hero > .strategy-lifecycle-badge{
  transform:translateX(-53px)!important;
 }
}
html body .fa-hard-refresh-banner-host.strategy-detail-hero > .strategy-detail-hero-main{
 padding-right:44px!important;box-sizing:border-box!important;
}
@media(max-width:760px){
 html body .fa-hard-refresh-banner-host > #faHardRefreshButton.fa-global-hard-refresh{
  width:28px!important;height:28px!important;
  min-width:28px!important;min-height:28px!important;
  inset:10px 10px auto auto!important;
 }
 html body .fa-hard-refresh-banner-host:is(.overview-blue-banner,.blue-matches-banner) > .banner-topline,
 html body .fa-hard-refresh-banner-host:is(.analytics-unified-banner,.plan1-blue-hero) > .topbar,
 html body header.fa-hard-refresh-banner-host.page-head.fa-unify-hero > .topbar,
 html body .fa-hard-refresh-banner-host.data-hero > .data-hero-top,
 html body header.fa-hard-refresh-banner-host.hero > section:first-child{
  padding-right:48px!important;
 }
 html body .fa-hard-refresh-banner-host.plan2-blue-hero > .topbar{
  padding-right:47px!important;
 }
}

/* FA_GLOBAL_HARD_REFRESH_BANNER_COLLISION_V2 — reserve visible free space
   within the three headers that have right-aligned status or Print controls. */
@media(min-width:761px){
 html body .fa-hard-refresh-banner-host.analytics-unified-banner > #faHardRefreshButton.fa-global-hard-refresh{
  top:56px!important;
 }
 html body header.fa-hard-refresh-banner-host.page-head.fa-unify-hero > #faHardRefreshButton.fa-global-hard-refresh{
  top:120px!important;
 }
 html body header.fa-hard-refresh-banner-host.hero > #faHardRefreshButton.fa-global-hard-refresh{
  top:56px!important;
 }
 /* Keep Importer's offline-copy action separate from the compact hard refresh. */
 html body header.fa-hard-refresh-banner-host.hero > section:first-child{
  padding-right:60px!important;
 }
 html body header.fa-hard-refresh-banner-host.hero #fa-offline-refresh{
  margin-right:60px!important;
 }
}
@media(max-width:760px){
 html body header.fa-hard-refresh-banner-host.page-head.fa-unify-hero > #faHardRefreshButton.fa-global-hard-refresh{
  top:60px!important;
 }
}


/* FA_BOTTOM_SPACING_CONSOLIDATED_20261123_V1
   Diagnosed in 27 browser states (9 pages x 1440/390/320 px).
   The old fixed mobile-footer navigation is disabled; do not reserve 76px
   for it. Preserve small breathing room plus physical phone safe-area.
   Keep ordinary panel internals, scrolling controls, and modals intact.
 */
@media(max-width:760px){
 html body .app.fa-sidebar-shell{
  padding-bottom:calc(12px + env(safe-area-inset-bottom))!important;
 }
}
/* Scoped final-content spacing: do not touch intermediate panels or dialogs. */
html body .app.fa-sidebar-shell>main.matches-modern{
 padding-bottom:24px!important;
}
html body .app.fa-sidebar-shell>main#analytics{
 padding-bottom:12px!important;
}
html body .app.fa-sidebar-shell>main#analytics>#analyticsCombinedTrend{
 margin-bottom:0!important;
}
html body .app.fa-sidebar-shell>main#plan1{
 padding-bottom:24px!important;
}
html body .app.fa-sidebar-shell>main#plan2{
 padding-bottom:12px!important;
}
html body .app.fa-sidebar-shell>main#plan2>.fa6-outcomes{
 margin-bottom:0!important;
}
html body .app.fa-sidebar-shell>main#strategies #strategiesListView{
 padding-bottom:16px!important;
}
html body .app.fa-sidebar-shell>main.strategy-match-main{
 padding-bottom:12px!important;
}
html body .app.fa-sidebar-shell>main.strategy-match-main>#strategyMatchRegistry{
 margin-bottom:0!important;
}
/* FA_BOTTOM_SPACING_CONSOLIDATED_20261123_V1_END */
