/* Configurações → Comercial → Precificação de Projeto/Homologação */
.hp-shell .hp-head { align-items: flex-start; gap: .75rem 1rem; flex-wrap: wrap; margin-bottom: .75rem; }
.hp-shell .hp-head > div:first-child { flex: 1 1 24rem; min-width: 0; }
.hp-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .75rem; }
.hp-status strong { display: block; color: #0f172a; font-size: .95rem; }
.hp-status span { color: #64748b; font-size: .8rem; }
.hp-summary { margin-bottom: .9rem; }
.hp-filters { margin-bottom: .75rem; align-items: flex-end; }
.hp-table td strong { display: block; color: #0f172a; }
.hp-table td strong + span { display: block; color: #64748b; font-size: .76rem; }
.hp-footer { justify-content: flex-end; flex-wrap: wrap; margin-top: 1rem; }
.hp-check { display: inline-flex; align-items: center; gap: .45rem; margin: .15rem 0 .45rem; font-weight: 600; cursor: pointer; }
.hp-field { display: grid; gap: .3rem; }
.hp-field-label { font-size: .8rem; font-weight: 700; color: #334155; }
.hp-utility-field { display: grid; gap: .4rem; position: relative; }
.hp-selected { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .6rem; padding: .5rem .7rem; border: 1px solid #bfdbfe; border-radius: .7rem; background: #eff6ff; }
.hp-selected[hidden] { display: none; }
.hp-selected strong { color: #1e3a8a; }
.hp-selected span { color: #475569; font-size: .78rem; flex: 1 1 auto; }
.hp-suggest { list-style: none; margin: 0; padding: .25rem; max-height: 14rem; overflow-y: auto; border: 1px solid #e2e8f0; border-radius: .7rem; background: #fff; box-shadow: 0 8px 20px rgba(15, 23, 42, .12); }
.hp-suggest[hidden] { display: none; }
.hp-suggest-note { padding: .55rem .7rem; color: #64748b; font-size: .82rem; }
.hp-suggest-item { appearance: none; display: grid; width: 100%; padding: .45rem .7rem; border: 0; border-radius: .5rem; background: transparent; text-align: left; font: inherit; cursor: pointer; }
.hp-suggest-item strong { color: #0f172a; font-size: .86rem; }
.hp-suggest-item span { color: #64748b; font-size: .76rem; }
.hp-suggest-item:hover:not(:disabled), .hp-suggest-item:focus-visible { background: #eff6ff; }
.hp-suggest-item:disabled { opacity: .55; cursor: not-allowed; }
.hp-menu { position: relative; display: inline-block; }
.hp-menu > summary { list-style: none; cursor: pointer; }
.hp-menu > summary::-webkit-details-marker { display: none; }
.hp-menu-list { position: fixed; z-index: 10100; display: none; min-width: 11.5rem; padding: .3rem; background: #fff; border: 1px solid #e2e8f0; border-radius: .7rem; box-shadow: 0 12px 28px rgba(15, 23, 42, .18); }
.hp-menu[open] > .hp-menu-list { display: flex; flex-direction: column; }
.hp-menu-list button { appearance: none; border: 0; border-radius: .5rem; padding: .5rem .7rem; background: transparent; color: #0f172a; font: inherit; font-size: .84rem; font-weight: 600; text-align: left; cursor: pointer; }
.hp-menu-list button:hover, .hp-menu-list button:focus-visible { background: #f1f5f9; }
.hp-menu-list button[data-tone="danger"] { color: #b91c1c; }
@media (max-width: 560px) {
  .hp-footer .btn { flex: 1 1 100%; }
  .hp-head .ecat-actions { width: 100%; }
}

/* Submenu aninhado "Comercial" dentro de Configurações */
.es-nav-subgroup { display: flex; flex-direction: column; gap: 0.1rem; }
.es-nav-subgroup-trigger { width: 100%; }
.es-nav-subgroup-trigger .es-nav-chev { margin-left: auto; opacity: 0.7; transition: transform 0.15s ease; }
.es-nav-subgroup[data-open="true"] .es-nav-chev { transform: rotate(180deg); }
.es-nav-subsublist {
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.1rem 0 0.25rem 0.55rem;
  margin-left: 0.55rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.es-nav-subgroup[data-open="true"] .es-nav-subsublist { display: flex; }
