/* BLACK X ERP — Business, administration and shared frontend pages */
.card-grid, .bx-company-stack, .bx-permission-list, .bx-dashboard-list { display: grid; gap: 1rem; }
.bx-company-card, .bx-record-card, .bx-access-card { padding: 1rem; border-radius: var(--bx-radius-lg); border: 1px solid var(--bx-border); background: rgba(255,255,255,.70); box-shadow: var(--bx-shadow-xs); }
.bx-company-card__head, .bx-record-card__topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.bx-matrix-table { overflow: auto; border-radius: var(--bx-radius-md); border: 1px solid var(--bx-border); }
.bx-matrix-cell { min-width: 110px; text-align: center; }
.bx-access-mark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; background: rgba(216,27,52,.08); color: var(--bx-danger); font-weight: 850; }
.bx-access-mark--yes { background: rgba(8,118,108,.10); color: var(--bx-success); }
.bx-context-note { padding: .8rem 1rem; border-inline-start: 3px solid var(--bx-neon); background: rgba(var(--bx-neon-rgb), .055); border-radius: 0 var(--bx-radius-sm) var(--bx-radius-sm) 0; color: var(--bx-text-muted); }
.blackx-page-hero { padding: 1.4rem; border-radius: var(--bx-radius-xl); background: linear-gradient(135deg, rgba(11,36,31,.96), rgba(9,23,19,.96)); color: var(--bx-text-inverse); box-shadow: var(--bx-shadow-lg); }
.blackx-page-hero h1, .blackx-page-hero h2, .blackx-page-hero p { color: inherit; }
.visual-swatch { padding: .9rem; border-radius: var(--bx-radius-md); border: 1px solid var(--bx-border); background: rgba(255,255,255,.74); }
.visual-swatch__chip { display: block; height: 84px; border-radius: 16px; border: 1px solid rgba(0,0,0,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.bx-brand-material { min-height: 96px; padding: 1rem; border-radius: var(--bx-radius-md); border: 1px solid var(--bx-border); }
.bx-brand-material--navy, .bx-brand-material--teal { background: var(--bx-teal-850); color: var(--bx-text-inverse); }
.bx-brand-material--graphite { background: var(--bx-graphite-900); color: var(--bx-text-inverse); }
.bx-brand-material--ivory { background: var(--bx-metal-100); }
.bx-brand-material--gold { background: #c6a75e; color: #1a1509; }
.blackx-form-grid { align-items: end; }
.bx-pagination { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.bx-wide-container { max-width: 1200px; margin-block: 2rem; }
.erp-card--spaced, .erp-action-row--spaced, .erp-table-wrap--spaced { margin-top: 1rem; }
.bx-page-head__copy, .bx-report-head__copy { min-width: 0; flex: 1 1 360px; }
.bx-filter-form--compact { grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); }
.bx-empty-state__copy { max-width: 620px; margin-inline: auto; }
.bx-dashboard-panel--command, .bx-dashboard-panel--catalog { min-height: 100%; }
.bx-dashboard-section--quick, .bx-dashboard-section--catalog { margin-block: 0; }
.bx-dashboard-actions--premium { align-items: center; }
.blackx-metric-grid--visual { align-items: stretch; }
.blackx-metric-card--glow { border-color: rgba(var(--bx-neon-rgb),.15); }
.blackx-alert__content { color: var(--bx-text); }
.blackx-topbar__login { min-height: 42px; }
.auth-shell--premium, .auth-card--focused, .bx-dashboard-hero--executive { position: relative; }
.bx-page-actions { display:flex;gap:.55rem;align-items:center;flex-wrap:wrap; }
