/* v12.43.83 — isolated schedules and name matching */
.psd-schedule-card{margin-top:20px}.psd-source-box{padding:12px;margin:12px 0;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.12);border-radius:12px}.psd-inline-fields{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin:10px 0}.psd-inline-fields>input{flex:1;min-width:190px}.psd-inline-fields>div{min-width:170px}.psd-schedule-team{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:135px}.psd-schedule-team.done>strong{color:#72dda0}.psd-schedule-team small{color:#b9c4d2}.psd-status{font-weight:800;font-size:11px;letter-spacing:.025em;padding:3px 7px;border-radius:6px;background:rgba(255,255,255,.08)}.psd-status.done{background:rgba(16,158,92,.24);color:#a8f1c7}.psd-status.needed{background:rgba(236,177,31,.16);color:#f3d18d}.psd-status.unmatched{background:rgba(240,99,82,.17);color:#f5b7a8}.psd-cover-btn{font-size:11px!important;padding:6px 9px!important}.psd-preview-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0}.psd-preview-header>div{display:flex;gap:8px;flex-wrap:wrap}.psd-preview-table{max-height:380px;overflow:auto}.psd-match-row{display:grid;grid-template-columns:minmax(170px,1fr) minmax(180px,1.1fr) auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.09)}.psd-match-name{display:flex;flex-direction:column;gap:4px;min-width:0}.psd-match-name small{color:#9fb4c7}.psd-matcher-list{max-height:63vh;overflow-y:auto}.psd-match-row select{max-width:100%}#pdScheduleNotice[data-status="error"],#psdMatcherNotice[data-status="error"]{color:#ffb4aa}#pdScheduleNotice[data-status="success"],#psdMatcherNotice[data-status="success"]{color:#9bebb7}@media(max-width:760px){.psd-match-row{grid-template-columns:1fr;gap:7px}.psd-preview-header>div{width:100%}.psd-inline-fields>*{width:100%}.psd-source-box input{width:100%}}

.psd-matched-label{display:block;margin-top:4px;font-size:11px;color:#9bebbd;font-weight:650}

/* v12.43.85 — matching summary, confidence and one-click safe matching */
#psdMatcherStats{padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.05);margin:12px 0}
#psdMatcherApplySafe{background:#d4ac39;color:#121823;white-space:nowrap}
.psd-match-row{grid-template-columns:minmax(180px,1fr) minmax(190px,1fr) minmax(220px,1.35fr);align-items:center}
.psd-match-target{display:flex;flex-direction:column;gap:5px;min-width:0}
.psd-match-target>b{font-size:14px;overflow-wrap:anywhere}
.psd-match-target>small:first-child,.psd-match-name>small:first-child{font-size:10px;letter-spacing:.08em;color:#95a8b9}
.psd-match-controls{display:flex;gap:8px;align-items:center;min-width:0}
.psd-match-controls select{min-width:0;flex:1}.psd-match-controls button{white-space:nowrap}
.psd-match-badge{align-self:flex-start;border-radius:6px;padding:3px 7px;font-size:11px;font-weight:800}
.psd-match-badge.matched{color:#a0efc0;background:rgba(19,150,90,.23)}
.psd-match-badge.safe{color:#9ae9b8;background:rgba(19,150,90,.15)}
.psd-match-badge.review{color:#f4d48f;background:rgba(231,180,42,.16)}
.psd-match-badge.unmatched{color:#ffb7ab;background:rgba(220,80,80,.15)}
.psd-match-row.psd-match-safe{border-left:3px solid #58c994;padding-left:9px}
.psd-match-row.psd-match-review{border-left:3px solid #dfb449;padding-left:9px}
.psd-match-row.psd-match-unmatched{border-left:3px solid #ce786f;padding-left:9px}
@media(max-width:990px){.psd-match-row{grid-template-columns:1fr}.psd-match-controls{flex-wrap:wrap}.psd-match-controls select{min-width:170px}}

.psd-picker-card{max-width:850px}.psd-pick-results{max-height:57vh;overflow:auto;display:grid;gap:8px;margin-top:12px}
.psd-pick-team{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:10px;flex-wrap:wrap}
.psd-pick-team small{color:#adc2d6}.psd-match-controls{flex-wrap:wrap}.psd-match-controls button{font-size:12px}

/* v12.43.89 — reversible club-specific PhotoDay match scope */
#psdMatcherClubScope.psd-matcher-club-scope{padding:10px 14px;margin:10px 0;border:1px solid rgba(212,172,57,.35);border-radius:10px;background:rgba(212,172,57,.07)}
#psdMatcherClubScope[hidden]{display:none!important}
.psd-fp-only-toggle{display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:700;color:#efcc70}
.psd-fp-only-toggle input{width:18px;height:18px;flex:none;accent-color:#d4ac39}
#psdMatcherScopeHint{margin:6px 0 0;color:#b5c8d7;line-height:1.35}
