/* Shared identity: crop the lower circle, put the name at the flat edge. */
.player-identity{--portrait:48px;display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;max-width:100%;width:88px;gap:0;line-height:1.2;text-align:center}
.player-portrait{display:block;width:var(--portrait);height:calc(var(--portrait)*.8);overflow:hidden;flex:none;padding:1px 1px 0}
.player-portrait img,.player-initials{display:flex;width:calc(var(--portrait) - 2px);height:calc(var(--portrait) - 2px);border-radius:50%;object-fit:cover;background:#fce9ec;border:1px solid #dbe1e9}
.player-initials{align-items:center;justify-content:center;color:#b51c2b;font-size:calc(var(--portrait)*.3);font-weight:700}
.player-identity-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%;font-size:11px!important;font-weight:600;line-height:1.2;background:inherit;position:relative;z-index:1;padding:1px 0 0;overflow-wrap:anywhere}
.identity-profile{--portrait:88px;width:120px}.identity-profile .player-identity-name{font-size:12px!important}.identity-compact{--portrait:42px;width:62px;flex:none}.identity-compact .player-identity-name{font-size:10px!important}
.directory-row>.player-identity{flex:none}.directory-row .directory-name{flex:1}.compact-table .player-identity{--portrait:38px;width:82px}.lineup-chip>.player-identity{--portrait:43px;width:86px}.lineup-chip{flex-direction:column;gap:1px!important;min-width:0}.lineup-chip .player-identity-name{color:inherit}.lineup-chip>small{font-size:10px}
.address-fields{border:0;padding:0;margin:18px 0;min-width:0}.address-fields legend{font-size:17px;font-weight:700;margin-bottom:10px}.address-street{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:10px}.address-city{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px}.address-fields label{min-width:0}.address-fields input{width:100%;min-width:0}
.profile-photo-picker{padding:15px;border:1px solid #dce3eb;border-radius:12px;background:#f7f9fc;margin:14px 0}.profile-photo-preview{width:130px;height:105px;overflow:hidden;margin:12px auto}.profile-photo-preview img{width:130px;height:130px;border-radius:50%;object-fit:cover}.profile-photo-picker input[type=range]{padding:0;min-height:44px}
.statistics-tabs{display:flex;gap:8px;margin:12px 0}.statistics-tabs button{flex:1;min-height:44px}.combine-statistics .combine-table{table-layout:fixed}.combine-statistics .combine-table th,.combine-statistics .combine-table td{overflow-wrap:anywhere;vertical-align:middle}.combine-statistics .combine-table small{display:block;font-size:11px;line-height:1.4}
/* The same step tiles in a dashboard card and an event workspace. */
.workflow-steps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:14px 0!important}.workflow-three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.workflow-steps button{min-width:0!important;min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:9px 6px!important;border-radius:10px!important;border:1px solid #dce2ea!important;background:#eff2f6!important;color:#344157!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important;text-align:center!important}
.workflow-steps button.done,.workflow-steps button.completed:not(.current){background:#e7f4ec!important;border-color:#e0efe5!important;color:#267345!important}
.workflow-steps button.current,.workflow-steps button[aria-current=step]{background:#b51c2b!important;color:white!important;border-color:#b51c2b!important}
.workflow-number,.workflow-steps .match-step-number{font-size:14px!important;flex:none!important;color:inherit!important;width:auto!important}.workflow-steps .match-step-label b{font-size:12px!important}.workflow-steps .match-step-label small,.workflow-steps .match-step-check{display:none!important}.workflow-steps button>span>small{display:block;font-size:10px;color:inherit;font-weight:400;margin:2px 0 0}.workflow-steps button:disabled{opacity:.55}
.combine-dialog{width:min(560px,calc(100vw - 20px));max-height:calc(100dvh - 32px);overflow:auto;padding:16px;border:1px solid #dce2ea;border-radius:15px;color:#222a35}.combine-dialog::backdrop{background:#18223177}.combine-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-16px;background:white;padding:8px 0;z-index:2}.combine-dialog-heading h3{font-size:17px;margin:0}.combine-dialog-heading button{min-width:44px;min-height:44px;font-size:24px;padding:0}.combine-dialog input{min-height:44px}.combine-dialog .combine-diagram svg{height:auto}
.combine-measure-panel{display:flex;flex-direction:column;gap:9px}.combine-compact-heading{display:flex;align-items:center;gap:8px}.combine-compact-heading b{flex:1;font-size:16px}.combine-compact-heading button{font-size:12px;min-height:44px;padding:6px 10px}.combine-selection label{margin:0;font-size:11px;font-weight:600;min-width:0}.combine-selection select{margin:3px 0 0;min-height:44px;width:100%;min-width:0;padding:6px 8px;font-size:14px}.combine-selection{display:flex;flex-direction:column;gap:8px}.combine-person-row{display:flex;gap:8px;align-items:center}.combine-person-row>label:first-of-type{flex:1}.combine-person-row>label:last-child{width:88px;flex:none}
.combine-rules-button{display:flex;justify-content:space-between;min-height:44px;margin:0!important;font-size:12px!important;padding:6px 10px!important}.combine-rules-button span{font-size:11px;font-weight:400}
#combineAttemptForm{min-height:0;margin:0}#combineAttemptForm>fieldset{display:flex;flex-direction:column;gap:9px}
.combine-reading{background:#fff;border:1px solid #dce3eb;border-radius:13px;text-align:center;padding:8px}.combine-reading>small{font-size:11px;color:#7b6971}.combine-reading .combine-stopwatch,.combine-count-reading{font-size:48px;line-height:1.1;margin:6px 0 0;font-weight:700;letter-spacing:-1px;font-variant-numeric:tabular-nums}.combine-reading .combine-stopwatch small,.combine-count-reading small{font-size:16px;letter-spacing:0}.combine-reading #combineEditValue{border:0;background:none;font-size:11px;min-height:44px;margin:0 auto;padding:4px 12px;color:#61718a}
.combine-measure-panel .combine-timer-actions{display:grid;grid-template-columns:1fr 48px;gap:8px;margin:0}.combine-measure-panel .combine-timer-actions button{min-height:44px;max-height:48px;font-size:16px;padding:7px}.combine-count-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.combine-count-actions button{min-height:44px;padding:7px;font-size:17px}.combine-flight{margin:0}.combine-flight>small{display:block;font-size:11px;color:#68788b}.combine-measure-panel .combine-shots{margin:5px 0}.combine-measure-panel .combine-shots span{padding:5px 0;font-size:11px}.combine-flight-actions{display:grid;grid-template-columns:1fr 1fr 44px;gap:6px}.combine-flight-actions button{min-height:44px;padding:4px;font-size:12px}
.combine-status-row{display:flex;gap:8px;align-items:end}.combine-status-row>label{flex:1;margin:0;min-width:0;font-size:11px}.combine-status-row select{width:100%;min-height:44px;margin:3px 0 0;font-size:12px;padding:6px}.combine-error-count{display:flex;gap:4px;margin-top:3px}.combine-error-count button{min-height:44px;min-width:44px;padding:4px;font-size:18px}.combine-error-count input{width:38px!important;min-width:0!important;padding:4px!important;text-align:center;min-height:44px;margin:0!important;font-size:13px;appearance:textfield}.combine-error-count input::-webkit-inner-spin-button{appearance:none}
.combine-current-attempts{display:flex;align-items:center;gap:10px;font-size:11px;color:#66788d;min-height:44px}.combine-current-attempts button{margin-left:auto;font-size:10px;min-height:44px;padding:5px 8px}.combine-compact-notice{font-size:11px;line-height:1.3;min-height:15px;margin:0;color:#36724a;max-height:30px;overflow:hidden}.combine-compact-notice.error{color:#b51c2b}.combine-save-actions{display:flex;flex-direction:column;gap:6px}.combine-save-actions>button{min-height:44px;font-size:14px;padding:7px}.combine-save-actions>div{display:flex;gap:6px}.combine-save-actions>div button{flex:1;min-width:0;min-height:44px;font-size:11px;padding:6px}
.is-measuring>h2,.is-measuring>.eyebrow{display:none}.is-measuring>.workflow-steps{margin:0 0 8px!important}.is-measuring>.workflow-steps button{min-height:44px!important;padding:6px 3px!important;font-size:11px!important}
@media(max-width:700px){
 body.combine-measuring{overflow:hidden}
 .combine-panel.is-measuring{position:fixed;z-index:50;inset:0 0 calc(var(--mobile-nav-height,72px) + env(safe-area-inset-bottom,0px));margin:0!important;padding:10px!important;border:0;border-radius:0;background:#f3f5f8;overflow:auto;display:flex;flex-direction:column}
 .is-measuring .combine-measure-panel{flex:1;min-height:0;gap:7px}.is-measuring #combineAttemptForm{flex:1;display:flex;min-height:0}.is-measuring #combineAttemptForm>fieldset{width:100%;flex:1;min-height:0;gap:7px}.is-measuring .combine-save-actions{margin-top:auto}
 .is-measuring .combine-person-row .player-identity-name{-webkit-line-clamp:1}.is-measuring .combine-dialog label{font-size:14px}.is-measuring .combine-dialog input{font-size:16px}
 .lineup-chip{padding:3px!important}.lineup-chip>.player-identity{--portrait:37px;width:73px}.lineup-chip .player-identity-name{font-size:10px!important}
}
@media(max-width:700px) and (max-height:740px){.is-measuring>.workflow-steps{display:none!important}.is-measuring .combine-reading .combine-stopwatch,.is-measuring .combine-count-reading{font-size:39px}.is-measuring .combine-reading{padding:4px}.is-measuring .combine-reading>small{font-size:10px}.is-measuring .combine-current-attempts{min-height:40px}.is-measuring .combine-compact-notice:empty{display:none}.is-measuring .combine-selection{gap:5px}}
@media print{.player-identity{-webkit-print-color-adjust:exact;print-color-adjust:exact}.combine-dialog,.statistics-tabs{display:none!important}}
/* Keep the value and its correction action in one compact row. */
.combine-reading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px}
.combine-reading>small{grid-column:1/-1}
.combine-reading #combineEditValue{max-width:110px;margin:0;font-size:11px;line-height:1.25}
.combine-reading .combine-stopwatch,.combine-reading .combine-count-reading{min-width:0}
@media(max-width:700px){
 .is-measuring .combine-measure-panel,.is-measuring #combineAttemptForm>fieldset{gap:5px}
 .is-measuring .combine-compact-notice:empty{display:none}
 .is-measuring .combine-reading #combineEditValue{width:110px;font-size:10px}
 .is-measuring .combine-reading .combine-stopwatch,.is-measuring .combine-count-reading{font-size:clamp(34px,11vw,48px)}
}
