/* Profile and community pages: compact, task-oriented layouts. */
.profile-settings-shell {max-width:1120px;margin:0 auto}
.profile-settings-heading {display:flex;align-items:end;justify-content:space-between;gap:24px;margin:12px 0 28px}
.profile-settings-heading h1 {margin:10px 0 6px;font-size:clamp(1.8rem,2.6vw,2.35rem);letter-spacing:-.035em}
.profile-settings-heading p {margin:0;color:#6e798d}
.profile-settings-back {font-size:13px;font-weight:600;color:#687794;text-decoration:none}
.profile-settings-layout {display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}
.profile-settings-list,.profile-settings-help {background:#fff;border:1px solid #e3e7ef;border-radius:12px}
.profile-settings-list {padding:4px 20px}
.profile-settings-item {display:flex;align-items:center;gap:16px;min-height:88px;padding:17px 2px;color:#26334c;text-decoration:none;border-bottom:1px solid #edf0f5}
.profile-settings-item:last-child {border-bottom:0}.profile-settings-item:hover {color:#405bc5}
.profile-settings-icon,.profile-settings-help-icon {display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:10px;background:#f0f3ff;color:#405bc5}
.profile-settings-icon svg,.profile-settings-help-icon svg {width:21px;height:21px}
.profile-settings-copy {display:flex;flex-direction:column;gap:3px;min-width:0}.profile-settings-copy strong {font-size:15px}.profile-settings-copy span {font-size:13px;color:#7d899b}.profile-settings-arrow {margin-left:auto;font-size:20px;color:#98a4b9}
.profile-settings-help {padding:22px}.profile-settings-help h2 {margin:16px 0 8px;font-size:16px}.profile-settings-help p {font-size:13px;line-height:1.65;color:#718096}.profile-settings-help a {font-size:13px;font-weight:600}
.community-shell:not([data-community-screen="admin"]) {--c-radius:12px;--c-radius-sm:9px;--c-pad:22px;--c-gap:14px;--ink:#1c273b;--ink-muted:#667085;--ink-faint:#7b8799;--border:#e3e7ef;--surface:#fff;--surface-sunk:#f5f7fb;--accent:#405bc5;--link:#405bc5;max-width:1120px}
.community-shell:not([data-community-screen="admin"]) > h1 {margin:10px 0 6px;font-size:clamp(1.8rem,2.6vw,2.35rem);letter-spacing:-.035em}
.community-page-description {margin:0;color:#778297;font-size:14px}
.community-shell:not([data-community-screen="admin"]) > nav.community-tabs {display:flex;flex-wrap:nowrap;overflow-x:auto;gap:4px;margin:24px 0;border-bottom:1px solid #e3e7ef;padding-bottom:0;scrollbar-width:thin}
.community-shell:not([data-community-screen="admin"]) > nav.community-tabs a {flex:none;padding:11px 13px;border:0;border-radius:0;border-bottom:2px solid transparent;background:transparent;color:#69768a;font-size:13px;font-weight:600;white-space:nowrap}
.community-shell:not([data-community-screen="admin"]) > nav.community-tabs a:hover {color:#405bc5;background:transparent}
.community-shell:not([data-community-screen="admin"]) > nav.community-tabs a[aria-current="page"] {color:#405bc5;border-bottom-color:#405bc5;background:transparent}
.community-shell:not([data-community-screen="admin"]) :is(.community-card,.community-form,.community-filter-form,.community-empty,.community-table-wrap) {border-color:#e3e7ef;border-radius:12px;box-shadow:none}
.community-shell:not([data-community-screen="admin"]) :is(.community-card,.community-form) {background:#fff}
.community-shell:not([data-community-screen="admin"]) :is(.community-form-group h2,.community-card h2) {font-size:16px;letter-spacing:-.01em}
.community-shell:not([data-community-screen="admin"]) .community-form-group {padding-top:24px;margin-top:24px}
.community-shell:not([data-community-screen="admin"]) .community-form-group:first-of-type {padding-top:0;margin-top:0}
.community-shell:not([data-community-screen="admin"]) .community-check input {accent-color:#405bc5}
.community-shell:not([data-community-screen="admin"]) .community-field-row {gap:16px}
.community-shell:not([data-community-screen="admin"]) .community-form-actions {gap:12px}
.community-shell[data-community-screen="profile"] .wisdom-profile-hero {display:grid;grid-template-columns:72px minmax(0,1fr) auto;column-gap:18px;align-items:center;text-align:left;padding:24px;background:#fff;border:1px solid #e3e7ef;border-radius:12px}
.community-shell[data-community-screen="profile"] .wisdom-profile-avatar {grid-row:1 / span 4;width:72px;height:72px;margin:0;border:0;border-radius:16px;background:#eef2ff;color:#405bc5;box-shadow:none;font-size:24px}
.community-shell[data-community-screen="profile"] .wisdom-profile-hero h2 {grid-column:2;margin:0 0 4px;font-size:22px;overflow-wrap:anywhere}
.community-shell[data-community-screen="profile"] .wisdom-profile-meta,.community-shell[data-community-screen="profile"] .community-hero-bio,.community-shell[data-community-screen="profile"] .community-hero-note {grid-column:2;margin:3px 0;font-size:13px}
.community-shell[data-community-screen="profile"] .wisdom-profile-edit {grid-column:3;grid-row:1 / span 2;margin:0;border-radius:8px;border-color:#dce1eb;color:#405bc5;white-space:nowrap}
.community-shell[data-community-screen="profile"] .wisdom-row-card {min-height:66px;padding:12px 14px;border:1px solid #e3e7ef;border-radius:10px;background:#fff}
.community-shell[data-community-screen="profile"] .wisdom-row-icon {border-radius:8px;background:#f0f3ff;color:#526bc9}
.community-shell[data-community-screen="profile"] .wisdom-cta-card {background:#f0f3ff;border:1px solid #dce4ff;border-radius:12px;color:#344054}
.community-shell[data-community-screen="profile"] .wisdom-cta-card h3 {color:#25314a}.community-shell[data-community-screen="profile"] .wisdom-cta-card p {color:#667085}.community-shell[data-community-screen="profile"] .wisdom-cta-actions a {border:1px solid #d3dcf4;border-radius:8px;color:#405bc5}
.community-shell:not([data-community-screen="admin"]) .community-grid {gap:14px}.community-shell:not([data-community-screen="admin"]) .community-card-open {border-radius:8px}
@media(max-width:767.98px){
 .profile-settings-heading {align-items:start;flex-direction:column;margin-bottom:20px}.profile-settings-layout {grid-template-columns:1fr}.profile-settings-list {padding:0 14px}.profile-settings-item {gap:12px;min-height:80px}.profile-settings-help {padding:18px}
 .community-shell:not([data-community-screen="admin"]) {--c-pad:16px}.community-shell:not([data-community-screen="admin"]) > nav.community-tabs {margin:18px 0}
 .community-shell[data-community-screen="profile"] .wisdom-profile-hero {grid-template-columns:56px minmax(0,1fr);gap:6px 14px;padding:18px}
 .community-shell[data-community-screen="profile"] .wisdom-profile-avatar {width:56px;height:56px;font-size:19px;grid-row:1 / span 3}
 .community-shell[data-community-screen="profile"] .wisdom-profile-hero h2 {font-size:19px}.community-shell[data-community-screen="profile"] .wisdom-profile-edit {grid-column:2;grid-row:auto;justify-self:start;margin-top:6px}
 .community-shell[data-community-screen="profile"] .community-hero-note {grid-column:1 / -1;margin-top:8px}
}
