/* Settings page */
.settings-section {
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}
.settings-section--safety { border-color: #f5e3b3; background: linear-gradient(to bottom, #fffaeb, #fff 80%); }

.settings-section__head {
  padding: 16px 20px 14px;
  border-bottom: 1px solid #eceef1;
}
.settings-section--safety .settings-section__head { border-bottom-color: #f5e3b3; }
.settings-section__head h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: #0c1116;
  margin: 0 0 2px;
}
.settings-section__head .muted { font-size: 12.5px; margin: 0; }
.settings-section__body { padding: 18px 20px 20px; }

/* Schedule */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 800px) { .schedule-grid { grid-template-columns: repeat(2, 1fr); } }
.sched-radio {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #eceef1;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  transition: border-color var(--dur-fast) var(--ease-std), background var(--dur-fast) var(--ease-std);
}
.sched-radio:hover { border-color: #d9dde2; }
.sched-radio--active { border-color: var(--accent-color, var(--assh-teal)); background: color-mix(in oklab, var(--accent-color, var(--assh-teal)) 5%, #fff); }
.sched-radio--disabled { opacity: 0.55; cursor: not-allowed; }
.sched-radio input { margin-top: 1px; }
.sched-radio__body { min-width: 0; }
.sched-radio__label { font-family: var(--font-heading); font-weight: 600; font-size: 13px; color: #0c1116; }
.sched-radio__hint { font-size: 11.5px; color: #6b7480; line-height: 16px; margin-top: 1px; }

/* Cron panel */
.cron-panel {
  margin-top: 14px;
  padding: 14px;
  background: #fafbfc;
  border: 1px solid #eceef1;
  border-radius: 8px;
}
.cron-panel__head { margin-bottom: 8px; }
.cron-panel__input-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cron-panel__preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--assh-teal-c);
  border-radius: 6px;
  color: var(--assh-teal-dark);
  font-size: 12.5px;
  font-family: var(--font-heading);
  font-weight: 600;
}
.cron-panel__upcoming {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #d9dde2;
  flex-wrap: wrap;
}

/* Model grid */
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 900px) { .model-grid { grid-template-columns: 1fr; } }
.model-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #eceef1;
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
  transition: border-color var(--dur-fast) var(--ease-std), background var(--dur-fast) var(--ease-std);
}
.model-card:hover { border-color: #d9dde2; }
.model-card--on { border-color: var(--accent-color, var(--assh-teal)); background: color-mix(in oklab, var(--accent-color, var(--assh-teal)) 5%, #fff); }
.model-card input { margin-top: 2px; }
.model-card__body { flex: 1; min-width: 0; }
.model-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; gap: 8px; }
.model-card__label { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: #0c1116; }
.model-card__meta { font-size: 12px; color: #6b7480; display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* Field rows */
.field-row { display: flex; gap: 16px; }
@media (max-width: 700px) { .field-row { flex-direction: column; gap: 0; } }

/* Safety rows */
.safety-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0;
}
.safety-row__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  color: #0c1116;
  display: flex; align-items: center;
}
.safety-row__hint {
  font-size: 12.5px;
  color: #6b7480;
  margin-top: 2px;
  line-height: 18px;
  max-width: 540px;
}
