html:has(#app > .main){scrollbar-gutter:stable}
#app:has(.prod-auth){display:block}
.prod-auth{min-height:100dvh;display:grid;place-items:center;padding:24px}
.prod-auth-card{padding:32px;width:min(440px,100%);min-width:0}
.prod-auth-card h1{font-size:26px;margin:28px 0 8px}
.prod-auth-card>p{color:var(--muted);margin-bottom:24px}
.prod-auth-card .brand-lockup{display:block;width:160px}
.prod-auth-card .brand-lockup img{width:100%;height:auto}
.prod-auth-card .stack{gap:16px}
.prod-auth-card>.btn{margin-top:12px}
.prod-error{color:var(--danger,#b42318)}
.prod-error:empty{display:none}
.app-signout{justify-self:end}
.live-pending .empty .btn{margin-top:12px}
@media(max-width:660px){
 html[data-contacts-mode=live] .topbar{grid-template-columns:max-content minmax(0,1fr) max-content}
 .prod-auth{padding:16px}
 .prod-auth-card{padding:24px}
}

.managed-info-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid var(--border);min-width:0}
.managed-info-row:last-child{border-bottom:0}
.managed-info-row>span{color:var(--muted);font-size:13px}
.managed-info-row strong{font-size:14px;font-weight:650;text-align:right;overflow-wrap:anywhere;min-width:0}
.managed-compose-from{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;padding:12px;background:var(--surface2);border:1px solid var(--border);border-radius:11px}
.managed-compose-from>div{min-width:0;display:grid;gap:3px}
.managed-compose-from small{font-size:12px;color:var(--muted)}
.managed-compose-from strong{font-size:14px;overflow-wrap:anywhere;line-height:1.4}
.managed-compose-from>div>span{color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.managed-compose-from .activity-icon{flex:none}
@media(max-width:660px){.managed-info-row{gap:8px}
.managed-info-row strong{font-size:13px}
.managed-compose-from{padding:10px}
.managed-compose-from strong{font-size:13px}
.managed-compose-from>div>span{font-size:11px}}
@media(max-width:355px){.managed-info-row>span{font-size:12px}}
/* The installed website is the identity throughout the CRM. */
.website-context{display:inline-flex;align-items:center;gap:6px;color:var(--primary-text);font-size:12px;font-weight:650;line-height:1.4;margin-bottom:7px;max-width:100%;min-width:0}
.website-context>.icon{width:14px;height:14px;flex:none}
.website-context>span{overflow-wrap:anywhere}
.page-heading{min-width:0;max-width:100%}
.website-identity{gap:9px}
.website-avatar{width:36px;height:36px;border-radius:10px;background:var(--primary-soft);color:var(--primary-text);display:grid;place-items:center;flex:none}
.website-avatar>.icon{width:19px;height:19px}
.website-identity .profile-info strong,.website-identity .profile-info span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.website-identity .profile-info strong{font-size:13px;font-weight:750}
.website-identity .profile-info span{font-size:11px}
.website-identity>.icon{color:var(--muted)}
.website-identity:hover .website-avatar{background:var(--hover);transition:background .15s}
@media(max-width:900px){.website-identity{gap:0}
.website-avatar{width:36px;height:36px}}
@media(max-width:660px){.website-context{font-size:12px;margin-bottom:5px}
.website-context>span{max-width:100%}}
