/* ============================================================
   Admin shell stabilization patch
   Purpose:
   - restore Bootstrap/AdminLTE-style helper classes used across pages
   - expand the sidebar to a comfortable width
   - normalize card, table, form and document preview surfaces
   - improve KPI readability and certificate/report layouts
   ============================================================ */

:root {
  --shell-sidebar-width: 280px;
  --shell-bg: #f4f6fb;
  --shell-surface: #ffffff;
  --shell-surface-soft: #f8fafc;
  --shell-border: #e5e7eb;
  --shell-border-strong: #d8dee8;
  --shell-text: #111827;
  --shell-muted: #6b7280;
  --shell-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  --shell-shadow-soft: 0 8px 22px rgba(15, 23, 42, 0.05);
}

body.pw-admin-theme {
  background: var(--shell-bg) !important;
  color: var(--shell-text) !important;
}

/* -------------------------------------------------------------------------- */
/* Bootstrap/AdminLTE compatibility helpers used by many PHP views            */
/* -------------------------------------------------------------------------- */
body.pw-admin-theme .d-flex { display: flex !important; }
body.pw-admin-theme .align-items-center { align-items: center !important; }
body.pw-admin-theme .align-items-start { align-items: flex-start !important; }
body.pw-admin-theme .align-items-end { align-items: flex-end !important; }
body.pw-admin-theme .justify-content-between { justify-content: space-between !important; }
body.pw-admin-theme .justify-content-end { justify-content: flex-end !important; }
body.pw-admin-theme .justify-content-center { justify-content: center !important; }
body.pw-admin-theme .flex-grow-1 { flex: 1 1 auto !important; }
body.pw-admin-theme .text-right { text-align: right !important; }
body.pw-admin-theme .text-center { text-align: center !important; }
body.pw-admin-theme .font-weight-bold { font-weight: 700 !important; }
body.pw-admin-theme .rounded-pill { border-radius: 999px !important; }
body.pw-admin-theme .shadow-sm { box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important; }
body.pw-admin-theme .border-right { border-right: 1px solid var(--shell-border) !important; }
body.pw-admin-theme .text-decoration-none { text-decoration: none !important; }
body.pw-admin-theme .badge-light { background: #f3f4f6 !important; color: #374151 !important; }
body.pw-admin-theme .form-inline { display: block !important; width: 100%; }
body.pw-admin-theme .input-group { display: flex; align-items: stretch; width: 100%; }
body.pw-admin-theme .input-group-append { display: flex; }
body.pw-admin-theme .btn-block { display: flex; width: 100%; justify-content: center; }

/* -------------------------------------------------------------------------- */
/* Layout shell                                                                */
/* -------------------------------------------------------------------------- */
body.pw-admin-theme .sidebar.main-sidebar,
body.pw-admin-theme .sidebar {
  width: var(--shell-sidebar-width) !important;
  overflow-y: auto;
  overflow-x: hidden;
}

body.pw-admin-theme .main-content,
body.pw-admin-theme .main-content.content-wrapper {
  margin-left: var(--shell-sidebar-width) !important;
  min-height: 100vh;
  width: calc(100% - var(--shell-sidebar-width));
  background: var(--shell-bg) !important;
  overflow-x: hidden;
}

body.pw-admin-theme .page-content {
  padding: 22px 22px 32px !important;
}

body.pw-admin-theme .topbar.main-header,
body.pw-admin-theme .topbar {
  margin: 0 !important;
  border-radius: 0 !important;
  min-height: 64px;
}

body.pw-admin-theme .topbar-shell {
  min-height: 64px;
  padding: 0 18px !important;
}

body.pw-admin-theme .topbar-school-name {
  max-width: clamp(180px, 24vw, 360px);
}

body.pw-admin-theme .topbar-role-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: capitalize;
}

/* -------------------------------------------------------------------------- */
/* Sidebar readability                                                         */
/* -------------------------------------------------------------------------- */
body.pw-admin-theme .pw-sidebar-brand-wrap {
  padding: 16px 18px 10px;
}

body.pw-admin-theme .pw-brand-link {
  min-height: 0 !important;
}

body.pw-admin-theme .pw-brand-glyph {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

body.pw-admin-theme .pw-brand-copy strong {
  font-size: 0.92rem;
}

body.pw-admin-theme .sidebar-search-wrap {
  margin: 14px 12px 10px !important;
  padding: 0 !important;
}

body.pw-admin-theme .sidebar-search-group,
body.pw-admin-theme .input-group.sidebar-search-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

body.pw-admin-theme .form-control-sidebar {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  border-radius: 12px 0 0 12px !important;
  padding: 0 14px !important;
}

body.pw-admin-theme .btn-sidebar {
  width: 42px;
  min-width: 42px;
  border-radius: 0 12px 12px 0 !important;
}

body.pw-admin-theme .sidebar-nav .nav-item,
body.pw-admin-theme .nav-link,
body.pw-admin-theme .nav-link-button {
  min-height: 42px;
}

body.pw-admin-theme .nav-link,
body.pw-admin-theme .nav-link-button,
body.pw-admin-theme .pw-submenu-link {
  white-space: normal;
}

body.pw-admin-theme .pw-nav-label,
body.pw-admin-theme .nav-link p,
body.pw-admin-theme .nav-link-button p {
  min-width: 0;
}

body.pw-admin-theme .pw-submenu-link {
  padding-right: 12px !important;
}

/* -------------------------------------------------------------------------- */
/* Surface components                                                          */
/* -------------------------------------------------------------------------- */
body.pw-admin-theme .card,
body.pw-admin-theme .workspace-panel,
body.pw-admin-theme .settings-panel,
body.pw-admin-theme .settings-toolbar,
body.pw-admin-theme .workspace-note,
body.pw-admin-theme .ep-card,
body.pw-admin-theme .document-sheet,
body.pw-admin-theme .professional-id-card {
  background: var(--shell-surface) !important;
  border: 1px solid var(--shell-border) !important;
  box-shadow: var(--shell-shadow-soft) !important;
}

body.pw-admin-theme .card,
body.pw-admin-theme .workspace-panel,
body.pw-admin-theme .settings-panel,
body.pw-admin-theme .ep-card,
body.pw-admin-theme .document-sheet {
  border-radius: 18px !important;
}

body.pw-admin-theme .card-title,
body.pw-admin-theme .settings-panel-title,
body.pw-admin-theme .ep-card-title,
body.pw-admin-theme .workspace-panel-title,
body.pw-admin-theme .document-main-title {
  color: var(--shell-text) !important;
}

body.pw-admin-theme .card-subtitle,
body.pw-admin-theme .settings-panel-subtitle,
body.pw-admin-theme .workspace-note,
body.pw-admin-theme .workspace-stat-caption,
body.pw-admin-theme .timeline-meta,
body.pw-admin-theme .text-slate-500,
body.pw-admin-theme .text-slate-400 {
  color: var(--shell-muted) !important;
}

body.pw-admin-theme .alert {
  border-radius: 16px;
  box-shadow: var(--shell-shadow-soft);
}

/* -------------------------------------------------------------------------- */
/* Tables and forms                                                            */
/* -------------------------------------------------------------------------- */
body.pw-admin-theme .form-control,
body.pw-admin-theme .form-select,
body.pw-admin-theme textarea,
body.pw-admin-theme select,
body.pw-admin-theme input[type="text"],
body.pw-admin-theme input[type="email"],
body.pw-admin-theme input[type="url"],
body.pw-admin-theme input[type="number"],
body.pw-admin-theme input[type="date"],
body.pw-admin-theme input[type="file"] {
  min-height: 44px;
  border: 1px solid var(--shell-border-strong) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #111827 !important;
  box-shadow: none !important;
}

body.pw-admin-theme textarea.form-control,
body.pw-admin-theme textarea {
  min-height: 110px;
  padding-top: 12px !important;
}

body.pw-admin-theme .form-control:focus,
body.pw-admin-theme .form-select:focus,
body.pw-admin-theme textarea:focus,
body.pw-admin-theme select:focus,
body.pw-admin-theme input:focus {
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12) !important;
}

body.pw-admin-theme .data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

body.pw-admin-theme .data-table thead th {
  background: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 1px solid var(--shell-border) !important;
  font-size: 0.74rem;
}

body.pw-admin-theme .data-table tbody td {
  color: #1f2937 !important;
  border-bottom: 1px solid #eef2f7 !important;
}

body.pw-admin-theme .data-table tbody tr:hover {
  background: #f8fbff !important;
}

/* -------------------------------------------------------------------------- */
/* Dashboard polish                                                            */
/* -------------------------------------------------------------------------- */
body.pw-admin-theme.page-executive-pro-dashboard .ep-header-section {
  align-items: flex-start;
  gap: 16px;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-header-actions {
  gap: 12px;
  flex-wrap: wrap;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-header-status {
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-card {
  min-height: 126px;
  padding: 18px 18px 16px !important;
  border-radius: 18px !important;
  box-shadow: var(--shell-shadow) !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-card .d-flex:first-child {
  margin-bottom: 14px !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-label {
  font-size: 0.76rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-value {
  font-size: 2rem !important;
  line-height: 1.08;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-icon i {
  font-size: 0.95rem;
}

body.pw-admin-theme .bg-ds-navy,
body.pw-admin-theme .bg-ds-teal,
body.pw-admin-theme .bg-ds-peach,
body.pw-admin-theme .bg-ds-rose,
body.pw-admin-theme .bg-ds-maroon,
body.pw-admin-theme .bg-ds-purple,
body.pw-admin-theme .bg-ds-tan,
body.pw-admin-theme .bg-ds-cyan {
  color: #ffffff !important;
}

body.pw-admin-theme .bg-ds-peach .ep-kpi-value,
body.pw-admin-theme .bg-ds-tan .ep-kpi-value {
  color: #1f2937 !important;
}

body.pw-admin-theme .bg-ds-peach .ep-kpi-icon,
body.pw-admin-theme .bg-ds-tan .ep-kpi-icon {
  color: #1f2937 !important;
}

/* -------------------------------------------------------------------------- */
/* Document, report and certificate sheets                                     */
/* -------------------------------------------------------------------------- */
body.pw-admin-theme .document-sheet {
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
}

body.pw-admin-theme .document-letterhead-wrap {
  padding: 20px 24px 0;
  background: #fff;
}

body.pw-admin-theme .document-letterhead-image {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}

body.pw-admin-theme .document-sheet-body {
  padding: 28px 32px 34px;
}

body.pw-admin-theme .document-brand-block {
  padding: 22px 0 0;
}

body.pw-admin-theme .document-brand-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
}

body.pw-admin-theme .document-brand-subtitle {
  margin-top: 6px;
  color: var(--shell-muted);
  line-height: 1.7;
}

body.pw-admin-theme .result-report-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

body.pw-admin-theme .document-main-title {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
}

body.pw-admin-theme .document-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

body.pw-admin-theme .document-meta-grid > div {
  padding: 14px 16px;
  background: var(--shell-surface-soft);
  border: 1px solid var(--shell-border);
  border-radius: 14px;
}

body.pw-admin-theme .document-meta-grid label {
  display: block;
  margin-bottom: 7px;
  color: var(--shell-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.pw-admin-theme .document-meta-grid strong {
  display: block;
  color: #111827;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
}

body.pw-admin-theme .document-paragraph {
  margin-top: 18px;
  color: #374151;
  font-size: 1rem;
  line-height: 1.9;
}

body.pw-admin-theme .document-signature-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--shell-border);
}

body.pw-admin-theme .signature-line {
  width: 220px;
  max-width: 100%;
  margin: 0 0 10px auto;
  border-top: 2px solid #111827;
}

body.pw-admin-theme .report-score-bubble,
body.pw-admin-theme .workspace-stat-card {
  border-radius: 16px !important;
  border: 1px solid var(--shell-border) !important;
  box-shadow: var(--shell-shadow-soft) !important;
}

/* -------------------------------------------------------------------------- */
/* Responsive behavior                                                         */
/* -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  :root { --shell-sidebar-width: 262px; }

  body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.pw-admin-theme .document-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  body.pw-admin-theme .sidebar.main-sidebar,
  body.pw-admin-theme .sidebar {
    transform: translateX(-100%);
  }

  body.pw-admin-theme.sidebar-open .sidebar.main-sidebar,
  body.pw-admin-theme.sidebar-open .sidebar,
  body.pw-admin-theme .sidebar.open {
    transform: translateX(0);
  }

  body.pw-admin-theme .main-content,
  body.pw-admin-theme .main-content.content-wrapper {
    width: 100%;
    margin-left: 0 !important;
  }
}

@media (max-width: 767px) {
  body.pw-admin-theme .page-content {
    padding: 16px 14px 26px !important;
  }

  body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-grid {
    grid-template-columns: 1fr !important;
  }

  body.pw-admin-theme .document-sheet-body,
  body.pw-admin-theme .document-letterhead-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.pw-admin-theme .document-meta-grid {
    grid-template-columns: 1fr;
  }

  body.pw-admin-theme .document-signature-row {
    flex-direction: column;
    align-items: stretch;
  }

  body.pw-admin-theme .signature-line {
    margin-left: 0;
  }
}

/* -------------------------------------------------------------------------- */
/* Final reference-match override: closer to supplied dashboard screenshot     */
/* -------------------------------------------------------------------------- */
:root {
  --shell-sidebar-width: 244px;
  --ref-shell-bg: #f3f5f8;
  --ref-shell-surface: #ffffff;
  --ref-shell-border: #e7ebf0;
  --ref-shell-text: #2f3640;
  --ref-shell-muted: #7b8794;
  --ref-sidebar-bg: #343a40;
  --ref-sidebar-bg-2: #3a4047;
  --ref-sidebar-strong: #4a525d;
  --ref-sidebar-hover: #414851;
  --ref-topbar-bg: #40464f;
  --ref-orange: #f49b30;
  --ref-rose: #f26d7d;
  --ref-shadow-soft: 0 8px 22px rgba(31, 41, 55, 0.06);
}

body.pw-admin-theme {
  background: var(--ref-shell-bg) !important;
  color: var(--ref-shell-text) !important;
}

body.pw-admin-theme .sidebar.main-sidebar,
body.pw-admin-theme .sidebar {
  width: var(--shell-sidebar-width) !important;
  background: linear-gradient(180deg, var(--ref-sidebar-bg) 0%, var(--ref-sidebar-bg-2) 100%) !important;
  border-right: 1px solid rgba(255,255,255,0.06) !important;
  box-shadow: 16px 0 34px rgba(15, 23, 42, 0.16) !important;
}

body.pw-admin-theme .main-content,
body.pw-admin-theme .main-content.content-wrapper {
  margin-left: var(--shell-sidebar-width) !important;
  width: calc(100% - var(--shell-sidebar-width));
  background: var(--ref-shell-bg) !important;
}

body.pw-admin-theme .pw-sidebar-brand-wrap {
  padding: 14px 18px 10px !important;
  display: flex;
  justify-content: center;
}

body.pw-admin-theme .pw-brand-link {
  flex-direction: column !important;
  justify-content: center;
  align-items: center !important;
  gap: 8px !important;
  width: 100%;
}

body.pw-admin-theme .pw-brand-glyph {
  width: 32px !important;
  height: 32px !important;
  flex-basis: 32px !important;
  background: rgba(255,255,255,0.08) !important;
}

body.pw-admin-theme .pw-brand-copy strong {
  font-size: 0.74rem !important;
  letter-spacing: 0.08em;
  color: #f5f7fa !important;
}

body.pw-admin-theme .sidebar-search-wrap {
  margin: 10px 12px 12px !important;
}

body.pw-admin-theme .form-control-sidebar,
body.pw-admin-theme .btn-sidebar {
  background: #464c55 !important;
  border-color: #4f5661 !important;
}

body.pw-admin-theme .form-control-sidebar {
  height: 36px;
  font-size: 0.78rem;
  border-radius: 6px 0 0 6px !important;
}

body.pw-admin-theme .btn-sidebar {
  width: 36px;
  min-width: 36px;
  border-radius: 0 6px 6px 0 !important;
}

body.pw-admin-theme .nav-header,
body.pw-admin-theme .nav-section-title {
  padding: 10px 16px 6px !important;
  color: rgba(255,255,255,0.36) !important;
  font-size: 0.58rem !important;
  letter-spacing: 0.14em;
}

body.pw-admin-theme .nav-link,
body.pw-admin-theme .nav-link-button,
body.pw-admin-theme .sidebar-nav .nav-item {
  margin: 0 8px 3px !important;
  min-height: 38px !important;
  padding: 9px 12px !important;
  border-radius: 6px !important;
  border-left: 0 !important;
  color: rgba(255,255,255,0.90) !important;
  font-size: 0.79rem !important;
  font-weight: 500;
}

body.pw-admin-theme .nav-link:hover,
body.pw-admin-theme .nav-link-button:hover,
body.pw-admin-theme .sidebar-nav .nav-item:hover {
  background: var(--ref-sidebar-hover) !important;
  color: #fff !important;
  transform: none !important;
}

body.pw-admin-theme .nav-link.active,
body.pw-admin-theme .nav-link-button.active,
body.pw-admin-theme .sidebar-nav .nav-item.active,
body.pw-admin-theme .nav-item.menu-open > .nav-link-button {
  background: var(--ref-sidebar-strong) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

body.pw-admin-theme .nav-icon,
body.pw-admin-theme .sidebar-nav .icon {
  width: 15px !important;
  min-width: 15px !important;
  color: rgba(255,255,255,0.80) !important;
  font-size: 0.8rem;
}

body.pw-admin-theme .nav-treeview {
  padding-bottom: 6px;
}

body.pw-admin-theme .nav-treeview .nav-link,
body.pw-admin-theme .pw-submenu-link {
  margin-left: 18px !important;
  min-height: 31px !important;
  padding: 6px 12px 6px 14px !important;
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.75rem !important;
  background: transparent !important;
}

body.pw-admin-theme .pw-submenu-bullet {
  color: var(--ref-orange) !important;
  font-size: 0.7rem;
  opacity: 0.92;
  width: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.pw-admin-theme .nav-treeview .nav-link.pw-submenu-link:hover,
body.pw-admin-theme .nav-treeview .nav-link.pw-submenu-link.active {
  color: #ffffff !important;
  background: rgba(255,255,255,0.05) !important;
}

body.pw-admin-theme .topbar.main-header,
body.pw-admin-theme .topbar {
  background: var(--ref-topbar-bg) !important;
  border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  min-height: 54px !important;
}

body.pw-admin-theme .topbar-shell {
  min-height: 54px !important;
  padding: 0 16px !important;
}

body.pw-admin-theme .topbar-school-name {
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
}

body.pw-admin-theme .topbar-icon-btn,
body.pw-admin-theme .topbar-user-btn,
body.pw-admin-theme .command-close,
body.pw-admin-theme .topbar-role-pill {
  min-height: 32px;
  height: 32px;
  border-radius: 6px !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  background: rgba(255,255,255,0.04) !important;
  color: rgba(255,255,255,0.92) !important;
  box-shadow: none !important;
}

body.pw-admin-theme .topbar-role-pill {
  padding: 0 10px !important;
  font-size: 0.7rem !important;
  text-transform: lowercase;
}

body.pw-admin-theme .topbar-user-avatar {
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,0.12) !important;
}

body.pw-admin-theme .page-content {
  padding: 16px 16px 28px !important;
}

body.pw-admin-theme .card,
body.pw-admin-theme .workspace-panel,
body.pw-admin-theme .settings-panel,
body.pw-admin-theme .ep-card,
body.pw-admin-theme .document-sheet {
  background: var(--ref-shell-surface) !important;
  border: 1px solid var(--ref-shell-border) !important;
  border-radius: 12px !important;
  box-shadow: var(--ref-shadow-soft) !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-header-section {
  align-items: center;
  gap: 12px;
  margin-bottom: 14px !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-title {
  font-size: 1.9rem !important;
  line-height: 1.05;
  color: #20242a !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-subtitle {
  font-size: 0.75rem !important;
  color: #8b97a5 !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-theme-pill {
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: #ffedf1 !important;
  color: var(--ref-rose) !important;
  font-size: 0.56rem !important;
  letter-spacing: 0.12em;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-ticker-wrapper {
  min-height: 38px;
  border-radius: 999px !important;
  border: 1px solid var(--ref-shell-border) !important;
  box-shadow: none !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-updates-label {
  color: var(--ref-orange) !important;
  font-size: 0.68rem !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-header-status {
  min-height: 32px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: #fff5f5 !important;
  color: #ef476f !important;
  border: 1px solid #ffd9df !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-card {
  min-height: 86px !important;
  padding: 10px 12px 12px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-card .d-flex:first-child {
  margin-bottom: 10px !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-label {
  font-size: 0.56rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  opacity: 0.95;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-value {
  font-size: 1.25rem !important;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-icon {
  width: 24px !important;
  height: 24px !important;
  border-radius: 6px !important;
  background: rgba(255,255,255,0.14) !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-icon i {
  font-size: 0.68rem !important;
}

body.pw-admin-theme .bg-ds-navy { background: #2f4d79 !important; }
body.pw-admin-theme .bg-ds-teal { background: #2f968f !important; }
body.pw-admin-theme .bg-ds-peach { background: #f2a057 !important; }
body.pw-admin-theme .bg-ds-rose { background: #d86a78 !important; }
body.pw-admin-theme .bg-ds-maroon { background: #8c1f34 !important; }
body.pw-admin-theme .bg-ds-purple { background: #6b52a3 !important; }
body.pw-admin-theme .bg-ds-tan { background: #b98847 !important; }
body.pw-admin-theme .bg-ds-cyan { background: #28727a !important; }

body.pw-admin-theme.page-executive-pro-dashboard .ep-card {
  border-radius: 10px !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-card-header {
  padding: 12px 14px !important;
  border-bottom: 1px solid #eef2f5 !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-card-title {
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  color: #253041 !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-card-body {
  padding: 12px 14px !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-feed-container {
  padding: 2px 0;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-feed-item,
body.pw-admin-theme.page-executive-pro-dashboard .ep-widget-row,
body.pw-admin-theme.page-executive-pro-dashboard .ep-notice-item {
  padding: 10px 0 !important;
  border-bottom: 1px solid #eef2f5 !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-widget-row span,
body.pw-admin-theme.page-executive-pro-dashboard .ep-feed-time,
body.pw-admin-theme.page-executive-pro-dashboard .ep-notice-date {
  font-size: 0.72rem !important;
  color: #8b97a5 !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-search-group,
body.pw-admin-theme.page-executive-pro-dashboard .ep-inline-search-wrap .form-control {
  background: #f6f8fb !important;
  border: 1px solid #e7ebf0 !important;
  border-radius: 10px !important;
}

body.pw-admin-theme.page-executive-pro-dashboard .ep-action-pill,
body.pw-admin-theme.page-executive-pro-dashboard .ep-library-item,
body.pw-admin-theme.page-executive-pro-dashboard .ep-btn-subtle {
  border-radius: 10px !important;
  box-shadow: none !important;
}

@media (max-width: 1399px) {
  body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.pw-admin-theme .topbar-role-pill {
    display: none !important;
  }

  body.pw-admin-theme.page-executive-pro-dashboard .ep-title {
    font-size: 1.5rem !important;
  }

  body.pw-admin-theme.page-executive-pro-dashboard .ep-kpi-grid {
    grid-template-columns: 1fr !important;
  }
}

