.notification-settings-panel { margin-bottom: 18px; }
.notification-table-head,
.notification-setting-row { display: grid; grid-template-columns: minmax(190px, 1.5fr) minmax(150px, 1fr) 76px 150px; gap: 14px; align-items: center; }
.notification-table-head { padding: 10px 20px; background: #f5f6f2; color: var(--muted); font-size: 12px; font-weight: 800; }
.notification-setting-row { padding: 14px 20px; border-top: 1px solid var(--line); }
.notification-setting-row > div:first-child { display: grid; gap: 4px; }
.notification-setting-row small { color: var(--muted); }
.notification-mode { font-size: 13px; color: var(--muted); }
.notification-row-actions { display: flex; justify-content: flex-end; gap: 7px; }
.notification-log-panel { margin-bottom: 18px; }
.notification-log-panel .log-row,
.notification-log-list .log-row { padding: 14px 20px; border-top: 1px solid var(--line); }
.notification-editor-modal { width: min(880px, 100%); }
.notification-compose { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.notification-fields { display: grid; gap: 4px; }
.line-preview { border: 1px solid #d9ded9; border-radius: 18px; overflow: hidden; background: #8cabaa; box-shadow: 0 14px 36px #173d3230; }
.line-preview-head { display: flex; align-items: center; gap: 10px; background: #fff; padding: 13px 15px; }
.line-preview-head span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #06c755; color: #fff; font-size: 11px; font-weight: 900; }
.line-preview-chat { min-height: 270px; padding: 18px 14px; display: flex; flex-direction: column; align-items: center; }
.line-preview-chat > small { color: #fff; background: #0002; border-radius: 99px; padding: 3px 8px; margin-bottom: 15px; }
.line-preview-chat article { align-self: flex-start; background: #fff; border-radius: 4px 15px 15px 15px; padding: 14px; width: 90%; box-shadow: 0 6px 16px #153f3430; }
.line-preview-chat article b { display: block; margin-bottom: 8px; }
.line-preview-chat article p { white-space: pre-wrap; line-height: 1.55; margin: 0 0 12px; font-size: 13px; }
.line-preview-chat article button { width: 100%; border: 0; border-top: 1px solid var(--line); background: #fff; color: #087d42; font-weight: 800; padding: 11px 4px 2px; }
.reminder-select-all { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: #f5f6f2; border-radius: 12px; }
.reminder-select-all label { font-weight: 800; }
.reminder-select-all span { color: var(--green); font-weight: 900; }
.reminder-list { margin: 10px 0 16px; }
.reminder-customer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.reminder-customer input { width: 18px; height: 18px; }
.reminder-customer span { display: grid; gap: 4px; }
.reminder-customer small { color: var(--muted); }
.reminder-preview { padding: 14px; border: 1px solid #cfe0d6; border-radius: 13px; background: #f0f7f3; }
.reminder-preview p { margin: 7px 0 0; color: #3f544b; line-height: 1.55; }
.notification-log-list { max-height: 560px; overflow: auto; }
.notification-log-list .log-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
@media (max-width: 760px) {
  .notification-table-head { display: none; }
  .notification-setting-row { grid-template-columns: 1fr auto; }
  .notification-setting-row > .notification-mode { grid-column: 1; }
  .notification-setting-row > .switch { grid-column: 2; grid-row: 1; }
  .notification-row-actions { grid-column: 1 / -1; justify-content: stretch; }
  .notification-row-actions button { flex: 1; }
  .notification-compose { grid-template-columns: 1fr; }
  .line-preview { order: -1; }
  .line-preview-chat { min-height: 220px; }
  .notification-editor-modal { border-radius: 22px 22px 0 0; }
}
