    /* Selected sidebar item: keep the icon visible in Classic and all Pro themes. */
    body:not(.show-homepage) #responsiveSidebar .tab-btn.active .nav-icon,
    body:not(.show-homepage) #responsiveSidebar .tab-btn.active>i {
      position: relative !important;
      z-index: 2 !important;
      display: inline-flex !important;
      visibility: visible !important;
      opacity: 1 !important;
      flex: 0 0 28px !important;
      width: 28px !important;
      min-width: 28px !important;
      height: 28px !important;
      color: #fff !important;
      background: linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent) 72%, #111)) !important;
      border: 1px solid rgba(255, 255, 255, .38) !important;
      box-shadow: 0 7px 16px color-mix(in srgb, var(--accent) 30%, transparent) !important;
    }

    body:not(.show-homepage) #responsiveSidebar .tab-btn.active .nav-icon::before,
    body:not(.show-homepage) #responsiveSidebar .tab-btn.active>i::before {
      display: inline-block !important;
      visibility: visible !important;
      opacity: 1 !important;
      color: currentColor !important;
      line-height: 1 !important;
    }

    html[data-mm-theme][data-mt-nav="pill"] body:not(.show-homepage) #responsiveSidebar .tab-btn.active .nav-icon,
    html[data-mm-theme][data-mt-nav="pill"] body:not(.show-homepage) #responsiveSidebar .tab-btn.active>i {
      color: var(--mt-side1, #1E2235) !important;
      background: #fff !important;
    }

    html[data-mm-theme][data-mt-nav="bar"] body:not(.show-homepage) #responsiveSidebar .tab-btn.active .nav-icon,
    html[data-mm-theme][data-mt-nav="bar"] body:not(.show-homepage) #responsiveSidebar .tab-btn.active>i {
      color: var(--mt-active-text, #18202B) !important;
      background: var(--mt-active, #fff) !important;
    }

    body:not(.show-homepage):not(.show-auth-page) .mobile-bottom-nav button.active i,
    body:not(.show-homepage):not(.show-auth-page) .mobile-bottom-nav button.active i::before {
      visibility: visible !important;
      opacity: 1 !important;
      color: currentColor !important;
    }

    /* Homepage: one independent image per visual block, never stacked over another image. */
    .homepage-view .hpx-cta-inner {
      grid-template-columns: minmax(0, 1fr);
    }

    .homepage-view .hpx-cta-text {
      max-width: 720px;
    }

    .homepage-view .hpx-cta-text h2 {
      font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    }

    .homepage-view .mmh-story-copy h3 {
      font-size: clamp(1.08rem, 1.8vw, 1.35rem);
    }

    .homepage-view .mmh-story-report .mmh-story-copy {
      max-width: 58%;
    }

    /* Live 3D dining tables */
    .mm3d-dining {
      grid-column: 1 / -1;
      min-width: 0;
      margin: 16px 0 0;
      padding: 20px;
      overflow: hidden;
      border: 1px solid color-mix(in srgb, var(--accent2) 17%, var(--border));
      border-radius: 25px;
      background:
        radial-gradient(circle at 8% 8%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 32%),
        linear-gradient(145deg, color-mix(in srgb, var(--accent2) 7%, var(--surface)), var(--surface));
      box-shadow: 0 18px 42px -28px rgba(20, 67, 62, .5);
    }

    .mm3d-dining-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 14px;
    }

    .mm3d-dining-head span:first-child {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--accent2);
      font-family: 'Hind Siliguri', sans-serif;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .mm3d-dining-head h3 {
      margin: 4px 0 2px;
      color: var(--text);
      font-family: var(--mt-display, 'Hind Siliguri'), 'Hind Siliguri', sans-serif;
      font-size: clamp(18px, 2vw, 22px);
      line-height: 1.22;
    }

    .mm3d-dining-head p {
      margin: 0;
      color: var(--text2);
      font-size: 12.5px;
      line-height: 1.45;
    }

    .mm3d-dining-count {
      flex: 0 0 auto;
      padding: 8px 11px;
      border-radius: 12px;
      color: var(--accent2);
      background: color-mix(in srgb, var(--accent2) 10%, transparent);
      font-size: 12px;
      font-weight: 800;
    }

    .mm3d-tables {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 355px), 1fr));
      gap: 14px;
    }

    .mm3d-table-card {
      min-width: 0;
      overflow: hidden;
      border: 1px solid color-mix(in srgb, var(--accent2) 14%, var(--border));
      border-radius: 21px;
      background: color-mix(in srgb, var(--surface) 88%, transparent);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .48), 0 13px 28px -23px rgba(22, 65, 61, .5);
    }

    .mm3d-table-label {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 11px 13px 4px;
    }

    .mm3d-table-label strong {
      color: var(--text);
      font-size: 12.5px;
    }

    .mm3d-table-label span {
      color: var(--text2);
      font-size: 10.5px;
    }

    .mm3d-scene {
      position: relative;
      width: 100%;
      min-height: 275px;
      aspect-ratio: 1.36 / 1;
      overflow: hidden;
      perspective: 760px;
      isolation: isolate;
      background:
        radial-gradient(ellipse at 50% 54%, color-mix(in srgb, var(--accent2) 10%, transparent), transparent 58%),
        linear-gradient(180deg, color-mix(in srgb, var(--surface2) 58%, transparent), transparent);
    }

    .mm3d-floor-shadow {
      position: absolute;
      left: 13%;
      right: 13%;
      bottom: 14%;
      height: 18%;
      z-index: 0;
      border-radius: 50%;
      background: rgba(22, 60, 56, .16);
      filter: blur(14px);
    }

    .mm3d-table-pedestal {
      position: absolute;
      left: 45%;
      top: 49%;
      width: 10%;
      height: 30%;
      z-index: 2;
      border-radius: 8px 8px 18px 18px;
      background: linear-gradient(90deg, #734321, #B8783D 48%, #5D321A);
      box-shadow: 0 13px 16px rgba(61, 36, 20, .25);
    }

    .mm3d-table-top {
      position: absolute;
      left: 18%;
      top: 28%;
      width: 64%;
      height: 38%;
      z-index: 3;
      border: 3px solid color-mix(in srgb, #613719 76%, var(--accent));
      border-radius: 50%;
      background:
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .28), transparent 38%),
        repeating-linear-gradient(9deg, rgba(83, 43, 18, .12) 0 2px, transparent 2px 15px),
        linear-gradient(145deg, #D99A58, #9C5A2D 64%, #75401F);
      box-shadow: inset 0 8px 13px rgba(255, 225, 184, .28), inset 0 -12px 18px rgba(66, 32, 14, .23), 0 13px 0 #6C391D, 0 25px 24px rgba(66, 40, 23, .22);
      transform: rotateX(53deg);
      transform-origin: center;
    }

    .mm3d-table-top::after {
      content: '';
      position: absolute;
      left: 50%;
      top: 50%;
      width: 27%;
      height: 34%;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      background: radial-gradient(circle at 40% 32%, #FFF3B1 0 10%, #E59A35 11% 48%, #8E461D 49% 100%);
      box-shadow: 0 3px 0 #fff, 0 7px 9px rgba(60, 34, 19, .22);
    }

    .mm3d-person {
      position: absolute;
      left: var(--person-x);
      top: var(--person-y);
      width: 48px;
      height: 76px;
      z-index: var(--person-z);
      transform: translate(-50%, -50%);
      filter: drop-shadow(0 8px 6px rgba(31, 55, 51, .2));
    }

    .mm3d-chair {
      position: absolute;
      left: 7px;
      top: 30px;
      width: 34px;
      height: 38px;
      z-index: 0;
      border-radius: 10px 10px 7px 7px;
      background: linear-gradient(90deg, #6A3C24, #A46B43 48%, #5A301F);
      box-shadow: inset 0 2px 2px rgba(255, 255, 255, .16);
    }

    .mm3d-body {
      position: absolute;
      left: 10px;
      top: 27px;
      width: 28px;
      height: 36px;
      z-index: 2;
      border-radius: 14px 14px 9px 9px;
      background: linear-gradient(110deg, color-mix(in srgb, var(--shirt) 72%, #fff), var(--shirt) 58%, color-mix(in srgb, var(--shirt) 72%, #000));
      box-shadow: inset 3px 2px 5px rgba(255, 255, 255, .22);
    }

    .mm3d-head {
      position: absolute;
      left: 13px;
      top: 8px;
      width: 22px;
      height: 24px;
      z-index: 3;
      border-radius: 46% 46% 50% 50%;
      background: radial-gradient(circle at 36% 30%, #F2BE8D, #C98250 76%);
      box-shadow: inset 2px 2px 3px rgba(255, 255, 255, .25);
    }

    .mm3d-hair {
      position: absolute;
      left: 13px;
      top: 7px;
      width: 22px;
      height: 10px;
      z-index: 4;
      border-radius: 13px 13px 5px 5px;
      background: linear-gradient(145deg, #20242B, #07090C);
    }

    .mm3d-name {
      position: absolute;
      left: 50%;
      top: 66px;
      z-index: 5;
      width: 76px;
      transform: translateX(-50%);
      padding: 3px 5px;
      overflow: hidden;
      border: 1px solid color-mix(in srgb, var(--accent2) 13%, var(--border));
      border-radius: 7px;
      color: var(--text);
      background: color-mix(in srgb, var(--surface) 90%, transparent);
      box-shadow: 0 4px 9px rgba(20, 56, 52, .1);
      text-align: center;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 8.5px;
      font-style: normal;
      font-weight: 750;
    }

    .mm3d-plate {
      position: absolute;
      left: var(--plate-x);
      top: var(--plate-y);
      z-index: 5;
      width: 30px;
      height: 13px;
      transform: translate(-50%, -50%) rotate(var(--plate-r));
      border: 2px solid #F7FAFC;
      border-radius: 50%;
      background: radial-gradient(ellipse at center, #F4F7F8 0 34%, #B7C0C7 37% 55%, #F8FAFC 58% 100%);
      box-shadow: 0 4px 5px rgba(46, 45, 39, .2);
    }

    .mm3d-plate::before {
      content: '';
      position: absolute;
      left: 7px;
      top: 2px;
      width: 10px;
      height: 6px;
      border-radius: 50%;
      background: radial-gradient(circle at 50% 20%, #fff 0 18%, #F2E6BD 22% 100%);
      box-shadow: 7px 2px 0 -2px #D48332;
    }

    .mm3d-empty {
      position: absolute;
      left: 50%;
      top: 77%;
      z-index: 8;
      transform: translate(-50%, -50%);
      padding: 8px 11px;
      border-radius: 11px;
      color: var(--text2);
      background: color-mix(in srgb, var(--surface) 90%, transparent);
      border: 1px solid var(--border);
      font-size: 11px;
      font-weight: 700;
      white-space: nowrap;
    }

    .mmx-dashboard-food>.mm3d-dining {
      align-self: stretch;
      margin: 0;
      padding: 14px;
    }

    .mmx-dashboard-food>.mm3d-dining .mm3d-dining-head p {
      display: none;
    }

    .mmx-dashboard-food>.mm3d-dining .mm3d-scene {
      min-height: 245px;
    }

    .mmx-dashboard-food>.mm3d-dining .mm3d-tables {
      grid-template-columns: 1fr;
    }

    .mmd-plate>.mm3d-dining {
      margin-top: 14px;
    }

    @media (max-width: 720px) {
      .mm3d-dining {
        padding: 14px;
        border-radius: 20px;
      }

      .mm3d-dining-head {
        display: block;
      }

      .mm3d-dining-count {
        display: inline-flex;
        margin-top: 9px;
      }

      .mm3d-scene {
        min-height: 250px;
      }

      .mm3d-person {
        transform: translate(-50%, -50%) scale(.9);
      }

      .homepage-view .mmh-story-report .mmh-story-copy {
        max-width: none;
      }

      .homepage-view .mmh-story-report img {
        width: 66%;
        opacity: .38;
      }
    }

    @media (prefers-reduced-motion: reduce) {

      .mm3d-person,
      .mm3d-plate {
        transition: none !important;
      }
    }
  
