.nes-exm-uni { padding: 0 4px 120px; min-height: 0; }
.nes-exm-uni-nav-sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white, #fff);
  padding: 8px 0 4px;
  border-bottom: 1px solid var(--navy-100, #e2e8f0);
  margin-bottom: 8px;
}
.nes-exm-uni-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-start; }
.nes-exm-uni-head h2 { margin: 0; font-size: 1.2rem; color: var(--navy-800); }
.nes-exm-uni-head p { margin: 4px 0 0; color: var(--navy-500, #64748b); font-size: 0.88rem; max-width: 520px; }
.nes-exm-uni-actions-fixed { display: flex; flex-wrap: wrap; gap: 6px; flex-shrink: 0; }
.nes-exm-uni-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0; }
.nes-exm-uni-tab {
  border: 1px solid var(--navy-100, #e2e8f0);
  background: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
}
.nes-exm-uni-tab.active {
  background: var(--teal-50, #ecfdf5);
  border-color: var(--teal-400, #2dd4bf);
  color: var(--teal-800, #115e59);
  font-weight: 600;
}
.nes-exm-uni-body { min-height: 200px; }
.nes-exm-paciente-resumo { margin-bottom: 12px; font-size: 0.9rem; }
.nes-exm-cat-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.nes-exm-cat-toolbar .form-input { flex: 1 1 200px; }
.nes-exm-grupos-wrap { max-height: 55vh; overflow-y: auto; border: 1px solid var(--navy-100); border-radius: 10px; padding: 10px; }
.nes-exm-grupo { margin-bottom: 16px; }
.nes-exm-grupo-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.nes-exm-grupo-head h4 { margin: 0; flex: 1 1 100%; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--navy-700); }
.nes-exm-grupo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 12px; }
.nes-exm-chk {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 4px 0;
}
.nes-exm-chk input { margin-top: 3px; flex-shrink: 0; }
.nes-exm-form-toolbar { position: sticky; bottom: 0; background: var(--white); padding: 12px 0; border-top: 1px solid var(--navy-100); z-index: 5; }
#tab-exames.tab-panel,
#tab-exames-nes.tab-panel { overflow-y: auto !important; max-height: none !important; height: auto !important; padding-bottom: 100px; }
.nes-exm-uni-list-head { margin-bottom: 10px; }
.nes-exm-prot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin-bottom: 16px; }
.nes-exm-protocolo-card { display: flex; flex-direction: column; gap: 6px; }
.nes-tab-legacy-hidden { display: none !important; }
