/* Pepper Substitute Finder — all styles scoped under .psf-app
   so they can't collide with the active theme. Brand tokens live here. */
.psf-app {
  --psf-paper: #faf6f0;
  --psf-card: #ffffff;
  --psf-ink: #2a2320;
  --psf-ink-soft: #6b615a;
  --psf-line: #e7ddd2;
  --psf-chili: #b3261e;
  --psf-chili-deep: #8a1c16;
  --psf-milder: #2f7d54;
  --psf-similar: #c2820a;
  --psf-hotter: #c0392b;
  --psf-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --psf-sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  font-family: var(--psf-sans);
  color: var(--psf-ink);
  background: var(--psf-paper);
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 22px 36px;
  line-height: 1.5;
  box-sizing: border-box;
  border-radius: 16px;
}
.psf-app *, .psf-app *::before, .psf-app *::after { box-sizing: border-box; }

.psf-head { margin-bottom: 20px; }
.psf-app .psf-kicker {
  font-family: var(--psf-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--psf-chili);
  margin: 0 0 4px;
}
.psf-app .psf-title {
  font-family: var(--psf-serif);
  font-weight: 600;
  font-size: 29px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  line-height: 1.12;
  color: var(--psf-ink);
}
.psf-sub { color: var(--psf-ink-soft); font-size: 15px; margin: 0; max-width: 58ch; }

.psf-controls {
  background: var(--psf-card);
  border: 1px solid var(--psf-line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 22px;
}
.psf-field { margin-bottom: 18px; }
.psf-field:last-child { margin-bottom: 0; }
.psf-lbl {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--psf-ink-soft);
  margin-bottom: 8px;
}
.psf-select {
  width: 100%;
  font-family: var(--psf-sans);
  font-size: 16px;
  color: var(--psf-ink);
  background: var(--psf-paper);
  border: 1px solid var(--psf-line);
  border-radius: 10px;
  padding: 12px 14px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.psf-select:focus { outline: 2px solid var(--psf-chili); outline-offset: 1px; }

.psf-seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 560px) { .psf-seg { grid-template-columns: repeat(4, 1fr); } }
.psf-seg-btn {
  font-family: var(--psf-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--psf-ink-soft);
  background: var(--psf-paper);
  border: 1px solid var(--psf-line);
  border-radius: 10px;
  padding: 10px 6px;
  cursor: pointer;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.psf-seg-btn:hover { border-color: var(--psf-chili); color: var(--psf-chili); }
.psf-seg-btn.psf-active { background: var(--psf-chili); border-color: var(--psf-chili); color: #fff; }

.psf-toggle { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 14px; color: var(--psf-ink); }
.psf-toggle input { width: 17px; height: 17px; accent-color: var(--psf-chili); cursor: pointer; }

.psf-results-head { font-family: var(--psf-serif); font-weight: 600; font-size: 18px; margin: 0 0 14px; color: var(--psf-ink); }
.psf-results-head .psf-hl { color: var(--psf-chili); }

.psf-card {
  background: var(--psf-card);
  border: 1px solid var(--psf-line);
  border-radius: 14px;
  padding: 17px 18px;
  margin-bottom: 12px;
}
.psf-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.psf-name { font-family: var(--psf-serif); font-weight: 600; font-size: 19px; }
.psf-name a { color: var(--psf-ink); text-decoration: none; border-bottom: 1px solid var(--psf-line); }
.psf-name a:hover { color: var(--psf-chili); border-color: var(--psf-chili); }
.psf-rank { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--psf-ink-soft); }
.psf-shu { font-size: 13px; color: var(--psf-ink-soft); margin: 2px 0 0; font-variant-numeric: tabular-nums; }

.psf-badges { display: flex; gap: 7px; flex-wrap: wrap; margin: 11px 0; }
.psf-badge { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid transparent; }
.psf-b-milder  { color: var(--psf-milder);  background: #eaf4ee; }
.psf-b-similar { color: var(--psf-similar); background: #fbf2dc; }
.psf-b-hotter  { color: var(--psf-hotter);  background: #fae9e6; }
.psf-b-flavor  { color: var(--psf-ink-soft); background: var(--psf-paper); border-color: var(--psf-line); }
.psf-b-match   { color: var(--psf-chili-deep); background: #f6e3e1; }

.psf-track-wrap { margin: 12px 0 4px; }
.psf-track-lbl { font-size: 11px; color: var(--psf-ink-soft); margin-bottom: 6px; display: flex; justify-content: space-between; }
.psf-track { position: relative; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #f1c40f, #e67e22, #c0392b, #7b1f17); }
.psf-dot { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translate(-50%, -50%); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.psf-dot-t { background: #2a2320; }
.psf-dot-c { background: var(--psf-chili); }
.psf-track-key { font-size: 11px; color: var(--psf-ink-soft); margin-top: 7px; display: flex; gap: 16px; flex-wrap: wrap; }
.psf-track-key b { font-weight: 600; }
.psf-key-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }

.psf-note { font-size: 14px; color: var(--psf-ink); margin: 10px 0 0; }
.psf-note strong { color: var(--psf-chili-deep); font-weight: 600; }
.psf-form-note { font-size: 13px; color: var(--psf-ink-soft); margin: 6px 0 0; font-style: italic; }

.psf-empty { background: var(--psf-card); border: 1px solid var(--psf-line); border-radius: 14px; padding: 18px; color: var(--psf-ink-soft); }

.psf-foot { font-size: 12px; color: var(--psf-ink-soft); margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--psf-line); line-height: 1.5; }

/* RUCSS seed: keep this rule so WP Rocket never strips the above. */
.psf-seed { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
