/* بحثي — Academic Light SaaS (homepage + desktop shell) */

:root,
[data-theme="light"] {
  --bahthy-bg-0: #F7F9FC;
  --bahthy-bg-1: #FFFFFF;
  --bahthy-card-0: #FFFFFF;
  --bahthy-card-1: #FFFFFF;
  --bahthy-text: #1E293B;
  --bahthy-muted: #64748B;
  --bahthy-primary: #2563EB;
  --bahthy-primary-soft: #EFF6FF;
  --bahthy-border: #E8EDF3;
  --bahthy-home: #2563EB;
  --bg-primary: #F7F9FC;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --accent: #2563EB;
  --accent-soft: #EFF6FF;
  --accent-glow: rgba(37, 99, 235, 0.12);
  --accent-hover: #1D4ED8;
  --text: #1E293B;
  --text-muted: #64748B;
  --border: #E8EDF3;
  --glass-bg: rgba(255, 255, 255, 0.86);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.05);
}

html,
body {
  background: #F7F9FC !important;
  color: #1E293B;
}

body::before {
  background:
    radial-gradient(ellipse 70% 48% at 88% 0%, rgba(37, 99, 235, 0.06), transparent 58%),
    linear-gradient(165deg, #F7F9FC 0%, #F3F6FA 45%, #FFFFFF 100%) !important;
}

body::after {
  display: none !important;
}

#appScreen.screen.active {
  position: relative;
}

#appScreen.screen.active::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image:
    radial-gradient(circle 180px at 12% 18%, #2563EB, transparent 70%),
    radial-gradient(circle 140px at 88% 22%, #173B6C, transparent 70%),
    radial-gradient(circle 3px at 20% 40%, #2563EB, transparent 70%),
    radial-gradient(circle 2.5px at 70% 30%, #173B6C, transparent 70%),
    radial-gradient(circle 2.8px at 40% 78%, #2563EB, transparent 70%),
    radial-gradient(circle 2.4px at 82% 68%, #173B6C, transparent 70%);
}

/* ── Unlock clipping on computer screens ───────────────── */
@media (min-width: 769px) {
  html:has(#appScreen.screen.active),
  body:has(#appScreen.screen.active) {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100%;
    overscroll-behavior: auto;
  }

  #appScreen.screen.active {
    height: auto !important;
    max-height: none !important;
    min-height: 100dvh !important;
    overflow: visible !important;
    overflow-y: visible !important;
    background: #F7F9FC;
  }

  #appScreen.screen.active > .bahthy-desktop-shell {
    min-height: 100dvh;
    height: auto !important;
    overflow: visible !important;
  }

  .bahthy-desktop-column {
    overflow: visible !important;
  }

  #appScreen.screen.active main,
  #appScreen.screen.active main.bahthy-main,
  #appScreen.screen.active > main.bahthy-main,
  #appScreen > main.bahthy-main {
    overflow: visible !important;
    overflow-y: visible !important;
    max-width: none !important;
    width: 100%;
  }

  #viewDashboard.view-section.active,
  .bahthy-dash-frame,
  .bahthy-dash-frame > #viewDashboard,
  #viewDashboard #cardsGrid.grid,
  #cardsGrid.bahthy-cards {
    overflow: visible !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
  }
}

/* ── Nav ───────────────────────────────────────────────── */
#appScreen .main-header.bahthy-nav {
  background: #FFFFFF !important;
  border-bottom: 1px solid #E8EDF3 !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

#appScreen .bahthy-nav-brand,
#appScreen .bahthy-nav-brand span {
  color: #173B6C !important;
}

#appScreen .bahthy-nav-link {
  background: #F8FAFC !important;
  border-color: #E8EDF3 !important;
  color: #64748B !important;
}

#appScreen .bahthy-nav-link.is-active,
#appScreen .bahthy-nav-link--home.is-active {
  background: #EEF5FF !important;
  border-color: #DBE7F8 !important;
  color: #2563EB !important;
  box-shadow: none !important;
}

.bahthy-desktop-search {
  background: #F8FAFC !important;
  border: 1px solid #E8EDF3 !important;
}

.bahthy-desktop-search-input,
.bahthy-desktop-search-input::placeholder {
  color: #64748B !important;
}

.bahthy-desktop-search-icon {
  color: #94A3B8 !important;
}

#appScreen .bahthy-nav .points-balance {
  color: #1E293B !important;
  background: #F8FAFC !important;
  border-color: #E8EDF3 !important;
}

#appScreen .bahthy-nav .btn-upgrade-header,
#appScreen .bahthy-nav .btn-upgrade {
  background: #173B6C !important;
  border-color: #173B6C !important;
  color: #FFFFFF !important;
}

#appScreen .bahthy-nav .btn-upgrade-header:hover,
#appScreen .bahthy-nav .btn-upgrade:hover {
  background: #1D4ED8 !important;
}

#appScreen .bahthy-nav .btn-header-ask {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border-color: #2563EB !important;
}

#appScreen .bahthy-nav .btn-header-ask:hover {
  background: #1D4ED8 !important;
}

#appScreen .bahthy-nav .theme-toggle {
  color: #64748B !important;
  background: #FFFFFF !important;
  border: 1px solid #E8EDF3 !important;
}

#appScreen .bahthy-nav .btn-logout {
  color: #B91C1C !important;
  background: #FEF2F2 !important;
  border-color: #FECACA !important;
}

/* ── Sidebar ───────────────────────────────────────────── */
@media (min-width: 769px) and (min-height: 541px) {
  :root {
    --bahthy-sidebar-w: 228px;
  }

  .bahthy-dash-sidebar {
    background: #FFFFFF !important;
    border-inline-start: 1px solid #E8EDF3 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .bahthy-sidebar-brand {
    border-bottom-color: #E8EDF3 !important;
    flex-wrap: wrap;
  }

  .bahthy-sidebar-brand-text strong {
    color: #173B6C !important;
  }

  .bahthy-sidebar-brand-text span {
    color: #94A3B8 !important;
  }

  .bahthy-sidebar-link,
  .bahthy-sidebar-tool {
    color: #64748B !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .bahthy-sidebar-link:hover,
  .bahthy-sidebar-tool:hover {
    background: #F8FAFC !important;
    color: #1E293B !important;
  }

  .bahthy-sidebar-link.is-active {
    background: #EEF5FF !important;
    color: #173B6C !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  .bahthy-sidebar-icon--home { color: #2563EB !important; }
  .bahthy-sidebar-icon--research { color: #173B6C !important; }
  .bahthy-sidebar-icon--report { color: #2563EB !important; }
  .bahthy-sidebar-icon--sources { color: #173B6C !important; }
  .bahthy-sidebar-icon--plagiarism { color: #2563EB !important; }
  .bahthy-sidebar-icon--stats { color: #173B6C !important; }
  .bahthy-sidebar-icon--discuss { color: #2563EB !important; }
  .bahthy-sidebar-icon--fav { color: #2563EB !important; }
  .bahthy-sidebar-icon--history { color: #173B6C !important; }
  .bahthy-sidebar-icon--files { color: #2563EB !important; }
  .bahthy-sidebar-icon--settings { color: #64748B !important; }
  .bahthy-sidebar-icon--contact { color: #E8C872 !important; }

  .bahthy-sidebar-link.is-active .bahthy-sidebar-icon {
    color: #2563EB !important;
  }

  .bahthy-sidebar-section {
    border-top-color: #E8EDF3 !important;
  }

  .bahthy-sidebar-section-title {
    color: #94A3B8 !important;
  }

  .bahthy-sidebar-help,
  .bahthy-sidebar-sub {
    background: #173B6C !important;
    border: none !important;
    border-radius: 16px !important;
  }

  .bahthy-sidebar-help-text strong {
    color: #FFFFFF !important;
  }

  .bahthy-sidebar-help-text span {
    color: #C7D2E5 !important;
  }

  .bahthy-sidebar-contact,
  .bahthy-sidebar-contact:hover {
    background: #2563EB !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: none !important;
    filter: none !important;
  }

  .bahthy-sidebar-contact:hover {
    background: #1D4ED8 !important;
  }

  .bahthy-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    margin-inline-start: auto;
    border: 1px solid #E8EDF3;
    border-radius: 10px;
    background: #FFFFFF;
    color: #64748B;
    cursor: pointer;
    flex: 0 0 32px;
  }

  .bahthy-sidebar-toggle:hover {
    background: #EEF5FF;
    color: #2563EB;
  }

  .bahthy-dash-sidebar.is-collapsed {
    flex-basis: 76px !important;
    width: 76px !important;
    padding-inline: 8px !important;
  }

  .bahthy-dash-sidebar.is-collapsed .bahthy-sidebar-brand-text,
  .bahthy-dash-sidebar.is-collapsed .bahthy-sidebar-link > span:not(.bahthy-sidebar-icon),
  .bahthy-dash-sidebar.is-collapsed .bahthy-sidebar-tool > span:not(.bahthy-sidebar-icon),
  .bahthy-dash-sidebar.is-collapsed .bahthy-sidebar-section-title,
  .bahthy-dash-sidebar.is-collapsed .bahthy-sidebar-help {
    display: none !important;
  }

  .bahthy-dash-sidebar.is-collapsed .bahthy-sidebar-brand {
    justify-content: center;
    padding-inline: 0;
  }

  .bahthy-dash-sidebar.is-collapsed .bahthy-sidebar-toggle {
    margin-inline: auto;
  }
}

@media (min-width: 1600px) {
  :root { --bahthy-sidebar-w: 240px; }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  :root { --bahthy-sidebar-w: 208px; }
}

@media (min-width: 769px) and (max-width: 1199px) and (min-height: 541px) {
  :root { --bahthy-sidebar-w: 76px; }

  .bahthy-dash-sidebar:not(.is-expanded) {
    flex-basis: 76px !important;
    width: 76px !important;
    padding-inline: 8px !important;
  }

  .bahthy-dash-sidebar:not(.is-expanded) .bahthy-sidebar-brand-text,
  .bahthy-dash-sidebar:not(.is-expanded) .bahthy-sidebar-link > span:not(.bahthy-sidebar-icon),
  .bahthy-dash-sidebar:not(.is-expanded) .bahthy-sidebar-tool > span:not(.bahthy-sidebar-icon),
  .bahthy-dash-sidebar:not(.is-expanded) .bahthy-sidebar-section-title,
  .bahthy-dash-sidebar:not(.is-expanded) .bahthy-sidebar-help {
    display: none !important;
  }
}

/* ── Hero ──────────────────────────────────────────────── */
#viewDashboard .dashboard-hero {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 28px);
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: linear-gradient(90deg, #FFFFFF, #EEF5FF, #E8F1FF) !important;
  border: 1px solid #E8EDF3;
  border-radius: 18px;
  padding: 0 !important;
  margin-bottom: clamp(14px, 1.8vw, 22px) !important;
}

#viewDashboard .dashboard-hero::before,
#viewDashboard .dashboard-hero::after {
  display: none !important;
}

#viewDashboard .dashboard-hero-content {
  position: relative !important;
  z-index: 2;
  flex: 1 1 auto;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  max-width: 560px !important;
  margin: 0 !important;
  padding: clamp(18px, 2.4vw, 32px) clamp(18px, 2.2vw, 32px) !important;
  text-align: right !important;
}

#viewDashboard .dashboard-hero-title,
#viewDashboard .dashboard-hero-title-desktop,
#viewDashboard .dashboard-hero-title-mobile {
  color: #173B6C !important;
  -webkit-text-fill-color: #173B6C !important;
  background: none !important;
  text-shadow: none !important;
  font-size: clamp(1.35rem, 2.4vw, 2rem) !important;
  text-align: right !important;
}

.bahthy-brand-accent {
  color: #173B6C !important;
  -webkit-text-fill-color: #173B6C !important;
  text-shadow: none !important;
}

#viewDashboard .dashboard-hero-desc {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
  max-width: 34rem;
  margin: 8px 0 16px !important;
  text-align: right !important;
}

.dashboard-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 22px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #FFFFFF;
  font-family: var(--font-ar);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dashboard-hero-cta:hover {
  background: linear-gradient(135deg, #1D4ED8, #1E40AF);
  transform: translateY(-1px);
}

@media (min-width: 769px) {
  .dashboard-hero-visual {
    display: flex !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    width: min(42%, 420px) !important;
    min-height: 210px !important;
    height: 100%;
    align-items: stretch;
    justify-content: flex-end;
    pointer-events: none;
    overflow: hidden;
  }

  .dashboard-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, transparent 42%, #EEF5FF 88%, #FFFFFF 100%);
    pointer-events: none;
  }

  .dashboard-hero-books {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    object-position: right center;
    display: block;
  }
}

/* ── Cards ─────────────────────────────────────────────── */
#viewDashboard #cardsGrid.grid,
#cardsGrid.bahthy-cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)) !important;
  grid-template-rows: auto !important;
  gap: clamp(12px, 1.4vw, 20px) !important;
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  align-content: start !important;
}

#cardsGrid.bahthy-cards .card {
  height: auto !important;
  min-height: 0 !important;
  background: #FFFFFF !important;
  border: 1px solid #E8EDF3 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
  padding: 22px 20px 18px !important;
}

#cardsGrid.bahthy-cards .card:hover,
#cardsGrid.bahthy-cards .card:active {
  transform: translateY(-2px) !important;
  border-color: #D7E3F0 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07) !important;
  background: #FFFFFF !important;
}

#cardsGrid.bahthy-cards .card .title,
#cardsGrid .card .title {
  color: #173B6C !important;
  -webkit-text-fill-color: #173B6C !important;
  background: none !important;
}

#cardsGrid.bahthy-cards .card .sub,
#cardsGrid .card .sub {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
}

#cardsGrid.bahthy-cards .card .card-icon-wrap {
  width: 48px !important;
  height: 48px !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  color: #FFFFFF !important;
}

#cardsGrid.bahthy-cards .card .card-icon-svg {
  color: #FFFFFF !important;
  filter: none !important;
}

#cardsGrid .card[data-id="sourcesLibraries"] .card-icon-wrap {
  background: linear-gradient(135deg, #2563EB, #1D4ED8) !important;
}

#cardsGrid .card[data-id="reportTemplate"] .card-icon-wrap {
  background: linear-gradient(135deg, #7C3AED, #6D28D9) !important;
}

#cardsGrid .card[data-id="research"] .card-icon-wrap {
  background: linear-gradient(135deg, #F97316, #EA580C) !important;
}

#cardsGrid .card[data-id="plagiarism"] .card-icon-wrap {
  background: linear-gradient(135deg, #E11D48, #BE123C) !important;
}

#cardsGrid .card[data-id="statsLab"] .card-icon-wrap {
  background: linear-gradient(135deg, #16A34A, #15803D) !important;
}

#cardsGrid .card[data-id="academicPro"] .card-icon-wrap {
  background: linear-gradient(135deg, #1D4ED8, #173B6C) !important;
}

#cardsGrid.bahthy-cards .card .card-cta {
  display: inline-flex !important;
  background: transparent !important;
  color: #2563EB !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#cardsGrid.bahthy-cards .card .card-cta svg {
  color: #2563EB !important;
  stroke: #2563EB !important;
}

#cardsGrid.bahthy-cards .card:hover .card-cta {
  background: transparent !important;
  color: #1D4ED8 !important;
  border: none !important;
}

#cardsGrid.bahthy-cards .card .card-chevron {
  color: #94A3B8 !important;
}

/* ── Stats ─────────────────────────────────────────────── */
.bahthy-stats-bar {
  background: #F8FAFC !important;
  border-top: 1px solid #E8EDF3 !important;
}

.bahthy-stats-inner {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  max-width: none !important;
  width: 100%;
  gap: 0 !important;
}

.bahthy-stat-item {
  background: transparent !important;
  border: none !important;
  border-inline-end: 1px solid #E8EDF3 !important;
  border-radius: 0 !important;
}

.bahthy-stat-item:last-child {
  border-inline-end: none !important;
}

.bahthy-stat-num {
  color: #173B6C !important;
}

.bahthy-stat-label {
  color: #94A3B8 !important;
}

.bahthy-stat-item--green .bahthy-stat-icon,
.bahthy-stat-item--purple .bahthy-stat-icon,
.bahthy-stat-item--cyan .bahthy-stat-icon,
.bahthy-stat-item--amber .bahthy-stat-icon,
.bahthy-stat-item--blue .bahthy-stat-icon {
  background: #EFF6FF !important;
  color: #2563EB !important;
}

/* ── Footer (mobile) ───────────────────────────────────── */
.bahthy-footer {
  background: #FFFFFF !important;
  border-top: 1px solid #E8EDF3 !important;
}

.bahthy-footer-item h3,
.bahthy-footer-copy {
  color: #1E293B !important;
}

.bahthy-footer-item p {
  color: #64748B !important;
}

.bahthy-footer-icon {
  background: #EFF6FF !important;
  border-color: #E8EDF3 !important;
  color: #2563EB !important;
}

.bahthy-sub-card {
  background: #FFFFFF !important;
  color: #1E293B !important;
}

.bahthy-sub-head h2,
.bahthy-sub-plan {
  color: #1E293B !important;
}

/* ── Mobile light shell ────────────────────────────────── */
@media (max-width: 768px), (orientation: landscape) and (max-height: 540px) {
  #appScreen .main-header.bahthy-nav {
    background: #FFFFFF !important;
  }

  #appScreen .bahthy-nav-links {
    background: #FFFFFF !important;
    border-color: #E8EDF3 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
  }

  #viewDashboard .dashboard-hero-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  #cardsGrid.bahthy-cards .card {
    background: #FFFFFF !important;
  }

  .bahthy-sidebar-toggle {
    display: none !important;
  }
}

@media (min-width: 1600px) {
  #viewDashboard #cardsGrid.grid,
  #cardsGrid.bahthy-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1100px) and (max-width: 1599px) {
  #viewDashboard #cardsGrid.grid,
  #cardsGrid.bahthy-cards {
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)) !important;
  }
}

@media (min-width: 769px) and (max-width: 1099px) {
  #viewDashboard #cardsGrid.grid,
  #cardsGrid.bahthy-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .dashboard-hero-visual {
    width: min(36%, 280px) !important;
    min-height: 168px !important;
  }
}

@media (min-width: 769px) and (min-height: 541px) {
  .bahthy-sidebar-brand,
  .bahthy-sidebar-toggle {
    display: none !important;
  }

  .bahthy-sidebar-link,
  .bahthy-sidebar-tool {
    border-radius: 12px !important;
    padding: 10px 12px !important;
  }

  button.bahthy-sidebar-sub {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: calc(100% - 20px);
    margin: auto 10px 14px;
    padding: 16px 14px;
    background: #173B6C !important;
    border: none !important;
    border-radius: 16px !important;
    cursor: pointer;
    text-align: right;
    font-family: var(--font-ar);
  }

  button.bahthy-sidebar-sub .bahthy-sidebar-help-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  #appScreen .bahthy-nav-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 0 20px !important;
  }

  #appScreen .bahthy-nav-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    order: 1 !important;
    flex: 0 0 auto !important;
  }

  .bahthy-nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }

  .bahthy-nav-brand-text strong {
    color: #173B6C;
    font-size: 1.2rem;
    font-weight: 800;
  }

  .bahthy-nav-brand-text small {
    color: #64748B;
    font-size: 0.68rem;
    font-weight: 600;
  }

  .bahthy-lang-btn {
    display: inline-flex !important;
    order: 2 !important;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #E8EDF3;
    border-radius: 12px;
    background: #FFFFFF;
    color: #173B6C;
    font-family: var(--font-ar);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
  }

  #appScreen .bahthy-nav .btn-header-ask {
    order: 3 !important;
    background: #173B6C !important;
    border-color: #173B6C !important;
    color: #FFFFFF !important;
    border-radius: 12px !important;
  }

  .bahthy-desktop-search {
    order: 4 !important;
    flex: 1 1 auto !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #FFFFFF !important;
    border: 1px solid #E8EDF3 !important;
  }

  #appScreen .bahthy-nav-actions--end {
    order: 5 !important;
    direction: ltr !important;
  }

  #appScreen .bahthy-nav-actions--start {
    order: 6 !important;
  }

  #appScreen .bahthy-nav .btn-qr,
  #appScreen .bahthy-nav .btn-logout {
    opacity: 0.85;
  }

  #cardsGrid.bahthy-cards .card {
    align-items: flex-start !important;
    text-align: right !important;
  }

  #cardsGrid.bahthy-cards .card .card-icon-wrap {
    align-self: flex-start !important;
  }
}

.bahthy-lang-btn {
  display: none;
}

@media (max-width: 768px) {
  #viewDashboard .dashboard-hero {
    flex-direction: column-reverse !important;
  }

  .dashboard-hero-visual {
    display: none !important;
  }

  #viewDashboard #cardsGrid.grid,
  #cardsGrid.bahthy-cards {
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)) !important;
  }
}
