/* Settings: her name, the daily goal, the look, the sounds, starting over. */

.set-title { margin: 0 2px 4px; font-size: 26px; }
.set-card { display: block; width: 100%; margin-top: 12px; padding: 16px; }
.set-h { display: block; margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.set-note { display: block; margin: 10px 0 0; color: var(--muted); font-size: 14.5px; font-weight: 400; }

.set-name { display: flex; gap: 8px; }
.set-input {
  flex: 1; min-width: 0; min-height: 52px; padding: 10px 14px;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--bg); color: var(--ink); font: 500 18px var(--font);
}
.set-input:focus { outline: none; border-color: var(--accent); }
.set-save { flex: none; }

.set-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.set-opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 56px; padding: 8px 6px;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--ink); font: 500 16px/1.25 var(--font); cursor: pointer;
}
.set-opt.is-on { border-color: transparent; background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 12px var(--accent-glow); }
.set-opt-sub { font-size: 13px; opacity: .8; }

/* The sounds: the whole row is the switch. */
.set-row {
  display: flex; align-items: center; gap: 12px;
  border: none; color: var(--ink); font: 400 16px/1.4 var(--font); text-align: start; cursor: pointer;
}
.set-row-texts { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.set-row .set-h { margin: 0; }
.set-row .set-note { margin: 2px 0 0; }
.set-track {
  position: relative; flex: none; width: 52px; height: 30px;
  border-radius: 999px; background: var(--line); transition: background-color .2s ease;
}
.set-knob {
  position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px;
  border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: inset-inline-start .2s ease;
}
.set-row[aria-checked="true"] .set-track { background: var(--good); }
.set-row[aria-checked="true"] .set-knob { inset-inline-start: 25px; }

.set-reset { width: 100%; margin-top: 12px; border-color: var(--bad); color: var(--bad); }
.set-danger { border-color: transparent; background: var(--bad); color: var(--surface); }

.set-foot { margin-top: 24px; text-align: center; color: var(--muted); font-size: 13px; }
