.account-switcher{position:relative;min-width:0}
.account-switcher>summary{list-style:none;display:flex;align-items:center;gap:9px;padding:5px 8px;cursor:pointer;border:0;border-radius:8px;background:transparent;color:#1c3037}
.account-switcher summary::-webkit-details-marker{display:none}
.account-switcher summary>strong{max-width:155px;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.switcher-avatar{display:flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:50%;background:#e6f3f5;color:#087b88;font-size:13px;font-weight:600}
.switcher-chevron{width:15px;height:15px;transform:rotate(90deg);transition:transform .15s}.account-switcher[open] .switcher-chevron{transform:rotate(270deg)}
.account-switcher-menu{position:absolute;right:0;top:calc(100% + 10px);width:296px;max-width:calc(100vw - 28px);background:#fff;border:1px solid #d9e4e7;border-radius:12px;padding:8px;box-shadow:0 12px 32px #173d4a1a;z-index:60}
.switcher-profile{display:flex;align-items:center;gap:10px;padding:8px 8px 12px}.switcher-profile>div{min-width:0}.switcher-profile strong{display:block;font-size:14px;font-weight:600;overflow-wrap:anywhere;line-height:1.4}.switcher-profile small{display:block;font-size:11px;color:#637981;overflow-wrap:anywhere;line-height:1.5;margin-top:2px}
.switcher-actions a,.switcher-actions button,.switcher-add{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:0;border-radius:7px;color:#1c3037;background:transparent;text-decoration:none;text-align:left;font-size:13px;line-height:1.5;cursor:pointer}.switcher-actions .icon,.switcher-add .icon{width:18px;height:18px;flex:none;color:#637981}
.switcher-actions a:hover,.switcher-actions button:hover,.switcher-add:hover,.account-switcher>summary:hover{background:#f0f6f7}.switcher-actions form{margin:0}.switcher-actions .form-feedback{font-size:12px;margin:6px 8px}
.switcher-group-heading{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e5edef;margin:7px 0 3px;padding:10px 8px 4px;font-size:12px;font-weight:600;color:#637981}.switcher-group-heading small{font-size:11px;font-weight:400;margin-left:5px}.switcher-group-heading a{display:flex;padding:4px;color:#637981;border-radius:5px}.switcher-group-heading a:hover{color:#087b88;background:#e6f3f5}.switcher-group-heading .icon{width:16px;height:16px}
.switcher-item{width:100%;display:flex;align-items:center;gap:9px;text-align:left;border:0;border-radius:7px;background:#fff;padding:7px 8px;cursor:pointer;color:#1c3037}.switcher-item-label{flex:1;min-width:0}.switcher-item strong{display:block;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.switcher-item small{display:block;font-size:11px;color:#637981;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}.switcher-item>.icon{width:17px;height:17px;flex:none;color:#087b88}.switcher-item .switcher-avatar{width:27px;height:27px;font-size:11px}.switcher-item:hover,.switcher-item.selected{background:#e6f3f5}.switcher-item:disabled{opacity:.55;cursor:default}.switcher-item.selected:disabled{opacity:1}.switcher-add{color:#087b88;font-size:12px;margin-top:3px}.switcher-add .icon{color:inherit}
.active-account-bar{background:#e5f3ef;border-bottom:1px solid #cde1da;font-size:12px;color:#305f63;padding:10px 0}.active-account-bar>.shell{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.active-account-bar strong{font-weight:600;overflow-wrap:anywhere}.active-account-bar a{margin-left:auto;text-decoration:underline}.active-account-bar span{overflow-wrap:anywhere}.account-stale{background:#fff3d9;border-bottom:1px solid #e7d5a9;padding:18px 0;color:#705319}.account-stale strong{font-size:14px;font-weight:600}.account-stale p{font-size:13px;margin:7px 0 10px}.account-stale[hidden]{display:none}.linked-page .panel{margin-bottom:24px;padding:26px}.linked-page .panel>p{font-size:14px;color:#587680;line-height:1.65;margin:10px 0 22px}.linked-owner{display:flex;align-items:center;gap:12px;background:#eaf5f1;border:1px solid #d0e4db;border-radius:12px;padding:18px;margin-bottom:24px;font-size:14px;overflow-wrap:anywhere}.linked-owner small{display:block;color:#658089;font-size:12px;margin-top:5px}.linked-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.linked-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.linked-card{padding:20px;border:1px solid #d5e3e7;border-radius:12px;min-width:0}.linked-card h3{font-size:19px;font-weight:600;line-height:1.35;overflow-wrap:anywhere;margin-bottom:6px}.linked-card p,.linked-incoming p{font-size:13px;color:#67838b;overflow-wrap:anywhere}.linked-state{display:inline-block;font-size:11px;color:#197453;background:#e7f5eb;padding:5px 9px;border-radius:7px;margin-top:12px}.linked-state.invalid{color:#8f5a24;background:#fff0db}.linked-card-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:18px 0}.linked-rename-form{display:flex;align-items:end;gap:8px;border-top:1px solid #e1ebee;padding-top:16px;flex-wrap:wrap}.linked-rename-form>.field{flex:1;min-width:130px;font-size:12px}.linked-rename-form .input{width:100%}.linked-rename-form>.form-feedback{width:100%}.linked-incoming{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid #dce8eb}.linked-incoming small{font-size:11px;color:#6d8187}.linked-fine{font-size:12px;line-height:1.7;color:#65818a;margin-top:18px}.linked-tools{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px}.linked-confirm{padding:28px;border:1px solid #c8dee0;border-radius:16px;width:480px;max-width:calc(100vw - 30px);margin:auto;color:#24424c}.linked-confirm::backdrop{background:#183a4659;backdrop-filter:blur(3px)}.linked-confirm h2{font-size:23px;font-weight:600;margin-bottom:12px}.linked-confirm p{font-size:14px;line-height:1.65;color:#607e88}.linked-confirm>div{display:flex;gap:12px;justify-content:end;margin-top:24px}
@media(max-width:1000px){.linked-form-grid{grid-template-columns:1fr}.linked-list{grid-template-columns:1fr}}@media(max-width:540px){.linked-page .panel{padding:18px}.linked-card{padding:16px}.linked-incoming{align-items:start;flex-direction:column}.linked-confirm{padding:20px}.linked-confirm>div{flex-wrap:wrap}.active-account-bar a{margin-left:0}.linked-tools .btn{white-space:normal}}
@media(prefers-reduced-motion:reduce){.account-switcher *,.linked-confirm *{transition:none!important;animation:none!important}}
@media(max-width:540px){.header-row:has(.account-switcher){gap:10px}.header-row:has(.account-switcher) .header-actions{gap:6px}.header-row:has(.account-switcher)>.brand{font-size:23px;gap:7px}.header-row:has(.account-switcher) .brand-mark{width:27px;height:27px}}
@media(max-width:360px){.header-row:has(.account-switcher)>.brand{font-size:20px;gap:5px}.header-row:has(.account-switcher) .brand-mark{width:23px;height:23px}.header-row:has(.account-switcher) .mobile-menu{padding:6px;min-width:30px;width:30px}}
@media(max-width:540px){.header-row:has(.account-switcher) .header-actions .mobile-menu .icon{display:block}}

@media(max-width:540px){.account-switcher-menu{position:fixed;top:70px;right:12px;width:296px;max-width:calc(100vw - 24px)}.account-switcher summary>strong{max-width:92px;font-size:12px}.account-switcher summary>.switcher-avatar{width:26px;height:26px}.account-switcher>summary{padding:5px;gap:6px}}
@media(max-width:360px){.account-switcher summary>strong{max-width:76px}}

.linked-limit-note{padding:10px 12px;border-radius:7px;background:#e6f3f5;color:#1c3037;font-size:13px}
