/* Shared reading scale. Module styles retain their own colours and state rules. */
:root{--text:#183451;--muted:#52667c;--reading-body:18px;--reading-control:16px;--reading-note:15px}
body{font-size:var(--reading-body);line-height:1.65;color:var(--text)}
*,*::before,*::after{box-sizing:border-box}
h1,h2,h3,p,figure{overflow-wrap:anywhere}
h1,.topbar h1{font-size:28px;line-height:1.3}
h2,.card-heading h2,.dialog-heading h2{font-size:24px;line-height:1.35}
h3,.profile-panel h3,.tactics-sidebar h3,#validationSuite h3{font-size:22px;line-height:1.4}
button,input,select,textarea,.button,.compact,.nav-item,.link-button{font-size:var(--reading-control);line-height:1.45}
button,.button,select,input:not([type=range]):not([type=checkbox]){min-height:42px}
input,select,textarea{max-width:100%;min-width:0}
label,th,td{font-size:16px;line-height:1.6}
small,.small,.muted,.badge,.eyebrow,.breadcrumb,.workspace-label,.card-footnote{font-size:15px;line-height:1.6}
small,.muted,.small,.eyebrow,.breadcrumb,.card-footnote{color:var(--muted)}
.eyebrow{letter-spacing:.07em}.brand small{font-size:15px}
.main-content,.workspace,.card,.card>*,.profile-panel,.profile-content,.profile-title{min-width:0}
body>main{min-width:0;margin-left:250px}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.job-actions{flex-wrap:wrap;gap:12px}.job-actions select{font-size:16px;max-width:100%}
.topbar{gap:20px;flex-wrap:wrap}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;min-width:0}
.card-heading{gap:16px;flex-wrap:wrap}.card-heading p{font-size:15px;line-height:1.6;margin-top:6px}
.card-heading,.card-body{padding:22px 24px}
.sidebar{width:250px}.main-content{margin-left:250px}
.match-item{padding:13px 12px}.match-item strong{font-size:16px;line-height:1.5}.match-item small{font-size:15px;line-height:1.5}
.nav-item{min-height:46px}.sidebar-bottom{font-size:15px}
.welcome-copy h2{font-size:28px}.welcome-copy>p{font-size:18px;line-height:1.8}.welcome-actions{flex-wrap:wrap}
.job-banner{gap:16px;flex-wrap:wrap}.job-controls{gap:12px;flex-wrap:wrap}.job-banner small{font-size:15px}
.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card,.summary-stat{min-width:0}
.table-scroll,.research-table,.td-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
table{font-size:16px}th,td{padding:14px 12px;vertical-align:top}
.player-cell strong{font-size:17px}.player-cell small,.event-info small{font-size:15px}
.table-tools{gap:10px}.table-tools #playerSort{max-width:230px;font-size:16px}.table-tools input{min-width:170px;max-width:100%}
.player-detail-heading{gap:12px;flex-wrap:wrap}.player-detail-heading strong{font-size:20px}
.detail-metrics span,.detail-note,.speed-heading small,.team-summary p{font-size:15px}
.event-info strong{font-size:17px}.event-item{gap:14px;padding-top:17px;padding-bottom:17px}.event-actions{flex-wrap:wrap}
.quality-row,.quality-note,.tactics-fact,.dataset-card p{font-size:16px;line-height:1.7}
.quality-note{overflow-wrap:anywhere}.quality-row{gap:16px}.quality-row>span{min-width:0}
.quality-note table{display:block;max-width:100%;overflow-x:auto}
.segmented{flex-wrap:wrap}.segmented button{font-size:16px;padding:9px 12px;min-height:42px}
.pitch-notice,.pitch-legend,.pitch-selection,.timeline,.main-footer,.provenance-banner span{font-size:15px;line-height:1.6}
.provenance-banner{gap:12px;flex-wrap:wrap}.provenance-banner strong{font-size:17px}.provenance-banner a{font-size:16px}
dialog{font-size:18px;line-height:1.65;max-height:94dvh;max-width:calc(100vw - 24px);padding:26px;overflow:auto}
dialog .dialog-heading{gap:16px;align-items:flex-start}.dialog-heading .icon-button{flex-shrink:0}
.dialog-footer{gap:12px;flex-wrap:wrap}.dialog-footer>*{min-width:0}
.form-row>*{min-width:0}.form-error{font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.icon-button{width:42px;height:42px;min-width:42px;font-size:24px}
.reading-details,details.validation-history{border-top:1px solid #dce6f1;margin:16px 0;padding-top:12px}
.reading-details>summary,details.validation-history>summary,summary{font-size:17px;line-height:1.5;font-weight:600;color:#245b96;cursor:pointer;padding:7px 0}
.reading-details>p,.reading-details>div{font-size:15px;line-height:1.75;color:#50667d}
.reading-details[open]{padding-bottom:6px}.reading-details summary:focus-visible{outline:2px solid #2877d6;outline-offset:3px}
.reading-warning{padding:12px 15px;border-left:3px solid #d08a27;background:#fff8eb;color:#795211;font-size:16px;line-height:1.65}
.profile-title h2{font-size:28px}.profile-title p{font-size:16px}.profile-actions{flex-wrap:wrap}.profile-actions .button{font-size:16px}
.profile-meta{gap:10px;flex-wrap:wrap}.profile-meta .badge{font-size:15px;white-space:normal}
.profile-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.profile-stat span{font-size:16px}.profile-stat strong{font-size:28px}.profile-stat small{font-size:16px}
.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.profile-panel{padding:22px}
.profile-panel>p,.profile-role,.profile-footer,.profile-candidate-note{font-size:15px;line-height:1.75}
.profile-role{font-size:17px}.zone-row{font-size:16px;gap:12px;flex-wrap:wrap}
.speed-zone{grid-template-columns:110px minmax(35px,1fr) 90px;gap:10px;font-size:16px}
.speed-zone-label small{font-size:15px}.passing-row{grid-template-columns:minmax(90px,1fr) 70px minmax(125px,1.2fr) 52px;font-size:16px;line-height:1.65}
.passing-row small,.profile-event small,.profile-bout{font-size:15px}.profile-event strong{font-size:17px}
.profile-candidate-metrics span{font-size:16px}.profile-bout{flex-wrap:wrap;gap:8px}
.research-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.research-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.research-stat span{font-size:15px}
.research-table table{font-size:16px}.research-note{font-size:15px;color:#52667c;line-height:1.75}
.validation-overview span,.validation-evidence-grid p,.validation-evidence-grid small,#validationSuite td small{font-size:15px}
.validation-controls label,.validation-controls select{font-size:16px}.validation-evidence-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.validation-evidence-grid article h3{font-size:22px}.validation-history table{max-width:100%}
#identityReviewDialog{font-size:18px}#identityReviewDialog h3{font-size:22px}#identityReviewDialog label{font-size:16px}
#identityReviewDialog input,#identityReviewDialog select{font-size:16px}.ir-item strong{font-size:17px}.ir-signal{font-size:16px}.ir-draft-row strong{font-size:17px}.ir-plan{font-size:16px}
#irForm legend{font-size:18px}.ir-crops{gap:12px}.ir-crops figcaption{font-size:15px}.ir-draft-row{align-items:flex-start;flex-wrap:wrap}
.track-review-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.track-review-detail h3{font-size:22px}.track-review-row strong{font-size:17px}
.track-review-evidence figcaption,.track-review-row small,.track-review-selected{font-size:15px}.track-review-row input{width:20px;height:20px}
.review-clips{font-size:17px;padding:16px}.review-clips .rc-title strong{font-size:18px}.review-clips input{width:140px;font-size:16px}.review-clips select,.review-clips button{font-size:16px}
.review-clips .rc-controls label{font-size:16px}.review-clips .rc-note,.review-clips .rc-clock,.review-clips .rc-error,.review-clips .rc-state{font-size:15px}
.rc-event-source{flex-wrap:wrap}.rc-event-source label,.rc-event-source select{font-size:16px}
#motionDialog .motion-form-grid{grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr))}
#motionDialog .motion-layout,#multiViewDialog .mv-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
#multiViewDialog textarea{font-size:16px}#multiViewDialog #mvSaved{min-width:0;flex:1}
#motionDialog .motion-controls label{min-width:0}.motion-metric span,.motion-note,.motion-badge{font-size:15px}
.td-form{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) auto}.td-form label,.td-tools label,.td-table{font-size:16px}.td-saved{flex-wrap:wrap}
.td-note,.td-warning,.td-table small,.td-status,.td-page{font-size:15px}.td-warning{color:#315878}.td-table{min-width:740px}
.jersey-review{font-size:17px}.jersey-review .small{font-size:15px}.jersey-evidence{flex-wrap:wrap;overflow-wrap:anywhere}
.stat-card p,.welcome small,.main-footer,.dataset-card small{color:#52667c}
#toggleIdentityLabels[aria-pressed="true"]{background:#e7f1ff;border-color:#74a5e6;color:#205bb1}
.research-layout>*,.validation-evidence-grid>*,.research-summary>*{min-width:0}.dataset-card h3{font-size:22px}
.workspace-label,.profile-title .eyebrow{display:none}.profile-actions .button{display:inline-flex}
.stat-card>span,.team-summary-title strong{font-size:17px}.team-summary-title{flex-wrap:wrap}.team-summary-title small{margin-left:0}
.team-summary-values{grid-template-columns:repeat(2,minmax(0,1fr))}.tactics-sidebar p{font-size:15px}
#tdeedDialog .td-form label,#tdeedDialog .td-tools label,#tdeedDialog .td-table,#multiViewDialog textarea{font-size:16px}
#researchCard .research-table table,.research-card .research-table table{font-size:16px}
.validation-history>table{display:block;max-width:100%;overflow-x:auto}.validation-history th,.validation-history td{min-width:90px}
.card-footnote,.profile-footer{letter-spacing:0}.profile-footer{line-height:1.7}
@media(max-width:760px){.sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.nav-item{width:100%;white-space:normal}.ir-crops{display:grid}.track-review-search{flex-wrap:wrap}.track-review-search input{min-width:0;flex:1}.research-controls select{min-width:0;max-width:100%}.validation-controls select{max-width:100%}.welcome{min-height:0}.welcome-pitch{display:none}}
@media(max-width:1180px){.analysis-grid,.lower-grid,.tactics-layout,.profile-grid{grid-template-columns:1fr}.summary-grid,.stat-grid,.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.validation-evidence-grid{grid-template-columns:1fr}.research-layout{grid-template-columns:1fr}}
@media(max-width:900px){.sidebar{width:210px}.main-content{margin-left:210px;padding:22px}.topbar-actions{justify-content:flex-start}.research-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.validation-overview{grid-template-columns:1fr}.calibration-layout{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{width:100%;height:auto;position:relative}.main-content{margin-left:0;padding:18px}.nav{flex-wrap:wrap}.nav-item{font-size:16px}.track-review-layout,#identityReviewDialog .ir-layout,#motionDialog .motion-layout,#multiViewDialog .mv-grid{grid-template-columns:1fr}.ir-queue{max-height:320px}.profile-header{flex-wrap:wrap}.profile-actions{width:100%}.profile-title{flex:1;min-width:180px}.profile-content{padding:18px}.profile-panel{padding:18px}.tactics-layout{display:grid;grid-template-columns:1fr}.topbar{align-items:flex-start}.topbar-actions{width:100%}.welcome-copy h2{font-size:28px}.card-heading,.card-body{padding:18px}.validation-controls label{flex-wrap:wrap}dialog,#identityReviewDialog{padding:18px;max-width:calc(100vw - 20px)}.reading-details>summary{font-size:17px}.form-row,.ir-form-row,.direction-row,#motionDialog .motion-form-grid,.td-form{grid-template-columns:1fr}.td-form button{height:auto}.table-tools{width:100%}.table-tools input{flex:1;min-width:0}.profile-stat strong{font-size:26px}.ir-crops,.track-review-evidence{grid-template-columns:repeat(2,minmax(0,1fr))}.ir-signal{flex-wrap:wrap}.review-clips .rc-controls label{flex:1 1 100%;justify-content:space-between}.review-clips input{width:145px}.rc-title{flex-wrap:wrap}.review-clips .rc-controls select{width:100%}.motion-form-grid input{width:100%}.onboarding-grid{grid-template-columns:1fr}}
@media(max-width:480px){.main-content{padding:12px}.card-heading,.card-body{padding:16px}.profile-content,.profile-panel{padding:14px}.summary-grid,.profile-stats{gap:10px}.card-heading h2,.dialog-heading h2{font-size:24px}.profile-title h2{font-size:26px}.player-pagination{flex-wrap:wrap;justify-content:flex-start}.passing-row{grid-template-columns:minmax(85px,1fr) 62px minmax(85px,1fr) 45px;gap:5px;font-size:15px}.speed-zone{grid-template-columns:95px minmax(25px,1fr) 76px;gap:8px;font-size:15px}.profile-candidate-metrics{grid-template-columns:1fr}.event-item{flex-wrap:wrap}.event-info{min-width:0}.event-actions{margin-left:0}.job-controls>*{max-width:100%}.quality-row{flex-wrap:wrap}.welcome-actions .button{width:100%}.welcome-copy>p{font-size:17px}.main-footer{flex-wrap:wrap;gap:8px}.ir-crops{grid-template-columns:1fr 1fr}.ir-form-actions .button,.ir-final-actions .button{flex:1 1 100%}.td-tools label{width:100%}.td-tools input,.td-tools select{max-width:100%;width:100%;margin:5px 0 0}.td-page{flex-wrap:wrap;gap:8px}}
@media(max-width:900px){body>main{margin-left:210px;padding:22px}}
@media(max-width:760px){body>main{margin-left:0;padding:18px}.sidebar nav{flex-wrap:wrap}.onboarding{grid-template-columns:1fr}.camera-tools{flex-wrap:wrap}.card,.profile-panel,.ir-layout>*,.motion-layout>*,.mv-grid>*{min-width:0}}
@media(max-width:480px){body>main{padding:12px}.stat-grid{gap:10px}.sidebar{padding:16px}.table-tools .button{white-space:normal}.profile-title{min-width:0}.passing-row{grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr) 38px}.passing-row>*{min-width:0;overflow-wrap:anywhere}.welcome-copy{padding:24px 20px}.topbar-actions .button{white-space:normal}.job-actions label{flex-wrap:wrap;min-width:0}.job-actions{justify-content:flex-start}.ir-pagination{flex-wrap:wrap;gap:8px}}
@media(min-width:761px) and (max-width:1180px){.profile-stats{grid-template-columns:repeat(6,minmax(0,1fr))}.profile-stat{grid-column:span 2}.profile-stat:nth-child(n+4){grid-column:span 3}}
@media(max-width:760px){.profile-actions .button{display:inline-flex}.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-stat{grid-column:auto}.profile-stat:last-child{grid-column:1 / -1}}
