:root{color:#202a32;font-synthesis:none;background:#f5f6f7;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:760px;margin:0}.app-shell{grid-template-columns:232px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#edf2f5;background:#17232d;padding:28px 14px}.brand{border-bottom:1px solid #36434c;flex-direction:column;gap:4px;padding:0 14px 28px;display:flex}.brand strong{font-size:17px}.brand span{color:#a6b5c0;font-size:12px}nav{flex-direction:column;gap:3px;padding-top:24px;display:flex}.nav-link{color:#c7d1d8;border-radius:5px;padding:10px 14px;font-size:14px;text-decoration:none}.nav-link:hover,.nav-link:focus-visible{color:#fff;background:#2c3e4a}.nav-link.active{color:#fff;background:#36556a;font-weight:600}.main-content{min-width:0;padding:26px 42px 60px}.page{max-width:1080px}.eyebrow{color:#657481;margin:0 0 10px;font-size:13px}h1{margin:0 0 22px;font-size:27px;font-weight:650}.page>p{line-height:1.6}.status{color:#657481;border-top:1px solid #d8dfe4;margin-top:40px;padding-top:20px;font-size:13px}.context-bar{border-bottom:1px solid #d8dfe4;flex-wrap:wrap;align-items:end;gap:12px 18px;margin-bottom:32px;padding-bottom:20px;display:flex}.context-field{flex-direction:column;gap:5px;min-width:180px;display:flex}.context-field select{min-width:200px}.context-hint{color:#526471;align-self:center;margin:0;font-size:13px}.context-hint a,.empty-state a{color:#15577b}.page-intro{color:#576773;margin:-9px 0 25px;font-size:14px}.panel{border-top:1px solid #cbd4db;padding:22px 0 30px}.panel+.panel,.panel+.empty-state{margin-top:18px}.section-heading{align-items:baseline;gap:15px;margin-bottom:17px;display:flex}.section-heading h2{margin:0;font-size:18px}.section-heading span{color:#687783;font-size:13px}h3{margin:0 0 4px;font-size:15px}.empty-state{color:#526471;background:#fbfcfc;border:1px solid #d8dfe4;padding:18px 20px;font-size:14px}.table-scroll{overflow-x:auto}.data-table{border-collapse:collapse;text-align:left;background:#fff;width:100%;font-size:14px}.data-table th{color:#52616c;background:#eef1f3;border-top:1px solid #d8dfe4;font-weight:600}.data-table th,.data-table td{vertical-align:middle;border-bottom:1px solid #e1e5e9;padding:9px 11px}.data-table tbody tr:hover{background:#f8fafb}.roster-table{min-width:830px}.table-actions{flex-wrap:wrap;gap:6px;display:flex}.form-grid{background:#fff;border:1px solid #d8dfe4;flex-direction:column;gap:13px;margin-top:22px;padding:20px;display:flex}.fields-row{flex-wrap:wrap;align-items:end;gap:16px;display:flex}.field{flex-direction:column;flex:1;gap:6px;min-width:180px;display:flex}.field.wide{flex:2;min-width:260px}.field label,.context-field label{color:#344650;font-size:13px;font-weight:600}.field small{color:#657481}.field input,.field select,.context-field select{width:100%;min-height:35px;font:inherit;color:#202a32;background:#fff;border:1px solid #b9c5ce;border-radius:3px;padding:6px 9px;font-size:14px}.field input:disabled,.field select:disabled,.context-field select:disabled{color:#586771;background:#eef1f3}.checkbox-field{flex:0 0 150px;min-width:150px;padding-bottom:7px}.checkbox-field label{cursor:pointer;align-items:center;gap:7px;display:inline-flex}.checkbox-field input{width:auto;min-height:auto;margin:0}.search-field{max-width:320px;margin:0 0 16px}.form-actions,.mode-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.mode-actions{margin-bottom:16px}.mode-actions span{color:#576773;font-size:13px}button{color:#294458;min-height:31px;font:inherit;cursor:pointer;background:#fff;border:1px solid #b9c5ce;border-radius:3px;padding:5px 10px;font-size:13px}button:hover:not(:disabled){background:#e8eff3}button:disabled{opacity:.55;cursor:default}button.primary,button.selected-mode{color:#fff;background:#245573;border-color:#245573}button.primary:hover:not(:disabled),button.selected-mode:hover:not(:disabled){background:#18425c}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:2px solid #1673a3}.error{color:#9c2c2c;font-size:13px}.success{color:#247248;font-size:13px}.settings-page .panel>p{color:#526471;font-size:14px;line-height:1.55}.count-list{border-top:1px solid #d8dfe4;max-width:420px;margin:18px 0;padding:0;list-style:none}.count-list li{border-bottom:1px solid #d8dfe4;justify-content:space-between;gap:20px;padding:7px 2px;font-size:14px;display:flex}.count-list strong{font-weight:600}.restore-file{max-width:420px;margin-top:18px}.restore-preview{background:#fff;border:1px solid #cbd4db;margin-top:22px;padding:18px 20px}.restore-preview>p{font-size:14px;line-height:1.7}.restore-comparison{flex-wrap:wrap;gap:24px;display:flex}.restore-comparison>div{flex:1;min-width:240px}.restore-comparison h4{margin:12px 0 4px;font-size:14px}.restore-confirm{align-items:center;gap:9px;margin:12px 0 16px;font-size:14px;font-weight:600;display:flex}.restore-confirm input{width:16px;height:16px}button.danger{color:#fff;background:#a43b31;border-color:#a43b31}button.danger:hover:not(:disabled){background:#873026}.attribute-group{background:#fff;border:1px solid #d8dfe4;margin:18px 0;padding:14px 16px 18px}.attribute-group legend{padding:0 8px;font-weight:600}.attribute-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:14px;display:grid}.attribute-field{min-width:0}.attribute-field input{max-width:100px}.player-navigation{margin-top:20px}.proficiency-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px;margin:14px 0 24px;display:grid}.proficiency-picker{background:#fff;border:1px solid #d8dfe4;flex-wrap:wrap;align-items:center;gap:5px;padding:9px;display:flex}.proficiency-picker>span{width:100%;font-size:13px;font-weight:600}.proficiency-picker button:first-of-type{min-width:115px;font-weight:600}.proficiency-picker .clear-proficiency{font-size:12px}.proficiency-0{color:#7a1e1e;background:#f8d7d7}.proficiency-1{color:#6f3700;background:#ffe0bd}.proficiency-2{color:#594400;background:#fff0b3}.proficiency-3{color:#374313;background:#dce3b0}.proficiency-4{color:#154a26;background:#b9dfc1}.proficiency-5{color:#2f4b0a;background:#d5ef9f}.star-fields{max-width:520px;margin:12px 0 20px}.foot-summary{font-size:14px;font-weight:600}.profile-subsection{border-top:1px solid #dbe3e8;margin-top:1.5rem;padding-top:1rem}.profile-chip-list,.master-list{margin:.75rem 0;padding:0;list-style:none}.profile-chip-list li{border:1px solid #dbe3e8;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.3rem;padding:.4rem .6rem;display:flex}.master-list li{border-bottom:1px solid #e5ebef;padding:.35rem .5rem}.role-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.75rem;display:grid}.formation-board{background:linear-gradient(155deg,#e4f1e7,#f5faf4);border:1px solid #b8cdd4;border-radius:5px;max-width:950px;margin:14px 0;padding:12px}.formation-line{border-bottom:1px solid #c9dbd0;grid-template-columns:145px 1fr;align-items:center;min-height:58px;display:grid}.formation-line:last-child{border-bottom:0}.formation-line>strong{color:#315442;font-size:13px}.formation-lanes{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid}.formation-lane{text-align:center;min-height:44px}.formation-lane small{color:#57766a;font-size:10px;display:block}.formation-piece{background:#fff;border:1px solid #276249;border-radius:16px;min-width:33px;padding:5px;font-size:12px;font-weight:700;display:inline-block}.formation-edit-lines{gap:10px;margin:16px 0;display:grid}.formation-edit-line{background:#fff;border:1px solid #d7e0e5;padding:12px}.formation-slot-controls,.formation-add{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;display:flex}.formation-slot-control{border:1px solid #dce5e9;align-items:center;gap:8px;padding:5px;display:flex}.formation-slot-control label{font-size:12px}.formation-slot-control select,.formation-add select{min-height:31px;margin-left:5px}.formation-signature{font-size:15px}.formation-signature small{color:#637681;margin-left:8px}.formation-errors{background:#fff8f6;border:1px solid #e5b5ad;margin:16px 0;padding:12px;font-size:13px}.formation-errors ul{margin:6px 0 0;padding-left:20px}.formation-list{padding:0;list-style:none}.formation-list li{border-bottom:1px solid #dce5e9;flex-wrap:wrap;align-items:center;gap:14px;padding:10px 0;display:flex}.builtin-formation{margin:15px 0}.tactic-manager{border-top:0}.tactic-manager .form-grid{max-width:850px}.tactic-list,.tactic-versions{margin:22px 0}.tactic-list{flex-direction:column;align-items:start;gap:7px;display:flex}.tactic-list h3{width:100%}.tactic-list button{text-align:left}.tactic-source{max-width:600px;margin:14px 0}.tactic-piece{border-radius:8px;min-width:52px}.tactic-piece small{color:#315442;margin-top:3px;font-size:11px;display:block}.tactic-section{border-top:1px solid #d6e0e4;padding:18px 0}.tactic-slot-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:10px;margin-top:12px;display:grid}.tactic-slot-card{background:#fff;border:1px solid #d4dfe4;gap:9px;padding:10px;display:grid}.tactic-slot-card label{gap:4px;font-size:12px;display:grid}.tactic-slot-card select{width:100%;min-height:33px}.tactic-options{flex-wrap:wrap;gap:5px;margin:9px 0;display:flex}.tactic-instruction{border-bottom:1px solid #e3e9ec;padding:10px 0}.tactic-instruction>strong{font-size:13px}.schedule-link-form{max-width:700px;margin:18px 0}.match-filters{max-width:600px;margin:18px 0}.match-detail-nav{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.match-detail-nav a{color:#23523a;background:#eef7f0;border:1px solid #bfd2c7;border-radius:6px;padding:8px 12px;font-size:13px;font-weight:600;text-decoration:none}.match-detail-nav a:hover,.match-detail-nav a:focus-visible{background:#dcefe1}#match-basic,#match-squad,#match-team-stats,#match-player-stats,#match-events{scroll-margin-top:18px}.markdown-preview{color:#202a32;resize:vertical;white-space:pre;background:#fff;border:1px solid #b9c5ce;border-radius:4px;width:100%;min-height:520px;margin-top:16px;padding:16px;font:13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;display:block}.match-table{min-width:900px}.match-form{margin-top:26px}.match-form-summary{color:#526471;margin:0;font-size:13px}.match-facts{grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:12px;margin:18px 0 28px;display:grid}.match-facts div{background:#fff;border:1px solid #d8dfe4;padding:12px}.match-facts dt{color:#657481;font-size:12px}.match-facts dd{margin:5px 0 0;font-weight:600}.match-squad h3{margin:24px 0 12px}.squad-show-all{align-items:center;gap:7px;font-size:14px;display:inline-flex}.lineup-pitch{background:linear-gradient(155deg,#e5f2e9,#f4faf5);border:1px solid #b9cec4;gap:14px;max-width:970px;padding:20px 12px;display:grid}.lineup-line{flex-wrap:wrap;justify-content:center;gap:10px;min-height:75px;display:flex}.lineup-slot{background:#fff;border:1px solid #b8d0c1;flex:165px;gap:4px;max-width:240px;padding:10px;display:grid}.lineup-slot strong{color:#244f39;font-size:13px}.lineup-slot small,.lineup-slot label{color:#53675b;font-size:11px}.lineup-slot select,.squad-row select{width:100%;min-width:0;min-height:33px}.squad-unplaced{margin-top:16px}.squad-row,.bench-list li{border-bottom:1px solid #dbe3e8;align-items:center;gap:10px;padding:8px 0;display:flex}.squad-row span,.bench-list li span{flex:1}.squad-row select{max-width:220px}.squad-add{max-width:620px;margin:16px 0}.bench-list{margin:0;padding:0;list-style:none}.bench-list strong{min-width:34px}.team-stat-table{min-width:540px;max-width:780px}.team-stat-table th{text-align:left}.team-stat-table td{width:210px}.team-stat-table input{width:100%;min-width:90px}.team-stat-table .activity-start{border-top:3px solid #b7cec1}.stat-warnings{background:#fff8e9;border:1px solid #e3c989;margin:12px 0;padding:10px 14px;font-size:13px}.stat-warnings ul{margin:6px 0;padding-left:20px}.player-stat-scroll{max-width:100%;overflow-x:auto}.player-stat-grid{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%}.player-stat-grid th,.player-stat-grid td{white-space:nowrap}.player-stat-grid td input{width:78px;min-width:78px}.player-stat-grid .sticky-kind,.player-stat-grid .sticky-slot,.player-stat-grid .sticky-player{z-index:2;background:#f8fafb;position:sticky}.player-stat-grid thead .sticky-kind,.player-stat-grid thead .sticky-slot,.player-stat-grid thead .sticky-player{z-index:3}.player-stat-grid .sticky-kind{min-width:58px;left:0}.player-stat-grid .sticky-slot{min-width:72px;left:58px}.player-stat-grid .sticky-player{border-right:2px solid #cbd6db;min-width:160px;left:130px}@media (width<=650px){.formation-line{grid-template-columns:1fr;padding:6px 0}.formation-board{padding:6px}}@media (width<=760px){body{min-width:0}.app-shell{display:block}.sidebar{padding:14px}.brand{padding:0 4px 12px}nav{flex-flow:wrap;gap:4px;padding-top:10px}.nav-link{padding:7px 9px}.main-content{padding:22px 18px 50px}.context-field,.context-field select{min-width:0}.field,.field.wide{flex:100%;min-width:0}.section-heading,.squad-row,.bench-list li{flex-wrap:wrap}}.evaluation-factor-group{margin-top:1.25rem}.evaluation-factor-group ol{padding-left:1.5rem}.evaluation-factor-group li{margin:.5rem 0}.best-eleven-card{max-width:680px}.best-eleven-card h3{margin-bottom:4px}.button-link{color:#fff;background:#2d684b;border:1px solid #2d684b;border-radius:4px;padding:9px 13px;font-weight:600;text-decoration:none;display:inline-block}.button-link:hover{background:#21543a}.preset-editor{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);align-items:start;gap:20px;margin:18px 0;display:grid}.preset-editor .lineup-pitch{min-width:0}.preset-editor .lineup-slot{flex-basis:105px}.preset-slot-list{gap:8px;max-width:600px;margin:14px 0;display:grid}.preset-slot-list .field{min-width:0}.preset-slot-list select{width:100%}.squad-replace-confirm{background:#fff8ef;border:1px solid #d8a17d;margin:10px 0 16px;padding:12px}.squad-replace-confirm p{margin:0 0 10px}.squad-replace-confirm button+button{margin-left:8px}@media (width<=900px){.preset-editor{grid-template-columns:1fr}}.factor-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.factor-row>span,.factor-row input{flex:1;min-width:12rem}.fms-preview-entry{color:#245573;background:#fff;border:1px solid #245573;border-radius:3px;padding:8px 13px;font-size:14px;font-weight:600;text-decoration:none;display:inline-block}.fms-preview-page>a{color:#245573;margin-bottom:14px;font-size:13px;display:inline-block}.preview-steps{flex-wrap:wrap;gap:8px;margin:18px 0;padding:0;list-style:none;display:flex}.preview-file-bar{background:#edf2f5;border:1px solid #d8dfe4;flex-wrap:wrap;align-items:center;gap:15px;padding:12px 14px;font-size:13px;display:flex}.preview-file-bar button{margin-left:auto}.preview-file-picker{flex-direction:column;align-items:start;gap:10px;padding:16px 0;display:flex}.preview-file-picker label{font-size:14px;font-weight:600}.preview-file-picker small,.preview-note{color:#657481;font-size:13px;line-height:1.65}.preview-hash{overflow-wrap:anywhere;font:12px ui-monospace,monospace}.preview-detail{margin-top:12px;font-size:13px}.preview-club-list{max-height:360px;overflow:auto}.preview-club-list th{z-index:1;position:sticky;top:0}.preview-confirm,.preview-roster-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0;font-size:14px;display:flex}.preview-roster-toolbar span{margin-right:auto}.preview-roster-table{min-width:940px;font-size:13px}.preview-roster-table small{color:#657481;margin-top:3px;display:block}.preview-roster-table details,.preview-club-list details{color:#657481;margin-top:5px;font-size:11px}.preview-roster-table details p{overflow-wrap:anywhere}.preview-decisions{white-space:nowrap;gap:3px;display:flex}.preview-decisions button{padding:5px 7px;font-size:12px}.preview-roster-table tr[data-decision=EXCLUDE]{color:#657481;background:#f5f6f7}.preview-badge{white-space:nowrap;color:#4b5963;background:#eef1f3;border-radius:3px;padding:3px 7px;font-size:12px;font-weight:600;display:inline-block}.preview-auto{color:#247248;background:#e2f1e9}.preview-review_required{color:#785413;background:#fff0cf}.preview-manual_required{color:#245573;background:#e4edf4}.preview-no_value{color:#586771;background:#eef1f3}.preview-counts{grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0;display:grid}.preview-counts>div{background:#fff;border:1px solid #d8dfe4;justify-content:space-between;align-items:center;padding:13px;display:flex}.preview-counts strong{font-size:21px}@media (width<=600px){.preview-counts{grid-template-columns:repeat(2,1fr)}}.preview-slot-summary{border:1px solid #d8dfe4;margin:20px 0;padding:14px}.review-layout{grid-template-columns:300px minmax(0,1fr);gap:20px;margin:20px 0;display:grid}.review-layout>.panel{min-width:0;padding:18px}.review-layout select,.review-layout input{max-width:100%}.review-player-list{max-height:600px;margin:15px 0;padding:0;list-style:none;overflow:auto}.review-player-list li{margin-bottom:6px}.review-player-list button{text-align:left;white-space:normal;width:100%;padding:10px}.review-player-list small{line-height:1.6;display:block}.review-player-list button[aria-pressed=true]{background:#e4edf4;border-color:#245573}.review-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.review-field{border:1px solid #d8dfe4;min-width:0;padding:12px}.review-field-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.review-field input,.review-field select{width:100%}.review-field-wide{grid-column:1/-1}.review-field-actions,.review-add-row{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.review-field-actions button{padding:5px 8px;font-size:12px}.review-add-row input,.review-add-row select{flex:1;width:auto;min-width:120px}.review-family{border-top:1px solid #d8dfe4;margin-top:20px;padding-top:10px}.review-array{padding:0;list-style:none}.review-array li{align-items:center;gap:8px;margin:8px 0;display:flex}.review-array li input{flex:1;min-width:0}.review-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;font-size:11px;overflow:auto}.review-manual-form{border-top:1px solid #d8dfe4;flex-direction:column;gap:8px;margin-top:18px;padding-top:10px;display:flex}.review-source{border-top:1px solid #d8dfe4;padding:10px 0}.review-source button{margin-left:8px}@media (width<=1000px){.review-layout{grid-template-columns:1fr}.review-player-list{max-height:280px}}@media (width<=600px){.review-fields{grid-template-columns:1fr}}.import-preflight fieldset{border:0;border-bottom:1px solid #cbd4db;min-width:0;margin:0;padding:1rem 0}.import-preflight legend{padding:.4rem 0;font-size:1.05rem;font-weight:700}.import-target-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.import-target-grid label{gap:.4rem;display:grid}.import-player-table{min-width:850px}.import-player-table td{vertical-align:top}.import-player-table select{max-width:280px}.import-player-table small,.import-execute small{margin:.4rem 0;display:block}.import-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem 1rem;margin:0;padding:.7rem 0;display:grid}.import-summary-grid dt{color:#657481;font-size:.85rem}.import-summary-grid dd{margin:.3rem 0;font-weight:700}.import-issues li{margin:.5rem 0}.import-issues li button{margin-left:.5rem}.import-execute{border-top:1px solid #cbd4db;margin-top:1rem;padding-top:1rem}.import-modal-backdrop{z-index:50;background:#10182799;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.import-confirm-dialog{background:#fff;border-radius:8px;width:min(550px,100%);max-height:90vh;padding:1.5rem;overflow:auto;box-shadow:0 20px 60px #0003}.import-confirm-dialog dl{grid-template-columns:1fr 2fr;gap:.5rem;display:grid}.import-confirm-dialog dd{margin:0;font-weight:600}@media (width<=800px){.import-target-grid{grid-template-columns:1fr 1fr}.import-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=500px){.import-target-grid{grid-template-columns:1fr}}.fms-preview-page{overflow-wrap:anywhere}.fms-preview-page input[type=file]{min-width:0;max-width:100%}.fms-preview-page button{white-space:normal;max-width:100%}.fms-preview-page [tabindex="-1"]:focus-visible,.fms-preview-page summary:focus-visible{outline-offset:2px;outline:2px solid #1673a3}.review-player-list button{text-align:left}body:has(.fms-preview-page){min-width:0}
