nav { font-family: monospace; font-size: 0.85em; padding: 12px 20px; }
nav a { color: inherit; text-decoration: none; }
nav a:hover { text-decoration: underline; }

body { margin: 0; font-family: monospace; background: #f8f8f8; }

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

h1 { font-size: 1.4em; margin: 0 0 32px; }

.rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e0e0e0;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
  gap: 16px;
}

.info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.label-text {
  font-size: 0.9em;
  color: #222;
}

.desc {
  font-size: 0.75em;
  color: #aaa;
}

/* Switch */
.switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: #e0e0e0;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.switch::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.switch[aria-checked="true"] {
  background: #222;
}

.switch[aria-checked="true"]::after {
  transform: translateX(20px);
}

.switch:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.row:has(.switch:disabled) {
  cursor: default;
}
