.theme-toggle-button {
  align-items: center;
  background: #fff;
  border: 1px solid #d6dde8;
  border-radius: 8px;
  color: #364152;
  display: inline-flex;
  font-size: 20px;
  height: 42px;
  justify-content: center;
  min-width: 42px;
  padding: 0;
}

.navbar .navbar-menu-wrapper .navbar-nav .nav-item .theme-toggle-button.nav-link {
  color: #364152;
  line-height: 1;
  margin-left: 0;
  padding: 0;
}

.theme-toggle-button:hover,
.theme-toggle-button:focus {
  background: #eef2ff;
  border-color: #b8c5f6;
  color: #1f3bb3;
}

.theme-toggle-button-auth {
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 1050;
}

.navbar .navbar-menu-wrapper .navbar-nav.ms-auto {
  align-items: center;
  column-gap: 12px;
}

.navbar .navbar-menu-wrapper .navbar-nav.ms-auto > .nav-item {
  align-items: center;
  display: inline-flex;
  margin-left: 0;
  min-height: 42px;
}

.navbar .navbar-menu-wrapper .navbar-nav.ms-auto .search-form {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  height: 42px;
  margin: 0;
  padding: 0 4px 4px 0;
  position: relative;
  width: 160px;
}

.navbar .navbar-menu-wrapper .navbar-nav.ms-auto .search-form::after {
  background: rgba(54, 65, 82, .28);
  bottom: 5px;
  content: "";
  height: 1px;
  left: 28px;
  position: absolute;
  right: 4px;
  transition: background-color .2s ease, height .2s ease;
}

.navbar .navbar-menu-wrapper .navbar-nav.ms-auto .search-form:focus-within::after {
  background: #2563eb;
  height: 2px;
}

.navbar .navbar-menu-wrapper .navbar-nav.ms-auto .search-form i {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
  position: static;
  transform: none;
}

.navbar .navbar-menu-wrapper .navbar-nav.ms-auto .search-form input,
.navbar .navbar-menu-wrapper .navbar-nav.ms-auto .search-form .form-control {
  background: transparent;
  border: 0 !important;
  box-shadow: none;
  cursor: text;
  flex: 1 1 auto;
  height: 34px;
  line-height: 1.2;
  margin: 0;
  min-width: 0;
  padding: 0;
  width: 100%;
}

.navbar .navbar-menu-wrapper .navbar-nav.ms-auto .search-form input:focus,
.navbar .navbar-menu-wrapper .navbar-nav.ms-auto .search-form .form-control:focus {
  background: transparent;
  border: 0 !important;
  box-shadow: none;
  outline: 0;
  padding: 0;
  width: 100%;
}

.navbar .navbar-menu-wrapper .navbar-nav.ms-auto .theme-toggle-button,
.navbar .navbar-menu-wrapper .navbar-nav.ms-auto .count-indicator,
.navbar .navbar-menu-wrapper .navbar-nav.ms-auto .user-dropdown > .nav-link {
  align-items: center !important;
  display: inline-flex !important;
  height: 42px;
  justify-content: center;
  margin: 0;
  padding: 0 !important;
}

.navbar .navbar-menu-wrapper .navbar-nav.ms-auto .theme-toggle-button,
.navbar .navbar-menu-wrapper .navbar-nav.ms-auto .count-indicator {
  min-width: 42px;
  width: 42px;
}

.navbar .navbar-menu-wrapper .navbar-nav.ms-auto .user-dropdown > .nav-link {
  min-width: 46px;
  width: 46px;
}

.navbar .navbar-menu-wrapper .navbar-nav.ms-auto #navProfileImage.profile-avatar-image {
  display: block;
}

@media (max-width: 1199px) {
  .navbar .navbar-menu-wrapper .navbar-nav.ms-auto {
    column-gap: 9px;
  }

  .navbar .navbar-menu-wrapper .navbar-nav.ms-auto .search-form {
    width: 138px;
  }
}

.info-footer {
  background: transparent;
  border-top: 1px solid rgba(17, 24, 39, .08);
  color: #1f2937;
  overflow: hidden;
  padding: 0;
}

.info-footer-top {
  background: #e9eef3;
  padding: 58px 2.45rem 52px;
}

.info-footer-grid {
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(230px, 1fr) minmax(260px, 1fr) minmax(230px, 1fr);
}

.info-footer-brand h4 {
  color: #334155;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 24px;
}

.info-footer-brand-title {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 0 0 18px;
}

.info-footer-brand-title .health-brand-mark {
  flex-basis: 38px;
  height: 38px;
  width: 38px;
}

.info-footer-brand-title h4 {
  margin: 0;
}

.info-footer-brand p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 44px;
  max-width: 360px;
}

.info-footer-brand .info-footer-copy {
  margin: 0;
}

.info-footer-socials {
  display: flex;
  gap: 8px;
  margin-bottom: 58px;
}

.info-footer-socials a {
  align-items: center;
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  font-size: 18px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.info-footer-socials a i,
.info-footer-socials a i:before {
  color: #fff !important;
  font-size: 18px;
  line-height: 1;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(15, 23, 42, .22);
}

.info-footer-socials a:hover,
.info-footer-socials a:focus {
  color: #fff;
  filter: brightness(.94);
}

.social-facebook {
  background: #4267b2;
}

.social-instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.info-footer-socials a.social-instagram i,
.info-footer-socials a.social-instagram i:before {
  background: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 1px 2px rgba(15, 23, 42, .24) !important;
}

.social-web {
  background: #0788bd;
}

.social-email {
  background: #e74c3c;
}

.info-footer-section {
  display: grid;
  align-content: start;
  gap: 17px;
}

.info-footer-section h5 {
  color: #28486d;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 2px;
  text-transform: none;
}

.info-footer-section > a,
.info-footer-section > span {
  color: #64748b;
  display: block;
  font-size: 15px;
  line-height: 1.45;
}

.info-footer-section a:hover,
.info-footer-section a:focus {
  color: #1f3bb3;
}

.info-footer-help {
  align-items: end;
  background: linear-gradient(135deg, #143a5a 0%, #117f73 58%, #c27c21 100%);
  color: #fff;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(210px, 340px) minmax(270px, 1fr) auto;
  min-height: 246px;
  overflow: hidden;
  padding: 24px 2.45rem 0;
  position: relative;
}

.info-footer-help:before {
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .16) 0 1px, transparent 1px),
    radial-gradient(circle at 65% 70%, rgba(255, 255, 255, .12) 0 1px, transparent 1px);
  background-size: 28px 28px, 42px 42px;
  content: "";
  inset: 0;
  opacity: .55;
  position: absolute;
}

.info-footer-helper,
.info-footer-help-copy,
.info-footer-chat-button {
  position: relative;
  z-index: 1;
}

.info-footer-helper {
  align-items: end;
  align-self: stretch;
  display: flex;
  justify-content: center;
  min-height: 222px;
}

.info-footer-mascot {
  display: block;
  filter: drop-shadow(0 18px 26px rgba(2, 6, 23, .28));
  height: 238px;
  max-width: 330px;
  object-fit: contain;
  object-position: center bottom;
  width: 100%;
}

.info-footer-help-copy {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
}

.info-footer-help-copy p {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
}

.info-footer-help-copy h3 {
  color: #b9d7ff;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}

.info-footer-chat-button {
  align-items: center;
  align-self: center;
  background: #1f3bb3;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  color: #fff !important;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  line-height: 1;
  min-height: 44px;
  padding: 11px 18px;
  text-decoration: none !important;
  white-space: nowrap;
}

.info-footer-chat-button i,
.info-footer-chat-button span {
  align-items: center;
  color: inherit !important;
  display: inline-flex;
  opacity: 1 !important;
  visibility: visible !important;
}

.info-footer-chat-button i {
  font-size: 18px;
}

.info-footer-chat-button:hover,
.info-footer-chat-button:focus {
  background: #fff;
  color: #172554 !important;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] .health-app {
  background: #0f172a;
  color: #e5e7eb;
}

html[data-theme="dark"] .info-footer {
  background: transparent;
  border-top-color: rgba(148, 163, 184, .18);
  color: #e5e7eb;
}

html[data-theme="dark"] .info-footer-top {
  background: #111827;
}

html[data-theme="dark"] .info-footer-brand h4,
html[data-theme="dark"] .info-footer-section h5 {
  color: #dbeafe !important;
}

html[data-theme="dark"] .info-footer-help {
  background: linear-gradient(135deg, #020617 0%, #065f46 58%, #92400e 100%);
}

html[data-theme="dark"] .info-footer-help-copy p {
  color: #fff !important;
}

html[data-theme="dark"] .info-footer-help-copy h3 {
  color: #93c5fd !important;
}

html[data-theme="dark"] .health-app .content-wrapper {
  background: #0f172a;
}

html[data-theme="dark"] .auth-shell {
  background: linear-gradient(135deg, #020617 0%, #064e3b 54%, #78350f 100%);
}

html[data-theme="dark"] .auth-panel,
html[data-theme="dark"] .health-app .card,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .pwa-install-sheet__panel {
  background: rgba(15, 23, 42, .94) !important;
  border: 1px solid rgba(148, 163, 184, .2);
  box-shadow: 0 20px 50px rgba(2, 6, 23, .42);
  color: #e5e7eb;
}

html[data-theme="dark"] .health-hero {
  background: linear-gradient(135deg, #020617 0%, #065f46 58%, #92400e 100%);
}

html[data-theme="dark"] .navbar.default-layout,
html[data-theme="dark"] .navbar .navbar-brand-wrapper,
html[data-theme="dark"] .navbar .navbar-menu-wrapper,
html[data-theme="dark"] .health-app .sidebar {
  background: rgba(15, 23, 42, .96) !important;
  border-color: rgba(148, 163, 184, .16);
  color: #e5e7eb;
}

html[data-theme="dark"] .navbar .navbar-brand-wrapper {
  overflow: visible !important;
  position: relative;
  z-index: 20;
}

html[data-theme="dark"] .navbar .navbar-brand-wrapper .health-brand {
  font-size: 21px;
  gap: 8px;
  max-width: none;
  overflow: visible;
  position: relative;
  white-space: nowrap;
  z-index: 21;
}

html[data-theme="dark"] .navbar .navbar-brand-wrapper .health-brand .health-brand-mark {
  flex: 0 0 32px;
  height: 32px;
  width: 32px;
}

html[data-theme="dark"] .navbar .navbar-menu-wrapper {
  position: relative;
  z-index: 10;
}

html[data-theme="dark"] .navbar .navbar-brand-wrapper .health-brand span:not(.health-brand-mark),
html[data-theme="dark"] .navbar .navbar-brand-wrapper .health-brand-mini {
  color: #f8fafc !important;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(2, 6, 23, .4);
}

html[data-theme="dark"] .health-brand,
html[data-theme="dark"] .auth-brand,
html[data-theme="dark"] .info-footer-section h5,
html[data-theme="dark"] .welcome-text,
html[data-theme="dark"] .text-black,
html[data-theme="dark"] .card-title,
html[data-theme="dark"] .auth-panel h1,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] strong {
  color: #f8fafc !important;
}

html[data-theme="dark"] .welcome-sub-text,
html[data-theme="dark"] .auth-panel p,
html[data-theme="dark"] .info-footer-brand p,
html[data-theme="dark"] .info-footer-section > a,
html[data-theme="dark"] .info-footer-section > span,
html[data-theme="dark"] .info-footer-bottom,
html[data-theme="dark"] .card-subtitle,
html[data-theme="dark"] .text-muted,
html[data-theme="dark"] small,
html[data-theme="dark"] .metric-label,
html[data-theme="dark"] .table thead th,
html[data-theme="dark"] p {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .navbar .dropdown-bordered,
html[data-theme="dark"] .theme-toggle-button,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .algorithm-tabs {
  background: rgba(30, 41, 59, .86);
  border-color: rgba(148, 163, 184, .24);
  color: #e2e8f0;
}

html[data-theme="dark"] .info-footer-section a:hover,
html[data-theme="dark"] .info-footer-section a:focus {
  color: #93c5fd !important;
}

@media (max-width: 1199px) {
  .info-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px;
  }

  .info-footer-help {
    gap: 28px;
    grid-template-columns: minmax(160px, 240px) minmax(220px, 1fr);
    min-height: 214px;
  }

  .info-footer-mascot {
    height: 206px;
  }

  .info-footer-help-copy h3 {
    font-size: 34px;
  }

  .info-footer-chat-button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .info-footer-top {
    padding: 36px 1.5rem;
  }

  .info-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .info-footer-brand p {
    margin-bottom: 28px;
  }

  .info-footer-socials {
    margin-bottom: 32px;
  }

  .info-footer-help {
    gap: 18px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 30px 1.5rem;
    text-align: center;
  }

  .info-footer-helper {
    min-height: auto;
  }

  .info-footer-mascot {
    height: 190px;
    max-width: 250px;
  }

  .info-footer-help-copy {
    align-items: center;
  }

  .info-footer-help-copy p {
    font-size: 22px;
  }

  .info-footer-help-copy h3 {
    font-size: 30px;
  }

  .info-footer-chat-button {
    grid-column: auto;
    justify-self: center;
  }
}

html[data-theme="dark"] .sidebar .nav .nav-item .nav-link {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .sidebar .nav .nav-item .nav-link:hover,
html[data-theme="dark"] .sidebar .nav .nav-item .nav-link:focus {
  background: rgba(51, 65, 85, .7);
  color: #cbd5e1 !important;
}

html[data-theme="dark"] .sidebar .nav .nav-item .nav-link.active,
html[data-theme="dark"] .sidebar .nav .nav-item.active .nav-link {
  background: rgba(30, 64, 175, .26);
  box-shadow: inset 3px 0 0 #60a5fa;
  color: #60a5fa !important;
}

html[data-theme="dark"] .calorie-split-item,
html[data-theme="dark"] .profile-photo-panel,
html[data-theme="dark"] .meal-log-summary-item,
html[data-theme="dark"] .confirmation-list,
html[data-theme="dark"] .macro-card,
html[data-theme="dark"] .meal-card,
html[data-theme="dark"] .explain-box,
html[data-theme="dark"] .chat-window,
html[data-theme="dark"] .food-card,
html[data-theme="dark"] .pattern-item,
html[data-theme="dark"] .algorithm-card,
html[data-theme="dark"] .model-comparison-item,
html[data-theme="dark"] .engagement-item,
html[data-theme="dark"] .feedback-item {
  background: rgba(15, 23, 42, .84) !important;
  border-color: rgba(148, 163, 184, .2) !important;
}

html[data-theme="dark"] .health-form .form-label {
  color: #cbd5e1;
}

html[data-theme="dark"] .health-form .form-control,
html[data-theme="dark"] .health-form .form-select,
html[data-theme="dark"] .chat-form .form-control,
html[data-theme="dark"] .food-filter .form-select,
html[data-theme="dark"] .search-form .form-control {
  background: rgba(15, 23, 42, .9) !important;
  border-color: rgba(148, 163, 184, .28) !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] .health-form .form-control::placeholder,
html[data-theme="dark"] .chat-form .form-control::placeholder,
html[data-theme="dark"] .search-form .form-control::placeholder {
  color: #64748b;
}

html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .navbar-dropdown {
  background: rgba(15, 23, 42, .98) !important;
  border: 1px solid rgba(148, 163, 184, .2);
  box-shadow: 0 20px 45px rgba(2, 6, 23, .45);
  color: #e5e7eb;
}

html[data-theme="dark"] .dropdown-item {
  color: #e5e7eb;
}

html[data-theme="dark"] .dropdown-item:hover,
html[data-theme="dark"] .dropdown-item:focus {
  background: rgba(51, 65, 85, .84);
  color: #fff;
}

html[data-theme="dark"] .table {
  color: #e5e7eb;
}

html[data-theme="dark"] .table > :not(caption) > * > * {
  background: transparent;
  border-color: rgba(148, 163, 184, .18);
  color: inherit;
}

html[data-theme="dark"] .bg-primary-subtle,
html[data-theme="dark"] .food-card .food-icon,
html[data-theme="dark"] .meal-estimate-badge {
  background: rgba(30, 64, 175, .28);
  color: #bfdbfe;
}

html[data-theme="dark"] .food-card-available {
  background: rgba(20, 184, 166, .16) !important;
  border-color: rgba(45, 212, 191, .28) !important;
  color: #99f6e4;
}

html[data-theme="dark"] .bg-info-subtle,
html[data-theme="dark"] .chat-message.ai,
html[data-theme="dark"] .recommendation-score,
html[data-theme="dark"] .model-comparison-item.active {
  background: rgba(30, 64, 175, .28) !important;
  border-color: rgba(96, 165, 250, .3) !important;
  color: #bfdbfe;
}

html[data-theme="dark"] .bg-warning-subtle,
html[data-theme="dark"] .meal-card .portion {
  background: rgba(217, 119, 6, .18);
  border-color: rgba(251, 191, 36, .24);
  color: #fde68a;
}

html[data-theme="dark"] .wellness-note,
html[data-theme="dark"] .activity-source-note {
  background: rgba(30, 64, 175, .22);
  border-color: rgba(96, 165, 250, .32);
  color: #cbd5e1;
}

html[data-theme="dark"] .wellness-note i,
html[data-theme="dark"] .activity-source-note i {
  color: #93c5fd;
}

html[data-theme="dark"] .validation-box:not(.validation-box-success) {
  background: rgba(190, 18, 60, .18);
  border-color: rgba(251, 113, 133, .28);
  color: #fecdd3;
}

html[data-theme="dark"] .validation-box-success {
  background: rgba(4, 120, 87, .18);
  border-color: rgba(52, 211, 153, .28);
  color: #a7f3d0;
}

html[data-theme="dark"] .navbar .navbar-brand-wrapper .health-brand,
html[data-theme="dark"] .navbar .navbar-brand-wrapper .health-brand span,
html[data-theme="dark"] .navbar .navbar-brand-wrapper .health-brand-mini,
html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown i,
html[data-theme="dark"] .navbar .navbar-toggler,
html[data-theme="dark"] .navbar .navbar-toggler span {
  color: #f8fafc !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item .search-form {
  border-bottom: 0 !important;
}

html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav.ms-auto .search-form::after {
  background: rgba(203, 213, 225, .38);
}

html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav.ms-auto .search-form:focus-within::after {
  background: #7dd3fc;
}

html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item .search-form i {
  color: #e2e8f0 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item .search-form input,
html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item .search-form .form-control {
  background: transparent !important;
  border: 0 !important;
  color: #f8fafc !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item .search-form input::placeholder {
  color: #cbd5e1 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item > .nav-link:not(.dropdown-bordered):not(.theme-toggle-button) {
  color: #f8fafc !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item .dropdown-bordered,
html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item .dropdown-bordered i {
  color: #111827 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item .theme-toggle-button.nav-link,
html[data-theme="dark"] .theme-toggle-button {
  background: rgba(30, 41, 59, .98) !important;
  border-color: rgba(96, 165, 250, .5) !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .28);
  color: #f8fafc !important;
}

html[data-theme="dark"] .theme-toggle-button i,
html[data-theme="dark"] .theme-toggle-button [data-theme-toggle-icon] {
  color: #f8fafc !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .theme-toggle-button:hover,
html[data-theme="dark"] .theme-toggle-button:focus {
  background: rgba(51, 65, 85, 1) !important;
  border-color: rgba(125, 211, 252, .8) !important;
  color: #bae6fd !important;
}

html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .count-indicator,
html[data-theme="dark"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .count-indicator i {
  color: #f8fafc !important;
  opacity: 1 !important;
}

html[data-theme="dark"] #navProfileImage.profile-avatar-image {
  border: 2px solid rgba(255, 255, 255, .28);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, .4);
}

html[data-theme="dark"] .sidebar .nav .nav-item.nav-category,
html[data-theme="dark"] .sidebar .nav .nav-item .nav-link .menu-title,
html[data-theme="dark"] .sidebar .nav .nav-item .nav-link .menu-icon {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .sidebar .nav .nav-item .nav-link.active .menu-title,
html[data-theme="dark"] .sidebar .nav .nav-item .nav-link.active .menu-icon,
html[data-theme="dark"] .sidebar .nav .nav-item.active .nav-link .menu-title,
html[data-theme="dark"] .sidebar .nav .nav-item.active .nav-link .menu-icon {
  color: #60a5fa !important;
}

html[data-theme="dark"] .health-hero .btn-outline-light {
  border-color: rgba(255, 255, 255, .72) !important;
  color: #fff !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .health-hero .btn-outline-light:hover,
html[data-theme="dark"] .health-hero .btn-outline-light:focus,
html[data-theme="dark"] .health-hero .btn-outline-light:active {
  background: rgba(14, 165, 233, .22) !important;
  border-color: rgba(125, 211, 252, .9) !important;
  box-shadow: 0 12px 24px rgba(2, 6, 23, .22), 0 0 0 .2rem rgba(56, 189, 248, .18) !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] .health-hero .btn-outline-light i {
  color: #fff !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .health-hero .btn-outline-light:hover i,
html[data-theme="dark"] .health-hero .btn-outline-light:focus i,
html[data-theme="dark"] .health-hero .btn-outline-light:active i {
  color: #e0f2fe !important;
}

html[data-theme="dark"] .calorie-progress-card {
  border-left-color: #14b8a6;
}

html[data-theme="dark"] .calorie-progress-card h3,
html[data-theme="dark"] .calorie-ring-summary strong,
html[data-theme="dark"] .meal-progress-item strong {
  color: #f8fafc !important;
}

html[data-theme="dark"] .calorie-ring {
  background: conic-gradient(var(--ring-color) var(--progress), rgba(51, 65, 85, .88) 0);
}

html[data-theme="dark"] .calorie-ring-inner {
  background: rgba(15, 23, 42, .96);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .2);
}

html[data-theme="dark"] .calorie-ring-inner strong {
  color: #f8fafc !important;
}

html[data-theme="dark"] .calorie-ring-inner span,
html[data-theme="dark"] .calorie-ring-summary span,
html[data-theme="dark"] .meal-progress-item span {
  color: #93c5fd !important;
}

html[data-theme="dark"] .meal-progress-item {
  background: rgba(15, 23, 42, .72);
  border-color: rgba(148, 163, 184, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

html[data-theme="dark"] .meal-progress-track {
  background: rgba(51, 65, 85, .9);
}

html[data-theme="dark"] .meal-progress-track span {
  background: linear-gradient(90deg, #14b8a6, #60a5fa);
}

html[data-theme="dark"] .status-pill {
  background: rgba(30, 64, 175, .34);
  border: 1px solid rgba(96, 165, 250, .28);
  color: #bfdbfe;
}

html[data-theme="dark"] #mealLogTable tr {
  transition: background-color .18s ease, box-shadow .18s ease;
}

html[data-theme="dark"] #mealLogTable tr:hover > * {
  --bs-table-accent-bg: rgba(20, 184, 166, .12);
  background-color: rgba(20, 184, 166, .12) !important;
  border-color: rgba(125, 211, 252, .26) !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] #mealLogTable tr:hover .meal-estimate-badge {
  background: rgba(96, 165, 250, .24) !important;
  color: #dbeafe !important;
}

html[data-theme="dark"] #mealLogTable tr:hover .badge-opacity-success {
  background: rgba(20, 184, 166, .26) !important;
  color: #ccfbf1 !important;
}

html[data-theme="dark"] #mealLogTable tr:hover .badge-opacity-warning {
  background: rgba(217, 119, 6, .26) !important;
  color: #fde68a !important;
}

html[data-theme="dark"] .status-pill.review-status-pending,
html[data-theme="dark"] .nutritionist-status-badge.review-status-pending {
  background: rgba(217, 119, 6, .18) !important;
  border-color: rgba(251, 191, 36, .24) !important;
  color: #fde68a !important;
}

html[data-theme="dark"] .status-pill.review-status-approved,
html[data-theme="dark"] .nutritionist-status-badge.review-status-approved {
  background: rgba(4, 120, 87, .22) !important;
  border-color: rgba(52, 211, 153, .28) !important;
  color: #a7f3d0 !important;
}

html[data-theme="dark"] .status-pill.review-status-disapproved,
html[data-theme="dark"] .nutritionist-status-badge.review-status-disapproved {
  background: rgba(190, 18, 60, .22) !important;
  border-color: rgba(251, 113, 133, .28) !important;
  color: #fecdd3 !important;
}

html[data-theme="dark"] .status-pill.review-status-revised,
html[data-theme="dark"] .nutritionist-status-badge.review-status-revised {
  background: rgba(217, 119, 6, .18) !important;
  border-color: rgba(251, 191, 36, .28) !important;
  color: #fde68a !important;
}

/* Keep the nutritionist workspace on one green-tinted dark surface system. */
html[data-theme="dark"] body.nutritionist-app {
  --ng-nutritionist-dark-bg: #071713;
  --ng-nutritionist-dark-shell: #091d18;
  --ng-nutritionist-dark-card: #0c211c;
  --ng-nutritionist-dark-raised: #102923;
  --ng-nutritionist-dark-border: rgba(94, 234, 212, .16);
  background: var(--ng-nutritionist-dark-bg) !important;
  color: #d8e7e2;
}

html[data-theme="dark"] body.nutritionist-app > .container-scroller,
html[data-theme="dark"] body.nutritionist-app .page-body-wrapper,
html[data-theme="dark"] body.nutritionist-app .main-panel,
html[data-theme="dark"] body.nutritionist-app .content-wrapper {
  background: var(--ng-nutritionist-dark-bg) !important;
}

html[data-theme="dark"] body.nutritionist-app .navbar.default-layout,
html[data-theme="dark"] body.nutritionist-app .navbar .navbar-brand-wrapper,
html[data-theme="dark"] body.nutritionist-app .navbar .navbar-menu-wrapper,
html[data-theme="dark"] body.nutritionist-app .sidebar {
  background: var(--ng-nutritionist-dark-shell) !important;
  border-color: var(--ng-nutritionist-dark-border) !important;
}

html[data-theme="dark"] body.nutritionist-app .health-card {
  background: var(--ng-nutritionist-dark-card) !important;
  border-color: var(--ng-nutritionist-dark-border) !important;
  box-shadow: 0 16px 36px rgba(2, 12, 10, .28);
}

html[data-theme="dark"] body.nutritionist-app .nutritionist-compact-item,
html[data-theme="dark"] body.nutritionist-app .nutritionist-reviewed-item,
html[data-theme="dark"] body.nutritionist-app .nutritionist-patient-item,
html[data-theme="dark"] body.nutritionist-app .nutritionist-empty-state,
html[data-theme="dark"] body.nutritionist-app .nutritionist-empty-list,
html[data-theme="dark"] body.nutritionist-app .nutritionist-profile-grid > div,
html[data-theme="dark"] body.nutritionist-app .nutritionist-meal-card,
html[data-theme="dark"] body.nutritionist-app .nutritionist-decision-panel,
html[data-theme="dark"] body.nutritionist-app .nutritionist-review-tools,
html[data-theme="dark"] body.nutritionist-app .nutritionist-custom-meal,
html[data-theme="dark"] body.nutritionist-app .nutritionist-model-item,
html[data-theme="dark"] body.nutritionist-app .nutritionist-plan-summary,
html[data-theme="dark"] body.nutritionist-app .nutritionist-review-banner {
  background: var(--ng-nutritionist-dark-raised) !important;
  border-color: var(--ng-nutritionist-dark-border) !important;
}

html[data-theme="dark"] body.nutritionist-app .nutritionist-workbench-header {
  background: linear-gradient(135deg, #032b25 0%, #0f766e 58%, #14532d 100%);
  border: 1px solid rgba(94, 234, 212, .18);
  box-shadow: 0 18px 42px rgba(2, 12, 10, .32);
}

html[data-theme="dark"] body.nutritionist-app .nutritionist-workbench-header .metric-label,
html[data-theme="dark"] body.nutritionist-app .nutritionist-workbench-header p {
  color: #ccfbf1 !important;
}

html[data-theme="dark"] body.nutritionist-app .nutritionist-workbench-header .btn,
html[data-theme="dark"] body.nutritionist-app .navbar .dropdown-bordered {
  background: rgba(4, 47, 46, .72) !important;
  border-color: rgba(94, 234, 212, .46) !important;
  color: #ccfbf1 !important;
}

html[data-theme="dark"] body.nutritionist-app .nutritionist-workbench-header .btn:hover,
html[data-theme="dark"] body.nutritionist-app .nutritionist-workbench-header .btn:focus,
html[data-theme="dark"] body.nutritionist-app .navbar .dropdown-bordered:hover,
html[data-theme="dark"] body.nutritionist-app .navbar .dropdown-bordered:focus {
  background: rgba(20, 184, 166, .22) !important;
  border-color: #5eead4 !important;
  color: #f0fdfa !important;
}

html[data-theme="dark"] body.nutritionist-app .navbar .dropdown-bordered i {
  color: inherit !important;
}

html[data-theme="dark"] body.nutritionist-app .nutritionist-score,
html[data-theme="dark"] body.nutritionist-app .nutritionist-model-item strong b {
  background: rgba(20, 184, 166, .16);
  color: #99f6e4;
}

html[data-theme="dark"] body.nutritionist-app .nutritionist-created-plan {
  background: rgba(6, 78, 59, .2);
  border-color: rgba(52, 211, 153, .28);
  border-left-color: #34d399;
}

html[data-theme="dark"] body.nutritionist-app .nutritionist-created-plan-header .metric-label {
  color: #6ee7b7 !important;
}

html[data-theme="dark"] body.nutritionist-app .nutritionist-created-plan-count {
  background: rgba(16, 185, 129, .22);
  border: 1px solid rgba(52, 211, 153, .3);
  color: #a7f3d0;
}

html[data-theme="dark"] body.nutritionist-app .health-form .form-control,
html[data-theme="dark"] body.nutritionist-app .health-form .form-select,
html[data-theme="dark"] body.nutritionist-app .nutritionist-plan-offcanvas .form-control {
  background: #0a1f1a !important;
  border-color: rgba(94, 234, 212, .2) !important;
}

html[data-theme="dark"] body.nutritionist-app .nutritionist-plan-offcanvas,
html[data-theme="dark"] body.nutritionist-app .nutritionist-plan-offcanvas .offcanvas-header,
html[data-theme="dark"] body.nutritionist-app .nutritionist-plan-offcanvas-footer {
  background: var(--ng-nutritionist-dark-card) !important;
  border-color: var(--ng-nutritionist-dark-border) !important;
}

html[data-theme="dark"] body.nutritionist-app .nutritionist-plan-offcanvas .offcanvas-body {
  background: var(--ng-nutritionist-dark-bg) !important;
}

html[data-theme="dark"] body.nutritionist-app .nutritionist-patient-item.active,
html[data-theme="dark"] body.nutritionist-app .nutritionist-patient-item:hover,
html[data-theme="dark"] body.nutritionist-app .nutritionist-patient-item:focus,
html[data-theme="dark"] body.nutritionist-app .nutritionist-compact-item:hover,
html[data-theme="dark"] body.nutritionist-app .nutritionist-compact-item:focus,
html[data-theme="dark"] body.nutritionist-app .nutritionist-reviewed-item:hover,
html[data-theme="dark"] body.nutritionist-app .nutritionist-table tbody tr:hover > * {
  background: rgba(20, 184, 166, .13) !important;
  border-color: rgba(94, 234, 212, .3) !important;
}
