.switch-modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.6);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;z-index:10000;opacity:0;transition:opacity .3s cubic-bezier(.4,0,.2,1)}.switch-modal-backdrop.open,.switch-modal-backdrop.opening{opacity:1}.switch-modal-backdrop.closing{opacity:0}[data-theme=light] .switch-modal-backdrop{background:rgba(0,0,0,.3)}.switch-modal{background:rgba(22,22,26,.95);backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px);border:1px solid rgba(255,255,255,.08);border-radius:20px;width:380px;max-height:80vh;box-shadow:0 0 0 1px rgba(255,255,255,.05),0 20px 60px rgba(0,0,0,.5),0 0 120px rgba(124,58,237,.1);overflow:hidden;transition:transform .35s cubic-bezier(.34,1.56,.64,1),opacity .25s ease-out}.switch-modal,.switch-modal.opening{transform:translateY(20px) scale(.95);opacity:0}.switch-modal.open{transform:translateY(0) scale(1);opacity:1}.switch-modal.closing{transform:translateY(-10px) scale(.98);opacity:0;transition:transform .2s cubic-bezier(.4,0,1,1),opacity .15s ease-in}[data-theme=light] .switch-modal{background:#ffffff;border-color:rgba(124,58,237,.15);box-shadow:0 0 0 1px rgba(124,58,237,.08),0 20px 60px rgba(0,0,0,.12),0 0 80px rgba(124,58,237,.08)}.switch-modal-header{padding:20px 20px 12px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(180deg,rgba(124,58,237,.08),transparent)}[data-theme=light] .switch-modal-header{background:linear-gradient(180deg,rgba(124,58,237,.06),transparent)}.header-content{display:flex;align-items:center}.header-text{display:flex;flex-direction:column;gap:2px}.switch-modal-title{font-size:17px;font-weight:600;color:var(--text-primary);letter-spacing:-.02em}[data-theme=light] .switch-modal-title{color:#1a1a2e}.switch-modal-subtitle{font-size:13px;color:var(--text-secondary);opacity:.7}[data-theme=light] .switch-modal-subtitle{color:#6b7280}.switch-modal-count{font-size:13px;font-weight:500;color:var(--text-secondary);opacity:.7}[data-theme=light] .switch-modal-count{color:#6b7280}.switch-mode-toggle{display:flex;gap:6px;margin:0 16px 12px;padding:4px;background:rgba(255,255,255,.04);border-radius:12px;border:1px solid rgba(255,255,255,.06)}[data-theme=light] .switch-mode-toggle{background:rgba(0,0,0,.03);border-color:rgba(0,0,0,.06)}.switch-mode-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border:none;border-radius:9px;background:transparent;color:var(--text-secondary);font-size:13px;font-weight:500;font-family:inherit;cursor:pointer;transition:all .2s ease}.switch-mode-btn:hover:not(.active){background:rgba(255,255,255,.04);color:var(--text-primary)}.switch-mode-btn.active{background:rgba(139,92,246,.15);color:#a78bfa;font-weight:600;box-shadow:0 2px 8px rgba(139,92,246,.15)}[data-theme=light] .switch-mode-btn.active{background:rgba(139,92,246,.1);color:#7c3aed}[data-theme=light] .switch-mode-btn:hover:not(.active){background:rgba(0,0,0,.03)}.switch-modal-error{margin:12px 16px;padding:12px 14px;background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.2);border-radius:12px;color:#ef4444;font-size:13px;display:flex;align-items:center;gap:10px;animation:shake .5s cubic-bezier(.36,.07,.19,.97) both}@keyframes shake{10%,90%{transform:translateX(-1px)}20%,80%{transform:translateX(2px)}30%,50%,70%{transform:translateX(-3px)}40%,60%{transform:translateX(3px)}}.switch-modal-list{max-height:340px;overflow-y:auto;padding:12px}.switch-modal-list::-webkit-scrollbar{width:6px}.switch-modal-list::-webkit-scrollbar-track{background:transparent;margin:8px 0}.switch-modal-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.1);border-radius:3px}.switch-modal-list::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.2)}[data-theme=light] .switch-modal-list::-webkit-scrollbar-thumb{background:rgba(124,58,237,.2)}[data-theme=light] .switch-modal-list::-webkit-scrollbar-thumb:hover{background:rgba(124,58,237,.35)}.switch-modal-loading{display:flex;align-items:center;justify-content:center;padding:48px 24px}.switch-modal-empty{text-align:center;padding:48px 24px}.empty-icon{width:80px;height:80px;margin:0 auto 20px;border-radius:20px;background:rgba(124,58,237,.1);border:1px dashed rgba(124,58,237,.3);display:flex;align-items:center;justify-content:center;color:var(--accent-primary);opacity:.8}.empty-title{font-size:16px;font-weight:600;color:var(--text-primary);margin-bottom:6px}[data-theme=light] .empty-title{color:#1a1a2e}.empty-subtitle{font-size:14px;color:var(--text-secondary);opacity:.7}[data-theme=light] .empty-subtitle{color:#6b7280}.switch-modal-item{position:relative;display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:14px;padding:12px 14px;border-radius:14px;cursor:pointer;margin-bottom:6px;background:rgba(255,255,255,.02);border:1px solid transparent;transition:background .2s ease,border-color .2s ease,transform .2s cubic-bezier(.34,1.56,.64,1),box-shadow .2s ease;animation:itemSlideIn .4s cubic-bezier(.34,1.56,.64,1) backwards;animation-delay:calc(var(--item-index) * .05s)}@keyframes itemSlideIn{0%{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:translateX(0)}}.switch-modal-item:last-child{margin-bottom:0}.switch-modal-item:hover:not(.active){background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.08);transform:translateX(4px)}[data-theme=light] .switch-modal-item{background:rgba(124,58,237,.02)}[data-theme=light] .switch-modal-item:hover:not(.active){background:rgba(124,58,237,.08);border-color:rgba(124,58,237,.15)}.switch-modal-item.active{background:rgba(124,58,237,.12);border-color:rgba(124,58,237,.25);cursor:default;box-shadow:0 0 20px rgba(124,58,237,.15),inset 0 1px 0 rgba(255,255,255,.05)}[data-theme=light] .switch-modal-item.active{background:rgba(124,58,237,.1);border-color:rgba(124,58,237,.25);box-shadow:0 0 20px rgba(124,58,237,.1)}.switch-modal-item.switching{pointer-events:none;opacity:.6}.switch-modal-item .item-icon{position:relative;width:48px;height:48px;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,rgba(124,58,237,.15),rgba(124,58,237,.08));border:1px solid rgba(124,58,237,.2);flex-shrink:0;transition:transform .2s ease,box-shadow .2s ease}[data-theme=light] .switch-modal-item .item-icon{background:linear-gradient(135deg,rgba(124,58,237,.12),rgba(124,58,237,.06));border-color:rgba(124,58,237,.15)}.switch-modal-item:hover .item-icon{transform:scale(1.05);box-shadow:0 4px 12px rgba(124,58,237,.2)}.switch-modal-item .item-icon img{width:100%;height:100%;object-fit:cover}.switch-modal-item .icon-placeholder{font-size:18px;font-weight:700;color:var(--accent-primary);text-transform:uppercase}[data-theme=light] .switch-modal-item .icon-placeholder{color:#7c3aed}.active-badge{position:absolute;bottom:-2px;right:-2px;width:18px;height:18px;border-radius:50%;background:linear-gradient(135deg,#10b981,#059669);border:2px solid var(--bg-primary);display:flex;align-items:center;justify-content:center;color:white;box-shadow:0 2px 6px rgba(16,185,129,.4)}[data-theme=light] .active-badge{border-color:#ffffff}.switch-modal-item .item-details{min-width:0}.switch-modal-item .item-name{font-size:15px;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:-.01em}[data-theme=light] .switch-modal-item .item-name{color:#1a1a2e}.item-meta{display:flex;align-items:center;gap:8px;margin-top:3px}.switch-modal-item .item-sector{font-size:13px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.7}[data-theme=light] .switch-modal-item .item-sector{color:#6b7280}.item-status{font-size:11px;font-weight:600;color:#10b981;background:rgba(16,185,129,.1);padding:2px 8px;border-radius:6px;text-transform:uppercase;letter-spacing:.02em}[data-theme=light] .item-status{background:rgba(16,185,129,.15);color:#059669}.switch-modal-item .item-actions{display:flex;align-items:center;gap:6px}.switch-modal-item .action-buttons{display:flex;gap:6px;opacity:0;transform:translateX(8px);transition:opacity .2s ease,transform .2s ease}.switch-modal-item.hovered .action-buttons,.switch-modal-item:hover .action-buttons{opacity:1;transform:translateX(0)}.switch-modal-item .item-action-btn{width:32px;height:32px;border-radius:8px;border:none;background:rgba(255,255,255,.06);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;color:var(--text-secondary)}[data-theme=light] .switch-modal-item .item-action-btn{background:rgba(0,0,0,.04);color:#6b7280}.switch-modal-item .item-action-btn.edit-btn:hover{background:rgba(124,58,237,.15);color:var(--accent-primary);transform:scale(1.1)}[data-theme=light] .switch-modal-item .item-action-btn.edit-btn:hover{background:rgba(124,58,237,.12);color:#7c3aed}.switch-modal-item .item-action-btn.delete-btn:hover{background:rgba(239,68,68,.15);color:#ef4444;transform:scale(1.1)}.select-arrow{color:var(--text-secondary);opacity:.4;transition:opacity .2s ease,transform .2s ease}[data-theme=light] .select-arrow{color:#6b7280}.switch-modal-item:hover .select-arrow{opacity:.8;transform:translateX(4px)}.switching-indicator{display:flex;align-items:center;justify-content:center}.switching-indicator .switching-spinner{color:#8b5cf6;animation:switchSpinnerRotate .8s linear infinite}@keyframes switchSpinnerRotate{to{transform:rotate(1turn)}}.switch-modal-footer{padding:14px 16px;display:flex;gap:10px}.add-company-btn{flex:1;border-radius:24px;outline:none;cursor:pointer;font-size:13px;letter-spacing:-.3px;border:0;background:transparent;position:relative;height:42px}.add-company-btn .btn-wrap-add{border-radius:inherit;overflow:hidden;height:100%;padding:2px;position:relative;transition:transform .3s ease,box-shadow .3s ease;background:linear-gradient(135deg,#8b5cf6,#7c3aed);will-change:transform}.add-company-btn:hover .btn-wrap-add{transform:scale(1.02);box-shadow:0 4px 16px rgba(139,92,246,.4)}.add-company-btn .btn-outline-add{position:absolute;overflow:hidden;inset:0;opacity:0;outline:none;border-radius:inherit;transition:opacity .4s ease}.add-company-btn .btn-outline-add:before{content:"";position:absolute;top:50%;left:50%;width:60px;height:400px;transform:translate(-50%,-50%);background:linear-gradient(90deg,transparent 0,rgba(255,255,255,.6) 50%,transparent);animation:btnSpin 4s linear infinite;animation-play-state:paused}.add-company-btn .btn-content-add{pointer-events:none;display:flex;align-items:center;justify-content:center;z-index:1;position:relative;height:100%;gap:6px;padding:0 14px;color:white;font-size:14px;border-radius:21px;font-weight:600;background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.add-company-btn:hover .btn-outline-add{opacity:1}.add-company-btn:hover .btn-outline-add:before{animation-play-state:running}.add-company-btn:active .btn-wrap-add{transform:scale(.98)}.switch-modal-footer .close-btn{flex:1;border-radius:24px;outline:none;cursor:pointer;font-size:13px;letter-spacing:-.3px;border:0;background:transparent;position:relative;height:42px}.close-btn .btn-wrap{border-radius:inherit;overflow:hidden;height:100%;padding:2px;position:relative;transition:transform .3s ease,box-shadow .3s ease;background:rgba(40,40,50,1);will-change:transform}[data-theme=light] .close-btn .btn-wrap{background:linear-gradient(135deg,#7c3aed,#6d28d9)}.close-btn:hover .btn-wrap{transform:scale(1.02);box-shadow:0 4px 12px rgba(0,0,0,.3)}[data-theme=light] .close-btn:hover .btn-wrap{box-shadow:0 4px 16px rgba(124,58,237,.35)}.close-btn .btn-outline{position:absolute;overflow:hidden;inset:0;opacity:0;outline:none;border-radius:inherit;transition:opacity .4s ease}.close-btn .btn-outline:before{content:"";position:absolute;top:50%;left:50%;width:60px;height:400px;transform:translate(-50%,-50%);background:linear-gradient(90deg,transparent 0,white 50%,transparent);animation:btnSpin 4s linear infinite;animation-play-state:paused}.close-btn .btn-content{pointer-events:none;display:flex;align-items:center;justify-content:center;z-index:1;position:relative;height:100%;gap:6px;padding:0 14px;color:white;font-size:14px;border-radius:21px;font-weight:600;background:rgba(40,40,50,1)}[data-theme=light] .close-btn .btn-content{background:linear-gradient(135deg,#7c3aed,#6d28d9)}.close-btn:hover .btn-outline{opacity:1}.close-btn:hover .btn-outline:before{animation-play-state:running}@keyframes btnSpin{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}@media (max-width:480px){.switch-modal{width:calc(100vw - 32px);max-width:380px;margin:16px}.switch-modal-header{padding:16px}.switch-modal-title{font-size:15px}.switch-modal-item{grid-template-columns:40px 1fr auto;gap:12px;padding:10px 12px}.switch-modal-item .item-icon{width:40px;height:40px}.switch-modal-item .item-name{font-size:14px}.switch-modal-item .item-sector{font-size:12px}.switch-modal-item .item-action-btn{width:28px;height:28px}.switch-modal-item .action-buttons{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.active-glow,.select-arrow,.switch-modal,.switch-modal-backdrop,.switch-modal-item,.switch-modal-item .action-buttons,.switch-modal-item .item-icon{animation:none!important;transition:none!important}}