:root {
  --public-bg: #f3f6fc;
  --public-bg-soft: #eef3ff;
  --public-ink: #25396f;
  --public-muted: #6b7a99;
  --public-border: #e8edf6;
  --public-hero-a: #173d8f;
  --public-hero-b: #2c7be5;
  --public-surface: #ffffff;
  --public-surface-soft: #f8fbff;
  --public-surface-muted: #f1f5fd;
  --public-block-gap: 1.45rem;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 640px at -8% -12%, rgba(91, 129, 223, 0.25), transparent 68%),
    radial-gradient(980px 560px at 104% 10%, rgba(110, 206, 230, 0.22), transparent 66%),
    linear-gradient(162deg, #eff4ff 0%, #edf5ff 38%, #f5f8ff 70%, #edf3ff 100%);
  background-attachment: fixed;
}

#app {
  background: transparent;
}

#sidebar .sidebar-wrapper {
  position: fixed;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    180deg,
    rgba(250, 253, 255, 0.84) 0%,
    rgba(238, 246, 255, 0.76) 52%,
    rgba(224, 236, 255, 0.69) 100%
  );
  border-right: 1px solid rgba(170, 192, 234, 0.58);
  box-shadow: 8px 0 24px rgba(32, 64, 128, 0.12);
  -webkit-backdrop-filter: blur(8px) saturate(135%);
  backdrop-filter: blur(8px) saturate(135%);
  overflow: hidden;
}

#sidebar .sidebar-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, transparent 30%, rgba(33, 72, 156, 0.08) 100%);
  pointer-events: none;
}

#sidebar .sidebar-header,
#sidebar .sidebar-menu,
#sidebar .sidebar-footer {
  position: relative;
  z-index: 1;
}

#sidebar .sidebar-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(245, 250, 255, 0.32));
  border-bottom: 1px solid rgba(216, 229, 252, 0.72);
}

#sidebar .sidebar-menu {
  flex: 1 1 auto;
  overflow-y: auto;
  border-top: 1px solid rgba(226, 236, 251, 0.8);
}

#sidebar .sidebar-footer {
  margin: 0.72rem 0.78rem 0.95rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#main {
  background: transparent;
}

#main-content {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 1.35rem 1.35rem 1.45rem;
  margin-bottom: 0;
}

.page-heading {
  display: none;
}

.navbar.navbar-top {
  background: linear-gradient(180deg, #f4f8ff 0%, #e9f1ff 100%);
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0.2rem 0.4rem 0.2rem 0.75rem;
}

#main.layout-navbar > header {
  position: sticky;
  top: 0;
  z-index: 9;
  background: linear-gradient(180deg, #f5f9ff 0%, #eaf2ff 100%);
  border-bottom: 1px solid #cad9f4;
  box-shadow: 0 6px 16px rgba(27, 60, 124, 0.09);
}

#main.layout-navbar > header .navbar.navbar-top {
  position: relative;
  top: auto;
  z-index: auto;
  border-bottom: 0;
}

.topbar-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.12rem 0.08rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #243f78;
  box-shadow: none;
}

.topbar-user-trigger:hover,
.topbar-user-trigger:focus-visible {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.topbar-user-trigger.dropdown-toggle::after {
  margin-left: 0.2rem;
}

.topbar-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.topbar-avatar.topbar-avatar-sm {
  width: 2.05rem;
  height: 2.05rem;
}

.topbar-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar-avatar-fallback {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #2d66c7 0%, #5aa8ea 100%);
  border-radius: 999px;
}

.topbar-user-meta {
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.topbar-user-name {
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.86rem;
}

.topbar-user-role {
  font-size: 0.72rem;
  color: #6880b0;
  letter-spacing: 0.01em;
}

footer .footer {
  margin-top: 0;
  background: linear-gradient(180deg, #eff5ff 0%, #e5eeff 100%);
  border: 0;
  border-top: 1px solid #cad9f4;
  border-radius: 0;
  box-shadow: 0 -6px 16px rgba(27, 60, 124, 0.1);
  padding: 0.55rem 0.85rem;
}

footer .footer.footer-global {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

footer .footer.footer-global .footer-left,
footer .footer.footer-global .footer-right {
  margin-bottom: 0;
}

footer .footer.footer-global .footer-right {
  margin-left: auto;
  text-align: right;
}

#main.layout-navbar {
  --navbar-height: 64px;
  min-height: 100vh;
  display: flex !important;
  flex-direction: column;
}

#main.layout-navbar > header.mb-3 {
  margin-bottom: 0 !important;
}

#main.layout-navbar #main-content {
  flex: 1 1 auto;
  padding-bottom: max(4.6rem, calc(env(safe-area-inset-bottom) + 4rem));
}

#main.layout-navbar > footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  margin-top: 0;
  padding: 0;
}

@media (min-width: 1200px) {
  #main.layout-navbar > footer {
    left: 300px;
  }

  #sidebar.inactive ~ #main.layout-navbar > footer {
    left: 0;
  }
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(140deg, var(--public-hero-a), var(--public-hero-b));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  color: var(--public-ink);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.sidebar-caption {
  color: var(--public-muted);
  font-size: 0.84rem;
}

.sidebar-title-soft {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8695b1;
  font-size: 0.73rem;
  margin-top: 1.35rem;
}

.sidebar-wrapper .menu .sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sidebar-wrapper .menu .sidebar-link span {
  margin-left: 0;
}

.sidebar-count {
  margin-left: auto;
  min-width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748f;
  background: #eef3ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar-wrapper .menu .sidebar-item.active > .sidebar-link .sidebar-count {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

.sidebar-wrapper .menu .submenu .submenu-item a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.submenu-icon {
  font-size: 0.78rem;
  color: #9aa7bf;
}

.public-mode-badge {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.hero-card {
  border: 0;
  background: linear-gradient(135deg, #2f71df 0%, #2759bc 50%, #1b3787 100%);
  color: #fff;
  box-shadow: 0 16px 36px rgba(23, 61, 143, 0.28);
}

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  opacity: 0.85;
}

.hero-title {
  line-height: 1.2;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 780px;
  opacity: 0.94;
}

.hero-breadcrumb .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.7);
}

.hero-breadcrumb .breadcrumb-item,
.hero-breadcrumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
}

.hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.7);
}

.hero-breadcrumb .breadcrumb-item a {
  color: #ffffff;
  text-decoration: none;
}

.hero-breadcrumb .breadcrumb-item a:hover {
  text-decoration: underline;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.875rem;
  opacity: 0.9;
}

.hero-meta-freshness {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}

.hero-meta-freshness.is-success {
  color: #e6fff3;
  background: rgba(28, 171, 118, 0.16);
  border-color: rgba(141, 255, 214, 0.28);
}

.hero-meta-freshness.is-warning {
  color: #fff4d2;
  background: rgba(232, 176, 43, 0.18);
  border-color: rgba(255, 225, 140, 0.3);
}

.hero-meta-freshness.is-error {
  color: #ffe6ec;
  background: rgba(216, 67, 95, 0.18);
  border-color: rgba(255, 166, 182, 0.3);
}

.hero-meta-freshness.is-muted {
  color: rgba(245, 250, 255, 0.88);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.12);
}

.section {
  display: flex;
  flex-direction: column;
  gap: var(--public-block-gap);
}

#summary-cards {
  --bs-gutter-x: 1.15rem;
  --bs-gutter-y: 1.15rem;
}

.section > .card,
.section > .row {
  margin-bottom: 0 !important;
}

#main-content .card:not(.hero-card) {
  border-radius: 0.95rem;
  border: 1px solid #e1eaf9;
}

.dashboard-stat {
  border: 1px solid var(--public-border);
  background:
    radial-gradient(170px 110px at 92% -8%, rgba(113, 152, 226, 0.16), transparent 72%),
    linear-gradient(162deg, #ffffff 0%, #f7fbff 58%, #eef5ff 100%);
  box-shadow: 0 10px 30px rgba(67, 94, 190, 0.08);
}

.dashboard-stat .stats-icon {
  width: 2.8rem;
  height: 2.8rem;
}

.dashboard-stat h4 {
  color: var(--public-ink);
  letter-spacing: 0.01em;
}

.mt-kib-kpi-panel {
  display: grid;
  gap: 0.46rem;
}

.mt-kib-kpi-top {
  display: flex;
  justify-content: flex-end;
}

#mtKibKpiTotal {
  border-radius: 999px;
  border: 1px solid rgba(156, 190, 248, 0.65);
  background:
    radial-gradient(120px 70px at 90% 0%, rgba(149, 185, 248, 0.32), transparent 70%),
    linear-gradient(168deg, #f8fcff 0%, #edf5ff 100%);
  color: #27427c !important;
  font-weight: 700;
  padding: 0.38rem 0.68rem;
}

.mt-kib-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(146px, 1fr));
  gap: 0.58rem;
  align-items: stretch;
  overflow-x: visible;
  padding-bottom: 0;
}

.mt-kib-kpi-card {
  --kib-accent: #435ebe;
  --kib-soft-a: rgba(67, 94, 190, 0.16);
  --kib-soft-b: rgba(67, 94, 190, 0.06);
  border: 1px solid #dbe6fb;
  border-radius: 0.8rem;
  background:
    radial-gradient(140px 90px at 92% -12%, var(--kib-soft-a), transparent 70%),
    linear-gradient(160deg, #ffffff 0%, #f8fbff 68%, var(--kib-soft-b) 100%);
  padding: 0.62rem 0.68rem;
  min-width: 0;
  box-shadow: 0 8px 24px rgba(67, 94, 190, 0.08);
}

.mt-kib-kpi-card.kib-a { --kib-accent: #0f8b6d; --kib-soft-a: rgba(15, 139, 109, 0.15); --kib-soft-b: rgba(15, 139, 109, 0.06); }
.mt-kib-kpi-card.kib-b { --kib-accent: #2463eb; --kib-soft-a: rgba(36, 99, 235, 0.15); --kib-soft-b: rgba(36, 99, 235, 0.06); }
.mt-kib-kpi-card.kib-c { --kib-accent: #6f42c1; --kib-soft-a: rgba(111, 66, 193, 0.14); --kib-soft-b: rgba(111, 66, 193, 0.06); }
.mt-kib-kpi-card.kib-d { --kib-accent: #f08c00; --kib-soft-a: rgba(240, 140, 0, 0.14); --kib-soft-b: rgba(240, 140, 0, 0.06); }
.mt-kib-kpi-card.kib-e { --kib-accent: #c2255c; --kib-soft-a: rgba(194, 37, 92, 0.14); --kib-soft-b: rgba(194, 37, 92, 0.06); }
.mt-kib-kpi-card.kib-f { --kib-accent: #5c677d; --kib-soft-a: rgba(92, 103, 125, 0.14); --kib-soft-b: rgba(92, 103, 125, 0.06); }
.mt-kib-kpi-card.kib-g { --kib-accent: #0b7285; --kib-soft-a: rgba(11, 114, 133, 0.14); --kib-soft-b: rgba(11, 114, 133, 0.06); }

.mt-kib-kpi-card.is-selected {
  border-color: var(--kib-accent);
  box-shadow: 0 10px 24px rgba(67, 94, 190, 0.14);
}

.mt-kib-kpi-head {
  display: flex;
  align-items: flex-start;
  gap: 0.44rem;
  margin-bottom: 0.34rem;
}

.mt-kib-kpi-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.42rem;
  height: 1.42rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--kib-accent);
}

.mt-kib-kpi-name {
  flex: 1 1 auto;
  margin-bottom: 0;
  font-size: 0.72rem;
  line-height: 1.28;
  font-weight: 600;
  color: #405173;
  min-height: 2.45em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mt-kib-kpi-card.is-selected .mt-kib-kpi-name {
  font-weight: 700;
  color: #24365f;
}

.mt-kib-kpi-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1f2f58;
  line-height: 1.25;
}

.mt-kib-kpi-card.is-selected .mt-kib-kpi-value,
.mt-kib-kpi-card.is-selected .mt-kib-kpi-pct,
.mt-kib-kpi-card.is-selected .mt-kib-kpi-meta {
  font-weight: 700;
}

.mt-kib-kpi-meta {
  margin-top: 0.14rem;
  font-size: 0.72rem;
  color: #5f7197;
}

.mt-kib-kpi-foot {
  margin-top: 0.34rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.44rem;
}

.mt-kib-kpi-progress {
  position: relative;
  width: 100%;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(78, 96, 145, 0.14);
  overflow: hidden;
}

.mt-kib-kpi-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--kib-accent) 0%, #8ea7dd 100%);
}

.mt-kib-kpi-pct {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--kib-accent);
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .mt-kib-kpi-row {
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
    gap: 0.52rem;
  }

  .mt-kib-kpi-card {
    padding: 0.58rem 0.62rem;
  }
}

@media (max-width: 575.98px) {
  .mt-kib-kpi-top {
    justify-content: flex-start;
  }

  .mt-kib-kpi-row {
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 0.46rem;
  }

  .mt-kib-kpi-card {
    padding: 0.54rem 0.58rem;
    border-radius: 0.72rem;
  }

  .mt-kib-kpi-value {
    font-size: 0.88rem;
  }
}

.import-metric-job-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "main icon"
    "link link";
  gap: 0.72rem 0.8rem;
  align-items: start;
}

.import-metric-job-main {
  grid-area: main;
  min-width: 0;
}

.import-metric-job-card .stats-icon {
  grid-area: icon;
}

.import-metric-job-link {
  grid-area: link;
  justify-self: start;
  background: #435ebe;
  border-color: #435ebe;
  color: #fff;
  border-radius: 0.52rem;
}

.import-metric-job-link:hover,
.import-metric-job-link:focus-visible {
  background: #3950a1;
  border-color: #3950a1;
  color: #fff;
}

.dashboard-op-card {
  border: 1px solid var(--public-border);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 10px 24px rgba(26, 56, 120, 0.05);
}

.op-flow {
  display: grid;
  gap: 0.8rem;
}

.op-step {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.75rem;
  align-items: start;
  border: 1px solid #e3ebfb;
  border-radius: 0.75rem;
  background: #f8fbff;
  padding: 0.75rem 0.85rem;
}

.op-step-index {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #435ebe;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.op-status-list {
  display: grid;
  gap: 0.85rem;
}

.op-status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.op-status-label {
  color: #50607d;
  font-weight: 600;
  font-size: 0.87rem;
}

.op-status-value {
  text-align: right;
  font-size: 0.86rem;
}

.op-main-info h6 {
  color: #2a3f72;
  font-weight: 700;
}

.op-main-meta {
  display: grid;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #5f7095;
}

.op-main-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  border: 1px solid rgba(255, 56, 92, 0.5);
  border-radius: 0.72rem;
  padding: 0.56rem 0.68rem;
  background: linear-gradient(180deg, rgba(255, 87, 118, 0.2) 0%, rgba(255, 109, 135, 0.15) 100%);
  color: #b31533;
  box-shadow: inset 0 1px 0 rgba(255, 194, 204, 0.45);
}

.op-main-warning-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff2f57;
  font-size: 1rem;
  line-height: 1;
  margin-top: 0.02rem;
}

.op-main-warning-text {
  display: inline-block;
  color: #9f0f2d;
  font-size: 0.83rem;
  line-height: 1.35;
}

.op-main-warning-text strong {
  color: #d60f37;
  font-weight: 800;
}

.op-main-kib {
  display: grid;
  gap: 0.35rem;
}

.op-main-kpi-section {
  margin-top: -0.05rem;
}

.op-main-kib-standalone {
  border: 1px solid #dce7fa;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  box-shadow: 0 10px 26px rgba(33, 66, 130, 0.08);
  padding: 0.95rem;
}

.op-main-kpi-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  color: #304f8d;
  text-transform: uppercase;
}

.op-main-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.7rem;
  align-items: stretch;
}

.op-main-kib-standalone .op-main-kpi-title {
  font-size: 0.84rem;
  margin-bottom: 0.45rem;
}

.op-main-kib-standalone .op-main-kpi-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.op-main-budget-section {
  margin-top: -0.1rem;
}

.op-int-card {
  border: 1px solid rgba(48, 84, 176, 0.48);
  border-radius: 0.95rem;
  background:
    radial-gradient(380px 140px at 98% 2%, rgba(116, 164, 255, 0.28), transparent 72%),
    linear-gradient(138deg, #17356f 0%, #23519f 56%, #2f73cf 100%);
  box-shadow: 0 14px 28px rgba(19, 49, 109, 0.24);
  padding: 0.84rem 0.9rem 0.88rem;
}

.op-int-head {
  color: #f2f7ff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.op-int-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.58rem;
}

.op-int-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  border: 1px solid rgba(174, 205, 255, 0.25);
  border-radius: 0.72rem;
  padding: 0.52rem 0.62rem;
  background: rgba(240, 247, 255, 0.12);
}

.op-int-label {
  color: #eaf2ff;
  font-weight: 600;
  font-size: 0.83rem;
  line-height: 1.3;
}

.op-int-item .badge {
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  font-weight: 700;
}

.sidebar-int-card {
  border-radius: 0.82rem;
  padding: 0.66rem 0.68rem 0.74rem;
}

.sidebar-int-card .op-int-head {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.52rem;
}

.sidebar-int-card .op-int-grid {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.sidebar-int-card .op-int-item {
  padding: 0.42rem 0.5rem;
}

.sidebar-int-card .op-int-label {
  font-size: 0.73rem;
}

.sidebar-int-card .op-int-item .badge {
  padding: 0.24rem 0.5rem;
  font-size: 0.66rem;
}

.op-main-budget-shell {
  border: 1px solid #d9e5fb;
  border-radius: 1rem;
  background:
    radial-gradient(560px 220px at 102% -8%, rgba(123, 156, 236, 0.2), transparent 72%),
    linear-gradient(160deg, #f8fbff 0%, #eef4ff 52%, #f6f9ff 100%);
  box-shadow: 0 11px 24px rgba(29, 61, 122, 0.08);
  padding: 0.92rem;
  display: grid;
  gap: 0.78rem;
}

.op-budget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.op-budget-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5b73a9;
  font-weight: 800;
}

.op-budget-title {
  margin: 0.3rem 0 0;
  font-size: 1.02rem;
  line-height: 1.28;
  color: #233f77;
  font-weight: 800;
}

.op-budget-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.78rem;
  align-items: stretch;
}

.op-budget-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.64rem;
}

.op-budget-kpi-card {
  --budget-accent: #2f70df;
  --budget-glow: rgba(47, 112, 223, 0.28);
  --budget-delay: 0s;
  border: 1px solid rgba(187, 204, 237, 0.85);
  border-radius: 0.82rem;
  padding: 0.62rem 0.68rem 0.65rem;
  background:
    radial-gradient(120px 70px at 98% -6%, rgba(72, 116, 205, 0.2), transparent 66%),
    linear-gradient(160deg, #ffffff 0%, #f8fbff 64%, #eff5ff 100%);
  box-shadow: 0 6px 16px rgba(32, 63, 124, 0.08);
  min-height: 6.5rem;
  display: grid;
  gap: 0.48rem;
}

.op-budget-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.op-budget-kpi-icon {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 0.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(155deg, var(--budget-accent) 0%, rgba(37, 58, 114, 0.93) 100%);
  box-shadow: 0 6px 14px var(--budget-glow);
  animation: budgetIconPulse 3.2s ease-in-out infinite;
  animation-delay: var(--budget-delay);
}

.op-budget-kpi-icon i {
  font-size: 0.92rem;
}

.op-budget-kpi-percent {
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--budget-accent);
  border: 1px solid rgba(125, 151, 219, 0.4);
  border-radius: 999px;
  padding: 0.18rem 0.44rem;
  background: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

.op-budget-kpi-name {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  color: #2a467f;
  min-height: 2rem;
}

.op-budget-kpi-amount {
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  color: #203d76;
}

.op-budget-kpi-track {
  height: 0.36rem;
  border-radius: 999px;
  background: rgba(180, 200, 235, 0.56);
  overflow: hidden;
}

.op-budget-kpi-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--budget-accent) 0%, #3254ad 100%);
  box-shadow: 0 0 8px var(--budget-glow);
}

.op-budget-chart-card {
  border: 1px solid #d4e1fb;
  border-radius: 0.9rem;
  background:
    radial-gradient(140px 80px at 100% -8%, rgba(70, 110, 201, 0.2), transparent 72%),
    linear-gradient(165deg, #fff 0%, #f4f8ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  padding: 0.66rem 0.75rem 0.72rem;
  display: grid;
  gap: 0.56rem;
}

.op-budget-chart-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.op-budget-chart-title-text {
  font-size: 0.81rem;
  color: #2e4a83;
  font-weight: 800;
}

.op-budget-chart-series {
  font-size: 0.7rem;
  font-weight: 700;
  color: #3462c4;
  border: 1px solid #c9d8fa;
  border-radius: 999px;
  padding: 0.16rem 0.44rem;
  background: #eef4ff;
}

.op-budget-line-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 280;
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #f8fbff 0%, #edf3ff 100%);
}

.op-budget-grid line {
  stroke: rgba(124, 152, 212, 0.28);
  stroke-width: 1;
}

.op-budget-area {
  fill: rgba(67, 108, 199, 0.18);
}

.op-budget-line {
  fill: none;
  stroke: #3a67c8;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: budgetLineDraw 1.25s ease forwards;
}

.op-budget-dots circle {
  fill: #315cb8;
  stroke: #ffffff;
  stroke-width: 1.2;
}

.op-budget-peak {
  fill: #ff8a3d;
  stroke: #ffffff;
  stroke-width: 1.3;
  animation: budgetPeakPulse 2.4s ease-in-out infinite;
}

.op-budget-label-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.28rem 0.4rem;
  font-size: 0.69rem;
  color: #6075a5;
  font-weight: 700;
}

.op-budget-label-strip span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.op-budget-chart-empty {
  border: 1px dashed #c9d8fa;
  border-radius: 0.72rem;
  padding: 0.95rem;
  background: #f5f9ff;
}

.op-main-kpi-card {
  --kpi-accent: #2f70df;
  --kpi-grad-a: rgba(47, 112, 223, 0.3);
  --kpi-grad-b: rgba(47, 112, 223, 0.1);
  --kpi-icon-glow: rgba(47, 112, 223, 0.25);
  --kpi-delay: 0s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 8.9rem;
  border: 1px solid #dbe6fb;
  border-radius: 0.9rem;
  background:
    radial-gradient(140px 90px at 92% -12%, var(--kpi-grad-a), transparent 70%),
    linear-gradient(145deg, #ffffff 0%, #f6faff 58%, var(--kpi-grad-b) 100%);
  padding: 0.72rem 0.78rem 0.74rem;
  box-shadow: 0 9px 20px rgba(30, 64, 126, 0.09);
}

.op-main-kpi-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 0.62rem;
}

.op-main-kpi-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(155deg, var(--kpi-accent) 0%, rgba(36, 57, 110, 0.92) 100%);
  box-shadow: 0 8px 18px var(--kpi-icon-glow);
  animation: kpiIconFloat 3.4s ease-in-out infinite;
  animation-delay: var(--kpi-delay);
}

.op-main-kpi-icon i {
  font-size: 1rem;
  line-height: 1;
}

.op-main-kpi-main {
  min-width: 0;
  display: grid;
  gap: 0.28rem;
}

.op-main-kpi-name {
  font-size: 0.79rem;
  line-height: 1.25;
  color: #2d477f;
  font-weight: 800;
}

.op-main-kpi-percent {
  font-size: 0.8rem;
  line-height: 1;
  font-weight: 800;
  color: var(--kpi-accent);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(133, 156, 217, 0.34);
  border-radius: 999px;
  padding: 0.2rem 0.48rem;
  white-space: nowrap;
  margin-top: 0.04rem;
}

.op-main-kpi-amount {
  margin-top: 0;
  font-size: 0.9rem;
  color: #203d76;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.op-main-kpi-progress {
  height: 0.46rem;
  border-radius: 999px;
  margin-top: 0.68rem;
  background: rgba(189, 207, 239, 0.58);
  overflow: hidden;
}

.op-main-kpi-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--kpi-accent) 0%, #3254ad 100%);
  box-shadow: 0 0 8px var(--kpi-icon-glow);
  animation: kpiProgressGlow 2.6s ease-in-out infinite;
  animation-delay: var(--kpi-delay);
}

@keyframes kpiIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes kpiProgressGlow {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.2);
  }
}

@keyframes budgetIconPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.04);
  }
}

@keyframes budgetLineDraw {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes budgetPeakPulse {
  0%,
  100% {
    r: 4.4;
  }
  50% {
    r: 5.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .op-main-kpi-icon,
  .op-main-kpi-progress span,
  .op-budget-kpi-icon,
  .op-budget-line,
  .op-budget-peak {
    animation: none !important;
  }
}

@media (max-width: 1199px) {
  .op-main-kib-standalone .op-main-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .op-budget-layout {
    grid-template-columns: 1fr;
  }
}

.dashboard-module-card {
  border: 1px solid #dde7fb;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 10px 24px rgba(26, 56, 120, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.dashboard-module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(26, 56, 120, 0.12);
}

.module-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.75rem;
  background: #eef3ff;
  color: #435ebe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

#filter-panel,
#table-panel,
#action-panel {
  border: 1px solid var(--public-border);
  background: linear-gradient(180deg, var(--public-surface) 0%, var(--public-surface-soft) 100%);
  box-shadow: 0 10px 24px rgba(26, 56, 120, 0.05);
}

.profile-card {
  border: 1px solid var(--public-border);
  background: linear-gradient(180deg, var(--public-surface) 0%, var(--public-surface-soft) 100%);
  box-shadow: 0 10px 24px rgba(26, 56, 120, 0.05);
}

.profile-avatar-panel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid #e0e9fb;
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #fbfdff 0%, #f2f7ff 100%);
  padding: 0.72rem 0.8rem;
}

.profile-avatar-preview {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 0.9rem;
  border: 1px solid #c8d8f5;
  background: #eaf2ff;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-fallback {
  font-size: 1.12rem;
  font-weight: 800;
  color: #2a4f98;
  line-height: 1;
}

.profile-avatar-meta {
  min-width: 0;
}

#filter-panel .card-header,
#table-panel .card-header,
#action-panel .card-header {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border-bottom: 1px solid #e6eefc;
}

.table-meta {
  font-size: 0.9rem;
  color: var(--public-muted);
}

.table-meta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem 0.48rem;
  justify-content: flex-end;
  align-items: center;
}

.table-movement-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  border-radius: 999px;
  border: 1px solid rgba(176, 198, 236, 0.78);
  background:
    radial-gradient(110px 64px at 100% 0%, rgba(143, 178, 238, 0.28), transparent 74%),
    linear-gradient(168deg, #f9fcff 0%, #f0f6ff 100%);
  color: #2b4478;
  line-height: 1;
  padding: 0.27rem 0.56rem;
  white-space: nowrap;
}

.table-movement-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #5f7299;
}

.table-movement-pill strong {
  font-size: 0.8rem;
  font-weight: 800;
  color: #253d71;
}

.table-responsive {
  overflow: visible;
}

.public-table th.fit-col,
.public-table td.fit-col {
  width: 2.25rem;
}

.public-table thead th {
  position: sticky;
  top: calc(var(--navbar-height, 64px) + 0.35rem);
  z-index: 5;
  white-space: nowrap;
  color: #ffffff;
  font-weight: 700;
  border-bottom: 1px solid #2a58ac !important;
  background: linear-gradient(180deg, #3a76dc 0%, #2f65ca 100%);
}

.public-table thead th .form-check-input {
  border-color: rgba(255, 255, 255, 0.8);
  background-color: rgba(255, 255, 255, 0.2);
}

.public-table thead th.text-end {
  text-align: right !important;
}

.public-table thead th:first-child {
  border-top-left-radius: 0.55rem;
}

.public-table thead th:last-child {
  border-top-right-radius: 0.55rem;
}

.public-table td {
  vertical-align: top !important;
}

.asset-name {
  font-weight: 700;
  line-height: 1.25;
}

.asset-detail {
  font-size: 0.84rem;
  color: var(--public-muted);
}

.asset-ket {
  font-size: 0.84rem;
  color: #50607d;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.mt-action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.action-toolbar-card .card-body {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.mt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.mt-toolbar-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mt-toolbar-meta .badge strong {
  margin-left: 0.2rem;
  font-size: 0.82rem;
}

.mt-toolbar-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mt-toolbar-actions .btn {
  white-space: nowrap;
}

.mt-toolbar-status {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.3;
}

.mt-action-logs {
  display: grid;
  gap: 0.65rem;
  max-height: 20rem;
  overflow: auto;
  padding-right: 0.15rem;
}

.mt-log-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
}

.mt-log-filter-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.mt-log-filter-wrap .form-label {
  font-size: 0.78rem;
  white-space: nowrap;
}

.mt-log-filter-wrap .form-select {
  min-width: 8.75rem;
}

.mt-log-item {
  border: 1px solid #e4ebfa;
  border-radius: 0.75rem;
  background: #f9fbff;
  padding: 0.65rem 0.75rem;
}

.mt-log-remote-list {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
}

.mt-log-remote-list li {
  color: #50607d;
  font-size: 0.84rem;
  margin-bottom: 0.35rem;
}

.mt-log-item .text-truncate {
  max-width: 100%;
  display: block;
}

#mtAssetTableBody .badge {
  margin-right: 0.3rem;
  margin-bottom: 0.2rem;
}

.fit-col-actions {
  width: 12rem;
  min-width: 12rem;
}

.mt-row-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.mt-source-modal .modal-content {
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(24, 52, 116, 0.22);
}

.mt-source-modal .modal-header {
  border-bottom: 0;
  background: linear-gradient(135deg, #2f71df 0%, #2759bc 50%, #1b3787 100%);
  color: #fff;
  padding: 1rem 1.1rem 0.95rem;
}

.mt-source-modal .modal-header .btn-close {
  filter: invert(1);
  opacity: 0.9;
}

.mt-source-modal .modal-body {
  padding: 1rem 1.1rem 1.1rem;
  background:
    radial-gradient(240px 120px at 100% 0%, rgba(119, 162, 235, 0.12), transparent 70%),
    linear-gradient(180deg, #fbfdff 0%, #f5f8ff 100%);
}

.mt-source-modal .modal-footer {
  border-top: 1px solid #e6eefb;
  background: #f7faff;
}

.mt-source-modal-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.82;
  margin-bottom: 0.2rem;
}

.mt-source-context {
  border: 1px solid #dbe6fb;
  border-radius: 0.95rem;
  padding: 0.85rem 0.95rem;
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(111, 156, 237, 0.16), transparent 72%),
    linear-gradient(165deg, #ffffff 0%, #f6faff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.mt-source-form-grid .form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #35507d;
  margin-bottom: 0.42rem;
}

.mt-source-form-grid .form-control,
.mt-source-form-grid .form-select {
  border-color: #ccd9f2;
  box-shadow: none;
}

.mt-source-form-grid .form-control:focus,
.mt-source-form-grid .form-select:focus {
  border-color: #6a96ea;
  box-shadow: 0 0 0 0.18rem rgba(65, 102, 191, 0.14);
}

.mt-row-action-btn {
  width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
}

.mt-row-action-btn i {
  font-size: 0.9rem;
}

#impUploadStatus {
  font-size: 0.9rem;
}

#summary-cards .stats-icon.orange {
  background: rgba(253, 126, 20, 0.18);
  color: #fd7e14;
}

.import-upload-report {
  border: 1px solid #d8e5ff;
  border-radius: 0.8rem;
  background: linear-gradient(145deg, #f9fbff 0%, #f4f8ff 100%);
  padding: 0.75rem 0.85rem;
}

.import-upload-report-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.import-upload-report-head h6 {
  color: #2b3f75;
}

.import-upload-report-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.import-upload-report-badges .badge {
  font-weight: 600;
}

.import-upload-report-list {
  border-top: 1px dashed #d9e5ff;
  padding-top: 0.55rem;
}

.import-upload-report-list ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.38rem;
}

.import-upload-report-list li {
  color: #334566;
  font-size: 0.86rem;
}

.import-upload-report-duplicates {
  display: grid;
  gap: 0.62rem;
  max-height: 24rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.duplicate-group-card {
  border: 1px solid #d9e5ff;
  border-radius: 0.72rem;
  background: #f8fbff;
  padding: 0.58rem 0.68rem;
}

.duplicate-group-card ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.26rem;
}

.duplicate-group-card li {
  color: #334566;
  font-size: 0.83rem;
  line-height: 1.35;
}

.duplicate-entry-list {
  margin: 0;
  padding-left: 0 !important;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.duplicate-entry-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.35rem 0.5rem;
}

.duplicate-entry-text {
  color: #314565;
  line-height: 1.32;
  min-width: 0;
  word-break: break-word;
}

.duplicate-entry-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
}

.duplicate-entry-action-btn {
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
}

#impTableBody .badge {
  margin-bottom: 0.3rem;
}

#impTableBody .asset-detail {
  line-height: 1.3;
  margin-top: 0.2rem;
}

.imp-table-search {
  width: min(22rem, 72vw);
}

.imp-table-header-controls {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.imp-table-mass-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.imp-table-mass-actions .btn {
  border-radius: 0.42rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.34rem 0.7rem;
}

.imp-status-quick-filters {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.36rem;
}

.imp-status-quick-filters .btn {
  border-radius: 0.45rem;
  font-size: 0.72rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.3rem 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.imp-status-quick-filters .quick-label {
  white-space: nowrap;
}

.imp-status-quick-filters .quick-count {
  min-width: 1.4rem;
  padding: 0.08rem 0.32rem;
  border-radius: 0.3rem;
  font-size: 0.68rem;
  line-height: 1.1;
  text-align: center;
  border: 1px solid rgba(67, 94, 190, 0.24);
  color: #435ebe;
  background: rgba(255, 255, 255, 0.82);
}

.imp-status-quick-filters .btn.active {
  background: #435ebe;
  border-color: #435ebe;
  color: #fff;
}

.imp-status-quick-filters .btn.active .quick-count {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.imp-table-search .input-group-text {
  background: #f1f5ff;
  border-color: #dde7ff;
  color: #3f5db8;
}

.imp-table-search .form-control {
  border-color: #dde7ff;
}

.imp-table-search .btn {
  border-color: #dde7ff;
}

.imp-row-actions {
  display: inline-flex;
  gap: 0.28rem;
}

.imp-row-action-btn {
  width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
}

.imp-row-action-btn i {
  font-size: 0.9rem;
}

.import-action-panel {
  border-left: 4px solid #435ebe;
}

.import-workflow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.workflow-pill {
  border: 1px solid #d8e3fb;
  background: #f7faff;
  color: #5f7095;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.79rem;
  font-weight: 600;
}

.workflow-pill.active {
  background: #435ebe;
  border-color: #435ebe;
  color: #fff;
}

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

.import-summary-item {
  border: 1px solid #e4ebfa;
  border-radius: 0.75rem;
  background: #f9fbff;
  padding: 0.6rem 0.8rem;
}

.import-summary-item .summary-label {
  font-size: 0.78rem;
  color: #7182a3;
  line-height: 1.2;
}

.import-summary-item .summary-value {
  font-size: 1.12rem;
  font-weight: 700;
  color: #25396f;
  line-height: 1.3;
}

.log-viewer-card .card-body {
  padding-top: 1rem;
}

.log-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
}

.log-monaco-editor {
  width: 100%;
  min-height: 22rem;
  height: 62vh;
  border: 1px solid #e4ebfa;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
}

.log-fallback {
  margin-top: 0.8rem;
  border: 1px solid #e4ebfa;
  border-radius: 0.75rem;
  padding: 0.75rem;
  background: #f9fbff;
  color: #344461;
  font-size: 0.84rem;
  line-height: 1.4;
  max-height: 14rem;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.action-grid-import {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.52rem;
}

.action-grid-import .btn {
  white-space: nowrap;
  min-width: 10.6rem;
}

.action-grid-import #impActionSync {
  flex: 1 1 15rem;
}

.action-grid-import #impActionClearSelection {
  flex: 0 0 auto;
}

.import-jobs-table th:nth-child(1),
.import-jobs-table td:nth-child(1) {
  width: 4.4rem;
  min-width: 4.4rem;
}

.import-jobs-table th:nth-child(4),
.import-jobs-table td:nth-child(4) {
  width: 11rem;
  min-width: 11rem;
}

.import-jobs-table th:nth-child(5),
.import-jobs-table td:nth-child(5) {
  width: 14.5rem;
  min-width: 14.5rem;
}

.imp-job-name {
  font-weight: 700;
  color: #27427a;
}

.imp-job-name-wrap {
  display: grid;
  gap: 0.35rem;
}

.imp-job-name-input {
  max-width: 100%;
}

.imp-job-meta {
  color: #66799f;
  font-size: 0.79rem;
  margin-top: 0.2rem;
}

.imp-job-status-summary {
  border: 1px solid #dce7fb;
  border-radius: 0.65rem;
  background: #f8fbff;
  padding: 0.48rem 0.58rem;
  display: grid;
  gap: 0.15rem;
  font-size: 0.8rem;
  line-height: 1.25;
  color: #334a75;
}

.imp-job-status-summary strong {
  color: #223d72;
  font-weight: 800;
}

.imp-job-note-wrap {
  display: grid;
  gap: 0.45rem;
}

.imp-job-note-input {
  min-height: 3rem;
  resize: vertical;
}

.imp-job-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.imp-job-action-btn {
  width: 1.95rem;
  height: 1.95rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
}

.operator-table {
  --op-action-col-width: 8.4rem;
  table-layout: fixed;
  width: max-content;
  min-width: 98rem;
}

.operator-table th,
.operator-table td {
  vertical-align: top;
  padding: 0.46rem 0.56rem;
  line-height: 1.3;
  font-size: 0.89rem;
}

.operator-table-frame.table-responsive {
  position: relative;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding-right: var(--op-action-col-width, 8.4rem);
  border: 1px solid #dce7fb;
  border-radius: 0.78rem;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  scrollbar-gutter: stable both-edges;
}

.operator-table-frame .operator-table {
  margin-bottom: 0;
}

.operator-table td {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.operator-table th:nth-child(1),
.operator-table td:nth-child(1) {
  width: 12.8rem;
  min-width: 12.8rem;
}

.operator-table th:nth-child(2),
.operator-table td:nth-child(2) {
  width: 9.2rem;
  min-width: 9.2rem;
}

.operator-table th:nth-child(3),
.operator-table td:nth-child(3) {
  width: 11.5rem;
  min-width: 11.5rem;
}

.operator-table th:nth-child(4),
.operator-table td:nth-child(4) {
  width: 7.8rem;
  min-width: 7.8rem;
}

.operator-table th:nth-child(5),
.operator-table td:nth-child(5) {
  width: 6.8rem;
  min-width: 6.8rem;
}

.operator-table th:nth-child(6),
.operator-table td:nth-child(6) {
  width: 9.4rem;
  min-width: 9.4rem;
}

.operator-table th:nth-child(7),
.operator-table td:nth-child(7) {
  width: 10.8rem;
  min-width: 10.8rem;
}

.operator-table th:nth-child(8),
.operator-table td:nth-child(8) {
  width: 7rem;
  min-width: 7rem;
}

.operator-table th:nth-child(9),
.operator-table td:nth-child(9) {
  width: 13.2rem;
  min-width: 13.2rem;
}

.operator-table th:nth-child(10),
.operator-table td:nth-child(10) {
  width: 10.6rem;
  min-width: 10.6rem;
}

.operator-table td:nth-child(10) .badge {
  margin-right: 0.18rem;
  margin-bottom: 0.15rem;
}

.operator-table td:nth-child(10) .small {
  font-size: 0.78rem;
  line-height: 1.2;
}

.operator-table thead th {
  position: sticky;
  top: 0 !important;
  z-index: 9;
  background-clip: padding-box;
}

.operator-table tbody td {
  background: #ffffff;
}

.operator-table th.op-actions-col,
.operator-table td.op-actions-col {
  position: sticky;
  right: 0;
  width: var(--op-action-col-width, 8.4rem);
  min-width: var(--op-action-col-width, 8.4rem);
  max-width: var(--op-action-col-width, 8.4rem);
}

.operator-table th.op-actions-col {
  z-index: 10;
  background: linear-gradient(180deg, #3a76dc 0%, #2f65ca 100%);
  box-shadow: -1px 0 0 rgba(28, 60, 126, 0.28);
}

.operator-table td.op-actions-col {
  z-index: 4;
  background: #ffffff;
  box-shadow: -1px 0 0 #dce7fb;
  text-align: center;
  vertical-align: middle;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
}

.op-row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
}

.op-cell-ellipsis {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.op-row-action-btn {
  width: 1.56rem;
  height: 1.56rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.32rem;
}

.op-row-action-btn i {
  font-size: 0.8rem;
}

.op-floating-scroll {
  position: fixed;
  z-index: 1042;
  height: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #cfdcf5;
  border-radius: 999px;
  background: rgba(247, 251, 255, 0.9);
  box-shadow: 0 10px 22px rgba(27, 60, 124, 0.16);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.op-floating-scroll::-webkit-scrollbar {
  height: 0.55rem;
}

.op-floating-scroll::-webkit-scrollbar-thumb {
  background: #6f8ecf;
  border-radius: 999px;
}

.op-floating-scroll::-webkit-scrollbar-track {
  background: rgba(219, 230, 249, 0.76);
  border-radius: 999px;
}

.op-floating-scroll-inner {
  height: 1px;
}

.operator-history-detail {
  font-size: 0.76rem;
  line-height: 1.35;
  white-space: pre-wrap;
  max-height: 8.5rem;
  overflow: auto;
  color: #3a4e77;
  background: #f6f9ff;
  border: 1px solid #dde7fb;
  border-radius: 0.55rem;
  padding: 0.48rem 0.56rem;
}

#mtEditModal .modal-dialog {
  max-width: min(1100px, calc(100vw - 1rem));
  height: calc(100vh - 1rem);
  margin: 0.5rem auto;
}

#mtEditModal .modal-content {
  max-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#mtEditModal #mtEditForm {
  min-height: 0;
}

#mtEditModal .modal-body {
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

#mtEditModal .modal-footer {
  background: #fff;
  border-top: 1px solid var(--public-border);
}

#impEditModal .modal-dialog {
  max-width: min(1100px, calc(100vw - 2rem));
  height: min(900px, calc(100vh - 2.5rem));
  max-height: calc(100vh - 2.5rem);
  margin: 1.25rem auto;
}

#impEditModal .modal-content {
  max-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(203, 216, 242, 0.92);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(24, 52, 116, 0.2);
}

#impEditModal #impEditForm {
  min-height: 0;
}

#impEditModal .modal-header {
  cursor: move;
  user-select: none;
  touch-action: none;
}

#impEditModal .modal-header .btn-close {
  cursor: pointer;
}

#impEditModal .modal-body {
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  overscroll-behavior: contain;
}

#impEditModal .modal-footer {
  background: #f7faff;
  border-top: 1px solid #e6eefb;
}

#impEditModal .modal-dialog.is-dragging .modal-header {
  cursor: grabbing;
}

#impEditModal .modal-dialog.is-dragging .modal-content {
  box-shadow: 0 24px 60px rgba(24, 52, 116, 0.28);
}

.disabled-link {
  pointer-events: none;
  opacity: 0.55;
}

@media (max-width: 991px) {
  .hero-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-breadcrumb {
    width: 100%;
  }

  .hero-breadcrumb .breadcrumb {
    margin-top: 0.1rem;
  }

  #main-content {
    border-radius: 0;
    padding: 1.05rem 0.85rem 1rem;
    padding-bottom: max(4.2rem, calc(env(safe-area-inset-bottom) + 3.8rem));
    margin-bottom: 0;
  }

  .section {
    gap: 1.05rem;
  }

  .topbar-user-trigger {
    padding: 0.08rem 0.05rem;
    border-radius: 999px;
  }

  .table-responsive {
    overflow-x: auto;
    overflow-y: visible;
  }

  .table-meta-group {
    width: 100%;
    justify-content: flex-start;
  }

  .navbar.navbar-top,
  footer .footer {
    border-radius: 0;
  }

  footer .footer.footer-global {
    flex-wrap: wrap;
  }

  footer .footer.footer-global .footer-left,
  footer .footer.footer-global .footer-right {
    width: 100%;
  }

  footer .footer.footer-global .footer-right {
    margin-left: 0;
    text-align: right;
  }

  #main.layout-navbar > footer {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .mt-action-grid {
    grid-template-columns: 1fr;
  }

  .mt-toolbar-meta {
    width: 100%;
  }

  .mt-toolbar-actions {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .mt-toolbar-actions .btn {
    flex: 0 0 auto;
  }

  .mt-log-toolbar {
    align-items: stretch;
  }

  .mt-log-filter-wrap {
    width: 100%;
    justify-content: space-between;
  }

  .mt-log-filter-wrap .form-select {
    width: 100%;
  }

  .import-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .log-meta-grid {
    grid-template-columns: 1fr;
  }

  .log-monaco-editor {
    height: 50vh;
    min-height: 16rem;
  }

  .action-grid-import {
    flex-direction: column;
    align-items: stretch;
  }

  .action-grid-import .btn {
    width: 100%;
    min-width: 0;
  }

  #mtEditModal .modal-dialog {
    max-width: calc(100vw - 0.5rem);
  }

  .op-status-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .op-status-value {
    text-align: left;
  }

  .op-main-kpi-grid {
    grid-template-columns: 1fr;
  }

  .op-main-kib-standalone {
    padding: 0.78rem;
  }

  .op-main-kib-standalone .op-main-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
  }

  .op-main-budget-shell {
    padding: 0.78rem;
  }

  .op-int-grid {
    grid-template-columns: 1fr;
  }

  .op-int-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .sidebar-int-card .op-int-item {
    flex-direction: row;
    align-items: center;
  }

  .op-budget-title {
    font-size: 0.95rem;
  }

  .op-budget-label-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .op-main-kib-standalone .op-main-kpi-grid {
    grid-template-columns: 1fr;
  }

  .op-budget-kpi-grid {
    grid-template-columns: 1fr;
  }

  #sidebar .sidebar-footer {
    margin: 0.6rem 0.62rem 0.78rem;
  }

  .op-budget-label-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #sidebar .sidebar-wrapper,
  #sidebar.active .sidebar-wrapper,
  #sidebar.inactive .sidebar-wrapper {
    left: 0 !important;
  }

  #sidebar ~ #main {
    margin-left: 300px !important;
  }

  .sidebar-backdrop {
    display: none !important;
  }
}

.two-factor-qr-box {
  border: 1px solid #d9e5fb;
  border-radius: 0.8rem;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f8ff 100%);
  min-height: 14.2rem;
  padding: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.two-factor-qr-box img {
  max-width: min(100%, 13.4rem);
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(31, 63, 133, 0.16);
}

.two-factor-qr-login .two-factor-qr-box {
  min-height: 13.5rem;
}

.two-factor-qr-box-profile {
  min-height: 100%;
}

.two-factor-qr-box-profile img {
  max-width: min(100%, 19rem);
}

.two-factor-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.72rem 0.78rem;
  border: 1px solid #dce7fb;
  border-radius: 0.78rem;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
}

.two-factor-action-note {
  max-width: 42rem;
  color: #5f7095;
  font-size: 0.82rem;
  line-height: 1.35;
}

.two-factor-field-card {
  border: 1px solid #dce7fb;
  border-radius: 0.78rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  padding: 0.65rem 0.7rem;
  height: 100%;
}

.two-factor-field-card .form-label {
  font-weight: 700;
  color: #2e4f8f;
}

.two-factor-main-layout {
  align-items: stretch;
}

.two-factor-main-layout > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.two-factor-verify-card {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  min-height: 100%;
}

.two-factor-qr-panel {
  width: 100%;
  flex: 1 1 auto;
}

.two-factor-copy-btn {
  white-space: nowrap;
  font-weight: 600;
}

.two-factor-uri-textarea {
  margin-top: 0.36rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
  min-height: 8.8rem;
}

.two-factor-verify-form {
  margin-top: auto;
}

.two-factor-inline-meta {
  margin-bottom: 0.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed #d7e3fa;
}

.two-factor-inline-field {
  height: 100%;
}

.two-factor-inline-field .form-label {
  margin-bottom: 0.35rem;
}

.two-factor-verify-btn {
  min-height: 2.6rem;
  font-weight: 700;
}

@media (max-width: 575px) {
  .two-factor-action-bar .btn {
    width: 100%;
  }

  .two-factor-main-layout > [class*="col-"] {
    display: block;
  }

  .two-factor-uri-textarea {
    min-height: 7.6rem;
  }
}

.auth-page {
  min-height: 100dvh;
}

.auth-shell {
  min-height: 100dvh;
}

.auth-grid {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(360px, 520px) 1fr;
}

.auth-form-pane {
  background: #fff;
  display: flex;
  align-items: center;
}

.auth-form-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.auth-brand .logo-text {
  font-size: 1.1rem;
}

.auth-title {
  margin-bottom: 0.35rem;
  color: var(--public-ink);
  font-weight: 800;
}

.auth-form .form-control {
  border-radius: 0.7rem;
  border-color: #dce4f3;
}

.auth-form .form-control:focus {
  border-color: #8aa0e8;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  color: #9aa7bf;
  pointer-events: none;
  z-index: 2;
}

.auth-input-wrap .form-control {
  padding-left: 2.85rem;
}

.auth-input-wrap .form-control.is-invalid {
  background-image: none;
  padding-right: 0.9rem;
}

.password-toggle-wrap {
  position: relative;
}

.password-toggle-wrap .form-control {
  padding-right: 2.75rem;
}

.password-toggle-wrap .form-control.is-invalid {
  padding-right: 2.75rem;
}

.password-toggle-btn {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #7e8ba3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus-visible {
  color: #435ebe;
  background: #eef3ff;
}

.auth-visual-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-visual-card {
  width: min(640px, 90%);
  border-radius: 1.1rem;
  padding: 2.2rem;
  color: #fff;
  background: linear-gradient(128deg, var(--public-hero-a), var(--public-hero-b));
  box-shadow: 0 22px 44px rgba(23, 61, 143, 0.25);
}

.auth-visual-kicker {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.74rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.login-page .auth-grid {
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
}

.login-page .auth-form-pane {
  grid-column: 2;
  grid-row: 1;
  border-left: 1px solid #dfe6f4;
  min-height: 100dvh;
  overflow: auto;
}

.login-page .auth-visual-pane {
  grid-column: 1;
  grid-row: 1;
  min-height: 100dvh;
  position: relative;
  background-image:
    linear-gradient(rgba(13, 34, 84, 0.45), rgba(13, 34, 84, 0.55)),
    url("/img/aset-perusahaan-thumbnail.jpg");
  background-size: cover;
  background-position: center;
}

.register-page .auth-visual-pane {
  background-image:
    linear-gradient(rgba(13, 34, 84, 0.45), rgba(13, 34, 84, 0.55)),
    url("/img/aset-perusahaan-thumbnail.jpg");
  background-size: cover;
  background-position: center;
}

.login-page {
  height: 100dvh;
  overflow: hidden;
}

.login-page .auth-shell,
.login-page .auth-grid,
.login-page .auth-form-pane,
.login-page .auth-visual-pane {
  height: 100%;
}

.login-page .auth-form-wrap {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.login-page .auth-visual-pane .auth-visual-card {
  position: relative;
  z-index: 1;
  backdrop-filter: blur(2px);
  background: linear-gradient(128deg, rgba(23, 61, 143, 0.82), rgba(44, 123, 229, 0.78));
}

.register-page .auth-visual-pane .auth-visual-card {
  position: relative;
  z-index: 1;
  backdrop-filter: blur(2px);
  background: linear-gradient(128deg, rgba(23, 61, 143, 0.82), rgba(44, 123, 229, 0.78));
}

.mt-process-toast-host {
  position: fixed;
  inset: 0;
  z-index: 1048;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 1.25rem;
}

.mt-process-toast {
  width: min(540px, calc(100vw - 2rem));
  position: relative;
  overflow: hidden;
  pointer-events: auto;
  border-radius: 1.25rem;
  padding: 1.35rem 1.35rem 1.15rem;
  color: #f8fbff;
  background:
    linear-gradient(155deg, rgba(10, 25, 70, 0.96) 0%, rgba(17, 53, 123, 0.95) 52%, rgba(31, 104, 196, 0.94) 100%);
  box-shadow: 0 26px 60px rgba(15, 39, 94, 0.34);
  border: 1px solid rgba(171, 205, 255, 0.22);
  backdrop-filter: blur(16px) saturate(130%);
  transform: translateY(0) scale(1);
  opacity: 1;
  animation: mt-process-toast-enter 180ms ease-out;
}

.mt-process-toast::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(159, 214, 255, 0.18), transparent 60%),
    radial-gradient(280px 140px at 100% 100%, rgba(255, 255, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.mt-process-toast.is-success {
  background:
    linear-gradient(155deg, rgba(11, 71, 60, 0.96) 0%, rgba(14, 120, 101, 0.95) 56%, rgba(39, 169, 138, 0.94) 100%);
}

.mt-process-toast.is-warning {
  background:
    linear-gradient(155deg, rgba(115, 68, 6, 0.97) 0%, rgba(160, 100, 12, 0.95) 58%, rgba(212, 145, 34, 0.93) 100%);
  color: #fff8eb;
}

.mt-process-toast.is-error {
  background:
    linear-gradient(155deg, rgba(105, 17, 30, 0.97) 0%, rgba(157, 31, 54, 0.95) 56%, rgba(207, 66, 88, 0.93) 100%);
}

.mt-process-toast.is-closing {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 160ms ease, transform 160ms ease;
}

.mt-process-toast-tag {
  position: absolute;
  top: 0.9rem;
  right: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236, 245, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}

.mt-process-toast-eyebrow,
.mt-process-toast-title,
.mt-process-toast-message,
.mt-process-toast-meta,
.mt-process-toast-bar,
.mt-process-toast-detail {
  position: relative;
  z-index: 1;
}

.mt-process-toast-eyebrow {
  margin-bottom: 0.45rem;
  padding-right: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(226, 239, 255, 0.72);
}

.mt-process-toast-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
}

.mt-process-toast-message {
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(245, 250, 255, 0.94);
}

.mt-process-toast-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 0.9rem;
}

.mt-process-toast-stat {
  border-radius: 0.95rem;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mt-process-toast-stat span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 239, 255, 0.72);
  margin-bottom: 0.2rem;
}

.mt-process-toast-stat strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.mt-process-toast-bar {
  height: 0.82rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 2px rgba(7, 18, 50, 0.24);
}

.mt-process-toast-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #f8fbff 0%, #d5ebff 38%, #9cd7ff 100%);
  box-shadow: 0 0 16px rgba(193, 228, 255, 0.44);
  transition: width 220ms ease;
}

.mt-process-toast-bar span.is-indeterminate {
  width: 28%;
  animation: mt-process-toast-indeterminate 1.15s ease-in-out infinite;
}

.mt-process-toast-detail {
  margin-top: 0.75rem;
  font-size: 0.83rem;
  color: rgba(229, 240, 255, 0.82);
}

.mt-process-toast-actions {
  margin-top: 0.95rem;
  display: flex;
  justify-content: flex-end;
}

.mt-process-toast-action {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #f4f9ff;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.mt-process-toast-action:hover,
.mt-process-toast-action:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

@keyframes mt-process-toast-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mt-process-toast-indeterminate {
  0% {
    transform: translateX(-140%);
  }

  50% {
    transform: translateX(90%);
  }

  100% {
    transform: translateX(240%);
  }
}

@media (max-width: 1199px) {
  .login-page {
    height: auto;
    overflow: auto;
  }

  .login-page .auth-shell,
  .login-page .auth-grid,
  .login-page .auth-form-pane,
  .login-page .auth-visual-pane {
    height: auto;
  }

  .auth-grid {
    grid-template-columns: 1fr;
  }

  .auth-form-pane {
    background: #fff;
    padding: 1.25rem;
  }

  .auth-form-wrap {
    max-width: 540px;
    border: 1px solid var(--public-border);
    border-radius: 1rem;
    box-shadow: 0 14px 28px rgba(24, 47, 96, 0.08);
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .login-page .auth-form-pane,
  .login-page .auth-visual-pane {
    grid-column: auto;
  }

  .login-page .auth-grid {
    min-height: 100dvh;
    grid-template-rows: minmax(240px, 36vh) auto;
  }

  .login-page .auth-visual-pane {
    grid-row: 1;
    min-height: unset;
    padding: 1rem;
    background-size: cover;
    background-position: center;
  }

  .login-page .auth-form-pane {
    grid-row: 2;
    border-left: 0;
    overflow: visible;
  }

  .login-page .auth-visual-card {
    width: 100%;
    padding: 1.5rem;
  }

  .mt-process-toast {
    width: min(100%, calc(100vw - 1rem));
    padding: 1.15rem 1rem 1rem;
  }

  .mt-process-toast-meta {
    grid-template-columns: 1fr;
  }
}
