.wp-notif-control { position:relative; display:inline-flex; justify-content:center; align-items:center; flex:0 0 40px; width:40px; height:44px; padding:0; color:#f0f1ec; background:#172326; border:1px solid #496862; border-radius:8px; cursor:pointer; }
.wp-notif-control:hover { background:#254d47; }
.wp-notif-badge { position:absolute; right:1px; top:2px; display:grid; place-items:center; min-width:17px; height:17px; padding:0 4px; box-sizing:border-box; border-radius:12px; background:#254d47; color:#d4e8dd; border:1px solid #496862; font:700 10px/1 Arial,sans-serif; box-shadow:0 0 0 2px #102126; }
.wp-following-counter { position:relative !important; }
.wp-following-counter > .wp-notif-badge { right:7px; top:7px; }
.wp-follower-total { display:inline-grid; place-items:center; min-width:21px; min-height:21px; padding:0 6px; margin-left:6px; box-sizing:border-box; border-radius:20px; background:#254d47; color:#f0f1ec; font:700 11px/1.3 Montserrat,Arial,sans-serif; }
.wp-notif-overlay { position:fixed; inset:0; z-index:100000; display:grid; place-items:center; padding:20px; background:rgba(2,8,10,.85); box-sizing:border-box; color:#f0f1ec; font:400 14px/1.5 Montserrat,Arial,sans-serif; }
.wp-notif-panel { display:flex; flex-direction:column; width:min(100%,540px); max-height:calc(100dvh - 40px); min-height:0; background:#0f191d; border:1px solid #496862; border-radius:18px; overflow:hidden; }
.wp-notif-heading { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; gap:16px; padding:18px 22px; border-bottom:1px solid #304742; }
.wp-notif-heading h2,.wp-notif-settings h3 { margin:0; color:#f0f1ec; font:800 28px/1.15 'Barlow Condensed',Arial,sans-serif; text-transform:uppercase; }
.wp-notif-body { padding:18px 22px 24px; overflow:auto; min-height:0; overscroll-behavior:contain; }
.wp-notif-muted,.wp-notif-status { color:#adb9b7; font-size:12px; }
.wp-notif-button,.wp-notif-close { min-height:44px; padding:10px 13px; border:1px solid #496862; border-radius:8px; color:#f0f1ec; background:#172326; font:600 12px/1.4 Montserrat,Arial,sans-serif; cursor:pointer; overflow-wrap:anywhere; }
.wp-notif-button:hover,.wp-notif-close:hover { background:#254d47; }
.wp-notif-close { flex:0 0 44px; width:44px; font-size:20px; padding:6px; }
.wp-notif-button:disabled { opacity:.55; cursor:default; }
.wp-notif-button[hidden] { display:none !important; }
.wp-notif-actions { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.wp-notif-list { display:flex; flex-direction:column; gap:10px; margin:16px 0 24px; }
.wp-notif-item { display:flex; flex-direction:column; gap:7px; padding:14px; border:1px solid #304742; border-radius:10px; color:#f0f1ec !important; background:#142225; text-decoration:none; overflow-wrap:anywhere; }
.wp-notif-item:hover { border-color:#7d9290; }
.wp-notif-settings { border-top:1px solid #304742; padding-top:20px; }
.wp-notif-preferences { display:grid; gap:10px; margin:16px 0; }
.wp-notif-switch { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:6px 0; cursor:pointer; }
.wp-notif-switch input { appearance:none; -webkit-appearance:none; position:relative; flex:0 0 40px; width:40px; height:24px; margin:0; border:1px solid #496862; border-radius:20px; background:#172326; cursor:pointer; }
.wp-notif-switch input::after { content:''; position:absolute; left:3px; top:3px; width:16px; height:16px; border-radius:50%; background:#adb9b7; transition:transform .15s ease; }
.wp-notif-switch input:checked { background:#254d47; border-color:#7d9290; }
.wp-notif-switch input:checked::after { transform:translateX(16px); background:#f0f1ec; }
.wp-notif-switch input:focus-visible,.wp-notif-button:focus-visible,.wp-notif-control:focus-visible,.wp-notif-item:focus-visible,.wp-notif-close:focus-visible { outline:2px solid #87b9a4; outline-offset:3px; }
@media(max-width:980px) {
 .header-container:has(.wp-notif-control) { position:relative !important; }
 .header-container:has(.wp-notif-control) .header-left { padding-right:48px; box-sizing:border-box; }
 .header-right .wp-notif-control { position:absolute; top:10px; right:max(14px,env(safe-area-inset-right,0px)); }
 .wp-following-counter > .wp-notif-badge { right:calc(50% - 23px); top:4px; }
 .wp-notif-overlay { padding:max(10px,env(safe-area-inset-top,0px)) 10px max(10px,env(safe-area-inset-bottom,0px)); }
 .wp-notif-panel { max-height:calc(100dvh - 30px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); }
 .wp-notif-heading { padding:14px 16px; }
 .wp-notif-body { padding:14px 16px 20px; }
}

/* Dynamically enhanced city inputs do not inherit Vue's scoped input dimensions. */
.modal .weplan-city-combobox { width:100%; min-width:0; box-sizing:border-box; }
.modal input.weplan-city-search { display:block; width:100%; height:40px; min-height:40px; padding:10px 12px; box-sizing:border-box; font:inherit; line-height:18px; }
.wp-message-counter { position:relative !important; }
.wp-message-counter .ni-ico-messages > .badge,.wp-message-counter > .menu-badge { display:none !important; }
.wp-message-badge { position:absolute; right:7px; top:7px; z-index:2; display:grid; place-items:center; min-width:18px; height:18px; padding:0 5px; box-sizing:border-box; border-radius:12px; color:#d4e8dd !important; background:#254d47 !important; border:1px solid #496862; font:700 10px/1 Arial,sans-serif; box-shadow:0 0 0 2px #102126; pointer-events:none; }
@media(max-width:980px) { .wp-message-counter > .wp-message-badge { right:calc(50% - 23px); top:4px; } }
/* Match unread indicators in the conversation list to the navigation badges. */
.mv .thread-pill { background:#254d47 !important; color:#d4e8dd !important; border:1px solid #496862 !important; }
.mv .thread-dot { background:#87b9a4 !important; border-color:#142225 !important; box-shadow:0 0 0 2px #142225 !important; }

/* The list and section counters use the same green palette as the global badge. */
.thread.wp-thread-counted .thread-pill,.thread.wp-thread-counted .thread-dot { display:none !important; }
.thread.wp-thread-has-unread { border-color:#496862 !important; background:#1b302c !important; }
.thread-sub .thread-preview { min-width:0; }
.wp-thread-unread,.wp-section-unread { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; min-width:24px; min-height:22px; padding:2px 7px; box-sizing:border-box; border:1px solid #496862; border-radius:20px; background:#254d47; color:#d4e8dd; font:700 11px/1.3 Montserrat,Arial,sans-serif; }
.wp-thread-unread { margin-left:8px; }
.wp-event-chat-tab { display:flex; align-items:center; justify-content:center; gap:8px; }
.thread.wp-thread-counted .thread-mid { grid-template-columns:minmax(0,1fr); min-width:0; max-width:100%; }
.thread.wp-thread-counted .thread-top,.thread.wp-thread-counted .thread-sub { min-width:0; max-width:100%; }
.thread.wp-thread-counted .thread-name { min-width:0; }
.thread.wp-thread-counted .thread-time { flex-shrink:0; }
