/* Core review corrections: scoped to the two catalog views and forms. */
.vx-active-company { display:flex; align-items:center; gap:10px; min-width:0; max-width:220px; flex-shrink:1; }
.vx-active-company[hidden] { display:none; }
#vx-mobile-menu, #vx-mobile-sidebar-scrim { display:none; }
.vx-active-company > i { color:#b76b00; }
.vx-active-company > div { min-width:0; }
.vx-active-company small { display:block; font-size:10px; color:#667085; }
.vx-active-company strong { display:block; font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
#vx-active-company-select { display:block; width:100%; max-width:180px; margin-top:2px; padding:0; border:0; background:transparent; color:inherit; font:inherit; font-size:11px; line-height:1.3; cursor:pointer; outline:none; }
#vx-active-company-select[hidden] { display:none; }
#vx-active-company-select:disabled { cursor:wait; opacity:.65; }
.dark .vx-active-company small { color:#b0b8c4; }
#produto-modal .vx-item-numbers { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
#produto-modal .vx-field-hint { display:block; margin-top:5px; font-size:11px; color:#667085; }
.dark #produto-modal .vx-field-hint { color:#b0b8c4; }
#produto-stock-wrap { border:0; padding:0; box-shadow:none; background:none; }
#produto-stock-required[hidden] { display:none; }
#produto-modal .input-field:disabled { opacity:.65; cursor:not-allowed; }
#cliente-modal, #produto-modal { max-height:calc(100dvh - 32px); overflow-y:auto; border-radius:8px; }
#modal-overlay { padding:16px; }
body.vx-experience-v3 .vx-core-empty { min-height:250px; padding:32px 20px; border:0; box-shadow:none; background:none; }
body.vx-experience-v3 .vx-core-empty strong { font-size:14px; line-height:1.5; }
body.vx-experience-v3 .vx-core-empty .vx-empty-actions { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:12px; margin-top:20px; }
body.vx-experience-v3 .vx-core-empty .vx-empty-actions button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:40px; margin:0; padding:10px 18px; border-radius:8px; font-size:13px; line-height:1.4; }
.vx-reset-filters { border:1px solid #d0d5dd; background:transparent; color:#344054; }
.dark .vx-reset-filters { border-color:#414651; color:#e5e7eb; }
#view-clientes .vx-client-card-head span, #view-produtos .vx-product-cell small { font-size:12px; color:#667085; }
.dark #view-clientes .vx-client-card-head span, .dark #view-produtos .vx-product-cell small { color:#b0b8c4; }
body.vx-experience-v3 #view-clientes .vx-small-stat, body.vx-experience-v3 #view-produtos .vx-small-stat { min-height:100px; padding:14px 16px !important; border-radius:8px; }
body.vx-experience-v3 #view-clientes .vx-small-stat > strong, body.vx-experience-v3 #view-produtos .vx-small-stat > strong { font-size:18px !important; letter-spacing:0; margin-top:7px; }
body.vx-experience-v3 #view-clientes .vx-small-stat > span, body.vx-experience-v3 #view-produtos .vx-small-stat > span { letter-spacing:0; }
body.vx-experience-v3 #view-clientes .vx-small-stat > small, body.vx-experience-v3 #view-produtos .vx-small-stat > small { margin-top:7px; font-size:10px; }
@media(max-width:720px) {
  #sidebar, #sidebar.collapsed { position:fixed; inset:0 auto 0 0; width:260px; max-width:calc(100vw - 48px); z-index:45; transform:translateX(-100%); transition:transform .2s ease; }
  body.vx-mobile-nav-open #sidebar { transform:translateX(0); }
  #sidebar.collapsed .nav-text, #sidebar.collapsed .brand-text, #sidebar.collapsed .section-title { display:revert; opacity:1; width:auto; }
  #sidebar button[onclick="app.toggleSidebar()"] { display:none; }
  #vx-mobile-menu { display:inline-flex; flex-shrink:0; }
  body.vx-mobile-nav-open #vx-mobile-sidebar-scrim { display:block; position:fixed; inset:0; background:rgba(0,0,0,.38); z-index:44; border:0; }
  header.glass { height:auto; min-height:64px; padding:8px 12px; gap:8px; }
  header.glass > div:first-child { gap:10px; }
  header.glass > div:last-child { margin-left:0; flex-shrink:0; }
  header.glass .max-w-lg { display:none; }
  .vx-active-company { max-width:130px; }
  .vx-active-company > i { display:none; }
  .vx-active-company strong { font-size:11px; }
  body.vx-experience-v3 #view-clientes .vx-stat-grid-four, body.vx-experience-v3 #view-produtos .vx-stat-grid-four { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
}
@media(max-width:380px) { #produto-modal .vx-item-numbers { grid-template-columns:minmax(0,1fr); gap:14px; } }
