.notas-visual [hidden] { display: none !important; }
.notas-visual .seg-tab[aria-pressed="true"], .notas-visual .notas-salvar { background: #a6f5cc; color: #09251c; font-weight: 800; }
.notas-filtros { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; margin-bottom: .75rem; }
.notas-filtros .field { min-width: 0; }
.notas-rolagem { max-height: min(34rem,58vh); overflow: auto; }
.notas-linha { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); align-items: center; gap: .55rem; margin-bottom: .35rem; padding: .6rem; background: #09272b; color: #f1faf8; border: 1px solid #456969; border-radius: 8px; overflow-wrap: anywhere; }
.notas-linha small { display: block; color: #c5dbd8; }
.notas-consulta-linha { grid-template-columns: minmax(0,2fr) minmax(0,1.5fr) minmax(2.5rem,.5fr) minmax(8rem,auto); }
.notas-colunas { position: sticky; top: 0; z-index: 1; background: #153c40; font-weight: 700; }
.notas-campo input { width: 100%; min-width: 0; min-height: 44px; }
.notas-mobile-label { display: none; }
.notas-acoes { display: flex; flex-wrap: wrap; gap: .35rem; align-items: start; }
.notas-acoes .btn, .notas-acoes summary { min-height: 44px; }
.notas-acoes summary { display: grid; place-items: center; min-width: 44px; cursor: pointer; border: 1px solid #507575; border-radius: 8px; list-style: none; }
.notas-acoes summary::-webkit-details-marker { display: none; }
.notas-acoes details .btn { display: block; margin-top: .3rem; }
.notas-visual .notas-salvar { margin-top: .65rem; }
@media(max-width:760px) {
  .notas-filtros { grid-template-columns: minmax(0,1fr); }
  .notas-linha { grid-template-columns: minmax(0,1fr) auto; }
  .notas-colunas { display: none; }
  .notas-campo { grid-column: 1/-1; grid-row: 2; }
  .notas-mobile-label { display: block; }
  .notas-consulta-linha > .notas-acoes { grid-column: 1/-1; }
  .notas-acoes .btn { width: auto; }
}
