/* HF21-S3 · Batch selection, comparison and candidate workbench */
.hf21-s3-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0;padding:13px 15px;border:1px solid var(--hf21-line,#dbe5f0);border-radius:14px;background:linear-gradient(135deg,#fff 0%,#f6faff 100%);box-shadow:0 8px 22px rgba(30,64,175,.06)}
.hf21-s3-toolbar-copy{display:grid;gap:3px;min-width:0}.hf21-s3-toolbar-copy b{font-size:14px;color:var(--hf21-text,#172033)}.hf21-s3-toolbar-copy span{font-size:12px;color:var(--hf21-muted,#64748b)}
.hf21-s3-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.hf21-s3-toolbar-actions button{min-height:38px}.hf21-s3-count{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:0 11px;border-radius:999px;background:#eaf2ff;color:#174ea6;font-weight:800;font-size:12px}.hf21-s3-count strong{font-size:15px}
.result-card.hf21-s3-selectable{position:relative}.hf21-s3-selection-control{position:relative;z-index:4;display:inline-flex!important;align-items:center!important;justify-self:end;align-self:start;gap:6px!important;width:max-content;max-width:100%;margin:0 0 10px auto!important;padding:8px 11px!important;border:1px solid #cbd9eb;border-radius:999px;background:#fff;box-shadow:0 4px 12px rgba(15,23,42,.06);cursor:pointer;color:#36506f;font-size:12px!important;font-weight:800!important;line-height:1!important}.hf21-s3-selection-control input{width:17px!important;height:17px!important;min-width:17px!important;margin:0!important;accent-color:#2563eb}.result-card.hf21-s3-selected{border-color:#4f86e8!important;box-shadow:0 0 0 3px rgba(37,99,235,.10),0 15px 32px rgba(30,64,175,.10)!important}.result-card.hf21-s3-selected .hf21-s3-selection-control{background:#eaf2ff;border-color:#6e9bed;color:#174ea6}
.hf21-s3-compare-modal{position:fixed;inset:0;z-index:12000;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(15,23,42,.62);backdrop-filter:blur(5px)}.hf21-s3-compare-modal.open{display:flex}.hf21-s3-compare-card{position:relative;width:min(1180px,100%);max-height:90vh;overflow:auto;border-radius:22px;background:#f7f9fc;box-shadow:0 30px 90px rgba(15,23,42,.35);padding:24px}.hf21-s3-compare-close{position:absolute;right:16px;top:13px;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#334155;font-size:25px;cursor:pointer;box-shadow:0 4px 14px rgba(15,23,42,.10)}.hf21-s3-compare-head{padding-right:50px}.hf21-s3-compare-head .eyebrow{display:block;color:#2563eb;font-size:11px;font-weight:900;letter-spacing:.12em}.hf21-s3-compare-head h3{margin:5px 0 4px;font-size:22px;color:#172033}.hf21-s3-compare-head p{margin:0;color:#64748b;line-height:1.6}.hf21-s3-compare-grid{display:grid;grid-template-columns:repeat(var(--hf21-compare-count,2),minmax(220px,1fr));gap:12px;margin-top:18px}.hf21-s3-compare-column{display:grid;align-content:start;gap:12px;padding:17px;border:1px solid #dce5f0;border-radius:16px;background:#fff}.hf21-s3-compare-column header{display:grid;gap:5px;padding-bottom:12px;border-bottom:1px solid #e7edf5}.hf21-s3-compare-column header b{font-size:16px;color:#172033}.hf21-s3-compare-column header span{color:#375a86;font-weight:750}.hf21-s3-compare-risk{display:inline-flex;width:max-content;padding:4px 9px;border-radius:999px;background:#fff3df;color:#8b5700;font-size:12px;font-weight:900}.hf21-s3-compare-row{display:grid;gap:4px}.hf21-s3-compare-row span{font-size:11px;color:#7a889b}.hf21-s3-compare-row b{font-size:14px;color:#23344d;line-height:1.5}.hf21-s3-boundary{margin-top:15px;padding:11px 13px;border-radius:12px;background:#eef5ff;color:#36506f;font-size:12px;line-height:1.65}
#candidate-compare-selected{white-space:nowrap}
@media(max-width:900px){.hf21-s3-toolbar{align-items:flex-start;flex-direction:column}.hf21-s3-toolbar-actions{justify-content:flex-start;width:100%}.hf21-s3-compare-grid{grid-template-columns:repeat(2,minmax(220px,1fr));overflow-x:auto}.hf21-s3-compare-card{padding:20px 14px}}
@media(max-width:640px){.hf21-s3-toolbar-actions{display:grid;grid-template-columns:1fr 1fr}.hf21-s3-toolbar-actions .hf21-s3-count{grid-column:1/-1;width:max-content}.hf21-s3-toolbar-actions button{width:100%}.hf21-s3-selection-control{width:100%;justify-content:center;margin-bottom:12px!important}.result-card.hf21-s3-selectable{padding-top:inherit}.hf21-s3-compare-modal{padding:0}.hf21-s3-compare-card{width:100%;height:100%;max-height:none;border-radius:0}.hf21-s3-compare-grid{grid-template-columns:minmax(260px,1fr);overflow:visible}}
@media(prefers-reduced-motion:reduce){.hf21-s3-compare-modal{backdrop-filter:none}}
@media(forced-colors:active){.hf21-s3-toolbar,.hf21-s3-selection-control,.hf21-s3-compare-column{border:1px solid CanvasText}.result-card.hf21-s3-selected{outline:3px solid Highlight}}
