@media screen {
body.coach-ux-foundation-v1 .coach-evaluations>h2{padding:20px;border-radius:14px;background:linear-gradient(115deg,#183d8c,#4b46bb);color:#fff;}
.coach-eval-filters{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;margin:20px 0;}
.coach-eval-filters label,.coach-eval-entry label,.coach-eval-search{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px;font-weight:600;}
.coach-eval-filters label{flex:1 1 180px;}
.coach-evaluations input,.coach-evaluations select{padding:11px;border:1px solid #d4deef;border-radius:10px;background:#fff;color:#18243b;max-width:100%;width:100%;box-sizing:border-box;font-size:16px;}
.coach-eval-search{max-width:400px;margin-bottom:16px;}
.coach-eval-entry-list{margin:14px 0;}
.coach-eval-entry{display:grid;grid-template-columns:minmax(140px,1.2fr) repeat(3,minmax(110px,1fr));gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid #e2e8f3;}
.coach-eval-entry[hidden]{display:none;}
.coach-eval-entry>strong{overflow-wrap:anywhere;}
.coach-evaluation-history{margin-top:22px;}
.coach-eval-latest{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:18px 0;}
.coach-eval-latest>div{padding:16px;background:#f0f4fd;border-radius:12px;border-top:3px solid #4655bd;}
.coach-eval-latest span,.coach-eval-latest strong,.coach-eval-latest small{display:block;margin:4px 0;overflow-wrap:anywhere;}
.coach-eval-latest small{color:#526580;}
.coach-eval-table-wrap{overflow-x:auto;margin:16px 0;}
.coach-eval-table{width:100%;border-collapse:collapse;font-size:13px;}
.coach-eval-table td,.coach-eval-table th{padding:12px;text-align:left;border-bottom:1px solid #dce4ef;vertical-align:top;}
.coach-eval-table th{background:#f1f4fa;color:#354764;}
.coach-eval-table td form{margin-top:8px;}
}
@media screen and (max-width:620px){
.coach-eval-entry{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;}
.coach-eval-entry>strong{grid-column:1/-1;}
.coach-eval-entry label:last-child{grid-column:1/-1;}
.coach-eval-latest{grid-template-columns:minmax(0,1fr);}
.coach-eval-filters{flex-direction:column;align-items:stretch;}
.coach-eval-filters label{flex:auto;}
}
@media print{
.coach-eval-latest{display:grid;grid-template-columns:repeat(3,1fr);gap:3mm;}
.coach-eval-latest>div{break-inside:avoid;padding:2mm;}
.coach-eval-latest span,.coach-eval-latest strong,.coach-eval-latest small{display:block;}
.coach-eval-table{width:100%;border-collapse:collapse;font-size:8pt;}
.coach-eval-table th,.coach-eval-table td{padding:2mm;border:1px solid #ccc;text-align:left;}
.coach-eval-table thead{display:table-header-group;}.coach-eval-table tr{break-inside:avoid;}
}
@media screen {
.coach-eval-setup{display:grid;gap:18px;margin:20px 0;}
.coach-eval-setup fieldset{border:1px solid #dce4f0;border-radius:12px;padding:16px;min-width:0;margin:0;}
.coach-eval-setup legend{font-weight:700;padding:0 8px;}
.coach-eval-options{display:flex;flex-wrap:wrap;gap:10px;}
.coach-evaluations .coach-eval-options label{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#f0f4fd;border-radius:9px;min-height:44px;}
.coach-evaluations .coach-eval-options input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:0;}
.coach-eval-options label:has(input:checked){background:#dfe7ff;color:#183d8c;}
.coach-eval-player-batch{margin:18px 0;padding:18px;border:1px solid #dde5f1;border-radius:14px;background:#f8faff;}
.coach-eval-player-batch[hidden]{display:none;}
.coach-eval-test-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:16px;}
.coach-eval-test-cell{min-width:0;}
.coach-eval-test-cell label{display:flex;flex-direction:column;gap:6px;margin-bottom:8px;font-size:13px;font-weight:600;}
.coach-eval-test-cell details summary{font-size:12px;color:#405780;cursor:pointer;}
.coach-eval-test-cell details input{margin-top:8px;}
}
@media screen and (max-width:620px){
.coach-eval-test-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.coach-eval-player-batch{padding:12px;}
.coach-eval-options{gap:8px;}
}
@media screen and (max-width:360px){.coach-eval-test-grid{grid-template-columns:minmax(0,1fr);}}
/* 1.0.67.29 — touch layout, scoped to physical evaluations. */
@media screen {
body.coach-ux-foundation-v1 .coach-evaluations .coach-eval-options label{box-sizing:border-box;min-width:0;max-width:100%;white-space:normal;}
body.coach-ux-foundation-v1 .coach-evaluations .coach-eval-options input[type="checkbox"]{width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;max-height:20px!important;flex:0 0 20px!important;padding:0!important;margin:0!important;box-shadow:none!important;appearance:auto!important;-webkit-appearance:checkbox!important;accent-color:#3155f6;}
body.coach-ux-foundation-v1 .coach-evaluations .coach-eval-options label>span{display:block;min-width:0;width:auto!important;max-width:100%;overflow-wrap:anywhere;flex:1 1 0;}
}
@media screen and (max-width:768px){
body.coach-ux-foundation-v1:has(#coach-evaluation-multi) .coach-sidebar{position:static!important;top:auto!important;}
body.coach-ux-foundation-v1 #coach-evaluation-multi{padding:16px!important;min-width:0;max-width:100%;box-sizing:border-box;}
body.coach-ux-foundation-v1 #coach-evaluation-multi h2{font-size:22px!important;padding:16px!important;line-height:1.25!important;}
body.coach-ux-foundation-v1 .coach-evaluations .coach-eval-setup fieldset{padding:12px!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
body.coach-ux-foundation-v1 .coach-evaluations .coach-eval-options{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important;min-width:0!important;}
body.coach-ux-foundation-v1 .coach-evaluations .coach-eval-options label{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;min-width:0!important;min-height:48px!important;height:auto!important;padding:12px!important;margin:0!important;text-align:left!important;font-size:15px!important;line-height:1.4!important;}
body.coach-ux-foundation-v1 .coach-evaluations .coach-eval-test-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;}
body.coach-ux-foundation-v1 .coach-evaluations .coach-eval-test-cell{padding-bottom:14px;border-bottom:1px solid #dce4ef;}
body.coach-ux-foundation-v1 .coach-evaluations .coach-eval-test-cell:last-child{border-bottom:0;padding-bottom:0;}
body.coach-ux-foundation-v1 .coach-evaluations .coach-eval-entry{grid-template-columns:minmax(0,1fr)!important;}
body.coach-ux-foundation-v1 .coach-evaluations .coach-eval-test-cell summary{min-height:44px;display:flex;align-items:center;}
body.coach-ux-foundation-v1 .coach-evaluations .coach-eval-player-batch h3{font-size:18px!important;line-height:1.35!important;overflow-wrap:anywhere;}
body.coach-ux-foundation-v1 .coach-evaluations .coach-eval-search{max-width:100%;}
}
@media screen {
body.coach-ux-foundation-v1 .coach-attendance-multi-picker{border:1px solid #dce4ef;border-radius:12px;padding:12px;min-width:0;grid-column:1/-1;}
body.coach-ux-foundation-v1 .coach-attendance-multi-picker>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;}
body.coach-ux-foundation-v1 .coach-attendance-multi-picker label{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;width:100%!important;min-width:0;padding:12px;min-height:46px;background:#f0f4fd;border-radius:10px;box-sizing:border-box;}
body.coach-ux-foundation-v1 .coach-attendance-multi-picker input[type=checkbox]{width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;flex:0 0 20px!important;padding:0!important;margin:0!important;appearance:auto!important;}
body.coach-ux-foundation-v1 .coach-attendance-multi-picker span{min-width:0;overflow-wrap:anywhere;}
}
@media screen and (max-width:620px){body.coach-ux-foundation-v1 .coach-attendance-multi-picker>div{grid-template-columns:minmax(0,1fr);}}
/* Compact attendance entry, shared by single and multiple teams. */
@media screen {
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-attendance-player-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:start!important;margin-top:16px!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-attendance-player-card{display:flex!important;flex-direction:column!important;gap:12px!important;padding:16px!important;margin:0!important;min-width:0!important;min-height:0!important;border:1px solid #dde5f1!important;border-radius:14px!important;background:#fff!important;box-shadow:0 3px 10px rgba(25,45,85,.04)!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-attendance-player-card.is-absent{border-color:#edb5b5!important;background:#fff8f8!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-attendance-player-head{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-player-avatar-mini{display:grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;height:34px!important;border-radius:10px!important;background:#edf2ff!important;color:#24469e!important;font-size:12px!important;font-weight:700!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-attendance-player-head strong{display:block!important;font-size:15px!important;line-height:1.3!important;overflow-wrap:anywhere!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-attendance-player-head small{display:block!important;font-size:12px!important;color:#62718a!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-status-toggle{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-status-toggle label{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:100%!important;min-width:0!important;min-height:44px!important;padding:6px!important;margin:0!important;border:1px solid #dbe3ef!important;border-radius:9px!important;background:#f4f6fa!important;font-size:12px!important;box-sizing:border-box!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-status-toggle input[type=radio]{appearance:auto!important;-webkit-appearance:radio!important;width:15px!important;min-width:15px!important;max-width:15px!important;height:15px!important;min-height:15px!important;flex:0 0 15px!important;padding:0!important;margin:0!important;box-shadow:none!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-status-toggle label:has(input[value=present]:checked){background:#e6f7ed!important;border-color:#73be94!important;color:#17613b!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-status-toggle label:has(input[value=late]:checked){background:#fff4db!important;border-color:#d9b36b!important;color:#805a15!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-status-toggle label:has(input[value=absent]:checked){background:#fce7e7!important;border-color:#df9393!important;color:#962e2e!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-absence-details{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding-top:10px!important;border-top:1px solid #ead7d7!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-absence-details[hidden]{display:none!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-absence-details label{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;font-size:12px!important;}
body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-absence-details input,body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-absence-details select{width:100%!important;max-width:100%!important;min-width:0!important;min-height:42px!important;box-sizing:border-box!important;padding:9px!important;font-size:16px!important;}
}
@media screen and (min-width:1450px){body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-attendance-player-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media screen and (max-width:720px){body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-attendance-player-list{grid-template-columns:minmax(0,1fr)!important;}}
@media screen and (max-width:360px){body.coach-ux-foundation-v1 .coach-attendance-form-v9 .coach-absence-details{grid-template-columns:minmax(0,1fr)!important;}}
@media screen {
.coach-eval-results-scroll{overflow-x:auto;max-width:100%;margin-top:16px;border:1px solid #dce4ef;border-radius:12px;}
.coach-eval-results-table{border-collapse:separate;border-spacing:0;width:100%;min-width:950px;font-size:13px;}
.coach-eval-results-table th,.coach-eval-results-table td{padding:12px;border-right:1px solid #e1e7f0;border-bottom:1px solid #e1e7f0;text-align:left;vertical-align:top;}
.coach-eval-results-table thead th{background:#edf2fc;color:#203f89;}
.coach-eval-results-table small{display:block;color:#566680;font-size:11px;margin-top:4px;}
.coach-eval-results-table th:first-child{position:sticky;left:0;background:#f3f6fc;min-width:180px;z-index:1;}
.coach-eval-results-table tbody tr:nth-child(even) td{background:#f9fbff;}
.coach-eval-results-table td details{margin-top:6px;font-size:12px;max-width:170px;overflow-wrap:anywhere;}
.coach-eval-results-table a{color:#203f89;}
#coach-team-evaluation-report{margin-top:20px;min-width:0;}
}
