/*
 * The bell, one look for the team, a man and a woman (owner, 2026-10-18): Facebook's notifications. Loaded by the admin
 * head (filament/shell/head) and the website layout; the rows are partials/feed-row. The colours fall back to the admin
 * theme's values on the website, which has no --mh-* variables.
 */
.mh-bell { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--mh-navy, #14254A); }
.mh-bell:hover { background: #F3ECE2; }
.mh-bell-icon, .mh-bell > .ic { width: 26px; height: 26px; }
.mh-bell-count { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--mh-red, #D93B3B); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--mh-panel, #FDFBF8); }

.mh-feed { max-height: min(72dvh, 620px); overflow-y: auto; padding: 6px 6px 8px; overscroll-behavior: contain; }
.mh-feed-head { margin: 6px 10px 2px; font: 700 24px/1.2 var(--mh-f-display, "Cormorant Garamond", Garamond, serif); color: var(--mh-navy, #14254A); }
.mh-feed-section { margin: 10px 10px 4px; font-size: 15px; font-weight: 700; color: var(--mh-navy, #14254A); }
.mh-feed-empty { margin: 8px 10px 12px; font-size: 14px; color: var(--mh-muted, #636877); }
.mh-feed-row { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--mh-ink, #2B3448); text-decoration: none; }
.mh-feed-row:hover { background: #F6EFE6; }
.mh-feed-row.is-unread { background: #FBF1E6; }
.mh-feed-row.is-unread:hover { background: #F6E6D3; }
.mh-feed-pic { position: relative; flex: none; width: 52px; height: 52px; }
.mh-feed-pic > img, .mh-feed-pic-icon { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 0; background: #F1E6D8; }
.mh-feed-pic-icon { padding: 13px; color: var(--mh-gold, #A8743F); box-sizing: border-box; }
.mh-feed-type { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; box-shadow: 0 0 0 2px #fff; }
.mh-feed-type .fi-icon, .mh-feed-type .ic { width: 14px; height: 14px; }
.mh-feed-type.is-gold { background: var(--mh-gold, #A8743F); }
.mh-feed-type.is-info { background: var(--mh-link, #2C5AA0); }
.mh-feed-type.is-success { background: #2E9A5C; }
.mh-feed-type.is-danger { background: var(--mh-red, #D93B3B); }
.mh-feed-type.is-warning { background: #E08A1E; }
.mh-feed-type.is-gray { background: #8A8F9B; }
.mh-feed-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mh-feed-line { font-size: 14px; line-height: 1.35; color: var(--mh-ink, #2B3448); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mh-feed-line b { color: var(--mh-navy, #14254A); font-weight: 700; }
.mh-feed-time { font-size: 12.5px; color: var(--mh-muted, #636877); }
.mh-feed-row.is-unread .mh-feed-time { color: var(--mh-gold-ink, #8B5C2E); font-weight: 600; }
.mh-feed-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--mh-gold, #A8743F); }

/* admin only: the switch for browser notifications under the heading */
.mh-push { margin: 2px 10px 6px; }
.mh-push-on { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid #E5D3BE; border-radius: 999px; background: #FBF1E6; color: var(--mh-gold-ink, #8B5C2E); font-size: 13.5px; font-weight: 700; cursor: pointer; }
.mh-push-on:hover { background: #F6E6D3; }
.mh-push-note { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--mh-muted, #636877); }
.mh-push-icon { flex: none; width: 18px; height: 18px; }
.mh-push-icon.is-on { color: #2E9A5C; }

/* notifications on the phone (owner, 2026-11-07; partials/push-card): a card over the tab bar, as the cookie notice's */
.pushcard { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar-h, 0px) + 12px + env(safe-area-inset-bottom, 0px)); z-index: 46; display: flex; align-items: center; gap: 12px; max-width: 520px; margin: 0 auto; padding: 12px 6px 12px 16px; border-radius: 14px; background: #FFF9F1; border: 1px solid #E6D3BD; color: #14254A; box-shadow: 0 10px 28px rgba(120, 96, 64, .18); font-size: 13.5px; line-height: 1.45; }
.pushcard[hidden], .cnotice:not([hidden]) ~ .pushcard { display: none; }
.pushcard-ic { flex: none; width: 22px; height: 22px; fill: none; stroke: #A8743F; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pushcard-text { flex: 1; min-width: 0; }
.pushcard-text p { margin: 0; }
.pushcard-title { font-weight: 700; }
.pushcard-on { flex: none; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #C9975F, #A8743F); color: #fff; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pushcard-on[hidden] { display: none; }
.pushcard-on:focus-visible, .pushcard-x:focus-visible { outline: 2px solid #14254A; outline-offset: 2px; }
.pushcard-x { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: #14254A; cursor: pointer; }
.pushcard-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.no-tabbar .pushcard { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 720px) { body:not(.fi-body) .pushcard { bottom: 20px; } }
@media (min-width: 720px) and (max-width: 1023px) { .shell-side .pushcard { bottom: calc(var(--tabbar-h, 0px) + 12px + env(safe-area-inset-bottom, 0px)); } }
/* the admin: over its phone tab bar */
@media (max-width: 767.98px) { .fi-body .pushcard { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }
