
#atendentes { color:#20334b; }
#atendentes [hidden] { display:none !important; }
#atendentes .at-cabecalho {
    display:flex; align-items:center; justify-content:space-between;
    gap:16px; margin-bottom:18px; flex-wrap:wrap;
}
#atendentes h2 { margin:0 0 6px; font-size:24px; }
#atendentes h3 { margin:0 0 8px; font-size:18px; }
#atendentes p { color:#52657a; line-height:1.5; }
#atendentes .at-cabecalho p { margin:0; }
#atendentes .at-painel {
    background:#fff; border:1px solid #dce5ef; border-radius:14px;
    padding:22px; margin-bottom:20px;
}
#atendentes .at-grade {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px; margin:16px 0;
}
#atendentes label {
    display:flex; flex-direction:column; gap:8px;
    font-size:13px; font-weight:600; min-width:0;
}
#atendentes input {
    width:100%; box-sizing:border-box; height:44px; padding:0 12px;
    border:1px solid #c4d1df; border-radius:8px; font:inherit;
    font-size:16px; background:#fff; color:#20334b;
}
#atendentes input:disabled { background:#f1f5f9; color:#64748b; }
#atendentes input:focus {
    outline:2px solid #93c5fd; outline-offset:1px; border-color:#2563eb;
}
#atendentes .at-acoes { display:flex; gap:8px; flex-wrap:wrap; }
#atendentes .at-form-acoes { margin-top:20px; gap:12px; }
#atendentes .at-btn {
    box-sizing:border-box; min-height:44px; padding:10px 14px;
    border:1px solid #cbd5e1; border-radius:8px; background:#fff;
    color:#29425e; font:inherit; font-size:13px; font-weight:600;
    cursor:pointer; line-height:1.4;
}
#atendentes .at-btn:hover { background:#eff6ff; }
#atendentes .at-btn:focus-visible { outline:3px solid #93c5fd; outline-offset:2px; }
#atendentes .at-primario { background:#2563eb; color:#fff; border-color:#2563eb; }
#atendentes .at-primario:hover { background:#1d4ed8; }
#atendentes .at-alerta { color:#9f1239; }
#atendentes .at-btn:disabled { opacity:.6; cursor:wait; }
#atendentes .at-tabela { overflow-x:auto; }
#atendentes table { width:100%; border-collapse:collapse; text-align:left; }
#atendentes th, #atendentes td {
    padding:14px 12px; border-bottom:1px solid #e5ebf3;
    font-size:13px; vertical-align:middle; overflow-wrap:anywhere;
}
#atendentes th { background:#f8fafc; color:#52657a; }
#atendentes .at-status {
    display:inline-block; padding:5px 10px; border-radius:20px;
    background:#f1f5f9; color:#475569;
}
#atendentes .at-status.ativo { background:#ecfdf5; color:#166534; }
#atendentes #at-msg:empty { display:none; }
#atendentes #at-msg { padding:12px 14px; background:#eff6ff; border-radius:8px; }
#atendentes #at-msg.at-erro { background:#fff1f2; color:#9f1239; }
body.perfil-atendente #atendentes,
body.perfil-atendente .sidebar [data-page="atendentes"] { display:none !important; }
@media(max-width:640px) {
    #atendentes .at-grade { grid-template-columns:1fr; }
    #atendentes .at-painel { padding:16px; }
    #atendentes .at-form-acoes .at-btn { width:100%; }
}
