/* Approved compact Match Control, scoped to tournament organizers. */
.mc-page{--mc-teal:#075056;--mc-mint:#eaf5f4;color:#172525}.mc-page .live-control-head{display:flex!important;align-items:flex-start!important;justify-content:space-between;gap:20px;margin-bottom:16px!important}.mc-page .live-control-title-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.mc-page .live-control-title-row h2{font-size:30px!important;margin:0!important}.mc-page #liveCategorySelect{min-width:220px;max-width:350px;min-height:42px!important;background:white}.mc-page #liveCategorySubtitle{font-size:13px;line-height:1.5;margin:7px 0 0}.mc-page #liveCategoryProgress,.mc-page #exportCategorySchedule,.mc-page #otGuidedFooter,.mc-page .bp-step-navigation{display:none!important}
.mc-export-split{display:flex;align-items:stretch;flex:none}.mc-export-split>.export-game-schedule-entry{margin:0!important;border-radius:7px 0 0 7px!important;background:#075056!important;color:white!important;border:1px solid #075056!important;min-height:42px!important;white-space:nowrap}.mc-export-menu{position:relative}.mc-export-menu>summary{height:100%;min-height:42px;min-width:38px;display:grid;place-items:center;list-style:none;background:#075056;color:white!important;border-radius:0 7px 7px 0;border-left:1px solid #ffffff40;cursor:pointer}.mc-export-menu>summary::-webkit-details-marker{display:none}
#mcProgressStrip{display:grid;grid-template-columns:minmax(150px,1fr) minmax(100px,1.2fr) 45px minmax(160px,1fr) auto;align-items:center;gap:18px;background:white;border:1px solid #dce8e9;border-radius:9px;padding:16px 20px;margin:0 0 16px}#mcProgressStrip strong{font-size:16px}#mcProgressStrip small{display:block;font-size:12px;color:#526779;margin-top:4px}.mc-progress-track{height:9px;border-radius:10px;background:#eff5f5;overflow:hidden}.mc-progress-track>span{display:block;height:100%;background:#075056}.mc-free-courts{display:flex;gap:14px;align-items:center;border-left:1px solid #dce8e9;padding-left:24px;font-size:13px}.mc-free-courts svg{width:32px;min-width:32px}.mc-page #mcCourtAssignments{white-space:nowrap;color:#075056!important;border:1px solid #075056!important;background:white!important;min-height:40px}
.mc-page #liveControl{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch;gap:14px!important;margin-bottom:16px}.mc-page #liveControl>.live-card,.mc-page #liveControl>.sc-court{height:100%;min-width:0;background:white;border:1px solid #dce8e9;border-radius:9px;box-shadow:none;padding:18px 20px!important}.mc-page #liveControl>.live-card>.pad{padding:0!important;height:100%;display:flex;flex-direction:column}.mc-court-heading,.mc-page .sc-court-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.mc-page .mc-court-heading h2,.mc-page .sc-court-head h3{font-size:22px!important;margin:0!important}.mc-available-badge,.mc-page .sc-available-court>.sc-court-head>.badge{font-size:12px!important;white-space:nowrap;background:#e4f5ef!important;color:#07543a!important;border:0!important;border-radius:30px;padding:6px 12px!important}.mc-court-empty,.mc-page .sc-empty-message{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;min-height:140px;flex:1;padding:18px 0!important}.mc-court-empty>svg{height:36px;width:46px;color:#344f5d;margin-bottom:3px}.mc-court-empty strong,.mc-page .sc-empty-message strong{font-size:14px}.mc-court-empty p,.mc-page .sc-empty-message p{font-size:12px;color:#526779;line-height:1.5;margin:0;max-width:420px}.mc-empty-actions,.mc-page .sc-empty-actions{display:grid!important;grid-template-columns:1.15fr 1fr!important;gap:12px;width:100%}.mc-page .mc-empty-actions button,.mc-page .sc-empty-actions button{width:100%;margin:0;min-height:42px!important;font-size:12px!important;line-height:1.35;white-space:normal}.mc-page button.primary{background:#075056!important;color:white!important;border:1px solid #075056!important}.mc-page button.secondary{background:white;color:#075056;border:1px solid #cbdcde}.mc-page button:disabled{background:#f1f4f5!important;color:#92a0ac!important;border-color:#e1e7ea!important;cursor:not-allowed;box-shadow:none!important;transform:none!important;opacity:1}
.mc-page .match-queue-header{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:10px!important}.mc-page #matchQueueTitle{font-size:23px!important;margin:0!important}.mc-page #mcQueueCount{font-size:12px;color:#526779;white-space:nowrap}.mc-page .match-queue-actions:has(>#exportCategorySchedule){display:none!important}#mcQueueTools{display:flex;gap:12px;margin-left:auto;min-width:0;flex:1;justify-content:flex-end}#mcQueueTools label{margin:0!important;min-width:0}#mcQueueTools .mc-search{flex:1;max-width:340px}#mcQueueTools input,#mcQueueTools select{width:100%;min-height:39px!important;font-size:12px!important;background:white!important;border:1px solid #cbdcde;border-radius:6px;padding:8px 12px}#mcQueueTools select{max-width:220px}.mc-queue-summary{font-size:11px;color:#526779;margin:0 0 7px}.mc-page #matchQueue{display:block!important;overflow:visible}.mc-queue-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px!important}.mc-queue-table th:nth-child(1){width:25%}.mc-queue-table th:nth-child(2){width:36%}.mc-queue-table th:nth-child(3){width:21%}.mc-queue-table th:nth-child(4){width:18%}.mc-queue-table th{background:#f3f7f7!important;color:#435a68!important;font-size:11px!important;font-weight:600;text-align:left;padding:10px!important;border-bottom:1px solid #dfe9e9}.mc-queue-table td{padding:10px!important;vertical-align:middle;border-bottom:1px solid #e2ebeb;font-size:12px!important;overflow-wrap:anywhere}.mc-queue-table td>strong{font-size:12px}.mc-queue-table small{display:block;color:#526779;line-height:1.5;font-size:10px!important;margin-top:3px}.mc-pair-lines{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:2px 3px;font-weight:500!important;line-height:1.45}.mc-pair-lines>span:first-child{grid-column:2}.mc-pair-lines>span:last-child{grid-column:2}.mc-versus{grid-column:1;grid-row:2;color:#71838c;font-size:10px}.mc-row-actions,.mc-queue-table .sc-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin:0!important}.mc-queue-table button,.mc-queue-table .sc-actions>button{padding:7px 10px!important;font-size:10px!important;min-height:34px!important;line-height:1.3;white-space:normal;flex:1}.mc-queue-table td[data-label="Actions"]{overflow:visible}.mc-status,.mc-queue-table .sc-queue-state{display:inline-block;font-size:10px;border-radius:20px;border:1px solid #d8e3e5;background:white;color:#172525;padding:5px 9px;line-height:1.3}.mc-block-reason{color:#906020!important}.mc-menu{position:relative;display:inline-block;flex:none}.mc-menu:not(.mc-export-menu)>summary,.mc-queue-table .sc-menu>summary{display:grid;place-items:center;list-style:none;cursor:pointer;width:34px!important;min-height:34px!important;border:1px solid #d5e0e3;border-radius:6px;background:white;color:#24414e}.mc-menu summary::-webkit-details-marker{display:none}.mc-menu-items{background:white;border:1px solid #d5e0e3;border-radius:8px;box-shadow:0 8px 28px #173c4526;padding:6px;z-index:10000;max-width:calc(100vw - 16px)}.mc-menu-items>button{width:100%;display:block;text-align:left;min-height:40px;border:0;border-radius:4px;background:white;color:#172525;font-size:13px!important;padding:10px!important}.mc-menu-items>button:hover{background:#eaf5f4}.mc-menu-items>button.danger{color:#a42e2e}.mc-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px;font-size:11px;color:#526779}.mc-pagination>div{display:flex;gap:5px;align-items:center}.mc-page .mc-pagination button{min-height:34px!important;min-width:32px;padding:5px 9px!important;border-radius:6px;border:1px solid #d5e1e3;font-size:11px!important;background:white;color:#075056}.mc-page .mc-pagination button[aria-current="page"]{background:#075056!important;color:white!important;border-color:#075056}.mc-page #mcNavigation{display:flex;justify-content:space-between;gap:12px;margin:14px 0 4px}.mc-page #mcNavigation button{font-size:12px;min-height:40px}.mc-choose-list{display:grid;gap:12px;max-height:55vh;overflow:auto}.mc-choose-list>div{border:1px solid #dce8e9;border-radius:8px;padding:12px}.mc-page [hidden]{display:none!important}
@media(min-width:1600px){.mc-page #liveControl{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1100px){#mcProgressStrip{grid-template-columns:minmax(120px,1fr) minmax(80px,1fr) 35px;gap:12px}#mcProgressStrip .mc-free-courts{grid-column:1/3;border:0;padding:0}#mcProgressStrip #mcCourtAssignments{grid-column:3;justify-self:end;min-width:155px}#mcQueueTools{flex-basis:100%}.mc-queue-table th:nth-child(1){width:22%}.mc-queue-table th:nth-child(2){width:32%}.mc-queue-table th:nth-child(3){width:24%}.mc-queue-table th:nth-child(4){width:22%}}
@media(max-width:700px){.mc-page .live-control-head{flex-wrap:wrap!important;gap:12px}.mc-page .live-control-title-row{gap:10px!important;width:100%}.mc-page .live-control-title-row h2{font-size:25px!important}.mc-page #liveCategorySelect{min-width:0;max-width:none;width:100%}.mc-export-split{width:100%}.mc-export-split>button{flex:1}.mc-page #liveControl{grid-template-columns:minmax(0,1fr)!important}.mc-page #liveControl>.live-card,.mc-page #liveControl>.sc-court{padding:16px!important}.mc-page #mcProgressStrip{padding:14px;grid-template-columns:minmax(100px,1fr) minmax(60px,.7fr) 30px;font-size:12px;gap:10px}.mc-page #mcProgressStrip strong{font-size:14px}.mc-page #mcProgressStrip .mc-free-courts{grid-column:1/3;font-size:11px;padding:0}.mc-page #mcCourtAssignments{min-width:130px!important;font-size:11px!important}.mc-page .mc-empty-actions{grid-template-columns:1fr 1fr!important;gap:8px}.mc-page #mcQueueTools{flex-direction:column;gap:8px}.mc-page #mcQueueTools .mc-search,.mc-page #mcQueueTools select{max-width:none;width:100%}.mc-queue-table,.mc-queue-table tbody{display:block}.mc-queue-table thead{display:none}.mc-queue-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;border-bottom:1px solid #dce8e9;padding:10px 0;gap:8px 10px}.mc-queue-table td{display:block;border:0;padding:0!important}.mc-queue-table td[data-label="Match"]{grid-column:1;grid-row:1}.mc-queue-table td[data-label="Pairs"]{grid-column:1/-1;grid-row:2;font-size:13px!important}.mc-queue-table td[data-label="Status"]{grid-column:1;grid-row:3}.mc-queue-table td[data-label="Actions"]{grid-column:2;grid-row:3;align-self:end}.mc-queue-table td[data-label="Actions"] button{max-width:110px}.mc-queue-table td[data-label="Match"] small{font-size:10px!important}.mc-pagination{flex-wrap:wrap}.mc-pagination>div{flex-wrap:wrap}.mc-page #mcNavigation{flex-wrap:wrap}.mc-page #mcNavigation button{flex:1;white-space:normal;min-width:130px}.mc-pair-lines{line-height:1.6}.mc-page .sc-empty-actions{grid-template-columns:1fr 1fr!important}.mc-page .sc-queue-table{min-width:0!important}}

.mc-page .mc-export-split>.export-game-schedule-entry{--control-ink:#fff;-webkit-text-fill-color:#fff!important;font-size:13px!important}.mc-page .mc-export-menu>summary{--control-ink:#fff;-webkit-text-fill-color:#fff}.mc-page .mc-pagination button[aria-current=page]{--control-ink:#fff;-webkit-text-fill-color:#fff}.mc-page button:disabled{--control-ink:#92a0ac;-webkit-text-fill-color:#92a0ac!important}.mc-page .sc-empty-message>svg{height:36px;width:46px;margin-bottom:3px;color:#344f5d}.mc-page .live-control-title-row{justify-content:flex-start!important}.mc-page .live-control-title-row h2{text-align:left!important}.mc-page .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:700px){.mc-page .mc-queue-table .sc-queue-row{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:10px 0;gap:8px 10px}.mc-page .sc-available-court .badge{text-transform:none!important}}
@media(max-width:700px){.mc-page #mcProgressStrip .mc-free-courts{grid-column:1;gap:7px;min-width:0}.mc-page #mcProgressStrip .mc-free-courts svg{width:25px;min-width:25px}.mc-page #mcProgressStrip #mcCourtAssignments{grid-column:2/4;justify-self:end}.mc-page #mcProgressStrip .mc-free-courts span{line-height:1.4}}
/* Export is a filled action even though it reuses the secondary button base. */
.mc-page .mc-export-split>.export-game-schedule-entry:is(:hover,:focus-visible):not(:disabled),.mc-page .mc-export-menu>summary:is(:hover,:focus-visible){background:#063f44!important;color:#fff!important;--control-ink:#fff;-webkit-text-fill-color:#fff!important;border-color:#063f44!important}
/* Score inputs keep their own ink, independent of active/primary button themes. */
.mc-page #liveControl input.mc-score-input{--control-ink:#172525!important;color:#172525!important;-webkit-text-fill-color:#172525!important;background:#fff!important;caret-color:#075056!important;opacity:1!important;font-size:24px!important;font-weight:600!important;line-height:1.25!important;text-align:center!important;min-height:48px!important;min-width:0!important;width:100%!important;padding:8px 12px!important;border:1px solid #b9ced0!important;border-radius:8px!important;box-sizing:border-box!important}
.mc-page #liveControl input.mc-score-input:focus{outline:2px solid #075056!important;outline-offset:2px}
.mc-page #liveControl input.mc-score-input[aria-invalid=true]{border-color:#b42336!important}
.mc-page #liveControl input.mc-score-input::selection{color:#172525!important;-webkit-text-fill-color:#172525!important;background:#cce8e5!important}
.knockout-notice{position:fixed;top:112px;right:24px;z-index:10000;display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100vw - 32px);padding:12px 14px;background:#fff;color:#172525;border:1px solid #80c99c;border-radius:9px;box-shadow:0 4px 16px #17252515;font-size:14px}.knockout-notice>span{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:50%;background:#218453;color:#fff}.knockout-notice p{margin:0}.knockout-notice button{background:transparent!important;border:0!important;color:#344f5d!important;-webkit-text-fill-color:#344f5d!important;min-width:32px;min-height:32px;padding:4px!important;font-size:22px!important}.knockout-notice.error{border-color:#cf7983}.knockout-notice.error>span{background:#b42336}@media(max-width:600px){.knockout-notice{top:16px;right:16px;font-size:13px}}
