/* JAGRO Colaborador V1.3.7.6 — apenas seletor da frota e prioridade no formulario */
#j108VehicleWrap_employee.j1376-ready select#j108Vehicle_employee{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
#j108VehicleWrap_employee.j1376-ready{min-width:0}
#j108VehicleWrap_employee.j1376-ready label{display:block}
#j1375EmployeeFleet{display:none!important}
.j1376-open{width:100%;min-height:48px;margin:6px 0 10px;padding:12px 14px;text-align:left;border:1px solid #a6d4be;border-radius:13px;background:#effaf3;color:#075b3e;font:600 14px inherit;cursor:pointer}
.j1376-overlay[hidden]{display:none!important}
.j1376-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(8,43,30,.62);display:grid;place-items:center;padding:16px}
.j1376-dialog{width:min(100%,560px);max-height:min(80dvh,680px);display:flex;flex-direction:column;gap:10px;overflow:hidden;background:white;border-radius:18px;padding:16px;box-shadow:0 18px 65px #0004}
.j1376-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#075b3e;font-size:17px}
.j1376-close{border:0;border-radius:10px;background:#e9f7ee;color:#075b3e;font-size:27px;width:42px;height:42px;cursor:pointer}
.j1376-search{width:100%;min-height:46px;flex:none;padding:11px 13px;border:1px solid #b4d9c4;border-radius:12px;font-size:15px;background:#fff;color:#153e30}
.j1376-search:focus{outline:2px solid #0b805b;outline-offset:1px}
.j1376-list{overflow-y:auto;min-height:0;display:grid;align-content:start;gap:8px;overscroll-behavior:contain;padding:2px}
.j1376-item{display:flex;align-items:center;gap:11px;min-width:0;width:100%;text-align:left;padding:8px;border:1px solid #d6e9de;border-radius:12px;background:#fff;color:#164632;cursor:pointer;font-family:inherit}
.j1376-item[aria-pressed=true]{border-color:#07845e;background:#e9f7ef}
.j1376-photo{width:64px;height:58px;flex:0 0 64px;display:grid;place-items:center;overflow:hidden;background:#f1f6f3;border-radius:9px}
.j1376-photo img{width:100%;height:100%;object-fit:contain}
.j1376-no-photo{font-size:11px;color:#6a8074;text-align:center}
.j1376-detail{display:grid;gap:3px;min-width:0;flex:1}
.j1376-detail strong{font-size:13px;overflow-wrap:anywhere}
.j1376-detail small{font-size:11px;color:#60776a;overflow-wrap:anywhere}
.j1376-check{font-size:20px;color:#07845e}
.j1376-empty{text-align:center;color:#60776a;font-size:13px;padding:16px}
body.j1376-modal-open{overflow:hidden}
/* Remover azul apenas dos controles de prioridade do formulario do colaborador */
#requestForm .priority-btn.active,#requestForm .priority-option.active,#requestForm [data-priority="Normal"].active{background:linear-gradient(120deg,#096b4b,#13865e)!important;border-color:#096b4b!important;color:#fff!important}
@media(max-width:520px){.j1376-dialog{padding:12px;max-height:82dvh}.j1376-photo{width:54px;height:52px;flex-basis:54px}.j1376-item{gap:8px}.j1376-detail strong{font-size:12px}}

/* JAGRO V1.3.7.8: escopo exclusivo Chamados do colaborador. */
/* Mantem o select nativo para o envio, oculta apenas sua apresentacao antiga. */
#empForm #j108VehicleWrap_employee.j1376-ready > label{font-size:0!important;line-height:0!important;margin:0!important;padding:0!important}
#empForm #j108VehicleWrap_employee.j1376-ready > label select#j108Vehicle_employee{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
#empForm #j108VehicleWrap_employee.j1376-ready #j1376Open{display:block!important;font-size:14px!important;line-height:1.4!important}
#empForm #j1375EmployeeFleet{display:none!important}
/* Estilos verdes ganham das regras azuis gerais do index e do premium02. */
#employeeCallsModule:not(.hidden) button.new-request-hero{background:#08764f!important;background-image:linear-gradient(115deg,#075c42,#0b9b69)!important;border-color:#08764f!important;color:#fff!important;box-shadow:0 12px 25px rgba(4,103,70,.17)!important}
#empForm .jagro-segments[data-jagro-for="prioridade"] button{background:#f4faf6!important;background-image:none!important;border-color:#b7d9c6!important;color:#245943!important;box-shadow:none!important}
#empForm .jagro-segments[data-jagro-for="prioridade"] button.active[data-value="Normal"]{background:#0b7953!important;background-image:linear-gradient(120deg,#075d40,#0d9869)!important;border-color:#08734f!important;color:white!important;box-shadow:0 5px 14px rgba(8,120,78,.17)!important}
#empForm .jagro-segments[data-jagro-for="prioridade"] button.active[data-value="Urgente"]{background:#b45320!important;background-image:linear-gradient(120deg,#a4481b,#d86c27)!important;border-color:#a4481b!important;color:white!important;box-shadow:0 5px 14px rgba(164,72,27,.17)!important}


/* V1.3.7.9 - apenas eliminar seletor visual duplicado de frota do colaborador.
   O select nativo permanece no DOM para onchange e envio do chamado.
   :has garante que a ocultacao so ocorre quando o seletor com fotos existe. */
#employeeCallsModule #empForm #j108VehicleWrap_employee:has(#j1376Open) > label,
#employeeCallsModule #j108VehicleWrap_employee:has(#j1376Open) > label {
  display:none!important;
}
#employeeCallsModule #j108VehicleWrap_employee:has(#j1376Open) #j1375EmployeeFleet,
#employeeCallsModule #j1375EmployeeFleet {display:none!important;}
#employeeCallsModule #j108VehicleWrap_employee:has(#j1376Open) > #j1376Open {
  display:block!important;
}

/* JAGRO V1.3.8.0: ocultar exclusivamente o seletor aprimorado gerado
   pelo index.html para j108Vehicle_employee. O seletor fotografico
   #j1376Open e o select nativo permanecem intactos. */
body:has(#j1376Open) .jagro-select-trigger[data-jagro-for="j108Vehicle_employee"] {
  display: none !important;
}
/* Fallback para browsers sem :has, restrito ao portal colaborador. */
#employeeCallsModule .jagro-select-trigger[data-jagro-for="j108Vehicle_employee"] {
  display: none !important;
}
