/* Preferences screen (after firm picker) */
.wf-preferences {
  position: relative;
  min-height: 100vh;
  overflow: auto;
  background: var(--wf-color-bg);
  background-image:
    radial-gradient(circle at top, var(--wf-body-glow-top) 0%, transparent 42%),
    linear-gradient(to bottom, var(--wf-color-bg), var(--wf-body-gradient-end));
  color: var(--wf-color-text);
  padding: 48px 24px 64px;
}

.wf-preferences-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.wf-preferences-title {
  margin: 0 0 12px 0;
  font-family: var(--wf-font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--wf-color-heading);
  letter-spacing: -0.03em;
}

.wf-preferences-sub {
  margin: 0 0 28px 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--wf-color-text-muted);
}

.wf-preferences-section {
  text-align: left;
  margin-bottom: 24px;
}

.wf-preferences-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wf-color-text-muted);
  margin-bottom: 10px;
}

.wf-preferences-theme-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wf-preferences-theme-btn {
  flex: 1;
  min-width: 120px;
  padding: 14px 16px;
  border-radius: var(--wf-radius-sm);
  border: var(--wf-border-width) solid var(--wf-color-border);
  background: var(--wf-color-surface-alt);
  color: var(--wf-color-text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.wf-preferences-theme-btn:hover {
  border-color: var(--wf-color-primary);
}

.wf-preferences-theme-btn.is-active {
  border-color: var(--wf-color-primary);
  background: var(--wf-color-accent-soft);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--wf-color-primary) 40%, transparent);
}

.wf-preferences-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--wf-radius-md);
  border: var(--wf-border-width) solid var(--wf-color-border);
  background: var(--wf-color-surface-alt);
}

.wf-preferences-switch-text {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--wf-color-text);
}

.wf-preferences-switch-text span {
  display: block;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--wf-color-text-muted);
  margin-top: 4px;
}

.wf-preferences-switch-row input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  accent-color: var(--wf-color-primary);
  cursor: pointer;
}

.wf-preferences-cta {
  margin-top: 8px;
  width: 100%;
  max-width: 320px;
  padding: 14px 28px;
  border-radius: 9999px;
  border: var(--wf-border-width) solid var(--wf-primary-border);
  background: var(--wf-color-primary);
  color: var(--wf-color-primary-contrast);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.wf-preferences-cta:hover {
  background: var(--wf-color-primary-hover);
}

.wf-preferences-cta:focus-visible {
  outline: 2px solid var(--wf-color-primary);
  outline-offset: 3px;
}
