/* ERP utility helpers. */

.erp-col-w-70 { width: 70px; }
.erp-col-w-80 { width: 80px; }
.erp-col-w-110 { width: 110px; }
.erp-col-w-120 { width: 120px; }
.erp-col-w-130 { width: 130px; }
.erp-col-w-140 { width: 140px; }
.erp-col-w-160 { width: 160px; }
.erp-col-w-180 { width: 180px; }
.erp-col-w-220 { width: 220px; }
.erp-col-w-260 { width: 260px; }
.erp-col-w-280 { width: 280px; }
.erp-col-w-300 { width: 300px; }
.erp-min-w-180 { min-width: 180px; }
.erp-min-w-220 { min-width: 220px; }
.erp-progress--lg { height: 1rem; }
[data-foundation-progress-bar] { width: 0; }

/* Shared semantic text colors for compact grid/form states. */
body.app-shell:not(.app-shell--default) .erp-status-text--positive {
  color: var(--erp-module-success, var(--erp-color-success)) !important;
}

body.app-shell:not(.app-shell--default) .erp-status-text--negative {
  color: var(--erp-module-danger, var(--erp-color-danger)) !important;
}

body.app-shell:not(.app-shell--default) .erp-permission-group-label {
  border: 1px solid currentColor;
  background: color-mix(in srgb, currentColor 8%, transparent);
  font-weight: 600;
}
.erp-number-format-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
  gap: 1rem;
  margin: .75rem 0 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--erp-border-color, #d8dee6);
  border-radius: .5rem;
  background: var(--erp-surface-subtle, #f8f9fb);
}

.erp-number-format-tools__actions,
.erp-number-format-tools__preview {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.erp-number-format-tools__preview { justify-content: flex-end; }
.erp-number-format-sample { min-width: 105px; }
.erp-number-format-sample small { display: block; color: var(--erp-text-muted, #667085); }
.erp-number-format-sample strong { font-variant-numeric: tabular-nums; }

@media (max-width: 768px) {
  .erp-number-format-tools { grid-template-columns: 1fr; }
  .erp-number-format-tools__preview { justify-content: flex-start; }
}
