/* Manual e tutorial por tela — gestor + portal */
.eq-man-fab {
    position: fixed;
    left: 18px;
    right: auto;
    bottom: 18px;
    z-index: 2350;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 48px !important;
    flex: none !important;
    border: none;
    border-radius: 50%;
    background: var(--azul-marca, #0b1c35);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(11, 28, 53, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.eq-man-fab:hover { background: var(--azul-sutil, #2b5c92); }
.eq-man-fab[hidden] { display: none !important; }
body.eq-ia-aberta .eq-man-fab,
body.eq-axia-aberta .eq-man-fab {
    left: 18px;
    right: auto;
    bottom: 18px;
}
@media (max-width: 640px) {
    .eq-man-fab { left: 12px; bottom: 72px; width: 46px !important; height: 46px !important; }
}

.eq-man-overlay {
    position: fixed;
    inset: 0;
    z-index: 2600;
    background: rgba(6, 11, 20, 0.55);
    display: none;
    justify-content: flex-end;
}
.eq-man-overlay.aberto { display: flex; }
.eq-man-drawer {
    width: min(560px, 100%);
    height: 100%;
    background: #fff;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    animation: eqManIn 0.22s ease;
}
@keyframes eqManIn {
    from { transform: translateX(24px); opacity: 0.4; }
    to { transform: none; opacity: 1; }
}
.eq-man-drawer-cab {
    padding: 16px 18px 12px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.eq-man-drawer-cab h2 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--azul-marca, #0b1c35);
    line-height: 1.3;
}
.eq-man-drawer-cab p {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: #64748b;
}
.eq-man-fechar {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
}
.eq-man-drawer-corpo {
    overflow: auto;
    padding: 16px 18px 28px;
    flex: 1;
}
.eq-man-drawer-acoes {
    padding: 12px 18px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.eq-man-drawer-acoes .btn-acao { flex: 1; min-width: 140px; }
.eq-man-drawer-acoes button,
.eq-man-corpo .btn-acao {
    border: none;
    border-radius: 8px;
    padding: 9px 14px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.eq-man-drawer-acoes .btn-acao:not(.ghost) {
    background: var(--azul-marca, #0b1c35);
    color: #fff;
}
.eq-man-drawer-acoes .ghost,
.eq-man-corpo .ghost {
    background: #fff;
    color: var(--azul-marca, #0b1c35);
    border: 1px solid #cbd5e1;
}

.eq-man-kicker {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--azul-sutil, #2b5c92);
    margin: 0 0 6px;
}
.eq-man-passos { list-style: none; padding: 0; margin: 0 0 16px; }
.eq-man-passos li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}
.eq-man-n {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(43, 92, 146, 0.12);
    color: var(--azul-marca, #0b1c35);
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.eq-man-passos strong { display: block; color: var(--azul-marca, #0b1c35); font-size: 0.9rem; }
.eq-man-passos p { margin: 4px 0 0; color: #475569; font-size: 0.84rem; line-height: 1.55; }

.eq-man-faq { margin: 0 0 14px; }
.eq-man-faq details {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: #f8fafc;
}
.eq-man-faq summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--azul-marca, #0b1c35);
    font-size: 0.84rem;
}
.eq-man-faq p { margin: 8px 0 4px; font-size: 0.83rem; color: #475569; line-height: 1.5; }

.eq-man-dica {
    background: #ecfeff;
    border-left: 4px solid var(--azul-sutil);
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
    color: #155e75;
    margin: 0 0 12px;
    line-height: 1.5;
}
.eq-man-alerta {
    background: #fff7ed;
    border-left: 4px solid #ea580c;
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
    color: #9a3412;
    margin: 0 0 12px;
    line-height: 1.5;
}

.eq-man-host { display: flex; flex-direction: column; gap: 10px; }
.eq-man-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
}
.eq-man-chip {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}
.eq-man-chip.ativo {
    background: var(--azul-marca, #0b1c35);
    color: #fff;
    border-color: transparent;
}
.eq-man-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.eq-man-card > button.eq-man-acc {
    width: 100%;
    text-align: left;
    background: #fff;
    border: none;
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}
.eq-man-card > button.eq-man-acc:hover { background: #f8fafc; }
.eq-man-ico {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.eq-man-acc h3 { margin: 0; font-size: 0.95rem; color: var(--azul-marca, #0b1c35); }
.eq-man-acc span { display: block; font-size: 0.76rem; color: #64748b; font-weight: 500; margin-top: 2px; }
.eq-man-acc i.fa-chevron-down { margin-left: auto; color: #94a3b8; }
.eq-man-corpo {
    display: none;
    padding: 0 16px 16px 64px;
    color: #334155;
    font-size: 0.88rem;
    line-height: 1.6;
}
.eq-man-card.aberto .eq-man-corpo { display: block; }
.eq-man-card.aberto .eq-man-acc i.fa-chevron-down { transform: rotate(180deg); }
.eq-man-mapa {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    margin: 10px 0 16px;
}
.eq-man-mapa button {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    font-size: 0.78rem;
    color: #0f172a;
    font-weight: 700;
}
.eq-man-mapa button small { display: block; font-weight: 500; color: #64748b; margin-top: 3px; }
.eq-man-mapa button:hover { border-color: var(--azul-sutil, #2b5c92); background: #fff; }
.eq-man-atalho {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0 0 12px;
}
.eq-man-atalho kbd {
    background: #e2e8f0;
    border-radius: 4px;
    padding: 1px 6px;
    font-family: inherit;
    font-weight: 700;
    color: #0f172a;
}

.btn-ajuda-nav {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}
.btn-ajuda-nav:hover { background: rgba(43, 92, 146, 0.28); color: #fff; }

.toolbar-pesquisa {
    display: flex;
    gap: 12px;
    background: #fff;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    align-items: center;
}
.toolbar-pesquisa input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    font-size: 0.92rem;
    background: transparent;
}

@media (max-width: 860px) {
    .eq-man-fab { left: 12px; bottom: 72px; }
    .eq-man-corpo { padding-left: 16px; }
    .eq-man-drawer { width: 100%; }
}
