.crm-profile-avatar{position:relative;overflow:hidden;isolation:isolate;flex-shrink:0}.crm-profile-avatar img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.crm-profile-avatar [hidden]{display:none!important}.crm-profile-modal{width:min(760px,calc(100vw - 24px))}.crm-profile-editor{display:grid;gap:20px}.crm-profile-photo-area{display:flex;gap:16px;align-items:center}.crm-profile-photo-area strong{display:block;font-size:18px}.crm-profile-photo-area small{display:block;color:var(--muted);margin:6px 0}.crm-profile-photo-button{position:relative;display:inline-flex;padding:0;border:0;background:transparent;cursor:pointer;flex-shrink:0;border-radius:18px}.crm-profile-photo-button .avatar{width:84px;height:84px;font-size:28px;border-radius:18px}.crm-profile-photo-button:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.crm-profile-photo-badge{position:absolute;right:-4px;bottom:-4px;background:var(--primary);color:#fff;display:grid;place-items:center;border:3px solid var(--surface,#fff);width:28px;height:28px;border-radius:50%}.crm-profile-photo-actions{display:flex;gap:14px;flex-wrap:wrap}.crm-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.crm-profile-full{grid-column:1/-1}.crm-profile-form fieldset{border:0;margin:0;padding:0;min-width:0}.crm-profile-field{display:grid;gap:6px;min-width:0;font-size:12px;font-weight:600}.crm-profile-field input,.crm-profile-field select,.crm-profile-field textarea{box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:10px 12px;border:1px solid var(--line);background:var(--surface,#fff);color:var(--text);border-radius:9px;font:inherit}.crm-profile-field [readonly]{background:var(--surface-muted,#f5f7f7);color:var(--muted)}.crm-profile-hint,.crm-profile-status{font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0 0}.crm-profile-status:empty{display:none}.crm-profile-status.is-error{color:var(--danger,#b42318)}.crm-profile-footer{border-top:1px solid var(--line);padding-top:16px;display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}.crm-profile-footer .form-actions{margin:0;flex-wrap:wrap;justify-content:flex-start}.crm-profile-footer .btn{white-space:normal}.crm-profile-modal .modal-body{overscroll-behavior:contain}@media(max-width:600px){.crm-profile-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 24px)}.crm-profile-grid{grid-template-columns:1fr}.crm-profile-full{grid-column:auto}.crm-profile-field input,.crm-profile-field select,.crm-profile-field textarea{font-size:16px}.crm-profile-photo-area{gap:12px}.crm-profile-photo-area strong{font-size:16px}.crm-profile-footer{align-items:flex-start;flex-direction:column}.crm-profile-footer .form-actions{width:100%}.crm-profile-footer .btn{flex:1;min-width:100px}}
