﻿.nk-account-switcher{--as-accent:#8755d8;--as-tint:#f5f0fc;--as-ring:rgba(135,85,216,.18);--as-text:#202633;--as-muted:#657186;--as-line:#edf0f4;--as-surface:#fff;--as-hover:#f8f9fc;position:relative;min-width:0;font-family:inherit}
.nk-account-switcher[data-marketplace=ozon]{--as-accent:#3268e8;--as-tint:#edf3ff;--as-ring:rgba(50,104,232,.18)}
.nk-account-trigger{display:flex;align-items:center;gap:9px;height:44px;max-width:222px;min-width:154px;padding:5px 11px 5px 6px;border:1px solid #e7e9ef;border-radius:13px;background:var(--as-surface);color:var(--as-text);box-shadow:0 1px 2px #17223c04;cursor:pointer;outline:none;text-align:left;transition:border-color .18s,box-shadow .18s,background .18s}
.nk-account-trigger:hover:not(:disabled){background:var(--as-hover);border-color:#d5d9e3}
.nk-account-trigger:focus-visible,.nk-account-switcher[data-open=true] .nk-account-trigger{border-color:var(--as-accent);box-shadow:0 0 0 3px var(--as-ring)}
.nk-account-trigger:disabled{cursor:default;opacity:.65}
.nk-account-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border:1px solid rgba(135,85,216,.08);border-radius:12px;background:linear-gradient(145deg,#f3eafa,#eee9fb);color:#8456bb;font-size:12px;line-height:1;font-weight:700;letter-spacing:-.3px}
.nk-account-avatar--trigger{width:31px;height:31px;flex-basis:31px;border-radius:9px;font-size:10px}
.nk-account-switcher[data-marketplace=ozon] .nk-account-avatar{color:#3268d7;background:linear-gradient(145deg,#edf4ff,#e3ecff);border-color:#3268e810}
.nk-account-trigger-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}
.nk-account-eyebrow{color:var(--as-muted);font-size:9px;font-weight:600;line-height:1;letter-spacing:.06em}
.nk-account-trigger-name{overflow:hidden;max-width:155px;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;line-height:17px;letter-spacing:-.15px}
.nk-account-chevron{flex-shrink:0;margin-left:1px;color:#8f95a3;transition:transform .2s}
.nk-account-switcher[data-open=true] .nk-account-chevron{transform:rotate(180deg);color:var(--as-accent)}
.nk-account-panel{position:fixed;width:min(340px,calc(100vw - 24px));z-index:90;box-sizing:border-box;overflow:auto;padding:7px;border:1px solid #e8eaf0;border-radius:19px;background:var(--as-surface);color:var(--as-text);box-shadow:0 18px 55px -14px #18284935,0 3px 10px #18284908;animation:nk-account-enter .16s cubic-bezier(.2,.7,.2,1);overscroll-behavior:contain}
.nk-account-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 10px 15px}
.nk-account-panel-title{font-size:13px;font-weight:650;letter-spacing:-.2px}
.nk-account-market{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid var(--as-line);border-radius:6px;font-size:10px;font-weight:550;color:#657186;line-height:1}
.nk-account-market-dot{width:5px;height:5px;border-radius:50%;background:var(--as-accent)}
.nk-account-options{display:flex;flex-direction:column;gap:5px}
.nk-account-option{box-sizing:border-box;display:flex;width:100%;align-items:center;gap:12px;min-height:72px;padding:11px 10px;border:1px solid transparent;border-radius:12px;outline:none;background:transparent;color:var(--as-text);cursor:pointer;text-align:left;transition:background .15s,border-color .15s,box-shadow .15s}
.nk-account-option:hover{background:var(--as-hover)}
.nk-account-option[aria-selected=true]{background:var(--as-tint);border-color:transparent}
.nk-account-option:focus-visible{box-shadow:inset 0 0 0 1.5px var(--as-accent);background:var(--as-tint)}
.nk-account-option-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:5px}
.nk-account-option-name{font-size:13px;line-height:18px;font-weight:650;letter-spacing:-.15px;overflow-wrap:anywhere}
.nk-account-option-meta{display:flex;align-items:center;gap:6px;color:#657186;font-size:10px;line-height:14px;font-weight:450}
.nk-account-option[aria-selected=true] .nk-account-option-meta{color:#73588f}
.nk-account-switcher[data-marketplace=ozon] .nk-account-option[aria-selected=true] .nk-account-option-meta{color:#466596}
.nk-account-check{display:flex;align-items:center;justify-content:center;width:19px;height:19px;flex:0 0 19px;border:1px solid #e0e4ec;border-radius:50%;color:white;background:var(--as-surface)}
.nk-account-option[aria-selected=true] .nk-account-check{background:var(--as-accent);border-color:var(--as-accent)}
.nk-account-panel-footer{display:none}
.nk-account-key-hints{display:inline-flex;align-items:center;gap:4px}
.nk-account-key-hints kbd{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:17px;border:1px solid #e8eaf0;border-radius:4px;background:var(--as-surface);color:#657186;font-family:inherit;font-size:10px}
.nk-account-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.nk-account-switcher[data-theme=dark]{--as-text:#e7eaf3;--as-muted:#7d88a2;--as-line:#262f43;--as-surface:#111827;--as-hover:#192237;--as-tint:#241d39}
.nk-account-switcher[data-theme=dark] .nk-account-trigger,.nk-account-switcher[data-theme=dark] .nk-account-panel{border-color:#2b3449}
.nk-account-switcher[data-theme=dark] .nk-account-avatar{background:linear-gradient(145deg,#342842,#28213f);border-color:#59437570;color:#d0acec}
.nk-account-switcher[data-theme=dark][data-marketplace=ozon]{--as-tint:#192c4e}
.nk-account-switcher[data-theme=dark][data-marketplace=ozon] .nk-account-avatar{background:#1b3053;color:#a7c9ff}
.nk-account-switcher[data-theme=dark] .nk-account-option[aria-selected=true] .nk-account-option-meta{color:#b29bcf}
.nk-account-switcher[data-theme=dark] .nk-account-market,.nk-account-switcher[data-theme=dark] .nk-account-key-hints kbd{border-color:#2b3449;color:#9ca9be}
@keyframes nk-account-enter{from{opacity:0;transform:translateY(-4px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:639px){.nk-account-trigger{min-width:132px;max-width:170px;height:40px;gap:7px;padding:4px 8px 4px 5px;border-radius:11px}.nk-account-avatar--trigger{width:27px;height:27px;flex-basis:27px;border-radius:8px;font-size:9px}.nk-account-trigger-name{font-size:11px;line-height:15px;max-width:96px}.nk-account-eyebrow{font-size:8px}.nk-account-chevron{width:13px}.nk-account-panel-footer{font-size:10px}.nk-account-key-hints{display:none}.nk-account-option{min-height:76px}}
@media(prefers-reduced-motion:reduce){.nk-account-trigger,.nk-account-option,.nk-account-chevron{transition:none}.nk-account-panel{animation:none}}
@media(max-width:639px){.nk-header-account-controls{width:100%;max-width:100%;gap:6px}.nk-header-account-controls .nk-account-switcher{flex:1;min-width:0}.nk-header-account-controls .nk-account-trigger{width:100%;min-width:0;max-width:none}.nk-header-account-controls [role=group][aria-label="Маркетплейс"]{gap:2px;padding:3px}.nk-header-account-controls [role=group][aria-label="Маркетплейс"] button{gap:5px;padding:6px 8px;font-size:10px;min-height:32px}.nk-header-account-controls .nk-account-trigger-name{max-width:none}}
@media(max-width:359px){.nk-header-account-controls [role=group][aria-label="Маркетплейс"] button{gap:4px;padding:6px;font-size:10px}}

.nk-account-switcher[data-theme=dark] .nk-account-panel-footer{color:#9ca9be}
.nk-account-switcher[data-loading=true] .nk-account-avatar--trigger{opacity:.45}

@media(max-width:639px){.nk-header-account-controls [role=group][aria-label="Маркетплейс"]{position:absolute;top:8px;right:12px}.nk-header-account-controls .nk-account-trigger{max-width:none;height:42px}.nk-header-account-controls .nk-account-trigger-name{font-size:12px}.nk-header-account-controls .nk-account-eyebrow{font-size:9px}}
.nk-account-switcher[data-theme=dark] .nk-account-option-meta{color:#9ca9be}
