/* Центр событий: независимые настройки профиля и системы в оформлении VMESTA. */
@layer vmesta-component-contract {
html:root body #notification-policy428#notification-policy428#notification-policy428 {position:fixed!important;inset:0!important;z-index:2147483200!important;display:grid!important;place-items:center!important;padding:20px!important;background:rgb(0 0 0/.52)!important;color:var(--theme-text-primary)!important;font:13px/1.45 var(--font-sans,ui-sans-serif,system-ui,sans-serif)!important;}
html:root body #notification-policy428 > section {display:flex!important;flex-direction:column!important;width:min(580px,100%)!important;max-height:calc(100dvh - 40px)!important;overflow:hidden!important;border-radius:22px!important;background:var(--theme-surface-panel)!important;box-shadow:0 24px 80px #0005!important;}
html:root body #notification-policy428 header {display:flex!important;align-items:center!important;justify-content:space-between!important;padding:16px 20px!important;background:var(--theme-surface-nested)!important;flex:none!important;}
html:root body #notification-policy428 header > span {display:flex!important;align-items:center!important;gap:12px!important;}
html:root body #notification-policy428 header button {width:40px!important;height:40px!important;border:0!important;border-radius:12px!important;background:var(--theme-surface-control)!important;color:var(--theme-text-primary)!important;font:24px/1 var(--font-sans,system-ui)!important;cursor:pointer!important;}
html:root body #notification-policy428 .notification-policy428-body {display:grid!important;gap:12px!important;overflow:auto!important;min-height:0!important;padding:18px 20px!important;overscroll-behavior:contain!important;}
html:root body #notification-policy428 p {font:12px/1.45 var(--font-sans,system-ui)!important;color:var(--theme-text-secondary)!important;margin:0!important;}
html:root body #notification-policy428 details {border-radius:18px!important;background:var(--theme-surface-nested)!important;overflow:hidden!important;}
html:root body #notification-policy428 summary {display:flex!important;align-items:center!important;gap:12px!important;padding:15px 16px!important;cursor:pointer!important;list-style:none!important;color:var(--theme-text-primary)!important;}
html:root body #notification-policy428 summary::-webkit-details-marker {display:none!important;}
html:root body #notification-policy428 summary span {flex:1!important;font-weight:700!important;}
html:root body #notification-policy428 details > div {padding:0 14px 12px!important;}
html:root body #notification-policy428 .notification-policy428-row {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:12px 2px!important;height:auto!important;min-height:48px!important;}
html:root body #notification-policy428 .notification-policy428-row > span {display:grid!important;gap:3px!important;flex:1!important;min-width:0!important;}
html:root body #notification-policy428 :is(strong,b) {font-family:var(--font-sans,system-ui)!important;font-size:13px!important;font-weight:700!important;color:var(--theme-text-primary)!important;}
html:root body #notification-policy428 small {font:11px/1.4 var(--font-sans,system-ui)!important;color:var(--theme-text-secondary)!important;}
html:root body #notification-policy428 input[type=checkbox] {appearance:none!important;position:relative!important;opacity:1!important;width:38px!important;height:23px!important;min-width:38px!important;border:0!important;border-radius:20px!important;background:var(--theme-divider)!important;cursor:pointer!important;}
html:root body #notification-policy428 input::after {content:''!important;position:absolute!important;top:3px!important;left:3px!important;width:17px!important;height:17px!important;border-radius:50%!important;background:var(--theme-text-primary)!important;transition:transform .18s ease!important;}
html:root body #notification-policy428 input:checked {background:var(--theme-accent)!important;}
html:root body #notification-policy428 input:checked::after {transform:translateX(15px)!important;background:var(--theme-on-accent,#fff)!important;}
html:root body #notification-policy428 :is(input,button,summary):focus-visible {outline:2px solid var(--theme-accent)!important;outline-offset:3px!important;}
html:root body :is(#notification-policy428,.notification-policy-trigger428) svg {width:22px!important;height:22px!important;fill:none!important;stroke:var(--theme-accent)!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
html:root body #notification-policy428 summary > svg:last-child {width:16px!important;height:16px!important;transition:transform .2s ease!important;}
html:root body #notification-policy428 details[open] > summary > svg:last-child {transform:rotate(180deg)!important;}
html:root body .notifications-dropdown-head-actions .notification-policy-trigger428 {display:grid!important;place-items:center!important;width:36px!important;height:36px!important;padding:7px!important;border:0!important;border-radius:11px!important;background:var(--theme-surface-control)!important;color:var(--theme-accent)!important;cursor:pointer!important;}
@media(max-width:767px){html:root body #notification-policy428#notification-policy428#notification-policy428 {padding:0!important;}html:root body #notification-policy428 > section {width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;padding-top:env(safe-area-inset-top)!important;padding-bottom:env(safe-area-inset-bottom)!important;}}
@media(prefers-reduced-motion:reduce){html:root body #notification-policy428 input::after {transition:none!important;}}
}
@layer vmesta-component-contract {html:root body #notification-policy428#notification-policy428#notification-policy428 .notification-policy428-body {display:block!important;}html:root body #notification-policy428#notification-policy428#notification-policy428 details {margin:12px 0!important;height:auto!important;min-height:max-content!important;}html:root body #notification-policy428#notification-policy428#notification-policy428 input[type=checkbox]:checked {background:var(--theme-accent)!important;}html:root body #notification-policy428#notification-policy428#notification-policy428 details > div {height:auto!important;max-height:none!important;overflow:visible!important;}}
@layer vmesta-component-contract {html:root body #messages-root#messages-root#messages-root .messenger-bubble.is-video-note-only {--messenger-video-note-size:min(12rem,60vw)!important;}html:root body #messages-root#messages-root#messages-root .messenger-message.has-expanded-video-note .messenger-bubble.is-video-note-only {--messenger-video-note-size:min(22rem,82vw)!important;}html:root body #messages-root#messages-root#messages-root .messenger-message.has-expanded-video-note .messenger-bubble.is-video-note-reply {width:min(22rem,82vw)!important;max-width:100%!important;}}
