.s1-preferences{position:relative;flex:0 0 auto;font:inherit;color:inherit}.s1-preferences summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:6px 10px;border:1px solid var(--border,#dfe5ef);border-radius:9px;background:var(--panel,#fff);cursor:pointer;white-space:nowrap;font-size:13px}.s1-preferences summary::-webkit-details-marker{display:none}.s1-preferences summary .ico{width:16px;height:16px}.s1-pref-short{display:none}.s1-pref-panel{position:absolute;right:0;top:calc(100% + 8px);width:244px;max-width:calc(100vw - 24px);padding:8px;border:1px solid var(--border,#dfe5ef);border-radius:12px;background:var(--panel,#fff);box-shadow:0 12px 36px #16243c24;z-index:1100}.s1-pref-panel [role=group]+[role=group]{border-top:1px solid var(--border,#dfe5ef);margin-top:6px;padding-top:6px}.s1-pref-panel p{font-size:12px;padding:4px 10px;margin:0;color:var(--muted,#69758a)}.s1-pref-panel button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:42px;padding:9px 10px;border:0;border-radius:7px;background:none;color:inherit;font:inherit;font-size:14px;text-align:left;cursor:pointer}.s1-pref-panel button:hover,.s1-pref-panel button:focus-visible{background:#edf4ff}.s1-pref-panel button[aria-pressed=true]{color:#075fbd;background:#f2f7ff}.s1-pref-panel [data-currency-error]{color:#b42318}.s1-preferences summary:focus-visible{outline:2px solid #087bea;outline-offset:2px}@media(max-width:640px){.s1-pref-language{display:none}.s1-pref-short{display:inline}.s1-preferences summary{min-height:40px;padding:5px 7px;gap:4px;font-size:12px}.s1-preferences summary>.ico:first-child{display:none}.topbar{column-gap:5px}.s1-pref-panel{position:fixed;top:64px;right:12px}.s1-preferences{max-width:108px}}

/* Reuse the authenticated portal's preferences component on guest pages. */
.s1-guest-language { position: relative; flex: 0 0 auto; }
.s1-guest-language select[hidden] { display: none !important; }
.s1-guest-language .s1-pref-panel { z-index: 1200; }
.s1-guest-language .s1-preferences { max-width: none; }
.s1-guest-language .s1-preferences summary { min-height: 44px; border-radius: 12px; padding: 8px 12px; }
.s1-guest-language .s1-pref-panel button[aria-pressed=true] { color: #0453fa; background: #f2f6ff; }
.s1-guest-language .s1-pref-panel .ico { width: 16px; height: 16px; }
@media(max-width:700px) {
  .auth-locale-control { top: 14px !important; right: 14px !important; }
  .s1-guest-language .s1-pref-panel { position: absolute; top: calc(100% + 8px); right: 0; }
  .s1-guest-language .s1-preferences summary { padding: 7px 10px; }
}
