/* Notifications: Settings, Notifications; My notifications; the crew cards (public/modules/notifications.js) */
.nt-page { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: start; }
.nt-settings { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.nt-settings > *, .nt-page > * { min-width: 0; }
.nt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nt-prefs, .nt-channels { width: 100%; }
.nt-prefs th.c, .nt-prefs td.c, .nt-channels th.c, .nt-channels td.c { text-align: center; width: 72px; }
.nt-prefs input[type=checkbox], .nt-channels input[type=checkbox], .nt-ev input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--teal); cursor: pointer; }
.nt-prefs input:disabled { cursor: not-allowed; opacity: .45; }
.nt-prefs tr.nt-off td:first-child { color: var(--muted); }
.nt-to { margin: 0 0 8px; }
.nt-note { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-ctl, 6px); background: var(--teal-wash); color: var(--graphite); }
.nt-note.nt-warn { background: var(--warn-wash); }
.nt-note .btn { margin-left: 6px; }
.nt-consent { margin: 0 0 12px; padding: 12px; border: 1px solid var(--rule); border-radius: var(--r-ctl, 6px); background: var(--paper); }
.nt-consent p { margin: 0 0 8px; }
.nt-phone { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin-top: 12px; }
.nt-phone .field { flex: 1 1 200px; margin: 0; }
.nt-sub { margin: 16px 0 6px; font-size: 14px; }
.nt-events { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.nt-events fieldset { border: 1px solid var(--rule); border-radius: var(--r-ctl, 6px); padding: 8px 12px 10px; margin: 0; }
.nt-events legend { font-weight: 600; padding: 0 4px; }
.nt-ev { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.nt-log-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.nt-log-tools select { height: 32px; }
.nt-log td { vertical-align: top; }
.nt-more { margin: -6px 0 0; }
.nt-my { margin-top: 16px; }
@media (max-width: 640px) {
  .nt-prefs th.c, .nt-prefs td.c { width: 52px; padding-left: 2px; padding-right: 2px; }
  .nt-prefs input[type=checkbox], .nt-channels input[type=checkbox] { width: 24px; height: 24px; }
  .nt-log-tools .muted { flex-basis: 100%; }
  .nt-channels .btn.sm, .nt-log .btn.sm { height: 36px; }
}
.nt-cell { display: inline-block; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .nt-log .nt-cell { text-align: right; }
}
@media (max-width: 640px) {
  .nt-channels th, .nt-channels td { padding-left: 6px; padding-right: 6px; }
  .nt-channels td small { display: block; }
}
