/* Scoped repairs preserve the existing customer panel layout and palette. */
.customer-app .menu a{pointer-events:auto;cursor:pointer}
.customer-app .menu a:focus-visible,.estate-news-bell:focus-visible,.estate-news-entry:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.customer-app .sidebar a[aria-disabled="true"]{opacity:.4;pointer-events:none}
.customer-app .content>*{min-width:0}
.customer-app .estate-news-feed{height:auto;min-width:0;max-width:100%;overflow:hidden}
.customer-app .estate-news-widget{box-sizing:border-box;min-width:0;max-width:100%}
.customer-app .estate-news-list{max-height:280px;overflow:auto;min-height:0;min-width:0}
.customer-app .estate-news-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.estate-news-entry{display:block;width:100%;box-sizing:border-box;padding:14px 0;text-align:left;font:inherit;color:inherit;border:0;border-bottom:1px solid #e2e8f0;background:transparent;cursor:pointer;overflow-wrap:anywhere;min-width:0}
.estate-news-entry strong,.estate-news-entry small{display:block;margin-bottom:7px}.estate-news-entry small{color:#64748b;font-size:11px}.estate-news-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;line-height:1.5;font-size:13px}
.estate-notifications{position:relative;flex:0 0 auto}
.estate-news-bell{position:relative;display:grid;place-items:center;width:38px;height:38px;border:1px solid #e2e8f0;border-radius:50%;background:#fff;color:#475569;cursor:pointer}
.estate-news-bell svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#estateNewsUnread{position:absolute;right:-6px;top:-5px;min-width:17px;padding:2px 4px;border-radius:12px;background:#2563eb;color:#fff;font:700 10px/1.2 Inter,system-ui,sans-serif;text-align:center}
.estate-news-notifications{position:absolute;right:0;top:46px;width:min(340px,calc(100vw - 100px));max-height:min(440px,70vh);overflow:auto;box-sizing:border-box;padding:16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#17223a;box-shadow:0 12px 32px #0f172a20;z-index:1100;overflow-wrap:anywhere}
.estate-news-notification{display:block;width:100%;background:none;border:0;border-bottom:1px solid #e2e8f0;text-align:left;color:inherit;padding:13px 0;cursor:pointer;overflow-wrap:anywhere;font:inherit}
.estate-news-notification small{display:block;margin-top:6px;color:#64748b;font-size:11px}
.estate-news-dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);box-sizing:border-box;overflow:auto;padding:24px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;color:#17223a;overflow-wrap:anywhere}
.estate-news-dialog::backdrop{background:#0f172a70}.estate-news-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#64748b;font-size:12px}.estate-news-dialog-head button{border:0;background:none;color:inherit;font-size:26px;cursor:pointer}.estate-news-dialog h2{font-size:23px;line-height:1.3}.estate-news-dialog time{color:#64748b;font-size:12px}#estateNewsDialogBody{white-space:pre-wrap;line-height:1.7}#estateNewsDialogStatus{font-size:12px;color:#64748b}
.customer-app [id]{scroll-margin-top:110px}
body.dark .estate-news-bell,body.dark .estate-news-notifications,body.dark .estate-news-dialog{background:#17243b;color:#e2e8f0;border-color:#334155}
@media(max-width:1000px){.customer-app .header{height:auto;min-height:80px;flex-wrap:wrap;gap:12px;padding-top:12px;padding-bottom:12px}.customer-app .header-left{min-width:0;flex-wrap:wrap;gap:14px}.customer-app .menu{flex-wrap:wrap;gap:12px 18px}.customer-app .header-right{margin-left:auto}.customer-app .estate-updates-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.customer-app .header{padding-left:16px;padding-right:16px}.customer-app .estate-updates-titlebar{align-items:flex-start}.customer-app .estate-updates-titlebar h2{font-size:18px}.customer-app .estate-updates-column{box-sizing:border-box}.estate-news-notifications{position:fixed;left:80px;right:10px;top:130px;width:auto;max-height:60vh}.estate-news-dialog{padding:18px}}

.estate-news-footer [hidden],#estateNewsNotifications[hidden],#estateNewsUnread[hidden]{display:none!important}
