/* Scoped companion to notifications.js; the admin loader includes this once. */
.notify-ui {
  display: grid;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
  color: var(--ink, #1c1f23);
}
.notify-ui .panel {
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 12px;
  background: var(--card, #fff);
}
.notify-ui .notify-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}
.notify-ui h2, .notify-ui h3 {
  margin: 0 0 12px;
  color: var(--navy, #0b1d36);
  font-family: Georgia, "Songti SC", serif;
}
.notify-ui h2 { margin-bottom: 4px; }
.notify-ui h3 { font-size: 18px; }
.notify-ui h3 small { font: 12px system-ui, sans-serif; }
.notify-ui p { margin: 8px 0; line-height: 1.65; }
.notify-ui .muted, .notify-ui td small { color: var(--muted, #6b7280); }
.notify-ui .notify-guide, .notify-ui .notify-readiness {
  border-left: 3px solid var(--gold, #b89b60);
}
.notify-ui .notify-readiness {
  padding: 10px 14px;
  background: var(--bg, #f6f7f8);
  overflow-wrap: anywhere;
}
.notify-ui .notify-readiness ul { margin: 8px 0 0; padding-left: 20px; }
.notify-ui .notify-options { display: flex; gap: 14px 24px; flex-wrap: wrap; margin: 18px 0; }
.notify-ui .notify-toggle, .notify-ui .notify-confirm { display: flex; align-items: flex-start; gap: 6px; }
.notify-ui input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 0;
  flex: 0 0 17px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--navy, #0b1d36);
}
.notify-ui .notify-recipients { display: grid; gap: 8px; font-weight: 600; }
.notify-ui textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 88px;
  padding: 10px 12px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 8px;
  background: var(--card, #fff);
  color: inherit;
  font: 14px/1.6 ui-monospace, monospace;
  resize: vertical;
}
.notify-ui .toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 8px; }
.notify-ui button[data-action="save"] {
  background: var(--navy, #0b1d36);
  color: var(--card, #fff);
  border-color: var(--navy, #0b1d36);
}
.notify-ui button:disabled, .notify-ui input:disabled, .notify-ui textarea:disabled { cursor: not-allowed; }
.notify-ui button:disabled { opacity: .55; }
.notify-ui textarea:disabled { opacity: 1; color: var(--muted, #6b7280); }
.notify-ui :focus-visible { outline: 2px solid var(--gold, #b89b60); outline-offset: 3px; }
.notify-ui .notify-table-scroll {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 8px;
  overscroll-behavior-x: contain;
}
.notify-ui .notify-table { width: 100%; min-width: 1120px; border-collapse: collapse; font-size: 13px; }
.notify-ui .notify-table th, .notify-ui .notify-table td {
  padding: 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line, #e5e7eb);
  max-width: 240px;
  overflow-wrap: anywhere;
}
.notify-ui .notify-table th { background: var(--bg, #f6f7f8); color: var(--navy, #0b1d36); white-space: nowrap; }
.notify-ui .notify-table tbody tr:last-child td { border-bottom: 0; }
.notify-ui td small { display: block; margin-top: 5px; }
.notify-ui .notify-status { font-weight: 600; }
.notify-ui .notify-simulated { color: var(--navy, #0b1d36); }
.notify-ui .notify-confirm { min-width: 165px; margin-bottom: 8px; font-size: 12px; }
.notify-ui .notify-summary pre { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 0; }
.notify-ui .err { overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .notify-ui { gap: 12px; }
  .notify-ui .panel { padding: 14px; }
  .notify-ui .notify-heading { align-items: flex-start; }
  .notify-ui .notify-options { flex-direction: column; gap: 12px; }
  .notify-ui .toolbar button { flex: 1 1 140px; }
  .notify-ui h3 small { display: block; margin-top: 4px; }
}
