    /* ── CADASTROS / MATRIZ / CONFIRMAR / NOVA HOMOLOGAÇÃO ───────────── */
    .icon-btn {
      display: inline-flex; align-items: center; justify-content: center;
      width: 32px; height: 32px; border-radius: 6px; border: 1px solid transparent;
      background: transparent; color: var(--text-dim); cursor: pointer; transition: all .15s ease;
    }
    .icon-btn:hover { background: var(--surface-2); color: var(--text); }
    .icon-btn:active { transform: scale(0.95); }
    .icon-btn svg { width: 18px; height: 18px; }

    .icon-btn-sm {
      display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px;
      border: none; background: transparent; color: var(--text-mut); cursor: pointer; margin-right: 4px;
      transition: background .12s, color .12s;
    }
    .icon-btn-sm:hover { background: var(--surface-3); color: var(--text); }
    .icon-btn-sm.danger:hover { color: var(--danger); background: var(--danger-bg); }
    .icon-btn-sm svg { width: 16px; height: 16px; }

    .subtabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
    .subtab {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 6px 13px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600;
      border: 1px solid var(--border); background: var(--surface); color: var(--text-dim); cursor: pointer;
    }
    .subtab:hover { background: var(--surface-2); }
    .subtab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
    /* Filtros de "Status aprovação" (Matriz): a cor do status fica só na
       bolinha — a mesma do selo da lista —, e o botão segue a regra de
       interação como os outros (roxo quando ativo). */
    .subtabs-sep { width: 1px; align-self: stretch; background: var(--border); margin: 2px 4px; }
    .subtab.st-proc::before, .subtab.st-analise::before, .subtab.st-aprovado::before {
      content: ''; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
    }
    .subtab.st-proc::before     { background: var(--info-fill); }
    .subtab.st-analise::before  { background: var(--violet-fill); }
    .subtab.st-aprovado::before { background: var(--ok-fill); }
    .subtab.st-proc.active::before,
    .subtab.st-analise.active::before,
    .subtab.st-aprovado.active::before { background: rgba(255,255,255,.85); }

    .modal-overlay {
      position: fixed; inset: 0; background: rgba(15,23,42,.5); display: none;
      align-items: center; justify-content: center; z-index: 100; padding: 20px;
    }
    .modal-overlay.open { display: flex; }
    .modal-box {
      background: var(--surface); border-radius: 12px; width: 100%; max-width: 480px;
      max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 50px rgba(15,23,42,.25);
    }
    .modal-box .modal-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
    .modal-box .modal-head h3 { font-size: var(--fs-lg); }
    .modal-box .modal-body { padding: 18px 20px; }
    .modal-box .modal-foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }
    .modal-box .modal-foot .btn { width: auto; padding: 9px 18px; }

    .confirmar-card {
      display: flex; justify-content: space-between; align-items: center; gap: 14px;
      padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius);
      background: var(--surface); margin-bottom: 10px; flex-wrap: wrap;
    }
    .confirmar-card .info .nm { font-weight: 600; font-size: var(--fs-md); }
    .confirmar-card .actions { display: flex; gap: 8px; flex-wrap: wrap; }
    .confirmar-card .actions .btn { width: auto; padding: 8px 14px; font-size: var(--fs-xs); }

    @keyframes fade  { from { opacity: 0; transform: translateY(4px); } }
    @keyframes selIn { from { opacity: 0; transform: translateY(-4px); } }
    @keyframes pulso { 50% { opacity: .35; } }

