/* V31.02 Final Production Polish Cleanup
   Retired UI is removed from source/runtime, not hidden with display:none.
   This file now keeps only active layout standardization. */
:root{--fp-safe-bottom:clamp(24px,4vh,56px);--fp-card-radius:16px;--fp-border:rgba(255,255,255,.14)}
/* One production expand-button language across all pages. */
.panel-head h2,.screen-card h2,.module h3{padding-right:104px!important}
/* Salary Cap Workspace: bottom duplicate status bar is removed from markup; reclaim vertical space. */
.salary-room .screen-grid{height:calc(100% - 8vh)!important;padding-bottom:1vw!important}.salary-room .module{cursor:default}.salary-room .module:hover{transform:none!important}
/* Trade Centre workflow visibility and action clarity. */
body:has(.trade-centre),body:has(.trade-center){overflow:auto!important}.page .main{min-height:0}.offer-actions{position:sticky!important;bottom:0!important;z-index:50!important;padding:12px!important;margin:12px -6px -6px!important;background:linear-gradient(180deg,rgba(5,8,14,.15),rgba(5,8,14,.96) 32%)!important;border-top:1px solid rgba(255,255,255,.12)!important;justify-content:center!important}.offer-actions .primary,.offer-actions button.primary{min-width:190px!important;height:44px!important;font-size:12px!important}.builder-grid{align-items:stretch}.builder-side{min-height:420px}.scroll-list{scrollbar-gutter:stable}.asset-row{min-width:0}.asset-row b,.asset-row small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.impact{position:sticky;bottom:62px;z-index:30;background:rgba(5,8,14,.82);padding:10px;border:1px solid rgba(255,255,255,.09);border-radius:14px;backdrop-filter:blur(8px)}
/* Power Rankings focus mode: phone is removed by runtime on focus pages; keep rankings clean. */
.rank-row{min-height:70px}.rank-row .mini{white-space:nowrap}.rank-row .logo,.detail-team img{object-fit:contain!important;background:rgba(255,255,255,.05)}
/* Scouting: draft-only focus, less clutter. */
.scouting-workspace .tools,.tools{gap:10px}
/* Generic production page spacing. */
.panel,.module,.screen-card,.exec-card,.dashboard-card{border-radius:var(--fp-card-radius)!important}.fp-beta-feedback-dock,.fp-feedback-fab{z-index:800!important;left:18px!important;bottom:28px!important}.modal,.drawer,.dialog{z-index:100000!important}
@media(max-width:1100px){.offer-actions{position:sticky!important;bottom:0!important}.impact{position:relative!important;bottom:auto!important}.builder-grid{grid-template-columns:1fr!important}.builder-side{min-height:auto}.fp-panel-toggle,.wr-expand,.v2820-expand-chip{position:static!important;margin-left:auto!important}.panel-head h2,.screen-card h2,.module h3{padding-right:0!important}.fp-beta-feedback-dock,.fp-feedback-fab{bottom:18px!important}}


/* V31.03 regression polish */
#fp-player-profile-modal,
#v2779-player-modal,
#v2781-player-sheet-modal,
#v2785-player-modal,
.modal.open,
.modal.active{z-index:2147483000!important;}
#fp-player-profile-modal .fp-player-card,
#v2779-player-modal .v2779-modal-card,
#v2781-player-sheet-modal .v2781-modal-card,
#v2785-player-modal .v2785-modal-card{position:relative!important;z-index:2147483001!important;}
body.modal-open .table-wrap,
body.modal-open .player-table,
body.modal-open .contract-table,
body.modal-open .scroll-list{z-index:1!important;}
.fp-panel-toggle,.wr-expand,.v2820-expand-chip,.expand-pill,.expand-btn,.panel-expand,.expand-board{pointer-events:none!important;}
