.profile-trigger{width:100%;border:0;border-top:1px solid #32485d;background:transparent;color:#edf4ff;text-align:left;cursor:pointer;font:inherit;min-height:60px;padding:12px 0 2px}.profile-trigger .operator-copy{min-width:0;flex:1}.profile-trigger strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-chevron{font-size:22px}.profile-trigger:focus-visible,.profile-mobile:focus-visible{outline:3px solid #9dc5ff;outline-offset:3px}
.profile-popover[hidden]{display:none!important}.profile-popover{position:fixed;z-index:1600;max-height:calc(100dvh - 24px);overflow:auto;background:#14283b;color:#f0f5ff;border:1px solid #41566c;border-radius:16px;padding:10px;box-shadow:0 16px 45px #07142055;font:14px/1.4 "Segoe UI",sans-serif}.profile-popover header{display:flex;gap:10px;align-items:center;padding:10px 8px 16px;border-bottom:1px solid #3a5066;margin-bottom:8px}.profile-popover header div{min-width:0}.profile-popover header strong{display:block;overflow-wrap:anywhere}.profile-popover header small{display:block;color:#b7c7da;margin-top:3px;font-size:12px}.profile-popover .avatar{background:#29465f;color:#f0f5ff;flex-shrink:0}.profile-popover button{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;text-align:left;border:0;border-radius:8px;padding:10px;background:transparent;color:inherit;font:inherit;cursor:pointer}.profile-popover button:hover{background:#294157}.profile-popover svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}.profile-theme{display:flex;align-items:center;gap:12px;padding:8px 10px;min-height:44px}.profile-theme select{min-width:0;margin-left:auto;min-height:36px;background:#1e354b;color:#f0f5ff;border:1px solid #71859b;border-radius:7px;padding:6px;font:inherit}.profile-popover :is(button,select):focus-visible{outline:3px solid #98c4ff;outline-offset:1px}.profile-popover :disabled{opacity:.65;cursor:wait}.profile-divider{border-top:1px solid #3a5066;margin:6px 0}#profileNotice{font-size:12px;line-height:1.5;color:#cbd9e9;margin:6px 10px;overflow-wrap:anywhere}#profileNotice:empty{display:none}
#displayNameDialog{width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:20px}#displayNameDialog h2{font-size:21px}#displayNameDialog input{font-size:16px;width:100%}#displayNameDialog label{display:grid;gap:7px;font-size:14px}#displayNameDialog .form-error{overflow-wrap:anywhere}
@media(min-width:781px){.app-shell.sidebar-collapsed .sidebar-footer{display:block!important;padding-inline:0}.app-shell.sidebar-collapsed .sidebar-footer>:not(.profile-trigger){display:none!important}.app-shell.sidebar-collapsed .profile-trigger{justify-content:center}.app-shell.sidebar-collapsed .profile-trigger .operator-copy,.app-shell.sidebar-collapsed .profile-chevron{display:none}}
@media(max-width:780px){.profile-mobile{gap:6px;padding:0 8px;max-width:160px}.profile-mobile .avatar{width:28px;height:28px;font-size:11px}.profile-popover{font-size:14px}}
