.push-link{display:inline-flex;align-items:center;gap:6px;color:inherit;text-decoration:none;font-weight:700;margin-right:14px;font-size:14px}
.push-count{background:#ef173b;color:white;border-radius:12px;padding:2px 7px;font-size:12px}
.push-page{max-width:820px;margin:0 auto;padding:22px 18px 48px}.push-page h1{margin:24px 0;font-size:32px}.push-page h2{font-size:20px;margin:0 0 14px}
.push-header,.push-section-title{display:flex;justify-content:space-between;align-items:center;gap:16px}.push-header a{color:var(--ink,#182133)}.push-brand{font-weight:900;text-decoration:none}.push-brand span{color:#ef173b;font-size:12px;letter-spacing:3px}
.push-page section{margin:20px 0}.push-settings,.push-notice,.push-receipt{padding:20px;background:var(--card,white);border:1px solid #e0e4ed;border-radius:16px}.push-actions{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0}.push-page p{line-height:1.5}.push-settings .muted{font-size:13px;margin-bottom:0}
.push-notice{margin:12px 0;overflow-wrap:anywhere}.push-notice h3{margin:0 0 6px;font-size:18px}.push-notice time{font-size:12px;color:var(--muted,#657086)}.push-notice ul{padding-left:20px}.push-notice li{margin:6px 0}.push-notice.stale{opacity:.7}.push-notice.highlight{border-color:#ef173b;box-shadow:0 0 0 2px #ef173b20}.push-notice .push-actions{margin-bottom:0}
.push-receipt{display:flex;justify-content:space-between;align-items:start;gap:16px;margin:8px 0;padding:14px 16px}.push-receipt small{display:block;color:var(--muted,#657086);margin-top:5px}.push-positive{color:#18744f;font-weight:700}.push-pending{color:#875500;font-weight:700}.push-error{color:#b52638}.push-section-title button{font-size:13px}
@media(max-width:480px){.push-page{padding:18px 12px 36px}.push-settings,.push-notice{padding:16px}.push-receipt{display:block}.push-receipt>span{display:block;margin-top:9px}.push-header{font-size:13px}.push-actions button{min-height:44px}.push-page h1{font-size:28px}}
.push-page [hidden],.push-count[hidden]{display:none!important}
/* Social inbox: scoped to this page, preserving existing push controls elsewhere. */
body:has(.push-page){background:var(--card,#fff)!important}
.push-page{max-width:680px;padding:0 20px 100px;color:var(--ink,#20242b)}
.push-header{padding:24px 0 18px}.push-brand{font-size:28px;letter-spacing:-1.2px}.push-brand span{display:block;font-size:11px;letter-spacing:0;font-weight:400;color:var(--muted);margin-top:4px}
.push-header button,.push-heading button{padding:9px;background:transparent;border:1px solid var(--line,#e9ecf1);color:inherit;width:44px;height:44px;display:grid;place-items:center}
.push-heading{display:flex;justify-content:space-between;align-items:center;padding:8px 0 18px}.push-page h1{font-size:30px;letter-spacing:-.8px;margin:0 0 5px}.push-heading p{margin:0;font-size:13px;color:var(--muted)}
.push-tabs{display:flex;gap:8px;position:sticky;top:0;padding:12px 0;background:var(--card,#fff);z-index:3;border-bottom:1px solid var(--line,#e9ecf1)}
.push-tabs button{padding:11px 18px;border:0;background:var(--bg,#f3f4f6);color:var(--muted);font-size:14px;min-height:44px;font-weight:650}.push-tabs button[aria-pressed=true]{background:var(--ink,#20242b);color:var(--card,#fff)}
.push-tabs span{margin-inline-start:5px;font-size:12px}.push-page .push-feed-section{margin:0}.push-day{font-size:12px!important;color:var(--muted);padding:22px 0 5px;margin:0!important;font-weight:650}
.push-notice{border:0;border-radius:15px;margin:3px -8px;padding:0;background:transparent;position:relative;overflow:hidden}
.push-notice.unread{background:color-mix(in srgb,#4388ee 6%,var(--card,#fff))}.push-notice.highlight{box-shadow:inset 0 0 0 1px #4388ee}
.push-notice-link{display:grid;grid-template-columns:56px minmax(0,1fr) 8px;gap:12px;align-items:center;padding:16px 10px;color:inherit;text-decoration:none;min-height:92px}
.push-avatar{position:relative;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--selected,#edf0f5);color:var(--ink);font-size:19px;font-weight:600;flex-shrink:0}.push-avatar>img{width:100%;height:100%;border-radius:50%;object-fit:cover}.push-event-icon{position:absolute;bottom:-2px;right:-3px;background:#3c83ee;color:white;border:2px solid var(--card,#fff);border-radius:50%;width:23px;height:23px;display:grid;place-items:center;font-size:11px}.push-event-icon.is-badge{background:#9461e5}.push-event-icon.is-finance{background:#23856c}
.push-copy{min-width:0;font-size:14px;line-height:1.45}.push-copy strong{font-weight:700}.push-copy p{margin:2px 0 5px;line-height:1.45}.push-copy time{color:var(--muted);font-size:11px}.push-copy .push-kind{color:var(--muted);font-size:11px;margin-inline-end:6px}.push-unread-dot{height:7px;width:7px;border-radius:50%;background:#4388ee}.push-notice-link:focus-visible{outline:3px solid #659df2;outline-offset:-3px}.push-notice-link:active{background:var(--selected,#edf0f5)}
.push-notice .push-notice-extra{padding:0 12px 12px 78px;font-size:12px}.push-notice-extra button{font-size:12px;min-height:36px;padding:7px 10px;background:var(--shift-surface,#edf0f5);color:var(--ink);border:0}.push-notice-extra details{margin:8px 0}.push-notice-extra ul{padding-inline-start:16px}
.push-settings{border-color:var(--line,#e9ecf1);padding:18px}.push-settings h2{font-size:16px;margin-top:24px}.push-category,.push-theme-label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;font-size:14px}.push-category input{width:21px;height:21px;min-height:21px!important;accent-color:#4488ef}.push-settings .muted{margin:0;color:var(--muted);font-size:12px}.push-theme-label select{max-width:145px}.push-settings .push-actions{display:grid}.push-settings .push-actions button{font-size:13px}.push-settings button{white-space:normal}
.push-bottom{position:fixed;bottom:0;left:0;right:0;z-index:4;display:flex;justify-content:space-evenly;gap:8px;background:var(--card,#fff);border-top:1px solid var(--line,#e9ecf1);padding:18px 10px calc(18px + env(safe-area-inset-bottom));font-size:13px}.push-bottom a{color:var(--muted);text-decoration:none;min-height:24px;display:flex;align-items:center;font-weight:600}
#push-manager{margin-top:24px;font-size:13px}#push-manager .push-receipt{border-color:var(--line);background:var(--card)}#push-message:empty{display:none}#push-more{display:block;margin:20px auto;background:var(--selected);color:var(--ink);border:0}.push-empty{padding:60px 15px;text-align:center;color:var(--muted)}
@media(max-width:480px){.push-page{padding:0 16px 100px}.push-header{padding-top:18px}.push-notice-link{gap:11px}.push-page h1{font-size:28px}}
@media(min-width:800px){.push-page{padding-top:20px}.push-bottom{position:static;margin-top:32px;border-radius:16px}.push-page .push-notice{margin-top:6px}}

/* The same inbox works as a direct page or as the app's animated detail layer. */
#bp-inbox-layer{position:fixed;inset:0;z-index:500;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:var(--card,#fff);color:var(--ink,#20242b);box-shadow:-12px 0 32px #0002;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
#bp-inbox-layer .push-page{padding-bottom:24px}
.push-header{align-items:center;gap:12px}
.push-header .push-brand{margin-right:auto;font-size:22px}
.push-back{display:grid;place-items:center;width:44px;height:44px;min-width:44px;border-radius:50%;color:var(--ink,#20242b);text-decoration:none}
.push-back,.push-header button,.push-heading button{background:var(--card,#fff);border:1px solid rgba(128,138,154,.16);border-radius:50%}
@supports ((backdrop-filter:blur(16px)) or (-webkit-backdrop-filter:blur(16px))){
 .push-back,.push-header button,.push-heading button{background:rgba(255,255,255,.18);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
 body[data-bp-mode=dark] :is(.push-back,.push-header button,.push-heading button){background:rgba(28,31,36,.24)}
}
.push-back:focus-visible{outline:3px solid #659df2;outline-offset:2px}
html body.bp-app-page[data-bp-mode] .push-page :is(.push-header button,.push-heading button){border-radius:50%}
