/* Browser notifications: the soft reminder, and the on/off card in the buyer and seller dashboards. */
.wp-bar { position: fixed; z-index: 9000; inset-inline-end: 18px; bottom: 18px; width: min(380px, calc(100vw - 24px)); display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: start;
  background: #fff; color: #17324d; border: 1px solid #dbe4ee; border-radius: 16px; box-shadow: 0 14px 40px rgba(12, 59, 104, .22); padding: 14px 16px; font-size: 13.5px; line-height: 1.45; animation: wp-in .28s ease-out }
.wp-bar-ico { width: 38px; height: 38px; border-radius: 12px; background: #eaf2fb; color: #0c3b68; display: grid; place-items: center }
.wp-bar-copy b { display: block; font-size: 14.5px; color: #0c3b68; margin-bottom: 2px }
.wp-bar-copy span { color: #4b6178 }
.wp-bar-act { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px }
.wp-bar .wp-go { border: 0; border-radius: 999px; background: #0c3b68; color: #fff; font-weight: 700; font-size: 13px; padding: 8px 16px; cursor: pointer }
.wp-bar .wp-go:hover { background: #155a97 }
.wp-bar .wp-later { border: 0; background: transparent; color: #4b6178; font-weight: 600; font-size: 13px; padding: 8px 10px; cursor: pointer }
.wp-bar .wp-later:hover { color: #0c3b68 }
@keyframes wp-in { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .wp-bar { animation: none } }
@media (max-width: 640px) { .wp-bar { inset-inline: 12px; bottom: 12px; width: auto } }

/* The settings card (dashboards) and the sign-up preference row. */
[data-webpush-card][hidden], [data-webpush-pref-wrap][hidden] { display: none !important }
.wp-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: #fff; border: 1px solid #dbe4ee; border-radius: 14px; padding: 14px 16px; margin: 0 0 16px }
.wp-card-copy { flex: 1 1 200px; min-width: 0 }
.wp-card-copy h3 { margin: 0 0 3px; font-size: 15px; color: #0c3b68 }
.wp-card-copy p { margin: 0; font-size: 13px; color: #4b6178 }
.wp-card-copy [data-webpush-status] { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #4b6178 }
.wp-card-copy [data-webpush-status][data-state="on"] { color: #1a7f4b }
.wp-card-copy [data-webpush-status][data-state="blocked"] { color: #b3261e }
.wp-switch { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 2px; font-size: 11.5px; font-weight: 800; color: #6a7075; cursor: pointer }
.wp-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1 }
.wp-switch b { font-weight: 800 }
.wp-switch .wp-on { display: none }
.wp-switch:has(input:checked) { color: #16794c }
.wp-switch:has(input:checked) .wp-on { display: inline }
.wp-switch:has(input:checked) .wp-off { display: none }
.wp-switch i { position: relative; flex: none; width: 40px; height: 22px; border-radius: 999px; background: #c5ced8; transition: background .18s ease }
.wp-switch i::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(12, 59, 104, .3); transition: inset-inline-start .18s ease }
.wp-switch input:checked ~ i { background: #1f9d63 }
.wp-switch input:checked ~ i::after { inset-inline-start: 20px }
.wp-switch:has(input:disabled) { opacity: .6; cursor: not-allowed }
.wp-switch input:disabled { cursor: not-allowed }
.wp-switch input:focus-visible ~ i { outline: 3px solid rgba(28, 122, 196, .3); outline-offset: 2px }
@media (prefers-reduced-motion: reduce) { .wp-switch i, .wp-switch i::after { transition: none } }
