/* BlueIgnix Product Experience — shell, Home composition, operational surfaces.
   Tokens live in tokens.css. Runtime delivery is the fingerprinted Layout link plus this primitive import.
   Authenticated interiors inherit BlueIgnix grammar by remapping shared --epx-* tokens on the shell
   (forms, tables, headers, status, workflow). Depth comes from navy/slate surfaces, not white panels. */

body.epx-blueignix-shell {
  color-scheme: dark;
  --epx-color-brand-primary: #123250;
  --epx-color-brand-primary-dark: #081523;
  --epx-color-brand-primary-light: var(--epx-blueignix-surface-control);
  --epx-color-brand-accent: var(--epx-blueignix-blue);
  --epx-color-brand-accent-dark: #1b6ac4;
  --epx-color-accent-interactive: var(--epx-blueignix-blue);
  --epx-color-accent-interactive-dark: #1b6ac4;
  --epx-color-accent-interactive-light: rgba(59, 183, 255, 0.16);
  --epx-color-surface-default: var(--epx-blueignix-bg);
  --epx-color-surface-elevated: var(--epx-blueignix-surface-interactive);
  --epx-color-surface-canvas: var(--epx-blueignix-bg-deep);
  --epx-color-surface-panel: var(--epx-blueignix-panel);
  --epx-color-surface-card: var(--epx-blueignix-panel-strong);
  --epx-color-surface-interactive: var(--epx-blueignix-surface-interactive);
  --epx-color-surface-control: var(--epx-blueignix-surface-control);
  --epx-color-surface-list: var(--epx-blueignix-surface-interactive);
  --epx-color-surface-list-item: var(--epx-blueignix-panel-strong);
  --epx-color-surface-list-hover: var(--epx-blueignix-surface-control);
  --epx-color-surface-list-active: var(--epx-blueignix-blue);
  --epx-color-table-header: var(--epx-blueignix-table-header);
  --epx-color-table-header-text: var(--epx-blueignix-text);
  --epx-color-table-row: var(--epx-blueignix-table-row);
  --epx-color-table-row-alt: var(--epx-blueignix-table-row-alt);
  --epx-color-table-row-hover: var(--epx-blueignix-table-row-hover);
  --epx-color-scrollbar-track: var(--epx-blueignix-scrollbar-track);
  --epx-color-scrollbar-thumb: var(--epx-blueignix-scrollbar-thumb);
  --epx-color-scrollbar-thumb-hover: var(--epx-blueignix-scrollbar-thumb-hover);
  --epx-color-border-default: var(--epx-blueignix-border);
  --epx-color-text-primary: var(--epx-blueignix-text);
  --epx-color-text-muted: var(--epx-blueignix-muted);
  --epx-color-status-success: var(--epx-blueignix-green);
  --epx-color-status-success-surface: rgba(34, 197, 94, 0.16);
  --epx-color-status-warning: var(--epx-blueignix-yellow);
  --epx-color-status-warning-surface: rgba(245, 185, 66, 0.16);
  --epx-color-status-danger: var(--epx-blueignix-red);
  --epx-color-status-danger-surface: rgba(240, 82, 82, 0.16);
  --epx-color-status-info: var(--epx-blueignix-cyan);
  --epx-color-status-info-surface: rgba(59, 183, 255, 0.14);
  --epx-focus-ring: var(--epx-blueignix-focus-ring);
  --epx-radius-md: var(--epx-blueignix-radius);
  --epx-radius-lg: 0.65rem;
  --bs-body-bg: var(--epx-blueignix-bg);
  --bs-body-color: var(--epx-blueignix-text);
  --bs-secondary-bg: var(--epx-blueignix-surface-interactive);
  --bs-tertiary-bg: var(--epx-blueignix-surface-control);
  --bs-border-color: var(--epx-blueignix-border);
  --bs-form-control-bg: var(--epx-blueignix-surface-control);
  --bs-table-bg: var(--epx-color-table-row);
  --bs-table-color: var(--epx-color-text-primary);
  --bs-table-accent-bg: transparent;
  --bs-table-striped-bg: var(--epx-color-table-row-alt);
  --bs-table-striped-color: var(--epx-color-text-primary);
  --bs-table-hover-bg: var(--epx-color-table-row-hover);
  --bs-table-hover-color: var(--epx-color-text-primary);
  --bs-table-border-color: var(--epx-blueignix-border);
  scrollbar-width: thin;
  scrollbar-color: var(--epx-color-scrollbar-thumb) var(--epx-color-scrollbar-track);
}

html:has(body.epx-blueignix-shell) {
  --epx-color-scrollbar-track: var(--epx-blueignix-scrollbar-track);
  --epx-color-scrollbar-thumb: var(--epx-blueignix-scrollbar-thumb);
  --epx-color-scrollbar-thumb-hover: var(--epx-blueignix-scrollbar-thumb-hover);
  background: var(--epx-blueignix-bg-deep);
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: var(--epx-color-scrollbar-thumb) var(--epx-color-scrollbar-track);
}

html:has(body.epx-blueignix-shell)::-webkit-scrollbar,
body.epx-blueignix-shell::-webkit-scrollbar,
body.epx-blueignix-shell *::-webkit-scrollbar {
  width: 0.75rem;
  height: 0.75rem;
  background: var(--epx-color-scrollbar-track);
}

html:has(body.epx-blueignix-shell)::-webkit-scrollbar-track,
body.epx-blueignix-shell::-webkit-scrollbar-track,
body.epx-blueignix-shell *::-webkit-scrollbar-track {
  background: var(--epx-color-scrollbar-track);
}

html:has(body.epx-blueignix-shell)::-webkit-scrollbar-thumb,
body.epx-blueignix-shell::-webkit-scrollbar-thumb,
body.epx-blueignix-shell *::-webkit-scrollbar-thumb {
  background: var(--epx-color-scrollbar-thumb);
  border: 2px solid var(--epx-color-scrollbar-track);
  border-radius: 999px;
}

html:has(body.epx-blueignix-shell)::-webkit-scrollbar-thumb:hover,
body.epx-blueignix-shell::-webkit-scrollbar-thumb:hover,
body.epx-blueignix-shell *::-webkit-scrollbar-thumb:hover {
  background: var(--epx-color-scrollbar-thumb-hover);
}

html:has(body.epx-blueignix-shell)::-webkit-scrollbar-corner,
body.epx-blueignix-shell::-webkit-scrollbar-corner,
body.epx-blueignix-shell *::-webkit-scrollbar-corner {
  background: var(--epx-color-scrollbar-track);
}

html:has(body.epx-blueignix-shell)::-webkit-scrollbar-button,
body.epx-blueignix-shell::-webkit-scrollbar-button,
body.epx-blueignix-shell *::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
  background: var(--epx-color-scrollbar-track);
}

body.epx-blueignix-shell * {
  scrollbar-width: thin;
  scrollbar-color: var(--epx-color-scrollbar-thumb) var(--epx-color-scrollbar-track);
}

/* Bootstrap 5.2 hardcodes #fff on .form-control / .form-select / :focus and paints
   table cells with inset box-shadow. Beat those selectors on the authenticated shell
   so Dark Blue tokens reach Filters, controls, and dense rows. */
body.epx-blueignix-shell .epx-filter-panel,
body.epx-blueignix-shell .di-filter-panel,
body.epx-blueignix-shell .epx-form-panel,
body.epx-blueignix-shell .di-form-panel {
  background: var(--epx-color-surface-interactive);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .form-control,
body.epx-blueignix-shell .form-control:focus,
body.epx-blueignix-shell .form-control:disabled,
body.epx-blueignix-shell .form-control[readonly],
body.epx-blueignix-shell .form-select,
body.epx-blueignix-shell .form-select:focus,
body.epx-blueignix-shell .form-select:disabled,
body.epx-blueignix-shell textarea.form-control {
  color-scheme: dark;
  background-color: var(--epx-color-surface-control);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23f4f8ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

body.epx-blueignix-shell .form-select option {
  background-color: var(--epx-color-surface-control);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .form-control:-webkit-autofill,
body.epx-blueignix-shell .form-control:-webkit-autofill:hover,
body.epx-blueignix-shell .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--epx-color-text-primary);
  caret-color: var(--epx-color-text-primary);
  box-shadow: 0 0 0 1000px var(--epx-color-surface-control) inset;
  transition: background-color 9999s ease-out;
}

body.epx-blueignix-shell .form-control::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.2);
  opacity: 0.85;
}

body.epx-blueignix-shell .form-check-input {
  color-scheme: dark;
  background-color: var(--epx-color-surface-control);
}

body.epx-blueignix-shell .table {
  --bs-table-bg: var(--epx-color-table-row);
  --bs-table-color: var(--epx-color-text-primary);
  --bs-table-accent-bg: transparent;
  --bs-table-striped-bg: var(--epx-color-table-row-alt);
  --bs-table-striped-color: var(--epx-color-text-primary);
  --bs-table-hover-bg: var(--epx-color-table-row-hover);
  --bs-table-hover-color: var(--epx-color-text-primary);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .table > :not(caption) > * > * {
  background-color: var(--epx-color-table-row);
  color: var(--epx-color-text-primary);
  box-shadow: none;
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .table > thead > * > * {
  background-color: var(--epx-color-table-header);
  color: var(--epx-color-table-header-text);
}

body.epx-blueignix-shell .table > tbody > tr:nth-of-type(even) > * {
  background-color: var(--epx-color-table-row-alt);
}

body.epx-blueignix-shell .table > tbody > tr:hover > * {
  background-color: var(--epx-color-table-row-hover);
}

body.epx-blueignix-shell .table > tbody > tr.table-warning {
  --bs-table-bg: var(--epx-color-status-warning-surface);
  --bs-table-striped-bg: var(--epx-color-status-warning-surface);
  --bs-table-accent-bg: transparent;
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .table > tbody > tr.table-warning > * {
  background-color: var(--epx-color-status-warning-surface);
  color: var(--epx-color-text-primary);
  box-shadow: none;
}

body.epx-blueignix-shell .list-group,
body.epx-blueignix-shell .list-group-numbered,
body.epx-blueignix-shell .list-group-flush {
  background: var(--epx-color-surface-list);
  border-color: var(--epx-color-border-default);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .list-group-item,
body.epx-blueignix-shell .list-group-item.disabled,
body.epx-blueignix-shell .list-group-item:disabled,
body.epx-blueignix-shell .list-group-item-light,
body.epx-blueignix-shell .list-group-item-secondary,
body.epx-blueignix-shell .list-group-item-dark {
  background-color: var(--epx-color-surface-list-item);
  color: var(--epx-color-text-primary);
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .list-group-item:nth-of-type(even) {
  background-color: var(--epx-color-table-row-alt);
}

body.epx-blueignix-shell .list-group-item-action {
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .list-group-item-action:hover,
body.epx-blueignix-shell .list-group-item-action:focus,
body.epx-blueignix-shell .list-group-item-light.list-group-item-action:hover,
body.epx-blueignix-shell .list-group-item-light.list-group-item-action:focus,
body.epx-blueignix-shell .list-group-item-secondary.list-group-item-action:hover,
body.epx-blueignix-shell .list-group-item-secondary.list-group-item-action:focus,
body.epx-blueignix-shell .list-group-item-dark.list-group-item-action:hover,
body.epx-blueignix-shell .list-group-item-dark.list-group-item-action:focus {
  background-color: var(--epx-color-surface-list-hover);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .list-group-item-action:active,
body.epx-blueignix-shell .list-group-item-light.list-group-item-action:active,
body.epx-blueignix-shell .list-group-item-secondary.list-group-item-action:active,
body.epx-blueignix-shell .list-group-item-dark.list-group-item-action:active {
  background-color: var(--epx-color-surface-list-hover);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .list-group-item.active,
body.epx-blueignix-shell .list-group-item-light.list-group-item-action.active,
body.epx-blueignix-shell .list-group-item-secondary.list-group-item-action.active,
body.epx-blueignix-shell .list-group-item-dark.list-group-item-action.active {
  background-color: var(--epx-color-surface-list-active);
  border-color: var(--epx-color-surface-list-active);
  color: #ffffff;
}

body.epx-blueignix-shell .list-group-item-success,
body.epx-blueignix-shell .list-group-item-success.list-group-item-action:hover,
body.epx-blueignix-shell .list-group-item-success.list-group-item-action:focus {
  background-color: var(--epx-color-status-success-surface);
  color: var(--epx-color-status-success);
}

body.epx-blueignix-shell .list-group-item-warning,
body.epx-blueignix-shell .list-group-item-warning.list-group-item-action:hover,
body.epx-blueignix-shell .list-group-item-warning.list-group-item-action:focus {
  background-color: var(--epx-color-status-warning-surface);
  color: var(--epx-color-status-warning);
}

body.epx-blueignix-shell .list-group-item-danger,
body.epx-blueignix-shell .list-group-item-danger.list-group-item-action:hover,
body.epx-blueignix-shell .list-group-item-danger.list-group-item-action:focus {
  background-color: var(--epx-color-status-danger-surface);
  color: var(--epx-color-status-danger);
}

body.epx-blueignix-shell .list-group-item-info,
body.epx-blueignix-shell .list-group-item-info.list-group-item-action:hover,
body.epx-blueignix-shell .list-group-item-info.list-group-item-action:focus,
body.epx-blueignix-shell .list-group-item-primary,
body.epx-blueignix-shell .list-group-item-primary.list-group-item-action:hover,
body.epx-blueignix-shell .list-group-item-primary.list-group-item-action:focus {
  background-color: var(--epx-color-status-info-surface);
  color: var(--epx-color-status-info);
}

body.epx-blueignix-shell .list-group-item .text-muted,
body.epx-blueignix-shell .list-group-item-action .text-muted {
  color: var(--epx-color-text-muted) !important;
}

body.epx-blueignix-shell .card,
body.epx-blueignix-shell .card-body,
body.epx-blueignix-shell .card-header,
body.epx-blueignix-shell .card-footer {
  background-color: var(--epx-color-surface-card);
  color: var(--epx-color-text-primary);
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .nav-tabs .nav-link.active,
body.epx-blueignix-shell .nav-tabs .nav-item.show .nav-link {
  background-color: transparent;
  color: #ffffff;
  border-color: transparent transparent var(--epx-blueignix-cyan);
}

/* Remaining Bootstrap 5.2 hardcoded #fff / #f8f9fa / #e9ecef / pastel alert paints.
   Shell-wide (including Home stage) so utilities and overlays cannot punch white holes. */
body.epx-blueignix-shell .alert-secondary,
body.epx-blueignix-shell .alert-light,
body.epx-blueignix-shell .alert-dark {
  background-color: var(--epx-color-surface-card);
  color: var(--epx-color-text-primary);
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .alert-primary {
  background-color: var(--epx-color-status-info-surface);
  color: var(--epx-color-status-info);
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .alert-danger,
body.epx-blueignix-shell .validation-summary-errors,
body.epx-blueignix-shell main .text-danger:not(.field-validation-error) {
  background-color: var(--epx-color-status-danger-surface);
  color: var(--epx-color-status-danger);
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .input-group-text,
body.epx-blueignix-shell .epx-input-group-adjunct {
  background-color: var(--epx-color-surface-control);
  color: var(--epx-color-text-primary);
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .form-control::file-selector-button,
body.epx-blueignix-shell .form-control::-webkit-file-upload-button {
  background-color: var(--epx-color-surface-interactive);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .form-control:hover:not(:disabled):not([readonly])::file-selector-button {
  background-color: var(--epx-color-surface-list-hover);
}

body.epx-blueignix-shell .form-control.is-valid,
body.epx-blueignix-shell .form-control.is-invalid,
body.epx-blueignix-shell .was-validated .form-control:valid,
body.epx-blueignix-shell .was-validated .form-control:invalid,
body.epx-blueignix-shell .form-select.is-valid,
body.epx-blueignix-shell .form-select.is-invalid,
body.epx-blueignix-shell .was-validated .form-select:valid,
body.epx-blueignix-shell .was-validated .form-select:invalid {
  background-color: var(--epx-color-surface-control);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .page-link,
body.epx-blueignix-shell .page-item.disabled .page-link {
  background-color: var(--epx-color-surface-panel);
  color: var(--epx-color-text-primary);
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .page-link:hover,
body.epx-blueignix-shell .page-link:focus {
  background-color: var(--epx-color-surface-interactive);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .page-item.active .page-link {
  background-color: var(--epx-blueignix-blue);
  border-color: var(--epx-blueignix-blue);
  color: #ffffff;
}

body.epx-blueignix-shell .dropdown-menu {
  background-color: var(--epx-color-surface-card);
  color: var(--epx-color-text-primary);
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .dropdown-item {
  color: var(--epx-color-text-muted);
}

body.epx-blueignix-shell .dropdown-item:hover,
body.epx-blueignix-shell .dropdown-item:focus {
  background-color: var(--epx-color-surface-list-hover);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .dropdown-item.disabled,
body.epx-blueignix-shell .dropdown-item:disabled {
  color: var(--epx-color-text-muted);
  background-color: transparent;
}

body.epx-blueignix-shell .dropdown-divider {
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .table > :not(caption) > tr.table-light,
body.epx-blueignix-shell .table > tbody > tr.table-light,
body.epx-blueignix-shell .table > thead > tr.table-light {
  --bs-table-bg: var(--epx-color-table-row-alt);
  --bs-table-striped-bg: var(--epx-color-table-row-alt);
  --bs-table-accent-bg: transparent;
  --bs-table-hover-bg: var(--epx-color-table-row-hover);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .table > :not(caption) > tr.table-light > *,
body.epx-blueignix-shell .table > tbody > tr.table-light > *,
body.epx-blueignix-shell .table > thead > tr.table-light > * {
  background-color: var(--epx-color-table-row-alt);
  color: var(--epx-color-text-primary);
  box-shadow: none;
}

body.epx-blueignix-shell .modal-content,
body.epx-blueignix-shell .modal-header,
body.epx-blueignix-shell .modal-body,
body.epx-blueignix-shell .modal-footer,
body.epx-blueignix-shell .epx-dialog-panel,
body.epx-blueignix-shell .epx-dialog-header,
body.epx-blueignix-shell .epx-dialog-body,
body.epx-blueignix-shell .epx-dialog-footer {
  background-color: var(--epx-color-surface-card);
  color: var(--epx-color-text-primary);
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .popover,
body.epx-blueignix-shell .popover-header,
body.epx-blueignix-shell .popover-body {
  background-color: var(--epx-color-surface-card);
  color: var(--epx-color-text-primary);
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .bs-popover-top > .popover-arrow::after,
body.epx-blueignix-shell .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after {
  border-top-color: var(--epx-color-surface-card);
}

body.epx-blueignix-shell .bs-popover-bottom > .popover-arrow::after,
body.epx-blueignix-shell .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after {
  border-bottom-color: var(--epx-color-surface-card);
}

body.epx-blueignix-shell .bs-popover-end > .popover-arrow::after,
body.epx-blueignix-shell .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after {
  border-right-color: var(--epx-color-surface-card);
}

body.epx-blueignix-shell .bs-popover-start > .popover-arrow::after,
body.epx-blueignix-shell .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after {
  border-left-color: var(--epx-color-surface-card);
}

body.epx-blueignix-shell .toast,
body.epx-blueignix-shell .toast-header,
body.epx-blueignix-shell .toast-body {
  background-color: var(--epx-color-surface-card);
  color: var(--epx-color-text-primary);
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .offcanvas,
body.epx-blueignix-shell .offcanvas-header,
body.epx-blueignix-shell .offcanvas-body {
  background-color: var(--epx-color-surface-panel);
  color: var(--epx-color-text-primary);
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .accordion-item,
body.epx-blueignix-shell .accordion-button {
  background-color: var(--epx-color-surface-card);
  color: var(--epx-color-text-primary);
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .accordion-button:not(.collapsed) {
  background-color: var(--epx-color-surface-interactive);
  color: var(--epx-color-text-primary);
  box-shadow: inset 0 -1px 0 var(--epx-color-border-default);
}

body.epx-blueignix-shell .accordion-button::after {
  filter: invert(1) brightness(1.6);
}

body.epx-blueignix-shell .progress {
  background-color: var(--epx-color-surface-panel);
}

body.epx-blueignix-shell .btn-light,
body.epx-blueignix-shell .btn-light:hover,
body.epx-blueignix-shell .btn-light:focus,
body.epx-blueignix-shell .btn-light:active,
body.epx-blueignix-shell .btn-light.active,
body.epx-blueignix-shell .btn-light:disabled,
body.epx-blueignix-shell .btn-light.disabled {
  background-color: var(--epx-color-surface-control);
  border-color: var(--epx-color-border-default);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .btn-outline-light:hover,
body.epx-blueignix-shell .btn-outline-light:active,
body.epx-blueignix-shell .btn-outline-light.active {
  background-color: var(--epx-color-surface-control);
  border-color: var(--epx-color-border-default);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .btn-close {
  filter: invert(1) grayscale(1) brightness(1.8);
}

/*
 * Runtime-winning danger-button fills (Layout-linked, fingerprinted). Beat Bootstrap
 * .btn-danger and .btn-outline-danger red in every interaction state. Catalog Index
 * Delete actions use .btn-outline-danger; confirm/submit Delete uses .btn-danger.
 * Colors match BlueIgnix secondary / interactive blue.
 */
.btn-danger,
.btn-danger:disabled,
.btn-danger.disabled,
.btn-outline-danger,
.btn-outline-danger:disabled,
.btn-outline-danger.disabled {
  background-color: var(--epx-color-surface-elevated);
  border-color: var(--epx-color-border-default);
  color: var(--epx-color-text-primary);
  box-shadow: var(--epx-elevation-shadow-xs);
}

.btn-danger:hover,
.btn-danger:hover:not(:disabled),
.btn-danger:focus,
.btn-danger:focus-visible,
.btn-danger:active,
.btn-danger:active:not(:disabled),
.btn-danger.active,
.btn-check:focus + .btn-danger,
.btn-check:checked + .btn-danger,
.btn-check:active + .btn-danger,
.btn-check:checked + .btn-danger:focus,
.btn-check:active + .btn-danger:focus,
.btn-danger:active:focus,
.btn-danger.active:focus,
.show > .btn-danger.dropdown-toggle,
.show > .btn-danger.dropdown-toggle:focus,
.btn-outline-danger:hover,
.btn-outline-danger:hover:not(:disabled),
.btn-outline-danger:focus,
.btn-outline-danger:focus-visible,
.btn-outline-danger:active,
.btn-outline-danger:active:not(:disabled),
.btn-outline-danger.active,
.btn-check:focus + .btn-outline-danger,
.btn-check:checked + .btn-outline-danger,
.btn-check:active + .btn-outline-danger,
.btn-check:checked + .btn-outline-danger:focus,
.btn-check:active + .btn-outline-danger:focus,
.btn-outline-danger:active:focus,
.btn-outline-danger.active:focus,
.show > .btn-outline-danger.dropdown-toggle,
.show > .btn-outline-danger.dropdown-toggle:focus,
.btn-outline-danger.dropdown-toggle.show,
.btn-outline-danger.dropdown-toggle.show:focus {
  background-color: var(--epx-color-surface-control);
  border-color: var(--epx-color-accent-interactive);
  color: var(--epx-color-text-primary);
  box-shadow: var(--epx-focus-ring);
}

body.epx-blueignix-shell .btn-danger,
body.epx-blueignix-shell .btn-danger:disabled,
body.epx-blueignix-shell .btn-danger.disabled,
body.epx-blueignix-shell .btn-outline-danger,
body.epx-blueignix-shell .btn-outline-danger:disabled,
body.epx-blueignix-shell .btn-outline-danger.disabled {
  background-color: var(--epx-color-surface-elevated);
  border-color: var(--epx-color-border-default);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell .btn-danger:hover,
body.epx-blueignix-shell .btn-danger:hover:not(:disabled),
body.epx-blueignix-shell .btn-danger:focus,
body.epx-blueignix-shell .btn-danger:focus-visible,
body.epx-blueignix-shell .btn-danger:active,
body.epx-blueignix-shell .btn-danger:active:not(:disabled),
body.epx-blueignix-shell .btn-danger.active,
body.epx-blueignix-shell .btn-check:focus + .btn-danger,
body.epx-blueignix-shell .btn-check:checked + .btn-danger,
body.epx-blueignix-shell .btn-check:active + .btn-danger,
body.epx-blueignix-shell .show > .btn-danger.dropdown-toggle,
body.epx-blueignix-shell .btn-outline-danger:hover,
body.epx-blueignix-shell .btn-outline-danger:hover:not(:disabled),
body.epx-blueignix-shell .btn-outline-danger:focus,
body.epx-blueignix-shell .btn-outline-danger:focus-visible,
body.epx-blueignix-shell .btn-outline-danger:active,
body.epx-blueignix-shell .btn-outline-danger:active:not(:disabled),
body.epx-blueignix-shell .btn-outline-danger.active,
body.epx-blueignix-shell .btn-check:focus + .btn-outline-danger,
body.epx-blueignix-shell .btn-check:checked + .btn-outline-danger,
body.epx-blueignix-shell .btn-check:active + .btn-outline-danger,
body.epx-blueignix-shell .show > .btn-outline-danger.dropdown-toggle,
body.epx-blueignix-shell .btn-outline-danger.dropdown-toggle.show {
  background-color: var(--epx-color-surface-control);
  border-color: var(--epx-blueignix-blue);
  color: var(--epx-color-text-primary);
  box-shadow: var(--epx-blueignix-focus-ring);
}

.epx-entry-login-submit.btn-primary {
  background-color: var(--epx-blueignix-blue);
  border-color: var(--epx-blueignix-blue);
  color: #ffffff;
}

body.epx-blueignix-shell .bg-white,
body.epx-blueignix-shell .bg-light,
body.epx-blueignix-shell .text-bg-light,
body.epx-blueignix-shell .text-bg-white {
  background-color: var(--epx-color-surface-panel) !important;
  color: var(--epx-color-text-primary) !important;
}

body.epx-blueignix-shell .img-thumbnail {
  background-color: var(--epx-color-surface-card);
  border-color: var(--epx-color-border-default);
}

body.epx-blueignix-shell .epx-empty-state,
body.epx-blueignix-shell .di-empty-state,
body.epx-blueignix-shell .home-welcome-panel {
  background: var(--epx-color-surface-panel);
  border-color: var(--epx-color-border-default);
  color: var(--epx-color-text-muted);
}

body.epx-blueignix-shell .epx-skip-link {
  z-index: 1040;
}

body.epx-blueignix-shell .nav-link:focus-visible,
body.epx-blueignix-shell .dropdown-item:focus-visible,
body.epx-blueignix-shell .epx-nav-branch-toggle:focus-visible,
body.epx-blueignix-shell .epx-nav-group-toggle:focus-visible,
body.epx-blueignix-shell .navbar-brand:focus-visible,
body.epx-blueignix-shell .navbar-toggler:focus-visible,
body.epx-blueignix-shell .epx-blueignix-scan:focus,
body.epx-blueignix-shell .epx-blueignix-scan:focus-visible,
.epx-blueignix-kpi:focus-visible,
.epx-blueignix-readiness:focus-visible,
.epx-blueignix-home a:focus-visible {
  outline: none;
  box-shadow: var(--epx-blueignix-focus-ring);
}

.epx-blueignix-brand-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  line-height: 1.1;
}

.epx-blueignix-brand-owner {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.epx-blueignix-brand-product {
  color: var(--epx-blueignix-teal);
  font-size: 0.72rem;
  font-weight: 600;
}

.epx-blueignix-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0 0.85rem;
}

.epx-blueignix-topbar-lead {
  min-width: 0;
  margin-right: auto;
}

.epx-blueignix-topbar-kicker {
  margin: 0;
}

.epx-blueignix-topbar-user {
  margin: 0;
  color: var(--epx-color-text-primary);
  font-size: 0.92rem;
  font-weight: 650;
}

.epx-blueignix-context {
  min-width: 11rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--epx-color-border-default);
  border-radius: var(--epx-blueignix-radius);
  background: var(--epx-color-surface-elevated);
  text-align: right;
}

.epx-blueignix-context-label,
.epx-blueignix-context-value {
  display: block;
}

.epx-blueignix-context-label {
  color: var(--epx-color-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.epx-blueignix-context-value {
  color: var(--epx-color-text-primary);
  font-weight: 700;
}

.epx-blueignix-scan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--epx-control-height);
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--epx-blueignix-cyan);
  border-radius: var(--epx-blueignix-radius);
  background: var(--epx-blueignix-blue);
  color: #ffffff !important;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.epx-blueignix-scan:hover,
.epx-blueignix-scan:focus {
  background: #1b6ac4;
  color: #ffffff !important;
}

body.epx-blueignix-shell .epx-nav-primary,
body.epx-blueignix-shell .app-navbar {
  background: linear-gradient(180deg, var(--epx-blueignix-sidebar), #06101c);
  border-bottom: 1px solid var(--epx-blueignix-border);
  box-shadow: none;
}

body.epx-blueignix-shell .epx-nav-primary .dropdown-menu,
body.epx-blueignix-shell .app-navbar .dropdown-menu {
  background: #0a1728;
  border-color: var(--epx-blueignix-border);
}

body.epx-blueignix-shell .epx-nav-primary .dropdown-item,
body.epx-blueignix-shell .app-navbar .dropdown-item {
  color: var(--epx-blueignix-muted);
}

body.epx-blueignix-shell .epx-nav-primary .dropdown-item:hover,
body.epx-blueignix-shell .app-navbar .dropdown-item:hover,
body.epx-blueignix-shell .epx-nav-primary .dropdown-item:focus,
body.epx-blueignix-shell .app-navbar .dropdown-item:focus {
  color: #ffffff;
  background: rgba(59, 183, 255, 0.13);
}

body.epx-blueignix-shell .epx-nav-primary .dropdown-item.active,
body.epx-blueignix-shell .app-navbar .dropdown-item.active,
body.epx-blueignix-shell .epx-nav-primary .dropdown-item[aria-current="page"],
body.epx-blueignix-shell .app-navbar .dropdown-item[aria-current="page"] {
  color: #ffffff;
  background: rgba(59, 183, 255, 0.2);
  font-weight: 700;
}

body.epx-blueignix-shell .epx-nav-primary .dropdown-header,
body.epx-blueignix-shell .app-navbar .dropdown-header {
  color: var(--epx-blueignix-dim);
  letter-spacing: 0.04em;
}

body.epx-blueignix-shell .epx-nav-branch,
body.epx-blueignix-shell .epx-nav-group {
  width: 100%;
}

body.epx-blueignix-shell .epx-nav-branch-toggle,
body.epx-blueignix-shell .epx-nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

body.epx-blueignix-shell .epx-nav-branch-toggle::-webkit-details-marker,
body.epx-blueignix-shell .epx-nav-group-toggle::-webkit-details-marker,
body.epx-blueignix-shell .epx-nav-branch-toggle::marker,
body.epx-blueignix-shell .epx-nav-group-toggle::marker {
  display: none;
  content: "";
}

body.epx-blueignix-shell .epx-nav-branch-toggle::after,
body.epx-blueignix-shell .epx-nav-group-toggle::after {
  content: "";
  flex: 0 0 auto;
  width: 0.42em;
  height: 0.42em;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--epx-motion-duration-fast);
}

body.epx-blueignix-shell .epx-nav-branch[open] > .epx-nav-branch-toggle::after,
body.epx-blueignix-shell .epx-nav-group[open] > .epx-nav-group-toggle::after {
  transform: rotate(225deg);
  margin-top: 0.15em;
}

body.epx-blueignix-shell .epx-nav-branch-menu {
  margin: 0.15rem 0 0.45rem;
  padding: 0.1rem 0 0.15rem 0.35rem;
}

body.epx-blueignix-shell .epx-nav-group-menu {
  margin: 0 0 0.2rem;
  padding: 0.05rem 0 0.15rem 0.4rem;
}

body.epx-blueignix-shell .epx-nav-group-toggle {
  margin: 0.2rem 0 0.05rem;
  padding: 0.32rem 0.5rem;
  color: var(--epx-blueignix-dim);
  font-size: 0.68rem;
  font-weight: 760;
  text-transform: uppercase;
}

body.epx-blueignix-shell .epx-nav-group-toggle:hover,
body.epx-blueignix-shell .epx-nav-group-toggle:focus-visible {
  color: var(--epx-blueignix-text);
  background: rgba(59, 183, 255, 0.1);
  border-radius: var(--epx-blueignix-radius);
}

body.epx-blueignix-shell .epx-nav-branch-menu > li > .dropdown-item {
  padding: 0.32rem 0.5rem;
  font-size: 0.8rem;
}

body.epx-blueignix-shell .epx-footer,
body.epx-blueignix-shell .app-footer {
  background: var(--epx-blueignix-bg-deep);
  border-top-color: var(--epx-blueignix-border);
  color: var(--epx-blueignix-muted);
}

body.epx-blueignix-shell .app-banner-stack {
  background: rgba(6, 17, 31, 0.95);
  border-bottom-color: var(--epx-blueignix-border);
}

body.epx-blueignix-shell .di-banner-security {
  background: rgba(245, 185, 66, 0.1);
  color: #ffe3a3;
  border-color: rgba(245, 185, 66, 0.3);
}

@media (max-width: 767.98px) {
  body.epx-blueignix-shell .app-navbar > .epx-workspace-gutter {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    max-width: none;
  }

  body.epx-blueignix-shell .navbar-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  body.epx-blueignix-shell .navbar-toggler {
    margin-left: auto;
  }

  body.epx-blueignix-shell .navbar-collapse {
    width: 100%;
  }

  body.epx-blueignix-shell .epx-nav-branch-toggle,
  body.epx-blueignix-shell .navbar-nav .nav-link {
    padding: 0.5rem 0.65rem;
  }

  body.epx-blueignix-shell .epx-nav-branch-menu {
    padding-left: 0.55rem;
  }
}

@media (min-width: 768px) {
  body.epx-blueignix-shell {
    margin-left: var(--epx-blueignix-shell-width);
  }

  body.epx-blueignix-shell > header {
    position: fixed;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    width: var(--epx-blueignix-shell-width);
    overflow: hidden;
    background: linear-gradient(180deg, var(--epx-blueignix-sidebar), #06101c);
    border-right: 1px solid var(--epx-blueignix-border);
  }

  body.epx-blueignix-shell .epx-nav-primary,
  body.epx-blueignix-shell .app-navbar {
    flex: 1 1 auto;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 0.85rem 0 1rem;
    border-bottom: 0;
  }

  body.epx-blueignix-shell .epx-nav-primary > .epx-workspace-gutter {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding-inline: 0.85rem;
    overflow: hidden;
  }

  body.epx-blueignix-shell .epx-nav-primary .navbar-brand {
    width: 100%;
    margin: 0;
    padding: 0.35rem 0.2rem 1rem;
  }

  body.epx-blueignix-shell .epx-nav-primary .navbar-toggler {
    display: none;
  }

  body.epx-blueignix-shell .epx-nav-primary .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    flex-direction: column;
    flex-grow: 1;
    align-items: stretch;
    width: 100%;
    min-height: 0;
    overflow: hidden;
  }

  body.epx-blueignix-shell .epx-nav-primary .navbar-nav {
    flex-direction: column !important;
    width: 100%;
  }

  body.epx-blueignix-shell .epx-nav-primary .navbar-nav.me-auto {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 0.15rem;
  }

  body.epx-blueignix-shell .epx-nav-primary .nav-item {
    width: 100%;
  }

  body.epx-blueignix-shell .epx-nav-primary .nav-link {
    padding: 0.42rem 0.55rem;
    border-radius: var(--epx-blueignix-radius);
    font-size: 0.88rem;
  }

  body.epx-blueignix-shell .epx-nav-primary .nav-link.active,
  body.epx-blueignix-shell .epx-nav-primary .epx-nav-branch-toggle.active {
    background: rgba(59, 183, 255, 0.14);
    text-decoration: none;
  }

  body.epx-blueignix-shell .epx-nav-primary .epx-nav-branch-menu,
  body.epx-blueignix-shell .epx-nav-primary .epx-nav-group-menu {
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  body.epx-blueignix-shell .epx-nav-primary .dropdown-item {
    padding: 0.28rem 0.5rem;
    font-size: 0.78rem;
  }

  body.epx-blueignix-shell .epx-nav-primary .epx-shell-account {
    margin-left: 0 !important;
    padding-top: 0.65rem;
    border-top: 1px solid var(--epx-blueignix-border);
  }

  body.epx-blueignix-shell .epx-nav-primary .navbar-text {
    display: block;
    width: 100%;
    padding: 0.2rem 0.5rem;
    color: rgba(255, 255, 255, 0.78) !important;
  }

  body.epx-blueignix-shell .app-banner-stack {
    flex: 0 0 auto;
    width: var(--epx-blueignix-shell-width);
    border-top: 1px solid var(--epx-blueignix-border);
    border-bottom: 0;
  }
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) {
  background:
    radial-gradient(circle at 32% 0%, rgba(35, 120, 216, 0.12), transparent 32rem),
    linear-gradient(160deg, var(--epx-blueignix-bg-deep), var(--epx-blueignix-bg));
  color: var(--epx-blueignix-text);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .text-muted {
  color: var(--epx-blueignix-muted) !important;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-blueignix-topbar {
  margin-bottom: 0.15rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--epx-blueignix-border);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-blueignix-topbar-user,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-blueignix-context-value {
  color: var(--epx-blueignix-text);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-blueignix-context {
  background: rgba(12, 25, 42, 0.88);
  border-color: var(--epx-blueignix-border);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-blueignix-context-label {
  color: var(--epx-blueignix-muted);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-page-header h1,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .page-header h1,
body.epx-blueignix-shell:not(.epx-blueignix-stage) h1,
body.epx-blueignix-shell:not(.epx-blueignix-stage) h2,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-form-section-title,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-section-title,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-section-title {
  color: var(--epx-blueignix-text);
  letter-spacing: -0.01em;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-page-header h1,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .page-header h1 {
  font-weight: 720;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-report-presentation-metadata,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-report-presentation-footer {
  color: var(--epx-blueignix-muted);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-report-presentation-metadata-label {
  color: var(--epx-blueignix-dim);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-workflow-workspace-state,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .workflow-workspace-state {
  color: var(--epx-blueignix-muted);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-panel,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-panel,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-module-card,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .module-card,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-readiness-chip,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .home-readiness-chip,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-callout {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--epx-blueignix-panel);
  border: 1px solid var(--epx-blueignix-border);
  border-radius: var(--epx-blueignix-radius);
  box-shadow: none;
  color: var(--epx-blueignix-text);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-stat-card,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-stat-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--epx-blueignix-panel-strong);
  border: 1px solid var(--epx-blueignix-border);
  border-radius: var(--epx-blueignix-radius);
  box-shadow: none;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-stat-card-label,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-stat-card-label {
  color: var(--epx-blueignix-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-stat-card-value,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-stat-card-value {
  color: var(--epx-blueignix-text);
  font-size: 1.85rem;
  font-weight: 760;
  line-height: 1.1;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-empty-state,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-empty-state {
  background: rgba(12, 25, 42, 0.55);
  border: 1px dashed var(--epx-blueignix-border);
  border-radius: var(--epx-blueignix-radius);
  box-shadow: none;
  color: var(--epx-blueignix-muted);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-empty-state-title,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-empty-state-title {
  color: var(--epx-blueignix-text);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-form-panel,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-form-panel,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-filter-panel,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-filter-panel,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-dialog-panel {
  background: var(--epx-color-surface-interactive);
  border: 1px solid var(--epx-blueignix-border);
  border-radius: var(--epx-blueignix-radius);
  box-shadow: 0 8px 24px rgba(3, 9, 20, 0.28);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-table-responsive,
body.epx-blueignix-shell:not(.epx-blueignix-stage) main .table-responsive,
body.epx-blueignix-shell:not(.epx-blueignix-stage) main > .table {
  background: var(--epx-color-table-row);
  border: 1px solid var(--epx-blueignix-border);
  border-radius: var(--epx-blueignix-radius);
  box-shadow: 0 8px 24px rgba(3, 9, 20, 0.28);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-form-panel .form-label,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-form-panel .form-label,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-filter-panel .form-label,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-filter-panel .form-label,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-form-panel .epx-section-title,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-form-panel .epx-section-title,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-filter-panel .epx-section-title,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-filter-panel .epx-section-title,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-form-panel .di-section-title,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-form-panel .di-section-title,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-filter-panel .di-section-title,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-filter-panel .di-section-title,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-form-panel h2,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-form-panel h2,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-filter-panel h2,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-filter-panel h2,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-field-label,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-entity-label {
  color: var(--epx-color-text-primary);
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-form-panel .text-muted,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-form-panel .text-muted,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-filter-panel .text-muted,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-filter-panel .text-muted,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-form-panel .epx-helper-text,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-form-panel .epx-helper-text {
  color: var(--epx-color-text-muted) !important;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .form-control,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .form-select,
body.epx-blueignix-shell:not(.epx-blueignix-stage) textarea.form-control {
  background-color: var(--epx-color-surface-control);
  border-color: rgba(147, 176, 210, 0.38);
  border-radius: var(--epx-blueignix-radius);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .form-control::placeholder {
  color: var(--epx-blueignix-dim);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .form-check-input {
  background-color: var(--epx-color-surface-control);
  border-color: rgba(147, 176, 210, 0.45);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .form-control:focus,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .form-select:focus,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .form-check-input:focus {
  border-color: var(--epx-blueignix-cyan);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-table-shell,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-table,
body.epx-blueignix-shell:not(.epx-blueignix-stage) main .table {
  --bs-table-bg: var(--epx-color-table-row);
  --bs-table-color: var(--epx-color-text-primary);
  --bs-table-striped-bg: var(--epx-color-table-row-alt);
  --bs-table-striped-color: var(--epx-color-text-primary);
  --bs-table-hover-bg: var(--epx-color-table-row-hover);
  --bs-table-hover-color: var(--epx-color-text-primary);
  --bs-table-border-color: var(--epx-blueignix-border);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-table-shell thead th,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-table thead th,
body.epx-blueignix-shell:not(.epx-blueignix-stage) main .table thead th {
  background-color: var(--epx-color-table-header);
  color: var(--epx-color-table-header-text);
  border-bottom-color: var(--epx-blueignix-border-strong);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 760;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-table-shell tbody td,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-table tbody td,
body.epx-blueignix-shell:not(.epx-blueignix-stage) main .table tbody td {
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-table-shell tbody tr:nth-of-type(even),
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-table tbody tr:nth-of-type(even),
body.epx-blueignix-shell:not(.epx-blueignix-stage) main .table tbody tr:nth-of-type(even) {
  background-color: var(--epx-color-table-row-alt);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-table-shell tbody tr:hover,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-table tbody tr:hover,
body.epx-blueignix-shell:not(.epx-blueignix-stage) main .table tbody tr:hover {
  background-color: var(--epx-color-table-row-hover);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .table-warning {
  --bs-table-bg: var(--epx-color-status-warning-surface);
  --bs-table-striped-bg: rgba(245, 185, 66, 0.22);
  --bs-table-color: var(--epx-blueignix-text);
  --bs-table-striped-color: var(--epx-blueignix-text);
  --bs-table-hover-bg: rgba(245, 185, 66, 0.28);
  --bs-table-hover-color: var(--epx-blueignix-text);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .nav-tabs {
  border-bottom-color: var(--epx-blueignix-border);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .nav-tabs .nav-link {
  color: var(--epx-blueignix-muted);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .nav-tabs .nav-link:hover,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .nav-tabs .nav-link:focus {
  color: var(--epx-blueignix-text);
  border-color: transparent;
  isolation: isolate;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .nav-tabs .nav-link.active {
  color: #ffffff;
  background: transparent;
  border-color: transparent transparent var(--epx-blueignix-cyan);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-pagination-shell .page-link {
  background: rgba(12, 25, 42, 0.72);
  border-color: var(--epx-blueignix-border);
  color: var(--epx-blueignix-text);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-pagination-shell .page-link:hover {
  background: rgba(59, 183, 255, 0.16);
  color: #ffffff;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-pagination-shell .page-item.active .page-link {
  background-color: var(--epx-blueignix-blue);
  border-color: var(--epx-blueignix-blue);
  color: #ffffff;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-filter-panel .form-check-label,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-filter-panel .form-check-label,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-form-panel .form-check-label,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-form-panel .form-check-label {
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) main .table-responsive,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-table-responsive {
  overflow: hidden;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) main .table-responsive > .table,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-table-responsive > .table {
  margin-bottom: 0;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-panel .btn-link,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-panel .btn-link {
  color: #93d8ff;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-panel .btn-outline-primary,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-panel .btn-outline-primary {
  color: #93d8ff;
  border-color: rgba(59, 183, 255, 0.45);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-workflow-workspace[data-workspace-state="failed"] .epx-workflow-workspace-state,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-workflow-workspace[data-workspace-state="failed"] .workflow-workspace-state {
  color: #ffd6d6;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-workflow-workspace[data-workspace-state="completed"] .epx-workflow-workspace-state,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-workflow-workspace[data-workspace-state="completed"] .workflow-workspace-state,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-workflow-workspace[data-workspace-state="resolved"] .epx-workflow-workspace-state,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-workflow-workspace[data-workspace-state="resolved"] .workflow-workspace-state {
  color: #bbf7d0;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-workflow-workspace[data-workspace-state="completedwithwarnings"] .epx-workflow-workspace-state,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-workflow-workspace[data-workspace-state="completedwithwarnings"] .workflow-workspace-state {
  color: #ffe3a3;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .dropdown-menu {
  background: #0a1728;
  border-color: var(--epx-blueignix-border);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .dropdown-item {
  color: var(--epx-blueignix-muted);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .dropdown-item:hover,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .dropdown-item:focus {
  color: #ffffff;
  background: rgba(59, 183, 255, 0.13);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-form-panel .epx-empty-state,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-form-panel .epx-empty-state,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-filter-panel .epx-empty-state,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .table-responsive .epx-empty-state,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .table-responsive .di-empty-state {
  background: var(--epx-color-surface-panel);
  border-color: var(--epx-blueignix-border-strong);
  color: var(--epx-color-text-muted);
  box-shadow: none;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .btn-outline-secondary {
  background: rgba(12, 25, 42, 0.55);
  border-color: var(--epx-blueignix-border-strong);
  color: var(--epx-blueignix-text);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-form-panel .btn-outline-secondary,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-form-panel .btn-outline-secondary,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-filter-panel .btn-outline-secondary,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-filter-panel .btn-outline-secondary,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-table-shell .btn-outline-secondary,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-table .btn-outline-secondary,
body.epx-blueignix-shell:not(.epx-blueignix-stage) main .table .btn-outline-secondary {
  background: var(--epx-color-surface-control);
  border-color: var(--epx-blueignix-border-strong);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .btn-outline-primary {
  color: #93d8ff;
  border-color: rgba(59, 183, 255, 0.45);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .btn-outline-primary:hover:not(:disabled) {
  background-color: var(--epx-blueignix-blue);
  border-color: var(--epx-blueignix-blue);
  color: #ffffff;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .btn-secondary:hover:not(:disabled),
body.epx-blueignix-shell:not(.epx-blueignix-stage) .btn-outline-secondary:hover:not(:disabled) {
  background-color: var(--epx-color-surface-control);
  border-color: var(--epx-blueignix-cyan);
  color: var(--epx-color-text-primary);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .text-bg-warning,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .badge.text-bg-warning {
  background-color: var(--epx-color-status-warning-surface) !important;
  color: var(--epx-blueignix-yellow) !important;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .text-bg-success,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .badge.text-bg-success {
  background-color: var(--epx-color-status-success-surface) !important;
  color: var(--epx-blueignix-green) !important;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .text-bg-info,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .badge.text-bg-info {
  background-color: var(--epx-color-status-info-surface) !important;
  color: var(--epx-blueignix-cyan) !important;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .text-bg-secondary,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .badge.text-bg-secondary {
  background-color: rgba(168, 184, 203, 0.18) !important;
  color: var(--epx-blueignix-text) !important;
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .alert,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-banner-env,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-banner-env,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-banner-readonly,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-banner-readonly,
body.epx-blueignix-shell:not(.epx-blueignix-stage) main .validation-summary-errors,
body.epx-blueignix-shell:not(.epx-blueignix-stage) main [asp-validation-summary="ModelOnly"] {
  border-radius: var(--epx-blueignix-radius);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-panel .epx-checklist-row,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-panel .di-checklist-row {
  border-bottom-color: var(--epx-blueignix-border);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-panel .epx-checklist-content,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-panel .di-checklist-content,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-panel .epx-section-title,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .di-panel .di-section-title {
  color: var(--epx-blueignix-text);
}

body.epx-blueignix-shell:not(.epx-blueignix-stage) .epx-workflow-workspace-header,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .workflow-workspace-header,
body.epx-blueignix-shell:not(.epx-blueignix-stage) .workflow-scan-enrichment {
  border-bottom-color: var(--epx-blueignix-border);
}

body.epx-blueignix-stage {
  background:
    radial-gradient(circle at 32% 0%, rgba(35, 120, 216, 0.16), transparent 32rem),
    linear-gradient(160deg, var(--epx-blueignix-bg-deep), var(--epx-blueignix-bg));
  color: var(--epx-blueignix-text);
}

body.epx-blueignix-stage .epx-page-shell {
  padding-top: 0.85rem;
}

body.epx-blueignix-stage .epx-blueignix-topbar-lead {
  display: none;
}

body.epx-blueignix-stage .epx-blueignix-topbar-user,
body.epx-blueignix-stage .epx-blueignix-context-value {
  color: var(--epx-blueignix-text);
}

body.epx-blueignix-stage .epx-blueignix-context {
  background: rgba(12, 25, 42, 0.88);
  border-color: var(--epx-blueignix-border);
}

body.epx-blueignix-stage .epx-blueignix-context-label {
  color: var(--epx-blueignix-muted);
}

body.epx-blueignix-stage h1,
body.epx-blueignix-stage h2 {
  color: var(--epx-blueignix-text);
}

.epx-blueignix-home {
  display: grid;
  gap: 0.85rem;
  color: var(--epx-blueignix-text);
}

.epx-blueignix-home a {
  color: var(--epx-blueignix-cyan);
  text-decoration: none;
}

.epx-blueignix-home a:hover {
  color: var(--epx-blueignix-text);
  text-decoration: underline;
}

.epx-blueignix-home-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.15rem 0 0.1rem;
}

.epx-blueignix-home-header h1 {
  margin: 0;
  color: var(--epx-blueignix-text);
  font-size: 1.75rem;
  font-weight: 720;
}

.epx-blueignix-subtitle {
  max-width: 46rem;
  margin: 0.3rem 0 0;
  color: var(--epx-blueignix-muted);
}

.epx-blueignix-kicker {
  margin: 0 0 0.15rem;
  color: var(--epx-blueignix-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.epx-blueignix-readiness,
.epx-blueignix-kpi,
.epx-blueignix-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--epx-blueignix-panel);
  border: 1px solid var(--epx-blueignix-border);
  border-radius: var(--epx-blueignix-radius);
  box-shadow: none;
}

.epx-blueignix-readiness {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.7rem 0.95rem;
}

.epx-blueignix-readiness strong {
  color: var(--epx-blueignix-text);
}

.epx-blueignix-kpi-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 2.1fr) repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.epx-blueignix-kpi {
  min-height: 8.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.95rem 1rem;
}

.epx-blueignix-kpi-primary {
  background:
    radial-gradient(circle at right bottom, rgba(34, 197, 94, 0.28), transparent 55%),
    linear-gradient(145deg, rgba(34, 197, 94, 0.22), rgba(10, 76, 54, 0.82));
  border-color: rgba(34, 197, 94, 0.55);
}

.epx-blueignix-kpi-label,
.epx-blueignix-kpi span:last-child {
  color: var(--epx-blueignix-muted);
  font-size: 0.8rem;
}

.epx-blueignix-kpi strong {
  color: var(--epx-blueignix-text);
  font-size: 1.85rem;
  font-weight: 760;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.epx-blueignix-kpi-primary strong {
  font-size: 2.35rem;
}

.epx-blueignix-attention-rail {
  min-width: 0;
}

.epx-blueignix-state {
  border-color: var(--epx-blueignix-border);
}

.epx-blueignix-state-danger {
  border-color: rgba(240, 82, 82, 0.45);
}

.epx-blueignix-state-info {
  border-color: rgba(59, 183, 255, 0.45);
}

.epx-blueignix-state-warning {
  border-color: rgba(245, 185, 66, 0.45);
}

.epx-blueignix-state-attention {
  border-color: rgba(139, 92, 246, 0.45);
}

.epx-blueignix-state-ready {
  border-color: rgba(34, 197, 94, 0.5);
}

.epx-blueignix-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 0.8fr);
  gap: 0.7rem;
}

.epx-blueignix-home-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.75fr) minmax(15rem, 0.75fr);
  gap: 0.7rem;
}

.epx-blueignix-panel {
  min-width: 0;
  padding: 0.9rem 1rem;
}

.epx-blueignix-panel-wide {
  grid-column: 1 / -1;
}

.epx-blueignix-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--epx-blueignix-border);
}

.epx-blueignix-panel-heading h2 {
  margin: 0;
  color: var(--epx-blueignix-text);
  font-size: 1.02rem;
  font-weight: 720;
}

.epx-blueignix-panel-heading > a {
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 650;
}

.epx-blueignix-stock-bars {
  display: grid;
  gap: 0.65rem;
}

.epx-blueignix-stock-row {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(7rem, 1.7fr) 4.4rem;
  align-items: center;
  gap: 0.7rem;
}

.epx-blueignix-stock-row strong {
  display: block;
  color: var(--epx-blueignix-text);
  font-size: 0.88rem;
}

.epx-blueignix-stock-row span {
  display: block;
  color: var(--epx-blueignix-muted);
  font-size: 0.76rem;
}

.epx-blueignix-stock-meter {
  height: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(116, 133, 154, 0.18);
}

.epx-blueignix-stock-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--epx-blueignix-blue), var(--epx-blueignix-cyan));
}

.epx-blueignix-stock-value {
  color: var(--epx-blueignix-text) !important;
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.epx-blueignix-attention-list,
.epx-blueignix-expiration-list,
.epx-blueignix-activity-list,
.epx-blueignix-link-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.epx-blueignix-attention-list li,
.epx-blueignix-expiration-list li,
.epx-blueignix-activity-list li {
  display: grid;
  gap: 0.12rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--epx-blueignix-border);
}

.epx-blueignix-attention-list li:last-child,
.epx-blueignix-expiration-list li:last-child,
.epx-blueignix-activity-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.epx-blueignix-attention-list strong,
.epx-blueignix-expiration-list strong,
.epx-blueignix-activity-list strong {
  color: var(--epx-blueignix-text);
  font-size: 0.88rem;
}

.epx-blueignix-attention-list span:not(.epx-blueignix-status),
.epx-blueignix-expiration-list span,
.epx-blueignix-activity-list span,
.epx-blueignix-activity-list time {
  color: var(--epx-blueignix-muted);
  font-size: 0.76rem;
}

.epx-blueignix-status {
  width: fit-content;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 760;
}

.epx-blueignix-status-danger {
  color: #ffd6d6;
  background: rgba(240, 82, 82, 0.26);
}

.epx-blueignix-status-warning {
  color: #ffe3a3;
  background: rgba(245, 185, 66, 0.2);
}

.epx-blueignix-status-info {
  color: #c4f5ff;
  background: rgba(59, 183, 255, 0.18);
}

.epx-blueignix-table-wrap {
  overflow-x: auto;
}

.epx-blueignix-table {
  width: 100%;
  min-width: 28rem;
  border-collapse: collapse;
}

.epx-blueignix-table th,
.epx-blueignix-table td {
  padding: 0.48rem 0.45rem;
  border-bottom: 1px solid var(--epx-blueignix-border);
  color: var(--epx-blueignix-muted);
  font-size: 0.8rem;
  vertical-align: middle;
}

.epx-blueignix-table th {
  color: var(--epx-blueignix-dim);
  font-size: 0.7rem;
  font-weight: 760;
  text-transform: uppercase;
}

.epx-blueignix-table td:first-child {
  color: var(--epx-blueignix-text);
  font-weight: 650;
}

.epx-blueignix-expiration-list li {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.epx-blueignix-expiration-list time {
  color: var(--epx-blueignix-yellow);
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.epx-blueignix-expiration-list time.epx-blueignix-status-danger {
  color: #ffd6d6;
}

.epx-blueignix-flow-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

.epx-blueignix-flow-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--epx-blueignix-border);
}

.epx-blueignix-flow-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.epx-blueignix-flow-list dt {
  color: var(--epx-blueignix-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.epx-blueignix-flow-list dd {
  margin: 0;
  color: var(--epx-blueignix-text);
  font-size: 1.05rem;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.epx-blueignix-link-list {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.epx-blueignix-link-list li {
  display: block;
  list-style: none;
}

.epx-blueignix-link-list li::marker {
  content: none;
}

.epx-blueignix-empty {
  display: grid;
  gap: 0.25rem;
  min-height: 5.5rem;
  align-content: center;
  padding: 0.85rem;
  border: 1px dashed var(--epx-blueignix-border);
  border-radius: var(--epx-blueignix-radius);
  color: var(--epx-blueignix-muted);
}

.epx-blueignix-empty strong {
  color: var(--epx-blueignix-text);
}

@media (min-width: 1200px) {
  .epx-blueignix-activity-list {
    display: flex;
    gap: 0;
    overflow-x: auto;
  }

  .epx-blueignix-activity-list li {
    position: relative;
    flex: 1 1 11rem;
    min-width: 11rem;
    padding: 0 1.1rem 0 0;
    border-bottom: 0;
  }

  .epx-blueignix-activity-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0.85rem;
    right: 0.35rem;
    width: 0.7rem;
    height: 1px;
    background: var(--epx-blueignix-border-strong);
  }
}

@media (min-width: 1500px) {
  body.epx-blueignix-shell {
    --epx-workspace-max-width: 112rem;
  }
}

@media (max-width: 1199.98px) {
  .epx-blueignix-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .epx-blueignix-kpi-primary {
    grid-column: span 2;
  }

  .epx-blueignix-home-grid,
  .epx-blueignix-home-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .epx-blueignix-home-header,
  .epx-blueignix-topbar {
    display: grid;
  }

  body.epx-blueignix-stage .epx-blueignix-topbar-lead {
    display: block;
  }

  body.epx-blueignix-stage .epx-blueignix-topbar-kicker {
    display: none;
  }

  .epx-blueignix-context,
  .epx-blueignix-scan {
    width: 100%;
    text-align: center;
  }

  .epx-blueignix-context {
    text-align: left;
  }

  .epx-blueignix-kpi-grid {
    grid-template-columns: 1fr;
  }

  .epx-blueignix-kpi-primary {
    grid-column: auto;
  }

  .epx-blueignix-kpi strong,
  .epx-blueignix-kpi-primary strong {
    font-size: 1.55rem;
  }

  .epx-blueignix-stock-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .epx-blueignix-stock-value {
    text-align: left;
  }

  .epx-blueignix-expiration-list li {
    grid-template-columns: 1fr;
  }
}

/* VISUAL-THEME-1B preference — authenticated Light remaps the same --epx-* /
   --epx-blueignix-* names to the VISUAL-THEME-1A Light token set. Dark remap above
   is unchanged. Layout chrome stays on body.epx-blueignix-shell. */
body.epx-blueignix-shell.epx-theme-light {
  color-scheme: light;
  --epx-color-brand-primary: #00205B;
  --epx-color-brand-primary-dark: #001845;
  --epx-color-brand-primary-light: #e8eef7;
  --epx-color-brand-accent: #D50032;
  --epx-color-brand-accent-dark: #a80028;
  --epx-color-accent-interactive: #00859B;
  --epx-color-accent-interactive-dark: #006b7d;
  --epx-color-accent-interactive-light: #e6f4f7;
  --epx-color-surface-default: #F5F7FA;
  --epx-color-surface-elevated: #FFFFFF;
  --epx-color-surface-canvas: #F5F7FA;
  --epx-color-surface-panel: #FFFFFF;
  --epx-color-surface-card: #FFFFFF;
  --epx-color-surface-interactive: #FFFFFF;
  --epx-color-surface-control: #FFFFFF;
  --epx-color-surface-list: #FFFFFF;
  --epx-color-surface-list-item: #FFFFFF;
  --epx-color-surface-list-hover: #e8eef7;
  --epx-color-surface-list-active: #00859B;
  --epx-color-table-header: #e8eef7;
  --epx-color-table-header-text: #00205B;
  --epx-color-table-row: #FFFFFF;
  --epx-color-table-row-alt: #eef3f8;
  --epx-color-table-row-hover: rgba(0, 133, 155, 0.06);
  --epx-color-scrollbar-track: #e8eef4;
  --epx-color-scrollbar-thumb: #9aa8b8;
  --epx-color-scrollbar-thumb-hover: #7d8b9c;
  --epx-color-border-default: #D9DEE8;
  --epx-color-text-primary: #0B1F3A;
  --epx-color-text-muted: #5E6A7D;
  --epx-color-status-success: #2E7D32;
  --epx-color-status-success-surface: #e8f5e9;
  --epx-color-status-warning: #B26A00;
  --epx-color-status-warning-surface: #fff4e5;
  --epx-color-status-danger: #B00020;
  --epx-color-status-danger-surface: #fde8ec;
  --epx-color-status-info: #00859B;
  --epx-color-status-info-surface: #e6f4f7;
  --epx-focus-ring: 0 0 0 0.15rem #ffffff, 0 0 0 0.35rem rgba(0, 133, 155, 0.45);
  --epx-radius-md: 0.5rem;
  --epx-radius-lg: 0.75rem;
  --bs-body-bg: #F5F7FA;
  --bs-body-color: #0B1F3A;
  --bs-secondary-bg: #FFFFFF;
  --bs-tertiary-bg: #FFFFFF;
  --bs-border-color: #D9DEE8;
  --bs-form-control-bg: #FFFFFF;
  --bs-table-bg: #FFFFFF;
  --bs-table-color: #0B1F3A;
  --bs-table-accent-bg: transparent;
  --bs-table-striped-bg: #eef3f8;
  --bs-table-striped-color: #0B1F3A;
  --bs-table-hover-bg: rgba(0, 133, 155, 0.06);
  --bs-table-hover-color: #0B1F3A;
  --bs-table-border-color: #D9DEE8;
  --epx-blueignix-bg: #F5F7FA;
  --epx-blueignix-bg-deep: #F5F7FA;
  --epx-blueignix-sidebar: #00205B;
  --epx-blueignix-panel: #FFFFFF;
  --epx-blueignix-panel-strong: #FFFFFF;
  --epx-blueignix-surface-interactive: #FFFFFF;
  --epx-blueignix-surface-control: #FFFFFF;
  --epx-blueignix-table-header: #e8eef7;
  --epx-blueignix-table-row: #FFFFFF;
  --epx-blueignix-table-row-alt: #eef3f8;
  --epx-blueignix-table-row-hover: rgba(0, 133, 155, 0.06);
  --epx-blueignix-scrollbar-track: #e8eef4;
  --epx-blueignix-scrollbar-thumb: #9aa8b8;
  --epx-blueignix-scrollbar-thumb-hover: #7d8b9c;
  --epx-blueignix-border: #D9DEE8;
  --epx-blueignix-border-strong: #00205B;
  --epx-blueignix-text: #0B1F3A;
  --epx-blueignix-muted: #5E6A7D;
  --epx-blueignix-dim: #5E6A7D;
  --epx-blueignix-cyan: #00859B;
  --epx-blueignix-blue: #00859B;
  --epx-blueignix-green: #2E7D32;
  --epx-blueignix-yellow: #B26A00;
  --epx-blueignix-red: #B00020;
  --epx-blueignix-teal: #00859B;
  --epx-blueignix-purple: #00859B;
  --epx-blueignix-focus-ring: 0 0 0 0.15rem #ffffff, 0 0 0 0.35rem rgba(0, 133, 155, 0.45);
  scrollbar-color: #9aa8b8 #e8eef4;
}

html:has(body.epx-blueignix-shell.epx-theme-light) {
  color-scheme: light;
  background: #F5F7FA;
  --epx-color-scrollbar-track: #e8eef4;
  --epx-color-scrollbar-thumb: #9aa8b8;
  --epx-color-scrollbar-thumb-hover: #7d8b9c;
  scrollbar-color: #9aa8b8 #e8eef4;
}

body.epx-blueignix-shell.epx-theme-light,
body.epx-blueignix-shell.epx-theme-light:not(.epx-blueignix-stage),
body.epx-blueignix-shell.epx-theme-light.epx-blueignix-stage {
  background: #F5F7FA;
  color: #0B1F3A;
}

body.epx-blueignix-shell.epx-theme-light > header,
body.epx-blueignix-shell.epx-theme-light .epx-nav-primary,
body.epx-blueignix-shell.epx-theme-light .app-navbar {
  background: #00205B;
}

body.epx-blueignix-shell.epx-theme-light .form-control,
body.epx-blueignix-shell.epx-theme-light .form-control:focus,
body.epx-blueignix-shell.epx-theme-light .form-control:disabled,
body.epx-blueignix-shell.epx-theme-light .form-control[readonly],
body.epx-blueignix-shell.epx-theme-light .form-select,
body.epx-blueignix-shell.epx-theme-light .form-select:focus,
body.epx-blueignix-shell.epx-theme-light .form-select:disabled,
body.epx-blueignix-shell.epx-theme-light textarea.form-control,
body.epx-blueignix-shell.epx-theme-light .form-check-input {
  color-scheme: light;
}

body.epx-blueignix-shell.epx-theme-light .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%230B1F3A' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

body.epx-blueignix-shell.epx-theme-light .form-control::-webkit-calendar-picker-indicator {
  filter: none;
  opacity: 0.85;
}

body.epx-blueignix-shell.epx-theme-light .epx-blueignix-readiness,
body.epx-blueignix-shell.epx-theme-light .epx-blueignix-kpi,
body.epx-blueignix-shell.epx-theme-light .epx-blueignix-panel,
body.epx-blueignix-shell.epx-theme-light .epx-panel,
body.epx-blueignix-shell.epx-theme-light .di-panel,
body.epx-blueignix-shell.epx-theme-light .epx-module-card,
body.epx-blueignix-shell.epx-theme-light .module-card,
body.epx-blueignix-shell.epx-theme-light .epx-stat-card,
body.epx-blueignix-shell.epx-theme-light .di-stat-card {
  box-shadow: var(--epx-elevation-shadow-sm);
}

body.epx-blueignix-shell.epx-theme-light .epx-blueignix-kpi-primary {
  background: var(--epx-color-status-success-surface);
  border-color: var(--epx-color-status-success);
}

body.epx-blueignix-shell.epx-theme-light .epx-blueignix-state-danger {
  border-color: var(--epx-color-status-danger);
}

body.epx-blueignix-shell.epx-theme-light .epx-blueignix-state-info {
  border-color: var(--epx-color-status-info);
}

body.epx-blueignix-shell.epx-theme-light .epx-blueignix-state-warning {
  border-color: var(--epx-color-status-warning);
}

body.epx-blueignix-shell.epx-theme-light .epx-blueignix-state-attention {
  border-color: var(--epx-color-status-info);
}

body.epx-blueignix-shell.epx-theme-light .epx-blueignix-state-ready {
  border-color: var(--epx-color-status-success);
}

body.epx-blueignix-shell.epx-theme-light .epx-blueignix-status-danger {
  color: var(--epx-color-status-danger);
  background: var(--epx-color-status-danger-surface);
}

body.epx-blueignix-shell.epx-theme-light .epx-blueignix-status-warning {
  color: var(--epx-color-status-warning);
  background: var(--epx-color-status-warning-surface);
}

body.epx-blueignix-shell.epx-theme-light .epx-blueignix-status-info {
  color: var(--epx-color-status-info);
  background: var(--epx-color-status-info-surface);
}

body.epx-blueignix-shell.epx-theme-light .epx-blueignix-expiration-list time.epx-blueignix-status-danger {
  color: var(--epx-color-status-danger);
}
