:root:has(.account-security-dialog:modal){overflow:hidden}
.account-security-trigger{white-space:nowrap;font-size:12px}
.account-security-dialog{position:fixed;inset:0;width:min(650px,94vw);max-width:94vw;max-height:88vh;max-height:88dvh;margin:auto;padding:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #dfe4d7;border-radius:14px;background:#fff;color:#20271b;box-shadow:0 25px 90px #18231040;font-family:Inter,Arial,sans-serif;font-size:14px;line-height:1.6}
.account-login-dialog{width:min(500px,94vw)}
.account-security-dialog::backdrop{background:#18231080;backdrop-filter:blur(3px)}
.account-security-dialog *{box-sizing:border-box}
.account-security-dialog [hidden]{display:none!important}
.account-security-heading{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 28px;background:#fff;border-bottom:1px solid #e5e9dc}
.account-security-eyebrow{display:block;margin-bottom:7px;font-size:10px;font-weight:700;letter-spacing:1.4px;color:#65734f}
.account-security-heading h2{margin:0;font-size:23px;line-height:1.25;letter-spacing:-.5px;color:#20271b}
.account-security-close{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:1px solid #e1e5da;border-radius:50%;background:#fff;color:#59694a;font:25px/1 Arial,sans-serif;cursor:pointer}
.account-security-close:hover:not(:disabled){background:#f3f5ec}
.account-security-content{padding:24px 28px 28px}
.account-security-note,.account-security-feedback,.account-security-warning,.account-security-error{margin:0 0 16px;font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.account-security-note{color:#647255}
.account-security-feedback{color:#3d651d}
.account-security-warning{padding:12px 14px;border:1px solid #ecddb1;border-radius:8px;background:#fff9e8;color:#765a17}
.account-security-error{color:#a62a22}
.account-security-error:empty,.account-security-feedback:empty{display:none}
.account-security-status{padding:17px 18px;margin:18px 0;border:1px solid #dde6cc;border-radius:9px;background:#f5f8ef}
.account-security-status strong{font-size:14px}
.account-security-status p{margin:7px 0 0}
.account-security-form{margin-top:20px}
.account-security-field{display:block;margin:0 0 16px;font-size:13px;font-weight:500;color:#20271b}
.account-security-field>span{display:block;margin-bottom:8px}
.account-security-field input{display:block;width:100%;min-height:45px;border:1px solid #dce1d4;border-radius:7px;padding:11px 12px;background:#fff;color:#20271b;font:inherit;font-weight:400;scroll-margin-block:110px}
.account-security-field input:focus{border-color:#8b9f6a}
.account-security-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.account-security-dialog .button{display:inline-flex;align-items:center;justify-content:center;min-height:43px;margin:0;padding:11px 16px;border:1px solid #dce1d4;border-radius:7px;background:#fff;color:#20271b;font:600 12px/1.4 Inter,Arial,sans-serif;text-decoration:none;text-align:center;cursor:pointer;transition:background .15s}
.account-security-dialog .button:hover:not(:disabled){background:#f3f5ed;transform:none}
.account-security-dialog .button.primary{background:#ffe353;border-color:#ffe353;color:#2d301b}
.account-security-dialog .button.primary:hover:not(:disabled){background:#f5d53c}
.account-security-dialog .button.account-security-danger{color:#a62a22}
.account-security-dialog button:disabled,.account-security-dialog input:disabled{opacity:.55;cursor:default}
.account-security-dialog :focus-visible{outline:3px solid #8a9f61;outline-offset:3px}
.account-security-setup{display:grid;grid-template-columns:240px minmax(0,1fr);gap:22px;align-items:center;margin:20px 0}
.account-security-setup>img{display:block;width:240px;height:240px;max-width:100%;background:white;border:1px solid #e5e9dc;border-radius:8px}
.account-security-setup h3{margin:0 0 12px;font-size:14px;line-height:1.4}
.account-security-secret{display:block;overflow-wrap:anywhere;padding:13px;margin:0 0 14px;border:1px solid #dde4d2;border-radius:7px;background:#f5f8ef;color:#28381e;font:14px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.6px;user-select:all}
.account-security-setup .account-security-feedback{margin:10px 0 0}
.account-recovery-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0;padding:0;list-style:none}
.account-recovery-codes li{padding:10px 11px;border:1px solid #dde4d2;border-radius:6px;background:#f5f8ef;overflow-wrap:anywhere}
.account-recovery-codes code{font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;user-select:all}
@media(max-width:650px){.account-security-dialog{width:96vw;max-width:96vw;max-height:94vh;max-height:94dvh}.account-security-heading{padding:18px;gap:12px}.account-security-heading h2{font-size:21px}.account-security-content{padding:20px 18px 24px}.account-security-setup{grid-template-columns:1fr;gap:17px}.account-security-setup>img{width:220px;height:220px;justify-self:center}.account-security-field input{font-size:16px}.account-recovery-codes{grid-template-columns:1fr}.account-security-actions>.button{flex:1 1 180px}.account-security-trigger{font-size:10px!important;min-height:34px;white-space:normal;max-width:118px;line-height:1.3}.nr-topbar>div{gap:8px;flex-wrap:wrap}.nr-topbar{min-height:70px;height:auto;padding-block:12px}.home-topbar #home-user{display:none}.topbar-actions{flex-wrap:wrap;gap:10px}.topbar-actions>.account-security-trigger{min-height:34px}}
/* 2.14.20 · Fotos da equipe */
.avatar,.mini-avatar,.user-avatar,.chat-avatar,.profile-photo-preview{overflow:hidden;flex-shrink:0}
.avatar.has-photo,.mini-avatar.has-photo,.user-avatar.has-photo,.chat-avatar.has-photo,.profile-photo-preview.has-photo{background:#e7eae2;padding:0}
.avatar img,.mini-avatar img,.user-avatar img,.chat-avatar img,.profile-photo-preview img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.avatar-button{border:0;padding:0;font:inherit;font-weight:700;color:inherit;cursor:pointer;line-height:1}
.avatar-button:hover{box-shadow:0 0 0 3px #ffdf5180}
.avatar-button:focus-visible{outline:3px solid #b59713;outline-offset:2px}
.user-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#eceee8;color:#5d6455;font-size:13px;font-weight:700}
.profile-photo-dialog{width:min(520px,calc(100vw - 28px))}
.profile-photo-dialog .eyebrow{font-size:10px;letter-spacing:1.65px;font-weight:700;color:#737870}
.profile-photo-body{display:flex;gap:22px;align-items:center}
.profile-photo-preview{display:grid;place-items:center;width:120px;height:120px;border-radius:50%;background:#eceee8;color:#5d6455;font-size:36px;font-weight:700}
.profile-photo-name{font-size:15px;font-weight:700;margin:0 0 6px}
.profile-photo-note{font-size:12px;line-height:1.6;color:#737870;margin:0}
.profile-photo-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.profile-photo-status{font-size:13px;margin-top:14px}
.profile-photo-status:empty,.profile-photo-dialog .error:empty{display:none}
.profile-photo-dialog .error{margin-top:12px}
@media(max-width:520px){.profile-photo-body{flex-direction:column;align-items:flex-start}}
html[data-theme=dark] .user-avatar,html[data-theme=dark] .profile-photo-preview{background:#2b3025;color:#e9ebe5}
html[data-theme=dark] .profile-photo-note,html[data-theme=dark] .profile-photo-dialog .eyebrow{color:#a7ad9c}
.users-photo-sync{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding:12px 14px;border-radius:8px;background:#f4f6ef;font-size:12px;line-height:1.6}
.users-photo-sync p{margin:0;color:#4b5244}
.users-photo-sync .button{flex-shrink:0;font-size:12px;min-height:34px;padding:7px 12px}
html[data-theme=dark] .users-photo-sync{background:#1f231c}
html[data-theme=dark] .users-photo-sync p{color:#c9cebf}
@media(max-width:600px){.users-photo-sync{flex-direction:column;align-items:flex-start}}
