/* OPERIX — Talent Management (painel do administrador) */
#aba-talent{max-width:1180px}
.tm-bloco{padding:0;background:transparent;box-shadow:none;border:0}
.tm-topo{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:22px 24px;border-radius:18px;color:#fff;background:radial-gradient(120% 140% at 100% 0,rgba(31,91,255,.45),transparent 60%),linear-gradient(135deg,#05070d,#141a2a);box-shadow:0 12px 32px -18px rgba(5,10,30,.8)}
.tm-topo h2{margin:2px 0 0;color:#fff;font-size:24px;letter-spacing:-.02em}
.tm-sup{font:700 11px/1 inherit;letter-spacing:.14em;color:#6FA3FF;margin:0}
.tm-sub{margin:4px 0 0;color:#B9C6E6;font-size:14px}
.tm-bt-nova{border:0;border-radius:12px;padding:12px 18px;font-weight:700;color:#fff;background:linear-gradient(135deg,#2F6CFF,#1646C9);cursor:pointer;min-height:44px}
.tm-abas{display:flex;gap:6px;overflow-x:auto;margin:14px 0;padding-bottom:4px;scrollbar-width:thin}
.tm-abas button{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;border:1.5px solid #D5DFF5;background:#fff;color:#334155;border-radius:999px;padding:0 16px;height:40px;font-weight:700;font-size:14px;cursor:pointer}
.tm-abas button.on{background:#0F172A;border-color:#0F172A;color:#fff}
.tm-n{min-width:20px;height:20px;border-radius:10px;background:#FF4D4D;color:#fff;font-size:11px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;padding:0 6px}
.tm-painel{display:grid;gap:14px;min-width:0}
.tm-mut{color:#64748B;font-size:13.5px;margin:0}
.tm-vazio{padding:34px 18px;text-align:center;color:#64748B;background:#fff;border:1.5px dashed #CBD5E1;border-radius:16px}
.tm-err{color:#B91C1C;border-color:#FCA5A5}
.tm-barra{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.tm-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.tm-kpi{position:relative;background:#fff;border:1px solid #DCE5FF;border-radius:14px;padding:14px 16px 14px 20px;overflow:hidden}
.tm-kpi::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--kc)}
.tm-kpi small{display:block;color:#64748B;font-weight:600;font-size:12.5px}
.tm-kpi strong{font-size:28px;letter-spacing:-.02em;color:#0F172A}
.tm-card{background:#fff;border:1px solid #DCE5FF;border-radius:16px;padding:18px;min-width:0}
.tm-card h3{margin:0 0 8px;font-size:16px}
.tm-graf-cab{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap;margin-bottom:6px}
.tm-seg{display:inline-flex;gap:4px;padding:3px;border-radius:12px;background:#EEF3FF}
.tm-seg button{border:0;background:transparent;border-radius:9px;padding:8px 14px;font-weight:700;font-size:13px;color:#334155;cursor:pointer;min-height:36px}
.tm-seg button.on{background:#1F5BFF;color:#fff}
.tm-graf{position:relative}.tm-svg{width:100%;height:auto;display:block}
.tm-bar:hover{fill:#0B3FD0}
.tm-graf-vazio{position:absolute;inset:0;display:grid;place-items:center;color:#64748B;font-size:14px;margin:0}
.tm-duo{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tm-hb{display:grid;gap:9px;margin-top:6px}
.tm-hb-l{display:grid;grid-template-columns:minmax(90px,38%) 1fr 34px;gap:10px;align-items:center;font-size:13px}
.tm-hb-n{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#334155}
.tm-hb-t{height:12px;border-radius:7px;background:#EEF3FF;overflow:hidden}.tm-hb-t i{display:block;height:100%;border-radius:7px}
.tm-hb-l b{text-align:right}
.tm-tip{position:fixed;z-index:400;display:none;pointer-events:none;background:#0F172A;color:#fff;font-size:12.5px;padding:7px 10px;border-radius:8px;box-shadow:0 8px 20px rgba(0,0,0,.3)}
/* vagas */
.tm-vagas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tm-vaga{display:grid;gap:8px;background:#fff;border:1px solid #DCE5FF;border-radius:16px;padding:16px;border-left:5px solid #94A3B8}
.tm-vaga.s-publicada{border-left-color:#059669}.tm-vaga.s-pausada{border-left-color:#D97706}.tm-vaga.s-encerrada,.tm-vaga.s-expirada{border-left-color:#64748B}
.tm-vaga-t{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.tm-vaga-t h3{margin:0;font-size:17px}
.tm-st{flex:none;font-size:11.5px;font-weight:800;padding:5px 10px;border-radius:999px;background:color-mix(in srgb,var(--ec,#64748B) 14%,#fff);color:var(--ec,#334155);border:1px solid color-mix(in srgb,var(--ec,#64748B) 35%,#fff)}
.st-publicada{--ec:#059669}.st-pausada{--ec:#D97706}.st-rascunho{--ec:#64748B}.st-encerrada,.st-expirada{--ec:#DC2626}
.tm-vaga-n{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:#475569}
.tm-acoes{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.tm-mini{display:inline-flex;align-items:center;border:1.5px solid #CBD5E1;background:#fff;color:#1E293B;border-radius:10px;padding:0 12px;height:36px;font-weight:700;font-size:13px;cursor:pointer;text-decoration:none}
.tm-mini:hover{border-color:#1F5BFF;color:#1F5BFF}
.tm-mini.ok{border-color:#059669;color:#047857}.tm-mini.perigo{border-color:#FCA5A5;color:#B91C1C}
/* candidatos */
.tm-filtros{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tm-filtros input[type=search]{flex:1 1 220px;margin:0;min-width:0}.tm-filtros select{flex:0 1 200px;margin:0;min-width:0}
.tm-kanban{display:grid;grid-auto-flow:column;grid-auto-columns:272px;gap:12px;overflow-x:auto;padding-bottom:12px;align-items:start;scroll-snap-type:x proximity}
.tm-col{scroll-snap-align:start;background:#EEF3FF;border-radius:14px;border-top:4px solid var(--ec);min-height:140px;display:grid;align-content:start;transition:background .15s}
.tm-col.sobre{background:#DCE8FF;outline:2px dashed #1F5BFF}
.tm-col header{display:flex;justify-content:space-between;align-items:center;padding:12px 12px 8px;font-weight:800;font-size:13.5px}
.tm-col header b{background:#fff;border-radius:999px;min-width:26px;text-align:center;padding:2px 8px;font-size:12px}
.tm-col-c{display:grid;gap:8px;padding:0 8px 10px}
.tm-col-v{font-size:12.5px;color:#64748B;text-align:center;padding:16px 6px;margin:0}
.tm-cc{background:#fff;border:1px solid #D5DFF5;border-radius:12px;padding:11px;display:grid;gap:6px;cursor:pointer;box-shadow:0 1px 2px rgba(15,23,42,.05)}
.tm-cc:hover{border-color:#1F5BFF}.tm-cc.arrasta{opacity:.45}
.tm-cc.nova{border-left:4px solid #FF4D4D}
.tm-cc-t{display:flex;justify-content:space-between;gap:6px;align-items:flex-start}.tm-cc-t b{overflow-wrap:anywhere}
.tm-novo{flex:none;background:#FF4D4D;color:#fff;border-radius:999px;font-size:10.5px;font-weight:800;padding:2px 7px}
.tm-cc-m{display:flex;justify-content:space-between;font-size:12px;color:#64748B}.tm-cc-o{margin:0;font-size:12px;color:#64748B}
.tm-stars{color:#F59E0B;letter-spacing:1px;font-size:13px}
.tm-mover{margin:0;height:34px;font-size:12.5px;padding:0 8px;min-height:0}
.tm-tab-w{overflow-x:auto;background:#fff;border:1px solid #DCE5FF;border-radius:14px}
.tm-tab{width:100%;border-collapse:collapse;font-size:13.5px;min-width:680px}
.tm-tab th{text-align:left;padding:11px 12px;color:#64748B;font-size:12px;border-bottom:1px solid #E2E8F0}
.tm-tab td{padding:11px 12px;border-bottom:1px solid #EEF2F7;vertical-align:top}.tm-tab td small{display:block;color:#64748B}
.tm-tab tbody tr{cursor:pointer}.tm-tab tbody tr:hover{background:#F5F8FF}.tm-tab tr.nova td:first-child{box-shadow:inset 4px 0 0 #FF4D4D}
/* detalhe / modal */
body.tm-modal-on{overflow:hidden}
.tm-fundo{position:fixed;inset:0;z-index:300;background:rgba(5,10,25,.62);display:flex;align-items:center;justify-content:center;padding:14px}
.tm-caixa{width:min(860px,100%);max-height:calc(100dvh - 28px);display:flex;flex-direction:column;background:#fff;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.45);overflow:hidden}
.tm-caixa-t{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid #E2E8F0;font-size:16px}
.tm-x{border:0;background:#EEF3FF;border-radius:10px;width:38px;height:38px;font-size:22px;cursor:pointer;color:#334155}
.tm-caixa-c{overflow:auto;padding:18px;display:grid;gap:14px}
.tm-det{display:grid;gap:14px}
.tm-det-cab{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.tm-det-cab h3{margin:0;font-size:20px}
.tm-det-barra{display:grid;gap:10px;padding:12px;border-radius:14px;background:#F5F8FF;border:1px solid #DCE5FF}
.tm-det-mov{display:grid;grid-template-columns:200px 1fr auto;gap:8px}.tm-det-mov>*{margin:0}
.tm-det-ct{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tm-rate{display:inline-flex;margin-left:auto}.tm-rate button{border:0;background:transparent;font-size:26px;line-height:1;color:#CBD5E1;cursor:pointer;padding:2px 3px}.tm-rate button.on{color:#F59E0B}
.tm-sec{display:grid;gap:8px}.tm-sec h4{margin:0;font-size:14px;color:#0F172A}
.tm-dl{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin:0}
.tm-par{display:grid;gap:2px;min-width:0}.tm-par dt{font-size:12px;color:#64748B}.tm-par dd{margin:0;font-weight:600;overflow-wrap:anywhere;font-size:14px}
.tm-txt{margin:0;white-space:pre-line;font-size:14.5px;color:#1E293B}
.tm-prev{display:grid;gap:8px}.tm-prev iframe{width:100%;height:480px;border:1px solid #CBD5E1;border-radius:12px;background:#F1F5F9}
.tm-obs{padding:10px 12px;border-radius:10px;background:#FFFBEB;border:1px solid #FDE68A}.tm-obs p{margin:0 0 4px;white-space:pre-line}.tm-obs small{color:#92400E}
.tm-hist{list-style:none;margin:0;padding:0 0 0 14px;border-left:2px solid #DCE5FF;display:grid;gap:12px}
.tm-hist li{position:relative;display:grid;gap:2px;font-size:13.5px}.tm-hist li::before{content:"";position:absolute;left:-21px;top:5px;width:10px;height:10px;border-radius:50%;background:#1F5BFF;border:2px solid #fff}
.tm-hist small{color:#64748B}.tm-hist span{color:#475569}
.tm-zona{display:flex;justify-content:flex-end;padding-top:6px;border-top:1px solid #E2E8F0}
/* form de vaga */
.tm-form{display:grid;gap:12px}.tm-duo2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tm-c{display:grid;gap:5px;font-weight:600;font-size:13px;color:#334155;min-width:0}.tm-c input,.tm-c select,.tm-c textarea{margin:0;width:100%}
.tm-ck{display:flex;gap:8px;align-items:center;font-size:13.5px;font-weight:600;align-self:end;min-height:44px}.tm-ck input{width:20px;height:20px;margin:0}
.tm-form-ac{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.tm-msg{color:#B91C1C;font-weight:600;font-size:13.5px;min-height:18px;margin:0}
/* notificações / lgpd */
.tm-notifs{display:grid;gap:8px}
.tm-notif{display:flex;gap:12px;align-items:flex-start;text-align:left;border:1px solid #DCE5FF;background:#fff;border-radius:14px;padding:13px 14px;cursor:pointer;width:100%;font:inherit}
.tm-notif.nova{background:#F0F6FF;border-color:#9DBBFF}.tm-notif p{margin:2px 0;font-size:14px;color:#334155}.tm-notif small{color:#64748B}
.tm-bola{flex:none;width:10px;height:10px;border-radius:50%;margin-top:6px;background:#CBD5E1}.tm-notif.nova .tm-bola{background:#FF4D4D;box-shadow:0 0 0 4px rgba(255,77,77,.18)}
.tm-ret{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:8px}.tm-ret input{width:90px;margin:0}
.tm-simples{margin:8px 0;padding-left:18px;font-size:13.5px;color:#334155}
.tm-perigo-bt{background:#B91C1C!important}
.tm-toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:500;background:#0F172A;color:#fff;padding:12px 18px;border-radius:12px;font-weight:600;font-size:14px;transition:.25s;max-width:calc(100% - 28px)}
.tm-toast.on{opacity:1;transform:translate(-50%,0)}.tm-toast.erro{background:#B91C1C}
@media(max-width:860px){.tm-kpis{grid-template-columns:repeat(2,1fr)}.tm-duo,.tm-vagas,.tm-dl,.tm-duo2{grid-template-columns:1fr}.tm-det-mov{grid-template-columns:1fr}.tm-kanban{grid-auto-columns:82%}.tm-fundo{padding:0;align-items:flex-end}.tm-caixa{max-height:94dvh;border-radius:18px 18px 0 0}.tm-prev iframe{height:380px}.tm-rate{margin-left:0}}
@media(prefers-reduced-motion:reduce){.tm-toast,.tm-col{transition:none}}
#aba-talent,#tm-raiz,.tm-painel,#tm-cands,.tm-filtros{min-width:0;max-width:100%}
#tm-cands{overflow:hidden}
.tm-kanban{max-width:100%}
