.portal-shell .store-shell__right { display:flex; align-items:center; gap:9px; }
.portal-shell .store-switcher { position:relative; padding:0; display:block; }
.portal-shell .store-switcher__trigger { width:100%; height:100%; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:9px; padding:0 13px; border:1px solid var(--line); border-radius:12px; color:var(--ink); background:#fff; text-align:left; }
.portal-shell .store-switcher__trigger:hover,.portal-shell .store-switcher__trigger[aria-expanded="true"] { border-color:#a9bec1; }
.portal-shell .store-switcher__trigger:focus-visible { outline:3px solid rgba(18,103,119,.12); outline-offset:1px; }
.portal-shell .store-switcher__trigger svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.5; transition:transform .15s ease; pointer-events:none; }
.portal-shell .store-switcher__trigger[aria-expanded="true"] svg { transform:rotate(180deg); }
.portal-shell .store-switcher__name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.portal-shell .store-switcher__menu { position:absolute; top:calc(100% + 7px); right:0; z-index:50; width:max(100%,248px); max-height:min(420px,calc(100vh - 92px)); overflow-y:auto; padding:5px; border:1px solid var(--line); border-radius:12px; opacity:0; transform:translateY(-4px); visibility:hidden; pointer-events:none; background:#fff; box-shadow:0 16px 42px rgba(15,35,42,.14); transition:opacity .15s ease,transform .15s ease,visibility 0s linear .15s; }
.portal-shell .store-switcher__menu[hidden] { display:none; }
.portal-shell .store-switcher__menu.is-open { opacity:1; transform:translateY(0); visibility:visible; pointer-events:auto; transition-delay:0s; }
.portal-shell .store-switcher__menu button { width:100%; min-height:36px; display:grid; grid-template-columns:auto minmax(0,1fr) 14px; align-items:center; gap:9px; padding:6px 8px; border:0; border-radius:8px; color:var(--ink-soft); background:transparent; font-size:12px; text-align:left; }
.portal-shell .store-switcher__menu button:hover,.portal-shell .store-switcher__menu button:focus-visible { color:var(--ink); background:#f2f5f4; outline:0; }
.portal-shell .store-switcher__menu button[aria-selected="true"] { color:var(--ink); background:var(--accent-soft); }
.portal-shell .store-switcher__menu button > span:nth-child(2) { min-width:0; line-height:1.25; overflow-wrap:anywhere; }
.portal-shell .store-switcher__menu button:not([aria-selected="true"]) .store-switcher__check { visibility:hidden; }
.portal-shell .store-switcher__divider { height:1px; margin:5px 8px; background:var(--line); }
.portal-shell .store-switcher__check { color:var(--accent); text-align:center; }
.portal-shell__utility,.portal-shell .store-shell__avatar { width:38px; height:38px; display:grid; place-items:center; flex:0 0 auto; border:1px solid var(--line); border-radius:10px; color:var(--ink-soft); text-decoration:none; background:#fff; line-height:0; }
.portal-shell .store-shell__avatar { border-radius:50%; font-size:12px; font-weight:600; background:#eef3f2; }
.portal-shell__utility svg { width:18px; height:18px; display:block; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.portal-shell__utility:hover,.portal-shell__utility:focus-visible,.portal-shell__utility.is-active { color:var(--accent); border-color:#a9c5ca; background:var(--accent-soft); outline:none; }
.portal-shell__support { position:relative; }
.portal-shell .support-nav-badge { min-width:17px; height:17px; padding:0 4px; display:inline-flex; align-items:center; justify-content:center; border-radius:9px; color:#fff; background:#b64e55; font-size:9px; font-weight:700; line-height:1; }
.portal-shell__support > .support-nav-badge { position:absolute; top:-5px; right:-5px; box-shadow:0 0 0 2px #fff; }
.portal-shell .support-nav-badge[hidden] { display:none; }
.portal-shell .store-shell__profile-menu { z-index:60; min-width:210px; }
.portal-shell .store-shell__profile-menu a,.portal-shell .store-shell__profile-menu button { width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 10px; border:0; border-radius:8px; color:var(--ink-soft); text-decoration:none; white-space:nowrap; background:transparent; font-size:12px; font-weight:500; text-align:left; }
.portal-shell .store-shell__profile-menu a:hover,.portal-shell .store-shell__profile-menu a:focus-visible,.portal-shell .store-shell__profile-menu button:hover,.portal-shell .store-shell__profile-menu button:focus-visible { color:var(--ink); background:#f2f5f4; outline:none; }
.portal-shell .store-shell__profile-menu button { margin-top:4px; padding-top:10px; border-top:1px solid var(--line-soft); border-radius:0 0 8px 8px; }
.portal-shell .store-shell__profile-menu .portal-shell__mobile-only { display:none; }
@media (max-width:760px) {
  .portal-shell { gap:10px; }
  .portal-shell .store-shell__right { min-width:0; flex:1; justify-content:flex-end; }
  .portal-shell .store-switcher { min-width:0; width:min(255px,calc(100vw - 126px)); }
  .portal-shell__utility { display:none; }
  .portal-shell .store-shell__profile-menu .portal-shell__mobile-only { display:flex; }
}
