/* Scoped controls and surfaces; do not introduce relational root selectors. */
@layer vmesta-component-contract {
 html:root body #messages-root#messages-root#messages-root .messenger-confirm-modal,
 html:root body [data-vm-window-backdrop] {background:color-mix(in srgb,var(--theme-surface-page,#10141d) 45%,transparent)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);}
 html:root body #friends-modal#friends-modal#friends-modal .friend-row-identity,
 html:root body #friends-modal#friends-modal#friends-modal .space-subscriber-identity {background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;}
 html:root body [data-post-card][data-post-card][data-post-card] [data-post-menu] button,
 html:root body [data-post-card][data-post-card][data-post-card] [data-post-menu] button svg {color:var(--theme-accent,var(--color-dynamic))!important;}
 html:root body [data-post-card][data-post-card][data-post-card] [data-post-menu] button[data-danger],
 html:root body [data-post-card][data-post-card][data-post-card] [data-post-menu] button[data-danger] svg {color:var(--theme-danger,#ef6676)!important;}
 html:root body [data-post-card][data-post-card][data-post-card] .post-actions > div > button[aria-haspopup="menu"] {border-radius:12px!important;}
 html:root body #notif-list-user#notif-list-user#notif-list-user .notification-dismiss-slot,
 html:root body #notif-list-system#notif-list-system#notif-list-system .notification-dismiss-slot,
 html:root body #notif-list-user#notif-list-user#notif-list-user [data-notification-dismiss],
 html:root body #notif-list-system#notif-list-system#notif-list-system [data-notification-dismiss] {background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;outline:0!important;}
 html:root body #space-manage-panel#space-manage-panel#space-manage-panel {position:fixed!important;top:76px!important;bottom:16px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(1120px,calc(100vw - 32px))!important;height:auto!important;max-height:none!important;display:flex;flex-direction:column;z-index:14000;}
 html:root body #space-manage-panel#space-manage-panel#space-manage-panel .space-manage-body {flex:1;min-height:0;overflow:auto;}
 html:root body #space-manage-panel#space-manage-panel#space-manage-panel > header {flex:none;}
 @media(max-width:767px){html:root body #space-manage-panel#space-manage-panel#space-manage-panel {inset:calc(env(safe-area-inset-top) + 8px) 8px calc(env(safe-area-inset-bottom) + 8px)!important;width:auto!important;transform:none!important;border-radius:24px!important;}}
 html:root body #messages-root#messages-root#messages-root .messenger-active-day {z-index:60;pointer-events:none;opacity:0;transition:opacity .16s;}
 html:root body #messages-root#messages-root#messages-root .messenger-active-day[data-date-visible] {opacity:1;}
 html:root body #messages-root#messages-root#messages-root .messenger-active-day[data-date-visible] button {pointer-events:auto;}
 html:root body #messages-root#messages-root#messages-root [data-history-navigating] .is-history-arriving {animation:none!important;}
 @media(prefers-reduced-motion:reduce){html:root body #messages-root .messenger-active-day {transition:none;}}
}

@layer vmesta-component-contract{html:root body #messages-root#messages-root#messages-root .messenger-active-day:not([data-date-visible]) button{pointer-events:none!important;}}

@layer vmesta-component-contract {
.vmesta-transfer-card {display:flex!important;align-items:center;gap:8px;position:relative;padding:12px!important;min-height:76px;}
.vmesta-transfer-open {display:flex;align-items:center;gap:12px;text-align:left;flex:1;min-width:0;border:0;background:transparent!important;color:inherit;padding:0;}
.vmesta-transfer-copy {display:flex;flex-direction:column;gap:5px;min-width:0;flex:1;}
.vmesta-transfer-copy strong {overflow-wrap:anywhere;}
.vmesta-transfer-status {font-size:12px;opacity:.8;}
.vmesta-transfer-symbol {font-size:28px;color:var(--theme-accent,var(--color-dynamic,#f59e0b));}
.vmesta-transfer-copy progress {width:100%;height:5px;accent-color:var(--theme-accent,var(--color-dynamic,#f59e0b));}
.vmesta-transfer-dismiss {align-self:flex-start;border:0;background:transparent!important;color:inherit;font-size:24px;padding:0 5px;}
.vmesta-transfer-card[data-transfer-status="failed"] .vmesta-transfer-status {color:#ef4444;}
[data-vm-transfer-history] {display:grid;gap:8px;margin-bottom:12px;}
}
@layer vmesta-component-contract {
 html:root body #toast-container>.messenger-incoming-toast:hover {background:var(--theme-surface-active,var(--standard-panel-soft))!important;}
 html:root body #toast-container .messenger-incoming-toast-open,
 html:root body #toast-container .messenger-incoming-toast-close {background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;}
 html:root body #toast-container .messenger-incoming-toast-open {border-radius:0!important;}
}
