/* 沿用后台的行距、边框和 Element Plus 表单控件。 */
/* 继承系统设置卡片的可用宽度，让标题、分隔线和开关沿卡片内边界对齐。 */
.dsl-notification-rules { min-width: 0; }

/* 标题沿用同组页面的 32px 标题行与父级字号。 */
.dsl-system-settings .dsl-notification-rules > h3 {
  display: flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
}
.dsl-notification-rules fieldset {
  border: 0;
  min-inline-size: 0;
  margin: 14px 0 18px;
  padding: 0;
}
.dsl-notification-rules legend { font-size: 14px; font-weight: 600; padding: 0; }
.dsl-notification-rules-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border-bottom: 1px solid var(--el-border-color-lighter, #ebeef5);
  font-size: 14px;
}
.dsl-notification-rules-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dsl-notification-rules-actions .el-button + .el-button { margin-left: 0; }
.dsl-notification-rules-error { color: #9b2727; }
