:root {
  --edx-card-radius: 20px;
  --edx-page-bg: #FBFCFF;
  --edx-text: #17213F;
  --edx-muted: #64708A;
  --edx-muted-2: #7A849A;
}

.theme-light {
  --bs-body-color: var(--edx-muted);
  background: var(--edx-page-bg);
  color: var(--edx-text);
}

.theme-light .sidebar {
  overflow: hidden;
  background: var(--theme-sidebar-bg);
  color: var(--edx-text);
  border-right: 1px solid rgba(231, 233, 245, 0.76);
  box-shadow: none;
}

.theme-light .sidebar-brand {
  background: var(--theme-sidebar-bg);
  border-bottom: 1px solid rgba(231, 233, 245, 0.62);
  box-shadow: none;
}

.theme-light .sidebar-scroll,
.theme-light .sidebar-menu,
.theme-light .sidebar-menu ul {
  background: transparent;
}

.theme-light .sidebar-scroll {
  position: relative;
  z-index: 2;
  padding-bottom: 250px;
}

.brand-logo-mini img.dashboard-image {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.theme-light .sidebar-menu li,
.theme-light .sidebar-menu li.open {
  background: transparent;
}

.theme-light .sidebar-menu li a {
  color: var(--edx-muted);
  border-radius: 14px;
  margin: 4px 14px;
  background: transparent;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.theme-light .sidebar-menu li a svg,
.theme-light .sidebar-menu li a i {
  color: var(--edx-muted-2);
  stroke: var(--edx-muted-2);
}

.sidebar-menu li a .sidebar-menu-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
  vertical-align: middle;
}

.theme-light .sidebar-menu li a .sidebar-menu-icon-img {
  filter: drop-shadow(0 6px 10px rgba(var(--theme-primary-rgb), 0.12));
}

body.color-1E202D .sidebar,
body[data-color="1E202D"] .sidebar {
  overflow: hidden;
  background: #252932;
  color: #edf1ff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body.color-1E202D .sidebar-brand,
body[data-color="1E202D"] .sidebar-brand {
  background: #252932;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body.color-1E202D .sidebar-scroll,
body.color-1E202D .sidebar-menu,
body.color-1E202D .sidebar-menu ul,
body[data-color="1E202D"] .sidebar-scroll,
body[data-color="1E202D"] .sidebar-menu,
body[data-color="1E202D"] .sidebar-menu ul {
  background: transparent;
}

body.color-1E202D .sidebar-scroll,
body[data-color="1E202D"] .sidebar-scroll {
  position: relative;
  z-index: 2;
  padding-bottom: 250px;
}

body.color-1E202D .sidebar-menu li,
body.color-1E202D .sidebar-menu li.open,
body[data-color="1E202D"] .sidebar-menu li,
body[data-color="1E202D"] .sidebar-menu li.open {
  background: transparent;
}

body.color-1E202D .sidebar-menu li a,
body[data-color="1E202D"] .sidebar-menu li a {
  color: #9aa3bc;
  border-radius: 14px;
  margin: 4px 14px;
  background: transparent;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

body.color-1E202D .sidebar-menu li a svg,
body.color-1E202D .sidebar-menu li a i,
body[data-color="1E202D"] .sidebar-menu li a svg,
body[data-color="1E202D"] .sidebar-menu li a i {
  color: #9aa3bc;
  stroke: #9aa3bc;
}

body.color-1E202D .sidebar-menu li a .sidebar-menu-icon-img,
body[data-color="1E202D"] .sidebar-menu li a .sidebar-menu-icon-img {
  filter: brightness(1.12) saturate(0.92) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.34));
}

body.color-1E202D .sidebar-menu li a:hover,
body.color-1E202D .sidebar-menu li.open > a,
body.color-1E202D .sidebar-menu li.active > a,
body[data-color="1E202D"] .sidebar-menu li a:hover,
body[data-color="1E202D"] .sidebar-menu li.open > a,
body[data-color="1E202D"] .sidebar-menu li.active > a {
  color: #dbe2ff !important;
  background: rgba(91, 115, 232, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

body.color-1E202D .sidebar-menu li a:hover svg,
body.color-1E202D .sidebar-menu li a:hover i,
body.color-1E202D .sidebar-menu li.open > a svg,
body.color-1E202D .sidebar-menu li.open > a i,
body.color-1E202D .sidebar-menu li.active > a svg,
body.color-1E202D .sidebar-menu li.active > a i,
body[data-color="1E202D"] .sidebar-menu li a:hover svg,
body[data-color="1E202D"] .sidebar-menu li a:hover i,
body[data-color="1E202D"] .sidebar-menu li.open > a svg,
body[data-color="1E202D"] .sidebar-menu li.open > a i,
body[data-color="1E202D"] .sidebar-menu li.active > a svg,
body[data-color="1E202D"] .sidebar-menu li.active > a i {
  color: #dbe2ff;
  stroke: #dbe2ff;
}

body.color-1E202D .sidebar-menu li ul li a,
body[data-color="1E202D"] .sidebar-menu li ul li a {
  color: #9aa3bc;
}

body.color-1E202D.sidebar-toggled .sidebar-menu li > a,
body.color-1E202D.collapsed-sidebar .sidebar-menu li > a,
body[data-color="1E202D"].sidebar-toggled .sidebar-menu li > a,
body[data-color="1E202D"].collapsed-sidebar .sidebar-menu li > a {
  box-sizing: border-box;
  width: calc(100% - 28px);
  height: auto;
  min-height: 0;
  margin: 4px 14px;
  padding: 0.8rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

body.color-1E202D.sidebar-toggled .sidebar-menu li > a:hover,
body.color-1E202D.sidebar-toggled .sidebar-menu li.active > a,
body.color-1E202D.sidebar-toggled .sidebar-menu li.active > a:hover,
body.color-1E202D.sidebar-toggled .sidebar-menu li.open > a,
body.color-1E202D.collapsed-sidebar .sidebar-menu li > a:hover,
body.color-1E202D.collapsed-sidebar .sidebar-menu li.active > a,
body.color-1E202D.collapsed-sidebar .sidebar-menu li.active > a:hover,
body.color-1E202D.collapsed-sidebar .sidebar-menu li.open > a,
body[data-color="1E202D"].sidebar-toggled .sidebar-menu li > a:hover,
body[data-color="1E202D"].sidebar-toggled .sidebar-menu li.active > a,
body[data-color="1E202D"].sidebar-toggled .sidebar-menu li.active > a:hover,
body[data-color="1E202D"].sidebar-toggled .sidebar-menu li.open > a,
body[data-color="1E202D"].collapsed-sidebar .sidebar-menu li > a:hover,
body[data-color="1E202D"].collapsed-sidebar .sidebar-menu li.active > a,
body[data-color="1E202D"].collapsed-sidebar .sidebar-menu li.active > a:hover,
body[data-color="1E202D"].collapsed-sidebar .sidebar-menu li.open > a {
  width: calc(100% - 28px);
  height: auto;
  min-height: 0;
  margin: 4px 14px;
  padding: 0.8rem 1.1rem;
  background: rgba(91, 115, 232, 0.16);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

body.color-1E202D.sidebar-toggled .sidebar-menu li > a i,
body.color-1E202D.sidebar-toggled .sidebar-menu li > a svg,
body.color-1E202D.sidebar-toggled .sidebar-menu li > a .sidebar-menu-icon-img,
body.color-1E202D.collapsed-sidebar .sidebar-menu li > a i,
body.color-1E202D.collapsed-sidebar .sidebar-menu li > a svg,
body.color-1E202D.collapsed-sidebar .sidebar-menu li > a .sidebar-menu-icon-img,
body[data-color="1E202D"].sidebar-toggled .sidebar-menu li > a i,
body[data-color="1E202D"].sidebar-toggled .sidebar-menu li > a svg,
body[data-color="1E202D"].sidebar-toggled .sidebar-menu li > a .sidebar-menu-icon-img,
body[data-color="1E202D"].collapsed-sidebar .sidebar-menu li > a i,
body[data-color="1E202D"].collapsed-sidebar .sidebar-menu li > a svg,
body[data-color="1E202D"].collapsed-sidebar .sidebar-menu li > a .sidebar-menu-icon-img {
  margin: 0;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

body.color-1E202D.sidebar-toggled .sidebar-menu li > a .sidebar-menu-icon-img,
body.color-1E202D.collapsed-sidebar .sidebar-menu li > a .sidebar-menu-icon-img,
body[data-color="1E202D"].sidebar-toggled .sidebar-menu li > a .sidebar-menu-icon-img,
body[data-color="1E202D"].collapsed-sidebar .sidebar-menu li > a .sidebar-menu-icon-img {
  width: 24px;
  height: 24px;
}

.theme-light .sidebar-menu li a:hover,
.theme-light .sidebar-menu li.open > a,
.theme-light .sidebar-menu li.active > a {
  color: var(--theme-sidebar-active-text);
  background: var(--theme-sidebar-active-bg);
  box-shadow: 0 12px 28px rgba(var(--theme-primary-rgb), 0.10);
}

.theme-light .sidebar-menu li a:hover svg,
.theme-light .sidebar-menu li a:hover i,
.theme-light .sidebar-menu li.open > a svg,
.theme-light .sidebar-menu li.open > a i,
.theme-light .sidebar-menu li.active > a svg,
.theme-light .sidebar-menu li.active > a i {
  color: var(--theme-primary);
  stroke: var(--theme-primary);
}

.theme-light .sidebar-menu li ul,
.theme-light .sidebar-menu li ul li a {
  background: transparent;
}

.theme-light .sidebar-menu li ul li a {
  color: #728098;
}

.theme-light.sidebar-toggled .sidebar-menu li > a,
.theme-light.collapsed-sidebar .sidebar-menu li > a {
  box-sizing: border-box;
  width: calc(100% - 28px);
  height: auto;
  min-height: 0;
  margin: 4px 14px;
  padding: 0.8rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.theme-light.sidebar-toggled .sidebar-menu li > a:hover,
.theme-light.sidebar-toggled .sidebar-menu li.active > a,
.theme-light.sidebar-toggled .sidebar-menu li.active > a:hover,
.theme-light.sidebar-toggled .sidebar-menu li.open > a,
.theme-light.collapsed-sidebar .sidebar-menu li > a:hover,
.theme-light.collapsed-sidebar .sidebar-menu li.active > a,
.theme-light.collapsed-sidebar .sidebar-menu li.active > a:hover,
.theme-light.collapsed-sidebar .sidebar-menu li.open > a {
  width: calc(100% - 28px);
  height: auto;
  min-height: 0;
  margin: 4px 14px;
  padding: 0.8rem 1.1rem;
  background: var(--theme-sidebar-active-bg);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(var(--theme-primary-rgb), 0.11);
}

.theme-light.sidebar-toggled .sidebar-menu li > a i,
.theme-light.sidebar-toggled .sidebar-menu li > a svg,
.theme-light.sidebar-toggled .sidebar-menu li > a .sidebar-menu-icon-img,
.theme-light.collapsed-sidebar .sidebar-menu li > a i,
.theme-light.collapsed-sidebar .sidebar-menu li > a svg,
.theme-light.collapsed-sidebar .sidebar-menu li > a .sidebar-menu-icon-img {
  margin: 0;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.theme-light.sidebar-toggled .sidebar-menu li > a .sidebar-menu-icon-img,
.theme-light.collapsed-sidebar .sidebar-menu li > a .sidebar-menu-icon-img {
  width: 24px;
  height: 24px;
}

@media (min-width: 991px) {
  .sidebar-toggled .sidebar-menu li:hover,
  .theme-light.sidebar-toggled .sidebar-menu li:hover,
  .collapsed-sidebar .sidebar-menu li:hover,
  .theme-light.collapsed-sidebar .sidebar-menu li:hover {
    width: 70px;
    background: transparent;
  }

  .sidebar-toggled .sidebar-menu li:hover > a,
  .theme-light.sidebar-toggled .sidebar-menu li:hover > a,
  .collapsed-sidebar .sidebar-menu li:hover > a,
  .theme-light.collapsed-sidebar .sidebar-menu li:hover > a {
    width: calc(100% - 28px);
    height: auto;
    min-height: 0;
    margin: 4px 14px;
    padding: 0.8rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 10px 24px rgba(var(--theme-primary-rgb), 0.11) !important;
  }

  .sidebar-toggled .sidebar-menu li:hover > a .menu-text,
  .theme-light.sidebar-toggled .sidebar-menu li:hover > a .menu-text,
  .collapsed-sidebar .sidebar-menu li:hover > a .menu-text,
  .theme-light.collapsed-sidebar .sidebar-menu li:hover > a .menu-text {
    display: none;
  }

  .sidebar-toggled .sidebar-menu li:hover ul,
  .theme-light.sidebar-toggled .sidebar-menu li:hover ul,
  .collapsed-sidebar .sidebar-menu li:hover ul,
  .theme-light.collapsed-sidebar .sidebar-menu li:hover ul {
    left: 70px;
  }
}

.theme-light .edx-sidebar-mountain {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1;
  opacity: 0.86;
  pointer-events: none;
}

.edx-sidebar-mountain svg {
  display: block;
  width: 100%;
  height: auto;
}

.theme-dark .edx-sidebar-mountain,
.edx-sidebar-art-off .edx-sidebar-mountain,
.sidebar-toggled .edx-sidebar-mountain,
.collapsed-sidebar .edx-sidebar-mountain {
  display: none;
}

.theme-light .page-container {
  position: relative;
  z-index: 2;
  background: var(--edx-page-bg);
  box-shadow: -10px 0 28px rgba(42, 58, 100, 0.06);
}

.theme-light.events-page.events-calendar-fullscreen-open .page-container,
.theme-light.events-page.events-filters-sidebar-open .page-container {
  z-index: 2;
}

.theme-light .page-wrapper,
.theme-light #page-content,
.theme-light .dashboard-static-viewport,
.theme-light .dashboard-static-canvas,
.theme-light .dashboard-view {
  background: var(--edx-page-bg);
}

.theme-light .navbar-custom {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(231, 233, 245, 0.78);
  box-shadow: 0 10px 28px rgba(45, 60, 110, 0.035);
  backdrop-filter: blur(14px);
}

.theme-light .navbar-custom .nav-link,
.theme-light .navbar-custom .dropdown-toggle,
.theme-light .navbar-custom i,
.theme-light .navbar-custom svg {
  color: var(--edx-muted);
  stroke: var(--edx-muted);
}

.theme-light .navbar-custom .nav-link:hover,
.theme-light .navbar-custom .dropdown-toggle:hover {
  color: var(--theme-primary);
  background: var(--theme-primary-soft);
}

.theme-light a,
.theme-light .link-primary,
.theme-light .text-primary {
  color: var(--theme-primary);
}

.theme-light a:hover {
  color: var(--theme-sidebar-active-text);
}

.theme-light .btn-primary,
.theme-light .btn-info {
  --bs-btn-bg: var(--theme-primary);
  --bs-btn-border-color: var(--theme-primary);
  --bs-btn-hover-bg: var(--theme-sidebar-active-text);
  --bs-btn-hover-border-color: var(--theme-sidebar-active-text);
  --bs-btn-focus-shadow-rgb: var(--theme-primary-rgb);
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  color: #fff;
  box-shadow: 0 12px 24px var(--theme-focus-ring);
}

.theme-light .btn-default,
.theme-light .btn-light,
.theme-light .navbar-custom .dropdown-menu,
.theme-light.settings-page .dropdown-menu {
  border-color: var(--theme-border);
  box-shadow: 0 14px 36px var(--theme-shadow);
}

.theme-light.settings-page .form-control,
.theme-light.settings-page .select2-container .select2-choice,
.theme-light.settings-page .select2-container .select2-selection {
  border-color: var(--theme-border);
  border-radius: 12px;
}

.theme-light.settings-page .form-control:focus,
.theme-light.settings-page .select2-container-active .select2-choice,
.theme-light.settings-page .select2-container--focus .select2-selection,
.theme-light.settings-page .form-check-input:focus,
.theme-light .btn:focus {
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 4px var(--theme-focus-ring);
}

.theme-light .form-check-input:checked {
  background-color: var(--theme-primary);
  border-color: var(--theme-primary);
}

.theme-light .dashboard-view .dashboard-widget-shell > .card,
.theme-light .dashboard-view .dashboard-widget-shell > a > .card,
.theme-light .dashboard-view .dashboard-widget-shell > .custom-widget,
.theme-light .dashboard-view .dashboard-icon-widget {
  border: 1px solid var(--theme-border);
  border-radius: var(--edx-card-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 35px var(--theme-shadow);
}

.theme-light .dashboard-view .dashboard-widget-shell > .card,
.theme-light .dashboard-view .dashboard-widget-shell > a > .card,
.theme-light .dashboard-view .dashboard-widget-shell > .custom-widget,
.theme-light .dashboard-view .dashboard-icon-widget {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.theme-light .dashboard-view .dashboard-widget-shell > .card:hover,
.theme-light .dashboard-view .dashboard-widget-shell > a > .card:hover,
.theme-light .dashboard-view .dashboard-icon-widget:hover {
  box-shadow: 0 18px 42px rgba(var(--theme-primary-rgb), 0.08);
}

.theme-light .dashboard-view .card-header {
  background: transparent;
  border-bottom: 1px solid rgba(231, 233, 245, 0.72);
  border-radius: var(--edx-card-radius) var(--edx-card-radius) 0 0;
  color: var(--edx-text);
}

.theme-light .dashboard-view .card-title,
.theme-light .dashboard-view .widget-title,
.theme-light .dashboard-view .card-header h1,
.theme-light .dashboard-view .card-header h2,
.theme-light .dashboard-view .card-header h3,
.theme-light .dashboard-view .card-header h4,
.theme-light .dashboard-view .card-header h5,
.theme-light .dashboard-view .card-header h6 {
  color: var(--edx-text);
}

.theme-light .dashboard-view .card-header i,
.theme-light .dashboard-view .card-header svg {
  color: var(--edx-muted-2);
  stroke: var(--edx-muted-2);
}

.theme-light .dashboard-view .card-body {
  background: transparent;
}

.theme-light .dashboard-view .dashboard-icon-widget .card-body {
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 16px;
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-icon {
  background: var(--theme-primary-soft);
  color: var(--theme-primary);
  border-radius: 14px;
  box-shadow: none;
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-icon i,
.theme-light .dashboard-view .dashboard-icon-widget .widget-icon svg {
  color: var(--theme-primary);
  stroke: var(--theme-primary);
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-details h1,
.theme-light .dashboard-view .dashboard-icon-widget .widget-details h2,
.theme-light .dashboard-view .dashboard-icon-widget .widget-details h3,
.theme-light .dashboard-view .dashboard-icon-widget .widget-details h4 {
  color: var(--edx-text);
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-details,
.theme-light .dashboard-view .dashboard-icon-widget .widget-details span,
.theme-light .dashboard-view .dashboard-icon-widget .widget-details small {
  color: var(--edx-muted);
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-success {
  background: #EAF8F1;
  color: #20A875;
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-success i,
.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-success svg {
  color: #20A875;
  stroke: #20A875;
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-warning {
  background: #FFF7E8;
  color: #E7A22E;
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-warning i,
.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-warning svg {
  color: #E7A22E;
  stroke: #E7A22E;
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-danger {
  background: #FFF0EF;
  color: #F46F63;
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-danger i,
.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-danger svg {
  color: #F46F63;
  stroke: #F46F63;
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-info {
  background: #EBF6FF;
  color: #3B91D9;
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-info i,
.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-info svg {
  color: #3B91D9;
  stroke: #3B91D9;
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-purple {
  background: #F2EEFF;
  color: #7B61C9;
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-purple i,
.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-purple svg {
  color: #7B61C9;
  stroke: #7B61C9;
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-teal {
  background: #E9F8F6;
  color: #1E9B8A;
}

.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-teal i,
.theme-light .dashboard-view .dashboard-icon-widget .widget-icon.edx-stat-teal svg {
  color: #1E9B8A;
  stroke: #1E9B8A;
}

/* Upcoming sessions list. */
.theme-light .dashboard-view .edx-sessions-list-widget {
  overflow: hidden;
  border-color: #E7E8F2;
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFCFF 100%);
}

.theme-light .dashboard-view .edx-sessions-list-body {
  padding: 8px 18px 16px;
}

.theme-light .dashboard-view .edx-sessions-list {
  min-height: 190px;
}

.theme-light .dashboard-view .edx-session-list-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 8px;
  border-bottom: 1px solid #EEEFF5;
  transition: background 150ms ease, transform 150ms ease;
}

.theme-light .dashboard-view .edx-session-list-item:hover {
  z-index: 1;
  border-radius: 12px;
  background: #F8F7FC;
  transform: translateX(2px);
}

.theme-light .dashboard-view .edx-session-list-marker {
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 12px;
  background: #F1EDFA;
  box-shadow: inset 0 0 0 1px rgba(117, 96, 180, 0.08);
}

.theme-light .dashboard-view .edx-session-list-marker img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-light .dashboard-view .edx-session-list-content {
  min-width: 0;
}

.theme-light .dashboard-view .edx-session-list-title {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-light .dashboard-view .edx-session-list-title a {
  color: #4F63C8;
}

.theme-light .dashboard-view .edx-session-list-title a:hover {
  color: #6B55AB;
}

.theme-light .dashboard-view .edx-session-list-time {
  margin-top: 5px;
  color: #7D879F;
  font-size: 12px;
  line-height: 1.25;
}

.theme-light .dashboard-view .edx-session-list-meeting-link {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #7560B4;
  border: 1px solid #E3DEF1;
  border-radius: 10px;
  background: #F8F6FD;
  transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}

.theme-light .dashboard-view .edx-session-list-meeting-link:hover {
  color: #FFFFFF;
  background: #7560B4;
  transform: translate(1px, -1px);
}

.theme-light .dashboard-view .edx-session-list-meeting-link.is-disabled {
  color: #C4C8D4;
  border-color: #EFF0F4;
  background: #FAFAFC;
  cursor: default;
}

.theme-light .dashboard-view .edx-session-list-meeting-link svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

.theme-light .dashboard-view .edx-sessions-list-footer {
  padding-top: 12px;
}

.theme-light .dashboard-view .edx-sessions-calendar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  color: #6753A8;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #E3DEF1;
  border-radius: 12px;
  background: #F8F6FD;
  transition: background 150ms ease, border-color 150ms ease;
}

.theme-light .dashboard-view .edx-sessions-calendar-link:hover {
  color: #594596;
  border-color: #D6CDEB;
  background: #F2EEFA;
}

.theme-light .dashboard-view .edx-sessions-calendar-link svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

.theme-light .dashboard-view .edx-sessions-list-empty {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8790A8;
}

.theme-light .dashboard-view .edx-sessions-list-empty span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #8572BB;
  border-radius: 17px;
  background: #F1EDFA;
}

.theme-light .dashboard-view .edx-sessions-list-empty svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.theme-light .progress-bar {
  background-color: var(--theme-primary);
}

.edx-theme-choice-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.edx-theme-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid var(--theme-border, #E7E9F5);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.edx-theme-choice:hover,
.edx-theme-choice.active {
  border-color: var(--edx-choice-color);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--edx-choice-color) 18%, transparent);
  transform: translateY(-1px);
}

.edx-theme-choice-swatch {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--edx-choice-color);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.55);
}

.user-dropdown-menu .theme-changer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin: 0;
}

.theme-light .dashboard-view .dashboard-widget-shell > .card::before,
.theme-light .dashboard-view .dashboard-widget-shell > .card::after,
.theme-light .dashboard-view .dashboard-widget-shell > a > .card::before,
.theme-light .dashboard-view .dashboard-widget-shell > a > .card::after,
.theme-light .dashboard-view .dashboard-widget-shell > .custom-widget::before,
.theme-light .dashboard-view .dashboard-widget-shell > .custom-widget::after,
.theme-light .dashboard-view .dashboard-icon-widget::before,
.theme-light .dashboard-view .dashboard-icon-widget::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.theme-light .dashboard-view .dashboard-widget-shell > .card > *,
.theme-light .dashboard-view .dashboard-widget-shell > a > .card > *,
.theme-light .dashboard-view .dashboard-widget-shell > .custom-widget > *,
.theme-light .dashboard-view .dashboard-icon-widget > * {
  position: relative;
  z-index: 1;
}

.theme-light .dashboard-view .edx-art-wave > .card::before,
.theme-light .dashboard-view .edx-art-wave > a > .card::before,
.theme-light .dashboard-view .edx-art-wave > .custom-widget::before,
.theme-light .dashboard-view .edx-art-wave > .dashboard-icon-widget::before {
  right: -54px;
  bottom: -42px;
  width: 220px;
  height: 140px;
  opacity: 0.15;
  border-radius: 58% 42% 0 0;
  background:
    radial-gradient(ellipse at 58% 98%, transparent 0 42%, var(--theme-card-art) 43% 53%, transparent 54%),
    radial-gradient(ellipse at 50% 100%, var(--theme-card-art-2) 0 62%, transparent 63%);
}

.theme-light .dashboard-view .edx-art-sparkle > .card::before,
.theme-light .dashboard-view .edx-art-sparkle > a > .card::before,
.theme-light .dashboard-view .edx-art-sparkle > .custom-widget::before,
.theme-light .dashboard-view .edx-art-sparkle > .dashboard-icon-widget::before {
  right: 34px;
  top: 26px;
  width: 76px;
  height: 76px;
  opacity: 0.16;
  background:
    linear-gradient(var(--theme-card-art), var(--theme-card-art)) 16px 8px / 2px 22px no-repeat,
    linear-gradient(90deg, var(--theme-card-art), var(--theme-card-art)) 5px 19px / 24px 2px no-repeat,
    linear-gradient(var(--theme-card-art-2), var(--theme-card-art-2)) 56px 38px / 2px 16px no-repeat,
    linear-gradient(90deg, var(--theme-card-art-2), var(--theme-card-art-2)) 48px 46px / 18px 2px no-repeat;
}

.theme-light .dashboard-view .edx-art-blob > .card::before,
.theme-light .dashboard-view .edx-art-blob > a > .card::before,
.theme-light .dashboard-view .edx-art-blob > .custom-widget::before,
.theme-light .dashboard-view .edx-art-blob > .dashboard-icon-widget::before {
  right: -44px;
  bottom: 18px;
  width: 168px;
  height: 108px;
  opacity: 0.13;
  border-radius: 60% 40% 54% 46%;
  background: linear-gradient(135deg, var(--theme-card-art), var(--theme-card-art-2));
  transform: rotate(-15deg);
}

.theme-light .dashboard-view .edx-art-glow > .card::before,
.theme-light .dashboard-view .edx-art-glow > a > .card::before,
.theme-light .dashboard-view .edx-art-glow > .custom-widget::before,
.theme-light .dashboard-view .edx-art-glow > .dashboard-icon-widget::before {
  right: -66px;
  top: -66px;
  width: 210px;
  height: 210px;
  opacity: 0.14;
  border-radius: 999px;
  background: radial-gradient(circle, var(--theme-card-art) 0 34%, transparent 68%);
}

.theme-light .dashboard-view .edx-art-curve > .card::before,
.theme-light .dashboard-view .edx-art-curve > a > .card::before,
.theme-light .dashboard-view .edx-art-curve > .custom-widget::before,
.theme-light .dashboard-view .edx-art-curve > .dashboard-icon-widget::before {
  right: -36px;
  bottom: -46px;
  width: 190px;
  height: 155px;
  opacity: 0.14;
  border: 16px solid var(--theme-card-art);
  border-left-color: transparent;
  border-top-color: transparent;
  border-radius: 999px;
  transform: rotate(18deg);
}

.edx-widget-art-off .dashboard-view .dashboard-widget-shell > .card::before,
.edx-widget-art-off .dashboard-view .dashboard-widget-shell > .card::after,
.edx-widget-art-off .dashboard-view .dashboard-widget-shell > a > .card::before,
.edx-widget-art-off .dashboard-view .dashboard-widget-shell > a > .card::after,
.edx-widget-art-off .dashboard-view .dashboard-widget-shell > .custom-widget::before,
.edx-widget-art-off .dashboard-view .dashboard-widget-shell > .custom-widget::after,
.edx-widget-art-off .dashboard-view .dashboard-icon-widget::before,
.edx-widget-art-off .dashboard-view .dashboard-icon-widget::after {
  display: none;
}

@media (max-width: 991.98px) {
  .theme-light .edx-sidebar-mountain {
    display: none;
  }
}
/* Demo supervisor widgets */

.demo-ops-card {
    overflow: hidden;
    border-color: #dfe6ef;
    box-shadow: 0 8px 26px rgba(40, 60, 95, .055);
}

.demo-ops-summary {
    padding: 10px;
    margin-bottom: 13px;
    border: 1px solid #edf1f6;
    border-radius: 13px;
    background: #f9fbfd;
}

.demo-intervention-row,
.demo-stalled-row,
.demo-agenda-row {
    position: relative;
    border: 1px solid #e8edf4 !important;
    background: #fff;
    box-shadow: 0 4px 16px rgba(31, 52, 82, .035);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.demo-intervention-row:hover,
.demo-stalled-row:hover,
.demo-agenda-row:hover {
    transform: translateY(-1px);
    border-color: #d5def0 !important;
    box-shadow: 0 8px 22px rgba(31, 52, 82, .07);
}

.demo-intervention-row {
    overflow: hidden;
    padding-left: 20px !important;
}

.demo-priority-rail {
    position: absolute;
    inset: 8px auto 8px 7px;
    width: 4px;
    border-radius: 8px;
    background: #96a5bd;
}

.demo-intervention-row.level-critical .demo-priority-rail { background: #e4616c; }
.demo-intervention-row.level-high .demo-priority-rail { background: #efa34b; }
.demo-intervention-row.level-medium .demo-priority-rail { background: #71b8d8; }

.demo-score-ring,
.demo-stall-ring {
    position: relative;
    isolation: isolate;
    border: 0 !important;
    background: transparent !important;
}

.demo-score-ring::before,
.demo-stall-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 50%;
    background: conic-gradient(#e66a73 calc(var(--score) * 1%), #edf1f6 0);
}

.demo-score-ring::after,
.demo-stall-ring::after {
    content: "";
    position: absolute;
    inset: 5px;
    z-index: -1;
    border-radius: 50%;
    background: #fff;
}

.demo-score-ring {
    width: 60px !important;
    height: 60px;
    padding: 8px 4px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.demo-score-ring strong { color: #263450; font-size: 18px; line-height: 1; }
.demo-score-ring span { margin-top: 3px; color: #8996a9; font-size: 8px; text-transform: uppercase; }

.demo-review-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-color: #d9e2ff;
    color: #607bf2;
    background: #f7f9ff;
}

.demo-stall-ring {
    width: 68px !important;
    height: 68px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 50%;
}

.demo-stall-ring::before { background: conic-gradient(#e99a4c calc(var(--score) * 1%), #edf1f6 0); }

.demo-stall-ring span { color: #273652; font-size: 19px; line-height: 1; }
.demo-stall-ring small { margin-top: 4px; color: #909bad; font-size: 7px; letter-spacing: .04em; }

.demo-diagnostic-grid span {
    min-width: 102px;
    padding: 7px 9px;
    border-radius: 9px;
    background: #f7f9fc;
    color: #8290a5;
}

.demo-diagnostic-grid span b {
    display: block;
    color: #34425c;
    font-size: 13px;
}

.demo-agenda-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7c899e;
    font-size: 10px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.demo-agenda-day {
    min-width: 32px;
    color: #34425c;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0;
}

.demo-agenda-row {
    border-left-width: 1px !important;
}

.demo-agenda-row::before {
    content: "";
    position: absolute;
    left: 59px;
    top: 15px;
    bottom: 15px;
    width: 1px;
    background: #e9eef5;
}

.demo-agenda-row .ai-dashboard-agenda-time {
    position: relative;
    padding-left: 13px;
    color: #45536d;
    font-weight: 700;
    font-size: 11px;
    white-space: nowrap;
}

.demo-severity-dot {
    position: absolute;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #eda44e;
    box-shadow: 0 0 0 4px #fff3e6;
}

.demo-agenda-row.level-critical .demo-severity-dot {
    background: #e45f6b;
    box-shadow: 0 0 0 4px #fff0f1;
}

.demo-risk-trend-card {
    overflow: hidden;
    border-color: #dfe6ef;
    box-shadow: 0 8px 26px rgba(40, 60, 95, .055);
}

.demo-risk-trend-card .card-header > span:first-child {
    font-weight: 700;
}

.ai-dashboard-widget-risk_trend_delta .ai-dashboard-widget-summary {
    gap: 10px;
}

.ai-dashboard-widget-risk_trend_delta .ai-dashboard-widget-kpi {
    border: 1px solid #e8edf4;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff, #f9fbfd);
    box-shadow: none;
}

.ai-dashboard-widget-risk_trend_delta .ai-dashboard-widget-chart-panel {
    border-color: #e8edf4;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(247, 250, 254, .7), rgba(255, 255, 255, .95));
}

.ai-dashboard-widget-risk_trend_delta .ai-dashboard-widget-chart-title {
    color: #45536d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.ai-dashboard-widget-risk_trend_delta.ai-dashboard-widget-expanded .ai-dashboard-widget-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ai-dashboard-widget-risk_trend_delta .ai-dashboard-widget-group {
    margin: 0;
    padding: 14px;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    background: #fbfcfe;
}

.ai-dashboard-widget-risk_trend_delta .ai-dashboard-widget-group .ai-dashboard-widget-row {
    background: #fff;
    box-shadow: 0 3px 12px rgba(35, 56, 88, .035);
}

@media (max-width: 991px) {
    .ai-dashboard-widget-risk_trend_delta.ai-dashboard-widget-expanded .ai-dashboard-widget-details {
        grid-template-columns: 1fr;
    }

    .demo-review-action span {
        display: none;
    }
}

@media (max-width: 767px) {
    .demo-intervention-row { padding-left: 16px !important; }
    .demo-agenda-row::before { display: none; }
    .demo-diagnostic-grid span { min-width: 80px; }
}

@media (prefers-reduced-motion: reduce) {
    .demo-intervention-row,
    .demo-stalled-row,
    .demo-agenda-row {
        transition: none;
    }
}

/* Expandable portfolio lists */
.demo-project-portfolio-card,
.demo-ai-operations-card,
.demo-session-quality-card {
    overflow: hidden;
    border-color: #dfe6ef;
    box-shadow: 0 8px 26px rgba(40, 60, 95, .055);
}

.demo-project-portfolio-body {
    padding: 14px !important;
    background: linear-gradient(180deg, #fbfcff 0%, #fff 38%);
}

.demo-project-portfolio-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.demo-project-portfolio-summary > div {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #e7edf5;
    border-radius: 12px;
    background: #fff;
}

.demo-project-portfolio-summary strong,
.demo-project-portfolio-summary span,
.demo-starred-summary strong,
.demo-starred-summary span {
    display: block;
}

.demo-project-portfolio-summary strong {
    color: #25334e;
    font-size: 20px;
    line-height: 1.1;
}

.demo-project-portfolio-summary span {
    margin-top: 3px;
    overflow: hidden;
    color: #8a96aa;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .05em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.demo-project-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-project-list-row {
    display: grid;
    grid-template-columns: 4px minmax(150px, 1fr) minmax(120px, .72fr) 30px;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 9px 10px 9px 7px;
    border: 1px solid #e8edf4;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(33, 53, 82, .035);
    transition: border-color .18s ease, transform .18s ease;
}

.demo-project-list-row:hover {
    transform: translateY(-1px);
    border-color: #d4def0;
}

.demo-project-list-mark {
    align-self: stretch;
    border-radius: 7px;
    background: #7590e7;
}

.demo-project-list-row.tone-success .demo-project-list-mark { background: #49b99c; }
.demo-project-list-row.tone-warning .demo-project-list-mark { background: #e9a153; }

.demo-project-list-identity {
    min-width: 0;
}

.demo-project-list-identity strong,
.demo-project-list-identity span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-project-list-identity strong {
    color: #34425c;
    font-size: 12px;
}

.demo-project-list-identity span {
    margin-top: 3px;
    color: #8b97aa;
    font-size: 10px;
}

.demo-project-list-progress > div:first-child {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    color: #8a96a9;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.demo-project-list-progress strong {
    color: #43516b;
}

.demo-project-list-track {
    height: 5px;
    overflow: hidden;
    border-radius: 5px;
    background: #edf1f6;
}

.demo-project-list-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7690e8, #5f7de1);
}

.tone-success .demo-project-list-track span { background: linear-gradient(90deg, #6ccbb2, #43b798); }
.tone-warning .demo-project-list-track span { background: linear-gradient(90deg, #f1ba72, #e79a45); }

.demo-project-list-open {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid #e2e8f1;
    border-radius: 10px;
    color: #7085d9;
    background: #f8faff;
}

.demo-starred-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 11px 12px;
    border: 1px solid #f4e5c8;
    border-radius: 13px;
    background: linear-gradient(100deg, #fff9ed, #fffdf8);
}

.demo-starred-summary-icon,
.demo-project-star {
    display: grid;
    place-items: center;
    color: #d99538;
    background: #fff3d9;
}

.demo-starred-summary-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
}

.demo-starred-summary strong {
    color: #3d4860;
    font-size: 18px;
    line-height: 1;
}

.demo-starred-summary span {
    margin-top: 3px;
    color: #9a8665;
    font-size: 9px;
    text-transform: uppercase;
}

.demo-project-star {
    width: 28px;
    height: 28px;
    border-radius: 9px;
}

.demo-project-list-row.tone-starred {
    grid-template-columns: 28px minmax(150px, 1fr) minmax(120px, .72fr) 30px;
}

.tone-starred .demo-project-list-track span {
    background: linear-gradient(90deg, #efbd69, #df963b);
}

/* Operations analytics */
.demo-ai-operations-card .card-body {
    background: linear-gradient(180deg, #fbfcff 0%, #fff 45%);
}

.demo-ai-operations-card .ai-dashboard-widget-summary {
    gap: 9px;
}

.demo-ai-operations-card .ai-dashboard-widget-kpi {
    border: 1px solid #e7edf4;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(34, 55, 86, .035);
}

.demo-ai-operations-card .ai-dashboard-widget-chart-panel {
    border-color: #e7edf4;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(247, 250, 254, .8), rgba(255, 255, 255, .98));
}

.demo-ai-operations-card .ai-dashboard-widget-chart-title {
    color: #526078;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.demo-ai-operations-card .ai-dashboard-widget-row,
.ai-dashboard-widget-deadline_pressure_radar .ai-dashboard-widget-row,
.ai-dashboard-widget-contracted_minutes_burn_rate .ai-dashboard-widget-row,
.ai-dashboard-widget-trainer_capacity_overload .ai-dashboard-widget-row,
.ai-dashboard-widget-cohort_inactivity_alarm .ai-dashboard-widget-row,
.ai-dashboard-widget-scheduling_gaps .ai-dashboard-widget-row {
    border: 1px solid #e7edf4;
    border-left-width: 4px;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(34, 55, 86, .035);
}

.ai-dashboard-widget-deadline_pressure_radar .ai-dashboard-widget-row-metrics span,
.ai-dashboard-widget-contracted_minutes_burn_rate .ai-dashboard-widget-row-metrics span,
.ai-dashboard-widget-trainer_capacity_overload .ai-dashboard-widget-row-metrics span,
.ai-dashboard-widget-cohort_inactivity_alarm .ai-dashboard-widget-row-metrics span,
.ai-dashboard-widget-scheduling_gaps .ai-dashboard-widget-row-metrics span {
    border: 1px solid #edf1f6;
    border-radius: 9px;
    background: #f8fafc;
}

/* Quality drift */
.demo-quality-row {
    border: 1px solid #e7edf4 !important;
    border-left: 4px solid #e56570 !important;
    border-radius: 14px !important;
    background: #fff;
    box-shadow: 0 4px 16px rgba(35, 56, 88, .04);
}

.demo-quality-delta {
    min-width: 70px;
    padding: 9px;
    border-radius: 11px;
    text-align: center;
    background: #fff0f1;
}

.demo-quality-delta .ai-dashboard-cell-label {
    display: block;
}

.demo-quality-delta strong {
    font-size: 18px;
}

.demo-quality-row .ai-dashboard-quality-metric {
    border: 1px solid #e9eef5;
    border-radius: 11px;
    background: #f9fbfd;
}

/* Full-width agenda: one session per line */
.ai-dashboard-widget--upcoming-risk .ai-dashboard-widget-agenda-grid {
    grid-template-columns: 1fr !important;
}

.ai-dashboard-widget--upcoming-risk .demo-agenda-row {
    grid-template-columns: 68px minmax(180px, 1.35fr) minmax(105px, .7fr) minmax(105px, .7fr) minmax(72px, .5fr) auto;
    align-items: center;
    min-height: 76px;
}

.ai-dashboard-widget--upcoming-risk .demo-agenda-row .ai-dashboard-agenda-main,
.ai-dashboard-widget--upcoming-risk .demo-agenda-row .ai-dashboard-widget-actions,
.ai-dashboard-widget--upcoming-risk .demo-agenda-row .ai-dashboard-agenda-cell {
    grid-column: auto;
}

.ai-dashboard-widget--upcoming-risk .demo-agenda-row .ai-dashboard-agenda-cell {
    display: block;
    padding-top: 0;
    border-top: 0;
}

.ai-dashboard-widget--upcoming-risk .demo-agenda-row .ai-dashboard-widget-actions {
    justify-content: flex-end;
}

.demo-agenda-row::before {
    left: 72px;
}

/* Complete dark theme for redesigned widgets */
body[data-color="1E202D"] .demo-ops-card,
body[data-color="1E202D"] .demo-project-portfolio-card,
body[data-color="1E202D"] .demo-ai-operations-card,
body[data-color="1E202D"] .demo-session-quality-card {
    border-color: #374153;
    background: #252d38 !important;
    box-shadow: 0 9px 28px rgba(0, 0, 0, .18);
}

body[data-color="1E202D"] .demo-project-portfolio-body,
body[data-color="1E202D"] .demo-ai-operations-card .card-body {
    background: linear-gradient(180deg, #252d38 0%, #222a34 100%);
}

body[data-color="1E202D"] .demo-project-portfolio-summary > div,
body[data-color="1E202D"] .demo-project-list-row,
body[data-color="1E202D"] .demo-intervention-row,
body[data-color="1E202D"] .demo-stalled-row,
body[data-color="1E202D"] .demo-agenda-row,
body[data-color="1E202D"] .demo-quality-row,
body[data-color="1E202D"] .demo-ai-operations-card .ai-dashboard-widget-kpi,
body[data-color="1E202D"] .demo-ai-operations-card .ai-dashboard-widget-row,
body[data-color="1E202D"] .ai-dashboard-widget-risk_trend_delta .ai-dashboard-widget-group .ai-dashboard-widget-row {
    border-color: #3b4659 !important;
    background: #29323e;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

body[data-color="1E202D"] .demo-project-portfolio-summary strong,
body[data-color="1E202D"] .demo-project-list-identity strong,
body[data-color="1E202D"] .demo-project-list-identity .text-default,
body[data-color="1E202D"] .demo-project-list-progress strong,
body[data-color="1E202D"] .demo-starred-summary strong,
body[data-color="1E202D"] .demo-score-ring strong,
body[data-color="1E202D"] .demo-stall-ring span {
    color: #e0e7f2 !important;
}

body[data-color="1E202D"] .demo-project-portfolio-summary span,
body[data-color="1E202D"] .demo-project-list-identity span,
body[data-color="1E202D"] .demo-project-list-progress > div:first-child {
    color: #99a6ba;
}

body[data-color="1E202D"] .demo-project-list-track,
body[data-color="1E202D"] .demo-ops-summary {
    border-color: #3b4659;
    background: #202833;
}

body[data-color="1E202D"] .demo-project-list-open,
body[data-color="1E202D"] .demo-review-action {
    border-color: #46536a;
    color: #9db0ff;
    background: #303a49;
}

body[data-color="1E202D"] .demo-starred-summary {
    border-color: #594b35;
    background: linear-gradient(100deg, #342f27, #2d2d2d);
}

body[data-color="1E202D"] .demo-starred-summary-icon,
body[data-color="1E202D"] .demo-project-star {
    color: #efbd69;
    background: #453a28;
}

body[data-color="1E202D"] .demo-score-ring::after,
body[data-color="1E202D"] .demo-stall-ring::after {
    background: #29323e;
}

body[data-color="1E202D"] .demo-diagnostic-grid span,
body[data-color="1E202D"] .demo-quality-row .ai-dashboard-quality-metric,
body[data-color="1E202D"] .ai-dashboard-widget-deadline_pressure_radar .ai-dashboard-widget-row-metrics span,
body[data-color="1E202D"] .ai-dashboard-widget-contracted_minutes_burn_rate .ai-dashboard-widget-row-metrics span,
body[data-color="1E202D"] .ai-dashboard-widget-trainer_capacity_overload .ai-dashboard-widget-row-metrics span,
body[data-color="1E202D"] .ai-dashboard-widget-cohort_inactivity_alarm .ai-dashboard-widget-row-metrics span,
body[data-color="1E202D"] .ai-dashboard-widget-scheduling_gaps .ai-dashboard-widget-row-metrics span {
    border-color: #3b4659;
    color: #a8b3c5;
    background: #222a34;
}

body[data-color="1E202D"] .demo-diagnostic-grid span b,
body[data-color="1E202D"] .demo-agenda-row .ai-dashboard-agenda-time {
    color: #dce4ef;
}

body[data-color="1E202D"] .demo-quality-delta {
    background: #412d34;
}

body[data-color="1E202D"] .demo-ai-operations-card .ai-dashboard-widget-chart-panel,
body[data-color="1E202D"] .ai-dashboard-widget-risk_trend_delta .ai-dashboard-widget-chart-panel,
body[data-color="1E202D"] .ai-dashboard-widget-risk_trend_delta .ai-dashboard-widget-group {
    border-color: #3b4659;
    background: linear-gradient(180deg, #29323e, #252d38);
}

body[data-color="1E202D"] .demo-agenda-date {
    color: #9eabbe;
    background: #202833;
}

body[data-color="1E202D"] .demo-agenda-day {
    color: #dce4ef;
}

@container (max-width: 720px) {
    .ai-dashboard-widget--upcoming-risk .demo-agenda-row {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        align-items: start;
    }

    .ai-dashboard-widget--upcoming-risk .demo-agenda-row .ai-dashboard-agenda-cell {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        padding-top: 8px;
        border-top: 1px solid #edf1f6;
    }

    .ai-dashboard-widget--upcoming-risk .demo-agenda-row .ai-dashboard-widget-actions {
        grid-column: 3;
    }
}

@media (max-width: 575px) {
    .demo-project-list-row,
    .demo-project-list-row.tone-starred {
        grid-template-columns: 4px minmax(0, 1fr) 30px;
    }

    .demo-project-list-row.tone-starred {
        grid-template-columns: 28px minmax(0, 1fr) 30px;
    }

    .demo-project-list-progress {
        grid-column: 2 / -1;
    }
}
