.selection-overview{padding:24px 28px;margin-bottom:24px;border:1px solid var(--line,#e3e4e8);border-left:4px solid var(--accent,#a12646);border-radius:14px;background:#fff}
.selection-overview h2{font-size:19px;line-height:1.55;margin:14px 0 8px}.selection-overview p{color:var(--muted,#686c76);margin:0;line-height:1.65}
.selection-saved{padding:18px 22px;border:1px solid #e5d9dc;background:#fcf8f9;border-radius:12px;margin:16px 0 24px}.selection-saved p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin:8px 0}.selection-saved span{font-size:13px;color:#737580}
.selection-table table{min-width:760px}.selection-table td{vertical-align:middle}.selection-exclusion-note{white-space:normal;overflow-wrap:anywhere;max-width:330px;color:#75717a;font-size:13px;line-height:1.5;margin-top:6px}
.dialog.selection-dialog{width:min(1040px,calc(100vw - 32px));max-width:1040px}.selection-fieldset{border:0;padding:0;margin:0;min-width:0}.selection-fieldset[disabled]{opacity:.7}
.selection-editor-domains{display:grid;gap:24px;margin:24px 0}.selection-editor-domain{border:1px solid #e2e3e8;border-radius:12px;overflow:hidden}.selection-editor-domain h3{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:0;padding:18px 20px;background:#f7f7f9}.selection-editor-domain h3 small{font-size:13px;font-weight:500;color:#656975}
.selection-editor-domain h4{padding:0 20px}.selection-candidate{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-top:1px solid #e9e9ee}.selection-candidate.is-finalist{background:#f4f9f6}.selection-candidate.excluded{background:#faf7f4}.selection-candidate-info{display:grid;gap:5px;min-width:0}.selection-candidate-info b{font-size:14px;overflow-wrap:anywhere}.selection-candidate-info span{font-size:12px;color:#676b76;line-height:1.6;overflow-wrap:anywhere}
.selection-candidate-controls{display:flex;align-items:center;gap:6px;flex-shrink:0}.selection-candidate-controls input{width:64px;height:36px;padding:6px;border:1px solid #cfd1da;border-radius:7px;text-align:center;font:inherit}.selection-candidate-controls .btn{min-height:36px;min-width:36px}.selection-candidate-controls .pill{min-width:70px;justify-content:center}
.selection-reason-fields{display:grid;grid-template-columns:180px 1fr;gap:20px;margin-top:24px}.selection-reason-fields textarea{min-height:120px}.selection-buttons{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid #e4e5eb}.selection-comparison,.selection-history-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.selection-comparison>div,.selection-history-columns>div{background:#f7f7fa;border:1px solid #e4e5eb;padding:18px;border-radius:10px;min-width:0}.selection-comparison h3,.selection-history-columns h3{font-size:15px;margin:0 0 10px}.selection-comparison p,.selection-history-columns p{font-size:14px;line-height:1.8;overflow-wrap:anywhere}.selection-diff{line-height:1.9;overflow-wrap:anywhere}.selection-history-item summary{line-height:1.8}.selection-history-item>p{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:680px){.selection-overview{padding:20px}.selection-overview h2{font-size:17px}.selection-candidate{align-items:flex-start;flex-direction:column;padding:14px}.selection-candidate-controls{flex-wrap:wrap;width:100%}.selection-candidate-controls .btn,.selection-candidate-controls input{min-height:44px;min-width:44px}.selection-comparison,.selection-history-columns,.selection-reason-fields{grid-template-columns:1fr}.selection-buttons .btn{flex:1;min-height:44px}.selection-editor-domain h3{padding:16px}.dialog.selection-dialog{width:calc(100vw - 20px)}.selection-saved{padding:16px}}
.selection-candidate-controls .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.dialog.selection-dialog[open]{display:flex;flex-direction:column;max-height:calc(100dvh - 40px);overflow:hidden}
.selection-dialog .dialog-body{overflow:auto;min-height:0}.selection-dialog .dialog-header,.selection-dialog .dialog-footer{flex-shrink:0}.selection-dialog .dialog-footer .selection-buttons{margin:0;padding:0;border:0}.selection-domain-picker{max-width:320px;margin-top:20px}

/* Finalist confirmation keeps the roster readable and the consequential action explicit. */
.dialog.selection-confirm-dialog{width:min(820px,calc(100vw - 32px))}
.selection-confirm-dialog .dialog-header,.selection-confirm-dialog .dialog-body{padding:24px 28px}
.selection-confirm-dialog .dialog-header h2{font-size:21px;line-height:1.45}
.selection-confirm-dialog .dialog-header .btn{min-height:44px}
.selection-confirm-intro p{font-size:16px;line-height:1.6}.selection-confirm-intro>span{display:block;color:var(--muted);font-size:14px;margin-top:4px}
.selection-confirm-domains{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.selection-confirm-domain{border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0}
.selection-confirm-domain h3{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:14px 18px;background:#f7f7f9;font-size:16px;overflow-wrap:anywhere}
.selection-confirm-domain h3 span{font-size:13px;color:var(--muted);font-weight:500;flex-shrink:0}
.selection-confirm-columns{display:flex;justify-content:space-between;padding:10px 18px 6px;color:var(--muted);font-size:12px}
.selection-confirm-domain ul,.selection-confirm-panel ul{list-style:none;padding:0;margin:0}
.selection-confirm-domain li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 18px;border-top:1px solid #eff0f3}
.selection-confirm-person{display:grid;min-width:0;line-height:1.5;gap:2px}.selection-confirm-person b{font-size:15px;font-weight:600;overflow-wrap:anywhere}.selection-confirm-person span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.selection-confirm-score{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;flex-shrink:0}
.selection-confirm-panel h3{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;font-size:15px;margin:0 0 10px}.selection-confirm-panel h3 span{font-weight:500;font-size:13px;color:var(--muted)}
.selection-confirm-panel ul{display:flex;flex-wrap:wrap;gap:8px}.selection-confirm-panel li{padding:5px 10px;border:1px solid var(--line);border-radius:6px;font-size:13px;line-height:1.6;overflow-wrap:anywhere;max-width:100%}
.selection-confirm-impact{padding:16px 18px;border-radius:8px;background:#f8f3f4;border-left:3px solid #ad354b;margin-top:20px;font-size:14px;line-height:1.65}.selection-confirm-impact b{font-weight:600;color:#8b293e}.selection-confirm-impact p{margin-top:5px;color:#62636c;font-size:13px}
.selection-confirm-changes,.selection-confirm-reason{margin-bottom:20px}.selection-confirm-changes h3,.selection-confirm-reason b{font-size:14px;font-weight:600}.selection-confirm-changes dl{margin:8px 0 0}.selection-confirm-changes dl>div{display:grid;grid-template-columns:68px minmax(0,1fr);gap:10px;margin-top:6px;font-size:13px;line-height:1.65}.selection-confirm-changes dt{font-weight:600}.selection-confirm-changes dd{margin:0;overflow-wrap:anywhere}.selection-confirm-reason p{margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:var(--muted);line-height:1.7}
.selection-confirm-warning{border:1px solid #e3c393;background:#fff8ee;padding:16px 18px;border-radius:8px;margin-top:20px;font-size:14px;color:#704c1f;line-height:1.7}.selection-confirm-warning p{margin-top:5px;font-size:13px}.selection-confirm-preserved{font-size:13px;color:#365c47;margin-top:18px;line-height:1.7}
.selection-confirm-dialog .dialog-footer{padding:18px 28px;border-top:1px solid var(--line);background:#fff}
.selection-confirm-dialog .dialog-footer form{width:100%;margin:0}.selection-confirm-dialog .form-error:empty{display:none}.selection-confirm-dialog .form-error:not(:empty){margin:0 0 12px;max-height:80px;overflow:auto}
.selection-confirm-actions{display:flex;justify-content:flex-end;gap:10px}.selection-confirm-actions .btn{min-height:44px;line-height:1.5}
@media(max-width:600px){.dialog.selection-confirm-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}.selection-confirm-dialog .dialog-header,.selection-confirm-dialog .dialog-body{padding:18px}.selection-confirm-dialog .dialog-header h2{font-size:19px}.selection-confirm-domains{grid-template-columns:1fr;gap:12px;margin:18px 0}.selection-confirm-dialog .dialog-footer{padding:14px 18px}.selection-confirm-actions{display:grid;grid-template-columns:1fr}.selection-confirm-actions .btn.primary{grid-row:1}.selection-confirm-impact{padding:14px}.selection-confirm-intro p{font-size:15px}}
