.routine-editor form { display: grid; gap: 1rem; }
.routine-editor ul { padding-inline-start: 1.25rem; }
.routine-editor li { padding-block: .75rem; }
.routine-editor button:not([type="submit"]) { background: transparent; color: var(--foreground); border-color: var(--outline); }
.routine-editor form > button[type="submit"] { width: 100%; margin: .5rem 0; }
/* The routine settings (#349): its chores in order, each with Up, Down and Remove. */
.routine-editor .routine-steps { list-style: decimal; padding-inline-start: 1.5rem; display: grid; gap: .5rem; }
.routine-editor .routine-steps li { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border: 1px solid var(--outline); border-radius: 1rem; background: var(--card); }
.routine-editor .routine-steps .step-title { flex: 1; }
.routine-editor .routine-steps .step-new { color: var(--primary); font-size: .875rem; font-weight: 600; }
.routine-editor .routine-steps button { margin: 0; min-width: 2.75rem; min-height: 2.75rem; padding: 0; }
.routine-editor .routine-add { display: grid; gap: .5rem; margin-block: 1rem; }
.routine-editor .routine-add h3 { margin: 0; font-size: 1rem; }
.routine-editor .routine-timing { margin-block: .5rem; }
.routine-editor button.primary { width: 100%; margin: .5rem 0; background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
