[data-push-onboarding][hidden],[data-app-push-badge][hidden],[data-push-test][hidden],[data-push-worker][hidden]{display:none!important}.app-push-page{flex:1;min-width:0;padding:24px;background:#f5f7fa;color:#21364c}.app-push-shell{max-width:1180px;margin:auto}.app-push-hero{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:23px;background:linear-gradient(125deg,#eaf2f8,#fff);border:1px solid #dce5ee;border-radius:18px;margin-bottom:20px}.app-push-heading{display:flex;align-items:center;gap:14px}.app-push-hero-icon,.app-push-onboarding__icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:13px;background:var(--bs-primary,#31689a);color:#fff;font-size:20px}.app-push-page h1{font-size:1.35rem;margin:0 0 5px;font-weight:700}.app-push-page p{font-size:.85rem;line-height:1.6;color:#65788a;margin:0}.app-push-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start}.app-push-section{border:1px solid #dfe7ee;border-radius:16px;padding:22px;margin-bottom:18px;background:white;min-width:0}.app-push-section>header{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.app-push-page h2{font-size:1rem;font-weight:650;margin:0}.app-push-page h3{font-size:.9rem;margin:0;font-weight:650;overflow-wrap:anywhere}.app-push-page .btn,.app-push-onboarding .btn{border-radius:9px;font-size:.8rem}.app-push-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:15px}.app-push-status{display:inline-flex;border-radius:20px;padding:4px 9px;font-size:.7rem;background:#eef2f6;color:#526b7d}.app-push-status.is-enabled{color:#22694b;background:#e2f3eb}.app-push-badge{background:#cc3153;color:white;border-radius:20px;min-width:20px;padding:2px 6px;font-size:11px;text-align:center;line-height:16px}.app-push-nav{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px}.app-push-nav [data-app-push-badge]{position:absolute;right:-3px;top:0}.app-push-devices{display:grid;gap:12px;margin-top:17px}.app-push-device{border:1px solid #e0e7ee;border-radius:12px;padding:16px;min-width:0}.app-push-device.is-current{background:#f8fcff;border-color:#adcddd}.app-push-device header{display:flex;gap:8px;justify-content:space-between;align-items:start}.app-push-device small{display:block;color:#6b7e8d;font-size:.72rem;margin-top:7px}.app-push-device details{margin-top:14px}.app-push-device summary{cursor:pointer;font-size:.8rem;color:var(--bs-primary,#31689a);font-weight:600}.app-push-form{display:grid;gap:13px;padding-top:16px}.app-push-toggle{display:flex;align-items:center;gap:9px;font-size:.82rem;cursor:pointer}.app-push-toggle input{width:17px;height:17px;accent-color:var(--bs-primary,#31689a)}.app-push-times{display:grid;grid-template-columns:1fr 1fr;gap:10px}.app-push-field{display:flex;flex-direction:column;gap:5px;font-size:.76rem;min-width:0}.app-push-field input{border:1px solid #cfdce6;border-radius:7px;padding:7px;width:100%;background:white;color:#21364c}.app-push-event{padding:16px 0;border-bottom:1px solid #e5ecf2;display:grid;gap:7px}.app-push-event:last-child{border-bottom:0}.app-push-event>a{font-size:.88rem;font-weight:650;overflow-wrap:anywhere}.app-push-event p{white-space:pre-line;overflow-wrap:anywhere;max-height:7em;overflow:auto}.app-push-event small{color:#708291;font-size:.72rem}.app-push-event .btn{justify-self:start;font-size:.7rem}.app-push-empty{padding:24px 10px;text-align:center;color:#778d9e;font-size:.85rem}.app-push-feedback:empty{display:none}.app-push-feedback:not(:empty){padding:12px 16px;border-radius:10px;background:#edf4fb;margin-bottom:15px!important;color:#305477!important}.app-push-feedback.is-error{background:#fff0ee;color:#a13332!important}.app-push-warning{margin-top:15px!important;background:#fff6df;padding:10px;border-radius:8px;color:#82652d!important}.app-push-footnote{font-size:.76rem!important;padding:0 4px}.app-push-onboarding{position:fixed;z-index:1040;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));width:min(440px,calc(100vw - 28px));padding:20px;display:flex;gap:13px;background:#fff;color:#21364c;border:1px solid #dce6f0;border-radius:18px;box-shadow:0 12px 50px #122b4d26}.app-push-onboarding h2{font-size:1rem;font-weight:700;margin:0 0 7px}.app-push-onboarding p{font-size:.82rem;line-height:1.55;color:#64778a;margin:0}.app-push-onboarding [data-push-feedback]:not(:empty){margin-top:10px;color:#a33333}.app-push-onboarding .app-push-actions{gap:6px;margin-top:13px}@media(max-width:767px){.app-push-page{padding:14px}.app-push-columns{grid-template-columns:1fr;gap:0}.app-push-section,.app-push-hero{padding:17px}.app-push-hero{align-items:flex-start}.app-push-onboarding{padding:16px;right:14px;bottom:max(14px,env(safe-area-inset-bottom))}.app-push-onboarding__icon{width:34px;height:34px;font-size:17px}.app-push-onboarding .btn{white-space:normal}}

.app-push-event-kind{display:inline-flex;align-items:center;gap:6px;justify-self:start;padding:4px 8px;border-radius:7px;background:#edf3f9;color:#31638a;font-size:.7rem;font-weight:600}.app-push-event-kind.is-pending,.app-push-event-kind.is-requests{color:#956316;background:#fff3d9}.app-push-event-kind.is-conversations{color:#24704e;background:#e7f5ed}.app-push-event-kind.is-responses{color:#694a99;background:#f0eafb}

/* Scheduled alerts: keep actions readable inside narrow toast cards. */
[data-scheduled-alerts] .note-reminder-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;width:100%;margin-top:12px}
[data-scheduled-alerts] .note-reminder-actions .note-reminder-action{position:static!important;flex:1 1 130px!important;width:auto!important;min-width:0!important;height:auto!important;min-height:40px;padding:10px 12px!important;font-size:13px!important;line-height:1.35!important;white-space:normal!important;text-align:center;display:flex;align-items:center;justify-content:center;text-decoration:none}
[data-scheduled-alerts] .note-summary-item{overflow-wrap:anywhere}
[data-scheduled-alerts] .note-summary-item>small{display:block;font-size:12px;opacity:.75;margin-top:8px}
[data-scheduled-alerts] .note-summary-item>p{margin:6px 0;white-space:pre-wrap}

.app-scheduled-author{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:12px;color:#526b7d}.app-scheduled-avatar{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;overflow:hidden;background:#dce8f6;color:#326a9f;font-weight:700}.app-scheduled-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

[data-scheduled-alerts] .note-reminder-header{padding:12px 14px!important}
[data-scheduled-alerts] .note-summary-content{padding:10px!important}
[data-scheduled-alerts] .note-summary-item{padding:10px 12px!important;margin-bottom:0!important}
[data-scheduled-alerts] .app-scheduled-author{margin-bottom:6px;font-size:12px}
[data-scheduled-alerts] .app-scheduled-avatar{width:26px;height:26px;flex-basis:26px}
[data-scheduled-alerts] .note-summary-item>strong{display:block;font-size:15px!important;line-height:1.3}
[data-scheduled-alerts] .note-summary-item>p{font-size:13px!important;line-height:1.4;margin:4px 0!important}
[data-scheduled-alerts] .note-summary-item>small{font-size:11px!important;margin-top:4px!important}
[data-scheduled-alerts] .note-reminder-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;margin-top:8px!important}
[data-scheduled-alerts] .note-reminder-actions .note-reminder-action{width:100%!important;height:36px!important;min-height:36px!important;padding:0!important;font-size:15px!important;border-radius:9px!important}

/* Shared alert actions: snooze first, then two matching brand-blue actions. */
:is([data-scheduled-alerts],[data-system-chat-alert]) .note-reminder-actions .note-reminder-action{background:var(--bs-primary,#326a9f)!important;color:#fff!important;border:1px solid var(--bs-primary,#326a9f)!important;box-shadow:none!important;order:1}
:is([data-scheduled-alerts],[data-system-chat-alert]) .note-reminder-actions .note-reminder-snooze{order:0;background:#fff3cd!important;color:#946200!important;border-color:#edcf80!important}
:is([data-scheduled-alerts],[data-system-chat-alert]) .note-reminder-actions .note-reminder-action:hover{filter:brightness(.94)}
:is([data-scheduled-alerts],[data-system-chat-alert]) .note-reminder-actions .note-reminder-action:focus-visible{outline:2px solid var(--bs-primary,#326a9f);outline-offset:2px}

/* Fixed square controls instead of full-width alert footer buttons. */
:is([data-scheduled-alerts],[data-system-chat-alert]) .note-reminder-actions{display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:flex-end;gap:8px!important}
:is([data-scheduled-alerts],[data-system-chat-alert]) .note-reminder-actions .note-reminder-action{flex:0 0 38px!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important;max-height:38px!important;padding:0!important;box-sizing:border-box!important;border-radius:10px!important;display:inline-flex!important;align-items:center;justify-content:center;font-size:15px!important;line-height:1!important}

[data-system-chat-alert] .note-reminder-actions [data-chat-complete]{order:0!important;background:#e5f3e9!important;color:#287545!important;border-color:#a9d2b6!important}
[data-system-chat-alert] .note-reminder-actions [data-chat-snooze]{order:1!important;background:#fff4db!important;color:#95671d!important;border-color:#e8cf99!important}
[data-system-chat-alert] .note-reminder-actions [data-chat-dismiss]{order:2!important;background:#edf0f4!important;color:#627083!important;border-color:#ccd4de!important}
