.phk-switcher{position:relative;display:inline-flex;font-family:"Segoe UI","Malgun Gothic",sans-serif;font-size:13px;color:#172339}
.phk-switch-trigger{display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;padding:4px;border:0;border-radius:50%;background:transparent;color:#b92336;cursor:pointer}
.phk-switch-trigger:hover .phk-switch-avatar{background:#f4dce1}.phk-switch-trigger:focus-visible,.phk-switcher a:focus-visible{outline:3px solid #b92336;outline-offset:2px}
.phk-switch-avatar{position:relative;display:block;box-sizing:border-box;width:34px;height:34px;border:1px solid #e7cdd2;border-radius:50%;background:#faedf0}
.phk-switch-avatar::before{content:"";position:absolute;top:7px;left:12px;width:8px;height:8px;border-radius:50%;background:#b92336}.phk-switch-avatar::after{content:"";position:absolute;bottom:6px;left:8px;width:16px;height:10px;border-radius:9px 9px 6px 6px;background:#b92336}
.phk-switch-panel{position:absolute;z-index:1000;right:0;top:calc(100% + 4px);box-sizing:border-box;width:min(272px,calc(100vw - 16px));padding:8px;border:1px solid #d9dfe7;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(23,35,57,.16)}
.phk-switch-panel[hidden]{display:none}.phk-switch-name{display:flex;align-items:center;gap:10px;min-height:44px;margin:0 4px 8px;padding:0 4px 8px;border-bottom:1px solid #e9edf2;font-size:14px;font-weight:700;overflow-wrap:anywhere}.phk-switch-name .phk-switch-avatar{flex:none}.phk-switch-label{margin:0;padding:2px 8px 4px;color:#526078;font-size:11px;font-weight:600}
.phk-switcher [hidden]{display:none!important}
.phk-switch-status{margin:0;color:#526078;font-size:12px;line-height:1.5}.phk-switch-status:empty{display:none}.phk-switch-list{display:grid;max-height:min(224px,45vh);overflow:auto;overscroll-behavior:contain}
.phk-switch-service,.phk-switch-account{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;padding:7px 8px;border-radius:7px;color:#172339;text-decoration:none;overflow-wrap:anywhere;box-sizing:border-box}
.phk-switch-service:hover,.phk-switch-account:hover{background:#f6f8fb}.phk-switch-current{flex:none;padding:2px 6px;border-radius:5px;background:#e4f3ee;color:#12685d;font-size:11px}.phk-switch-account{margin-top:6px;border-top:1px solid #e9edf2;border-radius:0;color:#b92336;font-weight:600}
@media(max-width:600px){.phk-switch-service,.phk-switch-account{min-height:44px}}
.phk-switch-portrait{position:absolute;inset:0;z-index:1;width:100%;height:100%;border-radius:50%;object-fit:cover}
.phk-frame-slot{position:relative;display:inline-flex;flex:0 0 44px;width:44px;height:44px;vertical-align:middle}
.phk-account-frame{display:block;box-sizing:border-box;width:44px;height:44px;padding:0;border:0;background:transparent;color-scheme:normal;z-index:10000}
.phk-frame-body{margin:0;background:transparent;display:flex;justify-content:flex-end}
phk-app-session{display:none!important}
.phk-switch-session:not(:empty){border-top:1px solid #e9edf2;margin-top:4px;padding-top:6px}
.phk-session-logout{width:100%;text-align:left;background:transparent;border:0;font:inherit;cursor:pointer}
.phk-session-logout:focus-visible{outline:2px solid #b92336;outline-offset:-2px}
.phk-switch-trigger{position:relative}
.phk-notice-count{position:absolute;z-index:2;top:0;right:0;min-width:17px;height:17px;padding:0 3px;box-sizing:border-box;border:1px solid white;border-radius:10px;background:#ae2034;color:white;font:700 10px/15px system-ui;text-align:center}
.phk-notices{border-bottom:1px solid #e9edf2;margin-bottom:6px;padding-bottom:4px}
.phk-notice-list{max-height:145px;overflow:auto;overscroll-behavior:contain}
.phk-notice-link{display:grid;gap:2px;padding:6px 8px;min-height:44px;box-sizing:border-box;align-content:center;color:#172339;text-decoration:none;overflow-wrap:anywhere;border-radius:6px}
.phk-notice-link small{color:#a12337;font-size:11px}.phk-notice-link:hover,.phk-notice-link:focus-visible{background:#f6f8fb}
.phk-notice-more{border:0;background:transparent;color:#526078;padding:8px;cursor:pointer;font:inherit}
.phk-switch-panel{max-height:min(75vh,620px);overflow:auto}
.phk-frame-body .phk-switch-panel{right:4px;width:min(272px,calc(100vw - 8px));max-height:calc(100vh - 52px);overflow:auto}

/* Existing production headers. Scoped to the app after its common menu mounts. */
[data-phk-menu-app="report-studio"] :is(#anon-badge,.sidebar-bottom #who,.sidebar-bottom #logout,.sidebar-bottom .status-dot),
[data-phk-menu-app="store-mro"] .hud-item:has(>#logoutBtn),
[data-phk-menu-app="statistics"] :is(#auth-user-control,#sim-user-badge,#admin-user-badge),
[data-phk-menu-app="thinktank"] #phkBar :is(#phkUser,#phkLogout),
[data-phk-menu-app="log-tool"] .gnb-user-bar :is(#userBadge,#logoutBtn),
[data-phk-menu-app="map"] .appNavStatus > :is(strong,button,a[href="/auth/phk/login"]),
[data-phk-menu-app="xaction-dashboard"] #settings-logout-btn{display:none!important}
