.profile-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: 24px; align-items: start; max-width: 1280px; }
.profile-main, .profile-aside { display: grid; gap: 24px; min-width: 0; }
.profile-layout .panel { min-width: 0; }
.profile-identity { display: flex; align-items: center; gap: 22px; padding-bottom: 24px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.profile-avatar { width: 92px; height: 92px; border-radius: 24px; flex: 0 0 92px; display: grid; place-items: center; overflow: hidden; color: var(--green); background: #eaf1e6; font-size: 28px; font-weight: 550; }
.profile-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-identity h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.25; overflow-wrap: anywhere; }
.profile-identity p { margin: 0; overflow-wrap: anywhere; }
.profile-eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.profile-identity .profile-eyebrow { margin-bottom: 8px; }
.profile-layout .info-grid { margin: 20px 0; }
.profile-layout .info-grid dd { overflow-wrap: anywhere; }
.profile-section-heading { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.profile-section-heading h3 { margin: 0; font-size: 16px; }
.profile-private-label { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 6px; background: #f0f2f0; color: #637168; font-size: 10px; }
.profile-note { font-size: 12px; line-height: 1.65; color: #728077; margin: 10px 0 0; }
.profile-security-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; }
.profile-security-row + .profile-security-row { border-top: 1px solid var(--line); padding-bottom: 0; }
.profile-security-row h3 { margin: 0 0 6px; font-size: 14px; }
.profile-security-row p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 320px; }
.profile-security-row .button { flex-shrink: 0; font-size: 12px; }
.profile-preview h2 { margin-bottom: 8px; }
.profile-preview-card { margin: 22px 0 16px; padding: 24px 20px 18px; border: 1px solid #e3e9e1; border-radius: 14px; text-align: center; background: #fafbf8; }
.profile-preview-card .profile-avatar { width: 72px; height: 72px; border-radius: 20px; font-size: 22px; margin: 0 auto 16px; }
.profile-preview-card h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.profile-preview-card p { margin: 5px 0; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.profile-preview-card .info-grid { grid-template-columns: 1fr; margin: 20px 0 0; text-align: left; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.profile-preview-card .profile-hidden-contacts { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.profile-wide-button { width: 100%; }
.profile-preference { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding: 17px 0; }
.profile-preference + .profile-preference { border-top: 1px solid var(--line); }
.profile-preference:last-child { padding-bottom: 0; }
.profile-preference strong { display: block; font-size: 13px; font-weight: 550; }
.profile-preference small { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); }
.profile-preference input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: var(--green); }
.profile-sessions { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; width: 100%; }
.profile-sessions li { padding: 18px 0; }
.profile-sessions li + li { border-top: 1px solid var(--line); }
.profile-sessions li > div { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.profile-sessions p { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; color: var(--muted); }
.profile-sessions small { font-size: 11px; color: var(--muted); line-height: 1.8; }
.profile-edit-form .field.wide { grid-column: 1 / -1; }
@media (max-width: 1100px) { .profile-layout { grid-template-columns: 1fr; } .profile-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
@media (max-width: 640px) { .profile-aside { grid-template-columns: 1fr; } .profile-identity { align-items: flex-start; gap: 16px; } .profile-identity h2 { font-size: 20px; } .profile-avatar { width: 68px; height: 68px; flex-basis: 68px; border-radius: 18px; font-size: 22px; } .profile-security-row { align-items: flex-start; flex-direction: column; gap: 12px; } .profile-security-row .button { width: 100%; } }
