#coachWorkspace[hidden]{display:none!important}#coachWorkspace{position:fixed;inset:var(--coach-roster-safe-top,48px) 0 0;z-index:2147483000;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;background:radial-gradient(ellipse at top right,#164750,#081b2b 65%);color:#eef9fc;padding:16px max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));font-family:system-ui,sans-serif}#coachWorkspace>header,#coachWorkspace>p,#coachWorkspaceContent{max-width:1200px;margin-left:auto;margin-right:auto}#coachWorkspace>header{display:flex;align-items:center;gap:14px;flex-wrap:wrap}#coachWorkspace h1{font-size:clamp(24px,5vw,40px);margin:10px 0}#coachWorkspace h2{font-size:21px}#coachWorkspace h3{font-size:17px}#coachWorkspace p{line-height:1.5;overflow-wrap:anywhere}#coachWorkspaceIdentity{color:#b9dbe1;font-size:14px}#coachWorkspaceNotice:not(:empty){position:sticky;top:0;z-index:5;padding:12px;background:#153e47;border:1px solid #93d8c5;border-radius:12px}html body #coachWorkspace button,html body #coachBoardHome{min-height:44px;min-width:44px;font-size:15px;white-space:normal;overflow-wrap:anywhere;touch-action:manipulation}#coachWorkspace button{margin:4px;padding:10px 14px;border:1px solid #66989f;border-radius:12px;background:#184050;color:#fff;cursor:pointer}#coachWorkspace button:disabled{opacity:.5}#coachWorkspace button:focus-visible,#coachWorkspace summary:focus-visible{outline:3px solid #ffe19d;outline-offset:2px}#coachWorkspace .coach-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}html body #coachWorkspace .coach-home-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin:0;min-height:154px;text-align:left;padding:18px;background:linear-gradient(145deg,#1c5060,#123140);border-color:#52868e;box-shadow:0 5px 18px #0002}.coach-home-grid strong{font-size:19px}.coach-home-grid small{font-size:13px;line-height:1.4;color:#c5dce2}.coach-home-icon{font-size:26px}#coachWorkspace label{display:block;margin:10px 0;font-size:14px}#coachWorkspace input,#coachWorkspace select,#coachWorkspace textarea{display:block;width:100%;box-sizing:border-box;min-height:46px;font:16px system-ui;padding:10px;background:#fff;color:#102c38;border:1px solid #78a6b2;border-radius:9px;margin-top:6px}#coachWorkspace textarea{resize:vertical}#coachWorkspace form,#coachWorkspace article{max-width:100%}#coachWorkspace details{border:1px solid #527b88;border-radius:12px;padding:10px;margin:12px 0}#coachWorkspace summary{min-height:44px;padding:8px;box-sizing:border-box;cursor:pointer}#coachWorkspace .coach-bank-scopes{display:flex;flex-wrap:wrap;gap:6px}#coachWorkspace [aria-pressed=true]{background:#176754;border-color:#95e7c3}#coachWorkspace .coach-bank-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}.coach-bank-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px}.coach-exercise-card{padding:16px;border:1px solid #5c8997;background:#11313f;border-radius:14px;margin:10px 0}.coach-exercise-image{max-width:100%;height:auto;max-height:400px;object-fit:contain}.coach-exercise-pitch{display:block;width:100%;max-height:340px;margin:12px auto}.coach-preserve-lines{white-space:pre-wrap}body.demo-workspace-open{overflow:hidden!important}body.demo-workspace-open #board,body.demo-workspace-open #coachPlanBar,body.demo-workspace-open #coachPageToolbar{visibility:hidden!important}#coachWorkspace #coach294panel{position:static!important;display:block!important;inset:auto!important;width:100%!important;max-height:none!important;height:auto!important;box-sizing:border-box}#coachWorkspace #rosterPanel{display:block!important}#coachWorkspace #rosterPanel>summary{display:none}#coachWorkspace .workspace-fives #coachTeamEditor{display:none}#coachWorkspace #coachTeamEditor{margin:0}#coachWorkspace #coachSpecialTeamsEditor{margin-top:18px}#coachWorkspace .roster-grid{flex-wrap:wrap}#coachWorkspace #customStoryboard{display:block!important}html body #coachDemoBar #coachBoardHome{flex:none;font-size:13px;padding:6px;margin:2px 0}#coachDemoIdentity{font-size:12px}#coachWorkspace input[type=file]{white-space:normal}#coachWorkspaceContent>*{min-width:0}#coachWorkspace .coach294-panel{overflow:visible}#coachWorkspace .coach-bank-filters label{min-width:0}
@media(min-width:900px){#coachWorkspace .coach-home-grid{grid-template-columns:repeat(4,minmax(0,1fr))}html body #coachWorkspace .coach-home-grid button{min-height:190px}}@media(max-width:370px){#coachWorkspace{padding-left:10px;padding-right:10px}#coachWorkspace .coach-home-grid{gap:8px}html body #coachWorkspace .coach-home-grid button{padding:12px;min-height:150px}.coach-home-grid strong{font-size:17px}}@media(max-width:600px){#coachWorkspace .coach-bank-filters{grid-template-columns:1fr}}@media(max-height:450px) and (min-width:600px){#coachWorkspace .coach-home-grid{grid-template-columns:repeat(4,minmax(0,1fr))}html body #coachWorkspace .coach-home-grid button{min-height:134px;padding:12px}.coach-home-grid small{font-size:12px}}
/* The footer provides the same menu/tools without handles covering the court. */
body.coach-demo #coach212Left,body.coach-demo #coach212Right,body.coach-demo #coach212Bottom{display:none!important}#coachWorkspace h1:focus{outline:none}
/* Keep player dialogs below the always available demo identity/navigation. */
html body.coach-demo .coach-squad-modal{padding-top:calc(var(--coach-roster-safe-top,48px) + 12px)}body.coach-demo .coach-squad-modal header{position:sticky;top:var(--coach-roster-safe-top,48px);z-index:2;background:#142a3a}

/* SportCoach compact navigation. Larger cards remain an explicit preference. */
#coachWorkspace[data-density=compact] .coach-home-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html body #coachWorkspace[data-density=compact] .coach-home-grid button{min-height:112px;padding:12px 8px;gap:6px;align-items:center;text-align:center}
#coachWorkspace[data-density=compact] .coach-home-grid strong{font-size:14px;line-height:1.3}
#coachWorkspace[data-density=compact] .coach-home-grid small{display:none}
#coachWorkspace .sportcoach-invite-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
@media(max-width:340px){#coachWorkspace[data-density=compact] .coach-home-grid,#coachWorkspace .sportcoach-invite-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:700px){#coachWorkspace[data-density=compact] .coach-home-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#coachWorkspace .sportcoach-invite-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

.sportcoach-avatar{width:36px;height:36px;object-fit:cover;border-radius:50%;flex:none}.sportcoach-profile-image{width:88px;height:88px;object-fit:cover;border-radius:50%}body.sportcoach-recipient #coachDemoBar,body.sportcoach-recipient #coachPlanBar,body.sportcoach-recipient #coachAdministration,body.sportcoach-recipient #coach212Shade,body.sportcoach-recipient .coach-squad-modal,body.sportcoach-recipient #coachShareCenter{display:none!important}body.sportcoach-recipient #coachWorkspace{inset:0!important}#coachWorkspace>header label{min-width:130px;margin-left:auto}#coachWorkspace section textarea{max-width:100%}
