@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--forest:#112b22;--lime:#c7fa6a;--paper:#f5f5ed;--white:#fffef8;--ink:#19372a;--muted:#758370;--line:#d9e2d0;--font:'DM Sans',Arial,sans-serif;--heading:'Manrope',Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px var(--font);-webkit-font-smoothing:antialiased}[hidden],.hidden{display:none!important}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #72994c}h1,h2,h3,p{margin-top:0}button{border:0;background:none}.skip{position:absolute;top:-100px;left:20px;background:var(--lime);padding:15px;z-index:20}.skip:focus{top:12px}main{max-width:1440px;margin:auto;padding:35px 5% 50px;min-height:calc(100vh - 164px)}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.8px;color:#89a075;margin:0 0 11px}h1{font:650 37px/1.25 var(--heading);letter-spacing:-1.6px;margin-bottom:9px}h1>span{color:#83a555}h2{font:650 24px/1.35 var(--heading);letter-spacing:-.8px;margin-bottom:9px}h3{font:650 16px/1.4 var(--heading);letter-spacing:-.35px;margin-bottom:9px}.workspace-intro{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:28px}.workspace-intro>div>p:last-child{font-size:12px;line-height:1.8;color:var(--muted);margin:0}.private-label{font-size:9px;color:#6e865a;border:1px solid #cedcbe;padding:8px 10px;border-radius:4px;background:#edf2e5;white-space:nowrap}.workspace-nav,.profile-tabs{display:flex;align-items:center;gap:29px;border-bottom:1px solid #cbd7bf;margin-bottom:25px;overflow-x:auto}.workspace-nav button,.profile-tabs button{font-size:12px;white-space:nowrap;padding:0 0 16px;color:#809371;position:relative;font-weight:550}.workspace-nav button.active,.profile-tabs button.active{color:#234d31}.workspace-nav button.active:after,.profile-tabs button.active:after{content:'';height:3px;position:absolute;bottom:0;left:0;right:0;background:#83a958}.workspace-nav button>span{font-size:9px;background:#e2edcf;color:#43662e;border-radius:10px;padding:3px 6px;margin-left:4px}.workspace-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:24px}label{display:flex;flex-direction:column;gap:7px;font-size:10px;font-weight:550;color:#5c744b;margin-bottom:17px}input,select,textarea{width:100%;min-width:0;border:1px solid #cedbc1;background:#fffef9;color:var(--ink);border-radius:4px;padding:11px 12px;font-size:12px}textarea{resize:vertical;line-height:1.8}input::placeholder,textarea::placeholder{color:#a0ac94}.workspace-filters label{margin:0;min-width:125px;flex:1}.workspace-filters label.search-field{min-width:200px;flex:1.7}.workspace-filters .season-field{flex:0 1 115px;min-width:105px}.sport-filter{display:flex;border:1px solid #cad8bd;padding:3px;border-radius:5px;gap:3px;align-self:end;background:#edf2e5}.sport-filter button{padding:9px 12px;border-radius:3px;color:#829575;font-size:10px}.sport-filter button.active{background:var(--forest);color:var(--lime)}.button,.secondary,.text-button,.warning-button{display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:8px;padding:12px 17px;border:1px solid var(--forest);border-radius:5px;background:var(--forest);color:var(--lime);font-size:11px;font-weight:600;line-height:1.5;min-height:42px}.button:hover{background:#254c36}.secondary{background:var(--white);color:#5b7844;border-color:#c6d6b7}.secondary:hover{background:#eaf1df}.text-button{background:none;border:0;color:#5f813f;padding:8px 0;min-height:34px;text-align:left;justify-content:flex-start}.warning-button{background:#fff8f0;border-color:#ddc8b4;color:#8d6348}.filter-apply{padding:10px 14px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.panel-heading p,.muted{color:var(--muted);font-size:11px;line-height:1.8;margin:0}.panel-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:6px;background:var(--white)}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th{background:#edf2e5;color:#6b805c;font-size:9px;font-weight:600;padding:13px 15px;border-bottom:1px solid #d7e1ca}th button{font:inherit;padding:0;color:inherit;text-align:left}th button.sorted{color:#234c30}td{padding:15px;font-size:11px;border-bottom:1px solid #e5ebdc;color:#5c734d}tbody tr:last-child td{border:0}tbody tr:hover{background:#f5f8ec}td.name-cell{min-width:190px}td .record-link{font-weight:650;color:#274931;padding:2px 0;text-align:left}td small{display:block;color:#92a281;margin-top:5px;font-size:8px}.table-actions{display:flex;gap:13px;align-items:center}.table-actions button{font-size:10px;color:#5c7d40;padding:5px 0}.compare-check{accent-color:#6f9846;width:15px;height:15px;margin:0}.pager{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;font-size:10px;color:#879978}.pager>div{display:flex;gap:7px}.pager button{padding:8px 12px;min-height:35px;font-size:10px}.empty{border:1px dashed #c6d4b7;background:#edf2e4;border-radius:7px;padding:48px 25px;text-align:center;color:#7d926c}.empty h2{color:#375c2e;font-size:23px}.empty p{font-size:12px;line-height:1.9;margin:0 auto 20px;max-width:420px}.empty .button{margin-top:4px}.record-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.record-card,.panel{background:var(--white);border:1px solid var(--line);border-radius:7px;padding:23px}.record-card .eyebrow{font-size:8px;margin-bottom:17px}.record-card p{font-size:11px;color:#7f9271;line-height:1.8}.record-card .panel-actions{border-top:1px solid #e0e8d5;padding-top:13px;margin-top:20px}.badge{font-size:8px;letter-spacing:.3px;color:#6b8754;background:#edf3e3;border:1px solid #d4e1c5;border-radius:4px;padding:5px 7px;display:inline-block;white-space:nowrap}.badge.archived{background:#f0eee5;color:#92856d;border-color:#e0d9cb}.profile-back{font-size:10px;color:#7d9764;padding:0 0 17px;display:inline-block}.profile-header{display:flex;align-items:center;gap:19px;padding:26px;background:var(--forest);color:#fff;border-radius:8px;margin-bottom:22px;flex-wrap:wrap}.avatar{display:grid;place-items:center;width:66px;height:66px;border:1px solid #6b8e50;border-radius:50%;background:#223f2d;color:var(--lime);font:650 24px var(--heading);flex-shrink:0}.profile-identity{flex:1;min-width:160px}.profile-identity .eyebrow{color:#a3c78a;font-size:8px}.profile-identity h2{font-size:27px;letter-spacing:-.8px;color:white}.profile-identity p{color:#b1c7a6;font-size:11px;line-height:1.8;margin:0}.profile-reference{text-align:right;color:#aac39b;font-size:9px;line-height:1.7}.profile-reference strong{display:block;color:var(--lime);font-size:13px;letter-spacing:.4px;margin-top:4px}.profile-meta{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;padding:18px 0 23px}.profile-meta dt{color:#92a280;font-size:9px;margin-bottom:6px}.profile-meta dd{font-size:12px;line-height:1.7;margin:0;color:#5d7848}.profile-tabs{gap:24px;margin-top:4px}.profile-tabs button{font-size:10px;padding-bottom:13px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.metric{padding:19px 20px;border:1px solid var(--line);border-radius:6px;background:var(--white)}.metric strong{font:650 26px var(--heading);letter-spacing:-1px;display:block;color:#385c2d;line-height:1.5}.metric>span{font-size:9px;color:#8a9c7b;display:block;margin-top:7px;line-height:1.7}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:22px}.panel .panel-heading{margin-bottom:18px}.panel .panel-heading h3{margin:0}.stat-list{margin:0}.stat-list>div{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;padding:11px 0;border-bottom:1px solid #e1e9d7}.stat-list>div:last-child{border:0}.stat-list dt{color:#829674}.stat-list dd{margin:0;color:#4a6d34;text-align:right;font-weight:550}.note-card{border:1px solid var(--line);background:var(--white);border-radius:6px;padding:20px;margin-bottom:13px}.note-top{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.note-card h3{font-size:17px}.note-card p{white-space:pre-wrap;font-size:12px;line-height:1.85;color:#6e845f;margin:12px 0}.note-card small{font-size:9px;color:#91a27e;line-height:1.8}.note-card .panel-actions{margin-top:13px}.evidence-link{display:inline-block;font-size:10px;text-decoration:underline;text-underline-offset:3px;color:#527a35;margin:8px 0}.profile-note{font-size:11px;line-height:1.9;color:#7f9470;white-space:pre-wrap;margin:0 0 22px;padding:17px 20px;border-left:2px solid #b3cc92;background:#edf3e3}.plot{border:1px solid #456e46;background:#163c29;border-radius:6px;overflow:hidden;margin:14px 0}.plot svg{display:block;width:100%;height:auto}.plot-empty{min-height:175px;display:grid;place-items:center;text-align:center;background:#eff3e7;border:1px dashed #cfddbf;color:#8c9d7d;padding:25px;border-radius:5px;font-size:11px;line-height:1.8;margin-top:15px}.plot-key{display:flex;gap:15px;flex-wrap:wrap;font-size:9px;color:#8ba177;margin-top:10px}.plot-key i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px}.data-note{font-size:10px;color:#8b9e7c;line-height:1.9;margin:18px 0 0}.section-space{margin-top:26px}.compare-names{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.compare-player{background:var(--forest);color:#fff;border-radius:6px;padding:23px}.compare-player p{font-size:10px;color:#a8c794;line-height:1.8;margin:0}.compare-player h2{font-size:23px}.compare-player button{color:var(--lime);font-size:10px;padding:12px 0 0}.compare-table th:first-child{min-width:200px}.compare-table td{width:30%}.error{border:1px solid #e0c4af;background:#fff2e9;color:#9e5c42;border-radius:5px;font-size:11px;line-height:1.9;padding:13px 16px;margin:0 0 20px;white-space:pre-wrap}.loading-panel{text-align:center;padding:85px 20px;color:#859976;font-size:12px}.loading-dot{width:25px;height:25px;border:2px solid #d2dfc4;border-top-color:#709249;display:block;border-radius:50%;margin:0 auto 20px;animation:turn 1s linear infinite}.auth-panel{text-align:center;max-width:560px;margin:40px auto 65px;padding:30px 0}.private-mark{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;border:1px solid #c4d7ae;background:#e8f1db;color:#557936;font:650 21px var(--heading);margin:0 auto 25px}.auth-panel h1{font-size:33px}.auth-panel>p:not(.eyebrow){font-size:12px;line-height:1.9;color:#879b76;margin:18px 0 27px}.auth-panel .button{margin:auto}.no-script{padding:25px;text-align:center}dialog{width:830px;max-width:calc(100vw - 32px);max-height:91dvh;border:1px solid #bfd0ac;border-radius:9px;padding:27px;background:#f7f8ee;color:var(--ink);box-shadow:0 20px 80px #0003}dialog::backdrop{background:#092219ba;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.dialog-heading h2{margin:0;font-size:25px}.dialog-heading .eyebrow{font-size:8px;margin-bottom:8px}.close-button{font-size:27px;color:#8ba174;line-height:1;min-width:35px;min-height:35px;padding:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-grid .wide{grid-column:1/-1}.form-section-title{font:650 15px var(--heading);letter-spacing:-.4px;margin:8px 0 18px;padding-top:20px;border-top:1px solid #dce6d2}.form-section-title:first-child{padding-top:0;border:0;margin-top:0}.field-help{font-size:10px;font-weight:400;color:#91a27f;line-height:1.8;margin:0 0 18px}.editor-actions{display:flex;justify-content:space-between;align-items:center;gap:13px;border-top:1px solid #d9e3cd;padding-top:20px;margin-top:10px}.editor-actions .button{min-width:175px}.checkbox-label{flex-direction:row;align-items:center;gap:9px}.checkbox-label input{width:15px;height:15px;accent-color:#6f9846;margin:0}.file-field{border:1px dashed #bfceae;background:#eef3e5;border-radius:5px;padding:17px;margin:12px 0 22px}.file-field input{font-size:11px;background:#fffef8}.file-field p{font-size:10px;color:#81966d;line-height:1.8;margin:10px 0}.file-field .panel-actions{margin:7px 0 0}.file-field .secondary{font-size:10px;padding:8px 11px;min-height:35px}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,16px);background:var(--lime);color:var(--forest);padding:13px 19px;border-radius:5px;box-shadow:0 6px 30px #0002;opacity:0;pointer-events:none;transition:.2s;z-index:100;font-size:11px;max-width:90vw;text-align:center;line-height:1.8}.toast.visible{opacity:1;transform:translate(-50%,0)}@keyframes turn{to{transform:rotate(360deg)}}
@media(max-width:1000px){main{padding-left:5%;padding-right:5%}.workspace-filters{gap:9px}.workspace-filters label.search-field{min-width:185px}.record-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.metric{padding:16px}.metric strong{font-size:23px}.profile-meta{grid-template-columns:repeat(3,1fr);gap:18px}.workspace-filters .sport-filter{order:1}.workspace-filters .season-field{order:2}.filter-apply{order:3}}
@media(max-width:700px){main{padding:28px 5% 35px}.workspace-intro{gap:15px;align-items:flex-start}.workspace-intro h1{font-size:30px}.workspace-intro>div>p:last-child{font-size:10px}.private-label{font-size:7px;padding:7px}.workspace-nav{gap:25px;margin-bottom:22px}.workspace-nav button{font-size:11px;padding-bottom:13px}.workspace-filters label.search-field{min-width:100%;flex:1}.workspace-filters label{min-width:110px}.workspace-filters .season-field{flex:1;min-width:100px}.sport-filter{min-height:40px}.sport-filter button{padding:8px 12px}.panel-heading{gap:14px;align-items:flex-start;flex-wrap:wrap}.panel-heading h2{font-size:22px}.panel-actions .button,.panel-actions .secondary{font-size:10px;padding:10px 13px;min-height:39px}.record-grid{grid-template-columns:1fr 1fr;gap:11px}.record-card,.panel{padding:19px}.record-card h3{font-size:15px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-column{grid-template-columns:1fr;gap:13px}.profile-header{padding:22px 19px;gap:14px}.profile-identity h2{font-size:24px}.profile-reference{width:100%;text-align:left;padding-top:13px;border-top:1px solid #426137}.profile-reference strong{display:inline;margin-left:10px}.profile-meta{grid-template-columns:repeat(3,1fr);gap:17px 12px}.profile-meta dt{font-size:8px}.profile-meta dd{font-size:10px}.profile-tabs{gap:22px}.profile-tabs button{font-size:10px}.form-grid{gap:0 13px}.compare-player{padding:18px}.compare-player h2{font-size:19px}.compare-player p{font-size:9px}.compare-names{gap:10px}.empty{padding:37px 20px}.empty h2{font-size:21px}.empty p{font-size:11px}td{font-size:10px;padding:13px}th{padding:12px 13px}.table-actions{gap:10px}.table-actions button{font-size:9px}label{font-size:10px}input,select,textarea{font-size:11px}.private-label{max-width:82px;text-align:center;line-height:1.7;white-space:normal}.auth-panel h1{font-size:29px}.auth-panel>p:not(.eyebrow){font-size:11px}.auth-panel .button{font-size:10px}}
@media(max-width:420px){.workspace-intro h1{font-size:27px}.eyebrow{font-size:7px;letter-spacing:1.4px}.workspace-intro{margin-bottom:24px}.workspace-nav{gap:24px}.workspace-filters .season-field{min-width:90px}.sport-filter button{padding:8px 10px;font-size:9px}.filter-apply{padding:9px 12px;font-size:10px}.record-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}dialog{padding:22px 18px;max-width:calc(100vw - 24px)}.dialog-heading h2{font-size:23px}.editor-actions .button{min-width:145px}.editor-actions .button,.editor-actions .secondary{font-size:10px;padding:12px 14px}.metric{padding:16px}.metric strong{font-size:23px}.profile-meta{grid-template-columns:repeat(2,1fr)}.profile-header .avatar{width:55px;height:55px;font-size:20px}.profile-identity{min-width:130px}.profile-identity h2{font-size:22px}.profile-identity p{font-size:10px}.profile-reference{font-size:8px}.profile-reference strong{font-size:11px}.compare-player h2{font-size:17px}.compare-player{padding:16px}.pager{font-size:9px}.pager button{padding:8px 10px;font-size:9px}.stat-list>div{font-size:10px}.panel h3{font-size:16px}.note-card h3{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.loading-dot{animation:none}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.inline-record-filter{max-width:190px;margin-bottom:20px}
.metric-editor{border:1px solid #d9e3cd;background:#fffef7;border-radius:5px;margin:0 0 13px;overflow:hidden}
.metric-editor>summary{cursor:pointer;list-style:none;font-size:12px;font-weight:600;color:#54733e;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.metric-editor>summary:after{content:'+';font-size:17px;font-weight:400;color:#88a46b}.metric-editor[open]>summary:after{content:'−'}
.metric-editor>summary::-webkit-details-marker{display:none}.metric-editor[open]>summary{border-bottom:1px solid #e2e9d9;margin-bottom:17px}
.metric-editor>.form-grid{padding:0 17px}.metric-editor>.file-field{margin:0 17px 17px}
#reload-editor{margin:0 0 18px}
