dialog.rumapa-profile{box-sizing:border-box;width:min(32rem,calc(100% - 24px));max-height:85dvh;padding:0;border:1px solid #c8d3e2;border-radius:22px;background:#fff;color:#17253a;overflow:auto;font:inherit}
dialog.rumapa-profile::backdrop{background:#0c182bc7}
.rumapa-profile .profile-toolbar{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:10px;padding:16px;background:inherit;border-bottom:1px solid #8592a744}
.rumapa-profile h2{margin:0;flex:1;font-size:1.25rem}.rumapa-profile section,.profile-contact{display:grid;gap:12px;padding:18px}
.rumapa-profile button,.rumapa-profile input,.rumapa-profile textarea{font:inherit;color:inherit;box-sizing:border-box;border-radius:12px;background:transparent;border:1px solid #8292aa66;padding:10px}
.rumapa-profile button{min-height:44px;cursor:pointer}.rumapa-profile label,.rumapa-profile article,.profile-banner{display:grid;gap:6px}
.rumapa-profile input:not([type=checkbox]),.rumapa-profile textarea{width:100%}.rumapa-profile textarea{min-height:6em}
.rumapa-profile label:has([type=checkbox]){display:flex;align-items:center}.rumapa-profile p{margin:0}.rumapa-profile article,.profile-contact{padding:12px;border-bottom:1px solid #8292aa44}
.profile-banner{background:linear-gradient(115deg,#087880,#2856b9);color:#fff;border-radius:16px;padding:18px;overflow-wrap:anywhere}.profile-banner strong{font-size:1.25rem}
.rumapa-profile .profile-row{display:flex;justify-content:space-between;align-items:center;text-align:start;padding-inline:14px}.rumapa-profile .profile-save{background:#245acd;color:white}
body.dark .rumapa-profile{background:#142033;color:#eff5ff;border-color:#40516b}

dialog.rumapa-profile{inset:0 0 0 auto;margin:0;width:min(30rem,100%);height:100dvh;max-height:100dvh;max-width:100%;border-width:0 0 0 1px;border-radius:20px 0 0 20px;overscroll-behavior:contain;box-shadow:-12px 0 48px #0b193726}
dialog.rumapa-profile::backdrop{background:#0b193766}
.rumapa-profile .profile-toolbar{background:#fff;color:#17253a;padding: max(14px,env(safe-area-inset-top)) 20px 14px}
body.dark .rumapa-profile .profile-toolbar{background:#142033;color:#eff5ff}
.rumapa-profile .profile-close{width:44px;height:44px;border-radius:50%;padding:0;font:normal 26px/1 system-ui}
.rumapa-profile section{padding:20px 20px max(24px,env(safe-area-inset-bottom));gap:16px}
.profile-menu{border:1px solid #8292aa55;border-radius:16px;padding:0 14px}
.rumapa-profile .profile-row{width:100%;min-height:52px;padding:10px 4px;border:0;border-radius:0}
.rumapa-profile .profile-row+.profile-row{border-top:1px solid #8292aa44}
.rumapa-profile .profile-row:hover{color:#175bae}body.dark .rumapa-profile .profile-row:hover{color:#8acfff}
.rumapa-profile button:focus-visible{outline:2px solid #488bf0;outline-offset:1px}
.profile-banner span{font-size:.875rem}
@media(max-width:680px){dialog.rumapa-profile{border:0;border-radius:0;width:100%}}
@media(prefers-reduced-motion:no-preference){dialog.rumapa-profile[open]{animation:rumapa-profile-in .17s ease-out}@keyframes rumapa-profile-in{from{opacity:.75;transform:translateX(16px)}}}

dialog.rumapa-profile {
  --panel: #fff;
  --canvas: #f5f7fa;
  --line: #dce4ee;
  --muted: #536378;
  --tile: #eaf1fb;
  --ink: #315a88;
  background: var(--canvas);
}
body.dark dialog.rumapa-profile {
  --panel: #172336;
  --canvas: #101b2a;
  --line: #344359;
  --muted: #b0bfd2;
  --tile: #27394e;
  --ink: #a8d4ff;
  background: var(--canvas);
}
.rumapa-profile .profile-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(110deg,#096c75,#204e99);
}
.profile-banner .profile-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff24;
  border: 1px solid #ffffff52;
  font-size: 1rem;
  font-weight: 700;
}
.profile-identity {display:grid;min-width:0;gap:3px}
.rumapa-profile .profile-group h3 {margin:4px 4px 8px;font-size:.9rem;color:var(--muted)}
.rumapa-profile .profile-menu,.rumapa-profile .profile-contact {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 16px;
}
.rumapa-profile .profile-row {justify-content:start;gap:12px;min-height:58px;font-weight:600}
.rumapa-profile .profile-chevron {margin-inline-start:auto;color:var(--muted);font:22px/1 system-ui}
.profile-icon {
  width:34px;height:34px;flex:none;display:grid;place-items:center;
  border-radius:11px;color:var(--ink);background:var(--tile);
}
.profile-icon svg {width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
body:not(.dark) .rumapa-profile .icon-favorites {color:#ac4264;background:#f9edf2}
body:not(.dark) .rumapa-profile .icon-reviews {color:#85601c;background:#fbf4e3}
body:not(.dark) .rumapa-profile :is(.icon-chats,.icon-credits) {color:#186c6a;background:#e8f4f1}
.rumapa-profile input:not([type=checkbox]),.rumapa-profile textarea,.rumapa-profile fieldset {background:var(--panel);border:1px solid var(--line);border-radius:12px}
.rumapa-profile fieldset {margin:0;min-width:0;padding:10px 14px}
.rumapa-profile fieldset label {min-height:44px;gap:8px}
.rumapa-profile .profile-contact {padding:16px}
.rumapa-profile .profile-contact [role=status]:empty {display:none}

/* Compact floating account panel with a consistent rounded interaction surface. */
html body dialog.rumapa-profile{inset:20px 20px auto auto;margin:0;width:min(440px,calc(100vw - 40px));height:auto;max-height:calc(100dvh - 40px);border:1px solid var(--line);border-radius:24px;scrollbar-width:thin;scrollbar-color:#65738a66 transparent;box-shadow:0 24px 80px #02061744;}
html body .rumapa-profile .profile-toolbar{padding:16px 20px;border-radius:23px 23px 0 0;background:var(--canvas);}
html body .rumapa-profile section{padding:18px 20px 22px;gap:20px;}
html body .rumapa-profile .profile-banner{padding:18px;gap:14px;border-radius:18px;}
html body .rumapa-profile .profile-menu{padding:6px;}
html body .rumapa-profile .profile-row{min-height:54px;padding:9px 12px;border:0;border-radius:12px;font-size:15px;box-shadow:none;outline:none;transition:background .18s,color .18s,box-shadow .18s;}
html body .rumapa-profile .profile-row+.profile-row{border-top:0;margin-top:2px;}
html body .rumapa-profile .profile-row:hover{background:#168bc712;color:#1370af;box-shadow:inset 0 0 0 1px #249bd526;}
html body.dark .rumapa-profile .profile-row:hover{background:#57bddb16;color:#a3e6f4;box-shadow:inset 0 0 0 1px #67d4e52b;}
html body .rumapa-profile .profile-row:focus-visible{outline:2px solid #58bed9;outline-offset:-2px;background:#168bc712;}
html body .rumapa-profile .profile-group h3{font-size:13px;font-weight:600;margin:0 6px 8px;}
html body .rumapa-profile .profile-icon{width:32px;height:32px;border-radius:10px;}
@media(max-width:600px){html body dialog.rumapa-profile{inset:max(12px,env(safe-area-inset-top)) 12px auto;width:calc(100vw - 24px);max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)));border-radius:22px;}html body .rumapa-profile section{padding:16px;gap:18px;}html body .rumapa-profile .profile-toolbar{padding:14px 16px;}}
@media(prefers-reduced-motion:reduce){html body .rumapa-profile .profile-row{transition:none;}}

/* Shared RUMAPA actions across every account view, including contact forms. */
html body .rumapa-profile button:not(.profile-row){min-height:44px;border-radius:14px;font-weight:600;line-height:1.4;transition:background .18s,border-color .18s,box-shadow .18s;}
html body .rumapa-profile button:not(.profile-row):not(.profile-save):hover:not(:disabled){background:#259ac914;border-color:#58bed9;box-shadow:0 0 0 3px #58bed914;}
html body .rumapa-profile button.profile-save{background:linear-gradient(110deg,#087bff,#7541ed);color:#fff;border:1px solid transparent;padding:12px 18px;border-radius:16px;box-shadow:0 8px 24px #245bdb16;}
html body .rumapa-profile button.profile-save:hover:not(:disabled){background:linear-gradient(110deg,#168bff,#8554f5);box-shadow:0 0 0 3px #59c4de24,0 10px 28px #395ce52b;}
html body .rumapa-profile button:not(.profile-row):focus-visible{outline:2px solid #59c4de;outline-offset:3px;}
html body .rumapa-profile button:disabled{opacity:.55;cursor:wait;}
html body .rumapa-profile button.profile-close{border-radius:50%;line-height:1;}
html body .rumapa-profile input[type=checkbox]{accent-color:#1c91db;width:17px;height:17px;}
html body .rumapa-profile input:focus-visible,html body .rumapa-profile textarea:focus-visible{outline:2px solid #59c4de;outline-offset:2px;}
@media(prefers-reduced-motion:reduce){html body .rumapa-profile button{transition:none!important;}}

/* One visual rhythm for account lists, balances and all loading/empty states. */
html body .rumapa-profile .profile-state{display:grid;justify-items:center;gap:14px;padding:26px 18px;text-align:center;background:var(--panel);border:1px solid var(--line);border-radius:18px;}
html body .rumapa-profile .profile-state .profile-icon{width:48px;height:48px;border-radius:16px;}
html body .rumapa-profile .profile-state h3{font-size:17px;line-height:1.45;margin:0;}
html body .rumapa-profile .profile-state p,html body .rumapa-profile .profile-description{color:var(--muted);font-size:14px;line-height:1.6;overflow-wrap:anywhere;}
html body .rumapa-profile .profile-state p:empty{display:none;}
html body .rumapa-profile .profile-item{padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--panel);gap:10px;overflow-wrap:anywhere;min-width:0;}
html body .rumapa-profile .profile-item strong,html body .rumapa-profile .profile-item>a{font-size:16px;font-weight:600;line-height:1.45;}
html body .rumapa-profile .profile-item>a{color:var(--ink);border-radius:8px;text-underline-offset:4px;text-decoration:none;}
html body .rumapa-profile .profile-item>a:hover{text-decoration:underline;}
html body .rumapa-profile .profile-item>a:focus-visible{outline:2px solid #59c4de;outline-offset:4px;}
html body .rumapa-profile .profile-preview{font-size:14px;line-height:1.6;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
html body .rumapa-profile .profile-status{justify-self:start;padding:5px 10px;border-radius:99px;background:var(--tile);color:var(--ink);font-size:12px;line-height:1.4;}
html body .rumapa-profile .profile-metrics{display:grid;gap:12px;}
html body .rumapa-profile .profile-metric{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--panel);}
html body .rumapa-profile .profile-metric:first-child{background:linear-gradient(110deg,#079cb317,#315de421);border-color:#47b6ce55;}
html body .rumapa-profile .profile-metric span{font-size:14px;color:var(--muted);}
html body .rumapa-profile .profile-metric strong{font-size:26px;line-height:1.25;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0;}
html body .rumapa-profile .profile-action{display:block;box-sizing:border-box;width:100%;padding:12px 16px;border-radius:16px;background:linear-gradient(110deg,#087bff,#7541ed);color:#fff;text-decoration:none;font-size:14px;font-weight:600;line-height:1.5;}
html body .rumapa-profile .profile-action:hover{box-shadow:0 0 0 3px #59c4de24;filter:brightness(1.08);}
html body .rumapa-profile .profile-action:focus-visible{outline:2px solid #59c4de;outline-offset:3px;}
html body .rumapa-profile .profile-toolbar h2{min-width:0;overflow-wrap:anywhere;line-height:1.35;}
html body .rumapa-profile .profile-close{flex-shrink:0;}
html body .rumapa-profile [role=status]:empty{display:none;}

/* Session action belongs to the account menu, separate from navigation. */
html body .rumapa-profile .profile-session-actions{display:grid;gap:10px;padding-top:18px;border-top:1px solid var(--line);}
html body .rumapa-profile button.profile-signout{width:100%;padding:12px 16px;border:1px solid var(--line);border-radius:16px;background:transparent;color:var(--muted);text-align:center;}
html body .rumapa-profile button.profile-signout:hover:not(:disabled){background:var(--tile);color:var(--ink);border-color:#58bed9;}

/* The heading receives initial dialog focus for screen readers, not a control ring. */
html body .rumapa-profile .profile-toolbar h2[tabindex="-1"]:focus{outline:none;box-shadow:none;}
html body .rumapa-profile button.profile-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;appearance:none;-webkit-appearance:none;border-radius:50%;}
html body .rumapa-profile button.profile-close svg{display:block;pointer-events:none;}
html body .rumapa-profile button.profile-close:focus:not(:focus-visible){outline:none;}
/* Listing management shares the application's statuses and the site's visual language. */
html body .rumapa-profile .profile-listing-hero{display:grid;grid-template-columns:44px 1fr;gap:8px 14px;padding:20px;border-radius:20px;background:linear-gradient(110deg,#087f94,#2355bd);color:#fff;}
html body .rumapa-profile .profile-listing-hero .profile-icon{grid-row:span 2;}
html body .rumapa-profile .profile-listing-hero h3{margin:0;font-size:18px;line-height:1.4;}
html body .rumapa-profile .profile-listing-hero p{margin:0;font-size:13px;line-height:1.5;color:#daefff;}
html body .rumapa-profile .profile-listing-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;background:var(--panel);border:1px solid var(--line);border-radius:18px;}
html body .rumapa-profile .profile-listing-tabs button{padding:10px 4px;font-size:12px;border:0;min-width:0;min-height:44px;border-radius:13px;text-align:center;white-space:normal;}
html body .rumapa-profile .profile-listing-tabs button[aria-pressed=true]{background:linear-gradient(110deg,#079faa,#235de5);color:#fff;}
html body .rumapa-profile .profile-listing-list{display:grid;gap:16px;}
html body .rumapa-profile .managed-summary{display:flex;gap:14px;align-items:center;min-width:0;}
html body .rumapa-profile .managed-summary img{width:72px;height:72px;object-fit:cover;border-radius:16px;flex-shrink:0;}
html body .rumapa-profile .managed-text{display:grid;gap:8px;min-width:0;flex:1;}
html body .rumapa-profile .managed-text a{color:var(--ink);font-size:16px;font-weight:600;text-decoration:none;}
html body .rumapa-profile .managed-price{color:var(--ink);font-size:16px;font-weight:600;}
html body .rumapa-profile .managed-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding-top:12px;border-top:1px solid var(--line);}
html body .rumapa-profile .managed-actions button,html body .rumapa-profile .managed-confirm button{min-height:44px;padding:10px 12px;border-radius:14px;font-size:13px;white-space:normal;text-align:center;}
html body .rumapa-profile button.managed-danger{color:#e45667;border-color:#e4566744;background:#e4566710;}
html body .rumapa-profile .managed-confirm{display:grid;gap:12px;padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:16px;}
html body .rumapa-profile .managed-confirm h3{font-size:17px;line-height:1.4;margin:0;outline:none;}
html body .rumapa-profile .managed-confirm p{margin:0;}
html body .rumapa-profile .managed-confirm button.managed-danger{background:#d52c45;color:#fff;border-color:transparent;}
@media(max-width:360px){html body .rumapa-profile .managed-summary img{width:56px;height:56px;}html body .rumapa-profile .managed-actions{grid-template-columns:1fr;}html body .rumapa-profile .managed-listing{padding:14px;}}
/* Reviews, wallet and saved cards use the same account surfaces. */
html body .rumapa-profile .credits-hero{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;padding:24px;border-radius:22px;background:linear-gradient(115deg,#009f9e,#215ee8);color:#fff;}
html body .rumapa-profile .credits-hero h3{margin:0;align-self:center;font-size:20px;line-height:1.4;}
html body .rumapa-profile .credits-available{grid-column:1/-1;display:grid;gap:8px;}
html body .rumapa-profile .credits-available>strong{font-size:44px;line-height:1.1;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
html body .rumapa-profile .credits-secondary{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
html body .rumapa-profile .credits-secondary>div{display:grid;gap:8px;padding:14px;border:1px solid #ffffff30;border-radius:16px;background:#ffffff14;min-width:0;overflow-wrap:anywhere;}
html body .rumapa-profile .credits-secondary span{font-size:13px;color:#e3f1ff;}
html body .rumapa-profile .credits-secondary strong{font-size:22px;}
html body .rumapa-profile .credits-info h3{margin:0;font-size:17px;}
html body .rumapa-profile .credits-info p{margin:0;}
html body .rumapa-profile .credits-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;}
html body .rumapa-profile .credits-steps>div{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 4px;background:var(--tile);border-radius:14px;text-align:center;min-width:0;overflow-wrap:anywhere;}
html body .rumapa-profile .credits-steps strong{font-size:12px;}
html body .rumapa-profile .credits-steps span{font-size:24px;color:#59bfd8;}
html body .rumapa-profile .credits-steps small{font-size:11px;color:var(--muted);}
html body .rumapa-profile .review-card p{white-space:pre-wrap;line-height:1.6;margin:0;}
html body .rumapa-profile .review-rating{color:#d8a74f;font-weight:600;}
html body .rumapa-profile .favorite-card{padding:0;overflow:hidden;gap:12px;}
html body .rumapa-profile .favorite-card>a,html body .rumapa-profile .favorite-card>strong,html body .rumapa-profile .favorite-card>.profile-description{margin-inline:18px;}
html body .rumapa-profile .favorite-card>:last-child{margin-bottom:18px;}
html body .rumapa-profile .favorite-card .saved-cover{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:16/10;background:var(--tile);overflow:hidden;color:var(--muted);font-size:13px;}
html body .rumapa-profile .favorite-card .saved-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
html body .rumapa-profile .favorite-price{font-size:20px;color:var(--ink);}
@media(max-width:360px){html body .rumapa-profile .credits-hero{padding:18px;}html body .rumapa-profile .credits-secondary{gap:8px;}html body .rumapa-profile .credits-secondary>div{padding:12px;}}

/* Shared chat and saved listing controls. */
.rumapa-profile .favorite-card{position:relative}
html body .rumapa-profile button.favorite-remove{position:absolute;right:12px;top:12px;z-index:1;width:44px;height:44px;border-radius:50%;margin:0;padding:0;background:#102139e8;color:#8edcff;border:1px solid #8edcff55;font-size:24px;display:grid;place-items:center;box-shadow:0 4px 15px #0003}
.rumapa-profile .favorite-remove:hover{background:#174663;color:#fff}
.rumapa-profile .favorite-feedback:empty{display:none}
.rumapa-profile .favorite-feedback{margin:16px;grid-column:1/-1;font-size:.85rem;color:var(--muted)}
.rumapa-profile .chat-hub{padding:16px;gap:12px}
.chat-hub-heading{display:flex;gap:12px;align-items:center;min-width:0}
.chat-hub-heading>img{width:56px;height:56px;flex:none;border-radius:14px;object-fit:cover}
.chat-hub-heading>strong{overflow-wrap:anywhere;line-height:1.4}
.rumapa-profile .chat-thread-row{width:100%;text-align:start;display:grid;gap:6px;padding:14px;border-radius:16px;background:var(--tile);min-width:0}
.rumapa-profile .chat-thread-row:hover{border-color:#32bfd0;background:var(--canvas)}
.chat-thread-row .profile-preview{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;font-size:.875rem;color:var(--muted)}
.chat-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.72rem;color:var(--muted)}
.chat-unread{padding:3px 8px;border-radius:999px;background:#1967d2;color:white;font-weight:700}
.rumapa-profile.conversation-open[open]{height:min(760px,calc(var(--chat-viewport,100dvh) - 24px));display:flex;flex-direction:column;overflow:hidden}
.rumapa-profile.conversation-open .profile-toolbar{flex:none}
.rumapa-profile.conversation-open>section{display:flex;flex-direction:column;min-height:0;flex:1;gap:10px;padding:14px 18px}
.chat-context{flex:none;font-size:.85rem;color:var(--muted);max-height:3em;overflow:auto;overflow-wrap:anywhere}
.conversation-log{flex:1;min-height:60px;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:12px;padding:4px 2px;scrollbar-width:thin}
.rumapa-profile article.chat-bubble{display:grid;gap:6px;align-self:flex-start;max-width:88%;padding:12px 14px;border:1px solid var(--line);background:var(--tile);border-radius:18px 18px 18px 4px;overflow-wrap:anywhere;flex:none}
.rumapa-profile article.chat-bubble.is-own{align-self:flex-end;background:linear-gradient(125deg,#106f8b,#2558ab);color:white;border-color:transparent;border-radius:18px 18px 4px 18px}
.chat-bubble p{white-space:pre-wrap;line-height:1.5}
.chat-bubble strong{font-size:.8rem}.chat-bubble.is-own .chat-meta{color:#d8e8fb}
.rumapa-profile .chat-translation{border:0;padding:0;min-height:28px;font-size:.75rem;text-align:start;color:inherit;opacity:.85}
.conversation-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;flex:none}
.conversation-compose label{min-width:0;font-size:.8rem;color:var(--muted)}
.rumapa-profile .conversation-compose textarea{min-height:64px;max-height:100px;resize:vertical;font-size:16px;padding:10px;line-height:1.4}
.rumapa-profile .conversation-compose button{min-height:48px;padding:10px 14px}
.conversation-status{flex:none;font-size:.8rem;line-height:1.4;color:var(--muted);max-height:72px;overflow:auto}
.conversation-status:empty{display:none}
.rumapa-profile .chat-refresh{align-self:flex-start;min-height:32px;padding:4px 10px;font-size:.8rem}
@media(max-width:480px){.rumapa-profile.conversation-open>section{padding:10px 14px max(12px,env(safe-area-inset-bottom))}.conversation-compose{grid-template-columns:1fr}.rumapa-profile .conversation-compose button{min-height:44px}.rumapa-profile.conversation-open .profile-toolbar h2{font-size:1rem}}

html body .rumapa-profile .favorite-card:not(:has(.saved-cover)){padding-top:58px;}
.rumapa-profile.compact-chat .conversation-compose{grid-template-columns:minmax(0,1fr) auto}
.rumapa-profile.compact-chat .chat-context{display:none}
.rumapa-profile.compact-chat .conversation-compose label{font-size:0}
.rumapa-profile.compact-chat .conversation-compose textarea{min-height:48px;height:48px;max-height:64px}
.rumapa-profile.compact-chat .conversation-log{min-height:24px}
.rumapa-profile.compact-chat.conversation-open>section{gap:6px;padding-top:6px;padding-bottom:6px}

.chat-bubble blockquote{margin:0;padding:8px 10px;border-left:3px solid #54c4d2;background:#8193af15;border-radius:8px;font-size:.8rem;max-height:80px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-reply-preview{display:flex;align-items:center;gap:8px;padding:8px 10px;border-left:3px solid #54c4d2;background:var(--tile);border-radius:10px;font-size:.8rem;flex:none;max-height:60px}
.chat-reply-preview[hidden]{display:none}.chat-reply-preview span{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;flex:1}.rumapa-profile .chat-reply-preview button{border-radius:50%;padding:0;width:32px;height:32px;min-height:32px;flex:none}

html body .rumapa-profile select.profile-language{width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:inherit;font:inherit;box-sizing:border-box}

/* Consistent inset for account panels, including embedded listing pages. */
html body dialog.rumapa-profile:not(.conversation-open)>.profile-toolbar{padding-inline:24px}
html body dialog.rumapa-profile:not(.conversation-open)>section{padding-inline:24px}
@media(max-width:480px){html body dialog.rumapa-profile:not(.conversation-open)>.profile-toolbar,html body dialog.rumapa-profile:not(.conversation-open)>section{padding-inline:20px}}

/* Distinct, responsive conversation groups and per-user hide controls. */
.rumapa-profile .profile-chat-list{display:grid;gap:24px;min-width:0}
.rumapa-profile .chat-hub{display:grid;gap:14px;margin:0;padding:20px;border:1px solid var(--line);border-radius:24px;box-shadow:0 8px 24px #13233b08}
.rumapa-profile .chat-hub>.profile-description{margin:0}
.rumapa-profile .chat-thread{display:flex;gap:10px;align-items:center;min-width:0}
.rumapa-profile .chat-thread-row{flex:1;min-width:0}
.rumapa-profile .chat-hide-button{flex:0 0 40px;width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;font-size:24px;color:var(--muted)}
.rumapa-profile .chat-hide-button:hover,.rumapa-profile .chat-hide-button:focus-visible{border-radius:50%;color:#c73e5c;background:#e84c6b12;box-shadow:0 0 0 3px #e84c6b20}
.rumapa-profile .chat-hide-all{justify-self:start;width:auto;min-height:36px;padding:7px 12px;font-size:.78rem;background:transparent;color:var(--muted);border-radius:12px}
.rumapa-profile .chat-hide-confirm{display:grid;gap:12px;padding:16px;border-radius:18px;background:var(--tile)}
.rumapa-profile .chat-hide-confirm h3,.rumapa-profile .chat-hide-confirm p{margin:0}
.rumapa-profile .chat-hide-action{color:#b72f4c;border-color:#d65a743f}
@media(max-width:480px){.rumapa-profile .chat-hub{padding:14px;border-radius:20px}.rumapa-profile .profile-chat-list{gap:20px}.rumapa-profile .chat-thread{gap:6px}.rumapa-profile .chat-thread-row{padding:12px}.rumapa-profile .chat-hide-button{flex-basis:36px;width:36px;height:36px;min-height:36px}}
