:root{font-family:Segoe UI,system-ui,sans-serif;color:#edf4f1;background:#0e1917;color-scheme:dark;font-synthesis:none;--page:#0e1917;--card:#14221e;--card-top:#192b24;--line:#2b4138;--muted:#a5bdb1;--accent:#b8f1a4;--accent-dark:#13291a;--blue:#79c3ff;--red:#ffa5a0}*{box-sizing:border-box}body{margin:0;min-width:280px}button,select,input{font:inherit}button,select,input:not([type=checkbox]){min-height:42px;border:1px solid var(--line);border-radius:8px;background:#182a23;color:#eff8f1;padding:.48rem .68rem}button{cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:.35rem;line-height:1.15;font-size:.9rem;font-weight:650}button:hover:not(:disabled){border-color:#679381;background:#243b31}button:disabled{opacity:.44;cursor:default}button[aria-pressed=true]{color:var(--accent);background:#263d2b;border-color:#598762}button:focus-visible,select:focus-visible,input:focus-visible,.file-button:focus-within{outline:2px solid #baf5a5;outline-offset:3px}button.primary,button.share{color:var(--accent-dark);border-color:#b8f1a4;background:var(--accent)}button.primary:hover:not(:disabled),button.share:hover:not(:disabled){background:#d0ffc0;color:#122c1c}button.quiet{background:transparent;border-color:transparent;color:var(--muted)}button.square{width:42px;flex:none}.glyph{width:18px;height:18px;flex:none}label{color:var(--muted);font-size:.83rem}select{appearance:none;padding-right:1.85rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23b8d1c3' stroke-width='1.6'/%3E%3C/svg%3E");background-position:right .62rem center;background-size:10px;background-repeat:no-repeat;font-size:.9rem}select:hover{border-color:#5a8072}input[type=checkbox]{accent-color:#a9e790;width:1.11rem;height:1.11rem;flex:none}h1,h2,h3,p,dl,dd{margin:0}h1,h2,h3{font-weight:700}h2{font-size:1rem}h3{font-size:.92rem}p{line-height:1.45}strong{font-weight:700}.lab{max-width:1690px;margin:auto;padding:0 clamp(.65rem,2.1vw,2.4rem) 1.5rem}.topbar{display:grid;grid-template-columns:1fr auto 1fr;gap:1rem;align-items:center;min-height:73px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:.68rem;white-space:nowrap}.brand-icon{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;color:#b6f0a9;background:#244731;border:1px solid #467156}.brand-icon .glyph{width:27px;height:27px}.brand strong{display:block;font-size:1.12rem;letter-spacing:-.02em}.brand div>span{font-size:.77rem;color:var(--muted)}.mode-switch{display:flex;padding:3px;gap:2px;background:#101d19;border:1px solid var(--line);border-radius:9px}.mode-switch button{min-height:35px;background:none;border:1px solid transparent;padding:.36rem .85rem;color:var(--muted)}.mode-switch button[aria-pressed=true]{border-color:#385746;background:#263a30;color:#edf9ef}.header-actions{justify-self:end;display:flex;align-items:center;gap:.4rem}.toolbar{display:flex;align-items:end;gap:.75rem;padding:.8rem 0 1rem;flex-wrap:wrap}.toolbar label{display:grid;gap:.3rem;font-weight:600}.toolbar label>span{display:flex;align-items:center;gap:.35rem}.toolbar .lesson-select{flex:1;min-width:min(100%,230px);max-width:420px}.toolbar .formation-select{min-width:105px}.toolbar .reset{margin-left:auto}.team-dot{width:.57rem;height:.57rem;border-radius:50%;display:inline-block;flex:none;vertical-align:middle}.team-dot.blue{background:var(--blue)}.team-dot.red{background:var(--red)}.workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}.workspace.with-panel{grid-template-columns:minmax(0,1fr) minmax(270px,305px)}.main-column,.side-panel{display:grid;align-content:start;gap:.72rem;min-width:0}.field-card,.controls-card,.overlay-card,.advanced-card,.side-panel section{background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden}.field-header,.pitch-legend{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.32rem .9rem;padding:.4rem .75rem}.field-header{border-bottom:1px solid var(--line);min-height:46px}.field-tools,.possession{display:flex;align-items:center;gap:.45rem}.possession{font-size:.86rem}.possession span{color:var(--muted)}.field-divider{width:1px;height:14px;background:var(--line);margin:0 .1rem}.field-tools button{min-height:32px;font-size:.8rem}.field-tools .square{width:34px;padding:.3rem}.pitch{display:block;width:100%;height:auto;max-height:calc(100dvh - 315px);min-height:310px;background:#123e31;touch-action:none;-webkit-user-select:none;user-select:none;overscroll-behavior:contain;cursor:default}.pitch-tool{cursor:crosshair}.pitch-legend{justify-content:flex-start;border-top:1px solid var(--line);font-size:.79rem;min-height:36px;color:#c6d9cf}.pitch-legend span{display:inline-flex;align-items:center;gap:.32rem}.pitch-legend .pitch-scale{margin-left:auto;white-space:nowrap;color:var(--muted)}.line-key{width:16px;border-bottom:2px solid #b7f0c7}.line-key.risky{border-color:#ffa17d;border-bottom-style:dashed}.line-key.next{border-color:#bdefff;border-bottom-style:dashed}.markings{fill:none;stroke:#d0ead9;stroke-width:.35;opacity:.78}.spot{fill:#d0ead9;stroke:none}.token{cursor:pointer;outline:none}.token-shape{fill:#2463a4;stroke:#cceaff;stroke-width:.27}.token.red .token-shape{fill:#ad3a3a;stroke:#ffe2df}.token text{font-family:system-ui,sans-serif;font-size:1.62px;font-weight:800;fill:#fff;pointer-events:none}.token-halo{fill:none;stroke:transparent;stroke-width:.4}.token.selected .token-halo,.token:focus-visible .token-halo{stroke:#f4ffab;stroke-width:.47}.token:focus-visible .token-halo{stroke-dasharray:.8 .4;stroke-width:.6}.token.dim{opacity:.49}.lock-icon rect{fill:#fff3b7;stroke:#293126;stroke-width:.13}.lock-icon path{fill:none;stroke:#fff3b7;stroke-width:.19}.ball{cursor:grab}.ball circle{fill:#fff;stroke:#1c3028;stroke-width:.28}.ball path{fill:#213329}.unit-lines{fill:none;stroke:#96d4ff;stroke-width:.31;stroke-dasharray:1.7 1.25;opacity:.65}.unit-lines.red{stroke:#ffbcb5}.unit-lines .gap{fill:#ffe0ad;font-size:1.75px;stroke:#173326;stroke-width:.5;paint-order:stroke;stroke-dasharray:none;font-weight:700}.decision-guide{stroke:#ffdd91;stroke-width:.36;stroke-dasharray:2 1.4;fill:none}.decision-guide text,.offside text{fill:#ffe9ac;stroke:#173326;stroke-width:.5;paint-order:stroke;stroke-dasharray:none;font-size:1.65px;font-weight:750}.offside{stroke:#e7dfec;stroke-width:.34;stroke-dasharray:.9 1.2}.offside text{fill:#f6ebff}.lane,.next-lane,.movement,.annotation,.pass-path{fill:none;stroke-width:.39}.lane.open{stroke:#baf6cc}.lane.contested{stroke:#ffe4a4;stroke-dasharray:1.1 .75}.lane.risky{stroke:#ff987d;stroke-dasharray:1.4 1}.next-lane{stroke:#bdefff;stroke-dasharray:1 1.1}.triangle{fill:#c7ffae22;stroke:#ccffad;stroke-width:.28}.movement{stroke:#b2f4ce;opacity:.8}.annotation,.pass-path{stroke:#ffdb82}.pass-path{stroke-dasharray:1.2 1;stroke-width:.52}.target,.proposal{fill:#c9ffba22;stroke:#ceffba;stroke-width:.3}.proposal{stroke:#fbf5a0;stroke-width:.48}.controls-card,.overlay-card{padding:.58rem .7rem}.control-row,.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:.38rem}.control-spacer{flex:1}.playback .play{min-width:80px}.clock{font-size:1rem;font-weight:730;letter-spacing:.02em;font-variant-numeric:tabular-nums;min-width:4.3rem;text-align:center}.clock small{color:var(--muted)}.speed{min-width:70px}.actions{margin-top:.48rem;padding-top:.48rem;border-top:1px solid var(--line)}.actions button,.overlay-buttons button{min-height:37px}.live-status{margin-top:.43rem;color:#b7cec0;font-size:.84rem;min-height:1.2rem}.compare-bar{display:flex;gap:.4rem;padding:.46rem .72rem;flex-wrap:wrap;border-bottom:1px solid var(--line)}.compare-bar button{min-height:34px}.section-heading{display:flex;gap:.4rem .6rem;justify-content:space-between;align-items:center;flex-wrap:wrap}.section-heading>span{font-size:.78rem;color:var(--muted)}.section-heading h2{display:flex;align-items:center;gap:.4rem}.overlay-buttons{display:flex;flex-wrap:wrap;gap:.36rem;margin-top:.45rem}.overlay-buttons button{font-size:.82rem;min-height:34px}.side-panel section{padding:.84rem .92rem}.lesson-card{background:linear-gradient(135deg,#22352a,#182920 74%)!important}.eyeline{color:#b8d7b9;font-size:.75rem;font-weight:750;text-transform:uppercase;letter-spacing:.105em;margin-bottom:.46rem}.lesson-card h1{font-size:clamp(1.55rem,2.25vw,2.16rem);line-height:1.06;letter-spacing:-.04em}.lesson-card p,.decision-card p,.player-card p{color:#c2d5ca;margin-top:.52rem;font-size:.91rem}.lesson-buttons{margin-top:.75rem}.cue-select{margin-top:.72rem}.decision-card .decision-chip{color:#c5f6b7;background:#283e30;border:1px solid #527453;padding:.25rem .48rem;border-radius:6px;font-weight:800;letter-spacing:.08em}.decision-card .drop{background:#513b2b;border-color:#896244;color:#ffdcab}.decision-card .hold{background:#314239;color:#e2f4e8;border-color:#4d6256}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.37rem;margin-top:.65rem}.metrics>div{display:grid;gap:.12rem;border:1px solid #31473b;border-radius:7px;padding:.42rem .35rem;background:#182920}.metrics span,.shape-readout{font-size:.72rem;color:var(--muted)}.metrics strong{font-size:.81rem;text-transform:capitalize}.shape-readout{display:flex;flex-wrap:wrap;gap:.28rem .75rem;margin-top:.53rem}.instruction{margin:.65rem 0;padding:.56rem .65rem;background:#203529;border-left:2px solid #77bf7a;border-radius:0 7px 7px 0}.instruction strong{font-size:.92rem}.instruction p{margin-top:.19rem}.timing{display:grid;gap:.38rem;margin-top:.56rem}.timing div{display:flex;justify-content:space-between;align-items:baseline;gap:.6rem;font-size:.8rem}.timing dt{color:var(--muted)}.timing dd{text-align:right}.challenge{display:grid;gap:.45rem;margin-top:.75rem;border-top:1px solid var(--line);padding-top:.6rem}.challenge p{margin:0}.challenge>button{justify-self:start}.answer{font-size:.88rem;padding:.55rem;border-radius:7px;border:1px solid #9b714c;background:#3c3024}.answer.accepted{border-color:#54865d;background:#243d2b}.gap-warning{color:#ffe0a5;font-weight:700}.advanced-toggle{width:100%;justify-content:space-between;text-align:left;border:0;border-radius:0;padding:.6rem .75rem;background:transparent}.advanced{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:.65rem .8rem 1rem;border-top:1px solid var(--line)}.advanced-group{display:grid;gap:.48rem;align-content:start}.advanced-group label,.stack{display:grid;gap:.3rem;min-width:0}.advanced-group label.check{display:flex;align-items:center}.active-flag{font-size:.75rem;color:#ffe3ac;display:inline-block}.subtle{font-size:.82rem;color:var(--muted)}.sheet-layer{position:fixed;inset:0;z-index:5;background:#06110bcc;display:grid;place-items:center;padding:1rem}.sheet-wrap{background:var(--card);border:1px solid #547664;border-radius:14px;max-height:90dvh;overflow:auto;width:min(100%,550px);box-shadow:0 20px 55px #07110a99}.sheet{padding:1rem;display:grid;gap:.65rem}.sheet h3{margin-top:.22rem}.sheet-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}.sheet-heading h2{font-size:1.25rem}.sheet-heading button{min-width:42px;font-size:1.2rem}.sheet input[readonly]{width:100%}.file-button{position:relative;display:inline-flex;align-items:center;min-height:42px;border:1px solid var(--line);border-radius:8px;padding:.48rem .7rem;font-size:.9rem;background:#182a23;color:#eff8f1;font-weight:650;cursor:pointer}.file-button input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.roster{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.roster>div{display:grid;gap:.35rem}.roster button{justify-content:flex-start}.presentation .topbar{margin-bottom:.65rem}.presentation .pitch{max-height:calc(100dvh - 220px);min-height:0}@media(max-width:1050px){.workspace.with-panel{grid-template-columns:minmax(0,1fr) minmax(236px,265px);gap:.7rem}.toolbar{gap:.55rem}.advanced{grid-template-columns:repeat(2,minmax(0,1fr))}.side-panel section{padding:.72rem}}@media(max-width:820px){.workspace.with-panel{grid-template-columns:minmax(0,1fr)}.side-panel{grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-card{grid-column:1/-1}.pitch{max-height:none;min-height:0}.toolbar .lesson-select{max-width:unset}.lab:has(.challenge) .side-panel{grid-row:1}.lab:has(.challenge) .player-card,.lab:has(.challenge) .decision-card{display:none}.lab:has(.challenge) .side-panel{display:block}}@media(max-width:560px){.lab{padding:0 .52rem 1rem}.topbar{grid-template-columns:1fr auto;gap:.35rem;padding:.5rem 0}.mode-switch{grid-row:2;grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr)}.mode-switch button{min-height:39px}.brand-icon{width:36px;height:36px}.brand strong{font-size:1rem}.header-actions{gap:.16rem}.header-actions button{padding:.4rem}.header-actions .share{font-size:.8rem}.toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.48rem;padding:.62rem 0}.toolbar .lesson-select{grid-column:1/-1;min-width:0}.toolbar .formation-select{min-width:0}.toolbar .reset{margin:0;justify-self:start}.toolbar select{width:100%;font-size:.84rem}.field-header{padding:.3rem .4rem}.field-tools{gap:.1rem}.field-tools button{padding:.25rem;font-size:.76rem}.possession{font-size:.77rem}.pitch-legend{font-size:.68rem;gap:.25rem .65rem;padding:.35rem .48rem}.playback .play{min-width:63px}.control-row{gap:.28rem}.control-row button{padding:.42rem .5rem}.clock{min-width:3.2rem;font-size:.86rem}.speed{min-width:58px;padding-left:.35rem}.playback button[aria-label="Rewind recorded sequence"] span{display:none}.side-panel,.advanced{grid-template-columns:minmax(0,1fr)}.overlay-buttons button{min-height:39px}.lesson-card h1{font-size:1.65rem}}@media(max-height:520px)and (orientation:landscape){.pitch{max-height:67dvh;min-height:0}.presentation .pitch{max-height:73dvh}.toolbar{padding:.4rem 0}.topbar{min-height:54px}.field-header{min-height:39px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
