/* Conta e seleção usam os controles e os destinos existentes do ERP. */
.conta-barra{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0 18px;margin-bottom:18px;border-bottom:1px solid #dce5df;position:relative;z-index:5}
.conta-contexto{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;min-width:0}
.conta-contexto>strong{font-size:1rem;overflow-wrap:anywhere}
.conta-rotulo{font-size:.75rem;color:var(--texto-suave)}
.conta-barra details{position:relative;flex:none}
.conta-barra summary{cursor:pointer;min-height:44px;padding:10px 14px;border:1px solid #d8e3dc;border-radius:8px;color:#174b3b;background:white;font-weight:600;list-style:revert}
.conta-barra summary:focus-visible,.conta-opcao:focus-visible{outline:3px solid #137ca0;outline-offset:3px}
.conta-menu{position:absolute;right:0;top:calc(100% + 8px);width:320px;max-width:calc(100vw - 32px);padding:14px;background:white;border:1px solid #d8e3dc;border-top:3px solid #b18a3f;border-radius:10px;box-shadow:0 12px 30px #123e3326;max-height:65vh;overflow-y:auto;overflow-wrap:anywhere}
#conta-seletor .conta-menu{left:0;right:auto}
.conta-menu>strong,.conta-menu>span{display:block;margin-bottom:8px}.conta-menu>p{margin:0 0 10px}
.conta-menu #botao-sair{margin-top:12px;min-height:44px;width:100%}
.conta-opcao{display:block;text-align:left;width:100%;min-height:54px;font:inherit;background:white;color:#174b3b;border:0;border-bottom:1px solid #e2e9e4;padding:12px 8px;cursor:pointer;overflow-wrap:anywhere}
.conta-opcao strong,.conta-opcao span{display:block}.conta-opcao span{font-size:.8rem;margin-top:4px}.conta-opcao[aria-current=true]{background:#edf5ef}.conta-opcao:hover{background:#f2f6f3}.conta-opcao:disabled{opacity:.55;cursor:wait}
.com-sessao .cartao-acesso:has(#painel-minha-conta:not([hidden])){max-width:none;width:100%}
#painel-minha-conta{max-width:none;width:100%;margin:0 0 24px;min-width:0}
.conta-titulo-acessivel{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.conta-empresas{width:100%;min-width:0}
.conta-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:12px;background:#093e30;color:#fff;padding:22px 28px;border-bottom:3px solid #b99a51}
.conta-hero::after{content:"";position:absolute;z-index:-1;right:-30px;top:-70px;width:240px;height:240px;border:1px solid #c4a65b4d;transform:rotate(35deg);box-shadow:0 0 0 40px #bca45a0d,0 0 0 80px #ffffff05;pointer-events:none}
.conta-hero .sobrelinha{color:#dfcb91;margin:0 0 8px}.com-sessao .conta-hero h2{font-size:1.8rem;color:white;margin:0}.conta-hero .texto-apoio{color:#e1ece6;margin:8px 0 0}
.conta-empresas .lista-empresas{display:flex;flex-direction:column;gap:0;margin:18px 0 0;padding:0;border:1px solid #dce5df;border-radius:12px;overflow:hidden;background:white;list-style:none}
.conta-empresas .lista-empresas:empty{display:none}
.conta-empresas .empresa{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;margin:0;border:0;border-bottom:1px solid #e0e7e2;border-radius:0;box-shadow:none;background:white}
.conta-empresas .empresa:last-child{border-bottom:0}.conta-empresa-dados{flex:1;min-width:0}.conta-empresa-dados h3{margin:0 0 6px;font-size:1.1rem;overflow-wrap:anywhere}.conta-empresa-dados p{margin:0;font-size:.875rem;color:var(--texto-suave)}
.conta-empresas .botao-acessar{width:auto;min-width:164px;min-height:44px;margin:0;white-space:normal;flex:none}
.conta-selo{display:inline-flex;background:#edf5ef;border:1px solid #c6ddcd;color:#174b3b;border-radius:20px;font-size:.75rem;padding:3px 9px;margin-top:8px}
@media(max-width:760px){.conta-barra{align-items:flex-start;gap:10px}.conta-contexto{gap:6px;width:100%}.conta-contexto>strong,.conta-rotulo{width:100%}.conta-contexto details{max-width:100%}.conta-barra summary{padding:10px}.conta-hero{padding:20px}.com-sessao .conta-hero h2{font-size:1.5rem}.conta-empresas .empresa{padding:16px;align-items:flex-start;flex-direction:column;gap:12px}.conta-empresas .botao-acessar{width:100%}.conta-menu{width:280px}#conta-seletor .conta-menu{left:0}}
