/* Procedimentos: catálogo, ficha com composição, editor e bases por via (reaproveita as classes es-* do estoque) */
.pr-tabela td small { display: block; color: var(--ink-3); font-size: 11.5px; }
.pr-via { white-space: nowrap; }
.pr-falta { color: var(--ink-4); font-style: italic; }
.pr-alts { color: var(--ink-3); }
.pr-cor { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.pr-busca { display: flex; flex-direction: row; align-items: center; margin-bottom: 6px; flex-shrink: 0; }
.pr-busca input { flex: 1; }
.pr-resultados { flex-shrink: 0; display: flex; flex-direction: column; gap: 2px; max-height: 220px; overflow: auto; margin-bottom: 10px; }
.pr-res { flex-shrink: 0; display: flex; justify-content: space-between; gap: 10px; text-align: left; border: 1px solid var(--line); background: var(--surface, #fff); border-radius: 8px; padding: 7px 10px; cursor: pointer; font: inherit; font-size: 13px; color: inherit; }
.pr-res:hover { background: var(--green-50); }
.pr-res small { color: var(--ink-3); white-space: nowrap; }
.pr-comp td { vertical-align: top; }
.pr-comp td small { display: block; color: var(--ink-3); font-size: 11.5px; }
.pr-qtd { width: 90px; height: 32px; }
.pr-comp select { height: 32px; max-width: 170px; }
.pr-alt { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); margin: 4px 0; flex-wrap: wrap; }
.pr-alt input { width: 64px; height: 26px; font-size: 12px; }
.pr-x { border: 0; background: none; cursor: pointer; color: var(--ink-3); font-size: 16px; line-height: 1; padding: 0 4px; }
.pr-comp .btn-ghost.es-mini { margin-top: 4px; }
.pr-grupos { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.pr-grupos small { color: var(--ink-3); margin-left: 4px; }
.pr-novo-grupo { display: flex; gap: 8px; }
.pr-novo-grupo input { flex: 1; }
.pr-bases td { vertical-align: top; }
.pr-bases td small { color: var(--ink-3); font-size: 11.5px; }
.pr-bases td > small { display: block; }
.pr-inline { margin-left: 6px; }
.pr-link { color: var(--green); text-decoration: none; }
.pr-link:hover { text-decoration: underline; }
#prBasesCorpo { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 760px) {
  .pr-tabela th:nth-child(4), .pr-tabela td:nth-child(4), .pr-tabela th:nth-child(6), .pr-tabela td:nth-child(6) { display: none; }
  .pr-comp select { max-width: 110px; }
}
.pr-tabela td:first-child { white-space: normal; min-width: 240px; }
.pr-tabela td:nth-child(5) { white-space: normal; }
.pr-tabela .es-tags { white-space: normal; text-align: right; }
.pr-tabela .es-tags .pill { margin: 2px 0 2px 4px; }
.pr-bases { table-layout: fixed; width: 100%; }
.pr-bases th:first-child { width: 26%; }
.pr-bases th:last-child { width: 30%; }
.pr-bases td { white-space: normal; }
.pr-bases .pr-inline { display: inline; }
.pr-kit-nome { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; font-size: 12.5px; color: var(--ink-3); }
.pr-kit-nome input { height: 42px; font-size: 15px; }
.asset-form .modal-actions .pc-check { display: flex; flex-direction: row; align-items: center; gap: 6px; font-size: 13px; text-transform: none; letter-spacing: normal; color: var(--ink-2, inherit); }
.asset-form .modal-actions .pc-check input { width: 16px; height: 16px; margin: 0; }
