/* TsQualy V1761.120 — Histórico da ficha do A3 minimizado (último evento + "Ver histórico completo") */
.a3-hist-topo{ cursor:pointer; display:flex; align-items:center; gap:8px; margin-bottom:0!important; user-select:none; }
.a3-hist-topo b{ flex:1; }
.a3-hist-qtd{ min-width:22px; padding:1px 7px; border-radius:99px; background:#eef3f9; color:#4f5f75; font-size:11.5px; font-weight:700; text-align:center; }
.a3-hist-seta{ width:8px; height:8px; border-right:2px solid #7b8898; border-bottom:2px solid #7b8898; transform:rotate(45deg); margin:-3px 4px 0 2px; transition:transform .15s ease; }
.a3-hist-det.aberto .a3-hist-seta{ transform:rotate(-135deg); margin-top:3px; }
.a3-hist-ultimo{ margin-top:8px; padding:8px 10px; background:#f6f9fc; border:1px solid #e6edf4; border-radius:8px; display:flex; flex-direction:column; gap:1px; font-size:12.5px; }
.a3-hist-ultimo small{ color:#7b8898; font-size:11px; }
.a3-hist-ultimo small:first-child{ text-transform:uppercase; letter-spacing:.35px; font-weight:700; }
.a3-hist-ultimo b{ color:#12345f; }
.a3-hist-det:not(.aberto) .a3-hist{ display:none!important; }
.a3-hist-det.aberto .a3-hist-ultimo{ display:none; }
.a3-hist-det .a3-hist{ margin-top:6px; max-height:none!important; }
.a3-hist-rodape{ margin-top:8px; font-size:12px; font-weight:700; color:#1766b3; cursor:pointer; }
.a3-hist-rodape:hover{ text-decoration:underline; }
.a3-hist-det .a3-hist-rodape .ocultar{ display:none; }
.a3-hist-det.aberto .a3-hist-rodape .ver{ display:none; }
.a3-hist-det.aberto .a3-hist-rodape .ocultar{ display:inline; }
