:root {
      --bg: #f6f2ea;
      --paper: #fffdfa;
      --paper-soft: #faf8f3;
      --sage-50: #f0f4ef;
      --sage-100: #e5ede7;
      --sage-200: #d6e2d9;
      --sage-500: #6f9180;
      --sage-700: #365f50;
      --sage-800: #264b3f;
      --teal: #4e9ea2;
      --teal-soft: #d9eeee;
      --gold: #c49a54;
      --gold-soft: #f5e9cf;
      --ink: #20362d;
      --muted: #6f7e76;
      --line: rgba(53, 84, 70, .12);
      --line-strong: rgba(53, 84, 70, .20);
      --danger: #965d56;
      --danger-soft: #f7eae7;
      --shadow: 0 18px 45px rgba(53, 76, 64, .09);
      --shadow-soft: 0 9px 24px rgba(53, 76, 64, .065);
      --radius-xl: 27px;
      --radius-lg: 20px;
      --radius-md: 15px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-height: 100vh;
      color: var(--ink);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background:
        radial-gradient(circle at 11% 2%, rgba(218, 230, 220, .56), transparent 26rem),
        radial-gradient(circle at 89% 8%, rgba(239, 220, 184, .36), transparent 29rem),
        linear-gradient(180deg, #fbf8f2 0%, #f5f0e7 100%);
    }
    button, input { font: inherit; }
    button { cursor: pointer; }
    [hidden] { display: none !important; }
    svg { display: block; }

    .app-shell {
      width: min(1490px, calc(100% - 36px));
      margin: 0 auto;
      padding: 24px 0 30px;
    }

    .topbar {
      display: grid;
      grid-template-columns: 245px minmax(520px, 1fr);
      gap: 28px;
      align-items: center;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }
    .brand-mark {
      width: 57px;
      height: 66px;
      flex: 0 0 auto;
      color: var(--sage-700);
    }
    .brand-copy h1 {
      margin: 0;
      font: 500 2.1rem/0.93 Georgia, "Times New Roman", serif;
      color: var(--sage-700);
      letter-spacing: -.03em;
    }
    .brand-copy p {
      margin: 10px 0 0;
      color: var(--gold);
      font-size: .78rem;
      letter-spacing: .01em;
    }

    .search-region { min-width: 0; }
    .search-form {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 12px;
      background: rgba(255, 253, 250, .92);
      border: 1px solid var(--line);
      border-radius: 16px;
      box-shadow: var(--shadow-soft);
      padding: 9px 11px 9px 16px;
    }
    .search-form svg { width: 23px; height: 23px; color: #20362d; }
    .search-form input {
      min-width: 0;
      width: 100%;
      border: 0;
      outline: 0;
      color: var(--ink);
      background: transparent;
      padding: 8px 0;
      font-size: .91rem;
    }
    .search-form input::placeholder { color: #8d9993; }
    .search-form button {
      border: 0;
      border-radius: 12px;
      padding: 11px 27px;
      color: white;
      background: linear-gradient(180deg, #477766, #2f5e4e);
      font-weight: 750;
      box-shadow: 0 8px 18px rgba(47, 94, 78, .20);
      transition: .2s ease;
    }
    .search-form button:hover { transform: translateY(-1px); box-shadow: 0 11px 25px rgba(47, 94, 78, .26); }

    .popular-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
      font-size: .71rem;
    }
    .popular-row strong { margin-right: 6px; font-weight: 700; color: #354c42; }
    .search-chip {
      border: 1px solid var(--line);
      background: rgba(255, 253, 250, .72);
      color: #3d6253;
      border-radius: 999px;
      padding: 7px 13px;
      font-weight: 700;
      transition: .18s ease;
    }
    .search-chip:hover { background: var(--sage-100); border-color: rgba(54, 95, 80, .22); }

    .header-actions {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 26px;
    }
    .header-action {
      position: relative;
      display: grid;
      justify-items: center;
      gap: 5px;
      border: 0;
      background: transparent;
      color: #253c32;
      padding: 3px;
      font-size: .67rem;
    }
    .header-action svg { width: 25px; height: 25px; stroke-width: 1.65; }
    .cart-badge {
      position: absolute;
      top: -2px;
      right: -4px;
      display: grid;
      place-items: center;
      min-width: 19px;
      height: 19px;
      border-radius: 999px;
      background: #cca34f;
      color: white;
      font-size: .64rem;
      font-weight: 800;
    }

    .search-info {
      width: calc(100% - 273px);
      margin: 17px 0 14px 273px;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 13px;
      min-height: 55px;
      padding: 10px 15px;
      border: 1px solid rgba(196, 154, 84, .11);
      border-radius: 14px;
      background: rgba(255, 253, 250, .64);
      color: #496258;
      box-shadow: 0 4px 18px rgba(70, 89, 78, .03);
    }
    .search-info-icon {
      display: grid;
      place-items: center;
      width: 31px;
      height: 31px;
      border-radius: 50%;
      background: var(--gold-soft);
      color: var(--gold);
      font-weight: 900;
    }
    .search-info strong { display: block; font-size: .77rem; color: #345647; }
    .search-info span { display: block; margin-top: 3px; font-size: .71rem; color: var(--muted); }
    .search-info button { border: 0; background: transparent; color: var(--muted); font-size: 1.05rem; }

    .workspace {
      display: grid;
      grid-template-columns: 216px minmax(660px, 1fr) 365px;
      gap: 18px;
      align-items: stretch;
    }

    .panel {
      border: 1px solid var(--line);
      background: rgba(255, 253, 250, .78);
      box-shadow: var(--shadow-soft);
      border-radius: var(--radius-lg);
      backdrop-filter: blur(14px);
    }

    .catalogue-nav {
      padding: 9px;
      min-height: 745px;
      display: flex;
      flex-direction: column;
    }
    .nav-section {
      padding: 14px 13px 16px;
      border-bottom: 1px solid var(--line);
    }
    .nav-section:last-of-type { border-bottom: 0; }
    .nav-section.active {
      border-radius: 13px;
      background: linear-gradient(135deg, rgba(229, 237, 231, .95), rgba(240, 244, 239, .55));
    }
    .nav-heading {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
      color: var(--sage-700);
      font-size: .85rem;
      font-weight: 800;
    }
    .nav-heading svg { width: 20px; height: 20px; flex: 0 0 auto; }
    .nav-links { display: grid; gap: 4px; }
    .nav-link {
      width: 100%;
      border: 0;
      text-align: left;
      color: #53655c;
      background: transparent;
      border-radius: 9px;
      padding: 5px 5px 5px 27px;
      font-size: .75rem;
      line-height: 1.2;
      transition: .16s ease;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--sage-800);
      background: rgba(214, 226, 217, .62);
      transform: translateX(2px);
    }
    .personalized-card {
      margin: auto 2px 2px;
      padding: 15px;
      border-radius: 14px;
      background: linear-gradient(145deg, #f4f4ed, #eef1e8);
      border: 1px solid rgba(53, 84, 70, .08);
    }
    .personalized-card strong { font-size: .72rem; color: var(--sage-700); }
    .personalized-card p { margin: 8px 0 12px; color: var(--muted); font-size: .69rem; line-height: 1.55; }
    .personalized-card button {
      width: 100%;
      border: 0;
      border-radius: 999px;
      color: white;
      background: var(--sage-700);
      padding: 9px 12px;
      font-size: .7rem;
      font-weight: 750;
    }

    .body-explorer {
      position: relative;
      min-height: 745px;
      padding: 17px 19px 11px;
      overflow: hidden;
      background:
        radial-gradient(circle at 56% 41%, rgba(224, 237, 228, .74), transparent 18rem),
        radial-gradient(circle at 52% 76%, rgba(244, 225, 188, .28), transparent 15rem),
        linear-gradient(165deg, rgba(255, 253, 250, .96), rgba(249, 247, 241, .90));
    }
    .body-explorer::after {
      content: "";
      position: absolute;
      width: 360px;
      height: 360px;
      left: 52%;
      top: 42%;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      border: 1px solid rgba(89, 123, 105, .08);
      box-shadow: 0 0 0 66px rgba(255,255,255,.19), 0 0 0 132px rgba(255,255,255,.10);
      pointer-events: none;
    }
    .explorer-header {
      position: relative;
      z-index: 8;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }
    .explorer-header h2 { margin: 0; font: 600 1.07rem/1.2 Georgia, serif; }
    .explorer-header p { margin: 7px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.45; }
    .view-controls { display: flex; align-items: center; gap: 8px; }
    .view-toggle {
      display: flex;
      padding: 3px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.58);
      border-radius: 999px;
    }
    .view-toggle button {
      border: 0;
      border-radius: 999px;
      background: transparent;
      color: var(--muted);
      padding: 7px 17px;
      font-size: .7rem;
    }
    .view-toggle button.active { color: white; background: var(--sage-700); }
    .rotate-btn {
      display: grid;
      place-items: center;
      width: 37px;
      height: 37px;
      border: 1px solid var(--line);
      border-radius: 50%;
      background: rgba(255,255,255,.72);
      color: #5f7168;
      box-shadow: 0 5px 15px rgba(52, 79, 65, .06);
    }

    .body-map-stage {
      position: absolute;
      z-index: 4;
      inset: 60px 14px 15px;
      min-height: 630px;
      perspective: 1100px;
    }
    .body-visual {
      position: absolute;
      left: 50%;
      top: 5px;
      width: 302px;
      height: 675px;
      transform: translateX(-50%);
      transform-style: preserve-3d;
      transition: transform .18s ease-out;
      z-index: 3;
      pointer-events: none;
    }
    .figure-shot {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center top;
      transition: opacity .42s ease, filter .28s ease;
      filter: drop-shadow(0 20px 30px rgba(48,72,61,.12));
      user-select: none;
      -webkit-user-drag: none;
    }
    .figure-back-img { opacity: 0; }
    .body-explorer[data-view="back"] .figure-front-img { opacity: 0; }
    .body-explorer[data-view="back"] .figure-back-img { opacity: 1; }
    .body-explorer.view-switching .figure-shot { filter: blur(1px) drop-shadow(0 20px 30px rgba(48,72,61,.12)); }
    .body-explorer[data-zone="active"] .figure-shot { filter: drop-shadow(0 20px 30px rgba(48,72,61,.12)) saturate(1.04); }
    .body-explorer[data-zone="core"] .figure-shot,
    .body-explorer[data-zone="metabolism"] .figure-shot { filter: drop-shadow(0 20px 30px rgba(48,72,61,.12)) brightness(1.015); }
    .callout-set { position: absolute; inset: 0; z-index: 7; }
    .body-explorer[data-view="front"] .back-set { display: none; }
    .body-explorer[data-view="back"] .front-set { display: none; }
    .body-figure { width: 100%; height: 100%; overflow: visible; }
    .body-figure .body-shell { fill: url(#bodyGlass); stroke: rgba(144, 165, 156, .70); stroke-width: 1; }
    .body-figure .body-overlay { fill: url(#bodyGlassSoft); opacity: .58; }
    .body-figure .body-rim { fill: none; stroke: rgba(255,255,255,.92); stroke-width: 1.5; stroke-linecap: round; opacity: .75; }
    .body-figure .body-highlight { fill: none; stroke: rgba(255,255,255,.78); stroke-width: 2.1; stroke-linecap: round; opacity: .7; }
    .body-figure .body-detail { fill: none; stroke: rgba(67, 98, 82, .23); stroke-width: 1.05; stroke-linecap: round; }
    .body-figure .body-shadow { fill: rgba(43, 75, 60, .12); filter: blur(8px); }
    .body-figure .base-ring { fill: none; stroke: rgba(72, 107, 90, .13); stroke-width: 1; }
    .body-figure .glow-zone { opacity: .13; transition: opacity .3s ease, transform .3s ease; transform-box: fill-box; transform-origin: center; }
    .body-explorer[data-zone="hair"] .zone-hair,
    .body-explorer[data-zone="face"] .zone-face,
    .body-explorer[data-zone="oral"] .zone-oral,
    .body-explorer[data-zone="core"] .zone-core,
    .body-explorer[data-zone="metabolism"] .zone-metabolism,
    .body-explorer[data-zone="active"] .zone-active,
    .body-explorer[data-zone="skin"] .zone-skin {
      opacity: .96;
      transform: scale(1.08);
      animation: zonePulse 2.5s ease-in-out infinite;
    }
    @keyframes zonePulse { 0%,100% { opacity: .58; } 50% { opacity: 1; } }

    .figure-front, .figure-back { transition: opacity .42s ease; }
    .glow-front-set, .glow-back-set { transition: opacity .42s ease; }
    .body-explorer[data-view="front"] .glow-back-set { opacity: 0; pointer-events: none; }
    .body-explorer[data-view="back"] .glow-front-set { opacity: 0; pointer-events: none; }
    .body-explorer[data-view="front"] .figure-front { opacity: 1; }
    .body-explorer[data-view="front"] .figure-back { opacity: 0; pointer-events: none; }
    .body-explorer[data-view="back"] .figure-front { opacity: 0; pointer-events: none; }
    .body-explorer[data-view="back"] .figure-back { opacity: 1; }

    .callout {
      --line: 80px;
      position: absolute;
      z-index: 7;
      width: 176px;
      border: 0;
      background: transparent;
      color: var(--sage-700);
      text-align: left;
      padding: 4px 6px;
      transition: .18s ease;
    }
    .callout strong { display: block; font-size: .77rem; line-height: 1.2; }
    .callout span { display: block; margin-top: 4px; color: var(--muted); font-size: .64rem; line-height: 1.35; font-weight: 500; }
    .callout::before {
      content: "";
      position: absolute;
      top: 15px;
      width: var(--line);
      height: 1px;
      background: linear-gradient(90deg, rgba(67, 98, 82, .72), rgba(67, 98, 82, .16));
    }
    .callout::after {
      content: "";
      position: absolute;
      top: 12px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--sage-700);
      box-shadow: 0 0 0 4px rgba(67, 98, 82, .09);
    }
    .callout.left { text-align: right; }
    .callout.left::before { left: calc(100% + 5px); }
    .callout.left::after { left: calc(100% + var(--line) + 2px); }
    .callout.right::before { right: calc(100% + 5px); transform: scaleX(-1); }
    .callout.right::after { right: calc(100% + var(--line) + 2px); }
    .callout:hover, .callout.active { color: #7d6434; transform: translateY(-1px); }
    .callout:hover::after, .callout.active::after { background: var(--gold); box-shadow: 0 0 0 7px rgba(196, 154, 84, .13); }

    .callout.hair { left: 28%; top: 24px; --line: 50px; }
    .callout.face { right: 2%; top: 48px; --line: 67px; }
    .callout.oral { right: 1%; top: 94px; --line: 71px; }
    .callout.core { left: 1%; top: 163px; --line: 93px; }
    .callout.metabolism { left: 0; top: 258px; --line: 91px; }
    .callout.active-body { right: -2%; top: 205px; --line: 72px; }
    .callout.skin { right: -2%; top: 390px; --line: 56px; }

    .front-set .callout.hair { left: 30%; top: 25px; --line: 48px; }
    .front-set .callout.face { right: 1%; top: 58px; --line: 64px; }
    .front-set .callout.oral { right: 0; top: 103px; --line: 65px; }
    .front-set .callout.core { left: 1%; top: 184px; --line: 88px; }
    .front-set .callout.metabolism { left: 0; top: 281px; --line: 88px; }
    .front-set .callout.active-body { right: -1%; top: 222px; --line: 66px; }
    .front-set .callout.skin { right: -1%; top: 410px; --line: 54px; }

    .back-set .callout.hair { right: 1%; top: 39px; --line: 58px; }
    .back-set .callout.active-body { left: 1%; top: 184px; --line: 80px; }
    .back-set .callout.core { right: -1%; top: 268px; --line: 67px; }
    .back-set .callout.metabolism { left: 0; top: 346px; --line: 78px; }
    .back-set .callout.skin { right: -1%; top: 461px; --line: 58px; }


    /* v3 alignment: explicit left/right resets prevent opposing offsets from stretching callouts. */
    .front-set .callout.hair { left: 26%; right: auto; top: 25px; }
    .front-set .callout.face { left: auto; right: 1%; top: 58px; }
    .front-set .callout.oral { left: auto; right: 1%; top: 103px; }
    .front-set .callout.core { left: 1%; right: auto; top: 184px; }
    .front-set .callout.metabolism { left: 1%; right: auto; top: 281px; }
    .front-set .callout.active-body { left: auto; right: 1%; top: 222px; }
    .front-set .callout.skin { left: auto; right: 1%; top: 410px; }

    .back-set .callout.hair { left: auto; right: 1%; top: 39px; }
    .back-set .callout.active-body { left: 1%; right: auto; top: 184px; }
    .back-set .callout.core { left: auto; right: 1%; top: 268px; }
    .back-set .callout.metabolism { left: 1%; right: auto; top: 346px; }
    .back-set .callout.skin { left: auto; right: 1%; top: 461px; }

    /* Connector geometry is separated from the text blocks, so each line terminates on the actual body zone. */
    .callout::before,
    .callout::after { display: none; }
    .connector-layer {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 6;
      pointer-events: none;
      overflow: visible;
    }
    .connector-layer polyline {
      fill: none;
      stroke: rgba(54, 95, 80, .52);
      stroke-width: 1.25;
      vector-effect: non-scaling-stroke;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .connector-layer circle.zone-end {
      fill: #365f50;
      stroke: rgba(255,255,255,.92);
      stroke-width: 2;
      vector-effect: non-scaling-stroke;
      filter: drop-shadow(0 0 4px rgba(54,95,80,.24));
    }
    .connector-layer circle.label-end {
      fill: rgba(54,95,80,.32);
    }
    .body-explorer[data-view="front"] .back-connectors { display: none; }
    .body-explorer[data-view="back"] .front-connectors { display: none; }


    .zone-hotspot {
      position: absolute;
      z-index: 9;
      width: 22px;
      height: 22px;
      border: 1px solid rgba(255,255,255,.92);
      border-radius: 50%;
      background: rgba(255,255,255,.12);
      box-shadow: 0 0 0 6px rgba(110,145,128,.10), 0 0 22px rgba(110,145,128,.20);
      opacity: 0;
      transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
      transform: translate(-50%, -50%);
    }
    .body-map-stage:hover .zone-hotspot { opacity: 0; }
    .zone-hotspot:hover, .zone-hotspot:focus-visible {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1.18);
      box-shadow: 0 0 0 8px rgba(196,154,84,.13), 0 0 28px rgba(196,154,84,.26);
      outline: none;
    }
    .front-hotspots, .back-hotspots { position: absolute; inset: 0; z-index: 9; }
    .body-explorer[data-view="front"] .back-hotspots { display: none; }
    .body-explorer[data-view="back"] .front-hotspots { display: none; }
    .z-hair { left: 50%; top: 5.5%; }
    .z-face { left: 50%; top: 9.4%; }
    .z-oral { left: 50%; top: 12.5%; }
    .z-core { left: 50%; top: 28.3%; }
    .z-metabolism { left: 50%; top: 41.3%; }
    .z-active { left: 58%; top: 30.7%; }
    .z-skin { left: 55%; top: 55.9%; }
    .back-hotspots .z-hair { left: 50%; top: 5.5%; }
    .back-hotspots .z-active { left: 43%; top: 31%; }
    .back-hotspots .z-core { left: 50%; top: 42%; }
    .back-hotspots .z-metabolism { left: 50%; top: 54%; }
    .back-hotspots .z-skin { left: 58%; top: 72%; }

    .body-hit {
      display: none;
      position: absolute;
      z-index: 8;
      border: 0;
      background: transparent;
      border-radius: 50%;
      padding: 0;
    }
    .body-hit:focus-visible { outline: 3px solid rgba(196, 154, 84, .45); }
    .hit-hair { left: calc(50% - 27px); top: 24px; width: 54px; height: 45px; }
    .hit-face { left: calc(50% - 28px); top: 65px; width: 56px; height: 54px; }
    .hit-oral { left: calc(50% - 20px); top: 103px; width: 40px; height: 25px; }
    .hit-core { left: calc(50% - 67px); top: 165px; width: 134px; height: 120px; }
    .hit-metabolism { left: calc(50% - 54px); top: 284px; width: 108px; height: 90px; }
    .hit-active { left: calc(50% + 48px); top: 202px; width: 70px; height: 210px; border-radius: 40px; }
    .hit-skin { left: calc(50% - 109px); top: 340px; width: 218px; height: 210px; border-radius: 45%; }

    .environment-title {
      position: absolute;
      z-index: 7;
      left: 4px;
      bottom: 246px;
      font-size: .68rem;
      color: var(--sage-700);
      font-weight: 800;
    }
    .environment-title::after {
      content: "";
      position: absolute;
      left: 150px;
      top: 9px;
      width: 70px;
      border-top: 1px dashed rgba(67, 98, 82, .32);
    }
    .environment-cards {
      position: absolute;
      z-index: 7;
      left: 4px;
      bottom: 96px;
      display: grid;
      grid-template-columns: 136px 136px;
      gap: 12px;
    }
    .environment-card {
      border: 1px solid var(--line);
      border-radius: 14px;
      background: rgba(255, 253, 250, .76);
      min-height: 139px;
      text-align: left;
      padding: 13px;
      color: var(--ink);
      box-shadow: 0 8px 20px rgba(55, 79, 66, .045);
      transition: .2s ease;
    }
    .environment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
    .environment-icon {
      display: grid;
      place-items: center;
      width: 41px;
      height: 41px;
      border-radius: 50%;
      background: #f3f8f7;
      border: 1px solid #c8dddc;
      color: var(--teal);
      margin-bottom: 11px;
    }
    .environment-icon svg { width: 24px; height: 24px; }
    .environment-card strong { display: block; font-size: .75rem; }
    .environment-card small { display: block; margin-top: 3px; color: #53716b; font-size: .63rem; }
    .environment-card p { margin: 12px 0 0; color: var(--muted); font-size: .60rem; line-height: 1.45; }

    .body-tip {
      position: absolute;
      z-index: 8;
      left: 50%;
      bottom: 4px;
      transform: translateX(-50%);
      min-width: 340px;
      text-align: center;
      border-radius: 999px;
      background: rgba(248, 242, 225, .92);
      border: 1px solid rgba(196, 154, 84, .11);
      color: #4d675c;
      padding: 7px 15px;
      font-size: .65rem;
      box-shadow: 0 5px 15px rgba(89, 73, 42, .04);
    }
    .body-tip b { color: var(--gold); margin-right: 6px; }

    .recommendations {
      min-height: 745px;
      padding: 21px 18px 15px;
      display: flex;
      flex-direction: column;
    }
    .selected-label {
      color: #53675d;
      font-size: .67rem;
      font-weight: 750;
      margin-bottom: 14px;
    }
    .selected-heading {
      display: grid;
      grid-template-columns: 60px 1fr;
      gap: 13px;
      align-items: center;
    }
    .selected-icon {
      display: grid;
      place-items: center;
      width: 59px;
      height: 59px;
      border-radius: 50%;
      color: white;
      background: linear-gradient(145deg, #61b0b4, #318187);
      box-shadow: 0 11px 24px rgba(49, 129, 135, .20);
    }
    .selected-icon svg { width: 31px; height: 31px; }
    .selected-heading h2 { margin: 0; font: 500 1.45rem/1.1 Georgia, serif; }
    .selected-heading p { margin: 6px 0 0; color: var(--muted); font-size: .78rem; }
    .panel-subtitle { margin: 24px 0 12px; font-size: .69rem; font-weight: 800; color: #496457; }
    .recommendation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .recommendation-card {
      position: relative;
      min-height: 138px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: rgba(255, 253, 250, .74);
      text-align: left;
      padding: 13px 12px 32px;
      color: var(--ink);
      box-shadow: 0 8px 22px rgba(52, 79, 65, .045);
      transition: .19s ease;
    }
    .recommendation-card:hover { transform: translateY(-3px); border-color: rgba(53, 84, 70, .21); box-shadow: var(--shadow-soft); }
    .rec-title-row { display: flex; gap: 9px; align-items: center; }
    .rec-icon {
      display: grid;
      place-items: center;
      width: 31px;
      height: 31px;
      color: var(--sage-700);
      border-radius: 9px;
      background: var(--sage-50);
      font-weight: 900;
    }
    .recommendation-card.gold .rec-icon { color: #bc8b36; background: #fbf1de; }
    .recommendation-card strong { display: block; font-size: .75rem; line-height: 1.2; }
    .recommendation-card p { margin: 13px 0 0; color: var(--muted); font-size: .65rem; line-height: 1.5; }
    .rec-arrow {
      position: absolute;
      right: 10px;
      bottom: 9px;
      display: grid;
      place-items: center;
      width: 25px;
      height: 25px;
      border-radius: 50%;
      background: rgba(255,255,255,.8);
      border: 1px solid var(--line);
      color: #5c6e65;
    }
    .recommendation-grid.secondary .recommendation-card { min-height: 127px; }

    .medical-guidance {
      margin-top: 13px;
      border: 1px solid rgba(150, 93, 86, .13);
      border-radius: 15px;
      background: linear-gradient(145deg, #fbf2ef, #f7ece9);
      padding: 13px;
    }
    .medical-guidance strong { display: block; color: #85524c; font-size: .73rem; }
    .medical-guidance p { margin: 8px 0 0; color: #7c6561; font-size: .65rem; line-height: 1.5; }
    .monitor-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
    .monitor-list span { border-radius: 999px; background: rgba(255,255,255,.65); border: 1px solid rgba(150,93,86,.10); color: #805f5a; padding: 5px 8px; font-size: .59rem; }

    .safety-box {
      margin-top: auto;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 12px;
      padding: 15px;
      border-radius: 14px;
      background: linear-gradient(145deg, #f1f3ed, #e9eee7);
      border: 1px solid rgba(53, 84, 70, .07);
    }
    .safety-box svg { width: 31px; height: 31px; color: var(--sage-700); }
    .safety-box strong { display: block; font-size: .71rem; }
    .safety-box p { margin: 5px 0 0; color: var(--muted); font-size: .63rem; line-height: 1.5; }
    .panel-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 14px;
      padding: 12px 4px 0;
      border-top: 1px solid var(--line);
      color: #4c685a;
      font-size: .66rem;
    }
    .panel-actions button { border: 0; background: transparent; color: inherit; }

    .product-drawer {
      margin-top: 18px;
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      background: rgba(255, 253, 250, .86);
      box-shadow: var(--shadow);
    }
    .drawer-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 18px;
    }
    .drawer-header h2 { margin: 0; font: 500 1.55rem Georgia, serif; }
    .drawer-header p { margin: 7px 0 0; color: var(--muted); font-size: .78rem; }
    .drawer-header button { border: 0; background: transparent; color: var(--muted); font-size: 1.25rem; }
    .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
    .product-card {
      position: relative;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 17px;
      background: var(--paper);
      min-height: 280px;
      box-shadow: 0 8px 22px rgba(55, 79, 66, .045);
    }
    .product-art {
      position: relative;
      display: grid;
      place-items: center;
      height: 120px;
      background:
        radial-gradient(circle at 60% 30%, rgba(255,255,255,.85), transparent 30%),
        linear-gradient(145deg, var(--product-soft, #e5ede7), #faf8f3);
      overflow: hidden;
    }
    .product-art::before {
      content: "";
      position: absolute;
      width: 90px;
      height: 90px;
      border: 1px solid rgba(255,255,255,.65);
      border-radius: 50%;
      box-shadow: 0 0 0 18px rgba(255,255,255,.18), 0 0 0 36px rgba(255,255,255,.10);
    }
    .product-bottle {
      position: relative;
      z-index: 2;
      display: grid;
      place-items: center;
      width: 51px;
      height: 75px;
      border-radius: 11px 11px 14px 14px;
      color: var(--product, #365f50);
      background: linear-gradient(180deg, #fff 0 12%, #f9faf7 12% 100%);
      border: 1px solid rgba(53,84,70,.13);
      box-shadow: 0 11px 22px rgba(52,79,65,.13);
      font: 800 .72rem Georgia, serif;
    }
    .product-bottle::before {
      content: "";
      position: absolute;
      top: -8px;
      width: 36px;
      height: 11px;
      border-radius: 5px 5px 2px 2px;
      background: var(--product, #365f50);
    }
    .product-bottle::after {
      content: "";
      position: absolute;
      inset: 31px 6px 10px;
      border-radius: 6px;
      background: linear-gradient(145deg, var(--product-soft, #e5ede7), #fff);
      border: 1px solid rgba(53,84,70,.08);
      z-index: -1;
    }
    .product-content { padding: 13px; }
    .product-category { color: var(--sage-700); font-size: .59rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
    .product-card h3 { margin: 8px 0 7px; font: 600 .92rem/1.15 Georgia, serif; }
    .product-card p { margin: 0; min-height: 44px; color: var(--muted); font-size: .66rem; line-height: 1.45; }
    .product-status { display: inline-flex; margin-top: 10px; border-radius: 999px; background: var(--sage-50); color: #567064; padding: 5px 7px; font-size: .56rem; }
    .product-actions { display: flex; gap: 7px; margin-top: 12px; }
    .product-actions button {
      width: 100%;
      border-radius: 10px;
      padding: 8px 7px;
      font-size: .62rem;
      font-weight: 750;
      border: 1px solid var(--line);
      background: #f8f8f4;
      color: #496457;
    }
    .product-actions button.primary { color: white; background: var(--sage-700); border-color: var(--sage-700); }

    .value-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      margin: 18px 258px 0 238px;
    }
    .value-item {
      display: grid;
      grid-template-columns: 42px 1fr;
      gap: 10px;
      align-items: center;
      padding: 0 22px;
      border-right: 1px solid var(--line);
    }
    .value-item:last-child { border-right: 0; }
    .value-item svg { width: 34px; height: 34px; color: var(--sage-700); }
    .value-item strong { display: block; font-size: .68rem; }
    .value-item span { display: block; margin-top: 3px; color: var(--muted); font-size: .59rem; line-height: 1.4; }

    dialog {
      width: min(620px, calc(100% - 28px));
      border: 0;
      padding: 0;
      border-radius: 22px;
      color: var(--ink);
      background: var(--paper);
      box-shadow: 0 35px 95px rgba(31, 49, 41, .24);
    }
    dialog::backdrop { background: rgba(28, 43, 36, .32); backdrop-filter: blur(4px); }
    .modal-body { padding: 22px; }
    .modal-top { display: flex; justify-content: space-between; gap: 20px; }
    .modal-top h2 { margin: 6px 0 0; font: 500 1.55rem Georgia, serif; }
    .modal-kicker { color: var(--sage-700); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
    .close-modal { border: 0; background: transparent; font-size: 1.35rem; color: var(--muted); }
    .modal-grid { display: grid; grid-template-columns: 150px 1fr; gap: 20px; margin-top: 18px; }
    .modal-product-art { display: grid; place-items: center; min-height: 180px; border-radius: 16px; background: var(--sage-50); }
    .modal-product-art .product-bottle { transform: scale(1.55); }
    .modal-copy p { color: var(--muted); line-height: 1.65; font-size: .78rem; }
    .modal-list { display: grid; gap: 8px; margin-top: 15px; }
    .modal-list div { padding: 10px 12px; border-radius: 11px; background: #f7f7f2; color: #5e6f67; font-size: .7rem; }
    .modal-warning { margin-top: 16px; padding: 12px; border-radius: 11px; background: #f8eee9; color: #7e5c55; font-size: .7rem; line-height: 1.5; }

    .toast {
      position: fixed;
      z-index: 100;
      left: 50%;
      bottom: 24px;
      transform: translate(-50%, 20px);
      opacity: 0;
      pointer-events: none;
      border-radius: 999px;
      background: #294f40;
      color: white;
      padding: 11px 17px;
      box-shadow: 0 13px 35px rgba(41, 79, 64, .25);
      font-size: .75rem;
      transition: .24s ease;
    }
    .toast.show { opacity: 1; transform: translate(-50%, 0); }

    @media (max-width: 1280px) {
      .app-shell { width: min(1180px, calc(100% - 28px)); }
      .topbar { grid-template-columns: 205px minmax(420px, 1fr); gap: 18px; }
      .brand-copy h1 { font-size: 1.75rem; }
      .brand-mark { width: 49px; }
      .search-info { margin-left: 223px; width: calc(100% - 223px); }
      .workspace { grid-template-columns: 190px minmax(590px, 1fr) 325px; }
      .body-visual { width: 320px; }
      .callout { width: 150px; }
      .environment-cards { grid-template-columns: 122px 122px; }
      .value-row { margin-inline: 210px 222px; }
    }

    @media (max-width: 1060px) {
      .topbar { grid-template-columns: 210px 1fr; }
      .search-info { width: calc(100% - 228px); margin-left: 228px; }
      .workspace { grid-template-columns: 188px 1fr; }
      .recommendations { grid-column: 1 / -1; min-height: auto; }
      .recommendations .safety-box { margin-top: 18px; }
      .product-grid { grid-template-columns: repeat(3, 1fr); }
      .value-row { margin-inline: 0; }
    }

    @media (max-width: 780px) {
      .app-shell { width: min(100% - 18px, 720px); padding-top: 12px; }
      .topbar { display: block; }
      .brand { margin-bottom: 14px; }
      .brand-mark { width: 44px; height: 50px; }
      .brand-copy h1 { font-size: 1.55rem; }
      .search-info { width: 100%; margin: 12px 0; }
      .workspace { display: block; }
      .catalogue-nav { min-height: 0; margin-bottom: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
      .nav-section { border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
      .nav-links { display: flex; flex-wrap: wrap; }
      .nav-link { width: auto; padding: 5px 7px; }
      .personalized-card { display: none; }
      .body-explorer { min-height: 820px; margin-bottom: 12px; }
      .body-map-stage { inset-inline: 5px; }
      .body-visual { width: 272px; height: 670px; top: 64px; }
      .callout { width: 130px; }
      .callout.hair { left: 1%; top: 58px; --line: 45px; }
      .callout.face { right: -1%; top: 92px; --line: 48px; }
      .callout.oral { right: -2%; top: 135px; --line: 49px; }
      .callout.core { left: -2%; top: 225px; --line: 58px; }
      .callout.metabolism { left: -1%; top: 316px; --line: 55px; }
      .callout.active-body { right: -4%; top: 267px; --line: 48px; }
      .callout.skin { right: -3%; top: 437px; --line: 40px; }
      .environment-title { bottom: 228px; }
      .environment-cards { bottom: 80px; grid-template-columns: 128px 128px; }
      .body-tip { min-width: 280px; }
      .connector-layer { display: none; }
      .product-grid { grid-template-columns: repeat(2, 1fr); }
      .value-row { grid-template-columns: repeat(2, 1fr); gap: 15px 0; }
      .value-item:nth-child(2) { border-right: 0; }
      .modal-grid { grid-template-columns: 1fr; }
      .modal-product-art { min-height: 130px; }
    }

    @media (max-width: 520px) {
      .search-form { grid-template-columns: auto 1fr; }
      .search-form button { grid-column: 1 / -1; }
      .popular-row { gap: 6px; }
      .catalogue-nav { grid-template-columns: 1fr; }
      .body-explorer { min-height: 905px; padding-inline: 11px; }
      .explorer-header { display: block; }
      .view-controls { position: absolute; right: 0; top: 0; }
      .body-map-stage { top: 80px; }
      .body-visual { width: 238px; height: 650px; top: 72px; }
      .callout { width: 112px; }
      .callout strong { font-size: .67rem; }
      .callout span { font-size: .57rem; }
      .callout.core { top: 248px; }
      .callout.metabolism { top: 342px; }
      .callout.active-body { top: 280px; }
      .callout.skin { top: 445px; }
      .front-set .callout.hair { left: 1%; top: 58px; --line: 38px; }
      .front-set .callout.face { right: -2%; top: 98px; --line: 40px; }
      .front-set .callout.oral { right: -2%; top: 138px; --line: 38px; }
      .front-set .callout.core { left: -1%; top: 242px; --line: 48px; }
      .front-set .callout.metabolism { left: -1%; top: 330px; --line: 45px; }
      .front-set .callout.active-body { right: -4%; top: 286px; --line: 38px; }
      .front-set .callout.skin { right: -3%; top: 450px; --line: 32px; }
      .back-set .callout.hair { right: -2%; top: 82px; --line: 36px; }
      .back-set .callout.active-body { left: -2%; top: 258px; --line: 42px; }
      .back-set .callout.core { right: -4%; top: 320px; --line: 36px; }
      .back-set .callout.metabolism { left: -2%; top: 374px; --line: 40px; }
      .back-set .callout.skin { right: -2%; top: 486px; --line: 32px; }
      .environment-title { bottom: 249px; }
      .environment-cards { grid-template-columns: 1fr 1fr; left: 0; right: 0; bottom: 90px; }
      .body-tip { min-width: 0; width: calc(100% - 20px); }
      .recommendation-grid { grid-template-columns: 1fr; }
      .product-grid { grid-template-columns: 1fr; }
      .value-row { grid-template-columns: 1fr; }
      .value-item { border-right: 0; }
    }


    /* Front-only final edition */
    .view-controls, .figure-back-img, .back-connectors, .back-set, .back-hotspots { display: none !important; }
    .front-map-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 8px 12px;
      border: 1px solid rgba(54, 95, 80, .12);
      border-radius: 999px;
      background: rgba(240, 244, 239, .84);
      color: var(--sage-700);
      font-size: .66rem;
      font-weight: 800;
      white-space: nowrap;
    }
    .front-map-badge::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--teal);
      box-shadow: 0 0 0 5px rgba(78, 158, 162, .10);
    }
    .callout-set, .front-hotspots { pointer-events: none; }
    .callout, .front-hotspots .zone-hotspot { pointer-events: auto; }
    .zone-hotspot { opacity: .18; }
    .body-map-stage:hover .zone-hotspot { opacity: .36; }
    .body-explorer[data-zone="hair"] .z-hair,
    .body-explorer[data-zone="face"] .z-face,
    .body-explorer[data-zone="oral"] .z-oral,
    .body-explorer[data-zone="core"] .z-core,
    .body-explorer[data-zone="metabolism"] .z-metabolism,
    .body-explorer[data-zone="active"] .z-active,
    .body-explorer[data-zone="skin"] .z-skin {
      opacity: .78;
      box-shadow: 0 0 0 8px rgba(196,154,84,.12), 0 0 30px rgba(196,154,84,.30);
    }
    .panel-actions button.saved {
      color: #7d6434;
      font-weight: 800;
    }
    .catalogue-coverage {
      margin-top: auto;
      padding: 12px 13px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: .61rem;
      line-height: 1.5;
    }
    .catalogue-coverage strong { color: var(--sage-700); }
    @media (max-width: 520px) {
      .front-map-badge { margin-top: 12px; }
    }


    /* Alignment refinement — unified page grid and connector geometry */
    @media (min-width: 1061px) {
      .app-shell {
        --nav-col: 230px;
        --rec-col: 390px;
        --layout-gap: 20px;
        width: min(1800px, calc(100% - 56px));
        padding: 28px 0 36px;
      }
      .topbar {
        grid-template-columns: var(--nav-col) minmax(0, 1fr) var(--rec-col);
        gap: var(--layout-gap);
      }
      .search-region { grid-column: 2 / 4; }
      .search-info {
        width: auto;
        margin: 18px 0 16px calc(var(--nav-col) + var(--layout-gap));
      }
      .workspace {
        grid-template-columns: var(--nav-col) minmax(0, 1fr) var(--rec-col);
        gap: var(--layout-gap);
      }
      .catalogue-nav,
      .body-explorer,
      .recommendations {
        min-height: clamp(760px, calc(100vh - 235px), 900px);
      }
      .body-explorer { padding: 20px 22px 14px; }
      .body-map-stage {
        inset: 72px 20px 18px;
        --callout-w: 176px;
      }
      .body-visual {
        top: -16px;
        width: clamp(320px, 23vw, 390px);
        height: calc(100% - 4px);
      }
      .front-hotspots { transform: translateY(-16px); }
      .body-hit { transform: translateY(-16px); }
      .callout { width: var(--callout-w); }
      .callout.left {
        left: calc(25.5% - var(--callout-w)) !important;
        right: auto !important;
      }
      .callout.right {
        left: auto !important;
        right: calc(25.5% - var(--callout-w)) !important;
      }
      .value-row {
        margin: 20px 0 0 calc(var(--nav-col) + var(--layout-gap));
      }
    }

    @media (min-width: 1061px) and (max-width: 1280px) {
      .app-shell {
        --nav-col: 190px;
        --rec-col: 325px;
        --layout-gap: 18px;
        width: min(1240px, calc(100% - 28px));
      }
      .body-map-stage { --callout-w: 150px; }
      .body-visual { width: clamp(295px, 25vw, 340px); }
    }

    @media (max-width: 1060px) and (min-width: 781px) {
      .app-shell { width: min(1020px, calc(100% - 24px)); }
      .topbar { grid-template-columns: 188px minmax(0, 1fr); gap: 18px; }
      .search-info { width: calc(100% - 206px); margin-left: 206px; }
      .workspace { grid-template-columns: 188px minmax(0, 1fr); gap: 18px; }
    }

    /* Keep the body, labels, connector dots and click targets on one coordinate system. */
    .connector-layer { inset: 0; }
    .zone-hotspot { transform: translate(-50%, -50%); }
    .front-hotspots { pointer-events: none; }
    .front-hotspots .zone-hotspot { pointer-events: auto; }

    /* Visually balance the three desktop panels. */
    @media (min-width: 1061px) {
      .catalogue-nav { padding: 12px; }
      .recommendations { padding: 24px 20px 17px; }
      .explorer-header h2 { font-size: 1.14rem; }
      .explorer-header p { font-size: .75rem; }
      .selected-heading h2 { font-size: 1.52rem; }
    }


    /* Common health concern cards replace the old search chips. */
    .health-card-section {
      margin: 0 0 16px 273px;
      padding: 15px 16px 16px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(255, 253, 250, .76);
      box-shadow: var(--shadow-soft);
      backdrop-filter: blur(14px);
    }
    .health-card-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 12px;
    }
    .health-card-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--gold);
      font-size: .61rem;
      font-weight: 850;
      letter-spacing: .09em;
      text-transform: uppercase;
    }
    .health-card-header h2 {
      margin: 4px 0 0;
      font: 600 1.02rem/1.15 Georgia, serif;
      color: var(--ink);
    }
    .health-card-header p {
      margin: 5px 0 0;
      color: var(--muted);
      font-size: .68rem;
      line-height: 1.45;
    }
    .health-card-note {
      flex: 0 0 auto;
      border-radius: 999px;
      background: var(--sage-50);
      color: var(--sage-700);
      padding: 7px 11px;
      font-size: .58rem;
      font-weight: 750;
      white-space: nowrap;
    }
    .health-card-grid {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 9px;
    }
    .health-card {
      --card-accent: #6f9180;
      position: relative;
      display: grid;
      grid-template-columns: 34px 1fr auto;
      gap: 9px;
      align-items: start;
      min-height: 101px;
      padding: 11px 9px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(248,247,242,.72));
      color: var(--ink);
      text-align: left;
      box-shadow: 0 6px 17px rgba(53,76,64,.045);
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    }
    .health-card:hover,
    .health-card.active {
      transform: translateY(-2px);
      border-color: color-mix(in srgb, var(--card-accent) 38%, transparent);
      background: linear-gradient(145deg, rgba(255,255,255,.97), color-mix(in srgb, var(--card-accent) 8%, #faf8f3));
      box-shadow: 0 11px 24px rgba(53,76,64,.09);
    }
    .health-card.active::after {
      content: "";
      position: absolute;
      left: 12px;
      right: 12px;
      bottom: -1px;
      height: 3px;
      border-radius: 999px 999px 0 0;
      background: var(--card-accent);
    }
    .health-card[data-tone="gold"] { --card-accent: #c49a54; }
    .health-card[data-tone="teal"] { --card-accent: #4e9ea2; }
    .health-card[data-tone="sage"] { --card-accent: #6f9180; }
    .health-card[data-tone="rose"] { --card-accent: #a97870; }
    .health-card-icon {
      display: grid;
      place-items: center;
      width: 34px;
      height: 34px;
      border-radius: 11px;
      color: var(--card-accent);
      background: color-mix(in srgb, var(--card-accent) 11%, #fff);
      border: 1px solid color-mix(in srgb, var(--card-accent) 18%, transparent);
      font-size: .58rem;
      font-weight: 900;
      letter-spacing: -.02em;
    }
    .health-card-copy { min-width: 0; }
    .health-card-copy strong {
      display: block;
      color: #294c3f;
      font-size: .68rem;
      line-height: 1.23;
    }
    .health-card-copy small,
    .health-card-copy em {
      display: block;
      margin-top: 5px;
      color: var(--muted);
      font-size: .56rem;
      line-height: 1.35;
      font-style: normal;
    }
    .health-card-copy em {
      color: color-mix(in srgb, var(--card-accent) 78%, #3e544a);
      font-weight: 720;
    }
    .health-card-arrow {
      color: var(--card-accent);
      font-size: .8rem;
      line-height: 1;
      margin-top: 2px;
    }

    .guidance-label {
      display: block;
      margin-top: 10px;
      color: #85524c;
      font-size: .58rem;
      font-weight: 850;
      letter-spacing: .05em;
      text-transform: uppercase;
    }
    .improvement-list,
    .monitor-list {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 7px;
    }
    .improvement-list span,
    .monitor-list span {
      border-radius: 999px;
      background: rgba(255,255,255,.68);
      border: 1px solid rgba(150,93,86,.10);
      color: #805f5a;
      padding: 5px 8px;
      font-size: .57rem;
      line-height: 1.2;
    }
    .improvement-list span {
      color: #47675a;
      border-color: rgba(54,95,80,.10);
      background: rgba(245,249,245,.82);
    }

    @media (min-width: 1061px) {
      .health-card-section {
        margin-left: calc(var(--nav-col) + var(--layout-gap));
      }
    }
    @media (min-width: 1061px) and (max-width: 1390px) {
      .health-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
    @media (max-width: 1060px) {
      .health-card-section { margin: 0 0 14px; }
      .health-card-grid {
        grid-auto-flow: column;
        grid-auto-columns: minmax(190px, 1fr);
        grid-template-columns: none;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
      }
      .health-card { scroll-snap-align: start; }
    }
    @media (max-width: 620px) {
      .health-card-section { padding: 13px; }
      .health-card-header { display: block; }
      .health-card-note { display: inline-flex; margin-top: 8px; }
      .health-card-grid { grid-auto-columns: minmax(176px, 82vw); }
    }


    /* V5: anatomically aligned labels use the same vertical coordinates as the hotspots. */
    @media (min-width: 1061px) {
      .body-map-stage { --callout-w: 164px; }
      .callout {
        width: var(--callout-w);
        padding: 5px 7px;
        border-radius: 10px;
        background: rgba(255,253,250,.60);
        backdrop-filter: blur(4px);
      }
      .callout::before, .callout::after { display: none !important; }
      .callout.left { left: calc(36% - var(--callout-w)) !important; right: auto !important; }
      .callout.right { right: calc(36% - var(--callout-w)) !important; left: auto !important; }
    }

    /* V5: all guidance topics are listed in three complete groups. */
    .health-guidance-groups { display: grid; gap: 13px; }
    .health-guidance-group {
      padding-top: 11px;
      border-top: 1px solid rgba(53,84,70,.09);
    }
    .health-guidance-group:first-child { padding-top: 0; border-top: 0; }
    .health-guidance-group-title {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
      color: #365f50;
      font-size: .64rem;
      font-weight: 820;
      letter-spacing: .025em;
    }
    .health-guidance-group-title span {
      display: grid;
      place-items: center;
      width: 24px;
      height: 20px;
      border-radius: 999px;
      background: var(--sage-50);
      color: var(--sage-700);
      font-size: .55rem;
    }
    .health-card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .health-card { min-height: 92px; }
    .health-card-copy strong { font-size: .7rem; }
    @media (min-width: 1061px) and (max-width: 1450px) {
      .health-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
    @media (max-width: 1060px) {
      .health-guidance-group { min-width: 0; }
      .health-card-grid {
        grid-auto-flow: column;
        grid-auto-columns: minmax(210px, 1fr);
        grid-template-columns: none;
        overflow-x: auto;
      }
    }

  

    /* V6 COMPACT LAYOUT */
    .app-shell { padding-top: 16px; padding-bottom: 18px; }
    .topbar { align-items: center; }
    .brand-mark { width: 48px; height: 55px; }
    .brand-copy h1 { font-size: 1.72rem; line-height: .93; }
    .brand-copy p { margin-top: 6px; font-size: .67rem; }
    .search-form { padding: 6px 8px 6px 13px; border-radius: 14px; }
    .search-form input { padding: 6px 0; font-size: .84rem; }
    .search-form button { padding: 9px 22px; border-radius: 10px; }
    .search-info {
      min-height: 38px;
      padding: 7px 12px;
      margin-top: 10px;
      margin-bottom: 10px;
      border-radius: 12px;
    }
    .search-info-icon { width: 25px; height: 25px; font-size: .7rem; }
    .search-info strong { font-size: .68rem; }
    .search-info span { display: inline; margin-left: 6px; font-size: .62rem; }

    .health-card-section {
      padding: 10px 12px 11px;
      margin-bottom: 10px;
      border-radius: 15px;
    }
    .health-card-header {
      align-items: center;
      margin-bottom: 8px;
    }
    .health-card-eyebrow { font-size: .55rem; }
    .health-card-header h2 { display: inline; margin-left: 8px; font-size: .9rem; }
    .health-card-header p { display: none; }
    .health-card-note { padding: 5px 9px; font-size: .52rem; }
    .health-group-tabs {
      display: flex;
      gap: 6px;
      margin-bottom: 8px;
      overflow-x: auto;
      scrollbar-width: thin;
    }
    .health-group-tab {
      flex: 0 0 auto;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255,255,255,.72);
      color: var(--muted);
      padding: 6px 10px;
      font-size: .58rem;
      font-weight: 780;
    }
    .health-group-tab.active {
      color: white;
      background: var(--sage-700);
      border-color: var(--sage-700);
    }
    .health-guidance-groups { display: block; }
    .health-guidance-group { display: none; padding: 0; border: 0; }
    .health-guidance-group.active { display: block; }
    .health-guidance-group-title { display: none; }
    .health-card-grid {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: minmax(180px, 1fr);
      grid-template-columns: none !important;
      gap: 7px;
      overflow-x: auto;
      padding-bottom: 3px;
      scroll-snap-type: x proximity;
    }
    .health-card {
      min-height: 74px;
      padding: 8px;
      grid-template-columns: 28px 1fr auto;
      gap: 7px;
      border-radius: 11px;
      scroll-snap-align: start;
    }
    .health-card-icon { width: 28px; height: 28px; border-radius: 9px; font-size: .5rem; }
    .health-card-copy strong { font-size: .63rem; }
    .health-card-copy small { display: none; }
    .health-card-copy em { margin-top: 4px; font-size: .52rem; }

    @media (min-width: 1061px) {
      .app-shell {
        --nav-col: 180px;
        --rec-col: 320px;
        --layout-gap: 14px;
        width: min(1540px, calc(100% - 36px));
      }
      .topbar { grid-template-columns: var(--nav-col) minmax(0,1fr) var(--rec-col); gap: var(--layout-gap); }
      .search-region { grid-column: 2 / 4; }
      .search-info,
      .health-card-section { margin-left: calc(var(--nav-col) + var(--layout-gap)); width: auto; }
      .workspace { grid-template-columns: var(--nav-col) minmax(0,1fr) var(--rec-col); gap: var(--layout-gap); }
      .catalogue-nav,
      .body-explorer,
      .recommendations { min-height: 620px; height: 620px; }
      .catalogue-nav { padding: 8px; }
      .nav-section { padding: 10px 9px 11px; }
      .nav-heading { margin-bottom: 6px; font-size: .74rem; gap: 7px; }
      .nav-heading svg { width: 17px; height: 17px; }
      .nav-link { padding: 4px 4px 4px 22px; font-size: .66rem; }
      .catalogue-coverage { font-size: .55rem; line-height: 1.35; }

      .body-explorer { padding: 14px 15px 9px; }
      .explorer-header h2 { font-size: 1rem; }
      .explorer-header p { margin-top: 4px; font-size: .64rem; }
      .front-map-badge { font-size: .55rem; padding: 5px 8px; }
      .body-map-stage { inset: 54px 12px 10px; --callout-w: 142px; }
      .body-visual { top: -6px; width: clamp(275px, 21vw, 320px); height: calc(100% - 4px); }
      .callout { width: var(--callout-w); padding: 3px 5px; background: rgba(255,253,250,.48); }
      .callout strong { font-size: .68rem; }
      .callout span { margin-top: 2px; font-size: .56rem; }
      .callout.left { left: calc(34% - var(--callout-w)) !important; }
      .callout.right { right: calc(34% - var(--callout-w)) !important; }
      .environment-title { bottom: 132px; font-size: .59rem; }
      .environment-title::after { left: 126px; width: 48px; }
      .environment-cards { left: 0; bottom: 43px; grid-template-columns: 142px 142px; gap: 8px; }
      .environment-card {
        min-height: 76px;
        padding: 8px 9px;
        border-radius: 11px;
        display: grid;
        grid-template-columns: 30px 1fr;
        column-gap: 7px;
        align-content: center;
      }
      .environment-icon { grid-row: 1 / 4; width: 30px; height: 30px; margin: 0; }
      .environment-icon svg { width: 18px; height: 18px; }
      .environment-card strong { font-size: .65rem; }
      .environment-card small { margin-top: 1px; font-size: .53rem; }
      .environment-card p { display: none; }
      .body-tip { bottom: 1px; min-width: 280px; padding: 5px 12px; font-size: .57rem; }

      .recommendations { padding: 15px 12px 10px; }
      .selected-label { margin-bottom: 8px; font-size: .58rem; }
      .selected-heading { grid-template-columns: 48px 1fr; gap: 10px; }
      .selected-icon { width: 48px; height: 48px; }
      .selected-icon svg { width: 25px; height: 25px; }
      .selected-heading h2 { font-size: 1.2rem; }
      .selected-heading p { margin-top: 4px; font-size: .66rem; }
      .panel-subtitle { margin: 13px 0 7px; font-size: .6rem; }
      .recommendation-grid { grid-template-columns: 1fr; gap: 6px; }
      .recommendation-card,
      .recommendation-grid.secondary .recommendation-card {
        min-height: 62px;
        padding: 8px 34px 8px 9px;
        border-radius: 11px;
      }
      .rec-title-row { gap: 7px; }
      .rec-icon { width: 27px; height: 27px; border-radius: 8px; }
      .recommendation-card strong { font-size: .66rem; }
      .recommendation-card p { margin-top: 4px; font-size: .56rem; line-height: 1.35; max-width: 95%; }
      .rec-arrow { right: 7px; bottom: 50%; transform: translateY(50%); width: 22px; height: 22px; }
      .medical-guidance { margin-top: 8px; padding: 9px; border-radius: 11px; }
      .medical-guidance strong { font-size: .64rem; }
      .medical-guidance p { margin-top: 5px; font-size: .56rem; }
      .guidance-label { margin-top: 7px; font-size: .51rem; }
      .improvement-list, .monitor-list { margin-top: 5px; gap: 4px; }
      .improvement-list span, .monitor-list span { padding: 4px 6px; font-size: .49rem; }
      .safety-box { padding: 10px; gap: 8px; border-radius: 11px; }
      .safety-box svg { width: 24px; height: 24px; }
      .safety-box strong { font-size: .61rem; }
      .safety-box p { margin-top: 3px; font-size: .53rem; }
      .panel-actions { margin-top: 8px; padding-top: 7px; font-size: .56rem; }

      .value-row {
        margin: 9px 0 0 calc(var(--nav-col) + var(--layout-gap));
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid var(--line);
        padding-top: 7px;
      }
      .value-item { display: flex; gap: 6px; padding: 0 12px; border-right: 1px solid var(--line); }
      .value-item:last-child { border-right: 0; }
      .value-item svg { width: 22px; height: 22px; }
      .value-item strong { font-size: .58rem; white-space: nowrap; }
      .value-item span { display: none; }
    }

    @media (max-width: 1060px) {
      .health-group-tabs { margin-bottom: 7px; }
      .health-card-grid { grid-auto-columns: minmax(176px, 72vw); }
      .health-card-section { margin-bottom: 10px; }
    }


    /* ======================================================================
       COMPACT V7 — unified alignment pass
       One desktop grid for guidance, navigation, map, recommendations & footer
       ====================================================================== */
    @media (min-width: 1061px) {
      .app-shell {
        --nav-col: 182px;
        --rec-col: 320px;
        --layout-gap: 14px;
        width: min(1600px, calc(100% - 32px));
        padding-top: 18px;
      }

      .topbar,
      .workspace {
        grid-template-columns: var(--nav-col) minmax(0, 1fr) var(--rec-col);
        column-gap: var(--layout-gap);
      }

      .search-region { grid-column: 2 / 4; }
      .search-info {
        margin: 10px 0 10px calc(var(--nav-col) + var(--layout-gap));
        width: auto;
      }

      /* Guidance now uses the full workspace width, removing the empty left gap. */
      .health-card-section {
        margin: 0 0 10px;
        width: 100%;
        padding: 10px 12px 11px;
      }
      .health-card-header {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        column-gap: 10px;
        margin-bottom: 6px;
      }
      .health-card-header h2 { margin-left: 0; }
      .health-group-tabs { margin: 0 0 7px; }
      .health-card-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        grid-auto-flow: row;
        grid-auto-columns: auto;
        gap: 7px;
        overflow: visible;
        padding-bottom: 0;
      }
      .health-card {
        width: 100%;
        min-width: 0;
        min-height: 70px;
      }

      .workspace { align-items: stretch; }
      .catalogue-nav,
      .body-explorer,
      .recommendations {
        height: 640px;
        min-height: 640px;
      }

      /* Left navigation uses the same top and bottom baselines as the map. */
      .catalogue-nav {
        padding: 8px;
        justify-content: flex-start;
      }
      .catalogue-coverage { margin-top: auto; }

      /* Centre map: raise and slightly reduce the figure so feet and cards fit. */
      .body-explorer { padding: 14px 15px 10px; }
      .body-map-stage {
        inset: 54px 12px 12px;
        --callout-w: 142px;
      }
      .body-visual {
        top: -24px;
        width: clamp(260px, 19vw, 298px);
        height: 590px;
      }
      .figure-shot {
        object-position: center top;
        object-fit: contain;
      }

      /* Keep labels on two clean, symmetrical rails. */
      .callout { width: var(--callout-w); }
      .callout.left {
        left: calc(31.5% - var(--callout-w)) !important;
        right: auto !important;
      }
      .callout.right {
        left: auto !important;
        right: calc(31.5% - var(--callout-w)) !important;
      }

      /* Move the invisible click targets with the raised figure. */
      .front-hotspots { transform: translateY(-18px); }

      /* Environment cards remain fully inside the body panel. */
      .environment-title {
        left: 0;
        bottom: 100px;
      }
      .environment-cards {
        left: 0;
        bottom: 19px;
        grid-template-columns: 142px 142px;
        gap: 8px;
      }
      .environment-card {
        min-height: 70px;
        height: 70px;
      }
      .body-tip {
        bottom: 0;
        min-width: 274px;
      }

      /* Right panel rows and safety box use the same inner width. */
      .recommendations { padding: 15px 12px 10px; }
      .recommendation-grid,
      .recommendation-card,
      .safety-box,
      .medical-guidance { width: 100%; }

      /* Footer now aligns with the entire three-column workspace. */
      .value-row {
        margin: 8px 0 0;
        width: 100%;
        min-height: 42px;
        padding: 7px 10px 0;
      }
      .value-item {
        flex: 1 1 0;
        justify-content: center;
      }
    }

    @media (min-width: 1061px) and (max-width: 1280px) {
      .app-shell {
        --nav-col: 178px;
        --rec-col: 304px;
        width: min(1240px, calc(100% - 24px));
      }
      .health-card-grid { grid-template-columns: repeat(5, minmax(164px, 1fr)) !important; overflow-x: auto; }
      .body-visual { width: clamp(248px, 22vw, 280px); }
      .body-map-stage { --callout-w: 132px; }
      .callout.left { left: calc(31% - var(--callout-w)) !important; }
      .callout.right { right: calc(31% - var(--callout-w)) !important; }
      .environment-cards { grid-template-columns: 132px 132px; }
    }

  

    /* ======================================================================
       COMPACT V8 — stable grid, contained body stage, no automatic page jump
       ====================================================================== */
    @media (min-width: 1061px) {
      .app-shell {
        --nav-col: 182px;
        --rec-col: 320px;
        --layout-gap: 14px;
        width: min(1600px, calc(100% - 32px));
        padding-top: 18px;
      }

      /* Every major section now shares the same outside edges. */
      .search-info,
      .health-card-section,
      .workspace,
      .value-row {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
      }
      .search-info { margin-top: 10px; margin-bottom: 10px; }
      .health-card-section { margin-top: 0; margin-bottom: 10px; }

      .workspace {
        grid-template-columns: var(--nav-col) minmax(0, 1fr) var(--rec-col);
        column-gap: var(--layout-gap);
        align-items: stretch;
      }

      /* Extra panel height keeps every compact component inside its own card. */
      .catalogue-nav,
      .body-explorer,
      .recommendations {
        height: 690px;
        min-height: 690px;
      }

      .body-explorer {
        padding: 14px 15px 10px;
        overflow: hidden;
      }

      /* The old min-height forced the stage beyond the panel boundary. */
      .body-map-stage {
        inset: 54px 12px 12px;
        min-height: 0 !important;
        height: auto !important;
        --callout-w: 142px;
      }

      .body-visual {
        top: -24px;
        width: clamp(260px, 19vw, 298px);
        height: 590px;
      }

      /* Keep click targets attached to the same raised body coordinate system. */
      .front-hotspots { transform: translateY(-18px); }

      /* Fully visible environment controls and tip. */
      .environment-title {
        left: 0;
        bottom: 108px;
      }
      .environment-cards {
        left: 0;
        bottom: 28px;
        grid-template-columns: 142px 142px;
        gap: 8px;
      }
      .environment-card {
        height: 68px;
        min-height: 68px;
      }
      .body-tip {
        bottom: 8px;
        min-width: 274px;
      }

      /* Long medical guidance scrolls inside the right panel, not the page grid. */
      .recommendations {
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: rgba(54,95,80,.18) transparent;
      }
      .recommendations::-webkit-scrollbar { width: 5px; }
      .recommendations::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(54,95,80,.18);
      }

      .value-row {
        margin-top: 10px;
        min-height: 42px;
      }
    }

    @media (min-width: 1061px) and (max-width: 1280px) {
      .catalogue-nav,
      .body-explorer,
      .recommendations {
        height: 680px;
        min-height: 680px;
      }
      .body-map-stage { --callout-w: 132px; }
      .environment-cards { grid-template-columns: 132px 132px; }
    }

  

    /* ======================================================================
       COMPACT V9 — anatomical calibration + intentional product navigation
       ====================================================================== */
    @media (min-width: 1061px) {
      /* One calibrated coordinate system for labels, connectors and hotspots. */
      .front-hotspots { transform: none !important; }

      .callout {
        border-radius: 9px;
        border: 1px solid transparent;
      }
      .callout:hover,
      .callout.active {
        background: rgba(255,253,250,.82);
        border-color: rgba(196,154,84,.16);
        box-shadow: 0 6px 16px rgba(53,76,64,.055);
      }

      .connector-layer polyline {
        stroke-width: 1.15;
        opacity: .78;
      }

      .body-explorer[data-zone="hair"] .z-hair,
      .body-explorer[data-zone="face"] .z-face,
      .body-explorer[data-zone="oral"] .z-oral,
      .body-explorer[data-zone="core"] .z-core,
      .body-explorer[data-zone="metabolism"] .z-metabolism,
      .body-explorer[data-zone="active"] .z-active,
      .body-explorer[data-zone="skin"] .z-skin {
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(1.05);
        border-color: rgba(255,255,255,.98);
        background: rgba(196,154,84,.22);
        box-shadow: 0 0 0 7px rgba(196,154,84,.13), 0 0 24px rgba(196,154,84,.30);
      }
    }

    .view-related-products {
      width: 100%;
      margin-top: 9px;
      border: 1px solid rgba(54,95,80,.16);
      border-radius: 10px;
      padding: 9px 11px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: linear-gradient(180deg, #477766, #315f50);
      color: #fff;
      font-size: .61rem;
      font-weight: 800;
      box-shadow: 0 7px 16px rgba(49,95,80,.15);
    }
    .view-related-products:hover { transform: translateY(-1px); }
    .view-related-products span { font-size: .85rem; }

    .drawer-controls { display: flex; align-items: center; gap: 8px; }
    .drawer-back {
      border: 1px solid var(--line) !important;
      border-radius: 999px;
      background: var(--sage-50) !important;
      color: var(--sage-700) !important;
      padding: 7px 11px;
      font-size: .64rem !important;
      font-weight: 750;
    }
    .drawer-close {
      display: grid;
      place-items: center;
      width: 31px;
      height: 31px;
      border-radius: 50%;
    }

  

    /* ======================================================================
       COMPACT V10 — body-image locked anatomical coordinate system
       Hotspots live inside the exact image frame; labels and connectors are
       calculated from their real rendered positions on every resize.
       ====================================================================== */
    @media (min-width: 1061px) {
      .body-visual {
        top: -24px;
        height: 590px;
        width: 242px;
        aspect-ratio: 676 / 1645;
      }
      .figure-shot {
        width: 100%;
        height: 100%;
        object-fit: fill;
        object-position: center top;
      }
      .body-visual .front-hotspots {
        position: absolute;
        inset: 0;
        z-index: 10;
        transform: none !important;
        pointer-events: none;
      }
      .body-visual .front-hotspots .zone-hotspot { pointer-events: auto; }

      /* Source-image coordinates, measured against the 676 × 1645 asset. */
      .body-visual .z-hair       { left: 50.00%; top: 5.90%; }
      .body-visual .z-face       { left: 50.00%; top: 9.75%; }
      .body-visual .z-oral       { left: 50.00%; top: 12.35%; }
      .body-visual .z-core       { left: 50.00%; top: 28.15%; }
      .body-visual .z-metabolism { left: 50.00%; top: 40.75%; }
      .body-visual .z-active     { left: 77.35%; top: 30.75%; }
      .body-visual .z-skin       { left: 66.55%; top: 55.65%; }

      .callout { top: 0; }
      .callout::before,
      .callout::after { display: none !important; }

      .connector-layer {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: visible;
        pointer-events: none;
        z-index: 6;
      }
      .connector-layer polyline {
        fill: none;
        stroke: rgba(54,95,80,.62);
        stroke-width: 1.15;
        vector-effect: non-scaling-stroke;
      }
      .connector-layer circle.zone-end {
        fill: #365f50;
        stroke: rgba(255,255,255,.96);
        stroke-width: 2;
        vector-effect: non-scaling-stroke;
        filter: drop-shadow(0 0 4px rgba(54,95,80,.22));
      }
      .connector-layer circle.label-end {
        fill: rgba(54,95,80,.35);
      }
    }

    @media (min-width: 1061px) and (max-width: 1280px) {
      .body-visual { height: 560px; width: 230px; }
    }

  

    /* V10 responsive image-coordinate lock. */
    .body-visual .z-hair       { left: 50.00%; top: 5.90%; }
    .body-visual .z-face       { left: 50.00%; top: 9.75%; }
    .body-visual .z-oral       { left: 50.00%; top: 12.35%; }
    .body-visual .z-core       { left: 50.00%; top: 28.15%; }
    .body-visual .z-metabolism { left: 50.00%; top: 40.75%; }
    .body-visual .z-active     { left: 77.35%; top: 30.75%; }
    .body-visual .z-skin       { left: 66.55%; top: 55.65%; }

    @media (max-width: 1060px) and (min-width: 521px) {
      .body-visual { width: 272px; height: 662px; }
    }
    @media (max-width: 520px) {
      .body-visual { width: 238px; height: 579px; }
    }


    /* ======================================================================
       V11 PREMIUM — final UX, trust, accessibility and responsive polish
       ====================================================================== */
    :root {
      --focus: #2c7866;
      --medical: #a65d56;
      --medical-soft: #faeeeb;
      --review: #b78231;
      --review-soft: #fbf2df;
      --wellness: #4d8872;
      --wellness-soft: #edf5f0;
    }

    :where(button, input, select, [tabindex]):focus-visible {
      outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent);
      outline-offset: 2px;
    }

    .map-tools { display: flex; align-items: center; gap: 7px; }
    .map-reset,
    .catalogue-toggle {
      min-height: 31px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255,255,255,.78);
      color: var(--sage-700);
      padding: 6px 10px;
      font-size: .56rem;
      font-weight: 800;
      transition: .18s ease;
    }
    .map-reset:hover,
    .catalogue-toggle:hover { background: var(--sage-100); transform: translateY(-1px); }
    .catalogue-toggle { display: none; }

    .selection-context {
      margin: 9px 0 0;
      padding: 7px 9px;
      border: 1px solid rgba(54,95,80,.10);
      border-radius: 10px;
      background: rgba(240,244,239,.70);
      color: #4b675a;
      font-size: .58rem;
      line-height: 1.35;
    }
    .selection-context strong { color: var(--sage-800); }

    /* Make selected body state immediately understandable. */
    @media (min-width: 1061px) {
      .body-explorer[data-zone] .callout { opacity: .54; filter: saturate(.74); }
      .body-explorer[data-zone] .callout.active {
        opacity: 1;
        filter: none;
        color: #725927;
        background: rgba(255,252,244,.92);
        border-color: rgba(196,154,84,.24);
        box-shadow: 0 8px 22px rgba(76,65,41,.09);
      }
      .connector-group { opacity: .30; transition: opacity .2s ease; }
      .connector-group.active { opacity: 1; }
      .connector-group.active polyline {
        stroke: var(--gold);
        stroke-width: 1.8;
      }
      .connector-group.active circle.label-end,
      .connector-group.active circle.zone-end { fill: var(--gold); }
      .body-visual .zone-hotspot { opacity: .08; }
      .body-explorer[data-zone="hair"] .z-hair,
      .body-explorer[data-zone="face"] .z-face,
      .body-explorer[data-zone="oral"] .z-oral,
      .body-explorer[data-zone="core"] .z-core,
      .body-explorer[data-zone="metabolism"] .z-metabolism,
      .body-explorer[data-zone="active"] .z-active,
      .body-explorer[data-zone="skin"] .z-skin { opacity: 1 !important; }
    }

    /* Health-card safety classification. */
    .health-card { position: relative; padding-bottom: 22px; }
    .health-risk-badge {
      position: absolute;
      left: 9px;
      bottom: 6px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      max-width: calc(100% - 18px);
      border-radius: 999px;
      padding: 3px 7px;
      font-size: .45rem;
      font-weight: 850;
      letter-spacing: .02em;
      white-space: nowrap;
    }
    .health-card[data-risk="wellness"] .health-risk-badge {
      color: var(--wellness);
      background: var(--wellness-soft);
    }
    .health-card[data-risk="review"] .health-risk-badge {
      color: var(--review);
      background: var(--review-soft);
    }
    .health-card[data-risk="medical"] .health-risk-badge {
      color: var(--medical);
      background: var(--medical-soft);
    }

    .full-guidance-button {
      width: 100%;
      margin-top: 7px;
      border: 1px solid rgba(150,93,86,.14);
      border-radius: 9px;
      background: rgba(255,255,255,.68);
      color: #80554f;
      padding: 8px 10px;
      font-size: .58rem;
      font-weight: 800;
    }

    /* Product result context and filters. */
    .drawer-heading-wrap { min-width: 0; }
    .drawer-breadcrumb {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-bottom: 6px;
      color: var(--sage-700);
      font-size: .58rem;
      font-weight: 750;
    }
    .drawer-breadcrumb span + span::before { content: '›'; margin-right: 5px; color: #8b9891; }
    .product-toolbar {
      display: grid;
      grid-template-columns: minmax(0,1fr) minmax(160px,220px) minmax(145px,190px);
      gap: 10px;
      align-items: center;
      margin: -4px 0 16px;
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 13px;
      background: var(--paper-soft);
    }
    .product-result-meta strong { display: block; font-size: .7rem; }
    .product-result-meta span { display: block; margin-top: 3px; color: var(--muted); font-size: .6rem; }
    .product-toolbar label { display: grid; gap: 4px; color: #53675d; font-size: .54rem; font-weight: 800; }
    .product-toolbar input,
    .product-toolbar select {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 9px;
      background: white;
      color: var(--ink);
      padding: 8px 9px;
      font-size: .66rem;
      outline: 0;
    }
    .product-reason {
      margin-top: 9px;
      padding: 7px 8px;
      border-radius: 9px;
      background: var(--sage-50);
      color: #587064;
      font-size: .57rem;
      line-height: 1.35;
    }
    .product-reason strong { color: var(--sage-700); }
    .product-card { display: flex; flex-direction: column; }
    .product-content { display: flex; flex: 1; flex-direction: column; }
    .product-actions { margin-top: auto; }
    .empty-results {
      grid-column: 1 / -1;
      padding: 28px;
      border: 1px dashed var(--line-strong);
      border-radius: 15px;
      text-align: center;
      color: var(--muted);
      background: #f8f8f3;
    }

    /* Full guidance dialog. */
    #guidanceDialog { width: min(760px, calc(100% - 28px)); }
    .guidance-dialog-grid {
      display: grid;
      grid-template-columns: 1.15fr .85fr;
      gap: 16px;
      margin-top: 17px;
    }
    .guidance-dialog-card {
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 14px;
      background: #faf9f5;
    }
    .guidance-dialog-card h3 { margin: 0 0 9px; font: 600 1rem Georgia, serif; }
    .guidance-dialog-card p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.6; }
    .guidance-bullets { display: grid; gap: 7px; margin-top: 10px; }
    .guidance-bullets div {
      padding: 8px 9px;
      border-radius: 9px;
      background: white;
      color: #596c63;
      font-size: .65rem;
    }
    .risk-callout {
      margin-top: 12px;
      padding: 11px;
      border-radius: 11px;
      background: var(--medical-soft);
      color: #7e5751;
      font-size: .66rem;
      line-height: 1.5;
    }

    /* Mobile: put the body experience first and make catalogue a drawer. */
    @media (max-width: 780px) {
      .catalogue-toggle { display: inline-flex; }
      .map-tools { justify-content: flex-end; }
      .workspace { display: flex; flex-direction: column; }
      .body-explorer { order: 1; }
      .recommendations { order: 2; }
      .catalogue-nav {
        position: fixed;
        z-index: 120;
        inset: 10px auto 10px 10px;
        width: min(320px, calc(100vw - 30px));
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        transform: translateX(calc(-100% - 24px));
        transition: transform .24s ease;
        box-shadow: 0 25px 70px rgba(31,49,41,.26);
      }
      .catalogue-nav.open { transform: translateX(0); }
      .catalogue-backdrop {
        position: fixed;
        z-index: 119;
        inset: 0;
        background: rgba(28,43,36,.32);
        backdrop-filter: blur(3px);
      }
      .health-card { min-height: 86px; }
      .product-toolbar { grid-template-columns: 1fr; }
      .guidance-dialog-grid { grid-template-columns: 1fr; }
      .zone-hotspot { width: 44px; height: 44px; background: transparent; border-color: transparent; box-shadow: none; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
    }

  

    /* V12 — official APC registration / purchase handoff */
    .purchase-trigger {
      color: var(--sage-700) !important;
      background: #f7faf7 !important;
      border-color: rgba(54,95,80,.18) !important;
    }
    .purchase-trigger:hover { background: var(--sage-100) !important; }
    .product-actions.has-two { grid-template-columns: 1fr 1fr; display: grid; }
    .modal-purchase-row { display: flex; gap: 9px; margin-top: 15px; }
    .modal-purchase-row button {
      flex: 1;
      border: 1px solid var(--line);
      border-radius: 11px;
      padding: 10px 12px;
      font-size: .7rem;
      font-weight: 800;
    }
    .modal-purchase-row .buy-primary { color: #fff; background: var(--sage-700); border-color: var(--sage-700); }

    #purchaseDialog { width: min(820px, calc(100% - 28px)); }
    .purchase-intro {
      margin: 14px 0 0;
      padding: 13px 15px;
      border: 1px solid rgba(54,95,80,.12);
      border-radius: 14px;
      background: linear-gradient(145deg, #f3f7f3, #fbfaf6);
      color: #52675e;
      font-size: .74rem;
      line-height: 1.55;
    }
    .purchase-product-name { color: var(--sage-800); font-weight: 800; }
    .purchase-grid {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 14px;
      margin-top: 15px;
    }
    .purchase-card {
      border: 1px solid var(--line);
      border-radius: 15px;
      background: #fffdfa;
      padding: 15px;
      box-shadow: 0 8px 22px rgba(52,79,65,.045);
    }
    .purchase-card h3 { margin: 0; font: 600 1rem Georgia, serif; color: var(--sage-800); }
    .purchase-card > p { margin: 7px 0 0; color: var(--muted); font-size: .69rem; line-height: 1.5; }
    .sponsor-box {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 8px;
      align-items: center;
      margin-top: 13px;
      padding: 12px;
      border-radius: 12px;
      background: #eef4ef;
      border: 1px solid rgba(54,95,80,.12);
    }
    .sponsor-box small { display: block; color: var(--muted); font-size: .6rem; text-transform: uppercase; letter-spacing: .07em; }
    .sponsor-box strong { display: block; margin-top: 3px; color: var(--sage-800); font-size: 1.14rem; letter-spacing: .06em; }
    .copy-abo {
      border: 1px solid rgba(54,95,80,.18);
      border-radius: 10px;
      background: #fff;
      color: var(--sage-700);
      padding: 9px 11px;
      font-size: .66rem;
      font-weight: 800;
    }
    .registration-steps { display: grid; gap: 8px; margin-top: 13px; }
    .registration-step {
      display: grid;
      grid-template-columns: 25px 1fr;
      gap: 9px;
      align-items: start;
      color: #52645c;
      font-size: .67rem;
      line-height: 1.45;
    }
    .registration-step b {
      display: grid;
      place-items: center;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--sage-100);
      color: var(--sage-700);
      font-size: .62rem;
    }
    .payment-stack { display: grid; gap: 9px; margin-top: 13px; }
    .payment-row {
      padding: 11px 12px;
      border-radius: 11px;
      background: #f8f7f2;
      border: 1px solid rgba(53,84,70,.08);
    }
    .payment-row strong { display: block; color: var(--ink); font-size: .69rem; }
    .payment-row span { display: block; margin-top: 4px; color: var(--muted); font-size: .64rem; line-height: 1.45; }
    .benefit-list { display: grid; gap: 8px; margin-top: 13px; }
    .benefit-item {
      position: relative;
      padding-left: 22px;
      color: #52645c;
      font-size: .66rem;
      line-height: 1.45;
    }
    .benefit-item::before {
      content: '✓';
      position: absolute;
      left: 0;
      top: 0;
      color: var(--sage-700);
      font-weight: 900;
    }
    .purchase-warning {
      margin-top: 14px;
      padding: 12px 13px;
      border-radius: 12px;
      background: #fbf0e8;
      border: 1px solid rgba(160,102,69,.12);
      color: #755e51;
      font-size: .65rem;
      line-height: 1.5;
    }
    .purchase-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 15px;
    }
    .purchase-actions a,
    .purchase-actions button {
      display: grid;
      place-items: center;
      min-height: 44px;
      border-radius: 11px;
      font-size: .71rem;
      font-weight: 850;
      text-decoration: none;
    }
    .purchase-actions .official-register { color: #fff; background: var(--sage-700); border: 1px solid var(--sage-700); }
    .purchase-actions .official-shop { color: var(--sage-700); background: #f5f8f5; border: 1px solid rgba(54,95,80,.18); }
    .official-domain {
      margin-top: 9px;
      text-align: center;
      color: var(--muted);
      font-size: .59rem;
    }
    @media (max-width: 680px) {
      .purchase-grid { grid-template-columns: 1fr; }
      .purchase-actions { grid-template-columns: 1fr; }
      .product-actions.has-two { grid-template-columns: 1fr; }
    }


    /* V13 — independent ABO disclosure */
    .independent-disclosure {
      margin-top: 13px;
      padding: 12px 15px;
      border: 1px solid rgba(54,95,80,.13);
      border-radius: 14px;
      background: linear-gradient(145deg, rgba(246,249,246,.96), rgba(255,252,246,.96));
      color: #52665d;
      font-size: .63rem;
      line-height: 1.55;
      box-shadow: 0 6px 18px rgba(52,79,65,.04);
    }
    .independent-disclosure strong { color: var(--sage-800); }
    .independent-disclosure a { color: var(--sage-700); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
    .independent-disclosure .abo-id {
      display: inline-flex;
      margin-left: 4px;
      padding: 2px 7px;
      border-radius: 999px;
      background: var(--sage-100);
      color: var(--sage-800);
      font-weight: 900;
      letter-spacing: .035em;
    }
    /* V14: the independent disclosure is the clean final page section. */
    .independent-disclosure {
      margin-top: 14px;
      margin-bottom: 0;
      padding: 14px 18px;
      border-top: 1px solid var(--line);
      border-radius: 14px;
      background: rgba(255,253,250,.58);
    }
    .purchase-disclosure {
      margin-top: 14px;
      padding: 12px 13px;
      border-radius: 12px;
      background: #f3f6f2;
      border: 1px solid rgba(54,95,80,.12);
      color: #52645c;
      font-size: .65rem;
      line-height: 1.52;
    }
    .purchase-disclosure strong { color: var(--sage-800); }
    @media (max-width: 680px) {
      .independent-disclosure { font-size: .64rem; }
    }

  

    /* V15 — interactive wellness bundle experience */
    .bundle-suggestion {
      margin-top: 12px;
      padding: 13px;
      border: 1px solid rgba(54,95,80,.14);
      border-radius: 15px;
      background:
        radial-gradient(circle at 92% 8%, rgba(196,154,84,.14), transparent 7rem),
        linear-gradient(145deg, rgba(240,245,240,.96), rgba(255,253,250,.92));
      box-shadow: 0 8px 22px rgba(52,79,65,.055);
    }
    .bundle-suggestion[hidden] { display:none !important; }
    .bundle-suggestion.restricted {
      border-color: rgba(150,93,86,.18);
      background: linear-gradient(145deg, #fbf3ef, #fffdfa);
    }
    .bundle-suggestion-top {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      color:var(--sage-700);
      font-size:.59rem;
      font-weight:850;
      text-transform:uppercase;
      letter-spacing:.07em;
    }
    .bundle-pill {
      border-radius:999px;
      padding:4px 7px;
      background:rgba(255,255,255,.75);
      border:1px solid rgba(54,95,80,.10);
      color:#65766e;
      letter-spacing:0;
      text-transform:none;
      font-size:.56rem;
    }
    .bundle-suggestion h3 {
      margin:8px 0 4px;
      font:600 .95rem/1.15 Georgia,serif;
      color:var(--sage-800);
    }
    .bundle-suggestion > p {
      margin:0;
      color:var(--muted);
      font-size:.61rem;
      line-height:1.45;
    }
    .bundle-mini-items {
      display:flex;
      flex-wrap:wrap;
      gap:5px;
      margin-top:9px;
    }
    .bundle-mini-item {
      display:inline-flex;
      align-items:center;
      gap:5px;
      min-width:0;
      padding:5px 7px;
      border-radius:999px;
      background:rgba(255,255,255,.82);
      border:1px solid rgba(54,95,80,.09);
      color:#486258;
      font-size:.56rem;
      font-weight:700;
    }
    .bundle-mini-item b {
      display:grid;
      place-items:center;
      width:18px;
      height:18px;
      border-radius:50%;
      background:var(--sage-50);
      color:var(--sage-700);
      font-size:.51rem;
    }
    .bundle-suggestion-actions {
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:7px;
      margin-top:10px;
    }
    .bundle-suggestion-actions button {
      border-radius:10px;
      padding:8px 8px;
      font-size:.59rem;
      font-weight:800;
    }
    .bundle-view-button {
      color:#fff;
      background:var(--sage-700);
      border:1px solid var(--sage-700);
    }
    .bundle-products-button {
      color:var(--sage-700);
      background:rgba(255,255,255,.72);
      border:1px solid rgba(54,95,80,.16);
    }
    .bundle-note {
      margin-top:8px;
      color:#77867e;
      font-size:.53rem;
      line-height:1.4;
    }

    #bundleDialog {
      width:min(940px, calc(100% - 24px));
      max-height:min(88vh, 860px);
      overflow:auto;
    }
    .bundle-dialog-header-copy { max-width:680px; }
    .bundle-dialog-intro {
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      gap:15px;
      align-items:start;
      margin-top:15px;
      padding:14px;
      border-radius:15px;
      background:linear-gradient(145deg, var(--sage-50), #fffdfa);
      border:1px solid rgba(54,95,80,.10);
    }
    .bundle-dialog-intro strong {
      display:block;
      color:var(--sage-800);
      font-size:.75rem;
    }
    .bundle-dialog-intro p {
      margin:5px 0 0;
      color:var(--muted);
      font-size:.68rem;
      line-height:1.55;
    }
    .bundle-status-badge {
      white-space:nowrap;
      border-radius:999px;
      padding:7px 10px;
      color:var(--sage-700);
      background:#fff;
      border:1px solid rgba(54,95,80,.13);
      font-size:.59rem;
      font-weight:800;
    }
    .bundle-picker {
      display:flex;
      gap:7px;
      overflow:auto;
      padding:3px 1px 8px;
      margin-top:15px;
      scrollbar-width:thin;
    }
    .bundle-picker button {
      flex:0 0 auto;
      border:1px solid rgba(54,95,80,.13);
      background:#fff;
      color:#5f7168;
      border-radius:999px;
      padding:7px 11px;
      font-size:.61rem;
      font-weight:750;
    }
    .bundle-picker button.active {
      color:#fff;
      background:var(--sage-700);
      border-color:var(--sage-700);
    }
    .bundle-dialog-grid {
      display:grid;
      grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);
      gap:14px;
      margin-top:4px;
    }
    .bundle-dialog-card {
      border:1px solid var(--line);
      border-radius:16px;
      background:rgba(255,253,250,.82);
      padding:14px;
    }
    .bundle-dialog-card h3 {
      margin:0;
      font:600 .96rem Georgia,serif;
      color:var(--sage-800);
    }
    .bundle-dialog-card > p {
      margin:5px 0 0;
      color:var(--muted);
      font-size:.64rem;
      line-height:1.5;
    }
    .bundle-product-list {
      display:grid;
      gap:8px;
      margin-top:12px;
    }
    .bundle-product-row {
      display:grid;
      grid-template-columns:auto 36px minmax(0,1fr) auto;
      gap:9px;
      align-items:center;
      padding:9px;
      border:1px solid rgba(54,95,80,.10);
      border-radius:12px;
      background:#fff;
      cursor:pointer;
      transition:.18s ease;
    }
    .bundle-product-row:hover { border-color:rgba(54,95,80,.22); transform:translateY(-1px); }
    .bundle-product-row input { width:17px; height:17px; accent-color:var(--sage-700); }
    .bundle-product-mark {
      display:grid;
      place-items:center;
      width:34px;
      height:34px;
      border-radius:10px;
      background:var(--bundle-soft,#e6eee8);
      color:var(--bundle-color,#365f50);
      font:800 .62rem Georgia,serif;
    }
    .bundle-product-copy strong { display:block; font-size:.67rem; color:var(--ink); }
    .bundle-product-copy span { display:block; margin-top:3px; color:var(--muted); font-size:.56rem; line-height:1.35; }
    .bundle-product-tag {
      border-radius:999px;
      padding:4px 7px;
      background:var(--sage-50);
      color:#61756a;
      font-size:.52rem;
      font-weight:750;
    }
    .bundle-product-tag.optional { background:#fbf1de; color:#9a7434; }
    .bundle-routine {
      display:grid;
      gap:9px;
      margin-top:12px;
    }
    .bundle-routine-step {
      display:grid;
      grid-template-columns:28px 1fr;
      gap:9px;
      align-items:start;
    }
    .bundle-routine-step b {
      display:grid;
      place-items:center;
      width:27px;
      height:27px;
      border-radius:50%;
      background:var(--gold-soft);
      color:#9a7434;
      font-size:.58rem;
    }
    .bundle-routine-step strong { display:block; font-size:.65rem; color:var(--ink); }
    .bundle-routine-step span { display:block; margin-top:3px; color:var(--muted); font-size:.57rem; line-height:1.45; }
    .bundle-summary-box {
      margin-top:13px;
      padding:12px;
      border-radius:13px;
      background:linear-gradient(145deg,#eff4ef,#fffdfa);
      border:1px solid rgba(54,95,80,.09);
    }
    .bundle-summary-box strong { display:block; color:var(--sage-800); font-size:.68rem; }
    .bundle-summary-box p { margin:5px 0 0; color:var(--muted); font-size:.59rem; line-height:1.5; }
    .bundle-pricing-grid {
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:7px;
      margin-top:10px;
    }
    .bundle-price-item {
      padding:9px;
      border-radius:11px;
      background:#fff;
      border:1px solid rgba(54,95,80,.09);
    }
    .bundle-price-item small { display:block; color:var(--muted); font-size:.52rem; }
    .bundle-price-item strong { margin-top:4px; font-size:.61rem; }
    .bundle-dialog-actions {
      display:grid;
      grid-template-columns:1fr 1fr 1fr;
      gap:8px;
      margin-top:15px;
    }
    .bundle-dialog-actions button {
      border-radius:11px;
      padding:10px 9px;
      font-size:.62rem;
      font-weight:800;
    }
    .bundle-dialog-actions .primary { color:#fff; background:var(--sage-700); border:1px solid var(--sage-700); }
    .bundle-dialog-actions .secondary { color:var(--sage-700); background:#f6f8f5; border:1px solid rgba(54,95,80,.16); }
    .bundle-dialog-actions .ghost { color:#6b7a72; background:#fff; border:1px solid var(--line); }
    .bundle-safety {
      margin-top:12px;
      padding:11px;
      border-radius:12px;
      color:#6e625d;
      background:#faf1ed;
      border:1px solid rgba(150,93,86,.11);
      font-size:.57rem;
      line-height:1.5;
    }
    @media (max-width:780px) {
      .bundle-dialog-intro { grid-template-columns:1fr; }
      .bundle-dialog-grid { grid-template-columns:1fr; }
      .bundle-dialog-actions { grid-template-columns:1fr; }
      .bundle-suggestion-actions { grid-template-columns:1fr; }
    }

  

/* =========================================================
   MINIMAL WELLNESS V8 — NATIVE PLATFORM SHELL
   ========================================================= */
:root {
  --mw-dark:#17372c;
  --mw-dark-2:#214b3d;
  --mw-cream:#f8f4ec;
  --mw-paper:#fffdfa;
  --mw-gold:#c49a54;
  --mw-sage:#6f9180;
  --mw-line:rgba(33,75,61,.13);
  --mw-muted:#687970;
  --mw-shadow:0 18px 48px rgba(31,64,52,.10);
}
body { padding-top:72px; }
body.mw-lock { overflow:hidden; }
.mw-skip-link{position:fixed;left:-999px;top:8px;z-index:10000;background:var(--mw-dark);color:#fff;padding:10px 14px;border-radius:8px;text-decoration:none}
.mw-skip-link:focus{left:10px}
.mw-global-nav{
  position:fixed;z-index:900;inset:0 0 auto;height:72px;
  display:grid;grid-template-columns:minmax(210px,1fr) auto minmax(210px,1fr);align-items:center;
  gap:22px;padding:0 clamp(18px,4vw,58px);background:rgba(255,253,250,.94);
  border-bottom:1px solid var(--mw-line);box-shadow:0 7px 28px rgba(31,64,52,.06);
  backdrop-filter:blur(18px);
}
.mw-brand{display:flex;align-items:center;gap:11px;border:0;background:transparent;color:var(--mw-dark);padding:0;text-align:left}
.mw-brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid rgba(196,154,84,.38);background:linear-gradient(145deg,#fff,#f3ead9);color:var(--mw-gold);font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:9px;font-weight:850;letter-spacing:.05em}
.mw-brand-copy strong{display:block;font:600 18px/1 Georgia,serif}.mw-brand-copy small{display:block;margin-top:5px;color:var(--mw-muted);font-size:10px;letter-spacing:.06em;text-transform:uppercase}
.mw-nav-links{display:flex;gap:6px;padding:5px;border:1px solid var(--mw-line);border-radius:999px;background:rgba(247,244,237,.76)}
.mw-nav-link{border:0;border-radius:999px;background:transparent;color:#557067;padding:9px 15px;font-size:12px;font-weight:760;transition:.2s ease;white-space:nowrap}
.mw-nav-link:hover{background:rgba(111,145,128,.11);color:var(--mw-dark)}
.mw-nav-link.active{background:var(--mw-dark);color:#fff;box-shadow:0 8px 18px rgba(23,55,44,.18)}
.mw-account-area{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.mw-free-label{color:var(--mw-muted);font-size:10px;white-space:nowrap}
.mw-account-btn{border:1px solid var(--mw-line);border-radius:999px;background:#fff;color:var(--mw-dark);padding:9px 14px;font-size:11px;font-weight:760}
.mw-account-btn.primary{background:var(--mw-dark);border-color:var(--mw-dark);color:#fff}
.mw-menu-btn{display:none;border:0;background:transparent;color:var(--mw-dark);font-size:23px}
.mw-mobile-menu{display:none;position:fixed;z-index:950;inset:72px 12px auto;padding:12px;border:1px solid var(--mw-line);border-radius:18px;background:rgba(255,253,250,.98);box-shadow:var(--mw-shadow)}
.mw-mobile-menu.open{display:grid;gap:7px}.mw-mobile-menu button{border:0;border-radius:12px;background:#f4f5ef;color:var(--mw-dark);padding:13px;text-align:left;font-weight:750}
.mw-view{display:none;min-height:calc(100vh - 72px)}.mw-view.active{display:block}
#mw-view-explorer.active{display:block}.mw-view[hidden]{display:none!important}
#mw-view-explorer .app-shell{padding-top:16px}
.mw-page{width:min(1280px,calc(100% - 36px));margin:0 auto;padding:38px 0 54px}
.mw-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:26px;margin-bottom:24px}
.mw-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--mw-gold);font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.mw-kicker::before{content:'';width:22px;height:1px;background:currentColor}
.mw-page-head h1{margin:10px 0 9px;font:500 clamp(34px,5vw,56px)/1 Georgia,serif;color:var(--mw-dark);letter-spacing:-.03em}
.mw-page-head p{max-width:700px;margin:0;color:var(--mw-muted);font-size:14px;line-height:1.7}
.mw-head-card{flex:0 0 270px;border:1px solid var(--mw-line);border-radius:18px;background:linear-gradient(145deg,#fff,#f4f5ef);padding:17px;box-shadow:0 10px 30px rgba(31,64,52,.06)}
.mw-head-card strong{display:block;color:var(--mw-dark);font-size:13px}.mw-head-card small{display:block;margin-top:6px;color:var(--mw-muted);font-size:11px;line-height:1.55}
.mw-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px;border:1px solid var(--mw-line);border-radius:16px;background:rgba(255,253,250,.82);box-shadow:0 8px 24px rgba(31,64,52,.05);margin-bottom:20px}
.mw-search{display:flex;align-items:center;gap:9px;flex:1;min-width:210px}.mw-search input{width:100%;border:0;outline:0;background:transparent;color:var(--mw-dark);padding:8px 4px;font-size:13px}
.mw-filter-row{display:flex;gap:7px;flex-wrap:wrap}.mw-filter{border:1px solid var(--mw-line);border-radius:999px;background:#fff;color:var(--mw-muted);padding:7px 11px;font-size:10px;font-weight:800}.mw-filter.active{background:var(--mw-dark);border-color:var(--mw-dark);color:#fff}
.mw-general-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.72fr);gap:20px;align-items:start}
.mw-stack{display:grid;gap:14px}
.mw-post{position:relative;border:1px solid var(--mw-line);border-radius:20px;background:var(--mw-paper);padding:21px;box-shadow:0 10px 30px rgba(31,64,52,.055);overflow:hidden}
.mw-post::before{content:'';position:absolute;inset:0 auto 0 0;width:4px;background:var(--mw-sage)}.mw-post.offer::before{background:var(--mw-gold)}
.mw-post-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.mw-post-type{display:inline-flex;border-radius:999px;background:#eef4ef;color:var(--mw-dark-2);padding:5px 9px;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}.mw-post.offer .mw-post-type{background:#f8efdc;color:#916c2d}
.mw-post-date{color:var(--mw-muted);font-size:10px}.mw-post h2{margin:0 0 8px;font:600 22px/1.15 Georgia,serif;color:var(--mw-dark)}.mw-post p{margin:0;color:var(--mw-muted);font-size:13px;line-height:1.7;white-space:pre-line}
.mw-post-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.mw-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--mw-line);border-radius:12px;background:#fff;color:var(--mw-dark);padding:10px 14px;font-size:11px;font-weight:800;text-decoration:none}.mw-btn.primary{background:var(--mw-dark);border-color:var(--mw-dark);color:#fff}.mw-btn.gold{background:var(--mw-gold);border-color:var(--mw-gold);color:#fff}.mw-btn.danger{color:#945c55;background:#fff5f3;border-color:rgba(148,92,85,.18)}
.mw-side-card{border:1px solid var(--mw-line);border-radius:20px;background:linear-gradient(145deg,#fff,#f5f5ef);padding:20px;box-shadow:0 10px 30px rgba(31,64,52,.05)}.mw-side-card h3{margin:7px 0 9px;font:600 21px Georgia,serif;color:var(--mw-dark)}.mw-side-card p{margin:0;color:var(--mw-muted);font-size:12px;line-height:1.65}.mw-side-card .mw-btn{width:100%;margin-top:10px}.mw-social-group{margin-top:15px}.mw-social-group+.mw-social-group{padding-top:14px;border-top:1px solid var(--mw-line)}.mw-social-group-title{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:var(--mw-dark);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.mw-social-group-title::after{content:'';height:1px;flex:1;background:var(--mw-line)}.mw-social-group-note{margin:0 0 9px!important;font-size:11px!important;line-height:1.5!important}.mw-social-link-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:0}.mw-social-link-grid .mw-btn{margin-top:0;min-width:0;padding:10px 11px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease,filter .18s ease}.mw-social-btn-label{display:flex;align-items:center;gap:7px;min-width:0}.mw-social-btn-icon{width:18px;text-align:center;font-weight:900;flex:0 0 auto}.mw-social-status{flex:0 0 auto;border-radius:999px;padding:3px 7px;font-size:8px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.28)}.mw-social-link-grid .mw-btn.is-active{color:#fff;border-color:transparent;box-shadow:0 8px 20px rgba(31,64,52,.12)}.mw-social-link-grid .mw-btn.is-active:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(31,64,52,.18)}.mw-social-link-grid .mw-btn.is-coming{background:#eff1ed!important;color:#96a099!important;border:1px dashed #cbd1cc!important;box-shadow:none!important;opacity:.72;filter:grayscale(1);cursor:not-allowed}.mw-social-link-grid .mw-btn.is-coming .mw-social-status{background:rgba(255,255,255,.66);border-color:rgba(120,135,126,.18);color:#7b877f}.mw-social-link-grid .mw-btn.social-youtube.is-active{background:#ff0033}.mw-social-link-grid .mw-btn.social-instagram.is-active{background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045)}.mw-social-link-grid .mw-btn.social-tiktok.is-active{background:#111}.mw-social-link-grid .mw-btn.social-facebook.is-active{background:#1877f2}.mw-social-link-grid .mw-btn.social-rednote.is-active{background:#ff2442}.mw-social-link-grid .mw-btn.social-whatsapp.is-active{background:#1fa855}.mw-social-link-grid .mw-btn.social-discord.is-active{background:#5865f2}@media(max-width:420px){.mw-social-link-grid{grid-template-columns:1fr}}
.mw-side-label{color:var(--mw-gold);font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.mw-abo{margin:12px 0;padding:12px;border-radius:13px;background:#f3ead7;color:#7e632f;text-align:center;font:700 22px Georgia,serif;letter-spacing:.05em}
.mw-coming{border-style:dashed}.mw-coming-list{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.mw-coming-list span{padding:8px;border-radius:10px;background:#f1f4ef;color:#597067;font-size:10px;text-align:center}
.mw-empty{padding:38px 20px;border:1px dashed var(--mw-line);border-radius:18px;text-align:center;color:var(--mw-muted);background:rgba(255,255,255,.6)}
.mw-owner-compose{border:1px solid rgba(196,154,84,.27);border-radius:20px;background:#fffaf0;padding:18px;margin-bottom:16px}.mw-owner-compose h3{margin:0 0 13px;font:600 20px Georgia,serif;color:var(--mw-dark)}
.mw-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mw-field{display:grid;gap:6px}.mw-field.full{grid-column:1/-1}.mw-field label{font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:var(--mw-muted)}.mw-field input,.mw-field select,.mw-field textarea{width:100%;border:1px solid var(--mw-line);border-radius:11px;background:#fff;padding:11px 12px;color:var(--mw-dark);font:inherit;font-size:12px;outline:0}.mw-field textarea{min-height:88px;resize:vertical}.mw-field input:focus,.mw-field select:focus,.mw-field textarea:focus{border-color:var(--mw-sage);box-shadow:0 0 0 3px rgba(111,145,128,.11)}
.mw-events-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mw-event{display:flex;flex-direction:column;border:1px solid var(--mw-line);border-radius:20px;background:var(--mw-paper);overflow:hidden;box-shadow:0 10px 30px rgba(31,64,52,.055)}.mw-event-top{padding:19px;background:linear-gradient(145deg,#eaf2ec,#f6eddd)}.mw-event-date{display:inline-flex;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.76);color:var(--mw-dark-2);font-size:9px;font-weight:850;text-transform:uppercase}.mw-event h2{margin:15px 0 7px;font:600 21px/1.18 Georgia,serif;color:var(--mw-dark)}.mw-event-location{color:var(--mw-muted);font-size:11px}.mw-event-body{display:flex;flex:1;flex-direction:column;padding:17px}.mw-event-body p{margin:0;color:var(--mw-muted);font-size:12px;line-height:1.65}.mw-event-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.mw-event-meta div{padding:9px;border-radius:10px;background:#f3f5ef}.mw-event-meta small{display:block;color:var(--mw-muted);font-size:9px}.mw-event-meta strong{display:block;margin-top:3px;color:var(--mw-dark);font-size:11px}.mw-event .mw-btn{margin-top:auto;width:100%}.mw-event.registered{border-color:rgba(111,145,128,.35);box-shadow:0 0 0 3px rgba(111,145,128,.08),0 10px 30px rgba(31,64,52,.055)}
.mw-my-events{margin-top:24px;padding:20px;border:1px solid var(--mw-line);border-radius:20px;background:#fff}.mw-my-events h2{margin:0 0 14px;font:600 24px Georgia,serif}.mw-registration-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--mw-line)}.mw-registration-row:first-of-type{border-top:0}.mw-registration-row strong{display:block;font-size:13px}.mw-registration-row small{display:block;margin-top:4px;color:var(--mw-muted);font-size:10px}
.mw-footer{margin-top:42px;padding:24px 0 4px;border-top:1px solid var(--mw-line);display:flex;justify-content:space-between;gap:20px;color:var(--mw-muted);font-size:10px}.mw-footer a{color:var(--mw-dark-2)}
.mw-dialog{width:min(560px,calc(100% - 28px));border:0;border-radius:22px;background:var(--mw-paper);padding:0;box-shadow:0 35px 90px rgba(23,55,44,.24)}.mw-dialog::backdrop{background:rgba(14,32,26,.42);backdrop-filter:blur(5px)}.mw-dialog-inner{padding:24px}.mw-dialog-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:18px}.mw-dialog-head h2{margin:5px 0 0;font:600 29px Georgia,serif;color:var(--mw-dark)}.mw-close{border:0;background:transparent;color:var(--mw-muted);font-size:25px}.mw-dialog-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:13px;background:#eef1eb;margin-bottom:16px}.mw-dialog-tabs button{border:0;border-radius:10px;background:transparent;padding:9px;color:var(--mw-muted);font-size:11px;font-weight:800}.mw-dialog-tabs button.active{background:#fff;color:var(--mw-dark);box-shadow:0 4px 12px rgba(31,64,52,.08)}.mw-dialog-note{margin-top:13px;color:var(--mw-muted);font-size:10px;line-height:1.5}.mw-otp-panel{margin-top:12px;padding:11px 12px;border:1px solid rgba(111,145,128,.20);border-radius:12px;background:#f1f5f0;color:var(--mw-dark-2);font-size:10px;line-height:1.55}.mw-otp-panel strong{display:block;color:var(--mw-dark);font-size:11px}.mw-otp-actions{display:flex;gap:8px;align-items:center;margin-top:10px}.mw-otp-actions .mw-btn{flex:1}.mw-otp-resend{border:0;background:transparent;color:var(--mw-sage);font-size:10px;font-weight:800;padding:8px}.mw-otp-resend:disabled{color:var(--mw-muted);cursor:not-allowed}.mw-error{display:none;margin:10px 0;color:#955d56;font-size:11px}.mw-error.show{display:block}
.mw-bottom-nav{display:none;position:fixed;z-index:890;left:10px;right:10px;bottom:10px;padding:6px;border:1px solid var(--mw-line);border-radius:17px;background:rgba(255,253,250,.95);box-shadow:0 18px 50px rgba(23,55,44,.18);backdrop-filter:blur(16px)}.mw-bottom-nav button{flex:1;border:0;border-radius:12px;background:transparent;color:var(--mw-muted);padding:8px 2px;font-size:9px;font-weight:800}.mw-bottom-nav button span{display:block;font-size:16px;margin-bottom:3px}.mw-bottom-nav button.active{background:var(--mw-dark);color:#fff}
@media(max-width:980px){
  body{padding-top:64px}.mw-global-nav{height:64px;grid-template-columns:1fr auto;padding-inline:18px}.mw-nav-links,.mw-free-label{display:none}.mw-menu-btn{display:block}.mw-mobile-menu{top:64px}.mw-page{width:min(100% - 24px,760px);padding-top:25px}.mw-page-head{display:block}.mw-head-card{margin-top:14px;max-width:none}.mw-general-grid{grid-template-columns:1fr}.mw-events-grid{grid-template-columns:1fr 1fr}.mw-bottom-nav{display:flex}body{padding-bottom:78px}.mw-footer{padding-bottom:18px}
}
@media(max-width:640px){
  .mw-brand-copy small{display:none}.mw-account-area .mw-account-btn:not(.primary){display:none}.mw-page{width:min(100% - 18px,620px)}.mw-page-head h1{font-size:38px}.mw-toolbar{align-items:stretch;flex-direction:column}.mw-events-grid{grid-template-columns:1fr}.mw-form-grid{grid-template-columns:1fr}.mw-field.full{grid-column:auto}.mw-coming-list{grid-template-columns:1fr}.mw-footer{display:block;line-height:1.7}.mw-registration-row{align-items:flex-start;flex-direction:column}.mw-registration-row .mw-btn{width:100%}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}



/* V11 — hosted community events with participant-paid costs */
.mw-event-principle{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;margin:0 0 18px;padding:15px 17px;border:1px solid rgba(196,154,84,.22);border-radius:18px;background:linear-gradient(145deg,#fffaf0,#f5f6ef);box-shadow:0 8px 24px rgba(31,64,52,.045)}
.mw-event-principle-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f3ead7;color:#8c6a30;font-size:20px}.mw-event-principle strong{display:block;color:var(--mw-dark);font-size:13px}.mw-event-principle p{margin:4px 0 0;color:var(--mw-muted);font-size:11px;line-height:1.55}.mw-event-principle-badge{padding:7px 10px;border-radius:999px;background:var(--mw-dark);color:#fff;font-size:9px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}
.mw-events-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mw-event{position:relative}.mw-event-top{min-height:174px}.mw-event-top.outdoor{background:linear-gradient(145deg,#dfece2,#f4ecda)}.mw-event-top.indoor{background:linear-gradient(145deg,#eee5f1,#f7eadb)}.mw-event-top.online{background:linear-gradient(145deg,#e1eef4,#e7ede4)}
.mw-event-badges{display:flex;gap:6px;flex-wrap:wrap}.mw-event-type,.mw-self-paid{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.78);color:var(--mw-dark-2);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.mw-self-paid{color:#8a6428;background:#fff7e5}.mw-event-time-range{margin-top:7px;color:var(--mw-muted);font-size:10px;font-weight:700}.mw-event-cost{margin:11px 0 0;padding:10px 11px;border-radius:11px;background:#fff9ec;color:#725c35;font-size:10px;line-height:1.45;border:1px solid rgba(196,154,84,.16)}
.mw-event-programme-preview{display:grid;gap:6px;margin:12px 0}.mw-event-programme-preview span{display:flex;gap:8px;color:var(--mw-muted);font-size:10px;line-height:1.45}.mw-event-programme-preview b{color:var(--mw-dark-2);font-size:9px;white-space:nowrap}.mw-event-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}.mw-event-actions .mw-btn{margin:0}.mw-event-actions .full{grid-column:1/-1}.mw-event-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.mw-event-detail-tile{padding:11px;border-radius:12px;background:#f3f5ef}.mw-event-detail-tile small{display:block;color:var(--mw-muted);font-size:9px;text-transform:uppercase;letter-spacing:.06em}.mw-event-detail-tile strong{display:block;margin-top:5px;color:var(--mw-dark);font-size:11px;line-height:1.45}
.mw-event-detail-section{margin-top:17px}.mw-event-detail-section h3{margin:0 0 9px;font:600 17px Georgia,serif;color:var(--mw-dark)}.mw-event-detail-section p{margin:0;color:var(--mw-muted);font-size:12px;line-height:1.65}.mw-itinerary{display:grid;gap:8px}.mw-itinerary-row{display:grid;grid-template-columns:72px 1fr;gap:10px;padding:9px 10px;border-radius:11px;background:#f5f6f1}.mw-itinerary-row time{color:var(--mw-gold);font-size:10px;font-weight:850}.mw-itinerary-row span{color:var(--mw-dark-2);font-size:11px;line-height:1.45}.mw-host-only-note{padding:12px 13px;border-radius:12px;background:#fff7e7;color:#735d35;border:1px solid rgba(196,154,84,.18);font-size:10px;line-height:1.55}.mw-event-safe-note{padding:12px 13px;border-radius:12px;background:#f1f5f0;color:#50685d;border:1px solid rgba(111,145,128,.16);font-size:10px;line-height:1.55}
.mw-registration-summary{display:grid;gap:8px;margin:-4px 0 16px;padding:13px;border-radius:13px;background:#f3f5ef}.mw-registration-summary strong{font-size:12px;color:var(--mw-dark)}.mw-registration-summary span{font-size:10px;color:var(--mw-muted);line-height:1.5}.mw-registration-cost{padding:11px 12px;border-radius:12px;background:#fff7e6;border:1px solid rgba(196,154,84,.18);color:#735c31;font-size:10px;line-height:1.55;margin-bottom:14px}.mw-ack{display:flex;gap:9px;margin-top:11px;color:var(--mw-muted);font-size:10px;line-height:1.5}.mw-ack input{margin-top:2px;flex:0 0 auto}.mw-ack.media{padding:11px 12px;border:1px solid rgba(196,154,84,.18);border-radius:12px;background:#fffaf0;color:#6d5a36}.mw-conditional-fields{display:contents}.mw-owner-help{margin:0 0 14px;color:var(--mw-muted);font-size:11px;line-height:1.6}.mw-owner-help strong{color:var(--mw-dark)}
@media(max-width:980px){.mw-events-grid{grid-template-columns:1fr 1fr}.mw-event-principle{grid-template-columns:auto 1fr}.mw-event-principle-badge{grid-column:2}}
@media(max-width:620px){.mw-events-grid{grid-template-columns:1fr}.mw-event-principle{grid-template-columns:1fr;text-align:left}.mw-event-principle-badge{grid-column:auto;justify-self:start}.mw-event-actions{grid-template-columns:1fr}.mw-event-actions .full{grid-column:auto}.mw-event-detail-grid{grid-template-columns:1fr}.mw-itinerary-row{grid-template-columns:58px 1fr}}



/* V12 — complete concept event lifecycle */
.mw-event-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 18px}.mw-flow-step{position:relative;padding:14px 14px 14px 46px;border:1px solid var(--mw-line);border-radius:15px;background:rgba(255,255,255,.72)}.mw-flow-step b{position:absolute;left:13px;top:13px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--mw-dark);color:#fff;font-size:10px}.mw-flow-step strong{display:block;color:var(--mw-dark);font-size:11px}.mw-flow-step span{display:block;margin-top:4px;color:var(--mw-muted);font-size:9px;line-height:1.45}
.mw-event-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 18px}.mw-summary-card{padding:13px;border:1px solid var(--mw-line);border-radius:14px;background:#fff}.mw-summary-card small{display:block;color:var(--mw-muted);font-size:9px;text-transform:uppercase;letter-spacing:.07em}.mw-summary-card strong{display:block;margin-top:4px;color:var(--mw-dark);font:600 23px Georgia,serif}
.mw-event-status{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.mw-event-status.open{background:#e8f3eb;color:#37604f}.mw-event-status.nearly{background:#fff2d8;color:#876421}.mw-event-status.full,.mw-event-status.closed{background:#f5e8e5;color:#8b554e}.mw-event-status.waitlist{background:#eee8f5;color:#6c5484}.mw-event-status.completed{background:#edf0ed;color:#67736c}.mw-event-status.postponed{background:#fff0db;color:#855b1e}.mw-event-status.cancelled{background:#f6e3e3;color:#8a4848}
.mw-event-extra{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.mw-event-extra span{padding:5px 7px;border-radius:999px;background:rgba(255,255,255,.72);color:var(--mw-muted);font-size:9px}.mw-deadline{margin-top:8px;color:var(--mw-muted);font-size:9px}.mw-private-access{padding:12px 13px;border-radius:12px;background:#edf5f5;color:#3d696a;border:1px solid rgba(78,158,162,.16);font-size:10px;line-height:1.55}.mw-detail-actions{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:8px;margin-top:18px}.mw-detail-actions .mw-btn{width:100%;margin:0}.mw-registration-ref{display:inline-flex;margin-top:6px;padding:4px 7px;border-radius:999px;background:#eef2ed;color:var(--mw-dark-2);font-size:9px;font-weight:800}.mw-reg-status{display:inline-flex;margin-left:6px;padding:3px 7px;border-radius:999px;background:#e8f3eb;color:#37604f;font-size:8px;font-weight:850;text-transform:uppercase}.mw-reg-status.waitlist{background:#eee8f5;color:#6c5484}.mw-reg-status.attended{background:#e5eff7;color:#365f7c}
.mw-owner-dashboard{margin:0 0 18px;padding:18px;border:1px solid rgba(196,154,84,.22);border-radius:20px;background:linear-gradient(145deg,#fffdf8,#f4f6ef)}.mw-owner-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.mw-owner-dashboard h3{margin:0;font:600 20px Georgia,serif}.mw-owner-dashboard-actions{display:flex;gap:8px;flex-wrap:wrap}.mw-owner-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.mw-owner-stat{padding:11px;border-radius:12px;background:#fff;border:1px solid var(--mw-line)}.mw-owner-stat small{display:block;color:var(--mw-muted);font-size:9px}.mw-owner-stat strong{display:block;margin-top:4px;color:var(--mw-dark);font-size:18px}.mw-attendee-list{display:grid;gap:8px;margin-top:14px}.mw-attendee-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--mw-line);border-radius:12px;background:#f8f9f5}.mw-attendee-row strong{display:block;font-size:11px}.mw-attendee-row small{display:block;margin-top:4px;color:var(--mw-muted);font-size:9px;line-height:1.5}.mw-attendee-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.mw-attendee-actions button{padding:6px 8px;font-size:9px}.mw-manage-summary{padding:12px;border-radius:12px;background:#f3f5ef;color:var(--mw-muted);font-size:10px;line-height:1.55}.mw-inline-link{display:inline-flex;align-items:center;gap:5px;color:var(--mw-dark-2);font-weight:800;text-decoration:none}.mw-inline-link:hover{text-decoration:underline}
@media(max-width:900px){.mw-event-flow,.mw-event-summary,.mw-owner-stats{grid-template-columns:1fr 1fr}.mw-detail-actions{grid-template-columns:1fr 1fr}.mw-detail-actions .primary-action{grid-column:1/-1}}
@media(max-width:560px){.mw-event-flow,.mw-event-summary,.mw-owner-stats{grid-template-columns:1fr}.mw-owner-dashboard-head{align-items:flex-start;flex-direction:column}.mw-detail-actions{grid-template-columns:1fr}.mw-detail-actions .primary-action{grid-column:auto}.mw-attendee-row{grid-template-columns:1fr}.mw-attendee-actions{justify-content:flex-start}}



/* V13 — same-page owner backend / maintenance console */
.mw-backend-nav[hidden],.mw-backend-mobile[hidden]{display:none!important}
.mw-backend-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start}
.mw-backend-sidebar{position:sticky;top:86px;padding:14px;border:1px solid var(--mw-line);border-radius:20px;background:rgba(255,255,255,.78);box-shadow:0 10px 30px rgba(31,64,52,.05)}
.mw-backend-sidebar h3{margin:2px 8px 12px;font:600 18px Georgia,serif;color:var(--mw-dark)}
.mw-backend-tabs{display:grid;gap:6px}
.mw-backend-tab{width:100%;border:0;border-radius:12px;background:transparent;color:var(--mw-muted);padding:10px 11px;text-align:left;font-size:11px;font-weight:750;transition:.18s ease}
.mw-backend-tab:hover,.mw-backend-tab.active{background:#edf2ec;color:var(--mw-dark)}
.mw-backend-main{min-width:0}
.mw-backend-panel{display:none}.mw-backend-panel.active{display:block}
.mw-be-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:18px}
.mw-be-stat{padding:15px;border:1px solid var(--mw-line);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(31,64,52,.045)}
.mw-be-stat small{display:block;color:var(--mw-muted);font-size:9px;text-transform:uppercase;letter-spacing:.07em}.mw-be-stat strong{display:block;margin-top:6px;color:var(--mw-dark);font:600 28px Georgia,serif}.mw-be-stat span{display:block;margin-top:4px;color:var(--mw-muted);font-size:9px;line-height:1.4}
.mw-be-card{padding:18px;border:1px solid var(--mw-line);border-radius:18px;background:#fff;margin-bottom:14px}
.mw-be-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.mw-be-card-head h2,.mw-be-card-head h3{margin:0;color:var(--mw-dark);font:600 22px Georgia,serif}.mw-be-card-head p{margin:5px 0 0;color:var(--mw-muted);font-size:10px;line-height:1.5}.mw-be-card-actions{display:flex;gap:8px;flex-wrap:wrap}
.mw-be-table-wrap{overflow:auto;border:1px solid var(--mw-line);border-radius:14px}.mw-be-table{width:100%;border-collapse:collapse;min-width:760px;background:#fff}.mw-be-table th{padding:10px 11px;text-align:left;color:var(--mw-muted);background:#f4f6f1;font-size:9px;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}.mw-be-table td{padding:11px;border-top:1px solid var(--mw-line);color:var(--mw-dark-2);font-size:10px;vertical-align:top}.mw-be-table td small{display:block;margin-top:4px;color:var(--mw-muted);font-size:9px;line-height:1.45}.mw-be-table-actions{display:flex;gap:6px;flex-wrap:wrap}.mw-be-table-actions .mw-btn{padding:6px 8px;font-size:8px;white-space:nowrap}
.mw-be-note{padding:13px 14px;border-radius:13px;background:#fff8e9;border:1px solid rgba(196,154,84,.18);color:#765f36;font-size:10px;line-height:1.6}.mw-be-note strong{color:#654f2b}
.mw-be-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mw-be-quick button{padding:15px;border:1px solid var(--mw-line);border-radius:15px;background:#f7f8f4;color:var(--mw-dark);text-align:left}.mw-be-quick button strong{display:block;font-size:11px}.mw-be-quick button span{display:block;margin-top:4px;color:var(--mw-muted);font-size:9px;line-height:1.45}
.mw-be-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mw-be-settings-grid .full{grid-column:1/-1}
.mw-be-backup-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}.mw-file-input{display:none}
.mw-dialog.wide{width:min(820px,calc(100% - 24px))}.mw-dialog .mw-scroll-form{max-height:62vh;overflow:auto;padding-right:4px}
.mw-backend-locked{padding:50px 22px;text-align:center;border:1px dashed var(--mw-line);border-radius:20px;background:#fff}.mw-backend-locked h2{margin:0;font:600 28px Georgia,serif}.mw-backend-locked p{max-width:520px;margin:10px auto 18px;color:var(--mw-muted);font-size:12px;line-height:1.65}
@media(max-width:1050px){.mw-be-grid{grid-template-columns:repeat(3,1fr)}.mw-backend-shell{grid-template-columns:1fr}.mw-backend-sidebar{position:static}.mw-backend-tabs{grid-template-columns:repeat(3,1fr)}.mw-backend-tab{text-align:center}}
@media(max-width:680px){.mw-be-grid{grid-template-columns:1fr 1fr}.mw-be-quick{grid-template-columns:1fr}.mw-be-settings-grid{grid-template-columns:1fr}.mw-be-settings-grid .full{grid-column:auto}.mw-backend-tabs{display:flex;overflow-x:auto;padding-bottom:3px}.mw-backend-tab{min-width:118px}.mw-be-card-head{flex-direction:column}.mw-be-card-actions{width:100%}.mw-be-card-actions .mw-btn{flex:1}.mw-dialog.wide{width:calc(100% - 14px)}}



    /* Health Guidance V2: this public block is always visible inside the active
       Wellness Explorer route and is hydrated from Azure health-topic data. */
    #mw-view-explorer.active #healthGuidanceSection {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
    #healthGuidanceSection[data-api-driven="true"] .health-card-note::before {
      content: "";
    }

/* V15 — standardized event management and Azure-ready product catalogue backend */
.mw-cat-toolbar{display:flex;gap:9px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:14px}.mw-cat-toolbar .mw-search{min-width:250px;flex:1;max-width:520px}.mw-cat-filters{display:flex;gap:8px;flex-wrap:wrap}.mw-cat-filters select{border:1px solid var(--mw-line);border-radius:11px;background:#fff;padding:9px 11px;color:var(--mw-dark);font-size:11px}
.mw-cat-status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.mw-cat-status.published{background:#e8f2e9;color:#3f7553}.mw-cat-status.draft{background:#f3eee1;color:#8b6b31}.mw-cat-status.archived,.mw-cat-status.discontinued{background:#f3e8e5;color:#925d56}.mw-cat-status.review{background:#e8eef4;color:#4c6f8a}
.mw-cat-table .thumb{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--soft,#e5ede7);color:var(--tone,#365f50);font:800 11px Georgia,serif}.mw-cat-table td:first-child{width:42px}.mw-cat-table .price{white-space:nowrap;font-weight:800}.mw-cat-table .muted{color:var(--mw-muted);font-size:10px}.mw-cat-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:14px}.mw-cat-summary div{padding:13px;border:1px solid var(--mw-line);border-radius:15px;background:#fff}.mw-cat-summary small{display:block;color:var(--mw-muted);font-size:9px;text-transform:uppercase;letter-spacing:.06em}.mw-cat-summary strong{display:block;margin-top:5px;font:600 23px Georgia,serif;color:var(--mw-dark)}
.mw-cat-section{margin-top:16px;padding-top:16px;border-top:1px solid var(--mw-line)}.mw-cat-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}.mw-cat-section-head h3{margin:0;font:600 21px Georgia,serif}.mw-cat-section-head p{margin:4px 0 0;color:var(--mw-muted);font-size:11px}.mw-cat-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.mw-cat-category{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;border:1px solid var(--mw-line);border-radius:13px;background:#fff}.mw-cat-category strong{display:block;font-size:11px}.mw-cat-category small{display:block;margin-top:3px;color:var(--mw-muted);font-size:9px}.mw-cat-toggle{border:0;border-radius:999px;padding:6px 9px;font-size:9px;font-weight:850;background:#e9f1e9;color:#3f7553}.mw-cat-toggle.off{background:#f1e9e7;color:#8e5b55}
.mw-cat-bundle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mw-cat-bundle{padding:13px;border:1px solid var(--mw-line);border-radius:14px;background:linear-gradient(145deg,#fff,#f5f6f0)}.mw-cat-bundle strong{display:block;font-size:12px}.mw-cat-bundle small{display:block;margin-top:5px;color:var(--mw-muted);font-size:9px;line-height:1.45}.mw-cat-bundle span{display:inline-flex;margin-top:8px;padding:5px 8px;border-radius:999px;background:#edf2ec;color:var(--mw-dark-2);font-size:9px;font-weight:800}
.mw-cat-check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.mw-cat-check{display:flex;align-items:center;gap:7px;padding:8px;border:1px solid var(--mw-line);border-radius:10px;background:#fff;font-size:10px;color:var(--mw-dark)}.mw-cat-check input{accent-color:var(--mw-dark)}.mw-cat-bundle-row{display:grid;grid-template-columns:1fr 110px;gap:8px;align-items:center;padding:7px 0;border-top:1px solid var(--mw-line)}.mw-cat-bundle-row:first-child{border-top:0}.mw-cat-bundle-row select{border:1px solid var(--mw-line);border-radius:9px;padding:8px;background:#fff;font-size:10px}
.mw-cat-preview{display:grid;grid-template-columns:150px 1fr;gap:18px}.mw-cat-preview-art{display:grid;place-items:center;min-height:190px;border-radius:17px;background:linear-gradient(145deg,var(--soft,#e5ede7),#faf8f3)}.mw-cat-preview-bottle{position:relative;display:grid;place-items:center;width:70px;height:105px;border-radius:14px 14px 18px 18px;background:#fff;color:var(--tone,#365f50);font:800 16px Georgia,serif;box-shadow:0 15px 30px rgba(31,64,52,.14)}.mw-cat-preview-bottle:before{content:'';position:absolute;top:-10px;width:48px;height:13px;border-radius:6px 6px 2px 2px;background:var(--tone,#365f50)}.mw-cat-preview h3{margin:2px 0 8px;font:600 25px Georgia,serif}.mw-cat-preview p{color:var(--mw-muted);font-size:12px;line-height:1.65}.mw-cat-preview dl{display:grid;grid-template-columns:110px 1fr;gap:8px 10px;margin:14px 0 0;font-size:10px}.mw-cat-preview dt{color:var(--mw-muted);font-weight:800}.mw-cat-preview dd{margin:0;color:var(--mw-dark)}
.mw-cat-file{display:none}.mw-cat-azure-note{margin-top:14px;padding:13px;border-radius:13px;background:#eef3f6;color:#4d6f80;font-size:10px;line-height:1.6}.mw-cat-azure-note strong{color:#365c70}
@media(max-width:1000px){.mw-cat-summary{grid-template-columns:repeat(3,1fr)}.mw-cat-category-grid,.mw-cat-bundle-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.mw-cat-summary{grid-template-columns:1fr 1fr}.mw-cat-category-grid,.mw-cat-bundle-grid,.mw-cat-check-grid{grid-template-columns:1fr}.mw-cat-preview{grid-template-columns:1fr}.mw-cat-preview-art{min-height:130px}.mw-cat-toolbar{align-items:stretch;flex-direction:column}.mw-cat-toolbar .mw-search{min-width:0;max-width:none}.mw-cat-filters select{flex:1}}

/* V15 — standardized event management across Events and Backend */
.mw-owner-event-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px}.mw-owner-event-toolbar h3{margin:3px 0 4px;font:600 20px Georgia,serif}.mw-owner-event-toolbar p{margin:0;max-width:720px;color:var(--mw-muted);font-size:10px;line-height:1.55}
.mw-owner-dashboard .mw-owner-stats{margin-bottom:13px}.mw-event-admin-table-wrap{margin-top:4px}.mw-event-admin-table{min-width:900px}.mw-event-admin-table td:nth-child(2){min-width:180px}.mw-event-admin-table td:last-child{min-width:238px}.mw-event-admin-table .mw-be-table-actions{display:grid;grid-template-columns:repeat(2,minmax(86px,1fr));gap:6px}.mw-event-admin-table .mw-be-table-actions .mw-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:30px;padding:6px 9px;font-size:8px}.mw-event-admin-table .mw-btn[data-details-event]{background:#f6f7f3}.mw-event-admin-table .mw-btn[data-be-edit-event]{background:#edf2ec;color:var(--mw-dark)}.mw-event-admin-table .mw-btn[data-manage-event]{background:#eef3f6;color:#466a7a}
.mw-event-actions .mw-owner-action{background:#edf2ec;color:var(--mw-dark)}
@media(max-width:760px){.mw-owner-event-toolbar{align-items:flex-start;flex-direction:column}.mw-owner-event-toolbar .mw-owner-dashboard-actions{width:100%}.mw-owner-event-toolbar .mw-owner-dashboard-actions .mw-btn{flex:1}.mw-event-admin-table-wrap{margin-inline:-2px}}

/* V22 — completed-event tracking and social memory links */
.mw-form-section{padding:13px 14px;border:1px solid rgba(196,154,84,.18);border-radius:13px;background:linear-gradient(145deg,#fffaf0,#f5f6ef)}
.mw-form-section strong{display:block;color:var(--mw-dark);font-size:12px}.mw-form-section span{display:block;margin-top:4px;color:var(--mw-muted);font-size:10px;line-height:1.5}
.mw-event.past{border-color:rgba(111,126,118,.18);background:linear-gradient(180deg,#fff,#fbfaf6)}.mw-event.past .mw-event-top{filter:saturate(.78)}
.mw-event-memory{margin:13px 0 0;padding:12px;border:1px solid var(--mw-line);border-radius:13px;background:#f7f6f1}
.mw-event-memory-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.mw-event-memory-head strong{color:var(--mw-dark);font-size:11px}.mw-event-memory-head small{color:var(--mw-muted);font-size:9px}
.mw-event-memory-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.mw-memory-link{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;padding:8px 9px;border-radius:9px;border:1px solid var(--mw-line);font-size:9px;font-weight:850;text-decoration:none}
.mw-memory-link span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mw-memory-link em{font-style:normal;font-size:7px;letter-spacing:.06em;text-transform:uppercase}
.mw-memory-link.is-active{color:#fff;border-color:transparent;box-shadow:0 5px 13px rgba(31,64,52,.12)}.mw-memory-link.is-active:hover{transform:translateY(-1px)}
.mw-memory-link.is-coming{color:#95a098;background:#ecefeb;border-style:dashed;opacity:.72;cursor:default}.mw-memory-link.is-coming em{color:#7c8980}
.mw-memory-link.social-youtube.is-active{background:#ff0033}.mw-memory-link.social-instagram.is-active{background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045)}.mw-memory-link.social-tiktok.is-active{background:#111}.mw-memory-link.social-facebook.is-active{background:#1877f2}.mw-memory-link.social-rednote.is-active{background:#ff2442}
.mw-memory-count{display:inline-flex;padding:4px 7px;border-radius:999px;background:#eef2ed;color:var(--mw-dark-2);font-size:8px;font-weight:850}.mw-memory-count.ready{background:#e8f3eb;color:#37604f}
@media(max-width:520px){.mw-event-memory-links{grid-template-columns:1fr}}

.mw-cat-structure-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.mw-cat-structure-card{border:1px solid var(--mw-line);border-radius:16px;padding:14px;background:#fff}.mw-cat-structure-card header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.mw-cat-structure-card h4{font-size:14px;margin:0}.mw-cat-structure-card small{color:var(--mw-muted);font-size:11px}.mw-cat-chip-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.mw-cat-chip{display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf3ef;color:#315f53;font-size:10px;font-weight:700}.mw-cat-chip.secondary{background:#f6efe2;color:#8a6226}.mw-cat-topic-level{font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;padding:4px 7px;border-radius:999px;background:#edf3ef;color:#315f53}.mw-cat-topic-level.medical{background:#f7e7e4;color:#9a4a3d}.mw-cat-topic-level.review{background:#f8efd9;color:#8a6226}.mw-cat-source-note{font-size:11px;color:var(--mw-muted);margin-top:5px}.mw-cat-product-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.mw-cat-product-meta span{font-size:9px;padding:3px 6px;border-radius:999px;background:#f4f2ec;color:#615d52}
/* v8 Malaysian phone input */
.mw-phone-input{display:flex;align-items:stretch;border:1px solid rgba(44,72,62,.22);border-radius:14px;background:#fff;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease}
.mw-phone-input:focus-within{border-color:#557f6e;box-shadow:0 0 0 3px rgba(85,127,110,.12)}
.mw-phone-prefix{display:flex;align-items:center;padding:0 13px;background:#eef4f0;border-right:1px solid rgba(44,72,62,.15);font-weight:800;color:#29483d;white-space:nowrap}
.mw-phone-input input{border:0!important;border-radius:0!important;box-shadow:none!important;min-width:0;flex:1}
.mw-phone-help{display:block;margin-top:7px;color:#6d7d76;line-height:1.45}

/* v11 expanded guidance */
.health-group-tabs{padding-bottom:2px}
.health-group-tab[data-health-group="life-stage"].active{background:#8a5d68;border-color:#8a5d68}
.health-group-tab[data-health-group="mind-senses"].active{background:#526f78;border-color:#526f78}
.health-card[data-risk="medical"] .health-risk-badge{font-weight:800}
@media (min-width:1100px){.health-group-tabs{overflow-x:visible;flex-wrap:wrap}}

/* v12 General / Female / Male + APC */
.health-group-tab[data-health-group="female"].active{background:#8c596c;border-color:#8c596c}
.health-group-tab[data-health-group="male"].active{background:#496d79;border-color:#496d79}
.apc-invite-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:18px 0 22px;padding:20px 22px;border:1px solid rgba(177,132,58,.28);border-radius:22px;background:linear-gradient(135deg,#fffaf0,#f0f7f3);box-shadow:0 14px 34px rgba(44,67,57,.08)}
.apc-invite-strip h2{margin:3px 0 7px;color:#173f34;font:700 clamp(22px,2.2vw,32px)/1.12 Georgia,serif}
.apc-invite-strip p{margin:0;max-width:820px;color:#5b6e66;line-height:1.6}
.apc-invite-kicker{color:#a67830;font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.apc-invite-actions{display:flex;gap:9px;flex-wrap:wrap}
.apc-invite-actions a,.apc-invite-actions button,.official-whatsapp{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 16px;border-radius:13px;text-decoration:none;font:inherit;font-weight:850;cursor:pointer}
.apc-invite-actions a:first-child{background:#173f34;color:#fff}
.apc-invite-actions .whatsapp,.official-whatsapp{background:#e6f5ec;color:#19683f;border:1px solid #b8ddc8}
/* Sponsor ABO must be typed by hand during Amway registration — make it copyable
   at the point it is first shown, using the gold APC accent. */
.apc-invite-actions .copy-abo-inline{background:#fdf4e3;color:#8a6520;border:1px solid #e3cd9c}
.apc-invite-actions .copy-abo-inline:hover{background:#f9ecd2}
.apc-invite-strip .apc-abo-number{font-variant-numeric:tabular-nums;letter-spacing:.04em}
.mw-whatsapp-support{position:fixed;right:20px;bottom:82px;z-index:70;display:grid;grid-template-columns:28px auto;grid-template-rows:auto auto;column-gap:9px;align-items:center;padding:10px 14px;border-radius:16px;background:#176b43;color:#fff;text-decoration:none;box-shadow:0 14px 34px rgba(20,72,48,.28)}
.mw-whatsapp-support span{grid-row:1/3;font-size:23px} .mw-whatsapp-support strong{font-size:12px} .mw-whatsapp-support small{font-size:10px;opacity:.82}
@media(max-width:800px){.apc-invite-strip{flex-direction:column;align-items:flex-start}.apc-invite-actions{width:100%}.apc-invite-actions a,.apc-invite-actions button{flex:1}.mw-whatsapp-support{right:12px;bottom:74px}}

/* ==========================================================================
   V13 — Refined Health Guidance and WhatsApp separation
   ========================================================================== */

.health-group-tabs{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px;
  border:1px solid rgba(41,72,62,.14);
  border-radius:999px;
  background:rgba(245,247,243,.92);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9)
}
.health-group-tab{
  min-width:104px;
  border:0;
  border-radius:999px;
  padding:10px 18px;
  background:transparent;
  color:#527066;
  font-weight:850;
  transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease
}
.health-group-tab:hover{transform:translateY(-1px);color:#173f34}
.health-group-tab.active{
  background:#173f34!important;
  border-color:#173f34!important;
  color:#fff;
  box-shadow:0 7px 18px rgba(23,63,52,.18)
}
.health-group-tab[data-health-group="female"].active{
  background:#84566a!important;
  border-color:#84566a!important
}
.health-group-tab[data-health-group="male"].active{
  background:#446b77!important;
  border-color:#446b77!important
}

.health-subgroup-shell{
  display:flex;
  align-items:center;
  gap:14px;
  margin:14px 0 18px;
  padding:12px 14px;
  border:1px solid rgba(43,70,61,.12);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(246,248,244,.9))
}
.health-subgroup-label{
  flex:0 0 auto;
  color:#8c7650;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase
}
.health-subgroup-tabs{
  display:flex;
  gap:8px;
  min-width:0;
  overflow-x:auto;
  scrollbar-width:thin;
  padding:2px
}
.health-subgroup-tab{
  flex:0 0 auto;
  border:1px solid rgba(44,75,64,.16);
  border-radius:12px;
  padding:9px 13px;
  background:#fff;
  color:#587168;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  transition:all .18s ease
}
.health-subgroup-tab:hover{
  border-color:rgba(35,85,68,.35);
  color:#173f34;
  transform:translateY(-1px)
}
.health-subgroup-tab.active{
  border-color:#bd934f;
  background:#fff8ea;
  color:#6e4d17;
  box-shadow:0 6px 16px rgba(158,116,47,.12)
}
.health-guidance-group.active{
  animation:mwHealthPanelIn .24s ease both
}
@keyframes mwHealthPanelIn{
  from{opacity:0;transform:translateY(7px)}
  to{opacity:1;transform:translateY(0)}
}

.mw-whatsapp-svg{
  display:block;
  width:1.2em;
  height:1.2em;
  flex:0 0 auto
}
.mw-inline-whatsapp-icon,
.mw-floating-whatsapp-icon,
.mw-direct-support-icon,
.mw-settings-support-icon,
.mw-link-whatsapp-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center
}
.mw-inline-whatsapp-icon .mw-whatsapp-svg,
.mw-link-whatsapp-icon .mw-whatsapp-svg{
  width:18px;
  height:18px
}

.mw-community-channel-card .mw-social-group{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(45,72,63,.1)
}
.mw-community-channel-card .mw-social-group:first-of-type{
  margin-top:12px
}
.social-whatsapp .mw-social-btn-icon{color:#1b8752}
.social-whatsapp.is-active{
  border-color:rgba(27,135,82,.35)!important;
  background:#effaf4!important
}
.social-whatsapp.is-active .mw-social-status{
  color:#167142!important
}

.mw-direct-support-card{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:10px 12px;
  align-items:center;
  margin-top:18px;
  padding:14px;
  border:1px solid rgba(31,139,81,.2);
  border-radius:16px;
  background:linear-gradient(135deg,#eefbf4,#fff)
}
.mw-direct-support-icon{
  grid-row:1/3;
  width:42px;
  height:42px;
  border-radius:13px;
  background:#1f8b51;
  color:#fff
}
.mw-direct-support-icon .mw-whatsapp-svg{
  width:25px;
  height:25px
}
.mw-direct-support-card small{
  display:block;
  color:#74877f;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase
}
.mw-direct-support-card strong{
  display:block;
  margin-top:2px;
  color:#173f34
}
.mw-direct-support-card span{
  display:block;
  margin-top:2px;
  color:#557168;
  font-size:12px
}
.mw-direct-support-card>a{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  border-radius:12px;
  background:#1f8b51;
  color:#fff;
  text-decoration:none;
  font-weight:850
}

.mw-settings-support-note{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  margin-top:14px;
  padding:14px;
  border:1px solid rgba(31,139,81,.18);
  border-radius:15px;
  background:#f3fbf6
}
.mw-settings-support-icon{
  width:42px;
  height:42px;
  border-radius:12px;
  background:#1f8b51;
  color:#fff
}
.mw-settings-support-icon .mw-whatsapp-svg{
  width:24px;
  height:24px
}
.mw-settings-support-note strong{display:block;color:#173f34}
.mw-settings-support-note p{
  margin:3px 0 5px;
  color:#667c73;
  font-size:12px;
  line-height:1.45
}
.mw-settings-support-note code{
  color:#1d6d45;
  font-weight:850
}
.mw-settings-support-note>a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 12px;
  border-radius:11px;
  background:#1f8b51;
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:850
}

.mw-whatsapp-support{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  grid-template-columns:none!important;
  grid-template-rows:none!important
}
.mw-floating-whatsapp-icon{
  width:32px;
  height:32px;
  border-radius:10px;
  background:rgba(255,255,255,.15)
}
.mw-floating-whatsapp-icon .mw-whatsapp-svg{
  width:21px;
  height:21px
}
.mw-floating-whatsapp-copy{
  display:flex;
  flex-direction:column
}
.mw-floating-whatsapp-copy strong{
  font-size:12px;
  line-height:1.15
}
.mw-floating-whatsapp-copy small{
  margin-top:2px;
  font-size:10px;
  opacity:.82
}

@media(max-width:780px){
  .health-group-tabs{display:flex;width:100%}
  .health-group-tab{
    flex:1;
    min-width:0;
    padding-inline:10px
  }
  .health-subgroup-shell{
    align-items:flex-start;
    flex-direction:column;
    gap:8px
  }
  .health-subgroup-tabs{width:100%}
  .mw-settings-support-note{
    grid-template-columns:42px minmax(0,1fr)
  }
  .mw-settings-support-note>a{grid-column:1/-1}
}

    /* ==========================================================================
       V14 — Production hardening, mobile readability and backend operations
       ========================================================================== */

    .mw-system-health-grid{
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:10px
    }
    .mw-system-health-grid article{
      min-width:0;
      padding:14px;
      border:1px solid rgba(41,71,61,.12);
      border-radius:14px;
      background:#fafbf8
    }
    .mw-system-health-grid article.good{
      border-color:rgba(38,133,82,.22);
      background:#f1faf5
    }
    .mw-system-health-grid article.warning{
      border-color:rgba(180,126,43,.26);
      background:#fff9ee
    }
    .mw-system-health-grid small{
      display:block;
      color:#71827b;
      font-size:9px;
      font-weight:900;
      letter-spacing:.08em;
      text-transform:uppercase
    }
    .mw-system-health-grid strong{
      display:block;
      margin:4px 0;
      color:#173f34;
      font-size:16px
    }
    .mw-system-health-grid span{
      display:block;
      color:#63766f;
      font-size:11px;
      line-height:1.45;
      overflow-wrap:anywhere
    }
    .mw-system-health-time{
      margin:10px 0 0;
      color:#788981;
      font-size:11px
    }

    .mw-cat-pagination{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      margin-top:12px
    }
    .mw-cat-pagination span{
      min-width:0;
      color:#61746c;
      font-size:12px;
      font-weight:750;
      text-align:center
    }
    .mw-cat-pagination button:disabled{
      opacity:.45;
      cursor:not-allowed
    }

    .mw-ack.media.optional{
      border-color:rgba(81,118,103,.16);
      background:#f7faf8
    }

    :where(button,a,input,select,textarea):focus-visible{
      outline:3px solid rgba(28,111,78,.28);
      outline-offset:2px
    }

    @media(max-width:900px){
      .mw-system-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    }

    @media(max-width:600px){
      /* Make Health Guidance readable rather than showing tiny two-column cards. */
      .health-guidance-group.active .health-card-grid{
        display:grid!important;
        grid-template-columns:1fr!important;
        grid-auto-flow:row!important;
        grid-auto-columns:auto!important;
        width:100%!important;
        gap:8px!important;
        overflow:visible!important
      }
      .health-guidance-group.active .health-card{
        min-width:0!important;
        width:100%!important;
        padding:11px 12px!important
      }

      /* Keep support available without covering major content or the bottom nav. */
      .mw-whatsapp-support{
        right:12px!important;
        bottom:calc(76px + env(safe-area-inset-bottom,0px))!important;
        width:48px!important;
        height:48px!important;
        padding:0!important;
        border-radius:15px!important;
        justify-content:center!important
      }
      .mw-whatsapp-support .mw-floating-whatsapp-copy{
        position:absolute!important;
        width:1px!important;
        height:1px!important;
        overflow:hidden!important;
        clip:rect(0,0,0,0)!important;
        white-space:nowrap!important
      }
      .mw-floating-whatsapp-icon{
        width:34px!important;
        height:34px!important
      }

      .apc-invite-strip{
        padding:16px!important;
        gap:14px!important
      }
      .apc-invite-strip h2{
        font-size:20px!important
      }
      .apc-invite-strip p{
        font-size:13px!important;
        line-height:1.55!important
      }

      .mw-system-health-grid{grid-template-columns:1fr}
      .mw-cat-pagination{
        align-items:stretch;
        flex-wrap:wrap
      }
      .mw-cat-pagination span{
        order:-1;
        width:100%
      }
      .mw-cat-pagination button{
        flex:1
      }
    }
    
    /* ==========================================================================
       V15 — precision alignment and premium HTML polish
       ========================================================================== */

    .mw-general-grid{
      grid-template-columns:minmax(0,1fr) minmax(340px,360px);
      gap:24px
    }
    .mw-community-channel-card{
      overflow:hidden
    }
    .mw-community-channel-card .mw-social-link-grid{
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:9px
    }
    .mw-community-channel-card .mw-social-btn{
      min-height:58px;
      padding:9px 10px;
      display:grid;
      grid-template-columns:minmax(0,1fr);
      grid-template-rows:auto auto;
      align-content:center;
      justify-items:start;
      gap:5px;
      overflow:hidden
    }
    .mw-community-channel-card .mw-social-btn-label{
      width:100%;
      min-width:0;
      gap:7px;
      font-size:11px;
      line-height:1.15;
      white-space:normal
    }
    .mw-community-channel-card .mw-social-btn-label>span:last-child{
      min-width:0;
      overflow-wrap:anywhere
    }
    .mw-community-channel-card .mw-social-status{
      justify-self:start;
      max-width:100%;
      padding:3px 6px;
      font-size:7px;
      line-height:1;
      white-space:normal;
      overflow-wrap:anywhere
    }

    /* Correctly aligned direct support component. */
    .mw-direct-support-card{
      display:flex;
      flex-direction:column;
      gap:12px;
      align-items:stretch;
      margin-top:18px;
      padding:14px;
      border:1px solid rgba(31,139,81,.22);
      border-radius:16px;
      background:linear-gradient(135deg,#eefbf4,#fff);
      box-shadow:0 8px 22px rgba(29,111,69,.07)
    }
    .mw-direct-support-head{
      display:flex;
      align-items:center;
      gap:12px;
      min-width:0
    }
    .mw-direct-support-icon{
      display:grid;
      place-items:center;
      flex:0 0 44px;
      width:44px;
      height:44px;
      margin:0;
      border-radius:13px;
      background:#1f8b51;
      color:#fff;
      line-height:0
    }
    .mw-direct-support-icon .mw-whatsapp-svg{
      display:block;
      width:25px;
      height:25px;
      margin:0
    }
    .mw-direct-support-copy{
      min-width:0;
      display:flex;
      flex-direction:column;
      justify-content:center;
      gap:2px
    }
    .mw-direct-support-copy small{
      display:block;
      margin:0;
      color:#6e8279;
      font-size:8px;
      font-weight:900;
      line-height:1.15;
      letter-spacing:.08em;
      text-transform:uppercase
    }
    .mw-direct-support-copy strong{
      display:block;
      margin:0;
      color:#173f34;
      font-size:14px;
      line-height:1.2
    }
    .mw-direct-support-copy span{
      display:block;
      margin:0;
      color:#496b5f;
      font-size:11px;
      font-weight:750;
      line-height:1.25
    }
    .mw-direct-support-action{
      display:flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      width:100%;
      min-height:42px;
      margin:0;
      padding:0 14px;
      border-radius:12px;
      background:#1f8b51;
      color:#fff!important;
      text-decoration:none;
      font-size:12px;
      font-weight:850;
      line-height:1;
      box-shadow:0 7px 16px rgba(31,139,81,.16);
      transition:transform .18s ease,box-shadow .18s ease,background .18s ease
    }
    .mw-direct-support-action:hover{
      transform:translateY(-1px);
      background:#177542;
      box-shadow:0 10px 20px rgba(31,139,81,.2)
    }
    .mw-direct-support-action .mw-link-whatsapp-icon{
      display:grid;
      place-items:center;
      flex:0 0 18px;
      width:18px;
      height:18px;
      margin:0;
      color:#fff!important;
      line-height:0
    }
    .mw-direct-support-action .mw-link-whatsapp-icon .mw-whatsapp-svg{
      display:block;
      width:17px;
      height:17px;
      margin:0
    }
    .mw-direct-support-action>span:last-child{
      display:inline;
      margin:0;
      color:inherit!important;
      font-size:inherit;
      line-height:1
    }
    .mw-field-help{
      display:block;
      margin-top:6px;
      color:#71827b;
      font-size:10px;
      line-height:1.45
    }

    .mw-page-head{gap:28px}
    .mw-toolbar{min-height:58px}
    .mw-post-card{box-shadow:0 10px 24px rgba(37,62,53,.045)}
    .mw-side-card{box-shadow:0 12px 30px rgba(31,64,52,.055)}

    @media(prefers-reduced-motion:reduce){
      *,*::before,*::after{
        scroll-behavior:auto!important;
        animation-duration:.001ms!important;
        animation-iteration-count:1!important;
        transition-duration:.001ms!important
      }
    }
    @media(max-width:1080px){
      .mw-general-grid{
        grid-template-columns:minmax(0,1fr) minmax(310px,330px)
      }
    }
    @media(max-width:900px){
      .mw-general-grid{grid-template-columns:1fr}
      .mw-community-channel-card .mw-social-link-grid{
        grid-template-columns:repeat(3,minmax(0,1fr))
      }
    }
    @media(max-width:620px){
      .mw-community-channel-card .mw-social-link-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))
      }
    }
    @media(max-width:390px){
      .mw-community-channel-card .mw-social-link-grid{
        grid-template-columns:1fr
      }
    }
    @media print{
      .mw-global-nav,.mw-bottom-nav,.mw-whatsapp-support,.mw-menu-btn,
      .mw-account-area,.mw-toolbar,.mw-post-actions,button{
        display:none!important
      }
      body{
        padding:0!important;
        background:#fff!important;
        color:#111!important
      }
      .mw-page{
        width:100%!important;
        max-width:none!important
      }
    }
    

    /* ==========================================================================
       V15.1 — WhatsApp glyph optical centering
       The icon wrapper is restored to true grid centering, then the glyph receives a subtle optical shift.
       ========================================================================== */
    .mw-direct-support-card .mw-direct-support-icon{
      display:grid!important;
      place-items:center!important;
      margin:0!important;
      color:#fff!important;
      font-size:0!important;
      line-height:0!important
    }
    .mw-direct-support-card .mw-direct-support-icon .mw-whatsapp-svg{
      display:block!important;
      margin:0!important;
      color:#fff!important;
      transform:translateY(2px);
      transform-box:fill-box;
      transform-origin:center
    }
    

/* ==========================================================================
   V15.3 — expanded 12-routine assignment system
   ========================================================================== */

.mw-cat-assignment-field{
  margin-top:4px
}
.mw-cat-assignment-intro{
  margin:6px 0 12px;
  color:#657870;
  font-size:11px;
  line-height:1.55
}
.mw-cat-assignment-shell{
  border:1px solid rgba(39,74,62,.14);
  border-radius:16px;
  overflow:hidden;
  background:#fafbf8
}
.mw-cat-assignment-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 14px;
  border-bottom:1px solid rgba(39,74,62,.11);
  background:linear-gradient(135deg,#f2f8f4,#fffaf0)
}
.mw-cat-assignment-head p{
  margin:0;
  color:#315e4e;
  font-size:11px;
  line-height:1.45
}
.mw-cat-assignment-head p strong{
  color:#173f34
}
.mw-cat-assignment-head p span{
  display:inline-flex;
  margin-left:5px;
  padding:3px 6px;
  border-radius:999px;
  background:#fff0cf;
  color:#805b1e;
  font-size:8px;
  font-weight:850
}
.mw-cat-assignment-head>div>small{
  display:block;
  margin-top:4px;
  color:#708178;
  font-size:9px
}
.mw-cat-assignment-actions{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end
}
.mw-cat-assignment-actions button{
  border:1px solid rgba(38,87,69,.16);
  border-radius:9px;
  padding:7px 9px;
  background:#fff;
  color:#315e4e;
  font-size:9px;
  font-weight:850
}
.mw-cat-assignment-actions button:first-child{
  border-color:#b98a3e;
  background:#fff8e9;
  color:#765019
}
.mw-cat-bundle-group{
  border-top:1px solid rgba(39,74,62,.1);
  background:#fff
}
.mw-cat-bundle-group:first-of-type{
  border-top:0
}
.mw-cat-bundle-group>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 14px;
  cursor:pointer;
  color:#254f41;
  font-size:11px;
  font-weight:850;
  list-style:none
}
.mw-cat-bundle-group>summary::-webkit-details-marker{
  display:none
}
.mw-cat-bundle-group>summary::after{
  content:'＋';
  flex:0 0 auto;
  color:#8a9a93;
  font-size:13px
}
.mw-cat-bundle-group[open]>summary::after{
  content:'−'
}
.mw-cat-bundle-group>summary small{
  margin-left:auto;
  color:#798981;
  font-size:8px;
  font-weight:750
}
.mw-cat-bundle-group-body{
  padding:0 12px 10px
}
.mw-cat-bundle-row{
  display:grid;
  grid-template-columns:32px minmax(0,1fr) 132px;
  gap:9px;
  align-items:center;
  min-height:54px;
  padding:8px;
  border:1px solid transparent;
  border-top:1px solid rgba(39,74,62,.08);
  border-radius:10px;
  background:#fff
}
.mw-cat-bundle-row:first-child{
  border-top-color:transparent
}
.mw-cat-bundle-row.recommended{
  border-color:rgba(186,139,63,.34);
  background:#fffaf0;
  box-shadow:0 5px 14px rgba(156,112,43,.07)
}
.mw-cat-bundle-icon{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:10px;
  background:#eef4ef;
  color:#2f6853;
  font-size:8px;
  font-weight:900;
  letter-spacing:.02em
}
.mw-cat-bundle-row.recommended .mw-cat-bundle-icon{
  background:#f5dfb5;
  color:#765019
}
.mw-cat-bundle-copy{
  min-width:0
}
.mw-cat-bundle-copy strong{
  display:block;
  color:#1c4738;
  font-size:10px;
  line-height:1.3
}
.mw-cat-bundle-copy small{
  display:block;
  margin-top:2px;
  color:#74857d;
  font-size:8px
}
.mw-cat-bundle-copy em{
  display:inline-flex;
  margin-top:4px;
  padding:3px 6px;
  border-radius:999px;
  background:#fff0ce;
  color:#7a571d;
  font-size:7px;
  font-style:normal;
  font-weight:900;
  letter-spacing:.03em;
  text-transform:uppercase
}
.mw-cat-bundle-row select{
  width:100%;
  min-width:0;
  border:1px solid rgba(39,74,62,.15);
  border-radius:9px;
  padding:8px;
  background:#fff;
  color:#365f51;
  font-size:9px
}
.mw-cat-bundle-overview-group{
  grid-column:1/-1;
  padding:0;
  border:0;
  background:transparent
}
.mw-cat-bundle-overview-group>header{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  margin:8px 0
}
.mw-cat-bundle-overview-group>header h4{
  margin:0;
  color:#173f34
}
.mw-cat-bundle-overview-group>header small{
  color:#788981;
  font-size:9px
}
.mw-cat-bundle-overview-group>div{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px
}
.mw-cat-bundle-overview-group article{
  padding:13px;
  border:1px solid var(--mw-line);
  border-radius:14px;
  background:linear-gradient(145deg,#fff,#f5f6f0)
}
.bundle-picker{
  display:block
}
.bundle-picker-group{
  margin-top:10px
}
.bundle-picker-group>span{
  display:block;
  margin-bottom:6px;
  color:#8b7650;
  font-size:.52rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase
}
.bundle-picker-group>div{
  display:flex;
  gap:7px;
  overflow:auto;
  padding:2px 1px 6px;
  scrollbar-width:thin
}
.bundle-picker-group button{
  flex:0 0 auto
}

@media(max-width:900px){
  .mw-cat-bundle-overview-group>div{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(max-width:680px){
  .mw-cat-assignment-head{
    align-items:stretch;
    flex-direction:column
  }
  .mw-cat-assignment-actions{
    justify-content:stretch
  }
  .mw-cat-assignment-actions button{
    flex:1
  }
  .mw-cat-bundle-row{
    grid-template-columns:32px minmax(0,1fr)
  }
  .mw-cat-bundle-row select{
    grid-column:1/-1
  }
  .mw-cat-bundle-overview-group>div{
    grid-template-columns:1fr
  }
}

/* ==========================================================================
   V16.1 — Per-concern guidance product curation (backend)
   ========================================================================== */
.mw-cat-topic-actions{display:flex;align-items:center;gap:8px;margin-top:10px;flex-wrap:wrap}
.mw-cat-topic-actions .mw-btn{min-height:33px;padding:0 12px;font-size:.66rem}
.mw-guidance-hint{margin:2px 0 10px;color:var(--muted);font-size:.73rem;line-height:1.55}
#mw-cat-guidance-search{width:100%;margin:2px 0 10px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:11px;font:inherit;background:#fff}
.mw-guidance-list{display:grid;gap:7px;max-height:46vh;overflow:auto;padding:3px 2px}
.mw-guidance-row{display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:center;padding:9px 11px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;text-align:left}
.mw-guidance-row:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.mw-guidance-row.checked{border-color:rgba(54,95,80,.45);background:#f2f7f3}
.mw-guidance-order{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:9px;background:#173f34;color:#fff;font-size:.67rem;font-weight:800}
.mw-guidance-row:not(.checked) .mw-guidance-order{background:#e7ece8;color:#6f7e76}
.mw-guidance-row strong{display:block;font-size:.79rem;color:var(--ink)}
.mw-guidance-row small{display:block;color:var(--muted);font-size:.65rem}
.mw-guidance-flag{font-size:.58rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#8a6520;background:#fdf4e3;border:1px solid #e3cd9c;border-radius:8px;padding:3px 7px;white-space:nowrap}
.mw-guidance-flag.live{color:#19683f;background:#e6f5ec;border-color:#b8ddc8}
.mw-guidance-actions{display:flex;align-items:center;gap:9px;margin-top:12px;flex-wrap:wrap}
.mw-guidance-actions .mw-guidance-count{margin-right:auto;color:var(--muted);font-size:.7rem}

/* ==========================================================================
   V16.2 — Drawer concern banner, top-picks toggle, bundle editor
   ========================================================================== */
.drawer-concern{margin:0 0 14px;padding:13px 15px;border:1px solid var(--line-strong);border-radius:15px;background:linear-gradient(135deg,#fbf8f1,#f2f7f3)}
.drawer-concern-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.drawer-concern-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;font-size:.62rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}
.drawer-concern-badge.review{background:var(--review-soft);color:var(--review);border:1px solid rgba(183,130,49,.3)}
.drawer-concern-badge.medical{background:var(--medical-soft);color:var(--medical);border:1px solid rgba(166,93,86,.3)}
.drawer-concern-badge.wellness{background:var(--wellness-soft);color:var(--wellness);border:1px solid rgba(77,136,114,.3)}
.drawer-concern-text{margin:9px 0 0;color:var(--ink);font-size:.82rem;line-height:1.6}
.drawer-concern-safety{margin:8px 0 0;color:#7c6a3e;font-size:.7rem;line-height:1.55;border-top:1px dashed rgba(53,84,70,.2);padding-top:8px}
.drawer-concern-toggle{border:1px solid var(--line-strong);border-radius:999px;background:#fff;color:var(--sage-700);padding:7px 13px;font:inherit;font-size:.68rem;font-weight:800;cursor:pointer}
.drawer-concern-toggle:hover{background:var(--sage-50)}
.mw-bundle-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:2px 0 10px}
.mw-bundle-fields label{display:grid;gap:5px;font-size:.66rem;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.mw-bundle-fields input{padding:10px 12px;border:1px solid var(--line-strong);border-radius:11px;font:inherit;background:#fff}
#mw-cat-bundle-search{width:100%;margin:2px 0 10px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:11px;font:inherit;background:#fff}
.mw-guidance-row .mw-bundle-state{font-size:.6rem;font-weight:850;letter-spacing:.05em;text-transform:uppercase;border-radius:8px;padding:4px 9px;white-space:nowrap;border:1px solid var(--line)}
.mw-guidance-row .mw-bundle-state.core{background:#173f34;color:#fff;border-color:#173f34}
.mw-guidance-row .mw-bundle-state.optional{background:var(--gold-soft);color:#8a6520;border-color:#e3cd9c}
@media(max-width:680px){.mw-bundle-fields{grid-template-columns:1fr}}

/* V16.3 — banner focus chips + guidance-dialog product CTA */
.drawer-concern-focus{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.drawer-concern-focus span{background:#fff;border:1px solid var(--line-strong);border-radius:999px;padding:5px 11px;font-size:.64rem;font-weight:700;color:var(--sage-700)}
.guidance-dialog-products{display:inline-flex;align-items:center;justify-content:center;margin-top:12px;min-height:44px;padding:0 18px;border:none;border-radius:13px;background:#173f34;color:#fff;font:inherit;font-size:.74rem;font-weight:850;cursor:pointer}
.guidance-dialog-products:hover{background:#1d5245}

/* V16.5 — visible build check + topic hide state */
.mw-cat-buildcheck{grid-column:1/-1;display:grid;gap:6px;padding:12px 14px;border:1px solid var(--line-strong);border-radius:13px;background:#f2f7f3}
.mw-cat-buildcheck span{display:flex;flex-wrap:wrap;gap:6px}
.mw-cat-buildcheck em{font-style:normal;font-size:.64rem;font-weight:800;border-radius:999px;padding:4px 10px;border:1px solid var(--line)}
.mw-cat-buildcheck em.ok{background:#e6f5ec;color:#19683f;border-color:#b8ddc8}
.mw-cat-buildcheck em.missing{background:#fdecea;color:#a64d43;border-color:#eec3bd}
.mw-cat-structure-card.disabled{opacity:.55}
.mw-cat-structure-card.disabled header h4::after{content:' · hidden';font-size:.62rem;color:var(--medical)}

/* V16.6 — guidance lives fully in the drawer; sidebar keeps only the pointer */
#medicalGuidance p,#medicalGuidance .guidance-label,#medicalGuidance .improvement-list,#medicalGuidance .monitor-list,#medicalGuidance .full-guidance-button{display:none}
.drawer-concern-title{display:block;margin-top:9px;font-size:1.08rem;font-weight:850;color:var(--ink)}
.drawer-concern-label{display:block;margin-top:12px;font-size:.6rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.drawer-concern-text{margin:5px 0 0}
.drawer-concern-focus div,.drawer-concern-monitors div{font-size:.79rem;color:var(--ink);line-height:1.7;padding:1px 0}
.drawer-concern-close{border:none;background:transparent;font-size:1.25rem;color:var(--muted);cursor:pointer;line-height:1;padding:2px 9px;border-radius:9px}
.drawer-concern-close:hover{background:rgba(23,63,52,.07);color:var(--ink)}
.drawer-concern-restore{margin:0 0 14px;border:1px solid var(--line-strong);border-radius:999px;background:#fff;color:var(--sage-700);padding:8px 15px;font:inherit;font-size:.68rem;font-weight:800;cursor:pointer}
.drawer-concern-restore:hover{background:var(--sage-50)}

/* V16.7 — topic creation dialog + add card */
.mw-cat-add-card{border-style:dashed;background:#fbfaf6}
.mw-topic-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 8px}
.mw-topic-fields label,.mw-topic-wide{display:grid;gap:5px;font-size:.64rem;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.mw-topic-wide{margin:8px 0 0}
.mw-topic-fields input,.mw-topic-fields select,.mw-topic-wide input,.mw-topic-wide textarea{padding:10px 12px;border:1px solid var(--line-strong);border-radius:11px;font:inherit;background:#fff;text-transform:none;letter-spacing:normal;font-weight:500}
.mw-topic-wide textarea{min-height:64px;resize:vertical}
#productDrawer:focus{outline:none}
@media(max-width:680px){.mw-topic-fields{grid-template-columns:1fr}}

/* ========================================================================== 
   V16.8 — Wellness Explorer focus
   Guided entry points, live search, richer product cards, comparison and
   a compact support control that no longer covers Explorer recommendations.
   ========================================================================== */

#mw-view-explorer .search-region { position: relative; }
.explorer-search-suggestions {
  position: absolute;
  z-index: 90;
  inset: calc(100% + 7px) 0 auto;
  overflow: hidden;
  border: 1px solid rgba(43,75,63,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 45px rgba(27,54,44,.17);
  backdrop-filter: blur(18px);
}
.explorer-search-suggestions[hidden] { display: none !important; }
.explorer-search-suggestions button {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid rgba(43,75,63,.08);
  background: transparent;
  color: #244a3d;
  text-align: left;
}
.explorer-search-suggestions button:last-child { border-bottom: 0; }
.explorer-search-suggestions button:hover,
.explorer-search-suggestions button.active { background: #f2f7f3; }
.search-suggestion-type {
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 7px;
  color: #46695b;
  background: #edf4ef;
  font-size: .54rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.search-suggestion-type.guidance { color: #835b1b; background: #fff3dc; }
.search-suggestion-type.product { color: #32626a; background: #e7f3f5; }
.explorer-search-suggestions strong { display: block; font-size: .72rem; }
.explorer-search-suggestions small { display: block; margin-top: 3px; color: var(--muted); font-size: .59rem; }
.explorer-search-suggestions b { color: #6b8378; font-size: .85rem; }

.explorer-quick-start {
  display: grid;
  grid-template-columns: minmax(230px,.78fr) minmax(0,2.22fr);
  gap: 18px;
  align-items: center;
  margin: 0 0 13px;
  padding: 15px 16px;
  border: 1px solid rgba(48,80,68,.12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(245,249,245,.92), rgba(255,250,240,.9));
  box-shadow: 0 8px 22px rgba(38,66,55,.055);
}
.explorer-quick-start-kicker {
  display: block;
  color: #a2762f;
  font-size: .57rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.explorer-quick-start h2 {
  margin: 5px 0 4px;
  color: #173f34;
  font: 600 1.05rem/1.18 Georgia,serif;
}
.explorer-quick-start p {
  margin: 0;
  color: var(--muted);
  font-size: .64rem;
  line-height: 1.45;
}
.explorer-quick-start-actions {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 8px;
}
.explorer-quick-start-actions button {
  position: relative;
  min-width: 0;
  min-height: 72px;
  padding: 10px 9px 9px;
  border: 1px solid rgba(42,76,63,.12);
  border-radius: 13px;
  background: rgba(255,255,255,.78);
  color: #315c4c;
  text-align: left;
  transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.explorer-quick-start-actions button:hover {
  transform: translateY(-2px);
  border-color: rgba(43,94,72,.27);
  background: #fff;
  box-shadow: 0 10px 22px rgba(40,70,58,.09);
}
.explorer-quick-start-actions button>span {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 20px;
  border-radius: 7px;
  color: #7b5a23;
  background: #fff1d5;
  font-size: .5rem;
  font-weight: 900;
}
.explorer-quick-start-actions strong { display: block; margin-top: 6px; font-size: .67rem; line-height: 1.15; }
.explorer-quick-start-actions small { display: block; margin-top: 3px; color: var(--muted); font-size: .52rem; line-height: 1.3; }

/* Registration remains visible, but product discovery owns the visual hierarchy. */
#mw-view-explorer .apc-invite-strip {
  min-height: 0;
  margin-bottom: 13px;
  padding: 13px 16px;
  border-radius: 17px;
}
#mw-view-explorer .apc-invite-strip h2 { margin: 3px 0; font-size: 1.15rem; }
#mw-view-explorer .apc-invite-strip p { max-width: 850px; font-size: .67rem; line-height: 1.45; }
#mw-view-explorer .apc-invite-actions a,
#mw-view-explorer .apc-invite-actions button { min-height: 35px; padding: 0 12px; font-size: .63rem; }

.catalogue-all-products {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  width: 100%;
  margin-bottom: 11px;
  padding: 10px;
  border: 1px solid rgba(46,82,68,.15);
  border-radius: 13px;
  background: linear-gradient(135deg,#eef6f0,#fffaf0);
  color: #244e3e;
  text-align: left;
}
.catalogue-all-products strong { display: block; font-size: .65rem; }
.catalogue-all-products small { display: block; margin-top: 2px; color: var(--muted); font-size: .51rem; }
.catalogue-all-products b {
  display: grid;
  place-items: center;
  min-width: 31px;
  height: 25px;
  border-radius: 999px;
  color: #fff;
  background: #315f4d;
  font-size: .55rem;
}
#catalogueNav .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
#catalogueNav .nav-link b {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  color: #62786e;
  background: rgba(49,95,77,.08);
  font-size: .48rem;
}
#catalogueNav .nav-link.active b { color: #fff; background: rgba(255,255,255,.2); }

#mw-view-explorer .product-toolbar {
  display: grid;
  grid-template-columns: minmax(185px,1fr) minmax(155px,.72fr) minmax(145px,.65fr) minmax(170px,.7fr) auto;
  gap: 10px;
  align-items: end;
}
#mw-view-explorer .product-result-meta { grid-column: 1 / -1; }
#mw-view-explorer .product-toolbar label { min-width: 0; }
#mw-view-explorer .product-toolbar input,
#mw-view-explorer .product-toolbar select { width: 100%; }
.product-filter-clear {
  min-height: 37px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8f8f4;
  color: #536c61;
  font-size: .6rem;
  font-weight: 800;
}
.product-results-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.product-results-footer span { color: var(--muted); font-size: .63rem; }
.product-results-footer button {
  min-height: 37px;
  padding: 0 14px;
  border: 1px solid #315f4d;
  border-radius: 10px;
  background: #315f4d;
  color: #fff;
  font-size: .62rem;
  font-weight: 850;
}

#mw-view-explorer .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.product-card-enhanced { min-height: 440px; display: flex; flex-direction: column; }
.product-card-enhanced .product-art { height: 132px; }
.product-availability {
  position: absolute;
  z-index: 4;
  top: 9px;
  right: 9px;
  border: 1px solid rgba(43,78,64,.12);
  border-radius: 999px;
  padding: 4px 7px;
  color: #326248;
  background: rgba(244,251,246,.92);
  font-size: .5rem;
  font-weight: 850;
}
.product-availability.limited { color: #855c1d; background: #fff5df; }
.product-availability.out-of-stock { color: #8a514b; background: #faecea; }
.product-card-enhanced .product-content { display: flex; flex: 1; flex-direction: column; }
.product-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: -1px 0 8px;
}
.product-card-meta span {
  border-radius: 999px;
  padding: 4px 6px;
  color: #687c72;
  background: #f2f5f1;
  font-size: .5rem;
}
.product-card-enhanced p { min-height: 38px; }
.product-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
}
.product-price-row>span {
  padding: 8px;
  border: 1px solid rgba(49,83,69,.1);
  border-radius: 10px;
  background: #fafaf7;
}
.product-price-row>span.apc { border-color: rgba(45,116,80,.18); background: #f0f8f3; }
.product-price-row small { display: block; color: #74867d; font-size: .48rem; }
.product-price-row strong { display: block; margin-top: 3px; color: #294e40; font-size: .66rem; }
.product-price-row .apc strong { color: #1d6b43; }
.product-card-enhanced .product-reason { margin-top: 10px; min-height: 33px; }
.product-card-enhanced .product-status { margin-top: 8px; }
.product-actions-enhanced { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; padding-top: 11px; }
.product-actions-enhanced .purchase-trigger { grid-column: 1 / -1; }
.product-compare-toggle.selected { border-color: #b58940 !important; color: #745119 !important; background: #fff6e4 !important; }

#productModal { width: min(840px,calc(100% - 28px)); }
#productModal .modal-grid { grid-template-columns: 180px minmax(0,1fr); }
.modal-product-facts,
.modal-price-panel {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 7px;
  margin-top: 12px;
}
.modal-product-facts>div,
.modal-price-panel>div {
  padding: 9px;
  border: 1px solid rgba(49,83,69,.1);
  border-radius: 10px;
  background: #fafaf7;
}
.modal-product-facts small,
.modal-price-panel small { display: block; color: #74867d; font-size: .49rem; text-transform: uppercase; letter-spacing: .04em; }
.modal-product-facts strong,
.modal-price-panel strong { display: block; margin-top: 4px; color: #294e40; font-size: .66rem; line-height: 1.25; }
.modal-price-panel { grid-template-columns: repeat(3,minmax(0,1fr)); }
.modal-price-panel>div.apc { border-color: rgba(45,116,80,.2); background: #eff8f3; }
.modal-price-panel>div.apc strong { color: #1d6b43; }
.modal-description-block { margin-top: 14px; }
.modal-description-block h3 { margin: 0; color: #294e40; font-size: .72rem; }
.modal-description-block p { margin: 5px 0 0; }
.modal-verification {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 11px;
  border: 1px solid rgba(171,126,54,.18);
  border-radius: 11px;
  background: #fff8eb;
}
.modal-verification strong { color: #75521c; font-size: .65rem; }
.modal-verification span { color: #77684e; font-size: .59rem; line-height: 1.45; }
.modal-secondary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.modal-secondary-actions button,
.modal-secondary-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8f8f4;
  color: #496457;
  text-decoration: none;
  font-size: .62rem;
  font-weight: 800;
}
.modal-secondary-actions a { color: #fff; background: #315f4d; border-color: #315f4d; }

.product-compare-bar {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(760px,calc(100% - 140px));
  padding: 12px 14px;
  border: 1px solid rgba(45,84,68,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 48px rgba(26,51,42,.22);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}
.product-compare-bar[hidden] { display: none !important; }
.product-compare-bar>div:first-child { min-width: 0; }
.product-compare-bar span { display: block; color: #a2762f; font-size: .52rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.product-compare-bar strong { display: block; margin-top: 2px; color: #173f34; font-size: .72rem; }
.product-compare-bar small { display: block; overflow: hidden; margin-top: 2px; color: var(--muted); font-size: .56rem; text-overflow: ellipsis; white-space: nowrap; }
.product-compare-bar-actions { display: flex; flex: 0 0 auto; gap: 7px; }
.product-compare-bar-actions button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8f8f4;
  color: #496457;
  font-size: .59rem;
  font-weight: 850;
}
.product-compare-bar-actions button:first-child { color: #fff; background: #315f4d; border-color: #315f4d; }
.product-compare-bar-actions button:disabled { opacity: .45; cursor: not-allowed; }
body.mw-compare-active { padding-bottom: 84px; }

.product-compare-dialog { width: min(1120px,calc(100% - 28px)); }
.product-compare-intro { margin: 10px 0 16px; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.product-compare-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.product-compare-card {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg,#fff,var(--product-soft,#f4f6f2));
}
.product-compare-remove { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 9px; background: rgba(255,255,255,.8); color: #6d7d76; }
.product-compare-mark { display: grid; place-items: center; width: 42px; height: 56px; margin-bottom: 9px; border: 1px solid rgba(49,83,69,.12); border-radius: 9px 9px 11px 11px; color: var(--product); background: #fff; font: 800 .62rem Georgia,serif; }
.product-compare-category { color: #527065; font-size: .5rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.product-compare-card h3 { margin: 6px 0; font: 600 .9rem/1.2 Georgia,serif; }
.product-compare-card>p { min-height: 42px; margin: 0; color: var(--muted); font-size: .61rem; line-height: 1.45; }
.product-compare-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.compare-fact { padding: 8px; border: 1px solid rgba(49,83,69,.1); border-radius: 9px; background: rgba(255,255,255,.72); }
.compare-fact.apc { border-color: rgba(45,116,80,.2); background: #eff8f3; }
.compare-fact small { display: block; color: #73857c; font-size: .46rem; }
.compare-fact strong { display: block; margin-top: 3px; color: #294e40; font-size: .61rem; line-height: 1.25; }
.product-compare-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 11px; }
.product-compare-actions button,
.product-compare-dialog-actions button { min-height: 36px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #496457; font-size: .58rem; font-weight: 800; }
.product-compare-actions button:last-child { color: #fff; background: #315f4d; border-color: #315f4d; }
.product-compare-dialog-actions { display: flex; justify-content: flex-end; margin-top: 13px; }
.product-compare-dialog-actions button { padding: 0 13px; }

/* The global support contact stays available without covering recommendations. */
body[data-mw-route="explorer"] .mw-whatsapp-support,
body:has(#mw-view-explorer.active) .mw-whatsapp-support {
  right: 14px !important;
  bottom: 16px !important;
  width: 50px !important;
  height: 50px !important;
  padding: 0 !important;
  border-radius: 15px !important;
  justify-content: center !important;
}
body[data-mw-route="explorer"] .mw-whatsapp-support .mw-floating-whatsapp-copy,
body:has(#mw-view-explorer.active) .mw-whatsapp-support .mw-floating-whatsapp-copy {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
}

@media (max-width: 1180px) {
  .explorer-quick-start { grid-template-columns: 1fr; }
  .explorer-quick-start-actions { grid-template-columns: repeat(5,minmax(130px,1fr)); overflow-x: auto; padding-bottom: 4px; }
  .explorer-quick-start-actions button { scroll-snap-align: start; }
  #mw-view-explorer .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #mw-view-explorer .product-toolbar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #mw-view-explorer .product-result-meta { grid-column: 1 / -1; }
  .product-filter-clear { align-self: stretch; }
}
@media (max-width: 760px) {
  .explorer-quick-start { padding: 13px; }
  .explorer-quick-start-actions { grid-template-columns: repeat(5,minmax(145px,72vw)); scroll-snap-type: x proximity; }
  #mw-view-explorer .apc-invite-strip { padding: 14px; }
  #mw-view-explorer .product-toolbar { grid-template-columns: 1fr; }
  #mw-view-explorer .product-result-meta { grid-column: auto; }
  #mw-view-explorer .product-grid { grid-template-columns: 1fr; }
  .product-card-enhanced { min-height: 0; }
  .product-results-footer { align-items: stretch; flex-direction: column; }
  .product-results-footer button { width: 100%; }
  #productModal .modal-grid { grid-template-columns: 1fr; }
  #productModal .modal-product-art { min-height: 140px; }
  .modal-product-facts { grid-template-columns: 1fr 1fr; }
  .modal-price-panel { grid-template-columns: 1fr; }
  .modal-secondary-actions { grid-template-columns: 1fr; }
  .product-compare-bar { left: 10px; right: 10px; bottom: calc(74px + env(safe-area-inset-bottom,0px)); width: auto; transform: none; }
  .product-compare-bar small { max-width: 48vw; }
  .product-compare-grid { grid-template-columns: 1fr; }
  body.mw-compare-active { padding-bottom: 150px; }
  body[data-mw-route="explorer"] .mw-whatsapp-support,
  body:has(#mw-view-explorer.active) .mw-whatsapp-support { bottom: calc(138px + env(safe-area-inset-bottom,0px)) !important; }
}
@media (max-width: 480px) {
  .explorer-search-suggestions button { grid-template-columns: 62px minmax(0,1fr) auto; }
  .product-price-row { grid-template-columns: 1fr; }
  .product-actions-enhanced { grid-template-columns: 1fr; }
  .product-actions-enhanced .purchase-trigger { grid-column: auto; }
  .product-compare-bar { align-items: stretch; flex-direction: column; }
  .product-compare-bar-actions button { flex: 1; }
  .product-compare-bar-actions { width: 100%; }
}

/* Contextual support replaces the floating overlay inside Wellness Explorer. */
#mw-view-explorer .drawer-controls { display: flex; align-items: center; gap: 8px; }
#mw-view-explorer .drawer-support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(31,139,81,.2);
  border-radius: 10px;
  color: #1d6b43;
  background: #eff9f3;
  text-decoration: none;
  font-size: .58rem;
  font-weight: 850;
}
body[data-mw-route="explorer"] .mw-whatsapp-support,
body:has(#mw-view-explorer.active) .mw-whatsapp-support { display: none !important; }
@media (max-width: 620px) {
  #mw-view-explorer .drawer-controls { flex-wrap: wrap; justify-content: flex-end; }
  #mw-view-explorer .drawer-support-link { order: 3; width: 100%; }
}

/* V17.1 — backend content is not rendered to non-owners (no pre-login peek) */
body:not([data-mw-owner="1"]) [data-mw-view="backend"] .mw-backend-main,
body:not([data-mw-owner="1"]) [data-mw-view="backend"] [data-be-panel]{display:none !important}
body:not([data-mw-owner="1"]) [data-mw-view="backend"] .mw-backend-tabs{opacity:.35;pointer-events:none}
body:not([data-mw-owner="1"]) .mw-backend-locked{display:block}
.mw-backend-locked{display:none;margin:18px 0;padding:20px 22px;border:1px solid var(--line-strong);border-radius:16px;background:#fbf8f1;color:var(--muted);font-size:.9rem}
.mw-backend-locked strong{display:block;color:var(--ink);font-size:1.05rem;margin-bottom:6px}


/* V17.3 — interaction recovery and deterministic admin lock state */
[hidden]{display:none!important}
.mw-dialog-tabs button,.mw-backend-tab{cursor:pointer}
.mw-dialog-tabs button{position:relative;z-index:1}
.mw-backend-sidebar{isolation:isolate}
.mw-backend-tab{position:relative;z-index:2;pointer-events:auto}
body[data-mw-app="admin"][data-mw-owner="0"] #mw-backend-shell{display:none!important}
body[data-mw-app="admin"][data-mw-owner="0"] #mw-backend-locked{display:grid!important}
body[data-mw-app="admin"][data-mw-owner="1"] #mw-backend-shell{display:grid!important}
body[data-mw-app="admin"][data-mw-owner="1"] #mw-backend-locked{display:none!important}
body[data-mw-app="admin"] #mw-backend-locked{
  min-height:360px;place-items:center;text-align:center;padding:42px 24px;
  border:1px solid rgba(42,79,66,.16);border-radius:22px;
  background:linear-gradient(145deg,#fffdf8,#f1f6f1);box-shadow:0 18px 50px rgba(31,64,52,.08)
}
body[data-mw-app="admin"] #mw-backend-locked .mw-admin-lock-inner{max-width:560px}
body[data-mw-app="admin"] #mw-backend-locked .mw-admin-lock-kicker{display:inline-flex;padding:5px 9px;border-radius:999px;background:#e8f2ea;color:#35604f;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
body[data-mw-app="admin"] #mw-backend-locked h2{margin:14px 0 8px}
body[data-mw-app="admin"] #mw-backend-locked p{margin:0 auto 18px;line-height:1.65}
body[data-mw-app="admin"] #mw-backend-locked .mw-admin-lock-status{display:block;margin-top:12px;color:#73847c;font-size:10px}
\n/* v17.5 account detection before OTP */
.mw-auth-account-check{display:flex;align-items:flex-start;gap:10px;margin:10px 0 2px;padding:11px 12px;border:1px solid rgba(40,76,63,.14);border-radius:12px;background:#f6f9f6;color:#355e50}
.mw-auth-account-check[hidden]{display:none!important}
.mw-auth-account-dot{flex:0 0 9px;width:9px;height:9px;margin-top:4px;border-radius:50%;background:#7c9188;box-shadow:0 0 0 4px rgba(124,145,136,.12)}
.mw-auth-account-check strong{display:block;margin:0;color:#173f34;font-size:11px;line-height:1.25}
.mw-auth-account-check small{display:block;margin-top:3px;color:#60756c;font-size:10px;line-height:1.45}
.mw-auth-account-check[data-state="checking"] .mw-auth-account-dot{background:#c99743;animation:mwAccountPulse 1s ease-in-out infinite}
.mw-auth-account-check[data-state="ready"]{border-color:rgba(35,135,79,.22);background:#f0faf4}.mw-auth-account-check[data-state="ready"] .mw-auth-account-dot,.mw-auth-account-check[data-state="sent"] .mw-auth-account-dot{background:#23874f}
.mw-auth-account-check[data-state="switch"]{border-color:rgba(197,143,55,.28);background:#fff8ea}.mw-auth-account-check[data-state="switch"] .mw-auth-account-dot{background:#c58f37}
.mw-auth-account-check[data-state="blocked"]{border-color:rgba(174,75,66,.25);background:#fff4f2}.mw-auth-account-check[data-state="blocked"] .mw-auth-account-dot{background:#ae4b42}
@keyframes mwAccountPulse{50%{opacity:.45;transform:scale(.8)}}
@media(prefers-reduced-motion:reduce){.mw-auth-account-check[data-state="checking"] .mw-auth-account-dot{animation:none}}


/* ========================================================================== 
   V17.7 — COMMUNITY HTML POLISH
   Visual-only release: no API, SQL, OTP, catalogue or account-gate changes.
   ========================================================================== */

:root{
  --mw77-forest:#143c31;
  --mw77-forest-2:#1f5847;
  --mw77-sage:#78998a;
  --mw77-sage-soft:#edf4ef;
  --mw77-gold:#c79949;
  --mw77-gold-soft:#fbf0d8;
  --mw77-cream:#f8f4eb;
  --mw77-paper:#fffdfa;
  --mw77-ink:#18372d;
  --mw77-muted:#667a70;
  --mw77-line:rgba(30,78,62,.13);
  --mw77-line-strong:rgba(30,78,62,.22);
  --mw77-shadow-sm:0 8px 24px rgba(27,64,51,.06);
  --mw77-shadow-md:0 18px 50px rgba(27,64,51,.09);
  --mw77-shadow-lg:0 34px 90px rgba(20,52,42,.16);
  --mw77-radius-sm:12px;
  --mw77-radius-md:18px;
  --mw77-radius-lg:26px;
  --mw77-radius-xl:34px;
}

html{scroll-padding-top:92px}
body.mw-community-polish-v17-7{
  color:var(--mw77-ink);
  background:
    radial-gradient(circle at 4% 0%,rgba(198,218,203,.52),transparent 34rem),
    radial-gradient(circle at 95% 6%,rgba(238,215,170,.32),transparent 34rem),
    linear-gradient(180deg,#fbf9f4 0%,#f4eee4 100%);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.mw-community-polish-v17-7::before{
  content:'';
  position:fixed;
  inset:72px 0 auto;
  height:1px;
  z-index:899;
  background:linear-gradient(90deg,transparent,rgba(199,153,73,.28),transparent);
  pointer-events:none;
}

/* Global navigation */
.mw-community-polish-v17-7 .mw-global-nav{
  height:78px;
  padding-inline:clamp(18px,4.2vw,68px);
  border-bottom:1px solid rgba(30,78,62,.10);
  background:rgba(255,253,249,.88);
  box-shadow:0 10px 34px rgba(24,63,50,.075);
  backdrop-filter:blur(22px) saturate(1.18);
}
.mw-community-polish-v17-7{padding-top:78px}
.mw-community-polish-v17-7 .mw-brand{gap:12px}
.mw-community-polish-v17-7 .mw-brand-mark{
  width:44px;height:44px;
  border:1px solid rgba(199,153,73,.42);
  background:linear-gradient(145deg,#fffdf7,#f4e9d4);
  box-shadow:inset 0 1px 0 #fff,0 7px 18px rgba(130,96,40,.08)
}
.mw-community-polish-v17-7 .mw-brand-copy strong{
  color:var(--mw77-forest);
  font-size:19px;
  letter-spacing:-.02em
}
.mw-community-polish-v17-7 .mw-brand-copy small{
  color:#708278;
  font-size:9px;
  letter-spacing:.09em
}
.mw-community-polish-v17-7 .mw-nav-links{
  gap:5px;
  padding:5px;
  border-color:rgba(30,78,62,.11);
  background:rgba(241,244,238,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)
}
.mw-community-polish-v17-7 .mw-nav-link{
  min-height:36px;
  padding:9px 17px;
  color:#567267;
  transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease
}
.mw-community-polish-v17-7 .mw-nav-link:hover{transform:translateY(-1px)}
.mw-community-polish-v17-7 .mw-nav-link.active{
  background:linear-gradient(180deg,#1e5141,#143c31);
  box-shadow:0 8px 20px rgba(20,60,49,.20)
}
.mw-community-polish-v17-7 .mw-free-label{
  max-width:180px;
  color:#71837a;
  line-height:1.25;
  text-align:right
}
.mw-community-polish-v17-7 .mw-account-btn{
  min-height:38px;
  padding-inline:16px;
  border-color:rgba(30,78,62,.14);
  box-shadow:0 5px 16px rgba(28,64,52,.045);
  transition:.18s ease
}
.mw-community-polish-v17-7 .mw-account-btn:hover{transform:translateY(-1px);box-shadow:0 9px 20px rgba(28,64,52,.09)}

/* Shared page framing */
.mw-community-polish-v17-7 .mw-page{
  width:min(1320px,calc(100% - 44px));
  padding:48px 0 64px
}
.mw-community-polish-v17-7 .mw-page-head{
  align-items:center;
  margin-bottom:28px;
  padding:28px 30px;
  border:1px solid rgba(30,78,62,.10);
  border-radius:var(--mw77-radius-xl);
  background:
    radial-gradient(circle at 88% 15%,rgba(242,220,177,.26),transparent 19rem),
    linear-gradient(145deg,rgba(255,255,255,.86),rgba(247,247,241,.8));
  box-shadow:var(--mw77-shadow-md)
}
.mw-community-polish-v17-7 .mw-kicker{
  color:#a5742d;
  font-size:9px;
  letter-spacing:.15em
}
.mw-community-polish-v17-7 .mw-page-head h1{
  margin:10px 0 11px;
  color:var(--mw77-forest);
  font-size:clamp(38px,5vw,60px);
  line-height:.98;
  letter-spacing:-.045em
}
.mw-community-polish-v17-7 .mw-page-head p{
  max-width:760px;
  color:#61766c;
  font-size:14px;
  line-height:1.75
}
.mw-community-polish-v17-7 .mw-head-card{
  flex-basis:285px;
  border-color:rgba(30,78,62,.12);
  border-radius:20px;
  padding:18px;
  background:rgba(255,255,255,.76);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 10px 28px rgba(31,64,52,.055)
}
.mw-community-polish-v17-7 .mw-head-card strong{font-size:13px}
.mw-community-polish-v17-7 .mw-head-card small{font-size:11px;line-height:1.6}
.mw-community-polish-v17-7 .mw-toolbar{
  min-height:60px;
  padding:11px 14px;
  border-color:rgba(30,78,62,.11);
  border-radius:18px;
  background:rgba(255,253,250,.86);
  box-shadow:var(--mw77-shadow-sm)
}
.mw-community-polish-v17-7 .mw-search{
  min-height:40px;
  padding:0 10px;
  border-radius:12px;
  background:#f5f7f2
}
.mw-community-polish-v17-7 .mw-filter{
  min-height:34px;
  padding:8px 13px;
  border-color:rgba(30,78,62,.13);
  transition:.18s ease
}
.mw-community-polish-v17-7 .mw-filter:hover{transform:translateY(-1px);border-color:rgba(30,78,62,.24)}
.mw-community-polish-v17-7 .mw-filter.active{
  background:linear-gradient(180deg,#1f5544,#153d32);
  box-shadow:0 7px 18px rgba(20,60,49,.18)
}

/* Explorer shell */
.mw-community-polish-v17-7 #mw-view-explorer .app-shell{
  width:min(1520px,calc(100% - 44px));
  padding:24px 0 48px
}
.mw-community-polish-v17-7 #mw-view-explorer .topbar{
  grid-template-columns:255px minmax(0,1fr);
  gap:34px;
  padding:20px 24px;
  border:1px solid rgba(30,78,62,.10);
  border-radius:28px;
  background:rgba(255,253,249,.78);
  box-shadow:var(--mw77-shadow-sm)
}
.mw-community-polish-v17-7 #mw-view-explorer .brand-mark{color:#386a59}
.mw-community-polish-v17-7 #mw-view-explorer .brand-copy h1{
  color:var(--mw77-forest);
  font-size:2.3rem;
  line-height:.9
}
.mw-community-polish-v17-7 #mw-view-explorer .brand-copy p{
  margin-top:9px;
  color:#aa7730;
  font-size:.72rem;
  font-weight:750;
  letter-spacing:.08em;
  text-transform:uppercase
}
.mw-community-polish-v17-7 .search-form{
  min-height:58px;
  padding:8px 9px 8px 18px;
  border-color:rgba(30,78,62,.13);
  border-radius:18px;
  background:#fff;
  box-shadow:0 14px 34px rgba(28,64,52,.09)
}
.mw-community-polish-v17-7 .search-form input{font-size:14px}
.mw-community-polish-v17-7 .search-form button{
  min-width:118px;
  min-height:42px;
  border-radius:13px;
  background:linear-gradient(180deg,#2d6a56,#184536)
}
.mw-community-polish-v17-7 .explorer-search-suggestions{
  border-color:rgba(30,78,62,.12);
  border-radius:17px;
  box-shadow:0 24px 60px rgba(20,52,42,.18)
}

/* Explorer quick start */
.mw-community-polish-v17-7 .explorer-quick-start{
  margin-top:20px;
  padding:24px;
  border:1px solid rgba(30,78,62,.11);
  border-radius:30px;
  background:
    linear-gradient(135deg,rgba(238,246,241,.96),rgba(255,250,239,.92));
  box-shadow:var(--mw77-shadow-md)
}
.mw-community-polish-v17-7 .explorer-quick-start-copy{max-width:510px}
.mw-community-polish-v17-7 .explorer-quick-start-kicker{
  color:#9c6c27;
  font-size:.58rem;
  letter-spacing:.15em
}
.mw-community-polish-v17-7 .explorer-quick-start h2{
  margin-top:7px;
  color:var(--mw77-forest);
  font-size:clamp(24px,2.5vw,35px);
  letter-spacing:-.025em
}
.mw-community-polish-v17-7 .explorer-quick-start p{font-size:.78rem;line-height:1.65}
.mw-community-polish-v17-7 .explorer-quick-start-actions{
  gap:10px
}
.mw-community-polish-v17-7 .explorer-quick-start-actions button{
  min-height:116px;
  padding:16px;
  border-color:rgba(30,78,62,.11);
  border-radius:18px;
  background:rgba(255,255,255,.78);
  box-shadow:0 8px 22px rgba(28,64,52,.045);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease
}
.mw-community-polish-v17-7 .explorer-quick-start-actions button:hover{
  transform:translateY(-3px);
  border-color:rgba(30,78,62,.24);
  background:#fff;
  box-shadow:0 15px 34px rgba(28,64,52,.10)
}
.mw-community-polish-v17-7 .explorer-quick-start-actions button>span{
  width:28px;height:28px;
  border-radius:9px;
  background:#edf4ef;
  color:#2d6652;
  font-size:.62rem
}
.mw-community-polish-v17-7 .explorer-quick-start-actions strong{font-size:.72rem}
.mw-community-polish-v17-7 .explorer-quick-start-actions small{font-size:.56rem;line-height:1.4}

/* APC strip */
.mw-community-polish-v17-7 .apc-invite-strip{
  padding:24px 26px;
  border-color:rgba(199,153,73,.28);
  border-radius:28px;
  background:
    radial-gradient(circle at 100% 0%,rgba(222,239,229,.70),transparent 24rem),
    linear-gradient(135deg,#fff9ec,#fffdf8);
  box-shadow:var(--mw77-shadow-md)
}
.mw-community-polish-v17-7 .apc-invite-kicker{
  color:#9c6c27;
  font-size:.58rem;
  letter-spacing:.14em
}
.mw-community-polish-v17-7 .apc-invite-strip h2{
  max-width:760px;
  margin:5px 0 8px;
  color:var(--mw77-forest);
  font-size:clamp(24px,2.2vw,34px)
}
.mw-community-polish-v17-7 .apc-invite-strip p{font-size:12px;line-height:1.65}
.mw-community-polish-v17-7 .apc-invite-actions{gap:8px}
.mw-community-polish-v17-7 .apc-invite-actions a,
.mw-community-polish-v17-7 .apc-invite-actions button{
  min-height:42px;
  border-radius:13px;
  box-shadow:none;
  transition:.18s ease
}
.mw-community-polish-v17-7 .apc-invite-actions a:hover,
.mw-community-polish-v17-7 .apc-invite-actions button:hover{transform:translateY(-1px)}

/* Health guidance */
.mw-community-polish-v17-7 .health-card-section{
  margin-top:22px;
  padding:25px;
  border:1px solid rgba(30,78,62,.11);
  border-radius:30px;
  background:rgba(255,253,249,.88);
  box-shadow:var(--mw77-shadow-md)
}
.mw-community-polish-v17-7 .health-card-header{
  gap:24px;
  margin-bottom:16px
}
.mw-community-polish-v17-7 .health-card-eyebrow{
  color:#a2742d;
  font-size:.58rem;
  letter-spacing:.14em
}
.mw-community-polish-v17-7 .health-card-header h2{
  margin-top:6px;
  color:var(--mw77-forest);
  font-size:clamp(25px,2.4vw,34px)
}
.mw-community-polish-v17-7 .health-card-header p{max-width:760px;line-height:1.65}
.mw-community-polish-v17-7 .health-card-note{
  padding:8px 11px;
  border-radius:999px;
  background:#f2f6f1;
  color:#5d7469;
  font-size:.57rem;
  font-weight:800
}
.mw-community-polish-v17-7 .health-group-tabs{
  gap:5px;
  padding:5px;
  border:1px solid rgba(30,78,62,.11);
  background:#f1f4ef;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85)
}
.mw-community-polish-v17-7 .health-group-tab{
  min-height:37px;
  min-width:112px;
  transition:.18s ease
}
.mw-community-polish-v17-7 .health-group-tab.active{
  background:linear-gradient(180deg,#1f5544,#153d32)!important;
  box-shadow:0 8px 20px rgba(20,60,49,.18)
}
.mw-community-polish-v17-7 .health-group-tab[data-health-group="female"].active{
  background:linear-gradient(180deg,#936679,#74485d)!important
}
.mw-community-polish-v17-7 .health-group-tab[data-health-group="male"].active{
  background:linear-gradient(180deg,#557c87,#365f6c)!important
}
.mw-community-polish-v17-7 .health-subgroup-shell{
  margin:14px 0 18px;
  padding:11px 13px;
  border-color:rgba(30,78,62,.10);
  background:#fafbf8
}
.mw-community-polish-v17-7 .health-subgroup-tab{
  min-height:36px;
  border-radius:10px;
  transition:.18s ease
}
.mw-community-polish-v17-7 .health-subgroup-tab.active{
  border-color:rgba(199,153,73,.44);
  background:#fff7e6;
  box-shadow:0 6px 15px rgba(160,116,43,.09)
}
.mw-community-polish-v17-7 .health-guidance-group-title{
  margin-bottom:10px;
  color:#536e62;
  font-size:.63rem;
  letter-spacing:.08em;
  text-transform:uppercase
}
.mw-community-polish-v17-7 .health-card-grid{gap:10px}
.mw-community-polish-v17-7 .health-card{
  min-height:114px;
  padding:14px;
  border-color:rgba(30,78,62,.10);
  border-radius:17px;
  background:#fff;
  box-shadow:0 7px 18px rgba(28,64,52,.04);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease
}
.mw-community-polish-v17-7 .health-card:hover{
  transform:translateY(-2px);
  border-color:rgba(30,78,62,.21);
  box-shadow:0 14px 30px rgba(28,64,52,.09)
}
.mw-community-polish-v17-7 .health-card-icon{
  width:36px;height:36px;
  border-radius:11px
}
.mw-community-polish-v17-7 .health-card-copy strong{font-size:.71rem;line-height:1.25}
.mw-community-polish-v17-7 .health-card-copy small{line-height:1.4}
.mw-community-polish-v17-7 .health-risk-badge{border-radius:999px}

/* Workspace and panels */
.mw-community-polish-v17-7 .workspace{
  gap:16px;
  margin-top:22px
}
.mw-community-polish-v17-7 .panel{
  border-color:rgba(30,78,62,.10);
  border-radius:24px;
  background:rgba(255,253,249,.90);
  box-shadow:var(--mw77-shadow-sm)
}
.mw-community-polish-v17-7 .catalogue-nav{
  position:sticky;
  top:98px;
  max-height:calc(100vh - 116px);
  overflow:auto;
  scrollbar-width:thin
}
.mw-community-polish-v17-7 .catalogue-all-products{
  border-radius:14px;
  background:linear-gradient(135deg,#eef5ef,#faf6ec)
}
.mw-community-polish-v17-7 .nav-heading{
  color:#355e4f;
  font-size:.61rem;
  letter-spacing:.06em
}
.mw-community-polish-v17-7 .nav-link{
  min-height:32px;
  border-radius:9px;
  transition:.16s ease
}
.mw-community-polish-v17-7 .nav-link:hover{padding-left:13px;background:#f1f5f0}
.mw-community-polish-v17-7 .nav-link.active{
  background:linear-gradient(90deg,#e3efe7,#f7f6ef);
  color:#174335;
  font-weight:850
}
.mw-community-polish-v17-7 .body-map-panel,
.mw-community-polish-v17-7 .recommendation-panel{
  overflow:hidden
}
.mw-community-polish-v17-7 .body-stage{
  background:
    radial-gradient(circle at 50% 42%,rgba(213,232,220,.65),transparent 35%),
    linear-gradient(180deg,#fffdfa,#f6f7f1)
}
.mw-community-polish-v17-7 .selected-zone-card,
.mw-community-polish-v17-7 .bundle-suggestion{
  border-color:rgba(30,78,62,.11);
  border-radius:17px;
  box-shadow:0 8px 20px rgba(28,64,52,.045)
}

/* Product drawer, cards and comparison */
.mw-community-polish-v17-7 .product-drawer{
  border-color:rgba(30,78,62,.10);
  border-radius:28px;
  background:rgba(255,253,249,.96);
  box-shadow:var(--mw77-shadow-md)
}
.mw-community-polish-v17-7 .product-drawer-head{
  padding:22px 24px;
  border-bottom:1px solid rgba(30,78,62,.10)
}
.mw-community-polish-v17-7 .product-results-toolbar{
  padding:13px;
  border-radius:16px;
  background:#f6f8f4
}
.mw-community-polish-v17-7 .product-grid{gap:14px}
.mw-community-polish-v17-7 .product-card{
  border-color:rgba(30,78,62,.10);
  border-radius:20px;
  background:#fff;
  box-shadow:0 8px 24px rgba(28,64,52,.055);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease
}
.mw-community-polish-v17-7 .product-card:hover{
  transform:translateY(-4px);
  border-color:rgba(30,78,62,.20);
  box-shadow:0 18px 40px rgba(28,64,52,.11)
}
.mw-community-polish-v17-7 .product-art{
  min-height:150px;
  background:
    radial-gradient(circle at 50% 55%,rgba(215,231,220,.76),transparent 40%),
    linear-gradient(180deg,#fcfbf6,#f3f2ea)
}
.mw-community-polish-v17-7 .product-content{padding:16px}
.mw-community-polish-v17-7 .product-content h3{font-size:1rem;line-height:1.28}
.mw-community-polish-v17-7 .product-actions{gap:7px}
.mw-community-polish-v17-7 .product-actions button{
  min-height:38px;
  border-radius:11px
}
.mw-community-polish-v17-7 .explorer-compare-bar{
  border-color:rgba(30,78,62,.16);
  border-radius:18px;
  box-shadow:0 18px 45px rgba(20,52,42,.18)
}

/* Community */
.mw-community-polish-v17-7 .mw-general-grid{
  grid-template-columns:minmax(0,1.75fr) minmax(330px,.72fr);
  gap:22px
}
.mw-community-polish-v17-7 .mw-stack{gap:16px}
.mw-community-polish-v17-7 .mw-post{
  padding:24px;
  border-color:rgba(30,78,62,.10);
  border-radius:22px;
  box-shadow:var(--mw77-shadow-sm);
  transition:transform .18s ease,box-shadow .18s ease
}
.mw-community-polish-v17-7 .mw-post:hover{
  transform:translateY(-2px);
  box-shadow:0 17px 38px rgba(28,64,52,.09)
}
.mw-community-polish-v17-7 .mw-post::before{width:5px}
.mw-community-polish-v17-7 .mw-post-meta{margin-bottom:14px}
.mw-community-polish-v17-7 .mw-post-type{padding:6px 9px}
.mw-community-polish-v17-7 .mw-post h2{
  color:var(--mw77-forest);
  font-size:24px;
  letter-spacing:-.015em
}
.mw-community-polish-v17-7 .mw-post p{font-size:13px;line-height:1.75}
.mw-community-polish-v17-7 .mw-side-card{
  padding:21px;
  border-color:rgba(30,78,62,.10);
  border-radius:22px;
  background:linear-gradient(145deg,#fff,#f6f7f1);
  box-shadow:var(--mw77-shadow-sm)
}
.mw-community-polish-v17-7 .mw-side-card h3{
  color:var(--mw77-forest);
  font-size:22px;
  line-height:1.15
}
.mw-community-polish-v17-7 .mw-social-link-grid{gap:9px}
.mw-community-polish-v17-7 .mw-social-link-grid .mw-btn{
  min-height:48px;
  border-radius:12px
}
.mw-community-polish-v17-7 .mw-direct-support-card{
  border-color:rgba(31,139,81,.20);
  border-radius:18px;
  background:linear-gradient(135deg,#effaf4,#fff);
  box-shadow:0 10px 25px rgba(31,139,81,.07)
}
.mw-community-polish-v17-7 .mw-direct-support-action{
  min-height:42px;
  border-radius:12px;
  background:linear-gradient(180deg,#269a59,#168248)
}
.mw-community-polish-v17-7 .mw-coming{
  background:linear-gradient(145deg,#fff,#faf8f1)
}

/* Events */
.mw-community-polish-v17-7 .mw-event-principle{
  padding:17px 19px;
  border-color:rgba(199,153,73,.22);
  border-radius:20px;
  background:linear-gradient(145deg,#fff9ec,#f3f7f2);
  box-shadow:var(--mw77-shadow-sm)
}
.mw-community-polish-v17-7 .mw-event-flow{gap:11px}
.mw-community-polish-v17-7 .mw-flow-step{
  min-height:92px;
  padding:16px 14px 14px 48px;
  border-color:rgba(30,78,62,.10);
  border-radius:17px;
  box-shadow:0 7px 18px rgba(28,64,52,.035)
}
.mw-community-polish-v17-7 .mw-flow-step b{
  background:linear-gradient(180deg,#255d4b,#153d32)
}
.mw-community-polish-v17-7 .mw-event-summary{gap:11px}
.mw-community-polish-v17-7 .mw-summary-card{
  border-color:rgba(30,78,62,.10);
  border-radius:16px;
  box-shadow:0 7px 18px rgba(28,64,52,.035)
}
.mw-community-polish-v17-7 .mw-events-grid{gap:18px}
.mw-community-polish-v17-7 .mw-event{
  border-color:rgba(30,78,62,.10);
  border-radius:23px;
  box-shadow:var(--mw77-shadow-sm);
  transition:transform .2s ease,box-shadow .2s ease
}
.mw-community-polish-v17-7 .mw-event:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 40px rgba(28,64,52,.10)
}
.mw-community-polish-v17-7 .mw-event-top{min-height:184px;padding:21px}
.mw-community-polish-v17-7 .mw-event h2{
  color:var(--mw77-forest);
  font-size:23px
}
.mw-community-polish-v17-7 .mw-event-body{padding:19px}
.mw-community-polish-v17-7 .mw-event-meta div{border-radius:12px}
.mw-community-polish-v17-7 .mw-event-actions .mw-btn{min-height:40px}
.mw-community-polish-v17-7 .mw-my-events{
  border-color:rgba(30,78,62,.10);
  border-radius:23px;
  box-shadow:var(--mw77-shadow-sm)
}

/* Buttons and forms */
.mw-community-polish-v17-7 .mw-btn{
  min-height:40px;
  border-color:rgba(30,78,62,.13);
  border-radius:12px;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.mw-community-polish-v17-7 .mw-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(28,64,52,.08)}
.mw-community-polish-v17-7 .mw-btn.primary{
  background:linear-gradient(180deg,#205441,#143c31);
  box-shadow:0 8px 18px rgba(20,60,49,.16)
}
.mw-community-polish-v17-7 .mw-btn.gold{
  background:linear-gradient(180deg,#d0a455,#b88636)
}
.mw-community-polish-v17-7 .mw-field label{color:#5f746a}
.mw-community-polish-v17-7 .mw-field input,
.mw-community-polish-v17-7 .mw-field select,
.mw-community-polish-v17-7 .mw-field textarea{
  min-height:43px;
  border-color:rgba(30,78,62,.14);
  border-radius:12px;
  background:#fffdfb
}
.mw-community-polish-v17-7 .mw-field input:focus,
.mw-community-polish-v17-7 .mw-field select:focus,
.mw-community-polish-v17-7 .mw-field textarea:focus{
  border-color:#6c9482;
  box-shadow:0 0 0 4px rgba(108,148,130,.12)
}

/* Authentication dialog */
.mw-community-polish-v17-7 .mw-dialog{
  width:min(590px,calc(100% - 28px));
  border-radius:28px;
  background:#fffdfa;
  box-shadow:0 40px 110px rgba(15,44,35,.28)
}
.mw-community-polish-v17-7 .mw-dialog::backdrop{
  background:rgba(18,37,31,.48);
  backdrop-filter:blur(8px) saturate(.9)
}
.mw-community-polish-v17-7 .mw-dialog-inner{padding:28px}
.mw-community-polish-v17-7 .mw-dialog-head{
  align-items:flex-start;
  margin-bottom:20px
}
.mw-community-polish-v17-7 .mw-dialog-head h2{
  color:var(--mw77-forest);
  font-size:32px;
  letter-spacing:-.025em
}
.mw-community-polish-v17-7 .mw-dialog-tabs{
  gap:5px;
  padding:5px;
  border:1px solid rgba(30,78,62,.09);
  border-radius:14px;
  background:#eef2ed
}
.mw-community-polish-v17-7 .mw-dialog-tabs button{
  min-height:40px;
  border-radius:11px
}
.mw-community-polish-v17-7 .mw-dialog-tabs button.active{
  color:var(--mw77-forest);
  box-shadow:0 6px 16px rgba(28,64,52,.08)
}
.mw-community-polish-v17-7 .mw-auth-account-check{
  border-radius:14px
}
.mw-community-polish-v17-7 .mw-otp-panel{
  border-radius:14px;
  background:#f0f6f1
}
.mw-community-polish-v17-7 .mw-dialog-note{
  padding-top:4px;
  line-height:1.6
}

/* Footer and disclosures */
.mw-community-polish-v17-7 .mw-footer{
  margin-top:48px;
  padding-top:25px;
  border-color:rgba(30,78,62,.10);
  line-height:1.6
}
.mw-community-polish-v17-7 .explorer-disclosure{
  border-color:rgba(30,78,62,.10);
  border-radius:18px;
  background:rgba(255,253,249,.78)
}

/* Focus and motion */
.mw-community-polish-v17-7 :where(button,a,input,select,textarea):focus-visible{
  outline:3px solid rgba(60,132,103,.25);
  outline-offset:3px
}
@media(prefers-reduced-motion:reduce){
  .mw-community-polish-v17-7 *,
  .mw-community-polish-v17-7 *::before,
  .mw-community-polish-v17-7 *::after{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}

/* Tablet */
@media(max-width:1180px){
  .mw-community-polish-v17-7 #mw-view-explorer .topbar{
    grid-template-columns:210px minmax(0,1fr)
  }
  .mw-community-polish-v17-7 .explorer-quick-start{
    align-items:flex-start;
    flex-direction:column
  }
  .mw-community-polish-v17-7 .explorer-quick-start-actions{width:100%}
  .mw-community-polish-v17-7 .mw-general-grid{
    grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr)
  }
}

@media(max-width:980px){
  body.mw-community-polish-v17-7{padding-top:68px}
  body.mw-community-polish-v17-7::before{top:68px}
  .mw-community-polish-v17-7 .mw-global-nav{height:68px}
  .mw-community-polish-v17-7 .mw-mobile-menu{top:68px}
  .mw-community-polish-v17-7 .mw-page{
    width:min(100% - 28px,800px);
    padding-top:30px
  }
  .mw-community-polish-v17-7 .mw-page-head{
    display:block;
    padding:24px
  }
  .mw-community-polish-v17-7 .mw-head-card{margin-top:18px}
  .mw-community-polish-v17-7 #mw-view-explorer .app-shell{
    width:min(100% - 24px,900px)
  }
  .mw-community-polish-v17-7 #mw-view-explorer .topbar{
    grid-template-columns:1fr;
    gap:18px
  }
  .mw-community-polish-v17-7 #mw-view-explorer .brand{
    justify-content:center;
    text-align:center
  }
  .mw-community-polish-v17-7 .explorer-quick-start-actions{
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .mw-community-polish-v17-7 .apc-invite-strip{
    align-items:flex-start;
    flex-direction:column
  }
  .mw-community-polish-v17-7 .apc-invite-actions{width:100%;flex-wrap:wrap}
  .mw-community-polish-v17-7 .apc-invite-actions>*{flex:1 1 190px;text-align:center}
  .mw-community-polish-v17-7 .health-card-section{padding:20px}
  .mw-community-polish-v17-7 .catalogue-nav{position:static;max-height:none}
  .mw-community-polish-v17-7 .mw-general-grid{grid-template-columns:1fr}
  .mw-community-polish-v17-7 .mw-events-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Mobile */
@media(max-width:660px){
  body.mw-community-polish-v17-7{padding-bottom:84px}
  .mw-community-polish-v17-7 .mw-global-nav{padding-inline:14px}
  .mw-community-polish-v17-7 .mw-brand-mark{width:40px;height:40px}
  .mw-community-polish-v17-7 .mw-brand-copy strong{font-size:17px}
  .mw-community-polish-v17-7 .mw-page{
    width:min(100% - 18px,620px);
    padding:20px 0 44px
  }
  .mw-community-polish-v17-7 .mw-page-head{
    padding:20px;
    border-radius:24px
  }
  .mw-community-polish-v17-7 .mw-page-head h1{
    font-size:38px;
    line-height:1.02
  }
  .mw-community-polish-v17-7 .mw-page-head p{font-size:13px}
  .mw-community-polish-v17-7 #mw-view-explorer .app-shell{
    width:calc(100% - 16px);
    padding-top:12px
  }
  .mw-community-polish-v17-7 #mw-view-explorer .topbar{
    padding:17px;
    border-radius:22px
  }
  .mw-community-polish-v17-7 #mw-view-explorer .brand-copy h1{font-size:2rem}
  .mw-community-polish-v17-7 .search-form{
    grid-template-columns:auto minmax(0,1fr);
    min-height:54px;
    padding-right:13px
  }
  .mw-community-polish-v17-7 .search-form button{
    grid-column:1/-1;
    width:100%;
    margin-top:3px
  }
  .mw-community-polish-v17-7 .explorer-quick-start{
    padding:18px;
    border-radius:24px
  }
  .mw-community-polish-v17-7 .explorer-quick-start h2{font-size:25px}
  .mw-community-polish-v17-7 .explorer-quick-start-actions{
    grid-template-columns:1fr 1fr
  }
  .mw-community-polish-v17-7 .explorer-quick-start-actions button{min-height:108px}
  .mw-community-polish-v17-7 .apc-invite-strip{
    padding:20px;
    border-radius:24px
  }
  .mw-community-polish-v17-7 .apc-invite-actions>*{flex:1 1 100%}
  .mw-community-polish-v17-7 .health-card-section{
    padding:17px;
    border-radius:24px
  }
  .mw-community-polish-v17-7 .health-card-header{
    align-items:flex-start;
    flex-direction:column
  }
  .mw-community-polish-v17-7 .health-group-tabs{display:flex;width:100%}
  .mw-community-polish-v17-7 .health-group-tab{min-width:0;flex:1;padding-inline:8px}
  .mw-community-polish-v17-7 .health-subgroup-shell{
    align-items:flex-start;
    flex-direction:column
  }
  .mw-community-polish-v17-7 .health-subgroup-tabs{width:100%}
  .mw-community-polish-v17-7 .health-card-grid{grid-template-columns:1fr!important}
  .mw-community-polish-v17-7 .health-card{min-height:108px}
  .mw-community-polish-v17-7 .workspace{display:block}
  .mw-community-polish-v17-7 .workspace>*+*{margin-top:14px}
  .mw-community-polish-v17-7 .mw-toolbar{align-items:stretch;flex-direction:column}
  .mw-community-polish-v17-7 .mw-filter-row{width:100%}
  .mw-community-polish-v17-7 .mw-filter{flex:1 1 auto;text-align:center}
  .mw-community-polish-v17-7 .mw-events-grid{grid-template-columns:1fr}
  .mw-community-polish-v17-7 .mw-event-flow,
  .mw-community-polish-v17-7 .mw-event-summary{grid-template-columns:1fr 1fr}
  .mw-community-polish-v17-7 .mw-dialog-inner{padding:22px}
  .mw-community-polish-v17-7 .mw-dialog-head h2{font-size:29px}
  .mw-community-polish-v17-7 .mw-footer{display:block}
}

@media(max-width:410px){
  .mw-community-polish-v17-7 .explorer-quick-start-actions{grid-template-columns:1fr}
  .mw-community-polish-v17-7 .mw-event-flow,
  .mw-community-polish-v17-7 .mw-event-summary{grid-template-columns:1fr}
  .mw-community-polish-v17-7 .mw-social-link-grid{grid-template-columns:1fr}
}


/* ==========================================================================
   V17.8 — Explorer category counts and Health Guidance alignment
   ========================================================================== */

/* Every category shows a stable, readable product-count badge. */
.mw-community-polish-v17-8 #catalogueNav .nav-link{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:38px;
  padding:7px 8px 7px 12px;
  text-align:left
}
.mw-community-polish-v17-8 #catalogueNav .catalogue-category-label{
  min-width:0;
  color:inherit;
  font-size:.67rem;
  line-height:1.25;
  overflow-wrap:anywhere
}
.mw-community-polish-v17-8 #catalogueNav .catalogue-category-count{
  display:inline-grid;
  place-items:center;
  min-width:27px;
  height:23px;
  padding:0 7px;
  border:1px solid rgba(42,92,72,.10);
  border-radius:999px;
  background:#edf3ee;
  color:#315f4d;
  font-size:.54rem;
  font-weight:900;
  line-height:1;
  font-variant-numeric:tabular-nums;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84)
}
.mw-community-polish-v17-8 #catalogueNav .nav-link:hover .catalogue-category-count{
  border-color:rgba(42,92,72,.18);
  background:#e3eee6
}
.mw-community-polish-v17-8 #catalogueNav .nav-link.active .catalogue-category-count{
  border-color:rgba(255,255,255,.18);
  background:#1e5543;
  color:#fff;
  box-shadow:none
}

/* Give every Health Guidance icon its own visual column and breathing room. */
.mw-community-polish-v17-8 .health-card-grid{
  gap:12px
}
.mw-community-polish-v17-8 .health-card{
  grid-template-columns:40px minmax(0,1fr) 18px;
  column-gap:13px;
  row-gap:7px;
  align-items:start;
  min-height:118px;
  padding:14px 13px 29px
}
.mw-community-polish-v17-8 .health-card-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  margin:0;
  border-radius:12px;
  line-height:1
}
.mw-community-polish-v17-8 .health-card-copy{
  min-width:0;
  padding-top:1px
}
.mw-community-polish-v17-8 .health-card-copy strong{
  margin:0;
  font-size:.72rem;
  line-height:1.32
}
.mw-community-polish-v17-8 .health-card-copy small,
.mw-community-polish-v17-8 .health-card-copy em{
  margin-top:5px;
  line-height:1.42
}
.mw-community-polish-v17-8 .health-card-arrow{
  justify-self:end;
  margin-top:3px;
  line-height:1
}
.mw-community-polish-v17-8 .health-risk-badge{
  left:13px;
  bottom:7px;
  max-width:calc(100% - 26px)
}

@media(max-width:660px){
  .mw-community-polish-v17-8 #catalogueNav .nav-link{
    min-height:42px;
    padding:8px 10px 8px 13px
  }
  .mw-community-polish-v17-8 #catalogueNav .catalogue-category-label{
    font-size:.72rem
  }
  .mw-community-polish-v17-8 .health-card{
    grid-template-columns:42px minmax(0,1fr) 18px;
    column-gap:14px;
    min-height:112px;
    padding:14px 13px 29px
  }
  .mw-community-polish-v17-8 .health-card-icon{
    width:40px;
    height:40px
  }
}


/* ==========================================================================
   V17.9 — Single-screen Wellness Explorer
   All catalogue categories and all selected-zone information remain visible
   without internal desktop scrolling.
   ========================================================================== */

@media (min-width:1061px){
  body.mw-community-polish-v17-9 #mw-view-explorer{
    --mw-explorer-fit-height:clamp(540px,calc(100svh - 84px),620px)
  }

  body.mw-community-polish-v17-9 #mw-view-explorer .workspace{
    height:var(--mw-explorer-fit-height);
    min-height:0;
    align-items:stretch
  }

  body.mw-community-polish-v17-9 #mw-view-explorer .catalogue-nav,
  body.mw-community-polish-v17-9 #mw-view-explorer .body-explorer,
  body.mw-community-polish-v17-9 #mw-view-explorer .recommendations{
    height:100%;
    min-height:0;
    max-height:none
  }

  /* LEFT: complete catalogue scope in one view */
  body.mw-community-polish-v17-9 #mw-view-explorer .catalogue-nav{
    position:sticky;
    top:82px;
    overflow:hidden;
    padding:6px
  }

  body.mw-community-polish-v17-9 #mw-view-explorer .catalogue-all-products{
    flex:0 0 auto;
    min-height:42px;
    margin-bottom:4px;
    padding:6px 7px;
    border-radius:11px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .catalogue-all-products strong{
    font-size:.58rem;
    line-height:1.12
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .catalogue-all-products small{
    margin-top:1px;
    font-size:.44rem;
    line-height:1.15
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .catalogue-all-products b{
    min-width:27px;
    height:22px;
    font-size:.48rem
  }

  body.mw-community-polish-v17-9 #mw-view-explorer .nav-section{
    flex:0 0 auto;
    padding:4px 6px 5px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .nav-section.active{
    border-radius:9px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .nav-heading{
    gap:5px;
    margin-bottom:1px;
    font-size:.50rem;
    line-height:1.1
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .nav-heading svg{
    width:13px;
    height:13px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .nav-links{
    gap:0
  }
  body.mw-community-polish-v17-9 #mw-view-explorer #catalogueNav .nav-link{
    min-height:24px;
    padding:2px 3px 2px 7px;
    gap:5px;
    border-radius:7px;
    font-size:.54rem;
    line-height:1.12
  }
  body.mw-community-polish-v17-9 #mw-view-explorer #catalogueNav .catalogue-category-label{
    font-size:.54rem;
    line-height:1.12
  }
  body.mw-community-polish-v17-9 #mw-view-explorer #catalogueNav .catalogue-category-count{
    min-width:19px;
    height:17px;
    padding:0 4px;
    font-size:.42rem
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .catalogue-coverage{
    flex:0 0 auto;
    margin-top:auto;
    padding:5px 7px;
    font-size:.43rem;
    line-height:1.24
  }

  /* RIGHT: full selected-zone overview in one view */
  body.mw-community-polish-v17-9 #mw-view-explorer .recommendations{
    overflow:hidden;
    padding:9px 9px 7px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .selected-label{
    margin-bottom:3px;
    font-size:.48rem
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .selected-heading{
    grid-template-columns:38px minmax(0,1fr);
    gap:8px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .selected-icon{
    width:38px;
    height:38px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .selected-icon svg{
    width:20px;
    height:20px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .selected-heading h2{
    font-size:1rem;
    line-height:1.05
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .selected-heading p{
    margin-top:2px;
    font-size:.52rem;
    line-height:1.2
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .selection-context{
    margin-top:4px;
    padding:4px 6px;
    border-radius:7px;
    font-size:.45rem;
    line-height:1.25
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .panel-subtitle{
    margin:6px 0 3px;
    font-size:.49rem
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .recommendation-grid{
    grid-template-columns:1fr;
    gap:3px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .recommendation-card,
  body.mw-community-polish-v17-9 #mw-view-explorer .recommendation-grid.secondary .recommendation-card{
    min-height:45px;
    padding:5px 27px 5px 6px;
    border-radius:8px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .rec-title-row{
    gap:5px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .rec-icon{
    width:22px;
    height:22px;
    border-radius:7px;
    font-size:.44rem
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .recommendation-card strong{
    font-size:.54rem;
    line-height:1.12
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .recommendation-card p{
    margin-top:2px;
    max-width:100%;
    font-size:.44rem;
    line-height:1.2
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .rec-arrow{
    right:5px;
    bottom:50%;
    width:19px;
    height:19px;
    transform:translateY(50%);
    font-size:.55rem
  }

  body.mw-community-polish-v17-9 #mw-view-explorer .bundle-suggestion{
    margin-top:5px;
    padding:7px;
    border-radius:9px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .bundle-suggestion-top{
    gap:5px;
    font-size:.43rem
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .bundle-pill{
    padding:2px 5px;
    font-size:.42rem
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .bundle-suggestion h3{
    margin:4px 0 2px;
    font-size:.70rem;
    line-height:1.08
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .bundle-suggestion>p{
    font-size:.44rem;
    line-height:1.22
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .bundle-mini-items{
    gap:3px;
    margin-top:4px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .bundle-mini-item{
    gap:3px;
    padding:3px 5px;
    font-size:.41rem
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .bundle-mini-item b{
    width:14px;
    height:14px;
    font-size:.38rem
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .bundle-suggestion-actions{
    gap:4px;
    margin-top:5px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .bundle-suggestion-actions button{
    min-height:25px;
    padding:4px 5px;
    border-radius:7px;
    font-size:.45rem
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .bundle-note{
    margin-top:4px;
    font-size:.39rem;
    line-height:1.18
  }

  /* Health-concern mode is also fitted without hiding its information. */
  body.mw-community-polish-v17-9 #mw-view-explorer .medical-guidance{
    margin-top:5px;
    padding:7px;
    border-radius:9px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .medical-guidance strong{
    font-size:.53rem
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .medical-guidance p{
    margin-top:3px;
    font-size:.43rem;
    line-height:1.2
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .guidance-label{
    margin-top:4px;
    font-size:.39rem
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .improvement-list,
  body.mw-community-polish-v17-9 #mw-view-explorer .monitor-list{
    gap:2px;
    margin-top:3px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .improvement-list span,
  body.mw-community-polish-v17-9 #mw-view-explorer .monitor-list span{
    padding:2px 4px;
    font-size:.37rem
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .full-guidance-button,
  body.mw-community-polish-v17-9 #mw-view-explorer .view-related-products{
    min-height:24px;
    margin-top:4px;
    padding:4px 6px;
    font-size:.42rem
  }

  body.mw-community-polish-v17-9 #mw-view-explorer .safety-box{
    margin-top:5px;
    grid-template-columns:17px minmax(0,1fr);
    gap:5px;
    padding:5px 6px;
    border-radius:8px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .safety-box svg{
    width:17px;
    height:17px
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .safety-box strong{
    font-size:.45rem
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .safety-box p{
    margin-top:1px;
    font-size:.38rem;
    line-height:1.18
  }
  body.mw-community-polish-v17-9 #mw-view-explorer .panel-actions{
    margin-top:4px;
    padding:4px 1px 0;
    font-size:.43rem
  }
}

/* Normal tablet/mobile scrolling remains available where a stacked layout is clearer. */
@media (max-width:1060px){
  body.mw-community-polish-v17-9 #mw-view-explorer .workspace{
    height:auto
  }
}


/* ==========================================================================
   V18.0 — Mobile-first Wellness Explorer
   Compact through hierarchy and progressive disclosure, never tiny text.
   ========================================================================== */

.mobile-copy,
.mobile-explorer-summary,
.mobile-catalogue-head,
.mobile-zone-picker,
.mobile-panel-help{
  display:none
}

@media(max-width:780px){
  body.mw-community-mobile-v18{
    --mw-mobile-text:15px;
    --mw-mobile-small:13px;
    --mw-mobile-label:12px
  }

  body.mw-community-mobile-v18 .desktop-copy{display:none!important}
  body.mw-community-mobile-v18 .mobile-copy{display:inline!important}

  body.mw-community-mobile-v18 #mw-view-explorer .app-shell{
    width:calc(100% - 14px);
    padding-top:10px
  }

  /* Mobile shortcuts stay readable and easy to reach. */
  body.mw-community-mobile-v18 .mobile-explorer-summary{
    position:sticky;
    top:70px;
    z-index:70;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin:0 0 10px;
    padding:7px;
    border:1px solid rgba(35,78,62,.12);
    border-radius:17px;
    background:rgba(255,253,249,.96);
    box-shadow:0 10px 28px rgba(31,64,52,.10);
    backdrop-filter:blur(14px)
  }
  body.mw-community-mobile-v18 .mobile-explorer-summary button{
    min-width:0;
    min-height:52px;
    padding:8px 10px;
    border:0;
    border-radius:12px;
    text-align:left
  }
  body.mw-community-mobile-v18 .mobile-summary-products{
    background:#173f34;
    color:#fff
  }
  body.mw-community-mobile-v18 .mobile-summary-selection{
    background:#eef3ee;
    color:#173f34
  }
  body.mw-community-mobile-v18 .mobile-explorer-summary span{
    display:block;
    font-size:11px;
    font-weight:800;
    line-height:1.2;
    opacity:.78
  }
  body.mw-community-mobile-v18 .mobile-explorer-summary strong{
    display:block;
    margin-top:3px;
    font-size:14px;
    line-height:1.2;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap
  }

  /* Quick-start cards use shorter wording but retain comfortable type. */
  body.mw-community-mobile-v18 .explorer-quick-start{
    padding:18px;
    border-radius:22px
  }
  body.mw-community-mobile-v18 .explorer-quick-start-kicker{
    font-size:11px
  }
  body.mw-community-mobile-v18 .explorer-quick-start h2{
    margin-top:6px;
    font-size:25px;
    line-height:1.08
  }
  body.mw-community-mobile-v18 .explorer-quick-start p{
    margin-top:8px;
    font-size:14px;
    line-height:1.55
  }
  body.mw-community-mobile-v18 .explorer-quick-start-actions{
    grid-template-columns:1fr 1fr;
    gap:9px
  }
  body.mw-community-mobile-v18 .explorer-quick-start-actions button{
    min-height:92px;
    padding:13px;
    border-radius:16px
  }
  body.mw-community-mobile-v18 .explorer-quick-start-actions button:nth-child(5){
    grid-column:1/-1;
    min-height:76px
  }
  body.mw-community-mobile-v18 .explorer-quick-start-actions button>span{
    font-size:11px
  }
  body.mw-community-mobile-v18 .explorer-quick-start-actions strong{
    margin-top:5px;
    font-size:15px;
    line-height:1.2
  }
  body.mw-community-mobile-v18 .explorer-quick-start-actions small{
    margin-top:5px;
    font-size:12px;
    line-height:1.35
  }

  /* APC handoff remains clear and tap-friendly. */
  body.mw-community-mobile-v18 .apc-invite-strip{
    gap:16px;
    padding:18px;
    border-radius:22px
  }
  body.mw-community-mobile-v18 .apc-invite-strip h2{
    font-size:21px;
    line-height:1.15
  }
  body.mw-community-mobile-v18 .apc-invite-strip p{
    font-size:13px;
    line-height:1.55
  }
  body.mw-community-mobile-v18 .apc-invite-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:8px
  }
  body.mw-community-mobile-v18 .apc-invite-actions>*{
    min-height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px
  }

  /* Health Guidance: readable one-column cards, no tiny hidden descriptions. */
  body.mw-community-mobile-v18 .health-card-section{
    padding:17px;
    border-radius:22px
  }
  body.mw-community-mobile-v18 .health-card-eyebrow{
    font-size:11px
  }
  body.mw-community-mobile-v18 .health-card-header h2{
    display:block;
    margin:5px 0 0;
    font-size:25px;
    line-height:1.1
  }
  body.mw-community-mobile-v18 .health-card-header p{
    display:block;
    margin-top:8px;
    font-size:13px;
    line-height:1.5
  }
  body.mw-community-mobile-v18 .health-card-note{
    margin-top:10px;
    padding:7px 10px;
    font-size:11px;
    line-height:1.25
  }
  body.mw-community-mobile-v18 .health-group-tabs{
    gap:5px;
    padding:5px
  }
  body.mw-community-mobile-v18 .health-group-tab{
    min-height:44px;
    font-size:13px
  }
  body.mw-community-mobile-v18 .health-subgroup-shell{
    gap:9px;
    padding:11px
  }
  body.mw-community-mobile-v18 .health-subgroup-label{
    font-size:11px
  }
  body.mw-community-mobile-v18 .health-subgroup-tabs{
    display:flex;
    max-width:100%;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    padding-bottom:2px
  }
  body.mw-community-mobile-v18 .health-subgroup-tabs button{
    flex:0 0 auto;
    min-height:40px;
    padding:9px 12px;
    font-size:12px;
    scroll-snap-align:start
  }
  body.mw-community-mobile-v18 .health-card-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    overflow:visible!important
  }
  body.mw-community-mobile-v18 .health-card{
    grid-template-columns:42px minmax(0,1fr) 20px!important;
    gap:13px!important;
    min-height:122px!important;
    padding:14px 13px 31px!important;
    scroll-snap-align:none!important
  }
  body.mw-community-mobile-v18 .health-card-icon{
    width:42px!important;
    height:42px!important;
    font-size:11px!important
  }
  body.mw-community-mobile-v18 .health-card-copy strong{
    font-size:15px!important;
    line-height:1.25!important
  }
  body.mw-community-mobile-v18 .health-card-copy small{
    display:block!important;
    margin-top:5px!important;
    font-size:13px!important;
    line-height:1.4!important
  }
  body.mw-community-mobile-v18 .health-card-copy em{
    margin-top:5px!important;
    font-size:12px!important;
    line-height:1.35!important
  }
  body.mw-community-mobile-v18 .health-card-arrow{
    width:20px;
    font-size:16px
  }
  body.mw-community-mobile-v18 .health-risk-badge{
    font-size:10px
  }

  /* Phone layout follows a natural reading order. */
  body.mw-community-mobile-v18 #mw-view-explorer .workspace{
    display:flex;
    flex-direction:column;
    gap:12px;
    height:auto!important
  }
  body.mw-community-mobile-v18 #mw-view-explorer .body-explorer{order:1}
  body.mw-community-mobile-v18 #mw-view-explorer .recommendations{order:2}

  /* Catalogue becomes a full-width bottom sheet with readable rows. */
  body.mw-community-mobile-v18 #mw-view-explorer .catalogue-nav{
    position:fixed!important;
    z-index:920!important;
    inset:auto 7px 74px 7px!important;
    width:auto!important;
    height:min(84svh,760px)!important;
    max-height:none!important;
    min-height:0!important;
    padding:0 10px 14px!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    border-radius:24px 24px 18px 18px!important;
    background:#fffdf9!important;
    transform:translateY(calc(100% + 90px))!important;
    transition:transform .24s ease!important;
    box-shadow:0 24px 80px rgba(22,49,40,.30)!important
  }
  body.mw-community-mobile-v18 #mw-view-explorer .catalogue-nav.open{
    transform:translateY(0)!important
  }
  body.mw-community-mobile-v18 .mobile-catalogue-head{
    position:sticky;
    top:0;
    z-index:4;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:0 -10px 9px;
    padding:14px 14px 11px;
    border-bottom:1px solid rgba(35,78,62,.10);
    background:rgba(255,253,249,.98);
    backdrop-filter:blur(14px)
  }
  body.mw-community-mobile-v18 .mobile-catalogue-head span{
    display:block;
    color:#6a7c74;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em
  }
  body.mw-community-mobile-v18 .mobile-catalogue-head strong{
    display:block;
    margin-top:3px;
    color:#173f34;
    font-size:18px
  }
  body.mw-community-mobile-v18 .mobile-catalogue-head button{
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    border:1px solid rgba(35,78,62,.13);
    border-radius:13px;
    background:#f2f5f1;
    color:#315e4e;
    font-size:25px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .catalogue-all-products{
    min-height:58px;
    padding:10px 12px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .catalogue-all-products strong{
    font-size:14px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .catalogue-all-products small{
    font-size:12px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .nav-section{
    padding:10px 6px 12px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .nav-heading{
    margin-bottom:6px;
    font-size:13px
  }
  body.mw-community-mobile-v18 #mw-view-explorer #catalogueNav .nav-link{
    min-height:48px!important;
    padding:8px 8px 8px 11px!important;
    gap:10px!important;
    border-radius:11px!important
  }
  body.mw-community-mobile-v18 #mw-view-explorer #catalogueNav .catalogue-category-label{
    font-size:14px!important;
    line-height:1.25!important
  }
  body.mw-community-mobile-v18 #mw-view-explorer #catalogueNav .catalogue-category-count{
    min-width:31px!important;
    height:27px!important;
    padding:0 7px!important;
    font-size:12px!important
  }
  body.mw-community-mobile-v18 #mw-view-explorer .catalogue-coverage{
    margin-top:8px;
    padding:11px 12px;
    font-size:12px;
    line-height:1.45
  }
  body.mw-community-mobile-v18 .catalogue-backdrop{
    z-index:910;
    background:rgba(20,42,34,.40);
    backdrop-filter:blur(4px)
  }

  /* Map panel: readable header, large zone list, uncluttered figure. */
  body.mw-community-mobile-v18 #mw-view-explorer .body-explorer{
    min-height:0;
    padding:17px 14px 14px;
    overflow:visible;
    border-radius:22px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .explorer-header{
    align-items:flex-start;
    gap:12px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .explorer-header h2{
    font-size:24px;
    line-height:1.08
  }
  body.mw-community-mobile-v18 #mw-view-explorer .explorer-header p{
    max-width:230px;
    margin-top:6px;
    font-size:13px;
    line-height:1.45
  }
  body.mw-community-mobile-v18 #mw-view-explorer .map-tools{
    display:grid;
    grid-template-columns:1fr;
    gap:6px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .front-map-badge{
    display:none
  }
  body.mw-community-mobile-v18 #mw-view-explorer .map-reset,
  body.mw-community-mobile-v18 #mw-view-explorer .catalogue-toggle{
    min-height:42px;
    padding:8px 10px;
    font-size:12px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .catalogue-toggle b{
    display:inline-grid;
    place-items:center;
    min-width:24px;
    height:21px;
    margin-left:4px;
    border-radius:999px;
    background:rgba(255,255,255,.18);
    font-size:11px
  }

  body.mw-community-mobile-v18 .mobile-zone-picker{
    display:block;
    margin:14px 0 8px;
    border:1px solid rgba(35,78,62,.12);
    border-radius:16px;
    background:rgba(255,255,255,.72)
  }
  body.mw-community-mobile-v18 .mobile-zone-picker>summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:50px;
    padding:11px 13px;
    color:#173f34;
    cursor:pointer;
    list-style:none
  }
  body.mw-community-mobile-v18 .mobile-zone-picker>summary::-webkit-details-marker{
    display:none
  }
  body.mw-community-mobile-v18 .mobile-zone-picker>summary span{
    font-size:15px;
    font-weight:850
  }
  body.mw-community-mobile-v18 .mobile-zone-picker>summary small{
    color:#6d7e76;
    font-size:12px
  }
  body.mw-community-mobile-v18 .mobile-zone-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
    padding:0 9px 10px
  }
  body.mw-community-mobile-v18 .mobile-zone-grid button{
    min-height:58px;
    padding:9px 10px;
    border:1px solid rgba(35,78,62,.10);
    border-radius:12px;
    background:#f7f8f4;
    color:#315e4e;
    text-align:left
  }
  body.mw-community-mobile-v18 .mobile-zone-grid button.active{
    border-color:#1e5a46;
    background:#173f34;
    color:#fff;
    box-shadow:0 7px 18px rgba(23,63,52,.16)
  }
  body.mw-community-mobile-v18 .mobile-zone-grid strong{
    display:block;
    font-size:13px;
    line-height:1.25
  }
  body.mw-community-mobile-v18 .mobile-zone-grid small{
    display:block;
    margin-top:3px;
    color:inherit;
    font-size:11px;
    line-height:1.3;
    opacity:.76
  }

  body.mw-community-mobile-v18 #mw-view-explorer .body-map-stage{
    position:relative;
    inset:auto;
    min-height:520px;
    margin-top:6px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .body-visual{
    top:0;
    width:220px;
    height:495px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .callout-set,
  body.mw-community-mobile-v18 #mw-view-explorer .connector-layer,
  body.mw-community-mobile-v18 #mw-view-explorer .environment-title,
  body.mw-community-mobile-v18 #mw-view-explorer .environment-cards{
    display:none
  }
  body.mw-community-mobile-v18 #mw-view-explorer .zone-hotspot{
    width:36px;
    height:36px;
    opacity:1;
    border-width:2px;
    background:rgba(255,255,255,.18);
    box-shadow:0 0 0 7px rgba(68,130,106,.14),0 0 24px rgba(68,130,106,.22)
  }
  body.mw-community-mobile-v18 #mw-view-explorer .body-tip{
    left:50%;
    bottom:2px;
    min-width:0;
    width:calc(100% - 18px);
    padding:9px 11px;
    font-size:12px;
    line-height:1.3;
    white-space:normal
  }

  /* Selected plan uses progressive disclosure with full-size text. */
  body.mw-community-mobile-v18 #mw-view-explorer .recommendations{
    min-height:0;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    padding:18px;
    border-radius:22px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .selected-label{
    margin-bottom:10px;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em
  }
  body.mw-community-mobile-v18 #mw-view-explorer .selected-heading{
    grid-template-columns:54px minmax(0,1fr);
    gap:12px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .selected-icon{
    width:54px;
    height:54px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .selected-heading h2{
    font-size:24px;
    line-height:1.08
  }
  body.mw-community-mobile-v18 #mw-view-explorer .selected-heading p{
    margin-top:5px;
    font-size:14px;
    line-height:1.4
  }
  body.mw-community-mobile-v18 #mw-view-explorer .selection-context{
    margin-top:12px;
    padding:10px 11px;
    font-size:13px;
    line-height:1.45
  }
  body.mw-community-mobile-v18 .mobile-panel-help{
    display:block;
    margin:10px 0 0;
    color:#687a72;
    font-size:12px;
    line-height:1.45
  }
  body.mw-community-mobile-v18 .mobile-info-section{
    margin-top:12px;
    border:1px solid rgba(35,78,62,.12);
    border-radius:16px;
    background:#fffdf9;
    overflow:hidden
  }
  body.mw-community-mobile-v18 .mobile-info-section>summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:52px;
    padding:12px 13px;
    color:#173f34;
    cursor:pointer;
    list-style:none
  }
  body.mw-community-mobile-v18 .mobile-info-section>summary::-webkit-details-marker{
    display:none
  }
  body.mw-community-mobile-v18 .mobile-info-section>summary::after{
    content:'+';
    font-size:20px;
    line-height:1
  }
  body.mw-community-mobile-v18 .mobile-info-section[open]>summary::after{
    content:'−'
  }
  body.mw-community-mobile-v18 .mobile-info-section>summary span{
    font-size:15px;
    font-weight:850
  }
  body.mw-community-mobile-v18 .mobile-info-section>summary small{
    margin-left:auto;
    color:#6b7c74;
    font-size:12px
  }
  body.mw-community-mobile-v18 .mobile-info-section-body{
    padding:0 10px 11px
  }
  body.mw-community-mobile-v18 .mobile-info-section .panel-subtitle{
    margin:9px 2px 7px;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.06em
  }
  body.mw-community-mobile-v18 #mw-view-explorer .recommendation-grid{
    grid-template-columns:1fr;
    gap:8px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .recommendation-card,
  body.mw-community-mobile-v18 #mw-view-explorer .recommendation-grid.secondary .recommendation-card{
    min-height:78px;
    padding:12px 42px 12px 12px;
    border-radius:13px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .rec-icon{
    width:38px;
    height:38px;
    font-size:12px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .recommendation-card strong{
    font-size:15px;
    line-height:1.25
  }
  body.mw-community-mobile-v18 #mw-view-explorer .recommendation-card p{
    margin-top:5px;
    font-size:13px;
    line-height:1.4
  }
  body.mw-community-mobile-v18 #mw-view-explorer .rec-arrow{
    right:10px;
    bottom:50%;
    width:28px;
    height:28px;
    transform:translateY(50%)
  }

  body.mw-community-mobile-v18 #mw-view-explorer .bundle-suggestion{
    margin-top:0;
    padding:13px;
    border-radius:13px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .bundle-suggestion-top{
    font-size:11px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .bundle-pill{
    font-size:11px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .bundle-suggestion h3{
    margin-top:8px;
    font-size:20px;
    line-height:1.12
  }
  body.mw-community-mobile-v18 #mw-view-explorer .bundle-suggestion>p{
    font-size:13px;
    line-height:1.5
  }
  body.mw-community-mobile-v18 #mw-view-explorer .bundle-mini-items{
    gap:6px;
    margin-top:9px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .bundle-mini-item{
    min-height:34px;
    padding:7px 9px;
    font-size:12px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .bundle-suggestion-actions{
    grid-template-columns:1fr 1fr;
    gap:8px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .bundle-suggestion-actions button{
    min-height:46px;
    font-size:13px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .bundle-note{
    margin-top:9px;
    font-size:12px;
    line-height:1.45
  }

  body.mw-community-mobile-v18 #mw-view-explorer .medical-guidance{
    margin-top:12px;
    padding:13px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .medical-guidance strong{
    font-size:15px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .medical-guidance p{
    font-size:13px;
    line-height:1.5
  }
  body.mw-community-mobile-v18 #mw-view-explorer .guidance-label{
    font-size:11px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .improvement-list span,
  body.mw-community-mobile-v18 #mw-view-explorer .monitor-list span{
    padding:7px 9px;
    font-size:12px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .full-guidance-button,
  body.mw-community-mobile-v18 #mw-view-explorer .view-related-products{
    min-height:46px;
    font-size:13px
  }

  body.mw-community-mobile-v18 #mw-view-explorer .safety-box{
    margin-top:12px;
    grid-template-columns:28px minmax(0,1fr);
    gap:10px;
    padding:12px;
    border-radius:13px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .safety-box svg{
    width:28px;
    height:28px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .safety-box strong{
    font-size:14px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .safety-box p{
    margin-top:4px;
    font-size:12px;
    line-height:1.45
  }
  body.mw-community-mobile-v18 #mw-view-explorer .panel-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:12px;
    padding-top:12px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .panel-actions button{
    min-height:46px;
    border:1px solid rgba(35,78,62,.13);
    border-radius:12px;
    background:#f2f5f1;
    color:#315e4e;
    font-size:13px;
    font-weight:800
  }

  /* Product results become a clean phone workspace. */
  body.mw-community-mobile-v18 #mw-view-explorer .product-drawer{
    margin-top:12px;
    padding:16px;
    border-radius:22px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .drawer-header{
    position:sticky;
    top:68px;
    z-index:20;
    align-items:flex-start;
    gap:12px;
    padding:12px;
    margin:-16px -16px 14px;
    background:rgba(255,253,249,.97);
    border-bottom:1px solid rgba(35,78,62,.10);
    backdrop-filter:blur(14px)
  }
  body.mw-community-mobile-v18 #mw-view-explorer .drawer-heading-wrap h2{
    font-size:24px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .drawer-heading-wrap p{
    font-size:13px;
    line-height:1.45
  }
  body.mw-community-mobile-v18 #mw-view-explorer .drawer-controls{
    display:grid;
    grid-template-columns:1fr auto;
    gap:7px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .drawer-support-link{
    grid-column:1/-1;
    min-height:44px;
    font-size:13px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .drawer-back{
    min-height:42px;
    font-size:12px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .drawer-close{
    width:42px;
    height:42px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .product-toolbar{
    grid-template-columns:1fr!important;
    gap:10px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .product-toolbar label{
    font-size:12px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .product-toolbar input,
  body.mw-community-mobile-v18 #mw-view-explorer .product-toolbar select{
    min-height:46px;
    font-size:14px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .product-grid{
    grid-template-columns:1fr!important
  }
  body.mw-community-mobile-v18 #mw-view-explorer .product-card{
    min-width:0
  }
  body.mw-community-mobile-v18 #mw-view-explorer .product-card h3{
    font-size:18px
  }
  body.mw-community-mobile-v18 #mw-view-explorer .product-card p,
  body.mw-community-mobile-v18 #mw-view-explorer .product-card small{
    font-size:13px;
    line-height:1.45
  }
  body.mw-community-mobile-v18 #mw-view-explorer .product-actions button{
    min-height:46px;
    font-size:13px
  }

  body.mw-community-mobile-v18 #mw-view-explorer :where(
    button,a,input,select,textarea,summary
  ):focus-visible{
    outline:3px solid rgba(55,126,98,.30);
    outline-offset:2px
  }
}

@media(max-width:420px){
  body.mw-community-mobile-v18 .mobile-explorer-summary{
    grid-template-columns:1fr
  }
  body.mw-community-mobile-v18 .mobile-explorer-summary button{
    min-height:48px
  }
  body.mw-community-mobile-v18 .mobile-zone-grid{
    grid-template-columns:1fr 1fr
  }
  body.mw-community-mobile-v18 .mobile-zone-grid button{
    min-height:64px
  }
  body.mw-community-mobile-v18 .explorer-quick-start-actions button{
    min-height:96px
  }
}

@media(max-width:360px){
  body.mw-community-mobile-v18 .mobile-zone-grid{
    grid-template-columns:1fr
  }
  body.mw-community-mobile-v18 .explorer-quick-start-actions{
    grid-template-columns:1fr
  }
  body.mw-community-mobile-v18 .explorer-quick-start-actions button:nth-child(5){
    grid-column:auto
  }
}

/* V18.0 narrow-phone overflow correction */
@media(max-width:780px){
  body.mw-community-mobile-v18 #mw-view-explorer{
    overflow-x:clip
  }
  body.mw-community-mobile-v18 #mw-view-explorer .body-explorer::after{
    display:none
  }
  body.mw-community-mobile-v18 #mw-view-explorer .app-shell,
  body.mw-community-mobile-v18 #mw-view-explorer .workspace,
  body.mw-community-mobile-v18 #mw-view-explorer .body-explorer{
    max-width:100%
  }
}

/* V18.1 — quick-start removed */
body.mw-community-mobile-v18 #mw-view-explorer .apc-invite-strip{margin-top:0}
@media(max-width:780px){
  body.mw-community-mobile-v18 #mw-view-explorer .app-shell{padding-top:8px}
  body.mw-community-mobile-v18 #mw-view-explorer .health-card-section{margin-top:12px}
}


/* ==========================================================================
   V18.3 — Compact Health Guidance without tiny text
   ========================================================================== */

.health-mobile-swipe-hint{
  display:none
}

@media(min-width:781px){
  body.mw-community-mobile-v18 #healthGuidanceSection{
    margin-bottom:10px;
    padding:11px 13px 12px;
    border-radius:18px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-header{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    margin-bottom:7px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-eyebrow{
    display:inline;
    font-size:10px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-header h2{
    display:inline;
    margin:0 0 0 8px;
    font-size:22px;
    line-height:1.1
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-header p{
    margin:4px 0 0;
    font-size:12px;
    line-height:1.35
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-note{
    margin:0;
    padding:5px 8px;
    font-size:10px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-group-tabs{
    width:auto;
    max-width:390px;
    min-height:34px;
    margin:0 0 7px;
    padding:3px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-group-tab{
    min-height:30px;
    padding:5px 16px;
    font-size:11px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-subgroup-shell{
    display:flex;
    align-items:center;
    gap:9px;
    padding:7px 9px;
    margin-bottom:7px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-subgroup-label{
    flex:0 0 auto;
    font-size:9px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-subgroup-tabs button{
    min-height:31px;
    padding:6px 10px;
    font-size:10px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-guidance-group-title{
    margin:0 0 6px;
    font-size:10px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-grid{
    gap:8px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card{
    min-height:92px;
    padding:11px 10px 24px;
    grid-template-columns:34px minmax(0,1fr) 16px;
    column-gap:9px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-icon{
    width:34px;
    height:34px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-copy strong{
    font-size:12px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-copy small{
    margin-top:3px;
    font-size:10px;
    line-height:1.3
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-copy em{
    margin-top:3px;
    font-size:9px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-risk-badge{
    bottom:6px;
    font-size:8px
  }
}

@media(max-width:780px){
  body.mw-community-mobile-v18 #healthGuidanceSection{
    margin-top:10px;
    margin-bottom:10px;
    padding:13px;
    border-radius:19px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-header{
    display:block
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-eyebrow{
    font-size:10px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-header h2{
    display:block;
    margin:4px 0 0;
    font-size:21px;
    line-height:1.12
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-header p{
    margin-top:5px;
    font-size:12px;
    line-height:1.4
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-note{
    margin-top:7px;
    padding:5px 8px;
    font-size:10px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-group-tabs{
    margin:8px 0 7px;
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-group-tab{
    min-height:40px;
    font-size:12px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-subgroup-shell{
    padding:8px;
    margin-bottom:7px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-subgroup-tabs button{
    min-height:36px;
    padding:7px 10px;
    font-size:11px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-guidance-group-title{
    margin:0 0 6px;
    font-size:10px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-mobile-swipe-hint{
    display:block;
    margin:0 0 6px;
    color:#6c7e76;
    font-size:11px
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-grid{
    display:flex!important;
    gap:9px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:1px 1px 7px;
    scroll-snap-type:x mandatory;
    scrollbar-width:thin
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card{
    flex:0 0 min(84vw,330px);
    min-height:116px!important;
    padding:13px 12px 29px!important;
    grid-template-columns:42px minmax(0,1fr) 18px!important;
    gap:12px!important;
    scroll-snap-align:start!important
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-copy strong{
    font-size:15px!important
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-copy small{
    display:block!important;
    font-size:12px!important
  }
  body.mw-community-mobile-v18 #healthGuidanceSection .health-card-copy em{
    font-size:11px!important
  }
}

/* V18.4.2 — readable WhatsApp community card on the light-green active background.
   The generic active social rule uses white text; this platform intentionally uses
   a pale background, so its label must use a dark accessible green. */
.mw-social-link-grid .mw-btn.social-whatsapp.is-active,
.mw-social-link-grid .mw-btn.social-whatsapp.is-active .mw-social-btn-label,
.mw-social-link-grid .mw-btn.social-whatsapp.is-active .mw-social-btn-label > span {
  color:#145c3a !important;
}
.mw-social-link-grid .mw-btn.social-whatsapp.is-active .mw-social-status {
  color:#145c3a !important;
  border-color:rgba(20,92,58,.24) !important;
  background:rgba(255,255,255,.72) !important;
}


/* v18.4.5 — direct official Amway product links */
.product-actions .product-official-link{
  display:inline-flex;align-items:center;justify-content:center;width:100%;
  min-height:34px;border:1px solid #c79a48;border-radius:10px;padding:8px 7px;
  background:#fff7e8;color:#6d4d16;font-size:.62rem;font-weight:800;
  line-height:1.2;text-align:center;text-decoration:none;
}
.product-actions .product-official-link:hover,.product-actions .product-official-link:focus-visible{
  background:#f7e8c8;border-color:#a9792f;color:#4f350c;outline:none;
}
.product-actions-enhanced .product-official-link,.product-actions-enhanced .purchase-trigger{grid-column:1 / -1;}
.product-actions-direct{display:grid;grid-template-columns:1fr 1fr;}
.product-actions-direct .product-official-link,.product-actions-direct .purchase-trigger{grid-column:1 / -1;}
@media(max-width:480px){
  .product-actions-enhanced .product-official-link,.product-actions-enhanced .purchase-trigger,
  .product-actions-direct .product-official-link,.product-actions-direct .purchase-trigger{grid-column:auto;}
  .product-actions-direct{grid-template-columns:1fr;}
}
