    .hm-menu-position { position:fixed; z-index:10; left:0; right:0; bottom:0; padding:0 max(11px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 10px) max(11px,env(safe-area-inset-left,0px)); pointer-events:none; }
    .hm-bottom-nav { --index:0; position:relative; isolation:isolate; direction:rtl; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:center; width:100%; max-width:560px; height:60px; margin-inline:auto; padding:3px 4px; border:1px solid #cfdce5; border-radius:34px; background:#fff; box-shadow:0 0 0 1.5px #fffffff2,0 2px 8px #192e4009; pointer-events:auto; }
    .hm-selection { position:absolute; z-index:-1; top:3px; bottom:3px; right:4px; width:calc((100% - 8px)/5); border-radius:28px; background:var(--hm-light); transform:translateX(calc(var(--index) * -100%)); transition:transform 180ms cubic-bezier(.2,.8,.2,1); pointer-events:none; }
    .hm-nav-item { position:relative; border:0; margin:0; padding:2px 1px; height:52px; min-width:0; background:transparent; color:var(--hm-ink); border-radius:28px; font:inherit; cursor:pointer; touch-action:manipulation; user-select:none; -webkit-user-select:none; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; }
    .hm-nav-item::after { content:""; position:absolute; inset:0; border-radius:inherit; background:var(--hm-accent); opacity:0; transition:opacity 100ms ease-out; pointer-events:none; }
    .hm-nav-item.is-pressed::after { opacity:.09; transition:none; }
    .hm-nav-item > svg { position:relative; flex:none; width:24px; height:24px; overflow:visible; fill:none; stroke:currentColor; stroke-width:2.1; stroke-linecap:round; stroke-linejoin:round; transition:transform 120ms ease-out; }
    .hm-nav-item.is-pressed > svg,.hm-nav-item.is-pressed .hm-add-circle { transform:scale(.94); transition-duration:60ms; }
    .hm-icon-fill { opacity:0; fill:currentColor; stroke:none; transition:opacity 120ms ease-out; }
    .hm-nav-item[aria-current="page"] .hm-icon-fill { opacity:1; }
    .hm-nav-item[aria-current="page"] .hm-message-lines { stroke:var(--hm-light); }
    .hm-nav-label { position:relative; font-size:12px; line-height:17px; font-weight:700; white-space:nowrap; }
    .hm-nav-item:focus-visible { outline:2px solid var(--hm-accent); outline-offset:2px; }
    .hm-nav-item.add { gap:0; }
    .hm-add-circle { position:relative; display:grid; place-items:center; width:34px; height:34px; margin-top:-1px; margin-bottom:1px; border-radius:50%; color:#fff; background:var(--hm-accent); border:1px solid #7192ad; box-shadow:0 2px 5px #25577f20; transition:transform 120ms ease-out; }
    .hm-add-circle svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; }
    @media (min-width:600px) { .hm-nav-label { font-size:13px; } }
    @media (prefers-reduced-motion:reduce) { .hm-selection,.hm-nav-item::after,.hm-nav-item > svg,.hm-add-circle,.hm-icon-fill { transition:none!important; } .hm-nav-item.is-pressed > svg,.hm-nav-item.is-pressed .hm-add-circle { transform:none; } }
  
/* Supplied v2 layout, scoped to avoid altering the header or app typography. */
body #hm-menu-position,body.guest-home[data-sketch-layout] #hm-menu-position.guest-bottom-nav{position:fixed;inset:auto 0 0;z-index:35;display:block;width:auto;max-width:none;min-height:0;height:auto;margin:0;padding:0 max(11px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 10px) max(11px,env(safe-area-inset-left,0px));border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;pointer-events:none;transform:none}
/* Retain the existing focused-input/visual-viewport keyboard behavior. */
body.guest-home[data-floating-market].guest-keyboard-open #hm-menu-position.guest-bottom-nav{display:none}
.hm-menu-position{--hm-ink:#192e40;--hm-accent:#25577f;--hm-light:#e9f0f7;font-family:inherit}
.hm-menu-position[data-mode=load]{--hm-accent:#ac4e15;--hm-light:#fff0e3}
.hm-menu-position *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.hm-bottom-nav .hm-nav-item{font-family:inherit}
.hm-bottom-nav .hm-nav-item[data-page=home]{color:#172d43;background:transparent;border-radius:22px}
.hm-bottom-nav .hm-nav-item[data-page=home]>svg{width:26px;height:26px;fill:currentColor;stroke-width:2.2}
/* Home alone retains its filled artwork. Other active routes use the light pill. */
.hm-bottom-nav .hm-nav-item:not([data-page=home]) .hm-icon-fill{opacity:0}
.hm-bottom-nav .hm-nav-item[aria-current=page] .hm-message-lines{stroke:currentColor}
.hm-bottom-nav .hm-add-circle{background:var(--hm-light);color:var(--hm-accent);border-color:var(--hm-light);box-shadow:none}
.hm-bottom-nav .hm-nav-label{text-decoration:none}
body[data-hm-menu]::after{display:none}
body[data-hm-menu]:not(.guest-home){padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
.hm-menu-choice{margin:auto;border:1px solid #cfdce5;border-radius:24px;padding:20px;max-width:calc(100% - 32px);color:#192e40;background:white;font:inherit}
.hm-menu-choice::backdrop{background:#192e4044}
.hm-menu-choice button{display:block;width:100%;min-height:48px;margin-top:8px;border:1px solid #cfdce5;border-radius:12px;background:#f5f8fb;color:inherit;font:inherit}
/* Unified Add entry: original illustrations, balanced role cards. */
body dialog#hm-compose-dialog.hm-menu-choice[open]{width:min(520px,calc(100% - 32px));padding:24px;background:#fff;color:#17344e;border:1px solid #cedbe5;border-radius:22px;backdrop-filter:none;-webkit-backdrop-filter:none;box-sizing:border-box}
body .hm-menu-choice h2{font-size:25px;margin:0 0 4px;line-height:1.5}
body .hm-menu-choice p{font-size:15px;color:#5b6c7c;margin:0 0 20px}
.hm-compose-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body .hm-menu-choice .hm-compose-cards button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:180px;margin:0;padding:16px 8px;border-radius:16px;border:1px solid #b8cfe0;background:#edf5fc;color:#25577f;touch-action:manipulation}
body .hm-menu-choice .hm-compose-cards [data-compose=load]{border-color:#edc7a7;background:#fff0e4;color:#754523}
.hm-compose-cards img{width:min(132px,100%);height:88px;object-fit:contain;pointer-events:none}
.hm-compose-cards strong{font-size:20px;font-weight:700;line-height:1.5}
body .hm-menu-choice button:focus-visible{outline:3px solid #25577f;outline-offset:3px}
body .hm-menu-choice [data-dismiss]{min-height:48px;margin-top:20px;background:transparent;color:#52667b;border:0}
@media(max-width:360px){body dialog#hm-compose-dialog.hm-menu-choice[open]{padding:18px}.hm-compose-cards{gap:10px}.hm-compose-cards strong{font-size:18px}}

body dialog#hm-compose-dialog::backdrop{background:#132b4544;backdrop-filter:none;-webkit-backdrop-filter:none}
/* Open in the first frame instead of inheriting the legacy 180ms fade. */
body dialog#hm-compose-dialog.hm-menu-choice[open]{animation:none;transition:none;opacity:1}
