/* Reuse Home's columns and navigation; only the profile center has local styles. */
.munia-home #homeChat.home-profile-page .home-feed-header {
    display: flex;
    align-items: center;
}
.home-profile-page .profile-heading { flex: 1; min-width: 0; }
.munia-home #homeChat.home-profile-page .profile-heading h1 { overflow-wrap: anywhere; line-height: 1.25; }
.profile-handle { margin-top: 2px; color: var(--home-muted); font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.munia-home #homeChat.home-profile-page #homeSearchSlot { flex: 0 1 45%; }
.profile-content { padding: 24px 22px 20px; min-width: 0; overflow-wrap: anywhere; }
.profile-overview { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.profile-intro { flex: 1 1 230px; min-width: 0; }
.profile-description { margin: 14px 0 0; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.profile-actions .profile-action {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 16px; border: 1px solid var(--home-line);
    border-radius: 999px; font: 600 14px/1.4 Arial, sans-serif;
    text-align: center; text-decoration: none; cursor: pointer; box-shadow: none;
    transition: background-color .15s ease, border-color .15s ease;
}
.profile-actions .profile-donate {
    background: #0ac18e !important; color: #06281f !important; border-color: #0ac18e;
}
.profile-actions .profile-donate:hover { background: #08ad7f !important; border-color: #08ad7f; box-shadow: none; }
.profile-actions .profile-donate:active { background: #07996f !important; border-color: #07996f; }
.profile-actions .profile-message,
.profile-actions .profile-message:visited {
    background: var(--munia-surface, #fff); color: var(--munia-text, #18231e);
}
.profile-actions .profile-message:hover { background: var(--munia-surface-soft, #f4f7f5); border-color: var(--munia-line-strong, #a6b4ad); }
.profile-actions .profile-message:active { background: var(--munia-control-hover, #edf1ef); }
.profile-actions .profile-action:focus-visible { outline: 2px solid var(--home-green); outline-offset: 3px; }
.profile-action svg { flex: 0 0 18px; }
.profile-member-since { color: var(--home-muted); font-size: 13px; line-height: 1.5; }
.profile-receive-address { min-width: 0; }
.profile-disclosures { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-top: 14px; }
.profile-disclosures details { flex: 0 1 220px; min-width: 0; }
.profile-disclosures summary {
    padding: 8px 13px; cursor: pointer; border: 1px solid var(--home-line);
    border-radius: 10px; font-size: 14px; font-weight: 600;
}
.profile-disclosures summary span { color: var(--home-muted); font-weight: 400; }
.profile-disclosure-content { margin-top: 6px; }
.profile-external-link { display: block; padding: 8px 12px; border-bottom: 1px solid var(--home-line); font-size: 14px; }
.profile-history-tabs { display: flex; border-block: 1px solid var(--home-line); }
.profile-history-tabs a {
    flex: 1; text-align: center; padding: 12px; border-bottom: 3px solid transparent;
    color: var(--home-muted); font-weight: 600; text-decoration: none;
}
.profile-history-tabs a[aria-current] { color: var(--munia-text); border-bottom-color: var(--home-green); }
.profile-history-tabs a:hover, .profile-disclosures summary:hover { background: var(--munia-surface-soft); }
.profile-history-tabs a:focus-visible, .profile-disclosures summary:focus-visible { outline: 2px solid var(--home-green); outline-offset: -2px; }
.profile-empty { color: var(--home-muted); font-size: 14px; }
.profile-history-empty { padding: 6px 22px; }
.munia-home #homeChat.home-profile-page #globalBlockchatContainer { padding-bottom: 0; overflow: visible; }
@media (min-width: 1024px) {
    #profile-history { scroll-margin-top: 70px; }
}
@media (max-width: 1023px) {
    .munia-home #homeChat.home-profile-page .home-feed-header { padding: 14px; }
    .profile-scroll { flex: 1; min-height: 0; overflow-y: auto; }
    .profile-content { padding: 18px 14px 20px; }
    .profile-disclosures details { flex: 1 1 130px; }
    .profile-actions { flex: 1 1 100%; }
    .profile-intro { flex-basis: 100%; }
    .profile-actions .profile-action { flex: 1 1 140px; }
}
@media (prefers-reduced-motion: reduce) {
    .profile-actions .profile-action { transition: none; }
}
