/* Shared, scoped bell for the public header and back office. */
[data-resident-notifications] .whn-panel{box-sizing:border-box;width:min(400px,calc(100vw - 24px));max-height:calc(100dvh - 110px);overflow:auto;overscroll-behavior:contain;background:#fff;color:#172333;border:1px solid #dce3ed;border-radius:14px;box-shadow:0 14px 42px #17233326;padding:16px;text-align:left}
[data-resident-notifications] .whn-title{display:block;font-size:20px;padding:4px 32px 12px 0}
[data-resident-notifications] [data-notification-list]{padding:0;font-size:14px}
[data-resident-notifications] .whn-group{border-bottom:1px solid #e1e7ef;padding:8px 0 12px;margin-bottom:8px}
[data-resident-notifications] .whn-group h3{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;margin:0 0 8px;color:#172333}
[data-resident-notifications] .whn-count{border-radius:20px;padding:3px 9px;background:#fff0f2;color:#b6002b;line-height:1.3}
html body [data-resident-notifications] [data-notification-list] a{display:grid;gap:3px;padding:10px;border-radius:8px;margin:2px 0;color:#172333;text-decoration:none;white-space:normal;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
html body [data-resident-notifications] [data-notification-list] a span{font-size:12px;font-weight:400;color:#4d5e72}
html body [data-resident-notifications] [data-notification-list] a small{font-size:11px;color:#65748a}
html body [data-resident-notifications] [data-notification-list] a:hover,html body [data-resident-notifications] [data-notification-list] a:focus-visible{background:#eef3fa;color:#172333}
html body [data-resident-notifications] [data-notification-list] a:hover small{color:#65748a}
html body [data-resident-notifications] [data-notification-list] a.whn-all{color:#1253b1;font-size:12px;font-weight:700}
[data-resident-notifications] .whn-empty,[data-resident-notifications] .whn-help{font-size:12px;line-height:1.5;color:#65748a;margin:8px 0}
[data-resident-notifications] .whn-error{font-size:13px;line-height:1.5;padding:10px;border-radius:8px;background:#fff4df;color:#694800}
[data-resident-notifications] .whn-controls{display:flex;flex-wrap:wrap;gap:8px}
[data-resident-notifications] .whn-controls button{cursor:pointer;font-size:12px;line-height:1.4;border:1px solid #dce3ed;border-radius:8px;background:#f3f6fa;color:#172333;padding:9px;margin:0}
[data-resident-notifications] .whn-controls button:disabled{opacity:.55;cursor:wait}
[data-resident-notifications] [hidden]{display:none!important}
[data-resident-notifications] [data-notification-close]{position:absolute;top:12px;right:12px;border:0;border-radius:6px;background:#f3f6fa;color:#172333;padding:7px;line-height:1;cursor:pointer}
[data-resident-notifications] [data-notification-close] svg{width:16px;height:16px}
.whn-backoffice{position:relative;align-self:center}
.whn-backoffice>summary{display:flex;align-items:center;gap:6px;padding:8px;cursor:pointer;list-style:none;font-size:12px;color:inherit}
.whn-backoffice>summary::-webkit-details-marker{display:none}
.whn-backoffice .opu-control-symbol{position:relative;display:inline-flex}
.whn-backoffice .opu-control-symbol>svg{width:20px;height:20px}
.whn-backoffice .opu-notification-count{position:absolute;top:-8px;right:-9px;min-width:16px;border-radius:10px;padding:1px 4px;background:#c7002e;color:#fff;font-size:10px;text-align:center}
.whn-backoffice>.whn-panel{position:absolute;z-index:2000;right:0;top:calc(100% + 10px)}
@media(max-width:600px){.whn-backoffice .opu-control-label{display:none}.whn-backoffice>.whn-panel{position:fixed;top:64px;left:12px;right:12px;width:calc(100% - 24px)}html.opu-public body [data-resident-notifications] .whn-panel{position:fixed;top:76px;right:12px;left:auto;max-height:calc(100dvh - 96px)}}
