/* Owner notifications — bell badge, panel, Today card (2026-10-13). */
#ownerNotifyBell { position: relative; }
.owner-notify-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: #d92d20; color: #fff;
  font-size: .68rem; font-weight: 900; line-height: 20px; text-align: center;
  border: 2px solid var(--navy, #0b2438);
  pointer-events: none;
}
.owner-notify-badge[hidden] { display: none; }

.owner-notify-panel {
  position: fixed; top: 64px; right: 10px; z-index: 90;
  width: min(430px, calc(100vw - 20px));
  max-height: min(72vh, 640px);
  display: flex; flex-direction: column;
  background: #fff; color: var(--text, #20303c);
  border: 1px solid var(--line, #d7dee8); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(5, 24, 39, .28);
  overflow: hidden;
}
.owner-notify-panel[hidden] { display: none; }
.owner-notify-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 12px; border-bottom: 1px solid var(--line, #d7dee8);
  background: #f7fafc;
}
.owner-notify-head strong { color: var(--navy, #0b2438); font-size: .98rem; }
.owner-notify-head-actions { display: inline-flex; align-items: center; gap: 6px; }
.owner-notify-head-actions .secondary { min-height: 34px; padding: 5px 9px; font-size: .78rem; }
.owner-notify-head-actions .icon-button {
  width: 34px; height: 34px; min-height: 34px;
  background: transparent; color: var(--navy, #0b2438); border-color: var(--line, #d7dee8);
}
.owner-notify-list { overflow-y: auto; }
.owner-notify-row {
  display: flex; align-items: flex-start; gap: 10px; width: 100%;
  padding: 11px 12px; border: 0; border-bottom: 1px solid #eef2f6;
  background: #fff; text-align: left; cursor: pointer; font: inherit; color: inherit;
}
.owner-notify-row:hover { background: #f2f7fb; }
.owner-notify-row.unread { background: #eef4ff; }
.owner-notify-row.unread:hover { background: #e3edff; }
.owner-notify-icon { font-size: 1.05rem; line-height: 1.25; flex: 0 0 auto; }
.owner-notify-text { flex: 1 1 auto; min-width: 0; display: block; }
.owner-notify-text strong { display: block; color: var(--navy, #0b2438); font-size: .88rem; line-height: 1.3; }
.owner-notify-text small { display: block; color: var(--muted, #5c7183); font-size: .78rem; line-height: 1.35; margin-top: 2px; overflow-wrap: anywhere; }
.owner-notify-time { flex: 0 0 auto; color: var(--muted, #5c7183); font-size: .72rem; font-weight: 800; padding-top: 2px; }
.owner-notify-empty { padding: 22px 16px; color: var(--muted, #5c7183); text-align: center; line-height: 1.45; font-size: .88rem; }
.owner-notify-foot { padding: 9px 12px; border-top: 1px solid var(--line, #d7dee8); color: var(--muted, #5c7183); font-size: .74rem; background: #fbfcfd; }
.owner-notify-device { padding: 10px 12px 0; }
.owner-notify-device button { width: 100%; }

.owner-notify-scout {
  border-top: 1px solid var(--line, #d7dee8);
  padding: 11px 12px 12px; background: #f7fafc;
}
.owner-notify-scout-head strong { color: var(--navy, #0b2438); font-size: .9rem; }
.owner-notify-scout-status { margin: 6px 0 0; color: var(--muted, #5c7183); font-size: .8rem; line-height: 1.4; }
.owner-notify-scout-tap { margin-top: 9px; }
.owner-notify-scout-tap button { width: 100%; }
.owner-notify-scout-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 0 0; font-size: .86rem; color: var(--text, #20303c); cursor: pointer;
}
.owner-notify-scout-row input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--blue, #174a70); cursor: pointer; }

.owner-notify-today { border-color: #bcd2ea; background: linear-gradient(180deg, #f4f8ff, #fff); }
.owner-notify-today-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.owner-notify-today-inner strong { display: block; color: var(--navy, #0b2438); font-size: 1rem; }
.owner-notify-today-inner small { display: block; color: var(--muted, #5c7183); margin-top: 2px; }
.owner-notify-today-inner button {
  flex: 0 0 auto; min-height: 42px; padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--blue, #174a70); background: linear-gradient(180deg, var(--blue2, #2a76ab), var(--blue, #174a70));
  color: #fff; font-weight: 850; cursor: pointer;
}

@media (max-width: 760px) {
  .owner-notify-panel { top: 60px; right: 6px; width: calc(100vw - 12px); }
}
