/* 7.6: search-first candidate selection. One column, natural scroll. */
.smp-candidate-picker-drawer .smp-candidate-context{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 14px;margin:0 0 10px;padding:0;color:#52647d}
.smp-candidate-context strong{color:#172a44;font-size:19px}
.smp-candidate-context span{font-size:13px}
.smp-candidate-search-first{position:relative;padding:14px 16px;border:1px solid #dbe4f0;border-radius:18px;background:white;display:grid;gap:10px;margin-bottom:12px}
.smp-candidate-search-first>label{font-size:15px;font-weight:750;color:#172a44}
.smp-candidate-search-row{display:flex;gap:9px;align-items:stretch;min-width:0}
.smp-candidate-search-row>.smp-candidate-main-search{position:relative;min-width:0;flex:1;display:block}
.smp-candidate-main-search>span{position:absolute;left:15px;top:50%;transform:translateY(-50%);z-index:1;pointer-events:none;font-size:23px;color:#59718f}
.smp-candidate-main-search input{width:100%!important;height:52px!important;min-height:52px!important;padding:0 12px 0 48px!important;font-size:16px!important;background:#fff!important;border:1px solid #cbd9e9!important;border-radius:13px!important;box-sizing:border-box!important}
.smp-candidate-search-row .smp-primary{min-height:52px;padding:0 16px;white-space:nowrap}
.smp-candidate-search-tools{display:flex;flex-wrap:wrap;gap:8px}
.smp-candidate-search-tools button{font-size:13px;min-height:39px;padding:8px 12px}
#smp-candidate-filter-panel[hidden]{display:none!important}
#smp-candidate-filter-panel{margin-bottom:13px}
.smp-candidate-hierarchy-detail{margin-bottom:10px}
.smp-candidate-results-head{scroll-margin-top:18px}
.smp-candidate-picker-drawer .smp-candidate-explain{font-size:12px;line-height:1.4;padding:8px 10px;margin:5px 0 8px}
.smp-candidate-picker-drawer .smp-candidate-view-hint{display:none}
.smp-candidate-picker-drawer .smp-candidate-results-host{overflow:visible}
@media(max-width:920px){
 .smp-candidate-picker-drawer .smp-drawer-head{padding:12px 16px!important;min-height:auto!important}
 .smp-candidate-picker-drawer .smp-drawer-head h2{font-size:18px!important;line-height:1.25!important}
 .smp-candidate-picker-drawer .smp-drawer-body{padding:13px 12px 95px!important;overflow-x:hidden!important;overflow-y:auto!important}
 .smp-candidate-search-first{padding:12px;border-radius:16px}
 .smp-candidate-search-row{flex-wrap:wrap}
 .smp-candidate-search-row .smp-primary{min-width:0;flex:0 0 auto}
 .smp-candidate-results-head-v2{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
 .smp-candidate-picker-drawer .smp-candidate-view-switch{display:none!important}
 .smp-candidate-picker-drawer .smp-universal-sheet-intro{padding:10px 12px!important}
 .smp-candidate-picker-drawer .smp-universal-sheet-intro span{font-size:12px!important}
 .smp-candidate-picker-drawer .smp-universal-table,.smp-candidate-picker-drawer .smp-candidate-sheet{width:100%!important;min-width:0!important}
 .smp-candidate-picker-drawer .smp-universal-candidate-row{margin-bottom:10px!important}
}
@media(max-width:390px){.smp-candidate-search-row .smp-primary{width:100%;flex-basis:100%}}

.smp-mobile-candidate-results{display:grid;gap:12px}
.smp-mobile-candidate-result{padding:16px;background:#fff;border:1px solid #dae4ef;border-radius:18px;box-shadow:0 4px 12px rgba(15,23,42,.04);display:grid;gap:14px;min-width:0}
.smp-mobile-candidate-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
.smp-mobile-candidate-heading>div{min-width:0;flex:1}.smp-mobile-candidate-heading strong{display:block;font-size:18px;line-height:1.25;overflow-wrap:anywhere;color:#172a44}.smp-mobile-candidate-heading small{display:block;margin-top:4px;color:#6a7b91;font-size:12px}
.smp-mobile-candidate-heading .smp-sheet-status{flex:0 0 auto;max-width:42%;white-space:normal;text-align:center;line-height:1.3}
.smp-mobile-candidate-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.smp-mobile-candidate-facts>div{min-width:0}.smp-mobile-candidate-facts span{display:block;color:#62748c;font-size:11px;font-weight:700;margin-bottom:5px}.smp-mobile-candidate-facts strong{display:block;color:#182e49;font-size:14px;line-height:1.35;overflow-wrap:anywhere}.smp-mobile-candidate-facts small{color:#66758a;font-size:12px}
.smp-mobile-candidate-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.smp-mobile-candidate-actions button{min-height:46px;font-size:14px;padding:8px}
.smp-mobile-candidate-detail{border-top:1px solid #e5ebf2;padding-top:12px;min-width:0;overflow-wrap:anywhere}.smp-mobile-candidate-detail[hidden]{display:none!important}
@media(max-width:370px){.smp-mobile-candidate-facts{grid-template-columns:1fr}}
