/* Compact candidate controls. Detailed choices appear only when requested. */
.candidate-controls{position:relative;z-index:30;background:#fff;border:1px solid var(--line,#e2e8f0);border-radius:13px;padding:12px;margin-bottom:12px}
.cf-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cf-tools svg,.cf-applied svg,.cf-drawer svg{width:18px;height:18px;flex:0 0 18px}
.cf-search{display:flex;align-items:center;gap:9px;flex:1 1 240px;min-width:180px;height:40px;padding:0 12px;background:#f8fafb;border:1px solid #dce3e8;border-radius:9px;color:#64748b}
.cf-search:focus-within,.cf-menu-search:focus-within{border-color:#4e8a69;box-shadow:0 0 0 3px #16653412}
.cf-search input{width:100%;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent;padding:0;height:36px;font:inherit;font-size:13px;color:#172033}
.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}
.cf-dropdown{position:relative;flex:0 1 auto;min-width:0}
.cf-trigger{list-style:none;display:flex;align-items:center;gap:7px;height:40px;padding:0 11px;cursor:pointer;border:1px solid #dce3e8;border-radius:9px;font-size:12px;font-weight:650;color:#334155;background:#fff;white-space:nowrap}
.cf-trigger::-webkit-details-marker{display:none}.cf-trigger-value{color:#64748b;font-weight:450;max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cf-trigger svg{width:14px;height:14px;flex-basis:14px;color:#718096}.cf-dropdown[open]{z-index:5}.cf-dropdown[open]>.cf-trigger{border-color:#5b9273;background:#f5faf7}
.cf-trigger:focus-visible,.candidate-controls button:focus-visible,.cf-drawer button:focus-visible,.cf-drawer summary:focus-visible{outline:2px solid #166534;outline-offset:3px}
.cf-tools>.btn{height:40px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;font-size:12px;white-space:nowrap}
.cf-tools .cf-export{margin-left:auto;border-color:transparent;background:#f6f8fa;color:#475569}.cf-tools .cf-more{background:#fff}.cf-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:5px;background:#e5f1e9;color:#166534;font-size:10px;font-weight:750}
.cf-popover{position:absolute;top:calc(100% + 8px);left:0;width:310px;max-width:calc(100vw - 32px);max-height:min(570px,calc(100dvh - 200px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #dce3e8;border-radius:12px;box-shadow:0 14px 40px #17392b24;color:#172033}
.cf-dropdown:not([open])>.cf-popover{display:none}.cf-position-menu .cf-popover{width:340px}.cf-popover-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px 9px;font-size:13px;flex-shrink:0}
.cf-text-button{appearance:none;background:none;border:0;padding:7px 3px;color:#32684b;font-family:inherit;font-size:12px;font-weight:650;cursor:pointer;white-space:nowrap}.cf-text-button:hover{text-decoration:underline}
.cf-presets{display:flex;gap:6px;padding:0 13px 10px;flex-shrink:0}.cf-presets button{background:#f5f8f6;border:1px solid #d8e4dc;border-radius:6px;padding:6px 9px;color:#365343;font:inherit;font-size:11px;cursor:pointer}
.cf-option-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 8px 8px;max-height:390px;scrollbar-width:thin}
.cf-option-group{border:0;padding:8px 0 2px;margin:0}.cf-option-group legend{width:100%;padding:8px 8px 5px;border-top:1px solid #eef1f4;font-size:10px;letter-spacing:.045em;text-transform:uppercase;color:#7b8794;font-weight:700}
.cf-choice{display:flex;align-items:center;gap:9px;margin:0;min-height:36px;padding:8px;border-radius:7px;text-transform:none;letter-spacing:normal;font-size:12px;line-height:1.35;font-weight:450;color:#334155;cursor:pointer;text-align:left}
.cf-choice[hidden]{display:none!important}.cf-choice:hover{background:#f4f7f5}.cf-choice:has(input:checked){background:#eff7f1;color:#185533}.cf-choice:focus-within{outline:2px solid #78a58a;outline-offset:-2px}
.cf-choice input[type="checkbox"]{width:16px;height:16px;min-height:0;flex:0 0 16px;margin:0;padding:0;border-radius:4px;accent-color:#166534;box-shadow:none}.cf-choice>span:first-of-type{flex:1;min-width:0;overflow-wrap:anywhere}
.cf-choice-count{font-size:11px;color:#7b8794;min-width:22px;text-align:right;font-variant-numeric:tabular-nums}.cf-choice:has(input:checked) .cf-choice-count{color:#32684b}
.cf-popover-foot{display:flex;justify-content:flex-end;gap:8px;padding:10px 13px;border-top:1px solid #e8edf0;background:#fafcfb;flex-shrink:0}.cf-popover-foot .btn{min-height:34px}
.cf-menu-search{display:flex;align-items:center;gap:7px;margin:0 13px 10px;padding:0 9px;height:36px;border:1px solid #dce3e8;border-radius:7px;color:#7b8794;flex-shrink:0}.cf-menu-search input{border:0;outline:0;box-shadow:none;width:100%;min-width:0;background:transparent;font:inherit;font-size:12px;height:32px;padding:0}.cf-no-matches{font-size:12px;color:#64748b;padding:12px 8px}
.cf-applied{display:flex;align-items:flex-start;gap:10px;margin-top:11px;padding-top:10px;border-top:1px solid #edf1f3}.cf-applied-list{display:flex;align-items:center;gap:6px;flex:1;flex-wrap:wrap;min-width:0}
.cf-applied-chip{display:inline-flex;align-items:center;gap:7px;padding:5px 8px;min-height:29px;max-width:260px;border:1px solid #d8e6dd;border-radius:6px;background:#f5f9f6;color:#326044;font:inherit;font-size:11px;cursor:pointer}.cf-applied-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cf-applied-chip svg{width:13px;height:13px;flex-basis:13px}.cf-applied-chip:hover{background:#e9f3ec}
.candidate-controls+.panel>.table-scroll-hint{display:flex;align-items:center;justify-content:space-between;gap:12px}.cf-result-count{color:#334155;font-size:12px;font-weight:650}.cf-table-tip{color:#8190a1;font-size:11px}
.cf-backdrop{position:fixed;inset:0;z-index:8000;display:flex;justify-content:flex-end;background:rgba(15,23,42,.28)}
.cf-drawer{display:flex;flex-direction:column;width:440px;max-width:100%;height:100dvh;background:#fff;box-shadow:-12px 0 40px #0f172a18;outline:0}
.cf-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px 18px;border-bottom:1px solid #e8edf0;flex-shrink:0}.cf-drawer-head h3{margin:0;font-size:20px;letter-spacing:-.02em;color:#172033}.cf-drawer-head p{margin:5px 0 0;font-size:12px;color:#788594}.cf-icon-button{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;color:#64748b;cursor:pointer}
.cf-drawer-body{padding:22px 24px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0}.cf-field{display:flex;flex-direction:column;gap:7px;margin:0 0 20px}.cf-field>label,.cf-section>legend,.cf-pool-section>summary{font-size:12px;font-weight:650;color:#334155;text-transform:none;letter-spacing:normal}
.cf-field input,.cf-field select{width:100%;height:40px;min-width:0;border:1px solid #d7e0e7;border-radius:8px;padding:0 11px;background:#fff;color:#334155;font:inherit;font-size:13px}.cf-field input:focus,.cf-field select:focus{outline:2px solid #8bb69b;outline-offset:1px}
.cf-section{border:0;padding:0;margin:0 0 22px;min-width:0}.cf-section>legend{padding:0;margin-bottom:10px}.cf-help{margin:0 0 8px;color:#7a8794;font-size:11px;line-height:1.5}.cf-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 5px}.cf-drawer .cf-choice{padding:7px 5px;font-size:12px}
.cf-pool-section{padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid #edf1f3}.cf-pool-section>summary{cursor:pointer;margin-bottom:10px}.cf-pool-options{max-height:180px;overflow:auto;scrollbar-width:thin}.cf-experience{display:flex;align-items:center;gap:12px}.cf-experience>.cf-field{flex:1;min-width:0;margin:0}.cf-experience>span{color:#94a3b8;margin-top:20px}.cf-experience .cf-field>label{font-weight:450;color:#788594}.cf-error{padding:10px 12px;border-radius:8px;background:#fff2f0;color:#9f2925;font-size:12px;line-height:1.5}
.cf-drawer-foot{display:flex;align-items:center;gap:8px;padding:16px 24px max(16px,env(safe-area-inset-bottom));border-top:1px solid #e8edf0;flex-shrink:0;background:#fafcfb}.cf-drawer-foot>.cf-text-button{margin-right:auto}.cf-drawer-foot .btn{height:40px;font-size:12px}
@media(max-width:1150px){.cf-search{flex-basis:100%}.cf-tools .cf-dropdown{flex:1}.cf-trigger{justify-content:space-between}.cf-trigger-value{margin-left:auto}.cf-trigger-value{max-width:120px}.cf-position-menu .cf-popover{left:auto;right:0}}
@media(max-width:650px){.candidate-controls{padding:10px}.cf-tools{gap:7px}.cf-tools>.cf-dropdown{flex:1 1 calc(50% - 8px)}.cf-tools .cf-more{flex:1;justify-content:center}.cf-tools .cf-export{flex:1;margin-left:0}.cf-popover,.cf-position-menu .cf-popover{position:fixed;left:12px;right:12px;top:15vh;width:auto;max-width:none;max-height:72dvh}.cf-option-scroll{max-height:none}.cf-applied{gap:7px}.cf-applied-chip{max-width:220px}.cf-table-tip{display:none}.cf-drawer{width:100%}.cf-drawer-head{padding:18px}.cf-drawer-body{padding:18px}.cf-drawer-foot{padding-left:18px;padding-right:18px}.cf-check-grid{gap:2px}.cf-drawer .cf-choice{min-height:40px}}
@media(prefers-reduced-motion:reduce){.candidate-controls *,.cf-drawer *{scroll-behavior:auto}}
