/* Sparsh Home: Settings screen. Screen-specific styling only; base.css owns the rest. */
#screen-settings .row { font-size: 16px; }
#screen-settings .row[disabled] { opacity: 0.5; }
#screen-settings .row .value { font-size: 15px; }

.set-stack { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.set-stack .label { flex: none; }
.set-sub-id { color: var(--text-faint); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.set-x {
  flex: none; min-width: 44px; min-height: 44px; margin: -8px -10px -8px 0; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-faint); border-radius: 12px; font-size: 14px; font-weight: 600;
}
.set-x.armed, .set-link.armed, .pill-btn.armed { color: var(--danger); }
.set-link {
  flex: none; min-height: 44px; margin: -8px -6px -8px 0; padding: 0 6px;
  color: var(--accent); font-size: 15px; font-weight: 600;
}

.set-about-name { font-size: 16px; font-weight: 600; }
.set-about-line { font-size: 14px; margin-top: 4px; }

.set-sheet { padding-bottom: 16px; }
.set-sheet .section-label:first-child { margin-top: 4px; }
.set-actions { margin-top: 20px; }
.set-row2 { display: flex; gap: 12px; }
.set-row2 .pill-btn { flex: 1; }
.set-row2 .pill-btn[disabled] { opacity: 0.45; }
.set-results { margin-top: 12px; }
.set-results .hint { padding: 32px 12px; }

.chk {
  flex: none; position: relative; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--border);
  transition: background-color 200ms var(--curve), border-color 200ms var(--curve);
}
.chk.on { background: var(--accent); border-color: var(--accent); }
.chk.on::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px;
  border: solid var(--on-accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 16px; border-radius: 22px; font-size: 15px; font-weight: 600;
  background: var(--panel-2); border: 1px solid var(--border); color: var(--text-dim);
  transition: background-color 200ms var(--curve), color 200ms var(--curve);
}
.chip.on { background: var(--accent); border-color: transparent; color: var(--on-accent); }

@media (prefers-reduced-motion: reduce) {
  .chk, .chip { transition: none; }
}
