/* Hattrick Ops: forest navigation, paper workspace, quiet data surfaces. */
:root{color-scheme:light;--forest:#153c2e;--ink:#20382c;--green:#365e3c;--muted:#68786d;--paper:#f5f6f2;--panel:#fff;--soft:#edf3e5;--line:#dfe6dc;--sage:#bfd29f;--side:208px;--font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--serif:"Songti SC","STSong","Noto Serif CJK SC",serif}
*{box-sizing:border-box}[hidden]{display:none!important}.ops-app{margin:0;background:var(--paper);color:var(--ink);font:14px/1.65 var(--font);-webkit-font-smoothing:antialiased}.ops-app a{color:var(--green)}.ops-app button,.ops-app input,.ops-app select,.ops-app textarea{font:inherit}.ops-app button,.ops-app summary{cursor:pointer}.ops-app button:disabled{cursor:not-allowed;opacity:.45}.ops-app :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid #759456;outline-offset:3px}.ops-app h1,.ops-app h2,.ops-app h3{color:var(--ink);line-height:1.4;margin:0 0 12px}.ops-app h1{font:700 30px/1.4 var(--serif)}.ops-app h2{font:700 23px/1.4 var(--serif)}.ops-app h3{font:700 19px/1.4 var(--serif)}.ops-app p{margin:8px 0 14px}.ops-app :is(input,select,textarea){color:var(--ink);border:1px solid var(--line);border-radius:6px;background:#fff;padding:9px 11px;max-width:100%}.ops-app input[type=checkbox]{accent-color:var(--green)}.ops-app input[type=search]{min-width:0}.ops-app .muted,.ops-muted{color:var(--muted)}.ops-icon{width:21px;height:21px;stroke:currentColor;stroke-width:1.55;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ops-app :is(.button,button):not(.pitch-player):not(.roster-player):not(.reserve-role):not(.ops-search):not(.ops-icon-button):not(.ops-backdrop):not(.ops-result){border-radius:6px}.ops-app .button,.ops-app button:not([class]){display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:white;border:1px solid var(--green);padding:9px 15px;font-weight:550;text-decoration:none;line-height:1.5}.ops-app .secondary,.ops-app .quiet{background:white;border:1px solid var(--line);color:var(--ink)}.ops-app .danger{background:#984532;color:white}.ops-app .panel{background:#fff;border:1px solid var(--line);box-shadow:none;border-radius:9px;padding:22px;margin-bottom:16px;min-width:0}.ops-app :is(.table-wrap,.league-scroll){overflow:auto;max-width:100%}.ops-app table{border-collapse:collapse;width:100%;font-size:13px}.ops-app th,.ops-app td{border-bottom:1px solid var(--line);padding:12px 11px;text-align:left}.ops-app th{background:#fafbf8;color:var(--muted);font-size:11px;font-weight:550;white-space:nowrap}.ops-app tbody tr:last-child td{border-bottom:0}.ops-app tbody tr:hover{background:#f7f9f2}.ops-app tbody tr.own-team{background:#eff4e5}.ops-app .num{text-align:right;font-variant-numeric:tabular-nums}.ops-app .table-wrap>.lineup-title{padding:0 0 14px}.ops-app code{overflow-wrap:anywhere}.ops-app .model-note{font-size:12px;line-height:1.8;color:var(--muted)}.ops-app .scroll-hint{color:var(--muted);font-size:11px}.ops-app .section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.ops-app .section-head p{color:var(--muted);font-size:12px}.ops-app .stack{margin-top:18px}.ops-app .grid{display:grid;gap:16px}.ops-app .grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-app .grid.cards{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.ops-app .priority-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}.ops-app .metric{background:white;border:1px solid var(--line);border-radius:8px;padding:20px}.ops-app .metric>span,.ops-app .metric>small{font-size:12px;color:var(--muted);display:block}.ops-app .metric>strong{display:block;font-size:28px;margin:8px 0;font-weight:600}.ops-app .metric strong small{font-size:13px}.ops-app .negative{color:#a24e38}.ops-app .accent{background:#f3f7eb}.ops-app .count,.ops-app .pill{font-size:11px;background:#eef3e5;border:0;border-radius:14px;padding:3px 9px;color:#4f6840}.ops-app main.ops-main{margin-left:var(--side);padding:22px 24px 35px;max-width:none;width:auto;min-height:calc(100vh - 60px)}.ops-app main:focus{outline:none}.ops-app main>section{scroll-margin-top:82px}.ops-app .ops-main>footer{color:var(--muted);font-size:11px;margin:24px 0 0;padding:16px 0;border-top:1px solid var(--line)}
.ops-sidebar{position:fixed;inset:0 auto 0 0;width:var(--side);background:var(--forest);color:#e6eee7;padding:0 10px;display:flex;flex-direction:column;z-index:40}.ops-app .ops-brand{height:80px;display:flex;align-items:center;gap:9px;color:white;text-decoration:none;border-bottom:1px solid #ffffff13;padding:0 9px;white-space:nowrap}.ops-brand .ops-icon{width:30px;height:36px}.ops-brand span{font-size:21px;font-weight:700;letter-spacing:-.5px}.ops-brand small{display:block;font:6px/1.5 var(--font);letter-spacing:1.5px;margin-top:3px;color:#b5c8ba}.ops-app .ops-nav-caption{font-size:10px;letter-spacing:.15em;margin:24px 16px 13px;color:#a9c0ad}.ops-sidebar nav{display:grid;gap:6px}.ops-app .ops-nav-item{position:relative;display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:6px;color:#dce7df;text-decoration:none;white-space:nowrap;font-size:14px}.ops-nav-item:hover{background:#ffffff0b}.ops-nav-item[aria-current]{background:#41644c;color:#fff;font-weight:650}.ops-nav-item[aria-current]:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;background:var(--sage);border-radius:8px}.ops-sidebar-bottom{margin-top:auto;padding:18px 10px}.ops-sidebar-bottom button{display:flex;align-items:center;gap:14px;width:100%;background:none;border:0;color:inherit;text-align:left;padding:12px 5px}.ops-connection{display:flex;align-items:center;gap:12px;border-top:1px solid #ffffff16;padding:20px 5px 4px;margin-top:12px;font-size:12px}.ops-connection small{display:block;font-size:10px;color:#a9bfae;margin-top:2px}.ops-app .ops-topbar{height:60px;margin-left:var(--side);padding:0 24px;position:sticky;top:0;z-index:30;background:#fcfdf9;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:22px;color:var(--ink)}.ops-app .ops-club{display:flex;align-items:center;gap:9px;color:var(--ink);text-decoration:none;font-size:13px;min-width:0}.ops-club strong{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ops-app .ops-search{display:flex;align-items:center;gap:10px;border:0;border-left:1px solid var(--line);background:none;color:#73806f;padding:0 0 0 20px;flex:1;text-align:left;min-width:0;font-size:12px}.ops-search kbd{margin-left:auto;font-size:10px;padding:1px 5px;border:1px solid var(--line);border-radius:4px}.ops-top-actions{display:flex;align-items:center;gap:9px}.ops-top-actions form{margin:0}.ops-app .ops-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 13px;background:white;color:var(--ink);border:1px solid #cdd7c8;border-radius:6px;font-size:12px;text-decoration:none;white-space:nowrap;font-weight:550}.ops-button .ops-icon{width:15px;height:15px}.ops-app .ops-primary{background:var(--green);border-color:var(--green);color:white}.ops-button:hover{filter:brightness(.97)}.ops-icon-button{display:inline-grid;place-items:center;border:0;background:transparent;color:var(--ink);width:36px;height:36px;padding:0;font-size:24px;flex:none}.ops-menu{display:none}.ops-offline{color:var(--muted);font-size:11px}.ops-account{position:relative;border:0;padding:0;margin:0}.ops-account summary{list-style:none;display:flex;align-items:center;gap:8px;font-size:12px}.ops-account summary::-webkit-details-marker{display:none}.ops-avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#4c6265;color:white}.ops-account>div{position:absolute;right:0;top:42px;width:180px;padding:10px;background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 26px #142b2420}.ops-account>div>a{display:block;padding:8px;font-size:12px;text-decoration:none}.ops-account>div button{width:100%;text-align:left}.ops-backdrop{position:fixed;inset:0;background:#15302565;border:0;z-index:35}.ops-skip{position:fixed;z-index:100;top:-80px;left:8px;background:white;padding:10px}.ops-skip:focus{top:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ops-dialog{border:1px solid var(--line);border-radius:12px;width:min(550px,calc(100vw - 26px));max-height:85dvh;padding:22px;color:var(--ink);background:white;box-shadow:0 24px 80px #14322530}.ops-dialog::backdrop,.reserve-dialog::backdrop{background:#142b2366;backdrop-filter:blur(3px)}.ops-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.ops-dialog-head h2{margin:0}.ops-dialog .ops-muted{font-size:11px}#ops-search-form{display:flex;gap:8px}#ops-query{flex:1;min-width:0}#ops-search-results{max-height:350px;overflow:auto;margin:12px 0}.ops-result{display:flex;justify-content:space-between;gap:12px;padding:13px 7px;width:100%;text-decoration:none;font-size:13px;border:0;border-bottom:1px solid var(--line);background:white;color:var(--ink);text-align:left}.ops-result small{font-size:11px;color:var(--muted)}.ops-result:hover{background:var(--soft)}.ops-setting{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.ops-setting input{width:17px;height:17px}body:has(dialog[open]){overflow:hidden}
/* Authenticated forms keep the same shell and use native CSRF-protected navigation. */
.ops-web .actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ops-web .actions form{margin:0}.ops-web label{display:block;margin:13px 0 6px}.ops-web form p{margin:14px 0}.ops-web textarea{width:100%}.ops-web .messages{list-style:none;padding:0}.ops-web .messages li{padding:13px 16px;border-left:3px solid #86a76b;background:#eef4e5;margin-bottom:12px}.ops-web .errorlist{color:#a14b36;padding-left:20px}.ops-web .job-list{list-style:none;margin:0;padding:0}.ops-web .job-list li{border-bottom:1px solid var(--line);padding:14px 0;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.ops-web .job-list a{text-decoration:none}.ops-web .job-list time{font-size:11px;color:var(--muted)}.ops-web .job-list .job-status{font-size:11px;padding:3px 9px;border-radius:15px;background:var(--soft)}.ops-page-intro{margin-bottom:20px}.ops-page-intro .ops-eyebrow{font-size:11px;color:var(--muted);letter-spacing:.04em;margin-bottom:10px}.ops-page-intro>p{font-size:13px;color:var(--muted)}.ops-split{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:18px}.ops-split>*{min-width:0}.ops-quicklinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}.ops-quicklinks a{padding:20px;border:1px solid var(--line);border-radius:8px;text-decoration:none;background:white;display:flex;gap:12px;align-items:center}.ops-quicklinks small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.ops-web .ops-account-settings{margin-top:30px}.ops-web .ops-account-settings>summary{padding:15px}.ops-web .metrics{gap:14px}.ops-web .notice{padding:12px 16px;border-left:3px solid #b59046;background:#faf4e6;color:#6a5a3a}.ops-web .ops-auth-card{max-width:480px;margin:55px auto}.ops-web .ops-auth-card input:not([type=hidden]){width:100%}.ops-web .ops-auth-brand{display:flex;align-items:center;gap:10px;color:var(--forest);font-size:20px;margin-bottom:28px}.ops-web.ops-guest .ops-topbar{margin-left:0}.ops-web.ops-guest main.ops-main{margin-left:0}.ops-web .ops-progress{height:6px;border-radius:6px;overflow:hidden;background:var(--soft);margin:20px 0}.ops-web .ops-progress i{display:block;width:40%;height:100%;background:#8ba66e;animation:ops-progress 2s ease-in-out infinite alternate}@keyframes ops-progress{to{transform:translateX(150%)}}.ops-downloads{display:grid;gap:10px}.ops-downloads a{display:flex;justify-content:space-between;padding:12px;border:1px solid var(--line);border-radius:6px;text-decoration:none}
/* Report pages reuse the existing tactical and youth models. */
.ops-report .ops-main{padding:14px 20px 24px}.ops-report .ops-main>section{margin:0 0 20px}.ops-report .ops-main>section[hidden]{display:none}.ops-report .ops-report-intro{padding:18px 20px;background:white;border:1px solid var(--line);border-radius:9px;margin-bottom:0}.ops-report-intro .ops-eyebrow{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-bottom:12px}.ops-report-intro h1{font-size:29px;margin-bottom:5px}.ops-report-intro>p{font-size:13px;color:var(--muted);margin:0}.ops-report-intro .ops-snapshot{margin-top:14px;font-size:10px;color:var(--muted)}.ops-stats{display:flex;flex-wrap:wrap;gap:10px 0;margin-top:17px}.ops-stats>span{font-size:11px;color:var(--muted);padding:0 16px;border-right:1px solid var(--line)}.ops-stats>span:first-child{padding-left:0}.ops-stats>span:last-child{border:0}.ops-stats b{font-size:14px;margin-left:8px;color:var(--ink)}.ops-report .tactical-board{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:0 16px}.ops-report .tactical-board>*{grid-column:1;min-width:0}.ops-report .board-layout{display:contents}.ops-report .board-layout>div{grid-column:1;grid-row:5;border:1px solid var(--line);border-top:0;border-radius:0 0 8px 8px;padding:0 13px 6px;background:white}.ops-report .board-roster{grid-column:2;grid-row:1/span 9;padding:0 16px 16px;align-self:start;border-radius:9px;position:sticky;top:74px;max-height:calc(100vh - 88px);overflow:auto}.ops-report .board-toolbar{grid-row:2;gap:10px;padding:12px 0;flex-wrap:wrap}.ops-report .board-toolbar label{font-size:12px;gap:6px;margin:0}.ops-report .board-toolbar select{padding:7px 8px;font-size:12px}.ops-report .board-toolbar .reserve-toggle{display:none}.ops-report .board-tools{margin-left:auto}.ops-report .board-tools button{padding:7px 10px;font-size:11px}.ops-report .lineup-tabs{display:flex;gap:0;flex:1;margin:0;padding:3px;background:#eef2e9;border:1px solid var(--line);border-radius:6px;width:fit-content}.ops-report .lineup-tabs button{flex:1;padding:8px 11px;font-size:12px;white-space:nowrap;border:0;background:transparent;color:#6a7862;border-radius:4px}.ops-report .lineup-tabs button[aria-selected=true]{background:var(--sage);color:#243e28}.ops-report #board-draft-label{font-size:10px;padding:0;background:none;white-space:nowrap}.ops-report .board-help{grid-row:10;margin:4px 0 12px;font-size:11px}.ops-report .board-metrics{grid-row:3;gap:18px;margin:0;padding:12px 15px;background:white;border:1px solid var(--line);border-bottom:0;border-radius:9px 9px 0 0;font-size:11px}.ops-report .board-metrics strong{font-size:14px}.ops-report .reserves-bar{grid-row:4;margin:0;padding:0 13px 10px;border:1px solid var(--line);border-top:0;border-bottom:0;border-radius:0;background:white}.ops-report .reserve-bar-head{font-size:10px;margin-bottom:8px}.ops-report .reserve-bar-head strong{font-size:11px}.ops-report .reserve-role{background:#f7f9f4;border:1px solid var(--line);padding:6px 4px;align-items:center;text-align:center;gap:1px;font-size:11px;line-height:1.4}.ops-report .reserve-role strong{font-size:11px}.ops-report .reserve-role span,.ops-report .reserve-role small{font-size:10px}.ops-report .reserve-role[aria-pressed=true]{background:var(--sage);color:var(--ink);border-color:#b3c994}.ops-report .tactics-pitch{min-height:0;border:0;border-radius:6px;background:repeating-linear-gradient(90deg,#406e3b 0%,#406e3b 10%,#477641 10%,#477641 20%)}.ops-report .pitch-markings{color:#f3ffe5a3;z-index:0}.ops-report #pitch-lanes{padding:15px 12px 8px;min-height:0;height:clamp(400px,calc(100vh - 540px),510px)}.ops-report .pitch-lane{min-height:0;padding:8px 4px;gap:clamp(4px,3vw,36px)}.ops-report .pitch-lane[data-line=GK]{min-height:0}.ops-report .lane-label{font-size:9px;color:#d5e2cc;top:0;left:2px}.ops-report .attack-direction{font-size:8px;top:4px}.ops-report .pitch-player{max-width:78px;gap:0;padding:0;border:0;border-radius:4px;background:#1c412feb;box-shadow:0 3px 7px #1a3b2530;flex:1;min-width:0;outline:1px solid #eef9e344;outline-offset:3px}.ops-report .pitch-player .player-portrait{width:100%;aspect-ratio:110/155;height:58px;overflow:hidden;border-radius:4px 4px 0 0}.ops-report .pitch-player .player-portrait img{height:auto!important}.ops-report .position-label{display:none}.ops-report .pitch-player .player-name{display:block;font-size:10px;padding:2px 4px;background:transparent;border-radius:0;max-width:100%;font-weight:550}.ops-report .pitch-player small{font-size:9px;padding:0 2px 3px;white-space:nowrap}.ops-report .pitch-player .trained-dot{top:48px;right:4px;width:7px;height:7px;background:#ebd776;border:1px solid #f8f0af}.ops-report .pitch-player.selected{outline:2px solid white;outline-offset:4px;background:#244e36}.ops-report .pitch-player.reserve-match{outline-color:#d3de96;box-shadow:0 0 0 4px #c0d49933}.ops-report .pitch-player.selected .player-portrait{box-shadow:none}.ops-report .board-feedback{font-size:11px;margin:10px 0 0;min-height:20px}.ops-report #board-coverage{grid-row:7;margin:10px 0 0;font-size:11px;padding:11px 14px;background:#f0f5e7;border-radius:6px}.ops-report #board-storage{grid-row:8;font-size:10px;margin:8px 0}.ops-report .tactical-board>.model-note:last-child{grid-row:9;font-size:10px;margin:0}.ops-report .reserves-tabs{border-bottom:1px solid var(--line);margin:0 0 17px;padding:0;gap:0}.ops-report .reserves-tabs button{border:0;border-radius:0!important;background:none;padding:15px 3px;font-size:12px;color:var(--muted);margin:0;flex:1;position:relative}.ops-report .reserves-tabs button[aria-pressed=true]{color:var(--green);font-weight:650}.ops-report .reserves-tabs button[aria-pressed=true]:after{content:"";position:absolute;bottom:-1px;left:15%;right:15%;height:2px;background:#779654}.ops-report .roster-heading h3{font-size:19px}.ops-report .board-players{max-height:455px;gap:0;margin-top:8px}.ops-report .roster-player{border:0;border-bottom:1px solid var(--line);padding:11px 0;border-radius:0;background:white;gap:8px}.ops-report .roster-player .player-portrait{width:33px}.ops-report .roster-player small{font-size:11px}.ops-report .board-roster input{padding:9px 10px}.ops-report .roster-score{font-variant-numeric:tabular-nums}.ops-report #reserve-panel h3{font:700 21px var(--serif)}.ops-report .reserve-settings{background:#f6f8f0;padding:9px;font-size:11px}.ops-report .reserve-list{max-height:450px}.ops-report .reserve-card{border:1px solid var(--line);border-radius:7px;padding:14px;margin-bottom:10px}.ops-report .reserve-card:last-child{border:1px solid var(--line)}.ops-report .reserve-card strong{font:700 17px var(--serif)}.ops-report .reserve-card>p{font-size:12px}.ops-report .reserve-card .quiet{width:auto;border:0;padding:5px 0;background:none;color:var(--green);font-size:11px}.ops-report .reserve-skill-table th,.ops-report .reserve-skill-table td{padding:8px 4px;font-size:11px}.ops-report .reserve-list>h4{font-weight:500;font-size:11px;color:var(--muted)}.ops-report .ops-training-strip{grid-row:6;margin:13px 0 0;padding:14px 17px;border:1px solid var(--line);border-radius:8px;background:white}.ops-training-strip h3{font-size:18px}.ops-training-strip p{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:0}.ops-report .ops-next-match{margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.ops-next-match h3{font-size:18px}.ops-next-match p{font-size:12px}.ops-next-match .ops-muted{font-size:11px}.ops-next-match a{font-size:11px}.ops-report .ops-data-note{padding:14px 17px;font-size:12px;margin:18px 0;background:#fff;border:1px solid var(--line);border-radius:8px}.ops-report .ops-data-note p{overflow-wrap:anywhere}.ops-report .board-original{margin-top:20px}.ops-report .board-original>summary{padding:0}.ops-report .source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ops-report .source-card{padding:18px;border:1px solid var(--line);border-radius:8px;background:white;min-width:0}.ops-report .source-card>span{font-size:11px;color:var(--muted);display:block}.ops-report .source-card>strong{display:block;font-size:14px;margin:7px 0}.ops-report .source-card details{font-size:12px}.ops-report .source-card code{font-size:11px}.ops-report .search{display:flex;gap:10px}.ops-report .search input{flex:1}.ops-report .search-results>article{padding:16px;background:white;border-bottom:1px solid var(--line)}.ops-report .ops-empty{padding:28px;background:white;border:1px solid var(--line);border-radius:8px}.ops-empty p{font-size:13px;color:var(--muted)}.ops-report .reserve-dialog{max-height:85dvh}.ops-report .reserve-dialog .reserve-list{max-height:none}.ops-compact .pitch-player .player-portrait{height:43px}.ops-compact .pitch-player{max-width:63px}.ops-compact .pitch-player .trained-dot{top:33px}.ops-no-motion *, .ops-no-motion *:before,.ops-no-motion *:after{transition:none!important;animation:none!important}
@media(min-width:1750px){:root{--side:224px}.ops-report .tactical-board{grid-template-columns:minmax(0,1fr) 390px}.ops-report #pitch-lanes{height:530px}}
@media(max-width:1250px){:root{--side:178px}.ops-brand span{font-size:17px}.ops-brand small{font-size:5px}.ops-brand .ops-icon{width:26px}.ops-report .tactical-board{grid-template-columns:minmax(0,1fr) 290px}.ops-report .board-toolbar{gap:7px}.ops-report #board-draft-label{display:none}.ops-report .lineup-tabs button{font-size:11px;padding:8px}.ops-report .board-tools{gap:5px}.ops-report .board-tools button{font-size:10px;padding:6px 8px}.ops-report .board-tools #board-reset{display:none}.ops-report .pitch-player{max-width:66px}.ops-report .pitch-player .player-portrait{height:49px}.ops-report .pitch-player .trained-dot{top:40px}.ops-report .pitch-lane{gap:12px}.ops-app .ops-topbar{gap:14px;padding:0 18px}.ops-search span{display:none}.ops-report .ops-stats>span{padding:0 10px}.ops-report .ops-report-intro h1{font-size:26px}.ops-report .reserve-role strong{font-size:10px}.ops-report .reserve-role span{font-size:9px}.ops-app .grid.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-quicklinks{gap:9px}.ops-quicklinks a{padding:15px}}
@media(max-width:1000px) and (min-width:761px){:root{--side:72px}.ops-brand span,.ops-nav-caption,.ops-nav-item span,.ops-sidebar-bottom button span,.ops-connection{display:none}.ops-app .ops-brand{justify-content:center;padding:0}.ops-sidebar nav{margin-top:22px}.ops-app .ops-nav-item{justify-content:center;padding:15px 0}.ops-sidebar-bottom{padding-inline:7px}.ops-sidebar-bottom button{justify-content:center}.ops-report .tactical-board{grid-template-columns:minmax(0,1fr) 270px}.ops-report .pitch-lane{gap:5px}.ops-report .pitch-player .player-portrait{height:45px}.ops-report .pitch-player .trained-dot{top:36px}.ops-report .pitch-player .player-name{font-size:9px}.ops-report .pitch-player small{font-size:8px}.ops-report .board-metrics{gap:10px}.ops-report .board-metrics strong{font-size:12px}.ops-report .ops-stats{gap:8px}.ops-report .ops-stats>span{padding:0;border:0}.ops-report .ops-report-intro{padding:15px}.ops-report .lineup-tabs{flex-basis:100%}.ops-report .board-tools #board-reset{display:inline-flex}.ops-report .source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-split{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){:root{--side:0px}.ops-app main.ops-main,.ops-report main.ops-main{margin-left:0;padding:14px 12px 24px}.ops-sidebar{width:230px;transform:translateX(-100%);visibility:hidden;transition:transform .22s,visibility .22s}.ops-sidebar.is-open{transform:translateX(0);visibility:visible}.ops-app .ops-topbar{margin-left:0;height:58px;padding:0 10px;gap:6px}.ops-menu{display:inline-grid}.ops-club .ops-icon{display:none}.ops-club{flex:1}.ops-club strong{font-size:12px;max-width:none}.ops-app .ops-search{flex:0 0 32px;width:32px;padding:6px;border:0}.ops-search kbd{display:none}.ops-top-actions{gap:5px}.ops-top-actions .ops-button{padding:8px;min-height:34px}.ops-top-actions .ops-button>span{display:none}.ops-account summary>span:last-child{display:none}.ops-avatar{width:27px;height:27px;font-size:11px}.ops-offline{display:none}.ops-app h1{font-size:27px}.ops-app .panel{padding:16px}.ops-app .grid.two,.ops-app .priority-grid,.ops-split{grid-template-columns:minmax(0,1fr)}.ops-app .grid.cards{gap:10px}.ops-app .metric{padding:14px}.ops-app .metric>strong{font-size:23px}.ops-app .metric>span,.ops-app .metric>small{font-size:10px}.ops-quicklinks{grid-template-columns:minmax(0,1fr);gap:9px}.ops-quicklinks a{padding:15px}.ops-app .ops-auth-card{margin:24px auto}.ops-report .tactical-board{display:flex;flex-direction:column;gap:0}.ops-report .board-layout{display:flex;flex-direction:column;gap:0;order:5}.ops-report .board-layout>div{width:100%;padding:0 8px 8px}.ops-report .board-roster{position:static;max-height:none;overflow:visible;width:100%;margin-top:14px;padding:0 13px 14px}.ops-report .board-toolbar{order:2;flex-wrap:wrap}.ops-report .lineup-tabs{flex-basis:100%}.ops-report .lineup-tabs button{font-size:12px}.ops-report #board-draft-label{display:inline;font-size:10px}.ops-report .board-tools #board-reset{display:inline-flex}.ops-report .board-metrics{order:3;font-size:10px;padding:10px;gap:8px 14px}.ops-report .board-metrics strong{font-size:12px;margin-left:3px}.ops-report .board-metrics small{font-size:9px}.ops-report .reserves-bar{order:4;padding:0 8px 9px}.ops-report .reserve-role{padding:6px 4px}.ops-report .reserve-role strong{font-size:11px}.ops-report .reserve-role span{font-size:10px}.ops-report .reserve-bar-head{flex-direction:row;font-size:9px;align-items:center}.ops-report .reserve-bar-head strong{font-size:10px}.ops-report #pitch-lanes{height:430px;padding-inline:6px}.ops-report .pitch-lane{gap:6px;padding-inline:0}.ops-report .pitch-player{max-width:56px;outline-offset:2px}.ops-report .pitch-player .player-portrait{height:43px}.ops-report .pitch-player .player-name{font-size:8px;padding:2px 1px}.ops-report .pitch-player small{font-size:8px;padding:0 1px 3px}.ops-report .pitch-player .trained-dot{top:34px;width:6px;height:6px;right:2px}.ops-report .lane-label{font-size:8px}.ops-report .ops-report-intro{order:1;padding:14px}.ops-report .ops-report-intro h1{font-size:25px}.ops-report .ops-report-intro .ops-eyebrow{font-size:10px}.ops-report .ops-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ops-report .ops-stats>span{padding:0;border:0;display:flex;justify-content:space-between}.ops-report .ops-stats b{font-size:12px}.ops-report .ops-snapshot{font-size:9px;margin-top:12px}.ops-report .ops-training-strip{order:6}.ops-report #board-coverage{order:7}.ops-report #board-storage{order:8}.ops-report .tactical-board>.model-note:last-child{order:9}.ops-report .board-help{order:10}.ops-report .board-players{grid-template-columns:minmax(0,1fr);max-height:280px}.ops-report .roster-player .player-portrait{width:32px}.ops-report .roster-player .roster-name{max-width:none}.ops-report .source-grid{grid-template-columns:minmax(0,1fr)}.ops-report .board-original>summary{font-size:12px}.ops-dialog{padding:18px}.ops-app .section-head{align-items:start;flex-direction:column;gap:0}.ops-app .section-head h2{margin-bottom:4px}.ops-app .section-head p{margin:0}.ops-app .ops-main>footer{font-size:10px}.ops-compact .pitch-player .player-portrait{height:35px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{.ops-sidebar,.ops-topbar,.ops-dialog,.ops-backdrop,.ops-app .board-roster{display:none!important}.ops-app main.ops-main{margin:0;padding:0}.ops-app .ops-main>section[hidden]{display:block!important}.ops-report .tactical-board{display:block}.ops-report .board-layout{display:block}.ops-report #pitch-lanes{height:500px}.ops-report .tactics-pitch{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.portrait-layers{position:absolute;display:block;inset:0 0 auto;width:100%;aspect-ratio:110/155}.ops-report .pitch-player .portrait-layers img{height:auto!important}

/* Keep the pitch quiet while retaining full operational details on demand. */
.ops-report .lineup-tabs{flex:0 1 auto}.ops-report .board-toolbar{justify-content:space-between}.ops-report .board-tools{margin-left:0}.ops-report .pitch-lane{justify-content:space-evenly;gap:10px}.ops-report .pitch-lane[data-line=ATT][data-count="2"]{padding-inline:27%}.ops-report .ops-board-notes{grid-row:8;margin:12px 0;font-size:11px;color:var(--muted)}.ops-report .ops-board-notes summary{padding:9px 0}.ops-report .ops-board-notes #board-storage{font-size:11px}.ops-report .board-help{margin:7px 0}.ops-report .board-original{padding:14px 18px}.ops-report .board-roster h3{font-weight:650}.ops-report .reserve-skill-row{display:grid;grid-template-columns:40px 85px 1fr;align-items:center;gap:6px;font-size:11px;margin:12px 0}.reserve-skill-track{position:relative;height:7px;border-radius:8px;background:#edf0e6;overflow:hidden}.reserve-skill-track:before,.reserve-skill-track:after{content:"";position:absolute;left:0;top:0;bottom:0;border-radius:8px;width:var(--potential);background:#dce7c7}.reserve-skill-track:after{width:var(--current);background:#91ad78}.ops-sidebar-bottom button{background:none!important;border:0!important;font-weight:450!important;text-align:left!important;justify-content:flex-start!important;padding:12px 5px!important;color:#e6eee7!important}.ops-adult-dialog{border:0;border-radius:16px 16px 0 0;padding:16px;width:100%;max-width:100%;max-height:80dvh;margin:auto 0 0;background:white;color:var(--ink)}.ops-adult-dialog::backdrop{background:#142b2366;backdrop-filter:blur(3px)}.ops-report .ops-adult-dialog .board-players{max-height:none;overflow:visible}.ops-adult-dialog .roster-player{padding:13px 0}.ops-adult-dialog .board-players{display:block}.ops-report .ops-report-intro{padding:16px 20px}.ops-report .ops-report-intro .ops-eyebrow{margin-bottom:9px}.ops-report .ops-report-intro .ops-snapshot{margin-top:10px}.ops-report #pitch-lanes{height:clamp(400px,calc(100vh - 600px),480px)}
@media(max-width:1250px){.ops-report .lineup-tabs{flex-basis:100%}.ops-report .board-tools #board-reset{display:inline-flex}.ops-report .reserve-skill-row{grid-template-columns:34px 70px 1fr;font-size:10px}}
@media(max-width:760px){.ops-report .ops-board-notes{order:8}.ops-report #pitch-lanes{height:430px}.ops-report .pitch-lane{gap:6px}.ops-report .pitch-lane[data-line=ATT][data-count="2"]{padding-inline:25%}.ops-report .ops-report-intro{padding:14px}.ops-report .reserve-dialog .reserve-skill-row{grid-template-columns:40px 85px 1fr;font-size:12px}.ops-report .ops-adult-dialog .roster-player .roster-name{max-width:none}}
