    :root {
      --mmd-turmeric: #F2B632;
      --mmd-leaf: #2F9E6B;
      --mmd-chili: #E4572E;
      --mmd-rice: #FFF4E2;
      --mmd-steel: #9AA7B8;
      --mmd-hero-bg: linear-gradient(120deg, #FFFFFF 0%, #FFF6EC 62%, #FFEBD9 100%);
      --mmd-hero-border: #F3DFCF;
      --mmd-glow: rgba(255, 130, 67, .22);
      --mmd-card: #FFFFFF;
      --mmd-muted: #6B7280;
    }

    [data-theme="dark"] {
      --mmd-hero-bg: linear-gradient(120deg, #1B2638 0%, #1F2A3D 60%, #2A2A33 100%);
      --mmd-hero-border: #2F3B50;
      --mmd-glow: rgba(255, 154, 99, .20);
      --mmd-card: #1B2638;
      --mmd-muted: #94A3B8;
    }

    body,
    .tab-panel {
      font-family: 'Sora', 'Hind Siliguri', sans-serif;
    }

    .mmd-bn {
      font-family: 'Hind Siliguri', 'Sora', sans-serif;
    }

    /* ---------- Page hero ---------- */
    .mmd-hero {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      align-items: center;
      gap: 20px;
      min-height: 150px;
      margin: 0 0 18px;
      padding: 20px 26px;
      border-radius: 20px;
      background: var(--mmd-hero-bg);
      border: 1px solid var(--mmd-hero-border);
      overflow: hidden;
      isolation: isolate;
    }

    .mmd-hero::before {
      content: "";
      position: absolute;
      right: -40px;
      top: -60px;
      width: 360px;
      height: 300px;
      background: radial-gradient(closest-side, var(--mmd-glow), transparent);
      z-index: -1;
    }

    .mmd-hero-text h1 {
      font-family: 'Hind Siliguri', 'Sora', sans-serif;
      font-size: clamp(24px, 2.4vw, 32px);
      line-height: 1.15;
      font-weight: 700;
      color: var(--text);
      letter-spacing: 0;
      text-transform: none;
    }

    .mmd-hero-text p {
      margin-top: 6px;
      max-width: 52ch;
      font-family: 'Hind Siliguri', 'Sora', sans-serif;
      font-size: 15.5px;
      line-height: 1.55;
      color: var(--mmd-muted);
    }

    .mmd-hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
    }

    .mmd-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 11px;
      border-radius: 999px;
      font-family: 'Hind Siliguri', 'Sora', sans-serif;
      font-size: 13px;
      font-weight: 600;
      background: color-mix(in srgb, var(--accent) 12%, transparent);
      color: var(--accent);
      border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
      white-space: nowrap;
    }

    .mmd-chip.leaf {
      background: color-mix(in srgb, var(--mmd-leaf) 13%, transparent);
      color: var(--mmd-leaf);
      border-color: color-mix(in srgb, var(--mmd-leaf) 30%, transparent);
    }

    .mmd-chip.muted {
      background: color-mix(in srgb, var(--mmd-muted) 12%, transparent);
      color: var(--mmd-muted);
      border-color: color-mix(in srgb, var(--mmd-muted) 25%, transparent);
    }

    .mmd-hero-art {
      position: relative;
      height: 168px;
      margin: -8px 0 -14px;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }

    html body .mmd-ava {
      border-radius: 50% !important;
    }

    .mmd-hero-art svg {
      width: 100%;
      height: 100%;
      overflow: visible;
    }

    /* একমাত্র চলমান জিনিস: সক্রিয় পেজের ধোঁয়া */
    .mmd-steam path {
      stroke: color-mix(in srgb, var(--mmd-muted) 55%, transparent);
      stroke-width: 3;
      stroke-linecap: round;
      fill: none;
      opacity: .0;
    }

    .tab-panel.active .mmd-steam path {
      animation: mmdSteam 3.2s ease-in-out infinite;
    }

    .tab-panel.active .mmd-steam path:nth-child(2) {
      animation-delay: .9s;
    }

    .tab-panel.active .mmd-steam path:nth-child(3) {
      animation-delay: 1.8s;
    }

    @keyframes mmdSteam {
      0% {
        opacity: 0;
        transform: translateY(8px);
      }

      35% {
        opacity: .8;
      }

      100% {
        opacity: 0;
        transform: translateY(-14px);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .tab-panel.active .mmd-steam path {
        animation: none;
        opacity: .5;
      }
    }

    /* pricing / billing history-র পুরনো হেডিং এখন hero-তে */
    .mmd-has-hero .mmx-head>div:first-child {
      display: none;
    }

    .mmd-has-hero .mmx-head {
      justify-content: flex-end;
    }

    /* ---------- আজকের প্লেট ---------- */
    .mmd-plate {
      margin: 0 0 18px;
      padding: 20px 22px 22px;
      border-radius: 20px;
      background: var(--surface);
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
    }

    .mmd-plate-head {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 16px;
    }

    .mmd-plate-head h2 {
      font-family: 'Hind Siliguri', 'Sora', sans-serif;
      font-size: 21px;
      font-weight: 700;
      color: var(--text);
      line-height: 1.2;
    }

    .mmd-plate-head small {
      display: block;
      margin-top: 2px;
      font-family: 'Hind Siliguri', 'Sora', sans-serif;
      font-size: 13.5px;
      color: var(--mmd-muted);
    }

    .mmd-menu {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 18px;
    }

    .mmd-menu-slot {
      position: relative;
      padding: 12px 14px;
      border-radius: 14px;
      background: var(--surface2);
      border: 1px solid var(--border);
      min-height: 76px;
    }

    .mmd-menu-slot header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 8px;
      font-family: 'Hind Siliguri', 'Sora', sans-serif;
      font-weight: 700;
      font-size: 15px;
      color: var(--text);
    }

    .mmd-menu-slot header span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .mmd-menu-slot header svg {
      width: 20px;
      height: 20px;
    }

    .mmd-edit-btn {
      border: 1px solid var(--border);
      background: var(--surface);
      color: var(--text2);
      border-radius: 8px;
      padding: 3px 9px;
      font-family: 'Hind Siliguri', 'Sora', sans-serif;
      font-size: 12.5px;
      font-weight: 600;
      cursor: pointer;
    }

    .mmd-edit-btn:hover {
      color: var(--accent);
      border-color: var(--accent);
    }

    .mmd-edit-btn:focus-visible,
    .mmd-menu-input:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }

    .mmd-foods {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .mmd-food {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 4px 11px 4px 4px;
      border-radius: 999px;
      background: var(--surface);
      border: 1px solid var(--border);
      font-family: 'Hind Siliguri', 'Sora', sans-serif;
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
    }

    .mmd-food svg {
      width: 30px;
      height: 30px;
      flex: none;
    }

    .mmd-empty {
      font-family: 'Hind Siliguri', 'Sora', sans-serif;
      font-size: 14px;
      color: var(--mmd-muted);
    }

    .mmd-menu-form {
      display: flex;
      gap: 8px;
    }

    .mmd-menu-input {
      flex: 1;
      min-width: 0;
      padding: 8px 11px;
      border-radius: 10px;
      border: 1px solid var(--input-border);
      background: var(--input-bg);
      color: var(--text);
      font-family: 'Hind Siliguri', 'Sora', sans-serif;
      font-size: 14px;
    }

    .mmd-eaters {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
      gap: 12px;
    }

    .mmd-eater {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 14px;
      border-radius: 16px;
      background: var(--surface2);
      border: 1px solid var(--border);
    }

    .mmd-eater.is-me {
      border-color: color-mix(in srgb, var(--accent) 55%, transparent);
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);
    }

    .mmd-eater.is-off {
      opacity: .62;
    }

    .mmd-eater-top {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    .mmd-ava {
      flex: none;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: #fff;
      font-weight: 700;
      font-size: 13px;
      background-size: cover;
      background-position: center;
      overflow: hidden;
      box-shadow: 0 3px 8px rgba(0, 0, 0, .18), inset 0 -3px 0 rgba(0, 0, 0, .12);
    }

    .mmd-ava img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border-radius: 50%;
    }

    .mmd-eater-name {
      min-width: 0;
    }

    .mmd-eater-name strong {
      display: block;
      font-size: 14px;
      color: var(--text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .mmd-eater-name span {
      font-family: 'Hind Siliguri', 'Sora', sans-serif;
      font-size: 13px;
      color: var(--mmd-muted);
    }

    .mmd-eater-name span b {
      color: var(--accent);
    }

    .mmd-me-tag {
      position: absolute;
      top: 10px;
      right: 10px;
      font-family: 'Hind Siliguri', 'Sora', sans-serif;
      font-size: 11.5px;
      font-weight: 700;
      padding: 1px 8px;
      border-radius: 999px;
      background: var(--accent);
      color: #fff;
    }

    .mmd-plates {
      display: flex;
      align-items: flex-end;
      height: 46px;
    }

    .mmd-plates svg {
      width: 52px;
      height: 46px;
      flex: none;
    }

    .mmd-plates svg+svg {
      margin-left: -14px;
    }

    .mmd-plates .more {
      margin-left: 6px;
      font-weight: 700;
      color: var(--text2);
      font-size: 13px;
      align-self: center;
    }

    .mmd-plate.compact .mmd-eaters {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    @media (max-width: 760px) {
      .mmd-hero {
        grid-template-columns: minmax(0, 1fr) 128px;
        padding: 16px 16px;
        min-height: 118px;
        gap: 10px;
      }

      .mmd-hero-art {
        height: clamp(96px, 26vw, 150px);
        margin: 0;
        filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .22));
      }

      .mmd-hero-text p {
        font-size: 14px;
      }

      .mmd-menu {
        grid-template-columns: 1fr;
      }

      .mmd-plate {
        padding: 16px 14px;
      }

      .mmd-eaters,
      .mmd-plate.compact .mmd-eaters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media print {

      .mmd-hero,
      .mmd-plate {
        display: none !important;
      }
    }
  
