/* Product layout: readable controls, one primary surface per task. */
:root{--bg:#f5f7fb;--surface:#fff;--surface-2:#f0f5fc;--line:#dfe6ef;--text:#18314e;--muted:#63758a;--mint:#2563eb;--blue:#2563eb;--reading-body:17px;--reading-control:16px;--reading-note:15px}
body{background:var(--bg);color:var(--text);font-family:"Segoe UI","Microsoft YaHei",sans-serif;font-size:17px;line-height:1.6}
button:hover:not(:disabled){filter:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a6c5ff;outline-offset:3px}
.sidebar{width:228px;padding:24px 18px 18px;background:#fff;border-right:1px solid var(--line);overflow-y:auto;overflow-x:hidden;gap:0}
.brand{font-size:23px;letter-spacing:-.6px;gap:12px;padding:0 6px;color:#17395e;flex-shrink:0}
.brand-mark{width:42px;height:42px;min-width:42px;border-radius:12px;clip-path:none;background:#2563eb;color:#fff;font-size:24px;font-style:normal;box-shadow:0 4px 12px #2563eb16}
.brand small,.workspace-label{display:none}.brand .mint{color:#2563eb}
.sidebar nav{margin-top:28px;display:grid;gap:4px}
.nav-item{color:#5c7089;min-height:46px;margin:0;padding:11px 13px;font-size:17px;border-radius:9px;gap:13px;line-height:1.35}
.nav-item>span{width:21px;height:21px;display:grid;place-items:center}.nav-item svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.nav-item.active,.nav-item[aria-current=page]{background:#edf3ff;color:#245ee2;box-shadow:none;font-weight:600}
.nav-item:hover:not(:disabled):not(.active){background:#f5f8fc}.nav-item:disabled{opacity:.6}
.nav-item b{font-size:15px;border-radius:6px;background:#dce8ff;color:#245ee2;min-width:24px;text-align:center;padding:2px 6px}
.library-heading{margin-top:23px;padding-top:18px;border-top:1px solid #e8edf4;display:block}
.library-launcher{display:flex;align-items:center;gap:10px;width:100%;min-height:45px;border:0;border-radius:9px;background:#f4f7fc;color:#244467;padding:11px 12px;text-align:left;font-size:16px;font-weight:600}
.library-launcher svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;flex-shrink:0}.library-launcher b{margin-left:auto;font-size:15px;font-weight:500;color:#647a93}
.sidebar-current-match{margin-top:8px}.sidebar-current-match button{width:100%;text-align:left;background:none;border:0;border-radius:8px;padding:9px 12px;color:#46617d;min-height:55px}
.sidebar-current-match strong{display:block;font-size:15px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-current-match small{display:block;color:#7b8ba0;font-size:15px;margin-top:3px}.sidebar-current-match button:hover{background:#f7f9fc}
.sidebar-bottom{padding-top:20px;margin-top:auto;border:0;font-size:15px}.sidebar-bottom>small{display:none}.engine-line{font-size:15px;color:#71829a;padding:0 7px;margin-bottom:12px}
.status-dot{width:7px;height:7px;box-shadow:none;background:#29a478}.status-dot.off{background:#d25a62}
.sidebar-bottom .link-button{font-size:15px;min-height:36px;margin:0;padding:6px 7px;color:#516c8c}.library-dataset-link{float:right}
body>main{margin-left:228px;max-width:none;padding:26px 32px 22px;min-width:0}
.topbar{margin-bottom:22px;gap:20px;flex-wrap:nowrap;align-items:center}.topbar>div:first-child{min-width:0;flex:1}
.breadcrumb{font-size:15px;color:#8290a3}.topbar h1{font-size:27px;font-weight:650;margin-top:5px;line-height:1.35;letter-spacing:-.6px}
.topbar-actions{flex-shrink:0;flex-wrap:nowrap;gap:9px;margin:0}.topbar-actions>.badge{display:none}
.button,.compact{min-height:43px;font-size:16px;padding:9px 15px;border-radius:8px;line-height:1.4;font-weight:500}
.button.primary{color:#fff;background:#2563eb;border-color:#2563eb;box-shadow:0 3px 8px #2563eb12}.button.primary:hover{background:#1e55ce}
.button.secondary{background:#fff;color:#385473;border-color:#d9e3ee}.button.secondary:hover{border-color:#8fb2ef;background:#f8fbff}
.icon-button{border-radius:8px;color:#63768e}.badge{font-size:15px;border-radius:6px;padding:4px 8px}.badge.good{background:#edf8f2;color:#26835c}
.product-tools{position:relative}.product-tools>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:8px;color:#49627d;min-height:43px;border:1px solid #d9e3ee;border-radius:8px;background:#fff;padding:8px 13px;font-size:16px;font-weight:500}
.product-tools>summary::-webkit-details-marker{display:none}.product-tools>summary::after{content:'⌄';font-size:18px;line-height:1}.product-tools[open]>summary{border-color:#86acf0;background:#f4f8ff}
.product-tools-popover{position:absolute;right:0;top:calc(100% + 9px);z-index:25;width:300px;padding:12px;background:#fff;border:1px solid #dfe7f1;border-radius:12px;box-shadow:0 16px 42px #18314e1a}
.product-tools-popover>.button{width:100%;justify-content:flex-start;border:0;box-shadow:none;background:transparent;margin:1px 0;padding:10px 12px;font-weight:500}.product-tools-popover>.button:hover{background:#f1f6ff}
.product-match-info{border-top:1px solid #e7edf4;margin:8px 0 0;padding:12px 11px 4px}.product-match-info h3{font-size:16px;font-weight:600;margin:0 0 7px}
#videoMeta{font-size:15px;line-height:1.7;color:#6b7d93;margin:0;display:block}
.product-match-info .provenance-banner{display:block;background:transparent;border:0;border-radius:0;margin:10px 0 0;padding:0;font-size:15px;box-shadow:none}
.product-match-info .provenance-banner strong{font-size:15px;font-weight:500}.product-match-info .reading-details{margin:9px 0 0;padding-top:7px}.product-match-info summary{font-size:15px;font-weight:500;padding:4px 0}.product-match-info .provenance-banner span{font-size:15px}
.workspace-heading{margin:0 0 17px;gap:18px;align-items:center;flex-wrap:wrap;scroll-margin-top:18px}
.workspace-heading>div:first-child{display:flex;align-items:baseline;gap:18px;min-width:0;flex:1;flex-wrap:wrap}
.workspace-heading h2{font-size:23px;font-weight:650;margin:0;white-space:nowrap;letter-spacing:-.4px}.workspace-heading p{font-size:16px;margin:0;color:#76869a;line-height:1.5}
.workspace-heading>.button{font-size:15px;min-height:39px}
.workspace-heading #jobBanner{margin:0;padding:0;background:none;border:0;border-radius:0;overflow:visible;flex-shrink:0}
.job-banner.is-complete>div:first-child,.job-banner.is-complete>.progress-track{display:none}
.job-banner .job-actions{gap:8px;flex-wrap:wrap}.job-banner .job-actions>.button{font-size:15px;min-height:39px;padding:8px 11px}
.workspace-options{position:relative;border-radius:8px;padding:7px 11px;background:#fff}.workspace-options>summary{font-size:15px;min-height:23px;font-weight:500;padding:0}
.workspace-options[open]{z-index:10}.workspace-options[open] .sample-label{font-size:15px!important;min-width:230px}.workspace-options select{min-width:110px;font-size:15px}
#workspace[data-workspace-section=overview] .stat-grid{gap:0;margin:0 0 22px;background:#fff;border:1px solid #e0e7f0;border-radius:12px;overflow:hidden;grid-template-columns:repeat(4,minmax(0,1fr))}
.stat-card{background:transparent;border:0;border-right:1px solid #e7edf5;border-radius:0;padding:17px 23px;position:relative;min-width:0}.stat-card:last-child{border-right:0}
.stat-top{font-size:15px;color:#74859a;line-height:1.45;padding-right:10px}.stat-top span:last-child{display:none}
.stat-value{font-size:31px;color:#193b64;font-weight:650;margin:5px 0 0;line-height:1.2;letter-spacing:-.7px}.stat-value small{font-size:15px;margin-left:5px;color:#7c8ca1;font-weight:400;letter-spacing:0}
.stat-card p{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.workspace-stat-action{position:absolute;right:12px;bottom:17px;padding:0;width:36px;min-height:36px;margin:0;border:0;border-radius:8px;background:#f3f7ff;color:#4a7bd2;text-align:center;font-size:22px;text-decoration:none;line-height:1.4}
.workspace-stat-action:hover{background:#e7efff}.stat-card:has(.workspace-stat-action) .stat-value{padding-right:35px}
#workspace .analysis-grid{grid-template-columns:minmax(0,1.32fr) minmax(0,1fr);gap:22px;margin-bottom:22px;align-items:stretch}
.card{background:#fff;border:1px solid #e0e7f0;border-radius:12px;box-shadow:0 2px 4px #17395e02;overflow:hidden}
.card-heading{padding:21px 24px;gap:16px;align-items:center;flex-wrap:wrap}.card-heading h2{font-size:21px;font-weight:650;line-height:1.4;letter-spacing:-.4px}.card-heading p{font-size:16px;line-height:1.6;margin:5px 0 0;color:#75869b}
.card-heading .eyebrow,.tiny-square{display:none}.card-footnote{font-size:15px;padding:13px 24px;color:#75869b}
.video-card .card-heading,.pitch-card .card-heading{padding:17px 20px;min-height:69px}.camera-tools{gap:8px;min-width:0;flex-wrap:wrap}
.camera-tools .button{padding:7px 9px;font-size:15px;min-height:36px}.camera-tools select{font-size:15px;padding:6px 8px;min-height:36px;max-width:125px;color:#58718c}
.camera-tools #cameraButton{display:none}.camera-tools #cameraSelect:has(option:only-child){display:none}
.video-stage{margin:0 15px;border-radius:8px;aspect-ratio:16/9;background:#111c2a}.video-tag{font-size:15px;letter-spacing:0;border:0;background:#112036b3;padding:5px 9px;border-radius:5px;color:#e3edf9}
.video-card>.card-footnote{display:none}.timeline{padding:11px 18px 14px;gap:10px;font-size:15px;color:#637c97}.timeline .icon-button{width:35px;min-width:35px;height:35px;min-height:35px;background:#f2f6fe;color:#2563eb;font-size:17px}
.segmented{background:#f3f6fb;border:1px solid #e4eaf3;padding:3px;border-radius:8px;gap:3px}.segmented button{font-size:16px;min-height:36px;padding:7px 12px;color:#70839b;border-radius:6px;line-height:1.3}
.segmented button.active{background:#fff;color:#2563eb;font-weight:600;box-shadow:0 1px 4px #1e456612}
.pitch-stage{margin:0 14px;min-height:0}.pitch-stage canvas{aspect-ratio:105/68;object-fit:contain}.pitch-card .pitch-legend{font-size:15px;padding:7px 20px 0;gap:14px;color:#637b96}.pitch-card .pitch-legend button{font-size:15px;min-height:32px}
.pitch-card .viz-pitch-controls{padding:10px 20px 16px;display:flex;align-items:center;gap:13px;margin:0}.viz-pitch-controls label{font-size:15px;white-space:nowrap;margin:0}.viz-pitch-controls select{font-size:15px;min-height:36px;margin:0;padding:6px 9px;flex:1}
.pitch-selection{display:none}.pitch-notice{font-size:16px;color:#5e7692;background:#f5f8fcdb;border-radius:8px;margin:8px}
.players-card .card-heading>div:first-child>h2,.tactics-card .card-heading h2,.quality-card .card-heading h2,.events-card .card-heading h2{font-size:23px}
.players-card .table-tools{gap:10px}.table-tools input{width:220px;min-height:43px;font-size:16px;padding:9px 12px}.table-tools select{min-height:43px;font-size:16px;margin:0;width:auto;max-width:170px}
.players-card th{background:#f7f9fd;color:#74869c;font-size:15px;font-weight:500;padding:14px 20px}.players-card td{padding:18px 20px;font-size:17px;border-color:#edf1f6}.players-card tbody tr:hover{background:#f6f9ff}.players-card tbody tr.selected{background:#eef4ff}
.player-cell strong{font-size:17px;font-weight:600}.player-cell small{font-size:15px;color:#8291a5;line-height:1.5;margin-top:3px}.shirt{width:34px;min-width:34px;height:38px;font-size:16px;line-height:35px}
.coverage{font-size:16px}.coverage-track{width:42px;height:4px;border-radius:3px;background:#e7edf6}.coverage-track i{background:#6f98dc;border-radius:3px}
.player-pagination{display:flex;align-items:center;gap:15px;justify-content:flex-end;padding:16px 23px;border-top:1px solid #e9eff6;font-size:15px;color:#71849c}.player-pagination .button{font-size:15px;min-height:36px;padding:7px 11px}
.players-card>.card-footnote{display:none}.player-detail{background:#f9fbff;border:0;border-radius:10px;padding:22px;margin:8px 23px 22px}.player-detail-heading strong{font-size:19px}.player-detail-heading small{font-size:15px}.detail-metrics{gap:0}.detail-metrics>div{border:0;border-right:1px solid #e4ebf5;border-radius:0;background:transparent;padding:12px 17px}.detail-metrics>div:last-child{border:0}
.team-summary{border:1px solid #e0e7f0;background:#fff;border-radius:10px;padding:17px 22px}.team-summary-title{margin-bottom:12px}.team-summary-title strong{font-size:18px}.team-summary-title small{font-size:15px;color:#8090a4}.team-summary-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.team-summary-values span{font-size:15px;color:#71859f}.team-summary-values strong{font-size:24px;font-weight:600}.team-summary>p{display:none}
.tactics-layout{padding:0 24px 24px;gap:24px;grid-template-columns:minmax(0,1fr) 230px}.tactics-sidebar{background:#f7faff;border:0;border-radius:10px;padding:20px}.tactics-sidebar .quality-note{padding:0;border:0;background:transparent;font-size:15px;line-height:1.7;margin-top:16px}
.workspace-timeline{background:#fbfcfe;border-color:#e9eff6;padding:14px 24px;gap:14px}.workspace-timeline label{font-size:15px;margin:0}.workspace-timeline output{font-size:15px}.workspace-timeline .button{min-height:36px;padding:7px 11px;font-size:15px}
.viz-shape-panel{margin:0 24px 24px;padding:21px 0 0;border-top:1px solid #e5ebf4;border-radius:0;background:none}.viz-shape-panel h3{font-size:20px;margin:0 0 13px}
.product-secondary-panel{margin:22px 0;border:1px solid #e0e7f0;border-radius:12px;background:#fff;overflow:hidden}.product-secondary-panel>summary{padding:21px 24px;font-size:20px;color:#224c7e;font-weight:600;display:flex;align-items:center;justify-content:space-between;list-style:none;gap:16px}.product-secondary-panel>summary::-webkit-details-marker{display:none}.product-secondary-panel>summary::after{content:'＋';font-size:23px;font-weight:400;color:#8ba0ba}.product-secondary-panel[open]>summary::after{content:'−'}
.product-secondary-panel>.card{border:0;border-radius:0;box-shadow:none;margin:0!important}.product-secondary-panel #researchCard>.card-heading{display:none}.product-secondary-panel .control-candidates{border:0;margin:0!important;border-radius:0;box-shadow:none}
.research-summary{gap:0;border-bottom:1px solid #e7edf4}.research-stat{border:0!important;border-radius:0!important;padding:17px 22px!important;border-right:1px solid #e7edf4!important}.research-stat:last-child{border-right:0!important}.research-stat b{font-size:28px!important}.research-stat span{font-size:15px!important}
#researchCard{padding:0 24px 22px}.research-layout{gap:24px}.research-layout h3{font-size:20px}.research-note{font-size:15px;line-height:1.7}.research-controls{gap:12px}.research-controls select{font-size:16px;min-height:42px}.research-table td,.research-table th{font-size:16px!important}
.events-card .card-heading,.quality-card .card-heading{padding-bottom:17px}.event-filters{margin:0 24px 16px}.event-navigation{display:flex;gap:12px;align-items:center;margin:0 24px 20px}.event-navigation select{width:auto;min-width:200px;margin:0;font-size:16px}
.event-item{padding:18px 24px;gap:16px;border-top:1px solid #e8eef5}.event-time{color:#2a67cb;background:#eff5ff;border-color:#e0eaff;font-size:16px;min-width:66px;padding:8px 9px}.event-info strong{font-size:17px;font-weight:600}.event-info small{font-size:15px;margin-top:4px;color:#8393a7;max-width:none}.event-actions .button{font-size:15px;min-height:37px}.event-actions .badge{font-size:15px}
.quality-content{padding:0 24px 24px}.quality-row{padding:17px 0;border-top:1px solid #e7edf4;color:#6d8199}.quality-row strong{font-size:18px;color:#224c75;font-weight:600}.quality-card .card-heading>.badge{display:none}
.quality-more-warnings{background:#f8fafd;border-color:#e4ebf5;padding:16px 19px;border-radius:9px}.quality-more-warnings summary{font-size:16px;font-weight:500}.quality-note{font-size:16px;background:#f7faff;border-radius:8px;border-left-width:3px;color:#576e89}
.workspace-evidence{padding:18px 24px;border-radius:12px;border-color:#e0e7f0;margin-top:22px}.workspace-evidence>summary{font-size:18px;font-weight:500;padding:3px 0}
.main-footer{font-size:15px;color:#94a2b4;letter-spacing:0;margin-top:26px;padding-top:18px;border-color:#e2e8f2}.main-footer>span:first-child{color:#8799b0}.main-footer>span:last-child{display:none}
dialog{background:#fff;color:#18314e;border:1px solid #dce6f2;border-radius:16px;box-shadow:0 24px 80px #1535582e;padding:28px;line-height:1.6}dialog::backdrop{background:#10274462}.dialog-heading h2{font-size:25px;font-weight:650}.dialog-heading .eyebrow{display:none}label{font-size:16px;color:#4b6580}
input,select,textarea{background:#fff;color:#294a6c;border-color:#d4dfed;border-radius:8px;font-size:16px;padding:10px 12px;min-height:43px}input::placeholder,textarea::placeholder{color:#96a4b7}input:focus,select:focus,textarea:focus{border-color:#77a3ef;outline:2px solid #dce9ff;outline-offset:0}
input[type=range]{min-height:22px;accent-color:#2563eb}input[type=checkbox]{min-height:18px;accent-color:#2563eb}.dialog-footer{border-color:#e4ebf4;margin-top:24px;padding-top:20px}.empty-block{color:#8394a9;padding:50px 24px;font-size:16px}.empty-block strong{font-size:20px;color:#466582;font-weight:500}
.match-library-dialog{width:min(780px,calc(100vw - 40px));padding:0;max-height:88dvh}.match-library-dialog .dialog-heading{padding:26px 28px 18px;margin:0}.match-library-dialog .dialog-heading h2{font-size:25px}.match-library-search{padding:0 28px 20px}.match-library-search input{margin:0;min-height:48px;background:#f7f9fc}
.match-library-summary{display:flex;align-items:center;justify-content:space-between;padding:0 28px 13px;color:#8a9baf;font-size:15px;gap:15px}.match-library-summary .link-button{font-size:16px;min-height:36px}
.match-library-dialog .match-list{margin:0;padding:0 14px 18px;max-height:calc(88dvh - 220px);overflow:auto}.match-library-dialog .match-item{border:0;border-radius:8px;background:#fff;color:#294c73;margin:0;padding:17px 15px;border-bottom:1px solid #edf1f7}
.match-library-dialog .match-item:hover{background:#f4f8ff}.match-library-dialog .match-item.active{background:#edf4ff;color:#205dc3}.match-library-dialog .match-item strong{font-size:17px;line-height:1.5;font-weight:600;white-space:normal}.match-library-dialog .match-item small{font-size:15px;line-height:1.6;color:#8193aa;display:block;margin-top:5px}
.match-library-empty{font-size:17px;text-align:center;color:#758ba5;padding:38px 15px}
.welcome{background:#fff;border-color:#e0e7f0;border-radius:16px;min-height:500px;grid-template-columns:1.2fr 1fr}.welcome-copy{padding:50px}.welcome-copy .eyebrow{display:none}.welcome h2{font-size:36px;font-weight:650;letter-spacing:-.8px;line-height:1.45;color:#214e80}.welcome p{font-size:18px;line-height:1.8;color:#71849d}.welcome-actions{margin:26px 0 18px}.welcome-pitch{transform:none;margin-right:32px;height:255px}.field-line{border-color:#bed1ee;border-radius:6px;background:repeating-linear-gradient(90deg,#f2f7ff 0 10%,#eaf2fe 10% 20%)}.field-mid,.field-circle,.field-box{border-color:#bed1ee}.pitch-callout{font-size:20px;letter-spacing:1px;color:#7898bf;left:17%;top:32%}.pitch-callout strong{font-size:31px;color:#3569a7}.onboarding{background:#f8faff;border-color:#e4ebf6;padding:24px 34px}.onboarding b{font-size:24px;color:#98b3d5}.onboarding small{font-size:15px}
@media(min-width:1650px){body>main{padding:32px 46px}.topbar h1{font-size:30px}#workspace .analysis-grid{grid-template-columns:minmax(0,1.42fr) minmax(0,1fr)}.video-stage{margin:0 20px}.card-heading{padding:23px 27px}.stat-card{padding:21px 27px}.stat-value{font-size:35px}}
@media(max-width:1390px){body>main{padding:24px}.workspace-heading p{display:none}.video-card .card-heading{align-items:center}.video-card .camera-tools{gap:6px}.camera-tools .button{font-size:15px;padding:7px}.tactics-layout{grid-template-columns:minmax(0,1fr) 205px}.topbar h1{font-size:25px}}
@media(max-width:1150px){.sidebar{width:208px;padding:22px 15px}.brand{font-size:21px;gap:10px}.brand-mark{width:38px;height:38px;min-width:38px}.nav-item{font-size:16px;padding:11px}.sidebar-current-match small{font-size:15px}body>main{margin-left:208px;padding:22px}.topbar{align-items:flex-start;flex-wrap:wrap}.topbar-actions{gap:8px}.topbar h1{font-size:25px}#workspace .analysis-grid{grid-template-columns:1fr}.pitch-stage{max-width:820px;margin:auto}.pitch-card .viz-pitch-controls{max-width:520px}.tactics-layout{grid-template-columns:1fr}.team-summary-values{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:17px}.stat-value{font-size:29px}.stat-top{font-size:15px}.table-tools input{width:180px}.product-tools-popover{width:280px}}
@media(max-width:760px){.sidebar{position:relative;width:auto;height:auto;padding:17px 18px 12px;overflow:visible;display:grid;grid-template-columns:1fr auto;gap:12px;border-right:0;border-bottom:1px solid #e0e7f1}.brand{font-size:23px}.brand-mark{width:38px;height:38px;min-width:38px}.sidebar nav{grid-column:1/-1;display:flex;overflow-x:auto;flex-wrap:nowrap;margin:0;gap:5px;padding:0 0 3px}.nav-item{width:auto;min-width:max-content;padding:10px 14px;font-size:16px;min-height:42px;justify-content:center;margin:0;gap:8px}.nav-item>span{display:none}.nav-item b{display:block;font-size:15px}.sidebar .library-heading{display:block;margin:0;padding:0;border:0}.library-launcher{width:auto;font-size:0;padding:9px 12px;min-height:38px;gap:0}.library-launcher svg{display:block}.library-launcher b,.sidebar-current-match,.sidebar-bottom{display:none}body>main{margin:0;padding:22px 18px}.topbar{gap:15px;margin-bottom:21px}.topbar>div:first-child{flex-basis:100%}.topbar h1{font-size:25px}.topbar-actions{width:100%;justify-content:flex-start;margin:0}.topbar-actions .button{font-size:16px;padding:9px 14px}.product-tools-popover{right:auto;left:0;width:min(300px,calc(100vw - 40px))}.workspace-heading{margin-bottom:17px;gap:13px}.workspace-heading>div:first-child{flex-basis:100%}.workspace-heading h2{font-size:23px}.workspace-heading #jobBanner{flex:1;width:100%}.job-banner .job-actions{justify-content:flex-start}.workspace-heading>.button{display:none}#workspace[data-workspace-section=overview] .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}.stat-card{padding:16px 19px}.stat-card:nth-child(2){border-right:0}.stat-card:nth-child(-n+2){border-bottom:1px solid #e7edf5}.stat-top{font-size:15px}.stat-value{font-size:29px}#workspace .analysis-grid{gap:20px}.video-card .card-heading,.pitch-card .card-heading{padding:17px 18px;gap:10px}.card-heading h2{font-size:21px}.video-stage{margin:0 11px}.camera-tools .button{font-size:15px}.players-card .card-heading{padding:22px 18px}.table-tools{width:100%;justify-content:flex-start}.table-tools input{width:100%;min-width:100%;flex:1}.table-tools select{max-width:none;flex:1}.card-heading p{font-size:16px}.event-filters{margin:0 18px 16px}.event-navigation{margin:0 18px 18px;flex-wrap:wrap}.event-item{padding:17px 18px}.event-info strong{font-size:17px}.quality-content{padding:0 18px 21px}.workspace-evidence{padding:17px 19px}.product-secondary-panel>summary{padding:20px;font-size:19px}.tactics-layout{padding:0 18px 22px}.workspace-timeline{padding:14px 18px}.workspace-timeline label{width:auto}.team-summary{padding:17px 19px}.product-secondary-panel #researchCard{padding:0 18px 20px}.main-footer{margin-top:22px}.match-library-dialog{width:calc(100vw - 24px)}.match-library-dialog .dialog-heading{padding:22px 20px 16px}.match-library-search{padding:0 20px 16px}.match-library-summary{padding:0 20px 12px}.match-library-dialog .match-list{padding:0 9px 15px}.welcome{min-height:0;grid-template-columns:1fr}.welcome-copy{padding:32px 25px}.welcome h2{font-size:31px}.welcome-pitch{display:none}.welcome-actions{flex-wrap:wrap}.onboarding{grid-template-columns:1fr;padding:22px 25px}.onboarding>div{gap:17px}.onboarding small{display:block;margin:2px 0 0}}
@media(max-width:480px){body>main{padding:19px 13px}.topbar-actions{gap:7px}.topbar-actions .button{font-size:15px;padding:9px 11px}.product-tools>summary{font-size:15px;padding:9px 11px}.workspace-heading h2{font-size:22px}.workspace-heading .job-actions>.button{font-size:15px}.stat-card{padding:15px 16px}.stat-top{font-size:15px}.stat-value{font-size:27px}.workspace-stat-action{right:9px;width:32px;min-height:32px;font-size:20px}.card-heading h2{font-size:20px}.video-card .camera-tools{width:100%}.video-card .card-heading{min-height:0;gap:12px}.players-card td{font-size:16px}.event-navigation select{flex:1;min-width:150px}.event-actions{gap:8px}.event-time{min-width:58px;padding:7px;font-size:15px}.event-info small{font-size:15px}.quality-row{gap:12px}.team-summary-values{gap:15px}.team-summary-values strong{font-size:23px}dialog{padding:22px}.dialog-heading h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
#mobileMatchSelect{display:none!important}.team-summary-note{margin-top:12px;border-top:1px solid #edf1f7;padding-top:8px;color:#778aa2;font-size:15px}.team-summary-note summary{font-size:15px;cursor:pointer}.team-summary-note p{font-size:15px;margin:8px 0 0;line-height:1.7}
.topbar-actions .button,.product-tools>summary{white-space:nowrap}
@media(max-width:480px){.topbar-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.topbar-actions>.product-tools{grid-column:1/-1}.product-tools>summary{min-height:40px}.product-tools-popover{left:auto;right:0;width:min(300px,calc(100vw - 40px))}}

/* Consolidated player identity actions. Original buttons retain their states and listeners. */
.players-card .card-heading{overflow:visible}
.players-card:has(.player-identity-tools[open]){overflow:visible;position:relative;z-index:12}
.players-card .table-tools{display:flex;align-items:center;flex-wrap:wrap;min-width:0;max-width:100%;gap:9px}
.players-card .table-tools input{min-width:150px;max-width:100%;flex:1 1 185px;width:185px}
.players-card .table-tools select{min-width:135px;max-width:190px;flex:0 1 auto;font-size:16px}
.players-card .table-tools>.player-review-workspace-button{font-size:16px;white-space:nowrap;flex:0 0 auto}
.player-identity-tools{flex:0 0 auto}
.player-identity-tools>summary{font-size:16px;white-space:nowrap;cursor:pointer}
.player-identity-popover{width:235px;max-width:calc(100vw - 38px);box-sizing:border-box}
.player-identity-popover>.button{font-size:16px;min-height:43px;text-align:left;justify-content:flex-start;color:#385473;background:transparent;border:0;white-space:normal;line-height:1.5}
.player-identity-popover>.button[hidden]{display:none!important}
.player-identity-popover>.button:disabled{color:#7b8da3;opacity:.55;cursor:default}
.player-identity-popover>.button:hover:not(:disabled){background:#f1f6ff;color:#245ee2}
.club-card>.card-heading{display:none}
@media(max-width:760px){.players-card .table-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;width:100%}.players-card .table-tools input{grid-column:1/-1;width:100%;min-width:0;max-width:100%}.players-card .table-tools select{width:100%;min-width:0;max-width:100%}.players-card .table-tools>.player-review-workspace-button{min-width:0;font-size:16px;padding:9px 12px}.player-identity-tools{grid-column:1/-1;justify-self:end}.player-identity-tools>summary{font-size:16px;min-height:42px}.player-identity-popover{left:auto;right:0;width:235px;max-width:calc(100vw - 60px)}}
@media(max-width:480px){.players-card .table-tools select,.player-identity-popover>.button,.player-identity-tools>summary{font-size:15px}.players-card .table-tools>.player-review-workspace-button{font-size:15px}.player-identity-popover{left:auto;right:0;max-width:calc(100vw - 50px)}}
@media(max-width:760px){.sidebar .library-heading{grid-column:2;grid-row:1}.sidebar nav{grid-row:2}}

/* Persistent person tracking preference. */
.person-tracking-preference{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid var(--line)}
.person-tracking-preference>label{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0;font-size:18px;color:var(--text);font-weight:600}
.person-tracking-preference select{width:190px;margin:0;font-size:17px;font-weight:400;min-height:44px}
.person-tracking-preference p{font-size:16px;line-height:1.55;margin:10px 0 0}
.person-tracking-setting-status:empty{display:none}.person-tracking-setting-status{color:var(--blue)}.person-tracking-setting-status.error{color:var(--red)}
@media(max-width:480px){.person-tracking-preference>label{gap:12px;flex-wrap:wrap}.person-tracking-preference select{width:100%}}
