.bi {
  padding: 18px;
}

.bi-empty {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.bi-hero {
  margin-bottom: 18px;
}

.bi-heroCard {
  background-color: var(--panel);
  background-image: url("/assets/img/banner.png");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 38px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.bi-heroLeft {
  width: 100%;
}

.bi-heroTitle {
  margin: 0 0 10px 0;
  font-size: 60px;
  font-weight: 700;
  color: #E31937;
}

.bi-heroBody {
  margin: 0 0 16px 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
  max-width: 70ch;
}

.bi-heroActions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.bi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none;
}

.bi-btn.is-outline {
  background: #fff;
  border-color: #a78bfa;
  color: #4b2fbf;
}

.bi-btn.is-solid {
  background: #4b2fbf;
  border-color: #4b2fbf;
  color: #fff;
}

.bi-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
  overflow: hidden;
}

.bi-cardHeader {
  border-bottom: 1px solid var(--border);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bi-cardTopRow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.bi-h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.bi-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bi-search {
  position: relative;
  display: flex;
  align-items: center;
}

.bi-searchIcon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
  color: rgba(44, 44, 44, 0.75); /* adjust for light mode if needed */
}

.bi-search input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 10px 12px 10px 36px;
  font-size: 13px;
  outline: none;
  background: var(--bg);
  color: var(--text);
}

.bi-advBtn {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand1);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.bi-advBtn:hover {
  text-decoration: underline;
}

.bi-tabs {
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--border);
  padding: 0 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.bi-tabs::-webkit-scrollbar {
  height: 0;
  width: 0;
}

.bi-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 15px 10px 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  color: var(--text);
  transition: transform 160ms ease, color 160ms ease;
  will-change: transform;
}

.bi-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 5px;
  background: var(--brand1);
  transform-origin: bottom;
  transform: scaleX(0) scaleY(0.2);
  transition: transform 180ms ease;
  will-change: transform;
}

.bi-tab:not(.is-active):hover,
.bi-tab:not(.is-active):focus-visible {
  color: var(--brand1);
  transform: translateY(-2px);
}

.bi-tab:not(.is-active):hover::after,
.bi-tab:not(.is-active):focus-visible::after {
  transform: scaleX(1) scaleY(1);
}

.bi-tab.is-active::after {
  transform: scaleX(1) scaleY(1);
}

.bi-tabCount {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  background: #f3f4f6;
  color: #6b7280;
  transition: transform 160ms ease;
}

.bi-tab.is-active .bi-tabCount {
  background: rgba(82, 54, 171, 0.1);
  color: var(--brand1);
}

.bi-tabUnderline {
  display: none;
}

.bi-list {
  padding: 6px 0;
}

.bi-item {
  padding: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.bi-item:first-child {
  border-top: none;
}

.bi-id {
  font-size: 12px;
  font-weight: 800;
  color: #6b7280;
}

.bi-title {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.bi-desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 720px;
}

.bi-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bi-metaItem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.bi-metaIcon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.9;
}

.bi-metaSep {
  color: #d1d5db;
}

.bi-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  min-width: 160px;
}

.bi-metrics {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.bi-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bi-metricIcon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.9;
}

.bi-metricSep {
  color: #d1d5db;
}

.bi-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--border);
  background: #fff;
}

.bi-pill.is-dept {
  border-color: #fecaca;
  background: #fef2f2;
  color: #E31937;
}

.bi-pill.is-cat {
  border-color: #ddd6fe;
  background: #f5f3ff;
  color: var(--brand1);
}

.bi-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.bi-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  color: #374151;
}

.bi-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #9ca3af;
}

.bi-dot.is-submitted {
  background: #a1a1aa;
} /* gray */
.bi-dot.is-review {
  background: #f59e0b;
} /* yellow */
.bi-dot.is-approved {
  background: #3b82f6;
} /* blue */
.bi-dot.is-dev {
  background: #86efac;
} /* light green */
.bi-dot.is-completed {
  background: #166534;
} /* dark green */
.bi-dot.is-denied {
  background: #ef4444;
} /* red */
.bi-metrics {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: #6b7280;
}

.bi-modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.bi-modal {
  width: 100%;
  max-width: 980px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.18);
  max-height: calc(100vh - 36px);
  overflow: auto;
}

.bi-modalHead {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.bi-modalTitle {
  font-weight: 900;
  font-size: 16px;
}

.bi-modalHeadRight {
  display: flex;
  gap: 12px;
  align-items: center;
}

.bi-modalBody {
  padding: 18px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.bi-filterGroupTitle {
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
}

.bi-checkRow {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #374151;
  margin: 8px 0;
}

.bi-checkRow input {
  margin-top: 2px;
}

.bi-dateRow {
  grid-column: 1/-1;
}

.bi-dateGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.bi-dateGrid input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background-color: var(--bg);
  color: var(--text);
  padding: 10px 12px;
  font-size: 13px;
  outline: none;
}

.bi-modalFoot {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bi-drawerWrap {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  bottom: 0;
  z-index: 60;
  pointer-events: none;
}

.bi-drawerWrap.is-open {
  pointer-events: auto;
}

.bi-drawerBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.bi-drawerWrap.is-open .bi-drawerBackdrop {
  opacity: 1;
}

.bi-drawer {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 800px;
  background: #fff;
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.22s ease;
  box-shadow: -16px 0 40px rgba(16, 24, 40, 0.18);
  display: flex;
  flex-direction: column;
  padding: 40px;
}

.bi-drawerWrap.is-open .bi-drawer {
  transform: translateX(0);
}

.bi-drawerHead {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bi-drawerBack {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  color: #374151;
  background: transparent;
  border: none;
  cursor: pointer;
}

.bi-drawerBody {
  padding: 18px;
  overflow: auto;
  flex: 1 1 auto;
}

.bi-dTitle {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.bi-dGrid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.bi-kLabel {
  font-size: 11px;
  font-weight: 900;
  color: #6b7280;
  text-transform: none;
}

.bi-kVal {
  margin-top: 8px;
  font-size: 13px;
  color: #374151;
  font-weight: 700;
}

.bi-accordion {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.bi-accItem {
  border-top: 1px solid var(--border);
}

.bi-accItem:first-child {
  border-top: none;
}

.bi-accBtn {
  width: 100%;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: none;
  cursor: pointer;
}

.bi-accTitle {
  font-size: 13px;
  font-weight: 900;
  color: #111827;
}

.bi-accPanel {
  padding: 0 16px 16px;
  color: #374151;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.bi-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.bi-pagerBtn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.bi-pagerBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.bi-pagerInfo {
  font-size: 13px;
  color: #6b7280;
  font-weight: 700;
}

.bi-activeFilters {
  padding: 10px 18px 0;
}

.bi-activeTitle {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 8px;
}

.bi-activeRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.bi-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.bi-chipX {
  display: inline-flex;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  line-height: 1;
}

.bi-clearFilters {
  background: transparent;
  border: none;
  color: var(--brand1);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  padding: 6px 4px;
}

.bi-dBack {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  padding: 10px 6px;
}

.bi-dBackIcon {
  font-size: 18px;
  line-height: 1;
  opacity: 0.8;
}

.bi-section {
  padding: 10px 4px 2px;
}

.bi-subhead {
  margin: 14px 0 6px;
  font-size: 12px;
  font-weight: 900;
  color: var(--text);
}

.bi-par {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.bi-muted {
  color: var(--muted);
}

.bi-sectionCard {
  border: 1px solid #c7c3ff;
  border-radius: 10px;
  padding: 14px;
  background: #fff;
}

.bi-cardTitle {
  font-size: 13px;
  font-weight: 900;
  color: var(--brand1);
  margin-bottom: 12px;
}

.bi-implTop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.bi-miniLabel {
  font-size: 11px;
  font-weight: 900;
  color: var(--text);
}

.bi-miniVal {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.bi-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

.bi-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid transparent;
}

.bi-badge.is-yes {
  background: #e8fff1;
  border-color: #86efac;
  color: #166534;
}

.bi-badge.is-no {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}

.bi-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.bi-fieldLabel {
  font-size: 11px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
}

.bi-fieldVal {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.bi-fieldVal .bi-pill {
  transform: translateY(-1px);
}

.bi-timeline {
  display: grid;
  gap: 12px;
  padding: 6px 4px;
}

.bi-tlRow {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 10px;
  align-items: center;
}

.bi-tlLeft {
  position: relative;
  width: 26px;
  display: flex;
  justify-content: center;
}

.bi-tlDot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bi-tlDot.is-active {
  background: var(--brand1);
}

.bi-tlLine {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 22px;
  background: #d1d5db;
}

.bi-tlLabel {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.bi-tlDate {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.bi-drawerFooter {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--border);
  background: var(--panel);
}

.bi-drawerFooter .bi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.bi-btn--cgi {
  color: #fff;
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.bi-btn--cgi:hover {
  filter: brightness(1.02);
}

.bi-btn--cgi:active {
  transform: translateY(1px);
}

.bi-btn--cgi:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.15);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .bi-heroCard {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .bi-heroArt {
    height: 160px;
  }
  .bi-heroTitle {
    font-size: 28px;
  }
  .bi-modalBody {
    grid-template-columns: 1fr;
  }
  .bi-dateGrid {
    grid-template-columns: 1fr;
  }
}
html.theme-dark .bi-heroBody {
  color: rgba(255, 255, 255, 0.78) !important;
}

html.theme-dark .bi-search input {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border-color: var(--border) !important;
}

html.theme-dark .bi-search input::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

html.theme-dark .bi-searchIcon {
  color: rgba(255, 255, 255, 0.6) !important;
  opacity: 1 !important;
}

html.theme-dark .bi-tabs {
  border-bottom-color: var(--border) !important;
}

html.theme-dark .bi-tab {
  color: rgba(255, 255, 255, 0.72) !important;
}

html.theme-dark .bi-tab.is-active {
  color: rgba(255, 255, 255, 0.92) !important;
}

html.theme-dark .bi-tabCount {
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

html.theme-dark .bi-tab.is-active .bi-tabCount {
  background: rgba(82, 54, 171, 0.22) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

html.theme-dark .bi-drawer,
html.theme-dark .bi-modal,
html.theme-dark .bi-accBtn,
html.theme-dark .bi-sectionCard,
html.theme-dark .bi-pager {
  background: var(--panel) !important;
  border-color: var(--border) !important;
}

html.theme-dark .bi-drawer,
html.theme-dark .bi-modal {
  color: rgba(255, 255, 255, 0.85) !important;
}

html.theme-dark .bi-drawerHead,
html.theme-dark .bi-modalHead,
html.theme-dark .bi-modalFoot {
  border-color: var(--border) !important;
}

html.theme-dark .bi-drawerBack,
html.theme-dark .bi-checkRow,
html.theme-dark .bi-modalTitle,
html.theme-dark .bi-kVal,
html.theme-dark .bi-accPanel,
html.theme-dark .bi-pagerBtn {
  color: rgba(255, 255, 255, 0.85) !important;
}

html.theme-dark .bi-kLabel,
html.theme-dark .bi-pagerInfo {
  color: rgba(255, 255, 255, 0.6) !important;
}

html.theme-dark .bi-pagerBtn {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html.theme-dark .bi-pagerBtn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

html.theme-dark .bi-tlLine {
  background: rgba(255, 255, 255, 0.18) !important;
}

/* Dark Mode Support */
html.theme-dark .hero-banner {
  background: #1a1a2e;
  border: 1px solid #444;
}

html.theme-dark .hero-description {
  color: #e5e7eb;
}

html.theme-dark .hero-btn-outline {
  background: transparent;
  border-color: #8b7bc8;
  color: #8b7bc8;
}

html.theme-dark .hero-btn-outline:hover {
  background: rgba(139, 123, 200, 0.1);
}

html.theme-dark .hero-btn-filled {
  background: #6b4fc4;
}

html.theme-dark .hero-btn-filled:hover {
  background: #5a3fa8;
}

html.theme-dark .hero-patterns {
  opacity: 0.6;
}

html.theme-dark .bi-accTitle {
  color: white;
}

html.theme-dark .bi-accBtn {
  color: white;
}

html.theme-dark .bi-dot.is-submitted {
  color: #fff;
}

html.theme-dark .bi-dot.is-review {
  color: #fff;
}

html.theme-dark .bi-dot.is-approved {
  color: #fff;
}

html.theme-dark .bi-dot.is-dev {
  color: #fff;
}

html.theme-dark .bi-dot.is-completed {
  color: #fff;
}

html.theme-dark .bi-dot.is-denied {
  color: #fff;
}

/* optional: default dot color in dark mode */
html.theme-dark .bi-dot {
  color: #fff;
}

html.theme-dark .bi-status {
  color: white;
}

html.theme-dark .bi-meta {
  color: white;
}

html.theme-dark .bi-metaItem {
  color: white;
}

html.theme-dark .bi-metric {
  color: white;
}

html.theme-dark .bi-dCloseIcon {
  color: white;
}

.bi-dClose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
}

.bi-dCloseIcon {
  width: 18px;
  height: 18px;
}

.bi-metaIcon,
.bi-metricIcon {
  width: 16px;
  height: 16px;
  display: inline-block;
}

html.theme-dark .bi-metaIcon,
html.theme-dark .bi-metricIcon {
  color: white;
}

/*# sourceMappingURL=boost-innovation.css.map */