/* Account workspace: preserves the existing header/sidebar placement. */
body .ps-v860{display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;gap:20px!important;align-items:start!important;min-width:0!important}
body .ps-v860 .ps-profile-card,body .ps-v860 .ps-card,body .ps-v860 .ps-tabs{background:var(--ui-surface,#fff)!important;color:var(--ui-ink,#2b2e32)!important;border:1px solid var(--ui-line,#efede7)!important;box-shadow:0 8px 28px #2f323606!important;border-radius:18px!important}
body .ps-v860 .ps-profile-card{padding:24px 20px!important;top:20px!important;min-width:0!important;overflow:hidden}
body .ps-v860 .ps-avatar{border:5px solid var(--ui-surface,#fff);box-shadow:0 0 0 1px var(--ui-line,#efede7),0 10px 25px #52627322!important}
body .ps-v860 .ps-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
body .ps-v860 .ps-camera{padding:5px;cursor:pointer}body .ps-v860 h2,body .ps-v860 h3{color:var(--ui-ink,#2b2e32)!important;letter-spacing:-.3px}body .ps-v860 h2>.ui-icon{width:16px;height:16px;color:#d69b16;vertical-align:middle}
body .ps-v860 .ps-profile-card>small{display:block;overflow-wrap:anywhere;line-height:1.6;color:var(--ui-muted,#526273)!important}body .ps-v860 .ps-meta>div{padding:12px 0!important;gap:8px;min-height:46px!important;border-color:var(--ui-line,#efede7)!important;grid-template-columns:85px minmax(0,1fr)!important}body .ps-v860 .ps-meta b{font-size:11px!important;font-weight:600;line-height:1.65;overflow-wrap:anywhere;color:var(--ui-ink,#393c40)!important}body .ps-v860 .ps-meta b>.ui-icon{width:13px;height:13px;vertical-align:middle}
body .ps-v860 .ps-photo-actions button{height:62px!important;background:var(--ui-soft,#fafaf9)!important;color:#526273!important;border:1px solid var(--ui-line,#f0efea)!important;border-radius:12px!important}body .ps-v860 .ps-photo-actions .danger{color:#e75570!important}body .ps-v860 .ps-photo-actions form{margin:0}body .ps-v860 .ps-photo-actions form button{width:100%}
body .ps-v860 .ps-tabs{display:flex!important;gap:4px!important;padding:8px!important;height:auto!important;min-height:58px!important;overflow-x:auto!important;scrollbar-width:thin;position:relative!important;top:auto!important}body .ps-v860 .ps-tabs button{flex:1 0 auto!important;padding:12px 10px!important;min-height:40px;border-radius:10px!important;font-size:11px!important;color:var(--ui-muted,#526273)!important}body .ps-v860 .ps-tabs button.active{background:#52627312!important;color:#526273!important}body .ps-v860 .ps-tabs button:after{display:none!important}
body .ps-v860 .ps-tab-panel{display:none!important}body .ps-v860 .ps-tab-panel.active{display:block!important;animation:account-in .18s ease-out}body .ps-v860 .ps-card{padding:24px!important;margin-top:18px!important;min-width:0!important}body .ps-v860 .ps-card-head{padding-bottom:20px!important;margin-bottom:22px!important;border-color:var(--ui-line,#efede7)!important;align-items:center!important;flex-wrap:wrap;gap:12px!important}body .ps-v860 .ps-card-head h3{font-size:17px!important;line-height:1.5}body .ps-v860 .ps-card-head p{font-size:11px!important;line-height:1.6;color:var(--ui-muted,#526273)!important}body .ps-v860 .ps-edit{margin-left:auto;height:36px!important;border-radius:10px!important}
body .ps-v860 .ps-form-grid{gap:20px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}body .ps-v860 label{font-size:12px!important;color:var(--ui-muted,#526273)!important;line-height:1.6;min-width:0}body .ps-v860 .ps-field{height:46px!important;border:1px solid var(--ui-line,#eceae4)!important;background:var(--ui-surface,#fff)!important;border-radius:10px!important;gap:10px!important;margin-top:7px!important}body .ps-v860 .ps-field:focus-within{border-color:#526273!important;box-shadow:0 0 0 3px #5262730e}body .ps-v860 input{font-size:12px!important;color:var(--ui-ink,#393c40)!important;min-width:0;max-width:100%}body .ps-v860 input[readonly]{color:var(--ui-muted,#526273)!important}body .ps-v860 select{display:block;width:100%;height:46px;padding:0 12px;margin-top:7px;border:1px solid var(--ui-line,#eceae4);border-radius:10px;background:var(--ui-surface,#fff);color:var(--ui-ink,#393c40);font:inherit;outline:none}body .ps-v860 textarea{background:var(--ui-surface,#fff)!important;color:var(--ui-ink,#393c40)!important;border-color:var(--ui-line,#eceae4)!important;border-radius:10px!important;padding:14px!important;line-height:1.7!important;min-height:115px!important}body .ps-v860 .ps-bio{display:block;margin-top:20px}body .ps-v860 .ps-confirm-password{display:block;max-width:100%;margin-top:20px}body .ps-v860 .ps-span-two{grid-column:1/-1}
body .ps-v860 .primary{height:42px!important;border-radius:10px!important;display:inline-flex;align-items:center;gap:8px;padding:0 18px!important;box-shadow:0 5px 14px #52627320!important;font-size:11px!important}body .ps-v860 .ps-save-row{margin-top:22px!important}body .ps-v860 .ps-last-pass{margin-left:auto;white-space:normal!important;line-height:1.7;background:var(--ui-soft,#fbfbfa)!important;color:var(--ui-muted,#526273)!important}body .ps-v860 .ps-pass-bottom{gap:20px;flex-wrap:wrap}body .ps-v860 .ps-pass-bottom p{display:flex;flex-wrap:wrap;gap:8px 14px;line-height:1.7}
body .ps-v860 .ps-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}body .ps-v860 .ps-info-grid article{padding:20px!important;background:var(--ui-soft,#fbfbfa)!important;border:1px solid var(--ui-line,#efede7)!important;border-radius:12px!important}body .ps-v860 .ps-info-grid b{font-size:13px!important;color:var(--ui-ink,#393c40)!important}body .ps-v860 .ps-info-grid span{line-height:1.7;color:var(--ui-muted,#526273)!important}
body .ps-v860 .ps-toggle-list label{padding:18px 0!important;border-color:var(--ui-line,#efede7)!important;gap:12px}body .ps-v860 .ps-toggle-list b{color:var(--ui-ink,#393c40)!important}body .ps-v860 .ps-toggle-list small{line-height:1.7;color:var(--ui-muted,#526273)!important}
body .ps-v860 .ps-session{background:var(--ui-soft,#fbfbfa)!important;border:1px solid var(--ui-line,#efede7)!important;border-radius:12px!important;padding:20px!important;flex-wrap:wrap;gap:14px!important}body .ps-v860 .ps-session b{color:var(--ui-ink,#393c40)!important}body .ps-v860 .ps-session-details{display:grid;gap:18px;margin:24px 0}body .ps-v860 .ps-session-details b{display:block;margin-top:5px;overflow-wrap:anywhere;font-size:12px;color:var(--ui-ink,#393c40)}body .ps-v860 .ps-session-logout{display:inline-flex;align-items:center;gap:8px;padding:11px 16px;background:#e9537010;border:1px solid #e9537033;border-radius:10px;color:#dc4762;font:inherit;cursor:pointer}body .ps-v860 .ps-activity-list>div{display:grid!important;grid-template-columns:minmax(130px,1fr) minmax(80px,1fr) auto;gap:12px!important;align-items:center;padding:16px 0!important;border-color:var(--ui-line,#efede7)!important;overflow-wrap:anywhere}body .ps-v860 .ps-empty{padding:40px 20px!important;background:var(--ui-soft,#fbfbfa)!important;border-radius:12px!important;line-height:1.8}
/* Account information drawer: existing placement and opening behavior retained. */
body #profileInfoDrawer .pid-hero{padding:16px!important;border-radius:15px!important;background:#ffffff05!important;border:1px solid #ffffff0c!important}body #profileInfoDrawer .pid-title h3{white-space:normal!important;line-height:1.5!important;font-size:14px!important}body #profileInfoDrawer .pid-title p{overflow-wrap:anywhere;word-break:break-word;font-size:10px!important;line-height:1.7}body #profileInfoDrawer .pid-title h3>.ui-icon{width:14px;height:14px;color:#eabf68}body #profileInfoDrawer .pid-stats{gap:8px!important}body #profileInfoDrawer .pid-stats article{border:1px solid #ffffff08;border-radius:10px!important;padding:10px!important}body #profileInfoDrawer .pid-menu{margin:14px 0!important}body #profileInfoDrawer .pid-menu a{padding:11px 10px!important;gap:10px!important;border:1px solid transparent;border-radius:12px!important}body #profileInfoDrawer .pid-menu a.active{background:#52627320!important;border-color:#52627333!important}body #profileInfoDrawer .pid-menu a>i{width:36px!important;height:36px!important;background:#ffffff08!important;color:#526273!important;border:1px solid #ffffff0a;border-radius:10px!important}body #profileInfoDrawer .pid-menu a.active>i{color:#dcdee1!important;background:#52627328!important}body #profileInfoDrawer .pid-menu a>i .ui-icon{width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.8!important}body #profileInfoDrawer .pid-secondary button{padding:12px 10px!important;gap:13px!important;border-radius:10px!important}body #profileInfoDrawer .pid-secondary button>.ui-icon{width:18px!important;height:18px!important;color:#526273!important}
/* File events in LiveChat archives. */
body #d5d0c3vents .ca-file{margin-top:8px;max-width:360px;min-width:0}body #d5d0c3vents .ca-image-link{display:block;border:1px solid var(--ui-line,#efede7);border-radius:10px;overflow:hidden;background:var(--ui-soft,#fbfbfa)}body #d5d0c3vents .ca-image{display:block;width:100%;max-width:360px;max-height:280px;object-fit:contain}body #d5d0c3vents .ca-file-link{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0 2px;color:#526273;font-size:11px;text-decoration:none;overflow-wrap:anywhere}body #d5d0c3vents .ca-file-link span{flex:1;min-width:80px}body #d5d0c3vents .ca-file-link b{font-size:10px}body #d5d0c3vents .ca-file-link .ui-icon{width:15px;height:15px}body #d5d0c3vents .ca-file-status{display:block;font-size:10px;line-height:1.7;color:var(--ui-muted,#526273);margin-top:8px}body #d5d0c3vents [hidden]{display:none!important}
@keyframes account-in{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1150px){body .ps-v860{grid-template-columns:220px minmax(0,1fr)!important;gap:16px!important}body .ps-v860 .ps-card{padding:20px!important}}
@media(max-width:1000px){body .ps-v860{grid-template-columns:minmax(0,1fr)!important}body .ps-v860 .ps-profile-card{position:static!important}body .ps-v860 .ps-form-grid,body .ps-v860 .ps-info-grid{grid-template-columns:minmax(0,1fr)!important}body .ps-v860 .ps-activity-list>div{grid-template-columns:1fr!important;gap:5px!important}body .ps-v860 .ps-last-pass{margin-left:0}body .ps-v860 .ps-tabs button{flex:0 0 auto}}
@media(prefers-reduced-motion:reduce){body .ps-v860 .ps-tab-panel.active{animation:none}}
body .ps-v860 .ps-activity-search{width:100%;height:44px;padding:0 14px;border:1px solid var(--ui-line,#eceae4);border-radius:10px;background:var(--ui-surface,#fff);margin:16px 0;outline:none}body .ps-v860 [hidden]{display:none!important}
/* Generic header rules must not leak into account popup headers. */
body .af-dialog>header,body .crop-dialog>header{position:static!important;inset:auto!important;width:auto!important;height:auto!important;min-height:0!important;box-shadow:none!important;display:flex!important;align-items:center!important;gap:12px!important;padding:18px 20px!important;background:var(--ui-soft,#fbfbfa)!important;color:var(--ui-ink,#393c40)!important;border-bottom:1px solid var(--ui-line,#efede7)!important}body .af-dialog>header h3,body .crop-dialog>header h3{color:var(--ui-ink,#393c40)!important;font-size:18px!important;line-height:1.4!important}body .af-dialog>header p,body .crop-dialog>header p{color:var(--ui-muted,#526273)!important;line-height:1.7!important;font-size:11px!important}
body #d5d0c3vents .ca-image-link{width:min(320px,calc(100vw - 120px));max-width:100%}
