/* -------------------------------------------------------------------------- */
/*                                Falcon Button                               */
/* -------------------------------------------------------------------------- */
/* prettier-ignore */
.erp-surface-card {
  border: 1px solid rgba(54, 63, 82, 0.08);
  box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.05);
}

.erp-timeline {
   display: grid;
   gap: 1rem;
}

.erp-timeline-item {
   display: grid;
   grid-template-columns: 2.5rem 1fr;
   gap: 1rem;
   align-items: start;
}

.erp-timeline-step {
   width: 2.5rem;
   height: 2.5rem;
   border-radius: 999px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: #edf2ff;
   color: #2c7be5;
   font-weight: 700;
}

.erp-timeline-item.active .erp-timeline-step {
   background: #d9f2e3;
   color: #00a35a;
}

.erp-hero-card {
   border: 0;
   overflow: hidden;
   background:
      radial-gradient(
         circle at top right,
         rgba(255, 255, 255, 0.18),
         transparent 28%
      ),
      linear-gradient(135deg, #14315c 0%, #1a4d8f 42%, #2767b5 100%);
   box-shadow: 0 1rem 2rem rgba(17, 24, 39, 0.16);
}

.erp-hero-card .card-body {
   color: #f8fbff;
}

.erp-hero-card .text-muted,
.erp-hero-card .text-hero-soft {
   color: rgba(248, 251, 255, 0.78) !important;
}

.erp-hero-chip {
   display: inline-flex;
   align-items: center;
   gap: 0.4rem;
   padding: 0.35rem 0.7rem;
   border-radius: 999px;
   background: rgba(255, 255, 255, 0.16);
   color: #fff;
   font-size: 0.72rem;
   font-weight: 700;
   letter-spacing: 0.01em;
}

.erp-hero-kpi-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
   gap: 0.85rem;
}

.erp-hero-kpi {
   padding: 0.9rem 1rem;
   border-radius: 0.9rem;
   background: rgba(255, 255, 255, 0.12);
   backdrop-filter: blur(8px);
}

.erp-hero-kpi-label {
   font-size: 0.7rem;
   text-transform: uppercase;
   letter-spacing: 0.06em;
   color: rgba(248, 251, 255, 0.72);
   margin-bottom: 0.2rem;
}

.erp-hero-kpi-value {
   font-size: 1.25rem;
   font-weight: 700;
   color: #fff;
}

.erp-hero-kpi-meta {
   font-size: 0.75rem;
   color: rgba(248, 251, 255, 0.75);
}

.erp-spotlight-card {
   border: 1px solid rgba(44, 123, 229, 0.12);
   border-radius: 1rem;
   background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(243, 247, 252, 0.96)
   );
   box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.05);
}

.erp-spotlight-card.is-success {
   border-color: rgba(0, 163, 90, 0.14);
}

.erp-spotlight-card.is-warning {
   border-color: rgba(245, 124, 0, 0.18);
}

.erp-spotlight-card.is-danger {
   border-color: rgba(230, 55, 87, 0.16);
}

.erp-panel-label {
   font-size: 0.7rem;
   text-transform: uppercase;
   letter-spacing: 0.08em;
   color: #748194;
   margin-bottom: 0.25rem;
}

.erp-panel-value {
   font-size: 1.15rem;
   font-weight: 700;
   color: #0b1727;
}

.erp-mini-metrics {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
   gap: 0.85rem;
}

.erp-mini-metric {
   border: 1px solid rgba(79, 89, 107, 0.1);
   border-radius: 0.9rem;
   padding: 0.9rem 1rem;
   background: #fff;
}

.erp-mini-metric .value {
   display: block;
   font-size: 1.2rem;
   font-weight: 700;
   color: #0b1727;
}

.erp-mini-metric .label {
   display: block;
   font-size: 0.72rem;
   text-transform: uppercase;
   letter-spacing: 0.06em;
   color: #748194;
}

.erp-mini-metric .meta {
   display: block;
   font-size: 0.77rem;
   color: #5e6e82;
   margin-top: 0.15rem;
}

.erp-stage-list {
   display: grid;
   gap: 0.75rem;
}

.erp-stage-item {
   display: grid;
   grid-template-columns: 2.1rem 1fr;
   gap: 0.9rem;
   align-items: start;
   padding: 0.85rem 0.95rem;
   border: 1px solid rgba(79, 89, 107, 0.1);
   border-radius: 0.9rem;
   background: #fff;
}

.erp-stage-bullet {
   width: 2.1rem;
   height: 2.1rem;
   border-radius: 999px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: #edf2ff;
   color: #2c7be5;
   font-weight: 700;
}

.erp-stage-item.is-done .erp-stage-bullet {
   background: #d9f2e3;
   color: #00a35a;
}

.erp-stage-item.is-live .erp-stage-bullet {
   background: #fff4d9;
   color: #f5803e;
}

.erp-action-stack {
   display: grid;
   gap: 0.6rem;
}

.erp-action-link {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 0.75rem;
   padding: 0.85rem 1rem;
   border: 1px solid rgba(79, 89, 107, 0.1);
   border-radius: 0.9rem;
   background: #fff;
   color: #0b1727;
   text-decoration: none;
   transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      border-color 0.18s ease;
}

.erp-action-link:hover {
   transform: translateY(-1px);
   box-shadow: 0 0.85rem 1.5rem rgba(44, 123, 229, 0.08);
   border-color: rgba(44, 123, 229, 0.2);
   color: #0b1727;
}

.erp-progress-shell {
   height: 0.75rem;
   border-radius: 999px;
   background: #edf2f9;
   overflow: hidden;
}

.erp-progress-fill {
   height: 100%;
   border-radius: inherit;
   background: linear-gradient(90deg, #2c7be5 0%, #00a35a 100%);
}

.erp-glass-note {
   border: 1px solid rgba(255, 255, 255, 0.12);
   background: rgba(255, 255, 255, 0.08);
   border-radius: 1rem;
   padding: 1rem;
}

.erp-chart-card {
   border: 1px solid rgba(79, 89, 107, 0.1);
   border-radius: 1rem;
   background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(246, 249, 252, 0.98)
   );
   box-shadow: 0 0.85rem 1.5rem rgba(15, 23, 42, 0.05);
}

.erp-chart-canvas {
   min-height: 230px;
}

.erp-chart-canvas.is-tall {
   min-height: 270px;
}

.erp-kpi-grid {
   display: grid;
   grid-template-columns: repeat(4, minmax(0, 1fr));
   gap: 1rem;
   align-items: stretch;
}

.erp-kpi-card {
   display: block;
   width: 100%;
   position: relative;
   overflow: hidden;
   border: 1px solid rgba(79, 89, 107, 0.1);
   border-radius: 1rem;
   background: #fff;
   box-shadow: 0 0.85rem 1.5rem rgba(15, 23, 42, 0.05);
   padding: 1.1rem 1.1rem 1rem;
   text-decoration: none;
   color: #0b1727;
}

.erp-kpi-card::after {
   content: "";
   position: absolute;
   inset: 0 auto 0 0;
   width: 4px;
   background: #2c7be5;
}

.erp-kpi-card.tone-success::after {
   background: #00a35a;
}
.erp-kpi-card.tone-warning::after {
   background: #f5803e;
}
.erp-kpi-card.tone-danger::after {
   background: #e63757;
}
.erp-kpi-card.tone-primary::after {
   background: #2c7be5;
}

.erp-kpi-icon {
   width: 2.25rem;
   height: 2.25rem;
   border-radius: 0.8rem;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: #edf2ff;
   color: #2c7be5;
   flex-shrink: 0;
}

.erp-kpi-card.tone-success .erp-kpi-icon {
   background: #d9f2e3;
   color: #00a35a;
}
.erp-kpi-card.tone-warning .erp-kpi-icon {
   background: #fff4d9;
   color: #f5803e;
}
.erp-kpi-card.tone-danger .erp-kpi-icon {
   background: #fdecef;
   color: #e63757;
}

.erp-kpi-title {
   font-size: 0.72rem;
   text-transform: uppercase;
   letter-spacing: 0.06em;
   color: #748194;
}

.erp-kpi-value {
   font-size: 2rem;
   line-height: 1.05;
   font-weight: 700;
   color: #0b1727;
}

.erp-kpi-trend {
   display: inline-flex;
   align-items: center;
   gap: 0.35rem;
   font-size: 0.84rem;
   font-weight: 700;
}

.erp-kpi-meta {
   font-size: 0.75rem;
   color: #748194;
}

.erp-section-caption {
   font-size: 0.7rem;
   text-transform: uppercase;
   letter-spacing: 0.08em;
   color: #748194;
}

.erp-alert-list {
   display: grid;
   gap: 0.85rem;
}

.erp-alert-item {
   width: 100%;
   display: flex;
   align-items: flex-start;
   gap: 0.85rem;
   padding: 0.95rem 1rem;
   border-radius: 0.95rem;
   border: 1px solid rgba(79, 89, 107, 0.1);
   background: #fff;
   text-decoration: none;
   color: #0b1727;
}

.erp-alert-item.tone-danger {
   border-color: rgba(230, 55, 87, 0.18);
   background: #fff8f8;
}
.erp-alert-item.tone-warning {
   border-color: rgba(245, 128, 62, 0.18);
   background: #fffaf3;
}
.erp-alert-item.tone-info {
   border-color: rgba(39, 188, 253, 0.18);
   background: #f5fbff;
}
.erp-alert-item.tone-success {
   background: #d9f2e3;
   border-color: rgb(0, 163, 90, 0.18);
}

.erp-alert-icon {
   width: 2rem;
   height: 2rem;
   border-radius: 999px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
}

.erp-alert-item.tone-danger .erp-alert-icon {
   background: #fdecef;
   color: #e63757;
}
.erp-alert-item.tone-warning .erp-alert-icon {
   background: #fff4d9;
   color: #f5803e;
}
.erp-alert-item.tone-info .erp-alert-icon {
   background: #e8f7ff;
   color: #27bcfd;
}

.erp-alert-item.tone-success .erp-alert-icon {
   background: #e8f7ff;
   color: rgb(0, 163, 90);
}

.erp-activity-list {
   display: grid;
   gap: 0.75rem;
}

.erp-activity-item {
   display: grid;
   grid-template-columns: 0.9rem 1fr;
   gap: 0.85rem;
}

.erp-activity-dot {
   width: 0.9rem;
   height: 0.9rem;
   border-radius: 999px;
   margin-top: 0.35rem;
   background: #2c7be5;
}

.erp-quick-grid {
   display: grid;
   grid-template-columns: repeat(6, minmax(0, 1fr));
   gap: 0.85rem;
   align-items: stretch;
}

.erp-quick-tile {
   display: block;
   width: 100%;
   border: 1px solid rgba(79, 89, 107, 0.1);
   border-radius: 1rem;
   background: #fff;
   padding: 1rem;
   text-decoration: none;
   color: #0b1727;
   box-shadow: 0 0.75rem 1.35rem rgba(15, 23, 42, 0.04);
   transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      border-color 0.18s ease;
}

.erp-quick-tile:hover {
   transform: translateY(-2px);
   box-shadow: 0 1rem 1.8rem rgba(15, 23, 42, 0.08);
   border-color: rgba(44, 123, 229, 0.18);
   color: #0b1727;
}

.erp-tone-pill {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-width: 2rem;
   padding: 0.35rem 0.55rem;
   border-radius: 999px;
   font-size: 0.72rem;
   font-weight: 700;
}

.erp-tone-pill.tone-primary {
   background: #edf2ff;
   color: #2c7be5;
}
.erp-tone-pill.tone-info {
   background: #e8f7ff;
   color: #27bcfd;
}
.erp-tone-pill.tone-success {
   background: #d9f2e3;
   color: #00a35a;
}
.erp-tone-pill.tone-warning {
   background: #fff4d9;
   color: #f5803e;
}
.erp-tone-pill.tone-danger {
   background: #fdecef;
   color: #e63757;
}
.erp-tone-pill.tone-secondary {
   background: #edf2f9;
   color: #5e6e82;
}

.erp-exec-sidecard {
   border: 1px solid rgba(29, 78, 216, 0.1);
   border-radius: 1rem;
   background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(247, 250, 255, 0.98)
   );
   box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.06);
}

.erp-exec-filter-bar {
   display: flex;
   flex-wrap: wrap;
   gap: 0.75rem;
}

.erp-period-pill {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-width: 5.25rem;
   padding: 0.5rem 0.9rem;
   border-radius: 999px;
   text-decoration: none;
   border: 1px solid rgba(255, 255, 255, 0.18);
   background: rgba(255, 255, 255, 0.1);
   color: #fff;
   font-size: 0.75rem;
   font-weight: 700;
   transition:
      transform 0.18s ease,
      background 0.18s ease,
      border-color 0.18s ease;
}

.erp-period-pill:hover,
.erp-period-pill.is-active {
   color: #0f172a;
   background: #fff;
   border-color: rgba(255, 255, 255, 0.88);
   transform: translateY(-1px);
}

.erp-health-card {
   padding: 1.2rem;
   border-radius: 1rem;
   background: rgba(255, 255, 255, 0.14);
   border: 1px solid rgba(255, 255, 255, 0.15);
   backdrop-filter: blur(12px);
}

.erp-health-score {
   font-size: 2.6rem;
   line-height: 1;
   font-weight: 800;
   color: #fff;
}

.erp-health-label {
   color: rgba(248, 251, 255, 0.82);
   font-size: 0.85rem;
   font-weight: 600;
}

.erp-health-breakdown {
   display: grid;
   gap: 0.65rem;
}

.erp-health-metric {
   display: flex;
   justify-content: space-between;
   gap: 1rem;
   color: rgba(248, 251, 255, 0.88);
   font-size: 0.8rem;
}

.erp-health-metric strong {
   color: #fff;
}

.erp-exec-mini-grid {
   display: grid;
   grid-template-columns: repeat(4, minmax(0, 1fr));
   gap: 0.85rem;
}

.erp-exec-mini-strip {
   padding-inline: 0.1rem;
}

.erp-exec-mini-strip .erp-mini-metric {
   background: rgba(255, 255, 255, 0.96);
   border-color: rgba(255, 255, 255, 0.12);
   box-shadow: 0 0.75rem 1.35rem rgba(15, 23, 42, 0.14);
}

.erp-exec-kpi-grid {
   display: grid;
   grid-template-columns: repeat(5, minmax(0, 1fr));
   gap: 1rem;
}

.erp-exec-kpi-grid .erp-kpi-card {
   min-height: 9.75rem;
}

.erp-side-status {
   display: grid;
   gap: 0.9rem;
}

.erp-side-status div {
   display: flex;
   justify-content: space-between;
   gap: 1rem;
   font-size: 0.8rem;
   color: #5e6e82;
   padding-top: 0.75rem;
   border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.erp-side-status strong {
   color: #0f172a;
}

.erp-alert-meta {
   display: inline-block;
   margin-top: 0.35rem;
   font-size: 0.72rem;
   font-weight: 700;
   color: #5e6e82;
}

.erp-inline-pipeline {
   display: grid;
   grid-template-columns: repeat(4, minmax(0, 1fr));
   gap: 0.75rem;
}

.erp-inline-pipeline-step {
   padding: 0.8rem 0.85rem;
   border-radius: 0.85rem;
   background: #f8fbff;
   border: 1px solid rgba(148, 163, 184, 0.14);
   text-align: center;
}

.erp-inline-pipeline-step strong,
.erp-inline-pipeline-step span,
.erp-inline-pipeline-step small {
   display: block;
}

.erp-inline-pipeline-step strong {
   font-size: 1.05rem;
   color: #0f172a;
}

.erp-inline-pipeline-step span {
   color: #334155;
   font-size: 0.74rem;
   font-weight: 700;
}

.erp-inline-pipeline-step small {
   color: #64748b;
   font-size: 0.7rem;
}

.erp-donut-legend {
   display: grid;
   gap: 0.55rem;
   margin-top: 1rem;
}

.erp-donut-legend div {
   display: flex;
   justify-content: space-between;
   gap: 1rem;
   font-size: 0.75rem;
   color: #475569;
}

.erp-donut-legend strong {
   color: #0f172a;
}

.erp-ranking-tabs {
   display: flex;
   flex-wrap: wrap;
   gap: 0.5rem;
}

.erp-ranking-tab {
   border: 1px solid rgba(148, 163, 184, 0.16);
   background: #f8fbff;
   color: #334155;
   border-radius: 999px;
   padding: 0.45rem 0.8rem;
   font-size: 0.74rem;
   font-weight: 700;
}

.erp-ranking-tab.is-active {
   border-color: rgba(29, 78, 216, 0.28);
   background: #e8f1ff;
   color: #1d4ed8;
}

.erp-quick-tile {
   min-height: 6.6rem;
}

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

   .erp-inline-pipeline {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }

   .erp-kpi-grid,
   .erp-quick-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }
}

@media (max-width: 767.98px) {
   .erp-exec-mini-grid,
   .erp-exec-kpi-grid,
   .erp-inline-pipeline,
   .erp-kpi-grid,
   .erp-quick-grid {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 1399.98px) {
   .erp-exec-mini-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }
}

/* Dashboard visual polish */
.erp-hero-card {
   background:
      radial-gradient(
         circle at top right,
         rgba(255, 255, 255, 0.22),
         transparent 28%
      ),
      radial-gradient(
         circle at bottom left,
         rgba(14, 165, 233, 0.16),
         transparent 30%
      ),
      linear-gradient(135deg, #0f2747 0%, #194a7f 42%, #2563a6 100%);
   box-shadow: 0 1.4rem 2.7rem rgba(15, 23, 42, 0.18);
}

.erp-hero-card h2 {
   font-size: clamp(1.75rem, 2.2vw, 2.35rem);
   font-weight: 800;
   letter-spacing: -0.03em;
}

.erp-hero-chip {
   padding: 0.42rem 0.82rem;
   font-size: 0.74rem;
   background: rgba(255, 255, 255, 0.14);
   border: 1px solid rgba(255, 255, 255, 0.12);
}

.erp-glass-note,
.erp-health-card,
.erp-hero-kpi {
   box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.erp-health-card {
   background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0.1)
   );
}

.erp-health-score {
   letter-spacing: -0.05em;
}

.erp-health-breakdown {
   margin-top: 1rem;
}

.erp-health-metric {
   padding: 0.35rem 0;
   border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.erp-health-metric:first-child {
   border-top: 0;
}

.erp-exec-sidecard,
.erp-chart-card,
.erp-spotlight-card,
.erp-surface-card {
   border-radius: 1.1rem;
   box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.055);
}

.erp-panel-label,
.erp-section-caption,
.erp-kpi-title,
.erp-mini-metric .label {
   font-size: 0.68rem;
   letter-spacing: 0.09em;
}

.erp-kpi-card {
   padding: 1.15rem 1.15rem 1.05rem;
   border-color: rgba(71, 85, 105, 0.1);
   box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.045);
   transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      border-color 0.18s ease;
}

.erp-kpi-card:hover {
   transform: translateY(-2px);
   box-shadow: 0 1.2rem 2rem rgba(15, 23, 42, 0.08);
   border-color: rgba(37, 99, 166, 0.16);
   color: #0b1727;
}

.erp-kpi-value {
   font-size: clamp(1.7rem, 2vw, 2.2rem);
   font-weight: 800;
   letter-spacing: -0.04em;
}

.erp-kpi-meta {
   font-size: 0.78rem;
   line-height: 1.45;
}

.erp-kpi-trend {
   font-size: 0.82rem;
}

.erp-kpi-icon {
   width: 2.45rem;
   height: 2.45rem;
   border-radius: 0.95rem;
}

.erp-mini-metric {
   padding: 1rem 1rem 0.95rem;
   box-shadow: 0 0.65rem 1.25rem rgba(15, 23, 42, 0.035);
}

.erp-mini-metric .value {
   font-size: 1.35rem;
   letter-spacing: -0.03em;
}

.erp-stage-item,
.erp-action-link,
.erp-inline-pipeline-step,
.erp-quick-tile,
.erp-alert-item {
   transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      border-color 0.18s ease,
      background 0.18s ease;
}

.erp-stage-item:hover,
.erp-inline-pipeline-step:hover {
   transform: translateY(-1px);
   box-shadow: 0 0.85rem 1.4rem rgba(15, 23, 42, 0.05);
}

.erp-action-link {
   font-size: 0.86rem;
   border-radius: 0.95rem;
}

.erp-action-link strong {
   font-weight: 700;
   letter-spacing: -0.02em;
}

.erp-chart-card .card-body,
.erp-spotlight-card .card-body,
.erp-surface-card .card-body {
   padding: 1.2rem 1.2rem 1.15rem;
}

.erp-chart-canvas {
   border-radius: 0.9rem;
}

.erp-inline-pipeline-step {
   background: linear-gradient(180deg, #fbfdff, #f4f8fc);
}

.erp-inline-pipeline-step strong {
   letter-spacing: -0.03em;
}

.erp-donut-legend {
   margin-top: 1.15rem;
}

.erp-donut-legend div {
   padding-bottom: 0.4rem;
   border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.erp-donut-legend div:last-child {
   border-bottom: 0;
   padding-bottom: 0;
}

.erp-alert-item {
   padding: 1rem 1rem;
}

.erp-alert-item:hover {
   transform: translateY(-1px);
   box-shadow: 0 0.9rem 1.5rem rgba(15, 23, 42, 0.045);
}

.erp-alert-icon {
   width: 2.15rem;
   height: 2.15rem;
}

.erp-alert-meta {
   letter-spacing: 0.02em;
}

.erp-activity-list {
   gap: 0.95rem;
}

.erp-activity-item {
   grid-template-columns: 1rem 1fr;
   padding-bottom: 0.95rem;
   border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.erp-activity-item:last-child {
   padding-bottom: 0;
   border-bottom: 0;
}

.erp-activity-dot {
   width: 0.75rem;
   height: 0.75rem;
   margin-top: 0.5rem;
   box-shadow: 0 0 0 4px rgba(44, 123, 229, 0.12);
}

.erp-ranking-tab {
   transition: all 0.18s ease;
}

.erp-ranking-tab:hover {
   border-color: rgba(29, 78, 216, 0.2);
   color: #1d4ed8;
}

.erp-quick-grid {
   gap: 1rem;
}

.erp-quick-tile {
   padding: 1.05rem 1rem 1rem;
   border-radius: 1rem;
   background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.erp-quick-tile:hover {
   transform: translateY(-2px);
   box-shadow: 0 1.05rem 1.8rem rgba(15, 23, 42, 0.07);
}

.erp-quick-tile .fs-5 {
   font-size: 1.25rem !important;
   line-height: 1.2;
   letter-spacing: -0.025em;
   font-weight: 700 !important;
}

.erp-quick-tile .fs-10 {
   font-size: 0.74rem !important;
   line-height: 1.45;
}

.erp-quick-tile {
   padding: 0.8rem 0.85rem 0.78rem;
}

.erp-quick-tile .mb-3 {
   margin-bottom: 0.55rem !important;
}

.erp-quick-tile .fw-semi-bold {
   font-size: 0.9rem;
}

.erp-quick-tile .erp-tone-pill {
   font-size: 0.68rem;
   padding: 0.28rem 0.5rem;
}

.table thead.bg-200 th {
   font-size: 0.68rem;
   text-transform: uppercase;
   letter-spacing: 0.08em;
   color: #64748b;
}

.table tbody td {
   padding-top: 0.72rem;
   padding-bottom: 0.72rem;
   vertical-align: middle;
}

.erp-exec-shell .mb-3 {
   margin-bottom: 0.45rem !important;
}

.erp-exec-shell .row.g-3 {
   --falcon-gutter-y: 0.45rem;
}

.erp-exec-shell .card-body.p-4 {
   padding: 0.85rem !important;
}

.erp-exec-shell .card-body.p-4.p-xl-5 {
   padding: 1rem !important;
}

.erp-exec-hero .row.g-4 {
   --falcon-gutter-y: 0.65rem;
}
/*# sourceMappingURL=user.css.map */

/* Final dashboard compaction overrides */
.erp-exec-shell section {
   margin-bottom: 0.45rem !important;
}

.erp-exec-shell .row.g-3,
.erp-exec-shell .row.g-4 {
   --falcon-gutter-y: 0.45rem;
}

.erp-chart-card .card-body,
.erp-spotlight-card .card-body,
.erp-surface-card .card-body {
   padding: 0.8rem 0.9rem 0.8rem !important;
}

.erp-chart-canvas {
   min-height: 180px !important;
}

.erp-chart-canvas.is-tall {
   min-height: 220px !important;
}

.erp-alert-list {
   gap: 0.55rem !important;
}

.erp-alert-item {
   padding: 0.8rem 0.9rem !important;
}

.erp-activity-list {
   gap: 0.45rem !important;
}

.erp-activity-item {
   padding-bottom: 0.45rem !important;
}

.erp-quick-grid {
   gap: 0.75rem !important;
}

.erp-quick-tile {
   min-height: auto !important;
   padding: 0.7rem 0.78rem 0.66rem !important;
}

.erp-quick-tile .mb-3 {
   margin-bottom: 0.45rem !important;
}

.erp-quick-metric {
   font-size: 0.96rem;
   line-height: 1.2;
   font-weight: 700;
   color: #1e293b;
   margin-bottom: 0.22rem;
}

.erp-quick-detail {
   font-size: 0.71rem;
   line-height: 1.32;
   color: #64748b;
}

.erp-top-nav {
   position: relative;
}

.erp-top-nav.has-overflow::after {
   content: "";
   position: absolute;
   right: 18.5rem;
   top: 0;
   width: 3rem;
   height: 100%;
   pointer-events: none;
   background: linear-gradient(
      to right,
      rgba(241, 245, 249, 0),
      rgba(255, 255, 255, 0.88)
   );
}

.erp-top-nav-list {
   display: flex;
   align-items: center;
   flex-wrap: nowrap;
   overflow: visible;
   min-width: 0;
}

.erp-top-nav .navbar-collapse,
.erp-top-nav .navbar-collapse.scrollbar {
   overflow: visible;
}

.erp-top-nav-list > .nav-item {
   flex: 0 0 auto;
   white-space: nowrap;
}

.erp-top-nav .navbar-nav {
   align-items: center;
   gap: 0.15rem;
}

.erp-top-nav .nav-link {
   display: inline-flex;
   align-items: center;
   gap: 0.1rem;
   padding: 0.7rem 0.85rem !important;
   border-radius: 0.9rem;
   color: #334155;
   font-size: 0.82rem;
   font-weight: 700;
   letter-spacing: 0.01em;
   transition:
      background 0.18s ease,
      color 0.18s ease,
      box-shadow 0.18s ease;
}

.erp-top-nav .nav-link:hover,
.erp-top-nav .nav-link:focus,
.erp-top-nav .nav-link.active {
   color: #0f172a;
   background: rgba(255, 255, 255, 0.82);
   box-shadow: 0 0.45rem 1rem rgba(15, 23, 42, 0.06);
}

.erp-nav-root-icon {
   font-size: 0.75rem;
   opacity: 0.85;
}

.erp-nav-menu {
   position: relative;
   overflow: visible;
   min-width: 18.5rem;
   padding: 0.55rem;
   border-radius: 1rem;
   background: rgba(255, 255, 255, 0.98);
   box-shadow: 0 1.25rem 2.5rem rgba(15, 23, 42, 0.12);
}

.erp-nav-menu-level-1 {
   margin-top: 0.55rem;
}

.erp-nav-overflow {
   display: none;
}

.erp-nav-overflow.active,
.erp-nav-overflow.is-measuring {
   display: list-item;
}

.erp-nav-overflow-menu {
   min-width: 15.5rem;
   overflow: visible;
   z-index: 1250;
}

.erp-nav-overflow-menu > .nav-item {
   position: relative;
}

.erp-nav-overflow-menu > .nav-item > .nav-link {
   display: grid;
   grid-template-columns: 1.2rem 1fr auto;
   align-items: center;
   gap: 0.65rem;
   width: 100%;
   padding: 0.6rem 0.72rem !important;
   border-radius: 0.82rem;
   color: #1e293b;
   font-size: 0.82rem;
   font-weight: 600;
   text-align: left;
}

.erp-nav-overflow-menu > .nav-item > .nav-link:hover,
.erp-nav-overflow-menu > .nav-item > .nav-link:focus,
.erp-nav-overflow-menu > .nav-item > .nav-link.active,
.erp-nav-overflow-menu > .nav-item.show > .nav-link {
   color: #0f172a;
   background: linear-gradient(180deg, #f8fbff, #eef5ff);
   box-shadow: none;
}

.erp-nav-overflow-menu > .erp-nav-root > .dropdown-menu {
   top: 0;
   left: 100%;
   margin-top: 0;
   margin-left: 0.35rem;
   z-index: 1260;
}

.erp-nav-heading,
.erp-nav-subheading {
   padding: 0.4rem 0.7rem 0.3rem;
   color: #94a3b8;
   font-size: 0.63rem;
   font-weight: 800;
   letter-spacing: 0.12em;
   text-transform: uppercase;
}

.erp-nav-link,
.erp-nav-subtoggle {
   display: grid;
   grid-template-columns: 1.2rem 1fr auto;
   align-items: center;
   gap: 0.65rem;
   padding: 0.6rem 0.72rem;
   border-radius: 0.82rem;
   color: #1e293b;
   font-size: 0.82rem;
   font-weight: 600;
   text-align: left;
}

.erp-nav-link:hover,
.erp-nav-link:focus,
.erp-nav-subtoggle:hover,
.erp-nav-subtoggle:focus,
.erp-nav-link.active,
.erp-nav-subtoggle.active {
   color: #0f172a;
   background: linear-gradient(180deg, #f8fbff, #eef5ff);
}

.erp-nav-item-icon {
   width: 1.2rem;
   color: #3b82f6;
   font-size: 0.76rem;
   text-align: center;
   flex-shrink: 0;
}

.erp-nav-label {
   text-align: left;
}

.erp-nav-caret {
   color: #94a3b8;
   font-size: 0.72rem;
   flex-shrink: 0;
   transition: transform 0.18s ease;
}

.erp-nav-branch {
   position: relative;
}

.erp-nav-branch.is-open > .erp-nav-subtoggle .erp-nav-caret {
   transform: rotate(90deg);
}

.erp-nav-flyout-menu {
   display: none;
   position: absolute;
   top: 0;
   left: 100%;
   right: auto;
   bottom: auto;
   margin-left: 0.35rem;
   min-width: 16rem;
   padding: 0.45rem;
   border-radius: 0.95rem;
   background: rgba(255, 255, 255, 0.99);
   box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.12);
   transform: none !important;
   z-index: 1100;
}

.erp-nav-flyout-menu.show {
   display: block;
}

.erp-nav-branch {
   position: relative;
}

.erp-nav-flyout-level-2,
.erp-nav-flyout-level-3 {
   top: 0 !important;
   left: 100% !important;
}

.erp-nav-flyout-menu[data-bs-popper] {
   top: 0 !important;
   left: 100% !important;
   margin-top: 0 !important;
   transform: none !important;
}

.erp-nav-flyout-menu .erp-nav-link,
.erp-nav-flyout-menu .erp-nav-subtoggle {
   padding-top: 0.56rem;
   padding-bottom: 0.56rem;
}

@media (min-width: 992px) {
   .erp-nav-branch:hover > .erp-nav-flyout-menu {
      display: block;
   }
}

.erp-nav-menu .dropdown-item:active {
   background: #eef5ff;
   color: #0f172a;
}

.erp-user-toggle {
   display: inline-flex;
   align-items: center;
   gap: 0.7rem;
   padding: 0.35rem 0.55rem 0.35rem 0.4rem;
   border: 1px solid rgba(148, 163, 184, 0.18);
   border-radius: 999px;
   background: rgba(255, 255, 255, 0.84);
   box-shadow: 0 0.55rem 1.2rem rgba(15, 23, 42, 0.06);
}

.erp-user-toggle:hover,
.erp-user-toggle:focus {
   background: rgba(255, 255, 255, 0.96);
   border-color: rgba(59, 130, 246, 0.24);
}

.erp-user-avatar {
   width: 2.25rem;
   height: 2.25rem;
}

.erp-user-meta {
   display: grid;
   text-align: left;
   line-height: 1.15;
}

.erp-user-name {
   font-size: 0.78rem;
   font-weight: 700;
   color: #1e293b;
}

.erp-user-role {
   font-size: 0.67rem;
   color: #64748b;
}

.erp-user-menu {
   min-width: 16rem;
   padding: 0;
   border-radius: 1rem;
   background: rgba(255, 255, 255, 0.99);
   box-shadow: 0 1.15rem 2.4rem rgba(15, 23, 42, 0.14);
}

.erp-user-menu-header {
   padding: 0.95rem 1rem 0.85rem;
}

.erp-user-menu-name {
   font-size: 0.88rem;
   font-weight: 700;
   color: #0f172a;
}

.erp-user-menu-subtitle {
   margin-top: 0.15rem;
   font-size: 0.72rem;
   color: #64748b;
}

.erp-user-menu-item {
   display: grid;
   grid-template-columns: 1rem 1fr auto;
   align-items: center;
   gap: 0.7rem;
   padding: 0.78rem 1rem;
   font-size: 0.8rem;
   font-weight: 600;
   color: #1e293b;
}

.erp-user-menu-item small {
   font-size: 0.66rem;
   color: #94a3b8;
}

.erp-user-menu-item:disabled {
   opacity: 0.78;
   cursor: default;
   background: transparent;
}

.erp-user-menu-icon {
   color: #3b82f6;
   text-align: center;
}

.erp-user-menu-item-danger {
   color: #b42318;
}

.erp-user-menu-item-danger .erp-user-menu-icon {
   color: #e11d48;
}

@media (max-width: 991.98px) {
   .erp-top-nav.has-overflow::after {
      display: none;
   }

   .erp-top-nav-list {
      display: block;
      overflow: visible;
   }

   .erp-top-nav-list > .nav-item {
      white-space: normal;
   }

   .erp-top-nav .navbar-nav {
      align-items: stretch;
      gap: 0.2rem;
      padding-top: 0.4rem;
   }

   .erp-top-nav .nav-link {
      justify-content: space-between;
   }

   .erp-nav-menu {
      min-width: 100%;
      margin-top: 0.35rem;
      margin-left: 0;
      box-shadow: none;
      border: 1px solid rgba(148, 163, 184, 0.18);
   }

   .erp-top-nav .nav-link {
      justify-content: flex-start;
   }

   .erp-nav-flyout-level-2,
   .erp-nav-flyout-level-3 {
      position: static !important;
      inset: auto !important;
      transform: none !important;
      min-width: 100%;
      margin-top: 0.35rem;
      margin-left: 0.4rem;
      box-shadow: none;
      border: 1px solid rgba(148, 163, 184, 0.18);
   }

   .erp-nav-overflow,
   .erp-nav-overflow.active,
   .erp-nav-overflow.is-measuring {
      display: none !important;
   }
}
