.trust-nudge {
  position: fixed;
  z-index: 25;
  left: 22px;
  right: auto;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  width: min(380px, calc(100vw - 32px));
  padding: 15px 15px 14px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  gap: 11px;
  align-items: start;
  border: 1px solid #dce9e7;
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 16px 48px rgba(16, 43, 69, .2);
  pointer-events: none;
  animation: nudge-enter .28s ease-out both;
}
.trust-nudge.is-leaving { animation: nudge-exit .22s ease-in both; }
.nudge-icon {
  height: 34px;
  width: 34px;
  border-radius: 11px;
  background: #eaf7f0;
  color: #168563;
  display: grid;
  place-items: center;
}
.nudge-icon .icon { width: 17px; height: 17px; }
.nudge-copy { min-width: 0; }
.nudge-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #168563;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .13em;
  margin: 1px 0 3px;
}
.nudge-activity-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #25b47e;
  box-shadow: 0 0 0 3px #25b47e20;
}
.trust-nudge.is-demo .nudge-activity-dot { background: #d28a35; box-shadow: 0 0 0 3px #d28a3520; }
.trust-nudge.is-real .nudge-activity-dot { animation: nudge-pulse 1.8s ease-out infinite; }
.nudge-copy > strong {
  display: block;
  color: var(--navy);
  font: 700 12px Manrope, "Segoe UI", sans-serif;
  line-height: 1.4;
}
.nudge-copy > p { margin: 4px 0 7px; color: #617584; font-size: 10px; line-height: 1.55; }
.nudge-time { display: block; margin: 0 0 7px; color: #738493; font-size: 9px; }
.nudge-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #137b5b;
  font-size: 10px;
  font-weight: 700;
  pointer-events: auto;
}
.nudge-action .icon { width: 13px; height: 13px; }
.nudge-close {
  height: 22px;
  width: 22px;
  border: 0;
  border-radius: 50%;
  background: #f2f5f6;
  color: #71838d;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}
.nudge-close:hover { background: #e7eeee; color: var(--navy); }
@keyframes nudge-enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nudge-exit { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(7px); } }
@keyframes nudge-pulse { 0% { box-shadow: 0 0 0 0 #25b47e38; } 70% { box-shadow: 0 0 0 5px #25b47e00; } 100% { box-shadow: 0 0 0 0 #25b47e00; } }
@media (max-width: 680px) {
  .trust-nudge {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: auto;
    padding: 13px;
    grid-template-columns: 31px minmax(0, 1fr) 22px;
    gap: 9px;
  }
  .nudge-icon { height: 31px; width: 31px; }
  .nudge-copy > p { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-nudge, .trust-nudge.is-leaving, .trust-nudge.is-real .nudge-activity-dot { animation: none; }
}

[hidden] { display: none !important; }
.notification-admin { max-width: 980px; }
.notification-admin > h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0; }
.notification-admin > .info-lead { max-width: 760px; }
.notification-admin .notification-admin-header {
  margin: 22px 0 12px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.notification-admin-header p { margin: 3px 0 0; font-size: 12px; }
.notification-admin-card {
  display: block;
  margin: 16px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(16, 43, 69, .045);
}
.notification-admin-card h2 { font-size: 19px; margin: 0 0 12px; }
.notification-admin-card > p { font-size: 12px; max-width: 720px; }
.notification-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 16px 0; }
.notification-admin label { display: grid; gap: 6px; color: #465e70; font-size: 12px; font-weight: 650; }
.notification-admin input:not([type="checkbox"]), .notification-admin select {
  width: 100%;
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid #d8e2e8;
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  font: 500 13px "DM Sans", Arial, sans-serif;
}
.notification-admin input:focus, .notification-admin select:focus { outline: 3px solid #14956b26; border-color: var(--green); }
.notification-toggle { display: flex !important; grid-template-columns: 18px 1fr; align-items: center; gap: 9px !important; margin: 12px 0; }
.notification-toggle input, .notification-admin fieldset input { accent-color: var(--green); width: 16px; height: 16px; }
.notification-admin fieldset { display: flex; flex-wrap: wrap; gap: 9px 20px; margin: 17px 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; }
.notification-admin fieldset legend { padding: 0 6px; color: #465e70; font-size: 12px; font-weight: 700; }
.notification-admin fieldset label { display: flex; align-items: center; gap: 7px; font-weight: 500; }
.notification-admin .admin-login { display: grid; gap: 10px; max-width: 430px; margin: 22px 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.notification-admin .admin-login h2 { font-size: 19px; margin: 0; }
.notification-admin .admin-table-wrap { margin: 16px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.notification-admin .admin-table-wrap h2 { font-size: 19px; }
.table-scroll { overflow-x: auto; }
.notification-admin table { width: 100%; border-collapse: collapse; font-size: 11px; }
.notification-admin th, .notification-admin td { text-align: left; padding: 10px 9px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.notification-admin th { color: #607586; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 680px) {
  .notification-settings-grid { grid-template-columns: 1fr; }
  .notification-admin-card { padding: 16px; }
  .notification-admin .notification-admin-header { align-items: stretch; }
  .notification-admin fieldset { display: grid; gap: 9px; }
  .notification-admin .admin-login { padding: 17px; }
}
