/* Personal account controls live with the signed-in profile. */
#header-profile.profile-trigger{display:flex;align-items:center;gap:10px;min-height:43px;max-width:255px;border:1px solid transparent;border-radius:10px;padding:5px 8px 5px 6px;background:transparent;color:#102232;cursor:pointer;text-align:left;transition:background .15s,border-color .15s}#header-profile.profile-trigger:hover,#header-profile.profile-trigger[aria-expanded=true]{background:#f2f4f2;border-color:#e1e6e5}#header-profile .avatar{display:grid;place-items:center;width:34px;height:34px;font-size:11px;background:#f5e9e1;border:1px solid #e9d7ca;flex-shrink:0}.profile-trigger-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.profile-trigger-copy strong{display:block;font-size:11px;font-weight:700;line-height:1.4;max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-trigger-copy small{font-size:8px;line-height:1.3;color:#72828c}.profile-trigger-chevron{margin-left:5px;font-size:13px;color:#84949c}#app-sidebar .profile{cursor:pointer;border-radius:8px}#app-sidebar .profile:hover{background:#ffffff04}#app-sidebar .profile[aria-expanded=true]{background:#ffffff07}#app-sidebar .profile:focus-visible,#header-profile:focus-visible{outline:2px solid #f15a29;outline-offset:3px}
#account-popover{position:fixed;inset:auto;margin:0;padding:0;width:342px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #dce3e4;border-radius:16px;background:#fff;color:#102232;box-shadow:0 22px 75px #0b192530,0 4px 15px #0b192512;font:12px/1.5 'DM Sans',sans-serif;overscroll-behavior:contain}#account-popover::backdrop{background:transparent}.account-menu-identity{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:13px;padding:22px 21px 17px;background:#102232;color:#fff}.account-menu-identity:after{position:absolute;z-index:-1;content:'';right:-20px;top:-45px;width:180px;height:180px;background:url('/assets/logo-mark-light.svg') center/contain no-repeat;opacity:.05;pointer-events:none}.account-menu-identity:before{content:'';position:absolute;top:9px;left:9px;width:6px;height:6px;border-left:1px solid #f15a29;border-top:1px solid #f15a29}.account-menu-avatar{display:grid;place-items:center;flex-shrink:0;width:47px;height:47px;border-radius:14px;background:#ffffff0b;border:1px solid #ffffff23;color:#ffd0bd;font:600 17px Jakarta,sans-serif}.account-menu-identity>div{display:flex;flex-direction:column;min-width:0;gap:4px}.account-menu-identity .eyebrow{font-size:6px!important;letter-spacing:1.2px;color:#8ba6b7}.account-menu-identity strong{font:650 16px/1.35 Jakarta,sans-serif;letter-spacing:-.3px;overflow-wrap:anywhere}.account-menu-identity small{font-size:10px;color:#a5bac7;overflow-wrap:anywhere}.account-menu-scope{display:flex;align-items:center;gap:7px;background:#142a3b;color:#b2c7d4;font-size:9px;padding:9px 23px;border-top:1px solid #ffffff09}.account-menu-scope>span{width:4px;height:4px;background:#f15a29;border-radius:50%}#account-popover nav{padding:9px;margin:0;display:flex;flex-direction:column;gap:3px}#account-popover nav>button{display:flex;align-items:center;text-align:left;gap:12px;width:100%;padding:12px;border:1px solid transparent;border-radius:9px;color:#102232;background:#fff;cursor:pointer;transition:background .12s,border-color .12s}#account-popover nav>button:hover,#account-popover nav>button:focus-visible{background:#f5f7f5;border-color:#e1e7e4;outline:none}#account-popover nav>button:focus-visible{box-shadow:inset 0 0 0 1px #879da8}.account-option-icon{display:grid;place-items:center;flex-shrink:0;width:33px;height:33px;border-radius:8px;border:1px solid #e4e9e7;background:#f8faf7;color:#49616e}#account-popover nav>button>span:nth-child(2){display:flex;flex-direction:column;gap:3px}#account-popover nav strong{font:650 11px/1.5 'DM Sans',sans-serif;color:#203b4b}#account-popover nav small{font-size:9px;color:#7e8f98}#account-popover nav b{font-size:11px;font-weight:400;color:#ad755b;margin-left:auto}.account-menu-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 19px;border-top:1px solid #e9edeb;background:#fafbf9}.account-menu-bottom>span{font:6px 'Plex Mono',monospace;text-transform:uppercase;letter-spacing:1px;color:#94a0a5}.account-menu-bottom>button{display:flex;align-items:center;gap:7px;min-height:31px;padding:6px 9px;border:1px solid #eeddd3;border-radius:7px;background:#fff6f1;color:#a14626;font:650 10px 'DM Sans',sans-serif;cursor:pointer}.account-menu-bottom>button svg{width:14px;height:14px}.account-menu-bottom>button:hover{background:#ffece1;border-color:#dfb29c}
.account-section-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 22px;padding:5px;width:fit-content;border:1px solid #dfe5e4;border-radius:10px;background:#eef1ed}.account-section-tabs button{display:flex;align-items:center;justify-content:center;min-height:35px;border:1px solid transparent;border-radius:7px;padding:8px 16px;background:transparent;font:600 11px 'DM Sans',sans-serif;color:#75858e;cursor:pointer}.account-section-tabs button[aria-pressed=true]{background:white;color:#102232;border-color:#dfe5e2;box-shadow:0 2px 4px #10223205}.account-section-tabs button:hover{color:#102232}.account-detail-grid{grid-template-columns:minmax(0,1fr);max-width:850px;margin-bottom:22px}.account-password-panel,[data-account-panel=sessions]{max-width:1000px}.account-detail-grid>.card{padding:28px!important}.account-detail-grid label{font-size:11px;color:#5d737f}.account-detail-grid input{display:block;width:100%;min-height:44px;border:1px solid #dce4e4;border-radius:8px;padding:11px 13px;margin:7px 0 17px;color:#102232;font-size:12px}.account-detail-grid input[readonly]{background:#f5f7f4;color:#7c8e97}.account-detail-grid h2,.account-password-panel h2,[data-account-panel=sessions] h2{font-size:20px;letter-spacing:-.5px;margin:0 0 20px}.account-detail-grid .btn{margin-top:7px}.account-detail-grid .sub{font-size:11px;line-height:1.9}.account-password-panel .sub{font-size:11px}.account-detail-grid[hidden],[data-account-panel][hidden]{display:none!important}
@media(max-width:760px){#header-profile.profile-trigger{padding:3px;gap:0;min-height:37px}.profile-trigger-copy,.profile-trigger-chevron{display:none}#header-profile .avatar{width:33px;height:33px}.shell>header .header-right{gap:12px}#account-popover{border-radius:13px;width:330px}.account-menu-identity{padding:19px}.account-menu-identity strong{font-size:15px}.account-section-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:4px}.account-section-tabs button{font-size:9px;padding:8px;min-height:34px}.account-detail-grid>.card{padding:23px!important}.account-menu-bottom{padding:11px 18px}}
@media(prefers-reduced-motion:reduce){#account-popover button,#header-profile{transition:none}}
.profile-avatar-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.avatar:has(.profile-avatar-image),.account-menu-avatar:has(.profile-avatar-image){overflow:hidden}.profile-photo-editor{display:flex;gap:23px;align-items:flex-start;background:#f6f8f5;border:1px solid #e0e7e2;border-radius:13px;padding:22px;margin:0 0 25px}.photo-preview{position:relative;flex-shrink:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;width:110px;height:110px;border:1px dashed #b8c7c8;border-radius:24px;background:linear-gradient(145deg,#fff,#eaf0ed);overflow:hidden}.photo-preview>img{width:100%;height:100%;object-fit:cover}.photo-placeholder{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#102232;color:#f4ad8f;font:650 22px Jakarta,sans-serif}.photo-preview>small{font:6px 'Plex Mono',monospace;letter-spacing:1.7px;color:#869c9f}.photo-editor-content{min-width:0;flex:1}.photo-editor-content>.eyebrow{font-size:6px!important;margin:0 0 5px;color:#9e664d}.photo-editor-content h3{font-size:16px;letter-spacing:-.4px;margin:0 0 6px}.photo-editor-content p{font-size:10px;color:#738890;margin:5px 0 12px;line-height:1.7}.photo-editor-actions,.photo-save-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.photo-editor-actions .btn{min-height:31px;font-size:10px;margin:0}.photo-editor-actions .text-link,.photo-save-actions .text-link{font-size:10px}.photo-editor-content>small{display:block;font-size:8px;color:#8c9b9f;margin:10px 0}.photo-save-actions{margin-top:13px}.photo-save-actions .btn{min-height:31px;font-size:10px;margin:0}.photo-save-actions:has(#save-profile-photo:disabled){opacity:.55}.photo-editor-content #profile-photo-message{margin:8px 0 0;font-size:10px;color:#526f7d;overflow-wrap:anywhere}.profile-photo-editor input[hidden]{display:none!important}
@media(max-width:600px){.profile-photo-editor{padding:17px;gap:16px;flex-direction:column}.photo-preview{width:92px;height:92px;border-radius:20px}.photo-editor-content{width:100%}.photo-editor-content>small{font-size:8px}.photo-editor-content h3{font-size:16px}}
