:root{font-family:Arial,Helvetica,sans-serif;color:#142f37;background:#f4f6f2;font-size:15px;line-height:1.5;--accent:#176b54}*{box-sizing:border-box}body{margin:0}body.girls{--accent:#76528f}header,main{max-width:1128px;margin:auto;padding:20px}header{display:flex;align-items:center;gap:14px;border-bottom:1px solid #cdd6d1}header small{display:block;letter-spacing:2px;font-size:10px}header a{margin-left:auto}h1{font-size:30px;margin:12px 0}h2{font-size:21px;margin:0 0 12px}h3{font-size:17px}p{margin:10px 0}a{color:var(--accent)}button,.button{background:var(--accent);color:white;border:0;border-radius:6px;font:inherit;padding:9px 14px;cursor:pointer;text-decoration:none;display:inline-block}button:hover,.button:hover{filter:brightness(1.15)}button:disabled{opacity:.5;cursor:wait}input,select,textarea{font:inherit;border:1px solid #b9c9c1;border-radius:5px;padding:8px;max-width:100%;width:100%;background:white;color:#142f37}label{display:block;font-size:13px;font-weight:bold}label input,label select,label textarea{display:block;font-weight:normal;margin-top:4px}input[type=checkbox]{width:auto;display:inline}textarea{min-height:80px}section,.player,.report{background:white;border:1px solid #d5dfd8;border-radius:9px;padding:18px;margin:16px 0}.toolbar,.fields,.row-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.fields label{flex:1 1 100px}.toolbar label{flex:0 1 180px}.player .identity{display:grid;grid-template-columns:100px minmax(140px,1fr) minmax(120px,1fr);gap:12px}.player .fields{margin-top:12px}.player .fields label{flex:0 1 110px}.hint,small{color:#536864;font-size:13px}.error{color:#9b2323}.warning{background:#fff3d7;padding:10px;border-radius:6px}.status{font-size:12px;font-weight:bold;text-transform:uppercase;color:var(--accent)}#notice{padding:12px;background:#e4ece6;border-radius:6px;white-space:pre-wrap}.danger{background:#963c3c}.list{list-style:none;padding:0}.list li{padding:10px 0;border-bottom:1px solid #e1e7e3}.link-output{word-break:break-all;background:#eef3ef;padding:12px}details{margin:12px 0}summary{cursor:pointer;font-weight:bold}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.review-grid>section{min-width:0}pre{white-space:pre-wrap;overflow-wrap:anywhere}button:focus-visible,a:focus-visible{outline:3px solid #d8ab36;outline-offset:3px}[hidden]{display:none!important}@media(max-width:700px){header,main{padding:14px}.review-grid{display:block}.player{padding:12px}.player .identity{grid-template-columns:1fr 1fr}.player .identity label:nth-child(2){grid-column:1/-1;grid-row:2}.player .fields{gap:8px}.player .fields label{flex:1 1 80px}h1{font-size:26px}.toolbar{gap:8px}section{padding:14px}}
/* Online stats workflow */
.secondary{background:#e6eee9;color:#174c40}.game-fields .game-choice{flex:2 1 300px}.player .identity{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr)}.player .identity label:nth-child(2){grid-column:auto;grid-row:auto}.goalie-heading{margin-top:28px}.notes{margin-top:24px}.edit-game{font-size:18px;letter-spacing:.05em;margin-top:20px;padding:10px 0;border-bottom:2px solid var(--accent)}.comparison-wrap{overflow:auto;margin:12px 0}.comparison{border-collapse:collapse;width:100%;table-layout:fixed;font-size:13px}.comparison th,.comparison td{padding:12px;border:1px solid #d5dfd8;text-align:left;overflow-wrap:anywhere;vertical-align:top}.comparison th:first-child{width:25%}.comparison thead{background:#e4ece6}.comparison .different{background:#fff3d7}.comparison small{display:block}.row-actions{margin:12px 0}#inboxFilter{max-width:320px}
@media(max-width:700px){.game-fields .game-choice{flex-basis:100%}.player .identity{grid-template-columns:1fr 1fr}.comparison th,.comparison td{padding:6px;font-size:12px}.player .fields button{flex-basis:100%}.row-actions button{flex:1 1 130px}}
/* Compact administration sections */
.stats-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:20px 0;border-bottom:1px solid #d6e0dc;padding-bottom:12px}.stats-tabs button{background:#e6eeea;color:#173e35}.stats-tabs button.selected{background:#17664f;color:#fff}.girls .stats-tabs button.selected{background:#674083;color:#fff}.compact-report{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 0!important}.compact-report>div{min-width:0}.compact-report button{flex-shrink:0;padding:7px 10px}.roster-table{width:100%;border-collapse:collapse;table-layout:fixed}.roster-table th,.roster-table td{padding:7px 8px;text-align:left;border-bottom:1px solid #e1e7e3;overflow-wrap:anywhere}.roster-table th:first-child{width:35%}.roster-table th:last-child{width:28%}.roster-table button{padding:5px 9px;margin:2px}.roster-table-wrap{overflow:auto}#rosterForm .fields{align-items:end;gap:9px}#rosterForm .fields button{margin-bottom:0}.make-corrections{margin-left:12px}.report .status{display:inline-block}#reviewContext{margin-bottom:14px}#review:empty{display:none}
@media(max-width:600px){.stats-tabs button{font-size:12px;padding:9px}.compact-report{font-size:12px}.compact-report button{font-size:11px;padding:6px}.roster-table{font-size:12px}.roster-table th,.roster-table td{padding:6px 3px}.roster-table button{font-size:11px;padding:5px}.make-corrections{margin-top:6px}}
.roster-help{margin-bottom:12px}.roster-help summary{font-size:13px;cursor:pointer}.roster-help p{font-size:13px;margin-bottom:8px}
.toolbar:has(#competition){align-items:center}#reviewQueue,#notice{scroll-margin-top:16px}#notice a{font-weight:bold;text-decoration:underline}.coach-page #reports .report{display:flex;gap:7px;align-items:center}.coach-page #reports .report-match{min-width:0;flex:1}.coach-page #reports button{flex-shrink:0}
@media(max-width:760px){.coach-page #reports .report{padding:9px 7px;gap:5px;white-space:nowrap;font-size:10px}.coach-page #reports .report-match{overflow:hidden;text-overflow:ellipsis}.coach-page #reports .status{font-size:9px}.coach-page #reports .make-corrections{margin:0;padding:6px 5px;font-size:9px}}
.toolbar.stats-season-row{display:flex;flex-wrap:nowrap;align-items:center;gap:24px}.stats-season-row>strong{white-space:nowrap}.stats-season-row>label{display:flex;align-items:center;gap:9px;flex:0 1 auto;white-space:nowrap;margin:0}.stats-season-row>label select{margin:0;width:auto;min-width:75px}.stats-season-row>#install{margin-left:auto;flex-shrink:0}
@media(max-width:600px){.toolbar.stats-season-row{gap:10px}.stats-season-row>strong,.stats-season-row>label{font-size:10px}.stats-season-row>label{gap:4px}.stats-season-row>label select{min-width:55px;padding:6px 2px;font-size:11px}.stats-season-row>#install{font-size:9px;padding:7px 5px;max-width:70px}}

body.girls{color:#292640;background:#f8f7fb}
body.girls :is(section,.player,.report,header,input,select,textarea,.stats-tabs){border-color:#d8d0e5}
body.girls :is(#notice,.link-output){background:#eee8f5;color:#44316f}
body.girls .stats-tabs button:not(.selected){background:#eee8f5;color:#44316f}
body.girls :is(.hint,small){color:#6d697e}
body.girls .roster-table :is(th,td){border-color:#e2dfe9}
