.tc-panel { padding: 20px; margin-bottom: 16px; }
.tc-panel h2 { margin: 0 0 12px; }
.tc-panel h2:not(:first-child) { margin-top: 28px; }
.tc-note { color: var(--text-secondary); font-size: 13px; }
.tc-players-scroll { overflow: auto; max-height: 65vh; margin: 12px 0; }
.tc-players-table { min-width: 1100px; }
.tc-players-table thead th { position: sticky; top: 0; background: var(--panel); z-index: 1; }
.tc-players-table th button { background: none; border: 0; color: inherit; font: inherit; padding: 0; cursor: pointer; text-align: left; }
.tc-player-name { color: #fff; background: none; border: 0; font: inherit; padding: 0; text-align: left; cursor: pointer; }
.tc-player-name:hover, .tc-player-name:focus-visible { text-decoration: underline; }
#tcPlayersRows tr, #ccpPlayersRows tr, #schRows tr { cursor: pointer; }
#tcPlayersRows tr:hover, #ccpPlayersRows tr:hover, #schRows tr:hover { background: var(--bg); }
.sch-rules { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 6px; max-width: 560px; }
.sch-rules li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; overflow-wrap: anywhere; }
.sch-rules .sch-empty { color: var(--text-secondary); border-style: dashed; }
.sch-selection { align-items: center; }
#schRows td.sch-select { cursor: default; text-align: center; padding: 0; }
#schRows td.sch-select label { display: flex; justify-content: center; align-items: center; min-height: 36px; padding: 0 12px; cursor: pointer; }
#schRows td.sch-select input { width: 18px; height: 18px; margin: 0; cursor: pointer; accent-color: var(--accent); }
#schHeaders th.sch-select-col { text-align: center; }
#schRows tr.sch-selected { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.sch-merge-list { margin: 8px 0 14px; padding-left: 20px; display: grid; gap: 4px; overflow-wrap: anywhere; }
.sch-name-edit, .sch-uscf-edit { cursor: text; border-bottom: 1px dashed transparent; }
.sch-name-edit:hover, .sch-name-edit:focus-visible, .sch-uscf-edit:hover, .sch-uscf-edit:focus-visible { text-decoration: none; border-bottom-color: currentColor; }
.sch-name-edit:hover::after, .sch-name-edit:focus-visible::after, .sch-uscf-edit:hover::after, .sch-uscf-edit:focus-visible::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 6px; background: currentColor; opacity: 0.7; -webkit-mask: url('/vendor/lucide/pencil.svg') center / contain no-repeat; mask: url('/vendor/lucide/pencil.svg') center / contain no-repeat; }
.sch-uscf-edit { display: inline-flex; align-items: center; gap: 0; vertical-align: baseline; background: none; border-top: 0; border-left: 0; border-right: 0; border-radius: 0; padding: 0; font: inherit; color: inherit; }
.sch-uscf-cell { white-space: nowrap; }
.sch-name-input { width: 100%; min-width: 180px; font: inherit; }
.sch-uscf-input { width: 9.5em; font: inherit; }
.sch-grade-input { width: 7em; font: inherit; }
.sch-grade-cell { white-space: nowrap; }
.sch-uscf-verified { margin-left: 4px; color: #16a34a; font-weight: 700; cursor: help; }
.sch-uscf-not-found { margin-left: 4px; color: #dc2626; font-weight: 700; cursor: help; }
.sch-teams-cell { white-space: nowrap; }
.sch-teams-cell .tc-player-teams { display: inline-block; vertical-align: middle; }
#schTeamsList li span { overflow-wrap: anywhere; }
.sch-teams-edit { display: inline-block; vertical-align: middle; width: 24px; height: 24px; margin-left: 4px; padding: 0; border: 0; border-radius: 4px; background: none; color: inherit; cursor: pointer; opacity: 0.6; }
.sch-teams-edit::before { content: ''; display: block; width: 14px; height: 14px; margin: auto; background: currentColor; -webkit-mask: url('/vendor/lucide/pencil.svg') center / contain no-repeat; mask: url('/vendor/lucide/pencil.svg') center / contain no-repeat; }
.sch-teams-edit:hover, .sch-teams-edit:focus-visible { opacity: 1; background: var(--bg); }
#schTeamsDialog { width: min(560px, calc(100vw - 32px)); box-sizing: border-box; }
#schTeamsDialog .sch-teams-list { max-height: 40vh; overflow: auto; }
#schTeamsSchoolForm, #schTeamsSchoolForm label { min-width: 0; }
#schTeamsSchoolForm input, #schTeamsSchoolForm select { width: 100%; min-width: 0; box-sizing: border-box; }
.sch-maintenance-stats { display: grid; grid-template-columns: max-content auto; gap: 4px 16px; margin: 12px 0; }
.sch-maintenance-stats dt { color: var(--text-secondary); }
.sch-maintenance-stats dd { margin: 0; font-weight: 600; }
.sch-new-badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; vertical-align: middle; color: #422006; background: #facc15; white-space: nowrap; }
.sch-new-icon { display: inline-block; width: 14px; height: 14px; background: currentColor; -webkit-mask: url('/vendor/lucide/sparkles.svg') center / contain no-repeat; mask: url('/vendor/lucide/sparkles.svg') center / contain no-repeat; }
#schSchoolRows tr { cursor: pointer; }
#schSchoolRows tr:hover { background: var(--bg); }
#schSchoolRows td.sch-new-col, #schSchoolHeaders th.sch-new-col { width: 1%; white-space: nowrap; }
.sch-alias-names { display: block; max-width: 240px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text-secondary); font-size: 0.85rem; }
.sch-excluded-note { padding: 8px 12px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg); font-weight: 600; }
#schExcludedList a { margin-left: auto; }
#schExcludedPlayersList { max-width: 900px; }
#schExcludedPlayersList button { flex-shrink: 0; overflow-wrap: normal; }
#scholasticHomeschoolView #scholasticSchoolsView > .page-header,
#scholasticHomeschoolView #scholasticDatabaseView > .page-header { display: none; }
.sch-profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 16px; }
.sch-profile-grid label { display: flex; flex-direction: column; gap: 6px; }
.sch-school-notes { grid-column: 1 / -1; }
.pscl-page-logo { width: 48px; height: 48px; object-fit: contain; vertical-align: middle; }
.pscl-school-indicators { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; vertical-align: middle; }
.pscl-school-logo { width: 24px; height: 24px; object-fit: contain; vertical-align: middle; margin-right: 6px; }
.pscl-school-edit { display: inline-flex; align-items: center; justify-content: center; width: 28px; min-height: 28px; padding: 4px; margin-left: 4px; vertical-align: middle; }
.pscl-thinkmove-icon { color: #fff; font-weight: 800; font-size: 12px; }
#psclPrizeRows .sch-new-badge { margin-right: 6px; }
#psclPrizeRows td { padding-top: 8px; padding-bottom: 8px; }
.pscl-override-badge { display: inline-block; font-size: 11px; color: #facc15; margin-left: 6px; white-space: nowrap; }
.pscl-prize-actions { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.pscl-prize-actions .pscl-prize-action { display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex-shrink: 0; padding: 4px 8px; min-height: 28px; font-size: 12px; line-height: 18px; white-space: nowrap; }
.pscl-prize-actions .pscl-prize-restore { width: 28px; padding: 4px; }
.pscl-prize-actions .pscl-override-used { border-color: #facc15; color: #facc15; }
.pscl-override-used-icon { font-weight: 700; }
.pscl-prize-photo { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 28px; padding: 0; vertical-align: middle; }
#psclPrizeRows .pscl-prize-photo-cell { width: 1%; padding-left: 4px; padding-right: 4px; }
.pscl-prize-photo-cell { white-space: nowrap; }
.pscl-prize-drag { cursor: grab; touch-action: none; }
.pscl-prize-drag:active { cursor: grabbing; }
#psclPrizeRows tr.pscl-prize-dragging { opacity: 0.6; }
#psclPrizeRows tr.pscl-prize-drop-target { outline: 2px solid var(--text-secondary); outline-offset: -2px; }
#psclPrizeRows .pscl-player-icon-cell { width: 1%; padding-left: 4px; padding-right: 4px; }
#psclPrizeRows .pscl-player-icon-cell .td-avatar { width: 28px; height: 28px; min-width: 28px; vertical-align: middle; font-size: 11px; }
.pscl-photo-zoom { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 4px; vertical-align: middle; margin-left: 4px; }
.pscl-facebook-photo-card { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.pscl-facebook-photo-card .pscl-photo-zoom { align-self: flex-end; }
#psclPhotoPreviewDialog { width: min(1200px, calc(100vw - 24px)); max-height: 92vh; box-sizing: border-box; }
.pscl-photo-preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pscl-photo-preview-heading h2 { margin: 0; overflow-wrap: anywhere; }
.pscl-photo-preview-heading button { flex-shrink: 0; }
#psclPhotoPreviewImage { text-align: center; margin: 12px 0; }
#psclPhotoPreviewImage img { display: block; max-width: 100%; max-height: 70vh; width: auto; height: auto; object-fit: contain; margin: auto; }
#psclPhotoPreviewImage img.hidden { display: none; }
#scholasticPsclTournamentView .tc-players-table { min-width: 1200px; }
.pscl-prize-photo img { width: 30px; height: 26px; object-fit: cover; border-radius: 3px; }
#psclFacebookDialog { width: min(760px, calc(100vw - 32px)); box-sizing: border-box; }
#psclFacebookSearch { width: 100%; box-sizing: border-box; margin: 6px 0 12px; }
.pscl-facebook-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; max-height: 55vh; overflow: auto; margin-bottom: 12px; }
.pscl-facebook-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; overflow-wrap: anywhere; }
.pscl-facebook-item img { width: 100%; height: 120px; object-fit: contain; }
.pscl-notification-schools { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.pscl-recipient-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pscl-recipient { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #475569; border-radius: 6px; padding: 3px 6px; overflow-wrap: anywhere; max-width: 100%; }
.pscl-recipient button { padding: 2px 6px; }
#psclTemplateBody, #psclNotificationBody { width: 100%; box-sizing: border-box; resize: vertical; }
#psclNotificationDraftForm, #psclTemplateForm { max-width: 900px; }
#psclNotificationPreview { width: 100%; max-height: 620px; overflow: auto; border-radius: 8px; background: #edf2f7; color: #183044; font-family: Arial, sans-serif; margin: 16px 0; }
#psclNotificationAttachments a { color: #fff; }
#psclNotificationWarnings { color: #facc15; }
#psclTemplateDetails { margin: 20px 0; }
#psclDesignSettings { margin-bottom: 24px; }
#psclDesignForm { max-width: 900px; }
#psclDesignHtml { width: 100%; font-family: monospace; }
.pscl-design-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
#psclDesignForm input[type="color"] { width: 100px; height: 40px; padding: 4px; cursor: pointer; }
#psclDesignPreview { max-width: 900px; }
#psclDesignPreview iframe { width: 100%; height: 640px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; }
#psclOverrideForm label { display: block; margin-top: 12px; }
#psclOverrideForm input, #psclOverrideForm select { width: 100%; }
#scholasticPsclTournamentView .sch-contact-source,
#scholasticPsclTournamentView .pscl-school-link { color: #fff; }
.sch-profile-grid .sch-third-party-checkbox input { width: auto; align-self: flex-start; }
#schSchoolRows .sch-third-party-col { position: relative; min-width: 24px; }
.sch-thinkmove-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; font-weight: 700; font-size: .85em; line-height: 1; }
.sch-school-logo { width: 80px; height: 80px; object-fit: contain; }
.sch-school-list-logo { position: absolute; top: 2px; left: 4px; width: calc(100% - 8px); height: calc(100% - 4px); object-fit: contain; }
#schSchoolRows .sch-school-logo-col { position: relative; min-width: 32px; }
#schSchoolRows .sch-profile-col, #schSchoolHeaders .sch-profile-col { width: 1%; padding-left: 4px; padding-right: 4px; text-align: center; white-space: nowrap; }
.sch-profile-icon { display: inline-block; width: 1em; height: 1em; vertical-align: middle; color: #fff; background: currentColor; -webkit-mask: var(--sch-icon) center / contain no-repeat; mask: var(--sch-icon) center / contain no-repeat; }
.sch-profile-icon-globe { --sch-icon: url('/vendor/lucide/globe.svg'); }
.sch-profile-icon-map-pin { --sch-icon: url('/vendor/lucide/map-pin.svg'); }
.sch-profile-icon-user-round { --sch-icon: url('/vendor/lucide/user-round.svg'); }
.sch-profile-icon-chess-knight { --sch-icon: url('/vendor/lucide/chess-knight.svg'); }
.sch-club-links-toggle { border: 0; padding: 0; background: transparent; cursor: pointer; display: inline-flex; }
.sch-distance-col { white-space: nowrap; }
.sch-school-administrators { max-width: none; }
.sch-school-administrators li { flex-wrap: wrap; }
.sch-school-administrators .sch-contact-source { color: #fff; overflow-wrap: anywhere; }
.sch-admin-stale { color: var(--text-secondary); }
#scholasticSchoolView .page-header { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tc-player-teams { display: block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-player-dialog { width: min(1200px, calc(100vw - 32px)); box-sizing: border-box; }
.tc-players-table td { overflow-wrap: anywhere; max-width: 280px; }
.tc-tournaments-table { min-width: 760px; }
.tc-tournaments-table :is(th, td):first-child { max-width: none; }
.tc-tournaments-table :is(th, td):not(:first-child) { width: 1%; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tc-tournaments-table :is(th, td):last-child { text-align: right; }
#tournaChessTournamentsView tbody a:is(:link, :visited, :hover, :active, :focus-visible) { color: #fff; }
#tournaChessTournamentsView tbody a:is(:hover, :focus-visible) { text-decoration: underline; }
#tournaChessTournamentsView :is(a, .tc-players-scroll):focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }
#tcPlayerMergeForm, #ccpPlayerMergeForm { margin-top: 20px; }
#tcPlayerMergeTarget, #ccpPlayerMergeTarget { max-width: 100%; }
.tc-form { display: grid; gap: 12px; max-width: 560px; }
.tc-form label { display: grid; gap: 6px; }
.tc-form .tc-checkbox { display: flex; align-items: center; gap: 8px; }
.tc-checkbox input { width: auto; }
.tc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tc-actions h2 { margin: 0; }
.tc-actions label { display: grid; gap: 4px; }
.tc-timeline-scroll { overflow-x: auto; }
.tc-timeline { min-width: 650px; }
.tc-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.tc-column-heading { font-weight: 600; }
.tc-day { margin: 16px 0 0; padding: 12px; background: var(--panel); font-size: 16px; }
.tc-time { color: var(--text-secondary); font-variant-numeric: tabular-nums; padding: 10px 4px; }
.tc-stack { display: grid; align-content: start; gap: 8px; }
.tc-card { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 12px; min-width: 0; }
.tc-card h3 { margin: 0 0 6px; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-card a { color: #fff; }
.tc-card a:hover, .tc-card a:focus-visible { text-decoration: underline; }
.tc-card p { margin: 6px 0; font-size: 13px; }
.tc-description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; width: 100%; text-align: left; padding: 0; background: none; border: 0; color: var(--text); font: inherit; line-height: 1.5; height: 3em; cursor: pointer; white-space: pre-line; }
.tc-description:hover { text-decoration: underline; }
.tc-description:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tc-card .tc-actions { margin-top: 10px; }
.tc-status { color: var(--text-secondary); }
.tc-card.tc-out-of-sync { border-color: #eab308; background: rgba(234, 179, 8, 0.12); box-shadow: inset 4px 0 0 #eab308; }
.tc-card.tc-out-of-sync .tc-status { color: #facc15; font-weight: 600; }
.tc-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 8px; }
.tc-progress progress { width: min(320px, 100%); height: 10px; accent-color: var(--accent); }
.tc-dialog { background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 24px; width: min(760px, calc(100vw - 32px)); max-height: 85vh; overflow: auto; }
.tc-dialog::backdrop { background: rgba(0, 0, 0, .65); }
.tc-dialog h2 { margin-top: 0; }
.tc-full-description { white-space: pre-wrap; overflow-wrap: anywhere; margin: 16px 0; }
.tc-preview-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.tc-preview-columns pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
@media (max-width: 700px) {
  .tc-panel { padding: 12px; }
  .tc-preview-columns { grid-template-columns: 1fr; }
}
#tcLookupForm { margin-bottom: 12px; }
.tc-club-card { display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 0 0 16px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; }
.tc-club-card img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; }
.tc-club-card p { margin: 2px 0; }
.tc-key-warning { color: #f59e0b; font-weight: 600; }
.table-wrap { overflow-x: auto; }
.tc-endpoints { width: 100%; border-collapse: collapse; font-size: 14px; }
.tc-endpoints th, .tc-endpoints td { padding: 8px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.tc-endpoints tbody th { text-transform: none; letter-spacing: normal; font-size: 14px; font-weight: 600; }
.tc-endpoints code { font-weight: 400; font-size: 12px; word-break: break-all; }
.tc-endpoints .tc-endpoint-error { color: var(--danger); }
#uvFields, #uvScheduleFields { display: grid; gap: 8px; border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
#uvFields input, #uvScheduleFields :is(input, select) { width: 100%; box-sizing: border-box; }
#uvCalendarFields { display: grid; gap: 8px; }
#uscfVouchersView :is(p, td), #uscfVoucherSettingsView p { overflow-wrap: anywhere; }
#uscfVouchersView td:first-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.uv-chart { position: relative; height: 360px; }
.uv-diagnostic-report { white-space: pre-wrap; overflow-wrap: anywhere; }
.uv-id-form { display: flex; gap: 6px; align-items: center; min-width: 250px; }
.uv-id-form input { width: 110px; }
#uscfVoucherRedeemView :is(p, td) { overflow-wrap: anywhere; }
#uscfVoucherRedeemView [hidden] { display: none !important; }
#uscfVoucherSettingsView [hidden] { display: none !important; }
#uvRedemptionLog { display: grid; gap: 8px; }
.uv-redemption-log-entry { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.uv-redemption-log-entry > :first-child { flex: 1 1 280px; min-width: 0; }
#uvRedemptionLog button { text-align: left; white-space: normal; overflow-wrap: anywhere; }
#uvCandidateTournament { width: 100%; max-width: 760px; }
#uvRecentDays { width: 100%; max-width: 180px; }
#uvCandidateRows input, #uvCandidateAll { width: auto; }
#uscfVoucherRedeemView table { min-width: 1100px; }
.uv-candidate-edit { min-width: 130px; width: 160px; }
.uv-section-leader { background-color: #422f0d; }
.uv-section-leader > td, .uv-section-leader input, .uv-section-leader-legend { color: #ffd166; }
.uv-section-leader > td:first-child { border-left: 3px solid #ffd166; }
.uv-possible-redemption { color: #ffd60a; font-weight: 600; white-space: nowrap; }
.uv-possible-redemption-icon { display: inline-flex; align-items: center; justify-content: center; width: 1.15em; height: 1.15em; margin-right: 0.35em; border-radius: 50%; background: #ffd60a; color: #1a1a1a; font-weight: 800; line-height: 1; vertical-align: -0.1em; }
#uscfVoucherRedeemView th { position: sticky; top: 0; background: var(--panel); }
#uvCandidateRows :is(td:nth-child(4), td:nth-child(6), td:nth-child(7), td:nth-child(8)) { white-space: nowrap; }
#uvRedeemSelected { max-width: 100%; white-space: normal; }
#uvExecutionStatus:empty { display: none; }
#uvExecutionControls { border-top: 2px solid #ffd166; margin-top: 20px; padding-top: 12px; }
.uv-execution-batch { border: 1px solid var(--border); padding: 12px; margin: 12px 0; overflow-wrap: anywhere; }
.uv-execution-batch button { max-width: 100%; white-space: normal; margin: 4px; }
#uvExecutionScreenshot { width: 100%; height: auto; margin-top: 12px; }
.uv-progress-dialog { width: min(840px, calc(100vw - 32px)); box-sizing: border-box; }
.uv-progress-dialog [hidden] { display: none !important; }
.uv-progress-dialog ol { list-style: none; padding-left: 0; }
.uv-progress-step { padding: 6px 0; overflow-wrap: anywhere; }
.uv-progress-success { color: #71dd94; }
.uv-progress-active { color: #87c9ff; font-weight: 600; }
.uv-progress-active::before { content: ""; display: inline-block; width: 0.8em; height: 0.8em; box-sizing: border-box; margin-right: 0.35em; vertical-align: -0.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: uv-progress-spin 0.8s linear infinite; }
@keyframes uv-progress-spin { to { transform: rotate(360deg); } }
@keyframes uv-progress-pulse { 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .uv-progress-active::before { animation: uv-progress-pulse 2s ease-in-out infinite; } }
.uv-progress-warning, #uvCancelWarning { color: #ffd166; }
.uv-progress-skipped, .uv-progress-cancelled, .uv-progress-pending { color: var(--muted); }
#uvCancelWarning { border: 1px solid currentColor; padding: 12px; margin: 12px 0; }
.uv-progress-dialog summary { cursor: pointer; font-weight: 600; }
.uv-progress-dialog button { max-width: 100%; white-space: normal; }
.uv-progress-dialog > .tc-actions { position: sticky; bottom: 0; background: var(--panel); padding: 12px 0; border-top: 1px solid var(--border); }
#uvRedemptionSettingsFields { border: 0; padding: 0; min-width: 0; }
#uvRedemptionSettingsFields input[type="checkbox"] { width: auto; }
#uvCandidateSettingsFields { display: grid; gap: 12px; min-width: 0; border: 0; padding: 0; }
.uv-candidate-rule { display: grid; gap: 10px; min-width: 0; margin: 0 0 12px; padding: 12px; border: 1px solid var(--border); }
.uv-candidate-rule input, .uv-candidate-rule select { width: 100%; box-sizing: border-box; }
#uscfVoucherRedeemView .tc-checkbox { display: flex; align-items: center; gap: 8px; }
#uscfVoucherRedeemView .tc-checkbox input { width: auto; flex-shrink: 0; }
.uv-tournament-picker { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; }
.uv-tournament-field { display: grid; gap: 6px; flex: 0 1 560px; min-width: 0; max-width: 100%; }
.uv-tournament-field select { width: 100%; min-width: 0; }
.uv-tournament-picker .tc-checkbox { padding-bottom: 10px; }
#uvTournamentStatus:empty { display: none; }
.uv-loading { display: flex; align-items: center; gap: 10px; }
.uv-loading::before { content: ""; flex: 0 0 18px; width: 18px; height: 18px; border: 2px solid var(--border); border-top-color: currentColor; border-radius: 50%; animation: uv-loading-spin 0.8s linear infinite; }
@keyframes uv-loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .uv-loading::before { animation: none; } }
