/* Shared public presentation: white surfaces, dark type and FML gold. */
.fml-stats,.fml-window-team-section{--fml-ui-ink:#111419;--fml-ui-muted:#5b616b;--fml-ui-line:#dededb;--fml-ui-soft:#f6f5f1;--fml-ui-gold:#f6d44d;min-width:0}
.fml-stats .fml-public-card.fml-stats-controls,.fml-transfer-directory .fml-public-card.fml-directory-tools{padding:20px!important;border:1px solid #dededb!important;border-radius:18px!important;background:#fff!important;box-shadow:none!important}
.fml-stats .fml-stats-options{gap:5px;padding:5px;background:#f5f4f0;border:1px solid #dededb;border-radius:13px;width:fit-content;max-width:100%}
.fml-stats .fml-stats-options a{border:0;border-radius:9px;background:transparent;min-height:44px;color:#14171b!important;box-shadow:none;text-decoration:none}
.fml-stats .fml-stats-options a[aria-current],.fml-stats .fml-stats-options a.is-active{background:#f6d44d!important;color:#111419!important;box-shadow:none}
.fml-stats .fml-public-toolbar{align-items:end;gap:12px;display:flex;flex-wrap:wrap}
.fml-stats .fml-public-toolbar label{display:grid;gap:6px;flex:1 1 220px;color:#24272b;font-weight:700;min-width:0}
.fml-stats .fml-public-toolbar :is(select,input){width:100%;min-height:46px;border:1px solid #cfd1d3;border-radius:10px;background:#fff;color:#111419;box-shadow:none;max-width:100%}
.fml-stats .fml-public-toolbar :is(button,input[type=submit]),.fml-transfer-directory .fml-directory-filter-actions button{border:1px solid #111419!important;border-radius:10px!important;background:#111419!important;color:#fff!important;min-height:46px;padding:10px 20px;font-weight:750;text-decoration:none}
.fml-stats a,.fml-transfer-directory .fml-directory-tools a{color:#171a1e;text-decoration-color:#a59c80;text-underline-offset:3px}
.fml-stats .fml-public-toolbar>a,.fml-transfer-directory .fml-directory-filter-actions>a{border:1px solid #d5d6d4!important;border-radius:10px;padding:10px 16px;background:#fff!important;min-height:46px;display:inline-flex;align-items:center;color:#24272b!important;text-decoration:none;font-weight:700}
.fml-table-help,.fml-impact-note{font-size:.85rem;line-height:1.55;color:#5b616b;margin:10px 0}
.fml-comparison-scroll,.fml-competition-series .fml-public-wrap{overflow-x:auto;max-width:100%;border:1px solid #dededb;border-radius:14px;background:#fff;overscroll-behavior-x:contain}
.fml-comparison-scroll:focus-visible{outline:3px solid #c39b1f;outline-offset:3px}
.fml-comparison-table{border-collapse:separate!important;border-spacing:0;width:100%;font-size:.9rem;line-height:1.4;margin:0!important;table-layout:auto!important}
.fml-comparison-table :is(th,td){padding:13px 16px!important;border:0!important;border-bottom:1px solid #e2e2de!important;background:#fff!important;color:#15191f!important;vertical-align:middle;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums;font-weight:500}
.fml-comparison-table thead th{background:#f4f3ef!important;color:#505760!important;font-weight:750;position:sticky;top:0;z-index:1}
.fml-comparison-table thead button{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;border:0;appearance:none;-webkit-appearance:none;background:transparent!important;color:#505760!important;-webkit-text-fill-color:currentColor;font:inherit;min-height:28px;padding:0;box-shadow:none;border-radius:4px;white-space:nowrap;text-align:inherit;cursor:pointer}
.fml-comparison-table thead button:hover{background:#fff4cf!important;color:#111419!important}
.fml-comparison-table thead button:focus-visible{outline:2px solid #896514;outline-offset:3px;background:#fff4cf!important;color:#111419!important}
.fml-comparison-table thead button:active{background:#f6d44d!important;color:#111419!important}
.fml-comparison-table thead th:first-child,.fml-comparison-table tbody td:first-child{text-align:left;width:58px}
.fml-comparison-table .fml-table-name{position:sticky;left:0;z-index:2;text-align:left;min-width:190px;max-width:290px;white-space:normal;font-weight:750;box-shadow:3px 0 5px -5px #42464e}
.fml-comparison-table thead .fml-table-name{z-index:3}
.fml-comparison-table .fml-table-name button{justify-content:flex-start}
.fml-comparison-table tbody tr:nth-child(even)>*{background:#fafaf8!important}
.fml-comparison-table tbody tr:hover>*{background:#fff9df!important}
.fml-comparison-table a{color:#171a1e!important;text-decoration-color:#b5a255}
.fml-comparison-table [aria-sort] button{color:#111419!important}
.fml-sort-indicator{color:#7d6c29!important;-webkit-text-fill-color:currentColor;font-size:.8em}
.fml-comparison-team{display:inline-flex;align-items:center;gap:8px;max-width:100%;vertical-align:middle;white-space:normal}
.fml-comparison-team-logo{display:block;flex:0 0 28px;width:28px!important;height:28px!important;object-fit:contain;box-sizing:border-box;background:#fff!important;border:1px solid #dededb;border-radius:7px;padding:3px}
.fml-comparison-team-short{display:none}
.fml-comparison-team-accessible{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.fml-comparison-team-level{display:inline-block;margin-left:5px;padding:1px 4px;border:1px solid #dededb;border-radius:4px;font-size:.7em;line-height:1.4;color:#505760;background:#f4f3ef;vertical-align:middle}
.fml-rankings-refresh .fml-public-section{border:0;background:transparent;padding:0;margin-top:24px}
.fml-analytics-refresh .fml-records-row{border:1px solid #dededb;border-radius:16px;overflow:hidden;margin:0 0 14px;background:#fff;box-shadow:none}
.fml-analytics-refresh .fml-achievement-front{background:#f5f4ef;border-top:3px solid #f6d44d}
.fml-analytics-refresh .fml-achievement-back{padding:20px}
.fml-analytics-refresh .fml-analytics-section{border:1px solid #dededb;border-radius:13px;padding:0 16px 12px;margin:12px 0;background:#fff}
.fml-analytics-refresh .fml-analytics-section:not([open]){padding-bottom:0}
.fml-analytics-refresh .fml-analytics-section>summary{padding:16px 0;min-height:48px}
.fml-analytics-refresh .fml-stats-metrics{gap:12px}
.fml-analytics-refresh .fml-stats-metrics>div{padding:14px;background:#f6f5f1;border-radius:10px}
.fml-analytics-refresh .fml-stats-metrics dt{font-weight:600;line-height:1.4}
.fml-analytics-refresh .fml-stats-metrics dd{margin-top:5px;font-size:1.05em}
.fml-impact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:10px}
.fml-impact-metric{background:#f5f4ef;border:1px solid #e4e2da;border-radius:12px;padding:15px;position:relative;min-width:0}
.fml-impact-metric h4{font:700 .88rem/1.4 system-ui,sans-serif;margin:0 0 10px;color:#555c66}
.fml-impact-values{display:flex;align-items:center;gap:12px;font:700 1.5rem/1.2 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.fml-impact-values>span:nth-child(2){color:#8b8c83;font-size:1rem}
.fml-impact-delta{display:inline-block;margin-top:9px;padding:2px 8px;border-radius:5px;background:#f7dfa0;color:#302d20;font-size:.85rem;font-weight:750}
.fml-impact-metric small{display:block;font-size:.75rem;color:#5b616b;margin-top:7px}
.fml-impact-before-after{display:flex;gap:20px;color:#5b616b;font-size:.8rem;margin-bottom:12px}
.fml-impact-before-after span+span:before{content:'→';margin-right:20px}
.fml-impact-date{font-size:1.2rem!important;margin:6px 0 10px!important}
.fml-analytics-refresh .fml-analytics-transfer-moves{list-style:none;margin:16px 0;padding:0;display:grid;gap:8px}
.fml-analytics-refresh .fml-analytics-transfer-moves li{padding:12px 14px;border:1px solid #e2e1da;border-radius:9px;background:#fafaf8;font-size:.9rem}
.fml-analytics-refresh .fml-analytics-transfer-moves li>strong{display:inline-block;margin-right:10px;font-size:.75rem;background:#eee9d8;padding:3px 7px;border-radius:5px}
.fml-analytics-refresh .fml-analytics-stat-table,.fml-competition-series .fml-public-data-table{border-collapse:separate;border-spacing:0;background:white}
.fml-analytics-refresh .fml-analytics-stat-table :is(th,td),.fml-competition-series .fml-public-data-table :is(th,td){color:#16191f!important;background:#fff!important;border:0!important;border-bottom:1px solid #dededb!important;padding:12px!important}
.fml-analytics-refresh .fml-analytics-stat-table thead th,.fml-competition-series .fml-public-data-table thead th{background:#f5f4ef!important;font-weight:750}
.fml-analytics-refresh .fml-analytics-stat-table tbody tr:nth-child(even)>*,.fml-competition-series .fml-public-data-table tbody tr:nth-child(even)>*{background:#fafaf8!important}
.fml-competition-series .fml-public-summary>div{border:0!important;background:#f6f5f1;border-radius:12px;padding:14px 18px}
.fml-competition-series .fml-public-section{border:1px solid #dededb;border-radius:16px;padding:20px;margin:22px 0;background:#fff}
.fml-competition-series .fml-public-section>summary{min-height:44px;padding:4px 0;font-weight:750}
.fml-competition-series .fml-public-data-table a{color:#171a1e!important;text-decoration-color:#b5a255}
.fml-competition-series :is(#honours,#competition-seasons) .fml-public-data-table{min-width:640px}
.fml-window-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.fml-window-team-card{border:1px solid #dededb;border-top:4px solid #f6d44d;border-radius:16px;overflow:hidden;background:#fff;min-width:0}
.fml-window-team-card header{display:flex;align-items:center;gap:14px;padding:18px;background:#f6f5f1;border-bottom:1px solid #dededb}
.fml-window-team-card header img{background:#fff;border:1px solid #e2e1da;padding:6px;border-radius:10px;object-fit:contain;width:54px;height:54px;flex-shrink:0;box-sizing:border-box}
.fml-window-team-card h4{margin:3px 0 0;font-size:1.12rem;line-height:1.3}
.fml-window-team-card a{color:#171a1e!important;text-decoration:none}
.fml-team-level{font-size:.73rem;color:#62656a;font-weight:750;text-transform:uppercase;letter-spacing:.05em}
.fml-window-team-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0;padding:18px}
.fml-window-team-card dt{font-size:.78rem;line-height:1.4;color:#5b616b}
.fml-window-team-card dd{margin:3px 0 0;font-size:1.2rem;font-weight:750;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.fml-window-allowance{display:flex;align-items:center;gap:12px;padding:14px 18px;margin:0;background:#fff8df;font-size:.85rem;color:#4b4735}
.fml-window-allowance strong{font-size:1.2rem;color:#22251f}
.fml-window-team-card dl.fml-window-prices{border-top:1px solid #dededb}
.fml-window-team-card .fml-window-prices dd{font-size:1rem}
.fml-transfer-directory .fml-directory-tools{margin-bottom:20px}
.fml-directory-filter-intro{margin:0 0 18px;color:#5b616b;font-size:.95rem}
.fml-transfer-directory .fml-transfer-extra-filters{border:1px solid #dededb!important;background:#f7f6f2!important;border-radius:11px!important;padding:0 14px!important}
.fml-transfer-directory .fml-transfer-extra-filters>summary{padding:13px 0;min-height:44px;font-weight:700;color:#22262d}
.fml-transfer-directory .fml-transfer-filter :is(select,input){border:1px solid #cfd1d3!important;background:#fff!important;color:#111419!important;min-height:46px;border-radius:10px!important;box-shadow:none!important}
.fml-transfer-directory .fml-transfer-filter :is(select,input):focus{outline:2px solid #b39327!important;outline-offset:2px}
.fml-club-directory .fml-directory-crest{width:80px;height:80px;max-width:100%;padding:9px;border:1px solid #dededb;border-radius:14px;background:#fff;box-sizing:border-box}
.fml-club-directory .fml-directory-crest img{height:100%;width:100%;object-fit:contain}
.fml-club-directory .fml-directory-entity-links{gap:7px;margin-top:14px}
.fml-club-directory .fml-directory-entity-links a{min-height:39px;padding:7px 11px;border-radius:9px;background:#fff;border:1px solid #d5d5cf;color:#171a1e;text-decoration:none;gap:5px;font-size:.8rem}
.fml-club-directory .fml-directory-entity-links a:hover{background:#fff6d2;border-color:#c3aa43}
@media(max-width:650px){
 .fml-stats .fml-public-card.fml-stats-controls,.fml-transfer-directory .fml-public-card.fml-directory-tools{padding:14px!important}
 .fml-stats .fml-stats-options{width:100%;justify-content:stretch}
 .fml-stats .fml-stats-options a{flex:1 1 auto;justify-content:center;padding:9px 12px;font-size:.85rem}
 .fml-comparison-table :is(th,td){padding:11px 12px!important}
 .fml-comparison-table thead button{min-height:44px}
 .fml-comparison-table .fml-table-name{min-width:145px;max-width:180px}
 .fml-comparison-table .fml-table-name:has(.fml-comparison-team){min-width:100px;max-width:160px}
 .fml-comparison-table .fml-comparison-team-full{display:none}
 .fml-comparison-table .fml-comparison-team-short{display:inline}
 .fml-competition-series .fml-public-section{padding:14px}
 .fml-window-team-grid{grid-template-columns:1fr}
 .fml-analytics-refresh .fml-achievement-back{padding:12px}
 .fml-impact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fml-impact-metric{padding:12px}
 .fml-impact-values{font-size:1.25rem;gap:8px}
 .fml-stats .fml-public-toolbar button{flex:1 1 auto}
}
/* Public honours and player history. */
.fml-profile-milestone-list{list-style:none!important;margin:14px 0!important;padding:0!important;display:grid;gap:12px}
.fml-profile-milestone-row{display:flex;align-items:flex-start;gap:14px;border:1px solid #dfdfd9!important;border-radius:13px;padding:17px!important;background:#fff;margin:0!important;min-width:0}
.fml-milestone-mark{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;background:#fff1b9;border-radius:10px;color:#887020;font-size:1rem}
.fml-milestone-content{min-width:0;flex:1}
.fml-milestone-content h4{font:750 1rem/1.45 system-ui,sans-serif;margin:0 0 10px;color:#15191f}
.fml-milestone-holder{margin:0 0 5px!important;font-size:.88rem;font-weight:750}
.fml-milestone-facts{display:flex!important;flex-wrap:wrap;gap:10px 26px!important;margin:0!important;padding:0!important}
.fml-milestone-facts>div{min-width:0;padding:0!important;border:0!important;background:none!important}
.fml-milestone-facts dt{font-size:.75rem;color:#646a71}
.fml-milestone-facts dd{margin:3px 0 0;font-size:.88rem;font-weight:700}
.fml-milestone-content a,.fml-profile-milestones a,.fml-honours-refresh a{color:#1b2025!important;text-decoration-color:#b29d50;text-underline-offset:3px}
.fml-milestone-content details{margin-top:13px;border-top:1px solid #e6e4dc;padding-top:10px;font-size:.85rem}
.fml-milestone-content summary{min-height:36px;font-weight:650;cursor:pointer}
.fml-profile-more{display:inline-flex;border:1px solid #d5d5cf;border-radius:9px;min-height:42px;align-items:center;padding:8px 14px;text-decoration:none!important}
.fml-honours-refresh ul.awards{list-style:none!important;display:grid;gap:10px;padding:0!important;margin:12px 0!important}
.fml-honours-refresh ul.awards>li{padding:16px!important;border:1px solid #deded8!important;border-left:3px solid #f6d44d!important;border-radius:11px;background:#fafaf7}
.fml-awards-refresh .fml-public-wrap{overflow-x:auto;border:1px solid #dededb;border-radius:12px;max-width:100%}
.fml-awards-refresh .fml-public-table,.fml-player-transfers-refresh{width:100%;border-collapse:separate!important;border-spacing:0;margin:0!important;table-layout:auto}
.fml-awards-refresh .fml-public-table :is(th,td),.fml-player-transfers-refresh :is(th,td){border:0!important;border-bottom:1px solid #dededb!important;background:#fff!important;color:#15191f!important;padding:14px!important;font-size:.9rem;line-height:1.5;text-align:left}
.fml-awards-refresh .fml-public-table thead th,.fml-player-transfers-refresh thead th{background:#f5f4ef!important;color:#555d65!important;font-weight:750}
.fml-awards-refresh .fml-public-table tbody tr:nth-child(even)>*,.fml-player-transfers-refresh tbody tr:nth-child(even)>*{background:#fafaf8!important}
.fml-awards-refresh .fml-public-table a,.fml-player-transfers-refresh a{color:#171a1e!important;text-decoration-color:#b5a255}
.fml-player-transfers-refresh :is(td,th):nth-last-child(-n+2){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.fml-player-transfers-refresh tfoot td{background:#f5f4ef!important;font-weight:750}
@media(max-width:650px){.fml-profile-milestone-row{padding:12px!important;gap:10px}.fml-milestone-mark{width:30px;height:30px;flex-basis:30px}.fml-milestone-facts{gap:10px 18px!important}.fml-awards-refresh .fml-public-table{min-width:500px}.fml-player-transfers-refresh{min-width:780px}}
.fml-stats .fml-public-card::before,.fml-transfer-directory .fml-directory-tools::before{display:none!important;background:none!important}
.fml-analytics-transfer-moves .fml-transfer-role,.fml-analytics-transfer-moves .fml-transfer-rating{display:inline-block;margin-left:12px;font-size:.8rem;color:#5b616b}
.fml-impact-date{font-family:system-ui,sans-serif!important;font-weight:750!important}
.fml-player-page table.fml-player-transfers-refresh tbody tr:nth-child(even) td{background:#fafaf8!important}
.fml-player-page table.fml-player-transfers-refresh tbody tr:nth-child(odd) td{background:#fff!important}
.fml-player-page table.fml-player-transfers-refresh tbody tr.fml-public-total-row td{background:#f5f4ef!important;border-top:2px solid #e7c34b!important;font-weight:750}
.fml-stats .fml-public-links a{border-color:#dededb!important;border-radius:9px;background:#fff!important;color:#24272b!important}
@media(max-width:650px){
 .fml-competition-series .fml-competition-series-hero{padding:16px;gap:12px;align-items:flex-start}
 .fml-competition-series .fml-competition-series-hero>div{min-width:0;flex:1}
 .fml-competition-series .fml-competition-series-hero>img{width:45px;height:45px;margin-top:6px}
 .fml-competition-series .fml-competition-series-hero h1{font-size:2.1rem}
 .fml-competition-series .fml-public-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .fml-competition-series .fml-public-summary>div{display:grid;padding:9px;font-size:.75rem;line-height:1.4;min-width:0}
}

/* Match the Clubs crest surface while preserving the dark Finance card. */
.fml-finance-grid .fml-directory-portrait{grid-template-columns:minmax(0,1fr) 80px}
.fml-finance-directory .fml-directory-crest{width:80px;height:80px;max-width:100%;padding:9px;border:1px solid #dededb;border-radius:14px;background:#fff;box-sizing:border-box;color:#171a1e}
.fml-finance-directory .fml-directory-crest img{display:block;height:100%;width:100%;object-fit:contain}

/* Public sign-in and reset presentation; authentication forms and handlers stay unchanged. */
body.fml-manager-auth-page :is(h1.entry-title,.page-header h1,.elementor-widget-theme-post-title h1),
body.fml-manager-auth-page :is(main,#content,.site-main) h1{
    color:#111419;
    font:780 clamp(1.8rem,4.5vw,2.35rem)/1.12 system-ui,sans-serif;
    letter-spacing:-.03em;
    margin-block:0 20px;
    overflow-wrap:anywhere;
}
.fml-public-card.fml-manager-login-card{
    --fml-auth-ink:#111419;
    --fml-auth-muted:#5b616b;
    --fml-auth-line:#dededb;
    --fml-auth-gold:#f6d44d;
    box-sizing:border-box;
    width:100%;
    max-width:560px;
    margin:20px auto;
    padding:clamp(20px,4vw,32px);
    border:1px solid var(--fml-auth-line)!important;
    border-radius:18px;
    background:#fff!important;
    box-shadow:none!important;
    color:var(--fml-auth-ink);
    font-family:system-ui,sans-serif;
}
.fml-public-card.fml-manager-login-card::before{
    display:none!important;
}
.fml-manager-login-card .fml-manager-login-title{
    margin:0 0 14px;
    color:var(--fml-auth-ink);
    font:780 clamp(1.35rem,3vw,1.75rem)/1.2 system-ui,sans-serif;
    letter-spacing:-.02em;
    text-align:left;
}
.fml-manager-login-card .fml-manager-login-message{
    margin:0 0 20px;
    padding:12px 14px;
    border:1px solid var(--fml-auth-line);
    border-radius:10px;
    background:#f6f5f1;
    color:var(--fml-auth-muted);
    font:400 .92rem/1.5 system-ui,sans-serif;
    text-align:left;
}
.fml-manager-login-card .fml-manager-login-form{
    display:grid;
    gap:16px;
    margin:0;
}
.fml-manager-login-card .fml-manager-login-form label{
    min-width:0;
    gap:6px;
    color:var(--fml-auth-ink);
    font:700 .92rem/1.4 system-ui,sans-serif;
}
.fml-manager-login-card .fml-manager-login-form :is(select,input[type=email],input[type=password]){
    box-sizing:border-box;
    width:100%;
    min-width:0;
    min-height:48px;
    padding:11px 12px;
    border:1px solid #cfd1d3;
    border-radius:10px;
    background:#fff;
    color:var(--fml-auth-ink);
    font:400 1rem/1.4 system-ui,sans-serif;
    box-shadow:none;
}
.fml-manager-login-card .fml-manager-login-remember{
    min-height:44px;
    margin:0;
}
.fml-manager-login-card .fml-manager-login-remember input{
    accent-color:#896514;
}
.fml-manager-login-card .fml-manager-login-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    width:100%;
    min-height:48px;
    padding:11px 18px;
    border:1px solid #d1ad32;
    border-radius:10px;
    appearance:none;
    -webkit-appearance:none;
    background:var(--fml-auth-gold)!important;
    color:var(--fml-auth-ink)!important;
    -webkit-text-fill-color:currentColor;
    font:750 1rem/1.4 system-ui,sans-serif;
    letter-spacing:normal;
    text-transform:none;
    box-shadow:none;
    cursor:pointer;
}
.fml-manager-login-card .fml-manager-login-button:hover{
    background:#f3ce39!important;
    border-color:#b89219;
    color:var(--fml-auth-ink)!important;
}
.fml-manager-login-card .fml-manager-login-button:active{
    background:#eac126!important;
}
.fml-manager-login-card .fml-manager-login-reset{
    margin:20px 0 0;
    padding-top:12px;
    border-top:1px solid var(--fml-auth-line);
}
.fml-manager-login-card .fml-manager-login-reset > summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:44px;
    padding:4px 0;
    color:var(--fml-auth-ink);
    font:700 .92rem/1.4 system-ui,sans-serif;
    list-style:none;
    cursor:pointer;
}
.fml-manager-login-card .fml-manager-login-reset > summary::-webkit-details-marker{
    display:none;
}
.fml-manager-login-card .fml-manager-login-reset > summary::after{
    content:'';
    width:.45em;
    height:.45em;
    margin-right:3px;
    border:solid currentColor;
    border-width:0 2px 2px 0;
    transform:translateY(-.12em) rotate(45deg);
}
.fml-manager-login-card .fml-manager-login-reset[open] > summary::after{
    transform:translateY(.12em) rotate(225deg);
}
.fml-manager-login-card .fml-manager-login-reset .fml-manager-login-form{
    margin-top:12px;
}
.fml-manager-login-card :is(input,select,button,summary,a):focus-visible{
    outline:2px solid #896514;
    outline-offset:3px;
}
.fml-manager-login-card .fml-manager-login-form :is(input[type=email],input[type=password],select):focus{
    border-color:#896514;
}
@media(max-width:650px){
    .fml-public-card.fml-manager-login-card{margin:16px auto;padding:20px 18px;border-radius:14px}
}

/* Teams uses the same neutral filter surfaces as the refreshed public tables. */
body.fml-team-directory-page h1.entry-title,
.fml-team-directory .fml-directory-tools h2{
    color:#111419;
    font:780 clamp(1.5rem,4vw,2.1rem)/1.15 system-ui,sans-serif;
    letter-spacing:-.03em;
}
.fml-team-directory .fml-public-card.fml-directory-tools{
    padding:20px!important;
    border:1px solid #dededb!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:none!important;
}
.fml-team-directory .fml-directory-tools::before{display:none!important}
.fml-team-directory .fml-directory-tools h2{margin:0 0 18px}
.fml-team-directory .fml-directory-filters label{color:#24272b;font:700 .86rem/1.4 system-ui,sans-serif}
.fml-team-directory .fml-directory-filters :is(select,input){
    min-height:46px;
    padding:10px 12px;
    border:1px solid #cfd1d3!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#111419;
    box-shadow:none!important;
    font:400 1rem/1.4 system-ui,sans-serif;
}
.fml-team-directory .fml-directory-filter-actions :is(button,a){
    min-height:46px;
    padding:10px 16px;
    border:1px solid #d5d6d4!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#24272b!important;
    font:700 .9rem/1.4 system-ui,sans-serif;
    text-decoration:none;
}
.fml-team-directory .fml-directory-filter-actions button{
    border-color:#111419!important;
    background:#111419!important;
    color:#fff!important;
}
.fml-team-directory :is(a,button,input,select):focus-visible{outline:2px solid #896514;outline-offset:3px}
@media(max-width:650px){
    .fml-team-directory .fml-public-card.fml-directory-tools{padding:14px!important;border-radius:14px!important}
}

/* Ranking explanations use the same neutral table treatment as ranking results. */
.fml-rankings-refresh .fml-public-data-table{
    border-collapse:separate!important;
    border-spacing:0;
    background:#fff;
    font:400 .9rem/1.5 system-ui,sans-serif;
}
.fml-rankings-refresh .fml-public-data-table :is(th,td){
    border:0!important;
    border-bottom:1px solid #dededb!important;
    padding:13px 16px!important;
    background:#fff!important;
    color:#171a1e!important;
    vertical-align:top;
    white-space:normal;
}
.fml-rankings-refresh .fml-public-data-table thead th{background:#f4f3ef!important;font-weight:750}
.fml-rankings-refresh .fml-public-data-table tbody tr:nth-child(even)>*{background:#fafaf8!important}
.fml-rankings-refresh .fml-public-data-table tbody td:first-child{font-weight:750}
.fml-rankings-refresh .fml-public-data-table tbody tr:hover>*{background:#fff9df!important}
