/* public/css/settings.css — Appearance section of Settings (views/settings.ejs).
   Auto-discovered and bundled by lib/landing-context.js's buildThemeCSS(),
   same as every other public/css/*.css file — see CLAUDE.md's client-side
   conventions note. Scoped under .theme-preview so it can't leak into
   unrelated pages that happen to load the same global bundle. */

.theme-preview {
  margin-top: 20px;
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.theme-preview__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.theme-preview__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.theme-preview__row:last-child { margin-bottom: 0; }

.theme-preview .btn-primary,
.theme-preview .btn-secondary {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.theme-preview__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(var(--success-rgb), 0.14);
  color: var(--success);
}
.theme-preview__pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.theme-preview__link {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.theme-preview__link:hover { border-bottom-color: var(--brand); }

.theme-preview__bar-track {
  flex: 1 1 160px;
  min-width: 120px;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.theme-preview__bar-fill {
  height: 100%;
  width: 68%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--secondary));
}

.theme-preview__muted {
  color: var(--text-muted);
  font-size: 0.85rem;
}
