/* V33.17 — shared Front Office visual system. Presentation only; hydration remains unchanged. */
:root{
  --fp-surface:rgba(7,13,22,.78);
  --fp-surface-strong:rgba(7,13,22,.9);
  --fp-surface-soft:rgba(255,255,255,.055);
  --fp-border:rgba(224,235,255,.17);
  --fp-border-strong:rgba(224,235,255,.25);
  --fp-text:#f7f9fd;
  --fp-muted:#b7c3d5;
  --fp-accent:#d6a62c;
  --fp-accent-deep:#183b63;
  --fp-shadow:0 22px 70px rgba(0,0,0,.4);
}
body.fp-fo-page{color:var(--fp-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-rendering:optimizeLegibility}
body.fp-fo-page:before{background:linear-gradient(180deg,rgba(2,6,12,.42),rgba(2,6,12,.76))!important}
.fp-fo-page .topbar,.fp-fo-page .top-shell,.fp-fo-page .top,
.fp-fo-page .panel,.fp-fo-page .module,.fp-fo-page .shell,
.fp-fo-page .gm-card,.fp-fo-page .gm-hero,.fp-fo-page .gm-brief{
  border-color:var(--fp-border)!important;
  box-shadow:var(--fp-shadow);
  backdrop-filter:blur(15px) saturate(118%);
  -webkit-backdrop-filter:blur(15px) saturate(118%);
}
.fp-fo-page .topbar,.fp-fo-page .top-shell,.fp-fo-page .top{background:var(--fp-surface-strong)!important}
.fp-fo-page .panel,.fp-fo-page .module,.fp-fo-page .shell,.fp-fo-page .gm-card{background:var(--fp-surface)!important}
.fp-fo-page h1,.fp-fo-page h2,.fp-fo-page h3{color:var(--fp-text);line-height:1.15}
.fp-fo-page p,.fp-fo-page small,.fp-fo-page .subhead,.fp-fo-page .muted,.fp-fo-page .status{color:var(--fp-muted)}
.fp-fo-page button,.fp-fo-page .btn,.fp-fo-page a.btn,.fp-fo-page .pill.button{
  min-height:40px;border-color:var(--fp-border-strong);font-weight:850;letter-spacing:.055em;
}
.fp-fo-page button.primary,.fp-fo-page .btn.primary,.fp-fo-page .tab.active,.fp-fo-page .gm-action,.fp-fo-page .gm-actions a{
  background:linear-gradient(110deg,var(--fp-accent),var(--fp-accent-deep))!important;border-color:rgba(255,255,255,.12)!important;color:#fff!important;
}
.fp-fo-page button:focus-visible,.fp-fo-page a:focus-visible,.fp-fo-page input:focus-visible,.fp-fo-page select:focus-visible{
  outline:3px solid rgba(104,174,255,.82);outline-offset:2px;
}
.fp-fo-page .metric,.fp-fo-page .summary-card,.fp-fo-page .cap-card,.fp-fo-page .import-card,.fp-fo-page .scout-chip{
  background:var(--fp-surface-soft)!important;border-color:var(--fp-border)!important;
}
.fp-fo-page .metric small,.fp-fo-page .metric span,.fp-fo-page .summary-card small,
.fp-fo-page .cap-card span,.fp-fo-page .section-kicker,.fp-fo-page .eyebrow{color:var(--fp-muted)!important}

/* Correct page artwork and use a common, readable background treatment. */
.fp-trade-page{background:#03060b url('../backgrounds/trade-center/TRADE_CENTER_BACKGROUND.webp') center/cover fixed no-repeat!important}
.fp-stats-page{background:#03060b url('../backgrounds/lobby-showroom.webp') center/cover fixed no-repeat!important}
.fp-stats-page .shell{background:rgba(5,11,19,.84)!important}
.fp-stats-page .table-wrap{scrollbar-color:rgba(210,220,235,.48) transparent}
.fp-stats-page th{background:rgba(10,20,34,.97)!important}
.fp-stats-page tbody tr:hover{background:rgba(255,255,255,.065)!important}

/* War Room: keep the two columns independent so shorter cards do not stretch. */
.fp-war-room-page .layout{align-items:start;grid-auto-rows:max-content}
.fp-war-room-page .stack{align-content:start;align-items:start;grid-auto-rows:max-content;grid-template-rows:none!important}
.fp-war-room-page .stack>.panel,.fp-war-room-page .stack>button.panel{width:100%}
.fp-war-room-page .panel{height:auto!important;min-height:0!important}
.fp-war-room-page .draft-summary{align-items:stretch}
.fp-war-room-page .draft-summary+.empty{margin-top:10px}
.fp-war-room-page .panel-body{font-size:.9rem}
.fp-war-room-page .row-main span{font-size:.8rem}
.fp-war-room-page .panel-head>*,.fp-war-room-page .row>*,.fp-war-room-page .decision-launch .panel-body>*{min-width:0;max-width:100%}
.fp-war-room-page .panel-head h2,.fp-war-room-page .row-main b,.fp-war-room-page .row-main span,
.fp-war-room-page .decision-launch .panel-body span{white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
.fp-war-room-page .pill{flex:0 0 auto;max-width:42%;overflow:hidden;text-overflow:ellipsis}
.fp-war-room-page .top-actions{justify-content:flex-end}
.fp-war-room-page .war-dashboard-grid{grid-template-columns:minmax(0,1.08fr) minmax(260px,.78fr) minmax(300px,.88fr);gap:12px}
.fp-war-room-page .war-dashboard-grid .panel-head{padding:12px 14px}
.fp-war-room-page .war-dashboard-grid .panel-body{padding:12px 14px}
.fp-war-room-page .war-dashboard-grid .empty{padding:14px}
.fp-war-room-page .need-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fp-war-room-page .need-chip{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0;padding:10px 11px;border:1px solid var(--fp-border);border-radius:12px;background:var(--fp-surface-soft);color:var(--fp-text);text-align:left;text-transform:none;letter-spacing:normal}
.fp-war-room-page .need-chip b{font-size:.92rem;min-width:0;overflow-wrap:anywhere}
.fp-war-room-page .need-chip span{font-size:.64rem;color:var(--fp-muted);text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}
.fp-war-room-page .need-chip.critical{border-color:rgba(241,75,104,.55);background:rgba(241,75,104,.12)}
.fp-war-room-page .need-chip.high{border-color:rgba(244,195,76,.5);background:rgba(244,195,76,.1)}
.fp-war-room-page .compact-note,.fp-war-room-page .modal-intro{margin:10px 0 0;color:var(--fp-muted);font-size:.76rem;line-height:1.45}
.fp-war-room-page .panel-summary-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;background:transparent;color:inherit;padding:14px;text-align:left;text-transform:none;letter-spacing:normal}
.fp-war-room-page .panel-summary-button span{min-width:0}.fp-war-room-page .panel-summary-button b,.fp-war-room-page .panel-summary-button small{display:block}.fp-war-room-page .panel-summary-button small{margin-top:4px;color:var(--fp-muted)}
.fp-war-room-page .panel-summary-button strong{white-space:nowrap;color:#f4c34c}
.fp-war-room-page .compact-list .row{padding:9px 10px}
.fp-war-room-page .market-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 14px}.fp-war-room-page .market-summary>div{min-width:0;border:1px solid var(--fp-border);border-radius:12px;background:var(--fp-surface-soft);padding:10px}.fp-war-room-page .market-summary b{display:block;font-size:1.15rem}.fp-war-room-page .market-summary span{display:block;margin-top:3px;color:var(--fp-muted);font-size:.64rem;letter-spacing:.08em;text-transform:uppercase;overflow-wrap:anywhere}
.fp-war-room-page .need-brief-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}
.fp-war-room-page .brief-card,.fp-war-room-page .brief-explanation{border:1px solid var(--fp-border);border-radius:14px;background:var(--fp-surface-soft);padding:14px}
.fp-war-room-page .brief-card span{display:block;color:var(--fp-muted);font-size:.7rem;text-transform:uppercase;letter-spacing:.1em}.fp-war-room-page .brief-card strong{display:block;margin-top:6px;font-size:1.25rem}
.fp-war-room-page .brief-explanation h3,.fp-war-room-page .target-grid h3{margin:0 0 8px;text-transform:uppercase;letter-spacing:.1em;font-size:.82rem}.fp-war-room-page .brief-explanation p{margin:0;line-height:1.55}
.fp-war-room-page .target-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.fp-war-room-page .target-grid>section{min-width:0}
.fp-war-room-page .pill.urgent{color:#ffd7de;border-color:rgba(241,75,104,.55);background:rgba(241,75,104,.14)}

/* Scouting used viewport-sized text that became unreadable on large displays. */
.fp-scouting-page .brand h1{font-size:clamp(18px,1.45vw,30px)!important}
.fp-scouting-page .brand p,.fp-scouting-page .screen-title p{font-size:clamp(11px,.67vw,14px)!important}
.fp-scouting-page .screen-title h2{font-size:clamp(18px,1.25vw,26px)!important}
.fp-scouting-page .pill,.fp-scouting-page .tab,.fp-scouting-page .quick button,.fp-scouting-page .back{font-size:clamp(10px,.58vw,13px)!important}
.fp-scouting-page .module h3{font-size:clamp(13px,.76vw,16px)!important}
.fp-scouting-page .module .subhead,.fp-scouting-page .empty,.fp-scouting-page .draft-only-note,
.fp-scouting-page .scout-chip span,.fp-scouting-page .scout-prompt b,.fp-scouting-page .scout-prompt span,
.fp-scouting-page .scout-tag,.fp-scouting-page .scout-need,.fp-scouting-page .import-muted{
  font-size:clamp(10px,.56vw,12px)!important;line-height:1.4!important;
}
.fp-scouting-page .scout-chip b{font-size:clamp(18px,1.05vw,24px)!important}
.fp-scouting-page .workspace{background:rgba(5,10,18,.46)!important}
.fp-scouting-page .module{background:rgba(3,9,17,.68)!important}

/* Salary is the visual reference; only lift its smallest labels for readability. */
.fp-salary-page .module .subhead,.fp-salary-page .live-player-main span,.fp-salary-page .live-player-money span,
.fp-salary-page .cap-card span{font-size:clamp(10px,.58vw,12px)!important;line-height:1.35!important}

/* Dashboard cards and controls should align without collisions. */
.fp-team-hq-page .gm-grid{align-items:stretch}
.fp-team-hq-page .gm-card{min-width:0;overflow:hidden}
.fp-team-hq-page .gm-row,.fp-team-hq-page .gm-mini{gap:10px;min-height:44px}
.fp-team-hq-page .gm-row>*{min-width:0;overflow-wrap:anywhere}
.fp-team-hq-page .gm-player-grid{grid-template-columns:minmax(0,1fr)!important}
.fp-team-hq-page .gm-player-card{align-items:flex-start;height:auto!important;min-height:54px;overflow:hidden}
.fp-team-hq-page .gm-player-card>span{display:block;min-width:0;max-width:100%}
.fp-team-hq-page .gm-player-card b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;line-height:1.25}
.fp-team-hq-page .gm-player-card span,.fp-team-hq-page .gm-row b,.fp-team-hq-page .gm-row span{white-space:normal;overflow-wrap:anywhere;word-break:normal}

@media(max-width:900px){
  .fp-fo-page button,.fp-fo-page .btn,.fp-fo-page a.btn{min-height:44px}
  .fp-stats-page{background-attachment:scroll!important}
  .fp-trade-page{background-attachment:scroll!important}
}
@media(max-width:1180px){.fp-war-room-page .war-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fp-war-room-page .war-dashboard-grid>.stack:last-child{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
  .fp-war-room-page .topbar{display:grid!important;grid-template-columns:1fr}
  .fp-war-room-page .top-actions{justify-content:flex-start;width:100%}
  .fp-war-room-page .top-actions .btn{flex:1 1 calc(50% - 8px)}
  .fp-war-room-page .panel-head{flex-wrap:wrap}
  .fp-war-room-page .panel-head .btn{width:100%}
  .fp-war-room-page .row{align-items:flex-start;flex-wrap:wrap}
  .fp-war-room-page .pill{max-width:100%}
  .fp-war-room-page .war-dashboard-grid,.fp-war-room-page .war-dashboard-grid>.stack:last-child{grid-template-columns:1fr}.fp-war-room-page .war-dashboard-grid>.stack:last-child{grid-column:auto}
  .fp-war-room-page .need-chips,.fp-war-room-page .need-brief-grid,.fp-war-room-page .target-grid{grid-template-columns:1fr}
}

/* V33.25 — Salary Workspace visual contract for every Front Office workspace. */
:root{
  --fp-page-bg:#03060b;
  --fp-salary-glass:rgba(10,18,28,.72);
  --fp-salary-glass-strong:rgba(8,15,24,.9);
  --fp-salary-card:rgba(255,255,255,.065);
  --fp-salary-line:rgba(255,255,255,.2);
  --fp-salary-gold:#d6a62c;
  --fp-salary-blue:#183b63;
  --fp-radius-lg:18px;
  --fp-radius-md:13px;
}
body.fp-fo-page{background-color:var(--fp-page-bg)!important;color:var(--fp-text)!important}
body.fp-fo-page:before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(2,6,12,.5),rgba(2,6,12,.84))!important}
.fp-fo-page *{scrollbar-width:thin;scrollbar-color:rgba(214,166,44,.48) rgba(255,255,255,.04)}
.fp-fo-page *::-webkit-scrollbar{width:8px;height:8px}.fp-fo-page *::-webkit-scrollbar-track{background:rgba(255,255,255,.035)}.fp-fo-page *::-webkit-scrollbar-thumb{background:rgba(214,166,44,.42);border-radius:999px}
.fp-fo-page .topbar,.fp-fo-page .top-shell,.fp-fo-page .top{
  border:1px solid var(--fp-salary-line)!important;border-radius:var(--fp-radius-lg)!important;
  background:var(--fp-salary-glass-strong)!important;box-shadow:0 18px 55px rgba(0,0,0,.34)!important;
}
.fp-fo-page .panel,.fp-fo-page .module,.fp-fo-page .shell,.fp-fo-page .workspace,
.fp-fo-page .gm-card,.fp-fo-page .gm-hero,.fp-fo-page .gm-brief{
  border:1px solid var(--fp-salary-line)!important;border-radius:var(--fp-radius-lg)!important;
  background:var(--fp-salary-glass)!important;box-shadow:0 16px 46px rgba(0,0,0,.26)!important;
}
.fp-fo-page .panel-head,.fp-fo-page .screen-header,.fp-fo-page .gm-card>h3:first-child{
  border-bottom-color:rgba(255,255,255,.14)!important;background:rgba(4,10,18,.24)!important;
}
.fp-fo-page h1{letter-spacing:.14em!important;text-transform:uppercase}.fp-fo-page h2,.fp-fo-page h3{letter-spacing:.12em;text-transform:uppercase}
.fp-fo-page .section-kicker,.fp-fo-page .eyebrow,.fp-fo-page .subhead{letter-spacing:.11em!important;text-transform:uppercase}
.fp-fo-page button:not(.player-link):not(.player-name-link),.fp-fo-page .btn,.fp-fo-page a.btn,
.fp-fo-page .pill.button,.fp-fo-page .tab,.fp-fo-page .back{
  border:1px solid var(--fp-salary-line)!important;border-radius:11px!important;background:rgba(255,255,255,.075)!important;
  color:var(--fp-text)!important;box-shadow:none!important;transition:background .16s,border-color .16s,transform .16s!important;
}
.fp-fo-page button:not(.player-link):not(.player-name-link):hover,.fp-fo-page .btn:hover,.fp-fo-page a.btn:hover,
.fp-fo-page .pill.button:hover,.fp-fo-page .tab:hover,.fp-fo-page .back:hover{
  border-color:rgba(214,166,44,.55)!important;background:rgba(255,255,255,.13)!important;transform:translateY(-1px)
}
.fp-fo-page button.primary,.fp-fo-page .btn.primary,.fp-fo-page .tab.active,.fp-fo-page .gm-action,.fp-fo-page .gm-actions a,
.fp-fo-page .market-tabs button.active,.fp-fo-page .asset-filter-bar button.active{
  background:linear-gradient(105deg,var(--fp-salary-gold),var(--fp-salary-blue))!important;border-color:transparent!important;color:#fff!important;
}
.fp-fo-page input,.fp-fo-page select,.fp-fo-page textarea{
  border:1px solid var(--fp-salary-line)!important;border-radius:11px!important;background:rgba(5,11,19,.9)!important;color:var(--fp-text)!important;
}
.fp-fo-page .metric,.fp-fo-page .summary-card,.fp-fo-page .cap-card,.fp-fo-page .asset-row,
.fp-fo-page .builder-side,.fp-fo-page .scout-chip,.fp-fo-page .scout-prompt,.fp-fo-page .gm-mini,
.fp-fo-page .gm-row,.fp-fo-page .row{
  border-color:rgba(255,255,255,.14)!important;background:var(--fp-salary-card)!important;border-radius:var(--fp-radius-md)!important;
}
.fp-fo-page .modal,.fp-fo-page .drawer{background-color:rgba(0,0,0,.7)}
.fp-fo-page .modal-card,.fp-fo-page .drawer.active{
  border:1px solid var(--fp-salary-line)!important;border-radius:20px!important;background:rgba(8,15,24,.97)!important;
  box-shadow:0 28px 90px rgba(0,0,0,.62)!important;backdrop-filter:blur(18px)!important;
}
.fp-fo-page table th{color:#f1c85b!important;background:rgba(7,15,25,.97)!important;letter-spacing:.1em!important;text-transform:uppercase}
.fp-fo-page table td{border-bottom-color:rgba(255,255,255,.09)!important}.fp-fo-page table tbody tr:hover{background:rgba(255,255,255,.06)!important}
.fp-fo-page .empty{border-color:rgba(255,255,255,.18)!important;background:rgba(3,9,16,.2)!important;color:var(--fp-muted)!important}
.fp-stats-page .shell,.fp-trade-page .panel,.fp-war-room-page .panel{backdrop-filter:blur(12px) saturate(115%)!important}
.fp-scouting-page .workspace,.fp-salary-page .workspace{border-top:3px solid color-mix(in srgb,var(--team-primary,var(--fp-salary-blue)) 72%,var(--fp-salary-gold))!important}
.fp-team-hq-page .gm-card,.fp-team-hq-page .gm-brief{padding:clamp(14px,1.2vw,20px)}
@media(max-width:900px){body.fp-fo-page:before{position:absolute}.fp-fo-page .topbar,.fp-fo-page .top-shell,.fp-fo-page .top{border-radius:15px!important}.fp-fo-page .panel,.fp-fo-page .module,.fp-fo-page .shell,.fp-fo-page .workspace{border-radius:15px!important}}

/* V33.28 — extend the Salary visual contract to public and league surfaces. */
.fp-public-page{background:#03060b!important;color:var(--fp-text)!important}
.fp-public-page .wrap,.fp-public-page main,.fp-public-page .page{position:relative;z-index:1}
.fp-public-page .hero,.fp-public-page header,.fp-public-page nav{
  border-color:var(--fp-salary-line)!important;color:var(--fp-text)!important;
}
.fp-public-page .card,.fp-public-page .league-card,.fp-public-page .team-card,
.fp-public-page .data-tile,.fp-public-page .health-tile,.fp-public-page .candidate,
.fp-public-page .auth-card,.fp-public-page .ranking-card,.fp-public-page .power-card{
  border:1px solid var(--fp-salary-line)!important;border-radius:var(--fp-radius-lg)!important;
  background:var(--fp-salary-glass)!important;box-shadow:0 16px 46px rgba(0,0,0,.25)!important;
  backdrop-filter:blur(14px) saturate(115%);-webkit-backdrop-filter:blur(14px) saturate(115%);
}
.fp-public-page .card h2,.fp-public-page .league-card h2,.fp-public-page .ranking-card h2{
  color:var(--fp-text)!important;letter-spacing:.11em!important;text-transform:uppercase;
}
.fp-public-page .muted,.fp-public-page .card p,.fp-public-page small{color:var(--fp-muted)!important}
.fp-public-page input,.fp-public-page select,.fp-public-page textarea{
  border:1px solid var(--fp-salary-line)!important;border-radius:11px!important;background:rgba(5,11,19,.92)!important;color:var(--fp-text)!important;
}
.fp-public-page button,.fp-public-page .btn,.fp-public-page a.btn{
  border:1px solid var(--fp-salary-line)!important;border-radius:11px!important;background:rgba(255,255,255,.075)!important;color:var(--fp-text)!important;
}
.fp-public-page button:hover,.fp-public-page .btn:hover,.fp-public-page a.btn:hover{border-color:rgba(214,166,44,.58)!important;background:rgba(255,255,255,.13)!important}
.fp-public-page .btn.gold,.fp-public-page button.primary,.fp-public-page .primary,.fp-public-page .active{
  background:linear-gradient(105deg,var(--fp-salary-gold),var(--fp-salary-blue))!important;color:#fff!important;border-color:transparent!important;
}
.fp-public-page table th{background:rgba(7,15,25,.97)!important;color:#f1c85b!important}.fp-public-page table td{border-color:rgba(255,255,255,.09)!important}
.fp-public-page #loginCard{max-width:760px;margin-inline:auto;text-align:center;padding:clamp(22px,3vw,38px)!important}
.fp-public-page #loginCard>p{max-width:620px;margin-inline:auto;line-height:1.6}
.fp-public-page #loginCard>button.primary{width:min(100%,420px);min-height:52px;font-size:1rem;margin:8px auto;display:inline-flex;align-items:center;justify-content:center}
.fp-public-page .auth-trust{max-width:520px!important;color:var(--fp-muted)!important}
.fp-public-page #loginCard .row{justify-content:center;flex-wrap:wrap;margin-top:18px}
.fp-public-page #loginCard .row button{flex:1 1 180px;max-width:230px}

/* V33.33 — Front Office Mobile: adapt workspaces instead of shrinking desktop. */
@media(max-width:760px){
  :root{--fp-mobile-gutter:12px;--fp-mobile-gap:10px;--fp-mobile-touch:46px}
  html{font-size:16px;-webkit-text-size-adjust:100%;scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  html,body{width:100%;max-width:100%;overflow-x:hidden!important}
  body.fp-fo-page{min-height:100dvh;overflow-y:auto!important;padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}
  body.fp-fo-page:before{background:rgba(2,6,11,.73)!important}
  .fp-fo-page .page,.fp-fo-page .workspace,.fp-fo-page .top-shell,.fp-fo-page .topbar,.fp-fo-page .top{width:calc(100% - 24px)!important;max-width:none!important;margin-left:12px!important;margin-right:12px!important}
  .fp-fo-page .topbar,.fp-fo-page .top-shell,.fp-fo-page .top{position:relative!important;top:auto!important;padding:12px!important;gap:10px!important;align-items:flex-start!important;flex-direction:column!important}
  .fp-fo-page .brand,.fp-fo-page .identity{min-width:0!important;gap:9px!important}.fp-fo-page .brand img,.fp-fo-page .identity img{width:42px!important;height:42px!important;flex:0 0 42px!important}
  .fp-fo-page h1{font-size:clamp(1rem,5.2vw,1.35rem)!important;line-height:1.12!important;letter-spacing:.08em!important;white-space:normal!important;overflow-wrap:anywhere}.fp-fo-page h2{font-size:.9rem!important}.fp-fo-page h3{font-size:.78rem!important}
  .fp-fo-page .top-actions,.fp-fo-page .actions{width:100%!important;display:flex!important;gap:7px!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important;scrollbar-width:none}
  .fp-fo-page .top-actions::-webkit-scrollbar,.fp-fo-page .actions::-webkit-scrollbar,.fp-fo-page .tabs::-webkit-scrollbar,.fp-fo-page .workspace-nav::-webkit-scrollbar{display:none}
  .fp-fo-page button,.fp-fo-page .btn,.fp-fo-page a.btn,.fp-fo-page input,.fp-fo-page select{min-height:46px!important;font-size:12px!important}
  .fp-fo-page .panel,.fp-fo-page .module,.fp-fo-page .shell,.fp-fo-page .workspace{min-width:0!important;max-width:100%!important;box-shadow:0 10px 32px rgba(0,0,0,.28)!important}
  .fp-fo-page .panel-head,.fp-fo-page .screen-header{padding:12px!important;gap:9px!important;align-items:center!important}.fp-fo-page .panel-body,.fp-fo-page .module{padding:12px!important}
  .fp-fo-page .tabs,.fp-fo-page .workspace-nav,.fp-stats-page .tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:7px!important;padding:10px!important;scroll-snap-type:x proximity;scrollbar-width:none}.fp-fo-page .tabs>*,.fp-fo-page .workspace-nav>*{flex:0 0 auto!important;scroll-snap-align:start}
  .fp-fo-page .metrics,.fp-fo-page .snapshot,.fp-fo-page .hub-grid{display:flex!important;overflow-x:auto!important;gap:9px!important;scroll-snap-type:x mandatory;padding-bottom:5px!important;scrollbar-width:none}.fp-fo-page .metrics>.metric,.fp-fo-page .snapshot>*,.fp-fo-page .hub-grid>.metric{flex:0 0 min(74vw,270px)!important;scroll-snap-align:start;min-height:88px!important}
  .fp-fo-page .layout,.fp-fo-page .main,.fp-fo-page .screen-grid,.fp-fo-page .builder-grid,.fp-fo-page .gm-grid.two,.fp-fo-page .gm-grid.three{display:grid!important;grid-template-columns:minmax(0,1fr)!important;height:auto!important;overflow:visible!important;gap:10px!important}
  .fp-fo-page .toolbar{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.fp-fo-page .toolbar>*{width:100%!important;min-width:0!important}
  .fp-fo-page .modal,.fp-fo-page .drawer{padding:0!important;inset:0!important;align-items:stretch!important;justify-content:stretch!important}.fp-fo-page .modal-card,.fp-fo-page .drawer.active,.fp-fo-page .drawer-card{width:100%!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;padding:14px!important;padding-bottom:calc(18px + env(safe-area-inset-bottom))!important;overflow:auto!important}
  .fp-fo-page .table-wrap,.fp-fo-page .contract-table-wrap,.fp-fo-page .draft-table-wrap{max-width:100%!important;overflow:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.fp-fo-page table{font-size:12px!important}.fp-fo-page table th,.fp-fo-page table td{padding:10px!important}
  .fp-fo-page .back-hq,.fp-fo-page .back{position:fixed!important;left:12px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;z-index:12000!important;max-width:46vw!important}

  .fp-team-hq-page{background:#03070d!important}.fp-team-hq-page .hq{height:auto!important;min-height:100dvh!important;overflow:visible!important;background-position:center top!important;background-size:auto 58dvh!important;background-color:#03070d!important}.fp-team-hq-page .hq:after{position:fixed!important;background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(2,6,11,.5) 42dvh,#03070d 60dvh)!important}.fp-team-hq-page .hq-title{top:8dvh!important;padding:0 16px!important}.fp-team-hq-page .hq-title h1{font-size:1rem!important}.fp-team-hq-page .hq-title p{font-size:.68rem!important}
  .fp-team-hq-page .command-wrap{position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:auto!important;margin:44dvh 12px 12px!important}.fp-team-hq-page .command-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;border:0!important;background:transparent!important;overflow:visible!important;box-shadow:none!important}.fp-team-hq-page .command{height:auto!important;min-height:72px!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:15px!important;padding:10px!important;background:rgba(6,13,23,.88)!important}.fp-team-hq-page .command b{font-size:.78rem!important}.fp-team-hq-page .command span{font-size:.62rem!important}
  .fp-team-hq-page .info-row{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;grid-template-columns:1fr!important;margin:0 12px 100px!important;gap:10px!important}.fp-team-hq-page .info-card{min-height:0!important;padding:13px!important;background:rgba(6,13,23,.9)!important}.fp-team-hq-page .matchup{height:auto!important;min-height:70px!important}
  .fp-team-hq-page .nav{position:fixed!important;left:10px!important;right:10px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;z-index:19000!important;padding:6px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:15px!important;background:rgba(3,8,15,.94)!important;backdrop-filter:blur(16px)!important}.fp-team-hq-page .nav .btn{padding:8px 10px!important;min-height:44px!important}
  .fp-team-hq-page .modal{inset:0!important;border-radius:0!important;padding:14px!important}.fp-team-hq-page .modal h1{font-size:1.15rem!important;padding-right:56px!important}.fp-team-hq-page .modal-body,.fp-team-hq-page .gm-exec-dashboard{max-height:calc(100dvh - 88px)!important;overflow:auto!important;padding:4px 0 90px!important}.fp-team-hq-page .gm-hero,.fp-team-hq-page .gm-brief,.fp-team-hq-page .gm-grid.two,.fp-team-hq-page .gm-grid.three{grid-template-columns:1fr!important;padding:14px!important;gap:10px!important}.fp-team-hq-page .gm-hero-grid,.fp-team-hq-page .gm-stat-stack{display:flex!important;overflow-x:auto!important;gap:8px!important}.fp-team-hq-page .gm-mini{flex:0 0 150px!important}.fp-team-hq-page .gm-player-grid{grid-template-columns:1fr!important}

  .fp-salary-page .salary-room,.fp-scouting-page .scouting-room{height:auto!important;min-height:100dvh!important;padding-bottom:88px!important}.fp-salary-page .top-shell,.fp-scouting-page .top-shell,.fp-salary-page .workspace,.fp-scouting-page .workspace{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;margin-top:12px!important;height:auto!important}.fp-salary-page .screen-grid,.fp-scouting-page .screen-grid{padding:10px!important}.fp-salary-page .module,.fp-scouting-page .module{min-height:0!important}.fp-salary-page .contract-table{min-width:760px!important}.fp-scouting-page .draft-frame-wrap{height:min(62dvh,520px)!important}
  .fp-war-room-page .page{padding:10px 0 90px!important}.fp-war-room-page .layout{grid-template-columns:1fr!important}.fp-war-room-page .draft-summary{display:flex!important;overflow-x:auto!important;gap:8px!important;scroll-snap-type:x mandatory}.fp-war-room-page .draft-summary>*{flex:0 0 70vw!important;scroll-snap-align:start}.fp-war-room-page .panel-summary-button{min-height:78px!important}
  .fp-trade-page .page{padding:10px 0 92px!important;height:auto!important;overflow:visible!important}.fp-trade-page .main{display:block!important}.fp-trade-page .left,.fp-trade-page .right{display:none!important}.fp-trade-page .main>.panel{width:100%!important}.fp-trade-page .panel-body{max-height:none!important;overflow:visible!important}.fp-trade-page #workspace .team-list{min-height:0!important;max-height:none!important;overflow:visible!important}.fp-trade-page .builder-side{padding:10px!important}.fp-trade-page .offer-actions{position:sticky!important;bottom:76px!important;display:grid!important;grid-template-columns:1fr!important;background:rgba(3,8,15,.96)!important;padding:10px!important;border-radius:14px!important}.fp-trade-page .impact{display:flex!important;overflow-x:auto!important}.fp-trade-page .impact>.metric{flex:0 0 68vw!important}
  .fp-stats-page .page{padding:8px 0 88px!important}.fp-stats-page .shell{margin-top:10px!important}.fp-stats-page .toolbar{padding:10px!important}.fp-stats-page .period-toolbar{padding:0 10px 10px!important;display:grid!important;grid-template-columns:1fr 1fr!important}.fp-stats-page .period-note{grid-column:1/-1}.fp-stats-page .table-wrap{max-height:none!important;overflow-x:auto!important}.fp-stats-page table{min-width:720px!important}.fp-stats-page .player{min-width:185px!important}.fp-stats-page .player img{width:36px!important;height:36px!important}
}
@media(max-width:380px){.fp-team-hq-page .command-list{grid-template-columns:1fr!important}.fp-team-hq-page .command{min-height:62px!important}.fp-fo-page .metrics>.metric,.fp-fo-page .snapshot>*,.fp-fo-page .hub-grid>.metric{flex-basis:82vw!important}.fp-stats-page .period-toolbar{grid-template-columns:1fr!important}.fp-stats-page .period-note{grid-column:auto}}
